@qikdev/vue-ui 0.2.66 → 0.2.68

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/lib.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import './style.css';
2
- import { defineComponent as ki, ref as Kt, toRefs as la, onMounted as oa, onBeforeUnmount as wo, watch as xi, computed as ai, openBlock as o, createElementBlock as d, renderSlot as G, createCommentVNode as _, useSlots as So, reactive as kr, provide as Dr, resolveComponent as y, normalizeClass as P, Fragment as S, unref as jn, createBlock as k, withCtx as h, createVNode as m, renderList as N, toDisplayString as b, withModifiers as W, createTextVNode as O, createElementVNode as w, h as li, resolveDynamicComponent as Dt, mergeProps as wi, toHandlers as ua, withDirectives as X, vModelSelect as xt, pushScopeId as st, popScopeId as at, normalizeStyle as wt, Teleport as Oo, vModelText as ge, withKeys as ve, TransitionGroup as To, nextTick as da, vModelDynamic as Rn, vShow as qi } from "vue";
2
+ import { defineComponent as ki, ref as Kt, toRefs as la, onMounted as oa, onBeforeUnmount as wo, watch as xi, computed as ai, openBlock as o, createElementBlock as d, renderSlot as G, createCommentVNode as _, useSlots as So, reactive as kr, provide as Fr, resolveComponent as y, normalizeClass as P, Fragment as S, unref as jn, createBlock as k, withCtx as h, createVNode as m, renderList as N, toDisplayString as b, withModifiers as W, createTextVNode as O, createElementVNode as w, h as li, resolveDynamicComponent as Ft, mergeProps as wi, toHandlers as ua, withDirectives as X, vModelSelect as xt, pushScopeId as st, popScopeId as at, normalizeStyle as wt, Teleport as Oo, vModelText as ge, withKeys as ve, TransitionGroup as To, nextTick as da, vModelDynamic as Rn, vShow as qi } from "vue";
3
3
  import { EventDispatcher as Eo } from "@qikdev/sdk";
4
- const Co = "0.2.66", lr = {
4
+ const Co = "0.2.68", lr = {
5
5
  STRIPE_NOT_LOADED: "Stripe v3 library is not loaded",
6
6
  INSTANCE_NOT_DEFINED: "Instance object is not defined. Make sure you initialized Stripe before creating elements",
7
7
  ELEMENTS_NOT_DEFINED: "Elements object is not defined. You can't create stripe element without it",
@@ -91,11 +91,11 @@ const Io = ki({
91
91
  mountPoint: s
92
92
  };
93
93
  }
94
- }), Do = { ref: "mountPoint" };
95
- function Fo(e, t, n, i, s, r) {
96
- return o(), d("div", Do, null, 512);
94
+ }), Fo = { ref: "mountPoint" };
95
+ function Do(e, t, n, i, s, r) {
96
+ return o(), d("div", Fo, null, 512);
97
97
  }
