@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.
@@ -48965,8 +48965,7 @@ const gee = {
48965
48965
  showJsonEditor: this.showJsonEditor,
48966
48966
  editIndex: this.editIndex,
48967
48967
  removeIndex: this.removeIndex,
48968
- valueTypeReturned: this.valueTypeReturned,
48969
- optionAriaLabel: this.optionAriaLabel
48968
+ valueTypeReturned: this.valueTypeReturned
48970
48969
  };
48971
48970
  }
48972
48971
  },
@@ -48976,7 +48975,7 @@ const gee = {
48976
48975
  }, 1500);
48977
48976
  },
48978
48977
  mounted() {
48979
- this.dataSource = this.options.dataSource, this.jsonData = this.options.jsonData, this.dataName = this.options.dataName, this.collectionOptions = this.options.collectionOptions, this.selectedDataSource = this.options.selectedDataSource, this.selectedEndPoint = this.options.selectedEndPoint, this.key = this.options.key, this.value = this.options.value, this.optionAriaLabel = this.options.ariaLabel, this.pmqlQuery = this.options.pmqlQuery, this.defaultOptionKey = this.options.defaultOptionKey, this.selectedOptions = this.options.selectedOptions, this.optionsList = this.options.optionsList ? this.options.optionsList : [], this.optionsListExtra = this.options.optionsListExtra ? this.options.optionsListExtra : [], this.jsonData = JSON.stringify(this.optionsList), this.showRenderAs = this.options.showRenderAs, this.renderAs = this.options.renderAs, this.allowMultiSelect = this.options.allowMultiSelect, this.valueTypeReturned = this.options.valueTypeReturned;
48978
+ this.dataSource = this.options.dataSource, this.jsonData = this.options.jsonData, this.dataName = this.options.dataName, this.collectionOptions = this.options.collectionOptions, this.selectedDataSource = this.options.selectedDataSource, this.selectedEndPoint = this.options.selectedEndPoint, this.key = this.options.key, this.value = this.options.value, this.pmqlQuery = this.options.pmqlQuery, this.defaultOptionKey = this.options.defaultOptionKey, this.selectedOptions = this.options.selectedOptions, this.optionsList = this.options.optionsList ? this.options.optionsList : [], this.optionsListExtra = this.options.optionsListExtra ? this.options.optionsListExtra : [], this.jsonData = JSON.stringify(this.optionsList), this.showRenderAs = this.options.showRenderAs, this.renderAs = this.options.renderAs, this.allowMultiSelect = this.options.allowMultiSelect, this.valueTypeReturned = this.options.valueTypeReturned;
48980
48979
  },
48981
48980
  methods: {
48982
48981
  monacoMounted(t) {
@@ -49045,7 +49044,7 @@ const gee = {
49045
49044
  this.jsonData = JSON.stringify(this.optionsList), this.$emit("change", this.dataObjectOptions);
49046
49045
  },
49047
49046
  showEditOption(t) {
49048
- this.optionCardType = "edit", this.editIndex = t, this.optionContent = this.optionsList[t][this.valueField], this.optionValue = this.optionsList[t][this.keyField], this.renderAs === "checkbox" && (this.optionAriaLabel = this.optionsListExtra[t][this.ariaLabelField]), this.optionError = "";
49047
+ this.optionCardType = "edit", this.editIndex = t, this.optionContent = this.optionsList[t][this.valueField], this.optionValue = this.optionsList[t][this.keyField], this.optionAriaLabel = "", this.renderAs === "checkbox" && (this.optionAriaLabel = this.optionsListExtra[t] ? this.optionsListExtra[t][this.ariaLabelField] : ""), this.optionError = "";
49049
49048
  },
49050
49049
  showAddOption() {
49051
49050
  this.optionCardType = "insert", this.optionContent = "", this.optionValue = "", this.optionAriaLabel = "", this.showOptionCard = !0, this.optionError = "", this.editIndex = null;
@@ -49183,7 +49182,7 @@ var bee = function() {
49183
49182
  yee,
49184
49183
  !1,
49185
49184
  null,
49186
- "245a3588",
49185
+ "1f7031a6",
49187
49186
  null,
49188
49187
  null
49189
49188
  );
@@ -53870,23 +53869,25 @@ const Xre = () => new Promise((t) => {
53870
53869
  * @param {Object} data - The event data received from the socket listener.
53871
53870
  */
53872
53871
  handleRedirect(t) {
53873
- switch (t.method) {
53874
- case "redirectToTask":
53875
- this.handleRedirectToTask(t);
53876
- break;
53877
- case "processUpdated":
53878
- this.handleProcessUpdated(t);
53879
- break;
53880
- case "processCompletedRedirect":
53881
- this.processCompletedRedirect(
53882
- t.params[0],
53883
- this.userId,
53884
- this.requestId
53885
- );
53886
- break;
53887
- default:
53888
- this.handleDefaultRedirect(t);
53889
- }
53872
+ var e, r;
53873
+ if (!((r = (e = t.params) == null ? void 0 : e.activeTokens) != null && r.includes(this.taskId)))
53874
+ switch (t.method) {
53875
+ case "redirectToTask":
53876
+ this.handleRedirectToTask(t);
53877
+ break;
53878
+ case "processUpdated":
53879
+ this.handleProcessUpdated(t);
53880
+ break;
53881
+ case "processCompletedRedirect":
53882
+ this.processCompletedRedirect(
53883
+ t.params[0],
53884
+ this.userId,
53885
+ this.requestId
53886
+ );
53887
+ break;
53888
+ default:
53889
+ this.handleDefaultRedirect(t);
53890
+ }
53890
53891
  },
53891
53892
  /**
53892
53893
  * Handles the 'redirectToTask' event by loading the specified task.
@@ -54015,7 +54016,7 @@ var Ure = function() {
54015
54016
  Gre,
54016
54017
  !1,
54017
54018
  null,
54018
- "7cfa615a",
54019
+ "ccc93ef8",
54019
54020
  null,
54020
54021
  null
54021
54022
  );