diff --git a/composer.json b/composer.json index bfe9856525..b11cbb534e 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "processmaker/processmaker", - "version": "4.9.2", + "version": "4.9.3+nightly-20240228", "description": "BPM PHP Software", "keywords": [ "php bpm processmaker" @@ -102,9 +102,9 @@ "Gmail" ], "processmaker": { - "build": "ebfefbd2", + "build": "2d34d3a2", "custom": { - "package-ellucian-ethos": "1.15.3", + "package-ellucian-ethos": "1.15.5", "package-plaid": "1.5.0", "paypal-package": "dev-fall", "pps-adsync": "dev-fall", @@ -141,7 +141,7 @@ "docker-executor-node-ssr": "1.5.0", "package-actions-by-email": "1.16.0", "package-advanced-user-manager": "1.10.0", - "package-ai": "1.5.2", + "package-ai": "1.5.3", "package-analytics-reporting": "1.5.1", "package-auth": "1.17.1", "package-cdata": "1.2.0", @@ -156,7 +156,7 @@ "package-photo-video": "1.4.2", "package-pm-blocks": "1.5.5", "package-process-documenter": "1.9.0", - "package-process-optimization": "1.10.0", + "package-process-optimization": "1.10.1", "package-product-analytics": "1.5.8", "package-projects": "1.2.5", "package-savedsearch": "1.31.8", @@ -164,7 +164,7 @@ "package-signature": "1.12.0", "package-testing": "1.1.1", "package-translations": "2.8.1", - "package-versions": "1.9.1", + "package-versions": "1.9.2", "package-vocabularies": "2.14.1", "package-webentry": "2.20.3", "packages": "^0" @@ -177,7 +177,7 @@ "microservices": { "pmai": "fall-2023" }, - "release": "Winter 2024" + "release": "Winter 2024 Pre-Release" } }, "scripts": { diff --git a/composer.lock b/composer.lock index d590f6be64..a8fa263008 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b4016492ed19758c73a39a2392822437", + "content-hash": "4c2d25278a7a9bbfd662df99c96c9bdf", "packages": [ { "name": "aws/aws-crt-php", diff --git a/package-lock.json b/package-lock.json index 9e6bf45e47..4446c016b2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@processmaker/processmaker", - "version": "4.9.2", + "version": "4.9.3+nightly-20240228", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@processmaker/processmaker", - "version": "4.9.2", + "version": "4.9.3+nightly-20240228", "hasInstallScript": true, "license": "ISC", "dependencies": { @@ -22,7 +22,7 @@ "@panter/vue-i18next": "^0.15.2", "@processmaker/modeler": "1.46.11", "@processmaker/processmaker-bpmn-moddle": "0.14.1", - "@processmaker/screen-builder": "2.83.10", + "@processmaker/screen-builder": "2.83.11", "@processmaker/vue-form-elements": "0.51.0", "@processmaker/vue-multiselect": "2.3.0", "@tinymce/tinymce-vue": "2.0.0", @@ -2301,7 +2301,9 @@ } }, "node_modules/@processmaker/screen-builder": { - "version": "2.83.10", + "version": "2.83.11", + "resolved": "https://registry.npmjs.org/@processmaker/screen-builder/-/screen-builder-2.83.11.tgz", + "integrity": "sha512-DjwqpDu/HHwNzS++ixF9g/yl/hLc5BQZHkuxRdJRAIGLoJDfxlD6Ce8GwhJsE6eXtaZ96Jc5BFgww8vRPVSCcQ==", "dependencies": { "@chantouchsek/validatorjs": "1.2.3", "axios-extensions": "^3.1.6", @@ -15740,7 +15742,9 @@ } }, "@processmaker/screen-builder": { - "version": "2.83.10", + "version": "2.83.11", + "resolved": "https://registry.npmjs.org/@processmaker/screen-builder/-/screen-builder-2.83.11.tgz", + "integrity": "sha512-DjwqpDu/HHwNzS++ixF9g/yl/hLc5BQZHkuxRdJRAIGLoJDfxlD6Ce8GwhJsE6eXtaZ96Jc5BFgww8vRPVSCcQ==", "requires": { "@chantouchsek/validatorjs": "1.2.3", "axios-extensions": "^3.1.6", diff --git a/package.json b/package.json index fb914312d5..aae89850a4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@processmaker/processmaker", - "version": "4.9.2", + "version": "4.9.3+nightly-20240228", "description": "ProcessMaker 4", "author": "DevOps ", "license": "ISC", @@ -53,7 +53,7 @@ "@panter/vue-i18next": "^0.15.2", "@processmaker/modeler": "1.46.11", "@processmaker/processmaker-bpmn-moddle": "0.14.1", - "@processmaker/screen-builder": "2.83.10", + "@processmaker/screen-builder": "2.83.11", "@processmaker/vue-form-elements": "0.51.0", "@processmaker/vue-multiselect": "2.3.0", "@tinymce/tinymce-vue": "2.0.0", diff --git a/resources/js/components/templates/mixins/wizardHelperProcessModal.js b/resources/js/components/templates/mixins/wizardHelperProcessModal.js index 9f668e6bbe..3a1465fd27 100644 --- a/resources/js/components/templates/mixins/wizardHelperProcessModal.js +++ b/resources/js/components/templates/mixins/wizardHelperProcessModal.js @@ -4,6 +4,7 @@ export default { task: null, currentUserId: null, formData: {}, + importingProcessTemplate: false, }; }, methods: { @@ -86,9 +87,9 @@ export default { this.task = task; }, completed() { - if (this.shouldImportProcessTemplate) { + if (!this.importingProcessTemplate && this.shouldImportProcessTemplate) { this.importProcessTemplate(); - } else { + } else if (this.shouldImportProcessTemplate) { this.showHelperProcess = false; this.$bvModal.hide("processWizard"); } @@ -103,6 +104,7 @@ export default { }); }, importProcessTemplate() { + this.importingProcessTemplate = true; ProcessMaker.apiClient.post(`template/create/process/${this.template.process_template_id}`, { name: this.template.name, description: this.template.description, @@ -112,6 +114,7 @@ export default { wizardTemplateUuid: this.template.uuid, helperProcessRequestId: this.task.process_request_id, }).then((response) => { + this.importingProcessTemplate = false; if (response.data?.existingAssets) { this.handleExistingAssets(response.data); } else {