@processmaker/screen-builder 3.5.6 → 3.5.7
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/dist/vue-form-builder.css +1 -1
- package/dist/vue-form-builder.es.js +24 -23
- package/dist/vue-form-builder.es.js.map +1 -1
- package/dist/vue-form-builder.umd.js +2 -2
- package/dist/vue-form-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/inspector/options-list.vue +4 -3
- package/src/components/task.vue +4 -0
package/package.json
CHANGED
|
@@ -472,7 +472,6 @@ export default {
|
|
|
472
472
|
editIndex: this.editIndex,
|
|
473
473
|
removeIndex: this.removeIndex,
|
|
474
474
|
valueTypeReturned: this.valueTypeReturned,
|
|
475
|
-
optionAriaLabel: this.optionAriaLabel,
|
|
476
475
|
};
|
|
477
476
|
},
|
|
478
477
|
},
|
|
@@ -490,7 +489,6 @@ export default {
|
|
|
490
489
|
this.selectedEndPoint = this.options.selectedEndPoint,
|
|
491
490
|
this.key = this.options.key;
|
|
492
491
|
this.value = this.options.value;
|
|
493
|
-
this.optionAriaLabel = this.options.ariaLabel;
|
|
494
492
|
this.pmqlQuery = this.options.pmqlQuery;
|
|
495
493
|
this.defaultOptionKey= this.options.defaultOptionKey;
|
|
496
494
|
this.selectedOptions = this.options.selectedOptions;
|
|
@@ -593,8 +591,11 @@ export default {
|
|
|
593
591
|
this.editIndex = index;
|
|
594
592
|
this.optionContent = this.optionsList[index][this.valueField];
|
|
595
593
|
this.optionValue = this.optionsList[index][this.keyField];
|
|
594
|
+
this.optionAriaLabel = "";
|
|
596
595
|
if (this.renderAs === "checkbox") {
|
|
597
|
-
this.optionAriaLabel = this.optionsListExtra[index]
|
|
596
|
+
this.optionAriaLabel = this.optionsListExtra[index]
|
|
597
|
+
? this.optionsListExtra[index][this.ariaLabelField]
|
|
598
|
+
: "";
|
|
598
599
|
}
|
|
599
600
|
this.optionError = '';
|
|
600
601
|
},
|
package/src/components/task.vue
CHANGED
|
@@ -850,6 +850,10 @@ export default {
|
|
|
850
850
|
* @param {Object} data - The event data received from the socket listener.
|
|
851
851
|
*/
|
|
852
852
|
handleRedirect(data) {
|
|
853
|
+
// Validate if the task is still active before redirects
|
|
854
|
+
if (data.params?.activeTokens?.includes(this.taskId)) {
|
|
855
|
+
return;
|
|
856
|
+
}
|
|
853
857
|
switch (data.method) {
|
|
854
858
|
case 'redirectToTask':
|
|
855
859
|
this.handleRedirectToTask(data);
|