@processmaker/screen-builder 3.6.0 → 3.8.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.
@@ -21,7 +21,7 @@ import AP, { RequiredAsterisk as Xd, FormTextArea as $t, ValidationMixin as Dg,
21
21
  import re, { get as Se, has as mi, omit as EP, cloneDeep as Gc, isArray as ps, snakeCase as jP, isNil as Qc, set as Kn, isEqual as Og, debounce as hs, merge as Op, isEmpty as NP, findIndex as zp } from "lodash";
22
22
  import Ep, { mapGetters as zg, mapState as Eg, mapActions as jg } from "vuex";
23
23
  import st from "moment";
24
- import jr from "moment-timezone";
24
+ import Nr from "moment-timezone";
25
25
  import Xi from "vue-monaco";
26
26
  var Dt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
27
27
  function Pr(t) {
@@ -213,14 +213,14 @@ function Fg(t, e, r) {
213
213
  }
214
214
  return [];
215
215
  }
216
- function Er() {
216
+ function jr() {
217
217
  var t = document.scrollingElement;
218
218
  return t || document.documentElement;
219
219
  }
220
220
  function Qe(t, e, r, i, a) {
221
221
  if (!(!t.getBoundingClientRect && t !== window)) {
222
222
  var n, s, o, u, l, c, d;
223
- if (t !== window && t !== Er() ? (n = t.getBoundingClientRect(), s = n.top, o = n.left, u = n.bottom, l = n.right, c = n.height, d = n.width) : (s = 0, o = 0, u = window.innerHeight, l = window.innerWidth, c = window.innerHeight, d = window.innerWidth), (e || r) && t !== window && (a = a || t.parentNode, !ei))
223
+ if (t !== window && t !== jr() ? (n = t.getBoundingClientRect(), s = n.top, o = n.left, u = n.bottom, l = n.right, c = n.height, d = n.width) : (s = 0, o = 0, u = window.innerHeight, l = window.innerWidth, c = window.innerHeight, d = window.innerWidth), (e || r) && t !== window && (a = a || t.parentNode, !ei))
224
224
  do
225
225
  if (a && a.getBoundingClientRect && (ue(a, "transform") !== "none" || r && ue(a, "position") !== "static")) {
226
226
  var f = a.getBoundingClientRect();
@@ -247,7 +247,7 @@ function Ip(t, e, r) {
247
247
  var n = Qe(i)[r], s = void 0;
248
248
  if (r === "top" || r === "left" ? s = a >= n : s = a <= n, !s)
249
249
  return i;
250
- if (i === Er())
250
+ if (i === jr())
251
251
  break;
252
252
  i = bi(i, !1);
253
253
  }
@@ -278,7 +278,7 @@ function Ge(t, e) {
278
278
  return r;
279
279
  }
280
280
  function Lp(t) {
281
- var e = 0, r = 0, i = Er();
281
+ var e = 0, r = 0, i = jr();
282
282
  if (t)
283
283
  do {
284
284
  var a = Vi(t), n = a.a, s = a.d;
@@ -297,21 +297,21 @@ function UP(t, e) {
297
297
  }
298
298
  function bi(t, e) {
299
299
  if (!t || !t.getBoundingClientRect)
300
- return Er();
300
+ return jr();
301
301
  var r = t, i = !1;
302
302
  do
303
303
  if (r.clientWidth < r.scrollWidth || r.clientHeight < r.scrollHeight) {
304
304
  var a = ue(r);
305
305
  if (r.clientWidth < r.scrollWidth && (a.overflowX == "auto" || a.overflowX == "scroll") || r.clientHeight < r.scrollHeight && (a.overflowY == "auto" || a.overflowY == "scroll")) {
306
306
  if (!r.getBoundingClientRect || r === document.body)
307
- return Er();
307
+ return jr();
308
308
  if (i || e)
309
309
  return r;
310
310
  i = !0;
311
311
  }
312
312
  }
313
313
  while (r = r.parentNode);
314
- return Er();
314
+ return jr();
315
315
  }
316
316
  function GP(t, e) {
317
317
  if (t && e)
@@ -821,7 +821,7 @@ me.prototype = /** @lends Sortable.prototype */
821
821
  if (Rs) {
822
822
  for (ft = e; ue(ft, "position") === "static" && ue(ft, "transform") === "none" && ft !== document; )
823
823
  ft = ft.parentNode;
824
- ft !== document.body && ft !== document.documentElement ? (ft === document && (ft = Er()), r.top += ft.scrollTop, r.left += ft.scrollLeft) : ft = Er(), Ju = Lp(ft);
824
+ ft !== document.body && ft !== document.documentElement ? (ft === document && (ft = jr()), r.top += ft.scrollTop, r.left += ft.scrollLeft) : ft = jr(), Ju = Lp(ft);
825
825
  }
826
826
  we = te.cloneNode(!0), Xe(we, i.ghostClass, !1), Xe(we, i.fallbackClass, !0), Xe(we, i.dragClass, !0), ue(we, "transition", ""), ue(we, "transform", ""), ue(we, "box-sizing", "border-box"), ue(we, "margin", 0), ue(we, "top", r.top), ue(we, "left", r.left), ue(we, "width", r.width), ue(we, "height", r.height), ue(we, "opacity", "0.8"), ue(we, "position", Rs ? "absolute" : "fixed"), ue(we, "zIndex", "100000"), ue(we, "pointerEvents", "none"), me.ghost = we, e.appendChild(we), ue(we, "transform-origin", Bp / parseInt(we.style.width) * 100 + "% " + Rp / parseInt(we.style.height) * 100 + "%");
827
827
  }
@@ -1218,7 +1218,7 @@ function uS() {
1218
1218
  l !== u && (u = l, co()), Zu(r, a.options, l, i);
1219
1219
  }, 10), Qu = n, Yu = s);
1220
1220
  } else {
1221
- if (!this.options.bubbleScroll || bi(o, !0) === Er()) {
1221
+ if (!this.options.bubbleScroll || bi(o, !0) === jr()) {
1222
1222
  co();
1223
1223
  return;
1224
1224
  }
@@ -1240,7 +1240,7 @@ function Vp() {
1240
1240
  }
1241
1241
  var Zu = Bg(function(t, e, r, i) {
1242
1242
  if (e.scroll) {
1243
- var a = (t.touches ? t.touches[0] : t).clientX, n = (t.touches ? t.touches[0] : t).clientY, s = e.scrollSensitivity, o = e.scrollSpeed, u = Er(), l = !1, c;
1243
+ var a = (t.touches ? t.touches[0] : t).clientX, n = (t.touches ? t.touches[0] : t).clientY, s = e.scrollSensitivity, o = e.scrollSpeed, u = jr(), l = !1, c;
1244
1244
  _c !== r && (_c = r, co(), On = e.scroll, c = e.scrollFn, On === !0 && (On = bi(r, !0)));
1245
1245
  var d = 0, f = On;
1246
1246
  do {
@@ -6906,7 +6906,7 @@ function g0(t) {
6906
6906
  }
6907
6907
  return !0;
6908
6908
  }
6909
- function Hr(t) {
6909
+ function Vr(t) {
6910
6910
  let e;
6911
6911
  return typeof t == "number" ? (e = new Date(t), typeof e == "object") : (e = new Date(t), e.toString() === "Invalid Date" ? !1 : g0(t));
6912
6912
  }
@@ -7105,7 +7105,7 @@ let Ai = (Uc = class {
7105
7105
  return this._load(e), new ed(r[e]);
7106
7106
  }
7107
7107
  }, ne(Uc, "messages", {}), Uc);
7108
- const P0 = (t) => t === "on" || t === "yes" || t === 1 || t === "1" || t === !0, S0 = (t) => /^[a-zA-Z]+$/.test(t), C0 = (t) => /^[a-zA-Z0-9_\-]+$/.test(t), k0 = (t) => /^[a-zA-Z0-9]+$/.test(t), T0 = (t) => t instanceof Array, M0 = (t) => t === !0 || t === !1 || t === 0 || t === 1 || t === "0" || t === "1" || t === "true" || t === "false", D0 = (t) => Hr(t), A0 = (t) => {
7108
+ const P0 = (t) => t === "on" || t === "yes" || t === 1 || t === "1" || t === !0, S0 = (t) => /^[a-zA-Z]+$/.test(t), C0 = (t) => /^[a-zA-Z0-9_\-]+$/.test(t), k0 = (t) => /^[a-zA-Z0-9]+$/.test(t), T0 = (t) => t instanceof Array, M0 = (t) => t === !0 || t === !1 || t === 0 || t === 1 || t === "0" || t === "1" || t === "true" || t === "false", D0 = (t) => Vr(t), A0 = (t) => {
7109
7109
  let e = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/;
7110
7110
  return e.test(t) ? !0 : (e = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/, e.test(t));
7111
7111
  }, O0 = (t) => /^[0-9a-f]+$/i.test(t), z0 = (t) => !ps(t) && String(parseInt(t, 10)) === String(t), E0 = (t) => {
@@ -7231,11 +7231,11 @@ let qs = (Jr = class {
7231
7231
  ...this.rules,
7232
7232
  after(e, r) {
7233
7233
  const i = this.validator.input[r], a = e;
7234
- return !Hr(i) || !Hr(a) ? !1 : new Date(i).getTime() < new Date(a).getTime();
7234
+ return !Vr(i) || !Vr(a) ? !1 : new Date(i).getTime() < new Date(a).getTime();
7235
7235
  },
7236
7236
  after_or_equal(e, r) {
7237
7237
  const i = this.validator.input[r], a = e;
7238
- return !Hr(i) || !Hr(a) ? !1 : new Date(i).getTime() <= new Date(a).getTime();
7238
+ return !Vr(i) || !Vr(a) ? !1 : new Date(i).getTime() <= new Date(a).getTime();
7239
7239
  },
7240
7240
  required_if(e, r) {
7241
7241
  return r = this.getParameters(), Se(this.validator.input, r[0]) === r[1] ? this.validator.getRule("required").validate(e, {}) : !0;
@@ -7324,11 +7324,11 @@ let qs = (Jr = class {
7324
7324
  },
7325
7325
  before(e, r) {
7326
7326
  const i = this.validator.input[r], a = e;
7327
- return !Hr(i) || !Hr(a) ? !1 : new Date(i).getTime() > new Date(a).getTime();
7327
+ return !Vr(i) || !Vr(a) ? !1 : new Date(i).getTime() > new Date(a).getTime();
7328
7328
  },
7329
7329
  before_or_equal(e, r) {
7330
7330
  const i = this.validator.input[r], a = e;
7331
- return !Hr(i) || !Hr(a) ? !1 : new Date(i).getTime() >= new Date(a).getTime();
7331
+ return !Vr(i) || !Vr(a) ? !1 : new Date(i).getTime() >= new Date(a).getTime();
7332
7332
  },
7333
7333
  ip(e, r, i) {
7334
7334
  return Jr.rules.ipv4(e, r, i) || Jr.rules.ipv6(e, r, i);
@@ -10418,7 +10418,7 @@ var $g = { exports: {} };
10418
10418
  });
10419
10419
  })($g);
10420
10420
  var kC = $g.exports;
10421
- const Nr = /* @__PURE__ */ Pr(kC);
10421
+ const Ir = /* @__PURE__ */ Pr(kC);
10422
10422
  var eb = { exports: {} };
10423
10423
  /*!
10424
10424
  * Name: vue-upload-component
@@ -11691,15 +11691,15 @@ function ib(t, e, r) {
11691
11691
  function Ii(t, e, r) {
11692
11692
  var i = [], a, n, s, o, u, l;
11693
11693
  if (_d(t))
11694
- return Fr(t, r);
11694
+ return Br(t, r);
11695
11695
  for (var c = t.length, d = 0; d < c; d++) {
11696
11696
  var f = t[d], g = f.type;
11697
11697
  if (g === Zt || g === Wi)
11698
11698
  i.push(f.value);
11699
11699
  else if (g === Fa)
11700
- n = i.pop(), a = i.pop(), f.value === "and" ? i.push(a ? !!Ii(n, e, r) : !1) : f.value === "or" ? i.push(a ? !0 : !!Ii(n, e, r)) : f.value === "=" ? (o = e.binaryOps[f.value], i.push(o(a, Ii(n, e, r), r))) : (o = e.binaryOps[f.value], i.push(o(Fr(a, r), Fr(n, r))));
11700
+ n = i.pop(), a = i.pop(), f.value === "and" ? i.push(a ? !!Ii(n, e, r) : !1) : f.value === "or" ? i.push(a ? !0 : !!Ii(n, e, r)) : f.value === "=" ? (o = e.binaryOps[f.value], i.push(o(a, Ii(n, e, r), r))) : (o = e.binaryOps[f.value], i.push(o(Br(a, r), Br(n, r))));
11701
11701
  else if (g === Ba)
11702
- s = i.pop(), n = i.pop(), a = i.pop(), f.value === "?" ? i.push(Ii(a ? n : s, e, r)) : (o = e.ternaryOps[f.value], i.push(o(Fr(a, r), Fr(n, r), Fr(s, r))));
11702
+ s = i.pop(), n = i.pop(), a = i.pop(), f.value === "?" ? i.push(Ii(a ? n : s, e, r)) : (o = e.ternaryOps[f.value], i.push(o(Br(a, r), Br(n, r), Br(s, r))));
11703
11703
  else if (g === Yr)
11704
11704
  if (f.value in e.functions)
11705
11705
  i.push(e.functions[f.value]);
@@ -11713,10 +11713,10 @@ function Ii(t, e, r) {
11713
11713
  throw new Error("undefined variable: " + f.value);
11714
11714
  }
11715
11715
  else if (g === La)
11716
- a = i.pop(), o = e.unaryOps[f.value], i.push(o(Fr(a, r)));
11716
+ a = i.pop(), o = e.unaryOps[f.value], i.push(o(Br(a, r)));
11717
11717
  else if (g === za) {
11718
11718
  for (l = f.value, u = []; l-- > 0; )
11719
- u.unshift(Fr(i.pop(), r));
11719
+ u.unshift(Br(i.pop(), r));
11720
11720
  if (o = i.pop(), o.apply && o.call)
11721
11721
  i.push(o.apply(void 0, u));
11722
11722
  else
@@ -11752,7 +11752,7 @@ function Ii(t, e, r) {
11752
11752
  }
11753
11753
  if (i.length > 1)
11754
11754
  throw new Error("invalid Expression (parity)");
11755
- return i[0] === 0 ? 0 : Fr(i[0], r);
11755
+ return i[0] === 0 ? 0 : Br(i[0], r);
11756
11756
  }
11757
11757
  function MC(t, e, r) {
11758
11758
  return _d(t) ? t : {
@@ -11765,7 +11765,7 @@ function MC(t, e, r) {
11765
11765
  function _d(t) {
11766
11766
  return t && t.type === Kd;
11767
11767
  }
11768
- function Fr(t, e) {
11768
+ function Br(t, e) {
11769
11769
  return _d(t) ? t.value(e) : t;
11770
11770
  }
11771
11771
  function $d(t, e) {
@@ -12922,7 +12922,7 @@ const db = {
12922
12922
  let r = e;
12923
12923
  if (e.includes("{{"))
12924
12924
  try {
12925
- r = Nr.render("{" + e + "}", this.defaultsFormData);
12925
+ r = Ir.render("{" + e + "}", this.defaultsFormData);
12926
12926
  } catch {
12927
12927
  }
12928
12928
  this.defaultsFormData[t] = r;
@@ -13796,7 +13796,7 @@ const Eb = /* @__PURE__ */ Pr(HO), Cr = typeof window > "u" ? global : window, a
13796
13796
  Cr.ProcessMaker.alert(this.$t("Script not found for the Watcher"), "warning");
13797
13797
  return;
13798
13798
  }
13799
- const i = Nr.render(t.input_data, e), a = Nr.render(t.script_configuration, e);
13799
+ const i = Ir.render(t.input_data, e), a = Ir.render(t.script_configuration, e);
13800
13800
  t.synchronous && this.$el.offsetParent && this.$refs.watchersSynchronous.show(t.name), Cr.window.ProcessMaker.apiClient.post(this.watchers_config.api.execute.replace(/script_id\/script_key/, r), {
13801
13801
  watcher: t.uid,
13802
13802
  data: i,
@@ -15457,123 +15457,123 @@ var WN = qN, Zh = Ha, Kh = Zh ? Zh.prototype : void 0, _h = Kh ? Kh.valueOf : vo
15457
15457
  function XN(t) {
15458
15458
  return _h ? Object(_h.call(t)) : {};
15459
15459
  }
15460
- var JN = XN, UN = Pf, GN = HN, QN = WN, YN = JN, ZN = Xb, KN = "[object Boolean]", _N = "[object Date]", $N = "[object Map]", e9 = "[object Number]", t9 = "[object RegExp]", r9 = "[object Set]", i9 = "[object String]", a9 = "[object Symbol]", n9 = "[object ArrayBuffer]", s9 = "[object DataView]", o9 = "[object Float32Array]", l9 = "[object Float64Array]", u9 = "[object Int8Array]", c9 = "[object Int16Array]", d9 = "[object Int32Array]", f9 = "[object Uint8Array]", p9 = "[object Uint8ClampedArray]", h9 = "[object Uint16Array]", m9 = "[object Uint32Array]";
15461
- function v9(t, e, r) {
15460
+ var JN = XN, UN = Pf, GN = HN, QN = WN, YN = JN, ZN = Xb, KN = "[object Boolean]", _N = "[object Date]", $N = "[object Map]", eI = "[object Number]", tI = "[object RegExp]", rI = "[object Set]", iI = "[object String]", aI = "[object Symbol]", nI = "[object ArrayBuffer]", sI = "[object DataView]", oI = "[object Float32Array]", lI = "[object Float64Array]", uI = "[object Int8Array]", cI = "[object Int16Array]", dI = "[object Int32Array]", fI = "[object Uint8Array]", pI = "[object Uint8ClampedArray]", hI = "[object Uint16Array]", mI = "[object Uint32Array]";
15461
+ function vI(t, e, r) {
15462
15462
  var i = t.constructor;
15463
15463
  switch (e) {
15464
- case n9:
15464
+ case nI:
15465
15465
  return UN(t);
15466
15466
  case KN:
15467
15467
  case _N:
15468
15468
  return new i(+t);
15469
- case s9:
15469
+ case sI:
15470
15470
  return GN(t, r);
15471
- case o9:
15472
- case l9:
15473
- case u9:
15474
- case c9:
15475
- case d9:
15476
- case f9:
15477
- case p9:
15478
- case h9:
15479
- case m9:
15471
+ case oI:
15472
+ case lI:
15473
+ case uI:
15474
+ case cI:
15475
+ case dI:
15476
+ case fI:
15477
+ case pI:
15478
+ case hI:
15479
+ case mI:
15480
15480
  return ZN(t, r);
15481
15481
  case $N:
15482
15482
  return new i();
15483
- case e9:
15484
- case i9:
15483
+ case eI:
15484
+ case iI:
15485
15485
  return new i(t);
15486
- case t9:
15486
+ case tI:
15487
15487
  return QN(t);
15488
- case r9:
15488
+ case rI:
15489
15489
  return new i();
15490
- case a9:
15490
+ case aI:
15491
15491
  return YN(t);
15492
15492
  }
15493
15493
  }
15494
- var g9 = v9, b9 = Nl, y9 = Sr, x9 = "[object Map]";
15495
- function w9(t) {
15496
- return y9(t) && b9(t) == x9;
15494
+ var gI = vI, bI = Nl, yI = Sr, xI = "[object Map]";
15495
+ function wI(t) {
15496
+ return yI(t) && bI(t) == xI;
15497
15497
  }
15498
- var P9 = w9, S9 = P9, C9 = ys, $h = pf, em = $h && $h.isMap, k9 = em ? C9(em) : S9, T9 = k9, M9 = Nl, D9 = Sr, A9 = "[object Set]";
15499
- function O9(t) {
15500
- return D9(t) && M9(t) == A9;
15498
+ var PI = wI, SI = PI, CI = ys, $h = pf, em = $h && $h.isMap, kI = em ? CI(em) : SI, TI = kI, MI = Nl, DI = Sr, AI = "[object Set]";
15499
+ function OI(t) {
15500
+ return DI(t) && MI(t) == AI;
15501
15501
  }
15502
- var z9 = O9, E9 = z9, j9 = ys, tm = pf, rm = tm && tm.isSet, N9 = rm ? j9(rm) : E9, I9 = N9, L9 = Ol, F9 = ry, B9 = kf, R9 = dN, H9 = mN, V9 = Wb, q9 = Sf, W9 = yN, X9 = AN, J9 = kb, U9 = my, G9 = Nl, Q9 = FN, Y9 = g9, Z9 = Jb, K9 = gt, _9 = El, $9 = T9, eI = zt, tI = I9, rI = ws, iI = Cs, aI = 1, nI = 2, sI = 4, vy = "[object Arguments]", oI = "[object Array]", lI = "[object Boolean]", uI = "[object Date]", cI = "[object Error]", gy = "[object Function]", dI = "[object GeneratorFunction]", fI = "[object Map]", pI = "[object Number]", by = "[object Object]", hI = "[object RegExp]", mI = "[object Set]", vI = "[object String]", gI = "[object Symbol]", bI = "[object WeakMap]", yI = "[object ArrayBuffer]", xI = "[object DataView]", wI = "[object Float32Array]", PI = "[object Float64Array]", SI = "[object Int8Array]", CI = "[object Int16Array]", kI = "[object Int32Array]", TI = "[object Uint8Array]", MI = "[object Uint8ClampedArray]", DI = "[object Uint16Array]", AI = "[object Uint32Array]", Fe = {};
15503
- Fe[vy] = Fe[oI] = Fe[yI] = Fe[xI] = Fe[lI] = Fe[uI] = Fe[wI] = Fe[PI] = Fe[SI] = Fe[CI] = Fe[kI] = Fe[fI] = Fe[pI] = Fe[by] = Fe[hI] = Fe[mI] = Fe[vI] = Fe[gI] = Fe[TI] = Fe[MI] = Fe[DI] = Fe[AI] = !0;
15504
- Fe[cI] = Fe[gy] = Fe[bI] = !1;
15502
+ var zI = OI, EI = zI, jI = ys, tm = pf, rm = tm && tm.isSet, NI = rm ? jI(rm) : EI, II = NI, LI = Ol, FI = ry, BI = kf, RI = dN, HI = mN, VI = Wb, qI = Sf, WI = yN, XI = AN, JI = kb, UI = my, GI = Nl, QI = FN, YI = gI, ZI = Jb, KI = gt, _I = El, $I = TI, e9 = zt, t9 = II, r9 = ws, i9 = Cs, a9 = 1, n9 = 2, s9 = 4, vy = "[object Arguments]", o9 = "[object Array]", l9 = "[object Boolean]", u9 = "[object Date]", c9 = "[object Error]", gy = "[object Function]", d9 = "[object GeneratorFunction]", f9 = "[object Map]", p9 = "[object Number]", by = "[object Object]", h9 = "[object RegExp]", m9 = "[object Set]", v9 = "[object String]", g9 = "[object Symbol]", b9 = "[object WeakMap]", y9 = "[object ArrayBuffer]", x9 = "[object DataView]", w9 = "[object Float32Array]", P9 = "[object Float64Array]", S9 = "[object Int8Array]", C9 = "[object Int16Array]", k9 = "[object Int32Array]", T9 = "[object Uint8Array]", M9 = "[object Uint8ClampedArray]", D9 = "[object Uint16Array]", A9 = "[object Uint32Array]", Fe = {};
15503
+ Fe[vy] = Fe[o9] = Fe[y9] = Fe[x9] = Fe[l9] = Fe[u9] = Fe[w9] = Fe[P9] = Fe[S9] = Fe[C9] = Fe[k9] = Fe[f9] = Fe[p9] = Fe[by] = Fe[h9] = Fe[m9] = Fe[v9] = Fe[g9] = Fe[T9] = Fe[M9] = Fe[D9] = Fe[A9] = !0;
15504
+ Fe[c9] = Fe[gy] = Fe[b9] = !1;
15505
15505
  function fo(t, e, r, i, a, n) {
15506
- var s, o = e & aI, u = e & nI, l = e & sI;
15506
+ var s, o = e & a9, u = e & n9, l = e & s9;
15507
15507
  if (r && (s = a ? r(t, i, a, n) : r(t)), s !== void 0)
15508
15508
  return s;
15509
- if (!eI(t))
15509
+ if (!e9(t))
15510
15510
  return t;
15511
- var c = K9(t);
15511
+ var c = KI(t);
15512
15512
  if (c) {
15513
- if (s = Q9(t), !o)
15514
- return q9(t, s);
15513
+ if (s = QI(t), !o)
15514
+ return qI(t, s);
15515
15515
  } else {
15516
- var d = G9(t), f = d == gy || d == dI;
15517
- if (_9(t))
15518
- return V9(t, o);
15516
+ var d = GI(t), f = d == gy || d == d9;
15517
+ if (_I(t))
15518
+ return VI(t, o);
15519
15519
  if (d == by || d == vy || f && !a) {
15520
- if (s = u || f ? {} : Z9(t), !o)
15521
- return u ? X9(t, H9(s, t)) : W9(t, R9(s, t));
15520
+ if (s = u || f ? {} : ZI(t), !o)
15521
+ return u ? XI(t, HI(s, t)) : WI(t, RI(s, t));
15522
15522
  } else {
15523
15523
  if (!Fe[d])
15524
15524
  return a ? t : {};
15525
- s = Y9(t, d, o);
15525
+ s = YI(t, d, o);
15526
15526
  }
15527
15527
  }
15528
- n || (n = new L9());
15528
+ n || (n = new LI());
15529
15529
  var g = n.get(t);
15530
15530
  if (g)
15531
15531
  return g;
15532
- n.set(t, s), tI(t) ? t.forEach(function(y) {
15532
+ n.set(t, s), t9(t) ? t.forEach(function(y) {
15533
15533
  s.add(fo(y, e, r, y, t, n));
15534
- }) : $9(t) && t.forEach(function(y, x) {
15534
+ }) : $I(t) && t.forEach(function(y, x) {
15535
15535
  s.set(x, fo(y, e, r, x, t, n));
15536
15536
  });
15537
- var S = l ? u ? U9 : J9 : u ? iI : rI, h = c ? void 0 : S(t);
15538
- return F9(h || t, function(y, x) {
15539
- h && (x = y, y = t[x]), B9(s, x, fo(y, e, r, x, t, n));
15537
+ var S = l ? u ? UI : JI : u ? i9 : r9, h = c ? void 0 : S(t);
15538
+ return FI(h || t, function(y, x) {
15539
+ h && (x = y, y = t[x]), BI(s, x, fo(y, e, r, x, t, n));
15540
15540
  }), s;
15541
15541
  }
15542
15542
  var yy = fo;
15543
- function OI(t) {
15543
+ function O9(t) {
15544
15544
  var e = t == null ? 0 : t.length;
15545
15545
  return e ? t[e - 1] : void 0;
15546
15546
  }
15547
- var zI = OI;
15548
- function EI(t, e, r) {
15547
+ var z9 = O9;
15548
+ function E9(t, e, r) {
15549
15549
  var i = -1, a = t.length;
15550
15550
  e < 0 && (e = -e > a ? 0 : a + e), r = r > a ? a : r, r < 0 && (r += a), a = e > r ? 0 : r - e >>> 0, e >>>= 0;
15551
15551
  for (var n = Array(a); ++i < a; )
15552
15552
  n[i] = t[i + e];
15553
15553
  return n;
15554
15554
  }
15555
- var jI = EI, NI = xf, II = jI;
15556
- function LI(t, e) {
15557
- return e.length < 2 ? t : NI(t, II(e, 0, -1));
15555
+ var j9 = E9, N9 = xf, I9 = j9;
15556
+ function L9(t, e) {
15557
+ return e.length < 2 ? t : N9(t, I9(e, 0, -1));
15558
15558
  }
15559
- var FI = LI, BI = Ps, RI = zI, HI = FI, VI = Ja;
15560
- function qI(t, e) {
15561
- return e = BI(e, t), t = HI(t, e), t == null || delete t[VI(RI(e))];
15559
+ var F9 = L9, B9 = Ps, R9 = z9, H9 = F9, V9 = Ja;
15560
+ function q9(t, e) {
15561
+ return e = B9(e, t), t = H9(t, e), t == null || delete t[V9(R9(e))];
15562
15562
  }
15563
- var WI = qI, XI = Ct;
15564
- function JI(t) {
15565
- return XI(t) ? void 0 : t;
15563
+ var W9 = q9, X9 = Ct;
15564
+ function J9(t) {
15565
+ return X9(t) ? void 0 : t;
15566
15566
  }
15567
- var UI = JI, GI = fy;
15568
- function QI(t) {
15567
+ var U9 = J9, G9 = fy;
15568
+ function Q9(t) {
15569
15569
  var e = t == null ? 0 : t.length;
15570
- return e ? GI(t, 1) : [];
15570
+ return e ? G9(t, 1) : [];
15571
15571
  }
15572
- var YI = QI, ZI = YI, KI = Kb, _I = _b;
15573
- function $I(t) {
15574
- return _I(KI(t, void 0, ZI), t + "");
15572
+ var Y9 = Q9, Z9 = Y9, K9 = Kb, _9 = _b;
15573
+ function $9(t) {
15574
+ return _9(K9(t, void 0, Z9), t + "");
15575
15575
  }
15576
- var eL = $I, tL = Ll, rL = yy, iL = WI, aL = Ps, nL = Ua, sL = UI, oL = eL, lL = my, uL = 1, cL = 2, dL = 4, fL = oL(function(t, e) {
15576
+ var eL = $9, tL = Ll, rL = yy, iL = W9, aL = Ps, nL = Ua, sL = U9, oL = eL, lL = my, uL = 1, cL = 2, dL = 4, fL = oL(function(t, e) {
15577
15577
  var r = {};
15578
15578
  if (t == null)
15579
15579
  return r;
@@ -15665,11 +15665,11 @@ function cd(t, e, r) {
15665
15665
  }) : !0 : cd(t[r], i, a);
15666
15666
  }) : e(t);
15667
15667
  }
15668
- var Ir = function(t, e) {
15668
+ var Lr = function(t, e) {
15669
15669
  return ud(t, function(r, i) {
15670
15670
  return cd(e, r, i);
15671
15671
  });
15672
- }, jL = Oe, NL = Ir, IL = function(e, r, i) {
15672
+ }, jL = Oe, NL = Lr, IL = function(e, r, i) {
15673
15673
  return jL.withParams({
15674
15674
  type: "schemaAdditionalItems",
15675
15675
  schema: e
@@ -15705,7 +15705,7 @@ var JL = XL, UL = JL;
15705
15705
  function GL(t, e) {
15706
15706
  return t && t.length && e && e.length ? UL(t, e) : t;
15707
15707
  }
15708
- var QL = GL, YL = Oe, am = Ct, ZL = Df, KL = QL, _L = Ir, $L = function(e, r, i) {
15708
+ var QL = GL, YL = Oe, am = Ct, ZL = Df, KL = QL, _L = Lr, $L = function(e, r, i) {
15709
15709
  return YL.withParams({
15710
15710
  type: "schemaAdditionalProperties",
15711
15711
  additionalProperties: r,
@@ -15798,7 +15798,7 @@ var ql = S2, C2 = Oe, k2 = Yi, T2 = t2, M2 = Py, D2 = Zi, A2 = b2, O2 = ql, z2 =
15798
15798
  }, function(i) {
15799
15799
  return r ? !k2(i) || E2[r](i) : !0;
15800
15800
  });
15801
- }, j2 = Oe, N2 = Yi, I2 = ks, L2 = Ir, F2 = function(e, r, i) {
15801
+ }, j2 = Oe, N2 = Yi, I2 = ks, L2 = Lr, F2 = function(e, r, i) {
15802
15802
  return j2.withParams({
15803
15803
  type: "schemaAnyOf",
15804
15804
  schemas: r,
@@ -15817,7 +15817,7 @@ var ql = S2, C2 = Oe, k2 = Yi, T2 = t2, M2 = Py, D2 = Zi, A2 = b2, O2 = ql, z2 =
15817
15817
  }, function(a) {
15818
15818
  return R2(a) ? a >= r && a <= i : !0;
15819
15819
  });
15820
- }, V2 = Oe, q2 = Ir, W2 = function(e, r, i) {
15820
+ }, V2 = Oe, q2 = Lr, W2 = function(e, r, i) {
15821
15821
  return V2.withParams({
15822
15822
  type: "schemaContains",
15823
15823
  contains: r,
@@ -15830,7 +15830,7 @@ var ql = S2, C2 = Oe, k2 = Yi, T2 = t2, M2 = Py, D2 = Zi, A2 = b2, O2 = ql, z2 =
15830
15830
  return q2(n, s);
15831
15831
  });
15832
15832
  });
15833
- }, X2 = Oe, J2 = Ct, U2 = Ir, G2 = function(e, r, i) {
15833
+ }, X2 = Oe, J2 = Ct, U2 = Lr, G2 = function(e, r, i) {
15834
15834
  return X2.withParams({
15835
15835
  type: "schemaDependencies",
15836
15836
  dependencies: r,
@@ -15884,7 +15884,7 @@ var ql = S2, C2 = Oe, k2 = Yi, T2 = t2, M2 = Py, D2 = Zi, A2 = b2, O2 = ql, z2 =
15884
15884
  }, function(i) {
15885
15885
  return s7(i) ? i > r : !0;
15886
15886
  });
15887
- }, l7 = Oe, u7 = ks, sm = Ir, c7 = function(e, r) {
15887
+ }, l7 = Oe, u7 = ks, sm = Lr, c7 = function(e, r) {
15888
15888
  return l7.withParams({
15889
15889
  type: "schemaItems",
15890
15890
  schema: e
@@ -15979,7 +15979,7 @@ var ql = S2, C2 = Oe, k2 = Yi, T2 = t2, M2 = Py, D2 = Zi, A2 = b2, O2 = ql, z2 =
15979
15979
  }, function(i) {
15980
15980
  return N7(i) ? I7(i / r) : !0;
15981
15981
  });
15982
- }, F7 = Oe, B7 = Yi, R7 = ks, H7 = Ir, V7 = function(e, r, i) {
15982
+ }, F7 = Oe, B7 = Yi, R7 = ks, H7 = Lr, V7 = function(e, r, i) {
15983
15983
  return F7.withParams({
15984
15984
  type: "schemaNot",
15985
15985
  not: r,
@@ -15987,7 +15987,7 @@ var ql = S2, C2 = Oe, k2 = Yi, T2 = t2, M2 = Py, D2 = Zi, A2 = b2, O2 = ql, z2 =
15987
15987
  }, function(a) {
15988
15988
  return !B7(a) || !R7(e, e.type)(a) ? !0 : !H7(i(r), a);
15989
15989
  });
15990
- }, q7 = Oe, W7 = Yi, X7 = ks, J7 = Ir, U7 = function(e, r, i) {
15990
+ }, q7 = Oe, W7 = Yi, X7 = ks, J7 = Lr, U7 = function(e, r, i) {
15991
15991
  return q7.withParams({
15992
15992
  type: "schemaOneOf",
15993
15993
  schemas: r,
@@ -16009,7 +16009,7 @@ function e5(t, e) {
16009
16009
  var r = $7(t) ? Z7 : K7;
16010
16010
  return r(t, _7(e));
16011
16011
  }
16012
- var t5 = e5, r5 = Oe, om = Ct, i5 = Df, a5 = Vl, n5 = t5, s5 = Ir, o5 = function(e, r, i) {
16012
+ var t5 = e5, r5 = Oe, om = Ct, i5 = Df, a5 = Vl, n5 = t5, s5 = Lr, o5 = function(e, r, i) {
16013
16013
  return r5.withParams({
16014
16014
  type: "schemaPatternProperties",
16015
16015
  patternProperties: r,
@@ -16047,7 +16047,7 @@ var t5 = e5, r5 = Oe, om = Ct, i5 = Df, a5 = Vl, n5 = t5, s5 = Ir, o5 = function
16047
16047
  }, function(i) {
16048
16048
  return u5(i) ? r.test(i) : !0;
16049
16049
  });
16050
- }, d5 = Oe, f5 = Ct, p5 = Ir, h5 = function(e, r, i) {
16050
+ }, d5 = Oe, f5 = Ct, p5 = Lr, h5 = function(e, r, i) {
16051
16051
  return d5.withParams({
16052
16052
  type: "schemaPropertyNames",
16053
16053
  propertyNames: r,
@@ -17474,7 +17474,7 @@ const Oy = jB.exports, NB = {
17474
17474
  },
17475
17475
  queueWatcherSync(t) {
17476
17476
  return t.synchronous ? this.$el.offsetParent && this.$parent.$refs.watchersSynchronous.show(t.name) : t.show_async_loading && this.$emit("asyncWatcherTriggered"), new Promise((e, r) => {
17477
- const i = Nr.render(t.input_data, this.vdata), a = Nr.render(t.script_configuration, this.vdata);
17477
+ const i = Ir.render(t.input_data, this.vdata), a = Ir.render(t.script_configuration, this.vdata);
17478
17478
  let n = t.script_id;
17479
17479
  if (t.script_key) {
17480
17480
  const s = re.get(this.vdata, "_request.id", null), o = { config: JSON.parse(a), data: this.vdata };
@@ -17792,7 +17792,7 @@ const hc = {
17792
17792
  mustache(t) {
17793
17793
  try {
17794
17794
  const e = this.getDataReference();
17795
- return t && Nr.render(t, e);
17795
+ return t && Ir.render(t, e);
17796
17796
  } catch (e) {
17797
17797
  return "MUSTACHE: " + e.message;
17798
17798
  }
@@ -17918,11 +17918,11 @@ function Ey(t, e) {
17918
17918
  const { toString: pR } = Object.prototype, { getPrototypeOf: Of } = Object, du = ((t) => (e) => {
17919
17919
  const r = pR.call(e);
17920
17920
  return t[r] || (t[r] = r.slice(8, -1).toLowerCase());
17921
- })(/* @__PURE__ */ Object.create(null)), Lr = (t) => (t = t.toLowerCase(), (e) => du(e) === t), fu = (t) => (e) => typeof e === t, { isArray: Ga } = Array, ts = fu("undefined");
17921
+ })(/* @__PURE__ */ Object.create(null)), Fr = (t) => (t = t.toLowerCase(), (e) => du(e) === t), fu = (t) => (e) => typeof e === t, { isArray: Ga } = Array, ts = fu("undefined");
17922
17922
  function hR(t) {
17923
17923
  return t !== null && !ts(t) && t.constructor !== null && !ts(t.constructor) && _t(t.constructor.isBuffer) && t.constructor.isBuffer(t);
17924
17924
  }
17925
- const jy = Lr("ArrayBuffer");
17925
+ const jy = Fr("ArrayBuffer");
17926
17926
  function mR(t) {
17927
17927
  let e;
17928
17928
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && jy(t.buffer), e;
@@ -17932,11 +17932,11 @@ const vR = fu("string"), _t = fu("function"), Ny = fu("number"), pu = (t) => t !
17932
17932
  return !1;
17933
17933
  const e = Of(t);
17934
17934
  return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
17935
- }, bR = Lr("Date"), yR = Lr("File"), xR = Lr("Blob"), wR = Lr("FileList"), PR = (t) => pu(t) && _t(t.pipe), SR = (t) => {
17935
+ }, bR = Fr("Date"), yR = Fr("File"), xR = Fr("Blob"), wR = Fr("FileList"), PR = (t) => pu(t) && _t(t.pipe), SR = (t) => {
17936
17936
  let e;
17937
17937
  return t && (typeof FormData == "function" && t instanceof FormData || _t(t.append) && ((e = du(t)) === "formdata" || // detect form-data instance
17938
17938
  e === "object" && _t(t.toString) && t.toString() === "[object FormData]"));
17939
- }, CR = Lr("URLSearchParams"), kR = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
17939
+ }, CR = Fr("URLSearchParams"), kR = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
17940
17940
  function Ts(t, e, { allOwnKeys: r = !1 } = {}) {
17941
17941
  if (t === null || typeof t > "u")
17942
17942
  return;
@@ -18016,12 +18016,12 @@ const TR = (t, e, r, { allOwnKeys: i } = {}) => (Ts(e, (a, n) => {
18016
18016
  for (; (r = t.exec(e)) !== null; )
18017
18017
  i.push(r);
18018
18018
  return i;
18019
- }, IR = Lr("HTMLFormElement"), LR = (t) => t.toLowerCase().replace(
18019
+ }, IR = Fr("HTMLFormElement"), LR = (t) => t.toLowerCase().replace(
18020
18020
  /[-_\s]([a-z\d])(\w*)/g,
18021
18021
  function(r, i, a) {
18022
18022
  return i.toUpperCase() + a;
18023
18023
  }
18024
- ), Dm = (({ hasOwnProperty: t }) => (e, r) => t.call(e, r))(Object.prototype), FR = Lr("RegExp"), By = (t, e) => {
18024
+ ), Dm = (({ hasOwnProperty: t }) => (e, r) => t.call(e, r))(Object.prototype), FR = Fr("RegExp"), By = (t, e) => {
18025
18025
  const r = Object.getOwnPropertyDescriptors(t), i = {};
18026
18026
  Ts(r, (a, n) => {
18027
18027
  let s;
@@ -18081,7 +18081,7 @@ const XR = (t) => {
18081
18081
  return i;
18082
18082
  };
18083
18083
  return r(t, 0);
18084
- }, JR = Lr("AsyncFunction"), UR = (t) => t && (pu(t) || _t(t)) && _t(t.then) && _t(t.catch), K = {
18084
+ }, JR = Fr("AsyncFunction"), UR = (t) => t && (pu(t) || _t(t)) && _t(t.then) && _t(t.catch), K = {
18085
18085
  isArray: Ga,
18086
18086
  isArrayBuffer: jy,
18087
18087
  isBuffer: hR,
@@ -18110,7 +18110,7 @@ const XR = (t) => {
18110
18110
  inherits: DR,
18111
18111
  toFlatObject: AR,
18112
18112
  kindOf: du,
18113
- kindOfTest: Lr,
18113
+ kindOfTest: Fr,
18114
18114
  endsWith: OR,
18115
18115
  toArray: zR,
18116
18116
  forEachEntry: jR,
@@ -18380,14 +18380,14 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
18380
18380
  hasBrowserEnv: Jy,
18381
18381
  hasStandardBrowserEnv: rH,
18382
18382
  hasStandardBrowserWebWorkerEnv: iH
18383
- }, Symbol.toStringTag, { value: "Module" })), zr = {
18383
+ }, Symbol.toStringTag, { value: "Module" })), Er = {
18384
18384
  ...aH,
18385
18385
  ...tH
18386
18386
  };
18387
18387
  function nH(t, e) {
18388
- return hu(t, new zr.classes.URLSearchParams(), Object.assign({
18388
+ return hu(t, new Er.classes.URLSearchParams(), Object.assign({
18389
18389
  visitor: function(r, i, a, n) {
18390
- return zr.isNode && K.isBuffer(r) ? (this.append(i, r.toString("base64")), !1) : n.defaultVisitor.apply(this, arguments);
18390
+ return Er.isNode && K.isBuffer(r) ? (this.append(i, r.toString("base64")), !1) : n.defaultVisitor.apply(this, arguments);
18391
18391
  }
18392
18392
  }, e));
18393
18393
  }
@@ -18480,8 +18480,8 @@ const jf = {
18480
18480
  maxContentLength: -1,
18481
18481
  maxBodyLength: -1,
18482
18482
  env: {
18483
- FormData: zr.classes.FormData,
18484
- Blob: zr.classes.Blob
18483
+ FormData: Er.classes.FormData,
18484
+ Blob: Er.classes.Blob
18485
18485
  },
18486
18486
  validateStatus: function(e) {
18487
18487
  return e >= 200 && e < 300;
@@ -18707,7 +18707,7 @@ function mH(t, e, r) {
18707
18707
  r
18708
18708
  ));
18709
18709
  }
18710
- const vH = zr.hasStandardBrowserEnv ? (
18710
+ const vH = Er.hasStandardBrowserEnv ? (
18711
18711
  // Standard browser envs support document.cookie
18712
18712
  {
18713
18713
  write(t, e, r, i, a, n) {
@@ -18743,7 +18743,7 @@ function bH(t, e) {
18743
18743
  function Qy(t, e) {
18744
18744
  return t && !gH(e) ? bH(t, e) : e;
18745
18745
  }
18746
- const yH = zr.hasStandardBrowserEnv ? (
18746
+ const yH = Er.hasStandardBrowserEnv ? (
18747
18747
  // Standard browser envs have full support of the APIs needed to test
18748
18748
  // whether the request URL is of the same origin as current location.
18749
18749
  function() {
@@ -18823,7 +18823,7 @@ const PH = typeof XMLHttpRequest < "u", SH = PH && function(t) {
18823
18823
  }
18824
18824
  let c;
18825
18825
  if (K.isFormData(a)) {
18826
- if (zr.hasStandardBrowserEnv || zr.hasStandardBrowserWebWorkerEnv)
18826
+ if (Er.hasStandardBrowserEnv || Er.hasStandardBrowserWebWorkerEnv)
18827
18827
  n.setContentType(!1);
18828
18828
  else if ((c = n.getContentType()) !== !1) {
18829
18829
  const [h, ...y] = c ? c.split(";").map((x) => x.trim()).filter(Boolean) : [];
@@ -18871,7 +18871,7 @@ const PH = typeof XMLHttpRequest < "u", SH = PH && function(t) {
18871
18871
  t,
18872
18872
  d
18873
18873
  )), d = null;
18874
- }, zr.hasStandardBrowserEnv && (o && K.isFunction(o) && (o = o(t)), o || o !== !1 && yH(f))) {
18874
+ }, Er.hasStandardBrowserEnv && (o && K.isFunction(o) && (o = o(t)), o || o !== !1 && yH(f))) {
18875
18875
  const h = t.xsrfHeaderName && t.xsrfCookieName && vH.read(t.xsrfCookieName);
18876
18876
  h && n.set(t.xsrfHeaderName, h);
18877
18877
  }
@@ -18881,7 +18881,7 @@ const PH = typeof XMLHttpRequest < "u", SH = PH && function(t) {
18881
18881
  d && (i(!h || h.type ? new Ms(null, t, d) : h), d.abort(), d = null);
18882
18882
  }, t.cancelToken && t.cancelToken.subscribe(u), t.signal && (t.signal.aborted ? u() : t.signal.addEventListener("abort", u)));
18883
18883
  const S = xH(f);
18884
- if (S && zr.protocols.indexOf(S) === -1) {
18884
+ if (S && Er.protocols.indexOf(S) === -1) {
18885
18885
  i(new De("Unsupported protocol " + S + ":", De.ERR_BAD_REQUEST, t));
18886
18886
  return;
18887
18887
  }
@@ -23164,7 +23164,7 @@ const D6 = {
23164
23164
  mustache(t, e) {
23165
23165
  const r = re.get(e, t);
23166
23166
  try {
23167
- return t.indexOf("{{") > -1 ? Nr.render(t, e) : r;
23167
+ return t.indexOf("{{") > -1 ? Ir.render(t, e) : r;
23168
23168
  } catch {
23169
23169
  return r;
23170
23170
  }
@@ -23246,7 +23246,7 @@ const z6 = {
23246
23246
  return {};
23247
23247
  let t = "";
23248
23248
  try {
23249
- t = Nr.render(this.tooltip.content || "", this.transientData);
23249
+ t = Ir.render(this.tooltip.content || "", this.transientData);
23250
23250
  } catch {
23251
23251
  }
23252
23252
  return {
@@ -28383,7 +28383,7 @@ function pq(t, e) {
28383
28383
  } while (t = e(i));
28384
28384
  return i;
28385
28385
  }
28386
- function Br(t) {
28386
+ function Rr(t) {
28387
28387
  return function(e, r, i) {
28388
28388
  if (e === null || e.type !== pe.Dimension)
28389
28389
  return 0;
@@ -28461,15 +28461,15 @@ var gq = {
28461
28461
  "declaration-value": fq,
28462
28462
  "any-value": pq,
28463
28463
  // dimensions
28464
- dimension: Yt(Br(null)),
28465
- angle: Yt(Br(eq)),
28466
- decibel: Yt(Br(nq)),
28467
- frequency: Yt(Br(rq)),
28468
- flex: Yt(Br(aq)),
28469
- length: Yt(uv(Br($V))),
28470
- resolution: Yt(Br(iq)),
28471
- semitones: Yt(Br(sq)),
28472
- time: Yt(Br(tq)),
28464
+ dimension: Yt(Rr(null)),
28465
+ angle: Yt(Rr(eq)),
28466
+ decibel: Yt(Rr(nq)),
28467
+ frequency: Yt(Rr(rq)),
28468
+ flex: Yt(Rr(aq)),
28469
+ length: Yt(uv(Rr($V))),
28470
+ resolution: Yt(Rr(iq)),
28471
+ semitones: Yt(Rr(sq)),
28472
+ time: Yt(Rr(tq)),
28473
28473
  // percentage
28474
28474
  percentage: Yt(hq),
28475
28475
  // numeric
@@ -28794,7 +28794,7 @@ var _x = function(t, e, r) {
28794
28794
  if (typeof e == "function" ? a = e : e && (a = gv(e.enter), n = gv(e.leave)), a === Ln && n === Ln)
28795
28795
  throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");
28796
28796
  i(t);
28797
- }, Xq = le, Jq = xu, Rr = new Jq(), Uq = {
28797
+ }, Xq = le, Jq = xu, Hr = new Jq(), Uq = {
28798
28798
  decorator: function(t) {
28799
28799
  var e = null, r = { len: 0, node: null }, i = [r], a = "";
28800
28800
  return {
@@ -28817,19 +28817,19 @@ var _x = function(t, e, r) {
28817
28817
  };
28818
28818
  function $x(t, e) {
28819
28819
  var r = [], i = 0, a = 0, n = e ? e[a].node : null;
28820
- for (Xq(t, Rr); !Rr.eof; ) {
28820
+ for (Xq(t, Hr); !Hr.eof; ) {
28821
28821
  if (e)
28822
- for (; a < e.length && i + e[a].len <= Rr.tokenStart; )
28822
+ for (; a < e.length && i + e[a].len <= Hr.tokenStart; )
28823
28823
  i += e[a++].len, n = e[a].node;
28824
28824
  r.push({
28825
- type: Rr.tokenType,
28826
- value: Rr.getTokenValue(),
28827
- index: Rr.tokenIndex,
28825
+ type: Hr.tokenType,
28826
+ value: Hr.getTokenValue(),
28827
+ index: Hr.tokenIndex,
28828
28828
  // TODO: remove it, temporary solution
28829
- balance: Rr.balance[Rr.tokenIndex],
28829
+ balance: Hr.balance[Hr.tokenIndex],
28830
28830
  // TODO: remove it, temporary solution
28831
28831
  node: n
28832
- }), Rr.next();
28832
+ }), Hr.next();
28833
28833
  }
28834
28834
  return r;
28835
28835
  }
@@ -42054,10 +42054,10 @@ var $J = {
42054
42054
  types: Rd(ZJ, Fc.syntaxes),
42055
42055
  atrules: _J(KJ(QJ), Fc.atrules),
42056
42056
  properties: Rd(YJ, Fc.properties)
42057
- }, Sw = le.cmpChar, Cw = le.isDigit, As = le.TYPE, Xv = As.WhiteSpace, Jv = As.Comment, Bc = As.Ident, Wr = As.Number, eU = As.Dimension, Or = 43, Ht = 45, Co = 110, Ni = !0, tU = !1;
42057
+ }, Sw = le.cmpChar, Cw = le.isDigit, As = le.TYPE, Xv = As.WhiteSpace, Jv = As.Comment, Bc = As.Ident, Wr = As.Number, eU = As.Dimension, zr = 43, Ht = 45, Co = 110, Ni = !0, tU = !1;
42058
42058
  function ko(t, e) {
42059
42059
  var r = this.scanner.tokenStart + t, i = this.scanner.source.charCodeAt(r);
42060
- for ((i === Or || i === Ht) && (e && this.error("Number sign is not allowed"), r++); r < this.scanner.tokenEnd; r++)
42060
+ for ((i === zr || i === Ht) && (e && this.error("Number sign is not allowed"), r++); r < this.scanner.tokenEnd; r++)
42061
42061
  Cw(this.scanner.source.charCodeAt(r)) || this.error("Integer is expected", r);
42062
42062
  }
42063
42063
  function ya(t) {
@@ -42081,15 +42081,15 @@ function Rc() {
42081
42081
  for (var t = 0, e = 0, r = this.scanner.tokenType; r === Xv || r === Jv; )
42082
42082
  r = this.scanner.lookupType(++t);
42083
42083
  if (r !== Wr)
42084
- if (this.scanner.isDelim(Or, t) || this.scanner.isDelim(Ht, t)) {
42085
- e = this.scanner.isDelim(Or, t) ? Or : Ht;
42084
+ if (this.scanner.isDelim(zr, t) || this.scanner.isDelim(Ht, t)) {
42085
+ e = this.scanner.isDelim(zr, t) ? zr : Ht;
42086
42086
  do
42087
42087
  r = this.scanner.lookupType(++t);
42088
42088
  while (r === Xv || r === Jv);
42089
42089
  r !== Wr && (this.scanner.skip(t), ya.call(this, Ni));
42090
42090
  } else
42091
42091
  return null;
42092
- return t > 0 && this.scanner.skip(t), e === 0 && (r = this.scanner.source.charCodeAt(this.scanner.tokenStart), r !== Or && r !== Ht && this.error("Number sign is expected")), ya.call(this, e !== 0), e === Ht ? "-" + this.consume(Wr) : this.consume(Wr);
42092
+ return t > 0 && this.scanner.skip(t), e === 0 && (r = this.scanner.source.charCodeAt(this.scanner.tokenStart), r !== zr && r !== Ht && this.error("Number sign is expected")), ya.call(this, e !== 0), e === Ht ? "-" + this.consume(Wr) : this.consume(Wr);
42093
42093
  }
42094
42094
  var rU = {
42095
42095
  name: "AnPlusB",
@@ -42112,9 +42112,9 @@ var rU = {
42112
42112
  default:
42113
42113
  si.call(this, 2, Ht), ko.call(this, 3, Ni), this.scanner.next(), r = this.scanner.substrToCursor(t + 2);
42114
42114
  }
42115
- else if (this.scanner.tokenType === Bc || this.scanner.isDelim(Or) && this.scanner.lookupType(1) === Bc) {
42115
+ else if (this.scanner.tokenType === Bc || this.scanner.isDelim(zr) && this.scanner.lookupType(1) === Bc) {
42116
42116
  var i = 0;
42117
- switch (e = "1", this.scanner.isDelim(Or) && (i = 1, this.scanner.next()), si.call(this, 0, Co), this.scanner.getTokenLength()) {
42117
+ switch (e = "1", this.scanner.isDelim(zr) && (i = 1, this.scanner.next()), si.call(this, 0, Co), this.scanner.getTokenLength()) {
42118
42118
  case 1:
42119
42119
  this.scanner.next(), r = Rc.call(this);
42120
42120
  break;
@@ -42125,12 +42125,12 @@ var rU = {
42125
42125
  si.call(this, 1, Ht), ko.call(this, 2, Ni), this.scanner.next(), r = this.scanner.substrToCursor(t + i + 1);
42126
42126
  }
42127
42127
  } else if (this.scanner.tokenType === eU) {
42128
- for (var a = this.scanner.source.charCodeAt(this.scanner.tokenStart), i = a === Or || a === Ht, n = this.scanner.tokenStart + i; n < this.scanner.tokenEnd && Cw(this.scanner.source.charCodeAt(n)); n++)
42128
+ for (var a = this.scanner.source.charCodeAt(this.scanner.tokenStart), i = a === zr || a === Ht, n = this.scanner.tokenStart + i; n < this.scanner.tokenEnd && Cw(this.scanner.source.charCodeAt(n)); n++)
42129
42129
  ;
42130
42130
  n === this.scanner.tokenStart + i && this.error("Integer is expected", this.scanner.tokenStart + i), si.call(this, n - this.scanner.tokenStart, Co), e = this.scanner.source.substring(t, n), n + 1 === this.scanner.tokenEnd ? (this.scanner.next(), r = Rc.call(this)) : (si.call(this, n - this.scanner.tokenStart + 1, Ht), n + 2 === this.scanner.tokenEnd ? (this.scanner.next(), this.scanner.skipSC(), ya.call(this, Ni), r = "-" + this.consume(Wr)) : (ko.call(this, n - this.scanner.tokenStart + 2, Ni), this.scanner.next(), r = this.scanner.substrToCursor(n + 1)));
42131
42131
  } else
42132
42132
  this.error();
42133
- return e !== null && e.charCodeAt(0) === Or && (e = e.substr(1)), r !== null && r.charCodeAt(0) === Or && (r = r.substr(1)), {
42133
+ return e !== null && e.charCodeAt(0) === zr && (e = e.substr(1)), r !== null && r.charCodeAt(0) === zr && (r = r.substr(1)), {
42134
42134
  type: "AnPlusB",
42135
42135
  loc: this.getLocation(t, this.scanner.tokenStart),
42136
42136
  a: e,
@@ -44595,7 +44595,7 @@ Wt.register(
44595
44595
  Wt.register(
44596
44596
  "after",
44597
44597
  function(t, e) {
44598
- const r = jr(t).toISOString(), i = jr(e).toISOString();
44598
+ const r = Nr(t).toISOString(), i = Nr(e).toISOString();
44599
44599
  return r > i;
44600
44600
  },
44601
44601
  "The :attribute must be after :after."
@@ -44603,7 +44603,7 @@ Wt.register(
44603
44603
  Wt.register(
44604
44604
  "after_or_equal",
44605
44605
  function(t, e) {
44606
- const r = jr(t).toISOString(), i = jr(e).toISOString();
44606
+ const r = Nr(t).toISOString(), i = Nr(e).toISOString();
44607
44607
  return r >= i;
44608
44608
  },
44609
44609
  "The :attribute must be equal or after :after_or_equal."
@@ -44611,7 +44611,7 @@ Wt.register(
44611
44611
  Wt.register(
44612
44612
  "before",
44613
44613
  function(t, e) {
44614
- const r = jr(t).toISOString(), i = jr(e).toISOString();
44614
+ const r = Nr(t).toISOString(), i = Nr(e).toISOString();
44615
44615
  return r < i;
44616
44616
  },
44617
44617
  "The :attribute must be before :before."
@@ -44619,7 +44619,7 @@ Wt.register(
44619
44619
  Wt.register(
44620
44620
  "before_or_equal",
44621
44621
  function(t, e) {
44622
- const r = jr(t).toISOString(), i = jr(e).toISOString();
44622
+ const r = Nr(t).toISOString(), i = Nr(e).toISOString();
44623
44623
  return r <= i;
44624
44624
  },
44625
44625
  "The :attribute must be equal or before :before_or_equal."
@@ -44631,7 +44631,7 @@ Wt.register(
44631
44631
  return typeof window.ProcessMaker < "u" && window.ProcessMaker.user && window.ProcessMaker.user.datetime_format && (e = window.ProcessMaker.user.datetime_format.replace(
44632
44632
  /[\sHh:msaAzZ]/g,
44633
44633
  ""
44634
- )), jr(t, [e, jr.ISO_8601], !0).isValid();
44634
+ )), Nr(t, [e, Nr.ISO_8601], !0).isValid();
44635
44635
  },
44636
44636
  "The :attribute must be a valid date."
44637
44637
  );
@@ -45137,7 +45137,7 @@ const ea = pK.exports, hK = {
45137
45137
  }
45138
45138
  let { times: t } = this.config.settings;
45139
45139
  try {
45140
- t = Nr.render(t, this.transientData);
45140
+ t = Ir.render(t, this.transientData);
45141
45141
  } catch (e) {
45142
45142
  throw new Error(e);
45143
45143
  }
@@ -45859,7 +45859,7 @@ const jK = EK.exports, NK = {
45859
45859
  if (!this.validationData)
45860
45860
  return this.label;
45861
45861
  try {
45862
- return Nr.render(this.label, this.validationData);
45862
+ return Ir.render(this.label, this.validationData);
45863
45863
  } catch {
45864
45864
  return this.label;
45865
45865
  }
@@ -51342,8 +51342,8 @@ var dre = function() {
51342
51342
  null
51343
51343
  );
51344
51344
  const hre = pre.exports;
51345
- const Vr = typeof window > "u" ? global : window;
51346
- Vr.ProcessMaker && Vr.ProcessMaker.user && Vr.ProcessMaker.user.lang && typeof Vr.ProcessMaker.setValidatorLanguage == "function" && Vr.ProcessMaker.setValidatorLanguage(Wt, Vr.ProcessMaker.user.lang);
51345
+ const Or = typeof window > "u" ? global : window;
51346
+ Or.ProcessMaker && Or.ProcessMaker.user && Or.ProcessMaker.user.lang && typeof Or.ProcessMaker.setValidatorLanguage == "function" && Or.ProcessMaker.setValidatorLanguage(Wt, Or.ProcessMaker.user.lang);
51347
51347
  Wt.register(
51348
51348
  "columns-adds-to-12",
51349
51349
  (t) => t.reduce((r, i) => r + parseInt(i.content), 0) === 12,
@@ -51612,13 +51612,13 @@ const mre = [
51612
51612
  },
51613
51613
  checkForCaptcha(t, e = !1, r = null) {
51614
51614
  t.forEach((i) => {
51615
- if (!i.items && i.component === "Captcha" && e && (r && r.config.screen ? (this.$root.$emit("remove-nested", r.config.screen), r.config.screen = null, Vr.ProcessMaker.alert(
51615
+ if (!i.items && i.component === "Captcha" && e && (r && r.config.screen ? (this.$root.$emit("remove-nested", r.config.screen), r.config.screen = null, Or.ProcessMaker.alert(
51616
51616
  this.$t(
51617
51617
  // eslint-disable-next-line max-len
51618
51618
  "You are trying to place a nested screen within CAPTCHA elements inside a loop. CAPTCHA controls cannot be placed within a Loop control."
51619
51619
  ),
51620
51620
  "danger"
51621
- )) : (t.splice(t.indexOf(i), 1), Vr.ProcessMaker.alert(
51621
+ )) : (t.splice(t.indexOf(i), 1), Or.ProcessMaker.alert(
51622
51622
  this.$t(
51623
51623
  "CAPTCHA controls cannot be placed within a Loop control."
51624
51624
  ),
@@ -51831,11 +51831,15 @@ const mre = [
51831
51831
  );
51832
51832
  return t > this.pageDelete ? t - 1 : t;
51833
51833
  },
51834
+ // This function is used to calculate the new index of the references FormRecordList
51835
+ calcNewIndexForFormRecordList(t, e) {
51836
+ return t > this.pageDelete ? t - 1 : t;
51837
+ },
51834
51838
  // Update Record list references
51835
51839
  updateRecordListReferences() {
51836
51840
  this.config.forEach((t) => {
51837
51841
  t.items.forEach((e) => {
51838
- e.component === "FormRecordList" && (e.config.form = this.calcNewIndexFor(
51842
+ e.component === "FormRecordList" && this.isValidInteger(e.config.form) && (e.config.form = this.calcNewIndexForFormRecordList(
51839
51843
  e.config.form * 1,
51840
51844
  e.config.label
51841
51845
  ));
@@ -51855,17 +51859,37 @@ const mre = [
51855
51859
  },
51856
51860
  async deletePage() {
51857
51861
  const t = re.cloneDeep(this.config);
51858
- try {
51859
- this.updateRecordListReferences(), this.updateNavigationButtonsReferences(), this.$refs.tabsBar.closePageByIndex(this.pageDelete), this.$refs.tabsBar.updateTabsReferences(this.pageDelete), await this.$nextTick(), this.config.splice(this.pageDelete, 1);
51860
- } catch (e) {
51861
- this.config = t, Vr.ProcessMaker.alert(e.message, "danger");
51862
- return;
51862
+ if (this.isNotReferenceToRecordForm()) {
51863
+ try {
51864
+ this.updateRecordListReferences(), this.updateNavigationButtonsReferences(), this.$refs.tabsBar.closePageByIndex(this.pageDelete), this.$refs.tabsBar.updateTabsReferences(this.pageDelete), await this.$nextTick(), this.config.splice(this.pageDelete, 1);
51865
+ } catch (e) {
51866
+ this.config = t, Or.ProcessMaker.alert(e.message, "danger");
51867
+ return;
51868
+ }
51869
+ this.updatePageOrder(this.config), this.$store.dispatch("undoRedoModule/pushState", {
51870
+ config: JSON.stringify(this.config),
51871
+ currentPage: this.currentPage,
51872
+ deletedPage: !0
51873
+ }), this.$store.dispatch("clipboardModule/pushState", this.clipboardPage.items);
51863
51874
  }
51864
- this.updatePageOrder(this.config), this.$store.dispatch("undoRedoModule/pushState", {
51865
- config: JSON.stringify(this.config),
51866
- currentPage: this.currentPage,
51867
- deletedPage: !0
51868
- }), this.$store.dispatch("clipboardModule/pushState", this.clipboardPage.items);
51875
+ },
51876
+ isNotReferenceToRecordForm() {
51877
+ for (let t of this.config)
51878
+ for (let e of t.items)
51879
+ if (e.component === "FormRecordList" && this.isValidInteger(e.config.form) && Number(e.config.form) === this.pageDelete) {
51880
+ const r = e.config.label, i = `${this.$t("Can not delete this page, it is referenced by")}: ${r}`;
51881
+ return Or.ProcessMaker.alert(i, "danger"), !1;
51882
+ }
51883
+ return !0;
51884
+ },
51885
+ isValidInteger(t) {
51886
+ if (typeof t == "boolean" || t === null || t === void 0)
51887
+ return !1;
51888
+ const e = String(t).trim();
51889
+ if (e === "")
51890
+ return !1;
51891
+ const r = Number(e);
51892
+ return Number.isInteger(r);
51869
51893
  },
51870
51894
  inspect(t = {}) {
51871
51895
  this.closeTemplatesPanel(), this.inspection = t, this.selected = t;
@@ -52083,7 +52107,7 @@ var yre = function() {
52083
52107
  xre,
52084
52108
  !1,
52085
52109
  null,
52086
- "005f6612",
52110
+ "b4701f18",
52087
52111
  null,
52088
52112
  null
52089
52113
  );
@@ -52376,6 +52400,7 @@ const Ire = Iu(Ere), hae = Iu(jre), mae = Iu([zre]), Lre = Iu([uP, lP]), Fre = N
52376
52400
  allowMultiSelect: !1,
52377
52401
  selectedOptions: [],
52378
52402
  optionsList: [],
52403
+ optionsListExtra: [],
52379
52404
  key: "value",
52380
52405
  value: "content",
52381
52406
  ariaLabel: "ariaLabel",
@@ -53510,7 +53535,9 @@ const Xre = () => new Promise((t) => {
53510
53535
  return t.config !== void 0 && (t.config.disabled = !0), t.items !== void 0 && this.disableForm(t.items), t;
53511
53536
  },
53512
53537
  showSimpleErrorMessage() {
53513
- this.renderComponent = "simpleErrorMessage";
53538
+ this.renderComponent = null, setTimeout(() => {
53539
+ this.renderComponent = "simpleErrorMessage";
53540
+ }, 0);
53514
53541
  },
53515
53542
  loadScreen(t) {
53516
53543
  this.disabled = !0;
@@ -54032,7 +54059,7 @@ var Ure = function() {
54032
54059
  Gre,
54033
54060
  !1,
54034
54061
  null,
54035
- "7374c2d0",
54062
+ "8cad2101",
54036
54063
  null,
54037
54064
  null
54038
54065
  );