@qikdev/vue-ui 0.3.30 → 0.3.32

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
@@ -4,7 +4,7 @@ var Uh = (e, t, n) => t in e ? Rh(e, t, { enumerable: !0, configurable: !0, writ
4
4
  var ie = (e, t, n) => Uh(e, typeof t != "symbol" ? t + "" : t, n);
5
5
  import { reactive as Gt, defineComponent as Fl, ref as vt, toRefs as of, onMounted as Al, onBeforeUnmount as jh, watch as cr, computed as Fn, createElementBlock as h, openBlock as o, createCommentVNode as _, renderSlot as z, normalizeClass as $, useSlots as qh, provide as Mr, resolveComponent as y, createVNode as c, Fragment as D, createBlock as k, unref as gt, withCtx as f, renderList as A, toDisplayString as b, createTextVNode as O, withDirectives as Z, vShow as ci, withModifiers as B, createElementVNode as T, h as dl, mergeProps as mt, toHandlers as kt, normalizeStyle as Ge, resolveDirective as uf, resolveDynamicComponent as Vt, vModelSelect as Dt, pushScopeId as je, popScopeId as qe, getCurrentScope as Bh, onScopeDispose as zh, getCurrentInstance as Wh, Teleport as df, Transition as Hh, withKeys as we, vModelText as be, TransitionGroup as Gh, nextTick as cf, vModelDynamic as Sn, normalizeProps as ff, guardReactiveProps as Yh } from "vue";
6
6
  import { EventDispatcher as mf } from "@qikdev/sdk";
7
- const Jh = "0.3.30";
7
+ const Jh = "0.3.32";
8
8
  class yn extends Error {
9
9
  }
10
10
  class Kh extends yn {
@@ -7166,13 +7166,20 @@ const x1 = /* @__PURE__ */ M(b1, [["render", w1], ["__scopeId", "data-v-f79f00ee
7166
7166
  title() {
7167
7167
  var e;
7168
7168
  return ((e = this.match) == null ? void 0 : e.title) || this.value;
7169
+ },
7170
+ plural() {
7171
+ var e;
7172
+ return ((e = this.match) == null ? void 0 : e.plural) || this.title;
7173
+ },
7174
+ rendered() {
7175
+ return this.column.plural ? this.plural : this.title;
7169
7176
  }
7170
7177
  }
7171
7178
  }, S1 = { class: "content-type-cell" };
7172
7179
  function O1(e, t, n, r, s, i) {
7173
7180
  return o(), h("td", S1, b(i.title), 1);
7174
7181
  }
7175
- const D1 = /* @__PURE__ */ M(T1, [["render", O1], ["__scopeId", "data-v-4c350223"]]), C1 = {
7182
+ const D1 = /* @__PURE__ */ M(T1, [["render", O1], ["__scopeId", "data-v-f8cf385c"]]), C1 = {
7176
7183
  mixins: [Te],
7177
7184
  computed: {
7178
7185
  count() {
@@ -26026,14 +26033,23 @@ const rV = /* @__PURE__ */ M(ZM, [["render", iV], ["__scopeId", "data-v-d29a9855
26026
26033
  }, cV = {
26027
26034
  key: 0,
26028
26035
  class: "ux-single-group"
26029
- }, fV = { class: "ux-group-title" }, mV = {
26036
+ }, fV = { class: "ux-group-title" }, mV = { class: "ux-field-title" }, hV = {
26037
+ key: 0,
26038
+ class: "ux-required-marker"
26039
+ }, pV = {
26040
+ key: 0,
26041
+ class: "ux-field-description"
26042
+ }, yV = {
26043
+ key: 0,
26044
+ class: "ux-single-group"
26045
+ }, gV = { class: "ux-group-title" }, _V = {
26030
26046
  key: 0,
26031
26047
  class: "ux-field-title"
26032
- }, hV = {
26048
+ }, vV = {
26033
26049
  key: 1,
26034
26050
  class: "ux-field-description"
26035
26051
  };
26036
- function pV(e, t, n, r, s, i) {
26052
+ function bV(e, t, n, r, s, i) {
26037
26053
  const a = y("ux-icon"), l = y("flex-cell"), u = y("ux-button"), d = y("flex-row"), m = y("ux-panel-header"), p = y("ux-form"), g = y("ux-panel-body"), v = y("ux-panel"), x = y("draggable");
26038
26054
  return e.multiValue ? (o(), h("div", aV, [
26039
26055
  i.showLabel ? (o(), h("div", lV, [
@@ -26315,24 +26331,24 @@ function pV(e, t, n, r, s, i) {
26315
26331
  })) : _("", !0)
26316
26332
  ])) : (o(), h(D, { key: 1 }, [
26317
26333
  e.widget === "form" ? (o(), h(D, { key: 0 }, [
26318
- e.model ? (o(), h(D, { key: 0 }, [
26319
- e.minimum === 0 ? (o(), k(v, { key: 0 }, {
26334
+ i.showLabel ? (o(), h("div", cV, [
26335
+ T("div", fV, [
26336
+ T("label", mV, [
26337
+ O(b(e.title) + " ", 1),
26338
+ e.required ? (o(), h("span", hV, "*")) : _("", !0)
26339
+ ]),
26340
+ e.showDescription ? (o(), h("div", pV, b(e.description), 1)) : _("", !0)
26341
+ ]),
26342
+ e.model ? (o(), k(v, { key: 0 }, {
26320
26343
  default: f(() => [
26321
- c(m, null, {
26344
+ e.minimum === 0 ? (o(), k(m, { key: 0 }, {
26322
26345
  default: f(() => [
26323
26346
  c(d, {
26324
26347
  vcenter: "",
26325
26348
  gap: ""
26326
26349
  }, {
26327
26350
  default: f(() => [
26328
- c(l, { vcenter: "" }, {
26329
- default: f(() => [
26330
- T("div", null, [
26331
- T("strong", null, b(e.label), 1)
26332
- ])
26333
- ]),
26334
- _: 1
26335
- }),
26351
+ c(l, { vcenter: "" }),
26336
26352
  c(l, {
26337
26353
  vcenter: "",
26338
26354
  shrink: ""
@@ -26356,7 +26372,7 @@ function pV(e, t, n, r, s, i) {
26356
26372
  })
26357
26373
  ]),
26358
26374
  _: 1
26359
- }),
26375
+ })) : _("", !0),
26360
26376
  c(g, null, {
26361
26377
  default: f(() => [
26362
26378
  c(p, {
@@ -26378,39 +26394,117 @@ function pV(e, t, n, r, s, i) {
26378
26394
  })
26379
26395
  ]),
26380
26396
  _: 1
26381
- })) : (o(), k(p, {
26397
+ })) : (o(), k(u, {
26382
26398
  key: 1,
26383
- ref: "form",
26384
- trail: n.trail,
26385
- includeOfficeOnly: n.includeOfficeOnly,
26386
- submission: n.submission,
26387
- sandbox: n.sandbox,
26388
- ignoreDefaults: n.ignoreDefaults,
26389
- "onForm:state": i.stateChange,
26390
- parentModel: e.parentModel,
26391
- modelValue: e.model,
26392
- "onUpdate:modelValue": t[8] || (t[8] = (w) => e.model = w),
26393
- flex: i.sameLine,
26394
- fields: e.field.fields
26395
- }, null, 8, ["trail", "includeOfficeOnly", "submission", "sandbox", "ignoreDefaults", "onForm:state", "parentModel", "modelValue", "flex", "fields"]))
26396
- ], 64)) : (o(), k(u, {
26397
- key: 1,
26398
- onClick: t[9] || (t[9] = (w) => i.createSingleObject())
26399
- }, {
26400
- default: f(() => [
26401
- O("Add " + b(e.label) + " ", 1),
26402
- c(a, {
26403
- icon: "fa-plus",
26404
- right: ""
26405
- })
26406
- ]),
26407
- _: 1
26408
- }))
26399
+ onClick: t[8] || (t[8] = (w) => i.createSingleObject())
26400
+ }, {
26401
+ default: f(() => [
26402
+ O("Add " + b(e.label) + " ", 1),
26403
+ c(a, {
26404
+ icon: "fa-plus",
26405
+ right: ""
26406
+ })
26407
+ ]),
26408
+ _: 1
26409
+ }))
26410
+ ])) : (o(), h(D, { key: 1 }, [
26411
+ e.model ? (o(), h(D, { key: 0 }, [
26412
+ e.minimum === 0 ? (o(), k(v, { key: 0 }, {
26413
+ default: f(() => [
26414
+ c(m, null, {
26415
+ default: f(() => [
26416
+ c(d, {
26417
+ vcenter: "",
26418
+ gap: ""
26419
+ }, {
26420
+ default: f(() => [
26421
+ c(l, { vcenter: "" }, {
26422
+ default: f(() => [
26423
+ T("div", null, [
26424
+ T("strong", null, b(e.label), 1)
26425
+ ])
26426
+ ]),
26427
+ _: 1
26428
+ }),
26429
+ c(l, {
26430
+ vcenter: "",
26431
+ shrink: ""
26432
+ }, {
26433
+ default: f(() => [
26434
+ c(u, {
26435
+ icon: "",
26436
+ tag: "a",
26437
+ onClick: t[9] || (t[9] = (w) => e.model = void 0)
26438
+ }, {
26439
+ default: f(() => [
26440
+ c(a, { icon: "fa-times" })
26441
+ ]),
26442
+ _: 1
26443
+ })
26444
+ ]),
26445
+ _: 1
26446
+ })
26447
+ ]),
26448
+ _: 1
26449
+ })
26450
+ ]),
26451
+ _: 1
26452
+ }),
26453
+ c(g, null, {
26454
+ default: f(() => [
26455
+ c(p, {
26456
+ ref: "form",
26457
+ trail: n.trail,
26458
+ includeOfficeOnly: n.includeOfficeOnly,
26459
+ submission: n.submission,
26460
+ sandbox: n.sandbox,
26461
+ ignoreDefaults: n.ignoreDefaults,
26462
+ "onForm:state": i.stateChange,
26463
+ parentModel: e.parentModel,
26464
+ modelValue: e.model,
26465
+ "onUpdate:modelValue": t[10] || (t[10] = (w) => e.model = w),
26466
+ flex: i.sameLine,
26467
+ fields: e.field.fields
26468
+ }, null, 8, ["trail", "includeOfficeOnly", "submission", "sandbox", "ignoreDefaults", "onForm:state", "parentModel", "modelValue", "flex", "fields"])
26469
+ ]),
26470
+ _: 1
26471
+ })
26472
+ ]),
26473
+ _: 1
26474
+ })) : (o(), k(p, {
26475
+ key: 1,
26476
+ ref: "form",
26477
+ trail: n.trail,
26478
+ includeOfficeOnly: n.includeOfficeOnly,
26479
+ submission: n.submission,
26480
+ sandbox: n.sandbox,
26481
+ ignoreDefaults: n.ignoreDefaults,
26482
+ "onForm:state": i.stateChange,
26483
+ parentModel: e.parentModel,
26484
+ modelValue: e.model,
26485
+ "onUpdate:modelValue": t[11] || (t[11] = (w) => e.model = w),
26486
+ flex: i.sameLine,
26487
+ fields: e.field.fields
26488
+ }, null, 8, ["trail", "includeOfficeOnly", "submission", "sandbox", "ignoreDefaults", "onForm:state", "parentModel", "modelValue", "flex", "fields"]))
26489
+ ], 64)) : (o(), k(u, {
26490
+ key: 1,
26491
+ onClick: t[12] || (t[12] = (w) => i.createSingleObject())
26492
+ }, {
26493
+ default: f(() => [
26494
+ O("Add " + b(e.label) + " ", 1),
26495
+ c(a, {
26496
+ icon: "fa-plus",
26497
+ right: ""
26498
+ })
26499
+ ]),
26500
+ _: 1
26501
+ }))
26502
+ ], 64))
26409
26503
  ], 64)) : (o(), h(D, { key: 1 }, [
26410
- i.showLabel ? (o(), h("div", cV, [
26411
- T("div", fV, [
26412
- i.showLabel ? (o(), h("label", mV, b(e.title), 1)) : _("", !0),
26413
- e.showDescription ? (o(), h("div", hV, b(e.description), 1)) : _("", !0)
26504
+ i.showLabel ? (o(), h("div", yV, [
26505
+ T("div", gV, [
26506
+ i.showLabel ? (o(), h("label", _V, b(e.title), 1)) : _("", !0),
26507
+ e.showDescription ? (o(), h("div", vV, b(e.description), 1)) : _("", !0)
26414
26508
  ]),
26415
26509
  c(v, null, {
26416
26510
  default: f(() => [
@@ -26426,7 +26520,7 @@ function pV(e, t, n, r, s, i) {
26426
26520
  "onForm:state": i.stateChange,
26427
26521
  parentModel: e.parentModel,
26428
26522
  modelValue: e.model,
26429
- "onUpdate:modelValue": t[10] || (t[10] = (w) => e.model = w),
26523
+ "onUpdate:modelValue": t[13] || (t[13] = (w) => e.model = w),
26430
26524
  flex: i.sameLine,
26431
26525
  fields: e.field.fields
26432
26526
  }, null, 8, ["trail", "includeOfficeOnly", "submission", "sandbox", "ignoreDefaults", "onForm:state", "parentModel", "modelValue", "flex", "fields"])
@@ -26447,18 +26541,18 @@ function pV(e, t, n, r, s, i) {
26447
26541
  "onForm:state": i.stateChange,
26448
26542
  parentModel: e.parentModel,
26449
26543
  modelValue: e.model,
26450
- "onUpdate:modelValue": t[11] || (t[11] = (w) => e.model = w),
26544
+ "onUpdate:modelValue": t[14] || (t[14] = (w) => e.model = w),
26451
26545
  flex: i.sameLine,
26452
26546
  fields: e.field.fields
26453
26547
  }, null, 8, ["trail", "includeOfficeOnly", "submission", "sandbox", "ignoreDefaults", "onForm:state", "parentModel", "modelValue", "flex", "fields"]))
26454
26548
  ], 64))
26455
26549
  ], 64));
26456
26550
  }
26457
- const yV = /* @__PURE__ */ M(sV, [["render", pV], ["__scopeId", "data-v-3ce8a8fa"]]);
26551
+ const kV = /* @__PURE__ */ M(sV, [["render", bV], ["__scopeId", "data-v-c82d281b"]]);
26458
26552
  function Il(e) {
26459
26553
  return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
26460
26554
  }
26461
- const gV = {
26555
+ const wV = {
26462
26556
  props: {
26463
26557
  option: {
26464
26558
  required: !0
@@ -26473,14 +26567,14 @@ const gV = {
26473
26567
  }
26474
26568
  }
26475
26569
  };
26476
- function _V(e, t, n, r, s, i) {
26570
+ function xV(e, t, n, r, s, i) {
26477
26571
  return z(e.$slots, "default", { plainValue: i.plainValue }, () => [
26478
26572
  T("pre", null, b(n.option), 1)
26479
26573
  ]);
26480
26574
  }
26481
- const vV = /* @__PURE__ */ M(gV, [["render", _V]]), bV = {
26575
+ const TV = /* @__PURE__ */ M(wV, [["render", xV]]), SV = {
26482
26576
  components: {
26483
- OptionSlot: vV
26577
+ OptionSlot: TV
26484
26578
  },
26485
26579
  props: {
26486
26580
  modelValue: {
@@ -26553,35 +26647,35 @@ const vV = /* @__PURE__ */ M(gV, [["render", _V]]), bV = {
26553
26647
  return this.getLabel(this.optionLookup[this.model]) || "Click to select";
26554
26648
  }
26555
26649
  }
26556
- }, kV = {
26650
+ }, OV = {
26557
26651
  key: 0,
26558
26652
  class: "ux-field-title"
26559
- }, wV = {
26653
+ }, DV = {
26560
26654
  key: 0,
26561
26655
  class: "ux-required-marker"
26562
- }, xV = {
26656
+ }, CV = {
26563
26657
  key: 1,
26564
26658
  class: "ux-field-description"
26565
- }, TV = { key: 2 }, SV = {
26659
+ }, EV = { key: 2 }, MV = {
26566
26660
  key: 3,
26567
26661
  class: "buttons"
26568
26662
  };
26569
- function OV(e, t, n, r, s, i) {
26663
+ function VV(e, t, n, r, s, i) {
26570
26664
  const a = y("ux-icon"), l = y("flex-cell"), u = y("flex-row"), d = y("ux-button"), m = y("option-slot");
26571
26665
  return o(), h(D, null, [
26572
- e.showLabel ? (o(), h("label", kV, [
26666
+ e.showLabel ? (o(), h("label", OV, [
26573
26667
  O(b(e.label) + " ", 1),
26574
- e.required ? (o(), h("span", wV, "*")) : _("", !0)
26668
+ e.required ? (o(), h("span", DV, "*")) : _("", !0)
26575
26669
  ])) : _("", !0),
26576
- e.showDescription ? (o(), h("div", xV, b(e.description), 1)) : _("", !0),
26577
- e.loadingAsyncOptions ? (o(), h("div", TV, [
26670
+ e.showDescription ? (o(), h("div", CV, b(e.description), 1)) : _("", !0),
26671
+ e.loadingAsyncOptions ? (o(), h("div", EV, [
26578
26672
  c(a, {
26579
26673
  icon: "fa-spinner",
26580
26674
  spin: "",
26581
26675
  left: ""
26582
26676
  }),
26583
26677
  O(" Loading Options ")
26584
- ])) : (o(), h("div", SV, [
26678
+ ])) : (o(), h("div", MV, [
26585
26679
  (o(!0), h(D, null, A(e.selectableOptions, (p) => (o(), k(m, { option: p }, {
26586
26680
  default: f(({ plainValue: g }) => [
26587
26681
  c(d, {
@@ -26622,7 +26716,7 @@ function OV(e, t, n, r, s, i) {
26622
26716
  ]))
26623
26717
  ], 64);
26624
26718
  }
26625
- const DV = /* @__PURE__ */ M(bV, [["render", OV], ["__scopeId", "data-v-491bd3a3"]]), CV = {
26719
+ const IV = /* @__PURE__ */ M(SV, [["render", VV], ["__scopeId", "data-v-491bd3a3"]]), FV = {
26626
26720
  props: {
26627
26721
  modelValue: {
26628
26722
  type: Object
@@ -26635,25 +26729,25 @@ const DV = /* @__PURE__ */ M(bV, [["render", OV], ["__scopeId", "data-v-491bd3a3
26635
26729
  return {};
26636
26730
  }
26637
26731
  }
26638
- }, EV = {
26732
+ }, AV = {
26639
26733
  key: 0,
26640
26734
  class: "ux-field-title"
26641
- }, MV = {
26735
+ }, NV = {
26642
26736
  key: 0,
26643
26737
  class: "ux-required-marker"
26644
- }, VV = {
26738
+ }, $V = {
26645
26739
  key: 1,
26646
26740
  class: "ux-field-description"
26647
- }, IV = { key: 2 }, FV = { key: 3 };
26648
- function AV(e, t, n, r, s, i) {
26741
+ }, PV = { key: 2 }, LV = { key: 3 };
26742
+ function RV(e, t, n, r, s, i) {
26649
26743
  const a = y("flex-cell"), l = y("ux-icon"), u = y("ux-button"), d = y("flex-row");
26650
26744
  return o(), h(D, null, [
26651
- e.showLabel ? (o(), h("label", EV, [
26745
+ e.showLabel ? (o(), h("label", AV, [
26652
26746
  O(b(e.label) + " ", 1),
26653
- e.required ? (o(), h("span", MV, "*")) : _("", !0)
26747
+ e.required ? (o(), h("span", NV, "*")) : _("", !0)
26654
26748
  ])) : _("", !0),
26655
- e.showDescription ? (o(), h("div", VV, b(e.description), 1)) : _("", !0),
26656
- e.multiValue ? (o(), h("div", IV, [
26749
+ e.showDescription ? (o(), h("div", $V, b(e.description), 1)) : _("", !0),
26750
+ e.multiValue ? (o(), h("div", PV, [
26657
26751
  (o(!0), h(D, null, A(e.model, (m, p) => (o(), k(d, {
26658
26752
  class: "ux-text-row",
26659
26753
  key: p
@@ -26700,10 +26794,10 @@ function AV(e, t, n, r, s, i) {
26700
26794
  ]),
26701
26795
  _: 1
26702
26796
  })) : _("", !0)
26703
- ])) : (o(), h("pre", FV, b(e.model), 1))
26797
+ ])) : (o(), h("pre", LV, b(e.model), 1))
26704
26798
  ], 64);
26705
26799
  }
26706
- const NV = /* @__PURE__ */ M(CV, [["render", AV], ["__scopeId", "data-v-aae5394a"]]), $V = {
26800
+ const UV = /* @__PURE__ */ M(FV, [["render", RV], ["__scopeId", "data-v-aae5394a"]]), jV = {
26707
26801
  components: {
26708
26802
  UxCheckbox: Gl
26709
26803
  },
@@ -26850,27 +26944,27 @@ const NV = /* @__PURE__ */ M(CV, [["render", AV], ["__scopeId", "data-v-aae5394a
26850
26944
  };
26851
26945
  }
26852
26946
  }
26853
- }, PV = { key: 0 }, LV = { key: 1 }, RV = {
26947
+ }, qV = { key: 0 }, BV = { key: 1 }, zV = {
26854
26948
  key: 0,
26855
26949
  class: "ux-field-title"
26856
- }, UV = {
26950
+ }, WV = {
26857
26951
  key: 0,
26858
26952
  class: "ux-required-marker"
26859
- }, jV = {
26953
+ }, HV = {
26860
26954
  key: 1,
26861
26955
  class: "ux-field-description"
26862
- }, qV = { key: 2 };
26863
- function BV(e, t, n, r, s, i) {
26956
+ }, GV = { key: 2 };
26957
+ function YV(e, t, n, r, s, i) {
26864
26958
  const a = y("spinner"), l = y("ux-checkbox"), u = y("flex-cell"), d = y("ux-form"), m = y("flex-row");
26865
- return i.loadingGlossary ? (o(), h("div", PV, [
26959
+ return i.loadingGlossary ? (o(), h("div", qV, [
26866
26960
  c(a)
26867
- ])) : i.definition ? (o(), h("div", LV, [
26868
- e.showLabel ? (o(), h("label", RV, [
26961
+ ])) : i.definition ? (o(), h("div", BV, [
26962
+ e.showLabel ? (o(), h("label", zV, [
26869
26963
  O(b(e.label) + " ", 1),
26870
- e.required ? (o(), h("span", UV, "*")) : _("", !0)
26964
+ e.required ? (o(), h("span", WV, "*")) : _("", !0)
26871
26965
  ])) : _("", !0),
26872
- e.showDescription ? (o(), h("div", jV, b(e.description), 1)) : _("", !0),
26873
- e.multiValue ? (o(), h("div", qV, "This field can not be used on a multiple")) : (o(!0), h(D, { key: 3 }, A(i.fields, (p) => (o(), h("div", {
26966
+ e.showDescription ? (o(), h("div", HV, b(e.description), 1)) : _("", !0),
26967
+ e.multiValue ? (o(), h("div", GV, "This field can not be used on a multiple")) : (o(!0), h(D, { key: 3 }, A(i.fields, (p) => (o(), h("div", {
26874
26968
  class: $(["field-row", { active: e.model.enabled[p.path] }])
26875
26969
  }, [
26876
26970
  c(m, { gap: "" }, {
@@ -26926,7 +27020,7 @@ function BV(e, t, n, r, s, i) {
26926
27020
  ], 2))), 256))
26927
27021
  ])) : _("", !0);
26928
27022
  }
26929
- const zV = /* @__PURE__ */ M($V, [["render", BV], ["__scopeId", "data-v-9e2045bf"]]), WV = {
27023
+ const JV = /* @__PURE__ */ M(jV, [["render", YV], ["__scopeId", "data-v-9e2045bf"]]), KV = {
26930
27024
  props: {
26931
27025
  modelValue: {
26932
27026
  type: [String, Array]
@@ -26995,25 +27089,25 @@ const zV = /* @__PURE__ */ M($V, [["render", BV], ["__scopeId", "data-v-9e2045bf
26995
27089
  };
26996
27090
  }
26997
27091
  }
26998
- }, Cr = (e) => (je("data-v-91cc715f"), e = e(), qe(), e), HV = {
27092
+ }, Cr = (e) => (je("data-v-91cc715f"), e = e(), qe(), e), ZV = {
26999
27093
  key: 0,
27000
27094
  class: "ux-field-title"
27001
- }, GV = {
27095
+ }, XV = {
27002
27096
  key: 0,
27003
27097
  class: "ux-required-marker"
27004
- }, YV = {
27098
+ }, QV = {
27005
27099
  key: 1,
27006
27100
  class: "ux-field-description"
27007
- }, JV = { key: 2 }, KV = { class: "ux-text-wrap prefixed" }, ZV = /* @__PURE__ */ Cr(() => /* @__PURE__ */ T("span", { class: "ux-text-prefix" }, "Label", -1)), XV = ["onBlur", "on:update:modelValue", "onUpdate:modelValue"], QV = ["onBlur", "on:update:modelValue", "onUpdate:modelValue"], eI = { class: "ux-text-wrap prefixed" }, tI = /* @__PURE__ */ Cr(() => /* @__PURE__ */ T("span", { class: "ux-text-prefix" }, "Value", -1)), nI = ["placeholder", "onFocus", "onUpdate:modelValue"], iI = ["placeholder", "onFocus", "onUpdate:modelValue"], rI = { class: "ux-text-wrap prefixed" }, sI = /* @__PURE__ */ Cr(() => /* @__PURE__ */ T("span", { class: "ux-text-prefix" }, "Label", -1)), aI = { class: "ux-text-wrap prefixed" }, lI = /* @__PURE__ */ Cr(() => /* @__PURE__ */ T("span", { class: "ux-text-prefix" }, "Value", -1));
27008
- function oI(e, t, n, r, s, i) {
27101
+ }, eI = { key: 2 }, tI = { class: "ux-text-wrap prefixed" }, nI = /* @__PURE__ */ Cr(() => /* @__PURE__ */ T("span", { class: "ux-text-prefix" }, "Label", -1)), iI = ["onBlur", "on:update:modelValue", "onUpdate:modelValue"], rI = ["onBlur", "on:update:modelValue", "onUpdate:modelValue"], sI = { class: "ux-text-wrap prefixed" }, aI = /* @__PURE__ */ Cr(() => /* @__PURE__ */ T("span", { class: "ux-text-prefix" }, "Value", -1)), lI = ["placeholder", "onFocus", "onUpdate:modelValue"], oI = ["placeholder", "onFocus", "onUpdate:modelValue"], uI = { class: "ux-text-wrap prefixed" }, dI = /* @__PURE__ */ Cr(() => /* @__PURE__ */ T("span", { class: "ux-text-prefix" }, "Label", -1)), cI = { class: "ux-text-wrap prefixed" }, fI = /* @__PURE__ */ Cr(() => /* @__PURE__ */ T("span", { class: "ux-text-prefix" }, "Value", -1));
27102
+ function mI(e, t, n, r, s, i) {
27009
27103
  const a = y("flex-cell"), l = y("ux-icon"), u = y("ux-button"), d = y("flex-row");
27010
27104
  return o(), h(D, null, [
27011
- e.showLabel ? (o(), h("label", HV, [
27105
+ e.showLabel ? (o(), h("label", ZV, [
27012
27106
  O(b(e.label) + " ", 1),
27013
- e.required ? (o(), h("span", GV, "*")) : _("", !0)
27107
+ e.required ? (o(), h("span", XV, "*")) : _("", !0)
27014
27108
  ])) : _("", !0),
27015
- e.showDescription ? (o(), h("div", YV, b(e.description), 1)) : _("", !0),
27016
- e.multiValue ? (o(), h("div", JV, [
27109
+ e.showDescription ? (o(), h("div", QV, b(e.description), 1)) : _("", !0),
27110
+ e.multiValue ? (o(), h("div", eI, [
27017
27111
  (o(!0), h(D, null, A(e.model, (m, p) => (o(), k(d, {
27018
27112
  gap: "",
27019
27113
  class: "ux-text-row",
@@ -27022,8 +27116,8 @@ function oI(e, t, n, r, s, i) {
27022
27116
  default: f(() => [
27023
27117
  c(a, null, {
27024
27118
  default: f(() => [
27025
- T("div", KV, [
27026
- ZV,
27119
+ T("div", tI, [
27120
+ nI,
27027
27121
  i.lazy ? Z((o(), h("input", {
27028
27122
  key: 0,
27029
27123
  class: "ux-field-focus ux-text-input-multiple",
@@ -27035,7 +27129,7 @@ function oI(e, t, n, r, s, i) {
27035
27129
  onBlur: (g) => i.titleBlurred(p),
27036
27130
  "on:update:modelValue": (g) => i.entryTitleChanged(p),
27037
27131
  "onUpdate:modelValue": (g) => e.model[p].title = g
27038
- }, null, 40, XV)), [
27132
+ }, null, 40, iI)), [
27039
27133
  [
27040
27134
  be,
27041
27135
  e.model[p].title,
@@ -27054,7 +27148,7 @@ function oI(e, t, n, r, s, i) {
27054
27148
  onBlur: (g) => i.titleBlurred(p),
27055
27149
  "on:update:modelValue": (g) => i.entryTitleChanged(p),
27056
27150
  "onUpdate:modelValue": (g) => e.model[p].title = g
27057
- }, null, 40, QV)), [
27151
+ }, null, 40, rI)), [
27058
27152
  [be, e.model[p].title]
27059
27153
  ])
27060
27154
  ])
@@ -27063,8 +27157,8 @@ function oI(e, t, n, r, s, i) {
27063
27157
  }, 1024),
27064
27158
  c(a, null, {
27065
27159
  default: f(() => [
27066
- T("div", eI, [
27067
- tI,
27160
+ T("div", sI, [
27161
+ aI,
27068
27162
  i.lazy ? Z((o(), h("input", {
27069
27163
  key: 0,
27070
27164
  class: "ux-field-focus ux-text-input-multiple",
@@ -27074,7 +27168,7 @@ function oI(e, t, n, r, s, i) {
27074
27168
  ref: "valueInput",
27075
27169
  onKeydown: t[4] || (t[4] = we(B((g) => e.add(), ["stop", "prevent"]), ["enter"])),
27076
27170
  "onUpdate:modelValue": (g) => e.model[p].value = g
27077
- }, null, 40, nI)), [
27171
+ }, null, 40, lI)), [
27078
27172
  [
27079
27173
  be,
27080
27174
  e.model[p].value,
@@ -27091,7 +27185,7 @@ function oI(e, t, n, r, s, i) {
27091
27185
  ref: "valueInput",
27092
27186
  onKeydown: t[5] || (t[5] = we(B((g) => e.add(), ["stop", "prevent"]), ["enter"])),
27093
27187
  "onUpdate:modelValue": (g) => e.model[p].value = g
27094
- }, null, 40, iI)), [
27188
+ }, null, 40, oI)), [
27095
27189
  [be, e.model[p].value]
27096
27190
  ])
27097
27191
  ])
@@ -27140,8 +27234,8 @@ function oI(e, t, n, r, s, i) {
27140
27234
  default: f(() => [
27141
27235
  c(a, null, {
27142
27236
  default: f(() => [
27143
- T("div", rI, [
27144
- sI,
27237
+ T("div", uI, [
27238
+ dI,
27145
27239
  i.lazy ? Z((o(), h("input", {
27146
27240
  key: 0,
27147
27241
  class: "ux-field-focus ux-text-input-multiple",
@@ -27179,8 +27273,8 @@ function oI(e, t, n, r, s, i) {
27179
27273
  }),
27180
27274
  c(a, null, {
27181
27275
  default: f(() => [
27182
- T("div", aI, [
27183
- lI,
27276
+ T("div", cI, [
27277
+ fI,
27184
27278
  i.lazy ? Z((o(), h("input", {
27185
27279
  key: 0,
27186
27280
  class: "ux-field-focus ux-text-input-multiple",
@@ -27217,7 +27311,7 @@ function oI(e, t, n, r, s, i) {
27217
27311
  }))
27218
27312
  ], 64);
27219
27313
  }
27220
- const uI = /* @__PURE__ */ M(WV, [["render", oI], ["__scopeId", "data-v-91cc715f"]]), dI = {
27314
+ const hI = /* @__PURE__ */ M(KV, [["render", mI], ["__scopeId", "data-v-91cc715f"]]), pI = {
27221
27315
  components: {
27222
27316
  CodeEditor: Dh
27223
27317
  },
@@ -27242,30 +27336,30 @@ const uI = /* @__PURE__ */ M(WV, [["render", oI], ["__scopeId", "data-v-91cc715f
27242
27336
  return "";
27243
27337
  }
27244
27338
  }
27245
- }, cI = {
27339
+ }, yI = {
27246
27340
  key: 0,
27247
27341
  class: "ux-field-title"
27248
- }, fI = {
27342
+ }, gI = {
27249
27343
  key: 0,
27250
27344
  class: "ux-required-marker"
27251
- }, mI = {
27345
+ }, _I = {
27252
27346
  key: 1,
27253
27347
  class: "ux-field-description"
27254
- }, hI = { key: 2 }, pI = { class: "code-editor-field-wrap" }, yI = {
27348
+ }, vI = { key: 2 }, bI = { class: "code-editor-field-wrap" }, kI = {
27255
27349
  key: 3,
27256
27350
  class: "code-editor-field-wrap"
27257
27351
  };
27258
- function gI(e, t, n, r, s, i) {
27352
+ function wI(e, t, n, r, s, i) {
27259
27353
  const a = y("code-editor"), l = y("flex-cell"), u = y("ux-icon"), d = y("ux-button"), m = y("flex-row");
27260
27354
  return o(), h("div", {
27261
27355
  onKeydown: t[2] || (t[2] = we(B((p) => i.enterPress(p), ["stop"]), ["enter"]))
27262
27356
  }, [
27263
- e.showLabel ? (o(), h("label", cI, [
27357
+ e.showLabel ? (o(), h("label", yI, [
27264
27358
  O(b(e.label) + " ", 1),
27265
- e.required ? (o(), h("span", fI, "*")) : _("", !0)
27359
+ e.required ? (o(), h("span", gI, "*")) : _("", !0)
27266
27360
  ])) : _("", !0),
27267
- e.showDescription ? (o(), h("div", mI, b(e.description), 1)) : _("", !0),
27268
- e.multiValue ? (o(), h("div", hI, [
27361
+ e.showDescription ? (o(), h("div", _I, b(e.description), 1)) : _("", !0),
27362
+ e.multiValue ? (o(), h("div", vI, [
27269
27363
  (o(!0), h(D, null, A(e.model, (p, g) => (o(), k(m, {
27270
27364
  class: "ux-text-row",
27271
27365
  key: g
@@ -27273,7 +27367,7 @@ function gI(e, t, n, r, s, i) {
27273
27367
  default: f(() => [
27274
27368
  c(l, null, {
27275
27369
  default: f(() => [
27276
- T("div", pI, [
27370
+ T("div", bI, [
27277
27371
  c(a, {
27278
27372
  lang: i.syntax,
27279
27373
  onFocus: e.touch,
@@ -27318,7 +27412,7 @@ function gI(e, t, n, r, s, i) {
27318
27412
  ]),
27319
27413
  _: 1
27320
27414
  })) : _("", !0)
27321
- ])) : (o(), h("div", yI, [
27415
+ ])) : (o(), h("div", kI, [
27322
27416
  c(a, {
27323
27417
  lang: i.syntax,
27324
27418
  tokens: i.tokens,
@@ -27330,7 +27424,7 @@ function gI(e, t, n, r, s, i) {
27330
27424
  ]))
27331
27425
  ], 32);
27332
27426
  }
27333
- const _I = /* @__PURE__ */ M(dI, [["render", gI], ["__scopeId", "data-v-ecb1b9f8"]]), vI = {
27427
+ const xI = /* @__PURE__ */ M(pI, [["render", wI], ["__scopeId", "data-v-ecb1b9f8"]]), TI = {
27334
27428
  emits: ["deselect"],
27335
27429
  components: {
27336
27430
  Search: Qt,
@@ -27479,21 +27573,21 @@ const _I = /* @__PURE__ */ M(dI, [["render", gI], ["__scopeId", "data-v-ecb1b9f8
27479
27573
  }), e.processing = !1;
27480
27574
  }
27481
27575
  }
27482
- }, bI = { class: "location-search-outer" }, kI = {
27576
+ }, SI = { class: "location-search-outer" }, OI = {
27483
27577
  key: 0,
27484
27578
  class: "selectedLocation"
27485
- }, wI = { class: "content-item" }, xI = { class: "image-wrapper" }, TI = { class: "content-item-title" }, SI = {
27579
+ }, DI = { class: "content-item" }, CI = { class: "image-wrapper" }, EI = { class: "content-item-title" }, MI = {
27486
27580
  key: 0,
27487
27581
  class: "content-item-subtitle"
27488
- }, OI = {
27582
+ }, VI = {
27489
27583
  key: 0,
27490
27584
  class: "results"
27491
- }, DI = ["onClick"], CI = { class: "result-item-title" }, EI = { class: "result-item-subtitle" };
27492
- function MI(e, t, n, r, s, i) {
27585
+ }, II = ["onClick"], FI = { class: "result-item-title" }, AI = { class: "result-item-subtitle" };
27586
+ function NI(e, t, n, r, s, i) {
27493
27587
  const a = y("ux-icon"), l = y("flex-cell"), u = y("ux-button"), d = y("flex-row"), m = y("search");
27494
- return o(), h("div", bI, [
27495
- i.hasLocation ? (o(), h("div", kI, [
27496
- T("div", wI, [
27588
+ return o(), h("div", SI, [
27589
+ i.hasLocation ? (o(), h("div", OI, [
27590
+ T("div", DI, [
27497
27591
  c(d, {
27498
27592
  gap: "",
27499
27593
  center: ""
@@ -27501,7 +27595,7 @@ function MI(e, t, n, r, s, i) {
27501
27595
  default: f(() => [
27502
27596
  c(l, { shrink: "" }, {
27503
27597
  default: f(() => [
27504
- T("div", xI, [
27598
+ T("div", CI, [
27505
27599
  c(a, { icon: "fa-map-marker" })
27506
27600
  ])
27507
27601
  ]),
@@ -27509,8 +27603,8 @@ function MI(e, t, n, r, s, i) {
27509
27603
  }),
27510
27604
  c(l, null, {
27511
27605
  default: f(() => [
27512
- T("div", TI, b(s.model.title || s.model.addressLine1), 1),
27513
- i.summary ? (o(), h("div", SI, b(i.summary(s.model)), 1)) : _("", !0)
27606
+ T("div", EI, b(s.model.title || s.model.addressLine1), 1),
27607
+ i.summary ? (o(), h("div", MI, b(i.summary(s.model)), 1)) : _("", !0)
27514
27608
  ]),
27515
27609
  _: 1
27516
27610
  }),
@@ -27569,21 +27663,21 @@ function MI(e, t, n, r, s, i) {
27569
27663
  disabled: !i.teleportTarget,
27570
27664
  to: i.teleportTarget
27571
27665
  }, [
27572
- s.results.length ? (o(), h("div", OI, [
27666
+ s.results.length ? (o(), h("div", VI, [
27573
27667
  (o(!0), h(D, null, A(s.results, (p, g) => (o(), h("div", {
27574
27668
  class: $(["result-item", { selected: g === s.selectedIndex }]),
27575
27669
  key: p.title,
27576
27670
  onClick: (v) => i.select(p)
27577
27671
  }, [
27578
- T("div", CI, b(p.title), 1),
27579
- T("div", EI, b(p.summary), 1)
27580
- ], 10, DI))), 128))
27672
+ T("div", FI, b(p.title), 1),
27673
+ T("div", AI, b(p.summary), 1)
27674
+ ], 10, II))), 128))
27581
27675
  ])) : _("", !0)
27582
27676
  ], 8, ["disabled", "to"]))
27583
27677
  ], 64))
27584
27678
  ]);
27585
27679
  }
27586
- const VI = /* @__PURE__ */ M(vI, [["render", MI], ["__scopeId", "data-v-084b9220"]]), II = {
27680
+ const $I = /* @__PURE__ */ M(TI, [["render", NI], ["__scopeId", "data-v-084b9220"]]), PI = {
27587
27681
  components: {
27588
27682
  TextField: ro,
27589
27683
  Spinner: Pn,
@@ -27907,20 +28001,20 @@ const VI = /* @__PURE__ */ M(vI, [["render", MI], ["__scopeId", "data-v-084b9220
27907
28001
  }), e.redrawCircle();
27908
28002
  }
27909
28003
  }
27910
- }, FI = { class: "font-muted font-sm" }, AI = { class: "map-outer" }, NI = {
28004
+ }, LI = { class: "font-muted font-sm" }, RI = { class: "map-outer" }, UI = {
27911
28005
  key: 0,
27912
28006
  class: "indicator"
27913
- }, $I = {
28007
+ }, jI = {
27914
28008
  class: "map-inner",
27915
28009
  ref: "mapContainer"
27916
28010
  };
27917
- function PI(e, t, n, r, s, i) {
28011
+ function qI(e, t, n, r, s, i) {
27918
28012
  const a = y("flex-cell"), l = y("ux-icon"), u = y("flex-row"), d = y("ux-panel-header"), m = y("spinner"), p = y("text-field"), g = y("country-select"), v = y("ux-panel-body"), x = y("ux-panel");
27919
28013
  return o(), k(x, null, {
27920
28014
  default: f(() => [
27921
28015
  c(d, null, {
27922
28016
  default: f(() => [
27923
- T("div", FI, [
28017
+ T("div", LI, [
27924
28018
  c(u, {
27925
28019
  gap: "",
27926
28020
  center: ""
@@ -27953,11 +28047,11 @@ function PI(e, t, n, r, s, i) {
27953
28047
  ]),
27954
28048
  _: 1
27955
28049
  }),
27956
- T("div", AI, [
27957
- i.initializing ? (o(), h("div", NI, [
28050
+ T("div", RI, [
28051
+ i.initializing ? (o(), h("div", UI, [
27958
28052
  c(m)
27959
28053
  ])) : _("", !0),
27960
- T("div", $I, null, 512)
28054
+ T("div", jI, null, 512)
27961
28055
  ]),
27962
28056
  i.showFields ? (o(), k(v, { key: 0 }, {
27963
28057
  default: f(() => [
@@ -28065,7 +28159,7 @@ function PI(e, t, n, r, s, i) {
28065
28159
  _: 1
28066
28160
  });
28067
28161
  }
28068
- const LI = /* @__PURE__ */ M(II, [["render", PI]]);
28162
+ const BI = /* @__PURE__ */ M(PI, [["render", qI]]);
28069
28163
  function Vc() {
28070
28164
  return {
28071
28165
  title: void 0,
@@ -28081,7 +28175,7 @@ function Vc() {
28081
28175
  search: void 0
28082
28176
  };
28083
28177
  }
28084
- const RI = {
28178
+ const zI = {
28085
28179
  data() {
28086
28180
  return {
28087
28181
  singleAdvancedOptions: !1,
@@ -28089,8 +28183,8 @@ const RI = {
28089
28183
  };
28090
28184
  },
28091
28185
  components: {
28092
- LocationSelect: LI,
28093
- LocationSearch: VI
28186
+ LocationSelect: BI,
28187
+ LocationSearch: $I
28094
28188
  },
28095
28189
  props: {
28096
28190
  modelValue: {
@@ -28131,33 +28225,33 @@ const RI = {
28131
28225
  return Vc();
28132
28226
  }
28133
28227
  }
28134
- }, UI = {
28228
+ }, WI = {
28135
28229
  key: 0,
28136
28230
  class: "ux-field-title"
28137
- }, jI = {
28231
+ }, HI = {
28138
28232
  key: 0,
28139
28233
  class: "ux-required-marker"
28140
- }, qI = {
28234
+ }, GI = {
28141
28235
  key: 1,
28142
28236
  class: "ux-field-description"
28143
- }, BI = { key: 2 }, zI = { class: "location-field-wrap" }, WI = ["id"], HI = {
28237
+ }, YI = { key: 2 }, JI = { class: "location-field-wrap" }, KI = ["id"], ZI = {
28144
28238
  key: 3,
28145
28239
  class: "location-field-wrap"
28146
- }, GI = ["id"];
28147
- function YI(e, t, n, r, s, i) {
28240
+ }, XI = ["id"];
28241
+ function QI(e, t, n, r, s, i) {
28148
28242
  const a = y("location-search"), l = y("flex-cell"), u = y("ux-icon"), d = y("ux-button"), m = y("flex-row"), p = y("location-select");
28149
28243
  return o(), h("div", null, [
28150
- e.showLabel ? (o(), h("label", UI, [
28244
+ e.showLabel ? (o(), h("label", WI, [
28151
28245
  O(b(e.label) + " ", 1),
28152
- e.required ? (o(), h("span", jI, "*")) : _("", !0)
28246
+ e.required ? (o(), h("span", HI, "*")) : _("", !0)
28153
28247
  ])) : _("", !0),
28154
- e.showDescription ? (o(), h("div", qI, b(e.description), 1)) : _("", !0),
28155
- e.multiValue ? (o(), h("div", BI, [
28248
+ e.showDescription ? (o(), h("div", GI, b(e.description), 1)) : _("", !0),
28249
+ e.multiValue ? (o(), h("div", YI, [
28156
28250
  (o(!0), h(D, null, A(e.model, (g, v) => (o(), h("div", {
28157
28251
  class: "ux-location-row",
28158
28252
  key: v
28159
28253
  }, [
28160
- T("div", zI, [
28254
+ T("div", JI, [
28161
28255
  c(m, {
28162
28256
  gap: "",
28163
28257
  center: ""
@@ -28201,7 +28295,7 @@ function YI(e, t, n, r, s, i) {
28201
28295
  T("div", {
28202
28296
  class: "teleport-results",
28203
28297
  id: `teleport-${i.multipleTeleportIDs[v]}`
28204
- }, null, 8, WI),
28298
+ }, null, 8, KI),
28205
28299
  s.multiAdvancedOptions[v] ? (o(), k(p, {
28206
28300
  key: 0,
28207
28301
  onFocus: e.touch,
@@ -28226,7 +28320,7 @@ function YI(e, t, n, r, s, i) {
28226
28320
  ]),
28227
28321
  _: 1
28228
28322
  })) : _("", !0)
28229
- ])) : (o(), h("div", HI, [
28323
+ ])) : (o(), h("div", ZI, [
28230
28324
  c(m, null, {
28231
28325
  default: f(() => [
28232
28326
  c(l, null, {
@@ -28242,7 +28336,7 @@ function YI(e, t, n, r, s, i) {
28242
28336
  T("div", {
28243
28337
  class: "teleport-results",
28244
28338
  id: `teleport-${i.singleTeleportID}`
28245
- }, null, 8, GI),
28339
+ }, null, 8, XI),
28246
28340
  s.singleAdvancedOptions ? (o(), k(p, {
28247
28341
  key: 0,
28248
28342
  assumeDefault: !!e.field.assumeDefault,
@@ -28261,7 +28355,7 @@ function YI(e, t, n, r, s, i) {
28261
28355
  ]))
28262
28356
  ]);
28263
28357
  }
28264
- const JI = /* @__PURE__ */ M(RI, [["render", YI], ["__scopeId", "data-v-eac978e1"]]), KI = {
28358
+ const eF = /* @__PURE__ */ M(zI, [["render", QI], ["__scopeId", "data-v-eac978e1"]]), tF = {
28265
28359
  props: {
28266
28360
  modelValue: {
28267
28361
  type: [String, Array]
@@ -28275,30 +28369,30 @@ const JI = /* @__PURE__ */ M(RI, [["render", YI], ["__scopeId", "data-v-eac978e1
28275
28369
  return "";
28276
28370
  }
28277
28371
  }
28278
- }, ZI = {
28372
+ }, nF = {
28279
28373
  key: 0,
28280
28374
  class: "ux-field-title"
28281
- }, XI = {
28375
+ }, iF = {
28282
28376
  key: 0,
28283
28377
  class: "ux-required-marker"
28284
- }, QI = {
28378
+ }, rF = {
28285
28379
  key: 1,
28286
28380
  class: "ux-field-description"
28287
- }, eF = { key: 2 }, tF = { class: "expression-field-wrap" }, nF = {
28381
+ }, sF = { key: 2 }, aF = { class: "expression-field-wrap" }, lF = {
28288
28382
  key: 3,
28289
28383
  class: "expression-field-wrap"
28290
28384
  };
28291
- function iF(e, t, n, r, s, i) {
28385
+ function oF(e, t, n, r, s, i) {
28292
28386
  const a = y("expression-editor"), l = y("flex-cell"), u = y("ux-icon"), d = y("ux-button"), m = y("flex-row");
28293
28387
  return o(), h("div", {
28294
28388
  onKeydown: t[2] || (t[2] = we(B((p) => i.enterPress(p), ["stop"]), ["enter"]))
28295
28389
  }, [
28296
- e.showLabel ? (o(), h("label", ZI, [
28390
+ e.showLabel ? (o(), h("label", nF, [
28297
28391
  O(b(e.label) + " ", 1),
28298
- e.required ? (o(), h("span", XI, "*")) : _("", !0)
28392
+ e.required ? (o(), h("span", iF, "*")) : _("", !0)
28299
28393
  ])) : _("", !0),
28300
- e.showDescription ? (o(), h("div", QI, b(e.description), 1)) : _("", !0),
28301
- e.multiValue ? (o(), h("div", eF, [
28394
+ e.showDescription ? (o(), h("div", rF, b(e.description), 1)) : _("", !0),
28395
+ e.multiValue ? (o(), h("div", sF, [
28302
28396
  (o(!0), h(D, null, A(e.model, (p, g) => (o(), k(m, {
28303
28397
  class: "ux-text-row",
28304
28398
  key: g
@@ -28306,7 +28400,7 @@ function iF(e, t, n, r, s, i) {
28306
28400
  default: f(() => [
28307
28401
  c(l, null, {
28308
28402
  default: f(() => [
28309
- T("div", tF, [
28403
+ T("div", aF, [
28310
28404
  c(a, {
28311
28405
  field: e.field,
28312
28406
  onFocus: e.touch,
@@ -28351,7 +28445,7 @@ function iF(e, t, n, r, s, i) {
28351
28445
  ]),
28352
28446
  _: 1
28353
28447
  })) : _("", !0)
28354
- ])) : (o(), h("div", nF, [
28448
+ ])) : (o(), h("div", lF, [
28355
28449
  c(a, {
28356
28450
  field: e.field,
28357
28451
  class: "ux-expression ux-field-focus ux-text-area-single",
@@ -28362,9 +28456,14 @@ function iF(e, t, n, r, s, i) {
28362
28456
  ]))
28363
28457
  ], 32);
28364
28458
  }
28365
- const rF = /* @__PURE__ */ M(KI, [["render", iF], ["__scopeId", "data-v-56c3b71b"]]), sF = {
28459
+ const uF = /* @__PURE__ */ M(tF, [["render", oF], ["__scopeId", "data-v-56c3b71b"]]), dF = {
28366
28460
  components: {},
28367
- methods: {},
28461
+ methods: {
28462
+ injectToken(e) {
28463
+ const t = this.$refs.editor;
28464
+ t && t.inject(e);
28465
+ }
28466
+ },
28368
28467
  props: {
28369
28468
  modelValue: {
28370
28469
  type: String,
@@ -28372,6 +28471,12 @@ const rF = /* @__PURE__ */ M(KI, [["render", iF], ["__scopeId", "data-v-56c3b71b
28372
28471
  return "";
28373
28472
  }
28374
28473
  },
28474
+ tokens: {
28475
+ type: Array,
28476
+ default() {
28477
+ return [];
28478
+ }
28479
+ },
28375
28480
  lang: {
28376
28481
  type: String
28377
28482
  }
@@ -28397,22 +28502,24 @@ const rF = /* @__PURE__ */ M(KI, [["render", iF], ["__scopeId", "data-v-56c3b71b
28397
28502
  };
28398
28503
  }
28399
28504
  };
28400
- function aF(e, t, n, r, s, i) {
28505
+ function cF(e, t, n, r, s, i) {
28401
28506
  const a = y("tiptap"), l = y("flex-column");
28402
28507
  return s.mounted ? (o(), k(l, { key: 0 }, {
28403
28508
  default: f(() => [
28404
28509
  c(a, {
28510
+ ref: "editor",
28511
+ tokens: n.tokens,
28405
28512
  modelValue: s.model,
28406
28513
  "onUpdate:modelValue": t[0] || (t[0] = (u) => s.model = u),
28407
28514
  style: { height: "250px" }
28408
- }, null, 8, ["modelValue"])
28515
+ }, null, 8, ["tokens", "modelValue"])
28409
28516
  ]),
28410
28517
  _: 1
28411
28518
  })) : _("", !0);
28412
28519
  }
28413
- const lF = /* @__PURE__ */ M(sF, [["render", aF], ["__scopeId", "data-v-844777a7"]]), oF = {
28520
+ const fF = /* @__PURE__ */ M(dF, [["render", cF], ["__scopeId", "data-v-140d6cfc"]]), mF = {
28414
28521
  components: {
28415
- richtext: lF
28522
+ richtext: fF
28416
28523
  },
28417
28524
  props: {
28418
28525
  modelValue: {
@@ -28420,9 +28527,9 @@ const lF = /* @__PURE__ */ M(sF, [["render", aF], ["__scopeId", "data-v-844777a7
28420
28527
  }
28421
28528
  },
28422
28529
  computed: {
28423
- // syntax() {
28424
- // return this.field ? this.field.syntax : 'json';
28425
- // }
28530
+ tokens() {
28531
+ return this.field ? this.field.tokens || [] : [];
28532
+ }
28426
28533
  },
28427
28534
  mixins: [re],
28428
28535
  methods: {
@@ -28430,28 +28537,28 @@ const lF = /* @__PURE__ */ M(sF, [["render", aF], ["__scopeId", "data-v-844777a7
28430
28537
  return "";
28431
28538
  }
28432
28539
  }
28433
- }, uF = {
28540
+ }, hF = {
28434
28541
  key: 0,
28435
28542
  class: "ux-field-title"
28436
- }, dF = {
28543
+ }, pF = {
28437
28544
  key: 0,
28438
28545
  class: "ux-required-marker"
28439
- }, cF = {
28546
+ }, yF = {
28440
28547
  key: 1,
28441
28548
  class: "ux-field-description"
28442
- }, fF = { key: 2 }, mF = { class: "richtext-field-wrap" }, hF = {
28549
+ }, gF = { key: 2 }, _F = { class: "richtext-field-wrap" }, vF = {
28443
28550
  key: 3,
28444
28551
  class: "richtext-field-wrap"
28445
28552
  };
28446
- function pF(e, t, n, r, s, i) {
28553
+ function bF(e, t, n, r, s, i) {
28447
28554
  const a = y("richtext"), l = y("flex-cell"), u = y("ux-icon"), d = y("ux-button"), m = y("flex-row");
28448
28555
  return o(), h("div", null, [
28449
- e.showLabel ? (o(), h("label", uF, [
28556
+ e.showLabel ? (o(), h("label", hF, [
28450
28557
  O(b(e.label) + " ", 1),
28451
- e.required ? (o(), h("span", dF, "*")) : _("", !0)
28558
+ e.required ? (o(), h("span", pF, "*")) : _("", !0)
28452
28559
  ])) : _("", !0),
28453
- e.showDescription ? (o(), h("div", cF, b(e.description), 1)) : _("", !0),
28454
- e.multiValue ? (o(), h("div", fF, [
28560
+ e.showDescription ? (o(), h("div", yF, b(e.description), 1)) : _("", !0),
28561
+ e.multiValue ? (o(), h("div", gF, [
28455
28562
  (o(!0), h(D, null, A(e.model, (p, g) => (o(), k(m, {
28456
28563
  class: "ux-text-row",
28457
28564
  key: g
@@ -28459,15 +28566,16 @@ function pF(e, t, n, r, s, i) {
28459
28566
  default: f(() => [
28460
28567
  c(l, null, {
28461
28568
  default: f(() => [
28462
- T("div", mF, [
28569
+ T("div", _F, [
28463
28570
  c(a, {
28571
+ tokens: i.tokens,
28464
28572
  onFocus: e.touch,
28465
28573
  ref_for: !0,
28466
28574
  ref: "input",
28467
28575
  modelValue: e.model[g],
28468
28576
  "onUpdate:modelValue": (v) => e.model[g] = v,
28469
28577
  class: "ux-richtext ux-field-focus ux-text-area-multiple"
28470
- }, null, 8, ["onFocus", "modelValue", "onUpdate:modelValue"])
28578
+ }, null, 8, ["tokens", "onFocus", "modelValue", "onUpdate:modelValue"])
28471
28579
  ])
28472
28580
  ]),
28473
28581
  _: 2
@@ -28503,17 +28611,18 @@ function pF(e, t, n, r, s, i) {
28503
28611
  ]),
28504
28612
  _: 1
28505
28613
  })) : _("", !0)
28506
- ])) : (o(), h("div", hF, [
28614
+ ])) : (o(), h("div", vF, [
28507
28615
  c(a, {
28616
+ tokens: i.tokens,
28508
28617
  class: "ux-richtext ux-field-focus ux-text-area-single",
28509
28618
  onFocus: e.touch,
28510
28619
  modelValue: e.model,
28511
28620
  "onUpdate:modelValue": t[1] || (t[1] = (p) => e.model = p)
28512
- }, null, 8, ["onFocus", "modelValue"])
28621
+ }, null, 8, ["tokens", "onFocus", "modelValue"])
28513
28622
  ]))
28514
28623
  ]);
28515
28624
  }
28516
- const yF = /* @__PURE__ */ M(oF, [["render", pF], ["__scopeId", "data-v-396fd196"]]), gF = Array.from(
28625
+ const kF = /* @__PURE__ */ M(mF, [["render", bF], ["__scopeId", "data-v-2476f836"]]), wF = Array.from(
28517
28626
  { length: 6 },
28518
28627
  (e, t) => (/* @__PURE__ */ new Date()).getFullYear() + t
28519
28628
  ).map(function(e) {
@@ -28522,7 +28631,7 @@ const yF = /* @__PURE__ */ M(oF, [["render", pF], ["__scopeId", "data-v-396fd196
28522
28631
  title: e,
28523
28632
  value: t
28524
28633
  };
28525
- }), _F = {
28634
+ }), xF = {
28526
28635
  mixins: [re],
28527
28636
  components: {
28528
28637
  // StripeElements,
@@ -28795,7 +28904,7 @@ const yF = /* @__PURE__ */ M(oF, [["render", pF], ["__scopeId", "data-v-396fd196
28795
28904
  minLength: 2,
28796
28905
  maxLength: 2,
28797
28906
  widget: "select",
28798
- options: gF
28907
+ options: wF
28799
28908
  },
28800
28909
  {
28801
28910
  title: "CVN",
@@ -28836,17 +28945,17 @@ const yF = /* @__PURE__ */ M(oF, [["render", pF], ["__scopeId", "data-v-396fd196
28836
28945
  };
28837
28946
  }
28838
28947
  }
28839
- }, en = (e) => (je("data-v-b05c2ca1"), e = e(), qe(), e), vF = /* @__PURE__ */ en(() => /* @__PURE__ */ T("h2", null, "Payment Summary", -1)), bF = { class: "calculations" }, kF = /* @__PURE__ */ en(() => /* @__PURE__ */ T("td", null, "Amount", -1)), wF = { class: "running-total" }, xF = /* @__PURE__ */ en(() => /* @__PURE__ */ T("td", null, "Amount", -1)), TF = /* @__PURE__ */ en(() => /* @__PURE__ */ T("td", null, " ", -1)), SF = /* @__PURE__ */ en(() => /* @__PURE__ */ T("td", { class: "running-total" }, " ", -1)), OF = [
28840
- xF,
28841
- TF,
28842
- SF
28843
- ], DF = { class: "running-total" }, CF = {
28948
+ }, en = (e) => (je("data-v-b05c2ca1"), e = e(), qe(), e), TF = /* @__PURE__ */ en(() => /* @__PURE__ */ T("h2", null, "Payment Summary", -1)), SF = { class: "calculations" }, OF = /* @__PURE__ */ en(() => /* @__PURE__ */ T("td", null, "Amount", -1)), DF = { class: "running-total" }, CF = /* @__PURE__ */ en(() => /* @__PURE__ */ T("td", null, "Amount", -1)), EF = /* @__PURE__ */ en(() => /* @__PURE__ */ T("td", null, " ", -1)), MF = /* @__PURE__ */ en(() => /* @__PURE__ */ T("td", { class: "running-total" }, " ", -1)), VF = [
28949
+ CF,
28950
+ EF,
28951
+ MF
28952
+ ], IF = { class: "running-total" }, FF = {
28844
28953
  key: 0,
28845
28954
  class: "grand-total"
28846
- }, EF = /* @__PURE__ */ en(() => /* @__PURE__ */ T("td", null, [
28955
+ }, AF = /* @__PURE__ */ en(() => /* @__PURE__ */ T("td", null, [
28847
28956
  /* @__PURE__ */ T("strong", null, "Total")
28848
- ], -1)), MF = /* @__PURE__ */ en(() => /* @__PURE__ */ T("td", null, null, -1)), VF = /* @__PURE__ */ en(() => /* @__PURE__ */ T("h3", null, "Please select a payment method", -1)), IF = ["innerHTML"];
28849
- function FF(e, t, n, r, s, i) {
28957
+ ], -1)), NF = /* @__PURE__ */ en(() => /* @__PURE__ */ T("td", null, null, -1)), $F = /* @__PURE__ */ en(() => /* @__PURE__ */ T("h3", null, "Please select a payment method", -1)), PF = ["innerHTML"];
28958
+ function LF(e, t, n, r, s, i) {
28850
28959
  var p, g;
28851
28960
  const a = y("ux-form"), l = y("ux-panel-body"), u = y("ux-panel"), d = y("ux-icon"), m = y("ux-button");
28852
28961
  return e.multiValue ? (o(), h(D, { key: 0 }, [
@@ -28865,12 +28974,12 @@ function FF(e, t, n, r, s, i) {
28865
28974
  fields: i.calculatedTotalFields
28866
28975
  }, null, 8, ["trail", "paymentConfiguration", "includeOfficeOnly", "submission", "onForm:state", "parentModel", "modelValue", "fields"]),
28867
28976
  i.showPaymentSummary ? (o(), h(D, { key: 0 }, [
28868
- vF,
28977
+ TF,
28869
28978
  c(u, null, {
28870
28979
  default: f(() => [
28871
28980
  c(l, null, {
28872
28981
  default: f(() => [
28873
- T("table", bF, [
28982
+ T("table", SF, [
28874
28983
  T("tbody", null, [
28875
28984
  i.baseAmount ? (o(), h("tr", {
28876
28985
  key: 0,
@@ -28879,13 +28988,13 @@ function FF(e, t, n, r, s, i) {
28879
28988
  `modifier-visible-${i.baseAmountVisible}`
28880
28989
  ]])
28881
28990
  }, [
28882
- kF,
28991
+ OF,
28883
28992
  T("td", null, b(i.formattedBaseAmount), 1),
28884
- T("td", wF, b(i.formattedBaseAmount), 1)
28993
+ T("td", DF, b(i.formattedBaseAmount), 1)
28885
28994
  ], 2)) : i.calculatedTotal ? (o(), h("tr", {
28886
28995
  key: 1,
28887
28996
  class: $(["calculation-modifier", ["modifier-set", "modifier-visible-true"]])
28888
- }, OF)) : _("", !0),
28997
+ }, VF)) : _("", !0),
28889
28998
  (o(!0), h(D, null, A(i.visibleModifications, (v) => (o(), h("tr", {
28890
28999
  class: $(["calculation-modifier", [
28891
29000
  `modifier-${v.modifier}`,
@@ -28894,13 +29003,13 @@ function FF(e, t, n, r, s, i) {
28894
29003
  }, [
28895
29004
  T("td", null, b(v.title), 1),
28896
29005
  T("td", null, b(v.summary), 1),
28897
- T("td", DF, b(v.result), 1)
29006
+ T("td", IF, b(v.result), 1)
28898
29007
  ], 2))), 256))
28899
29008
  ]),
28900
29009
  T("tfoot", null, [
28901
- i.calculatedTotal || i.visibleModifications.length ? (o(), h("tr", CF, [
28902
- EF,
28903
- MF,
29010
+ i.calculatedTotal || i.visibleModifications.length ? (o(), h("tr", FF, [
29011
+ AF,
29012
+ NF,
28904
29013
  T("td", null, [
28905
29014
  T("strong", null, b(i.formattedTotal), 1)
28906
29015
  ])
@@ -28916,7 +29025,7 @@ function FF(e, t, n, r, s, i) {
28916
29025
  ], 64)) : _("", !0),
28917
29026
  i.requiresPayment ? (o(), h(D, { key: 1 }, [
28918
29027
  i.gateways.length > 1 ? (o(), h(D, { key: 0 }, [
28919
- VF,
29028
+ $F,
28920
29029
  T("div", null, [
28921
29030
  (o(!0), h(D, null, A(i.gateways, (v) => (o(), k(m, {
28922
29031
  class: "gateway-selector",
@@ -28940,7 +29049,7 @@ function FF(e, t, n, r, s, i) {
28940
29049
  T("h5", null, b(i.gateway.title), 1),
28941
29050
  T("div", {
28942
29051
  innerHTML: i.gateway.instructions
28943
- }, null, 8, IF)
29052
+ }, null, 8, PF)
28944
29053
  ]),
28945
29054
  _: 1
28946
29055
  })
@@ -28951,7 +29060,7 @@ function FF(e, t, n, r, s, i) {
28951
29060
  ], 64)) : _("", !0)
28952
29061
  ], 64));
28953
29062
  }
28954
- const AF = /* @__PURE__ */ M(_F, [["render", FF], ["__scopeId", "data-v-b05c2ca1"]]), NF = {
29063
+ const RF = /* @__PURE__ */ M(xF, [["render", LF], ["__scopeId", "data-v-b05c2ca1"]]), UF = {
28955
29064
  name: "Signature",
28956
29065
  props: {
28957
29066
  modelValue: {
@@ -29101,10 +29210,10 @@ const AF = /* @__PURE__ */ M(_F, [["render", FF], ["__scopeId", "data-v-b05c2ca1
29101
29210
  return e.width = this.currentWidth, e.height = this.currentHeight, e.toDataURL();
29102
29211
  }
29103
29212
  }
29104
- }, $F = { class: "signature-container" }, PF = { class: "buttons" };
29105
- function LF(e, t, n, r, s, i) {
29213
+ }, jF = { class: "signature-container" }, qF = { class: "buttons" };
29214
+ function BF(e, t, n, r, s, i) {
29106
29215
  const a = y("ux-icon"), l = y("ux-button");
29107
- return o(), h("div", $F, [
29216
+ return o(), h("div", jF, [
29108
29217
  T("canvas", {
29109
29218
  ref: "canvas",
29110
29219
  class: "signature-canvas",
@@ -29116,7 +29225,7 @@ function LF(e, t, n, r, s, i) {
29116
29225
  onTouchmove: t[5] || (t[5] = (...u) => i.handleTouchMove && i.handleTouchMove(...u)),
29117
29226
  onTouchend: t[6] || (t[6] = (...u) => i.stopDrawing && i.stopDrawing(...u))
29118
29227
  }, null, 544),
29119
- T("div", PF, [
29228
+ T("div", qF, [
29120
29229
  c(l, {
29121
29230
  size: "sm",
29122
29231
  onClick: i.clearSignature
@@ -29133,9 +29242,9 @@ function LF(e, t, n, r, s, i) {
29133
29242
  ])
29134
29243
  ]);
29135
29244
  }
29136
- const RF = /* @__PURE__ */ M(NF, [["render", LF], ["__scopeId", "data-v-d6d646d4"]]), UF = {
29245
+ const zF = /* @__PURE__ */ M(UF, [["render", BF], ["__scopeId", "data-v-d6d646d4"]]), WF = {
29137
29246
  components: {
29138
- signature: RF
29247
+ signature: zF
29139
29248
  },
29140
29249
  props: {
29141
29250
  modelValue: {
@@ -29149,25 +29258,25 @@ const RF = /* @__PURE__ */ M(NF, [["render", LF], ["__scopeId", "data-v-d6d646d4
29149
29258
  return null;
29150
29259
  }
29151
29260
  }
29152
- }, jF = {
29261
+ }, HF = {
29153
29262
  key: 0,
29154
29263
  class: "ux-field-title"
29155
- }, qF = {
29264
+ }, GF = {
29156
29265
  key: 0,
29157
29266
  class: "ux-required-marker"
29158
- }, BF = {
29267
+ }, YF = {
29159
29268
  key: 1,
29160
29269
  class: "ux-field-description"
29161
- }, zF = { key: 2 };
29162
- function WF(e, t, n, r, s, i) {
29270
+ }, JF = { key: 2 };
29271
+ function KF(e, t, n, r, s, i) {
29163
29272
  const a = y("signature"), l = y("flex-cell"), u = y("ux-icon"), d = y("ux-button"), m = y("flex-row");
29164
29273
  return o(), h(D, null, [
29165
- e.showLabel ? (o(), h("label", jF, [
29274
+ e.showLabel ? (o(), h("label", HF, [
29166
29275
  O(b(e.label) + " ", 1),
29167
- e.required ? (o(), h("span", qF, "*")) : _("", !0)
29276
+ e.required ? (o(), h("span", GF, "*")) : _("", !0)
29168
29277
  ])) : _("", !0),
29169
- e.showDescription ? (o(), h("div", BF, b(e.description), 1)) : _("", !0),
29170
- e.multiValue ? (o(), h("div", zF, [
29278
+ e.showDescription ? (o(), h("div", YF, b(e.description), 1)) : _("", !0),
29279
+ e.multiValue ? (o(), h("div", JF, [
29171
29280
  (o(!0), h(D, null, A(e.model, (p, g) => (o(), k(m, {
29172
29281
  class: "ux-signature-row",
29173
29282
  gap: "",
@@ -29228,11 +29337,11 @@ function WF(e, t, n, r, s, i) {
29228
29337
  }, null, 8, ["onFocus", "modelValue"]))
29229
29338
  ], 64);
29230
29339
  }
29231
- const HF = /* @__PURE__ */ M(UF, [["render", WF], ["__scopeId", "data-v-afb76f23"]]);
29232
- function GF(e) {
29340
+ const ZF = /* @__PURE__ */ M(WF, [["render", KF], ["__scopeId", "data-v-afb76f23"]]);
29341
+ function XF(e) {
29233
29342
  return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
29234
29343
  }
29235
- const YF = {
29344
+ const QF = {
29236
29345
  props: {
29237
29346
  title: {
29238
29347
  type: String
@@ -29248,7 +29357,7 @@ const YF = {
29248
29357
  methods: {
29249
29358
  cleanOutput(e) {
29250
29359
  var t = this;
29251
- return GF(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
29360
+ return XF(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
29252
29361
  return t.getValue(n);
29253
29362
  }) : e = t.getValue(e), e;
29254
29363
  },
@@ -29318,37 +29427,37 @@ const YF = {
29318
29427
  return this.actualOptions || [];
29319
29428
  }
29320
29429
  }
29321
- }, JF = {
29430
+ }, eA = {
29322
29431
  key: 0,
29323
29432
  class: "ux-field-title"
29324
- }, KF = {
29433
+ }, tA = {
29325
29434
  key: 0,
29326
29435
  class: "ux-required-marker"
29327
- }, ZF = {
29436
+ }, nA = {
29328
29437
  key: 1,
29329
29438
  class: "ux-field-description"
29330
- }, XF = {
29439
+ }, iA = {
29331
29440
  key: 0,
29332
29441
  class: "ui-select-button"
29333
- }, QF = ["multiple"], eA = {
29442
+ }, rA = ["multiple"], sA = {
29334
29443
  key: 0,
29335
29444
  value: ""
29336
- }, tA = ["value"], nA = {
29445
+ }, aA = ["value"], lA = {
29337
29446
  key: 3,
29338
29447
  class: "ui-select-button"
29339
29448
  };
29340
- function iA(e, t, n, r, s, i) {
29449
+ function oA(e, t, n, r, s, i) {
29341
29450
  const a = y("ux-button");
29342
29451
  return o(), h("div", {
29343
29452
  class: $(["native-select", i.classes])
29344
29453
  }, [
29345
- e.showLabel ? (o(), h("label", JF, [
29454
+ e.showLabel ? (o(), h("label", eA, [
29346
29455
  O(b(e.label) + " ", 1),
29347
- e.required ? (o(), h("span", KF, "*")) : _("", !0)
29456
+ e.required ? (o(), h("span", tA, "*")) : _("", !0)
29348
29457
  ])) : _("", !0),
29349
- e.showDescription ? (o(), h("div", ZF, b(e.description), 1)) : _("", !0),
29458
+ e.showDescription ? (o(), h("div", nA, b(e.description), 1)) : _("", !0),
29350
29459
  i.selectableOptions.length ? (o(), h(D, { key: 2 }, [
29351
- e.singleValue ? (o(), h("div", XF, [
29460
+ e.singleValue ? (o(), h("div", iA, [
29352
29461
  z(e.$slots, "default", {}, () => [
29353
29462
  c(a, { tag: "div" }, {
29354
29463
  default: f(() => [
@@ -29363,14 +29472,14 @@ function iA(e, t, n, r, s, i) {
29363
29472
  multiple: e.multiValue,
29364
29473
  "onUpdate:modelValue": t[1] || (t[1] = (l) => e.model = l)
29365
29474
  }, [
29366
- e.singleValue && !e.minimum ? (o(), h("option", eA, "None")) : _("", !0),
29475
+ e.singleValue && !e.minimum ? (o(), h("option", sA, "None")) : _("", !0),
29367
29476
  (o(!0), h(D, null, A(i.selectableOptions, (l) => (o(), h("option", {
29368
29477
  value: l.value
29369
- }, b(l.title), 9, tA))), 256))
29370
- ], 40, QF), [
29478
+ }, b(l.title), 9, aA))), 256))
29479
+ ], 40, rA), [
29371
29480
  [Dt, e.model]
29372
29481
  ])
29373
- ], 64)) : (o(), h("div", nA, [
29482
+ ], 64)) : (o(), h("div", lA, [
29374
29483
  c(a, { tag: "div" }, {
29375
29484
  default: f(() => [
29376
29485
  O(" No valid routes ")
@@ -29380,11 +29489,11 @@ function iA(e, t, n, r, s, i) {
29380
29489
  ]))
29381
29490
  ], 2);
29382
29491
  }
29383
- const rA = /* @__PURE__ */ M(YF, [["render", iA], ["__scopeId", "data-v-a9c5a05f"]]);
29384
- function sA(e) {
29492
+ const uA = /* @__PURE__ */ M(QF, [["render", oA], ["__scopeId", "data-v-a9c5a05f"]]);
29493
+ function dA(e) {
29385
29494
  return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
29386
29495
  }
29387
- const aA = {
29496
+ const cA = {
29388
29497
  props: {
29389
29498
  title: {
29390
29499
  type: String
@@ -29400,7 +29509,7 @@ const aA = {
29400
29509
  methods: {
29401
29510
  cleanOutput(e) {
29402
29511
  var t = this;
29403
- return sA(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
29512
+ return dA(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
29404
29513
  return t.getValue(n);
29405
29514
  }) : e = t.getValue(e), e;
29406
29515
  },
@@ -29453,33 +29562,33 @@ const aA = {
29453
29562
  return this.actualOptions;
29454
29563
  }
29455
29564
  }
29456
- }, lA = {
29565
+ }, fA = {
29457
29566
  key: 0,
29458
29567
  class: "ux-field-title"
29459
- }, oA = {
29568
+ }, mA = {
29460
29569
  key: 0,
29461
29570
  class: "ux-required-marker"
29462
- }, uA = {
29571
+ }, hA = {
29463
29572
  key: 1,
29464
29573
  class: "ux-field-description"
29465
- }, dA = {
29574
+ }, pA = {
29466
29575
  key: 2,
29467
29576
  class: "ui-select-button"
29468
- }, cA = ["multiple"], fA = {
29577
+ }, yA = ["multiple"], gA = {
29469
29578
  key: 0,
29470
29579
  value: ""
29471
- }, mA = ["value"];
29472
- function hA(e, t, n, r, s, i) {
29580
+ }, _A = ["value"];
29581
+ function vA(e, t, n, r, s, i) {
29473
29582
  const a = y("ux-button");
29474
29583
  return o(), h("div", {
29475
29584
  class: $(["native-select", i.classes])
29476
29585
  }, [
29477
- e.showLabel ? (o(), h("label", lA, [
29586
+ e.showLabel ? (o(), h("label", fA, [
29478
29587
  O(b(e.label) + " ", 1),
29479
- e.required ? (o(), h("span", oA, "*")) : _("", !0)
29588
+ e.required ? (o(), h("span", mA, "*")) : _("", !0)
29480
29589
  ])) : _("", !0),
29481
- e.showDescription ? (o(), h("div", uA, b(e.description), 1)) : _("", !0),
29482
- e.singleValue ? (o(), h("div", dA, [
29590
+ e.showDescription ? (o(), h("div", hA, b(e.description), 1)) : _("", !0),
29591
+ e.singleValue ? (o(), h("div", pA, [
29483
29592
  z(e.$slots, "default", {}, () => [
29484
29593
  c(a, { tag: "div" }, {
29485
29594
  default: f(() => [
@@ -29494,16 +29603,16 @@ function hA(e, t, n, r, s, i) {
29494
29603
  multiple: e.multiValue,
29495
29604
  "onUpdate:modelValue": t[1] || (t[1] = (l) => e.model = l)
29496
29605
  }, [
29497
- e.singleValue && !e.minimum ? (o(), h("option", fA, "None")) : _("", !0),
29606
+ e.singleValue && !e.minimum ? (o(), h("option", gA, "None")) : _("", !0),
29498
29607
  (o(!0), h(D, null, A(i.selectableOptions, (l) => (o(), h("option", {
29499
29608
  value: l.value
29500
- }, b(l.title), 9, mA))), 256))
29501
- ], 40, cA), [
29609
+ }, b(l.title), 9, _A))), 256))
29610
+ ], 40, yA), [
29502
29611
  [Dt, e.model]
29503
29612
  ])
29504
29613
  ], 2);
29505
29614
  }
29506
- const pA = /* @__PURE__ */ M(aA, [["render", hA], ["__scopeId", "data-v-8801d1a0"]]), wn = {
29615
+ const bA = /* @__PURE__ */ M(cA, [["render", vA], ["__scopeId", "data-v-8801d1a0"]]), wn = {
29507
29616
  props: {
29508
29617
  options: {
29509
29618
  type: Object,
@@ -29531,7 +29640,7 @@ const pA = /* @__PURE__ */ M(aA, [["render", hA], ["__scopeId", "data-v-8801d1a0
29531
29640
  this.$emit("close", e);
29532
29641
  }
29533
29642
  }
29534
- }, yA = {
29643
+ }, kA = {
29535
29644
  data() {
29536
29645
  return {
29537
29646
  selection: {}
@@ -29655,15 +29764,15 @@ const pA = /* @__PURE__ */ M(aA, [["render", hA], ["__scopeId", "data-v-8801d1a0
29655
29764
  this.selection[e.path] = !this.selection[e.path], console.log(e);
29656
29765
  }
29657
29766
  }
29658
- }, gA = { class: "wrapper" }, _A = { class: "header" }, vA = ["onClick"], bA = { class: "font-sm font-muted" };
29659
- function kA(e, t, n, r, s, i) {
29767
+ }, wA = { class: "wrapper" }, xA = { class: "header" }, TA = ["onClick"], SA = { class: "font-sm font-muted" };
29768
+ function OA(e, t, n, r, s, i) {
29660
29769
  const a = y("flex-cell"), l = y("ux-button"), u = y("flex-row"), d = y("flex-header"), m = y("ux-checkbox"), p = y("flex-body"), g = y("flex-column");
29661
- return o(), h("div", gA, [
29770
+ return o(), h("div", wA, [
29662
29771
  c(g, null, {
29663
29772
  default: f(() => [
29664
29773
  c(d, null, {
29665
29774
  default: f(() => [
29666
- T("div", _A, [
29775
+ T("div", xA, [
29667
29776
  c(u, {
29668
29777
  gap: "",
29669
29778
  center: ""
@@ -29741,14 +29850,14 @@ function kA(e, t, n, r, s, i) {
29741
29850
  class: "font-muted"
29742
29851
  }, {
29743
29852
  default: f(() => [
29744
- T("div", bA, b(v.path), 1)
29853
+ T("div", SA, b(v.path), 1)
29745
29854
  ]),
29746
29855
  _: 2
29747
29856
  }, 1024)
29748
29857
  ]),
29749
29858
  _: 2
29750
29859
  }, 1024)
29751
- ], 14, vA))), 256))
29860
+ ], 14, TA))), 256))
29752
29861
  ]),
29753
29862
  _: 1
29754
29863
  })
@@ -29757,7 +29866,7 @@ function kA(e, t, n, r, s, i) {
29757
29866
  })
29758
29867
  ]);
29759
29868
  }
29760
- const wA = /* @__PURE__ */ M(yA, [["render", kA], ["__scopeId", "data-v-192c1fbd"]]), xA = {
29869
+ const DA = /* @__PURE__ */ M(kA, [["render", OA], ["__scopeId", "data-v-192c1fbd"]]), CA = {
29761
29870
  props: {
29762
29871
  modelValue: {
29763
29872
  type: Object
@@ -29796,7 +29905,7 @@ const wA = /* @__PURE__ */ M(yA, [["render", kA], ["__scopeId", "data-v-192c1fbd
29796
29905
  methods: {
29797
29906
  async openModal() {
29798
29907
  const e = this, t = await e.$sdk.modal({
29799
- component: wA,
29908
+ component: DA,
29800
29909
  options: {
29801
29910
  definition: e.definition
29802
29911
  }
@@ -29804,10 +29913,10 @@ const wA = /* @__PURE__ */ M(yA, [["render", kA], ["__scopeId", "data-v-192c1fbd
29804
29913
  t.length && e.addFields && e.addFields(t);
29805
29914
  }
29806
29915
  }
29807
- }, TA = { key: 0 };
29808
- function SA(e, t, n, r, s, i) {
29916
+ }, EA = { key: 0 };
29917
+ function MA(e, t, n, r, s, i) {
29809
29918
  const a = y("ux-icon"), l = y("ux-button");
29810
- return i.definition ? (o(), h("div", TA, [
29919
+ return i.definition ? (o(), h("div", EA, [
29811
29920
  c(l, {
29812
29921
  color: "primary",
29813
29922
  onClick: i.openModal
@@ -29820,7 +29929,7 @@ function SA(e, t, n, r, s, i) {
29820
29929
  }, 8, ["onClick"])
29821
29930
  ])) : _("", !0);
29822
29931
  }
29823
- const OA = /* @__PURE__ */ M(xA, [["render", SA]]);
29932
+ const VA = /* @__PURE__ */ M(CA, [["render", MA]]);
29824
29933
  function Ra(e) {
29825
29934
  switch (String(e).toLowerCase()) {
29826
29935
  case "true":
@@ -29853,7 +29962,7 @@ function Zn(e, t, n, r, s, i) {
29853
29962
  }
29854
29963
  return t;
29855
29964
  }
29856
- function DA(e, t) {
29965
+ function IA(e, t) {
29857
29966
  function n(g) {
29858
29967
  return g === void 0 || typeof g > "u" || g === null;
29859
29968
  }
@@ -30000,7 +30109,7 @@ function Ee(e) {
30000
30109
  return Mt.evaluateExpression(n, r);
30001
30110
  };
30002
30111
  }
30003
- const CA = {
30112
+ const FA = {
30004
30113
  emits: [
30005
30114
  "field:mount",
30006
30115
  "field:unmount",
@@ -30014,10 +30123,10 @@ const CA = {
30014
30123
  "update:modelValue"
30015
30124
  ],
30016
30125
  components: {
30017
- InternalRouteSelect: rA,
30018
- InternalMenuSelect: pA,
30019
- InternalFieldCreator: OA,
30020
- ButtonSelect: DV,
30126
+ InternalRouteSelect: uA,
30127
+ InternalMenuSelect: bA,
30128
+ InternalFieldCreator: VA,
30129
+ ButtonSelect: IV,
30021
30130
  NativeSelect: It,
30022
30131
  DateField: gh,
30023
30132
  TimeField: _h,
@@ -30034,7 +30143,7 @@ const CA = {
30034
30143
  ColorInput: UM,
30035
30144
  CustomHtml: EC,
30036
30145
  BooleanSwitch: HM,
30037
- FieldGroup: yV,
30146
+ FieldGroup: kV,
30038
30147
  ContentSelect: mh,
30039
30148
  ContentSearch: VO,
30040
30149
  ValueSearch: zO,
@@ -30045,15 +30154,15 @@ const CA = {
30045
30154
  CountrySelect: Ql,
30046
30155
  PhoneNumberInput: QT,
30047
30156
  Upload: rV,
30048
- Signature: HF,
30049
- ObjectField: NV,
30050
- ModelField: zV,
30051
- OptionsManager: uI,
30052
- CodeEditorField: _I,
30053
- LocationField: JI,
30054
- ExpressionField: rF,
30055
- RichTextField: yF,
30056
- PaymentField: AF
30157
+ Signature: ZF,
30158
+ ObjectField: UV,
30159
+ ModelField: JV,
30160
+ OptionsManager: hI,
30161
+ CodeEditorField: xI,
30162
+ LocationField: eF,
30163
+ ExpressionField: uF,
30164
+ RichTextField: kF,
30165
+ PaymentField: RF
30057
30166
  },
30058
30167
  props: {
30059
30168
  trail: {
@@ -30189,7 +30298,7 @@ const CA = {
30189
30298
  var e = this.expressions && this.expressions.value ? this.getExpressionValue : void 0;
30190
30299
  if (e)
30191
30300
  return e;
30192
- var t = this.expressions && this.expressions.defaultValue ? this.getExpressionDefaultValue : void 0, n = DA(this.actualField), r = this.cleanInput(
30301
+ var t = this.expressions && this.expressions.defaultValue ? this.getExpressionDefaultValue : void 0, n = IA(this.actualField), r = this.cleanInput(
30193
30302
  t || n
30194
30303
  );
30195
30304
  if ((s = this.field) != null && s.assumeDefault) {
@@ -30588,11 +30697,11 @@ const CA = {
30588
30697
  return e;
30589
30698
  }
30590
30699
  }
30591
- }, EA = {
30700
+ }, AA = {
30592
30701
  key: 2,
30593
30702
  class: "ux-field-message"
30594
30703
  };
30595
- function MA(e, t, n, r, s, i) {
30704
+ function NA(e, t, n, r, s, i) {
30596
30705
  const a = y("text-field"), l = y("key-field"), u = y("internal-route-select"), d = y("internal-menu-select"), m = y("internal-field-creator"), p = y("custom-html"), g = y("slider-input"), v = y("color-input"), x = y("filter-input"), w = y("date-object-input"), S = y("signature"), C = y("checkbox"), V = y("boolean-switch"), R = y("upload"), G = y("field-group"), X = y("field-select"), ne = y("native-select"), I = y("button-select"), H = y("currency-field"), q = y("form-relationship-field"), Q = y("date-field"), Y = y("time-field"), he = y("date-range"), ee = y("content-select"), me = y("content-search"), ke = y("value-search"), Se = y("type-select"), lt = y("scope-select"), Qe = y("rich-text-field"), At = y("text-area"), pt = y("timezone-select"), et = y("country-select"), Tt = y("phone-number-input"), Ae = y("object-field"), j = y("model-field"), N = y("payment-field"), tt = y("options-manager"), Nt = y("code-editor-field"), Ne = y("flex-column"), pe = y("location-field"), tn = y("expression-field");
30597
30706
  return i.visible ? (o(), h("div", {
30598
30707
  key: 0,
@@ -30946,12 +31055,12 @@ function MA(e, t, n, r, s, i) {
30946
31055
  "onUpdate:modelValue": t[42] || (t[42] = (F) => i.fieldModel = F)
30947
31056
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0)
30948
31057
  ], 64)),
30949
- i.error && s.validateResults.message ? (o(), h("div", EA, b(s.validateResults.message), 1)) : _("", !0)
31058
+ i.error && s.validateResults.message ? (o(), h("div", AA, b(s.validateResults.message), 1)) : _("", !0)
30950
31059
  ], 34)) : _("", !0);
30951
31060
  }
30952
- const ao = /* @__PURE__ */ M(CA, [["render", MA], ["__scopeId", "data-v-fa5cb6bf"]]);
31061
+ const ao = /* @__PURE__ */ M(FA, [["render", NA], ["__scopeId", "data-v-fa5cb6bf"]]);
30953
31062
  var Ua, Ic;
30954
- function VA() {
31063
+ function $A() {
30955
31064
  if (Ic) return Ua;
30956
31065
  Ic = 1;
30957
31066
  function e(t, n, r, s) {
@@ -30963,7 +31072,7 @@ function VA() {
30963
31072
  return Ua = e, Ua;
30964
31073
  }
30965
31074
  var ja, Fc;
30966
- function IA() {
31075
+ function PA() {
30967
31076
  if (Fc) return ja;
30968
31077
  Fc = 1;
30969
31078
  function e(t) {
@@ -30974,10 +31083,10 @@ function IA() {
30974
31083
  return ja = e, ja;
30975
31084
  }
30976
31085
  var qa, Ac;
30977
- function FA() {
31086
+ function LA() {
30978
31087
  if (Ac) return qa;
30979
31088
  Ac = 1;
30980
- var e = IA(), t = {
31089
+ var e = PA(), t = {
30981
31090
  // Latin-1 Supplement block.
30982
31091
  À: "A",
30983
31092
  Á: "A",
@@ -31174,17 +31283,17 @@ function FA() {
31174
31283
  return qa = n, qa;
31175
31284
  }
31176
31285
  var Ba, Nc;
31177
- function AA() {
31286
+ function RA() {
31178
31287
  if (Nc) return Ba;
31179
31288
  Nc = 1;
31180
- var e = FA(), t = Wl(), n = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, r = "\\u0300-\\u036f", s = "\\ufe20-\\ufe2f", i = "\\u20d0-\\u20ff", a = r + s + i, l = "[" + a + "]", u = RegExp(l, "g");
31289
+ var e = LA(), t = Wl(), n = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, r = "\\u0300-\\u036f", s = "\\ufe20-\\ufe2f", i = "\\u20d0-\\u20ff", a = r + s + i, l = "[" + a + "]", u = RegExp(l, "g");
31181
31290
  function d(m) {
31182
31291
  return m = t(m), m && m.replace(n, e).replace(u, "");
31183
31292
  }
31184
31293
  return Ba = d, Ba;
31185
31294
  }
31186
31295
  var za, $c;
31187
- function NA() {
31296
+ function UA() {
31188
31297
  if ($c) return za;
31189
31298
  $c = 1;
31190
31299
  var e = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
@@ -31194,7 +31303,7 @@ function NA() {
31194
31303
  return za = t, za;
31195
31304
  }
31196
31305
  var Wa, Pc;
31197
- function $A() {
31306
+ function jA() {
31198
31307
  if (Pc) return Wa;
31199
31308
  Pc = 1;
31200
31309
  var e = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
@@ -31204,7 +31313,7 @@ function $A() {
31204
31313
  return Wa = t, Wa;
31205
31314
  }
31206
31315
  var Ha, Lc;
31207
- function PA() {
31316
+ function qA() {
31208
31317
  if (Lc) return Ha;
31209
31318
  Lc = 1;
31210
31319
  var e = "\\ud800-\\udfff", t = "\\u0300-\\u036f", n = "\\ufe20-\\ufe2f", r = "\\u20d0-\\u20ff", s = t + n + r, i = "\\u2700-\\u27bf", a = "a-z\\xdf-\\xf6\\xf8-\\xff", l = "\\xac\\xb1\\xd7\\xf7", u = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", d = "\\u2000-\\u206f", m = " \\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", p = "A-Z\\xc0-\\xd6\\xd8-\\xde", g = "\\ufe0e\\ufe0f", v = l + u + d + m, x = "['’]", w = "[" + v + "]", S = "[" + s + "]", C = "\\d+", V = "[" + i + "]", R = "[" + a + "]", G = "[^" + e + v + C + i + a + p + "]", X = "\\ud83c[\\udffb-\\udfff]", ne = "(?:" + S + "|" + X + ")", I = "[^" + e + "]", H = "(?:\\ud83c[\\udde6-\\uddff]){2}", q = "[\\ud800-\\udbff][\\udc00-\\udfff]", Q = "[" + p + "]", Y = "\\u200d", he = "(?:" + R + "|" + G + ")", ee = "(?:" + Q + "|" + G + ")", me = "(?:" + x + "(?:d|ll|m|re|s|t|ve))?", ke = "(?:" + x + "(?:D|LL|M|RE|S|T|VE))?", Se = ne + "?", lt = "[" + g + "]?", Qe = "(?:" + Y + "(?:" + [I, H, q].join("|") + ")" + lt + Se + ")*", At = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", pt = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", et = lt + Se + Qe, Tt = "(?:" + [V, H, q].join("|") + ")" + et, Ae = RegExp([
@@ -31223,20 +31332,20 @@ function PA() {
31223
31332
  return Ha = j, Ha;
31224
31333
  }
31225
31334
  var Ga, Rc;
31226
- function LA() {
31335
+ function BA() {
31227
31336
  if (Rc) return Ga;
31228
31337
  Rc = 1;
31229
- var e = NA(), t = $A(), n = Wl(), r = PA();
31338
+ var e = UA(), t = jA(), n = Wl(), r = qA();
31230
31339
  function s(i, a, l) {
31231
31340
  return i = n(i), a = l ? void 0 : a, a === void 0 ? t(i) ? r(i) : e(i) : i.match(a) || [];
31232
31341
  }
31233
31342
  return Ga = s, Ga;
31234
31343
  }
31235
31344
  var Ya, Uc;
31236
- function RA() {
31345
+ function zA() {
31237
31346
  if (Uc) return Ya;
31238
31347
  Uc = 1;
31239
- var e = VA(), t = AA(), n = LA(), r = "['’]", s = RegExp(r, "g");
31348
+ var e = $A(), t = RA(), n = BA(), r = "['’]", s = RegExp(r, "g");
31240
31349
  function i(a) {
31241
31350
  return function(l) {
31242
31351
  return e(n(t(l).replace(s, "")), a, "");
@@ -31245,16 +31354,16 @@ function RA() {
31245
31354
  return Ya = i, Ya;
31246
31355
  }
31247
31356
  var Ja, jc;
31248
- function UA() {
31357
+ function WA() {
31249
31358
  if (jc) return Ja;
31250
31359
  jc = 1;
31251
- var e = RA(), t = e(function(n, r, s) {
31360
+ var e = zA(), t = e(function(n, r, s) {
31252
31361
  return n + (s ? "-" : "") + r.toLowerCase();
31253
31362
  });
31254
31363
  return Ja = t, Ja;
31255
31364
  }
31256
- var jA = UA();
31257
- const qA = /* @__PURE__ */ Kt(jA), BA = {
31365
+ var HA = WA();
31366
+ const GA = /* @__PURE__ */ Kt(HA), YA = {
31258
31367
  emits: [
31259
31368
  "field:unmount",
31260
31369
  "field:mount",
@@ -31423,7 +31532,7 @@ const qA = /* @__PURE__ */ Kt(jA), BA = {
31423
31532
  };
31424
31533
  },
31425
31534
  getFieldKey(e) {
31426
- let t = qA(`${e.title}-${e.key}`);
31535
+ let t = GA(`${e.title}-${e.key}`);
31427
31536
  return e.incrementor && (t = `${t}-${e.incrementor}`), t;
31428
31537
  },
31429
31538
  touch() {
@@ -31514,7 +31623,7 @@ const qA = /* @__PURE__ */ Kt(jA), BA = {
31514
31623
  }
31515
31624
  }
31516
31625
  };
31517
- function zA(e, t, n, r, s, i) {
31626
+ function JA(e, t, n, r, s, i) {
31518
31627
  const a = y("ux-field");
31519
31628
  return o(), h("div", {
31520
31629
  class: $(["ux-form", i.formClass])
@@ -31553,7 +31662,7 @@ function zA(e, t, n, r, s, i) {
31553
31662
  z(e.$slots, "below", { model: i.formModel }, void 0, !0)
31554
31663
  ], 2);
31555
31664
  }
31556
- const Ch = /* @__PURE__ */ M(BA, [["render", zA], ["__scopeId", "data-v-e6afec75"]]), Ka = "form.ready", WA = "form.processing", qc = "form.complete", Bc = "form.error", HA = "form.intent", GA = {
31665
+ const Ch = /* @__PURE__ */ M(YA, [["render", JA], ["__scopeId", "data-v-e6afec75"]]), Ka = "form.ready", KA = "form.processing", qc = "form.complete", Bc = "form.error", ZA = "form.intent", XA = {
31557
31666
  emits: ["reset", "processing", "intent", "success", "error"],
31558
31667
  methods: {
31559
31668
  multiFormStateUpdated(e, t) {
@@ -31605,7 +31714,7 @@ const Ch = /* @__PURE__ */ M(BA, [["render", zA], ["__scopeId", "data-v-e6afec75
31605
31714
  console.log("Form is invalid", this.invalidFields);
31606
31715
  return;
31607
31716
  }
31608
- e.processing = !0, e.state = WA, e.$emit("processing");
31717
+ e.processing = !0, e.state = KA, e.$emit("processing");
31609
31718
  const { submission: t, error: n } = await e.preSubmit(e.model);
31610
31719
  if (n)
31611
31720
  return console.log("pre submit error", n), u(n);
@@ -31638,7 +31747,7 @@ const Ch = /* @__PURE__ */ M(BA, [["render", zA], ["__scopeId", "data-v-e6afec75
31638
31747
  );
31639
31748
  break;
31640
31749
  }
31641
- e.state = HA, e.processing = !1, e.$emit("intent", d);
31750
+ e.state = ZA, e.processing = !1, e.$emit("intent", d);
31642
31751
  }
31643
31752
  async function l(d) {
31644
31753
  await e.postSubmit(d), e.processing = !1, e.state = qc, e.$emit("success", d);
@@ -31814,8 +31923,8 @@ const Ch = /* @__PURE__ */ M(BA, [["render", zA], ["__scopeId", "data-v-e6afec75
31814
31923
  computed: {
31815
31924
  selectedGateway() {
31816
31925
  var t, n, r, s;
31817
- if ((n = (t = this.submission) == null ? void 0 : t._payment) != null && n.gateway)
31818
- return (s = (r = this.submission) == null ? void 0 : r._payment) == null ? void 0 : s.gateway;
31926
+ if ((n = (t = this.model) == null ? void 0 : t._payment) != null && n.gateway)
31927
+ return (s = (r = this.model) == null ? void 0 : r._payment) == null ? void 0 : s.gateway;
31819
31928
  const e = this.gateways.filter(Boolean);
31820
31929
  if (e.length === 1)
31821
31930
  return e[0];
@@ -31937,12 +32046,17 @@ const Ch = /* @__PURE__ */ M(BA, [["render", zA], ["__scopeId", "data-v-e6afec75
31937
32046
  return this.buttonDisabled ? "Please check the errors in your form" : void 0;
31938
32047
  },
31939
32048
  buttonDisabled() {
31940
- return this.preview ? !0 : this.noGatewaySelectedButPaymentIsRequired ? (console.error(
32049
+ return this.preview ? !0 : this.noGatewaySelectedButPaymentIsRequired ? (console.log(
32050
+ "NO GATEWAY SELECTED",
32051
+ this.total,
32052
+ this.gateways,
32053
+ this.selectedGateway
32054
+ ), console.error(
31941
32055
  "Error: There is no payment gateway selected but payment is required"
31942
32056
  ), !0) : this.submitAttempted && this.invalid;
31943
32057
  },
31944
32058
  noGatewaySelectedButPaymentIsRequired() {
31945
- return this.total ? !this.selectedGateway : !1;
32059
+ return !(!this.total || this.selectedGateway);
31946
32060
  },
31947
32061
  invalid() {
31948
32062
  var t;
@@ -31961,14 +32075,14 @@ const Ch = /* @__PURE__ */ M(BA, [["render", zA], ["__scopeId", "data-v-e6afec75
31961
32075
  return ((e = this.form) == null ? void 0 : e.fields) || [];
31962
32076
  }
31963
32077
  }
31964
- }, Eh = (e) => (je("data-v-b859ef09"), e = e(), qe(), e), YA = /* @__PURE__ */ Eh(() => /* @__PURE__ */ T("h3", null, "An error occurred", -1)), JA = { key: 0 }, KA = { key: 1 }, ZA = { key: 2 }, XA = { class: "intent-submit" }, QA = {
32078
+ }, Eh = (e) => (je("data-v-2d75efd5"), e = e(), qe(), e), QA = /* @__PURE__ */ Eh(() => /* @__PURE__ */ T("h3", null, "An error occurred", -1)), eN = { key: 0 }, tN = { key: 1 }, nN = { key: 2 }, iN = { class: "intent-submit" }, rN = {
31965
32079
  key: 0,
31966
32080
  class: "multistep-form"
31967
- }, eN = { class: "multistep-form-sections" }, tN = { class: "multistep-fields" }, nN = { class: "multistep-controls" }, iN = ["tooltip"], rN = ["tooltip"], sN = { class: "multistep-progress" }, aN = {
32081
+ }, sN = { class: "multistep-form-sections" }, aN = { class: "multistep-fields" }, lN = { class: "multistep-controls" }, oN = ["tooltip"], uN = ["tooltip"], dN = { class: "multistep-progress" }, cN = {
31968
32082
  key: 0,
31969
32083
  class: "invalid-field-message"
31970
- }, lN = /* @__PURE__ */ Eh(() => /* @__PURE__ */ T("h5", null, "Please fix the issues below to continue", -1)), oN = ["tooltip"];
31971
- function uN(e, t, n, r, s, i) {
32084
+ }, fN = /* @__PURE__ */ Eh(() => /* @__PURE__ */ T("h5", null, "Please fix the issues below to continue", -1)), mN = ["tooltip"];
32085
+ function hN(e, t, n, r, s, i) {
31972
32086
  const a = y("ux-icon"), l = y("ux-button"), u = y("ux-panel-body"), d = y("ux-panel"), m = y("StripeElement"), p = y("StripeElements"), g = y("ux-form"), v = y("flex-cell"), x = y("flex-row"), w = y("ux-progress-bar");
31973
32087
  return o(), h("div", {
31974
32088
  class: $(["ux-submission-form", i.classes])
@@ -31976,13 +32090,13 @@ function uN(e, t, n, r, s, i) {
31976
32090
  s.state === "form.error" ? z(e.$slots, "error", ff(mt({ key: 0 }, { error: s.error, softReset: i.softReset })), () => {
31977
32091
  var S;
31978
32092
  return [
31979
- YA,
31980
- s.error.message ? (o(), h("pre", JA, b(s.error.message), 1)) : _("", !0),
31981
- (S = s.error.data) != null && S.errors ? (o(), h("div", KA, [
32093
+ QA,
32094
+ s.error.message ? (o(), h("pre", eN, b(s.error.message), 1)) : _("", !0),
32095
+ (S = s.error.data) != null && S.errors ? (o(), h("div", tN, [
31982
32096
  (o(!0), h(D, null, A(s.error.data.errors, (C) => (o(), h("pre", {
31983
32097
  key: C.path
31984
32098
  }, b(C.message), 1))), 128))
31985
- ])) : (o(), h("pre", ZA, b(s.error), 1)),
32099
+ ])) : (o(), h("pre", nN, b(s.error), 1)),
31986
32100
  c(l, {
31987
32101
  color: "primary",
31988
32102
  onClick: i.softReset
@@ -32037,7 +32151,7 @@ function uN(e, t, n, r, s, i) {
32037
32151
  ]),
32038
32152
  _: 1
32039
32153
  }, 8, ["stripe-key", "instance-options", "elements-options"])) : _("", !0),
32040
- T("div", XA, [
32154
+ T("div", iN, [
32041
32155
  c(l, {
32042
32156
  color: "primary",
32043
32157
  loading: s.processing,
@@ -32051,8 +32165,8 @@ function uN(e, t, n, r, s, i) {
32051
32165
  ])
32052
32166
  ], 64)) : _("", !0)
32053
32167
  ], 64)) : (o(), h(D, { key: 3 }, [
32054
- n.multistep ? (o(), h("div", QA, [
32055
- T("div", eN, [
32168
+ n.multistep ? (o(), h("div", rN, [
32169
+ T("div", sN, [
32056
32170
  (o(!0), h(D, null, A(i.pages, (S, C) => (o(), h("div", {
32057
32171
  class: $(["multistep-form-section", {
32058
32172
  inactive: C !== i.currentPage,
@@ -32061,7 +32175,7 @@ function uN(e, t, n, r, s, i) {
32061
32175
  active: C === i.currentPage
32062
32176
  }])
32063
32177
  }, [
32064
- T("div", tN, [
32178
+ T("div", aN, [
32065
32179
  c(g, {
32066
32180
  step: C + 1,
32067
32181
  submission: "",
@@ -32075,7 +32189,7 @@ function uN(e, t, n, r, s, i) {
32075
32189
  fields: [S]
32076
32190
  }, null, 8, ["step", "sandbox", "paymentConfiguration", "modelValue", "onForm:state", "fields"])
32077
32191
  ]),
32078
- T("div", nN, [
32192
+ T("div", lN, [
32079
32193
  c(x, {
32080
32194
  gap: "",
32081
32195
  center: ""
@@ -32122,7 +32236,7 @@ function uN(e, t, n, r, s, i) {
32122
32236
  ]),
32123
32237
  _: 1
32124
32238
  }, 8, ["onClick", "disabled"])
32125
- ], 8, iN)
32239
+ ], 8, oN)
32126
32240
  ]),
32127
32241
  _: 1
32128
32242
  })) : _("", !0),
@@ -32143,7 +32257,7 @@ function uN(e, t, n, r, s, i) {
32143
32257
  ]),
32144
32258
  _: 1
32145
32259
  }, 8, ["disabled", "onClick", "loading"])
32146
- ], 8, rN)
32260
+ ], 8, uN)
32147
32261
  ]),
32148
32262
  _: 1
32149
32263
  })) : _("", !0)
@@ -32153,7 +32267,7 @@ function uN(e, t, n, r, s, i) {
32153
32267
  ])
32154
32268
  ], 2))), 256))
32155
32269
  ]),
32156
- T("div", sN, [
32270
+ T("div", dN, [
32157
32271
  O(b(i.displayCurrentPage) + " of " + b(i.displayTotalPages) + " ", 1),
32158
32272
  c(w, { value: i.displayPercentage }, null, 8, ["value"])
32159
32273
  ])
@@ -32168,8 +32282,8 @@ function uN(e, t, n, r, s, i) {
32168
32282
  "onForm:state": i.formStateUpdated,
32169
32283
  fields: i.formFields
32170
32284
  }, null, 8, ["sandbox", "paymentConfiguration", "modelValue", "onForm:state", "fields"]),
32171
- i.invalidFields.length ? (o(), h("div", aN, [
32172
- lN,
32285
+ i.invalidFields.length ? (o(), h("div", cN, [
32286
+ fN,
32173
32287
  (o(!0), h(D, null, A(i.invalidFields, (S) => (o(), h("div", {
32174
32288
  key: S.key
32175
32289
  }, b(S.message || `Please provide a valid answer for ${S.title}`), 1))), 128))
@@ -32186,12 +32300,12 @@ function uN(e, t, n, r, s, i) {
32186
32300
  ]),
32187
32301
  _: 1
32188
32302
  }, 8, ["disabled", "onClick", "loading"])
32189
- ], 8, oN)
32303
+ ], 8, mN)
32190
32304
  ], 64))
32191
32305
  ], 64))
32192
32306
  ], 2);
32193
32307
  }
32194
- const dN = /* @__PURE__ */ M(GA, [["render", uN], ["__scopeId", "data-v-b859ef09"]]), cN = "init", zc = "ready", fN = "processing", mN = "success", hN = "error", pN = {
32308
+ const pN = /* @__PURE__ */ M(XA, [["render", hN], ["__scopeId", "data-v-2d75efd5"]]), yN = "init", zc = "ready", gN = "processing", _N = "success", vN = "error", bN = {
32195
32309
  name: "PaymentMethodForm",
32196
32310
  components: {
32197
32311
  StripeElements: mm,
@@ -32295,7 +32409,7 @@ const dN = /* @__PURE__ */ M(GA, [["render", uN], ["__scopeId", "data-v-b859ef09
32295
32409
  data() {
32296
32410
  return {
32297
32411
  initialised: !1,
32298
- state: cN,
32412
+ state: yN,
32299
32413
  cardholderName: "",
32300
32414
  processing: !1,
32301
32415
  error: null,
@@ -32345,7 +32459,7 @@ const dN = /* @__PURE__ */ M(GA, [["render", uN], ["__scopeId", "data-v-b859ef09
32345
32459
  async submitPaymentMethod() {
32346
32460
  const e = this;
32347
32461
  if (!e.processing) {
32348
- e.processing = !0, e.state = fN, e.cardError = null;
32462
+ e.processing = !0, e.state = gN, e.cardError = null;
32349
32463
  try {
32350
32464
  const t = await e.startSetup(), { setupIntent: n, key: r, method: s } = t, i = e.$refs.stripeElements, a = e.$refs.stripeCard;
32351
32465
  if (!i || !a)
@@ -32371,9 +32485,9 @@ const dN = /* @__PURE__ */ M(GA, [["render", uN], ["__scopeId", "data-v-b859ef09
32371
32485
  if (u)
32372
32486
  throw console.log("Confirmation Error", u), u;
32373
32487
  const d = await e.confirmSetup(s._id);
32374
- e.$emit("success", d.method), e.state = mN;
32488
+ e.$emit("success", d.method), e.state = _N;
32375
32489
  } catch (t) {
32376
- console.error("Error saving payment method:", t), this.error = t, this.state = hN, this.$emit("error", t);
32490
+ console.error("Error saving payment method:", t), this.error = t, this.state = vN, this.$emit("error", t);
32377
32491
  } finally {
32378
32492
  this.processing = !1;
32379
32493
  }
@@ -32406,28 +32520,28 @@ const dN = /* @__PURE__ */ M(GA, [["render", uN], ["__scopeId", "data-v-b859ef09
32406
32520
  this.resetForm(), this.$emit("close");
32407
32521
  }
32408
32522
  }
32409
- }, lo = (e) => (je("data-v-e3ee591f"), e = e(), qe(), e), yN = {
32523
+ }, lo = (e) => (je("data-v-e3ee591f"), e = e(), qe(), e), kN = {
32410
32524
  key: 0,
32411
32525
  class: "payment-method"
32412
- }, gN = { class: "payment-method-form" }, _N = /* @__PURE__ */ lo(() => /* @__PURE__ */ T("h3", null, "Add Payment Method", -1)), vN = {
32526
+ }, wN = { class: "payment-method-form" }, xN = /* @__PURE__ */ lo(() => /* @__PURE__ */ T("h3", null, "Add Payment Method", -1)), TN = {
32413
32527
  key: 0,
32414
32528
  class: "error-message"
32415
- }, bN = /* @__PURE__ */ lo(() => /* @__PURE__ */ T("h4", null, "An error occurred", -1)), kN = { key: 0 }, wN = { key: 1 }, xN = {
32529
+ }, SN = /* @__PURE__ */ lo(() => /* @__PURE__ */ T("h4", null, "An error occurred", -1)), ON = { key: 0 }, DN = { key: 1 }, CN = {
32416
32530
  key: 1,
32417
32531
  class: "success-message"
32418
- }, TN = /* @__PURE__ */ lo(() => /* @__PURE__ */ T("h4", null, "Payment method added successfully!", -1)), SN = { key: 2 }, ON = {
32532
+ }, EN = /* @__PURE__ */ lo(() => /* @__PURE__ */ T("h4", null, "Payment method added successfully!", -1)), MN = { key: 2 }, VN = {
32419
32533
  key: 0,
32420
32534
  id: "card-errors",
32421
32535
  class: "error-text"
32422
- }, DN = { class: "form-actions" }, CN = { key: 1 };
32423
- function EN(e, t, n, r, s, i) {
32536
+ }, IN = { class: "form-actions" }, FN = { key: 1 };
32537
+ function AN(e, t, n, r, s, i) {
32424
32538
  const a = y("ux-icon"), l = y("ux-button"), u = y("ux-form"), d = y("StripeElement"), m = y("StripeElements"), p = y("ux-field-wrapper");
32425
- return i.allSetup ? (o(), h("div", yN, [
32426
- T("div", gN, [
32427
- _N,
32428
- s.state === "error" ? (o(), h("div", vN, [
32429
- bN,
32430
- s.error.message ? (o(), h("div", kN, b(s.error.message), 1)) : (o(), h("div", wN, b(s.error), 1)),
32539
+ return i.allSetup ? (o(), h("div", kN, [
32540
+ T("div", wN, [
32541
+ xN,
32542
+ s.state === "error" ? (o(), h("div", TN, [
32543
+ SN,
32544
+ s.error.message ? (o(), h("div", ON, b(s.error.message), 1)) : (o(), h("div", DN, b(s.error), 1)),
32431
32545
  c(l, {
32432
32546
  color: "primary",
32433
32547
  onClick: i.resetForm
@@ -32441,8 +32555,8 @@ function EN(e, t, n, r, s, i) {
32441
32555
  ]),
32442
32556
  _: 1
32443
32557
  }, 8, ["onClick"])
32444
- ])) : s.state === "success" ? (o(), h("div", xN, [
32445
- TN,
32558
+ ])) : s.state === "success" ? (o(), h("div", CN, [
32559
+ EN,
32446
32560
  c(l, {
32447
32561
  color: "primary",
32448
32562
  onClick: i.close
@@ -32456,7 +32570,7 @@ function EN(e, t, n, r, s, i) {
32456
32570
  ]),
32457
32571
  _: 1
32458
32572
  }, 8, ["onClick"])
32459
- ])) : (o(), h("div", SN, [
32573
+ ])) : (o(), h("div", MN, [
32460
32574
  T("form", {
32461
32575
  onSubmit: t[1] || (t[1] = B((...g) => i.submitPaymentMethod && i.submitPaymentMethod(...g), ["prevent", "stop"]))
32462
32576
  }, [
@@ -32485,11 +32599,11 @@ function EN(e, t, n, r, s, i) {
32485
32599
  ]),
32486
32600
  _: 1
32487
32601
  }, 8, ["stripe-key", "instance-options", "elements-options"])),
32488
- s.cardError ? (o(), h("div", ON, b(s.cardError), 1)) : _("", !0)
32602
+ s.cardError ? (o(), h("div", VN, b(s.cardError), 1)) : _("", !0)
32489
32603
  ]),
32490
32604
  _: 1
32491
32605
  }),
32492
- T("div", DN, [
32606
+ T("div", IN, [
32493
32607
  c(l, {
32494
32608
  type: "button",
32495
32609
  color: "secondary",
@@ -32516,9 +32630,9 @@ function EN(e, t, n, r, s, i) {
32516
32630
  ], 32)
32517
32631
  ]))
32518
32632
  ])
32519
- ])) : (o(), h("div", CN, "Initialising secure payment form..."));
32633
+ ])) : (o(), h("div", FN, "Initialising secure payment form..."));
32520
32634
  }
32521
- const MN = /* @__PURE__ */ M(pN, [["render", EN], ["__scopeId", "data-v-e3ee591f"]]), VN = {
32635
+ const NN = /* @__PURE__ */ M(bN, [["render", AN], ["__scopeId", "data-v-e3ee591f"]]), $N = {
32522
32636
  name: "UxFieldWrapper",
32523
32637
  props: {
32524
32638
  title: {
@@ -32540,23 +32654,23 @@ const MN = /* @__PURE__ */ M(pN, [["render", EN], ["__scopeId", "data-v-e3ee591f
32540
32654
  return this.error && e.push("ux-field-error"), e;
32541
32655
  }
32542
32656
  }
32543
- }, IN = {
32657
+ }, PN = {
32544
32658
  key: 0,
32545
32659
  class: "ux-field-title"
32546
- }, FN = {
32660
+ }, LN = {
32547
32661
  key: 1,
32548
32662
  class: "ux-field-description"
32549
32663
  };
32550
- function AN(e, t, n, r, s, i) {
32664
+ function RN(e, t, n, r, s, i) {
32551
32665
  return o(), h("div", {
32552
32666
  class: $(["ux-field", i.classes])
32553
32667
  }, [
32554
- n.title ? (o(), h("label", IN, b(n.title), 1)) : _("", !0),
32555
- n.description ? (o(), h("div", FN, b(n.description), 1)) : _("", !0),
32668
+ n.title ? (o(), h("label", PN, b(n.title), 1)) : _("", !0),
32669
+ n.description ? (o(), h("div", LN, b(n.description), 1)) : _("", !0),
32556
32670
  z(e.$slots, "default", {}, void 0, !0)
32557
32671
  ], 2);
32558
32672
  }
32559
- const NN = /* @__PURE__ */ M(VN, [["render", AN], ["__scopeId", "data-v-980de6f6"]]), Wc = /* @__PURE__ */ new Set([
32673
+ const UN = /* @__PURE__ */ M($N, [["render", RN], ["__scopeId", "data-v-980de6f6"]]), Wc = /* @__PURE__ */ new Set([
32560
32674
  "area",
32561
32675
  "base",
32562
32676
  "br",
@@ -32572,7 +32686,7 @@ const NN = /* @__PURE__ */ M(VN, [["render", AN], ["__scopeId", "data-v-980de6f6
32572
32686
  "track",
32573
32687
  "wbr"
32574
32688
  ]);
32575
- function $N(e) {
32689
+ function jN(e) {
32576
32690
  const t = /<\/?([a-zA-Z0-9]+)[^>]*>/g, n = [];
32577
32691
  let r;
32578
32692
  for (; (r = t.exec(e)) !== null; ) {
@@ -32613,14 +32727,14 @@ const Mh = {
32613
32727
  actualTemplate() {
32614
32728
  let e = this.template || "";
32615
32729
  e = e.replaceAll ? e.replaceAll("<br>", "<br/>") : e;
32616
- var { valid: t, invalid: n } = $N(e);
32730
+ var { valid: t, invalid: n } = jN(e);
32617
32731
  return t || (console.log("Invalid html", e), e = `<div>Invalid HTML. <pre>${n}</pre></div>`), e;
32618
32732
  }
32619
32733
  },
32620
32734
  components: {
32621
32735
  VRuntimeTemplate: bm
32622
32736
  }
32623
- }, PN = {
32737
+ }, qN = {
32624
32738
  emits: ["error", "reset"],
32625
32739
  data() {
32626
32740
  return {
@@ -32635,14 +32749,14 @@ const Mh = {
32635
32749
  this.$emit("reset");
32636
32750
  }
32637
32751
  }
32638
- }, LN = {
32752
+ }, BN = {
32639
32753
  key: 0,
32640
32754
  class: "error-boundary",
32641
32755
  style: { color: "#b40000", border: "2px solid #fd0000", background: "#ffd6d6", padding: "1em" }
32642
32756
  };
32643
- function RN(e, t, n, r, s, i) {
32757
+ function zN(e, t, n, r, s, i) {
32644
32758
  const a = y("ux-button");
32645
- return s.error ? (o(), h("div", LN, [
32759
+ return s.error ? (o(), h("div", BN, [
32646
32760
  T("pre", null, "COMPILE ERROR: " + b(s.error), 1),
32647
32761
  c(a, { onClick: i.reset }, {
32648
32762
  default: f(() => [
@@ -32652,7 +32766,7 @@ function RN(e, t, n, r, s, i) {
32652
32766
  }, 8, ["onClick"])
32653
32767
  ])) : z(e.$slots, "default", { key: 1 }, void 0, !0);
32654
32768
  }
32655
- const UN = /* @__PURE__ */ M(PN, [["render", RN], ["__scopeId", "data-v-0fd69158"]]), jN = {
32769
+ const WN = /* @__PURE__ */ M(qN, [["render", zN], ["__scopeId", "data-v-0fd69158"]]), HN = {
32656
32770
  props: {
32657
32771
  field: {
32658
32772
  type: Object,
@@ -32732,8 +32846,8 @@ const UN = /* @__PURE__ */ M(PN, [["render", RN], ["__scopeId", "data-v-0fd69158
32732
32846
  return isNaN(e) && (e = 0), e = Math.max(e, 0), parseInt(e);
32733
32847
  }
32734
32848
  }
32735
- }, qN = {
32736
- mixins: [jN],
32849
+ }, GN = {
32850
+ mixins: [HN],
32737
32851
  props: {
32738
32852
  modelValue: {
32739
32853
  type: [Object, Array]
@@ -32753,13 +32867,13 @@ const UN = /* @__PURE__ */ M(PN, [["render", RN], ["__scopeId", "data-v-0fd69158
32753
32867
  return `${this.label} ${t + 1}`;
32754
32868
  }
32755
32869
  }
32756
- }, BN = {
32870
+ }, YN = {
32757
32871
  key: 0,
32758
32872
  class: "ux-multi-group"
32759
32873
  };
32760
- function zN(e, t, n, r, s, i) {
32874
+ function JN(e, t, n, r, s, i) {
32761
32875
  const a = y("flex-cell"), l = y("flex-row"), u = y("ux-panel-header"), d = y("ux-render"), m = y("ux-panel-body"), p = y("ux-panel");
32762
- return e.multiValue ? (o(), h("div", BN, [
32876
+ return e.multiValue ? (o(), h("div", YN, [
32763
32877
  (o(!0), h(D, null, A(e.model, (g, v) => (o(), k(p, {
32764
32878
  ref_for: !0,
32765
32879
  ref: "row",
@@ -32810,13 +32924,13 @@ function zN(e, t, n, r, s, i) {
32810
32924
  "onUpdate:modelValue": t[0] || (t[0] = (g) => e.model = g)
32811
32925
  }, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue"]));
32812
32926
  }
32813
- const WN = /* @__PURE__ */ M(qN, [["render", zN], ["__scopeId", "data-v-cb997d0e"]]), HN = {
32927
+ const KN = /* @__PURE__ */ M(GN, [["render", JN], ["__scopeId", "data-v-cb997d0e"]]), ZN = {
32814
32928
  components: {
32815
32929
  Item: eo,
32816
- FieldGroup: WN,
32930
+ FieldGroup: KN,
32817
32931
  // Compiler,
32818
32932
  Compile: Mh,
32819
- ErrorBoundary: UN
32933
+ ErrorBoundary: WN
32820
32934
  // ButtonSelect,
32821
32935
  // NativeSelect,
32822
32936
  // DateField,
@@ -33052,26 +33166,26 @@ const WN = /* @__PURE__ */ M(qN, [["render", zN], ["__scopeId", "data-v-cb997d0e
33052
33166
  return e;
33053
33167
  }
33054
33168
  }
33055
- }, GN = { class: "ux-field-title" }, YN = { class: "signature-view" }, JN = ["src"], KN = {
33169
+ }, XN = { class: "ux-field-title" }, QN = { class: "signature-view" }, e$ = ["src"], t$ = {
33056
33170
  key: 1,
33057
33171
  class: "signature-view"
33058
- }, ZN = ["src"], XN = { class: "currency" }, QN = { key: 1 }, e$ = { class: "currency" }, t$ = { key: 1 }, n$ = {
33172
+ }, n$ = ["src"], i$ = { class: "currency" }, r$ = { key: 1 }, s$ = { class: "currency" }, a$ = { key: 1 }, l$ = {
33059
33173
  key: 6,
33060
33174
  class: "ux-password-render"
33061
- }, i$ = ["type", "value"], r$ = ["type", "value"], s$ = {
33175
+ }, o$ = ["type", "value"], u$ = ["type", "value"], d$ = {
33062
33176
  key: 0,
33063
33177
  class: "display-grid"
33064
- }, a$ = { class: "display-cell" }, l$ = { key: 1 }, o$ = { class: "display-cell" }, u$ = {
33178
+ }, c$ = { class: "display-cell" }, f$ = { key: 1 }, m$ = { class: "display-cell" }, h$ = {
33065
33179
  key: 0,
33066
33180
  class: "display-grid"
33067
- }, d$ = { class: "display-cell" }, c$ = { key: 1 }, f$ = { class: "display-cell" }, m$ = ["innerHTML"], h$ = ["innerHTML"], p$ = { key: 1 }, y$ = { key: 1 }, g$ = ["href"], _$ = { key: 1 }, v$ = ["href"], b$ = ["href"], k$ = { key: 1 }, w$ = ["href"], x$ = { key: 1 };
33068
- function T$(e, t, n, r, s, i) {
33181
+ }, p$ = { class: "display-cell" }, y$ = { key: 1 }, g$ = { class: "display-cell" }, _$ = ["innerHTML"], v$ = ["innerHTML"], b$ = { key: 1 }, k$ = { key: 1 }, w$ = ["href"], x$ = { key: 1 }, T$ = ["href"], S$ = ["href"], O$ = { key: 1 }, D$ = ["href"], C$ = { key: 1 };
33182
+ function E$(e, t, n, r, s, i) {
33069
33183
  const a = y("field-group"), l = y("qik-code-editor"), u = y("flex-cell"), d = y("ux-icon"), m = y("ux-button"), p = y("flex-row"), g = y("ux-image"), v = y("ux-video"), x = y("item"), w = y("error-boundary");
33070
33184
  return i.visible ? (o(), h("div", {
33071
33185
  key: 0,
33072
33186
  class: $(["ux-field-render", i.classes])
33073
33187
  }, [
33074
- T("label", GN, b(i.title), 1),
33188
+ T("label", XN, b(i.title), 1),
33075
33189
  z(e.$slots, "field-after-title", { field: n.field }, void 0, !0),
33076
33190
  i.widget === "group" ? (o(), h(D, { key: 0 }, [
33077
33191
  i.asObject ? (o(), k(a, {
@@ -33100,18 +33214,18 @@ function T$(e, t, n, r, s, i) {
33100
33214
  modelValue: i.fieldModel,
33101
33215
  "onUpdate:modelValue": t[2] || (t[2] = (S) => i.fieldModel = S)
33102
33216
  }, null, 8, ["submission", "display", "field", "parentModel", "modelValue"])) : i.widget === "signature" ? (o(), h(D, { key: 3 }, [
33103
- i.multiValue ? (o(!0), h(D, { key: 0 }, A(i.fieldModel, (S, C) => (o(), h("div", YN, [
33104
- T("img", { src: S }, null, 8, JN)
33105
- ]))), 256)) : (o(), h("div", KN, [
33106
- T("img", { src: i.fieldModel }, null, 8, ZN)
33217
+ i.multiValue ? (o(!0), h(D, { key: 0 }, A(i.fieldModel, (S, C) => (o(), h("div", QN, [
33218
+ T("img", { src: S }, null, 8, e$)
33219
+ ]))), 256)) : (o(), h("div", t$, [
33220
+ T("img", { src: i.fieldModel }, null, 8, n$)
33107
33221
  ]))
33108
33222
  ], 64)) : i.widget === "currency" ? (o(), h(D, { key: 4 }, [
33109
33223
  i.multiValue ? (o(!0), h(D, { key: 0 }, A(i.fieldModel, (S, C) => (o(), h("div", null, [
33110
33224
  O(b(i.formatCurrency(S)) + " ", 1),
33111
- T("span", XN, b(n.field.currency), 1)
33112
- ]))), 256)) : (o(), h("div", QN, [
33225
+ T("span", i$, b(n.field.currency), 1)
33226
+ ]))), 256)) : (o(), h("div", r$, [
33113
33227
  O(b(i.formatCurrency(i.fieldModel)) + " ", 1),
33114
- T("span", e$, b(n.field.currency), 1)
33228
+ T("span", s$, b(n.field.currency), 1)
33115
33229
  ]))
33116
33230
  ], 64)) : i.widget === "code" ? (o(), h(D, { key: 5 }, [
33117
33231
  i.multiValue ? (o(!0), h(D, { key: 0 }, A(i.fieldModel, (S, C) => (o(), h("div", null, [
@@ -33122,7 +33236,7 @@ function T$(e, t, n, r, s, i) {
33122
33236
  syntax: n.field.syntax,
33123
33237
  style: { "min-height": "300px" }
33124
33238
  }, null, 8, ["modelValue", "syntax"])
33125
- ]))), 256)) : (o(), h("div", t$, [
33239
+ ]))), 256)) : (o(), h("div", a$, [
33126
33240
  c(l, {
33127
33241
  readonly: !0,
33128
33242
  class: "editor-wrap",
@@ -33131,7 +33245,7 @@ function T$(e, t, n, r, s, i) {
33131
33245
  style: { "min-height": "300px" }
33132
33246
  }, null, 8, ["modelValue", "syntax"])
33133
33247
  ]))
33134
- ], 64)) : i.widget === "password" ? (o(), h("div", n$, [
33248
+ ], 64)) : i.widget === "password" ? (o(), h("div", l$, [
33135
33249
  i.multiValue ? (o(!0), h(D, { key: 0 }, A(i.fieldModel, (S, C) => (o(), k(p, {
33136
33250
  gap: "",
33137
33251
  center: ""
@@ -33142,7 +33256,7 @@ function T$(e, t, n, r, s, i) {
33142
33256
  T("input", {
33143
33257
  type: s.unmaskedLookup[`${C}`] ? "text" : "password",
33144
33258
  value: S
33145
- }, null, 8, i$)
33259
+ }, null, 8, o$)
33146
33260
  ]),
33147
33261
  _: 2
33148
33262
  }, 1024),
@@ -33194,7 +33308,7 @@ function T$(e, t, n, r, s, i) {
33194
33308
  T("input", {
33195
33309
  type: s.unmasked ? "text" : "password",
33196
33310
  value: i.fieldModel
33197
- }, null, 8, r$)
33311
+ }, null, 8, u$)
33198
33312
  ]),
33199
33313
  _: 1
33200
33314
  }),
@@ -33238,12 +33352,12 @@ function T$(e, t, n, r, s, i) {
33238
33352
  }))
33239
33353
  ])) : i.displayType === "image" ? (o(), h(D, { key: 7 }, [
33240
33354
  i.multiValue ? (o(), h(D, { key: 0 }, [
33241
- i.fieldModel.length > 1 ? (o(), h("div", s$, [
33242
- (o(!0), h(D, null, A(i.fieldModel, (S, C) => (o(), h("div", a$, [
33355
+ i.fieldModel.length > 1 ? (o(), h("div", d$, [
33356
+ (o(!0), h(D, null, A(i.fieldModel, (S, C) => (o(), h("div", c$, [
33243
33357
  c(g, { item: S }, null, 8, ["item"])
33244
33358
  ]))), 256))
33245
- ])) : (o(), h("div", l$, [
33246
- (o(!0), h(D, null, A(i.fieldModel, (S, C) => (o(), h("div", o$, [
33359
+ ])) : (o(), h("div", f$, [
33360
+ (o(!0), h(D, null, A(i.fieldModel, (S, C) => (o(), h("div", m$, [
33247
33361
  c(g, { item: S }, null, 8, ["item"])
33248
33362
  ]))), 256))
33249
33363
  ]))
@@ -33253,12 +33367,12 @@ function T$(e, t, n, r, s, i) {
33253
33367
  }, null, 8, ["item"]))
33254
33368
  ], 64)) : i.displayType === "video" ? (o(), h(D, { key: 8 }, [
33255
33369
  i.multiValue ? (o(), h(D, { key: 0 }, [
33256
- i.fieldModel.length > 1 ? (o(), h("div", u$, [
33257
- (o(!0), h(D, null, A(i.fieldModel, (S, C) => (o(), h("div", d$, [
33370
+ i.fieldModel.length > 1 ? (o(), h("div", h$, [
33371
+ (o(!0), h(D, null, A(i.fieldModel, (S, C) => (o(), h("div", p$, [
33258
33372
  c(v, { item: S }, null, 8, ["item"])
33259
33373
  ]))), 256))
33260
- ])) : (o(), h("div", c$, [
33261
- (o(!0), h(D, null, A(i.fieldModel, (S, C) => (o(), h("div", f$, [
33374
+ ])) : (o(), h("div", y$, [
33375
+ (o(!0), h(D, null, A(i.fieldModel, (S, C) => (o(), h("div", g$, [
33262
33376
  c(v, { item: S }, null, 8, ["item"])
33263
33377
  ]))), 256))
33264
33378
  ]))
@@ -33312,48 +33426,48 @@ function T$(e, t, n, r, s, i) {
33312
33426
  i.multiValue ? (o(!0), h(D, { key: 0 }, A(i.fieldModel, (S, C) => (o(), h("div", null, [
33313
33427
  c(w, null, {
33314
33428
  default: f(() => [
33315
- T("div", { innerHTML: S }, null, 8, m$)
33429
+ T("div", { innerHTML: S }, null, 8, _$)
33316
33430
  ]),
33317
33431
  _: 2
33318
33432
  }, 1024)
33319
33433
  ]))), 256)) : (o(), k(w, { key: 1 }, {
33320
33434
  default: f(() => [
33321
- T("div", { innerHTML: i.fieldModel }, null, 8, h$)
33435
+ T("div", { innerHTML: i.fieldModel }, null, 8, v$)
33322
33436
  ]),
33323
33437
  _: 1
33324
33438
  }))
33325
33439
  ], 64)) : _("", !0),
33326
33440
  i.type == "boolean" ? (o(), h(D, { key: 2 }, [
33327
- i.multiValue ? (o(!0), h(D, { key: 0 }, A(i.fieldModel, (S, C) => (o(), h("div", null, b(!!S), 1))), 256)) : (o(), h("div", p$, b(!!i.fieldModel), 1))
33441
+ i.multiValue ? (o(!0), h(D, { key: 0 }, A(i.fieldModel, (S, C) => (o(), h("div", null, b(!!S), 1))), 256)) : (o(), h("div", b$, b(!!i.fieldModel), 1))
33328
33442
  ], 64)) : _("", !0),
33329
33443
  i.type == "date" ? (o(), h(D, { key: 3 }, [
33330
- i.multiValue ? (o(!0), h(D, { key: 0 }, A(i.fieldModel, (S, C) => (o(), h("div", null, b(i.renderDate(S)), 1))), 256)) : (o(), h("div", y$, b(i.renderDate(i.fieldModel)), 1))
33444
+ i.multiValue ? (o(!0), h(D, { key: 0 }, A(i.fieldModel, (S, C) => (o(), h("div", null, b(i.renderDate(S)), 1))), 256)) : (o(), h("div", k$, b(i.renderDate(i.fieldModel)), 1))
33331
33445
  ], 64)) : _("", !0),
33332
33446
  i.type == "email" ? (o(), h(D, { key: 4 }, [
33333
33447
  i.multiValue ? (o(!0), h(D, { key: 0 }, A(i.fieldModel, (S, C) => (o(), h("div", null, [
33334
33448
  T("a", {
33335
33449
  href: `mailto:${S}`
33336
- }, b(S), 9, g$)
33337
- ]))), 256)) : (o(), h("div", _$, [
33450
+ }, b(S), 9, w$)
33451
+ ]))), 256)) : (o(), h("div", x$, [
33338
33452
  T("a", {
33339
33453
  href: `mailto:${i.fieldModel}`
33340
- }, b(i.fieldModel), 9, v$)
33454
+ }, b(i.fieldModel), 9, T$)
33341
33455
  ]))
33342
33456
  ], 64)) : _("", !0),
33343
33457
  i.type == "url" ? (o(), h(D, { key: 5 }, [
33344
33458
  i.multiValue ? (o(!0), h(D, { key: 0 }, A(i.fieldModel, (S, C) => (o(), h("div", null, [
33345
- T("a", { href: S }, b(S), 9, b$)
33346
- ]))), 256)) : (o(), h("div", k$, [
33347
- T("a", { href: i.fieldModel }, b(i.fieldModel), 9, w$)
33459
+ T("a", { href: S }, b(S), 9, S$)
33460
+ ]))), 256)) : (o(), h("div", O$, [
33461
+ T("a", { href: i.fieldModel }, b(i.fieldModel), 9, D$)
33348
33462
  ]))
33349
33463
  ], 64)) : _("", !0),
33350
33464
  i.isNumber ? (o(), h(D, { key: 6 }, [
33351
- i.multiValue ? (o(!0), h(D, { key: 0 }, A(i.fieldModel, (S, C) => (o(), h("div", null, b(S), 1))), 256)) : (o(), h("div", x$, b(i.fieldModel), 1))
33465
+ i.multiValue ? (o(!0), h(D, { key: 0 }, A(i.fieldModel, (S, C) => (o(), h("div", null, b(S), 1))), 256)) : (o(), h("div", C$, b(i.fieldModel), 1))
33352
33466
  ], 64)) : _("", !0)
33353
33467
  ], 64))
33354
33468
  ], 2)) : _("", !0);
33355
33469
  }
33356
- const Vh = /* @__PURE__ */ M(HN, [["render", T$], ["__scopeId", "data-v-20e6bdd4"]]), S$ = {
33470
+ const Vh = /* @__PURE__ */ M(ZN, [["render", E$], ["__scopeId", "data-v-20e6bdd4"]]), M$ = {
33357
33471
  props: {
33358
33472
  parentModel: {
33359
33473
  type: Object
@@ -33410,7 +33524,7 @@ const Vh = /* @__PURE__ */ M(HN, [["render", T$], ["__scopeId", "data-v-20e6bdd4
33410
33524
  }
33411
33525
  }
33412
33526
  };
33413
- function O$(e, t, n, r, s, i) {
33527
+ function V$(e, t, n, r, s, i) {
33414
33528
  const a = y("ux-field-render");
33415
33529
  return o(), h("div", {
33416
33530
  class: $(["ux-render", i.renderClass])
@@ -33434,8 +33548,8 @@ function O$(e, t, n, r, s, i) {
33434
33548
  ], !0)
33435
33549
  ], 2);
33436
33550
  }
33437
- const D$ = /* @__PURE__ */ M(S$, [["render", O$], ["__scopeId", "data-v-0b434a9f"]]);
33438
- function C$(e) {
33551
+ const I$ = /* @__PURE__ */ M(M$, [["render", V$], ["__scopeId", "data-v-0b434a9f"]]);
33552
+ function F$(e) {
33439
33553
  e = e || {}, Math.max(parseInt(e.minimum || 0), 0);
33440
33554
  let t = Math.max(parseInt(e.maximum || 0), 0);
33441
33555
  const n = mf({}), r = Gt([]);
@@ -33489,7 +33603,7 @@ function C$(e) {
33489
33603
  }), n;
33490
33604
  }
33491
33605
  var Za, Hc;
33492
- function E$() {
33606
+ function A$() {
33493
33607
  if (Hc) return Za;
33494
33608
  Hc = 1;
33495
33609
  var e = "__lodash_hash_undefined__";
@@ -33499,7 +33613,7 @@ function E$() {
33499
33613
  return Za = t, Za;
33500
33614
  }
33501
33615
  var Xa, Gc;
33502
- function M$() {
33616
+ function N$() {
33503
33617
  if (Gc) return Xa;
33504
33618
  Gc = 1;
33505
33619
  function e(t) {
@@ -33508,10 +33622,10 @@ function M$() {
33508
33622
  return Xa = e, Xa;
33509
33623
  }
33510
33624
  var Qa, Yc;
33511
- function V$() {
33625
+ function $$() {
33512
33626
  if (Yc) return Qa;
33513
33627
  Yc = 1;
33514
- var e = _m(), t = E$(), n = M$();
33628
+ var e = _m(), t = A$(), n = N$();
33515
33629
  function r(s) {
33516
33630
  var i = -1, a = s == null ? 0 : s.length;
33517
33631
  for (this.__data__ = new e(); ++i < a; )
@@ -33520,7 +33634,7 @@ function V$() {
33520
33634
  return r.prototype.add = r.prototype.push = t, r.prototype.has = n, Qa = r, Qa;
33521
33635
  }
33522
33636
  var el, Jc;
33523
- function I$() {
33637
+ function P$() {
33524
33638
  if (Jc) return el;
33525
33639
  Jc = 1;
33526
33640
  var e = vh();
@@ -33531,7 +33645,7 @@ function I$() {
33531
33645
  return el = t, el;
33532
33646
  }
33533
33647
  var tl, Kc;
33534
- function F$() {
33648
+ function L$() {
33535
33649
  if (Kc) return tl;
33536
33650
  Kc = 1;
33537
33651
  function e(t, n, r) {
@@ -33543,7 +33657,7 @@ function F$() {
33543
33657
  return tl = e, tl;
33544
33658
  }
33545
33659
  var nl, Zc;
33546
- function A$() {
33660
+ function R$() {
33547
33661
  if (Zc) return nl;
33548
33662
  Zc = 1;
33549
33663
  function e(t, n) {
@@ -33552,14 +33666,14 @@ function A$() {
33552
33666
  return nl = e, nl;
33553
33667
  }
33554
33668
  var il, Xc;
33555
- function N$() {
33669
+ function U$() {
33556
33670
  if (Xc) return il;
33557
33671
  Xc = 1;
33558
33672
  var e = zl(), t = qn(), n = e(t, "Set");
33559
33673
  return il = n, il;
33560
33674
  }
33561
33675
  var rl, Qc;
33562
- function $$() {
33676
+ function j$() {
33563
33677
  if (Qc) return rl;
33564
33678
  Qc = 1;
33565
33679
  function e() {
@@ -33579,19 +33693,19 @@ function Ih() {
33579
33693
  return sl = e, sl;
33580
33694
  }
33581
33695
  var al, tf;
33582
- function P$() {
33696
+ function q$() {
33583
33697
  if (tf) return al;
33584
33698
  tf = 1;
33585
- var e = N$(), t = $$(), n = Ih(), r = 1 / 0, s = e && 1 / n(new e([, -0]))[1] == r ? function(i) {
33699
+ var e = U$(), t = j$(), n = Ih(), r = 1 / 0, s = e && 1 / n(new e([, -0]))[1] == r ? function(i) {
33586
33700
  return new e(i);
33587
33701
  } : t;
33588
33702
  return al = s, al;
33589
33703
  }
33590
33704
  var ll, nf;
33591
- function L$() {
33705
+ function B$() {
33592
33706
  if (nf) return ll;
33593
33707
  nf = 1;
33594
- var e = V$(), t = I$(), n = F$(), r = A$(), s = P$(), i = Ih(), a = 200;
33708
+ var e = $$(), t = P$(), n = L$(), r = R$(), s = q$(), i = Ih(), a = 200;
33595
33709
  function l(u, d, m) {
33596
33710
  var p = -1, g = t, v = u.length, x = !0, w = [], S = w;
33597
33711
  if (m)
@@ -33618,18 +33732,18 @@ function L$() {
33618
33732
  return ll = l, ll;
33619
33733
  }
33620
33734
  var ol, rf;
33621
- function R$() {
33735
+ function z$() {
33622
33736
  if (rf) return ol;
33623
33737
  rf = 1;
33624
- var e = L$();
33738
+ var e = B$();
33625
33739
  function t(n) {
33626
33740
  return n && n.length ? e(n) : [];
33627
33741
  }
33628
33742
  return ol = t, ol;
33629
33743
  }
33630
- var U$ = R$();
33631
- const j$ = /* @__PURE__ */ Kt(U$);
33632
- function q$(e, t) {
33744
+ var W$ = z$();
33745
+ const H$ = /* @__PURE__ */ Kt(W$);
33746
+ function G$(e, t) {
33633
33747
  var n = [], r;
33634
33748
  switch (t) {
33635
33749
  case "image":
@@ -33780,7 +33894,7 @@ function sf() {
33780
33894
  };
33781
33895
  }
33782
33896
  let ul;
33783
- const B$ = {
33897
+ const Y$ = {
33784
33898
  emits: ["loading", "loaded", "click:row", "click:actions"],
33785
33899
  props: {
33786
33900
  defaultPage: {
@@ -34284,7 +34398,7 @@ const B$ = {
34284
34398
  t.push("event");
34285
34399
  break;
34286
34400
  }
34287
- return j$(t);
34401
+ return H$(t);
34288
34402
  },
34289
34403
  columns() {
34290
34404
  let e = [], t = {};
@@ -34299,7 +34413,7 @@ const B$ = {
34299
34413
  }
34300
34414
  var r = this.actualOptions.prefixColumns || [];
34301
34415
  r.forEach(n(!0));
34302
- var s = this.actualOptions.columns || [], i = s.length ? s : q$(this, this.basicType);
34416
+ var s = this.actualOptions.columns || [], i = s.length ? s : G$(this, this.basicType);
34303
34417
  i.length || i.push({
34304
34418
  title: "Title",
34305
34419
  key: "title"
@@ -34456,7 +34570,7 @@ const B$ = {
34456
34570
  data() {
34457
34571
  var s;
34458
34572
  var e = this.selectionManager;
34459
- e || (e = new C$({ minimum: this.minimum, maximum: this.maximum })), this.modelValue && e.setSelection(this.modelValue);
34573
+ e || (e = new F$({ minimum: this.minimum, maximum: this.maximum })), this.modelValue && e.setSelection(this.modelValue);
34460
34574
  const t = Math.max(
34461
34575
  isNaN(this.defaultPage) ? 1 : this.defaultPage || 1,
34462
34576
  1
@@ -34499,11 +34613,11 @@ const B$ = {
34499
34613
  actualOptions: this.options
34500
34614
  };
34501
34615
  }
34502
- }, oo = (e) => (je("data-v-a2f7d18b"), e = e(), qe(), e), z$ = /* @__PURE__ */ oo(() => /* @__PURE__ */ T("strong", null, "Select Columns", -1)), W$ = {
34616
+ }, oo = (e) => (je("data-v-a2f7d18b"), e = e(), qe(), e), J$ = /* @__PURE__ */ oo(() => /* @__PURE__ */ T("strong", null, "Select Columns", -1)), K$ = {
34503
34617
  key: 0,
34504
34618
  class: "font-sm"
34505
- }, H$ = { class: "footer" }, G$ = /* @__PURE__ */ oo(() => /* @__PURE__ */ T("p", null, null, -1)), Y$ = { key: 0 }, J$ = /* @__PURE__ */ oo(() => /* @__PURE__ */ T("p", null, null, -1));
34506
- function K$(e, t, n, r, s, i) {
34619
+ }, Z$ = { class: "footer" }, X$ = /* @__PURE__ */ oo(() => /* @__PURE__ */ T("p", null, null, -1)), Q$ = { key: 0 }, eP = /* @__PURE__ */ oo(() => /* @__PURE__ */ T("p", null, null, -1));
34620
+ function tP(e, t, n, r, s, i) {
34507
34621
  const a = y("ux-icon"), l = y("ux-panel-body"), u = y("ux-panel"), d = y("flex-column"), m = y("ux-button"), p = y("flex-header"), g = y("ux-list-item"), v = y("ux-list"), x = y("flex-body"), w = y("ux-menu"), S = y("native-table"), C = y("pager"), V = y("flex-footer"), R = y("flex-row"), G = y("search"), X = y("ux-field"), ne = y("filter-builder"), I = y("spinner");
34508
34622
  return i.actualDefinition ? (o(), k(d, {
34509
34623
  key: 0,
@@ -34608,7 +34722,7 @@ function K$(e, t, n, r, s, i) {
34608
34722
  icon: "fa-plus-minus",
34609
34723
  left: ""
34610
34724
  }),
34611
- z$
34725
+ J$
34612
34726
  ]),
34613
34727
  _: 1
34614
34728
  })
@@ -34664,7 +34778,7 @@ function K$(e, t, n, r, s, i) {
34664
34778
  c(l, null, {
34665
34779
  default: f(() => [
34666
34780
  T("div", null, b(i.emptyTextString), 1),
34667
- n.dateFilterEnabled ? (o(), h("div", W$, " Try changing your date range or updating your filter. ")) : _("", !0)
34781
+ n.dateFilterEnabled ? (o(), h("div", K$, " Try changing your date range or updating your filter. ")) : _("", !0)
34668
34782
  ]),
34669
34783
  _: 1
34670
34784
  })
@@ -34682,7 +34796,7 @@ function K$(e, t, n, r, s, i) {
34682
34796
  s.dataSource && !i.boundaryMessage ? (o(), k(V, { key: 0 }, {
34683
34797
  default: f(() => [
34684
34798
  z(e.$slots, "footera", {}, void 0, !0),
34685
- T("div", H$, [
34799
+ T("div", Z$, [
34686
34800
  c(C, {
34687
34801
  page: s.page,
34688
34802
  "onUpdate:page": t[2] || (t[2] = (H) => s.page = H),
@@ -34714,15 +34828,15 @@ function K$(e, t, n, r, s, i) {
34714
34828
  debounce: 500,
34715
34829
  placeholder: "Keyword Search"
34716
34830
  }, null, 8, ["modelValue", "loading"]),
34717
- G$,
34718
- n.dateFilterEnabled ? (o(), h("div", Y$, [
34831
+ X$,
34832
+ n.dateFilterEnabled ? (o(), h("div", Q$, [
34719
34833
  c(X, {
34720
34834
  field: i.dateRangeField,
34721
34835
  modelValue: s.dateRangeFilter,
34722
34836
  "onUpdate:modelValue": t[4] || (t[4] = (H) => s.dateRangeFilter = H)
34723
34837
  }, null, 8, ["field", "modelValue"])
34724
34838
  ])) : _("", !0),
34725
- J$,
34839
+ eP,
34726
34840
  c(ne, {
34727
34841
  definition: i.actualDefinition,
34728
34842
  modelValue: s.actualFilter,
@@ -34749,7 +34863,7 @@ function K$(e, t, n, r, s, i) {
34749
34863
  _: 3
34750
34864
  })) : _("", !0);
34751
34865
  }
34752
- const Z$ = /* @__PURE__ */ M(B$, [["render", K$], ["__scopeId", "data-v-a2f7d18b"]]), X$ = {
34866
+ const nP = /* @__PURE__ */ M(Y$, [["render", tP], ["__scopeId", "data-v-a2f7d18b"]]), iP = {
34753
34867
  props: {
34754
34868
  modal: {
34755
34869
  type: Object,
@@ -34780,9 +34894,9 @@ const Z$ = /* @__PURE__ */ M(B$, [["render", K$], ["__scopeId", "data-v-a2f7d18b
34780
34894
  return this.modal.style && (e = Object.assign(e, this.modal.style)), e;
34781
34895
  }
34782
34896
  }
34783
- }, Q$ = { class: "modal-wrapper" };
34784
- function eP(e, t, n, r, s, i) {
34785
- return o(), h("div", Q$, [
34897
+ }, rP = { class: "modal-wrapper" };
34898
+ function sP(e, t, n, r, s, i) {
34899
+ return o(), h("div", rP, [
34786
34900
  T("div", {
34787
34901
  class: "modal-blanket",
34788
34902
  onClick: t[0] || (t[0] = (...a) => i.blanketClick && i.blanketClick(...a))
@@ -34801,7 +34915,7 @@ function eP(e, t, n, r, s, i) {
34801
34915
  ], 4)
34802
34916
  ]);
34803
34917
  }
34804
- const tP = /* @__PURE__ */ M(X$, [["render", eP], ["__scopeId", "data-v-2a319a6b"]]), nP = {
34918
+ const aP = /* @__PURE__ */ M(iP, [["render", sP], ["__scopeId", "data-v-2a319a6b"]]), lP = {
34805
34919
  mixins: [wn],
34806
34920
  computed: {
34807
34921
  confirmText() {
@@ -34829,25 +34943,25 @@ const tP = /* @__PURE__ */ M(X$, [["render", eP], ["__scopeId", "data-v-2a319a6b
34829
34943
  }
34830
34944
  }
34831
34945
  }
34832
- }, iP = { class: "padder" }, rP = ["innerHTML"], sP = { class: "padder" };
34833
- function aP(e, t, n, r, s, i) {
34946
+ }, oP = { class: "padder" }, uP = ["innerHTML"], dP = { class: "padder" };
34947
+ function cP(e, t, n, r, s, i) {
34834
34948
  const a = y("flex-body"), l = y("ux-button"), u = y("flex-cell"), d = y("flex-row"), m = y("flex-footer"), p = y("flex-column");
34835
34949
  return o(), k(p, { class: "wrapper" }, {
34836
34950
  default: f(() => [
34837
34951
  c(a, null, {
34838
34952
  default: f(() => [
34839
- T("div", iP, [
34953
+ T("div", oP, [
34840
34954
  T("h5", null, b(e.options.title), 1),
34841
34955
  T("div", {
34842
34956
  innerHTML: e.options.description
34843
- }, null, 8, rP)
34957
+ }, null, 8, uP)
34844
34958
  ])
34845
34959
  ]),
34846
34960
  _: 1
34847
34961
  }),
34848
34962
  c(m, null, {
34849
34963
  default: f(() => [
34850
- T("div", sP, [
34964
+ T("div", dP, [
34851
34965
  c(d, null, {
34852
34966
  default: f(() => [
34853
34967
  c(u, null, {
@@ -34889,7 +35003,7 @@ function aP(e, t, n, r, s, i) {
34889
35003
  _: 1
34890
35004
  });
34891
35005
  }
34892
- const lP = /* @__PURE__ */ M(nP, [["render", aP], ["__scopeId", "data-v-ee67e4b1"]]), oP = {
35006
+ const fP = /* @__PURE__ */ M(lP, [["render", cP], ["__scopeId", "data-v-ee67e4b1"]]), mP = {
34893
35007
  data() {
34894
35008
  return {
34895
35009
  selected: null,
@@ -34928,21 +35042,21 @@ const lP = /* @__PURE__ */ M(nP, [["render", aP], ["__scopeId", "data-v-ee67e4b1
34928
35042
  this.selected = e, this.close(e);
34929
35043
  }
34930
35044
  }
34931
- }, uP = { class: "options-modal-header" }, dP = { class: "padder" }, cP = { class: "options-modal-header" }, fP = { class: "padder" }, mP = ["onClick"], hP = ["innerHTML"], pP = {
35045
+ }, hP = { class: "options-modal-header" }, pP = { class: "padder" }, yP = { class: "options-modal-header" }, gP = { class: "padder" }, _P = ["onClick"], vP = ["innerHTML"], bP = {
34932
35046
  key: 0,
34933
35047
  class: "title"
34934
- }, yP = {
35048
+ }, kP = {
34935
35049
  key: 1,
34936
35050
  class: "description"
34937
- }, gP = { class: "padder" };
34938
- function _P(e, t, n, r, s, i) {
35051
+ }, wP = { class: "padder" };
35052
+ function xP(e, t, n, r, s, i) {
34939
35053
  const a = y("flex-header"), l = y("search"), u = y("flex-cell"), d = y("ux-icon"), m = y("flex-row"), p = y("flex-body"), g = y("ux-button"), v = y("flex-footer"), x = y("flex-column");
34940
35054
  return o(), k(x, { class: "wrapper" }, {
34941
35055
  default: f(() => [
34942
35056
  e.options.title || e.options.description ? (o(), k(a, { key: 0 }, {
34943
35057
  default: f(() => [
34944
- T("div", uP, [
34945
- T("div", dP, [
35058
+ T("div", hP, [
35059
+ T("div", pP, [
34946
35060
  T("h5", null, b(e.options.title), 1),
34947
35061
  T("div", null, b(e.options.description), 1)
34948
35062
  ])
@@ -34952,8 +35066,8 @@ function _P(e, t, n, r, s, i) {
34952
35066
  })) : _("", !0),
34953
35067
  i.searchEnabled ? (o(), k(a, { key: 1 }, {
34954
35068
  default: f(() => [
34955
- T("div", cP, [
34956
- T("div", fP, [
35069
+ T("div", yP, [
35070
+ T("div", gP, [
34957
35071
  c(l, {
34958
35072
  modelValue: s.search,
34959
35073
  "onUpdate:modelValue": t[0] || (t[0] = (w) => s.search = w),
@@ -34988,14 +35102,14 @@ function _P(e, t, n, r, s, i) {
34988
35102
  T("div", {
34989
35103
  class: "option-icon",
34990
35104
  innerHTML: w.icon
34991
- }, null, 8, hP)
35105
+ }, null, 8, vP)
34992
35106
  ]),
34993
35107
  _: 2
34994
35108
  }, 1024)) : _("", !0),
34995
35109
  c(u, null, {
34996
35110
  default: f(() => [
34997
- w.title ? (o(), h("div", pP, b(w.title), 1)) : _("", !0),
34998
- w.description ? (o(), h("div", yP, b(w.description), 1)) : _("", !0)
35111
+ w.title ? (o(), h("div", bP, b(w.title), 1)) : _("", !0),
35112
+ w.description ? (o(), h("div", kP, b(w.description), 1)) : _("", !0)
34999
35113
  ]),
35000
35114
  _: 2
35001
35115
  }, 1024),
@@ -35011,14 +35125,14 @@ function _P(e, t, n, r, s, i) {
35011
35125
  ]),
35012
35126
  _: 2
35013
35127
  }, 1024)
35014
- ], 8, mP))), 256))
35128
+ ], 8, _P))), 256))
35015
35129
  ], 2)
35016
35130
  ]),
35017
35131
  _: 1
35018
35132
  }),
35019
35133
  c(v, { class: "options-modal-footer" }, {
35020
35134
  default: f(() => [
35021
- T("div", gP, [
35135
+ T("div", wP, [
35022
35136
  c(g, {
35023
35137
  size: "sm",
35024
35138
  onClick: e.dismiss
@@ -35036,7 +35150,7 @@ function _P(e, t, n, r, s, i) {
35036
35150
  _: 1
35037
35151
  });
35038
35152
  }
35039
- const vP = /* @__PURE__ */ M(oP, [["render", _P], ["__scopeId", "data-v-79ee703e"]]), bP = {
35153
+ const TP = /* @__PURE__ */ M(mP, [["render", xP], ["__scopeId", "data-v-79ee703e"]]), SP = {
35040
35154
  mixins: [wn],
35041
35155
  data() {
35042
35156
  return {
@@ -35069,8 +35183,8 @@ const vP = /* @__PURE__ */ M(oP, [["render", _P], ["__scopeId", "data-v-79ee703e
35069
35183
  created() {
35070
35184
  this.options.model && (this.model = this.options.model);
35071
35185
  }
35072
- }, kP = { class: "padder" }, wP = { key: 0 }, xP = { class: "padder" };
35073
- function TP(e, t, n, r, s, i) {
35186
+ }, OP = { class: "padder" }, DP = { key: 0 }, CP = { class: "padder" };
35187
+ function EP(e, t, n, r, s, i) {
35074
35188
  const a = y("ux-form"), l = y("flex-body"), u = y("ux-button"), d = y("flex-cell"), m = y("flex-spacer"), p = y("flex-row"), g = y("flex-footer"), v = y("flex-column");
35075
35189
  return o(), h("form", {
35076
35190
  class: "wrapper",
@@ -35080,9 +35194,9 @@ function TP(e, t, n, r, s, i) {
35080
35194
  default: f(() => [
35081
35195
  c(l, null, {
35082
35196
  default: f(() => [
35083
- T("div", kP, [
35197
+ T("div", OP, [
35084
35198
  T("h5", null, b(e.options.title), 1),
35085
- e.options.description ? (o(), h("p", wP, b(e.options.description), 1)) : _("", !0),
35199
+ e.options.description ? (o(), h("p", DP, b(e.options.description), 1)) : _("", !0),
35086
35200
  c(a, {
35087
35201
  ref: "form",
35088
35202
  "onForm:state": i.formStateUpdated,
@@ -35096,7 +35210,7 @@ function TP(e, t, n, r, s, i) {
35096
35210
  }),
35097
35211
  c(g, { class: "border-top" }, {
35098
35212
  default: f(() => [
35099
- T("div", xP, [
35213
+ T("div", CP, [
35100
35214
  c(p, null, {
35101
35215
  default: f(() => [
35102
35216
  c(d, { shrink: "" }, {
@@ -35142,8 +35256,8 @@ function TP(e, t, n, r, s, i) {
35142
35256
  })
35143
35257
  ], 32);
35144
35258
  }
35145
- const SP = /* @__PURE__ */ M(bP, [["render", TP], ["__scopeId", "data-v-22036a05"]]);
35146
- function OP(e, t) {
35259
+ const MP = /* @__PURE__ */ M(SP, [["render", EP], ["__scopeId", "data-v-22036a05"]]);
35260
+ function VP(e, t) {
35147
35261
  switch (e) {
35148
35262
  case "systemtask":
35149
35263
  case "comment":
@@ -35166,7 +35280,7 @@ function OP(e, t) {
35166
35280
  break;
35167
35281
  }
35168
35282
  }
35169
- function DP(e, t) {
35283
+ function IP(e, t) {
35170
35284
  let n = [];
35171
35285
  switch (e) {
35172
35286
  case "transaction":
@@ -35354,9 +35468,9 @@ function DP(e, t) {
35354
35468
  }
35355
35469
  return n;
35356
35470
  }
35357
- const CP = {
35471
+ const FP = {
35358
35472
  components: {
35359
- ContentBrowser: Z$,
35473
+ ContentBrowser: nP,
35360
35474
  Search: Qt,
35361
35475
  DateRange: Um
35362
35476
  },
@@ -35379,7 +35493,7 @@ const CP = {
35379
35493
  },
35380
35494
  dateShortcuts() {
35381
35495
  const e = this.definition.key, t = this.definition.definesType || e;
35382
- return DP(t);
35496
+ return IP(t);
35383
35497
  },
35384
35498
  bigData() {
35385
35499
  var e;
@@ -35387,7 +35501,7 @@ const CP = {
35387
35501
  },
35388
35502
  dateFilterEnabled() {
35389
35503
  const e = this.definition.key, t = this.definition.definesType || e;
35390
- return OP(t, e);
35504
+ return VP(t, e);
35391
35505
  },
35392
35506
  dateSummary() {
35393
35507
  let { startDate: e, endDate: t } = this.dateRange;
@@ -35490,8 +35604,8 @@ const CP = {
35490
35604
  this.close(this.model);
35491
35605
  }
35492
35606
  }
35493
- }, EP = { class: "header" }, MP = { class: "font-muted font-sm" }, VP = { class: "date-range" }, IP = { class: "date-shortcuts" }, FP = ["onClick"], AP = { class: "rolodex" };
35494
- function NP(e, t, n, r, s, i) {
35607
+ }, AP = { class: "header" }, NP = { class: "font-muted font-sm" }, $P = { class: "date-range" }, PP = { class: "date-shortcuts" }, LP = ["onClick"], RP = { class: "rolodex" };
35608
+ function UP(e, t, n, r, s, i) {
35495
35609
  const a = y("flex-column"), l = y("flex-cell"), u = y("search"), d = y("ux-button"), m = y("date-range"), p = y("flex-row"), g = y("ux-menu"), v = y("ux-icon"), x = y("flex-header"), w = y("content-browser"), S = uf("tippy");
35496
35610
  return o(), k(a, { class: "wrapper" }, {
35497
35611
  default: f(() => [
@@ -35504,7 +35618,7 @@ function NP(e, t, n, r, s, i) {
35504
35618
  s.definition ? (o(), h(D, { key: 0 }, [
35505
35619
  c(x, null, {
35506
35620
  default: f(() => [
35507
- T("div", EP, [
35621
+ T("div", AP, [
35508
35622
  c(p, {
35509
35623
  vcenter: "",
35510
35624
  gap: ""
@@ -35518,7 +35632,7 @@ function NP(e, t, n, r, s, i) {
35518
35632
  }),
35519
35633
  i.maximum ? (o(), k(l, { key: 0 }, {
35520
35634
  default: f(() => [
35521
- T("span", MP, "(" + b(s.model.length) + " of " + b(i.maximum) + ")", 1)
35635
+ T("span", NP, "(" + b(s.model.length) + " of " + b(i.maximum) + ")", 1)
35522
35636
  ]),
35523
35637
  _: 1
35524
35638
  })) : _("", !0),
@@ -35556,16 +35670,16 @@ function NP(e, t, n, r, s, i) {
35556
35670
  ])
35557
35671
  ]),
35558
35672
  default: f(() => [
35559
- T("div", VP, [
35673
+ T("div", $P, [
35560
35674
  c(p, { gap: "" }, {
35561
35675
  default: f(() => [
35562
35676
  c(l, { shrink: "" }, {
35563
35677
  default: f(() => [
35564
- T("ul", IP, [
35678
+ T("ul", PP, [
35565
35679
  (o(!0), h(D, null, A(i.dateShortcuts, (C) => (o(), h("li", null, [
35566
35680
  T("a", {
35567
35681
  onClick: (V) => i.setDateRange(C)
35568
- }, b(C.title), 9, FP)
35682
+ }, b(C.title), 9, LP)
35569
35683
  ]))), 256))
35570
35684
  ])
35571
35685
  ]),
@@ -35649,7 +35763,7 @@ function NP(e, t, n, r, s, i) {
35649
35763
  abovecontent: f(() => [
35650
35764
  i.rolodexEnabled ? (o(), k(x, { key: 0 }, {
35651
35765
  default: f(() => [
35652
- T("div", AP, [
35766
+ T("div", RP, [
35653
35767
  c(d, {
35654
35768
  size: "sm",
35655
35769
  onClick: t[3] || (t[3] = (C) => i.toggleRolodex("")),
@@ -35685,7 +35799,7 @@ function NP(e, t, n, r, s, i) {
35685
35799
  _: 1
35686
35800
  });
35687
35801
  }
35688
- const $P = /* @__PURE__ */ M(CP, [["render", NP], ["__scopeId", "data-v-aeaca77a"]]), PP = {
35802
+ const jP = /* @__PURE__ */ M(FP, [["render", UP], ["__scopeId", "data-v-aeaca77a"]]), qP = {
35689
35803
  components: {
35690
35804
  ScopeSelect: f2
35691
35805
  // Search,
@@ -35759,14 +35873,14 @@ const $P = /* @__PURE__ */ M(CP, [["render", NP], ["__scopeId", "data-v-aeaca77a
35759
35873
  console.log("selection complete", e, this.model), this.close(this.model);
35760
35874
  }
35761
35875
  }
35762
- }, LP = (e) => (je("data-v-c5b42335"), e = e(), qe(), e), RP = { class: "header" }, UP = /* @__PURE__ */ LP(() => /* @__PURE__ */ T("h3", null, "Select Scopes", -1));
35763
- function jP(e, t, n, r, s, i) {
35876
+ }, BP = (e) => (je("data-v-c5b42335"), e = e(), qe(), e), zP = { class: "header" }, WP = /* @__PURE__ */ BP(() => /* @__PURE__ */ T("h3", null, "Select Scopes", -1));
35877
+ function HP(e, t, n, r, s, i) {
35764
35878
  const a = y("flex-cell"), l = y("ux-button"), u = y("flex-row"), d = y("flex-header"), m = y("scope-select"), p = y("flex-column");
35765
35879
  return o(), k(p, { class: "wrapper" }, {
35766
35880
  default: f(() => [
35767
35881
  c(d, null, {
35768
35882
  default: f(() => [
35769
- T("div", RP, [
35883
+ T("div", zP, [
35770
35884
  c(u, {
35771
35885
  vcenter: "",
35772
35886
  gap: ""
@@ -35774,7 +35888,7 @@ function jP(e, t, n, r, s, i) {
35774
35888
  default: f(() => [
35775
35889
  c(a, null, {
35776
35890
  default: f(() => [
35777
- UP
35891
+ WP
35778
35892
  ]),
35779
35893
  _: 1
35780
35894
  }),
@@ -35811,7 +35925,7 @@ function jP(e, t, n, r, s, i) {
35811
35925
  _: 1
35812
35926
  });
35813
35927
  }
35814
- const qP = /* @__PURE__ */ M(PP, [["render", jP], ["__scopeId", "data-v-c5b42335"]]), BP = {
35928
+ const GP = /* @__PURE__ */ M(qP, [["render", HP], ["__scopeId", "data-v-c5b42335"]]), YP = {
35815
35929
  mixins: [wn],
35816
35930
  components: {
35817
35931
  Tagger: PT
@@ -35835,17 +35949,17 @@ const qP = /* @__PURE__ */ M(PP, [["render", jP], ["__scopeId", "data-v-c5b42335
35835
35949
  data() {
35836
35950
  return {};
35837
35951
  }
35838
- }, zP = { class: "header" }, WP = {
35952
+ }, JP = { class: "header" }, KP = {
35839
35953
  key: 0,
35840
35954
  class: "font-sm font-muted"
35841
- }, HP = { class: "footer" };
35842
- function GP(e, t, n, r, s, i) {
35955
+ }, ZP = { class: "footer" };
35956
+ function XP(e, t, n, r, s, i) {
35843
35957
  const a = y("flex-cell"), l = y("flex-row"), u = y("flex-header"), d = y("tagger"), m = y("ux-panel-body"), p = y("flex-body"), g = y("ux-button"), v = y("flex-footer"), x = y("flex-column");
35844
35958
  return o(), k(x, { class: "wrapper" }, {
35845
35959
  default: f(() => [
35846
35960
  c(u, null, {
35847
35961
  default: f(() => [
35848
- T("div", zP, [
35962
+ T("div", JP, [
35849
35963
  c(l, {
35850
35964
  gap: "",
35851
35965
  center: ""
@@ -35856,7 +35970,7 @@ function GP(e, t, n, r, s, i) {
35856
35970
  var w;
35857
35971
  return [
35858
35972
  T("h3", null, b(i.title), 1),
35859
- (w = i.description) != null && w.length ? (o(), h("div", WP, b(i.description), 1)) : _("", !0)
35973
+ (w = i.description) != null && w.length ? (o(), h("div", KP, b(i.description), 1)) : _("", !0)
35860
35974
  ];
35861
35975
  }),
35862
35976
  _: 1
@@ -35884,7 +35998,7 @@ function GP(e, t, n, r, s, i) {
35884
35998
  }),
35885
35999
  c(v, null, {
35886
36000
  default: f(() => [
35887
- T("div", HP, [
36001
+ T("div", ZP, [
35888
36002
  c(l, {
35889
36003
  gap: "",
35890
36004
  center: ""
@@ -35927,7 +36041,7 @@ function GP(e, t, n, r, s, i) {
35927
36041
  _: 1
35928
36042
  });
35929
36043
  }
35930
- const YP = /* @__PURE__ */ M(BP, [["render", GP], ["__scopeId", "data-v-da6e77a9"]]), yt = "uploading", zi = "complete", dn = "ready", JP = "error", KP = "upload.cancel", ZP = "upload.start", af = "upload.complete", XP = "upload.progress", QP = "upload.error", eL = {
36044
+ const QP = /* @__PURE__ */ M(YP, [["render", XP], ["__scopeId", "data-v-da6e77a9"]]), yt = "uploading", zi = "complete", dn = "ready", eL = "error", tL = "upload.cancel", nL = "upload.start", af = "upload.complete", iL = "upload.progress", rL = "upload.error", sL = {
35931
36045
  props: {
35932
36046
  accept: {
35933
36047
  type: String
@@ -36058,7 +36172,7 @@ const YP = /* @__PURE__ */ M(BP, [["render", GP], ["__scopeId", "data-v-da6e77a9
36058
36172
  return new mf().bootstrap(d), n.queue.unshift(d), d;
36059
36173
  },
36060
36174
  cancelFile(e) {
36061
- e.state == yt && (e.cancel && e.cancel("Cancelled"), e.bytesLoaded = 0, e.percent = 0, e.state = dn, e.dispatch(KP));
36175
+ e.state == yt && (e.cancel && e.cancel("Cancelled"), e.bytesLoaded = 0, e.percent = 0, e.state = dn, e.dispatch(tL));
36062
36176
  },
36063
36177
  removeFile(e) {
36064
36178
  var t = this.queue.indexOf(e);
@@ -36084,7 +36198,7 @@ const YP = /* @__PURE__ */ M(BP, [["render", GP], ["__scopeId", "data-v-da6e77a9
36084
36198
  case yt:
36085
36199
  return;
36086
36200
  }
36087
- e.state = yt, e.dispatch(ZP);
36201
+ e.state = yt, e.dispatch(nL);
36088
36202
  {
36089
36203
  const m = e.size, p = e.name, g = e.mime, { data: v } = await t.$sdk.api.post("/file/check", {
36090
36204
  fileSize: m,
@@ -36108,7 +36222,7 @@ const YP = /* @__PURE__ */ M(BP, [["render", GP], ["__scopeId", "data-v-da6e77a9
36108
36222
  let p = Math.floor(
36109
36223
  m.loaded * 100 / m.total
36110
36224
  );
36111
- e.percent = p, e.bytesLoaded = m.loaded, e.bytesTotal = m.total, e.dispatch(XP, m);
36225
+ e.percent = p, e.bytesLoaded = m.loaded, e.bytesTotal = m.total, e.dispatch(iL, m);
36112
36226
  }
36113
36227
  };
36114
36228
  const l = t.$sdk.api.CancelToken.source();
@@ -36120,7 +36234,7 @@ const YP = /* @__PURE__ */ M(BP, [["render", GP], ["__scopeId", "data-v-da6e77a9
36120
36234
  e.result = m.data, e.state = zi, e.result.meta, t.$sdk.notify(`${e.result.title} was uploaded successfully`), e.dispatch(af, m.data), t.uploadNextFile();
36121
36235
  }), d.catch(function(m) {
36122
36236
  var p = t.$sdk.api.wasCancelled(m);
36123
- p ? e.state = dn : (e.state = JP, e.dispatch(QP, m), t.uploadNextFile());
36237
+ p ? e.state = dn : (e.state = eL, e.dispatch(rL, m), t.uploadNextFile());
36124
36238
  });
36125
36239
  },
36126
36240
  toggle() {
@@ -36177,9 +36291,9 @@ const YP = /* @__PURE__ */ M(BP, [["render", GP], ["__scopeId", "data-v-da6e77a9
36177
36291
  e.uploading ? e.pause() : (e.queue.length = 0, e.defaultFreeformTags.length = 0, e.defaultScopes.length = 0);
36178
36292
  }
36179
36293
  }
36180
- }, tL = { class: "uploader" }, nL = ["accept"], iL = ["accept"];
36181
- function rL(e, t, n, r, s, i) {
36182
- return o(), h("div", tL, [
36294
+ }, aL = { class: "uploader" }, lL = ["accept"], oL = ["accept"];
36295
+ function uL(e, t, n, r, s, i) {
36296
+ return o(), h("div", aL, [
36183
36297
  T("input", {
36184
36298
  style: { display: "none" },
36185
36299
  accept: n.accept,
@@ -36187,13 +36301,13 @@ function rL(e, t, n, r, s, i) {
36187
36301
  type: "file",
36188
36302
  multiple: "",
36189
36303
  onChange: t[0] || (t[0] = (a) => i.filesSelected(a.target.files))
36190
- }, null, 40, nL),
36304
+ }, null, 40, lL),
36191
36305
  T("input", {
36192
36306
  style: { display: "none" },
36193
36307
  accept: n.accept,
36194
36308
  ref: "immediateFile",
36195
36309
  type: "file"
36196
- }, null, 8, iL),
36310
+ }, null, 8, oL),
36197
36311
  z(e.$slots, "default", {
36198
36312
  queue: s.queue,
36199
36313
  items: e.items,
@@ -36205,11 +36319,11 @@ function rL(e, t, n, r, s, i) {
36205
36319
  })
36206
36320
  ]);
36207
36321
  }
36208
- const cL = /* @__PURE__ */ M(eL, [["render", rL]]);
36209
- function sL(e, t) {
36322
+ const yL = /* @__PURE__ */ M(sL, [["render", uL]]);
36323
+ function dL(e, t) {
36210
36324
  return t.reduce((n, r) => Math.abs(r - e) < Math.abs(n - e) ? r : n);
36211
36325
  }
36212
- function fL() {
36326
+ function gL() {
36213
36327
  var e = Gt({
36214
36328
  mounted: !1,
36215
36329
  screen: {
@@ -36282,7 +36396,7 @@ function fL() {
36282
36396
  point: 0
36283
36397
  }, a = 0;
36284
36398
  r > e.limits.xs && a++, r > e.limits.sm && a++, r > e.limits.md && a++, r > e.limits.lg && a++, a < 1 && (i.mobile = !0, i.xs = !0, i.xsOnly = !0, i.smAndDown = !0, i.mdAndDown = !0, i.lgAndDown = !0), a == 1 && (i.tablet = !0, i.sm = !0, i.smOnly = !0, i.smAndDown = !0, i.mdAndDown = !0, i.lgAndDown = !0, i.smAndUp = !0), a == 2 && (i.desktop = !0, i.md = !0, i.mdOnly = !0, i.mdAndDown = !0, i.lgAndDown = !0, i.smAndUp = !0, i.mdAndUp = !0), a == 3 && (i.desktop = !0, i.lg = !0, i.lgOnly = !0, i.lgAndDown = !0, i.smAndUp = !0, i.mdAndUp = !0, i.lgAndUp = !0), a > 3 && (i.desktop = !0, i.xl = !0, i.xlOnly = !0, i.smAndUp = !0, i.mdAndUp = !0, i.lgAndUp = !0), e.point = a, e.breakpoint = i;
36285
- const u = sL(r, [320, 768, 1200, 1800, 2e3]), d = u * 1, m = u * 1.5, p = u * 2;
36399
+ const u = dL(r, [320, 768, 1200, 1800, 2e3]), d = u * 1, m = u * 1.5, p = u * 2;
36286
36400
  e.image = {
36287
36401
  auto: {
36288
36402
  low: d,
@@ -36296,7 +36410,7 @@ function fL() {
36296
36410
  n.removeEventListener("resize", e.resize), n = !1, t = !1, e.mounted = !1;
36297
36411
  }, e;
36298
36412
  }
36299
- const aL = `qik vue ui ${Jh}`, lf = {
36413
+ const cL = `qik vue ui ${Jh}`, lf = {
36300
36414
  FlexColumn: ug,
36301
36415
  FlexBody: mg,
36302
36416
  FlexHeader: gg,
@@ -36315,10 +36429,10 @@ const aL = `qik vue ui ${Jh}`, lf = {
36315
36429
  // UxCircle: UXCircle,
36316
36430
  UxForm: Ch,
36317
36431
  UxFormField: ao,
36318
- UxFieldWrapper: NN,
36319
- UxSubmissionForm: dN,
36320
- UxPaymentMethodForm: MN,
36321
- UxRender: D$,
36432
+ UxFieldWrapper: UN,
36433
+ UxSubmissionForm: pN,
36434
+ UxPaymentMethodForm: NN,
36435
+ UxRender: I$,
36322
36436
  UxRenderField: Vh,
36323
36437
  UxIcon: pk,
36324
36438
  UxMenu: _k,
@@ -36339,12 +36453,12 @@ const aL = `qik vue ui ${Jh}`, lf = {
36339
36453
  UxSpinner: Pn,
36340
36454
  ProgressBar: Yu,
36341
36455
  UxProgressBar: Yu,
36342
- UxModal: tP,
36456
+ UxModal: aP,
36343
36457
  Compile: Mh
36344
- }, mL = {
36458
+ }, _L = {
36345
36459
  install(e, t) {
36346
36460
  var r;
36347
- if (console.log(aL), t.date = fe, t.global = t.global || Gt({}), (r = t.global) != null && r.cacheKeys || (t.global.cacheKeys = t.global.cacheKeys || Gt({})), !t.global.glossary) {
36461
+ if (console.log(cL), t.date = fe, t.global = t.global || Gt({}), (r = t.global) != null && r.cacheKeys || (t.global.cacheKeys = t.global.cacheKeys || Gt({})), !t.global.glossary) {
36348
36462
  var n = Zy(t);
36349
36463
  e.config.globalProperties.$glossary = n, t.global.glossary = n;
36350
36464
  }
@@ -36354,17 +36468,17 @@ const aL = `qik vue ui ${Jh}`, lf = {
36354
36468
  });
36355
36469
  }, t.prompt = function(s, i) {
36356
36470
  return i = i || {}, i.model = i.model || {}, i.fields = s, t.modal({
36357
- component: SP,
36471
+ component: MP,
36358
36472
  options: i
36359
36473
  });
36360
36474
  }, t.browse = function(s, i) {
36361
36475
  return i = i || {}, i.type = s, i.model = i.model || [], t.modal({
36362
- component: $P,
36476
+ component: jP,
36363
36477
  options: i
36364
36478
  });
36365
36479
  }, t.tag = function(s) {
36366
36480
  return s = s || {}, s.model = s.model || [], t.modal({
36367
- component: YP,
36481
+ component: QP,
36368
36482
  options: s
36369
36483
  });
36370
36484
  }, t.selectScopes = async function(s) {
@@ -36386,17 +36500,17 @@ const aL = `qik vue ui ${Jh}`, lf = {
36386
36500
  );
36387
36501
  }
36388
36502
  return t.modal({
36389
- component: qP,
36503
+ component: GP,
36390
36504
  options: s
36391
36505
  });
36392
36506
  }, t.confirm = function(s, i) {
36393
36507
  return i = i || {}, i.title = s, t.modal({
36394
- component: lP,
36508
+ component: fP,
36395
36509
  options: i
36396
36510
  });
36397
36511
  }, t.options = function(s, i, a, l) {
36398
36512
  return l = l || {}, t.modal({
36399
- component: vP,
36513
+ component: TP,
36400
36514
  options: {
36401
36515
  title: i,
36402
36516
  description: a,
@@ -36419,10 +36533,10 @@ const aL = `qik vue ui ${Jh}`, lf = {
36419
36533
  export {
36420
36534
  Gu as Avatar,
36421
36535
  Dh as CodeEditor,
36422
- Z$ as ContentBrowser,
36536
+ nP as ContentBrowser,
36423
36537
  Wm as ContentSearch,
36424
36538
  Um as DateRange,
36425
- fL as Device,
36539
+ gL as Device,
36426
36540
  KM as FileDrop,
36427
36541
  mg as FlexBody,
36428
36542
  Tg as FlexCell,
@@ -36443,12 +36557,12 @@ export {
36443
36557
  Gg as PanelFooter,
36444
36558
  Bg as PanelHeader,
36445
36559
  Yu as ProgressBar,
36446
- mL as QikUI,
36560
+ _L as QikUI,
36447
36561
  K1 as RememberScrollMixin,
36448
36562
  f2 as ScopeSelect,
36449
36563
  y2 as ScopeSelectButton,
36450
36564
  Qt as Search,
36451
- C$ as Selection,
36565
+ F$ as Selection,
36452
36566
  Pn as Spinner,
36453
36567
  fm as StripeElement,
36454
36568
  mm as StripeElements,
@@ -36456,7 +36570,7 @@ export {
36456
36570
  sk as UXButton,
36457
36571
  Gl as UXCheckbox,
36458
36572
  Hl as UXCircle,
36459
- NN as UXFieldWrapper,
36573
+ UN as UXFieldWrapper,
36460
36574
  Ch as UXForm,
36461
36575
  ao as UXFormField,
36462
36576
  pk as UXIcon,
@@ -36465,27 +36579,27 @@ export {
36465
36579
  fk as UXLink,
36466
36580
  zk as UXList,
36467
36581
  Gk as UXListItem,
36468
- LI as UXLocationSelect,
36582
+ BI as UXLocationSelect,
36469
36583
  vT as UXMap,
36470
36584
  _k as UXMenu,
36471
36585
  kk as UXMenuList,
36472
- MN as UXPaymentMethodForm,
36586
+ NN as UXPaymentMethodForm,
36473
36587
  Uk as UXPill,
36474
- D$ as UXRender,
36588
+ I$ as UXRender,
36475
36589
  Vh as UXRenderField,
36476
- dN as UXSubmissionForm,
36590
+ pN as UXSubmissionForm,
36477
36591
  xm as UXSwitch,
36478
36592
  l_ as UXTab,
36479
36593
  rb as UXTable,
36480
36594
  r_ as UXTabset,
36481
36595
  Ik as UXVideo,
36482
- cL as UploadService,
36483
- lP as UxConfirmModal,
36484
- $P as UxContentModal,
36485
- tP as UxModal,
36486
- vP as UxOptionsModal,
36487
- SP as UxPromptModal,
36488
- qP as UxScopeModal,
36489
- YP as UxTaggerModal
36596
+ yL as UploadService,
36597
+ fP as UxConfirmModal,
36598
+ jP as UxContentModal,
36599
+ aP as UxModal,
36600
+ TP as UxOptionsModal,
36601
+ MP as UxPromptModal,
36602
+ GP as UxScopeModal,
36603
+ QP as UxTaggerModal
36490
36604
  };
36491
36605
  //# sourceMappingURL=lib.es.js.map