@processmaker/modeler 1.50.0 → 1.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@processmaker/modeler",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.51.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"serve": "vue-cli-service serve --mode development",
|
|
6
6
|
"test:unit": "vue-cli-service test:unit",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"@fortawesome/free-brands-svg-icons": "^6.4.2",
|
|
44
44
|
"@fortawesome/free-solid-svg-icons": "^5.11.2",
|
|
45
45
|
"@fortawesome/vue-fontawesome": "^0.1.8",
|
|
46
|
-
"@processmaker/screen-builder": "2.
|
|
47
|
-
"@processmaker/vue-form-elements": "0.
|
|
46
|
+
"@processmaker/screen-builder": "2.89.0",
|
|
47
|
+
"@processmaker/vue-form-elements": "0.55.0",
|
|
48
48
|
"@processmaker/vue-multiselect": "2.3.0",
|
|
49
49
|
"bootstrap": "^4.3.1",
|
|
50
50
|
"bootstrap-vue": "^2.0.4",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@cypress/code-coverage": "^3.12.10",
|
|
82
82
|
"@faker-js/faker": "^8.1.0",
|
|
83
83
|
"@panter/vue-i18next": "^0.15.2",
|
|
84
|
-
"@processmaker/processmaker-bpmn-moddle": "0.
|
|
84
|
+
"@processmaker/processmaker-bpmn-moddle": "0.16.0",
|
|
85
85
|
"@types/jest": "^24.9.1",
|
|
86
86
|
"@vue/babel-preset-app": "^5.0.4",
|
|
87
87
|
"@vue/cli-plugin-babel": "~5.0.0",
|
|
@@ -9474,11 +9474,19 @@ const vG = fG.exports, dG = Rc(), WL = 100, mG = {
|
|
|
9474
9474
|
value: {
|
|
9475
9475
|
deep: !0,
|
|
9476
9476
|
handler(O) {
|
|
9477
|
-
O && typeof O == "object" && this.updateOption(O);
|
|
9477
|
+
O && typeof O == "object" && this.isMultiSelectDisabled() && this.updateOption(O);
|
|
9478
9478
|
}
|
|
9479
9479
|
}
|
|
9480
9480
|
},
|
|
9481
9481
|
methods: {
|
|
9482
|
+
/**
|
|
9483
|
+
* Checks if multi-select is disabled.
|
|
9484
|
+
*
|
|
9485
|
+
* @return {boolean} Returns true if multi-select is disabled, false otherwise.
|
|
9486
|
+
*/
|
|
9487
|
+
isMultiSelectDisabled() {
|
|
9488
|
+
return this.options.allowMultiSelect === !1;
|
|
9489
|
+
},
|
|
9482
9490
|
/**
|
|
9483
9491
|
* Updates the specified option with the provided updated value.
|
|
9484
9492
|
*
|
|
@@ -9492,7 +9500,7 @@ const vG = fG.exports, dG = Rc(), WL = 100, mG = {
|
|
|
9492
9500
|
* If the value is an object, it updates the selected option if necessary.
|
|
9493
9501
|
*/
|
|
9494
9502
|
onSelectListOptionsUpdated() {
|
|
9495
|
-
this.value && typeof this.value == "object" && this.updateOption(this.value);
|
|
9503
|
+
this.value && typeof this.value == "object" && this.isMultiSelectDisabled() && this.updateOption(this.value);
|
|
9496
9504
|
},
|
|
9497
9505
|
renderPmql(O) {
|
|
9498
9506
|
if (typeof O < "u" && O !== "" && O !== null) {
|