@qikdev/vue-ui 0.2.204 → 0.2.206

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 Cr, ref as Jt, toRefs as wl, onMounted as Sl, onBeforeUnmount as qo, watch as Er, computed as fr, openBlock as o, createElementBlock as d, renderSlot as H, createCommentVNode as _, normalizeClass as N, useSlots as Go, reactive as Ti, provide as Li, resolveComponent as y, Fragment as S, unref as zn, createBlock as k, withCtx as h, createVNode as m, renderList as F, toDisplayString as v, withDirectives as K, vShow as di, createElementVNode as x, withModifiers as B, createTextVNode as T, h as mr, mergeProps as Oi, toHandlers as Ar, normalizeStyle as He, resolveDynamicComponent as ft, vModelSelect as Tt, pushScopeId as Ye, popScopeId as Ze, Teleport as Wo, vModelText as se, withKeys as _e, TransitionGroup as Ko, nextTick as Tl, vModelDynamic as Hn } from "vue";
2
+ import { defineComponent as Cr, ref as Jt, toRefs as wl, onMounted as Sl, onBeforeUnmount as qo, watch as Er, computed as fr, openBlock as o, createElementBlock as d, renderSlot as H, createCommentVNode as _, normalizeClass as N, useSlots as Go, reactive as Ti, provide as Li, resolveComponent as y, Fragment as S, unref as zn, createBlock as k, withCtx as h, createVNode as m, renderList as F, toDisplayString as v, withDirectives as K, vShow as di, createElementVNode as x, withModifiers as B, createTextVNode as T, h as mr, mergeProps as Oi, toHandlers as Ar, normalizeStyle as He, resolveDynamicComponent as ft, vModelSelect as Ot, pushScopeId as Ye, popScopeId as Ze, Teleport as Wo, vModelText as se, withKeys as _e, TransitionGroup as Ko, nextTick as Tl, vModelDynamic as Hn } from "vue";
3
3
  import { EventDispatcher as Yo } from "@qikdev/sdk";
4
- const Zo = "0.2.204";
4
+ const Zo = "0.2.206";
5
5
  class Pt extends Error {
6
6
  }
7
7
  class Jo extends Pt {
@@ -28,7 +28,7 @@ class Ol extends Pt {
28
28
  }
29
29
  class We extends Pt {
30
30
  }
31
- class vt extends Pt {
31
+ class bt extends Pt {
32
32
  constructor() {
33
33
  super("Zone is an abstract class");
34
34
  }
@@ -208,7 +208,7 @@ function ye(e, t = 2) {
208
208
  let r;
209
209
  return n ? r = "-" + ("" + -e).padStart(t, "0") : r = ("" + e).padStart(t, "0"), r;
210
210
  }
211
- function bt(e) {
211
+ function kt(e) {
212
212
  if (!(Z(e) || e === null || e === ""))
213
213
  return parseInt(e, 10);
214
214
  }
@@ -663,7 +663,7 @@ class Dn {
663
663
  * @type {string}
664
664
  */
665
665
  get type() {
666
- throw new vt();
666
+ throw new bt();
667
667
  }
668
668
  /**
669
669
  * The name of this zone.
@@ -671,7 +671,7 @@ class Dn {
671
671
  * @type {string}
672
672
  */
673
673
  get name() {
674
- throw new vt();
674
+ throw new bt();
675
675
  }
676
676
  /**
677
677
  * Returns whether the offset is known to be fixed for the whole year.
@@ -679,7 +679,7 @@ class Dn {
679
679
  * @type {boolean}
680
680
  */
681
681
  get isUniversal() {
682
- throw new vt();
682
+ throw new bt();
683
683
  }
684
684
  /**
685
685
  * Returns the offset's common name (such as EST) at the specified timestamp
@@ -691,7 +691,7 @@ class Dn {
691
691
  * @return {string}
692
692
  */
693
693
  offsetName(t, n) {
694
- throw new vt();
694
+ throw new bt();
695
695
  }
696
696
  /**
697
697
  * Returns the offset's value as a string
@@ -702,7 +702,7 @@ class Dn {
702
702
  * @return {string}
703
703
  */
704
704
  formatOffset(t, n) {
705
- throw new vt();
705
+ throw new bt();
706
706
  }
707
707
  /**
708
708
  * Return the offset in minutes for this zone at the specified timestamp.
@@ -711,7 +711,7 @@ class Dn {
711
711
  * @return {number}
712
712
  */
713
713
  offset(t) {
714
- throw new vt();
714
+ throw new bt();
715
715
  }
716
716
  /**
717
717
  * Return whether this Zone is equal to another zone
@@ -720,7 +720,7 @@ class Dn {
720
720
  * @return {boolean}
721
721
  */
722
722
  equals(t) {
723
- throw new vt();
723
+ throw new bt();
724
724
  }
725
725
  /**
726
726
  * Return whether this Zone is valid.
@@ -728,7 +728,7 @@ class Dn {
728
728
  * @type {boolean}
729
729
  */
730
730
  get isValid() {
731
- throw new vt();
731
+ throw new bt();
732
732
  }
733
733
  }
734
734
  let Pi = null;
@@ -1011,7 +1011,7 @@ class Su extends Dn {
1011
1011
  return !1;
1012
1012
  }
1013
1013
  }
1014
- function xt(e, t) {
1014
+ function wt(e, t) {
1015
1015
  if (Z(e) || e === null)
1016
1016
  return t;
1017
1017
  if (e instanceof Dn)
@@ -1055,7 +1055,7 @@ class ge {
1055
1055
  * @type {Zone}
1056
1056
  */
1057
1057
  static get defaultZone() {
1058
- return xt(ss, Fr.instance);
1058
+ return wt(ss, Fr.instance);
1059
1059
  }
1060
1060
  /**
1061
1061
  * Get the default locale to create DateTimes with. Does not affect existing instances.
@@ -1372,7 +1372,7 @@ function na(...e) {
1372
1372
  const r = {};
1373
1373
  let s;
1374
1374
  for (s = 0; s < e.length; s++)
1375
- r[e[s]] = bt(t[n + s]);
1375
+ r[e[s]] = kt(t[n + s]);
1376
1376
  return [r, null, n + s];
1377
1377
  };
1378
1378
  }
@@ -1381,7 +1381,7 @@ const ia = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/, $r = /(\d\d)(?::?(\d\d)(?::?(\d\d)
1381
1381
  ), zu = RegExp(`(?: ${sa.source})?`);
1382
1382
  function Xt(e, t, n) {
1383
1383
  const r = e[t];
1384
- return Z(r) ? n : bt(r);
1384
+ return Z(r) ? n : kt(r);
1385
1385
  }
1386
1386
  function la(e, t) {
1387
1387
  return [{
@@ -1435,13 +1435,13 @@ const Wu = {
1435
1435
  };
1436
1436
  function Lr(e, t, n, r, s, i, l) {
1437
1437
  const a = {
1438
- year: t.length === 2 ? pr(bt(t)) : bt(t),
1438
+ year: t.length === 2 ? pr(kt(t)) : kt(t),
1439
1439
  month: Yl.indexOf(n) + 1,
1440
- day: bt(r),
1441
- hour: bt(s),
1442
- minute: bt(i)
1440
+ day: kt(r),
1441
+ hour: kt(s),
1442
+ minute: kt(i)
1443
1443
  };
1444
- return l && (a.second = bt(l)), e && (a.weekday = e.length > 3 ? Jl.indexOf(e) + 1 : Xl.indexOf(e) + 1), a;
1444
+ return l && (a.second = kt(l)), e && (a.weekday = e.length > 3 ? Jl.indexOf(e) + 1 : Xl.indexOf(e) + 1), a;
1445
1445
  }
1446
1446
  const Ku = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;
1447
1447
  function Yu(e) {
@@ -2641,7 +2641,7 @@ let Wn = class {
2641
2641
  * @return {Zone}
2642
2642
  */
2643
2643
  static normalizeZone(t) {
2644
- return xt(t, ge.defaultZone);
2644
+ return wt(t, ge.defaultZone);
2645
2645
  }
2646
2646
  /**
2647
2647
  * Return an array of standalone month names.
@@ -3330,7 +3330,7 @@ function xs(e) {
3330
3330
  return t;
3331
3331
  }
3332
3332
  function ws(e, t) {
3333
- const n = xt(t.zone, ge.defaultZone), r = ce.fromObject(t), s = ge.now();
3333
+ const n = wt(t.zone, ge.defaultZone), r = ce.fromObject(t), s = ge.now();
3334
3334
  let i, l;
3335
3335
  if (Z(e.year))
3336
3336
  i = s;
@@ -3453,7 +3453,7 @@ class P {
3453
3453
  const r = iu(t) ? t.valueOf() : NaN;
3454
3454
  if (Number.isNaN(r))
3455
3455
  return P.invalid("invalid input");
3456
- const s = xt(n.zone, ge.defaultZone);
3456
+ const s = wt(n.zone, ge.defaultZone);
3457
3457
  return s.isValid ? new P({
3458
3458
  ts: r,
3459
3459
  zone: s,
@@ -3474,7 +3474,7 @@ class P {
3474
3474
  if (Nt(t))
3475
3475
  return t < -gs || t > gs ? P.invalid("Timestamp out of range") : new P({
3476
3476
  ts: t,
3477
- zone: xt(n.zone, ge.defaultZone),
3477
+ zone: wt(n.zone, ge.defaultZone),
3478
3478
  loc: ce.fromObject(n)
3479
3479
  });
3480
3480
  throw new We(
@@ -3495,7 +3495,7 @@ class P {
3495
3495
  if (Nt(t))
3496
3496
  return new P({
3497
3497
  ts: t * 1e3,
3498
- zone: xt(n.zone, ge.defaultZone),
3498
+ zone: wt(n.zone, ge.defaultZone),
3499
3499
  loc: ce.fromObject(n)
3500
3500
  });
3501
3501
  throw new We("fromSeconds requires a numerical input");
@@ -3530,7 +3530,7 @@ class P {
3530
3530
  */
3531
3531
  static fromObject(t, n = {}) {
3532
3532
  t = t || {};
3533
- const r = xt(n.zone, ge.defaultZone);
3533
+ const r = wt(n.zone, ge.defaultZone);
3534
3534
  if (!r.isValid)
3535
3535
  return P.invalid(Kn(r));
3536
3536
  const s = ge.now(), i = Z(n.specificOffset) ? r.offset(s) : n.specificOffset, l = mi(t, xs), a = !Z(l.ordinal), u = !Z(l.year), f = !Z(l.month) || !Z(l.day), c = u || f, p = l.weekYear || l.weekNumber, g = ce.fromObject(n);
@@ -4028,7 +4028,7 @@ class P {
4028
4028
  * @return {DateTime}
4029
4029
  */
4030
4030
  setZone(t, { keepLocalTime: n = !1, keepCalendarTime: r = !1 } = {}) {
4031
- if (t = xt(t, ge.defaultZone), t.equals(this.zone))
4031
+ if (t = wt(t, ge.defaultZone), t.equals(this.zone))
4032
4032
  return this;
4033
4033
  if (t.isValid) {
4034
4034
  let s = this.ts;
@@ -7390,6 +7390,10 @@ const A_ = {
7390
7390
  },
7391
7391
  modelValue: {
7392
7392
  // type: [Object, Array],
7393
+ },
7394
+ pills: {
7395
+ type: Boolean,
7396
+ default: !1
7393
7397
  }
7394
7398
  },
7395
7399
  mixins: [Q],
@@ -7456,7 +7460,7 @@ const A_ = {
7456
7460
  },
7457
7461
  classes() {
7458
7462
  var e = [];
7459
- return this.multiValue ? e.push("multiple") : e.push("single"), e;
7463
+ return this.multiValue ? e.push("multiple") : e.push("single"), this.pills && e.push("pills"), e;
7460
7464
  },
7461
7465
  summary() {
7462
7466
  if (this.multiValue)
@@ -7505,7 +7509,7 @@ const A_ = {
7505
7509
  }));
7506
7510
  }
7507
7511
  }
7508
- }, M_ = (e) => (Ye("data-v-eb136b2f"), e = e(), Ze(), e), D_ = {
7512
+ }, M_ = (e) => (Ye("data-v-60640a7f"), e = e(), Ze(), e), D_ = {
7509
7513
  key: 0,
7510
7514
  class: "ux-field-title"
7511
7515
  }, I_ = {
@@ -7555,7 +7559,7 @@ function Z_(e, t, n, r, s, i) {
7555
7559
  x("a", {
7556
7560
  onClick: (g) => i.removeValue(p)
7557
7561
  }, [
7558
- m(a, { icon: "fa-times" })
7562
+ m(a, { icon: "fa-trash-alt" })
7559
7563
  ], 8, N_)
7560
7564
  ]),
7561
7565
  _: 2
@@ -7604,7 +7608,7 @@ function Z_(e, t, n, r, s, i) {
7604
7608
  value: c.value
7605
7609
  }, v(c.title), 9, z_))), 256))
7606
7610
  ], 544), [
7607
- [Tt, s.candidate]
7611
+ [Ot, s.candidate]
7608
7612
  ])
7609
7613
  ], 64)) : _("", !0)
7610
7614
  ], 64)) : (o(), d(S, { key: 1 }, [
@@ -7638,13 +7642,13 @@ function Z_(e, t, n, r, s, i) {
7638
7642
  value: c.value
7639
7643
  }, v(c.title), 9, Y_))), 256))
7640
7644
  ], 40, q_), [
7641
- [Tt, e.model]
7645
+ [Ot, e.model]
7642
7646
  ])
7643
7647
  ], 64))
7644
7648
  ]))
7645
7649
  ], 2);
7646
7650
  }
7647
- const Vt = /* @__PURE__ */ V(A_, [["render", Z_], ["__scopeId", "data-v-eb136b2f"]]);
7651
+ const pt = /* @__PURE__ */ V(A_, [["render", Z_], ["__scopeId", "data-v-60640a7f"]]);
7648
7652
  const J_ = {
7649
7653
  props: {
7650
7654
  total: {
@@ -7670,7 +7674,7 @@ const J_ = {
7670
7674
  }
7671
7675
  },
7672
7676
  components: {
7673
- NativeSelect: Vt
7677
+ NativeSelect: pt
7674
7678
  },
7675
7679
  watch: {
7676
7680
  totalPages() {
@@ -7845,7 +7849,7 @@ function X_(e, t, n, r, s, i) {
7845
7849
  _: 1
7846
7850
  });
7847
7851
  }
7848
- const tM = /* @__PURE__ */ V(J_, [["render", X_], ["__scopeId", "data-v-f46dd772"]]);
7852
+ const eM = /* @__PURE__ */ V(J_, [["render", X_], ["__scopeId", "data-v-f46dd772"]]);
7849
7853
  const Q_ = {
7850
7854
  props: {
7851
7855
  icon: {
@@ -9248,7 +9252,7 @@ const av = {
9248
9252
  }
9249
9253
  },
9250
9254
  components: {
9251
- NativeSelect: Vt
9255
+ NativeSelect: pt
9252
9256
  },
9253
9257
  mixins: [Q],
9254
9258
  async created() {
@@ -9421,7 +9425,7 @@ function kv(e, t, n, r, s, i) {
9421
9425
  value: p.value
9422
9426
  }, v(p.title), 9, gv))), 256))
9423
9427
  ], 512), [
9424
- [Tt, e.model.countryCode]
9428
+ [Ot, e.model.countryCode]
9425
9429
  ])
9426
9430
  ]),
9427
9431
  _: 1
@@ -10014,7 +10018,7 @@ function Dv(e, t, n, r, s, i) {
10014
10018
  value: a.value
10015
10019
  }, v(a.title), 9, Mv))), 256))
10016
10020
  ], 40, Ev), [
10017
- [Tt, e.model]
10021
+ [Ot, e.model]
10018
10022
  ])
10019
10023
  ], 2);
10020
10024
  }
@@ -10194,15 +10198,15 @@ function ct(e) {
10194
10198
  if (typeof window < "u" && window.navigator)
10195
10199
  return !!/* @__PURE__ */ navigator.userAgent.match(e);
10196
10200
  }
10197
- var pt = ct(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Pn = ct(/Edge/i), Hs = ct(/firefox/i), On = ct(/safari/i) && !ct(/chrome/i) && !ct(/android/i), Ra = ct(/iP(ad|od|hone)/i), jv = ct(/chrome/i) && ct(/android/i), Ba = {
10201
+ var yt = ct(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Pn = ct(/Edge/i), Hs = ct(/firefox/i), On = ct(/safari/i) && !ct(/chrome/i) && !ct(/android/i), Ra = ct(/iP(ad|od|hone)/i), jv = ct(/chrome/i) && ct(/android/i), Ba = {
10198
10202
  capture: !1,
10199
10203
  passive: !1
10200
10204
  };
10201
10205
  function ne(e, t, n) {
10202
- e.addEventListener(t, n, !pt && Ba);
10206
+ e.addEventListener(t, n, !yt && Ba);
10203
10207
  }
10204
10208
  function J(e, t, n) {
10205
- e.removeEventListener(t, n, !pt && Ba);
10209
+ e.removeEventListener(t, n, !yt && Ba);
10206
10210
  }
10207
10211
  function yi(e, t) {
10208
10212
  if (t) {
@@ -10282,7 +10286,7 @@ function ot() {
10282
10286
  function ve(e, t, n, r, s) {
10283
10287
  if (!(!e.getBoundingClientRect && e !== window)) {
10284
10288
  var i, l, a, u, f, c, p;
10285
- if (e !== window && e.parentNode && e !== ot() ? (i = e.getBoundingClientRect(), l = i.top, a = i.left, u = i.bottom, f = i.right, c = i.height, p = i.width) : (l = 0, a = 0, u = window.innerHeight, f = window.innerWidth, c = window.innerHeight, p = window.innerWidth), (t || n) && e !== window && (s = s || e.parentNode, !pt))
10289
+ if (e !== window && e.parentNode && e !== ot() ? (i = e.getBoundingClientRect(), l = i.top, a = i.left, u = i.bottom, f = i.right, c = i.height, p = i.width) : (l = 0, a = 0, u = window.innerHeight, f = window.innerWidth, c = window.innerHeight, p = window.innerWidth), (t || n) && e !== window && (s = s || e.parentNode, !yt))
10286
10290
  do
10287
10291
  if (s && s.getBoundingClientRect && (j(s, "transform") !== "none" || n && j(s, "position") !== "static")) {
10288
10292
  var g = s.getBoundingClientRect();
@@ -10305,13 +10309,13 @@ function ve(e, t, n, r, s) {
10305
10309
  }
10306
10310
  }
10307
10311
  function Gs(e, t, n) {
10308
- for (var r = St(e, !0), s = ve(e)[t]; r; ) {
10312
+ for (var r = Tt(e, !0), s = ve(e)[t]; r; ) {
10309
10313
  var i = ve(r)[n], l = void 0;
10310
10314
  if (n === "top" || n === "left" ? l = s >= i : l = s <= i, !l)
10311
10315
  return r;
10312
10316
  if (r === ot())
10313
10317
  break;
10314
- r = St(r, !1);
10318
+ r = Tt(r, !1);
10315
10319
  }
10316
10320
  return !1;
10317
10321
  }
@@ -10357,7 +10361,7 @@ function Bv(e, t) {
10357
10361
  }
10358
10362
  return -1;
10359
10363
  }
10360
- function St(e, t) {
10364
+ function Tt(e, t) {
10361
10365
  if (!e || !e.getBoundingClientRect)
10362
10366
  return ot();
10363
10367
  var n = e, r = !1;
@@ -10526,7 +10530,7 @@ function Kv(e) {
10526
10530
  var t = e.sortable, n = e.rootEl, r = e.name, s = e.targetEl, i = e.cloneEl, l = e.toEl, a = e.fromEl, u = e.oldIndex, f = e.newIndex, c = e.oldDraggableIndex, p = e.newDraggableIndex, g = e.originalEvent, b = e.putSortable, w = e.extraEventProperties;
10527
10531
  if (t = t || n && n[Be], !!t) {
10528
10532
  var C, U = t.options, z = "on" + r.charAt(0).toUpperCase() + r.substr(1);
10529
- window.CustomEvent && !pt && !Pn ? C = new CustomEvent(r, {
10533
+ window.CustomEvent && !yt && !Pn ? C = new CustomEvent(r, {
10530
10534
  bubbles: !0,
10531
10535
  cancelable: !0
10532
10536
  }) : (C = document.createEvent("Event"), C.initEvent(r, !0, !0)), C.to = l || n, C.from = a || n, C.item = s || n, C.clone = i, C.oldIndex = u, C.newIndex = f, C.oldDraggableIndex = c, C.newDraggableIndex = p, C.originalEvent = g, C.pullMode = b ? b.lastPutMode : void 0;
@@ -10546,7 +10550,7 @@ var Yv = ["evt"], Le = function(t, n) {
10546
10550
  nextEl: $t,
10547
10551
  lastDownEl: li,
10548
10552
  cloneEl: me,
10549
- cloneHidden: wt,
10553
+ cloneHidden: St,
10550
10554
  dragStarted: xn,
10551
10555
  putSortable: we,
10552
10556
  activeSortable: R.active,
@@ -10554,14 +10558,14 @@ var Yv = ["evt"], Le = function(t, n) {
10554
10558
  oldIndex: Zt,
10555
10559
  oldDraggableIndex: Cn,
10556
10560
  newIndex: je,
10557
- newDraggableIndex: kt,
10561
+ newDraggableIndex: xt,
10558
10562
  hideGhostForTarget: Za,
10559
10563
  unhideGhostForTarget: Ja,
10560
10564
  cloneNowHidden: function() {
10561
- wt = !0;
10565
+ St = !0;
10562
10566
  },
10563
10567
  cloneNowShown: function() {
10564
- wt = !1;
10568
+ St = !1;
10565
10569
  },
10566
10570
  dispatchSortableEvent: function(a) {
10567
10571
  Fe({
@@ -10581,12 +10585,12 @@ function Fe(e) {
10581
10585
  oldIndex: Zt,
10582
10586
  oldDraggableIndex: Cn,
10583
10587
  newIndex: je,
10584
- newDraggableIndex: kt
10588
+ newDraggableIndex: xt
10585
10589
  }, e));
10586
10590
  }
10587
- var M, fe, W, de, $t, li, me, wt, Zt, je, Cn, kt, Xn, we, Kt = !1, _i = !1, gi = [], Dt, et, Zi, Ji, Ks, Ys, xn, Wt, En, An = !1, Qn = !1, ai, Ee, Xi = [], xr = !1, vi = [], Fi = typeof document < "u", ei = Ra, Zs = Pn || pt ? "cssFloat" : "float", Zv = Fi && !jv && !Ra && "draggable" in document.createElement("div"), Wa = function() {
10591
+ var M, fe, W, de, $t, li, me, St, Zt, je, Cn, xt, Xn, we, Kt = !1, _i = !1, gi = [], Dt, et, Zi, Ji, Ks, Ys, xn, Wt, En, An = !1, Qn = !1, ai, Ee, Xi = [], xr = !1, vi = [], Fi = typeof document < "u", ei = Ra, Zs = Pn || yt ? "cssFloat" : "float", Zv = Fi && !jv && !Ra && "draggable" in document.createElement("div"), Wa = function() {
10588
10592
  if (Fi) {
10589
- if (pt)
10593
+ if (yt)
10590
10594
  return !1;
10591
10595
  var e = document.createElement("x");
10592
10596
  return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
@@ -10786,7 +10790,7 @@ R.prototype = /** @lends Sortable.prototype */
10786
10790
  za(M, c.trim(), Qi);
10787
10791
  }), ne(a, "dragover", It), ne(a, "mousemove", It), ne(a, "touchmove", It), ne(a, "mouseup", s._onDrop), ne(a, "touchend", s._onDrop), ne(a, "touchcancel", s._onDrop), Hs && this.nativeDraggable && (this.options.touchStartThreshold = 4, M.draggable = !0), Le("delayStart", this, {
10788
10792
  evt: t
10789
- }), l.delay && (!l.delayOnTouchOnly || n) && (!this.nativeDraggable || !(Pn || pt))) {
10793
+ }), l.delay && (!l.delayOnTouchOnly || n) && (!this.nativeDraggable || !(Pn || yt))) {
10790
10794
  if (R.eventCanceled) {
10791
10795
  this._onDrop();
10792
10796
  return;
@@ -10935,12 +10939,12 @@ R.prototype = /** @lends Sortable.prototype */
10935
10939
  }), w !== g && (g.animateAll(), g._ignoreWhileAnimating = null)), (r === M && !M.animated || r === n && !r.animated) && (Wt = null), !a.dragoverBubble && !t.rootEl && r !== document && (M.parentNode[Be]._isOutsideThisEl(t.target), !it && It(t)), !a.dragoverBubble && t.stopPropagation && t.stopPropagation(), C = !0;
10936
10940
  }
10937
10941
  function ee() {
10938
- je = Ge(M), kt = Ge(M, a.draggable), Fe({
10942
+ je = Ge(M), xt = Ge(M, a.draggable), Fe({
10939
10943
  sortable: w,
10940
10944
  name: "change",
10941
10945
  toEl: n,
10942
10946
  newIndex: je,
10943
- newDraggableIndex: kt,
10947
+ newDraggableIndex: xt,
10944
10948
  originalEvent: t
10945
10949
  });
10946
10950
  }
@@ -10981,9 +10985,9 @@ R.prototype = /** @lends Sortable.prototype */
10981
10985
  Wt = r, En = q;
10982
10986
  var Ne = r.nextElementSibling, Ve = !1;
10983
10987
  Ve = q === 1;
10984
- var yt = ti(de, n, M, s, r, i, t, Ve);
10985
- if (yt !== !1)
10986
- return (yt === 1 || yt === -1) && (Ve = yt === 1), xr = !0, setTimeout(t1, 30), z(), Ve && !Ne ? n.appendChild(M) : r.parentNode.insertBefore(M, Ve ? Ne : r), ke && qa(ke, 0, xe - ke.scrollTop), fe = M.parentNode, $ !== void 0 && !Qn && (ai = Math.abs($ - ve(r)[Me])), ee(), D(!0);
10988
+ var _t = ti(de, n, M, s, r, i, t, Ve);
10989
+ if (_t !== !1)
10990
+ return (_t === 1 || _t === -1) && (Ve = _t === 1), xr = !0, setTimeout(t1, 30), z(), Ve && !Ne ? n.appendChild(M) : r.parentNode.insertBefore(M, Ve ? Ne : r), ke && qa(ke, 0, xe - ke.scrollTop), fe = M.parentNode, $ !== void 0 && !Qn && (ai = Math.abs($ - ve(r)[Me])), ee(), D(!0);
10987
10991
  }
10988
10992
  if (n.contains(M))
10989
10993
  return D(!1);
@@ -11000,9 +11004,9 @@ R.prototype = /** @lends Sortable.prototype */
11000
11004
  },
11001
11005
  _onDrop: function(t) {
11002
11006
  var n = this.el, r = this.options;
11003
- if (je = Ge(M), kt = Ge(M, r.draggable), Le("drop", this, {
11007
+ if (je = Ge(M), xt = Ge(M, r.draggable), Le("drop", this, {
11004
11008
  evt: t
11005
- }), fe = M && M.parentNode, je = Ge(M), kt = Ge(M, r.draggable), R.eventCanceled) {
11009
+ }), fe = M && M.parentNode, je = Ge(M), xt = Ge(M, r.draggable), R.eventCanceled) {
11006
11010
  this._nulling();
11007
11011
  return;
11008
11012
  }
@@ -11045,7 +11049,7 @@ R.prototype = /** @lends Sortable.prototype */
11045
11049
  name: "sort",
11046
11050
  toEl: fe,
11047
11051
  originalEvent: t
11048
- })), R.active && ((je == null || je === -1) && (je = Zt, kt = Cn), Fe({
11052
+ })), R.active && ((je == null || je === -1) && (je = Zt, xt = Cn), Fe({
11049
11053
  sortable: this,
11050
11054
  name: "end",
11051
11055
  toEl: fe,
@@ -11053,7 +11057,7 @@ R.prototype = /** @lends Sortable.prototype */
11053
11057
  }), this.save()))), this._nulling();
11054
11058
  },
11055
11059
  _nulling: function() {
11056
- Le("nulling", this), de = M = fe = W = $t = me = li = wt = Dt = et = xn = je = kt = Zt = Cn = Wt = En = we = Xn = R.dragged = R.ghost = R.clone = R.active = null, vi.forEach(function(t) {
11060
+ Le("nulling", this), de = M = fe = W = $t = me = li = St = Dt = et = xn = je = xt = Zt = Cn = Wt = En = we = Xn = R.dragged = R.ghost = R.clone = R.active = null, vi.forEach(function(t) {
11057
11061
  t.checked = !0;
11058
11062
  }), vi.length = Zi = Ji = 0;
11059
11063
  },
@@ -11134,10 +11138,10 @@ R.prototype = /** @lends Sortable.prototype */
11134
11138
  }), this._onDrop(), this._disableDelayedDragEvents(), gi.splice(gi.indexOf(this.el), 1), this.el = t = null;
11135
11139
  },
11136
11140
  _hideClone: function() {
11137
- if (!wt) {
11141
+ if (!St) {
11138
11142
  if (Le("hideClone", this), R.eventCanceled)
11139
11143
  return;
11140
- j(me, "display", "none"), this.options.removeCloneOnHide && me.parentNode && me.parentNode.removeChild(me), wt = !0;
11144
+ j(me, "display", "none"), this.options.removeCloneOnHide && me.parentNode && me.parentNode.removeChild(me), St = !0;
11141
11145
  }
11142
11146
  },
11143
11147
  _showClone: function(t) {
@@ -11145,10 +11149,10 @@ R.prototype = /** @lends Sortable.prototype */
11145
11149
  this._hideClone();
11146
11150
  return;
11147
11151
  }
11148
- if (wt) {
11152
+ if (St) {
11149
11153
  if (Le("showClone", this), R.eventCanceled)
11150
11154
  return;
11151
- M.parentNode == de && !this.options.group.revertClone ? de.insertBefore(me, M) : $t ? de.insertBefore(me, $t) : de.appendChild(me), this.options.group.revertClone && this.animate(M, me), j(me, "display", ""), wt = !1;
11155
+ M.parentNode == de && !this.options.group.revertClone ? de.insertBefore(me, M) : $t ? de.insertBefore(me, $t) : de.appendChild(me), this.options.group.revertClone && this.animate(M, me), j(me, "display", ""), St = !1;
11152
11156
  }
11153
11157
  }
11154
11158
  };
@@ -11157,7 +11161,7 @@ function e1(e) {
11157
11161
  }
11158
11162
  function ti(e, t, n, r, s, i, l, a) {
11159
11163
  var u, f = e[Be], c = f.options.onMove, p;
11160
- return window.CustomEvent && !pt && !Pn ? u = new CustomEvent("move", {
11164
+ return window.CustomEvent && !yt && !Pn ? u = new CustomEvent("move", {
11161
11165
  bubbles: !0,
11162
11166
  cancelable: !0
11163
11167
  }) : (u = document.createEvent("Event"), u.initEvent("move", !0, !0)), u.to = t, u.from = e, u.dragged = n, u.draggedRect = r, u.related = s || t, u.relatedRect = i || ve(t), u.willInsertAfter = a, u.originalEvent = l, e.dispatchEvent(u), c && (p = c.call(f, u, l)), p;
@@ -11281,19 +11285,19 @@ function o1() {
11281
11285
  },
11282
11286
  _handleAutoScroll: function(n, r) {
11283
11287
  var s = this, i = (n.touches ? n.touches[0] : n).clientX, l = (n.touches ? n.touches[0] : n).clientY, a = document.elementFromPoint(i, l);
11284
- if (bi = n, r || this.options.forceAutoScrollFallback || Pn || pt || On) {
11288
+ if (bi = n, r || this.options.forceAutoScrollFallback || Pn || yt || On) {
11285
11289
  nr(n, this.options, a, r);
11286
- var u = St(a, !0);
11290
+ var u = Tt(a, !0);
11287
11291
  Tr && (!Sn || i !== er || l !== tr) && (Sn && Js(), Sn = setInterval(function() {
11288
- var f = St(document.elementFromPoint(i, l), !0);
11292
+ var f = Tt(document.elementFromPoint(i, l), !0);
11289
11293
  f !== u && (u = f, ui()), nr(n, s.options, f, r);
11290
11294
  }, 10), er = i, tr = l);
11291
11295
  } else {
11292
- if (!this.options.bubbleScroll || St(a, !0) === ot()) {
11296
+ if (!this.options.bubbleScroll || Tt(a, !0) === ot()) {
11293
11297
  ui();
11294
11298
  return;
11295
11299
  }
11296
- nr(n, this.options, St(a, !1), !1);
11300
+ nr(n, this.options, Tt(a, !1), !1);
11297
11301
  }
11298
11302
  }
11299
11303
  }, ht(e, {
@@ -11312,7 +11316,7 @@ function Js() {
11312
11316
  var nr = Ha(function(e, t, n, r) {
11313
11317
  if (t.scroll) {
11314
11318
  var s = (e.touches ? e.touches[0] : e).clientX, i = (e.touches ? e.touches[0] : e).clientY, l = t.scrollSensitivity, a = t.scrollSpeed, u = ot(), f = !1, c;
11315
- Sr !== n && (Sr = n, ui(), wn = t.scroll, c = t.scrollFn, wn === !0 && (wn = St(n, !0)));
11319
+ Sr !== n && (Sr = n, ui(), wn = t.scroll, c = t.scrollFn, wn === !0 && (wn = Tt(n, !0)));
11316
11320
  var p = 0, g = wn;
11317
11321
  do {
11318
11322
  var b = g, w = ve(b), C = w.top, U = w.bottom, z = w.left, D = w.right, ee = w.width, ie = w.height, oe = void 0, q = void 0, $ = b.scrollWidth, le = b.scrollHeight, G = j(b), Me = b.scrollLeft, ke = b.scrollTop;
@@ -11328,7 +11332,7 @@ var nr = Ha(function(e, t, n, r) {
11328
11332
  }.bind({
11329
11333
  layer: p
11330
11334
  }), 24))), p++;
11331
- } while (t.bubbleScroll && g !== u && (g = St(g, !1)));
11335
+ } while (t.bubbleScroll && g !== u && (g = Tt(g, !1)));
11332
11336
  Tr = f;
11333
11337
  }
11334
11338
  }, 30), Xa = function(t) {
@@ -12278,7 +12282,7 @@ function q1(e, t, n, r, s, i) {
12278
12282
  value: a.value
12279
12283
  }, v(a.title), 9, H1))), 256))
12280
12284
  ], 40, B1), [
12281
- [Tt, e.model]
12285
+ [Ot, e.model]
12282
12286
  ])
12283
12287
  ], 2);
12284
12288
  }
@@ -13577,25 +13581,25 @@ const Qb = {
13577
13581
  return "00:00";
13578
13582
  }
13579
13583
  }
