@processmaker/screen-builder 2.92.0 → 2.94.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.
@@ -45392,7 +45392,7 @@ const bK = ds(), yK = {
45392
45392
  url: "/tasks",
45393
45393
  dropdownShow: "tasks"
45394
45394
  };
45395
- this.$emit("tasksCount", { dataControls: s, tasksDropdown: a }), this.$refs["form-task"].resetToOriginalWidths();
45395
+ this.$emit("tasksCount", { dataControls: s, tasksDropdown: a });
45396
45396
  }).catch(() => {
45397
45397
  this.tableData = [];
45398
45398
  });
@@ -45442,8 +45442,7 @@ const bK = ds(), yK = {
45442
45442
  default: !0,
45443
45443
  width: 153,
45444
45444
  fixed_width: 153,
45445
- truncate: !0,
45446
- resizable: !1
45445
+ truncate: !0
45447
45446
  },
45448
45447
  {
45449
45448
  label: "Priority",
@@ -45451,8 +45450,7 @@ const bK = ds(), yK = {
45451
45450
  sortable: !1,
45452
45451
  default: !0,
45453
45452
  width: 48,
45454
- fixed_width: 48,
45455
- resizable: !1
45453
+ fixed_width: 48
45456
45454
  },
45457
45455
  {
45458
45456
  label: "Case title",
@@ -45462,8 +45460,7 @@ const bK = ds(), yK = {
45462
45460
  default: !0,
45463
45461
  width: 314,
45464
45462
  truncate: !0,
45465
- fixed_width: 314,
45466
- resizable: !1
45463
+ fixed_width: 314
45467
45464
  }
45468
45465
  ];
45469
45466
  return this.status === "CLOSED" ? t.push({
@@ -45472,16 +45469,14 @@ const bK = ds(), yK = {
45472
45469
  sortable: !0,
45473
45470
  default: !0,
45474
45471
  width: 220,
45475
- fixed_width: 220,
45476
- resizable: !1
45472
+ fixed_width: 220
45477
45473
  }) : t.push({
45478
45474
  label: "Due",
45479
45475
  field: "due_at",
45480
45476
  sortable: !0,
45481
45477
  default: !0,
45482
45478
  width: 220,
45483
- fixed_width: 220,
45484
- resizable: !1
45479
+ fixed_width: 220
45485
45480
  }), t.push({
45486
45481
  label: "",
45487
45482
  field: "options",
@@ -45640,7 +45635,7 @@ var xK = function() {
45640
45635
  wK,
45641
45636
  !1,
45642
45637
  null,
45643
- "d7744395",
45638
+ "4fc4989a",
45644
45639
  null,
45645
45640
  null
45646
45641
  );
@@ -45703,7 +45698,7 @@ const SK = ds(), kK = {
45703
45698
  url: "/cases",
45704
45699
  dropdownShow: "requests"
45705
45700
  }, a = [];
45706
- this.$emit("requestsCount", { dataControls: i, tasksDropdown: a }), this.$refs["form-case"].resetToOriginalWidths();
45701
+ this.$emit("requestsCount", { dataControls: i, tasksDropdown: a });
45707
45702
  }).catch(() => {
45708
45703
  this.tableData = [];
45709
45704
  });
@@ -45786,8 +45781,7 @@ const SK = ds(), kK = {
45786
45781
  default: !0,
45787
45782
  truncate: !0,
45788
45783
  width: 314,
45789
- fixed_width: 314,
45790
- resizable: !1
45784
+ fixed_width: 314
45791
45785
  },
45792
45786
  {
45793
45787
  label: "Status",
@@ -45796,7 +45790,6 @@ const SK = ds(), kK = {
45796
45790
  default: !0,
45797
45791
  width: 113,
45798
45792
  fixed_width: 113,
45799
- resizable: !1,
45800
45793
  filter_subject: { type: "Status" }
45801
45794
  },
45802
45795
  {
@@ -45824,7 +45817,7 @@ var TK = function() {
45824
45817
  CK,
45825
45818
  !1,
45826
45819
  null,
45827
- "ebd7b03d",
45820
+ "9ebe7f58",
45828
45821
  null,
45829
45822
  null
45830
45823
  );
@@ -51162,7 +51155,8 @@ const nte = () => new Promise((t) => {
51162
51155
  taskPreview: { type: Boolean, default: !1 },
51163
51156
  loading: { type: Number, default: null },
51164
51157
  alwaysAllowEditing: { type: Boolean, default: !1 },
51165
- disableInterstitial: { type: Boolean, default: !1 }
51158
+ disableInterstitial: { type: Boolean, default: !1 },
51159
+ waitLoadingListeners: { type: Boolean, default: !1 }
51166
51160
  },
51167
51161
  data() {
51168
51162
  return {
@@ -51183,7 +51177,7 @@ const nte = () => new Promise((t) => {
51183
51177
  redirecting: null,
51184
51178
  loadingButton: !1,
51185
51179
  loadingTask: !1,
51186
- loadingListeners: !0
51180
+ loadingListeners: this.waitLoadingListeners
51187
51181
  };
51188
51182
  },
51189
51183
  watch: {
@@ -51269,6 +51263,8 @@ const nte = () => new Promise((t) => {
51269
51263
  this.taskId ? this.loadTask() : this.loadNextAssignedTask();
51270
51264
  },
51271
51265
  loadTask() {
51266
+ if (!this.taskId)
51267
+ return;
51272
51268
  const t = `/${this.taskId}?include=data,user,draft,requestor,processRequest,component,screen,requestData,loopContext,bpmnTagName,interstitial,definition,nested,userRequestPermission,elementDestination`;
51273
51269
  return window.ProcessMaker && window.ProcessMaker.packages && window.ProcessMaker.packages.includes("package-vocabularies") && (window.ProcessMaker.VocabulariesSchemaUrl = `vocabularies/task_schema/${this.taskId}`), this.beforeLoadTask(this.taskId, this.nodeId).then(() => {
51274
51270
  this.$dataProvider.getTasks(t).then((e) => {
@@ -51335,7 +51331,8 @@ const nte = () => new Promise((t) => {
51335
51331
  * Emits a closed event.
51336
51332
  */
51337
51333
  async emitClosedEvent() {
51338
- this.$emit("closed", this.task.id, await this.getDestinationUrl());
51334
+ var t;
51335
+ this.$emit("closed", (t = this.task) == null ? void 0 : t.id, await this.getDestinationUrl());
51339
51336
  },
51340
51337
  /**
51341
51338
  * Retrieves the destination URL for the closed event.
@@ -51589,7 +51586,7 @@ var ote = function() {
51589
51586
  lte,
51590
51587
  !1,
51591
51588
  null,
51592
- "b5beddfe",
51589
+ "6a0b4e08",
51593
51590
  null,
51594
51591
  null
51595
51592
  );