98
- var $o = /* @__PURE__ */ ca(Io, [["render", Fo]]);
98
+ var $o = /* @__PURE__ */ ca(Io, [["render", Do]]);
99
99
  const No = ki({
100
100
  name: "StripeElements",
101
101
  props: {
@@ -220,7 +220,7 @@ function Au(e) {
220
220
  var t = typeof e;
221
221
  return e != null && (t == "object" || t == "function");
222
222
  }
223
- var xr = Au, Mu = typeof Bn == "object" && Bn && Bn.Object === Object && Bn, fa = Mu, Iu = fa, Du = typeof self == "object" && self && self.Object === Object && self, Fu = Iu || Du || Function("return this")(), En = Fu, $u = En, Nu = function() {
223
+ var xr = Au, Mu = typeof Bn == "object" && Bn && Bn.Object === Object && Bn, fa = Mu, Iu = fa, Fu = typeof self == "object" && self && self.Object === Object && self, Du = Iu || Fu || Function("return this")(), En = Du, $u = En, Nu = function() {
224
224
  return $u.Date.now();
225
225
  }, Lu = Nu, Pu = /\s/;
226
226
  function Uu(e) {
@@ -275,29 +275,29 @@ function _d(e) {
275
275
  var n = hd.test(e);
276
276
  return n || pd.test(e) ? yd(e.slice(2), n ? 2 : 8) : md.test(e) ? Yi : +e;
277
277
  }
278
- var ha = _d, gd = xr, Fr = Lu, Ji = ha, vd = "Expected a function", bd = Math.max, kd = Math.min;
278
+ var ha = _d, gd = xr, Dr = Lu, Ji = ha, vd = "Expected a function", bd = Math.max, kd = Math.min;
279
279
  function xd(e, t, n) {
280
280
  var i, s, r, a, l, u, c = 0, f = !1, p = !1, g = !0;
281
281
  if (typeof e != "function")
282
282
  throw new TypeError(vd);
283
283
  t = Ji(t) || 0, gd(n) && (f = !!n.leading, p = "maxWait" in n, r = p ? bd(Ji(n.maxWait) || 0, t) : r, g = "trailing" in n ? !!n.trailing : g);
284
284
  function v(B) {
285
- var F = i, se = s;
286
- return i = s = void 0, c = B, a = e.apply(se, F), a;
285
+ var D = i, se = s;
286
+ return i = s = void 0, c = B, a = e.apply(se, D), a;
287
287
  }
288
288
  function x(B) {
289
289
  return c = B, l = setTimeout(q, t), f ? v(B) : a;
290
290
  }
291
291
  function T(B) {
292
- var F = B - u, se = B - c, z = t - F;
292
+ var D = B - u, se = B - c, z = t - D;
293
293
  return p ? kd(z, r - se) : z;
294
294
  }
295
295
  function A(B) {
296
- var F = B - u, se = B - c;
297
- return u === void 0 || F >= t || F < 0 || p && se >= r;
296
+ var D = B - u, se = B - c;
297
+ return u === void 0 || D >= t || D < 0 || p && se >= r;
298
298
  }
299
299
  function q() {
300
- var B = Fr();
300
+ var B = Dr();
301
301
  if (A(B))
302
302
  return Q(B);
303
303
  l = setTimeout(q, T(B));
@@ -309,11 +309,11 @@ function xd(e, t, n) {
309
309
  l !== void 0 && clearTimeout(l), c = 0, i = u = s = l = void 0;
310
310
  }
311
311
  function le() {
312
- return l === void 0 ? a : Q(Fr());
312
+ return l === void 0 ? a : Q(Dr());
313
313
  }
314
314
  function oe() {
315
- var B = Fr(), F = A(B);
316
- if (i = arguments, s = this, u = B, F) {
315
+ var B = Dr(), D = A(B);
316
+ if (i = arguments, s = this, u = B, D) {
317
317
  if (l === void 0)
318
318
  return x(u);
319
319
  if (p)
@@ -334,9 +334,9 @@ const wd = ["onClick"], Sd = ["onClick"], Od = {
334
334
  const t = So(), n = kr({
335
335
  tabs: []
336
336
  });
337
- Dr("tabset", n);
337
+ Fr("tabset", n);
338
338
  const i = Kt();
339
- Dr("activeHeading", i);
339
+ Fr("activeHeading", i);
340
340
  const s = function(u) {
341
341
  i.value = u;
342
342
  }, r = An(function() {
@@ -358,7 +358,7 @@ const wd = ["onClick"], Sd = ["onClick"], Od = {
358
358
  }, {}), p = i.value;
359
359
  (!p || !f[p]) && c.length && (i.value = c[0].heading);
360
360
  });
361
- Dr("rebuild", r);
361
+ Fr("rebuild", r);
362
362
  const a = ai(function() {
363
363
  return n.tabs.map(function(u) {
364
364
  if (u)
@@ -510,12 +510,12 @@ function Cd(e, t, n, i, s, r) {
510
510
  })) : _("", !0);
511
511
  }
512
512
  const Vd = /* @__PURE__ */ E(Ed, [["render", Cd]]);
513
- var Ad = Array.isArray, Mn = Ad, Md = Mn, Id = wr, Dd = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Fd = /^\w*$/;
513
+ var Ad = Array.isArray, Mn = Ad, Md = Mn, Id = wr, Fd = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Dd = /^\w*$/;
514
514
  function $d(e, t) {
515
515
  if (Md(e))
516
516
  return !1;
517
517
  var n = typeof e;
518
- return n == "number" || n == "symbol" || n == "boolean" || e == null || Id(e) ? !0 : Fd.test(e) || !Dd.test(e) || t != null && e in Object(t);
518
+ return n == "number" || n == "symbol" || n == "boolean" || e == null || Id(e) ? !0 : Dd.test(e) || !Fd.test(e) || t != null && e in Object(t);
519
519
  }
520
520
  var Nd = $d, Ld = Cn, Pd = xr, Ud = "[object AsyncFunction]", jd = "[object Function]", Rd = "[object GeneratorFunction]", Bd = "[object Proxy]";
521
521
  function zd(e) {
@@ -586,12 +586,12 @@ function Ic(e) {
586
586
  var t = this.__data__;
587
587
  return Vc ? t[e] !== void 0 : Mc.call(t, e);
588
588
  }
589
- var Dc = Ic, Fc = Sr, $c = "__lodash_hash_undefined__";
589
+ var Fc = Ic, Dc = Sr, $c = "__lodash_hash_undefined__";
590
590
  function Nc(e, t) {
591
591
  var n = this.__data__;
592
- return this.size += this.has(e) ? 0 : 1, n[e] = Fc && t === void 0 ? $c : t, this;
592
+ return this.size += this.has(e) ? 0 : 1, n[e] = Dc && t === void 0 ? $c : t, this;
593
593
  }
594
- var Lc = Nc, Pc = bc, Uc = xc, jc = Cc, Rc = Dc, Bc = Lc;
594
+ var Lc = Nc, Pc = bc, Uc = xc, jc = Cc, Rc = Fc, Bc = Lc;
595
595
  function en(e) {
596
596
  var t = -1, n = e == null ? 0 : e.length;
597
597
  for (this.clear(); ++t < n; ) {
@@ -678,10 +678,10 @@ function Af(e) {
678
678
  return this.size -= t ? 1 : 0, t;
679
679
  }
680
680
  var Mf = Af, If = Tr;
681
- function Df(e) {
681
+ function Ff(e) {
682
682
  return If(this, e).get(e);
683
683
  }
684
- var Ff = Df, $f = Tr;
684
+ var Df = Ff, $f = Tr;
685
685
  function Nf(e) {
686
686
  return $f(this, e).has(e);
687
687
  }
@@ -690,7 +690,7 @@ function Uf(e, t) {
690
690
  var n = Pf(this, e), i = n.size;
691
691
  return n.set(e, t), this.size += n.size == i ? 0 : 1, this;
692
692
  }
693
- var jf = Uf, Rf = Sf, Bf = Mf, zf = Ff, Hf = Lf, qf = jf;
693
+ var jf = Uf, Rf = Sf, Bf = Mf, zf = Df, Hf = Lf, qf = jf;
694
694
  function nn(e) {
695
695
  var t = -1, n = e == null ? 0 : e.length;
696
696
  for (this.clear(); ++t < n; ) {
@@ -848,12 +848,12 @@ const Im = {
848
848
  }
849
849
  }
850
850
  };
851
- function Dm(e, t, n, i, s, r) {
851
+ function Fm(e, t, n, i, s, r) {
852
852
  return o(), d("td", {
853
853
  class: P(["table-currency-cell", { credit: r.credit, empty: r.empty, debit: r.debit }])
854
854
  }, b(r.string), 3);
855
855
  }
856
- const Fm = /* @__PURE__ */ E(Im, [["render", Dm], ["__scopeId", "data-v-c8cb509d"]]);
856
+ const Dm = /* @__PURE__ */ E(Im, [["render", Fm], ["__scopeId", "data-v-c8cb509d"]]);
857
857
  const $m = {
858
858
  data() {
859
859
  return {
@@ -904,33 +904,33 @@ function Lm(e, t, n, i, s, r) {
904
904
  ]);
905
905
  }
906
906
  const Pm = /* @__PURE__ */ E($m, [["render", Lm], ["__scopeId", "data-v-bddd5589"]]);
907
- class Ft extends Error {
907
+ class Dt extends Error {
908
908
  }
909
- class Um extends Ft {
909
+ class Um extends Dt {
910
910
  constructor(t) {
911
911
  super(`Invalid DateTime: ${t.toMessage()}`);
912
912
  }
913
913
  }
914
- class jm extends Ft {
914
+ class jm extends Dt {
915
915
  constructor(t) {
916
916
  super(`Invalid Interval: ${t.toMessage()}`);
917
917
  }
918
918
  }
919
- class Rm extends Ft {
919
+ class Rm extends Dt {
920
920
  constructor(t) {
921
921
  super(`Invalid Duration: ${t.toMessage()}`);
922
922
  }
923
923
  }
924
- class yn extends Ft {
924
+ class yn extends Dt {
925
925
  }
926
- class ba extends Ft {
926
+ class ba extends Dt {
927
927
  constructor(t) {
928
928
  super(`Invalid unit ${t}`);
929
929
  }
930
930
  }
931
- class qe extends Ft {
931
+ class qe extends Dt {
932
932
  }
933
- class yt extends Ft {
933
+ class yt extends Dt {
934
934
  constructor() {
935
935
  super("Zone is an abstract class");
936
936
  }
@@ -1001,14 +1001,14 @@ const I = "numeric", Xe = "short", Re = "long", oi = {
1001
1001
  day: I,
1002
1002
  hour: I,
1003
1003
  minute: I
1004
- }, Da = {
1004
+ }, Fa = {
1005
1005
  year: I,
1006
1006
  month: I,
1007
1007
  day: I,
1008
1008
  hour: I,
1009
1009
  minute: I,
1010
1010
  second: I
1011
- }, Fa = {
1011
+ }, Da = {
1012
1012
  year: I,
1013
1013
  month: Xe,
1014
1014
  day: I,
@@ -1345,10 +1345,10 @@ const lh = {
1345
1345
  TTT: Aa,
1346
1346
  TTTT: Ma,
1347
1347
  f: Ia,
1348
- ff: Fa,
1348
+ ff: Da,
1349
1349
  fff: Na,
1350
1350
  ffff: Pa,
1351
- F: Da,
1351
+ F: Fa,
1352
1352
  FF: $a,
1353
1353
  FFF: La,
1354
1354
  FFFF: Ua
@@ -1558,7 +1558,7 @@ class Je {
1558
1558
  return this.explanation ? `${this.reason}: ${this.explanation}` : this.reason;
1559
1559
  }
1560
1560
  }
1561
- class Dn {
1561
+ class Fn {
1562
1562
  /**
1563
1563
  * The type of zone
1564
1564
  * @abstract
@@ -1634,7 +1634,7 @@ class Dn {
1634
1634
  }
1635
1635
  }
1636
1636
  let Nr = null;
1637
- class Ai extends Dn {
1637
+ class Ai extends Fn {
1638
1638
  /**
1639
1639
  * Get a singleton instance of the local zone
1640
1640
  * @return {SystemZone}
@@ -1711,7 +1711,7 @@ function ch(e, t) {
1711
1711
  return i;
1712
1712
  }
1713
1713
  let zn = {};
1714
- class ut extends Dn {
1714
+ class ut extends Fn {
1715
1715
  /**
1716
1716
  * @param {string} name - Zone name
1717
1717
  * @return {IANAZone}
@@ -1808,13 +1808,13 @@ class ut extends Dn {
1808
1808
  }
1809
1809
  }
1810
1810
  let Lr = null;
1811
- class De extends Dn {
1811
+ class Fe extends Fn {
1812
1812
  /**
1813
1813
  * Get a singleton instance of UTC
1814
1814
  * @return {FixedOffsetZone}
1815
1815
  */
1816
1816
  static get utcInstance() {
1817
- return Lr === null && (Lr = new De(0)), Lr;
1817
+ return Lr === null && (Lr = new Fe(0)), Lr;
1818
1818
  }
1819
1819
  /**
1820
1820
  * Get an instance with a specified offset
@@ -1822,7 +1822,7 @@ class De extends Dn {
1822
1822
  * @return {FixedOffsetZone}
1823
1823
  */
1824
1824
  static instance(t) {
1825
- return t === 0 ? De.utcInstance : new De(t);
1825
+ return t === 0 ? Fe.utcInstance : new Fe(t);
1826
1826
  }
1827
1827
  /**
1828
1828
  * Get an instance of FixedOffsetZone from a UTC offset string, like "UTC+6"
@@ -1836,7 +1836,7 @@ class De extends Dn {
1836
1836
  if (t) {
1837
1837
  const n = t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);
1838
1838
  if (n)
1839
- return new De(Cr(n[1], n[2]));
1839
+ return new Fe(Cr(n[1], n[2]));
1840
1840
  }
1841
1841
  return null;
1842
1842
  }
@@ -1876,7 +1876,7 @@ class De extends Dn {
1876
1876
  return !0;
1877
1877
  }
1878
1878
  }
1879
- class fh extends Dn {
1879
+ class fh extends Fn {
1880
1880
  constructor(t) {
1881
1881
  super(), this.zoneName = t;
1882
1882
  }
@@ -1916,13 +1916,13 @@ class fh extends Dn {
1916
1916
  function vt(e, t) {
1917
1917
  if (Z(e) || e === null)
1918
1918
  return t;
1919
- if (e instanceof Dn)
1919
+ if (e instanceof Fn)
1920
1920
  return e;
1921
1921
  if (Hm(e)) {
1922
1922
  const n = e.toLowerCase();
1923
- return n === "local" || n === "system" ? t : n === "utc" || n === "gmt" ? De.utcInstance : De.parseSpecifier(n) || ut.create(e);
1923
+ return n === "local" || n === "system" ? t : n === "utc" || n === "gmt" ? Fe.utcInstance : Fe.parseSpecifier(n) || ut.create(e);
1924
1924
  } else
1925
- return It(e) ? De.instance(e) : typeof e == "object" && e.offset && typeof e.offset == "number" ? e : new fh(e);
1925
+ return It(e) ? Fe.instance(e) : typeof e == "object" && e.offset && typeof e.offset == "number" ? e : new fh(e);
1926
1926
  }
1927
1927
  let as = () => Date.now(), ls = "system", os = null, us = null, ds = null, cs;
1928
1928
  class _e {
@@ -2301,15 +2301,15 @@ function Nt(e, t) {
2301
2301
  }, null, t + 4];
2302
2302
  }
2303
2303
  function an(e, t) {
2304
- const n = !e[t] && !e[t + 1], i = Cr(e[t + 1], e[t + 2]), s = n ? null : De.instance(i);
2304
+ const n = !e[t] && !e[t + 1], i = Cr(e[t + 1], e[t + 2]), s = n ? null : Fe.instance(i);
2305
2305
  return [{}, s, t + 3];
2306
2306
  }
2307
2307
  function tl(e, t) {
2308
2308
  const n = e[t] ? ut.create(e[t]) : null;
2309
2309
  return [{}, n, t + 1];
2310
2310
  }
2311
- const Ih = RegExp(`^T?${Mi.source}$`), Dh = /^-?P(?:(?:(-?\d{1,9}(?:\.\d{1,9})?)Y)?(?:(-?\d{1,9}(?:\.\d{1,9})?)M)?(?:(-?\d{1,9}(?:\.\d{1,9})?)W)?(?:(-?\d{1,9}(?:\.\d{1,9})?)D)?(?:T(?:(-?\d{1,9}(?:\.\d{1,9})?)H)?(?:(-?\d{1,9}(?:\.\d{1,9})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,9}))?S)?)?)$/;
2312
- function Fh(e) {
2311
+ const Ih = RegExp(`^T?${Mi.source}$`), Fh = /^-?P(?:(?:(-?\d{1,9}(?:\.\d{1,9})?)Y)?(?:(-?\d{1,9}(?:\.\d{1,9})?)M)?(?:(-?\d{1,9}(?:\.\d{1,9})?)W)?(?:(-?\d{1,9}(?:\.\d{1,9})?)D)?(?:T(?:(-?\d{1,9}(?:\.\d{1,9})?)H)?(?:(-?\d{1,9}(?:\.\d{1,9})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,9}))?S)?)?)$/;
2312
+ function Dh(e) {
2313
2313
  const [t, n, i, s, r, a, l, u, c] = e, f = t[0] === "-", p = u && u[0] === "-", g = (v, x = !1) => v !== void 0 && (x || v && f) ? -v : v;
2314
2314
  return [
2315
2315
  {
@@ -2335,7 +2335,7 @@ const $h = {
2335
2335
  PDT: -7 * 60,
2336
2336
  PST: -8 * 60
2337
2337
  };
2338
- function Di(e, t, n, i, s, r, a) {
2338
+ function Fi(e, t, n, i, s, r, a) {
2339
2339
  const l = {
2340
2340
  year: t.length === 2 ? ui(_t(t)) : _t(t),
2341
2341
  month: za.indexOf(n) + 1,
@@ -2360,9 +2360,9 @@ function Lh(e) {
2360
2360
  c,
2361
2361
  f,
2362
2362
  p
2363
- ] = e, g = Di(t, s, i, n, r, a, l);
2363
+ ] = e, g = Fi(t, s, i, n, r, a, l);
2364
2364
  let v;
2365
- return u ? v = $h[u] : c ? v = 0 : v = Cr(f, p), [g, new De(v)];
2365
+ return u ? v = $h[u] : c ? v = 0 : v = Cr(f, p), [g, new Fe(v)];
2366
2366
  }
2367
2367
  function Ph(e) {
2368
2368
  return e.replace(/\([^)]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").trim();
@@ -2370,11 +2370,11 @@ function Ph(e) {
2370
2370
  const Uh = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/, jh = /^(Monday|Tuesday|Wedsday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/, Rh = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;
2371
2371
  function ms(e) {
2372
2372
  const [, t, n, i, s, r, a, l] = e;
2373
- return [Di(t, s, i, n, r, a, l), De.utcInstance];
2373
+ return [Fi(t, s, i, n, r, a, l), Fe.utcInstance];
2374
2374
  }
2375
2375
  function Bh(e) {
2376
2376
  const [, t, n, i, s, r, a, l] = e;
2377
- return [Di(t, l, n, i, s, r, a), De.utcInstance];
2377
+ return [Fi(t, l, n, i, s, r, a), Fe.utcInstance];
2378
2378
  }
2379
2379
  const zh = rn(Oh, Ii), Hh = rn(Th, Ii), qh = rn(Eh, Ii), Gh = rn(Xa), Wh = $t(
2380
2380
  el,
@@ -2410,7 +2410,7 @@ function Qh(e) {
2410
2410
  );
2411
2411
  }
2412
2412
  function ep(e) {
2413
- return sn(e, [Dh, Fh]);
2413
+ return sn(e, [Fh, Dh]);
2414
2414
  }
2415
2415
  const tp = $t(Nt);
2416
2416
  function np(e) {
@@ -3685,7 +3685,7 @@ function yp(e, t, n, i) {
3685
3685
  const f = J.fromObject(r, i);
3686
3686
  return c.length > 0 ? J.fromMillis(u, i).shiftTo(...c).plus(f) : f;
3687
3687
  }
3688
- const Fi = {
3688
+ const Di = {
3689
3689
  arab: "[٠-٩]",
3690
3690
  arabext: "[۰-۹]",
3691
3691
  bali: "[᭐-᭙]",
@@ -3727,14 +3727,14 @@ const Fi = {
3727
3727
  telu: [3174, 3183],
3728
3728
  thai: [3664, 3673],
3729
3729
  tibt: [3872, 3881]
3730
- }, _p = Fi.hanidec.replace(/[\[|\]]/g, "").split("");
3730
+ }, _p = Di.hanidec.replace(/[\[|\]]/g, "").split("");
3731
3731
  function gp(e) {
3732
3732
  let t = parseInt(e, 10);
3733
3733
  if (isNaN(t)) {
3734
3734
  t = "";
3735
3735
  for (let n = 0; n < e.length; n++) {
3736
3736
  const i = e.charCodeAt(n);
3737
- if (e[n].search(Fi.hanidec) !== -1)
3737
+ if (e[n].search(Di.hanidec) !== -1)
3738
3738
  t += _p.indexOf(e[n]);
3739
3739
  else
3740
3740
  for (const s in ps) {
@@ -3747,7 +3747,7 @@ function gp(e) {
3747
3747
  return t;
3748
3748
  }
3749
3749
  function Ke({ numberingSystem: e }, t = "") {
3750
- return new RegExp(`${Fi[e || "latn"]}${t}`);
3750
+ return new RegExp(`${Di[e || "latn"]}${t}`);
3751
3751
  }
3752
3752
  const vp = "missing Intl.DateTimeFormat.formatToParts support";
3753
3753
  function ee(e, t = (n) => n) {
@@ -3985,7 +3985,7 @@ function Cp(e) {
3985
3985
  }
3986
3986
  };
3987
3987
  let n = null, i;
3988
- return Z(e.z) || (n = ut.create(e.z)), Z(e.Z) || (n || (n = new De(e.Z)), i = e.Z), Z(e.q) || (e.M = (e.q - 1) * 3 + 1), Z(e.h) || (e.h < 12 && e.a === 1 ? e.h += 12 : e.h === 12 && e.a === 0 && (e.h = 0)), e.G === 0 && e.y && (e.y = -e.y), Z(e.u) || (e.S = Ei(e.u)), [Object.keys(e).reduce((r, a) => {
3988
+ return Z(e.z) || (n = ut.create(e.z)), Z(e.Z) || (n || (n = new Fe(e.Z)), i = e.Z), Z(e.q) || (e.M = (e.q - 1) * 3 + 1), Z(e.h) || (e.h < 12 && e.a === 1 ? e.h += 12 : e.h === 12 && e.a === 0 && (e.h = 0)), e.G === 0 && e.y && (e.y = -e.y), Z(e.u) || (e.S = Ei(e.u)), [Object.keys(e).reduce((r, a) => {
3989
3989
  const l = t(a);
3990
3990
  return l && (r[l] = e[a]), r;
3991
3991
  }, {}), n, i];
@@ -4063,11 +4063,11 @@ function vs(e) {
4063
4063
  const { year: t, ordinal: n } = e, { month: i, day: s } = cl(t, n);
4064
4064
  return { year: t, month: i, day: s, ...Vr(e) };
4065
4065
  }
4066
- function Dp(e) {
4066
+ function Fp(e) {
4067
4067
  const t = Er(e.weekYear), n = lt(e.weekNumber, 1, dr(e.weekYear)), i = lt(e.weekday, 1, 7);
4068
4068
  return t ? n ? i ? !1 : Ge("weekday", e.weekday) : Ge("week", e.week) : Ge("weekYear", e.weekYear);
4069
4069
  }
4070
- function Fp(e) {
4070
+ function Dp(e) {
4071
4071
  const t = Er(e.year), n = lt(e.ordinal, 1, kn(e.year));
4072
4072
  return t ? n ? !1 : Ge("ordinal", e.ordinal) : Ge("year", e.year);
4073
4073
  }
@@ -4342,7 +4342,7 @@ class R {
4342
4342
  */
4343
4343
  static utc() {
4344
4344
  const [t, n] = Es(arguments), [i, s, r, a, l, u, c] = n;
4345
- return t.zone = De.utcInstance, Os({ year: i, month: s, day: r, hour: a, minute: l, second: u, millisecond: c }, t);
4345
+ return t.zone = Fe.utcInstance, Os({ year: i, month: s, day: r, hour: a, minute: l, second: u, millisecond: c }, t);
4346
4346
  }
4347
4347
  /**
4348
4348
  * Create a DateTime from a JavaScript Date object. Uses the default zone.
@@ -4450,19 +4450,19 @@ class R {
4450
4450
  const z = a[se];
4451
4451
  Z(z) ? q ? a[se] = T[se] : a[se] = A[se] : q = !0;
4452
4452
  }
4453
- const Q = v ? Dp(a) : l ? Fp(a) : fl(a), ne = Q || ml(a);
4453
+ const Q = v ? Fp(a) : l ? Dp(a) : fl(a), ne = Q || ml(a);
4454
4454
  if (ne)
4455
4455
  return R.invalid(ne);
4456
- const le = v ? gs(a) : l ? vs(a) : a, [oe, B] = tr(le, r, i), F = new R({
4456
+ const le = v ? gs(a) : l ? vs(a) : a, [oe, B] = tr(le, r, i), D = new R({
4457
4457
  ts: oe,
4458
4458
  zone: i,
4459
4459
  o: B,
4460
4460
  loc: g
4461
4461
  });
4462
- return a.weekday && f && t.weekday !== F.weekday ? R.invalid(
4462
+ return a.weekday && f && t.weekday !== D.weekday ? R.invalid(
4463
4463
  "mismatched weekday",
4464
- `you can't specify both a weekday of ${a.weekday} and a date of ${F.toISO()}`
4465
- ) : F;
4464
+ `you can't specify both a weekday of ${a.weekday} and a date of ${D.toISO()}`
4465
+ ) : D;
4466
4466
  }
4467
4467
  /**
4468
4468
  * Create a DateTime from an ISO 8601 string
@@ -4909,7 +4909,7 @@ class R {
4909
4909
  * @return {DateTime}
4910
4910
  */
4911
4911
  toUTC(t = 0, n = {}) {
4912
- return this.setZone(De.instance(t), n);
4912
+ return this.setZone(Fe.instance(t), n);
4913
4913
  }
4914
4914
  /**
4915
4915
  * "Set" the DateTime's zone to the host's local zone. Returns a newly-constructed DateTime.
@@ -5579,14 +5579,14 @@ class R {
5579
5579
  * @type {Object}
5580
5580
  */
5581
5581
  static get DATETIME_SHORT_WITH_SECONDS() {
5582
- return Da;
5582
+ return Fa;
5583
5583
  }
5584
5584
  /**
5585
5585
  * {@link DateTime#toLocaleString} format like 'Oct 14, 1983, 9:30 AM'. Only 12-hour if the locale is.
5586
5586
  * @type {Object}
5587
5587
  */
5588
5588
  static get DATETIME_MED() {
5589
- return Fa;
5589
+ return Da;
5590
5590
  }
5591
5591
  /**
5592
5592
  * {@link DateTime#toLocaleString} format like 'Oct 14, 1983, 9:30:33 AM'. Only 12-hour if the locale is.
@@ -5810,22 +5810,22 @@ const $i = { props: { template: String, parent: Object, templateProps: { type: O
5810
5810
  var g = c.components;
5811
5811
  g === void 0 && (g = {});
5812
5812
  var v = { $data: {}, $props: {}, $options: {}, components: {}, computed: {}, methods: {} };
5813
- Object.keys(t).forEach(function(F) {
5814
- l[F] === void 0 && (v.$data[F] = t[F]);
5815
- }), Object.keys(n).forEach(function(F) {
5816
- u[F] === void 0 && (v.$props[F] = n[F]);
5817
- }), Object.keys(a).forEach(function(F) {
5818
- f[F] === void 0 && (v.methods[F] = a[F]);
5819
- }), Object.keys(r).forEach(function(F) {
5820
- p[F] === void 0 && (v.computed[F] = r[F]);
5821
- }), Object.keys(s).forEach(function(F) {
5822
- g[F] === void 0 && (v.components[F] = s[F]);
5813
+ Object.keys(t).forEach(function(D) {
5814
+ l[D] === void 0 && (v.$data[D] = t[D]);
5815
+ }), Object.keys(n).forEach(function(D) {
5816
+ u[D] === void 0 && (v.$props[D] = n[D]);
5817
+ }), Object.keys(a).forEach(function(D) {
5818
+ f[D] === void 0 && (v.methods[D] = a[D]);
5819
+ }), Object.keys(r).forEach(function(D) {
5820
+ p[D] === void 0 && (v.computed[D] = r[D]);
5821
+ }), Object.keys(s).forEach(function(D) {
5822
+ g[D] === void 0 && (v.components[D] = s[D]);
5823
5823
  });
5824
- var x = Object.keys(v.methods || {}), T = Object.keys(v.$data || {}), A = Object.keys(v.$props || {}), q = Object.keys(this.templateProps), Q = T.concat(A).concat(x).concat(q), ne = (oe = e, B = {}, x.forEach(function(F) {
5825
- return Ms(oe, B, F);
5826
- }), B), le = function(F) {
5824
+ var x = Object.keys(v.methods || {}), T = Object.keys(v.$data || {}), A = Object.keys(v.$props || {}), q = Object.keys(this.templateProps), Q = T.concat(A).concat(x).concat(q), ne = (oe = e, B = {}, x.forEach(function(D) {
5825
+ return Ms(oe, B, D);
5826
+ }), B), le = function(D) {
5827
5827
  var se = {};
5828
- return F.forEach(function(z) {
5828
+ return D.forEach(function(z) {
5829
5829
  z && Object.getOwnPropertyNames(z).forEach(function(Ve) {
5830
5830
  return Ms(z, se, Ve);
5831
5831
  });
@@ -5974,7 +5974,7 @@ const fy = {
5974
5974
  t = As;
5975
5975
  break;
5976
5976
  case "currency":
5977
- t = Fm;
5977
+ t = Dm;
5978
5978
  break;
5979
5979
  case "thumbnail":
5980
5980
  t = Mm;
@@ -6031,7 +6031,7 @@ const fy = {
6031
6031
  }, hy = { class: "value" }, py = { class: "value" };
6032
6032
  function yy(e, t, n, i, s, r) {
6033
6033
  const a = y("value-renderer");
6034
- return s.component ? (o(), k(Dt(s.component), {
6034
+ return s.component ? (o(), k(Ft(s.component), {
6035
6035
  key: 0,
6036
6036
  column: n.column,
6037
6037
  row: n.row,
@@ -6828,10 +6828,10 @@ const re = {
6828
6828
  }
6829
6829
  }
6830
6830
  };
6831
- function Dy(e) {
6831
+ function Fy(e) {
6832
6832
  return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
6833
6833
  }
6834
- const Fy = {
6834
+ const Dy = {
6835
6835
  data() {
6836
6836
  return {
6837
6837
  candidate: null
@@ -6865,7 +6865,7 @@ const Fy = {
6865
6865
  },
6866
6866
  cleanOutput(e) {
6867
6867
  var t = this;
6868
- return Dy(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(function(n) {
6868
+ return Fy(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(function(n) {
6869
6869
  return n != null;
6870
6870
  }).map(function(n) {
6871
6871
  return t.getValue(n);
@@ -7061,7 +7061,7 @@ function Qy(e, t, n, i, s, r) {
7061
7061
  ]))
7062
7062
  ], 2);
7063
7063
  }
7064
- const Lt = /* @__PURE__ */ E(Fy, [["render", Qy], ["__scopeId", "data-v-271e784a"]]);
7064
+ const Lt = /* @__PURE__ */ E(Dy, [["render", Qy], ["__scopeId", "data-v-271e784a"]]);
7065
7065
  const e_ = {
7066
7066
  props: {
7067
7067
  total: {
@@ -7268,7 +7268,7 @@ function t_(e, t, n, i, s, r) {
7268
7268
  _: 1
7269
7269
  });
7270
7270
  }
7271
- const vE = /* @__PURE__ */ E(e_, [["render", t_], ["__scopeId", "data-v-f4838c15"]]);
7271
+ const kE = /* @__PURE__ */ E(e_, [["render", t_], ["__scopeId", "data-v-f4838c15"]]);
7272
7272
  const n_ = {
7273
7273
  props: {
7274
7274
  icon: {
@@ -7425,7 +7425,7 @@ const p_ = {
7425
7425
  }, y_ = { class: "ux-btn-text" };
7426
7426
  function __(e, t, n, i, s, r) {
7427
7427
  const a = y("spinner");
7428
- return o(), k(Dt(r.element), {
7428
+ return o(), k(Ft(r.element), {
7429
7429
  active: n.active,
7430
7430
  loading: n.loading,
7431
7431
  to: n.to,
@@ -7564,7 +7564,7 @@ const S_ = {
7564
7564
  }
7565
7565
  };
7566
7566
  function O_(e, t, n, i, s, r) {
7567
- return o(), k(Dt(r.element), {
7567
+ return o(), k(Ft(r.element), {
7568
7568
  onClick: r.clicked,
7569
7569
  to: n.to,
7570
7570
  href: r.actualHref,
@@ -7604,7 +7604,7 @@ const E_ = {
7604
7604
  }
7605
7605
  };
7606
7606
  function C_(e, t, n, i, s, r) {
7607
- return o(), k(Dt(r.element), {
7607
+ return o(), k(Ft(r.element), {
7608
7608
  class: P(["ux-icon fa", r.classes])
7609
7609
  }, null, 8, ["class"]);
7610
7610
  }
@@ -7754,7 +7754,7 @@ function M_(e, t, n, i, s, r) {
7754
7754
  ]))
7755
7755
  ], 2);
7756
7756
  }
7757
- const I_ = /* @__PURE__ */ E(A_, [["render", M_], ["__scopeId", "data-v-db935124"]]), D_ = {
7757
+ const I_ = /* @__PURE__ */ E(A_, [["render", M_], ["__scopeId", "data-v-db935124"]]), F_ = {
7758
7758
  name: "menulist",
7759
7759
  props: {
7760
7760
  items: {
@@ -7784,7 +7784,7 @@ const I_ = /* @__PURE__ */ E(A_, [["render", M_], ["__scopeId", "data-v-db935124
7784
7784
  return {};
7785
7785
  }
7786
7786
  };
7787
- function F_(e, t, n, i, s, r) {
7787
+ function D_(e, t, n, i, s, r) {
7788
7788
  const a = y("ux-link"), l = y("menulist", !0);
7789
7789
  return o(), d("ul", null, [
7790
7790
  (o(!0), d(S, null, N(r.filteredItems, (u) => {
@@ -7831,7 +7831,7 @@ function F_(e, t, n, i, s, r) {
7831
7831
  }), 256))
7832
7832
  ]);
7833
7833
  }
7834
- const $_ = /* @__PURE__ */ E(D_, [["render", F_]]);
7834
+ const $_ = /* @__PURE__ */ E(F_, [["render", D_]]);
7835
7835
  const N_ = {
7836
7836
  props: {
7837
7837
  item: {
@@ -7885,7 +7885,8 @@ const N_ = {
7885
7885
  },
7886
7886
  computed: {
7887
7887
  altText() {
7888
- return this.alt || this.model.title;
7888
+ var e;
7889
+ return this.alt || ((e = this.model) == null ? void 0 : e.title);
7889
7890
  },
7890
7891
  className() {
7891
7892
  var e = [];
@@ -7972,7 +7973,7 @@ function U_(e, t, n, i, s, r) {
7972
7973
  }, null, 12, P_))
7973
7974
  ], 6);
7974
7975
  }
7975
- const j_ = /* @__PURE__ */ E(N_, [["render", U_], ["__scopeId", "data-v-85d2d536"]]);
7976
+ const j_ = /* @__PURE__ */ E(N_, [["render", U_], ["__scopeId", "data-v-089b6795"]]);
7976
7977
  const R_ = {
7977
7978
  props: {
7978
7979
  item: {
@@ -8168,7 +8169,7 @@ const rg = {
8168
8169
  }
8169
8170
  };
8170
8171
  function ig(e, t, n, i, s, r) {
8171
- return o(), k(Dt(r.element), {
8172
+ return o(), k(Ft(r.element), {
8172
8173
  class: "ux-list-item",
8173
8174
  to: n.to,
8174
8175
  href: n.href,
@@ -9011,7 +9012,7 @@ const Cg = {
9011
9012
  }, Ig = {
9012
9013
  key: 2,
9013
9014
  class: "ui-select-button"
9014
- }, Dg = ["multiple"], Fg = {
9015
+ }, Fg = ["multiple"], Dg = {
9015
9016
  key: 0,
9016
9017
  value: ""
9017
9018
  }, $g = ["value"];
@@ -9040,11 +9041,11 @@ function Ng(e, t, n, i, s, r) {
9040
9041
  multiple: e.multiValue,
9041
9042
  "onUpdate:modelValue": t[1] || (t[1] = (l) => e.model = l)
9042
9043
  }, [
9043
- e.singleValue && !e.minimum ? (o(), d("option", Fg, "None")) : _("", !0),
9044
+ e.singleValue && !e.minimum ? (o(), d("option", Dg, "None")) : _("", !0),
9044
9045
  (o(!0), d(S, null, N(r.selectableOptions, (l) => (o(), d("option", {
9045
9046
  value: l.value
9046
9047
  }, b(l.title), 9, $g))), 256))
9047
- ], 40, Dg), [
9048
+ ], 40, Fg), [
9048
9049
  [xt, e.model]
9049
9050
  ])
9050
9051
  ], 2);
@@ -9136,7 +9137,7 @@ const wl = /* @__PURE__ */ E(Pg, [["render", Ug], ["__scopeId", "data-v-923011b3
9136
9137
  * @author owenm <owen23355@gmail.com>
9137
9138
  * @license MIT
9138
9139
  */
9139
- function Ds(e, t) {
9140
+ function Fs(e, t) {
9140
9141
  var n = Object.keys(e);
9141
9142
  if (Object.getOwnPropertySymbols) {
9142
9143
  var i = Object.getOwnPropertySymbols(e);
@@ -9149,9 +9150,9 @@ function Ds(e, t) {
9149
9150
  function it(e) {
9150
9151
  for (var t = 1; t < arguments.length; t++) {
9151
9152
  var n = arguments[t] != null ? arguments[t] : {};
9152
- t % 2 ? Ds(Object(n), !0).forEach(function(i) {
9153
+ t % 2 ? Fs(Object(n), !0).forEach(function(i) {
9153
9154
  jg(e, i, n[i]);
9154
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ds(Object(n)).forEach(function(i) {
9155
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Fs(Object(n)).forEach(function(i) {
9155
9156
  Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(n, i));
9156
9157
  });
9157
9158
  }
@@ -9206,7 +9207,7 @@ function ot(e) {
9206
9207
  if (typeof window < "u" && window.navigator)
9207
9208
  return !!/* @__PURE__ */ navigator.userAgent.match(e);
9208
9209
  }
9209
- var ft = ot(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Fn = ot(/Edge/i), Fs = ot(/firefox/i), xn = ot(/safari/i) && !ot(/chrome/i) && !ot(/android/i), Sl = ot(/iP(ad|od|hone)/i), Hg = ot(/chrome/i) && ot(/android/i), Ol = {
9210
+ var ft = ot(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Dn = ot(/Edge/i), Ds = ot(/firefox/i), xn = ot(/safari/i) && !ot(/chrome/i) && !ot(/android/i), Sl = ot(/iP(ad|od|hone)/i), Hg = ot(/chrome/i) && ot(/android/i), Ol = {
9210
9211
  capture: !1,
9211
9212
  passive: !1
9212
9213
  };
@@ -9538,7 +9539,7 @@ function Xg(e) {
9538
9539
  var t = e.sortable, n = e.rootEl, i = e.name, s = e.targetEl, r = e.cloneEl, a = e.toEl, l = e.fromEl, u = e.oldIndex, c = e.newIndex, f = e.oldDraggableIndex, p = e.newDraggableIndex, g = e.originalEvent, v = e.putSortable, x = e.extraEventProperties;
9539
9540
  if (t = t || n && n[je], !!t) {
9540
9541
  var T, A = t.options, q = "on" + i.charAt(0).toUpperCase() + i.substr(1);
9541
- window.CustomEvent && !ft && !Fn ? T = new CustomEvent(i, {
9542
+ window.CustomEvent && !ft && !Dn ? T = new CustomEvent(i, {
9542
9543
  bubbles: !0,
9543
9544
  cancelable: !0
9544
9545
  }) : (T = document.createEvent("Event"), T.initEvent(i, !0, !0)), T.to = a || n, T.from = l || n, T.item = s || n, T.clone = r, T.oldIndex = u, T.newIndex = c, T.oldDraggableIndex = f, T.newDraggableIndex = p, T.originalEvent = g, T.pullMode = v ? v.lastPutMode : void 0;
@@ -9567,8 +9568,8 @@ var Qg = ["evt"], Ne = function(t, n) {
9567
9568
  oldDraggableIndex: Sn,
9568
9569
  newIndex: Ue,
9569
9570
  newDraggableIndex: gt,
9570
- hideGhostForTarget: Dl,
9571
- unhideGhostForTarget: Fl,
9571
+ hideGhostForTarget: Fl,
9572
+ unhideGhostForTarget: Dl,
9572
9573
  cloneNowHidden: function() {
9573
9574
  bt = !0;
9574
9575
  },
@@ -9596,7 +9597,7 @@ function Ie(e) {
9596
9597
  newDraggableIndex: gt
9597
9598
  }, e));
9598
9599
  }
9599
- var M, fe, H, de, Mt, rr, me, bt, Wt, Ue, Sn, gt, Zn, we, qt = !1, hr = !1, pr = [], Ct, Ye, Gr, Wr, Ps, Us, gn, Ht, On, Tn = !1, Yn = !1, ir, Ce, Kr = [], yi = !1, yr = [], Ar = typeof document < "u", Jn = Sl, js = Fn || ft ? "cssFloat" : "float", ev = Ar && !Hg && !Sl && "draggable" in document.createElement("div"), Al = function() {
9600
+ var M, fe, H, de, Mt, rr, me, bt, Wt, Ue, Sn, gt, Zn, we, qt = !1, hr = !1, pr = [], Ct, Ye, Gr, Wr, Ps, Us, gn, Ht, On, Tn = !1, Yn = !1, ir, Ce, Kr = [], yi = !1, yr = [], Ar = typeof document < "u", Jn = Sl, js = Dn || ft ? "cssFloat" : "float", ev = Ar && !Hg && !Sl && "draggable" in document.createElement("div"), Al = function() {
9600
9601
  if (Ar) {
9601
9602
  if (ft)
9602
9603
  return !1;
@@ -9647,9 +9648,9 @@ var M, fe, H, de, Mt, rr, me, bt, Wt, Ue, Sn, gt, Zn, we, qt = !1, hr = !1, pr =
9647
9648
  (!s || nr(s) != "object") && (s = {
9648
9649
  name: s
9649
9650
  }), i.name = s.name, i.checkPull = n(s.pull, !0), i.checkPut = n(s.put), i.revertClone = s.revertClone, t.group = i;
9650
- }, Dl = function() {
9651
- !Al && H && U(H, "display", "none");
9652
9651
  }, Fl = function() {
9652
+ !Al && H && U(H, "display", "none");
9653
+ }, Dl = function() {
9653
9654
  !Al && H && U(H, "display", "");
9654
9655
  };
9655
9656
  Ar && document.addEventListener("click", function(e) {
@@ -9789,16 +9790,16 @@ j.prototype = /** @lends Sortable.prototype */
9789
9790
  s._onDrop();
9790
9791
  return;
9791
9792
  }
9792
- s._disableDelayedDragEvents(), !Fs && s.nativeDraggable && (M.draggable = !0), s._triggerDragStart(t, n), Ie({
9793
+ s._disableDelayedDragEvents(), !Ds && s.nativeDraggable && (M.draggable = !0), s._triggerDragStart(t, n), Ie({
9793
9794
  sortable: s,
9794
9795
  name: "choose",
9795
9796
  originalEvent: t
9796
9797
  }), Pe(M, a.chosenClass, !0);
9797
9798
  }, a.ignore.split(",").forEach(function(f) {
9798
9799
  Tl(M, f.trim(), Zr);
9799
- }), te(l, "dragover", Vt), te(l, "mousemove", Vt), te(l, "touchmove", Vt), te(l, "mouseup", s._onDrop), te(l, "touchend", s._onDrop), te(l, "touchcancel", s._onDrop), Fs && this.nativeDraggable && (this.options.touchStartThreshold = 4, M.draggable = !0), Ne("delayStart", this, {
9800
+ }), te(l, "dragover", Vt), te(l, "mousemove", Vt), te(l, "touchmove", Vt), te(l, "mouseup", s._onDrop), te(l, "touchend", s._onDrop), te(l, "touchcancel", s._onDrop), Ds && this.nativeDraggable && (this.options.touchStartThreshold = 4, M.draggable = !0), Ne("delayStart", this, {
9800
9801
  evt: t
9801
- }), a.delay && (!a.delayOnTouchOnly || n) && (!this.nativeDraggable || !(Fn || ft))) {
9802
+ }), a.delay && (!a.delayOnTouchOnly || n) && (!this.nativeDraggable || !(Dn || ft))) {
9802
9803
  if (j.eventCanceled) {
9803
9804
  this._onDrop();
9804
9805
  return;
@@ -9844,7 +9845,7 @@ j.prototype = /** @lends Sortable.prototype */
9844
9845
  },
9845
9846
  _emulateDragOver: function() {
9846
9847
  if (Ye) {
9847
- this._lastX = Ye.clientX, this._lastY = Ye.clientY, Dl();
9848
+ this._lastX = Ye.clientX, this._lastY = Ye.clientY, Fl();
9848
9849
  for (var t = document.elementFromPoint(Ye.clientX, Ye.clientY), n = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(Ye.clientX, Ye.clientY), t !== n); )
9849
9850
  n = t;
9850
9851
  if (M.parentNode[je]._isOutsideThisEl(t), n)
@@ -9861,7 +9862,7 @@ j.prototype = /** @lends Sortable.prototype */
9861
9862
  }
9862
9863
  t = n;
9863
9864
  } while (n = n.parentNode);
9864
- Fl();
9865
+ Dl();
9865
9866
  }
9866
9867
  },
9867
9868
  _onTouchMove: function(t) {
@@ -9918,7 +9919,7 @@ j.prototype = /** @lends Sortable.prototype */
9918
9919
  var n = this.el, i = t.target, s, r, a, l = this.options, u = l.group, c = j.active, f = Zn === u, p = l.sort, g = we || c, v, x = this, T = !1;
9919
9920
  if (yi)
9920
9921
  return;
9921
- function A(Qe, D) {
9922
+ function A(Qe, F) {
9922
9923
  Ne(Qe, x, it({
9923
9924
  evt: t,
9924
9925
  isOwner: f,
@@ -9934,7 +9935,7 @@ j.prototype = /** @lends Sortable.prototype */
9934
9935
  return Xn(de, n, M, s, ht, be(ht), t, ln);
9935
9936
  },
9936
9937
  changed: ne
9937
- }, D));
9938
+ }, F));
9938
9939
  }
9939
9940
  function q() {
9940
9941
  A("dragOverAnimationCapture"), x.captureAnimationState(), x !== g && g.captureAnimationState();
@@ -9979,8 +9980,8 @@ j.prototype = /** @lends Sortable.prototype */
9979
9980
  return q(), n.insertBefore(M, oe), fe = n, ne(), Q(!0);
9980
9981
  } else if (i.parentNode === n) {
9981
9982
  r = be(i);
9982
- var B = 0, F, se = M.parentNode !== n, z = !tv(M.animated && M.toRect || s, i.animated && i.toRect || r, v), Ve = v ? "top" : "left", ke = Ns(i, "top", "top") || Ns(M, "top", "top"), xe = ke ? ke.scrollTop : void 0;
9983
- Ht !== i && (F = r[Ve], Tn = !1, Yn = !z && l.invertSwap || se), B = ov(t, i, r, v, z ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Yn, Ht === i);
9983
+ var B = 0, D, se = M.parentNode !== n, z = !tv(M.animated && M.toRect || s, i.animated && i.toRect || r, v), Ve = v ? "top" : "left", ke = Ns(i, "top", "top") || Ns(M, "top", "top"), xe = ke ? ke.scrollTop : void 0;
9984
+ Ht !== i && (D = r[Ve], Tn = !1, Yn = !z && l.invertSwap || se), B = ov(t, i, r, v, z ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Yn, Ht === i);
9984
9985
  var Oe;
9985
9986
  if (B !== 0) {
9986
9987
  var Te = He(M);
@@ -9991,11 +9992,11 @@ j.prototype = /** @lends Sortable.prototype */
9991
9992
  if (B === 0 || Oe === i)
9992
9993
  return Q(!1);
9993
9994
  Ht = i, On = B;
9994
- var Fe = i.nextElementSibling, Ee = !1;
9995
+ var De = i.nextElementSibling, Ee = !1;
9995
9996
  Ee = B === 1;
9996
9997
  var mt = Xn(de, n, M, s, i, r, t, Ee);
9997
9998
  if (mt !== !1)
9998
- return (mt === 1 || mt === -1) && (Ee = mt === 1), yi = !0, setTimeout(sv, 30), q(), Ee && !Fe ? n.appendChild(M) : i.parentNode.insertBefore(M, Ee ? Fe : i), ke && Cl(ke, 0, xe - ke.scrollTop), fe = M.parentNode, F !== void 0 && !Yn && (ir = Math.abs(F - be(i)[Ve])), ne(), Q(!0);
9999
+ return (mt === 1 || mt === -1) && (Ee = mt === 1), yi = !0, setTimeout(sv, 30), q(), Ee && !De ? n.appendChild(M) : i.parentNode.insertBefore(M, Ee ? De : i), ke && Cl(ke, 0, xe - ke.scrollTop), fe = M.parentNode, D !== void 0 && !Yn && (ir = Math.abs(D - be(i)[Ve])), ne(), Q(!0);
9999
10000
  }
10000
10001
  if (n.contains(M))
10001
10002
  return Q(!1);
@@ -10169,7 +10170,7 @@ function iv(e) {
10169
10170
  }
10170
10171
  function Xn(e, t, n, i, s, r, a, l) {
10171
10172
  var u, c = e[je], f = c.options.onMove, p;
10172
- return window.CustomEvent && !ft && !Fn ? u = new CustomEvent("move", {
10173
+ return window.CustomEvent && !ft && !Dn ? u = new CustomEvent("move", {
10173
10174
  bubbles: !0,
10174
10175
  cancelable: !0
10175
10176
  }) : (u = document.createEvent("Event"), u.initEvent("move", !0, !0)), u.to = t, u.from = e, u.dragged = n, u.draggedRect = i, u.related = s || t, u.relatedRect = r || be(t), u.willInsertAfter = l, u.originalEvent = a, e.dispatchEvent(u), f && (p = f.call(c, u, a)), p;
@@ -10293,7 +10294,7 @@ function fv() {
10293
10294
  },
10294
10295
  _handleAutoScroll: function(n, i) {
10295
10296
  var s = this, r = (n.touches ? n.touches[0] : n).clientX, a = (n.touches ? n.touches[0] : n).clientY, l = document.elementFromPoint(r, a);
10296
- if (_r = n, i || this.options.forceAutoScrollFallback || Fn || ft || xn) {
10297
+ if (_r = n, i || this.options.forceAutoScrollFallback || Dn || ft || xn) {
10297
10298
  Xr(n, this.options, l, i);
10298
10299
  var u = kt(l, !0);
10299
10300
  vi && (!bn || r !== Yr || a !== Jr) && (bn && Rs(), bn = setInterval(function() {
@@ -10327,16 +10328,16 @@ var Xr = El(function(e, t, n, i) {
10327
10328
  gi !== n && (gi = n, ar(), vn = t.scroll, f = t.scrollFn, vn === !0 && (vn = kt(n, !0)));
10328
10329
  var p = 0, g = vn;
10329
10330
  do {
10330
- var v = g, x = be(v), T = x.top, A = x.bottom, q = x.left, Q = x.right, ne = x.width, le = x.height, oe = void 0, B = void 0, F = v.scrollWidth, se = v.scrollHeight, z = U(v), Ve = v.scrollLeft, ke = v.scrollTop;
10331
- v === u ? (oe = ne < F && (z.overflowX === "auto" || z.overflowX === "scroll" || z.overflowX === "visible"), B = le < se && (z.overflowY === "auto" || z.overflowY === "scroll" || z.overflowY === "visible")) : (oe = ne < F && (z.overflowX === "auto" || z.overflowX === "scroll"), B = le < se && (z.overflowY === "auto" || z.overflowY === "scroll"));
10332
- var xe = oe && (Math.abs(Q - s) <= a && Ve + ne < F) - (Math.abs(q - s) <= a && !!Ve), Oe = B && (Math.abs(A - r) <= a && ke + le < se) - (Math.abs(T - r) <= a && !!ke);
10331
+ var v = g, x = be(v), T = x.top, A = x.bottom, q = x.left, Q = x.right, ne = x.width, le = x.height, oe = void 0, B = void 0, D = v.scrollWidth, se = v.scrollHeight, z = U(v), Ve = v.scrollLeft, ke = v.scrollTop;
10332
+ v === u ? (oe = ne < D && (z.overflowX === "auto" || z.overflowX === "scroll" || z.overflowX === "visible"), B = le < se && (z.overflowY === "auto" || z.overflowY === "scroll" || z.overflowY === "visible")) : (oe = ne < D && (z.overflowX === "auto" || z.overflowX === "scroll"), B = le < se && (z.overflowY === "auto" || z.overflowY === "scroll"));
10333
+ var xe = oe && (Math.abs(Q - s) <= a && Ve + ne < D) - (Math.abs(q - s) <= a && !!Ve), Oe = B && (Math.abs(A - r) <= a && ke + le < se) - (Math.abs(T - r) <= a && !!ke);
10333
10334
  if (!pe[p])
10334
10335
  for (var Te = 0; Te <= p; Te++)
10335
10336
  pe[Te] || (pe[Te] = {});
10336
10337
  (pe[p].vx != xe || pe[p].vy != Oe || pe[p].el !== v) && (pe[p].el = v, pe[p].vx = xe, pe[p].vy = Oe, clearInterval(pe[p].pid), (xe != 0 || Oe != 0) && (c = !0, pe[p].pid = setInterval(function() {
10337
10338
  i && this.layer === 0 && j.active._onTouchMove(_r);
10338
- var Fe = pe[this.layer].vy ? pe[this.layer].vy * l : 0, Ee = pe[this.layer].vx ? pe[this.layer].vx * l : 0;
10339
- typeof f == "function" && f.call(j.dragged.parentNode[je], Ee, Fe, e, _r, pe[this.layer].el) !== "continue" || Cl(pe[this.layer].el, Ee, Fe);
10339
+ var De = pe[this.layer].vy ? pe[this.layer].vy * l : 0, Ee = pe[this.layer].vx ? pe[this.layer].vx * l : 0;
10340
+ typeof f == "function" && f.call(j.dragged.parentNode[je], Ee, De, e, _r, pe[this.layer].el) !== "continue" || Cl(pe[this.layer].el, Ee, De);
10340
10341
  }.bind({
10341
10342
  layer: p
10342
10343
  }), 24))), p++;
@@ -10692,7 +10693,7 @@ const Iv = {
10692
10693
  required: !1,
10693
10694
  default: null
10694
10695
  }
10695
- }, Dv = [
10696
+ }, Fv = [
10696
10697
  "update:modelValue",
10697
10698
  "change",
10698
10699
  ...[...bi.manageAndEmit, ...bi.emit].map((e) => e.toLowerCase())
@@ -10700,7 +10701,7 @@ const Iv = {
10700
10701
  name: "draggable",
10701
10702
  inheritAttrs: !1,
10702
10703
  props: Iv,
10703
- emits: Dv,
10704
+ emits: Fv,
10704
10705
  data() {
10705
10706
  return {
10706
10707
  error: !1
@@ -10867,7 +10868,7 @@ const Iv = {
10867
10868
  }
10868
10869
  }
10869
10870
  });
10870
- const Fv = {
10871
+ const Dv = {
10871
10872
  components: {
10872
10873
  Item: wl,
10873
10874
  draggable: Hl
@@ -11120,7 +11121,7 @@ function Uv(e, t, n, i, s, r) {
11120
11121
  })) : _("", !0)
11121
11122
  ], 64);
11122
11123
  }
11123
- const ql = /* @__PURE__ */ E(Fv, [["render", Uv], ["__scopeId", "data-v-aaba4058"]]);
11124
+ const ql = /* @__PURE__ */ E(Dv, [["render", Uv], ["__scopeId", "data-v-aaba4058"]]);
11124
11125
  function jv(e) {
11125
11126
  return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
11126
11127
  }
@@ -11964,10 +11965,10 @@ const Tb = {
11964
11965
  }, Ab = { key: 2 }, Mb = {
11965
11966
  key: 0,
11966
11967
  class: "ux-text-prefix"
11967
- }, Ib = ["onBlur", "onUpdate:modelValue"], Db = {
11968
+ }, Ib = ["onBlur", "onUpdate:modelValue"], Fb = {
11968
11969
  key: 1,
11969
11970
  class: "ux-text-suffix"
11970
- }, Fb = {
11971
+ }, Db = {
11971
11972
  key: 0,
11972
11973
  class: "ux-text-prefix"
11973
11974
  }, $b = {
@@ -12012,7 +12013,7 @@ function Nb(e, t, n, i, s, r) {
12012
12013
  { lazy: !0 }
12013
12014
  ]
12014
12015
  ]),
12015
- r.suffix ? (o(), d("span", Db, b(r.suffix), 1)) : _("", !0)
12016
+ r.suffix ? (o(), d("span", Fb, b(r.suffix), 1)) : _("", !0)
12016
12017
  ], 2)
12017
12018
  ]),
12018
12019
  _: 2
@@ -12056,7 +12057,7 @@ function Nb(e, t, n, i, s, r) {
12056
12057
  key: 3,
12057
12058
  class: P(["ux-text-wrap", { prefixed: r.prefix, suffixed: r.suffix }])
12058
12059
  }, [
12059
- r.prefix ? (o(), d("span", Fb, b(r.prefix), 1)) : _("", !0),
12060
+ r.prefix ? (o(), d("span", Db, b(r.prefix), 1)) : _("", !0),
12060
12061
  X((o(), d("input", {
12061
12062
  class: "ux-field-focus ux-text-input-single",
12062
12063
  ref: "input",
@@ -12878,7 +12879,7 @@ function M1(e, t, n, i, s, r) {
12878
12879
  }, null, 8, A1));
12879
12880
  }
12880
12881
  const I1 = /* @__PURE__ */ E(E1, [["render", M1]]);
12881
- const D1 = {
12882
+ const F1 = {
12882
12883
  props: {
12883
12884
  fields: {
12884
12885
  type: Array,
@@ -13164,13 +13165,13 @@ const D1 = {
13164
13165
  NativeSelect: Lt,
13165
13166
  ContentSelect: ql
13166
13167
  }
13167
- }, F1 = {
13168
+ }, D1 = {
13168
13169
  key: 0,
13169
13170
  class: "filter-condition"
13170
13171
  }, $1 = { key: 0 }, N1 = { key: 1 }, L1 = { key: 2 }, P1 = { key: 3 }, U1 = { key: 4 }, j1 = { key: 5 }, R1 = { key: 6 }, B1 = { key: 7 }, z1 = { key: 8 }, H1 = { key: 9 }, q1 = { key: 10 };
13171
13172
  function G1(e, t, n, i, s, r) {
13172
13173
  const a = y("native-select"), l = y("flex-cell"), u = y("text-field"), c = y("currency-field"), f = y("flex-row"), p = y("date-field"), g = y("content-select"), v = y("ux-switch"), x = y("ux-icon"), T = y("ux-button");
13173
- return s.comparators ? (o(), d("div", F1, [
13174
+ return s.comparators ? (o(), d("div", D1, [
13174
13175
  m(f, {
13175
13176
  gap: "",
13176
13177
  vcenter: ""
@@ -13379,7 +13380,7 @@ function G1(e, t, n, i, s, r) {
13379
13380
  })
13380
13381
  ])) : _("", !0);
13381
13382
  }
13382
- const W1 = /* @__PURE__ */ E(D1, [["render", G1]]);
13383
+ const W1 = /* @__PURE__ */ E(F1, [["render", G1]]);
13383
13384
  const K1 = {
13384
13385
  props: {
13385
13386
  enableRemove: {
@@ -14265,7 +14266,6 @@ const I0 = {
14265
14266
  return e.title ? e.title : e.name ? e.name : e.firstName ? e.firstName : `${this.label} ${t + 1}`;
14266
14267
  },
14267
14268
  enterPress(e) {
14268
- console.log("Enter", e);
14269
14269
  },
14270
14270
  refocus() {
14271
14271
  this.$nextTick(function() {
@@ -14282,10 +14282,10 @@ const I0 = {
14282
14282
  };
14283
14283
  }
14284
14284
  }
14285
- }, D0 = {
14285
+ }, F0 = {
14286
14286
  key: 0,
14287
14287
  class: "ux-multi-group"
14288
- }, F0 = {
14288
+ }, D0 = {
14289
14289
  key: 0,
14290
14290
  class: "ux-group-title"
14291
14291
  }, $0 = {
@@ -14309,8 +14309,8 @@ const I0 = {
14309
14309
  };
14310
14310
  function B0(e, t, n, i, s, r) {
14311
14311
  const a = y("ux-icon"), l = y("flex-cell"), u = y("ux-button"), c = y("flex-row"), f = y("ux-panel-header"), p = y("ux-form"), g = y("ux-panel-body"), v = y("ux-panel"), x = y("draggable");
14312
- return e.multiValue ? (o(), d("div", D0, [
14313
- r.showLabel ? (o(), d("div", F0, [
14312
+ return e.multiValue ? (o(), d("div", F0, [
14313
+ r.showLabel ? (o(), d("div", D0, [
14314
14314
  r.showLabel ? (o(), d("label", $0, [
14315
14315
  O(b(e.plural || e.title) + " ", 1),
14316
14316
  e.required ? (o(), d("span", N0, "*")) : _("", !0)
@@ -14676,7 +14676,7 @@ function B0(e, t, n, i, s, r) {
14676
14676
  ], 64))
14677
14677
  ], 64));
14678
14678
  }
14679
- const z0 = /* @__PURE__ */ E(I0, [["render", B0], ["__scopeId", "data-v-e3ad2f0d"]]), H0 = {
14679
+ const z0 = /* @__PURE__ */ E(I0, [["render", B0], ["__scopeId", "data-v-a6158951"]]), H0 = {
14680
14680
  props: {
14681
14681
  option: {
14682
14682
  required: !0
@@ -15183,7 +15183,28 @@ const Ck = {
15183
15183
  // VAceEditor,
15184
15184
  },
15185
15185
  methods: {
15186
- editorInit() {
15186
+ injectToken(e) {
15187
+ const t = this.editor;
15188
+ if (!t)
15189
+ return;
15190
+ const n = t.session;
15191
+ if (!n)
15192
+ return;
15193
+ const i = this.editor.selection.getRange();
15194
+ i && (i.start, i.end, n.replace(i, e), t.focus());
15195
+ },
15196
+ editorInit(e) {
15197
+ this.editor = e;
15198
+ },
15199
+ focussed() {
15200
+ const e = this;
15201
+ e.timer && (clearTimeout(e.timer), e.timer = null);
15202
+ },
15203
+ blur() {
15204
+ const e = this;
15205
+ e.timer = setTimeout(function() {
15206
+ e.format();
15207
+ }, 100);
15187
15208
  },
15188
15209
  format() {
15189
15210
  if (typeof window !== void 0) {
@@ -15204,7 +15225,7 @@ const Ck = {
15204
15225
  default:
15205
15226
  return;
15206
15227
  }
15207
- console.log("Formatted"), this.model = e;
15228
+ this.model = e;
15208
15229
  }
15209
15230
  }
15210
15231
  }
@@ -15216,6 +15237,12 @@ const Ck = {
15216
15237
  return "";
15217
15238
  }
15218
15239
  },
15240
+ tokens: {
15241
+ type: Array,
15242
+ default() {
15243
+ return [];
15244
+ }
15245
+ },
15219
15246
  lang: {
15220
15247
  type: String
15221
15248
  },
@@ -15231,40 +15258,95 @@ const Ck = {
15231
15258
  this.$emit("update:modelValue", e);
15232
15259
  }
15233
15260
  },
15261
+ unmounted() {
15262
+ this.editor = null;
15263
+ },
15234
15264
  async mounted() {
15235
15265
  this.mounted = !0, this.$sdk.global && this.$sdk.global.injectScript && (this.$sdk.global.injectScript("https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.5/beautify.min.js"), this.$sdk.global.injectScript("https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.5/beautify-css.min.js"), this.$sdk.global.injectScript("https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.5/beautify-html.min.js"));
15236
15266
  },
15237
15267
  data() {
15238
15268
  return {
15269
+ showTokens: !1,
15270
+ timer: null,
15239
15271
  mounted: !1,
15240
- model: this.modelValue
15272
+ model: this.modelValue,
15273
+ editor: null,
15274
+ selectionContext: {}
15241
15275
  };
15242
15276
  }
15277
+ }, Vk = {
15278
+ key: 0,
15279
+ class: "tokens"
15280
+ }, Ak = {
15281
+ key: 0,
15282
+ class: "tokens-body"
15243
15283
  };
15244
- function Vk(e, t, n, i, s, r) {
15245
- const a = y("v-ace-editor"), l = y("flex-column");
15246
- return s.mounted ? (o(), k(l, { key: 0 }, {
15284
+ function Mk(e, t, n, i, s, r) {
15285
+ const a = y("flex-cell"), l = y("ux-icon"), u = y("flex-row"), c = y("ux-button"), f = y("v-ace-editor"), p = y("flex-column");
15286
+ return s.mounted ? (o(), k(p, { key: 0 }, {
15247
15287
  default: h(() => [
15248
- m(a, {
15249
- onBlur: r.format,
15288
+ n.tokens.length ? (o(), d("div", Vk, [
15289
+ w("div", {
15290
+ class: "tokens-header",
15291
+ onClick: t[0] || (t[0] = (g) => s.showTokens = !s.showTokens)
15292
+ }, [
15293
+ m(u, {
15294
+ gap: "",
15295
+ center: ""
15296
+ }, {
15297
+ default: h(() => [
15298
+ m(a, null, {
15299
+ default: h(() => [
15300
+ O(b(s.showTokens ? "Hide" : "Show") + " Tokens ", 1)
15301
+ ]),
15302
+ _: 1
15303
+ }),
15304
+ m(a, { shrink: "" }, {
15305
+ default: h(() => [
15306
+ m(l, {
15307
+ icon: s.showTokens ? "fa-angle-up" : "fa-angle-right"
15308
+ }, null, 8, ["icon"])
15309
+ ]),
15310
+ _: 1
15311
+ })
15312
+ ]),
15313
+ _: 1
15314
+ })
15315
+ ]),
15316
+ s.showTokens ? (o(), d("div", Ak, [
15317
+ (o(!0), d(S, null, N(n.tokens, (g) => (o(), k(c, {
15318
+ size: "xs",
15319
+ onClick: W((v) => r.injectToken(g.value), ["stop", "prevent"])
15320
+ }, {
15321
+ default: h(() => [
15322
+ m(l, { icon: "fa-asterisk" }),
15323
+ O(" " + b(g.title), 1)
15324
+ ]),
15325
+ _: 2
15326
+ }, 1032, ["onClick"]))), 256))
15327
+ ])) : _("", !0)
15328
+ ])) : _("", !0),
15329
+ m(f, {
15330
+ onBlur: r.blur,
15331
+ onFocus: r.focussed,
15250
15332
  readonly: n.readonly,
15251
15333
  class: "editor-wrap",
15252
15334
  value: s.model,
15253
- "onUpdate:value": t[0] || (t[0] = (u) => s.model = u),
15335
+ "onUpdate:value": t[1] || (t[1] = (g) => s.model = g),
15254
15336
  options: { useWorker: !0 },
15255
15337
  onInit: r.editorInit,
15256
15338
  lang: n.lang,
15257
15339
  theme: "tomorrow_night_eighties",
15258
15340
  style: { height: "300px" }
15259
- }, null, 8, ["onBlur", "readonly", "value", "onInit", "lang"])
15341
+ }, null, 8, ["onBlur", "onFocus", "readonly", "value", "onInit", "lang"])
15260
15342
  ]),
15261
15343
  _: 1
15262
15344
  })) : _("", !0);
15263
15345
  }
15264
- const Ak = /* @__PURE__ */ E(Ck, [["render", Vk], ["__scopeId", "data-v-763ca17b"]]);
15265
- const Mk = {
15346
+ const Ik = /* @__PURE__ */ E(Ck, [["render", Mk], ["__scopeId", "data-v-17bc03e4"]]);
15347
+ const Fk = {
15266
15348
  components: {
15267
- CodeEditor: Ak
15349
+ CodeEditor: Ik
15268
15350
  },
15269
15351
  props: {
15270
15352
  modelValue: {
@@ -15284,30 +15366,30 @@ const Mk = {
15284
15366
  return "";
15285
15367
  }
15286
15368
  }
15287
- }, Ik = {
15369
+ }, Dk = {
15288
15370
  key: 0,
15289
15371
  class: "ux-field-title"
15290
- }, Dk = {
15372
+ }, $k = {
15291
15373
  key: 0,
15292
15374
  class: "ux-required-marker"
15293
- }, Fk = {
15375
+ }, Nk = {
15294
15376
  key: 1,
15295
15377
  class: "ux-field-description"
15296
- }, $k = { key: 2 }, Nk = { class: "code-editor-field-wrap" }, Lk = {
15378
+ }, Lk = { key: 2 }, Pk = { class: "code-editor-field-wrap" }, Uk = {
15297
15379
  key: 3,
15298
15380
  class: "code-editor-field-wrap"
15299
15381
  };
15300
- function Pk(e, t, n, i, s, r) {
15382
+ function jk(e, t, n, i, s, r) {
15301
15383
  const a = y("code-editor"), l = y("flex-cell"), u = y("ux-icon"), c = y("ux-button"), f = y("flex-row");
15302
15384
  return o(), d("div", {
15303
15385
  onKeydown: t[2] || (t[2] = ve(W((p) => r.enterPress(p), ["stop"]), ["enter"]))
15304
15386
  }, [
15305
- e.showLabel ? (o(), d("label", Ik, [
15387
+ e.showLabel ? (o(), d("label", Dk, [
15306
15388
  O(b(e.label) + " ", 1),
15307
- e.required ? (o(), d("span", Dk, "*")) : _("", !0)
15389
+ e.required ? (o(), d("span", $k, "*")) : _("", !0)
15308
15390
  ])) : _("", !0),
15309
- e.showDescription ? (o(), d("div", Fk, b(e.description), 1)) : _("", !0),
15310
- e.multiValue ? (o(), d("div", $k, [
15391
+ e.showDescription ? (o(), d("div", Nk, b(e.description), 1)) : _("", !0),
15392
+ e.multiValue ? (o(), d("div", Lk, [
15311
15393
  (o(!0), d(S, null, N(e.model, (p, g) => (o(), k(f, {
15312
15394
  class: "ux-text-row",
15313
15395
  key: g
@@ -15315,7 +15397,7 @@ function Pk(e, t, n, i, s, r) {
15315
15397
  default: h(() => [
15316
15398
  m(l, null, {
15317
15399
  default: h(() => [
15318
- w("div", Nk, [
15400
+ w("div", Pk, [
15319
15401
  m(a, {
15320
15402
  lang: r.syntax,
15321
15403
  onFocus: e.touch,
@@ -15360,7 +15442,7 @@ function Pk(e, t, n, i, s, r) {
15360
15442
  ]),
15361
15443
  _: 1
15362
15444
  })) : _("", !0)
15363
- ])) : (o(), d("div", Lk, [
15445
+ ])) : (o(), d("div", Uk, [
15364
15446
  m(a, {
15365
15447
  lang: r.syntax,
15366
15448
  class: "ux-code-editor ux-field-focus ux-text-area-single",
@@ -15371,8 +15453,8 @@ function Pk(e, t, n, i, s, r) {
15371
15453
  ]))
15372
15454
  ], 32);
15373
15455
  }
15374
- const Uk = /* @__PURE__ */ E(Mk, [["render", Pk], ["__scopeId", "data-v-50e774dd"]]);
15375
- const jk = {
15456
+ const Rk = /* @__PURE__ */ E(Fk, [["render", jk], ["__scopeId", "data-v-50e774dd"]]);
15457
+ const Bk = {
15376
15458
  props: {
15377
15459
  modelValue: {
15378
15460
  type: [String, Array]
@@ -15386,30 +15468,30 @@ const jk = {
15386
15468
  return "";
15387
15469
  }
15388
15470
  }
15389
- }, Rk = {
15471
+ }, zk = {
15390
15472
  key: 0,
15391
15473
  class: "ux-field-title"
15392
- }, Bk = {
15474
+ }, Hk = {
15393
15475
  key: 0,
15394
15476
  class: "ux-required-marker"
15395
- }, zk = {
15477
+ }, qk = {
15396
15478
  key: 1,
15397
15479
  class: "ux-field-description"
15398
- }, Hk = { key: 2 }, qk = { class: "expression-field-wrap" }, Gk = {
15480
+ }, Gk = { key: 2 }, Wk = { class: "expression-field-wrap" }, Kk = {
15399
15481
  key: 3,
15400
15482
  class: "expression-field-wrap"
15401
15483
  };
15402
- function Wk(e, t, n, i, s, r) {
15484
+ function Zk(e, t, n, i, s, r) {
15403
15485
  const a = y("expression-editor"), l = y("flex-cell"), u = y("ux-icon"), c = y("ux-button"), f = y("flex-row");
15404
15486
  return o(), d("div", {
15405
15487
  onKeydown: t[2] || (t[2] = ve(W((p) => r.enterPress(p), ["stop"]), ["enter"]))
15406
15488
  }, [
15407
- e.showLabel ? (o(), d("label", Rk, [
15489
+ e.showLabel ? (o(), d("label", zk, [
15408
15490
  O(b(e.label) + " ", 1),
15409
- e.required ? (o(), d("span", Bk, "*")) : _("", !0)
15491
+ e.required ? (o(), d("span", Hk, "*")) : _("", !0)
15410
15492
  ])) : _("", !0),
15411
- e.showDescription ? (o(), d("div", zk, b(e.description), 1)) : _("", !0),
15412
- e.multiValue ? (o(), d("div", Hk, [
15493
+ e.showDescription ? (o(), d("div", qk, b(e.description), 1)) : _("", !0),
15494
+ e.multiValue ? (o(), d("div", Gk, [
15413
15495
  (o(!0), d(S, null, N(e.model, (p, g) => (o(), k(f, {
15414
15496
  class: "ux-text-row",
15415
15497
  key: g
@@ -15417,7 +15499,7 @@ function Wk(e, t, n, i, s, r) {
15417
15499
  default: h(() => [
15418
15500
  m(l, null, {
15419
15501
  default: h(() => [
15420
- w("div", qk, [
15502
+ w("div", Wk, [
15421
15503
  m(a, {
15422
15504
  field: e.field,
15423
15505
  onFocus: e.touch,
@@ -15462,7 +15544,7 @@ function Wk(e, t, n, i, s, r) {
15462
15544
  ]),
15463
15545
  _: 1
15464
15546
  })) : _("", !0)
15465
- ])) : (o(), d("div", Gk, [
15547
+ ])) : (o(), d("div", Kk, [
15466
15548
  m(a, {
15467
15549
  field: e.field,
15468
15550
  class: "ux-expression ux-field-focus ux-text-area-single",
@@ -15473,8 +15555,8 @@ function Wk(e, t, n, i, s, r) {
15473
15555
  ]))
15474
15556
  ], 32);
15475
15557
  }
15476
- const Kk = /* @__PURE__ */ E(jk, [["render", Wk], ["__scopeId", "data-v-56c3b71b"]]);
15477
- const Zk = {
15558
+ const Yk = /* @__PURE__ */ E(Bk, [["render", Zk], ["__scopeId", "data-v-56c3b71b"]]);
15559
+ const Jk = {
15478
15560
  components: {},
15479
15561
  methods: {},
15480
15562
  props: {
@@ -15509,7 +15591,7 @@ const Zk = {
15509
15591
  };
15510
15592
  }
15511
15593
  };
15512
- function Yk(e, t, n, i, s, r) {
15594
+ function Xk(e, t, n, i, s, r) {
15513
15595
  const a = y("tiptap"), l = y("flex-column");
15514
15596
  return s.mounted ? (o(), k(l, { key: 0 }, {
15515
15597
  default: h(() => [
@@ -15522,10 +15604,10 @@ function Yk(e, t, n, i, s, r) {
15522
15604
  _: 1
15523
15605
  })) : _("", !0);
15524
15606
  }
15525
- const Jk = /* @__PURE__ */ E(Zk, [["render", Yk], ["__scopeId", "data-v-844777a7"]]);
15526
- const Xk = {
15607
+ const Qk = /* @__PURE__ */ E(Jk, [["render", Xk], ["__scopeId", "data-v-844777a7"]]);
15608
+ const ex = {
15527
15609
  components: {
15528
- richtext: Jk
15610
+ richtext: Qk
15529
15611
  },
15530
15612
  props: {
15531
15613
  modelValue: {
@@ -15543,28 +15625,28 @@ const Xk = {
15543
15625
  return "";
15544
15626
  }
15545
15627
  }
15546
- }, Qk = {
15628
+ }, tx = {
15547
15629
  key: 0,
15548
15630
  class: "ux-field-title"
15549
- }, ex = {
15631
+ }, nx = {
15550
15632
  key: 0,
15551
15633
  class: "ux-required-marker"
15552
- }, tx = {
15634
+ }, rx = {
15553
15635
  key: 1,
15554
15636
  class: "ux-field-description"
15555
- }, nx = { key: 2 }, rx = { class: "richtext-field-wrap" }, ix = {
15637
+ }, ix = { key: 2 }, sx = { class: "richtext-field-wrap" }, ax = {
15556
15638
  key: 3,
15557
15639
  class: "richtext-field-wrap"
15558
15640
  };
15559
- function sx(e, t, n, i, s, r) {
15641
+ function lx(e, t, n, i, s, r) {
15560
15642
  const a = y("richtext"), l = y("flex-cell"), u = y("ux-icon"), c = y("ux-button"), f = y("flex-row");
15561
15643
  return o(), d("div", null, [
15562
- e.showLabel ? (o(), d("label", Qk, [
15644
+ e.showLabel ? (o(), d("label", tx, [
15563
15645
  O(b(e.label) + " ", 1),
15564
- e.required ? (o(), d("span", ex, "*")) : _("", !0)
15646
+ e.required ? (o(), d("span", nx, "*")) : _("", !0)
15565
15647
  ])) : _("", !0),
15566
- e.showDescription ? (o(), d("div", tx, b(e.description), 1)) : _("", !0),
15567
- e.multiValue ? (o(), d("div", nx, [
15648
+ e.showDescription ? (o(), d("div", rx, b(e.description), 1)) : _("", !0),
15649
+ e.multiValue ? (o(), d("div", ix, [
15568
15650
  (o(!0), d(S, null, N(e.model, (p, g) => (o(), k(f, {
15569
15651
  class: "ux-text-row",
15570
15652
  key: g
@@ -15572,7 +15654,7 @@ function sx(e, t, n, i, s, r) {
15572
15654
  default: h(() => [
15573
15655
  m(l, null, {
15574
15656
  default: h(() => [
15575
- w("div", rx, [
15657
+ w("div", sx, [
15576
15658
  m(a, {
15577
15659
  onFocus: e.touch,
15578
15660
  ref_for: !0,
@@ -15616,7 +15698,7 @@ function sx(e, t, n, i, s, r) {
15616
15698
  ]),
15617
15699
  _: 1
15618
15700
  })) : _("", !0)
15619
- ])) : (o(), d("div", ix, [
15701
+ ])) : (o(), d("div", ax, [
15620
15702
  m(a, {
15621
15703
  class: "ux-richtext ux-field-focus ux-text-area-single",
15622
15704
  onFocus: e.touch,
@@ -15626,8 +15708,8 @@ function sx(e, t, n, i, s, r) {
15626
15708
  ]))
15627
15709
  ]);
15628
15710
  }
15629
- const ax = /* @__PURE__ */ E(Xk, [["render", sx], ["__scopeId", "data-v-6ed5223e"]]);
15630
- var gr = {}, lx = {
15711
+ const ox = /* @__PURE__ */ E(ex, [["render", lx], ["__scopeId", "data-v-6ed5223e"]]);
15712
+ var gr = {}, ux = {
15631
15713
  get exports() {
15632
15714
  return gr;
15633
15715
  },
@@ -15637,7 +15719,7 @@ var gr = {}, lx = {
15637
15719
  };
15638
15720
  (function(e, t) {
15639
15721
  (function(n) {
15640
- var i = "Compound", s = "Identifier", r = "MemberExpression", a = "Literal", l = "ThisExpression", u = "CallExpression", c = "UnaryExpression", f = "BinaryExpression", p = "LogicalExpression", g = "ConditionalExpression", v = "ArrayExpression", x = 46, T = 44, A = 39, q = 34, Q = 40, ne = 41, le = 91, oe = 93, B = 63, F = 59, se = 58, z = function($, C) {
15722
+ var i = "Compound", s = "Identifier", r = "MemberExpression", a = "Literal", l = "ThisExpression", u = "CallExpression", c = "UnaryExpression", f = "BinaryExpression", p = "LogicalExpression", g = "ConditionalExpression", v = "ArrayExpression", x = 46, T = 44, A = 39, q = 34, Q = 40, ne = 41, le = 91, oe = 93, B = 63, D = 59, se = 58, z = function($, C) {
15641
15723
  var et = new Error($ + " at character " + C);
15642
15724
  throw et.index = C, et.description = $, et;
15643
15725
  }, Ve = !0, ke = { "-": Ve, "!": Ve, "~": Ve, "+": Ve }, xe = {
@@ -15667,13 +15749,13 @@ var gr = {}, lx = {
15667
15749
  for (var Ut in $)
15668
15750
  (et = Ut.length) > C && $.hasOwnProperty(Ut) && (C = et);
15669
15751
  return C;
15670
- }, Te = Oe(ke), Fe = Oe(xe), Ee = {
15752
+ }, Te = Oe(ke), De = Oe(xe), Ee = {
15671
15753
  true: !0,
15672
15754
  false: !1,
15673
15755
  null: null
15674
15756
  }, mt = "this", Qe = function($) {
15675
15757
  return xe[$] || 0;
15676
- }, D = function($, C, et) {
15758
+ }, F = function($, C, et) {
15677
15759
  var Ut = $ === "||" || $ === "&&" ? p : f;
15678
15760
  return {
15679
15761
  type: Ut,
@@ -15717,7 +15799,7 @@ var gr = {}, lx = {
15717
15799
  return V;
15718
15800
  }, ji = function() {
15719
15801
  tt();
15720
- for (var V = $.substr(C, Fe), L = V.length; L > 0; ) {
15802
+ for (var V = $.substr(C, De), L = V.length; L > 0; ) {
15721
15803
  if (xe.hasOwnProperty(V) && (!ht(ue(C)) || C + V.length < $.length && !ln(ue(C + V.length))))
15722
15804
  return C += L, V;
15723
15805
  V = V.substr(0, --L);
@@ -15729,11 +15811,11 @@ var gr = {}, lx = {
15729
15811
  return We;
15730
15812
  for (Ot = { value: L, prec: Qe(L) }, pt = Pn(), pt || z("Expected expression after " + L, C), ie = [We, Ot, pt]; (L = ji()) && (K = Qe(L), K !== 0); ) {
15731
15813
  for (Ot = { value: L, prec: K }, Hi = L; ie.length > 2 && K <= ie[ie.length - 2].prec; )
15732
- pt = ie.pop(), L = ie.pop().value, We = ie.pop(), V = D(L, We, pt), ie.push(V);
15814
+ pt = ie.pop(), L = ie.pop().value, We = ie.pop(), V = F(L, We, pt), ie.push(V);
15733
15815
  V = Pn(), V || z("Expected expression after " + Hi, C), ie.push(Ot, V);
15734
15816
  }
15735
15817
  for (Rt = ie.length - 1, V = ie[Rt]; Rt > 1; )
15736
- V = D(ie[Rt - 1].value, ie[Rt - 2], V), Rt -= 2;
15818
+ V = F(ie[Rt - 1].value, ie[Rt - 2], V), Rt -= 2;
15737
15819
  return V;
15738
15820
  }, Pn = function() {
15739
15821
  var V, L, K;
@@ -15865,7 +15947,7 @@ var gr = {}, lx = {
15865
15947
  elements: Bi(oe)
15866
15948
  };
15867
15949
  }, Un = [], Ir, zi; C < on; )
15868
- Ir = ue(C), Ir === F || Ir === T ? C++ : (zi = jt()) ? Un.push(zi) : C < on && z('Unexpected "' + Ae(C) + '"', C);
15950
+ Ir = ue(C), Ir === D || Ir === T ? C++ : (zi = jt()) ? Un.push(zi) : C < on && z('Unexpected "' + Ae(C) + '"', C);
15869
15951
  return Un.length === 1 ? Un[0] : {
15870
15952
  type: i,
15871
15953
  body: Un
@@ -15876,7 +15958,7 @@ var gr = {}, lx = {
15876
15958
  }, $e.addUnaryOp = function($) {
15877
15959
  return Te = Math.max($.length, Te), ke[$] = Ve, this;
15878
15960
  }, $e.addBinaryOp = function($, C) {
15879
- return Fe = Math.max($.length, Fe), xe[$] = C, this;
15961
+ return De = Math.max($.length, De), xe[$] = C, this;
15880
15962
  }, $e.addLiteral = function($, C) {
15881
15963
  return Ee[$] = C, this;
15882
15964
  }, $e.removeUnaryOp = function($) {
@@ -15884,17 +15966,17 @@ var gr = {}, lx = {
15884
15966
  }, $e.removeAllUnaryOps = function() {
15885
15967
  return ke = {}, Te = 0, this;
15886
15968
  }, $e.removeBinaryOp = function($) {
15887
- return delete xe[$], $.length === Fe && (Fe = Oe(xe)), this;
15969
+ return delete xe[$], $.length === De && (De = Oe(xe)), this;
15888
15970
  }, $e.removeAllBinaryOps = function() {
15889
- return xe = {}, Fe = 0, this;
15971
+ return xe = {}, De = 0, this;
15890
15972
  }, $e.removeLiteral = function($) {
15891
15973
  return delete Ee[$], this;
15892
15974
  }, $e.removeAllLiterals = function() {
15893
15975
  return Ee = {}, this;
15894
15976
  }, e.exports ? t = e.exports = $e : t.parse = $e;
15895
15977
  })();
15896
- })(lx, gr);
15897
- const ox = gr;
15978
+ })(ux, gr);
15979
+ const dx = gr;
15898
15980
  var qs = { "||": function(e, t) {
15899
15981
  return e || t;
15900
15982
  }, "&&": function(e, t) {
@@ -15937,7 +16019,7 @@ var qs = { "||": function(e, t) {
15937
16019
  return e / t;
15938
16020
  }, "%": function(e, t) {
15939
16021
  return e % t;
15940
- } }, ux = { "-": function(e) {
16022
+ } }, cx = { "-": function(e) {
15941
16023
  return -e;
15942
16024
  }, "+": function(e) {
15943
16025
  return +e;
@@ -15980,80 +16062,80 @@ function Se(e, t) {
15980
16062
  case "ThisExpression":
15981
16063
  return t;
15982
16064
  case "UnaryExpression":
15983
- return ux[n.operator](Se(n.argument, t));
16065
+ return cx[n.operator](Se(n.argument, t));
15984
16066
  default:
15985
16067
  return;
15986
16068
  }
15987
16069
  }
15988
- function dx(e, t, n, i) {
16070
+ function fx(e, t, n, i) {
15989
16071
  for (var s = e.length, r = n + (i ? 1 : -1); i ? r-- : ++r < s; )
15990
16072
  if (t(e[r], r, e))
15991
16073
  return r;
15992
16074
  return -1;
15993
16075
  }
15994
- var cx = dx;
15995
- function fx(e) {
16076
+ var mx = fx;
16077
+ function hx(e) {
15996
16078
  return e !== e;
15997
16079
  }
15998
- var mx = fx;
15999
- function hx(e, t, n) {
16080
+ var px = hx;
16081
+ function yx(e, t, n) {
16000
16082
  for (var i = n - 1, s = e.length; ++i < s; )
16001
16083
  if (e[i] === t)
16002
16084
  return i;
16003
16085
  return -1;
16004
16086
  }
16005
- var px = hx, yx = cx, _x = mx, gx = px;
16006
- function vx(e, t, n) {
16007
- return t === t ? gx(e, t, n) : yx(e, _x, n);
16087
+ var _x = yx, gx = mx, vx = px, bx = _x;
16088
+ function kx(e, t, n) {
16089
+ return t === t ? bx(e, t, n) : gx(e, vx, n);
16008
16090
  }
16009
- var bx = vx, kx = 9007199254740991;
16010
- function xx(e) {
16011
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= kx;
16091
+ var xx = kx, wx = 9007199254740991;
16092
+ function Sx(e) {
16093
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= wx;
16012
16094
  }
16013
- var Yl = xx, wx = pa, Sx = Yl;
16014
- function Ox(e) {
16015
- return e != null && Sx(e.length) && !wx(e);
16095
+ var Yl = Sx, Ox = pa, Tx = Yl;
16096
+ function Ex(e) {
16097
+ return e != null && Tx(e.length) && !Ox(e);
16016
16098
  }
16017
- var Jl = Ox, Tx = Cn, Ex = Mn, Cx = Vn, Vx = "[object String]";
16018
- function Ax(e) {
16019
- return typeof e == "string" || !Ex(e) && Cx(e) && Tx(e) == Vx;
16099
+ var Jl = Ex, Cx = Cn, Vx = Mn, Ax = Vn, Mx = "[object String]";
16100
+ function Ix(e) {
16101
+ return typeof e == "string" || !Vx(e) && Ax(e) && Cx(e) == Mx;
16020
16102
  }
16021
- var Mx = Ax, Ix = ha, Ks = 1 / 0, Dx = 17976931348623157e292;
16022
- function Fx(e) {
16103
+ var Fx = Ix, Dx = ha, Ks = 1 / 0, $x = 17976931348623157e292;
16104
+ function Nx(e) {
16023
16105
  if (!e)
16024
16106
  return e === 0 ? e : 0;
16025
- if (e = Ix(e), e === Ks || e === -Ks) {
16107
+ if (e = Dx(e), e === Ks || e === -Ks) {
16026
16108
  var t = e < 0 ? -1 : 1;
16027
- return t * Dx;
16109
+ return t * $x;
16028
16110
  }
16029
16111
  return e === e ? e : 0;
16030
16112
  }
16031
- var $x = Fx, Nx = $x;
16032
- function Lx(e) {
16033
- var t = Nx(e), n = t % 1;
16113
+ var Lx = Nx, Px = Lx;
16114
+ function Ux(e) {
16115
+ var t = Px(e), n = t % 1;
16034
16116
  return t === t ? n ? t - n : t : 0;
16035
16117
  }
16036
- var Px = Lx, Ux = ga;
16037
- function jx(e, t) {
16038
- return Ux(t, function(n) {
16118
+ var jx = Ux, Rx = ga;
16119
+ function Bx(e, t) {
16120
+ return Rx(t, function(n) {
16039
16121
  return e[n];
16040
16122
  });
16041
16123
  }
16042
- var Rx = jx;
16043
- function Bx(e, t) {
16124
+ var zx = Bx;
16125
+ function Hx(e, t) {
16044
16126
  for (var n = -1, i = Array(e); ++n < e; )
16045
16127
  i[n] = t(n);
16046
16128
  return i;
16047
16129
  }
16048
- var zx = Bx, Hx = Cn, qx = Vn, Gx = "[object Arguments]";
16049
- function Wx(e) {
16050
- return qx(e) && Hx(e) == Gx;
16130
+ var qx = Hx, Gx = Cn, Wx = Vn, Kx = "[object Arguments]";
16131
+ function Zx(e) {
16132
+ return Wx(e) && Gx(e) == Kx;
16051
16133
  }
16052
- var Kx = Wx, Zs = Kx, Zx = Vn, Xl = Object.prototype, Yx = Xl.hasOwnProperty, Jx = Xl.propertyIsEnumerable, Xx = Zs(function() {
16134
+ var Yx = Zx, Zs = Yx, Jx = Vn, Xl = Object.prototype, Xx = Xl.hasOwnProperty, Qx = Xl.propertyIsEnumerable, ew = Zs(function() {
16053
16135
  return arguments;
16054
16136
  }()) ? Zs : function(e) {
16055
- return Zx(e) && Yx.call(e, "callee") && !Jx.call(e, "callee");
16056
- }, Qx = Xx, vr = {}, ew = {
16137
+ return Jx(e) && Xx.call(e, "callee") && !Qx.call(e, "callee");
16138
+ }, tw = ew, vr = {}, nw = {
16057
16139
  get exports() {
16058
16140
  return vr;
16059
16141
  },
@@ -16061,32 +16143,32 @@ var Kx = Wx, Zs = Kx, Zx = Vn, Xl = Object.prototype, Yx = Xl.hasOwnProperty, Jx
16061
16143
  vr = e;
16062
16144
  }
16063
16145
  };
16064
- function tw() {
16146
+ function rw() {
16065
16147
  return !1;
16066
16148
  }
16067
- var nw = tw;
16149
+ var iw = rw;
16068
16150
  (function(e, t) {
16069
- var n = En, i = nw, s = t && !t.nodeType && t, r = s && !0 && e && !e.nodeType && e, a = r && r.exports === s, l = a ? n.Buffer : void 0, u = l ? l.isBuffer : void 0, c = u || i;
16151
+ var n = En, i = iw, s = t && !t.nodeType && t, r = s && !0 && e && !e.nodeType && e, a = r && r.exports === s, l = a ? n.Buffer : void 0, u = l ? l.isBuffer : void 0, c = u || i;
16070
16152
  e.exports = c;
16071
- })(ew, vr);
16072
- var rw = 9007199254740991, iw = /^(?:0|[1-9]\d*)$/;
16073
- function sw(e, t) {
16153
+ })(nw, vr);
16154
+ var sw = 9007199254740991, aw = /^(?:0|[1-9]\d*)$/;
16155
+ function lw(e, t) {
16074
16156
  var n = typeof e;
16075
- return t = t ?? rw, !!t && (n == "number" || n != "symbol" && iw.test(e)) && e > -1 && e % 1 == 0 && e < t;
16157
+ return t = t ?? sw, !!t && (n == "number" || n != "symbol" && aw.test(e)) && e > -1 && e % 1 == 0 && e < t;
16076
16158
  }
16077
- var aw = sw, lw = Cn, ow = Yl, uw = Vn, dw = "[object Arguments]", cw = "[object Array]", fw = "[object Boolean]", mw = "[object Date]", hw = "[object Error]", pw = "[object Function]", yw = "[object Map]", _w = "[object Number]", gw = "[object Object]", vw = "[object RegExp]", bw = "[object Set]", kw = "[object String]", xw = "[object WeakMap]", ww = "[object ArrayBuffer]", Sw = "[object DataView]", Ow = "[object Float32Array]", Tw = "[object Float64Array]", Ew = "[object Int8Array]", Cw = "[object Int16Array]", Vw = "[object Int32Array]", Aw = "[object Uint8Array]", Mw = "[object Uint8ClampedArray]", Iw = "[object Uint16Array]", Dw = "[object Uint32Array]", ae = {};
16078
- ae[Ow] = ae[Tw] = ae[Ew] = ae[Cw] = ae[Vw] = ae[Aw] = ae[Mw] = ae[Iw] = ae[Dw] = !0;
16079
- ae[dw] = ae[cw] = ae[ww] = ae[fw] = ae[Sw] = ae[mw] = ae[hw] = ae[pw] = ae[yw] = ae[_w] = ae[gw] = ae[vw] = ae[bw] = ae[kw] = ae[xw] = !1;
16080
- function Fw(e) {
16081
- return uw(e) && ow(e.length) && !!ae[lw(e)];
16082
- }
16083
- var $w = Fw;
16159
+ var ow = lw, uw = Cn, dw = Yl, cw = Vn, fw = "[object Arguments]", mw = "[object Array]", hw = "[object Boolean]", pw = "[object Date]", yw = "[object Error]", _w = "[object Function]", gw = "[object Map]", vw = "[object Number]", bw = "[object Object]", kw = "[object RegExp]", xw = "[object Set]", ww = "[object String]", Sw = "[object WeakMap]", Ow = "[object ArrayBuffer]", Tw = "[object DataView]", Ew = "[object Float32Array]", Cw = "[object Float64Array]", Vw = "[object Int8Array]", Aw = "[object Int16Array]", Mw = "[object Int32Array]", Iw = "[object Uint8Array]", Fw = "[object Uint8ClampedArray]", Dw = "[object Uint16Array]", $w = "[object Uint32Array]", ae = {};
16160
+ ae[Ew] = ae[Cw] = ae[Vw] = ae[Aw] = ae[Mw] = ae[Iw] = ae[Fw] = ae[Dw] = ae[$w] = !0;
16161
+ ae[fw] = ae[mw] = ae[Ow] = ae[hw] = ae[Tw] = ae[pw] = ae[yw] = ae[_w] = ae[gw] = ae[vw] = ae[bw] = ae[kw] = ae[xw] = ae[ww] = ae[Sw] = !1;
16084
16162
  function Nw(e) {
16163
+ return cw(e) && dw(e.length) && !!ae[uw(e)];
16164
+ }
16165
+ var Lw = Nw;
16166
+ function Pw(e) {
16085
16167
  return function(t) {
16086
16168
  return e(t);
16087
16169
  };
16088
16170
  }
16089
- var Lw = Nw, br = {}, Pw = {
16171
+ var Uw = Pw, br = {}, jw = {
16090
16172
  get exports() {
16091
16173
  return br;
16092
16174
  },
@@ -16103,55 +16185,55 @@ var Lw = Nw, br = {}, Pw = {
16103
16185
  }
16104
16186
  }();
16105
16187
  e.exports = l;
16106
- })(Pw, br);
16107
- var Uw = $w, jw = Lw, Ys = br, Js = Ys && Ys.isTypedArray, Rw = Js ? jw(Js) : Uw, Bw = Rw, zw = zx, Hw = Qx, qw = Mn, Gw = vr, Ww = aw, Kw = Bw, Zw = Object.prototype, Yw = Zw.hasOwnProperty;
16108
- function Jw(e, t) {
16109
- var n = qw(e), i = !n && Hw(e), s = !n && !i && Gw(e), r = !n && !i && !s && Kw(e), a = n || i || s || r, l = a ? zw(e.length, String) : [], u = l.length;
16188
+ })(jw, br);
16189
+ var Rw = Lw, Bw = Uw, Ys = br, Js = Ys && Ys.isTypedArray, zw = Js ? Bw(Js) : Rw, Hw = zw, qw = qx, Gw = tw, Ww = Mn, Kw = vr, Zw = ow, Yw = Hw, Jw = Object.prototype, Xw = Jw.hasOwnProperty;
16190
+ function Qw(e, t) {
16191
+ var n = Ww(e), i = !n && Gw(e), s = !n && !i && Kw(e), r = !n && !i && !s && Yw(e), a = n || i || s || r, l = a ? qw(e.length, String) : [], u = l.length;
16110
16192
  for (var c in e)
16111
- (t || Yw.call(e, c)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
16193
+ (t || Xw.call(e, c)) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
16112
16194
  (c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
16113
16195
  s && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
16114
16196
  r && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
16115
- Ww(c, u))) && l.push(c);
16197
+ Zw(c, u))) && l.push(c);
16116
16198
  return l;
16117
16199
  }
16118
- var Xw = Jw, Qw = Object.prototype;
16119
- function eS(e) {
16120
- var t = e && e.constructor, n = typeof t == "function" && t.prototype || Qw;
16200
+ var eS = Qw, tS = Object.prototype;
16201
+ function nS(e) {
16202
+ var t = e && e.constructor, n = typeof t == "function" && t.prototype || tS;
16121
16203
  return e === n;
16122
16204
  }
16123
- var tS = eS;
16124
- function nS(e, t) {
16205
+ var rS = nS;
16206
+ function iS(e, t) {
16125
16207
  return function(n) {
16126
16208
  return e(t(n));
16127
16209
  };
16128
16210
  }
16129
- var rS = nS, iS = rS, sS = iS(Object.keys, Object), aS = sS, lS = tS, oS = aS, uS = Object.prototype, dS = uS.hasOwnProperty;
16130
- function cS(e) {
16131
- if (!lS(e))
16132
- return oS(e);
16211
+ var sS = iS, aS = sS, lS = aS(Object.keys, Object), oS = lS, uS = rS, dS = oS, cS = Object.prototype, fS = cS.hasOwnProperty;
16212
+ function mS(e) {
16213
+ if (!uS(e))
16214
+ return dS(e);
16133
16215
  var t = [];
16134
16216
  for (var n in Object(e))
16135
- dS.call(e, n) && n != "constructor" && t.push(n);
16217
+ fS.call(e, n) && n != "constructor" && t.push(n);
16136
16218
  return t;
16137
16219
  }
16138
- var fS = cS, mS = Xw, hS = fS, pS = Jl;
16139
- function yS(e) {
16140
- return pS(e) ? mS(e) : hS(e);
16220
+ var hS = mS, pS = eS, yS = hS, _S = Jl;
16221
+ function gS(e) {
16222
+ return _S(e) ? pS(e) : yS(e);
16141
16223
  }
16142
- var _S = yS, gS = Rx, vS = _S;
16143
- function bS(e) {
16144
- return e == null ? [] : gS(e, vS(e));
16224
+ var vS = gS, bS = zx, kS = vS;
16225
+ function xS(e) {
16226
+ return e == null ? [] : bS(e, kS(e));
16145
16227
  }
16146
- var kS = bS, xS = bx, wS = Jl, SS = Mx, OS = Px, TS = kS, ES = Math.max;
16147
- function CS(e, t, n, i) {
16148
- e = wS(e) ? e : TS(e), n = n && !i ? OS(n) : 0;
16228
+ var wS = xS, SS = xx, OS = Jl, TS = Fx, ES = jx, CS = wS, VS = Math.max;
16229
+ function AS(e, t, n, i) {
16230
+ e = OS(e) ? e : CS(e), n = n && !i ? ES(n) : 0;
16149
16231
  var s = e.length;
16150
- return n < 0 && (n = ES(s + n, 0)), SS(e) ? n <= s && e.indexOf(t, n) > -1 : !!s && xS(e, t, n) > -1;
16232
+ return n < 0 && (n = VS(s + n, 0)), TS(e) ? n <= s && e.indexOf(t, n) > -1 : !!s && SS(e, t, n) > -1;
16151
16233
  }
16152
- var VS = CS;
16234
+ var MS = AS;
16153
16235
  const St = {};
16154
- function AS(e, t, n, i) {
16236
+ function IS(e, t, n, i) {
16155
16237
  return e ? Array.isArray(e) ? e.filter(function(s) {
16156
16238
  const r = or(s, t);
16157
16239
  let a;
@@ -16169,7 +16251,7 @@ function AS(e, t, n, i) {
16169
16251
  a = r <= n;
16170
16252
  break;
16171
16253
  case "in":
16172
- a = VS(r, n);
16254
+ a = MS(r, n);
16173
16255
  break;
16174
16256
  default:
16175
16257
  n === void 0 ? a = r : a = r == n;
@@ -16178,12 +16260,12 @@ function AS(e, t, n, i) {
16178
16260
  return a;
16179
16261
  }) : (console.error("array.filter value was not provided as array", { input: e }), []) : [];
16180
16262
  }
16181
- function MS(e) {
16263
+ function FS(e) {
16182
16264
  return e.reduce(function(t, n) {
16183
16265
  return t + n;
16184
16266
  }, 0);
16185
16267
  }
16186
- function IS(e, t, n, i, s) {
16268
+ function DS(e, t, n, i, s) {
16187
16269
  if (!e)
16188
16270
  return [];
16189
16271
  if (s = s || {}, s.flat = n, s.unique = i, !Array.isArray(e))
@@ -16207,9 +16289,9 @@ St.evaluateExpression = function(e, t) {
16207
16289
  parseFloat,
16208
16290
  now: new Date(),
16209
16291
  array: {
16210
- filter: AS,
16211
- extract: IS,
16212
- sum: MS
16292
+ filter: IS,
16293
+ extract: DS,
16294
+ sum: FS
16213
16295
  },
16214
16296
  create(r, ...a) {
16215
16297
  return new r(...a);
@@ -16218,20 +16300,20 @@ St.evaluateExpression = function(e, t) {
16218
16300
  t = Object.assign({}, n, t);
16219
16301
  var i, s;
16220
16302
  try {
16221
- i = ox(e), s = Se(i, t);
16303
+ i = dx(e), s = Se(i, t);
16222
16304
  } catch (r) {
16223
16305
  console.log("There was an error evaluating your expression", { expression: e, error: r });
16224
16306
  } finally {
16225
16307
  }
16226
16308
  return s;
16227
16309
  };
16228
- const DS = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map(function(e) {
16310
+ const $S = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map(function(e) {
16229
16311
  const t = String(e).slice(2);
16230
16312
  return {
16231
16313
  title: e,
16232
16314
  value: t
16233
16315
  };
16234
- }), FS = {
16316
+ }), NS = {
16235
16317
  mixins: [re],
16236
16318
  components: {
16237
16319
  // StripeElements,
@@ -16424,7 +16506,7 @@ const DS = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map
16424
16506
  type: "integer",
16425
16507
  key: "total",
16426
16508
  widget: "value",
16427
- minimum: 1,
16509
+ minimum: parseInt(e.calculatedTotal) ? 1 : 0,
16428
16510
  maximum: 1,
16429
16511
  expressions: {
16430
16512
  value() {
@@ -16484,7 +16566,7 @@ const DS = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map
16484
16566
  minLength: 2,
16485
16567
  maxLength: 2,
16486
16568
  widget: "select",
16487
- options: DS
16569
+ options: $S
16488
16570
  }, {
16489
16571
  title: "CVN",
16490
16572
  key: "cvc",
@@ -16522,13 +16604,13 @@ const DS = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map
16522
16604
  };
16523
16605
  }
16524
16606
  }
16525
- }, Nn = (e) => (st("data-v-529514fc"), e = e(), at(), e), $S = /* @__PURE__ */ Nn(() => /* @__PURE__ */ w("h2", null, "Payment Summary", -1)), NS = { class: "calculations" }, LS = /* @__PURE__ */ Nn(() => /* @__PURE__ */ w("td", null, "Amount", -1)), PS = { class: "running-total" }, US = { class: "running-total" }, jS = {
16607
+ }, Nn = (e) => (st("data-v-656d350e"), e = e(), at(), e), LS = /* @__PURE__ */ Nn(() => /* @__PURE__ */ w("h2", null, "Payment Summary", -1)), PS = { class: "calculations" }, US = /* @__PURE__ */ Nn(() => /* @__PURE__ */ w("td", null, "Amount", -1)), jS = { class: "running-total" }, RS = { class: "running-total" }, BS = {
16526
16608
  key: 0,
16527
16609
  class: "grand-total"
16528
- }, RS = /* @__PURE__ */ Nn(() => /* @__PURE__ */ w("td", null, [
16610
+ }, zS = /* @__PURE__ */ Nn(() => /* @__PURE__ */ w("td", null, [
16529
16611
  /* @__PURE__ */ w("strong", null, "Total")
16530
- ], -1)), BS = /* @__PURE__ */ Nn(() => /* @__PURE__ */ w("td", null, null, -1)), zS = /* @__PURE__ */ Nn(() => /* @__PURE__ */ w("h3", null, "Please select a payment processor", -1));
16531
- function HS(e, t, n, i, s, r) {
16612
+ ], -1)), HS = /* @__PURE__ */ Nn(() => /* @__PURE__ */ w("td", null, null, -1)), qS = /* @__PURE__ */ Nn(() => /* @__PURE__ */ w("h3", null, "Please select a payment processor", -1));
16613
+ function GS(e, t, n, i, s, r) {
16532
16614
  const a = y("ux-form"), l = y("ux-panel-body"), u = y("ux-panel"), c = y("ux-icon"), f = y("ux-button");
16533
16615
  return e.multiValue ? (o(), d(S, { key: 0 }, [
16534
16616
  O(" Invalid configuration ")
@@ -16547,33 +16629,33 @@ function HS(e, t, n, i, s, r) {
16547
16629
  fields: r.calculatedTotalFields
16548
16630
  }, null, 8, ["trail", "paymentConfiguration", "includeOfficeOnly", "submission", "onForm:state", "parentModel", "modelValue", "flex", "fields"]),
16549
16631
  r.requiresPayment ? (o(), d(S, { key: 0 }, [
16550
- $S,
16632
+ LS,
16551
16633
  m(u, null, {
16552
16634
  default: h(() => [
16553
16635
  m(l, null, {
16554
16636
  default: h(() => [
16555
- w("table", NS, [
16637
+ w("table", PS, [
16556
16638
  w("tbody", null, [
16557
16639
  r.baseAmount ? (o(), d("tr", {
16558
16640
  key: 0,
16559
16641
  class: P(["calculation-modifier", ["modifier-set", `modifier-visible-${r.baseAmountVisible}`]])
16560
16642
  }, [
16561
- LS,
16643
+ US,
16562
16644
  w("td", null, b(r.formattedBaseAmount), 1),
16563
- w("td", PS, b(r.formattedBaseAmount), 1)
16645
+ w("td", jS, b(r.formattedBaseAmount), 1)
16564
16646
  ], 2)) : _("", !0),
16565
16647
  (o(!0), d(S, null, N(r.visibleModifications, (p) => (o(), d("tr", {
16566
16648
  class: P(["calculation-modifier", [`modifier-${p.modifier}`, `modifier-visible-${p.visible}`]])
16567
16649
  }, [
16568
16650
  w("td", null, b(p.title), 1),
16569
16651
  w("td", null, b(p.summary), 1),
16570
- w("td", US, b(p.result), 1)
16652
+ w("td", RS, b(p.result), 1)
16571
16653
  ], 2))), 256))
16572
16654
  ]),
16573
16655
  w("tfoot", null, [
16574
- r.baseAmount ? (o(), d("tr", jS, [
16575
- RS,
16576
- BS,
16656
+ r.baseAmount ? (o(), d("tr", BS, [
16657
+ zS,
16658
+ HS,
16577
16659
  w("td", null, [
16578
16660
  w("strong", null, b(r.formattedTotal), 1)
16579
16661
  ])
@@ -16587,7 +16669,7 @@ function HS(e, t, n, i, s, r) {
16587
16669
  _: 1
16588
16670
  }),
16589
16671
  r.gateways.length > 1 ? (o(), d(S, { key: 0 }, [
16590
- zS,
16672
+ qS,
16591
16673
  m(u, null, {
16592
16674
  default: h(() => [
16593
16675
  m(l, null, {
@@ -16616,11 +16698,11 @@ function HS(e, t, n, i, s, r) {
16616
16698
  ], 64)) : _("", !0)
16617
16699
  ], 64));
16618
16700
  }
16619
- const qS = /* @__PURE__ */ E(FS, [["render", HS], ["__scopeId", "data-v-529514fc"]]);
16620
- function GS(e) {
16701
+ const WS = /* @__PURE__ */ E(NS, [["render", GS], ["__scopeId", "data-v-656d350e"]]);
16702
+ function KS(e) {
16621
16703
  return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
16622
16704
  }
16623
- const WS = {
16705
+ const ZS = {
16624
16706
  props: {
16625
16707
  title: {
16626
16708
  type: String
@@ -16636,7 +16718,7 @@ const WS = {
16636
16718
  methods: {
16637
16719
  cleanOutput(e) {
16638
16720
  var t = this;
16639
- return GS(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
16721
+ return KS(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
16640
16722
  return t.getValue(n);
16641
16723
  }) : e = t.getValue(e), e;
16642
16724
  },
@@ -16699,33 +16781,33 @@ const WS = {
16699
16781
  return this.actualOptions;
16700
16782
  }
16701
16783
  }
16702
- }, KS = {
16784
+ }, YS = {
16703
16785
  key: 0,
16704
16786
  class: "ux-field-title"
16705
- }, ZS = {
16787
+ }, JS = {
16706
16788
  key: 0,
16707
16789
  class: "ux-required-marker"
16708
- }, YS = {
16790
+ }, XS = {
16709
16791
  key: 1,
16710
16792
  class: "ux-field-description"
16711
- }, JS = {
16793
+ }, QS = {
16712
16794
  key: 2,
16713
16795
  class: "ui-select-button"
16714
- }, XS = ["multiple"], QS = {
16796
+ }, e2 = ["multiple"], t2 = {
16715
16797
  key: 0,
16716
16798
  value: ""
16717
- }, e2 = ["value"];
16718
- function t2(e, t, n, i, s, r) {
16799
+ }, n2 = ["value"];
16800
+ function r2(e, t, n, i, s, r) {
16719
16801
  const a = y("ux-button");
16720
16802
  return o(), d("div", {
16721
16803
  class: P(["native-select", r.classes])
16722
16804
  }, [
16723
- e.showLabel ? (o(), d("label", KS, [
16805
+ e.showLabel ? (o(), d("label", YS, [
16724
16806
  O(b(e.label) + " ", 1),
16725
- e.required ? (o(), d("span", ZS, "*")) : _("", !0)
16807
+ e.required ? (o(), d("span", JS, "*")) : _("", !0)
16726
16808
  ])) : _("", !0),
16727
- e.showDescription ? (o(), d("div", YS, b(e.description), 1)) : _("", !0),
16728
- e.singleValue ? (o(), d("div", JS, [
16809
+ e.showDescription ? (o(), d("div", XS, b(e.description), 1)) : _("", !0),
16810
+ e.singleValue ? (o(), d("div", QS, [
16729
16811
  G(e.$slots, "default", {}, () => [
16730
16812
  m(a, { tag: "div" }, {
16731
16813
  default: h(() => [
@@ -16740,20 +16822,20 @@ function t2(e, t, n, i, s, r) {
16740
16822
  multiple: e.multiValue,
16741
16823
  "onUpdate:modelValue": t[1] || (t[1] = (l) => e.model = l)
16742
16824
  }, [
16743
- e.singleValue && !e.minimum ? (o(), d("option", QS, "None")) : _("", !0),
16825
+ e.singleValue && !e.minimum ? (o(), d("option", t2, "None")) : _("", !0),
16744
16826
  (o(!0), d(S, null, N(r.selectableOptions, (l) => (o(), d("option", {
16745
16827
  value: l.value
16746
- }, b(l.title), 9, e2))), 256))
16747
- ], 40, XS), [
16828
+ }, b(l.title), 9, n2))), 256))
16829
+ ], 40, e2), [
16748
16830
  [xt, e.model]
16749
16831
  ])
16750
16832
  ], 2);
16751
16833
  }
16752
- const n2 = /* @__PURE__ */ E(WS, [["render", t2], ["__scopeId", "data-v-ee74f64d"]]);
16753
- function r2(e) {
16834
+ const i2 = /* @__PURE__ */ E(ZS, [["render", r2], ["__scopeId", "data-v-ee74f64d"]]);
16835
+ function s2(e) {
16754
16836
  return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
16755
16837
  }
16756
- const i2 = {
16838
+ const a2 = {
16757
16839
  props: {
16758
16840
  title: {
16759
16841
  type: String
@@ -16769,7 +16851,7 @@ const i2 = {
16769
16851
  methods: {
16770
16852
  cleanOutput(e) {
16771
16853
  var t = this;
16772
- return r2(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
16854
+ return s2(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
16773
16855
  return t.getValue(n);
16774
16856
  }) : e = t.getValue(e), e;
16775
16857
  },
@@ -16822,33 +16904,33 @@ const i2 = {
16822
16904
  return this.actualOptions;
16823
16905
  }
16824
16906
  }
16825
- }, s2 = {
16907
+ }, l2 = {
16826
16908
  key: 0,
16827
16909
  class: "ux-field-title"
16828
- }, a2 = {
16910
+ }, o2 = {
16829
16911
  key: 0,
16830
16912
  class: "ux-required-marker"
16831
- }, l2 = {
16913
+ }, u2 = {
16832
16914
  key: 1,
16833
16915
  class: "ux-field-description"
16834
- }, o2 = {
16916
+ }, d2 = {
16835
16917
  key: 2,
16836
16918
  class: "ui-select-button"
16837
- }, u2 = ["multiple"], d2 = {
16919
+ }, c2 = ["multiple"], f2 = {
16838
16920
  key: 0,
16839
16921
  value: ""
16840
- }, c2 = ["value"];
16841
- function f2(e, t, n, i, s, r) {
16922
+ }, m2 = ["value"];
16923
+ function h2(e, t, n, i, s, r) {
16842
16924
  const a = y("ux-button");
16843
16925
  return o(), d("div", {
16844
16926
  class: P(["native-select", r.classes])
16845
16927
  }, [
16846
- e.showLabel ? (o(), d("label", s2, [
16928
+ e.showLabel ? (o(), d("label", l2, [
16847
16929
  O(b(e.label) + " ", 1),
16848
- e.required ? (o(), d("span", a2, "*")) : _("", !0)
16930
+ e.required ? (o(), d("span", o2, "*")) : _("", !0)
16849
16931
  ])) : _("", !0),
16850
- e.showDescription ? (o(), d("div", l2, b(e.description), 1)) : _("", !0),
16851
- e.singleValue ? (o(), d("div", o2, [
16932
+ e.showDescription ? (o(), d("div", u2, b(e.description), 1)) : _("", !0),
16933
+ e.singleValue ? (o(), d("div", d2, [
16852
16934
  G(e.$slots, "default", {}, () => [
16853
16935
  m(a, { tag: "div" }, {
16854
16936
  default: h(() => [
@@ -16863,16 +16945,16 @@ function f2(e, t, n, i, s, r) {
16863
16945
  multiple: e.multiValue,
16864
16946
  "onUpdate:modelValue": t[1] || (t[1] = (l) => e.model = l)
16865
16947
  }, [
16866
- e.singleValue && !e.minimum ? (o(), d("option", d2, "None")) : _("", !0),
16948
+ e.singleValue && !e.minimum ? (o(), d("option", f2, "None")) : _("", !0),
16867
16949
  (o(!0), d(S, null, N(r.selectableOptions, (l) => (o(), d("option", {
16868
16950
  value: l.value
16869
- }, b(l.title), 9, c2))), 256))
16870
- ], 40, u2), [
16951
+ }, b(l.title), 9, m2))), 256))
16952
+ ], 40, c2), [
16871
16953
  [xt, e.model]
16872
16954
  ])
16873
16955
  ], 2);
16874
16956
  }
16875
- const m2 = /* @__PURE__ */ E(i2, [["render", f2], ["__scopeId", "data-v-8801d1a0"]]);
16957
+ const p2 = /* @__PURE__ */ E(a2, [["render", h2], ["__scopeId", "data-v-8801d1a0"]]);
16876
16958
  function ni(e) {
16877
16959
  switch (String(e).toLowerCase()) {
16878
16960
  case "true":
@@ -16905,7 +16987,7 @@ function pn(e, t, n, i, s, r) {
16905
16987
  }
16906
16988
  return t;
16907
16989
  }
16908
- function h2(e, t) {
16990
+ function y2(e, t) {
16909
16991
  if (t)
16910
16992
  return t;
16911
16993
  function n(g) {
@@ -17000,10 +17082,10 @@ function ze(e) {
17000
17082
  return St.evaluateExpression(n, i);
17001
17083
  };
17002
17084
  }
17003
- const p2 = {
17085
+ const _2 = {
17004
17086
  components: {
17005
- InternalRouteSelect: n2,
17006
- InternalMenuSelect: m2,
17087
+ InternalRouteSelect: i2,
17088
+ InternalMenuSelect: p2,
17007
17089
  ButtonSelect: ek,
17008
17090
  NativeSelect: Lt,
17009
17091
  DateField: Kl,
@@ -17025,10 +17107,10 @@ const p2 = {
17025
17107
  Upload: M0,
17026
17108
  ObjectField: ok,
17027
17109
  OptionsManager: Ek,
17028
- CodeEditorField: Uk,
17029
- ExpressionField: Kk,
17030
- RichTextField: ax,
17031
- PaymentField: qS
17110
+ CodeEditorField: Rk,
17111
+ ExpressionField: Yk,
17112
+ RichTextField: ox,
17113
+ PaymentField: WS
17032
17114
  },
17033
17115
  props: {
17034
17116
  trail: {
@@ -17078,7 +17160,7 @@ const p2 = {
17078
17160
  isDirtyBeforeInput: !1
17079
17161
  };
17080
17162
  },
17081
- inject: ["parentFormElement", "additionalContext"],
17163
+ inject: ["parentFormElement", "directFormElement", "additionalContext"],
17082
17164
  provide() {
17083
17165
  return {
17084
17166
  fieldPath: this.fieldPath
@@ -17089,11 +17171,15 @@ const p2 = {
17089
17171
  },
17090
17172
  mounted() {
17091
17173
  const e = this;
17092
- e.mounted = !0, e.parentFormElement && e.parentFormElement.childFormElements && e.parentFormElement.childFormElements.push(e);
17174
+ e.mounted = !0, e.directFormElement && e.directFormElement.childFormElements && e.directFormElement.childFormElements.push(e), e.parentFormElement && e.parentFormElement.childFormElements && e.parentFormElement.childFormElements.push(e);
17093
17175
  },
17094
17176
  beforeUnmount() {
17095
17177
  const e = this;
17096
- if (e.mounted = !1, e.parentFormElement) {
17178
+ if (e.mounted = !1, e.directFormElement) {
17179
+ var t = e.directFormElement.childFormElements.indexOf(e);
17180
+ e.directFormElement.childFormElements.splice(t, 1);
17181
+ }
17182
+ if (e.parentFormElement) {
17097
17183
  var t = e.parentFormElement.childFormElements.indexOf(e);
17098
17184
  e.parentFormElement.childFormElements.splice(t, 1);
17099
17185
  }
@@ -17103,12 +17189,13 @@ const p2 = {
17103
17189
  var e = this.expressions && this.expressions.value ? this.getExpressionValue : void 0;
17104
17190
  if (e)
17105
17191
  return e;
17106
- var t = this.expressions && this.expressions.defaultValue ? this.getExpressionDefaultValue : void 0, n = h2(this.actualField), i = this.cleanInput(t || n);
17192
+ var t = this.expressions && this.expressions.defaultValue ? this.getExpressionDefaultValue : void 0, n = y2(this.actualField), i = this.cleanInput(t || n);
17107
17193
  return i;
17108
17194
  },
17109
17195
  checkDirtyState() {
17110
- var e = this.fieldModel, t = e || e === !1 || e === 0, n = this.fieldDefaultValue(), i = JSON.stringify(this.cleanOutput(e)), s = JSON.stringify(this.cleanOutput(n));
17111
- t && i != s ? (this.isDirty = !0, this.isDirtyBeforeInput = !0, this.fieldModel = e) : (this.isDirty = !1, this.isDirtyBeforeInput = !1, this.fieldModel = n);
17196
+ const e = this;
17197
+ var t = e.fieldModel, n = t || t === !1 || t === 0, i = e.fieldDefaultValue(), s = JSON.stringify(e.cleanOutput(t)), r = JSON.stringify(e.cleanOutput(i));
17198
+ n && s != r ? (e.isDirty = !0, e.isDirtyBeforeInput = !0, e.fieldModel = t) : (e.isDirty = !1, e.isDirtyBeforeInput = !1, e.fieldModel = i), e.validateResults = e.$sdk.content.validateField(e.fieldModel, e.actualField);
17112
17199
  },
17113
17200
  groupStateAltered(e) {
17114
17201
  this.subFormState = e;
@@ -17378,38 +17465,38 @@ const p2 = {
17378
17465
  return e;
17379
17466
  }
17380
17467
  }
17381
- }, y2 = {
17468
+ }, g2 = {
17382
17469
  key: 31,
17383
17470
  class: "ux-field-message"
17384
17471
  };
17385
- function _2(e, t, n, i, s, r) {
17386
- const a = y("internal-route-select"), l = y("internal-menu-select"), u = y("custom-html"), c = y("filter-input"), f = y("checkbox"), p = y("boolean-switch"), g = y("upload"), v = y("field-group"), x = y("field-select"), T = y("native-select"), A = y("button-select"), q = y("text-field"), Q = y("currency-field"), ne = y("date-field"), le = y("date-range"), oe = y("content-select"), B = y("type-select"), F = y("scope-select"), se = y("system-event-select"), z = y("rich-text-field"), Ve = y("text-area"), ke = y("timezone-select"), xe = y("phone-number-input"), Oe = y("object-field"), Te = y("payment-field"), Fe = y("options-manager"), Ee = y("code-editor-field"), mt = y("flex-column"), Qe = y("expression-field");
17472
+ function v2(e, t, n, i, s, r) {
17473
+ const a = y("internal-route-select"), l = y("internal-menu-select"), u = y("custom-html"), c = y("filter-input"), f = y("checkbox"), p = y("boolean-switch"), g = y("upload"), v = y("field-group"), x = y("field-select"), T = y("native-select"), A = y("button-select"), q = y("text-field"), Q = y("currency-field"), ne = y("date-field"), le = y("date-range"), oe = y("content-select"), B = y("type-select"), D = y("scope-select"), se = y("system-event-select"), z = y("rich-text-field"), Ve = y("text-area"), ke = y("timezone-select"), xe = y("phone-number-input"), Oe = y("object-field"), Te = y("payment-field"), De = y("options-manager"), Ee = y("code-editor-field"), mt = y("flex-column"), Qe = y("expression-field");
17387
17474
  return r.visible ? (o(), d("div", {
17388
17475
  key: 0,
17389
17476
  class: P(["ux-field", r.classes]),
17390
- onFocusin: t[30] || (t[30] = (...D) => r.focus && r.focus(...D)),
17391
- onFocusout: t[31] || (t[31] = (...D) => r.blur && r.blur(...D))
17477
+ onFocusin: t[30] || (t[30] = (...F) => r.focus && r.focus(...F)),
17478
+ onFocusout: t[31] || (t[31] = (...F) => r.blur && r.blur(...F))
17392
17479
  }, [
17393
17480
  r.widget == "internal-route" ? (o(), k(a, {
17394
17481
  key: 0,
17395
17482
  onTouched: r.touch,
17396
17483
  field: r.actualField,
17397
17484
  modelValue: r.fieldModel,
17398
- "onUpdate:modelValue": t[0] || (t[0] = (D) => r.fieldModel = D)
17485
+ "onUpdate:modelValue": t[0] || (t[0] = (F) => r.fieldModel = F)
17399
17486
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17400
17487
  r.widget == "internal-menu" ? (o(), k(l, {
17401
17488
  key: 1,
17402
17489
  onTouched: r.touch,
17403
17490
  field: r.actualField,
17404
17491
  modelValue: r.fieldModel,
17405
- "onUpdate:modelValue": t[1] || (t[1] = (D) => r.fieldModel = D)
17492
+ "onUpdate:modelValue": t[1] || (t[1] = (F) => r.fieldModel = F)
17406
17493
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17407
17494
  r.widget == "html" ? (o(), k(u, {
17408
17495
  key: 2,
17409
17496
  onTouched: r.touch,
17410
17497
  field: r.actualField,
17411
17498
  modelValue: r.fieldModel,
17412
- "onUpdate:modelValue": t[2] || (t[2] = (D) => r.fieldModel = D)
17499
+ "onUpdate:modelValue": t[2] || (t[2] = (F) => r.fieldModel = F)
17413
17500
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17414
17501
  r.widget == "value" ? (o(), d(S, { key: 3 }, [], 64)) : _("", !0),
17415
17502
  r.widget == "filter" ? (o(), k(c, {
@@ -17417,28 +17504,28 @@ function _2(e, t, n, i, s, r) {
17417
17504
  onTouched: r.touch,
17418
17505
  field: r.actualField,
17419
17506
  modelValue: r.fieldModel,
17420
- "onUpdate:modelValue": t[3] || (t[3] = (D) => r.fieldModel = D)
17507
+ "onUpdate:modelValue": t[3] || (t[3] = (F) => r.fieldModel = F)
17421
17508
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17422
17509
  r.widget == "checkbox" ? (o(), k(f, {
17423
17510
  key: 5,
17424
17511
  onTouched: r.touch,
17425
17512
  field: r.actualField,
17426
17513
  modelValue: r.fieldModel,
17427
- "onUpdate:modelValue": t[4] || (t[4] = (D) => r.fieldModel = D)
17514
+ "onUpdate:modelValue": t[4] || (t[4] = (F) => r.fieldModel = F)
17428
17515
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17429
17516
  r.widget == "switch" ? (o(), k(p, {
17430
17517
  key: 6,
17431
17518
  onTouched: r.touch,
17432
17519
  field: r.actualField,
17433
17520
  modelValue: r.fieldModel,
17434
- "onUpdate:modelValue": t[5] || (t[5] = (D) => r.fieldModel = D)
17521
+ "onUpdate:modelValue": t[5] || (t[5] = (F) => r.fieldModel = F)
17435
17522
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17436
17523
  r.widget == "upload" ? (o(), k(g, {
17437
17524
  key: 7,
17438
17525
  onTouched: r.touch,
17439
17526
  field: r.actualField,
17440
17527
  modelValue: r.fieldModel,
17441
- "onUpdate:modelValue": t[6] || (t[6] = (D) => r.fieldModel = D)
17528
+ "onUpdate:modelValue": t[6] || (t[6] = (F) => r.fieldModel = F)
17442
17529
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17443
17530
  r.widget == "group" ? (o(), d(S, { key: 8 }, [
17444
17531
  r.asObject ? (o(), k(v, {
@@ -17454,7 +17541,7 @@ function _2(e, t, n, i, s, r) {
17454
17541
  field: r.actualField,
17455
17542
  parentModel: n.parentModel,
17456
17543
  modelValue: r.fieldModel,
17457
- "onUpdate:modelValue": t[7] || (t[7] = (D) => r.fieldModel = D)
17544
+ "onUpdate:modelValue": t[7] || (t[7] = (F) => r.fieldModel = F)
17458
17545
  }, null, 8, ["trail", "paymentConfiguration", "includeOfficeOnly", "submission", "sandbox", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : (o(), k(v, {
17459
17546
  key: 1,
17460
17547
  trail: n.trail,
@@ -17468,7 +17555,7 @@ function _2(e, t, n, i, s, r) {
17468
17555
  field: r.actualField,
17469
17556
  parentModel: n.parentModel,
17470
17557
  modelValue: r.sourceModel,
17471
- "onUpdate:modelValue": t[8] || (t[8] = (D) => r.sourceModel = D)
17558
+ "onUpdate:modelValue": t[8] || (t[8] = (F) => r.sourceModel = F)
17472
17559
  }, null, 8, ["trail", "paymentConfiguration", "includeOfficeOnly", "submission", "sandbox", "onForm:state", "onTouched", "field", "parentModel", "modelValue"]))
17473
17560
  ], 64)) : _("", !0),
17474
17561
  r.widget == "form" ? (o(), k(v, {
@@ -17484,112 +17571,112 @@ function _2(e, t, n, i, s, r) {
17484
17571
  field: r.actualField,
17485
17572
  parentModel: n.parentModel,
17486
17573
  modelValue: r.fieldModel,
17487
- "onUpdate:modelValue": t[9] || (t[9] = (D) => r.fieldModel = D)
17574
+ "onUpdate:modelValue": t[9] || (t[9] = (F) => r.fieldModel = F)
17488
17575
  }, null, 8, ["trail", "paymentConfiguration", "includeOfficeOnly", "submission", "sandbox", "onForm:state", "onTouched", "field", "parentModel", "modelValue"])) : _("", !0),
17489
17576
  r.widget == "field-select" ? (o(), k(x, {
17490
17577
  key: 10,
17491
17578
  onTouched: r.touch,
17492
17579
  field: r.actualField,
17493
17580
  modelValue: r.fieldModel,
17494
- "onUpdate:modelValue": t[10] || (t[10] = (D) => r.fieldModel = D)
17581
+ "onUpdate:modelValue": t[10] || (t[10] = (F) => r.fieldModel = F)
17495
17582
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17496
17583
  r.widget == "select" ? (o(), k(T, {
17497
17584
  key: 11,
17498
17585
  onTouched: r.touch,
17499
17586
  field: r.actualField,
17500
17587
  modelValue: r.fieldModel,
17501
- "onUpdate:modelValue": t[11] || (t[11] = (D) => r.fieldModel = D)
17588
+ "onUpdate:modelValue": t[11] || (t[11] = (F) => r.fieldModel = F)
17502
17589
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17503
17590
  r.widget == "button" ? (o(), k(A, {
17504
17591
  key: 12,
17505
17592
  onTouched: r.touch,
17506
17593
  field: r.actualField,
17507
17594
  modelValue: r.fieldModel,
17508
- "onUpdate:modelValue": t[12] || (t[12] = (D) => r.fieldModel = D)
17595
+ "onUpdate:modelValue": t[12] || (t[12] = (F) => r.fieldModel = F)
17509
17596
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17510
17597
  r.widget == "textfield" ? (o(), k(q, {
17511
17598
  key: 13,
17512
17599
  onTouched: r.touch,
17513
17600
  field: r.actualField,
17514
17601
  modelValue: r.fieldModel,
17515
- "onUpdate:modelValue": t[13] || (t[13] = (D) => r.fieldModel = D)
17602
+ "onUpdate:modelValue": t[13] || (t[13] = (F) => r.fieldModel = F)
17516
17603
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17517
17604
  r.widget == "currency" ? (o(), k(Q, {
17518
17605
  key: 14,
17519
17606
  onTouched: r.touch,
17520
17607
  field: r.actualField,
17521
17608
  modelValue: r.fieldModel,
17522
- "onUpdate:modelValue": t[14] || (t[14] = (D) => r.fieldModel = D)
17609
+ "onUpdate:modelValue": t[14] || (t[14] = (F) => r.fieldModel = F)
17523
17610
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17524
17611
  r.widget == "datefield" ? (o(), k(ne, {
17525
17612
  key: 15,
17526
17613
  onTouched: r.touch,
17527
17614
  field: r.actualField,
17528
17615
  modelValue: r.fieldModel,
17529
- "onUpdate:modelValue": t[15] || (t[15] = (D) => r.fieldModel = D)
17616
+ "onUpdate:modelValue": t[15] || (t[15] = (F) => r.fieldModel = F)
17530
17617
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17531
17618
  r.widget == "daterange" ? (o(), k(le, {
17532
17619
  key: 16,
17533
17620
  onTouched: r.touch,
17534
17621
  field: r.actualField,
17535
17622
  modelValue: r.fieldModel,
17536
- "onUpdate:modelValue": t[16] || (t[16] = (D) => r.fieldModel = D)
17623
+ "onUpdate:modelValue": t[16] || (t[16] = (F) => r.fieldModel = F)
17537
17624
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17538
17625
  r.widget == "content-select" ? (o(), k(oe, {
17539
17626
  key: 17,
17540
17627
  onTouched: r.touch,
17541
17628
  field: r.actualField,
17542
17629
  modelValue: r.fieldModel,
17543
- "onUpdate:modelValue": t[17] || (t[17] = (D) => r.fieldModel = D)
17630
+ "onUpdate:modelValue": t[17] || (t[17] = (F) => r.fieldModel = F)
17544
17631
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17545
17632
  r.widget == "type-select" ? (o(), k(B, {
17546
17633
  key: 18,
17547
17634
  onTouched: r.touch,
17548
17635
  field: r.actualField,
17549
17636
  modelValue: r.fieldModel,
17550
- "onUpdate:modelValue": t[18] || (t[18] = (D) => r.fieldModel = D)
17637
+ "onUpdate:modelValue": t[18] || (t[18] = (F) => r.fieldModel = F)
17551
17638
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17552
- r.widget == "scope-select" ? (o(), k(F, {
17639
+ r.widget == "scope-select" ? (o(), k(D, {
17553
17640
  key: 19,
17554
17641
  onTouched: r.touch,
17555
17642
  field: r.actualField,
17556
17643
  modelValue: r.fieldModel,
17557
- "onUpdate:modelValue": t[19] || (t[19] = (D) => r.fieldModel = D)
17644
+ "onUpdate:modelValue": t[19] || (t[19] = (F) => r.fieldModel = F)
17558
17645
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17559
17646
  r.widget == "system-select" ? (o(), k(se, {
17560
17647
  key: 20,
17561
17648
  onTouched: r.touch,
17562
17649
  field: r.actualField,
17563
17650
  modelValue: r.fieldModel,
17564
- "onUpdate:modelValue": t[20] || (t[20] = (D) => r.fieldModel = D)
17651
+ "onUpdate:modelValue": t[20] || (t[20] = (F) => r.fieldModel = F)
17565
17652
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17566
17653
  r.widget == "richtext" ? (o(), k(z, {
17567
17654
  key: 21,
17568
17655
  onTouched: r.touch,
17569
17656
  field: r.actualField,
17570
17657
  modelValue: r.fieldModel,
17571
- "onUpdate:modelValue": t[21] || (t[21] = (D) => r.fieldModel = D)
17658
+ "onUpdate:modelValue": t[21] || (t[21] = (F) => r.fieldModel = F)
17572
17659
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17573
17660
  r.widget == "textarea" ? (o(), k(Ve, {
17574
17661
  key: 22,
17575
17662
  onTouched: r.touch,
17576
17663
  field: r.actualField,
17577
17664
  modelValue: r.fieldModel,
17578
- "onUpdate:modelValue": t[22] || (t[22] = (D) => r.fieldModel = D)
17665
+ "onUpdate:modelValue": t[22] || (t[22] = (F) => r.fieldModel = F)
17579
17666
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17580
17667
  r.widget == "timezone" ? (o(), k(ke, {
17581
17668
  key: 23,
17582
17669
  onTouched: r.touch,
17583
17670
  field: r.actualField,
17584
17671
  modelValue: r.fieldModel,
17585
- "onUpdate:modelValue": t[23] || (t[23] = (D) => r.fieldModel = D)
17672
+ "onUpdate:modelValue": t[23] || (t[23] = (F) => r.fieldModel = F)
17586
17673
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17587
17674
  r.widget == "phone" ? (o(), k(xe, {
17588
17675
  key: 24,
17589
17676
  onTouched: r.touch,
17590
17677
  field: r.actualField,
17591
17678
  modelValue: r.fieldModel,
17592
- "onUpdate:modelValue": t[24] || (t[24] = (D) => r.fieldModel = D)
17679
+ "onUpdate:modelValue": t[24] || (t[24] = (F) => r.fieldModel = F)
17593
17680
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17594
17681
  r.widget == "value" ? (o(), d(S, { key: 25 }, [], 64)) : _("", !0),
17595
17682
  r.widget == "object" ? (o(), k(Oe, {
@@ -17597,7 +17684,7 @@ function _2(e, t, n, i, s, r) {
17597
17684
  onTouched: r.touch,
17598
17685
  field: r.actualField,
17599
17686
  modelValue: r.fieldModel,
17600
- "onUpdate:modelValue": t[25] || (t[25] = (D) => r.fieldModel = D)
17687
+ "onUpdate:modelValue": t[25] || (t[25] = (F) => r.fieldModel = F)
17601
17688
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17602
17689
  r.widget == "payment" ? (o(), k(Te, {
17603
17690
  key: 27,
@@ -17608,14 +17695,14 @@ function _2(e, t, n, i, s, r) {
17608
17695
  onTouched: r.touch,
17609
17696
  parentModel: n.parentModel,
17610
17697
  modelValue: r.fieldModel,
17611
- "onUpdate:modelValue": t[26] || (t[26] = (D) => r.fieldModel = D)
17698
+ "onUpdate:modelValue": t[26] || (t[26] = (F) => r.fieldModel = F)
17612
17699
  }, null, 8, ["sandbox", "configuration", "onForm:state", "field", "onTouched", "parentModel", "modelValue"])) : _("", !0),
17613
- r.widget == "options" ? (o(), k(Fe, {
17700
+ r.widget == "options" ? (o(), k(De, {
17614
17701
  key: 28,
17615
17702
  onTouched: r.touch,
17616
17703
  field: r.actualField,
17617
17704
  modelValue: r.fieldModel,
17618
- "onUpdate:modelValue": t[27] || (t[27] = (D) => r.fieldModel = D)
17705
+ "onUpdate:modelValue": t[27] || (t[27] = (F) => r.fieldModel = F)
17619
17706
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17620
17707
  r.widget == "code" ? (o(), k(mt, {
17621
17708
  key: 29,
@@ -17626,7 +17713,7 @@ function _2(e, t, n, i, s, r) {
17626
17713
  onTouched: r.touch,
17627
17714
  field: r.actualField,
17628
17715
  modelValue: r.fieldModel,
17629
- "onUpdate:modelValue": t[28] || (t[28] = (D) => r.fieldModel = D)
17716
+ "onUpdate:modelValue": t[28] || (t[28] = (F) => r.fieldModel = F)
17630
17717
  }, null, 8, ["onTouched", "field", "modelValue"])
17631
17718
  ]),
17632
17719
  _: 1
@@ -17636,25 +17723,25 @@ function _2(e, t, n, i, s, r) {
17636
17723
  onTouched: r.touch,
17637
17724
  field: r.actualField,
17638
17725
  modelValue: r.fieldModel,
17639
- "onUpdate:modelValue": t[29] || (t[29] = (D) => r.fieldModel = D)
17726
+ "onUpdate:modelValue": t[29] || (t[29] = (F) => r.fieldModel = F)
17640
17727
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
17641
- r.error && s.validateResults.message ? (o(), d("div", y2, b(s.validateResults.message), 1)) : _("", !0)
17728
+ r.error && s.validateResults.message ? (o(), d("div", g2, b(s.validateResults.message), 1)) : _("", !0)
17642
17729
  ], 34)) : _("", !0);
17643
17730
  }
17644
- const Ui = /* @__PURE__ */ E(p2, [["render", _2], ["__scopeId", "data-v-5bc3dd87"]]);
17645
- function g2(e, t, n, i) {
17731
+ const Ui = /* @__PURE__ */ E(_2, [["render", v2], ["__scopeId", "data-v-d8a30368"]]);
17732
+ function b2(e, t, n, i) {
17646
17733
  var s = -1, r = e == null ? 0 : e.length;
17647
17734
  for (i && r && (n = e[++s]); ++s < r; )
17648
17735
  n = t(n, e[s], s, e);
17649
17736
  return n;
17650
17737
  }
17651
- var v2 = g2;
17652
- function b2(e) {
17738
+ var k2 = b2;
17739
+ function x2(e) {
17653
17740
  return function(t) {
17654
17741
  return e == null ? void 0 : e[t];
17655
17742
  };
17656
17743
  }
17657
- var k2 = b2, x2 = k2, w2 = {
17744
+ var w2 = x2, S2 = w2, O2 = {
17658
17745
  // Latin-1 Supplement block.
17659
17746
  À: "A",
17660
17747
  Á: "A",
@@ -17847,45 +17934,45 @@ var k2 = b2, x2 = k2, w2 = {
17847
17934
  œ: "oe",
17848
17935
  ʼn: "'n",
17849
17936
  ſ: "s"
17850
- }, S2 = x2(w2), O2 = S2, T2 = O2, E2 = Ti, C2 = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, V2 = "\\u0300-\\u036f", A2 = "\\ufe20-\\ufe2f", M2 = "\\u20d0-\\u20ff", I2 = V2 + A2 + M2, D2 = "[" + I2 + "]", F2 = RegExp(D2, "g");
17851
- function $2(e) {
17852
- return e = E2(e), e && e.replace(C2, T2).replace(F2, "");
17937
+ }, T2 = S2(O2), E2 = T2, C2 = E2, V2 = Ti, A2 = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, M2 = "\\u0300-\\u036f", I2 = "\\ufe20-\\ufe2f", F2 = "\\u20d0-\\u20ff", D2 = M2 + I2 + F2, $2 = "[" + D2 + "]", N2 = RegExp($2, "g");
17938
+ function L2(e) {
17939
+ return e = V2(e), e && e.replace(A2, C2).replace(N2, "");
17853
17940
  }
17854
- var N2 = $2, L2 = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
17855
- function P2(e) {
17856
- return e.match(L2) || [];
17941
+ var P2 = L2, U2 = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
17942
+ function j2(e) {
17943
+ return e.match(U2) || [];
17857
17944
  }
17858
- var U2 = P2, j2 = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
17859
- function R2(e) {
17860
- return j2.test(e);
17945
+ var R2 = j2, B2 = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
17946
+ function z2(e) {
17947
+ return B2.test(e);
17861
17948
  }
17862
- var B2 = R2, Ql = "\\ud800-\\udfff", z2 = "\\u0300-\\u036f", H2 = "\\ufe20-\\ufe2f", q2 = "\\u20d0-\\u20ff", G2 = z2 + H2 + q2, eo = "\\u2700-\\u27bf", to = "a-z\\xdf-\\xf6\\xf8-\\xff", W2 = "\\xac\\xb1\\xd7\\xf7", K2 = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Z2 = "\\u2000-\\u206f", Y2 = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", no = "A-Z\\xc0-\\xd6\\xd8-\\xde", J2 = "\\ufe0e\\ufe0f", ro = W2 + K2 + Z2 + Y2, io = "['’]", Xs = "[" + ro + "]", X2 = "[" + G2 + "]", so = "\\d+", Q2 = "[" + eo + "]", ao = "[" + to + "]", lo = "[^" + Ql + ro + so + eo + to + no + "]", eO = "\\ud83c[\\udffb-\\udfff]", tO = "(?:" + X2 + "|" + eO + ")", nO = "[^" + Ql + "]", oo = "(?:\\ud83c[\\udde6-\\uddff]){2}", uo = "[\\ud800-\\udbff][\\udc00-\\udfff]", Gt = "[" + no + "]", rO = "\\u200d", Qs = "(?:" + ao + "|" + lo + ")", iO = "(?:" + Gt + "|" + lo + ")", ea = "(?:" + io + "(?:d|ll|m|re|s|t|ve))?", ta = "(?:" + io + "(?:D|LL|M|RE|S|T|VE))?", co = tO + "?", fo = "[" + J2 + "]?", sO = "(?:" + rO + "(?:" + [nO, oo, uo].join("|") + ")" + fo + co + ")*", aO = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", lO = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", oO = fo + co + sO, uO = "(?:" + [Q2, oo, uo].join("|") + ")" + oO, dO = RegExp([
17949
+ var H2 = z2, Ql = "\\ud800-\\udfff", q2 = "\\u0300-\\u036f", G2 = "\\ufe20-\\ufe2f", W2 = "\\u20d0-\\u20ff", K2 = q2 + G2 + W2, eo = "\\u2700-\\u27bf", to = "a-z\\xdf-\\xf6\\xf8-\\xff", Z2 = "\\xac\\xb1\\xd7\\xf7", Y2 = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", J2 = "\\u2000-\\u206f", X2 = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", no = "A-Z\\xc0-\\xd6\\xd8-\\xde", Q2 = "\\ufe0e\\ufe0f", ro = Z2 + Y2 + J2 + X2, io = "['’]", Xs = "[" + ro + "]", eO = "[" + K2 + "]", so = "\\d+", tO = "[" + eo + "]", ao = "[" + to + "]", lo = "[^" + Ql + ro + so + eo + to + no + "]", nO = "\\ud83c[\\udffb-\\udfff]", rO = "(?:" + eO + "|" + nO + ")", iO = "[^" + Ql + "]", oo = "(?:\\ud83c[\\udde6-\\uddff]){2}", uo = "[\\ud800-\\udbff][\\udc00-\\udfff]", Gt = "[" + no + "]", sO = "\\u200d", Qs = "(?:" + ao + "|" + lo + ")", aO = "(?:" + Gt + "|" + lo + ")", ea = "(?:" + io + "(?:d|ll|m|re|s|t|ve))?", ta = "(?:" + io + "(?:D|LL|M|RE|S|T|VE))?", co = rO + "?", fo = "[" + Q2 + "]?", lO = "(?:" + sO + "(?:" + [iO, oo, uo].join("|") + ")" + fo + co + ")*", oO = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", uO = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", dO = fo + co + lO, cO = "(?:" + [tO, oo, uo].join("|") + ")" + dO, fO = RegExp([
17863
17950
  Gt + "?" + ao + "+" + ea + "(?=" + [Xs, Gt, "$"].join("|") + ")",
17864
- iO + "+" + ta + "(?=" + [Xs, Gt + Qs, "$"].join("|") + ")",
17951
+ aO + "+" + ta + "(?=" + [Xs, Gt + Qs, "$"].join("|") + ")",
17865
17952
  Gt + "?" + Qs + "+" + ea,
17866
17953
  Gt + "+" + ta,
17867
- lO,
17868
- aO,
17954
+ uO,
17955
+ oO,
17869
17956
  so,
17870
- uO
17957
+ cO
17871
17958
  ].join("|"), "g");
17872
- function cO(e) {
17873
- return e.match(dO) || [];
17959
+ function mO(e) {
17960
+ return e.match(fO) || [];
17874
17961
  }
17875
- var fO = cO, mO = U2, hO = B2, pO = Ti, yO = fO;
17876
- function _O(e, t, n) {
17877
- return e = pO(e), t = n ? void 0 : t, t === void 0 ? hO(e) ? yO(e) : mO(e) : e.match(t) || [];
17962
+ var hO = mO, pO = R2, yO = H2, _O = Ti, gO = hO;
17963
+ function vO(e, t, n) {
17964
+ return e = _O(e), t = n ? void 0 : t, t === void 0 ? yO(e) ? gO(e) : pO(e) : e.match(t) || [];
17878
17965
  }
17879
- var gO = _O, vO = v2, bO = N2, kO = gO, xO = "['’]", wO = RegExp(xO, "g");
17880
- function SO(e) {
17966
+ var bO = vO, kO = k2, xO = P2, wO = bO, SO = "['’]", OO = RegExp(SO, "g");
17967
+ function TO(e) {
17881
17968
  return function(t) {
17882
- return vO(kO(bO(t).replace(wO, "")), e, "");
17969
+ return kO(wO(xO(t).replace(OO, "")), e, "");
17883
17970
  };
17884
17971
  }
17885
- var OO = SO, TO = OO, EO = TO(function(e, t, n) {
17972
+ var EO = TO, CO = EO, VO = CO(function(e, t, n) {
17886
17973
  return e + (n ? "-" : "") + t.toLowerCase();
17887
- }), CO = EO;
17888
- const VO = {
17974
+ }), AO = VO;
17975
+ const MO = {
17889
17976
  props: {
17890
17977
  parentModel: {
17891
17978
  type: Object
@@ -17951,8 +18038,8 @@ const VO = {
17951
18038
  },
17952
18039
  provide() {
17953
18040
  return {
17954
- parentFormElement: this.parentFormElement || this
17955
- // :computed(() => parentFormElement),
18041
+ parentFormElement: this.parentFormElement || this,
18042
+ directFormElement: this
17956
18043
  };
17957
18044
  },
17958
18045
  mounted() {
@@ -17965,7 +18052,7 @@ const VO = {
17965
18052
  },
17966
18053
  methods: {
17967
18054
  getFieldKey(e) {
17968
- let t = CO(`${e.title}-${e.key}`);
18055
+ let t = AO(`${e.title}-${e.key}`);
17969
18056
  return e.incrementor && (t = `${t}-${e.incrementor}`), t;
17970
18057
  },
17971
18058
  touch() {
@@ -18014,13 +18101,14 @@ const VO = {
18014
18101
  var n = this;
18015
18102
  n.$nextTick(function() {
18016
18103
  var i = !1, s = !1, r = !1, a = !1, l = !1, u = [];
18017
- n.childFormElements.forEach(function(c) {
18018
- c.dirty && (i = !0), c.invalid && (s = !0, u.push({
18019
- title: c.field.title,
18020
- key: c.field.key,
18021
- message: c.invalidMessage
18022
- })), c.error && (r = !0), c.touched && (a = !0), c.focussed && (l = !0);
18023
- }), n.dirty = i, n.error = r, n.touched = a, n.focussed = l, n.invalid = s, n.$emit("form:state", {
18104
+ n.childFormElements.forEach(function(f) {
18105
+ f.dirty && (i = !0), f.invalid && (s = !0, u.push({
18106
+ title: f.field.title,
18107
+ key: f.field.key,
18108
+ message: f.invalidMessage
18109
+ })), f.error && (r = !0), f.touched && (a = !0), f.focussed && (l = !0);
18110
+ }), n.dirty = i, n.error = r, n.touched = a, n.focussed = l, n.invalid = s;
18111
+ const c = {
18024
18112
  dirty: i,
18025
18113
  error: r,
18026
18114
  focussed: l,
@@ -18028,7 +18116,8 @@ const VO = {
18028
18116
  invalid: s,
18029
18117
  valid: !s,
18030
18118
  invalidFields: u
18031
- });
18119
+ };
18120
+ n.$emit("form:state", c);
18032
18121
  });
18033
18122
  }
18034
18123
  },
@@ -18071,7 +18160,7 @@ const VO = {
18071
18160
  }
18072
18161
  }
18073
18162
  };
18074
- function AO(e, t, n, i, s, r) {
18163
+ function IO(e, t, n, i, s, r) {
18075
18164
  const a = y("ux-field");
18076
18165
  return o(), d("div", {
18077
18166
  class: P(["ux-form", r.formClass])
@@ -18107,8 +18196,8 @@ function AO(e, t, n, i, s, r) {
18107
18196
  ], !0)
18108
18197
  ], 2);
18109
18198
  }
18110
- const mo = /* @__PURE__ */ E(VO, [["render", AO], ["__scopeId", "data-v-0c0fabcf"]]);
18111
- const ri = "form.ready", MO = "form.processing", na = "form.complete", ra = "form.error", IO = "form.intent", DO = {
18199
+ const mo = /* @__PURE__ */ E(MO, [["render", IO], ["__scopeId", "data-v-3e8fe3c2"]]);
18200
+ const ri = "form.ready", FO = "form.processing", na = "form.complete", ra = "form.error", DO = "form.intent", $O = {
18112
18201
  methods: {
18113
18202
  formStateUpdated(e) {
18114
18203
  this.formState = e;
@@ -18152,7 +18241,7 @@ const ri = "form.ready", MO = "form.processing", na = "form.complete", ra = "for
18152
18241
  console.log("Form is invalid", this.formState);
18153
18242
  return;
18154
18243
  }
18155
- e.processing = !0, e.state = MO, e.$emit("processing");
18244
+ e.processing = !0, e.state = FO, e.$emit("processing");
18156
18245
  const { submission: t, error: n } = await e.preSubmit(e.model);
18157
18246
  if (n)
18158
18247
  return console.log("pre submit error", n), r(n);
@@ -18173,7 +18262,7 @@ const ri = "form.ready", MO = "form.processing", na = "form.complete", ra = "for
18173
18262
  await e.$sdk.utils.loadExternalScript("https://js.stripe.com/v3/");
18174
18263
  break;
18175
18264
  }
18176
- e.state = IO, e.processing = !1, e.$emit("intent", a);
18265
+ e.state = DO, e.processing = !1, e.$emit("intent", a);
18177
18266
  }
18178
18267
  async function s(a) {
18179
18268
  await e.postSubmit(a), e.processing = !1, e.state = na, e.$emit("success", a);
@@ -18335,21 +18424,21 @@ const ri = "form.ready", MO = "form.processing", na = "form.complete", ra = "for
18335
18424
  return this.form.fields || [];
18336
18425
  }
18337
18426
  }
18338
- }, FO = (e) => (st("data-v-e1ea11cb"), e = e(), at(), e), $O = /* @__PURE__ */ FO(() => /* @__PURE__ */ w("h3", null, "An error occurred", -1)), NO = { key: 0 }, LO = { key: 1 }, PO = { key: 2 }, UO = { class: "intent-submit" }, jO = ["tooltip"];
18339
- function RO(e, t, n, i, s, r) {
18427
+ }, NO = (e) => (st("data-v-e1ea11cb"), e = e(), at(), e), LO = /* @__PURE__ */ NO(() => /* @__PURE__ */ w("h3", null, "An error occurred", -1)), PO = { key: 0 }, UO = { key: 1 }, jO = { key: 2 }, RO = { class: "intent-submit" }, BO = ["tooltip"];
18428
+ function zO(e, t, n, i, s, r) {
18340
18429
  var v;
18341
18430
  const a = y("ux-icon"), l = y("ux-button"), u = y("ux-panel-body"), c = y("ux-panel"), f = y("StripeElement"), p = y("StripeElements"), g = y("ux-form");
18342
18431
  return o(), d("div", {
18343
18432
  class: P(["ux-submission-form", r.classes])
18344
18433
  }, [
18345
18434
  s.state === "form.error" ? (o(), d(S, { key: 0 }, [
18346
- $O,
18347
- s.error.message ? (o(), d("pre", NO, b(s.error.message), 1)) : _("", !0),
18348
- (v = s.error.data) != null && v.errors ? (o(), d("div", LO, [
18435
+ LO,
18436
+ s.error.message ? (o(), d("pre", PO, b(s.error.message), 1)) : _("", !0),
18437
+ (v = s.error.data) != null && v.errors ? (o(), d("div", UO, [
18349
18438
  (o(!0), d(S, null, N(s.error.data.errors, (x) => (o(), d("pre", {
18350
18439
  key: x.path
18351
18440
  }, b(x.message), 1))), 128))
18352
- ])) : (o(), d("pre", PO, b(s.error), 1)),
18441
+ ])) : (o(), d("pre", jO, b(s.error), 1)),
18353
18442
  m(l, {
18354
18443
  color: "primary",
18355
18444
  onClick: r.softReset
@@ -18403,7 +18492,7 @@ function RO(e, t, n, i, s, r) {
18403
18492
  ]),
18404
18493
  _: 1
18405
18494
  }, 8, ["stripe-key", "instance-options", "elements-options"])) : _("", !0),
18406
- w("div", UO, [
18495
+ w("div", RO, [
18407
18496
  m(l, {
18408
18497
  color: "primary",
18409
18498
  onClick: r.confirmIntention
@@ -18438,12 +18527,12 @@ function RO(e, t, n, i, s, r) {
18438
18527
  ]),
18439
18528
  _: 1
18440
18529
  }, 8, ["disabled", "onClick", "loading"])
18441
- ], 8, jO)
18530
+ ], 8, BO)
18442
18531
  ], 64))
18443
18532
  ], 2);
18444
18533
  }
18445
- const ia = /* @__PURE__ */ E(DO, [["render", RO], ["__scopeId", "data-v-e1ea11cb"]]);
18446
- const BO = {
18534
+ const ia = /* @__PURE__ */ E($O, [["render", zO], ["__scopeId", "data-v-e1ea11cb"]]);
18535
+ const HO = {
18447
18536
  props: {
18448
18537
  modelValue: {
18449
18538
  type: String
@@ -18504,14 +18593,14 @@ const BO = {
18504
18593
  }
18505
18594
  }
18506
18595
  }
18507
- }, zO = { class: "search" }, HO = ["placeholder"];
18508
- function qO(e, t, n, i, s, r) {
18596
+ }, qO = { class: "search" }, GO = ["placeholder"];
18597
+ function WO(e, t, n, i, s, r) {
18509
18598
  const a = y("ux-icon");
18510
- return o(), d("div", zO, [
18599
+ return o(), d("div", qO, [
18511
18600
  X(w("input", {
18512
18601
  "onUpdate:modelValue": t[0] || (t[0] = (l) => r.model = l),
18513
18602
  placeholder: n.placeholder
18514
- }, null, 8, HO), [
18603
+ }, null, 8, GO), [
18515
18604
  [ge, r.model]
18516
18605
  ]),
18517
18606
  w("div", {
@@ -18522,7 +18611,7 @@ function qO(e, t, n, i, s, r) {
18522
18611
  ])
18523
18612
  ]);
18524
18613
  }
18525
- const ho = /* @__PURE__ */ E(BO, [["render", qO], ["__scopeId", "data-v-d88923bc"]]), GO = {
18614
+ const ho = /* @__PURE__ */ E(HO, [["render", WO], ["__scopeId", "data-v-d88923bc"]]), KO = {
18526
18615
  props: {
18527
18616
  field: {
18528
18617
  type: Object,
@@ -18603,8 +18692,8 @@ const ho = /* @__PURE__ */ E(BO, [["render", qO], ["__scopeId", "data-v-d88923bc
18603
18692
  }
18604
18693
  }
18605
18694
  };
18606
- const WO = {
18607
- mixins: [GO],
18695
+ const ZO = {
18696
+ mixins: [KO],
18608
18697
  props: {
18609
18698
  modelValue: {
18610
18699
  type: [Object, Array]
@@ -18624,13 +18713,13 @@ const WO = {
18624
18713
  return `${this.label} ${t + 1}`;
18625
18714
  }
18626
18715
  }
18627
- }, KO = {
18716
+ }, YO = {
18628
18717
  key: 0,
18629
18718
  class: "ux-multi-group"
18630
18719
  };
18631
- function ZO(e, t, n, i, s, r) {
18720
+ function JO(e, t, n, i, s, r) {
18632
18721
  const a = y("flex-cell"), l = y("flex-row"), u = y("ux-panel-header"), c = y("ux-render"), f = y("ux-panel-body"), p = y("ux-panel");
18633
- return e.multiValue ? (o(), d("div", KO, [
18722
+ return e.multiValue ? (o(), d("div", YO, [
18634
18723
  (o(!0), d(S, null, N(e.model, (g, v) => (o(), k(p, {
18635
18724
  ref_for: !0,
18636
18725
  ref: "row",
@@ -18681,11 +18770,11 @@ function ZO(e, t, n, i, s, r) {
18681
18770
  "onUpdate:modelValue": t[0] || (t[0] = (g) => e.model = g)
18682
18771
  }, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue"]));
18683
18772
  }
18684
- const YO = /* @__PURE__ */ E(WO, [["render", ZO], ["__scopeId", "data-v-cb997d0e"]]);
18685
- const JO = {
18773
+ const XO = /* @__PURE__ */ E(ZO, [["render", JO], ["__scopeId", "data-v-cb997d0e"]]);
18774
+ const QO = {
18686
18775
  components: {
18687
18776
  Item: wl,
18688
- FieldGroup: YO,
18777
+ FieldGroup: XO,
18689
18778
  // Compiler,
18690
18779
  Compile: $i
18691
18780
  // ButtonSelect,
@@ -18892,17 +18981,17 @@ const JO = {
18892
18981
  return e;
18893
18982
  }
18894
18983
  }
18895
- }, XO = { class: "ux-field-title" }, QO = { class: "currency" }, eT = { key: 1 }, tT = { class: "currency" }, nT = { key: 1 }, rT = {
18984
+ }, eT = { class: "ux-field-title" }, tT = { class: "currency" }, nT = { key: 1 }, rT = { class: "currency" }, iT = { key: 1 }, sT = {
18896
18985
  key: 4,
18897
18986
  class: "ux-password-render"
18898
- }, iT = ["type", "value"], sT = ["type", "value"], aT = { key: 1 }, lT = { key: 1 }, oT = ["href"], uT = { key: 1 }, dT = ["href"], cT = ["href"], fT = { key: 1 }, mT = ["href"], hT = { key: 1 };
18899
- function pT(e, t, n, i, s, r) {
18987
+ }, aT = ["type", "value"], lT = ["type", "value"], oT = { key: 1 }, uT = { key: 1 }, dT = ["href"], cT = { key: 1 }, fT = ["href"], mT = ["href"], hT = { key: 1 }, pT = ["href"], yT = { key: 1 };
18988
+ function _T(e, t, n, i, s, r) {
18900
18989
  const a = y("field-group"), l = y("v-ace-editor"), u = y("flex-cell"), c = y("ux-icon"), f = y("ux-button"), p = y("flex-row"), g = y("item"), v = y("compile");
18901
18990
  return r.visible ? (o(), d("div", {
18902
18991
  key: 0,
18903
18992
  class: P(["ux-field-render", r.classes])
18904
18993
  }, [
18905
- w("label", XO, b(r.title), 1),
18994
+ w("label", eT, b(r.title), 1),
18906
18995
  r.widget === "group" ? (o(), d(S, { key: 0 }, [
18907
18996
  r.asObject ? (o(), k(a, {
18908
18997
  key: 0,
@@ -18929,10 +19018,10 @@ function pT(e, t, n, i, s, r) {
18929
19018
  }, null, 8, ["submission", "field", "parentModel", "modelValue"])) : r.widget === "currency" ? (o(), d(S, { key: 2 }, [
18930
19019
  r.multiValue ? (o(!0), d(S, { key: 0 }, N(r.fieldModel, (x, T) => (o(), d("div", null, [
18931
19020
  O(b(r.formatCurrency(x)) + " ", 1),
18932
- w("span", QO, b(n.field.currency), 1)
18933
- ]))), 256)) : (o(), d("div", eT, [
18934
- O(b(r.formatCurrency(r.fieldModel)) + " ", 1),
18935
19021
  w("span", tT, b(n.field.currency), 1)
19022
+ ]))), 256)) : (o(), d("div", nT, [
19023
+ O(b(r.formatCurrency(r.fieldModel)) + " ", 1),
19024
+ w("span", rT, b(n.field.currency), 1)
18936
19025
  ]))
18937
19026
  ], 64)) : r.widget === "code" ? (o(), d(S, { key: 3 }, [
18938
19027
  r.multiValue ? (o(!0), d(S, { key: 0 }, N(r.fieldModel, (x, T) => (o(), d("div", null, [
@@ -18945,7 +19034,7 @@ function pT(e, t, n, i, s, r) {
18945
19034
  theme: "tomorrow_night_eighties",
18946
19035
  style: { "min-height": "300px" }
18947
19036
  }, null, 8, ["value", "lang"])
18948
- ]))), 256)) : (o(), d("div", nT, [
19037
+ ]))), 256)) : (o(), d("div", iT, [
18949
19038
  m(l, {
18950
19039
  readonly: !0,
18951
19040
  class: "editor-wrap",
@@ -18956,7 +19045,7 @@ function pT(e, t, n, i, s, r) {
18956
19045
  style: { "min-height": "300px" }
18957
19046
  }, null, 8, ["value", "lang"])
18958
19047
  ]))
18959
- ], 64)) : r.widget === "password" ? (o(), d("div", rT, [
19048
+ ], 64)) : r.widget === "password" ? (o(), d("div", sT, [
18960
19049
  r.multiValue ? (o(!0), d(S, { key: 0 }, N(r.fieldModel, (x, T) => (o(), k(p, {
18961
19050
  gap: "",
18962
19051
  center: ""
@@ -18967,7 +19056,7 @@ function pT(e, t, n, i, s, r) {
18967
19056
  w("input", {
18968
19057
  type: s.unmaskedLookup[`${T}`] ? "text" : "password",
18969
19058
  value: x
18970
- }, null, 8, iT)
19059
+ }, null, 8, aT)
18971
19060
  ]),
18972
19061
  _: 2
18973
19062
  }, 1024),
@@ -19000,7 +19089,7 @@ function pT(e, t, n, i, s, r) {
19000
19089
  w("input", {
19001
19090
  type: s.unmasked ? "text" : "password",
19002
19091
  value: r.fieldModel
19003
- }, null, 8, sT)
19092
+ }, null, 8, lT)
19004
19093
  ]),
19005
19094
  _: 1
19006
19095
  }),
@@ -19044,37 +19133,37 @@ function pT(e, t, n, i, s, r) {
19044
19133
  }, null, 8, ["template"]))
19045
19134
  ], 64)) : _("", !0),
19046
19135
  r.type == "boolean" ? (o(), d(S, { key: 2 }, [
19047
- r.multiValue ? (o(!0), d(S, { key: 0 }, N(r.fieldModel, (x, T) => (o(), d("div", null, b(!!x), 1))), 256)) : (o(), d("div", aT, b(!!r.fieldModel), 1))
19136
+ r.multiValue ? (o(!0), d(S, { key: 0 }, N(r.fieldModel, (x, T) => (o(), d("div", null, b(!!x), 1))), 256)) : (o(), d("div", oT, b(!!r.fieldModel), 1))
19048
19137
  ], 64)) : _("", !0),
19049
19138
  r.type == "date" ? (o(), d(S, { key: 3 }, [
19050
- r.multiValue ? (o(!0), d(S, { key: 0 }, N(r.fieldModel, (x, T) => (o(), d("div", null, b(r.renderDate(x)), 1))), 256)) : (o(), d("div", lT, b(r.renderDate(r.fieldModel)), 1))
19139
+ r.multiValue ? (o(!0), d(S, { key: 0 }, N(r.fieldModel, (x, T) => (o(), d("div", null, b(r.renderDate(x)), 1))), 256)) : (o(), d("div", uT, b(r.renderDate(r.fieldModel)), 1))
19051
19140
  ], 64)) : _("", !0),
19052
19141
  r.type == "email" ? (o(), d(S, { key: 4 }, [
19053
19142
  r.multiValue ? (o(!0), d(S, { key: 0 }, N(r.fieldModel, (x, T) => (o(), d("div", null, [
19054
19143
  w("a", {
19055
19144
  href: `mailto:${x}`
19056
- }, b(x), 9, oT)
19057
- ]))), 256)) : (o(), d("div", uT, [
19145
+ }, b(x), 9, dT)
19146
+ ]))), 256)) : (o(), d("div", cT, [
19058
19147
  w("a", {
19059
19148
  href: `mailto:${r.fieldModel}`
19060
- }, b(r.fieldModel), 9, dT)
19149
+ }, b(r.fieldModel), 9, fT)
19061
19150
  ]))
19062
19151
  ], 64)) : _("", !0),
19063
19152
  r.type == "url" ? (o(), d(S, { key: 5 }, [
19064
19153
  r.multiValue ? (o(!0), d(S, { key: 0 }, N(r.fieldModel, (x, T) => (o(), d("div", null, [
19065
- w("a", { href: x }, b(x), 9, cT)
19066
- ]))), 256)) : (o(), d("div", fT, [
19067
- w("a", { href: r.fieldModel }, b(r.fieldModel), 9, mT)
19154
+ w("a", { href: x }, b(x), 9, mT)
19155
+ ]))), 256)) : (o(), d("div", hT, [
19156
+ w("a", { href: r.fieldModel }, b(r.fieldModel), 9, pT)
19068
19157
  ]))
19069
19158
  ], 64)) : _("", !0),
19070
19159
  r.isNumber ? (o(), d(S, { key: 6 }, [
19071
- r.multiValue ? (o(!0), d(S, { key: 0 }, N(r.fieldModel, (x, T) => (o(), d("div", null, b(x), 1))), 256)) : (o(), d("div", hT, b(r.fieldModel), 1))
19160
+ r.multiValue ? (o(!0), d(S, { key: 0 }, N(r.fieldModel, (x, T) => (o(), d("div", null, b(x), 1))), 256)) : (o(), d("div", yT, b(r.fieldModel), 1))
19072
19161
  ], 64)) : _("", !0)
19073
19162
  ], 64))
19074
19163
  ], 2)) : _("", !0);
19075
19164
  }
19076
- const po = /* @__PURE__ */ E(JO, [["render", pT], ["__scopeId", "data-v-74a68263"]]);
19077
- const yT = {
19165
+ const po = /* @__PURE__ */ E(QO, [["render", _T], ["__scopeId", "data-v-74a68263"]]);
19166
+ const gT = {
19078
19167
  props: {
19079
19168
  parentModel: {
19080
19169
  type: Object
@@ -19127,7 +19216,7 @@ const yT = {
19127
19216
  }
19128
19217
  }
19129
19218
  };
19130
- function _T(e, t, n, i, s, r) {
19219
+ function vT(e, t, n, i, s, r) {
19131
19220
  const a = y("ux-field-render");
19132
19221
  return o(), d("div", {
19133
19222
  class: P(["ux-render", r.renderClass])
@@ -19145,8 +19234,8 @@ function _T(e, t, n, i, s, r) {
19145
19234
  ], !0)
19146
19235
  ], 2);
19147
19236
  }
19148
- const gT = /* @__PURE__ */ E(yT, [["render", _T], ["__scopeId", "data-v-f2b5ec33"]]);
19149
- function vT(e) {
19237
+ const bT = /* @__PURE__ */ E(gT, [["render", vT], ["__scopeId", "data-v-f2b5ec33"]]);
19238
+ function kT(e) {
19150
19239
  e = e || {}, Math.max(parseInt(e.minimum || 0), 0);
19151
19240
  let t = Math.max(parseInt(e.maximum || 0), 0);
19152
19241
  const n = Eo({}), i = kr([]);
@@ -19199,7 +19288,7 @@ function vT(e) {
19199
19288
  }
19200
19289
  }), n;
19201
19290
  }
19202
- const bT = {
19291
+ const xT = {
19203
19292
  props: {
19204
19293
  total: {
19205
19294
  type: Number,
@@ -19305,7 +19394,7 @@ const bT = {
19305
19394
  };
19306
19395
  }
19307
19396
  };
19308
- function kT(e, t, n, i, s, r) {
19397
+ function wT(e, t, n, i, s, r) {
19309
19398
  const a = y("native-select"), l = y("flex-cell"), u = y("ux-icon"), c = y("ux-button"), f = y("flex-row");
19310
19399
  return o(), k(f, {
19311
19400
  center: "",
@@ -19405,8 +19494,8 @@ function kT(e, t, n, i, s, r) {
19405
19494
  _: 1
19406
19495
  });
19407
19496
  }
19408
- const xT = /* @__PURE__ */ E(bT, [["render", kT], ["__scopeId", "data-v-51741539"]]);
19409
- function wT(e, t) {
19497
+ const ST = /* @__PURE__ */ E(xT, [["render", wT], ["__scopeId", "data-v-51741539"]]);
19498
+ function OT(e, t) {
19410
19499
  var n = [], i;
19411
19500
  switch (t) {
19412
19501
  case "image":
@@ -19541,7 +19630,7 @@ function sa() {
19541
19630
  };
19542
19631
  }
19543
19632
  let Me, ii, si;
19544
- const ST = {
19633
+ const TT = {
19545
19634
  props: {
19546
19635
  view: {
19547
19636
  type: Object,
@@ -19622,7 +19711,7 @@ const ST = {
19622
19711
  }
19623
19712
  },
19624
19713
  components: {
19625
- Pager: xT,
19714
+ Pager: ST,
19626
19715
  NativeTable: Cy,
19627
19716
  FilterBuilder: Zl,
19628
19717
  Search: ho,
@@ -19873,7 +19962,7 @@ const ST = {
19873
19962
  }
19874
19963
  var i = this.actualOptions.prefixColumns || [];
19875
19964
  i.forEach(n(!0));
19876
- var s = this.actualOptions.columns, r = s && s.length ? s : wT(this, this.basicType);
19965
+ var s = this.actualOptions.columns, r = s && s.length ? s : OT(this, this.basicType);
19877
19966
  r.length || r.push({
19878
19967
  title: "Title",
19879
19968
  key: "title"
@@ -20000,7 +20089,7 @@ const ST = {
20000
20089
  },
20001
20090
  data() {
20002
20091
  var e = this.selectionManager;
20003
- return e || (e = new vT({ minimum: this.minimum, maximum: this.maximum })), this.modelValue && e.setSelection(this.modelValue), {
20092
+ return e || (e = new kT({ minimum: this.minimum, maximum: this.maximum })), this.modelValue && e.setSelection(this.modelValue), {
20004
20093
  definition: null,
20005
20094
  manager: e,
20006
20095
  loading: !0,
@@ -20022,8 +20111,8 @@ const ST = {
20022
20111
  actualOptions: this.options
20023
20112
  };
20024
20113
  }
20025
- }, yo = (e) => (st("data-v-d4d866f3"), e = e(), at(), e), OT = { class: "footer" }, TT = /* @__PURE__ */ yo(() => /* @__PURE__ */ w("p", null, null, -1)), ET = { key: 0 }, CT = /* @__PURE__ */ yo(() => /* @__PURE__ */ w("p", null, null, -1));
20026
- function VT(e, t, n, i, s, r) {
20114
+ }, yo = (e) => (st("data-v-d4d866f3"), e = e(), at(), e), ET = { class: "footer" }, CT = /* @__PURE__ */ yo(() => /* @__PURE__ */ w("p", null, null, -1)), VT = { key: 0 }, AT = /* @__PURE__ */ yo(() => /* @__PURE__ */ w("p", null, null, -1));
20115
+ function MT(e, t, n, i, s, r) {
20027
20116
  const a = y("ux-icon"), l = y("ux-panel-body"), u = y("ux-panel"), c = y("flex-column"), f = y("ux-button"), p = y("ux-list-item"), g = y("ux-list"), v = y("ux-menu"), x = y("native-table"), T = y("pager"), A = y("flex-footer"), q = y("flex-row"), Q = y("search"), ne = y("ux-field"), le = y("filter-builder"), oe = y("flex-body"), B = y("spinner");
20028
20117
  return r.actualDefinition ? (o(), k(c, {
20029
20118
  key: 0,
@@ -20068,7 +20157,7 @@ function VT(e, t, n, i, s, r) {
20068
20157
  _: 1
20069
20158
  })) : r.items.length ? (o(), k(c, { key: 1 }, {
20070
20159
  default: h(() => [
20071
- r.viewMode && r.viewMode.component ? (o(), k(Dt(r.viewMode.component), {
20160
+ r.viewMode && r.viewMode.component ? (o(), k(Ft(r.viewMode.component), {
20072
20161
  key: 0,
20073
20162
  cacheKey: r.viewModeCacheKey,
20074
20163
  selection: s.manager.items,
@@ -20079,7 +20168,7 @@ function VT(e, t, n, i, s, r) {
20079
20168
  }, null, 40, ["cacheKey", "selection", "items", "onClick:actions", "onSelect:item:toggle", "onClick:item"])) : (o(), k(x, {
20080
20169
  key: 1,
20081
20170
  sort: s.sort,
20082
- "onUpdate:sort": t[0] || (t[0] = (F) => s.sort = F),
20171
+ "onUpdate:sort": t[0] || (t[0] = (D) => s.sort = D),
20083
20172
  enableSelection: n.enableSelection,
20084
20173
  enableActions: n.enableActions,
20085
20174
  total: r.totalItems,
@@ -20096,8 +20185,8 @@ function VT(e, t, n, i, s, r) {
20096
20185
  }, {
20097
20186
  corner: h(() => [
20098
20187
  m(v, { right: "" }, {
20099
- activator: h(({ on: F }) => [
20100
- m(f, wi({ icon: "" }, ua(F)), {
20188
+ activator: h(({ on: D }) => [
20189
+ m(f, wi({ icon: "" }, ua(D)), {
20101
20190
  default: h(() => [
20102
20191
  m(a, { icon: "fa-cog" })
20103
20192
  ]),
@@ -20107,16 +20196,16 @@ function VT(e, t, n, i, s, r) {
20107
20196
  default: h(() => [
20108
20197
  m(g, null, {
20109
20198
  default: h(() => [
20110
- (o(!0), d(S, null, N(r.fields, (F) => (o(), k(p, {
20111
- onClick: (se) => r.toggleField(F),
20112
- key: F.path
20199
+ (o(!0), d(S, null, N(r.fields, (D) => (o(), k(p, {
20200
+ onClick: (se) => r.toggleField(D),
20201
+ key: D.path
20113
20202
  }, {
20114
20203
  default: h(() => [
20115
20204
  m(a, {
20116
- icon: r.fieldEnabled[F.path] ? "fa-check-square" : "fa-regular fa-square",
20205
+ icon: r.fieldEnabled[D.path] ? "fa-check-square" : "fa-regular fa-square",
20117
20206
  left: ""
20118
20207
  }, null, 8, ["icon"]),
20119
- O(" " + b(F.title), 1)
20208
+ O(" " + b(D.title), 1)
20120
20209
  ]),
20121
20210
  _: 2
20122
20211
  }, 1032, ["onClick"]))), 128))
@@ -20162,10 +20251,10 @@ function VT(e, t, n, i, s, r) {
20162
20251
  s.dataSource && !r.boundaryMessage ? (o(), k(A, { key: 0 }, {
20163
20252
  default: h(() => [
20164
20253
  G(e.$slots, "footera", {}, void 0, !0),
20165
- w("div", OT, [
20254
+ w("div", ET, [
20166
20255
  m(T, {
20167
20256
  page: s.page,
20168
- "onUpdate:page": t[1] || (t[1] = (F) => s.page = F),
20257
+ "onUpdate:page": t[1] || (t[1] = (D) => s.page = D),
20169
20258
  total: r.totalItems
20170
20259
  }, null, 8, ["page", "total"])
20171
20260
  ]),
@@ -20189,24 +20278,24 @@ function VT(e, t, n, i, s, r) {
20189
20278
  default: h(() => [
20190
20279
  m(Q, {
20191
20280
  modelValue: s.keywords,
20192
- "onUpdate:modelValue": t[2] || (t[2] = (F) => s.keywords = F),
20281
+ "onUpdate:modelValue": t[2] || (t[2] = (D) => s.keywords = D),
20193
20282
  loading: r.searching,
20194
20283
  debounce: 500,
20195
20284
  placeholder: "Keyword Search"
20196
20285
  }, null, 8, ["modelValue", "loading"]),
20197
- TT,
20198
- n.dateFilterEnabled ? (o(), d("div", ET, [
20286
+ CT,
20287
+ n.dateFilterEnabled ? (o(), d("div", VT, [
20199
20288
  m(ne, {
20200
20289
  field: r.dateRangeField,
20201
20290
  modelValue: s.dateRangeFilter,
20202
- "onUpdate:modelValue": t[3] || (t[3] = (F) => s.dateRangeFilter = F)
20291
+ "onUpdate:modelValue": t[3] || (t[3] = (D) => s.dateRangeFilter = D)
20203
20292
  }, null, 8, ["field", "modelValue"])
20204
20293
  ])) : _("", !0),
20205
- CT,
20294
+ AT,
20206
20295
  m(le, {
20207
20296
  definition: r.actualDefinition,
20208
20297
  modelValue: s.actualFilter,
20209
- "onUpdate:modelValue": t[4] || (t[4] = (F) => s.actualFilter = F)
20298
+ "onUpdate:modelValue": t[4] || (t[4] = (D) => s.actualFilter = D)
20210
20299
  }, null, 8, ["definition", "modelValue"])
20211
20300
  ]),
20212
20301
  _: 1
@@ -20229,7 +20318,7 @@ function VT(e, t, n, i, s, r) {
20229
20318
  _: 3
20230
20319
  })) : _("", !0);
20231
20320
  }
20232
- const AT = /* @__PURE__ */ E(ST, [["render", VT], ["__scopeId", "data-v-d4d866f3"]]), Ln = {
20321
+ const IT = /* @__PURE__ */ E(TT, [["render", MT], ["__scopeId", "data-v-d4d866f3"]]), Ln = {
20233
20322
  props: {
20234
20323
  options: {
20235
20324
  type: Object,
@@ -20250,7 +20339,7 @@ const AT = /* @__PURE__ */ E(ST, [["render", VT], ["__scopeId", "data-v-d4d866f3
20250
20339
  }
20251
20340
  }
20252
20341
  };
20253
- const MT = {
20342
+ const FT = {
20254
20343
  props: {
20255
20344
  modal: {
20256
20345
  type: Object,
@@ -20280,9 +20369,9 @@ const MT = {
20280
20369
  return this.modal.style && (e = Object.assign(e, this.modal.style)), e;
20281
20370
  }
20282
20371
  }
20283
- }, IT = { class: "modal-wrapper" };
20284
- function DT(e, t, n, i, s, r) {
20285
- return o(), d("div", IT, [
20372
+ }, DT = { class: "modal-wrapper" };
20373
+ function $T(e, t, n, i, s, r) {
20374
+ return o(), d("div", DT, [
20286
20375
  w("div", {
20287
20376
  class: "modal-blanket",
20288
20377
  onClick: t[0] || (t[0] = (...a) => r.blanketClick && r.blanketClick(...a))
@@ -20291,7 +20380,7 @@ function DT(e, t, n, i, s, r) {
20291
20380
  class: "modal-content",
20292
20381
  style: wt(r.style)
20293
20382
  }, [
20294
- (o(), k(Dt(n.modal.component), wi({
20383
+ (o(), k(Ft(n.modal.component), wi({
20295
20384
  options: n.modal.options
20296
20385
  }, r.componentProps, {
20297
20386
  onClose: r.close,
@@ -20300,28 +20389,28 @@ function DT(e, t, n, i, s, r) {
20300
20389
  ], 4)
20301
20390
  ]);
20302
20391
  }
20303
- const FT = /* @__PURE__ */ E(MT, [["render", DT], ["__scopeId", "data-v-3f68f622"]]);
20304
- const $T = {
20392
+ const NT = /* @__PURE__ */ E(FT, [["render", $T], ["__scopeId", "data-v-3f68f622"]]);
20393
+ const LT = {
20305
20394
  mixins: [Ln]
20306
- }, NT = { class: "padder" }, LT = ["innerHTML"], PT = { class: "padder" };
20307
- function UT(e, t, n, i, s, r) {
20395
+ }, PT = { class: "padder" }, UT = ["innerHTML"], jT = { class: "padder" };
20396
+ function RT(e, t, n, i, s, r) {
20308
20397
  const a = y("flex-body"), l = y("ux-button"), u = y("flex-cell"), c = y("flex-row"), f = y("flex-footer"), p = y("flex-column");
20309
20398
  return o(), k(p, { class: "wrapper" }, {
20310
20399
  default: h(() => [
20311
20400
  m(a, null, {
20312
20401
  default: h(() => [
20313
- w("div", NT, [
20402
+ w("div", PT, [
20314
20403
  w("h5", null, b(e.options.title), 1),
20315
20404
  w("div", {
20316
20405
  innerHTML: e.options.description
20317
- }, null, 8, LT)
20406
+ }, null, 8, UT)
20318
20407
  ])
20319
20408
  ]),
20320
20409
  _: 1
20321
20410
  }),
20322
20411
  m(f, null, {
20323
20412
  default: h(() => [
20324
- w("div", PT, [
20413
+ w("div", jT, [
20325
20414
  m(c, null, {
20326
20415
  default: h(() => [
20327
20416
  m(u, null, {
@@ -20363,8 +20452,8 @@ function UT(e, t, n, i, s, r) {
20363
20452
  _: 1
20364
20453
  });
20365
20454
  }
20366
- const jT = /* @__PURE__ */ E($T, [["render", UT], ["__scopeId", "data-v-19242609"]]);
20367
- const RT = {
20455
+ const BT = /* @__PURE__ */ E(LT, [["render", RT], ["__scopeId", "data-v-19242609"]]);
20456
+ const zT = {
20368
20457
  data() {
20369
20458
  return {
20370
20459
  selected: null
@@ -20376,20 +20465,20 @@ const RT = {
20376
20465
  this.selected = e, this.close(e);
20377
20466
  }
20378
20467
  }
20379
- }, BT = { class: "header" }, zT = { class: "padder" }, HT = ["onClick"], qT = {
20468
+ }, HT = { class: "header" }, qT = { class: "padder" }, GT = ["onClick"], WT = {
20380
20469
  key: 0,
20381
20470
  class: "title"
20382
- }, GT = {
20471
+ }, KT = {
20383
20472
  key: 1,
20384
20473
  class: "description"
20385
- }, WT = { class: "padder" };
20386
- function KT(e, t, n, i, s, r) {
20474
+ }, ZT = { class: "padder" };
20475
+ function YT(e, t, n, i, s, r) {
20387
20476
  const a = y("flex-header"), l = y("flex-cell"), u = y("ux-icon"), c = y("flex-row"), f = y("flex-body"), p = y("ux-button"), g = y("flex-footer"), v = y("flex-column");
20388
20477
  return o(), k(v, { class: "wrapper" }, {
20389
20478
  default: h(() => [
20390
20479
  m(a, null, {
20391
20480
  default: h(() => [
20392
- w("div", BT, [
20481
+ w("div", HT, [
20393
20482
  w("h5", null, b(e.options.title), 1),
20394
20483
  w("div", null, b(e.options.description), 1)
20395
20484
  ])
@@ -20398,7 +20487,7 @@ function KT(e, t, n, i, s, r) {
20398
20487
  }),
20399
20488
  m(f, { class: "body" }, {
20400
20489
  default: h(() => [
20401
- w("div", zT, [
20490
+ w("div", qT, [
20402
20491
  (o(!0), d(S, null, N(e.options.choices, (x) => (o(), d("div", {
20403
20492
  class: "choice",
20404
20493
  onClick: (T) => r.select(x)
@@ -20407,8 +20496,8 @@ function KT(e, t, n, i, s, r) {
20407
20496
  default: h(() => [
20408
20497
  m(l, null, {
20409
20498
  default: h(() => [
20410
- x.title ? (o(), d("div", qT, b(x.title), 1)) : _("", !0),
20411
- x.description ? (o(), d("div", GT, b(x.description), 1)) : _("", !0)
20499
+ x.title ? (o(), d("div", WT, b(x.title), 1)) : _("", !0),
20500
+ x.description ? (o(), d("div", KT, b(x.description), 1)) : _("", !0)
20412
20501
  ]),
20413
20502
  _: 2
20414
20503
  }, 1024),
@@ -20421,14 +20510,14 @@ function KT(e, t, n, i, s, r) {
20421
20510
  ]),
20422
20511
  _: 2
20423
20512
  }, 1024)
20424
- ], 8, HT))), 256))
20513
+ ], 8, GT))), 256))
20425
20514
  ])
20426
20515
  ]),
20427
20516
  _: 1
20428
20517
  }),
20429
20518
  m(g, null, {
20430
20519
  default: h(() => [
20431
- w("div", WT, [
20520
+ w("div", ZT, [
20432
20521
  m(p, { onClick: e.dismiss }, {
20433
20522
  default: h(() => [
20434
20523
  O("Cancel")
@@ -20443,16 +20532,27 @@ function KT(e, t, n, i, s, r) {
20443
20532
  _: 1
20444
20533
  });
20445
20534
  }
20446
- const ZT = /* @__PURE__ */ E(RT, [["render", KT], ["__scopeId", "data-v-5b38f9ba"]]);
20447
- const YT = {
20535
+ const JT = /* @__PURE__ */ E(zT, [["render", YT], ["__scopeId", "data-v-5b38f9ba"]]);
20536
+ const XT = {
20448
20537
  mixins: [Ln],
20449
20538
  data() {
20450
20539
  return {
20451
- model: {}
20540
+ model: {},
20541
+ formState: null
20452
20542
  };
20453
20543
  },
20454
- methods: {},
20544
+ methods: {
20545
+ formStateUpdated(e) {
20546
+ this.formState = e;
20547
+ }
20548
+ },
20455
20549
  computed: {
20550
+ invalid() {
20551
+ var t;
20552
+ var e = (t = this.formState) == null ? void 0 : t.invalid;
20553
+ if (e)
20554
+ return !0;
20555
+ },
20456
20556
  fields() {
20457
20557
  return this.options.fields || [];
20458
20558
  }
@@ -20460,8 +20560,8 @@ const YT = {
20460
20560
  created() {
20461
20561
  this.options.model && (this.model = this.options.model);
20462
20562
  }
20463
- }, JT = { class: "padder" }, XT = { key: 0 }, QT = { class: "padder" };
20464
- function eE(e, t, n, i, s, r) {
20563
+ }, QT = { class: "padder" }, eE = { key: 0 }, tE = { class: "padder" };
20564
+ function nE(e, t, n, i, s, r) {
20465
20565
  const a = y("ux-form"), l = y("flex-body"), u = y("ux-button"), c = y("flex-cell"), f = y("flex-spacer"), p = y("flex-row"), g = y("flex-footer"), v = y("flex-column");
20466
20566
  return o(), d("form", {
20467
20567
  class: "wrapper",
@@ -20471,22 +20571,23 @@ function eE(e, t, n, i, s, r) {
20471
20571
  default: h(() => [
20472
20572
  m(l, null, {
20473
20573
  default: h(() => [
20474
- w("div", JT, [
20574
+ w("div", QT, [
20475
20575
  w("h5", null, b(e.options.title), 1),
20476
- e.options.description ? (o(), d("p", XT, b(e.options.description), 1)) : _("", !0),
20576
+ e.options.description ? (o(), d("p", eE, b(e.options.description), 1)) : _("", !0),
20477
20577
  m(a, {
20478
20578
  ref: "form",
20579
+ "onForm:state": r.formStateUpdated,
20479
20580
  modelValue: s.model,
20480
20581
  "onUpdate:modelValue": t[0] || (t[0] = (x) => s.model = x),
20481
20582
  fields: r.fields
20482
- }, null, 8, ["modelValue", "fields"])
20583
+ }, null, 8, ["onForm:state", "modelValue", "fields"])
20483
20584
  ])
20484
20585
  ]),
20485
20586
  _: 1
20486
20587
  }),
20487
20588
  m(g, null, {
20488
20589
  default: h(() => [
20489
- w("div", QT, [
20590
+ w("div", tE, [
20490
20591
  m(p, null, {
20491
20592
  default: h(() => [
20492
20593
  m(c, { shrink: "" }, {
@@ -20507,6 +20608,7 @@ function eE(e, t, n, i, s, r) {
20507
20608
  m(c, { shrink: "" }, {
20508
20609
  default: h(() => [
20509
20610
  m(u, {
20611
+ disabled: r.invalid,
20510
20612
  color: "primary",
20511
20613
  type: "submit",
20512
20614
  onClick: t[1] || (t[1] = (x) => e.close(s.model))
@@ -20515,7 +20617,7 @@ function eE(e, t, n, i, s, r) {
20515
20617
  O("Confirm")
20516
20618
  ]),
20517
20619
  _: 1
20518
- })
20620
+ }, 8, ["disabled"])
20519
20621
  ]),
20520
20622
  _: 1
20521
20623
  })
@@ -20531,10 +20633,10 @@ function eE(e, t, n, i, s, r) {
20531
20633
  })
20532
20634
  ], 32);
20533
20635
  }
20534
- const tE = /* @__PURE__ */ E(YT, [["render", eE], ["__scopeId", "data-v-553a799e"]]);
20535
- const nE = {
20636
+ const rE = /* @__PURE__ */ E(XT, [["render", nE], ["__scopeId", "data-v-243e2939"]]);
20637
+ const iE = {
20536
20638
  components: {
20537
- ContentBrowser: AT,
20639
+ ContentBrowser: IT,
20538
20640
  Search: ho
20539
20641
  },
20540
20642
  mixins: [Ln],
@@ -20621,8 +20723,8 @@ const nE = {
20621
20723
  this.close(this.model);
20622
20724
  }
20623
20725
  }
20624
- }, rE = { class: "header" }, iE = { class: "font-muted font-sm" }, sE = { class: "rolodex" };
20625
- function aE(e, t, n, i, s, r) {
20726
+ }, sE = { class: "header" }, aE = { class: "font-muted font-sm" }, lE = { class: "rolodex" };
20727
+ function oE(e, t, n, i, s, r) {
20626
20728
  const a = y("flex-column"), l = y("flex-cell"), u = y("search"), c = y("ux-icon"), f = y("ux-button"), p = y("flex-row"), g = y("flex-header"), v = y("content-browser");
20627
20729
  return o(), k(a, { class: "wrapper" }, {
20628
20730
  default: h(() => [
@@ -20635,7 +20737,7 @@ function aE(e, t, n, i, s, r) {
20635
20737
  s.definition ? (o(), d(S, { key: 0 }, [
20636
20738
  m(g, null, {
20637
20739
  default: h(() => [
20638
- w("div", rE, [
20740
+ w("div", sE, [
20639
20741
  m(p, {
20640
20742
  vcenter: "",
20641
20743
  gap: ""
@@ -20649,7 +20751,7 @@ function aE(e, t, n, i, s, r) {
20649
20751
  }),
20650
20752
  r.maximum ? (o(), k(l, { key: 0 }, {
20651
20753
  default: h(() => [
20652
- w("span", iE, "(" + b(s.model.length) + " of " + b(r.maximum) + ")", 1)
20754
+ w("span", aE, "(" + b(s.model.length) + " of " + b(r.maximum) + ")", 1)
20653
20755
  ]),
20654
20756
  _: 1
20655
20757
  })) : _("", !0),
@@ -20721,7 +20823,7 @@ function aE(e, t, n, i, s, r) {
20721
20823
  abovecontent: h(() => [
20722
20824
  r.rolodexEnabled ? (o(), k(g, { key: 0 }, {
20723
20825
  default: h(() => [
20724
- w("div", sE, [
20826
+ w("div", lE, [
20725
20827
  m(f, {
20726
20828
  size: "sm",
20727
20829
  onClick: t[2] || (t[2] = (x) => r.toggleRolodex("")),
@@ -20757,8 +20859,8 @@ function aE(e, t, n, i, s, r) {
20757
20859
  _: 1
20758
20860
  });
20759
20861
  }
20760
- const lE = /* @__PURE__ */ E(nE, [["render", aE], ["__scopeId", "data-v-09ee3a9e"]]);
20761
- const oE = {
20862
+ const uE = /* @__PURE__ */ E(iE, [["render", oE], ["__scopeId", "data-v-09ee3a9e"]]);
20863
+ const dE = {
20762
20864
  components: {
20763
20865
  ScopeSelect: ib
20764
20866
  // Search,
@@ -20814,14 +20916,14 @@ const oE = {
20814
20916
  this.close(this.model);
20815
20917
  }
20816
20918
  }
20817
- }, uE = (e) => (st("data-v-e905a558"), e = e(), at(), e), dE = { class: "header" }, cE = /* @__PURE__ */ uE(() => /* @__PURE__ */ w("h3", null, "Select Scopes", -1)), fE = { class: "padder" };
20818
- function mE(e, t, n, i, s, r) {
20919
+ }, cE = (e) => (st("data-v-e905a558"), e = e(), at(), e), fE = { class: "header" }, mE = /* @__PURE__ */ cE(() => /* @__PURE__ */ w("h3", null, "Select Scopes", -1)), hE = { class: "padder" };
20920
+ function pE(e, t, n, i, s, r) {
20819
20921
  const a = y("flex-cell"), l = y("ux-button"), u = y("flex-row"), c = y("flex-header"), f = y("scope-select"), p = y("flex-body"), g = y("flex-column");
20820
20922
  return o(), k(g, { class: "wrapper" }, {
20821
20923
  default: h(() => [
20822
20924
  m(c, null, {
20823
20925
  default: h(() => [
20824
- w("div", dE, [
20926
+ w("div", fE, [
20825
20927
  m(u, {
20826
20928
  vcenter: "",
20827
20929
  gap: ""
@@ -20829,7 +20931,7 @@ function mE(e, t, n, i, s, r) {
20829
20931
  default: h(() => [
20830
20932
  m(a, null, {
20831
20933
  default: h(() => [
20832
- cE
20934
+ mE
20833
20935
  ]),
20834
20936
  _: 1
20835
20937
  }),
@@ -20856,7 +20958,7 @@ function mE(e, t, n, i, s, r) {
20856
20958
  }),
20857
20959
  m(p, { class: "scroll-body" }, {
20858
20960
  default: h(() => [
20859
- w("div", fE, [
20961
+ w("div", hE, [
20860
20962
  m(f, {
20861
20963
  action: r.action,
20862
20964
  type: r.type,
@@ -20871,8 +20973,8 @@ function mE(e, t, n, i, s, r) {
20871
20973
  _: 1
20872
20974
  });
20873
20975
  }
20874
- const hE = /* @__PURE__ */ E(oE, [["render", mE], ["__scopeId", "data-v-e905a558"]]);
20875
- function bE() {
20976
+ const yE = /* @__PURE__ */ E(dE, [["render", pE], ["__scopeId", "data-v-e905a558"]]);
20977
+ function xE() {
20876
20978
  var e = kr({
20877
20979
  mounted: !1,
20878
20980
  screen: {
@@ -20944,7 +21046,7 @@ function bE() {
20944
21046
  n.removeEventListener("resize", e.resize), n = !1, t = !1, e.mounted = !1;
20945
21047
  }, e;
20946
21048
  }
20947
- const pE = `qik vue ui ${Co}`, aa = {
21049
+ const _E = `qik vue ui ${Co}`, aa = {
20948
21050
  FlexColumn: zo,
20949
21051
  FlexBody: Wo,
20950
21052
  FlexHeader: Jo,
@@ -20963,7 +21065,7 @@ const pE = `qik vue ui ${Co}`, aa = {
20963
21065
  UxSubmissionForm: ia,
20964
21066
  UxFormField: Ui,
20965
21067
  UxSubmissionForm: ia,
20966
- UxRender: gT,
21068
+ UxRender: bT,
20967
21069
  UxRenderField: po,
20968
21070
  UxIcon: V_,
20969
21071
  UxMenu: I_,
@@ -20979,37 +21081,37 @@ const pE = `qik vue ui ${Co}`, aa = {
20979
21081
  Avatar: u_,
20980
21082
  Spinner: bl,
20981
21083
  ProgressBar: X_,
20982
- UxModal: FT,
21084
+ UxModal: NT,
20983
21085
  Compile: $i
20984
- }, kE = {
21086
+ }, wE = {
20985
21087
  install(e, t) {
20986
- console.log(pE), t.modals = kr([]), t.modal = function(n) {
21088
+ console.log(_E), t.modals = kr([]), t.modal = function(n) {
20987
21089
  return new Promise(function(i, s) {
20988
21090
  n.id = t.modals.length, n.resolve = i, n.reject = s, t.modals.splice(n.id, 0, n);
20989
21091
  });
20990
21092
  }, t.prompt = function(n, i) {
20991
21093
  return i = i || {}, i.model = i.model || {}, i.fields = n, t.modal({
20992
- component: tE,
21094
+ component: rE,
20993
21095
  options: i
20994
21096
  });
20995
21097
  }, t.browse = function(n, i) {
20996
21098
  return i = i || {}, i.type = n, i.model = i.model || [], t.modal({
20997
- component: lE,
21099
+ component: uE,
20998
21100
  options: i
20999
21101
  });
21000
21102
  }, t.selectScopes = function(n) {
21001
21103
  return n = n || {}, n.model = n.model || [], t.modal({
21002
- component: hE,
21104
+ component: yE,
21003
21105
  options: n
21004
21106
  });
21005
21107
  }, t.confirm = function(n, i) {
21006
21108
  return i = i || {}, i.title = n, t.modal({
21007
- component: jT,
21109
+ component: BT,
21008
21110
  options: i
21009
21111
  });
21010
21112
  }, t.options = function(n, i, s) {
21011
21113
  return t.modal({
21012
- component: ZT,
21114
+ component: JT,
21013
21115
  options: {
21014
21116
  title: i,
21015
21117
  description: s,
@@ -21030,10 +21132,10 @@ const pE = `qik vue ui ${Co}`, aa = {
21030
21132
  };
21031
21133
  export {
21032
21134
  u_ as Avatar,
21033
- Ak as CodeEditor,
21034
- AT as ContentBrowser,
21135
+ Ik as CodeEditor,
21136
+ IT as ContentBrowser,
21035
21137
  dg as DateRange,
21036
- bE as Device,
21138
+ xE as Device,
21037
21139
  w0 as FileDrop,
21038
21140
  Wo as FlexBody,
21039
21141
  su as FlexCell,
@@ -21045,18 +21147,18 @@ export {
21045
21147
  s_ as Info,
21046
21148
  Ln as ModalMixin,
21047
21149
  Lt as NativeSelect,
21048
- vE as Pager,
21150
+ kE as Pager,
21049
21151
  _u as Panel,
21050
21152
  ku as PanelBody,
21051
21153
  Vu as PanelFooter,
21052
21154
  Ou as PanelHeader,
21053
21155
  X_ as ProgressBar,
21054
- kE as QikUI,
21156
+ wE as QikUI,
21055
21157
  by as RememberScrollMixin,
21056
21158
  ib as ScopeSelect,
21057
21159
  lb as ScopeSelectButton,
21058
21160
  ho as Search,
21059
- vT as Selection,
21161
+ kT as Selection,
21060
21162
  bl as Spinner,
21061
21163
  $o as StripeElement,
21062
21164
  Uo as StripeElements,
@@ -21071,7 +21173,7 @@ export {
21071
21173
  sg as UXListItem,
21072
21174
  I_ as UXMenu,
21073
21175
  $_ as UXMenuList,
21074
- gT as UXRender,
21176
+ bT as UXRender,
21075
21177
  po as UXRenderField,
21076
21178
  ia as UXSubmissionForm,
21077
21179
  w_ as UXSwitch,
@@ -21079,11 +21181,11 @@ export {
21079
21181
  Cy as UXTable,
21080
21182
  Td as UXTabset,
21081
21183
  G_ as UXVideo,
21082
- jT as UxConfirmModal,
21083
- lE as UxContentModal,
21084
- FT as UxModal,
21085
- ZT as UxOptionsModal,
21086
- tE as UxPromptModal,
21087
- hE as UxScopeModal
21184
+ BT as UxConfirmModal,
21185
+ uE as UxContentModal,
21186
+ NT as UxModal,
21187
+ JT as UxOptionsModal,
21188
+ rE as UxPromptModal,
21189
+ yE as UxScopeModal
21088
21190
  };
21089
21191
  //# sourceMappingURL=lib.es.js.map