13580
- }, ek = {
13584
+ }, e0 = {
13581
13585
  key: 0,
13582
13586
  class: "ux-field-title"
13583
- }, tk = {
13587
+ }, t0 = {
13584
13588
  key: 0,
13585
13589
  class: "ux-required-marker"
13586
- }, nk = {
13590
+ }, n0 = {
13587
13591
  key: 1,
13588
13592
  class: "ux-field-description"
13589
- }, ik = { key: 2 }, rk = ["onUpdate:modelValue"];
13590
- function sk(e, t, n, r, s, i) {
13593
+ }, i0 = { key: 2 }, r0 = ["onUpdate:modelValue"];
13594
+ function s0(e, t, n, r, s, i) {
13591
13595
  const l = y("flex-cell"), a = y("ux-icon"), u = y("ux-button"), f = y("flex-row");
13592
13596
  return o(), d(S, null, [
13593
- e.showLabel ? (o(), d("label", ek, [
13597
+ e.showLabel ? (o(), d("label", e0, [
13594
13598
  T(v(e.label) + " ", 1),
13595
- e.required ? (o(), d("span", tk, "*")) : _("", !0)
13599
+ e.required ? (o(), d("span", t0, "*")) : _("", !0)
13596
13600
  ])) : _("", !0),
13597
- e.showDescription ? (o(), d("div", nk, v(e.description), 1)) : _("", !0),
13598
- e.multiValue ? (o(), d("div", ik, [
13601
+ e.showDescription ? (o(), d("div", n0, v(e.description), 1)) : _("", !0),
13602
+ e.multiValue ? (o(), d("div", i0, [
13599
13603
  (o(!0), d(S, null, F(e.model, (c, p) => (o(), k(f, {
13600
13604
  class: "ux-text-row",
13601
13605
  key: p
@@ -13611,7 +13615,7 @@ function sk(e, t, n, r, s, i) {
13611
13615
  ref: "input",
13612
13616
  onKeydown: t[1] || (t[1] = _e(B((g) => e.add(), ["stop", "prevent"]), ["enter"])),
13613
13617
  "onUpdate:modelValue": (g) => e.model[p] = g
13614
- }, null, 40, rk), [
13618
+ }, null, 40, r0), [
13615
13619
  [se, e.model[p]]
13616
13620
  ])
13617
13621
  ]),
@@ -13659,8 +13663,8 @@ function sk(e, t, n, r, s, i) {
13659
13663
  ])
13660
13664
  ], 64);
13661
13665
  }
13662
- const lk = /* @__PURE__ */ V(Qb, [["render", sk], ["__scopeId", "data-v-9ae5aa1e"]]);
13663
- const ak = {
13666
+ const l0 = /* @__PURE__ */ V(Qb, [["render", s0], ["__scopeId", "data-v-9ae5aa1e"]]);
13667
+ const a0 = {
13664
13668
  components: {
13665
13669
  Daterange: lv
13666
13670
  },
@@ -13696,25 +13700,25 @@ const ak = {
13696
13700
  return {};
13697
13701
  }
13698
13702
  }
13699
- }, ok = {
13703
+ }, o0 = {
13700
13704
  key: 0,
13701
13705
  class: "ux-field-title"
13702
- }, uk = {
13706
+ }, u0 = {
13703
13707
  key: 0,
13704
13708
  class: "ux-required-marker"
13705
- }, dk = {
13709
+ }, d0 = {
13706
13710
  key: 1,
13707
13711
  class: "ux-field-description"
13708
- }, ck = { key: 2 };
13709
- function fk(e, t, n, r, s, i) {
13712
+ }, c0 = { key: 2 };
13713
+ function f0(e, t, n, r, s, i) {
13710
13714
  const l = y("daterange", !0), a = y("flex-cell"), u = y("ux-icon"), f = y("ux-button"), c = y("flex-row");
13711
13715
  return o(), d(S, null, [
13712
- e.showLabel ? (o(), d("label", ok, [
13716
+ e.showLabel ? (o(), d("label", o0, [
13713
13717
  T(v(e.label) + " ", 1),
13714
- e.required ? (o(), d("span", uk, "*")) : _("", !0)
13718
+ e.required ? (o(), d("span", u0, "*")) : _("", !0)
13715
13719
  ])) : _("", !0),
13716
- e.showDescription ? (o(), d("div", dk, v(e.description), 1)) : _("", !0),
13717
- e.multiValue ? (o(), d("div", ck, [
13720
+ e.showDescription ? (o(), d("div", d0, v(e.description), 1)) : _("", !0),
13721
+ e.multiValue ? (o(), d("div", c0, [
13718
13722
  (o(!0), d(S, null, F(i.model, (p, g) => (o(), k(c, {
13719
13723
  class: "ux-text-row",
13720
13724
  key: g
@@ -13769,11 +13773,11 @@ function fk(e, t, n, r, s, i) {
13769
13773
  }, null, 8, ["onFocus", "modelValue"]))
13770
13774
  ], 64);
13771
13775
  }
13772
- const mk = /* @__PURE__ */ V(ak, [["render", fk], ["__scopeId", "data-v-b6688859"]]);
13776
+ const m0 = /* @__PURE__ */ V(a0, [["render", f0], ["__scopeId", "data-v-b6688859"]]);
13773
13777
  function il(e) {
13774
13778
  return Array.isArray(e) ? !!e[0] : !!e;
13775
13779
  }
13776
- const hk = {
13780
+ const h0 = {
13777
13781
  mixins: [Q],
13778
13782
  components: {
13779
13783
  UxCheckbox: Hr
@@ -13806,17 +13810,17 @@ const hk = {
13806
13810
  return String(this.description).length > 2;
13807
13811
  }
13808
13812
  }
13809
- }, pk = {
13813
+ }, p0 = {
13810
13814
  key: 0,
13811
13815
  class: "ux-field-title"
13812
- }, yk = {
13816
+ }, y0 = {
13813
13817
  key: 0,
13814
13818
  class: "ux-required-marker"
13815
- }, _k = {
13819
+ }, _0 = {
13816
13820
  key: 1,
13817
13821
  class: "ux-field-description"
13818
13822
  };
13819
- function gk(e, t, n, r, s, i) {
13823
+ function g0(e, t, n, r, s, i) {
13820
13824
  const l = y("ux-checkbox"), a = y("flex-cell"), u = y("flex-row");
13821
13825
  return o(), d("div", null, [
13822
13826
  m(u, {
@@ -13839,11 +13843,11 @@ function gk(e, t, n, r, s, i) {
13839
13843
  m(a, { vcenter: "" }, {
13840
13844
  default: h(() => [
13841
13845
  x("div", null, [
13842
- e.showLabel ? (o(), d("label", pk, [
13846
+ e.showLabel ? (o(), d("label", p0, [
13843
13847
  T(v(e.label) + " ", 1),
13844
- e.required ? (o(), d("span", yk, "*")) : _("", !0)
13848
+ e.required ? (o(), d("span", y0, "*")) : _("", !0)
13845
13849
  ])) : _("", !0),
13846
- e.showDescription ? (o(), d("div", _k, v(e.description), 1)) : _("", !0)
13850
+ e.showDescription ? (o(), d("div", _0, v(e.description), 1)) : _("", !0)
13847
13851
  ])
13848
13852
  ]),
13849
13853
  _: 1
@@ -13853,7 +13857,7 @@ function gk(e, t, n, r, s, i) {
13853
13857
  })
13854
13858
  ]);
13855
13859
  }
13856
- const vk = /* @__PURE__ */ V(hk, [["render", gk]]), bk = {
13860
+ const v0 = /* @__PURE__ */ V(h0, [["render", g0]]), b0 = {
13857
13861
  props: {
13858
13862
  modelValue: {
13859
13863
  type: [String, Array]
@@ -13865,10 +13869,10 @@ const vk = /* @__PURE__ */ V(hk, [["render", gk]]), bk = {
13865
13869
  return "";
13866
13870
  }
13867
13871
  }
13868
- }, kk = { key: 0 }, xk = ["innerHTML"], wk = ["innerHTML"];
13869
- function Sk(e, t, n, r, s, i) {
13872
+ }, k0 = { key: 0 }, x0 = ["innerHTML"], w0 = ["innerHTML"];
13873
+ function S0(e, t, n, r, s, i) {
13870
13874
  const l = y("flex-cell"), a = y("ux-icon"), u = y("ux-button"), f = y("flex-row");
13871
- return e.multiValue ? (o(), d("div", kk, [
13875
+ return e.multiValue ? (o(), d("div", k0, [
13872
13876
  m(f, { class: "ux-text-row" }, {
13873
13877
  default: h(() => [
13874
13878
  m(l, null, {
@@ -13876,7 +13880,7 @@ function Sk(e, t, n, r, s, i) {
13876
13880
  (o(!0), d(S, null, F(e.model, (c, p) => (o(), d("div", {
13877
13881
  innerHTML: e.field.template,
13878
13882
  key: p
13879
- }, null, 8, xk))), 128))
13883
+ }, null, 8, x0))), 128))
13880
13884
  ]),
13881
13885
  _: 1
13882
13886
  }),
@@ -13914,58 +13918,58 @@ function Sk(e, t, n, r, s, i) {
13914
13918
  ])) : (o(), d("div", {
13915
13919
  key: 1,
13916
13920
  innerHTML: e.field.template
13917
- }, null, 8, wk));
13921
+ }, null, 8, w0));
13918
13922
  }
13919
- const Tk = /* @__PURE__ */ V(bk, [["render", Sk]]);
13920
- var Ok = Math.ceil, Vk = Math.max;
13921
- function Ck(e, t, n, r) {
13922
- for (var s = -1, i = Vk(Ok((t - e) / (n || 1)), 0), l = Array(i); i--; )
13923
+ const T0 = /* @__PURE__ */ V(b0, [["render", S0]]);
13924
+ var O0 = Math.ceil, V0 = Math.max;
13925
+ function C0(e, t, n, r) {
13926
+ for (var s = -1, i = V0(O0((t - e) / (n || 1)), 0), l = Array(i); i--; )
13923
13927
  l[r ? i : ++s] = e, e += n;
13924
13928
  return l;
13925
13929
  }
13926
- var Ek = Ck, Ak = 9007199254740991;
13927
- function Mk(e) {
13928
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Ak;
13930
+ var E0 = C0, A0 = 9007199254740991;
13931
+ function M0(e) {
13932
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= A0;
13929
13933
  }
13930
- var ho = Mk, Dk = Va, Ik = ho;
13931
- function Fk(e) {
13932
- return e != null && Ik(e.length) && !Dk(e);
13934
+ var ho = M0, D0 = Va, I0 = ho;
13935
+ function F0(e) {
13936
+ return e != null && I0(e.length) && !D0(e);
13933
13937
  }
13934
- var Kr = Fk, $k = 9007199254740991, Nk = /^(?:0|[1-9]\d*)$/;
13935
- function Lk(e, t) {
13938
+ var Kr = F0, $0 = 9007199254740991, N0 = /^(?:0|[1-9]\d*)$/;
13939
+ function L0(e, t) {
13936
13940
  var n = typeof e;
13937
- return t = t ?? $k, !!t && (n == "number" || n != "symbol" && Nk.test(e)) && e > -1 && e % 1 == 0 && e < t;
13941
+ return t = t ?? $0, !!t && (n == "number" || n != "symbol" && N0.test(e)) && e > -1 && e % 1 == 0 && e < t;
13938
13942
  }
13939
- var po = Lk, Pk = Ca, Uk = Kr, jk = po, Rk = In;
13940
- function Bk(e, t, n) {
13941
- if (!Rk(n))
13943
+ var po = L0, P0 = Ca, U0 = Kr, j0 = po, R0 = In;
13944
+ function B0(e, t, n) {
13945
+ if (!R0(n))
13942
13946
  return !1;
13943
13947
  var r = typeof t;
13944
- return (r == "number" ? Uk(n) && jk(t, n.length) : r == "string" && t in n) ? Pk(n[t], e) : !1;
13948
+ return (r == "number" ? U0(n) && j0(t, n.length) : r == "string" && t in n) ? P0(n[t], e) : !1;
13945
13949
  }
13946
- var zk = Bk, Hk = Oa, rl = 1 / 0, qk = 17976931348623157e292;
13947
- function Gk(e) {
13950
+ var z0 = B0, H0 = Oa, rl = 1 / 0, q0 = 17976931348623157e292;
13951
+ function G0(e) {
13948
13952
  if (!e)
13949
13953
  return e === 0 ? e : 0;
13950
- if (e = Hk(e), e === rl || e === -rl) {
13954
+ if (e = H0(e), e === rl || e === -rl) {
13951
13955
  var t = e < 0 ? -1 : 1;
13952
- return t * qk;
13956
+ return t * q0;
13953
13957
  }
13954
13958
  return e === e ? e : 0;
13955
13959
  }
13956
- var yo = Gk, Wk = Ek, Kk = zk, lr = yo;
13957
- function Yk(e) {
13960
+ var yo = G0, W0 = E0, K0 = z0, lr = yo;
13961
+ function Y0(e) {
13958
13962
  return function(t, n, r) {
13959
- return r && typeof r != "number" && Kk(t, n, r) && (n = r = void 0), t = lr(t), n === void 0 ? (n = t, t = 0) : n = lr(n), r = r === void 0 ? t < n ? 1 : -1 : lr(r), Wk(t, n, r, e);
13963
+ return r && typeof r != "number" && K0(t, n, r) && (n = r = void 0), t = lr(t), n === void 0 ? (n = t, t = 0) : n = lr(n), r = r === void 0 ? t < n ? 1 : -1 : lr(r), W0(t, n, r, e);
13960
13964
  };
13961
13965
  }
13962
- var Zk = Yk, Jk = Zk, Xk = Jk(), _o = Xk;
13963
- function Qk(e) {
13966
+ var Z0 = Y0, J0 = Z0, X0 = J0(), _o = X0;
13967
+ function Q0(e) {
13964
13968
  return String(e).length < 2 && (e = `0${e}`), e;
13965
13969
  }
13966
13970
  const {
13967
- lookup: e0,
13968
- options: t0
13971
+ lookup: ek,
13972
+ options: tk
13969
13973
  } = [..._o(1, 13)].reduce(function(e, t) {
13970
13974
  let n;
13971
13975
  switch (t) {
@@ -14018,9 +14022,9 @@ function sl() {
14018
14022
  const e = P.now().toObject();
14019
14023
  return e.millisecond = 0, e.second = 0, e.minute = 0, e.hour = 12, e;
14020
14024
  }
14021
- const n0 = {
14025
+ const nk = {
14022
14026
  components: {
14023
- NativeSelect: Vt
14027
+ NativeSelect: pt
14024
14028
  },
14025
14029
  props: {
14026
14030
  allDay: {
@@ -14105,7 +14109,7 @@ const n0 = {
14105
14109
  },
14106
14110
  displayMonth() {
14107
14111
  const e = this;
14108
- return e.empty ? "-" : e0[e.month];
14112
+ return e.empty ? "-" : ek[e.month];
14109
14113
  },
14110
14114
  displayYear() {
14111
14115
  const e = this;
@@ -14113,7 +14117,7 @@ const n0 = {
14113
14117
  },
14114
14118
  displayMinute() {
14115
14119
  const e = this;
14116
- return e.empty ? "--" : Qk(e.minute);
14120
+ return e.empty ? "--" : Q0(e.minute);
14117
14121
  },
14118
14122
  meridianGate: {
14119
14123
  get() {
@@ -14246,7 +14250,7 @@ const n0 = {
14246
14250
  return r;
14247
14251
  },
14248
14252
  monthOptions() {
14249
- return t0;
14253
+ return tk;
14250
14254
  },
14251
14255
  amOptions() {
14252
14256
  return [
@@ -14298,8 +14302,8 @@ const n0 = {
14298
14302
  // }
14299
14303
  // },
14300
14304
  }
14301
- }, i0 = (e) => (Ye("data-v-569dda27"), e = e(), Ze(), e), r0 = { class: "date-section" }, s0 = /* @__PURE__ */ i0(() => /* @__PURE__ */ x("div", { class: "date-section shrink" }, ":", -1)), l0 = { class: "date-section" }, a0 = { class: "date-section" }, o0 = { class: "date-section" }, u0 = { class: "date-section" }, d0 = { class: "custom-select" }, c0 = { class: "date-section" };
14302
- function f0(e, t, n, r, s, i) {
14305
+ }, ik = (e) => (Ye("data-v-569dda27"), e = e(), Ze(), e), rk = { class: "date-section" }, sk = /* @__PURE__ */ ik(() => /* @__PURE__ */ x("div", { class: "date-section shrink" }, ":", -1)), lk = { class: "date-section" }, ak = { class: "date-section" }, ok = { class: "date-section" }, uk = { class: "date-section" }, dk = { class: "custom-select" }, ck = { class: "date-section" };
14306
+ function fk(e, t, n, r, s, i) {
14303
14307
  const l = y("ux-icon"), a = y("native-select"), u = y("flex-cell"), f = y("flex-row");
14304
14308
  return o(), k(f, null, {
14305
14309
  default: h(() => [
@@ -14316,7 +14320,7 @@ function f0(e, t, n, r, s, i) {
14316
14320
  field: { minimum: 1, maximum: 1, options: i.hourOptions }
14317
14321
  }, {
14318
14322
  default: h(() => [
14319
- x("div", r0, [
14323
+ x("div", rk, [
14320
14324
  T(v(i.displayHour) + " ", 1),
14321
14325
  m(l, {
14322
14326
  right: "",
@@ -14331,7 +14335,7 @@ function f0(e, t, n, r, s, i) {
14331
14335
  }),
14332
14336
  m(u, { shrink: "" }, {
14333
14337
  default: h(() => [
14334
- s0
14338
+ sk
14335
14339
  ]),
14336
14340
  _: 1
14337
14341
  }),
@@ -14344,7 +14348,7 @@ function f0(e, t, n, r, s, i) {
14344
14348
  field: { minimum: 1, maximum: 1, options: i.minuteOptions }
14345
14349
  }, {
14346
14350
  default: h(() => [
14347
- x("div", l0, [
14351
+ x("div", lk, [
14348
14352
  T(v(i.displayMinute) + " ", 1),
14349
14353
  m(l, {
14350
14354
  right: "",
@@ -14369,7 +14373,7 @@ function f0(e, t, n, r, s, i) {
14369
14373
  field: { minimum: 1, maximum: 1, options: i.amOptions }
14370
14374
  }, {
14371
14375
  default: h(() => [
14372
- x("div", a0, [
14376
+ x("div", ak, [
14373
14377
  T(v(s.meridian) + " ", 1),
14374
14378
  m(l, {
14375
14379
  right: "",
@@ -14396,7 +14400,7 @@ function f0(e, t, n, r, s, i) {
14396
14400
  field: { minimum: 1, maximum: 1, options: i.dayOptions }
14397
14401
  }, {
14398
14402
  default: h(() => [
14399
- x("div", o0, [
14403
+ x("div", ok, [
14400
14404
  T(v(i.displayDay) + " ", 1),
14401
14405
  m(l, {
14402
14406
  right: "",
@@ -14418,7 +14422,7 @@ function f0(e, t, n, r, s, i) {
14418
14422
  field: { minimum: 1, maximum: 1, options: i.monthOptions }
14419
14423
  }, {
14420
14424
  default: h(() => [
14421
- x("div", u0, [
14425
+ x("div", uk, [
14422
14426
  T(v(i.displayMonth) + " ", 1),
14423
14427
  m(l, {
14424
14428
  right: "",
@@ -14436,7 +14440,7 @@ function f0(e, t, n, r, s, i) {
14436
14440
  class: "last"
14437
14441
  }, {
14438
14442
  default: h(() => [
14439
- x("div", d0, [
14443
+ x("div", dk, [
14440
14444
  m(a, {
14441
14445
  onTouched: i.touched,
14442
14446
  modelValue: i.year,
@@ -14444,7 +14448,7 @@ function f0(e, t, n, r, s, i) {
14444
14448
  field: { minimum: 1, maximum: 1, options: i.yearOptions }
14445
14449
  }, {
14446
14450
  default: h(() => [
14447
- x("div", c0, [
14451
+ x("div", ck, [
14448
14452
  T(v(i.displayYear) + " ", 1),
14449
14453
  m(l, {
14450
14454
  right: "",
@@ -14462,11 +14466,11 @@ function f0(e, t, n, r, s, i) {
14462
14466
  _: 1
14463
14467
  });
14464
14468
  }
14465
- const m0 = /* @__PURE__ */ V(n0, [["render", f0], ["__scopeId", "data-v-569dda27"]]);
14466
- const h0 = {
14469
+ const mk = /* @__PURE__ */ V(nk, [["render", fk], ["__scopeId", "data-v-569dda27"]]);
14470
+ const hk = {
14467
14471
  mixins: [Q],
14468
14472
  components: {
14469
- DateObject: m0
14473
+ DateObject: mk
14470
14474
  },
14471
14475
  props: {
14472
14476
  modelValue: {
@@ -14483,25 +14487,25 @@ const h0 = {
14483
14487
  return {};
14484
14488
  }
14485
14489
  }
14486
- }, p0 = {
14490
+ }, pk = {
14487
14491
  key: 0,
14488
14492
  class: "ux-field-title"
14489
- }, y0 = {
14493
+ }, yk = {
14490
14494
  key: 0,
14491
14495
  class: "ux-required-marker"
14492
- }, _0 = {
14496
+ }, _k = {
14493
14497
  key: 1,
14494
14498
  class: "ux-field-description"
14495
- }, g0 = { key: 2 };
14496
- function v0(e, t, n, r, s, i) {
14499
+ }, gk = { key: 2 };
14500
+ function vk(e, t, n, r, s, i) {
14497
14501
  const l = y("date-object"), a = y("flex-cell"), u = y("ux-icon"), f = y("ux-button"), c = y("flex-row");
14498
14502
  return o(), d(S, null, [
14499
- e.showLabel ? (o(), d("label", p0, [
14503
+ e.showLabel ? (o(), d("label", pk, [
14500
14504
  T(v(e.label), 1),
14501
- e.required ? (o(), d("span", y0, "*")) : _("", !0)
14505
+ e.required ? (o(), d("span", yk, "*")) : _("", !0)
14502
14506
  ])) : _("", !0),
14503
- e.showDescription ? (o(), d("div", _0, v(e.description), 1)) : _("", !0),
14504
- e.multiValue ? (o(), d("div", g0, [
14507
+ e.showDescription ? (o(), d("div", _k, v(e.description), 1)) : _("", !0),
14508
+ e.multiValue ? (o(), d("div", gk, [
14505
14509
  (o(!0), d(S, null, F(e.model, (p, g) => (o(), k(c, {
14506
14510
  class: "ux-text-row",
14507
14511
  key: g
@@ -14557,8 +14561,8 @@ function v0(e, t, n, r, s, i) {
14557
14561
  }, null, 8, ["allDay", "modelValue"]))
14558
14562
  ], 64);
14559
14563
  }
14560
- const b0 = /* @__PURE__ */ V(h0, [["render", v0], ["__scopeId", "data-v-f9459e1e"]]);
14561
- const k0 = {
14564
+ const bk = /* @__PURE__ */ V(hk, [["render", vk], ["__scopeId", "data-v-f9459e1e"]]);
14565
+ const kk = {
14562
14566
  props: {
14563
14567
  fields: {
14564
14568
  type: Array,
@@ -14932,17 +14936,17 @@ const k0 = {
14932
14936
  TextField: fo,
14933
14937
  CurrencyField: co,
14934
14938
  DateField: mo,
14935
- NativeSelect: Vt,
14939
+ NativeSelect: pt,
14936
14940
  ContentSelect: oo,
14937
14941
  ScopeSelect: uo
14938
14942
  }
14939
- }, x0 = (e) => (Ye("data-v-13dce876"), e = e(), Ze(), e), w0 = {
14943
+ }, xk = (e) => (Ye("data-v-13dce876"), e = e(), Ze(), e), wk = {
14940
14944
  key: 0,
14941
14945
  class: "filter-condition"
14942
- }, S0 = { key: 0 }, T0 = { key: 1 }, O0 = { key: 2 }, V0 = { key: 3 }, C0 = { key: 4 }, E0 = { key: 5 }, A0 = { key: 6 }, M0 = { key: 7 }, D0 = { key: 8 }, I0 = { key: 9 }, F0 = { key: 10 }, $0 = /* @__PURE__ */ x0(() => /* @__PURE__ */ x("label", null, "Where:", -1));
14943
- function N0(e, t, n, r, s, i) {
14946
+ }, Sk = { key: 0 }, Tk = { key: 1 }, Ok = { key: 2 }, Vk = { key: 3 }, Ck = { key: 4 }, Ek = { key: 5 }, Ak = { key: 6 }, Mk = { key: 7 }, Dk = { key: 8 }, Ik = { key: 9 }, Fk = { key: 10 }, $k = /* @__PURE__ */ xk(() => /* @__PURE__ */ x("label", null, "Where:", -1));
14947
+ function Nk(e, t, n, r, s, i) {
14944
14948
  const l = y("native-select"), a = y("flex-cell"), u = y("text-field"), f = y("currency-field"), c = y("flex-row"), p = y("date-field"), g = y("scope-select"), b = y("content-select"), w = y("ux-switch"), C = y("ux-icon"), U = y("ux-button"), z = y("filter-condition", !0);
14945
- return s.comparators ? (o(), d("div", w0, [
14949
+ return s.comparators ? (o(), d("div", wk, [
14946
14950
  m(c, {
14947
14951
  gap: "",
14948
14952
  vcenter: ""
@@ -14972,7 +14976,7 @@ function N0(e, t, n, r, s, i) {
14972
14976
  })) : _("", !0),
14973
14977
  s.model.key && s.model.comparator ? (o(), k(a, { key: 1 }, {
14974
14978
  default: h(() => [
14975
- i.inputType == "array" ? (o(), d("div", S0, [
14979
+ i.inputType == "array" ? (o(), d("div", Sk, [
14976
14980
  i.showSelectOptions ? (o(), k(l, {
14977
14981
  key: 0,
14978
14982
  modelValue: s.model.values,
@@ -14985,7 +14989,7 @@ function N0(e, t, n, r, s, i) {
14985
14989
  "onUpdate:modelValue": t[3] || (t[3] = (D) => s.model.values = D)
14986
14990
  }, null, 8, ["field", "modelValue"]))
14987
14991
  ])) : _("", !0),
14988
- i.inputType == "range" ? (o(), d("div", T0, [
14992
+ i.inputType == "range" ? (o(), d("div", Tk, [
14989
14993
  i.fieldWidget == "currency" ? (o(), d(S, { key: 0 }, [
14990
14994
  m(f, {
14991
14995
  field: i.normalField,
@@ -15012,7 +15016,7 @@ function N0(e, t, n, r, s, i) {
15012
15016
  }, null, 8, ["field", "modelValue"])
15013
15017
  ], 64))
15014
15018
  ])) : _("", !0),
15015
- i.inputType == "daterelative" ? (o(), d("div", O0, [
15019
+ i.inputType == "daterelative" ? (o(), d("div", Ok, [
15016
15020
  m(c, null, {
15017
15021
  default: h(() => [
15018
15022
  m(a, { style: { width: "80px" } }, {
@@ -15039,7 +15043,7 @@ function N0(e, t, n, r, s, i) {
15039
15043
  _: 1
15040
15044
  })
15041
15045
  ])) : _("", !0),
15042
- i.inputType == "daterange" ? (o(), d("div", V0, [
15046
+ i.inputType == "daterange" ? (o(), d("div", Vk, [
15043
15047
  m(p, {
15044
15048
  field: i.dateField,
15045
15049
  modelValue: s.model.value,
@@ -15052,14 +15056,14 @@ function N0(e, t, n, r, s, i) {
15052
15056
  "onUpdate:modelValue": t[11] || (t[11] = (D) => s.model.value2 = D)
15053
15057
  }, null, 8, ["field", "modelValue"])
15054
15058
  ])) : _("", !0),
15055
- i.inputType == "date" ? (o(), d("div", C0, [
15059
+ i.inputType == "date" ? (o(), d("div", Ck, [
15056
15060
  m(p, {
15057
15061
  field: i.dateField,
15058
15062
  modelValue: s.model.value,
15059
15063
  "onUpdate:modelValue": t[12] || (t[12] = (D) => s.model.value = D)
15060
15064
  }, null, 8, ["field", "modelValue"])
15061
15065
  ])) : _("", !0),
15062
- i.inputType == "reference" ? (o(), d("div", E0, [
15066
+ i.inputType == "reference" ? (o(), d("div", Ek, [
15063
15067
  s.model.key === "meta.scopes" ? (o(), k(g, {
15064
15068
  key: 0,
15065
15069
  maximum: 1,
@@ -15072,7 +15076,7 @@ function N0(e, t, n, r, s, i) {
15072
15076
  "onUpdate:modelValue": t[14] || (t[14] = (D) => s.model.value = D)
15073
15077
  }, null, 8, ["field", "modelValue"]))
15074
15078
  ])) : _("", !0),
15075
- i.inputType == "multireference" ? (o(), d("div", A0, [
15079
+ i.inputType == "multireference" ? (o(), d("div", Ak, [
15076
15080
  s.model.key === "meta.scopes" ? (o(), k(g, {
15077
15081
  key: 0,
15078
15082
  modelValue: s.model.values,
@@ -15084,7 +15088,7 @@ function N0(e, t, n, r, s, i) {
15084
15088
  "onUpdate:modelValue": t[16] || (t[16] = (D) => s.model.values = D)
15085
15089
  }, null, 8, ["field", "modelValue"]))
15086
15090
  ])) : _("", !0),
15087
- i.inputType == "boolean" ? (o(), d("div", M0, [
15091
+ i.inputType == "boolean" ? (o(), d("div", Mk, [
15088
15092
  m(c, {
15089
15093
  gap: "",
15090
15094
  center: ""
@@ -15109,8 +15113,8 @@ function N0(e, t, n, r, s, i) {
15109
15113
  _: 1
15110
15114
  })
15111
15115
  ])) : _("", !0),
15112
- i.inputType == "none" ? (o(), d("div", D0)) : _("", !0),
15113
- i.inputType == "number" ? (o(), d("div", I0, [
15116
+ i.inputType == "none" ? (o(), d("div", Dk)) : _("", !0),
15117
+ i.inputType == "number" ? (o(), d("div", Ik, [
15114
15118
  i.fieldWidget == "currency" ? (o(), k(f, {
15115
15119
  key: 0,
15116
15120
  field: i.normalField,
@@ -15123,7 +15127,7 @@ function N0(e, t, n, r, s, i) {
15123
15127
  "onUpdate:modelValue": t[19] || (t[19] = (D) => s.model.value = D)
15124
15128
  }, null, 8, ["field", "modelValue"]))
15125
15129
  ])) : _("", !0),
15126
- i.inputType == "normal" ? (o(), d("div", F0, [
15130
+ i.inputType == "normal" ? (o(), d("div", Fk, [
15127
15131
  i.showSelectOptions ? (o(), k(l, {
15128
15132
  key: 0,
15129
15133
  modelValue: s.model.value,
@@ -15161,7 +15165,7 @@ function N0(e, t, n, r, s, i) {
15161
15165
  _: 1
15162
15166
  }),
15163
15167
  i.extraCriteria ? (o(), d(S, { key: 0 }, [
15164
- $0,
15168
+ $k,
15165
15169
  (o(!0), d(S, null, F(s.model.conditions, (D, ee) => (o(), d("div", {
15166
15170
  key: D._guid
15167
15171
  }, [
@@ -15189,8 +15193,8 @@ function N0(e, t, n, r, s, i) {
15189
15193
  ], 64)) : _("", !0)
15190
15194
  ])) : _("", !0);
15191
15195
  }
15192
- const L0 = /* @__PURE__ */ V(k0, [["render", N0], ["__scopeId", "data-v-13dce876"]]);
15193
- function P0(e) {
15196
+ const Lk = /* @__PURE__ */ V(kk, [["render", Nk], ["__scopeId", "data-v-13dce876"]]);
15197
+ function Pk(e) {
15194
15198
  let t = [];
15195
15199
  if (t.push({
15196
15200
  title: "Age",
@@ -15261,7 +15265,7 @@ function P0(e) {
15261
15265
  }
15262
15266
  return t;
15263
15267
  }
15264
- function U0(e, t) {
15268
+ function Uk(e, t) {
15265
15269
  let n = [];
15266
15270
  if (t.length) {
15267
15271
  var r = {
@@ -15289,7 +15293,7 @@ function U0(e, t) {
15289
15293
  }
15290
15294
  return n;
15291
15295
  }
15292
- function j0(e, t) {
15296
+ function jk(e, t) {
15293
15297
  if (!e.glossary)
15294
15298
  return;
15295
15299
  const n = Object.entries(e.glossary).reduce(function(s, [i, l]) {
@@ -15370,7 +15374,7 @@ function j0(e, t) {
15370
15374
  });
15371
15375
  }), t.push(r);
15372
15376
  }
15373
- function R0(e, t) {
15377
+ function Rk(e, t) {
15374
15378
  if (!e.glossary)
15375
15379
  return;
15376
15380
  const n = Object.entries(e.glossary).reduce(function(r, [s, i]) {
@@ -15387,11 +15391,11 @@ function R0(e, t) {
15387
15391
  });
15388
15392
  });
15389
15393
  }
15390
- function B0(e) {
15394
+ function Bk(e) {
15391
15395
  let t = [];
15392
- return j0(e, t), R0(e, t), t;
15396
+ return jk(e, t), Rk(e, t), t;
15393
15397
  }
15394
- const z0 = {
15398
+ const zk = {
15395
15399
  props: {
15396
15400
  enableRemove: {
15397
15401
  type: Boolean
@@ -15456,15 +15460,15 @@ const z0 = {
15456
15460
  fields() {
15457
15461
  const e = this;
15458
15462
  var t = e.definition && e.definition.fields ? [...e.definition.fields] : [], n = e.definition && e.definition.definedFields ? e.definition.definedFields : [];
15459
- t = [...t, ...B0(e)];
15463
+ t = [...t, ...Bk(e)];
15460
15464
  const r = e.definition.definesType === "submission";
15461
15465
  if (e.definition.definesType === "profile" || e.definition.key === "profile") {
15462
- const a = P0(e);
15466
+ const a = Pk(e);
15463
15467
  t = [...t, ...a];
15464
15468
  }
15465
15469
  if (n.length)
15466
15470
  if (r) {
15467
- const a = U0(e, n);
15471
+ const a = Uk(e, n);
15468
15472
  t = [...t, ...a];
15469
15473
  } else {
15470
15474
  var i = {
@@ -15503,17 +15507,17 @@ const z0 = {
15503
15507
  }
15504
15508
  },
15505
15509
  components: {
15506
- FilterCondition: L0,
15507
- NativeSelect: Vt
15510
+ FilterCondition: Lk,
15511
+ NativeSelect: pt
15508
15512
  }
15509
- }, H0 = (e) => (Ye("data-v-f372c803"), e = e(), Ze(), e), q0 = {
15513
+ }, Hk = (e) => (Ye("data-v-f372c803"), e = e(), Ze(), e), qk = {
15510
15514
  key: 0,
15511
15515
  class: "filter-rule"
15512
- }, G0 = { class: "top" }, W0 = { class: "summary" }, K0 = /* @__PURE__ */ H0(() => /* @__PURE__ */ x("span", { class: "line" }, null, -1)), Y0 = { class: "operator" };
15513
- function Z0(e, t, n, r, s, i) {
15516
+ }, Gk = { class: "top" }, Wk = { class: "summary" }, Kk = /* @__PURE__ */ Hk(() => /* @__PURE__ */ x("span", { class: "line" }, null, -1)), Yk = { class: "operator" };
15517
+ function Zk(e, t, n, r, s, i) {
15514
15518
  const l = y("native-select"), a = y("flex-cell"), u = y("ux-icon"), f = y("ux-button"), c = y("flex-row"), p = y("filter-condition");
15515
- return n.definition ? (o(), d("div", q0, [
15516
- x("div", G0, [
15519
+ return n.definition ? (o(), d("div", qk, [
15520
+ x("div", Gk, [
15517
15521
  m(c, {
15518
15522
  gap: "",
15519
15523
  center: ""
@@ -15521,7 +15525,7 @@ function Z0(e, t, n, r, s, i) {
15521
15525
  default: h(() => [
15522
15526
  m(a, null, {
15523
15527
  default: h(() => [
15524
- x("div", W0, [
15528
+ x("div", Wk, [
15525
15529
  T(" Match "),
15526
15530
  m(l, {
15527
15531
  modelValue: s.model.operator,
@@ -15571,8 +15575,8 @@ function Z0(e, t, n, r, s, i) {
15571
15575
  shrink: ""
15572
15576
  }, {
15573
15577
  default: h(() => [
15574
- K0,
15575
- x("div", Y0, v(s.model.operator), 1)
15578
+ Kk,
15579
+ x("div", Yk, v(s.model.operator), 1)
15576
15580
  ]),
15577
15581
  _: 2
15578
15582
  }, 1032, ["class"])) : _("", !0),
@@ -15606,11 +15610,11 @@ function Z0(e, t, n, r, s, i) {
15606
15610
  }, 8, ["onClick"])
15607
15611
  ])) : _("", !0);
15608
15612
  }
15609
- const J0 = /* @__PURE__ */ V(z0, [["render", Z0], ["__scopeId", "data-v-f372c803"]]);
15610
- const X0 = {
15613
+ const Jk = /* @__PURE__ */ V(zk, [["render", Zk], ["__scopeId", "data-v-f372c803"]]);
15614
+ const Xk = {
15611
15615
  components: {
15612
- FilterRule: J0,
15613
- NativeSelect: Vt
15616
+ FilterRule: Jk,
15617
+ NativeSelect: pt
15614
15618
  },
15615
15619
  methods: {
15616
15620
  removeRule(e) {
@@ -15697,7 +15701,7 @@ const X0 = {
15697
15701
  model: JSON.parse(JSON.stringify(this.modelValue))
15698
15702
  };
15699
15703
  }
15700
- }, Q0 = { class: "filters" }, ex = {
15704
+ }, Qk = { class: "filters" }, ex = {
15701
15705
  key: 0,
15702
15706
  class: "top"
15703
15707
  }, tx = { class: "summary" };
@@ -15707,7 +15711,7 @@ function nx(e, t, n, r, s, i) {
15707
15711
  default: h(() => [
15708
15712
  m(f, null, {
15709
15713
  default: h(() => [
15710
- x("div", Q0, [
15714
+ x("div", Qk, [
15711
15715
  s.model && s.model.filters && s.model.filters.length ? (o(), d("div", ex, [
15712
15716
  x("div", tx, [
15713
15717
  T(" Match "),
@@ -15750,7 +15754,7 @@ function nx(e, t, n, r, s, i) {
15750
15754
  _: 1
15751
15755
  });
15752
15756
  }
15753
- const go = /* @__PURE__ */ V(X0, [["render", nx], ["__scopeId", "data-v-fcb41aed"]]);
15757
+ const go = /* @__PURE__ */ V(Xk, [["render", nx], ["__scopeId", "data-v-fcb41aed"]]);
15754
15758
  const ix = {
15755
15759
  mixins: [Q],
15756
15760
  components: {
@@ -15878,6 +15882,9 @@ const cx = {
15878
15882
  // type: [Object, Array],
15879
15883
  }
15880
15884
  },
15885
+ components: {
15886
+ NativeSelect: pt
15887
+ },
15881
15888
  mixins: [Q],
15882
15889
  async created() {
15883
15890
  this.model = this.model;
@@ -15919,6 +15926,10 @@ const cx = {
15919
15926
  }
15920
15927
  },
15921
15928
  computed: {
15929
+ actualField() {
15930
+ const e = { ...this.field, options: this.selectableOptions };
15931
+ return delete e.title, delete e.description, e;
15932
+ },
15922
15933
  showNoneOption() {
15923
15934
  return this.singleValue && !this.minimum ? this.selectableOptions.find(function(n) {
15924
15935
  return n.none;
@@ -15968,6 +15979,8 @@ const cx = {
15968
15979
  s.push(a);
15969
15980
  }
15970
15981
  var u = e.$sdk.utils.mapFields(s).filter(function(c) {
15982
+ if (c.trail[0] === "fields")
15983
+ return !1;
15971
15984
  var p = c.type == "group" && c.asObject && c.minimum == 1 && c.maximum == 1;
15972
15985
  return !p;
15973
15986
  }).map(function(c) {
@@ -16019,15 +16032,12 @@ const cx = {
16019
16032
  }, hx = {
16020
16033
  key: 1,
16021
16034
  class: "ux-field-description"
16022
- }, px = {
16023
- key: 2,
16024
- class: "ui-select-button"
16025
- }, yx = ["multiple"], _x = {
16035
+ }, px = { class: "ui-select-button" }, yx = {
16026
16036
  key: 0,
16027
16037
  value: ""
16028
- }, gx = ["value"];
16029
- function vx(e, t, n, r, s, i) {
16030
- const l = y("ux-button");
16038
+ }, _x = ["value"];
16039
+ function gx(e, t, n, r, s, i) {
16040
+ const l = y("ux-button"), a = y("native-select");
16031
16041
  return o(), d("div", {
16032
16042
  class: N(["native-select", i.classes])
16033
16043
  }, [
@@ -16036,35 +16046,43 @@ function vx(e, t, n, r, s, i) {
16036
16046
  e.required ? (o(), d("span", mx, "*")) : _("", !0)
16037
16047
  ])) : _("", !0),
16038
16048
  e.showDescription ? (o(), d("div", hx, v(e.description), 1)) : _("", !0),
16039
- e.singleValue ? (o(), d("div", px, [
16040
- H(e.$slots, "default", {}, () => [
16041
- m(l, { tag: "div" }, {
16042
- default: h(() => [
16043
- T(v(i.summary), 1)
16044
- ]),
16045
- _: 1
16046
- })
16047
- ], !0)
16048
- ])) : _("", !0),
16049
- K(x("select", {
16050
- onFocus: t[0] || (t[0] = (...a) => e.touch && e.touch(...a)),
16051
- multiple: e.multiValue,
16052
- "onUpdate:modelValue": t[1] || (t[1] = (a) => e.model = a)
16053
- }, [
16054
- i.showNoneOption ? (o(), d("option", _x, "None")) : _("", !0),
16055
- (o(!0), d(S, null, F(i.selectableOptions, (a) => (o(), d("option", {
16056
- value: a.value
16057
- }, v(a.title), 9, gx))), 256))
16058
- ], 40, yx), [
16059
- [Tt, e.model]
16060
- ])
16049
+ e.singleValue ? (o(), d(S, { key: 2 }, [
16050
+ x("div", px, [
16051
+ H(e.$slots, "default", {}, () => [
16052
+ m(l, { tag: "div" }, {
16053
+ default: h(() => [
16054
+ T(v(i.summary), 1)
16055
+ ]),
16056
+ _: 1
16057
+ })
16058
+ ], !0)
16059
+ ]),
16060
+ K(x("select", {
16061
+ onFocus: t[0] || (t[0] = (...u) => e.touch && e.touch(...u)),
16062
+ "onUpdate:modelValue": t[1] || (t[1] = (u) => e.model = u)
16063
+ }, [
16064
+ i.showNoneOption ? (o(), d("option", yx, "None")) : _("", !0),
16065
+ (o(!0), d(S, null, F(i.selectableOptions, (u) => (o(), d("option", {
16066
+ value: u.value
16067
+ }, v(u.title), 9, _x))), 256))
16068
+ ], 544), [
16069
+ [Ot, e.model]
16070
+ ])
16071
+ ], 64)) : (o(), k(a, {
16072
+ key: 3,
16073
+ pills: "",
16074
+ onTouched: e.touch,
16075
+ field: i.actualField,
16076
+ modelValue: e.model,
16077
+ "onUpdate:modelValue": t[2] || (t[2] = (u) => e.model = u)
16078
+ }, null, 8, ["onTouched", "field", "modelValue"]))
16061
16079
  ], 2);
16062
16080
  }
16063
- const ll = /* @__PURE__ */ V(cx, [["render", vx], ["__scopeId", "data-v-0b61359b"]]);
16064
- function bx(e, t, n) {
16081
+ const ll = /* @__PURE__ */ V(cx, [["render", gx], ["__scopeId", "data-v-e4654800"]]);
16082
+ function vx(e, t, n) {
16065
16083
  return e + (t - e) * (n / 100);
16066
16084
  }
16067
- const kx = {
16085
+ const bx = {
16068
16086
  props: {
16069
16087
  modelValue: {
16070
16088
  type: Number
@@ -16110,7 +16128,7 @@ const kx = {
16110
16128
  inputReceived(e) {
16111
16129
  const t = this, n = t.$refs.range, r = t.$refs.bubble, s = n.value, i = n.min ? n.min : 0, l = n.max ? n.max : 100;
16112
16130
  let a = Number((s - i) * 100 / (l - i));
16113
- a = bx(1, 99, a), r.innerHTML = `${t.prefix}${s}${t.suffix}`, r.style.left = `${a}%`;
16131
+ a = vx(1, 99, a), r.innerHTML = `${t.prefix}${s}${t.suffix}`, r.style.left = `${a}%`;
16114
16132
  },
16115
16133
  attachListeners() {
16116
16134
  const e = this, t = e.$refs.range;
@@ -16121,12 +16139,12 @@ const kx = {
16121
16139
  e.$refs.bubble, t.addEventListener("input", e.inputReceived);
16122
16140
  }
16123
16141
  }
16124
- }, xx = { class: "ux-range-slider-wrap" }, wx = ["min", "step", "max"], Sx = {
16142
+ }, kx = { class: "ux-range-slider-wrap" }, xx = ["min", "step", "max"], wx = {
16125
16143
  ref: "bubble",
16126
16144
  class: "ux-range-bubble"
16127
16145
  };
16128
- function Tx(e, t, n, r, s, i) {
16129
- return o(), d("div", xx, [
16146
+ function Sx(e, t, n, r, s, i) {
16147
+ return o(), d("div", kx, [
16130
16148
  K(x("input", {
16131
16149
  ref: "range",
16132
16150
  min: n.min,
@@ -16135,16 +16153,16 @@ function Tx(e, t, n, r, s, i) {
16135
16153
  "onUpdate:modelValue": t[0] || (t[0] = (l) => s.model = l),
16136
16154
  type: "range",
16137
16155
  class: "ux-range-slider"
16138
- }, null, 8, wx), [
16156
+ }, null, 8, xx), [
16139
16157
  [se, s.model]
16140
16158
  ]),
16141
- x("output", Sx, null, 512)
16159
+ x("output", wx, null, 512)
16142
16160
  ]);
16143
16161
  }
16144
- const Ox = /* @__PURE__ */ V(kx, [["render", Tx], ["__scopeId", "data-v-ad12314c"]]);
16145
- const Vx = {
16162
+ const Tx = /* @__PURE__ */ V(bx, [["render", Sx], ["__scopeId", "data-v-ad12314c"]]);
16163
+ const Ox = {
16146
16164
  components: {
16147
- RangeSlider: Ox
16165
+ RangeSlider: Tx
16148
16166
  },
16149
16167
  props: {
16150
16168
  modelValue: {
@@ -16174,25 +16192,25 @@ const Vx = {
16174
16192
  return "";
16175
16193
  }
16176
16194
  }
16177
- }, Cx = {
16195
+ }, Vx = {
16178
16196
  key: 0,
16179
16197
  class: "ux-field-title"
16180
- }, Ex = {
16198
+ }, Cx = {
16181
16199
  key: 0,
16182
16200
  class: "ux-required-marker"
16183
- }, Ax = {
16201
+ }, Ex = {
16184
16202
  key: 1,
16185
16203
  class: "ux-field-description"
16186
- }, Mx = { key: 2 }, Dx = { class: "ux-slider-limit ux-slider-limit-value" }, Ix = { class: "ux-slider-limit ux-slider-limit-value" };
16187
- function Fx(e, t, n, r, s, i) {
16204
+ }, Ax = { key: 2 }, Mx = { class: "ux-slider-limit ux-slider-limit-value" }, Dx = { class: "ux-slider-limit ux-slider-limit-value" };
16205
+ function Ix(e, t, n, r, s, i) {
16188
16206
  const l = y("range-slider"), a = y("flex-cell"), u = y("flex-row"), f = y("ux-icon"), c = y("ux-button");
16189
16207
  return o(), d(S, null, [
16190
- e.showLabel ? (o(), d("label", Cx, [
16208
+ e.showLabel ? (o(), d("label", Vx, [
16191
16209
  T(v(e.label) + " ", 1),
16192
- e.required ? (o(), d("span", Ex, "*")) : _("", !0)
16210
+ e.required ? (o(), d("span", Cx, "*")) : _("", !0)
16193
16211
  ])) : _("", !0),
16194
- e.showDescription ? (o(), d("div", Ax, v(e.description), 1)) : _("", !0),
16195
- e.multiValue ? (o(), d("div", Mx, [
16212
+ e.showDescription ? (o(), d("div", Ex, v(e.description), 1)) : _("", !0),
16213
+ e.multiValue ? (o(), d("div", Ax, [
16196
16214
  (o(!0), d(S, null, F(e.model, (p, g) => (o(), k(u, {
16197
16215
  class: "ux-slider-row",
16198
16216
  key: g
@@ -16223,7 +16241,7 @@ function Fx(e, t, n, r, s, i) {
16223
16241
  }, 1024),
16224
16242
  m(a, { shrink: "" }, {
16225
16243
  default: h(() => [
16226
- x("span", Dx, v(i.sliderPrefix) + v(e.model[g]) + v(i.sliderSuffix), 1)
16244
+ x("span", Mx, v(i.sliderPrefix) + v(e.model[g]) + v(i.sliderSuffix), 1)
16227
16245
  ]),
16228
16246
  _: 2
16229
16247
  }, 1024)
@@ -16288,7 +16306,7 @@ function Fx(e, t, n, r, s, i) {
16288
16306
  }),
16289
16307
  m(a, { shrink: "" }, {
16290
16308
  default: h(() => [
16291
- x("span", Ix, v(i.sliderPrefix) + v(e.model) + v(i.sliderSuffix), 1)
16309
+ x("span", Dx, v(i.sliderPrefix) + v(e.model) + v(i.sliderSuffix), 1)
16292
16310
  ]),
16293
16311
  _: 1
16294
16312
  })
@@ -16297,8 +16315,8 @@ function Fx(e, t, n, r, s, i) {
16297
16315
  }))
16298
16316
  ], 64);
16299
16317
  }
16300
- const $x = /* @__PURE__ */ V(Vx, [["render", Fx], ["__scopeId", "data-v-5918d2a7"]]);
16301
- const Nx = {
16318
+ const Fx = /* @__PURE__ */ V(Ox, [["render", Ix], ["__scopeId", "data-v-5918d2a7"]]);
16319
+ const $x = {
16302
16320
  props: {
16303
16321
  modelValue: {
16304
16322
  type: String
@@ -16316,25 +16334,25 @@ const Nx = {
16316
16334
  return "";
16317
16335
  }
16318
16336
  }
16319
- }, Lx = {
16337
+ }, Nx = {
16320
16338
  key: 0,
16321
16339
  class: "ux-field-title"
16322
- }, Px = {
16340
+ }, Lx = {
16323
16341
  key: 0,
16324
16342
  class: "ux-required-marker"
16325
- }, Ux = {
16343
+ }, Px = {
16326
16344
  key: 1,
16327
16345
  class: "ux-field-description"
16328
- }, jx = { key: 2 }, Rx = ["onUpdate:modelValue"], Bx = ["onUpdate:modelValue"];
16329
- function zx(e, t, n, r, s, i) {
16346
+ }, Ux = { key: 2 }, jx = ["onUpdate:modelValue"], Rx = ["onUpdate:modelValue"];
16347
+ function Bx(e, t, n, r, s, i) {
16330
16348
  const l = y("flex-cell"), a = y("ux-icon"), u = y("ux-button"), f = y("flex-row");
16331
16349
  return o(), d(S, null, [
16332
- e.showLabel ? (o(), d("label", Lx, [
16350
+ e.showLabel ? (o(), d("label", Nx, [
16333
16351
  T(v(e.label) + " ", 1),
16334
- e.required ? (o(), d("span", Px, "*")) : _("", !0)
16352
+ e.required ? (o(), d("span", Lx, "*")) : _("", !0)
16335
16353
  ])) : _("", !0),
16336
- e.showDescription ? (o(), d("div", Ux, v(e.description), 1)) : _("", !0),
16337
- e.multiValue ? (o(), d("div", jx, [
16354
+ e.showDescription ? (o(), d("div", Px, v(e.description), 1)) : _("", !0),
16355
+ e.multiValue ? (o(), d("div", Ux, [
16338
16356
  (o(!0), d(S, null, F(e.model, (c, p) => (o(), k(f, {
16339
16357
  class: "ux-text-row",
16340
16358
  gap: "",
@@ -16350,7 +16368,7 @@ function zx(e, t, n, r, s, i) {
16350
16368
  ref_for: !0,
16351
16369
  ref: "input",
16352
16370
  "onUpdate:modelValue": (g) => e.model[p] = g
16353
- }, null, 40, Rx), [
16371
+ }, null, 40, jx), [
16354
16372
  [se, e.model[p]]
16355
16373
  ])
16356
16374
  ]),
@@ -16365,7 +16383,7 @@ function zx(e, t, n, r, s, i) {
16365
16383
  ref_for: !0,
16366
16384
  ref: "input",
16367
16385
  "onUpdate:modelValue": (g) => e.model[p] = g
16368
- }, null, 40, Bx), [
16386
+ }, null, 40, Rx), [
16369
16387
  [se, e.model[p]]
16370
16388
  ])
16371
16389
  ]),
@@ -16439,11 +16457,11 @@ function zx(e, t, n, r, s, i) {
16439
16457
  }))
16440
16458
  ], 64);
16441
16459
  }
16442
- const Hx = /* @__PURE__ */ V(Nx, [["render", zx], ["__scopeId", "data-v-b315f30d"]]);
16460
+ const zx = /* @__PURE__ */ V($x, [["render", Bx], ["__scopeId", "data-v-b315f30d"]]);
16443
16461
  function al(e) {
16444
16462
  return Array.isArray(e) ? !!e[0] : !!e;
16445
16463
  }
16446
- const qx = {
16464
+ const Hx = {
16447
16465
  mixins: [Q],
16448
16466
  components: {
16449
16467
  UxSwitch: Pa
@@ -16476,17 +16494,17 @@ const qx = {
16476
16494
  return String(this.description).length > 2;
16477
16495
  }
16478
16496
  }
16479
- }, Gx = {
16497
+ }, qx = {
16480
16498
  key: 0,
16481
16499
  class: "ux-field-title"
16482
- }, Wx = {
16500
+ }, Gx = {
16483
16501
  key: 0,
16484
16502
  class: "ux-required-marker"
16485
- }, Kx = {
16503
+ }, Wx = {
16486
16504
  key: 1,
16487
16505
  class: "ux-field-description"
16488
16506
  };
16489
- function Yx(e, t, n, r, s, i) {
16507
+ function Kx(e, t, n, r, s, i) {
16490
16508
  const l = y("ux-switch"), a = y("flex-cell"), u = y("flex-row");
16491
16509
  return o(), d("div", null, [
16492
16510
  m(u, {
@@ -16509,11 +16527,11 @@ function Yx(e, t, n, r, s, i) {
16509
16527
  m(a, { vcenter: "" }, {
16510
16528
  default: h(() => [
16511
16529
  x("div", null, [
16512
- e.showLabel ? (o(), d("label", Gx, [
16530
+ e.showLabel ? (o(), d("label", qx, [
16513
16531
  T(v(e.label) + " ", 1),
16514
- e.required ? (o(), d("span", Wx, "*")) : _("", !0)
16532
+ e.required ? (o(), d("span", Gx, "*")) : _("", !0)
16515
16533
  ])) : _("", !0),
16516
- e.showDescription ? (o(), d("div", Kx, v(e.description), 1)) : _("", !0)
16534
+ e.showDescription ? (o(), d("div", Wx, v(e.description), 1)) : _("", !0)
16517
16535
  ])
16518
16536
  ]),
16519
16537
  _: 1
@@ -16523,8 +16541,8 @@ function Yx(e, t, n, r, s, i) {
16523
16541
  })
16524
16542
  ]);
16525
16543
  }
16526
- const Zx = /* @__PURE__ */ V(qx, [["render", Yx], ["__scopeId", "data-v-1b49e626"]]);
16527
- const Jx = {
16544
+ const Yx = /* @__PURE__ */ V(Hx, [["render", Kx], ["__scopeId", "data-v-1b49e626"]]);
16545
+ const Zx = {
16528
16546
  props: {
16529
16547
  multiple: {
16530
16548
  type: Boolean
@@ -16567,8 +16585,8 @@ const Jx = {
16567
16585
  this.$emit("files", t);
16568
16586
  }
16569
16587
  }
16570
- }, Xx = ["accept", "multiple"];
16571
- function Qx(e, t, n, r, s, i) {
16588
+ }, Jx = ["accept", "multiple"];
16589
+ function Xx(e, t, n, r, s, i) {
16572
16590
  const l = y("ux-button");
16573
16591
  return o(), d("label", {
16574
16592
  class: N(["file-drop", { over: s.over }]),
@@ -16582,7 +16600,7 @@ function Qx(e, t, n, r, s, i) {
16582
16600
  type: "file",
16583
16601
  multiple: n.multiple,
16584
16602
  onChange: t[0] || (t[0] = (a) => i.filesSelected(a.target.files))
16585
- }, null, 40, Xx),
16603
+ }, null, 40, Jx),
16586
16604
  x("div", {
16587
16605
  class: "file-drop-ux",
16588
16606
  onClick: t[1] || (t[1] = B((...a) => i.clicked && i.clicked(...a), ["stop", "prevent"]))
@@ -16598,11 +16616,11 @@ function Qx(e, t, n, r, s, i) {
16598
16616
  ])
16599
16617
  ], 34);
16600
16618
  }
16601
- const ew = /* @__PURE__ */ V(Jx, [["render", Qx], ["__scopeId", "data-v-0c381e95"]]);
16602
- const tw = {
16619
+ const Qx = /* @__PURE__ */ V(Zx, [["render", Xx], ["__scopeId", "data-v-0c381e95"]]);
16620
+ const ew = {
16603
16621
  mixins: [Q],
16604
16622
  components: {
16605
- FileDrop: ew
16623
+ FileDrop: Qx
16606
16624
  },
16607
16625
  props: {
16608
16626
  // modelValue: {
@@ -16696,28 +16714,28 @@ const tw = {
16696
16714
  }
16697
16715
  },
16698
16716
  computed: {}
16699
- }, nw = {
16717
+ }, tw = {
16700
16718
  key: 0,
16701
16719
  class: "ux-field-title"
16702
- }, iw = {
16720
+ }, nw = {
16703
16721
  key: 0,
16704
16722
  class: "ux-required-marker"
16705
- }, rw = {
16723
+ }, iw = {
16706
16724
  key: 1,
16707
16725
  class: "ux-field-description"
16708
- }, sw = {
16726
+ }, rw = {
16709
16727
  key: 2,
16710
16728
  class: "files"
16711
- }, lw = { class: "size" };
16712
- function aw(e, t, n, r, s, i) {
16729
+ }, sw = { class: "size" };
16730
+ function lw(e, t, n, r, s, i) {
16713
16731
  const l = y("progress-bar"), a = y("flex-cell"), u = y("ux-icon"), f = y("ux-button"), c = y("flex-row"), p = y("file-drop");
16714
16732
  return o(), d(S, null, [
16715
- e.showLabel ? (o(), d("label", nw, [
16733
+ e.showLabel ? (o(), d("label", tw, [
16716
16734
  T(v(e.label) + " ", 1),
16717
- e.required ? (o(), d("span", iw, "*")) : _("", !0)
16735
+ e.required ? (o(), d("span", nw, "*")) : _("", !0)
16718
16736
  ])) : _("", !0),
16719
- e.showDescription ? (o(), d("div", rw, v(e.description), 1)) : _("", !0),
16720
- s.files && s.files.length ? (o(), d("div", sw, [
16737
+ e.showDescription ? (o(), d("div", iw, v(e.description), 1)) : _("", !0),
16738
+ s.files && s.files.length ? (o(), d("div", rw, [
16721
16739
  (o(!0), d(S, null, F(s.files, (g, b) => (o(), d("div", {
16722
16740
  class: "file-item",
16723
16741
  key: b
@@ -16727,7 +16745,7 @@ function aw(e, t, n, r, s, i) {
16727
16745
  m(a, null, {
16728
16746
  default: h(() => [
16729
16747
  x("strong", null, v(g.name), 1),
16730
- x("div", lw, v(i.filesize(g.size)), 1),
16748
+ x("div", sw, v(i.filesize(g.size)), 1),
16731
16749
  m(l, {
16732
16750
  value: g.progress
16733
16751
  }, null, 8, ["value"])
@@ -16785,8 +16803,8 @@ function aw(e, t, n, r, s, i) {
16785
16803
  }, 8, ["onFiles"]))
16786
16804
  ], 64);
16787
16805
  }
16788
- const ow = /* @__PURE__ */ V(tw, [["render", aw], ["__scopeId", "data-v-d29a9855"]]);
16789
- const uw = {
16806
+ const aw = /* @__PURE__ */ V(ew, [["render", lw], ["__scopeId", "data-v-d29a9855"]]);
16807
+ const ow = {
16790
16808
  mixins: [Q],
16791
16809
  //TODO check whether we should move draggable into the input mixin
16792
16810
  components: { draggable: ao },
@@ -16864,40 +16882,40 @@ const uw = {
16864
16882
  };
16865
16883
  }
16866
16884
  }
16867
- }, dw = {
16885
+ }, uw = {
16868
16886
  key: 0,
16869
16887
  class: "ux-multi-group"
16870
- }, cw = {
16888
+ }, dw = {
16871
16889
  key: 0,
16872
16890
  class: "ux-group-title"
16873
- }, fw = {
16891
+ }, cw = {
16874
16892
  key: 0,
16875
16893
  class: "ux-field-title"
16876
- }, mw = {
16894
+ }, fw = {
16877
16895
  key: 0,
16878
16896
  class: "ux-required-marker"
16879
- }, hw = {
16897
+ }, mw = {
16880
16898
  key: 1,
16881
16899
  class: "ux-field-description"
16882
- }, pw = {
16900
+ }, hw = {
16883
16901
  key: 0,
16884
16902
  class: "ux-single-group"
16885
- }, yw = { class: "ux-group-title" }, _w = {
16903
+ }, pw = { class: "ux-group-title" }, yw = {
16886
16904
  key: 0,
16887
16905
  class: "ux-field-title"
16888
- }, gw = {
16906
+ }, _w = {
16889
16907
  key: 1,
16890
16908
  class: "ux-field-description"
16891
16909
  };
16892
- function vw(e, t, n, r, s, i) {
16910
+ function gw(e, t, n, r, s, i) {
16893
16911
  const l = y("ux-icon"), a = y("flex-cell"), u = y("ux-button"), f = y("flex-row"), c = y("ux-panel-header"), p = y("ux-form"), g = y("ux-panel-body"), b = y("ux-panel"), w = y("draggable");
16894
- return e.multiValue ? (o(), d("div", dw, [
16895
- i.showLabel ? (o(), d("div", cw, [
16896
- i.showLabel ? (o(), d("label", fw, [
16912
+ return e.multiValue ? (o(), d("div", uw, [
16913
+ i.showLabel ? (o(), d("div", dw, [
16914
+ i.showLabel ? (o(), d("label", cw, [
16897
16915
  T(v(e.plural || e.title) + " ", 1),
16898
- e.required ? (o(), d("span", mw, "*")) : _("", !0)
16916
+ e.required ? (o(), d("span", fw, "*")) : _("", !0)
16899
16917
  ])) : _("", !0),
16900
- e.showDescription ? (o(), d("div", hw, v(e.description), 1)) : _("", !0)
16918
+ e.showDescription ? (o(), d("div", mw, v(e.description), 1)) : _("", !0)
16901
16919
  ])) : _("", !0),
16902
16920
  i.reorderable ? (o(), k(w, {
16903
16921
  key: 1,
@@ -17219,10 +17237,10 @@ function vw(e, t, n, r, s, i) {
17219
17237
  _: 1
17220
17238
  }))
17221
17239
  ], 64)) : (o(), d(S, { key: 1 }, [
17222
- i.showLabel ? (o(), d("div", pw, [
17223
- x("div", yw, [
17224
- i.showLabel ? (o(), d("label", _w, v(e.title), 1)) : _("", !0),
17225
- e.showDescription ? (o(), d("div", gw, v(e.description), 1)) : _("", !0)
17240
+ i.showLabel ? (o(), d("div", hw, [
17241
+ x("div", pw, [
17242
+ i.showLabel ? (o(), d("label", yw, v(e.title), 1)) : _("", !0),
17243
+ e.showDescription ? (o(), d("div", _w, v(e.description), 1)) : _("", !0)
17226
17244
  ]),
17227
17245
  m(b, null, {
17228
17246
  default: h(() => [
@@ -17264,11 +17282,11 @@ function vw(e, t, n, r, s, i) {
17264
17282
  ], 64))
17265
17283
  ], 64));
17266
17284
  }
17267
- const bw = /* @__PURE__ */ V(uw, [["render", vw], ["__scopeId", "data-v-52fe38b9"]]);
17285
+ const vw = /* @__PURE__ */ V(ow, [["render", gw], ["__scopeId", "data-v-52fe38b9"]]);
17268
17286
  function Vr(e) {
17269
17287
  return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
17270
17288
  }
17271
- const kw = {
17289
+ const bw = {
17272
17290
  props: {
17273
17291
  option: {
17274
17292
  required: !0
@@ -17283,15 +17301,15 @@ const kw = {
17283
17301
  }
17284
17302
  }
17285
17303
  };
17286
- function xw(e, t, n, r, s, i) {
17304
+ function kw(e, t, n, r, s, i) {
17287
17305
  return H(e.$slots, "default", { plainValue: i.plainValue }, () => [
17288
17306
  x("pre", null, v(n.option), 1)
17289
17307
  ]);
17290
17308
  }
17291
- const ww = /* @__PURE__ */ V(kw, [["render", xw]]);
17292
- const Sw = {
17309
+ const xw = /* @__PURE__ */ V(bw, [["render", kw]]);
17310
+ const ww = {
17293
17311
  components: {
17294
- OptionSlot: ww
17312
+ OptionSlot: xw
17295
17313
  },
17296
17314
  props: {
17297
17315
  modelValue: {
@@ -17364,25 +17382,25 @@ const Sw = {
17364
17382
  return this.getLabel(this.optionLookup[this.model]) || "Click to select";
17365
17383
  }
17366
17384
  }
17367
- }, Tw = {
17385
+ }, Sw = {
17368
17386
  key: 0,
17369
17387
  class: "ux-field-title"
17370
- }, Ow = {
17388
+ }, Tw = {
17371
17389
  key: 0,
17372
17390
  class: "ux-required-marker"
17373
- }, Vw = {
17391
+ }, Ow = {
17374
17392
  key: 1,
17375
17393
  class: "ux-field-description"
17376
- }, Cw = { class: "buttons" };
17377
- function Ew(e, t, n, r, s, i) {
17394
+ }, Vw = { class: "buttons" };
17395
+ function Cw(e, t, n, r, s, i) {
17378
17396
  const l = y("ux-icon"), a = y("ux-button"), u = y("option-slot");
17379
17397
  return o(), d(S, null, [
17380
- e.showLabel ? (o(), d("label", Tw, [
17398
+ e.showLabel ? (o(), d("label", Sw, [
17381
17399
  T(v(e.label) + " ", 1),
17382
- e.required ? (o(), d("span", Ow, "*")) : _("", !0)
17400
+ e.required ? (o(), d("span", Tw, "*")) : _("", !0)
17383
17401
  ])) : _("", !0),
17384
- e.showDescription ? (o(), d("div", Vw, v(e.description), 1)) : _("", !0),
17385
- x("div", Cw, [
17402
+ e.showDescription ? (o(), d("div", Ow, v(e.description), 1)) : _("", !0),
17403
+ x("div", Vw, [
17386
17404
  (o(!0), d(S, null, F(e.selectableOptions, (f) => (o(), k(u, { option: f }, {
17387
17405
  default: h(({ plainValue: c }) => [
17388
17406
  m(a, {
@@ -17405,8 +17423,8 @@ function Ew(e, t, n, r, s, i) {
17405
17423
  ])
17406
17424
  ], 64);
17407
17425
  }
17408
- const Aw = /* @__PURE__ */ V(Sw, [["render", Ew], ["__scopeId", "data-v-7ec6958f"]]);
17409
- const Mw = {
17426
+ const Ew = /* @__PURE__ */ V(ww, [["render", Cw], ["__scopeId", "data-v-7ec6958f"]]);
17427
+ const Aw = {
17410
17428
  props: {
17411
17429
  modelValue: {
17412
17430
  type: Object
@@ -17419,25 +17437,25 @@ const Mw = {
17419
17437
  return {};
17420
17438
  }
17421
17439
  }
17422
- }, Dw = {
17440
+ }, Mw = {
17423
17441
  key: 0,
17424
17442
  class: "ux-field-title"
17425
- }, Iw = {
17443
+ }, Dw = {
17426
17444
  key: 0,
17427
17445
  class: "ux-required-marker"
17428
- }, Fw = {
17446
+ }, Iw = {
17429
17447
  key: 1,
17430
17448
  class: "ux-field-description"
17431
- }, $w = { key: 2 }, Nw = { key: 3 };
17432
- function Lw(e, t, n, r, s, i) {
17449
+ }, Fw = { key: 2 }, $w = { key: 3 };
17450
+ function Nw(e, t, n, r, s, i) {
17433
17451
  const l = y("flex-cell"), a = y("ux-icon"), u = y("ux-button"), f = y("flex-row");
17434
17452
  return o(), d(S, null, [
17435
- e.showLabel ? (o(), d("label", Dw, [
17453
+ e.showLabel ? (o(), d("label", Mw, [
17436
17454
  T(v(e.label) + " ", 1),
17437
- e.required ? (o(), d("span", Iw, "*")) : _("", !0)
17455
+ e.required ? (o(), d("span", Dw, "*")) : _("", !0)
17438
17456
  ])) : _("", !0),
17439
- e.showDescription ? (o(), d("div", Fw, v(e.description), 1)) : _("", !0),
17440
- e.multiValue ? (o(), d("div", $w, [
17457
+ e.showDescription ? (o(), d("div", Iw, v(e.description), 1)) : _("", !0),
17458
+ e.multiValue ? (o(), d("div", Fw, [
17441
17459
  (o(!0), d(S, null, F(e.model, (c, p) => (o(), k(f, {
17442
17460
  class: "ux-text-row",
17443
17461
  key: p
@@ -17484,11 +17502,11 @@ function Lw(e, t, n, r, s, i) {
17484
17502
  ]),
17485
17503
  _: 1
17486
17504
  })) : _("", !0)
17487
- ])) : (o(), d("pre", Nw, v(e.model), 1))
17505
+ ])) : (o(), d("pre", $w, v(e.model), 1))
17488
17506
  ], 64);
17489
17507
  }
17490
- const Pw = /* @__PURE__ */ V(Mw, [["render", Lw], ["__scopeId", "data-v-aae5394a"]]);
17491
- const Uw = {
17508
+ const Lw = /* @__PURE__ */ V(Aw, [["render", Nw], ["__scopeId", "data-v-aae5394a"]]);
17509
+ const Pw = {
17492
17510
  components: {
17493
17511
  UxCheckbox: Hr
17494
17512
  },
@@ -17623,27 +17641,27 @@ const Uw = {
17623
17641
  };
17624
17642
  }
17625
17643
  }
17626
- }, jw = { key: 0 }, Rw = { key: 1 }, Bw = {
17644
+ }, Uw = { key: 0 }, jw = { key: 1 }, Rw = {
17627
17645
  key: 0,
17628
17646
  class: "ux-field-title"
17629
- }, zw = {
17647
+ }, Bw = {
17630
17648
  key: 0,
17631
17649
  class: "ux-required-marker"
17632
- }, Hw = {
17650
+ }, zw = {
17633
17651
  key: 1,
17634
17652
  class: "ux-field-description"
17635
- }, qw = { key: 2 };
17636
- function Gw(e, t, n, r, s, i) {
17653
+ }, Hw = { key: 2 };
17654
+ function qw(e, t, n, r, s, i) {
17637
17655
  const l = y("spinner"), a = y("ux-checkbox"), u = y("flex-cell"), f = y("ux-form"), c = y("flex-row");
17638
- return s.loadingGlossary ? (o(), d("div", jw, [
17656
+ return s.loadingGlossary ? (o(), d("div", Uw, [
17639
17657
  m(l)
17640
- ])) : i.definition ? (o(), d("div", Rw, [
17641
- e.showLabel ? (o(), d("label", Bw, [
17658
+ ])) : i.definition ? (o(), d("div", jw, [
17659
+ e.showLabel ? (o(), d("label", Rw, [
17642
17660
  T(v(e.label) + " ", 1),
17643
- e.required ? (o(), d("span", zw, "*")) : _("", !0)
17661
+ e.required ? (o(), d("span", Bw, "*")) : _("", !0)
17644
17662
  ])) : _("", !0),
17645
- e.showDescription ? (o(), d("div", Hw, v(e.description), 1)) : _("", !0),
17646
- e.multiValue ? (o(), d("div", qw, " This field can not be used on a multiple ")) : (o(!0), d(S, { key: 3 }, F(i.fields, (p) => (o(), d("div", {
17663
+ e.showDescription ? (o(), d("div", zw, v(e.description), 1)) : _("", !0),
17664
+ e.multiValue ? (o(), d("div", Hw, " This field can not be used on a multiple ")) : (o(!0), d(S, { key: 3 }, F(i.fields, (p) => (o(), d("div", {
17647
17665
  class: N(["field-row", { active: e.model.enabled[p.path] }])
17648
17666
  }, [
17649
17667
  m(c, { gap: "" }, {
@@ -17699,8 +17717,8 @@ function Gw(e, t, n, r, s, i) {
17699
17717
  ], 2))), 256))
17700
17718
  ])) : _("", !0);
17701
17719
  }
17702
- const Ww = /* @__PURE__ */ V(Uw, [["render", Gw], ["__scopeId", "data-v-46962828"]]);
17703
- const Kw = {
17720
+ const Gw = /* @__PURE__ */ V(Pw, [["render", qw], ["__scopeId", "data-v-46962828"]]);
17721
+ const Ww = {
17704
17722
  props: {
17705
17723
  modelValue: {
17706
17724
  type: [String, Array]
@@ -17765,25 +17783,25 @@ const Kw = {
17765
17783
  };
17766
17784
  }
17767
17785
  }
17768
- }, $i = (e) => (Ye("data-v-c8feb6c2"), e = e(), Ze(), e), Yw = {
17786
+ }, $i = (e) => (Ye("data-v-c8feb6c2"), e = e(), Ze(), e), Kw = {
17769
17787
  key: 0,
17770
17788
  class: "ux-field-title"
17771
- }, Zw = {
17789
+ }, Yw = {
17772
17790
  key: 0,
17773
17791
  class: "ux-required-marker"
17774
- }, Jw = {
17792
+ }, Zw = {
17775
17793
  key: 1,
17776
17794
  class: "ux-field-description"
17777
- }, Xw = { key: 2 }, Qw = { class: "ux-text-wrap prefixed" }, eS = /* @__PURE__ */ $i(() => /* @__PURE__ */ x("span", { class: "ux-text-prefix" }, "Label", -1)), tS = ["onBlur", "on:update:modelValue", "onUpdate:modelValue"], nS = ["onBlur", "on:update:modelValue", "onUpdate:modelValue"], iS = { class: "ux-text-wrap prefixed" }, rS = /* @__PURE__ */ $i(() => /* @__PURE__ */ x("span", { class: "ux-text-prefix" }, "Value", -1)), sS = ["onFocus", "onUpdate:modelValue"], lS = ["onFocus", "onUpdate:modelValue"], aS = { class: "ux-text-wrap prefixed" }, oS = /* @__PURE__ */ $i(() => /* @__PURE__ */ x("span", { class: "ux-text-prefix" }, "Label", -1)), uS = { class: "ux-text-wrap prefixed" }, dS = /* @__PURE__ */ $i(() => /* @__PURE__ */ x("span", { class: "ux-text-prefix" }, "Value", -1));
17778
- function cS(e, t, n, r, s, i) {
17795
+ }, Jw = { key: 2 }, Xw = { class: "ux-text-wrap prefixed" }, Qw = /* @__PURE__ */ $i(() => /* @__PURE__ */ x("span", { class: "ux-text-prefix" }, "Label", -1)), eS = ["onBlur", "on:update:modelValue", "onUpdate:modelValue"], tS = ["onBlur", "on:update:modelValue", "onUpdate:modelValue"], nS = { class: "ux-text-wrap prefixed" }, iS = /* @__PURE__ */ $i(() => /* @__PURE__ */ x("span", { class: "ux-text-prefix" }, "Value", -1)), rS = ["onFocus", "onUpdate:modelValue"], sS = ["onFocus", "onUpdate:modelValue"], lS = { class: "ux-text-wrap prefixed" }, aS = /* @__PURE__ */ $i(() => /* @__PURE__ */ x("span", { class: "ux-text-prefix" }, "Label", -1)), oS = { class: "ux-text-wrap prefixed" }, uS = /* @__PURE__ */ $i(() => /* @__PURE__ */ x("span", { class: "ux-text-prefix" }, "Value", -1));
17796
+ function dS(e, t, n, r, s, i) {
17779
17797
  const l = y("flex-cell"), a = y("ux-icon"), u = y("ux-button"), f = y("flex-row");
17780
17798
  return o(), d(S, null, [
17781
- e.showLabel ? (o(), d("label", Yw, [
17799
+ e.showLabel ? (o(), d("label", Kw, [
17782
17800
  T(v(e.label) + " ", 1),
17783
- e.required ? (o(), d("span", Zw, "*")) : _("", !0)
17801
+ e.required ? (o(), d("span", Yw, "*")) : _("", !0)
17784
17802
  ])) : _("", !0),
17785
- e.showDescription ? (o(), d("div", Jw, v(e.description), 1)) : _("", !0),
17786
- e.multiValue ? (o(), d("div", Xw, [
17803
+ e.showDescription ? (o(), d("div", Zw, v(e.description), 1)) : _("", !0),
17804
+ e.multiValue ? (o(), d("div", Jw, [
17787
17805
  (o(!0), d(S, null, F(e.model, (c, p) => (o(), k(f, {
17788
17806
  class: "ux-text-row",
17789
17807
  key: p
@@ -17791,8 +17809,8 @@ function cS(e, t, n, r, s, i) {
17791
17809
  default: h(() => [
17792
17810
  m(l, null, {
17793
17811
  default: h(() => [
17794
- x("div", Qw, [
17795
- eS,
17812
+ x("div", Xw, [
17813
+ Qw,
17796
17814
  i.lazy ? K((o(), d("input", {
17797
17815
  key: 0,
17798
17816
  class: "ux-field-focus ux-text-input-multiple",
@@ -17804,7 +17822,7 @@ function cS(e, t, n, r, s, i) {
17804
17822
  onBlur: (g) => i.titleBlurred(p),
17805
17823
  "on:update:modelValue": (g) => i.entryTitleChanged(p),
17806
17824
  "onUpdate:modelValue": (g) => e.model[p].title = g
17807
- }, null, 40, tS)), [
17825
+ }, null, 40, eS)), [
17808
17826
  [
17809
17827
  se,
17810
17828
  e.model[p].title,
@@ -17823,7 +17841,7 @@ function cS(e, t, n, r, s, i) {
17823
17841
  onBlur: (g) => i.titleBlurred(p),
17824
17842
  "on:update:modelValue": (g) => i.entryTitleChanged(p),
17825
17843
  "onUpdate:modelValue": (g) => e.model[p].title = g
17826
- }, null, 40, nS)), [
17844
+ }, null, 40, tS)), [
17827
17845
  [se, e.model[p].title]
17828
17846
  ])
17829
17847
  ])
@@ -17832,8 +17850,8 @@ function cS(e, t, n, r, s, i) {
17832
17850
  }, 1024),
17833
17851
  m(l, null, {
17834
17852
  default: h(() => [
17835
- x("div", iS, [
17836
- rS,
17853
+ x("div", nS, [
17854
+ iS,
17837
17855
  i.lazy ? K((o(), d("input", {
17838
17856
  key: 0,
17839
17857
  class: "ux-field-focus ux-text-input-multiple",
@@ -17843,7 +17861,7 @@ function cS(e, t, n, r, s, i) {
17843
17861
  ref: "valueInput",
17844
17862
  onKeydown: t[4] || (t[4] = _e(B((g) => e.add(), ["stop", "prevent"]), ["enter"])),
17845
17863
  "onUpdate:modelValue": (g) => e.model[p].value = g
17846
- }, null, 40, sS)), [
17864
+ }, null, 40, rS)), [
17847
17865
  [
17848
17866
  se,
17849
17867
  e.model[p].value,
@@ -17860,7 +17878,7 @@ function cS(e, t, n, r, s, i) {
17860
17878
  ref: "valueInput",
17861
17879
  onKeydown: t[5] || (t[5] = _e(B((g) => e.add(), ["stop", "prevent"]), ["enter"])),
17862
17880
  "onUpdate:modelValue": (g) => e.model[p].value = g
17863
- }, null, 40, lS)), [
17881
+ }, null, 40, sS)), [
17864
17882
  [se, e.model[p].value]
17865
17883
  ])
17866
17884
  ])
@@ -17909,8 +17927,8 @@ function cS(e, t, n, r, s, i) {
17909
17927
  default: h(() => [
17910
17928
  m(l, null, {
17911
17929
  default: h(() => [
17912
- x("div", aS, [
17913
- oS,
17930
+ x("div", lS, [
17931
+ aS,
17914
17932
  i.lazy ? K((o(), d("input", {
17915
17933
  key: 0,
17916
17934
  class: "ux-field-focus ux-text-input-multiple",
@@ -17948,8 +17966,8 @@ function cS(e, t, n, r, s, i) {
17948
17966
  }),
17949
17967
  m(l, null, {
17950
17968
  default: h(() => [
17951
- x("div", uS, [
17952
- dS,
17969
+ x("div", oS, [
17970
+ uS,
17953
17971
  i.lazy ? K((o(), d("input", {
17954
17972
  key: 0,
17955
17973
  class: "ux-field-focus ux-text-input-multiple",
@@ -17986,8 +18004,8 @@ function cS(e, t, n, r, s, i) {
17986
18004
  }))
17987
18005
  ], 64);
17988
18006
  }
17989
- const fS = /* @__PURE__ */ V(Kw, [["render", cS], ["__scopeId", "data-v-c8feb6c2"]]);
17990
- const mS = {
18007
+ const cS = /* @__PURE__ */ V(Ww, [["render", dS], ["__scopeId", "data-v-c8feb6c2"]]);
18008
+ const fS = {
17991
18009
  components: {
17992
18010
  // VAceEditor,
17993
18011
  },
@@ -18083,21 +18101,21 @@ const mS = {
18083
18101
  selectionContext: {}
18084
18102
  };
18085
18103
  }
18086
- }, hS = {
18104
+ }, mS = {
18087
18105
  key: 0,
18088
18106
  class: "tokens"
18089
- }, pS = {
18107
+ }, hS = {
18090
18108
  key: 0,
18091
18109
  class: "tokens-body"
18092
18110
  };
18093
- function yS(e, t, n, r, s, i) {
18111
+ function pS(e, t, n, r, s, i) {
18094
18112
  const l = y("flex-cell"), a = y("ux-icon"), u = y("flex-row"), f = y("ux-button"), c = y("v-ace-editor"), p = y("flex-column");
18095
18113
  return s.mounted ? (o(), k(p, {
18096
18114
  key: 0,
18097
18115
  class: "ux-code-editor"
18098
18116
  }, {
18099
18117
  default: h(() => [
18100
- n.tokens.length ? (o(), d("div", hS, [
18118
+ n.tokens.length ? (o(), d("div", mS, [
18101
18119
  x("div", {
18102
18120
  class: "tokens-header",
18103
18121
  onClick: t[0] || (t[0] = (g) => s.showTokens = !s.showTokens)
@@ -18125,7 +18143,7 @@ function yS(e, t, n, r, s, i) {
18125
18143
  _: 1
18126
18144
  })
18127
18145
  ]),
18128
- s.showTokens ? (o(), d("div", pS, [
18146
+ s.showTokens ? (o(), d("div", hS, [
18129
18147
  (o(!0), d(S, null, F(n.tokens, (g) => (o(), k(f, {
18130
18148
  size: "xs",
18131
18149
  onClick: B((b) => i.injectToken(g.value), ["stop", "prevent"])
@@ -18155,10 +18173,10 @@ function yS(e, t, n, r, s, i) {
18155
18173
  _: 1
18156
18174
  })) : _("", !0);
18157
18175
  }
18158
- const _S = /* @__PURE__ */ V(mS, [["render", yS], ["__scopeId", "data-v-d61fa45a"]]);
18159
- const gS = {
18176
+ const yS = /* @__PURE__ */ V(fS, [["render", pS], ["__scopeId", "data-v-d61fa45a"]]);
18177
+ const _S = {
18160
18178
  components: {
18161
- CodeEditor: _S
18179
+ CodeEditor: yS
18162
18180
  },
18163
18181
  props: {
18164
18182
  modelValue: {
@@ -18178,30 +18196,30 @@ const gS = {
18178
18196
  return "";
18179
18197
  }
18180
18198
  }
18181
- }, vS = {
18199
+ }, gS = {
18182
18200
  key: 0,
18183
18201
  class: "ux-field-title"
18184
- }, bS = {
18202
+ }, vS = {
18185
18203
  key: 0,
18186
18204
  class: "ux-required-marker"
18187
- }, kS = {
18205
+ }, bS = {
18188
18206
  key: 1,
18189
18207
  class: "ux-field-description"
18190
- }, xS = { key: 2 }, wS = { class: "code-editor-field-wrap" }, SS = {
18208
+ }, kS = { key: 2 }, xS = { class: "code-editor-field-wrap" }, wS = {
18191
18209
  key: 3,
18192
18210
  class: "code-editor-field-wrap"
18193
18211
  };
18194
- function TS(e, t, n, r, s, i) {
18212
+ function SS(e, t, n, r, s, i) {
18195
18213
  const l = y("code-editor"), a = y("flex-cell"), u = y("ux-icon"), f = y("ux-button"), c = y("flex-row");
18196
18214
  return o(), d("div", {
18197
18215
  onKeydown: t[2] || (t[2] = _e(B((p) => i.enterPress(p), ["stop"]), ["enter"]))
18198
18216
  }, [
18199
- e.showLabel ? (o(), d("label", vS, [
18217
+ e.showLabel ? (o(), d("label", gS, [
18200
18218
  T(v(e.label) + " ", 1),
18201
- e.required ? (o(), d("span", bS, "*")) : _("", !0)
18219
+ e.required ? (o(), d("span", vS, "*")) : _("", !0)
18202
18220
  ])) : _("", !0),
18203
- e.showDescription ? (o(), d("div", kS, v(e.description), 1)) : _("", !0),
18204
- e.multiValue ? (o(), d("div", xS, [
18221
+ e.showDescription ? (o(), d("div", bS, v(e.description), 1)) : _("", !0),
18222
+ e.multiValue ? (o(), d("div", kS, [
18205
18223
  (o(!0), d(S, null, F(e.model, (p, g) => (o(), k(c, {
18206
18224
  class: "ux-text-row",
18207
18225
  key: g
@@ -18209,7 +18227,7 @@ function TS(e, t, n, r, s, i) {
18209
18227
  default: h(() => [
18210
18228
  m(a, null, {
18211
18229
  default: h(() => [
18212
- x("div", wS, [
18230
+ x("div", xS, [
18213
18231
  m(l, {
18214
18232
  lang: i.syntax,
18215
18233
  onFocus: e.touch,
@@ -18254,7 +18272,7 @@ function TS(e, t, n, r, s, i) {
18254
18272
  ]),
18255
18273
  _: 1
18256
18274
  })) : _("", !0)
18257
- ])) : (o(), d("div", SS, [
18275
+ ])) : (o(), d("div", wS, [
18258
18276
  m(l, {
18259
18277
  lang: i.syntax,
18260
18278
  class: "ux-code-editor ux-field-focus ux-text-area-single",
@@ -18265,8 +18283,8 @@ function TS(e, t, n, r, s, i) {
18265
18283
  ]))
18266
18284
  ], 32);
18267
18285
  }
18268
- const OS = /* @__PURE__ */ V(gS, [["render", TS], ["__scopeId", "data-v-50e774dd"]]);
18269
- const VS = {
18286
+ const TS = /* @__PURE__ */ V(_S, [["render", SS], ["__scopeId", "data-v-50e774dd"]]);
18287
+ const OS = {
18270
18288
  props: {
18271
18289
  modelValue: {
18272
18290
  type: [String, Array]
@@ -18280,30 +18298,30 @@ const VS = {
18280
18298
  return "";
18281
18299
  }
18282
18300
  }
18283
- }, CS = {
18301
+ }, VS = {
18284
18302
  key: 0,
18285
18303
  class: "ux-field-title"
18286
- }, ES = {
18304
+ }, CS = {
18287
18305
  key: 0,
18288
18306
  class: "ux-required-marker"
18289
- }, AS = {
18307
+ }, ES = {
18290
18308
  key: 1,
18291
18309
  class: "ux-field-description"
18292
- }, MS = { key: 2 }, DS = { class: "expression-field-wrap" }, IS = {
18310
+ }, AS = { key: 2 }, MS = { class: "expression-field-wrap" }, DS = {
18293
18311
  key: 3,
18294
18312
  class: "expression-field-wrap"
18295
18313
  };
18296
- function FS(e, t, n, r, s, i) {
18314
+ function IS(e, t, n, r, s, i) {
18297
18315
  const l = y("expression-editor"), a = y("flex-cell"), u = y("ux-icon"), f = y("ux-button"), c = y("flex-row");
18298
18316
  return o(), d("div", {
18299
18317
  onKeydown: t[2] || (t[2] = _e(B((p) => i.enterPress(p), ["stop"]), ["enter"]))
18300
18318
  }, [
18301
- e.showLabel ? (o(), d("label", CS, [
18319
+ e.showLabel ? (o(), d("label", VS, [
18302
18320
  T(v(e.label) + " ", 1),
18303
- e.required ? (o(), d("span", ES, "*")) : _("", !0)
18321
+ e.required ? (o(), d("span", CS, "*")) : _("", !0)
18304
18322
  ])) : _("", !0),
18305
- e.showDescription ? (o(), d("div", AS, v(e.description), 1)) : _("", !0),
18306
- e.multiValue ? (o(), d("div", MS, [
18323
+ e.showDescription ? (o(), d("div", ES, v(e.description), 1)) : _("", !0),
18324
+ e.multiValue ? (o(), d("div", AS, [
18307
18325
  (o(!0), d(S, null, F(e.model, (p, g) => (o(), k(c, {
18308
18326
  class: "ux-text-row",
18309
18327
  key: g
@@ -18311,7 +18329,7 @@ function FS(e, t, n, r, s, i) {
18311
18329
  default: h(() => [
18312
18330
  m(a, null, {
18313
18331
  default: h(() => [
18314
- x("div", DS, [
18332
+ x("div", MS, [
18315
18333
  m(l, {
18316
18334
  field: e.field,
18317
18335
  onFocus: e.touch,
@@ -18356,7 +18374,7 @@ function FS(e, t, n, r, s, i) {
18356
18374
  ]),
18357
18375
  _: 1
18358
18376
  })) : _("", !0)
18359
- ])) : (o(), d("div", IS, [
18377
+ ])) : (o(), d("div", DS, [
18360
18378
  m(l, {
18361
18379
  field: e.field,
18362
18380
  class: "ux-expression ux-field-focus ux-text-area-single",
@@ -18367,8 +18385,8 @@ function FS(e, t, n, r, s, i) {
18367
18385
  ]))
18368
18386
  ], 32);
18369
18387
  }
18370
- const $S = /* @__PURE__ */ V(VS, [["render", FS], ["__scopeId", "data-v-56c3b71b"]]);
18371
- const NS = {
18388
+ const FS = /* @__PURE__ */ V(OS, [["render", IS], ["__scopeId", "data-v-56c3b71b"]]);
18389
+ const $S = {
18372
18390
  components: {},
18373
18391
  methods: {},
18374
18392
  props: {
@@ -18403,7 +18421,7 @@ const NS = {
18403
18421
  };
18404
18422
  }
18405
18423
  };
18406
- function LS(e, t, n, r, s, i) {
18424
+ function NS(e, t, n, r, s, i) {
18407
18425
  const l = y("tiptap"), a = y("flex-column");
18408
18426
  return s.mounted ? (o(), k(a, { key: 0 }, {
18409
18427
  default: h(() => [
@@ -18416,10 +18434,10 @@ function LS(e, t, n, r, s, i) {
18416
18434
  _: 1
18417
18435
  })) : _("", !0);
18418
18436
  }
18419
- const PS = /* @__PURE__ */ V(NS, [["render", LS], ["__scopeId", "data-v-844777a7"]]);
18420
- const US = {
18437
+ const LS = /* @__PURE__ */ V($S, [["render", NS], ["__scopeId", "data-v-844777a7"]]);
18438
+ const PS = {
18421
18439
  components: {
18422
- richtext: PS
18440
+ richtext: LS
18423
18441
  },
18424
18442
  props: {
18425
18443
  modelValue: {
@@ -18437,28 +18455,28 @@ const US = {
18437
18455
  return "";
18438
18456
  }
18439
18457
  }
18440
- }, jS = {
18458
+ }, US = {
18441
18459
  key: 0,
18442
18460
  class: "ux-field-title"
18443
- }, RS = {
18461
+ }, jS = {
18444
18462
  key: 0,
18445
18463
  class: "ux-required-marker"
18446
- }, BS = {
18464
+ }, RS = {
18447
18465
  key: 1,
18448
18466
  class: "ux-field-description"
18449
- }, zS = { key: 2 }, HS = { class: "richtext-field-wrap" }, qS = {
18467
+ }, BS = { key: 2 }, zS = { class: "richtext-field-wrap" }, HS = {
18450
18468
  key: 3,
18451
18469
  class: "richtext-field-wrap"
18452
18470
  };
18453
- function GS(e, t, n, r, s, i) {
18471
+ function qS(e, t, n, r, s, i) {
18454
18472
  const l = y("richtext"), a = y("flex-cell"), u = y("ux-icon"), f = y("ux-button"), c = y("flex-row");
18455
18473
  return o(), d("div", null, [
18456
- e.showLabel ? (o(), d("label", jS, [
18474
+ e.showLabel ? (o(), d("label", US, [
18457
18475
  T(v(e.label) + " ", 1),
18458
- e.required ? (o(), d("span", RS, "*")) : _("", !0)
18476
+ e.required ? (o(), d("span", jS, "*")) : _("", !0)
18459
18477
  ])) : _("", !0),
18460
- e.showDescription ? (o(), d("div", BS, v(e.description), 1)) : _("", !0),
18461
- e.multiValue ? (o(), d("div", zS, [
18478
+ e.showDescription ? (o(), d("div", RS, v(e.description), 1)) : _("", !0),
18479
+ e.multiValue ? (o(), d("div", BS, [
18462
18480
  (o(!0), d(S, null, F(e.model, (p, g) => (o(), k(c, {
18463
18481
  class: "ux-text-row",
18464
18482
  key: g
@@ -18466,7 +18484,7 @@ function GS(e, t, n, r, s, i) {
18466
18484
  default: h(() => [
18467
18485
  m(a, null, {
18468
18486
  default: h(() => [
18469
- x("div", HS, [
18487
+ x("div", zS, [
18470
18488
  m(l, {
18471
18489
  onFocus: e.touch,
18472
18490
  ref_for: !0,
@@ -18510,7 +18528,7 @@ function GS(e, t, n, r, s, i) {
18510
18528
  ]),
18511
18529
  _: 1
18512
18530
  })) : _("", !0)
18513
- ])) : (o(), d("div", qS, [
18531
+ ])) : (o(), d("div", HS, [
18514
18532
  m(l, {
18515
18533
  class: "ux-richtext ux-field-focus ux-text-area-single",
18516
18534
  onFocus: e.touch,
@@ -18520,8 +18538,8 @@ function GS(e, t, n, r, s, i) {
18520
18538
  ]))
18521
18539
  ]);
18522
18540
  }
18523
- const WS = /* @__PURE__ */ V(US, [["render", GS], ["__scopeId", "data-v-396fd196"]]);
18524
- var ki = {}, KS = {
18541
+ const GS = /* @__PURE__ */ V(PS, [["render", qS], ["__scopeId", "data-v-396fd196"]]);
18542
+ var ki = {}, WS = {
18525
18543
  get exports() {
18526
18544
  return ki;
18527
18545
  },
@@ -18565,7 +18583,7 @@ var ki = {}, KS = {
18565
18583
  true: !0,
18566
18584
  false: !1,
18567
18585
  null: null
18568
- }, yt = "this", it = function(O) {
18586
+ }, _t = "this", it = function(O) {
18569
18587
  return xe[O] || 0;
18570
18588
  }, Rt = function(O, E, st) {
18571
18589
  var Bt = O === "||" || O === "&&" ? p : c;
@@ -18575,7 +18593,7 @@ var ki = {}, KS = {
18575
18593
  left: E,
18576
18594
  right: st
18577
18595
  };
18578
- }, _t = function(O) {
18596
+ }, gt = function(O) {
18579
18597
  return O >= 48 && O <= 57;
18580
18598
  }, rt = function(O) {
18581
18599
  return O === 36 || O === 95 || // `$` and `_`
@@ -18618,12 +18636,12 @@ var ki = {}, KS = {
18618
18636
  }
18619
18637
  return !1;
18620
18638
  }, Uo = function() {
18621
- var A, L, Y, re, Et, Je, gt, Ht, ts;
18639
+ var A, L, Y, re, Et, Je, vt, Ht, ts;
18622
18640
  if (Je = Rn(), L = Jr(), !L)
18623
18641
  return Je;
18624
- for (Et = { value: L, prec: it(L) }, gt = Rn(), gt || G("Expected expression after " + L, E), re = [Je, Et, gt]; (L = Jr()) && (Y = it(L), Y !== 0); ) {
18642
+ for (Et = { value: L, prec: it(L) }, vt = Rn(), vt || G("Expected expression after " + L, E), re = [Je, Et, vt]; (L = Jr()) && (Y = it(L), Y !== 0); ) {
18625
18643
  for (Et = { value: L, prec: Y }, ts = L; re.length > 2 && Y <= re[re.length - 2].prec; )
18626
- gt = re.pop(), L = re.pop().value, Je = re.pop(), A = Rt(L, Je, gt), re.push(A);
18644
+ vt = re.pop(), L = re.pop().value, Je = re.pop(), A = Rt(L, Je, vt), re.push(A);
18627
18645
  A = Rn(), A || G("Expected expression after " + ts, E), re.push(Et, A);
18628
18646
  }
18629
18647
  for (Ht = re.length - 1, A = re[Ht]; Ht > 1; )
@@ -18631,7 +18649,7 @@ var ki = {}, KS = {
18631
18649
  return A;
18632
18650
  }, Rn = function() {
18633
18651
  var A, L, Y;
18634
- if (lt(), A = ue(E), _t(A) || A === w)
18652
+ if (lt(), A = ue(E), gt(A) || A === w)
18635
18653
  return jo();
18636
18654
  if (A === U || A === z)
18637
18655
  return Ro();
@@ -18649,15 +18667,15 @@ var ki = {}, KS = {
18649
18667
  }
18650
18668
  return rt(A) || A === D ? Bo() : !1;
18651
18669
  }, jo = function() {
18652
- for (var A = "", L, Y; _t(ue(E)); )
18670
+ for (var A = "", L, Y; gt(ue(E)); )
18653
18671
  A += De(E++);
18654
18672
  if (ue(E) === w)
18655
- for (A += De(E++); _t(ue(E)); )
18673
+ for (A += De(E++); gt(ue(E)); )
18656
18674
  A += De(E++);
18657
18675
  if (L = De(E), L === "e" || L === "E") {
18658
- for (A += De(E++), L = De(E), (L === "+" || L === "-") && (A += De(E++)); _t(ue(E)); )
18676
+ for (A += De(E++), L = De(E), (L === "+" || L === "-") && (A += De(E++)); gt(ue(E)); )
18659
18677
  A += De(E++);
18660
- _t(ue(E - 1)) || G("Expected exponent (" + A + De(E) + ")", E);
18678
+ gt(ue(E - 1)) || G("Expected exponent (" + A + De(E) + ")", E);
18661
18679
  }
18662
18680
  return Y = ue(E), rt(Y) ? G("Variable names cannot start with a number (" + A + De(E) + ")", E) : Y === w && G("Unexpected period", E), {
18663
18681
  type: l,
@@ -18708,7 +18726,7 @@ var ki = {}, KS = {
18708
18726
  type: l,
18709
18727
  value: Ve[Y],
18710
18728
  raw: Y
18711
- } : Y === yt ? { type: a } : {
18729
+ } : Y === _t ? { type: a } : {
18712
18730
  type: s,
18713
18731
  name: Y
18714
18732
  };
@@ -18722,7 +18740,7 @@ var ki = {}, KS = {
18722
18740
  if (A === ee)
18723
18741
  G("Unexpected token ,", E);
18724
18742
  else if (A === oe)
18725
- for (var gt = Y.length; gt < Je; gt++)
18743
+ for (var vt = Y.length; vt < Je; vt++)
18726
18744
  Y.push(null);
18727
18745
  }
18728
18746
  } else
@@ -18787,8 +18805,8 @@ var ki = {}, KS = {
18787
18805
  return Ve = {}, this;
18788
18806
  }, e.exports ? t = e.exports = Ce : t.parse = Ce;
18789
18807
  })();
18790
- })(KS, ki);
18791
- const YS = ki;
18808
+ })(WS, ki);
18809
+ const KS = ki;
18792
18810
  var ol = { "||": function(e, t) {
18793
18811
  return e || t;
18794
18812
  }, "&&": function(e, t) {
@@ -18831,7 +18849,7 @@ var ol = { "||": function(e, t) {
18831
18849
  return e / t;
18832
18850
  }, "%": function(e, t) {
18833
18851
  return e % t;
18834
- } }, ZS = { "-": function(e) {
18852
+ } }, YS = { "-": function(e) {
18835
18853
  return -e;
18836
18854
  }, "+": function(e) {
18837
18855
  return +e;
@@ -18874,62 +18892,62 @@ function Se(e, t) {
18874
18892
  case "ThisExpression":
18875
18893
  return t;
18876
18894
  case "UnaryExpression":
18877
- return ZS[n.operator](Se(n.argument, t));
18895
+ return YS[n.operator](Se(n.argument, t));
18878
18896
  default:
18879
18897
  return;
18880
18898
  }
18881
18899
  }
18882
- function JS(e, t, n, r) {
18900
+ function ZS(e, t, n, r) {
18883
18901
  for (var s = e.length, i = n + (r ? 1 : -1); r ? i-- : ++i < s; )
18884
18902
  if (t(e[i], i, e))
18885
18903
  return i;
18886
18904
  return -1;
18887
18905
  }
18888
- var XS = JS;
18889
- function QS(e) {
18906
+ var JS = ZS;
18907
+ function XS(e) {
18890
18908
  return e !== e;
18891
18909
  }
18892
- var e2 = QS;
18893
- function t2(e, t, n) {
18910
+ var QS = XS;
18911
+ function e2(e, t, n) {
18894
18912
  for (var r = n - 1, s = e.length; ++r < s; )
18895
18913
  if (e[r] === t)
18896
18914
  return r;
18897
18915
  return -1;
18898
18916
  }
18899
- var n2 = t2, i2 = XS, r2 = e2, s2 = n2;
18900
- function l2(e, t, n) {
18901
- return t === t ? s2(e, t, n) : i2(e, r2, n);
18917
+ var t2 = e2, n2 = JS, i2 = QS, r2 = t2;
18918
+ function s2(e, t, n) {
18919
+ return t === t ? r2(e, t, n) : n2(e, i2, n);
18902
18920
  }
18903
- var vo = l2, a2 = Fn, o2 = Ln, u2 = $n, d2 = "[object String]";
18904
- function c2(e) {
18905
- return typeof e == "string" || !o2(e) && u2(e) && a2(e) == d2;
18921
+ var vo = s2, l2 = Fn, a2 = Ln, o2 = $n, u2 = "[object String]";
18922
+ function d2(e) {
18923
+ return typeof e == "string" || !a2(e) && o2(e) && l2(e) == u2;
18906
18924
  }
18907
- var f2 = c2, m2 = yo;
18908
- function h2(e) {
18909
- var t = m2(e), n = t % 1;
18925
+ var c2 = d2, f2 = yo;
18926
+ function m2(e) {
18927
+ var t = f2(e), n = t % 1;
18910
18928
  return t === t ? n ? t - n : t : 0;
18911
18929
  }
18912
- var p2 = h2, y2 = Ma;
18913
- function _2(e, t) {
18914
- return y2(t, function(n) {
18930
+ var h2 = m2, p2 = Ma;
18931
+ function y2(e, t) {
18932
+ return p2(t, function(n) {
18915
18933
  return e[n];
18916
18934
  });
18917
18935
  }
18918
- var g2 = _2;
18919
- function v2(e, t) {
18936
+ var _2 = y2;
18937
+ function g2(e, t) {
18920
18938
  for (var n = -1, r = Array(e); ++n < e; )
18921
18939
  r[n] = t(n);
18922
18940
  return r;
18923
18941
  }
18924
- var b2 = v2, k2 = Fn, x2 = $n, w2 = "[object Arguments]";
18925
- function S2(e) {
18926
- return x2(e) && k2(e) == w2;
18942
+ var v2 = g2, b2 = Fn, k2 = $n, x2 = "[object Arguments]";
18943
+ function w2(e) {
18944
+ return k2(e) && b2(e) == x2;
18927
18945
  }
18928
- var T2 = S2, cl = T2, O2 = $n, bo = Object.prototype, V2 = bo.hasOwnProperty, C2 = bo.propertyIsEnumerable, E2 = cl(function() {
18946
+ var S2 = w2, cl = S2, T2 = $n, bo = Object.prototype, O2 = bo.hasOwnProperty, V2 = bo.propertyIsEnumerable, C2 = cl(function() {
18929
18947
  return arguments;
18930
18948
  }()) ? cl : function(e) {
18931
- return O2(e) && V2.call(e, "callee") && !C2.call(e, "callee");
18932
- }, A2 = E2, xi = {}, M2 = {
18949
+ return T2(e) && O2.call(e, "callee") && !V2.call(e, "callee");
18950
+ }, E2 = C2, xi = {}, A2 = {
18933
18951
  get exports() {
18934
18952
  return xi;
18935
18953
  },
@@ -18937,27 +18955,27 @@ var T2 = S2, cl = T2, O2 = $n, bo = Object.prototype, V2 = bo.hasOwnProperty, C2
18937
18955
  xi = e;
18938
18956
  }
18939
18957
  };
18940
- function D2() {
18958
+ function M2() {
18941
18959
  return !1;
18942
18960
  }
18943
- var I2 = D2;
18961
+ var D2 = M2;
18944
18962
  (function(e, t) {
18945
- var n = an, r = I2, s = t && !t.nodeType && t, i = s && !0 && e && !e.nodeType && e, l = i && i.exports === s, a = l ? n.Buffer : void 0, u = a ? a.isBuffer : void 0, f = u || r;
18963
+ var n = an, r = D2, s = t && !t.nodeType && t, i = s && !0 && e && !e.nodeType && e, l = i && i.exports === s, a = l ? n.Buffer : void 0, u = a ? a.isBuffer : void 0, f = u || r;
18946
18964
  e.exports = f;
18947
- })(M2, xi);
18948
- var F2 = Fn, $2 = ho, N2 = $n, L2 = "[object Arguments]", P2 = "[object Array]", U2 = "[object Boolean]", j2 = "[object Date]", R2 = "[object Error]", B2 = "[object Function]", z2 = "[object Map]", H2 = "[object Number]", q2 = "[object Object]", G2 = "[object RegExp]", W2 = "[object Set]", K2 = "[object String]", Y2 = "[object WeakMap]", Z2 = "[object ArrayBuffer]", J2 = "[object DataView]", X2 = "[object Float32Array]", Q2 = "[object Float64Array]", eT = "[object Int8Array]", tT = "[object Int16Array]", nT = "[object Int32Array]", iT = "[object Uint8Array]", rT = "[object Uint8ClampedArray]", sT = "[object Uint16Array]", lT = "[object Uint32Array]", ae = {};
18949
- ae[X2] = ae[Q2] = ae[eT] = ae[tT] = ae[nT] = ae[iT] = ae[rT] = ae[sT] = ae[lT] = !0;
18950
- ae[L2] = ae[P2] = ae[Z2] = ae[U2] = ae[J2] = ae[j2] = ae[R2] = ae[B2] = ae[z2] = ae[H2] = ae[q2] = ae[G2] = ae[W2] = ae[K2] = ae[Y2] = !1;
18951
- function aT(e) {
18952
- return N2(e) && $2(e.length) && !!ae[F2(e)];
18953
- }
18954
- var oT = aT;
18955
- function uT(e) {
18965
+ })(A2, xi);
18966
+ var I2 = Fn, F2 = ho, $2 = $n, N2 = "[object Arguments]", L2 = "[object Array]", P2 = "[object Boolean]", U2 = "[object Date]", j2 = "[object Error]", R2 = "[object Function]", B2 = "[object Map]", z2 = "[object Number]", H2 = "[object Object]", q2 = "[object RegExp]", G2 = "[object Set]", W2 = "[object String]", K2 = "[object WeakMap]", Y2 = "[object ArrayBuffer]", Z2 = "[object DataView]", J2 = "[object Float32Array]", X2 = "[object Float64Array]", Q2 = "[object Int8Array]", eT = "[object Int16Array]", tT = "[object Int32Array]", nT = "[object Uint8Array]", iT = "[object Uint8ClampedArray]", rT = "[object Uint16Array]", sT = "[object Uint32Array]", ae = {};
18967
+ ae[J2] = ae[X2] = ae[Q2] = ae[eT] = ae[tT] = ae[nT] = ae[iT] = ae[rT] = ae[sT] = !0;
18968
+ ae[N2] = ae[L2] = ae[Y2] = ae[P2] = ae[Z2] = ae[U2] = ae[j2] = ae[R2] = ae[B2] = ae[z2] = ae[H2] = ae[q2] = ae[G2] = ae[W2] = ae[K2] = !1;
18969
+ function lT(e) {
18970
+ return $2(e) && F2(e.length) && !!ae[I2(e)];
18971
+ }
18972
+ var aT = lT;
18973
+ function oT(e) {
18956
18974
  return function(t) {
18957
18975
  return e(t);
18958
18976
  };
18959
18977
  }
18960
- var dT = uT, wi = {}, cT = {
18978
+ var uT = oT, wi = {}, dT = {
18961
18979
  get exports() {
18962
18980
  return wi;
18963
18981
  },
@@ -18974,55 +18992,55 @@ var dT = uT, wi = {}, cT = {
18974
18992
  }
18975
18993
  }();
18976
18994
  e.exports = a;
18977
- })(cT, wi);
18978
- var fT = oT, mT = dT, fl = wi, ml = fl && fl.isTypedArray, hT = ml ? mT(ml) : fT, pT = hT, yT = b2, _T = A2, gT = Ln, vT = xi, bT = po, kT = pT, xT = Object.prototype, wT = xT.hasOwnProperty;
18979
- function ST(e, t) {
18980
- var n = gT(e), r = !n && _T(e), s = !n && !r && vT(e), i = !n && !r && !s && kT(e), l = n || r || s || i, a = l ? yT(e.length, String) : [], u = a.length;
18995
+ })(dT, wi);
18996
+ var cT = aT, fT = uT, fl = wi, ml = fl && fl.isTypedArray, mT = ml ? fT(ml) : cT, hT = mT, pT = v2, yT = E2, _T = Ln, gT = xi, vT = po, bT = hT, kT = Object.prototype, xT = kT.hasOwnProperty;
18997
+ function wT(e, t) {
18998
+ var n = _T(e), r = !n && yT(e), s = !n && !r && gT(e), i = !n && !r && !s && bT(e), l = n || r || s || i, a = l ? pT(e.length, String) : [], u = a.length;
18981
18999
  for (var f in e)
18982
- (t || wT.call(e, f)) && !(l && // Safari 9 has enumerable `arguments.length` in strict mode.
19000
+ (t || xT.call(e, f)) && !(l && // Safari 9 has enumerable `arguments.length` in strict mode.
18983
19001
  (f == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
18984
19002
  s && (f == "offset" || f == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
18985
19003
  i && (f == "buffer" || f == "byteLength" || f == "byteOffset") || // Skip index properties.
18986
- bT(f, u))) && a.push(f);
19004
+ vT(f, u))) && a.push(f);
18987
19005
  return a;
18988
19006
  }
18989
- var TT = ST, OT = Object.prototype;
18990
- function VT(e) {
18991
- var t = e && e.constructor, n = typeof t == "function" && t.prototype || OT;
19007
+ var ST = wT, TT = Object.prototype;
19008
+ function OT(e) {
19009
+ var t = e && e.constructor, n = typeof t == "function" && t.prototype || TT;
18992
19010
  return e === n;
18993
19011
  }
18994
- var CT = VT;
18995
- function ET(e, t) {
19012
+ var VT = OT;
19013
+ function CT(e, t) {
18996
19014
  return function(n) {
18997
19015
  return e(t(n));
18998
19016
  };
18999
19017
  }
19000
- var AT = ET, MT = AT, DT = MT(Object.keys, Object), IT = DT, FT = CT, $T = IT, NT = Object.prototype, LT = NT.hasOwnProperty;
19001
- function PT(e) {
19002
- if (!FT(e))
19003
- return $T(e);
19018
+ var ET = CT, AT = ET, MT = AT(Object.keys, Object), DT = MT, IT = VT, FT = DT, $T = Object.prototype, NT = $T.hasOwnProperty;
19019
+ function LT(e) {
19020
+ if (!IT(e))
19021
+ return FT(e);
19004
19022
  var t = [];
19005
19023
  for (var n in Object(e))
19006
- LT.call(e, n) && n != "constructor" && t.push(n);
19024
+ NT.call(e, n) && n != "constructor" && t.push(n);
19007
19025
  return t;
19008
19026
  }
19009
- var UT = PT, jT = TT, RT = UT, BT = Kr;
19010
- function zT(e) {
19011
- return BT(e) ? jT(e) : RT(e);
19027
+ var PT = LT, UT = ST, jT = PT, RT = Kr;
19028
+ function BT(e) {
19029
+ return RT(e) ? UT(e) : jT(e);
19012
19030
  }
19013
- var HT = zT, qT = g2, GT = HT;
19014
- function WT(e) {
19015
- return e == null ? [] : qT(e, GT(e));
19031
+ var zT = BT, HT = _2, qT = zT;
19032
+ function GT(e) {
19033
+ return e == null ? [] : HT(e, qT(e));
19016
19034
  }
19017
- var KT = WT, YT = vo, ZT = Kr, JT = f2, XT = p2, QT = KT, eO = Math.max;
19018
- function tO(e, t, n, r) {
19019
- e = ZT(e) ? e : QT(e), n = n && !r ? XT(n) : 0;
19035
+ var WT = GT, KT = vo, YT = Kr, ZT = c2, JT = h2, XT = WT, QT = Math.max;
19036
+ function eO(e, t, n, r) {
19037
+ e = YT(e) ? e : XT(e), n = n && !r ? JT(n) : 0;
19020
19038
  var s = e.length;
19021
- return n < 0 && (n = eO(s + n, 0)), JT(e) ? n <= s && e.indexOf(t, n) > -1 : !!s && YT(e, t, n) > -1;
19039
+ return n < 0 && (n = QT(s + n, 0)), ZT(e) ? n <= s && e.indexOf(t, n) > -1 : !!s && KT(e, t, n) > -1;
19022
19040
  }
19023
- var nO = tO;
19024
- const Ot = {};
19025
- function iO(e, t, n, r) {
19041
+ var tO = eO;
19042
+ const Vt = {};
19043
+ function nO(e, t, n, r) {
19026
19044
  return e ? Array.isArray(e) ? e.filter(function(s) {
19027
19045
  const i = Lt(s, t);
19028
19046
  let l;
@@ -19040,7 +19058,7 @@ function iO(e, t, n, r) {
19040
19058
  l = i <= n;
19041
19059
  break;
19042
19060
  case "in":
19043
- l = nO(i, n);
19061
+ l = tO(i, n);
19044
19062
  break;
19045
19063
  default:
19046
19064
  n === void 0 ? l = i : l = i == n;
@@ -19049,12 +19067,12 @@ function iO(e, t, n, r) {
19049
19067
  return l;
19050
19068
  }) : (console.error("array.filter value was not provided as array", { input: e }), []) : [];
19051
19069
  }
19052
- function rO(e) {
19070
+ function iO(e) {
19053
19071
  return e.reduce(function(t, n) {
19054
19072
  return t + n;
19055
19073
  }, 0);
19056
19074
  }
19057
- function sO(e, t, n, r, s) {
19075
+ function rO(e, t, n, r, s) {
19058
19076
  if (!e)
19059
19077
  return [];
19060
19078
  if (s = s || {}, s.flat = n, s.unique = r, !Array.isArray(e))
@@ -19065,7 +19083,7 @@ function sO(e, t, n, r, s) {
19065
19083
  }, []);
19066
19084
  return s.unique && (i = [...new Set(i)]), s.flat && (i = i.flat()), i;
19067
19085
  }
19068
- Ot.evaluateExpression = function(e, t) {
19086
+ Vt.evaluateExpression = function(e, t) {
19069
19087
  if (typeof e == "function")
19070
19088
  return e(t);
19071
19089
  const n = {
@@ -19078,9 +19096,9 @@ Ot.evaluateExpression = function(e, t) {
19078
19096
  parseFloat,
19079
19097
  now: new Date(),
19080
19098
  array: {
19081
- filter: iO,
19082
- extract: sO,
19083
- sum: rO
19099
+ filter: nO,
19100
+ extract: rO,
19101
+ sum: iO
19084
19102
  },
19085
19103
  create(i, ...l) {
19086
19104
  return new i(...l);
@@ -19089,20 +19107,20 @@ Ot.evaluateExpression = function(e, t) {
19089
19107
  t = Object.assign({}, n, t);
19090
19108
  var r, s;
19091
19109
  try {
19092
- r = YS(e), s = Se(r, t);
19110
+ r = KS(e), s = Se(r, t);
19093
19111
  } catch (i) {
19094
19112
  console.log("There was an error evaluating your expression", { expression: e, error: i, context: t });
19095
19113
  } finally {
19096
19114
  }
19097
19115
  return s;
19098
19116
  };
19099
- const lO = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map(function(e) {
19117
+ const sO = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map(function(e) {
19100
19118
  const t = String(e).slice(2);
19101
19119
  return {
19102
19120
  title: e,
19103
19121
  value: t
19104
19122
  };
19105
- }), aO = {
19123
+ }), lO = {
19106
19124
  mixins: [Q],
19107
19125
  components: {
19108
19126
  // StripeElements,
@@ -19230,7 +19248,7 @@ const lO = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map
19230
19248
  activeModifiers() {
19231
19249
  const e = this, t = this.expressionsContext;
19232
19250
  return e.modifiers.filter(function(n) {
19233
- return n.condition ? Ot.evaluateExpression(n.condition, t) : !0;
19251
+ return n.condition ? Vt.evaluateExpression(n.condition, t) : !0;
19234
19252
  });
19235
19253
  },
19236
19254
  calculations() {
@@ -19238,7 +19256,7 @@ const lO = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map
19238
19256
  let t = [], n = 0;
19239
19257
  e.baseAmount && (n += e.baseAmount), e.activeModifiers.forEach(function(s, i) {
19240
19258
  const l = Object.assign({}, e.expressionsContext, { total: n }), a = n;
19241
- let u = Ot.evaluateExpression(s.expression, l);
19259
+ let u = Vt.evaluateExpression(s.expression, l);
19242
19260
  u = parseInt(u || 0);
19243
19261
  const f = e.$sdk.utils.formatCurrency(u, e.currency);
19244
19262
  let c = "";
@@ -19354,7 +19372,7 @@ const lO = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map
19354
19372
  minLength: 2,
19355
19373
  maxLength: 2,
19356
19374
  widget: "select",
19357
- options: lO
19375
+ options: sO
19358
19376
  }, {
19359
19377
  title: "CVN",
19360
19378
  key: "cvc",
@@ -19392,13 +19410,13 @@ const lO = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map
19392
19410
  };
19393
19411
  }
19394
19412
  }
19395
- }, jn = (e) => (Ye("data-v-77ad86cb"), e = e(), Ze(), e), oO = /* @__PURE__ */ jn(() => /* @__PURE__ */ x("h2", null, "Payment Summary", -1)), uO = { class: "calculations" }, dO = /* @__PURE__ */ jn(() => /* @__PURE__ */ x("td", null, "Amount", -1)), cO = { class: "running-total" }, fO = { class: "running-total" }, mO = {
19413
+ }, jn = (e) => (Ye("data-v-77ad86cb"), e = e(), Ze(), e), aO = /* @__PURE__ */ jn(() => /* @__PURE__ */ x("h2", null, "Payment Summary", -1)), oO = { class: "calculations" }, uO = /* @__PURE__ */ jn(() => /* @__PURE__ */ x("td", null, "Amount", -1)), dO = { class: "running-total" }, cO = { class: "running-total" }, fO = {
19396
19414
  key: 0,
19397
19415
  class: "grand-total"
19398
- }, hO = /* @__PURE__ */ jn(() => /* @__PURE__ */ x("td", null, [
19416
+ }, mO = /* @__PURE__ */ jn(() => /* @__PURE__ */ x("td", null, [
19399
19417
  /* @__PURE__ */ x("strong", null, "Total")
19400
- ], -1)), pO = /* @__PURE__ */ jn(() => /* @__PURE__ */ x("td", null, null, -1)), yO = /* @__PURE__ */ jn(() => /* @__PURE__ */ x("h3", null, "Please select a payment processor", -1));
19401
- function _O(e, t, n, r, s, i) {
19418
+ ], -1)), hO = /* @__PURE__ */ jn(() => /* @__PURE__ */ x("td", null, null, -1)), pO = /* @__PURE__ */ jn(() => /* @__PURE__ */ x("h3", null, "Please select a payment processor", -1));
19419
+ function yO(e, t, n, r, s, i) {
19402
19420
  const l = y("ux-form"), a = y("ux-panel-body"), u = y("ux-panel"), f = y("ux-icon"), c = y("ux-button");
19403
19421
  return e.multiValue ? (o(), d(S, { key: 0 }, [
19404
19422
  T(" Invalid configuration ")
@@ -19417,33 +19435,33 @@ function _O(e, t, n, r, s, i) {
19417
19435
  fields: i.calculatedTotalFields
19418
19436
  }, null, 8, ["trail", "paymentConfiguration", "includeOfficeOnly", "submission", "onForm:state", "parentModel", "modelValue", "flex", "fields"]),
19419
19437
  i.requiresPayment ? (o(), d(S, { key: 0 }, [
19420
- oO,
19438
+ aO,
19421
19439
  m(u, null, {
19422
19440
  default: h(() => [
19423
19441
  m(a, null, {
19424
19442
  default: h(() => [
19425
- x("table", uO, [
19443
+ x("table", oO, [
19426
19444
  x("tbody", null, [
19427
19445
  i.baseAmount ? (o(), d("tr", {
19428
19446
  key: 0,
19429
19447
  class: N(["calculation-modifier", ["modifier-set", `modifier-visible-${i.baseAmountVisible}`]])
19430
19448
  }, [
19431
- dO,
19449
+ uO,
19432
19450
  x("td", null, v(i.formattedBaseAmount), 1),
19433
- x("td", cO, v(i.formattedBaseAmount), 1)
19451
+ x("td", dO, v(i.formattedBaseAmount), 1)
19434
19452
  ], 2)) : _("", !0),
19435
19453
  (o(!0), d(S, null, F(i.visibleModifications, (p) => (o(), d("tr", {
19436
19454
  class: N(["calculation-modifier", [`modifier-${p.modifier}`, `modifier-visible-${p.visible}`]])
19437
19455
  }, [
19438
19456
  x("td", null, v(p.title), 1),
19439
19457
  x("td", null, v(p.summary), 1),
19440
- x("td", fO, v(p.result), 1)
19458
+ x("td", cO, v(p.result), 1)
19441
19459
  ], 2))), 256))
19442
19460
  ]),
19443
19461
  x("tfoot", null, [
19444
- i.baseAmount ? (o(), d("tr", mO, [
19462
+ i.baseAmount ? (o(), d("tr", fO, [
19463
+ mO,
19445
19464
  hO,
19446
- pO,
19447
19465
  x("td", null, [
19448
19466
  x("strong", null, v(i.formattedTotal), 1)
19449
19467
  ])
@@ -19457,7 +19475,7 @@ function _O(e, t, n, r, s, i) {
19457
19475
  _: 1
19458
19476
  }),
19459
19477
  i.gateways.length > 1 ? (o(), d(S, { key: 0 }, [
19460
- yO,
19478
+ pO,
19461
19479
  m(u, null, {
19462
19480
  default: h(() => [
19463
19481
  m(a, null, {
@@ -19486,11 +19504,11 @@ function _O(e, t, n, r, s, i) {
19486
19504
  ], 64)) : _("", !0)
19487
19505
  ], 64));
19488
19506
  }
19489
- const gO = /* @__PURE__ */ V(aO, [["render", _O], ["__scopeId", "data-v-77ad86cb"]]);
19490
- function vO(e) {
19507
+ const _O = /* @__PURE__ */ V(lO, [["render", yO], ["__scopeId", "data-v-77ad86cb"]]);
19508
+ function gO(e) {
19491
19509
  return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
19492
19510
  }
19493
- const bO = {
19511
+ const vO = {
19494
19512
  props: {
19495
19513
  title: {
19496
19514
  type: String
@@ -19506,7 +19524,7 @@ const bO = {
19506
19524
  methods: {
19507
19525
  cleanOutput(e) {
19508
19526
  var t = this;
19509
- return vO(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
19527
+ return gO(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
19510
19528
  return t.getValue(n);
19511
19529
  }) : e = t.getValue(e), e;
19512
19530
  },
@@ -19576,37 +19594,37 @@ const bO = {
19576
19594
  return this.actualOptions || [];
19577
19595
  }
19578
19596
  }
19579
- }, kO = {
19597
+ }, bO = {
19580
19598
  key: 0,
19581
19599
  class: "ux-field-title"
19582
- }, xO = {
19600
+ }, kO = {
19583
19601
  key: 0,
19584
19602
  class: "ux-required-marker"
19585
- }, wO = {
19603
+ }, xO = {
19586
19604
  key: 1,
19587
19605
  class: "ux-field-description"
19588
- }, SO = {
19606
+ }, wO = {
19589
19607
  key: 0,
19590
19608
  class: "ui-select-button"
19591
- }, TO = ["multiple"], OO = {
19609
+ }, SO = ["multiple"], TO = {
19592
19610
  key: 0,
19593
19611
  value: ""
19594
- }, VO = ["value"], CO = {
19612
+ }, OO = ["value"], VO = {
19595
19613
  key: 3,
19596
19614
  class: "ui-select-button"
19597
19615
  };
19598
- function EO(e, t, n, r, s, i) {
19616
+ function CO(e, t, n, r, s, i) {
19599
19617
  const l = y("ux-button");
19600
19618
  return o(), d("div", {
19601
19619
  class: N(["native-select", i.classes])
19602
19620
  }, [
19603
- e.showLabel ? (o(), d("label", kO, [
19621
+ e.showLabel ? (o(), d("label", bO, [
19604
19622
  T(v(e.label) + " ", 1),
19605
- e.required ? (o(), d("span", xO, "*")) : _("", !0)
19623
+ e.required ? (o(), d("span", kO, "*")) : _("", !0)
19606
19624
  ])) : _("", !0),
19607
- e.showDescription ? (o(), d("div", wO, v(e.description), 1)) : _("", !0),
19625
+ e.showDescription ? (o(), d("div", xO, v(e.description), 1)) : _("", !0),
19608
19626
  i.selectableOptions.length ? (o(), d(S, { key: 2 }, [
19609
- e.singleValue ? (o(), d("div", SO, [
19627
+ e.singleValue ? (o(), d("div", wO, [
19610
19628
  H(e.$slots, "default", {}, () => [
19611
19629
  m(l, { tag: "div" }, {
19612
19630
  default: h(() => [
@@ -19621,14 +19639,14 @@ function EO(e, t, n, r, s, i) {
19621
19639
  multiple: e.multiValue,
19622
19640
  "onUpdate:modelValue": t[1] || (t[1] = (a) => e.model = a)
19623
19641
  }, [
19624
- e.singleValue && !e.minimum ? (o(), d("option", OO, "None")) : _("", !0),
19642
+ e.singleValue && !e.minimum ? (o(), d("option", TO, "None")) : _("", !0),
19625
19643
  (o(!0), d(S, null, F(i.selectableOptions, (a) => (o(), d("option", {
19626
19644
  value: a.value
19627
- }, v(a.title), 9, VO))), 256))
19628
- ], 40, TO), [
19629
- [Tt, e.model]
19645
+ }, v(a.title), 9, OO))), 256))
19646
+ ], 40, SO), [
19647
+ [Ot, e.model]
19630
19648
  ])
19631
- ], 64)) : (o(), d("div", CO, [
19649
+ ], 64)) : (o(), d("div", VO, [
19632
19650
  m(l, { tag: "div" }, {
19633
19651
  default: h(() => [
19634
19652
  T(" No valid routes ")
@@ -19638,11 +19656,11 @@ function EO(e, t, n, r, s, i) {
19638
19656
  ]))
19639
19657
  ], 2);
19640
19658
  }
19641
- const AO = /* @__PURE__ */ V(bO, [["render", EO], ["__scopeId", "data-v-a9c5a05f"]]);
19642
- function MO(e) {
19659
+ const EO = /* @__PURE__ */ V(vO, [["render", CO], ["__scopeId", "data-v-a9c5a05f"]]);
19660
+ function AO(e) {
19643
19661
  return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
19644
19662
  }
19645
- const DO = {
19663
+ const MO = {
19646
19664
  props: {
19647
19665
  title: {
19648
19666
  type: String
@@ -19658,7 +19676,7 @@ const DO = {
19658
19676
  methods: {
19659
19677
  cleanOutput(e) {
19660
19678
  var t = this;
19661
- return MO(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
19679
+ return AO(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
19662
19680
  return t.getValue(n);
19663
19681
  }) : e = t.getValue(e), e;
19664
19682
  },
@@ -19711,33 +19729,33 @@ const DO = {
19711
19729
  return this.actualOptions;
19712
19730
  }
19713
19731
  }
19714
- }, IO = {
19732
+ }, DO = {
19715
19733
  key: 0,
19716
19734
  class: "ux-field-title"
19717
- }, FO = {
19735
+ }, IO = {
19718
19736
  key: 0,
19719
19737
  class: "ux-required-marker"
19720
- }, $O = {
19738
+ }, FO = {
19721
19739
  key: 1,
19722
19740
  class: "ux-field-description"
19723
- }, NO = {
19741
+ }, $O = {
19724
19742
  key: 2,
19725
19743
  class: "ui-select-button"
19726
- }, LO = ["multiple"], PO = {
19744
+ }, NO = ["multiple"], LO = {
19727
19745
  key: 0,
19728
19746
  value: ""
19729
- }, UO = ["value"];
19730
- function jO(e, t, n, r, s, i) {
19747
+ }, PO = ["value"];
19748
+ function UO(e, t, n, r, s, i) {
19731
19749
  const l = y("ux-button");
19732
19750
  return o(), d("div", {
19733
19751
  class: N(["native-select", i.classes])
19734
19752
  }, [
19735
- e.showLabel ? (o(), d("label", IO, [
19753
+ e.showLabel ? (o(), d("label", DO, [
19736
19754
  T(v(e.label) + " ", 1),
19737
- e.required ? (o(), d("span", FO, "*")) : _("", !0)
19755
+ e.required ? (o(), d("span", IO, "*")) : _("", !0)
19738
19756
  ])) : _("", !0),
19739
- e.showDescription ? (o(), d("div", $O, v(e.description), 1)) : _("", !0),
19740
- e.singleValue ? (o(), d("div", NO, [
19757
+ e.showDescription ? (o(), d("div", FO, v(e.description), 1)) : _("", !0),
19758
+ e.singleValue ? (o(), d("div", $O, [
19741
19759
  H(e.$slots, "default", {}, () => [
19742
19760
  m(l, { tag: "div" }, {
19743
19761
  default: h(() => [
@@ -19752,16 +19770,16 @@ function jO(e, t, n, r, s, i) {
19752
19770
  multiple: e.multiValue,
19753
19771
  "onUpdate:modelValue": t[1] || (t[1] = (a) => e.model = a)
19754
19772
  }, [
19755
- e.singleValue && !e.minimum ? (o(), d("option", PO, "None")) : _("", !0),
19773
+ e.singleValue && !e.minimum ? (o(), d("option", LO, "None")) : _("", !0),
19756
19774
  (o(!0), d(S, null, F(i.selectableOptions, (a) => (o(), d("option", {
19757
19775
  value: a.value
19758
- }, v(a.title), 9, UO))), 256))
19759
- ], 40, LO), [
19760
- [Tt, e.model]
19776
+ }, v(a.title), 9, PO))), 256))
19777
+ ], 40, NO), [
19778
+ [Ot, e.model]
19761
19779
  ])
19762
19780
  ], 2);
19763
19781
  }
19764
- const RO = /* @__PURE__ */ V(DO, [["render", jO], ["__scopeId", "data-v-8801d1a0"]]), cn = {
19782
+ const jO = /* @__PURE__ */ V(MO, [["render", UO], ["__scopeId", "data-v-8801d1a0"]]), cn = {
19765
19783
  props: {
19766
19784
  options: {
19767
19785
  type: Object,
@@ -19782,7 +19800,7 @@ const RO = /* @__PURE__ */ V(DO, [["render", jO], ["__scopeId", "data-v-8801d1a0
19782
19800
  }
19783
19801
  }
19784
19802
  };
19785
- const BO = {
19803
+ const RO = {
19786
19804
  data() {
19787
19805
  return {
19788
19806
  selection: {}
@@ -19870,15 +19888,15 @@ const BO = {
19870
19888
  this.selection[e.path] = !this.selection[e.path], console.log(e);
19871
19889
  }
19872
19890
  }
19873
- }, zO = { class: "wrapper" }, HO = { class: "header" }, qO = ["onClick"], GO = { class: "font-sm font-muted" };
19874
- function WO(e, t, n, r, s, i) {
19891
+ }, BO = { class: "wrapper" }, zO = { class: "header" }, HO = ["onClick"], qO = { class: "font-sm font-muted" };
19892
+ function GO(e, t, n, r, s, i) {
19875
19893
  const l = y("flex-cell"), a = y("ux-button"), u = y("flex-row"), f = y("flex-header"), c = y("ux-checkbox"), p = y("flex-body"), g = y("flex-column");
19876
- return o(), d("div", zO, [
19894
+ return o(), d("div", BO, [
19877
19895
  m(g, null, {
19878
19896
  default: h(() => [
19879
19897
  m(f, null, {
19880
19898
  default: h(() => [
19881
- x("div", HO, [
19899
+ x("div", zO, [
19882
19900
  m(u, {
19883
19901
  gap: "",
19884
19902
  center: ""
@@ -19934,14 +19952,14 @@ function WO(e, t, n, r, s, i) {
19934
19952
  m(l, null, {
19935
19953
  default: h(() => [
19936
19954
  x("strong", null, v(b.selectTitle), 1),
19937
- x("div", GO, v(b.path), 1)
19955
+ x("div", qO, v(b.path), 1)
19938
19956
  ]),
19939
19957
  _: 2
19940
19958
  }, 1024)
19941
19959
  ]),
19942
19960
  _: 2
19943
19961
  }, 1024)
19944
- ], 14, qO))), 256))
19962
+ ], 14, HO))), 256))
19945
19963
  ]),
19946
19964
  _: 1
19947
19965
  })
@@ -19950,7 +19968,7 @@ function WO(e, t, n, r, s, i) {
19950
19968
  })
19951
19969
  ]);
19952
19970
  }
19953
- const KO = /* @__PURE__ */ V(BO, [["render", WO], ["__scopeId", "data-v-415b9a32"]]), YO = {
19971
+ const WO = /* @__PURE__ */ V(RO, [["render", GO], ["__scopeId", "data-v-415b9a32"]]), KO = {
19954
19972
  props: {
19955
19973
  modelValue: {
19956
19974
  type: Object
@@ -19978,7 +19996,7 @@ const KO = /* @__PURE__ */ V(BO, [["render", WO], ["__scopeId", "data-v-415b9a32
19978
19996
  methods: {
19979
19997
  async openModal() {
19980
19998
  const e = this, t = await e.$sdk.modal({
19981
- component: KO,
19999
+ component: WO,
19982
20000
  options: {
19983
20001
  definition: e.definition
19984
20002
  }
@@ -19986,10 +20004,10 @@ const KO = /* @__PURE__ */ V(BO, [["render", WO], ["__scopeId", "data-v-415b9a32
19986
20004
  t.length && e.addFields && e.addFields(t);
19987
20005
  }
19988
20006
  }
19989
- }, ZO = { key: 0 };
19990
- function JO(e, t, n, r, s, i) {
20007
+ }, YO = { key: 0 };
20008
+ function ZO(e, t, n, r, s, i) {
19991
20009
  const l = y("ux-icon"), a = y("ux-button");
19992
- return i.definition ? (o(), d("div", ZO, [
20010
+ return i.definition ? (o(), d("div", YO, [
19993
20011
  m(a, {
19994
20012
  color: "primary",
19995
20013
  onClick: i.openModal
@@ -20002,7 +20020,7 @@ function JO(e, t, n, r, s, i) {
20002
20020
  }, 8, ["onClick"])
20003
20021
  ])) : _("", !0);
20004
20022
  }
20005
- const XO = /* @__PURE__ */ V(YO, [["render", JO]]);
20023
+ const JO = /* @__PURE__ */ V(KO, [["render", ZO]]);
20006
20024
  function ar(e) {
20007
20025
  switch (String(e).toLowerCase()) {
20008
20026
  case "true":
@@ -20035,7 +20053,7 @@ function vn(e, t, n, r, s, i) {
20035
20053
  }
20036
20054
  return t;
20037
20055
  }
20038
- function QO(e, t) {
20056
+ function XO(e, t) {
20039
20057
  if (t)
20040
20058
  return t;
20041
20059
  function n(g) {
@@ -20127,45 +20145,45 @@ function be(e) {
20127
20145
  if (!n)
20128
20146
  return;
20129
20147
  let r = t.expressionsContext;
20130
- return Ot.evaluateExpression(n, r);
20148
+ return Vt.evaluateExpression(n, r);
20131
20149
  };
20132
20150
  }
20133
- const eV = {
20151
+ const QO = {
20134
20152
  components: {
20135
- InternalRouteSelect: AO,
20136
- InternalMenuSelect: RO,
20137
- InternalFieldCreator: XO,
20138
- ButtonSelect: Aw,
20139
- NativeSelect: Vt,
20153
+ InternalRouteSelect: EO,
20154
+ InternalMenuSelect: jO,
20155
+ InternalFieldCreator: JO,
20156
+ ButtonSelect: Ew,
20157
+ NativeSelect: pt,
20140
20158
  DateField: mo,
20141
- TimeField: lk,
20142
- DateRange: mk,
20159
+ TimeField: l0,
20160
+ DateRange: m0,
20143
20161
  TextField: fo,
20144
20162
  CurrencyField: co,
20145
20163
  TextArea: qb,
20146
- Checkbox: vk,
20164
+ Checkbox: v0,
20147
20165
  FilterInput: ux,
20148
20166
  FieldSelect: ll,
20149
- DateObjectInput: b0,
20150
- SliderInput: $x,
20151
- ColorInput: Hx,
20152
- CustomHtml: Tk,
20153
- BooleanSwitch: Zx,
20154
- FieldGroup: bw,
20167
+ DateObjectInput: bk,
20168
+ SliderInput: Fx,
20169
+ ColorInput: zx,
20170
+ CustomHtml: T0,
20171
+ BooleanSwitch: Yx,
20172
+ FieldGroup: vw,
20155
20173
  ContentSelect: oo,
20156
20174
  TypeSelect: G1,
20157
20175
  ScopeSelect: uo,
20158
20176
  FieldSelect: ll,
20159
20177
  TimezoneSelect: Iv,
20160
20178
  PhoneNumberInput: xv,
20161
- Upload: ow,
20162
- ObjectField: Pw,
20163
- ModelField: Ww,
20164
- OptionsManager: fS,
20165
- CodeEditorField: OS,
20166
- ExpressionField: $S,
20167
- RichTextField: WS,
20168
- PaymentField: gO
20179
+ Upload: aw,
20180
+ ObjectField: Lw,
20181
+ ModelField: Gw,
20182
+ OptionsManager: cS,
20183
+ CodeEditorField: TS,
20184
+ ExpressionField: FS,
20185
+ RichTextField: GS,
20186
+ PaymentField: _O
20169
20187
  },
20170
20188
  props: {
20171
20189
  trail: {
@@ -20251,7 +20269,7 @@ const eV = {
20251
20269
  var e = this.expressions && this.expressions.value ? this.getExpressionValue : void 0;
20252
20270
  if (e)
20253
20271
  return e;
20254
- var t = this.expressions && this.expressions.defaultValue ? this.getExpressionDefaultValue : void 0, n = QO(this.actualField), r = this.cleanInput(t || n);
20272
+ var t = this.expressions && this.expressions.defaultValue ? this.getExpressionDefaultValue : void 0, n = XO(this.actualField), r = this.cleanInput(t || n);
20255
20273
  return !r && this.widget === "timezone" && (r = Intl.DateTimeFormat().resolvedOptions().timeZone), r;
20256
20274
  },
20257
20275
  checkDirtyState() {
@@ -20388,7 +20406,7 @@ const eV = {
20388
20406
  if (!this.expressions)
20389
20407
  return;
20390
20408
  let e = this.expressions.show, t = this.expressions.hide, n = this.expressionsContext, r;
20391
- return e ? r = !Ot.evaluateExpression(e, n) : t && (r = Ot.evaluateExpression(t, n)), r;
20409
+ return e ? r = !Vt.evaluateExpression(e, n) : t && (r = Vt.evaluateExpression(t, n)), r;
20392
20410
  },
20393
20411
  getExpressionTitle: be("title"),
20394
20412
  getExpressionDescription: be("description"),
@@ -20556,12 +20574,12 @@ const eV = {
20556
20574
  return e;
20557
20575
  }
20558
20576
  }
20559
- }, tV = {
20577
+ }, eV = {
20560
20578
  key: 36,
20561
20579
  class: "ux-field-message"
20562
20580
  };
20563
- function nV(e, t, n, r, s, i) {
20564
- const l = y("internal-route-select"), a = y("internal-menu-select"), u = y("internal-field-creator"), f = y("custom-html"), c = y("slider-input"), p = y("color-input"), g = y("filter-input"), b = y("date-object-input"), w = y("checkbox"), C = y("boolean-switch"), U = y("upload"), z = y("field-group"), D = y("field-select"), ee = y("native-select"), ie = y("button-select"), oe = y("text-field"), q = y("currency-field"), $ = y("time-field"), le = y("date-field"), G = y("date-range"), Me = y("content-select"), ke = y("type-select"), xe = y("scope-select"), Te = y("rich-text-field"), Oe = y("text-area"), Ne = y("timezone-select"), Ve = y("phone-number-input"), yt = y("object-field"), it = y("model-field"), Rt = y("payment-field"), _t = y("options-manager"), rt = y("code-editor-field"), Ct = y("flex-column"), Ce = y("expression-field");
20581
+ function tV(e, t, n, r, s, i) {
20582
+ const l = y("internal-route-select"), a = y("internal-menu-select"), u = y("internal-field-creator"), f = y("custom-html"), c = y("slider-input"), p = y("color-input"), g = y("filter-input"), b = y("date-object-input"), w = y("checkbox"), C = y("boolean-switch"), U = y("upload"), z = y("field-group"), D = y("field-select"), ee = y("native-select"), ie = y("button-select"), oe = y("text-field"), q = y("currency-field"), $ = y("time-field"), le = y("date-field"), G = y("date-range"), Me = y("content-select"), ke = y("type-select"), xe = y("scope-select"), Te = y("rich-text-field"), Oe = y("text-area"), Ne = y("timezone-select"), Ve = y("phone-number-input"), _t = y("object-field"), it = y("model-field"), Rt = y("payment-field"), gt = y("options-manager"), rt = y("code-editor-field"), Ct = y("flex-column"), Ce = y("expression-field");
20565
20583
  return i.visible ? (o(), d("div", {
20566
20584
  key: 0,
20567
20585
  class: N(["ux-field", i.classes]),
@@ -20800,7 +20818,7 @@ function nV(e, t, n, r, s, i) {
20800
20818
  "onUpdate:modelValue": t[28] || (t[28] = (O) => i.fieldModel = O)
20801
20819
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
20802
20820
  i.widget == "value" ? (o(), d(S, { key: 29 }, [], 64)) : _("", !0),
20803
- i.widget == "object" ? (o(), k(yt, {
20821
+ i.widget == "object" ? (o(), k(_t, {
20804
20822
  key: 30,
20805
20823
  onTouched: i.touch,
20806
20824
  field: i.actualField,
@@ -20825,7 +20843,7 @@ function nV(e, t, n, r, s, i) {
20825
20843
  modelValue: i.fieldModel,
20826
20844
  "onUpdate:modelValue": t[31] || (t[31] = (O) => i.fieldModel = O)
20827
20845
  }, null, 8, ["sandbox", "configuration", "onForm:state", "field", "onTouched", "parentModel", "modelValue"])) : _("", !0),
20828
- i.widget == "options" ? (o(), k(_t, {
20846
+ i.widget == "options" ? (o(), k(gt, {
20829
20847
  key: 33,
20830
20848
  onTouched: i.touch,
20831
20849
  field: i.actualField,
@@ -20853,23 +20871,23 @@ function nV(e, t, n, r, s, i) {
20853
20871
  modelValue: i.fieldModel,
20854
20872
  "onUpdate:modelValue": t[34] || (t[34] = (O) => i.fieldModel = O)
20855
20873
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
20856
- i.error && s.validateResults.message ? (o(), d("div", tV, v(s.validateResults.message), 1)) : _("", !0)
20874
+ i.error && s.validateResults.message ? (o(), d("div", eV, v(s.validateResults.message), 1)) : _("", !0)
20857
20875
  ], 34)) : _("", !0);
20858
20876
  }
20859
- const Yr = /* @__PURE__ */ V(eV, [["render", nV], ["__scopeId", "data-v-e039f66e"]]);
20860
- function iV(e, t, n, r) {
20877
+ const Yr = /* @__PURE__ */ V(QO, [["render", tV], ["__scopeId", "data-v-e039f66e"]]);
20878
+ function nV(e, t, n, r) {
20861
20879
  var s = -1, i = e == null ? 0 : e.length;
20862
20880
  for (r && i && (n = e[++s]); ++s < i; )
20863
20881
  n = t(n, e[s], s, e);
20864
20882
  return n;
20865
20883
  }
20866
- var rV = iV;
20867
- function sV(e) {
20884
+ var iV = nV;
20885
+ function rV(e) {
20868
20886
  return function(t) {
20869
20887
  return e == null ? void 0 : e[t];
20870
20888
  };
20871
20889
  }
20872
- var lV = sV, aV = lV, oV = {
20890
+ var sV = rV, lV = sV, aV = {
20873
20891
  // Latin-1 Supplement block.
20874
20892
  À: "A",
20875
20893
  Á: "A",
@@ -21062,45 +21080,45 @@ var lV = sV, aV = lV, oV = {
21062
21080
  œ: "oe",
21063
21081
  ʼn: "'n",
21064
21082
  ſ: "s"
21065
- }, uV = aV(oV), dV = uV, cV = dV, fV = Br, mV = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, hV = "\\u0300-\\u036f", pV = "\\ufe20-\\ufe2f", yV = "\\u20d0-\\u20ff", _V = hV + pV + yV, gV = "[" + _V + "]", vV = RegExp(gV, "g");
21066
- function bV(e) {
21067
- return e = fV(e), e && e.replace(mV, cV).replace(vV, "");
21083
+ }, oV = lV(aV), uV = oV, dV = uV, cV = Br, fV = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, mV = "\\u0300-\\u036f", hV = "\\ufe20-\\ufe2f", pV = "\\u20d0-\\u20ff", yV = mV + hV + pV, _V = "[" + yV + "]", gV = RegExp(_V, "g");
21084
+ function vV(e) {
21085
+ return e = cV(e), e && e.replace(fV, dV).replace(gV, "");
21068
21086
  }
21069
- var kV = bV, xV = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
21070
- function wV(e) {
21071
- return e.match(xV) || [];
21087
+ var bV = vV, kV = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
21088
+ function xV(e) {
21089
+ return e.match(kV) || [];
21072
21090
  }
21073
- var SV = wV, TV = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
21074
- function OV(e) {
21075
- return TV.test(e);
21091
+ var wV = xV, SV = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
21092
+ function TV(e) {
21093
+ return SV.test(e);
21076
21094
  }
21077
- var VV = OV, ko = "\\ud800-\\udfff", CV = "\\u0300-\\u036f", EV = "\\ufe20-\\ufe2f", AV = "\\u20d0-\\u20ff", MV = CV + EV + AV, xo = "\\u2700-\\u27bf", wo = "a-z\\xdf-\\xf6\\xf8-\\xff", DV = "\\xac\\xb1\\xd7\\xf7", IV = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", FV = "\\u2000-\\u206f", $V = " \\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", So = "A-Z\\xc0-\\xd6\\xd8-\\xde", NV = "\\ufe0e\\ufe0f", To = DV + IV + FV + $V, Oo = "['’]", hl = "[" + To + "]", LV = "[" + MV + "]", Vo = "\\d+", PV = "[" + xo + "]", Co = "[" + wo + "]", Eo = "[^" + ko + To + Vo + xo + wo + So + "]", UV = "\\ud83c[\\udffb-\\udfff]", jV = "(?:" + LV + "|" + UV + ")", RV = "[^" + ko + "]", Ao = "(?:\\ud83c[\\udde6-\\uddff]){2}", Mo = "[\\ud800-\\udbff][\\udc00-\\udfff]", Yt = "[" + So + "]", BV = "\\u200d", pl = "(?:" + Co + "|" + Eo + ")", zV = "(?:" + Yt + "|" + Eo + ")", yl = "(?:" + Oo + "(?:d|ll|m|re|s|t|ve))?", _l = "(?:" + Oo + "(?:D|LL|M|RE|S|T|VE))?", Do = jV + "?", Io = "[" + NV + "]?", HV = "(?:" + BV + "(?:" + [RV, Ao, Mo].join("|") + ")" + Io + Do + ")*", qV = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", GV = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", WV = Io + Do + HV, KV = "(?:" + [PV, Ao, Mo].join("|") + ")" + WV, YV = RegExp([
21095
+ var OV = TV, ko = "\\ud800-\\udfff", VV = "\\u0300-\\u036f", CV = "\\ufe20-\\ufe2f", EV = "\\u20d0-\\u20ff", AV = VV + CV + EV, xo = "\\u2700-\\u27bf", wo = "a-z\\xdf-\\xf6\\xf8-\\xff", MV = "\\xac\\xb1\\xd7\\xf7", DV = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", IV = "\\u2000-\\u206f", FV = " \\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", So = "A-Z\\xc0-\\xd6\\xd8-\\xde", $V = "\\ufe0e\\ufe0f", To = MV + DV + IV + FV, Oo = "['’]", hl = "[" + To + "]", NV = "[" + AV + "]", Vo = "\\d+", LV = "[" + xo + "]", Co = "[" + wo + "]", Eo = "[^" + ko + To + Vo + xo + wo + So + "]", PV = "\\ud83c[\\udffb-\\udfff]", UV = "(?:" + NV + "|" + PV + ")", jV = "[^" + ko + "]", Ao = "(?:\\ud83c[\\udde6-\\uddff]){2}", Mo = "[\\ud800-\\udbff][\\udc00-\\udfff]", Yt = "[" + So + "]", RV = "\\u200d", pl = "(?:" + Co + "|" + Eo + ")", BV = "(?:" + Yt + "|" + Eo + ")", yl = "(?:" + Oo + "(?:d|ll|m|re|s|t|ve))?", _l = "(?:" + Oo + "(?:D|LL|M|RE|S|T|VE))?", Do = UV + "?", Io = "[" + $V + "]?", zV = "(?:" + RV + "(?:" + [jV, Ao, Mo].join("|") + ")" + Io + Do + ")*", HV = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", qV = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", GV = Io + Do + zV, WV = "(?:" + [LV, Ao, Mo].join("|") + ")" + GV, KV = RegExp([
21078
21096
  Yt + "?" + Co + "+" + yl + "(?=" + [hl, Yt, "$"].join("|") + ")",
21079
- zV + "+" + _l + "(?=" + [hl, Yt + pl, "$"].join("|") + ")",
21097
+ BV + "+" + _l + "(?=" + [hl, Yt + pl, "$"].join("|") + ")",
21080
21098
  Yt + "?" + pl + "+" + yl,
21081
21099
  Yt + "+" + _l,
21082
- GV,
21083
21100
  qV,
21101
+ HV,
21084
21102
  Vo,
21085
- KV
21103
+ WV
21086
21104
  ].join("|"), "g");
21087
- function ZV(e) {
21088
- return e.match(YV) || [];
21105
+ function YV(e) {
21106
+ return e.match(KV) || [];
21089
21107
  }
21090
- var JV = ZV, XV = SV, QV = VV, eC = Br, tC = JV;
21091
- function nC(e, t, n) {
21092
- return e = eC(e), t = n ? void 0 : t, t === void 0 ? QV(e) ? tC(e) : XV(e) : e.match(t) || [];
21108
+ var ZV = YV, JV = wV, XV = OV, QV = Br, eC = ZV;
21109
+ function tC(e, t, n) {
21110
+ return e = QV(e), t = n ? void 0 : t, t === void 0 ? XV(e) ? eC(e) : JV(e) : e.match(t) || [];
21093
21111
  }
21094
- var iC = nC, rC = rV, sC = kV, lC = iC, aC = "['’]", oC = RegExp(aC, "g");
21095
- function uC(e) {
21112
+ var nC = tC, iC = iV, rC = bV, sC = nC, lC = "['’]", aC = RegExp(lC, "g");
21113
+ function oC(e) {
21096
21114
  return function(t) {
21097
- return rC(lC(sC(t).replace(oC, "")), e, "");
21115
+ return iC(sC(rC(t).replace(aC, "")), e, "");
21098
21116
  };
21099
21117
  }
21100
- var dC = uC, cC = dC, fC = cC(function(e, t, n) {
21118
+ var uC = oC, dC = uC, cC = dC(function(e, t, n) {
21101
21119
  return e + (n ? "-" : "") + t.toLowerCase();
21102
- }), mC = fC;
21103
- const hC = {
21120
+ }), fC = cC;
21121
+ const mC = {
21104
21122
  props: {
21105
21123
  parentModel: {
21106
21124
  type: Object
@@ -21184,7 +21202,7 @@ const hC = {
21184
21202
  },
21185
21203
  methods: {
21186
21204
  getFieldKey(e) {
21187
- let t = mC(`${e.title}-${e.key}`);
21205
+ let t = fC(`${e.title}-${e.key}`);
21188
21206
  return e.incrementor && (t = `${t}-${e.incrementor}`), t;
21189
21207
  },
21190
21208
  touch() {
@@ -21292,7 +21310,7 @@ const hC = {
21292
21310
  }
21293
21311
  }
21294
21312
  };
21295
- function pC(e, t, n, r, s, i) {
21313
+ function hC(e, t, n, r, s, i) {
21296
21314
  const l = y("ux-field");
21297
21315
  return o(), d("div", {
21298
21316
  class: N(["ux-form", i.formClass])
@@ -21329,8 +21347,8 @@ function pC(e, t, n, r, s, i) {
21329
21347
  ], !0)
21330
21348
  ], 2);
21331
21349
  }
21332
- const Fo = /* @__PURE__ */ V(hC, [["render", pC], ["__scopeId", "data-v-5a0fe930"]]);
21333
- const or = "form.ready", yC = "form.processing", gl = "form.complete", vl = "form.error", _C = "form.intent", gC = {
21350
+ const Fo = /* @__PURE__ */ V(mC, [["render", hC], ["__scopeId", "data-v-5a0fe930"]]);
21351
+ const or = "form.ready", pC = "form.processing", gl = "form.complete", vl = "form.error", yC = "form.intent", _C = {
21334
21352
  methods: {
21335
21353
  formStateUpdated(e) {
21336
21354
  this.formState = e;
@@ -21373,7 +21391,7 @@ const or = "form.ready", yC = "form.processing", gl = "form.complete", vl = "for
21373
21391
  console.log("Form is invalid", this.formState);
21374
21392
  return;
21375
21393
  }
21376
- e.processing = !0, e.state = yC, e.$emit("processing");
21394
+ e.processing = !0, e.state = pC, e.$emit("processing");
21377
21395
  const { submission: t, error: n } = await e.preSubmit(e.model);
21378
21396
  if (n)
21379
21397
  return console.log("pre submit error", n), a(n);
@@ -21398,7 +21416,7 @@ const or = "form.ready", yC = "form.processing", gl = "form.complete", vl = "for
21398
21416
  await e.$sdk.utils.loadExternalScript("https://js.stripe.com/v3/");
21399
21417
  break;
21400
21418
  }
21401
- e.state = _C, e.processing = !1, e.$emit("intent", u);
21419
+ e.state = yC, e.processing = !1, e.$emit("intent", u);
21402
21420
  }
21403
21421
  async function l(u) {
21404
21422
  await e.postSubmit(u), e.processing = !1, e.state = gl, e.$emit("success", u);
@@ -21577,21 +21595,21 @@ const or = "form.ready", yC = "form.processing", gl = "form.complete", vl = "for
21577
21595
  return this.form.fields || [];
21578
21596
  }
21579
21597
  }
21580
- }, vC = (e) => (Ye("data-v-9cdffe7f"), e = e(), Ze(), e), bC = /* @__PURE__ */ vC(() => /* @__PURE__ */ x("h3", null, "An error occurred", -1)), kC = { key: 0 }, xC = { key: 1 }, wC = { key: 2 }, SC = { class: "intent-submit" }, TC = ["tooltip"];
21581
- function OC(e, t, n, r, s, i) {
21598
+ }, gC = (e) => (Ye("data-v-9cdffe7f"), e = e(), Ze(), e), vC = /* @__PURE__ */ gC(() => /* @__PURE__ */ x("h3", null, "An error occurred", -1)), bC = { key: 0 }, kC = { key: 1 }, xC = { key: 2 }, wC = { class: "intent-submit" }, SC = ["tooltip"];
21599
+ function TC(e, t, n, r, s, i) {
21582
21600
  var b;
21583
21601
  const l = y("ux-icon"), a = y("ux-button"), u = y("ux-panel-body"), f = y("ux-panel"), c = y("StripeElement"), p = y("StripeElements"), g = y("ux-form");
21584
21602
  return o(), d("div", {
21585
21603
  class: N(["ux-submission-form", i.classes])
21586
21604
  }, [
21587
21605
  s.state === "form.error" ? (o(), d(S, { key: 0 }, [
21588
- bC,
21589
- s.error.message ? (o(), d("pre", kC, v(s.error.message), 1)) : _("", !0),
21590
- (b = s.error.data) != null && b.errors ? (o(), d("div", xC, [
21606
+ vC,
21607
+ s.error.message ? (o(), d("pre", bC, v(s.error.message), 1)) : _("", !0),
21608
+ (b = s.error.data) != null && b.errors ? (o(), d("div", kC, [
21591
21609
  (o(!0), d(S, null, F(s.error.data.errors, (w) => (o(), d("pre", {
21592
21610
  key: w.path
21593
21611
  }, v(w.message), 1))), 128))
21594
- ])) : (o(), d("pre", wC, v(s.error), 1)),
21612
+ ])) : (o(), d("pre", xC, v(s.error), 1)),
21595
21613
  m(a, {
21596
21614
  color: "primary",
21597
21615
  onClick: i.softReset
@@ -21645,7 +21663,7 @@ function OC(e, t, n, r, s, i) {
21645
21663
  ]),
21646
21664
  _: 1
21647
21665
  }, 8, ["stripe-key", "instance-options", "elements-options"])) : _("", !0),
21648
- x("div", SC, [
21666
+ x("div", wC, [
21649
21667
  m(a, {
21650
21668
  color: "primary",
21651
21669
  onClick: i.confirmIntention
@@ -21680,12 +21698,12 @@ function OC(e, t, n, r, s, i) {
21680
21698
  ]),
21681
21699
  _: 1
21682
21700
  }, 8, ["disabled", "onClick", "loading"])
21683
- ], 8, TC)
21701
+ ], 8, SC)
21684
21702
  ], 64))
21685
21703
  ], 2);
21686
21704
  }
21687
- const bl = /* @__PURE__ */ V(gC, [["render", OC], ["__scopeId", "data-v-9cdffe7f"]]);
21688
- const VC = {
21705
+ const bl = /* @__PURE__ */ V(_C, [["render", TC], ["__scopeId", "data-v-9cdffe7f"]]);
21706
+ const OC = {
21689
21707
  props: {
21690
21708
  autofocus: {
21691
21709
  type: Boolean
@@ -21753,15 +21771,15 @@ const VC = {
21753
21771
  }
21754
21772
  }
21755
21773
  }
21756
- }, CC = { class: "search" }, EC = ["placeholder"];
21757
- function AC(e, t, n, r, s, i) {
21774
+ }, VC = { class: "search" }, CC = ["placeholder"];
21775
+ function EC(e, t, n, r, s, i) {
21758
21776
  const l = y("ux-icon");
21759
- return o(), d("div", CC, [
21777
+ return o(), d("div", VC, [
21760
21778
  K(x("input", {
21761
21779
  ref: "input",
21762
21780
  "onUpdate:modelValue": t[0] || (t[0] = (a) => i.model = a),
21763
21781
  placeholder: n.placeholder
21764
- }, null, 8, EC), [
21782
+ }, null, 8, CC), [
21765
21783
  [se, i.model]
21766
21784
  ]),
21767
21785
  x("div", {
@@ -21772,8 +21790,8 @@ function AC(e, t, n, r, s, i) {
21772
21790
  ])
21773
21791
  ]);
21774
21792
  }
21775
- const Zr = /* @__PURE__ */ V(VC, [["render", AC], ["__scopeId", "data-v-d4e9271a"]]);
21776
- function MC(e) {
21793
+ const Zr = /* @__PURE__ */ V(OC, [["render", EC], ["__scopeId", "data-v-d4e9271a"]]);
21794
+ function AC(e) {
21777
21795
  const t = /<\/?([a-zA-Z0-9]+)[^>]*>/g, n = [];
21778
21796
  let r;
21779
21797
  for (; (r = t.exec(e)) !== null; ) {
@@ -21812,7 +21830,7 @@ const $o = {
21812
21830
  actualTemplate() {
21813
21831
  let e = this.template || "";
21814
21832
  e = e.replaceAll ? e.replaceAll("<br>", "<br/>") : e;
21815
- var { valid: t, invalid: n } = MC(e);
21833
+ var { valid: t, invalid: n } = AC(e);
21816
21834
  return t || (console.log("Invalid html", e), e = `<div>Invalid HTML. <pre>${n}</pre></div>`), e;
21817
21835
  }
21818
21836
  },
@@ -21820,7 +21838,7 @@ const $o = {
21820
21838
  VRuntimeTemplate: Ia
21821
21839
  }
21822
21840
  };
21823
- const DC = {
21841
+ const MC = {
21824
21842
  data() {
21825
21843
  return {
21826
21844
  error: null
@@ -21834,14 +21852,14 @@ const DC = {
21834
21852
  this.$emit("reset");
21835
21853
  }
21836
21854
  }
21837
- }, IC = {
21855
+ }, DC = {
21838
21856
  key: 0,
21839
21857
  class: "error-boundary",
21840
21858
  style: { color: "#b40000", border: "2px solid #fd0000", background: "#ffd6d6", padding: "1em" }
21841
21859
  };
21842
- function FC(e, t, n, r, s, i) {
21860
+ function IC(e, t, n, r, s, i) {
21843
21861
  const l = y("ux-button");
21844
- return s.error ? (o(), d("div", IC, [
21862
+ return s.error ? (o(), d("div", DC, [
21845
21863
  x("pre", null, "COMPILE ERROR: " + v(s.error), 1),
21846
21864
  m(l, { onClick: i.reset }, {
21847
21865
  default: h(() => [
@@ -21851,7 +21869,7 @@ function FC(e, t, n, r, s, i) {
21851
21869
  }, 8, ["onClick"])
21852
21870
  ])) : H(e.$slots, "default", { key: 1 }, void 0, !0);
21853
21871
  }
21854
- const $C = /* @__PURE__ */ V(DC, [["render", FC], ["__scopeId", "data-v-72d1a309"]]), NC = {
21872
+ const FC = /* @__PURE__ */ V(MC, [["render", IC], ["__scopeId", "data-v-72d1a309"]]), $C = {
21855
21873
  props: {
21856
21874
  field: {
21857
21875
  type: Object,
@@ -21932,8 +21950,8 @@ const $C = /* @__PURE__ */ V(DC, [["render", FC], ["__scopeId", "data-v-72d1a309
21932
21950
  }
21933
21951
  }
21934
21952
  };
21935
- const LC = {
21936
- mixins: [NC],
21953
+ const NC = {
21954
+ mixins: [$C],
21937
21955
  props: {
21938
21956
  modelValue: {
21939
21957
  type: [Object, Array]
@@ -21953,13 +21971,13 @@ const LC = {
21953
21971
  return `${this.label} ${t + 1}`;
21954
21972
  }
21955
21973
  }
21956
- }, PC = {
21974
+ }, LC = {
21957
21975
  key: 0,
21958
21976
  class: "ux-multi-group"
21959
21977
  };
21960
- function UC(e, t, n, r, s, i) {
21978
+ function PC(e, t, n, r, s, i) {
21961
21979
  const l = y("flex-cell"), a = y("flex-row"), u = y("ux-panel-header"), f = y("ux-render"), c = y("ux-panel-body"), p = y("ux-panel");
21962
- return e.multiValue ? (o(), d("div", PC, [
21980
+ return e.multiValue ? (o(), d("div", LC, [
21963
21981
  (o(!0), d(S, null, F(e.model, (g, b) => (o(), k(p, {
21964
21982
  ref_for: !0,
21965
21983
  ref: "row",
@@ -22010,14 +22028,14 @@ function UC(e, t, n, r, s, i) {
22010
22028
  "onUpdate:modelValue": t[0] || (t[0] = (g) => e.model = g)
22011
22029
  }, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue"]));
22012
22030
  }
22013
- const jC = /* @__PURE__ */ V(LC, [["render", UC], ["__scopeId", "data-v-cb997d0e"]]);
22014
- const RC = {
22031
+ const UC = /* @__PURE__ */ V(NC, [["render", PC], ["__scopeId", "data-v-cb997d0e"]]);
22032
+ const jC = {
22015
22033
  components: {
22016
22034
  Item: ja,
22017
- FieldGroup: jC,
22035
+ FieldGroup: UC,
22018
22036
  // Compiler,
22019
22037
  Compile: $o,
22020
- ErrorBoundary: $C
22038
+ ErrorBoundary: FC
22021
22039
  // ButtonSelect,
22022
22040
  // NativeSelect,
22023
22041
  // DateField,
@@ -22124,9 +22142,9 @@ const RC = {
22124
22142
  return;
22125
22143
  let e = this.expressions.show, t = this.expressions.hide, n = this.expressionsContext;
22126
22144
  if (e)
22127
- return !Ot.evaluateExpression(e, n);
22145
+ return !Vt.evaluateExpression(e, n);
22128
22146
  if (t)
22129
- return Ot.evaluateExpression(t, n);
22147
+ return Vt.evaluateExpression(t, n);
22130
22148
  },
22131
22149
  expressions() {
22132
22150
  return this.field.expressions;
@@ -22226,17 +22244,17 @@ const RC = {
22226
22244
  return e;
22227
22245
  }
22228
22246
  }
22229
- }, BC = { class: "ux-field-title" }, zC = { class: "currency" }, HC = { key: 1 }, qC = { class: "currency" }, GC = { key: 1 }, WC = {
22247
+ }, RC = { class: "ux-field-title" }, BC = { class: "currency" }, zC = { key: 1 }, HC = { class: "currency" }, qC = { key: 1 }, GC = {
22230
22248
  key: 4,
22231
22249
  class: "ux-password-render"
22232
- }, KC = ["type", "value"], YC = ["type", "value"], ZC = ["innerHTML"], JC = ["innerHTML"], XC = { key: 1 }, QC = { key: 1 }, eE = ["href"], tE = { key: 1 }, nE = ["href"], iE = ["href"], rE = { key: 1 }, sE = ["href"], lE = { key: 1 };
22233
- function aE(e, t, n, r, s, i) {
22250
+ }, WC = ["type", "value"], KC = ["type", "value"], YC = ["innerHTML"], ZC = ["innerHTML"], JC = { key: 1 }, XC = { key: 1 }, QC = ["href"], eE = { key: 1 }, tE = ["href"], nE = ["href"], iE = { key: 1 }, rE = ["href"], sE = { key: 1 };
22251
+ function lE(e, t, n, r, s, i) {
22234
22252
  const l = y("field-group"), a = y("v-ace-editor"), u = y("flex-cell"), f = y("ux-icon"), c = y("ux-button"), p = y("flex-row"), g = y("item"), b = y("error-boundary");
22235
22253
  return i.visible ? (o(), d("div", {
22236
22254
  key: 0,
22237
22255
  class: N(["ux-field-render", i.classes])
22238
22256
  }, [
22239
- x("label", BC, v(i.title), 1),
22257
+ x("label", RC, v(i.title), 1),
22240
22258
  i.widget === "group" ? (o(), d(S, { key: 0 }, [
22241
22259
  i.asObject ? (o(), k(l, {
22242
22260
  key: 0,
@@ -22263,10 +22281,10 @@ function aE(e, t, n, r, s, i) {
22263
22281
  }, null, 8, ["submission", "field", "parentModel", "modelValue"])) : i.widget === "currency" ? (o(), d(S, { key: 2 }, [
22264
22282
  i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, [
22265
22283
  T(v(i.formatCurrency(w)) + " ", 1),
22266
- x("span", zC, v(n.field.currency), 1)
22267
- ]))), 256)) : (o(), d("div", HC, [
22284
+ x("span", BC, v(n.field.currency), 1)
22285
+ ]))), 256)) : (o(), d("div", zC, [
22268
22286
  T(v(i.formatCurrency(i.fieldModel)) + " ", 1),
22269
- x("span", qC, v(n.field.currency), 1)
22287
+ x("span", HC, v(n.field.currency), 1)
22270
22288
  ]))
22271
22289
  ], 64)) : i.widget === "code" ? (o(), d(S, { key: 3 }, [
22272
22290
  i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, [
@@ -22279,7 +22297,7 @@ function aE(e, t, n, r, s, i) {
22279
22297
  theme: "tomorrow_night_eighties",
22280
22298
  style: { "min-height": "300px" }
22281
22299
  }, null, 8, ["value", "lang"])
22282
- ]))), 256)) : (o(), d("div", GC, [
22300
+ ]))), 256)) : (o(), d("div", qC, [
22283
22301
  m(a, {
22284
22302
  readonly: !0,
22285
22303
  class: "editor-wrap",
@@ -22290,7 +22308,7 @@ function aE(e, t, n, r, s, i) {
22290
22308
  style: { "min-height": "300px" }
22291
22309
  }, null, 8, ["value", "lang"])
22292
22310
  ]))
22293
- ], 64)) : i.widget === "password" ? (o(), d("div", WC, [
22311
+ ], 64)) : i.widget === "password" ? (o(), d("div", GC, [
22294
22312
  i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), k(p, {
22295
22313
  gap: "",
22296
22314
  center: ""
@@ -22301,7 +22319,7 @@ function aE(e, t, n, r, s, i) {
22301
22319
  x("input", {
22302
22320
  type: s.unmaskedLookup[`${C}`] ? "text" : "password",
22303
22321
  value: w
22304
- }, null, 8, KC)
22322
+ }, null, 8, WC)
22305
22323
  ]),
22306
22324
  _: 2
22307
22325
  }, 1024),
@@ -22334,7 +22352,7 @@ function aE(e, t, n, r, s, i) {
22334
22352
  x("input", {
22335
22353
  type: s.unmasked ? "text" : "password",
22336
22354
  value: i.fieldModel
22337
- }, null, 8, YC)
22355
+ }, null, 8, KC)
22338
22356
  ]),
22339
22357
  _: 1
22340
22358
  }),
@@ -22401,49 +22419,49 @@ function aE(e, t, n, r, s, i) {
22401
22419
  i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, [
22402
22420
  m(b, null, {
22403
22421
  default: h(() => [
22404
- x("div", { innerHTML: w }, null, 8, ZC)
22422
+ x("div", { innerHTML: w }, null, 8, YC)
22405
22423
  ]),
22406
22424
  _: 2
22407
22425
  }, 1024)
22408
22426
  ]))), 256)) : (o(), k(b, { key: 1 }, {
22409
22427
  default: h(() => [
22410
- x("div", { innerHTML: i.fieldModel }, null, 8, JC)
22428
+ x("div", { innerHTML: i.fieldModel }, null, 8, ZC)
22411
22429
  ]),
22412
22430
  _: 1
22413
22431
  }))
22414
22432
  ], 64)) : _("", !0),
22415
22433
  i.type == "boolean" ? (o(), d(S, { key: 2 }, [
22416
- i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, v(!!w), 1))), 256)) : (o(), d("div", XC, v(!!i.fieldModel), 1))
22434
+ i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, v(!!w), 1))), 256)) : (o(), d("div", JC, v(!!i.fieldModel), 1))
22417
22435
  ], 64)) : _("", !0),
22418
22436
  i.type == "date" ? (o(), d(S, { key: 3 }, [
22419
- i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, v(i.renderDate(w)), 1))), 256)) : (o(), d("div", QC, v(i.renderDate(i.fieldModel)), 1))
22437
+ i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, v(i.renderDate(w)), 1))), 256)) : (o(), d("div", XC, v(i.renderDate(i.fieldModel)), 1))
22420
22438
  ], 64)) : _("", !0),
22421
22439
  i.type == "email" ? (o(), d(S, { key: 4 }, [
22422
22440
  i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, [
22423
22441
  x("a", {
22424
22442
  href: `mailto:${w}`
22425
- }, v(w), 9, eE)
22426
- ]))), 256)) : (o(), d("div", tE, [
22443
+ }, v(w), 9, QC)
22444
+ ]))), 256)) : (o(), d("div", eE, [
22427
22445
  x("a", {
22428
22446
  href: `mailto:${i.fieldModel}`
22429
- }, v(i.fieldModel), 9, nE)
22447
+ }, v(i.fieldModel), 9, tE)
22430
22448
  ]))
22431
22449
  ], 64)) : _("", !0),
22432
22450
  i.type == "url" ? (o(), d(S, { key: 5 }, [
22433
22451
  i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, [
22434
- x("a", { href: w }, v(w), 9, iE)
22435
- ]))), 256)) : (o(), d("div", rE, [
22436
- x("a", { href: i.fieldModel }, v(i.fieldModel), 9, sE)
22452
+ x("a", { href: w }, v(w), 9, nE)
22453
+ ]))), 256)) : (o(), d("div", iE, [
22454
+ x("a", { href: i.fieldModel }, v(i.fieldModel), 9, rE)
22437
22455
  ]))
22438
22456
  ], 64)) : _("", !0),
22439
22457
  i.isNumber ? (o(), d(S, { key: 6 }, [
22440
- i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, v(w), 1))), 256)) : (o(), d("div", lE, v(i.fieldModel), 1))
22458
+ i.multiValue ? (o(!0), d(S, { key: 0 }, F(i.fieldModel, (w, C) => (o(), d("div", null, v(w), 1))), 256)) : (o(), d("div", sE, v(i.fieldModel), 1))
22441
22459
  ], 64)) : _("", !0)
22442
22460
  ], 64))
22443
22461
  ], 2)) : _("", !0);
22444
22462
  }
22445
- const No = /* @__PURE__ */ V(RC, [["render", aE], ["__scopeId", "data-v-d9878666"]]);
22446
- const oE = {
22463
+ const No = /* @__PURE__ */ V(jC, [["render", lE], ["__scopeId", "data-v-d9878666"]]);
22464
+ const aE = {
22447
22465
  props: {
22448
22466
  parentModel: {
22449
22467
  type: Object
@@ -22496,7 +22514,7 @@ const oE = {
22496
22514
  }
22497
22515
  }
22498
22516
  };
22499
- function uE(e, t, n, r, s, i) {
22517
+ function oE(e, t, n, r, s, i) {
22500
22518
  const l = y("ux-field-render");
22501
22519
  return o(), d("div", {
22502
22520
  class: N(["ux-render", i.renderClass])
@@ -22514,8 +22532,8 @@ function uE(e, t, n, r, s, i) {
22514
22532
  ], !0)
22515
22533
  ], 2);
22516
22534
  }
22517
- const dE = /* @__PURE__ */ V(oE, [["render", uE], ["__scopeId", "data-v-f2b5ec33"]]);
22518
- function cE(e) {
22535
+ const uE = /* @__PURE__ */ V(aE, [["render", oE], ["__scopeId", "data-v-f2b5ec33"]]);
22536
+ function dE(e) {
22519
22537
  e = e || {}, Math.max(parseInt(e.minimum || 0), 0);
22520
22538
  let t = Math.max(parseInt(e.maximum || 0), 0);
22521
22539
  const n = Yo({}), r = Ti([]);
@@ -22568,7 +22586,7 @@ function cE(e) {
22568
22586
  }
22569
22587
  }), n;
22570
22588
  }
22571
- const fE = {
22589
+ const cE = {
22572
22590
  props: {
22573
22591
  total: {
22574
22592
  type: Number,
@@ -22593,7 +22611,7 @@ const fE = {
22593
22611
  }
22594
22612
  },
22595
22613
  components: {
22596
- NativeSelect: Vt
22614
+ NativeSelect: pt
22597
22615
  },
22598
22616
  watch: {
22599
22617
  totalPages() {
@@ -22668,7 +22686,7 @@ const fE = {
22668
22686
  };
22669
22687
  }
22670
22688
  };
22671
- function mE(e, t, n, r, s, i) {
22689
+ function fE(e, t, n, r, s, i) {
22672
22690
  const l = y("native-select"), a = y("flex-cell"), u = y("ux-icon"), f = y("ux-button"), c = y("flex-row");
22673
22691
  return o(), k(c, {
22674
22692
  center: "",
@@ -22768,61 +22786,61 @@ function mE(e, t, n, r, s, i) {
22768
22786
  _: 1
22769
22787
  });
22770
22788
  }
22771
- const hE = /* @__PURE__ */ V(fE, [["render", mE], ["__scopeId", "data-v-696aa569"]]);
22772
- var pE = "__lodash_hash_undefined__";
22773
- function yE(e) {
22774
- return this.__data__.set(e, pE), this;
22789
+ const mE = /* @__PURE__ */ V(cE, [["render", fE], ["__scopeId", "data-v-696aa569"]]);
22790
+ var hE = "__lodash_hash_undefined__";
22791
+ function pE(e) {
22792
+ return this.__data__.set(e, hE), this;
22775
22793
  }
22776
- var _E = yE;
22777
- function gE(e) {
22794
+ var yE = pE;
22795
+ function _E(e) {
22778
22796
  return this.__data__.has(e);
22779
22797
  }
22780
- var vE = gE, bE = Ea, kE = _E, xE = vE;
22798
+ var gE = _E, vE = Ea, bE = yE, kE = gE;
22781
22799
  function Si(e) {
22782
22800
  var t = -1, n = e == null ? 0 : e.length;
22783
- for (this.__data__ = new bE(); ++t < n; )
22801
+ for (this.__data__ = new vE(); ++t < n; )
22784
22802
  this.add(e[t]);
22785
22803
  }
22786
- Si.prototype.add = Si.prototype.push = kE;
22787
- Si.prototype.has = xE;
22788
- var wE = Si, SE = vo;
22789
- function TE(e, t) {
22804
+ Si.prototype.add = Si.prototype.push = bE;
22805
+ Si.prototype.has = kE;
22806
+ var xE = Si, wE = vo;
22807
+ function SE(e, t) {
22790
22808
  var n = e == null ? 0 : e.length;
22791
- return !!n && SE(e, t, 0) > -1;
22809
+ return !!n && wE(e, t, 0) > -1;
22792
22810
  }
22793
- var OE = TE;
22794
- function VE(e, t, n) {
22811
+ var TE = SE;
22812
+ function OE(e, t, n) {
22795
22813
  for (var r = -1, s = e == null ? 0 : e.length; ++r < s; )
22796
22814
  if (n(t, e[r]))
22797
22815
  return !0;
22798
22816
  return !1;
22799
22817
  }
22800
- var CE = VE;
22801
- function EE(e, t) {
22818
+ var VE = OE;
22819
+ function CE(e, t) {
22802
22820
  return e.has(t);
22803
22821
  }
22804
- var AE = EE, ME = jr, DE = an, IE = ME(DE, "Set"), FE = IE;
22805
- function $E() {
22822
+ var EE = CE, AE = jr, ME = an, DE = AE(ME, "Set"), IE = DE;
22823
+ function FE() {
22806
22824
  }
22807
- var NE = $E;
22808
- function LE(e) {
22825
+ var $E = FE;
22826
+ function NE(e) {
22809
22827
  var t = -1, n = Array(e.size);
22810
22828
  return e.forEach(function(r) {
22811
22829
  n[++t] = r;
22812
22830
  }), n;
22813
22831
  }
22814
- var Lo = LE, ur = FE, PE = NE, UE = Lo, jE = 1 / 0, RE = ur && 1 / UE(new ur([, -0]))[1] == jE ? function(e) {
22832
+ var Lo = NE, ur = IE, LE = $E, PE = Lo, UE = 1 / 0, jE = ur && 1 / PE(new ur([, -0]))[1] == UE ? function(e) {
22815
22833
  return new ur(e);
22816
- } : PE, BE = RE, zE = wE, HE = OE, qE = CE, GE = AE, WE = BE, KE = Lo, YE = 200;
22817
- function ZE(e, t, n) {
22818
- var r = -1, s = HE, i = e.length, l = !0, a = [], u = a;
22834
+ } : LE, RE = jE, BE = xE, zE = TE, HE = VE, qE = EE, GE = RE, WE = Lo, KE = 200;
22835
+ function YE(e, t, n) {
22836
+ var r = -1, s = zE, i = e.length, l = !0, a = [], u = a;
22819
22837
  if (n)
22820
- l = !1, s = qE;
22821
- else if (i >= YE) {
22822
- var f = t ? null : WE(e);
22838
+ l = !1, s = HE;
22839
+ else if (i >= KE) {
22840
+ var f = t ? null : GE(e);
22823
22841
  if (f)
22824
- return KE(f);
22825
- l = !1, s = GE, u = new zE();
22842
+ return WE(f);
22843
+ l = !1, s = qE, u = new BE();
22826
22844
  } else
22827
22845
  u = t ? [] : a;
22828
22846
  e:
@@ -22838,12 +22856,12 @@ function ZE(e, t, n) {
22838
22856
  }
22839
22857
  return a;
22840
22858
  }
22841
- var JE = ZE, XE = JE;
22842
- function QE(e) {
22843
- return e && e.length ? XE(e) : [];
22859
+ var ZE = YE, JE = ZE;
22860
+ function XE(e) {
22861
+ return e && e.length ? JE(e) : [];
22844
22862
  }
22845
- var eA = QE;
22846
- function tA(e, t) {
22863
+ var QE = XE;
22864
+ function eA(e, t) {
22847
22865
  var n = [], r;
22848
22866
  switch (t) {
22849
22867
  case "image":
@@ -22980,7 +22998,7 @@ function kl() {
22980
22998
  };
22981
22999
  }
22982
23000
  let Ie, dr, cr;
22983
- const nA = {
23001
+ const tA = {
22984
23002
  props: {
22985
23003
  view: {
22986
23004
  type: Object,
@@ -23064,7 +23082,7 @@ const nA = {
23064
23082
  }
23065
23083
  },
23066
23084
  components: {
23067
- Pager: hE,
23085
+ Pager: mE,
23068
23086
  NativeTable: S_,
23069
23087
  FilterBuilder: go,
23070
23088
  Search: Zr,
@@ -23077,15 +23095,15 @@ const nA = {
23077
23095
  var e = this, t = e.$sdk.global.cacheKeys[e.type];
23078
23096
  cr != t && (cr = t, e.dataSource = await e.load()), dr && (dr = !1, e.dataSource = await e.load());
23079
23097
  },
23098
+ mounted() {
23099
+ this.$sdk.addEventListener("glossary", this.reloadGlossary);
23100
+ },
23101
+ beforeUnmount() {
23102
+ this.$sdk.removeEventListener("glossary", this.reloadGlossary);
23103
+ },
23080
23104
  async created() {
23081
23105
  var e = this;
23082
- await new Promise(async function(t, n) {
23083
- e.glossary = await e.$sdk.content.glossary({ hash: !0 });
23084
- var r = e.glossary[e.type];
23085
- if (e.definition = r, !r)
23086
- return n();
23087
- t();
23088
- }), e.sort = e.defaultSort;
23106
+ await e.reloadGlossary(), e.sort = e.defaultSort;
23089
23107
  },
23090
23108
  watch: {
23091
23109
  keywords(e) {
@@ -23133,6 +23151,10 @@ const nA = {
23133
23151
  }
23134
23152
  },
23135
23153
  computed: {
23154
+ definition() {
23155
+ const e = this;
23156
+ return e.glossary ? e.glossary[e.type] : null;
23157
+ },
23136
23158
  profileDetailTypes() {
23137
23159
  const e = this;
23138
23160
  return e.glossary ? Object.entries(e.glossary).reduce(function(n, [r, s]) {
@@ -23141,7 +23163,7 @@ const nA = {
23141
23163
  },
23142
23164
  actualDefinition() {
23143
23165
  var e;
23144
- return this.definition || ((e = this.options) == null ? void 0 : e.definition);
23166
+ return ((e = this.options) == null ? void 0 : e.definition) || this.definition;
23145
23167
  },
23146
23168
  showFilterSidebar() {
23147
23169
  return this.showFilters;
@@ -23378,7 +23400,7 @@ const nA = {
23378
23400
  t.push("color"), t.push("bgColor");
23379
23401
  break;
23380
23402
  }
23381
- return eA(t);
23403
+ return QE(t);
23382
23404
  },
23383
23405
  columns() {
23384
23406
  let e = [], t = {};
@@ -23393,7 +23415,7 @@ const nA = {
23393
23415
  }
23394
23416
  var r = this.actualOptions.prefixColumns || [];
23395
23417
  r.forEach(n(!0));
23396
- var s = this.actualOptions.columns, i = s && s.length ? s : tA(this, this.basicType);
23418
+ var s = this.actualOptions.columns, i = s && s.length ? s : eA(this, this.basicType);
23397
23419
  i.length || i.push({
23398
23420
  title: "Title",
23399
23421
  key: "title"
@@ -23454,6 +23476,9 @@ const nA = {
23454
23476
  }
23455
23477
  },
23456
23478
  methods: {
23479
+ async reloadGlossary() {
23480
+ this.glossary = await this.$sdk.content.glossary({ hash: !0 });
23481
+ },
23457
23482
  debounceReload: Nn(function() {
23458
23483
  this.reload();
23459
23484
  }),
@@ -23538,8 +23563,7 @@ const nA = {
23538
23563
  },
23539
23564
  data() {
23540
23565
  var e = this.selectionManager;
23541
- return e || (e = new cE({ minimum: this.minimum, maximum: this.maximum })), this.modelValue && e.setSelection(this.modelValue), {
23542
- definition: null,
23566
+ return e || (e = new dE({ minimum: this.minimum, maximum: this.maximum })), this.modelValue && e.setSelection(this.modelValue), {
23543
23567
  manager: e,
23544
23568
  glossary: null,
23545
23569
  loading: !0,
@@ -23561,8 +23585,8 @@ const nA = {
23561
23585
  actualOptions: this.options
23562
23586
  };
23563
23587
  }
23564
- }, Po = (e) => (Ye("data-v-5de84b21"), e = e(), Ze(), e), iA = { class: "footer" }, rA = /* @__PURE__ */ Po(() => /* @__PURE__ */ x("p", null, null, -1)), sA = { key: 0 }, lA = /* @__PURE__ */ Po(() => /* @__PURE__ */ x("p", null, null, -1));
23565
- function aA(e, t, n, r, s, i) {
23588
+ }, Po = (e) => (Ye("data-v-01686597"), e = e(), Ze(), e), nA = { class: "footer" }, iA = /* @__PURE__ */ Po(() => /* @__PURE__ */ x("p", null, null, -1)), rA = { key: 0 }, sA = /* @__PURE__ */ Po(() => /* @__PURE__ */ x("p", null, null, -1));
23589
+ function lA(e, t, n, r, s, i) {
23566
23590
  const l = y("ux-icon"), a = y("ux-panel-body"), u = y("ux-panel"), f = y("flex-column"), c = y("ux-button"), p = y("ux-list-item"), g = y("ux-list"), b = y("ux-menu"), w = y("native-table"), C = y("pager"), U = y("flex-footer"), z = y("flex-row"), D = y("search"), ee = y("ux-field"), ie = y("filter-builder"), oe = y("flex-body"), q = y("spinner");
23567
23591
  return i.actualDefinition ? (o(), k(f, {
23568
23592
  key: 0,
@@ -23715,7 +23739,7 @@ function aA(e, t, n, r, s, i) {
23715
23739
  s.dataSource && !i.boundaryMessage ? (o(), k(U, { key: 0 }, {
23716
23740
  default: h(() => [
23717
23741
  H(e.$slots, "footera", {}, void 0, !0),
23718
- x("div", iA, [
23742
+ x("div", nA, [
23719
23743
  m(C, {
23720
23744
  page: s.page,
23721
23745
  "onUpdate:page": t[1] || (t[1] = ($) => s.page = $),
@@ -23747,15 +23771,15 @@ function aA(e, t, n, r, s, i) {
23747
23771
  debounce: 500,
23748
23772
  placeholder: "Keyword Search"
23749
23773
  }, null, 8, ["modelValue", "loading"]),
23750
- rA,
23751
- n.dateFilterEnabled ? (o(), d("div", sA, [
23774
+ iA,
23775
+ n.dateFilterEnabled ? (o(), d("div", rA, [
23752
23776
  m(ee, {
23753
23777
  field: i.dateRangeField,
23754
23778
  modelValue: s.dateRangeFilter,
23755
23779
  "onUpdate:modelValue": t[3] || (t[3] = ($) => s.dateRangeFilter = $)
23756
23780
  }, null, 8, ["field", "modelValue"])
23757
23781
  ])) : _("", !0),
23758
- lA,
23782
+ sA,
23759
23783
  m(ie, {
23760
23784
  definition: i.actualDefinition,
23761
23785
  modelValue: s.actualFilter,
@@ -23782,8 +23806,8 @@ function aA(e, t, n, r, s, i) {
23782
23806
  _: 3
23783
23807
  })) : _("", !0);
23784
23808
  }
23785
- const oA = /* @__PURE__ */ V(nA, [["render", aA], ["__scopeId", "data-v-5de84b21"]]);
23786
- const uA = {
23809
+ const aA = /* @__PURE__ */ V(tA, [["render", lA], ["__scopeId", "data-v-01686597"]]);
23810
+ const oA = {
23787
23811
  props: {
23788
23812
  modal: {
23789
23813
  type: Object,
@@ -23813,9 +23837,9 @@ const uA = {
23813
23837
  return this.modal.style && (e = Object.assign(e, this.modal.style)), e;
23814
23838
  }
23815
23839
  }
23816
- }, dA = { class: "modal-wrapper" };
23817
- function cA(e, t, n, r, s, i) {
23818
- return o(), d("div", dA, [
23840
+ }, uA = { class: "modal-wrapper" };
23841
+ function dA(e, t, n, r, s, i) {
23842
+ return o(), d("div", uA, [
23819
23843
  x("div", {
23820
23844
  class: "modal-blanket",
23821
23845
  onClick: t[0] || (t[0] = (...l) => i.blanketClick && i.blanketClick(...l))
@@ -23833,8 +23857,8 @@ function cA(e, t, n, r, s, i) {
23833
23857
  ], 4)
23834
23858
  ]);
23835
23859
  }
23836
- const fA = /* @__PURE__ */ V(uA, [["render", cA], ["__scopeId", "data-v-a41c6963"]]);
23837
- const mA = {
23860
+ const cA = /* @__PURE__ */ V(oA, [["render", dA], ["__scopeId", "data-v-a41c6963"]]);
23861
+ const fA = {
23838
23862
  mixins: [cn],
23839
23863
  computed: {
23840
23864
  confirmText() {
@@ -23844,25 +23868,25 @@ const mA = {
23844
23868
  return this.options.cancelText || "Cancel";
23845
23869
  }
23846
23870
  }
23847
- }, hA = { class: "padder" }, pA = ["innerHTML"], yA = { class: "padder" };
23848
- function _A(e, t, n, r, s, i) {
23871
+ }, mA = { class: "padder" }, hA = ["innerHTML"], pA = { class: "padder" };
23872
+ function yA(e, t, n, r, s, i) {
23849
23873
  const l = y("flex-body"), a = y("ux-button"), u = y("flex-cell"), f = y("flex-row"), c = y("flex-footer"), p = y("flex-column");
23850
23874
  return o(), k(p, { class: "wrapper" }, {
23851
23875
  default: h(() => [
23852
23876
  m(l, null, {
23853
23877
  default: h(() => [
23854
- x("div", hA, [
23878
+ x("div", mA, [
23855
23879
  x("h5", null, v(e.options.title), 1),
23856
23880
  x("div", {
23857
23881
  innerHTML: e.options.description
23858
- }, null, 8, pA)
23882
+ }, null, 8, hA)
23859
23883
  ])
23860
23884
  ]),
23861
23885
  _: 1
23862
23886
  }),
23863
23887
  m(c, null, {
23864
23888
  default: h(() => [
23865
- x("div", yA, [
23889
+ x("div", pA, [
23866
23890
  m(f, null, {
23867
23891
  default: h(() => [
23868
23892
  m(u, null, {
@@ -23904,8 +23928,8 @@ function _A(e, t, n, r, s, i) {
23904
23928
  _: 1
23905
23929
  });
23906
23930
  }
23907
- const gA = /* @__PURE__ */ V(mA, [["render", _A], ["__scopeId", "data-v-be545ba8"]]);
23908
- const vA = {
23931
+ const _A = /* @__PURE__ */ V(fA, [["render", yA], ["__scopeId", "data-v-be545ba8"]]);
23932
+ const gA = {
23909
23933
  data() {
23910
23934
  return {
23911
23935
  selected: null,
@@ -23937,21 +23961,21 @@ const vA = {
23937
23961
  this.selected = e, this.close(e);
23938
23962
  }
23939
23963
  }
23940
- }, bA = { class: "options-modal-header" }, kA = { class: "padder" }, xA = { class: "options-modal-header" }, wA = { class: "padder" }, SA = { class: "padder" }, TA = ["onClick"], OA = {
23964
+ }, vA = { class: "options-modal-header" }, bA = { class: "padder" }, kA = { class: "options-modal-header" }, xA = { class: "padder" }, wA = { class: "padder" }, SA = ["onClick"], TA = {
23941
23965
  key: 0,
23942
23966
  class: "title"
23943
- }, VA = {
23967
+ }, OA = {
23944
23968
  key: 1,
23945
23969
  class: "description"
23946
- }, CA = { class: "padder" };
23947
- function EA(e, t, n, r, s, i) {
23970
+ }, VA = { class: "padder" };
23971
+ function CA(e, t, n, r, s, i) {
23948
23972
  const l = y("flex-header"), a = y("search"), u = y("flex-cell"), f = y("ux-icon"), c = y("flex-row"), p = y("flex-body"), g = y("ux-button"), b = y("flex-footer"), w = y("flex-column");
23949
23973
  return o(), k(w, { class: "wrapper" }, {
23950
23974
  default: h(() => [
23951
23975
  e.options.title || e.options.description ? (o(), k(l, { key: 0 }, {
23952
23976
  default: h(() => [
23953
- x("div", bA, [
23954
- x("div", kA, [
23977
+ x("div", vA, [
23978
+ x("div", bA, [
23955
23979
  x("h5", null, v(e.options.title), 1),
23956
23980
  x("div", null, v(e.options.description), 1)
23957
23981
  ])
@@ -23961,8 +23985,8 @@ function EA(e, t, n, r, s, i) {
23961
23985
  })) : _("", !0),
23962
23986
  e.options.choices.length > 10 ? (o(), k(l, { key: 1 }, {
23963
23987
  default: h(() => [
23964
- x("div", xA, [
23965
- x("div", wA, [
23988
+ x("div", kA, [
23989
+ x("div", xA, [
23966
23990
  m(a, {
23967
23991
  modelValue: s.search,
23968
23992
  "onUpdate:modelValue": t[0] || (t[0] = (C) => s.search = C),
@@ -23977,7 +24001,7 @@ function EA(e, t, n, r, s, i) {
23977
24001
  })) : _("", !0),
23978
24002
  m(p, { class: "options-modal-body" }, {
23979
24003
  default: h(() => [
23980
- x("div", SA, [
24004
+ x("div", wA, [
23981
24005
  (o(!0), d(S, null, F(i.filteredChoices, (C) => (o(), d("div", {
23982
24006
  class: "choice",
23983
24007
  onClick: (U) => i.select(C)
@@ -23989,8 +24013,8 @@ function EA(e, t, n, r, s, i) {
23989
24013
  default: h(() => [
23990
24014
  m(u, null, {
23991
24015
  default: h(() => [
23992
- C.title ? (o(), d("div", OA, v(C.title), 1)) : _("", !0),
23993
- C.description ? (o(), d("div", VA, v(C.description), 1)) : _("", !0)
24016
+ C.title ? (o(), d("div", TA, v(C.title), 1)) : _("", !0),
24017
+ C.description ? (o(), d("div", OA, v(C.description), 1)) : _("", !0)
23994
24018
  ]),
23995
24019
  _: 2
23996
24020
  }, 1024),
@@ -24006,14 +24030,14 @@ function EA(e, t, n, r, s, i) {
24006
24030
  ]),
24007
24031
  _: 2
24008
24032
  }, 1024)
24009
- ], 8, TA))), 256))
24033
+ ], 8, SA))), 256))
24010
24034
  ])
24011
24035
  ]),
24012
24036
  _: 1
24013
24037
  }),
24014
24038
  m(b, { class: "options-modal-footer" }, {
24015
24039
  default: h(() => [
24016
- x("div", CA, [
24040
+ x("div", VA, [
24017
24041
  m(g, {
24018
24042
  size: "sm",
24019
24043
  onClick: e.dismiss
@@ -24031,8 +24055,8 @@ function EA(e, t, n, r, s, i) {
24031
24055
  _: 1
24032
24056
  });
24033
24057
  }
24034
- const AA = /* @__PURE__ */ V(vA, [["render", EA], ["__scopeId", "data-v-f99d3671"]]);
24035
- const MA = {
24058
+ const EA = /* @__PURE__ */ V(gA, [["render", CA], ["__scopeId", "data-v-f99d3671"]]);
24059
+ const AA = {
24036
24060
  mixins: [cn],
24037
24061
  data() {
24038
24062
  return {
@@ -24059,8 +24083,8 @@ const MA = {
24059
24083
  created() {
24060
24084
  this.options.model && (this.model = this.options.model);
24061
24085
  }
24062
- }, DA = { class: "padder" }, IA = { key: 0 }, FA = { class: "padder" };
24063
- function $A(e, t, n, r, s, i) {
24086
+ }, MA = { class: "padder" }, DA = { key: 0 }, IA = { class: "padder" };
24087
+ function FA(e, t, n, r, s, i) {
24064
24088
  const l = y("ux-form"), a = y("flex-body"), u = y("ux-button"), f = y("flex-cell"), c = y("flex-spacer"), p = y("flex-row"), g = y("flex-footer"), b = y("flex-column");
24065
24089
  return o(), d("form", {
24066
24090
  class: "wrapper",
@@ -24070,9 +24094,9 @@ function $A(e, t, n, r, s, i) {
24070
24094
  default: h(() => [
24071
24095
  m(a, null, {
24072
24096
  default: h(() => [
24073
- x("div", DA, [
24097
+ x("div", MA, [
24074
24098
  x("h5", null, v(e.options.title), 1),
24075
- e.options.description ? (o(), d("p", IA, v(e.options.description), 1)) : _("", !0),
24099
+ e.options.description ? (o(), d("p", DA, v(e.options.description), 1)) : _("", !0),
24076
24100
  m(l, {
24077
24101
  ref: "form",
24078
24102
  "onForm:state": i.formStateUpdated,
@@ -24086,7 +24110,7 @@ function $A(e, t, n, r, s, i) {
24086
24110
  }),
24087
24111
  m(g, { class: "border-top" }, {
24088
24112
  default: h(() => [
24089
- x("div", FA, [
24113
+ x("div", IA, [
24090
24114
  m(p, null, {
24091
24115
  default: h(() => [
24092
24116
  m(f, { shrink: "" }, {
@@ -24132,10 +24156,10 @@ function $A(e, t, n, r, s, i) {
24132
24156
  })
24133
24157
  ], 32);
24134
24158
  }
24135
- const NA = /* @__PURE__ */ V(MA, [["render", $A], ["__scopeId", "data-v-99b9c871"]]);
24136
- const LA = {
24159
+ const $A = /* @__PURE__ */ V(AA, [["render", FA], ["__scopeId", "data-v-99b9c871"]]);
24160
+ const NA = {
24137
24161
  components: {
24138
- ContentBrowser: oA,
24162
+ ContentBrowser: aA,
24139
24163
  Search: Zr
24140
24164
  },
24141
24165
  mixins: [cn],
@@ -24222,8 +24246,8 @@ const LA = {
24222
24246
  this.close(this.model);
24223
24247
  }
24224
24248
  }
24225
- }, PA = { class: "header" }, UA = { class: "font-muted font-sm" }, jA = { class: "rolodex" };
24226
- function RA(e, t, n, r, s, i) {
24249
+ }, LA = { class: "header" }, PA = { class: "font-muted font-sm" }, UA = { class: "rolodex" };
24250
+ function jA(e, t, n, r, s, i) {
24227
24251
  const l = y("flex-column"), a = y("flex-cell"), u = y("search"), f = y("ux-icon"), c = y("ux-button"), p = y("flex-row"), g = y("flex-header"), b = y("content-browser");
24228
24252
  return o(), k(l, { class: "wrapper" }, {
24229
24253
  default: h(() => [
@@ -24236,7 +24260,7 @@ function RA(e, t, n, r, s, i) {
24236
24260
  s.definition ? (o(), d(S, { key: 0 }, [
24237
24261
  m(g, null, {
24238
24262
  default: h(() => [
24239
- x("div", PA, [
24263
+ x("div", LA, [
24240
24264
  m(p, {
24241
24265
  vcenter: "",
24242
24266
  gap: ""
@@ -24250,7 +24274,7 @@ function RA(e, t, n, r, s, i) {
24250
24274
  }),
24251
24275
  i.maximum ? (o(), k(a, { key: 0 }, {
24252
24276
  default: h(() => [
24253
- x("span", UA, "(" + v(s.model.length) + " of " + v(i.maximum) + ")", 1)
24277
+ x("span", PA, "(" + v(s.model.length) + " of " + v(i.maximum) + ")", 1)
24254
24278
  ]),
24255
24279
  _: 1
24256
24280
  })) : _("", !0),
@@ -24324,7 +24348,7 @@ function RA(e, t, n, r, s, i) {
24324
24348
  abovecontent: h(() => [
24325
24349
  i.rolodexEnabled ? (o(), k(g, { key: 0 }, {
24326
24350
  default: h(() => [
24327
- x("div", jA, [
24351
+ x("div", UA, [
24328
24352
  m(c, {
24329
24353
  size: "sm",
24330
24354
  onClick: t[2] || (t[2] = (w) => i.toggleRolodex("")),
@@ -24360,8 +24384,8 @@ function RA(e, t, n, r, s, i) {
24360
24384
  _: 1
24361
24385
  });
24362
24386
  }
24363
- const BA = /* @__PURE__ */ V(LA, [["render", RA], ["__scopeId", "data-v-c9f9fa0a"]]);
24364
- const zA = {
24387
+ const RA = /* @__PURE__ */ V(NA, [["render", jA], ["__scopeId", "data-v-c9f9fa0a"]]);
24388
+ const BA = {
24365
24389
  components: {
24366
24390
  ScopeSelect: eb
24367
24391
  // Search,
@@ -24420,14 +24444,14 @@ const zA = {
24420
24444
  this.close(this.model);
24421
24445
  }
24422
24446
  }
24423
- }, HA = (e) => (Ye("data-v-e1cac3f3"), e = e(), Ze(), e), qA = { class: "header" }, GA = /* @__PURE__ */ HA(() => /* @__PURE__ */ x("h3", null, "Select Scopes", -1)), WA = { class: "padder" };
24424
- function KA(e, t, n, r, s, i) {
24447
+ }, zA = (e) => (Ye("data-v-e1cac3f3"), e = e(), Ze(), e), HA = { class: "header" }, qA = /* @__PURE__ */ zA(() => /* @__PURE__ */ x("h3", null, "Select Scopes", -1)), GA = { class: "padder" };
24448
+ function WA(e, t, n, r, s, i) {
24425
24449
  const l = y("flex-cell"), a = y("ux-button"), u = y("flex-row"), f = y("flex-header"), c = y("scope-select"), p = y("flex-body"), g = y("flex-column");
24426
24450
  return o(), k(g, { class: "wrapper" }, {
24427
24451
  default: h(() => [
24428
24452
  m(f, null, {
24429
24453
  default: h(() => [
24430
- x("div", qA, [
24454
+ x("div", HA, [
24431
24455
  m(u, {
24432
24456
  vcenter: "",
24433
24457
  gap: ""
@@ -24435,7 +24459,7 @@ function KA(e, t, n, r, s, i) {
24435
24459
  default: h(() => [
24436
24460
  m(l, null, {
24437
24461
  default: h(() => [
24438
- GA
24462
+ qA
24439
24463
  ]),
24440
24464
  _: 1
24441
24465
  }),
@@ -24462,7 +24486,7 @@ function KA(e, t, n, r, s, i) {
24462
24486
  }),
24463
24487
  m(p, { class: "scroll-body" }, {
24464
24488
  default: h(() => [
24465
- x("div", WA, [
24489
+ x("div", GA, [
24466
24490
  m(c, {
24467
24491
  action: i.action,
24468
24492
  single: i.single,
@@ -24478,11 +24502,11 @@ function KA(e, t, n, r, s, i) {
24478
24502
  _: 1
24479
24503
  });
24480
24504
  }
24481
- const YA = /* @__PURE__ */ V(zA, [["render", KA], ["__scopeId", "data-v-e1cac3f3"]]);
24482
- function ZA(e, t) {
24505
+ const KA = /* @__PURE__ */ V(BA, [["render", WA], ["__scopeId", "data-v-e1cac3f3"]]);
24506
+ function YA(e, t) {
24483
24507
  return t.reduce((n, r) => Math.abs(r - e) < Math.abs(n - e) ? r : n);
24484
24508
  }
24485
- function nM() {
24509
+ function tM() {
24486
24510
  var e = Ti({
24487
24511
  mounted: !1,
24488
24512
  screen: {
@@ -24555,7 +24579,7 @@ function nM() {
24555
24579
  point: 0
24556
24580
  }, l = 0;
24557
24581
  r > e.limits.xs && l++, r > e.limits.sm && l++, r > e.limits.md && l++, r > e.limits.lg && l++, l < 1 && (i.mobile = !0, i.xs = !0, i.xsOnly = !0, i.smAndDown = !0, i.mdAndDown = !0, i.lgAndDown = !0), l == 1 && (i.tablet = !0, i.sm = !0, i.smOnly = !0, i.smAndDown = !0, i.mdAndDown = !0, i.lgAndDown = !0, i.smAndUp = !0), l == 2 && (i.desktop = !0, i.md = !0, i.mdOnly = !0, i.mdAndDown = !0, i.lgAndDown = !0, i.smAndUp = !0, i.mdAndUp = !0), l == 3 && (i.desktop = !0, i.lg = !0, i.lgOnly = !0, i.lgAndDown = !0, i.smAndUp = !0, i.mdAndUp = !0, i.lgAndUp = !0), l > 3 && (i.desktop = !0, i.xl = !0, i.xlOnly = !0, i.smAndUp = !0, i.mdAndUp = !0, i.lgAndUp = !0), e.point = l, e.breakpoint = i;
24558
- const u = ZA(r, [320, 768, 1200, 1800, 2e3]), f = u * 1, c = u * 1.5, p = u * 2;
24582
+ const u = YA(r, [320, 768, 1200, 1800, 2e3]), f = u * 1, c = u * 1.5, p = u * 2;
24559
24583
  e.image = {
24560
24584
  auto: {
24561
24585
  low: f,
@@ -24569,7 +24593,7 @@ function nM() {
24569
24593
  n.removeEventListener("resize", e.resize), n = !1, t = !1, e.mounted = !1;
24570
24594
  }, e;
24571
24595
  }
24572
- const JA = `qik vue ui ${Zo}`, xl = {
24596
+ const ZA = `qik vue ui ${Zo}`, xl = {
24573
24597
  FlexColumn: dc,
24574
24598
  FlexBody: hc,
24575
24599
  FlexHeader: gc,
@@ -24590,7 +24614,7 @@ const JA = `qik vue ui ${Zo}`, xl = {
24590
24614
  UxSubmissionForm: bl,
24591
24615
  UxFormField: Yr,
24592
24616
  UxSubmissionForm: bl,
24593
- UxRender: dE,
24617
+ UxRender: uE,
24594
24618
  UxRenderField: No,
24595
24619
  UxIcon: Sg,
24596
24620
  UxMenu: Vg,
@@ -24606,22 +24630,22 @@ const JA = `qik vue ui ${Zo}`, xl = {
24606
24630
  Avatar: sg,
24607
24631
  Spinner: La,
24608
24632
  ProgressBar: qg,
24609
- UxModal: fA,
24633
+ UxModal: cA,
24610
24634
  Compile: $o
24611
- }, iM = {
24635
+ }, nM = {
24612
24636
  install(e, t) {
24613
- console.log(JA), t.date = Re, t.modals = Ti([]), t.modal = function(n) {
24637
+ console.log(ZA), t.date = Re, t.modals = Ti([]), t.modal = function(n) {
24614
24638
  return new Promise(function(r, s) {
24615
24639
  n.id = t.modals.length, n.resolve = r, n.reject = s, t.modals.splice(n.id, 0, n);
24616
24640
  });
24617
24641
  }, t.prompt = function(n, r) {
24618
24642
  return r = r || {}, r.model = r.model || {}, r.fields = n, t.modal({
24619
- component: NA,
24643
+ component: $A,
24620
24644
  options: r
24621
24645
  });
24622
24646
  }, t.browse = function(n, r) {
24623
24647
  return r = r || {}, r.type = n, r.model = r.model || [], t.modal({
24624
- component: BA,
24648
+ component: RA,
24625
24649
  options: r
24626
24650
  });
24627
24651
  }, t.selectScopes = async function(n) {
@@ -24630,17 +24654,17 @@ const JA = `qik vue ui ${Zo}`, xl = {
24630
24654
  let l = n.definition || n.type;
24631
24655
  const a = t.access.actionableScopes(r, i, l, s);
24632
24656
  return a.length === 1 ? Promise.resolve(a) : t.modal({
24633
- component: YA,
24657
+ component: KA,
24634
24658
  options: n
24635
24659
  });
24636
24660
  }, t.confirm = function(n, r) {
24637
24661
  return r = r || {}, r.title = n, t.modal({
24638
- component: gA,
24662
+ component: _A,
24639
24663
  options: r
24640
24664
  });
24641
24665
  }, t.options = function(n, r, s) {
24642
24666
  return t.modal({
24643
- component: AA,
24667
+ component: EA,
24644
24668
  options: {
24645
24669
  title: r,
24646
24670
  description: s,
@@ -24661,11 +24685,11 @@ const JA = `qik vue ui ${Zo}`, xl = {
24661
24685
  };
24662
24686
  export {
24663
24687
  sg as Avatar,
24664
- _S as CodeEditor,
24665
- oA as ContentBrowser,
24688
+ yS as CodeEditor,
24689
+ aA as ContentBrowser,
24666
24690
  lv as DateRange,
24667
- nM as Device,
24668
- ew as FileDrop,
24691
+ tM as Device,
24692
+ Qx as FileDrop,
24669
24693
  hc as FlexBody,
24670
24694
  Tc as FlexCell,
24671
24695
  dc as FlexColumn,
@@ -24676,19 +24700,19 @@ export {
24676
24700
  ng as Info,
24677
24701
  ja as Item,
24678
24702
  cn as ModalMixin,
24679
- Vt as NativeSelect,
24680
- tM as Pager,
24703
+ pt as NativeSelect,
24704
+ eM as Pager,
24681
24705
  Nc as Panel,
24682
24706
  jc as PanelBody,
24683
24707
  Kc as PanelFooter,
24684
24708
  Hc as PanelHeader,
24685
24709
  qg as ProgressBar,
24686
- iM as QikUI,
24710
+ nM as QikUI,
24687
24711
  y_ as RememberScrollMixin,
24688
24712
  eb as ScopeSelect,
24689
24713
  rb as ScopeSelectButton,
24690
24714
  Zr as Search,
24691
- cE as Selection,
24715
+ dE as Selection,
24692
24716
  La as Spinner,
24693
24717
  ic as StripeElement,
24694
24718
  ac as StripeElements,
@@ -24705,7 +24729,7 @@ export {
24705
24729
  Vg as UXMenu,
24706
24730
  Ag as UXMenuList,
24707
24731
  Kg as UXPill,
24708
- dE as UXRender,
24732
+ uE as UXRender,
24709
24733
  No as UXRenderField,
24710
24734
  bl as UXSubmissionForm,
24711
24735
  Pa as UXSwitch,
@@ -24713,11 +24737,11 @@ export {
24713
24737
  S_ as UXTable,
24714
24738
  Gf as UXTabset,
24715
24739
  Rg as UXVideo,
24716
- gA as UxConfirmModal,
24717
- BA as UxContentModal,
24718
- fA as UxModal,
24719
- AA as UxOptionsModal,
24720
- NA as UxPromptModal,
24721
- YA as UxScopeModal
24740
+ _A as UxConfirmModal,
24741
+ RA as UxContentModal,
24742
+ cA as UxModal,
24743
+ EA as UxOptionsModal,
24744
+ $A as UxPromptModal,
24745
+ KA as UxScopeModal
24722
24746
  };
24723
24747
  //# sourceMappingURL=lib.es.js.map