@qikdev/vue-ui 0.2.241 → 0.2.242

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lib.es.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import './style.css';
2
2
  import { defineComponent as Mr, ref as en, toRefs as Il, onMounted as Ml, onBeforeUnmount as eu, watch as $r, computed as _r, openBlock as a, createElementBlock as d, renderSlot as G, createCommentVNode as _, normalizeClass as A, useSlots as tu, reactive as Ut, provide as Bi, resolveComponent as y, Fragment as S, unref as Gn, createBlock as k, withCtx as h, createVNode as f, renderList as M, toDisplayString as b, withDirectives as W, vShow as pi, createElementVNode as x, withModifiers as q, createTextVNode as V, h as gr, mergeProps as Di, toHandlers as Ar, normalizeStyle as He, resolveDynamicComponent as Ct, vModelSelect as mt, pushScopeId as Ze, popScopeId as Je, Teleport as $l, vModelText as oe, withKeys as ye, TransitionGroup as nu, nextTick as Al, vModelDynamic as Yn } from "vue";
3
3
  import { EventDispatcher as Ll } from "@qikdev/sdk";
4
- const iu = "0.2.241";
4
+ const iu = "0.2.242";
5
5
  class Rt extends Error {
6
6
  }
7
7
  class ru extends Rt {
@@ -7139,16 +7139,20 @@ const ee = {
7139
7139
  e.hasAsyncOptions && await e.reloadAsyncOptions();
7140
7140
  },
7141
7141
  inject: {
7142
- form: { default() {
7143
- } },
7144
- fieldPath: { default() {
7145
- } }
7142
+ form: {
7143
+ default() {
7144
+ }
7145
+ },
7146
+ fieldPath: {
7147
+ default() {
7148
+ }
7149
+ }
7146
7150
  },
7147
7151
  computed: {
7148
7152
  asyncOptionsURL() {
7149
7153
  const e = this;
7150
7154
  if (e.field.asyncOptions)
7151
- return console.log("ASYNC OPTIONS URL IS", e.field.asyncOptions), e.field.asyncOptions;
7155
+ return e.field.asyncOptions;
7152
7156
  },
7153
7157
  hasAsyncOptions() {
7154
7158
  var e;
@@ -7199,7 +7203,9 @@ const ee = {
7199
7203
  options() {
7200
7204
  var e = this;
7201
7205
  if (e.field.type === "reference") {
7202
- const t = (e.field.allowedReferences || []).filter(Boolean);
7206
+ const t = (e.field.allowedReferences || []).filter(
7207
+ Boolean
7208
+ );
7203
7209
  if (t.length)
7204
7210
  return t.map(function(n) {
7205
7211
  let { _id: r, title: s } = n;
@@ -7340,7 +7346,10 @@ const ee = {
7340
7346
  page: {
7341
7347
  size: 1e3
7342
7348
  }
7343
- }, { items: r } = await e.$sdk.content.list(t, n);
7349
+ }, { items: r } = await e.$sdk.content.list(
7350
+ t,
7351
+ n
7352
+ );
7344
7353
  e.dynamicOptions = r.map(function({ _id: s, title: i }) {
7345
7354
  return {
7346
7355
  value: s,
@@ -7919,7 +7928,7 @@ function sg(e, t, n, r, s, i) {
7919
7928
  _: 1
7920
7929
  });
7921
7930
  }
7922
- const fI = /* @__PURE__ */ T(rg, [["render", sg], ["__scopeId", "data-v-f46dd772"]]);
7931
+ const mI = /* @__PURE__ */ T(rg, [["render", sg], ["__scopeId", "data-v-f46dd772"]]);
7923
7932
  const lg = {
7924
7933
  props: {
7925
7934
  icon: {
@@ -17528,8 +17537,11 @@ const Gw = {
17528
17537
  }, Zw = {
17529
17538
  key: 1,
17530
17539
  class: "ux-field-description"
17531
- }, Jw = { class: "buttons" };
17532
- function Xw(e, t, n, r, s, i) {
17540
+ }, Jw = { key: 2 }, Xw = {
17541
+ key: 3,
17542
+ class: "buttons"
17543
+ };
17544
+ function Qw(e, t, n, r, s, i) {
17533
17545
  const l = y("ux-icon"), o = y("ux-button"), u = y("option-slot");
17534
17546
  return a(), d(S, null, [
17535
17547
  e.showLabel ? (a(), d("label", Yw, [
@@ -17537,7 +17549,14 @@ function Xw(e, t, n, r, s, i) {
17537
17549
  e.required ? (a(), d("span", Kw, "*")) : _("", !0)
17538
17550
  ])) : _("", !0),
17539
17551
  e.showDescription ? (a(), d("div", Zw, b(e.description), 1)) : _("", !0),
17540
- x("div", Jw, [
17552
+ e.loadingAsyncOptions ? (a(), d("div", Jw, [
17553
+ f(l, {
17554
+ icon: "fa-spinner",
17555
+ spin: "",
17556
+ left: ""
17557
+ }),
17558
+ V(" Loading Options ")
17559
+ ])) : (a(), d("div", Xw, [
17541
17560
  (a(!0), d(S, null, M(e.selectableOptions, (m) => (a(), k(u, { option: m }, {
17542
17561
  default: h(({ plainValue: c }) => [
17543
17562
  f(o, {
@@ -17557,11 +17576,11 @@ function Xw(e, t, n, r, s, i) {
17557
17576
  ]),
17558
17577
  _: 2
17559
17578
  }, 1032, ["option"]))), 256))
17560
- ])
17579
+ ]))
17561
17580
  ], 64);
17562
17581
  }
17563
- const Qw = /* @__PURE__ */ T(Gw, [["render", Xw], ["__scopeId", "data-v-7ec6958f"]]);
17564
- const eS = {
17582
+ const eS = /* @__PURE__ */ T(Gw, [["render", Qw], ["__scopeId", "data-v-4f57f0c4"]]);
17583
+ const tS = {
17565
17584
  props: {
17566
17585
  modelValue: {
17567
17586
  type: Object
@@ -17574,25 +17593,25 @@ const eS = {
17574
17593
  return {};
17575
17594
  }
17576
17595
  }
17577
- }, tS = {
17596
+ }, nS = {
17578
17597
  key: 0,
17579
17598
  class: "ux-field-title"
17580
- }, nS = {
17599
+ }, iS = {
17581
17600
  key: 0,
17582
17601
  class: "ux-required-marker"
17583
- }, iS = {
17602
+ }, rS = {
17584
17603
  key: 1,
17585
17604
  class: "ux-field-description"
17586
- }, rS = { key: 2 }, sS = { key: 3 };
17587
- function lS(e, t, n, r, s, i) {
17605
+ }, sS = { key: 2 }, lS = { key: 3 };
17606
+ function oS(e, t, n, r, s, i) {
17588
17607
  const l = y("flex-cell"), o = y("ux-icon"), u = y("ux-button"), m = y("flex-row");
17589
17608
  return a(), d(S, null, [
17590
- e.showLabel ? (a(), d("label", tS, [
17609
+ e.showLabel ? (a(), d("label", nS, [
17591
17610
  V(b(e.label) + " ", 1),
17592
- e.required ? (a(), d("span", nS, "*")) : _("", !0)
17611
+ e.required ? (a(), d("span", iS, "*")) : _("", !0)
17593
17612
  ])) : _("", !0),
17594
- e.showDescription ? (a(), d("div", iS, b(e.description), 1)) : _("", !0),
17595
- e.multiValue ? (a(), d("div", rS, [
17613
+ e.showDescription ? (a(), d("div", rS, b(e.description), 1)) : _("", !0),
17614
+ e.multiValue ? (a(), d("div", sS, [
17596
17615
  (a(!0), d(S, null, M(e.model, (c, p) => (a(), k(m, {
17597
17616
  class: "ux-text-row",
17598
17617
  key: p
@@ -17639,11 +17658,11 @@ function lS(e, t, n, r, s, i) {
17639
17658
  ]),
17640
17659
  _: 1
17641
17660
  })) : _("", !0)
17642
- ])) : (a(), d("pre", sS, b(e.model), 1))
17661
+ ])) : (a(), d("pre", lS, b(e.model), 1))
17643
17662
  ], 64);
17644
17663
  }
17645
- const oS = /* @__PURE__ */ T(eS, [["render", lS], ["__scopeId", "data-v-aae5394a"]]);
17646
- const aS = {
17664
+ const aS = /* @__PURE__ */ T(tS, [["render", oS], ["__scopeId", "data-v-aae5394a"]]);
17665
+ const uS = {
17647
17666
  components: {
17648
17667
  UxCheckbox: Kr
17649
17668
  },
@@ -17778,27 +17797,27 @@ const aS = {
17778
17797
  };
17779
17798
  }
17780
17799
  }
17781
- }, uS = { key: 0 }, dS = { key: 1 }, cS = {
17800
+ }, dS = { key: 0 }, cS = { key: 1 }, fS = {
17782
17801
  key: 0,
17783
17802
  class: "ux-field-title"
17784
- }, fS = {
17803
+ }, mS = {
17785
17804
  key: 0,
17786
17805
  class: "ux-required-marker"
17787
- }, mS = {
17806
+ }, hS = {
17788
17807
  key: 1,
17789
17808
  class: "ux-field-description"
17790
- }, hS = { key: 2 };
17791
- function pS(e, t, n, r, s, i) {
17809
+ }, pS = { key: 2 };
17810
+ function yS(e, t, n, r, s, i) {
17792
17811
  const l = y("spinner"), o = y("ux-checkbox"), u = y("flex-cell"), m = y("ux-form"), c = y("flex-row");
17793
- return s.loadingGlossary ? (a(), d("div", uS, [
17812
+ return s.loadingGlossary ? (a(), d("div", dS, [
17794
17813
  f(l)
17795
- ])) : i.definition ? (a(), d("div", dS, [
17796
- e.showLabel ? (a(), d("label", cS, [
17814
+ ])) : i.definition ? (a(), d("div", cS, [
17815
+ e.showLabel ? (a(), d("label", fS, [
17797
17816
  V(b(e.label) + " ", 1),
17798
- e.required ? (a(), d("span", fS, "*")) : _("", !0)
17817
+ e.required ? (a(), d("span", mS, "*")) : _("", !0)
17799
17818
  ])) : _("", !0),
17800
- e.showDescription ? (a(), d("div", mS, b(e.description), 1)) : _("", !0),
17801
- e.multiValue ? (a(), d("div", hS, " This field can not be used on a multiple ")) : (a(!0), d(S, { key: 3 }, M(i.fields, (p) => (a(), d("div", {
17819
+ e.showDescription ? (a(), d("div", hS, b(e.description), 1)) : _("", !0),
17820
+ e.multiValue ? (a(), d("div", pS, " This field can not be used on a multiple ")) : (a(!0), d(S, { key: 3 }, M(i.fields, (p) => (a(), d("div", {
17802
17821
  class: A(["field-row", { active: e.model.enabled[p.path] }])
17803
17822
  }, [
17804
17823
  f(c, { gap: "" }, {
@@ -17854,8 +17873,8 @@ function pS(e, t, n, r, s, i) {
17854
17873
  ], 2))), 256))
17855
17874
  ])) : _("", !0);
17856
17875
  }
17857
- const yS = /* @__PURE__ */ T(aS, [["render", pS], ["__scopeId", "data-v-46962828"]]);
17858
- const _S = {
17876
+ const _S = /* @__PURE__ */ T(uS, [["render", yS], ["__scopeId", "data-v-46962828"]]);
17877
+ const gS = {
17859
17878
  props: {
17860
17879
  modelValue: {
17861
17880
  type: [String, Array]
@@ -17920,25 +17939,25 @@ const _S = {
17920
17939
  };
17921
17940
  }
17922
17941
  }
17923
- }, Pi = (e) => (Ze("data-v-c8feb6c2"), e = e(), Je(), e), gS = {
17942
+ }, Pi = (e) => (Ze("data-v-c8feb6c2"), e = e(), Je(), e), vS = {
17924
17943
  key: 0,
17925
17944
  class: "ux-field-title"
17926
- }, vS = {
17945
+ }, bS = {
17927
17946
  key: 0,
17928
17947
  class: "ux-required-marker"
17929
- }, bS = {
17948
+ }, kS = {
17930
17949
  key: 1,
17931
17950
  class: "ux-field-description"
17932
- }, kS = { key: 2 }, xS = { class: "ux-text-wrap prefixed" }, wS = /* @__PURE__ */ Pi(() => /* @__PURE__ */ x("span", { class: "ux-text-prefix" }, "Label", -1)), SS = ["onBlur", "on:update:modelValue", "onUpdate:modelValue"], VS = ["onBlur", "on:update:modelValue", "onUpdate:modelValue"], OS = { class: "ux-text-wrap prefixed" }, TS = /* @__PURE__ */ Pi(() => /* @__PURE__ */ x("span", { class: "ux-text-prefix" }, "Value", -1)), CS = ["onFocus", "onUpdate:modelValue"], ES = ["onFocus", "onUpdate:modelValue"], DS = { class: "ux-text-wrap prefixed" }, FS = /* @__PURE__ */ Pi(() => /* @__PURE__ */ x("span", { class: "ux-text-prefix" }, "Label", -1)), IS = { class: "ux-text-wrap prefixed" }, MS = /* @__PURE__ */ Pi(() => /* @__PURE__ */ x("span", { class: "ux-text-prefix" }, "Value", -1));
17933
- function $S(e, t, n, r, s, i) {
17951
+ }, xS = { key: 2 }, wS = { class: "ux-text-wrap prefixed" }, SS = /* @__PURE__ */ Pi(() => /* @__PURE__ */ x("span", { class: "ux-text-prefix" }, "Label", -1)), VS = ["onBlur", "on:update:modelValue", "onUpdate:modelValue"], OS = ["onBlur", "on:update:modelValue", "onUpdate:modelValue"], TS = { class: "ux-text-wrap prefixed" }, CS = /* @__PURE__ */ Pi(() => /* @__PURE__ */ x("span", { class: "ux-text-prefix" }, "Value", -1)), ES = ["onFocus", "onUpdate:modelValue"], DS = ["onFocus", "onUpdate:modelValue"], FS = { class: "ux-text-wrap prefixed" }, IS = /* @__PURE__ */ Pi(() => /* @__PURE__ */ x("span", { class: "ux-text-prefix" }, "Label", -1)), MS = { class: "ux-text-wrap prefixed" }, $S = /* @__PURE__ */ Pi(() => /* @__PURE__ */ x("span", { class: "ux-text-prefix" }, "Value", -1));
17952
+ function AS(e, t, n, r, s, i) {
17934
17953
  const l = y("flex-cell"), o = y("ux-icon"), u = y("ux-button"), m = y("flex-row");
17935
17954
  return a(), d(S, null, [
17936
- e.showLabel ? (a(), d("label", gS, [
17955
+ e.showLabel ? (a(), d("label", vS, [
17937
17956
  V(b(e.label) + " ", 1),
17938
- e.required ? (a(), d("span", vS, "*")) : _("", !0)
17957
+ e.required ? (a(), d("span", bS, "*")) : _("", !0)
17939
17958
  ])) : _("", !0),
17940
- e.showDescription ? (a(), d("div", bS, b(e.description), 1)) : _("", !0),
17941
- e.multiValue ? (a(), d("div", kS, [
17959
+ e.showDescription ? (a(), d("div", kS, b(e.description), 1)) : _("", !0),
17960
+ e.multiValue ? (a(), d("div", xS, [
17942
17961
  (a(!0), d(S, null, M(e.model, (c, p) => (a(), k(m, {
17943
17962
  class: "ux-text-row",
17944
17963
  key: p
@@ -17946,8 +17965,8 @@ function $S(e, t, n, r, s, i) {
17946
17965
  default: h(() => [
17947
17966
  f(l, null, {
17948
17967
  default: h(() => [
17949
- x("div", xS, [
17950
- wS,
17968
+ x("div", wS, [
17969
+ SS,
17951
17970
  i.lazy ? W((a(), d("input", {
17952
17971
  key: 0,
17953
17972
  class: "ux-field-focus ux-text-input-multiple",
@@ -17959,7 +17978,7 @@ function $S(e, t, n, r, s, i) {
17959
17978
  onBlur: (g) => i.titleBlurred(p),
17960
17979
  "on:update:modelValue": (g) => i.entryTitleChanged(p),
17961
17980
  "onUpdate:modelValue": (g) => e.model[p].title = g
17962
- }, null, 40, SS)), [
17981
+ }, null, 40, VS)), [
17963
17982
  [
17964
17983
  oe,
17965
17984
  e.model[p].title,
@@ -17978,7 +17997,7 @@ function $S(e, t, n, r, s, i) {
17978
17997
  onBlur: (g) => i.titleBlurred(p),
17979
17998
  "on:update:modelValue": (g) => i.entryTitleChanged(p),
17980
17999
  "onUpdate:modelValue": (g) => e.model[p].title = g
17981
- }, null, 40, VS)), [
18000
+ }, null, 40, OS)), [
17982
18001
  [oe, e.model[p].title]
17983
18002
  ])
17984
18003
  ])
@@ -17987,8 +18006,8 @@ function $S(e, t, n, r, s, i) {
17987
18006
  }, 1024),
17988
18007
  f(l, null, {
17989
18008
  default: h(() => [
17990
- x("div", OS, [
17991
- TS,
18009
+ x("div", TS, [
18010
+ CS,
17992
18011
  i.lazy ? W((a(), d("input", {
17993
18012
  key: 0,
17994
18013
  class: "ux-field-focus ux-text-input-multiple",
@@ -17998,7 +18017,7 @@ function $S(e, t, n, r, s, i) {
17998
18017
  ref: "valueInput",
17999
18018
  onKeydown: t[4] || (t[4] = ye(q((g) => e.add(), ["stop", "prevent"]), ["enter"])),
18000
18019
  "onUpdate:modelValue": (g) => e.model[p].value = g
18001
- }, null, 40, CS)), [
18020
+ }, null, 40, ES)), [
18002
18021
  [
18003
18022
  oe,
18004
18023
  e.model[p].value,
@@ -18015,7 +18034,7 @@ function $S(e, t, n, r, s, i) {
18015
18034
  ref: "valueInput",
18016
18035
  onKeydown: t[5] || (t[5] = ye(q((g) => e.add(), ["stop", "prevent"]), ["enter"])),
18017
18036
  "onUpdate:modelValue": (g) => e.model[p].value = g
18018
- }, null, 40, ES)), [
18037
+ }, null, 40, DS)), [
18019
18038
  [oe, e.model[p].value]
18020
18039
  ])
18021
18040
  ])
@@ -18064,8 +18083,8 @@ function $S(e, t, n, r, s, i) {
18064
18083
  default: h(() => [
18065
18084
  f(l, null, {
18066
18085
  default: h(() => [
18067
- x("div", DS, [
18068
- FS,
18086
+ x("div", FS, [
18087
+ IS,
18069
18088
  i.lazy ? W((a(), d("input", {
18070
18089
  key: 0,
18071
18090
  class: "ux-field-focus ux-text-input-multiple",
@@ -18103,8 +18122,8 @@ function $S(e, t, n, r, s, i) {
18103
18122
  }),
18104
18123
  f(l, null, {
18105
18124
  default: h(() => [
18106
- x("div", IS, [
18107
- MS,
18125
+ x("div", MS, [
18126
+ $S,
18108
18127
  i.lazy ? W((a(), d("input", {
18109
18128
  key: 0,
18110
18129
  class: "ux-field-focus ux-text-input-multiple",
@@ -18141,8 +18160,8 @@ function $S(e, t, n, r, s, i) {
18141
18160
  }))
18142
18161
  ], 64);
18143
18162
  }
18144
- const AS = /* @__PURE__ */ T(_S, [["render", $S], ["__scopeId", "data-v-c8feb6c2"]]);
18145
- const LS = {
18163
+ const LS = /* @__PURE__ */ T(gS, [["render", AS], ["__scopeId", "data-v-c8feb6c2"]]);
18164
+ const NS = {
18146
18165
  components: {
18147
18166
  // VAceEditor,
18148
18167
  },
@@ -18238,21 +18257,21 @@ const LS = {
18238
18257
  selectionContext: {}
18239
18258
  };
18240
18259
  }
18241
- }, NS = {
18260
+ }, US = {
18242
18261
  key: 0,
18243
18262
  class: "tokens"
18244
- }, US = {
18263
+ }, PS = {
18245
18264
  key: 0,
18246
18265
  class: "tokens-body"
18247
18266
  };
18248
- function PS(e, t, n, r, s, i) {
18267
+ function jS(e, t, n, r, s, i) {
18249
18268
  const l = y("flex-cell"), o = y("ux-icon"), u = y("flex-row"), m = y("ux-button"), c = y("v-ace-editor"), p = y("flex-column");
18250
18269
  return s.mounted ? (a(), k(p, {
18251
18270
  key: 0,
18252
18271
  class: "ux-code-editor"
18253
18272
  }, {
18254
18273
  default: h(() => [
18255
- n.tokens.length ? (a(), d("div", NS, [
18274
+ n.tokens.length ? (a(), d("div", US, [
18256
18275
  x("div", {
18257
18276
  class: "tokens-header",
18258
18277
  onClick: t[0] || (t[0] = (g) => s.showTokens = !s.showTokens)
@@ -18280,7 +18299,7 @@ function PS(e, t, n, r, s, i) {
18280
18299
  _: 1
18281
18300
  })
18282
18301
  ]),
18283
- s.showTokens ? (a(), d("div", US, [
18302
+ s.showTokens ? (a(), d("div", PS, [
18284
18303
  (a(!0), d(S, null, M(n.tokens, (g) => (a(), k(m, {
18285
18304
  size: "xs",
18286
18305
  onClick: q((v) => i.injectToken(g.value), ["stop", "prevent"])
@@ -18310,10 +18329,10 @@ function PS(e, t, n, r, s, i) {
18310
18329
  _: 1
18311
18330
  })) : _("", !0);
18312
18331
  }
18313
- const jS = /* @__PURE__ */ T(LS, [["render", PS], ["__scopeId", "data-v-d61fa45a"]]);
18314
- const RS = {
18332
+ const RS = /* @__PURE__ */ T(NS, [["render", jS], ["__scopeId", "data-v-d61fa45a"]]);
18333
+ const BS = {
18315
18334
  components: {
18316
- CodeEditor: jS
18335
+ CodeEditor: RS
18317
18336
  },
18318
18337
  props: {
18319
18338
  modelValue: {
@@ -18333,30 +18352,30 @@ const RS = {
18333
18352
  return "";
18334
18353
  }
18335
18354
  }
18336
- }, BS = {
18355
+ }, zS = {
18337
18356
  key: 0,
18338
18357
  class: "ux-field-title"
18339
- }, zS = {
18358
+ }, qS = {
18340
18359
  key: 0,
18341
18360
  class: "ux-required-marker"
18342
- }, qS = {
18361
+ }, HS = {
18343
18362
  key: 1,
18344
18363
  class: "ux-field-description"
18345
- }, HS = { key: 2 }, WS = { class: "code-editor-field-wrap" }, GS = {
18364
+ }, WS = { key: 2 }, GS = { class: "code-editor-field-wrap" }, YS = {
18346
18365
  key: 3,
18347
18366
  class: "code-editor-field-wrap"
18348
18367
  };
18349
- function YS(e, t, n, r, s, i) {
18368
+ function KS(e, t, n, r, s, i) {
18350
18369
  const l = y("code-editor"), o = y("flex-cell"), u = y("ux-icon"), m = y("ux-button"), c = y("flex-row");
18351
18370
  return a(), d("div", {
18352
18371
  onKeydown: t[2] || (t[2] = ye(q((p) => i.enterPress(p), ["stop"]), ["enter"]))
18353
18372
  }, [
18354
- e.showLabel ? (a(), d("label", BS, [
18373
+ e.showLabel ? (a(), d("label", zS, [
18355
18374
  V(b(e.label) + " ", 1),
18356
- e.required ? (a(), d("span", zS, "*")) : _("", !0)
18375
+ e.required ? (a(), d("span", qS, "*")) : _("", !0)
18357
18376
  ])) : _("", !0),
18358
- e.showDescription ? (a(), d("div", qS, b(e.description), 1)) : _("", !0),
18359
- e.multiValue ? (a(), d("div", HS, [
18377
+ e.showDescription ? (a(), d("div", HS, b(e.description), 1)) : _("", !0),
18378
+ e.multiValue ? (a(), d("div", WS, [
18360
18379
  (a(!0), d(S, null, M(e.model, (p, g) => (a(), k(c, {
18361
18380
  class: "ux-text-row",
18362
18381
  key: g
@@ -18364,7 +18383,7 @@ function YS(e, t, n, r, s, i) {
18364
18383
  default: h(() => [
18365
18384
  f(o, null, {
18366
18385
  default: h(() => [
18367
- x("div", WS, [
18386
+ x("div", GS, [
18368
18387
  f(l, {
18369
18388
  lang: i.syntax,
18370
18389
  onFocus: e.touch,
@@ -18409,7 +18428,7 @@ function YS(e, t, n, r, s, i) {
18409
18428
  ]),
18410
18429
  _: 1
18411
18430
  })) : _("", !0)
18412
- ])) : (a(), d("div", GS, [
18431
+ ])) : (a(), d("div", YS, [
18413
18432
  f(l, {
18414
18433
  lang: i.syntax,
18415
18434
  class: "ux-code-editor ux-field-focus ux-text-area-single",
@@ -18420,8 +18439,8 @@ function YS(e, t, n, r, s, i) {
18420
18439
  ]))
18421
18440
  ], 32);
18422
18441
  }
18423
- const KS = /* @__PURE__ */ T(RS, [["render", YS], ["__scopeId", "data-v-50e774dd"]]);
18424
- const ZS = {
18442
+ const ZS = /* @__PURE__ */ T(BS, [["render", KS], ["__scopeId", "data-v-50e774dd"]]);
18443
+ const JS = {
18425
18444
  props: {
18426
18445
  autofocus: {
18427
18446
  type: Boolean
@@ -18489,15 +18508,15 @@ const ZS = {
18489
18508
  }
18490
18509
  }
18491
18510
  }
18492
- }, JS = { class: "search" }, XS = ["placeholder"];
18493
- function QS(e, t, n, r, s, i) {
18511
+ }, XS = { class: "search" }, QS = ["placeholder"];
18512
+ function e2(e, t, n, r, s, i) {
18494
18513
  const l = y("ux-icon");
18495
- return a(), d("div", JS, [
18514
+ return a(), d("div", XS, [
18496
18515
  W(x("input", {
18497
18516
  ref: "input",
18498
18517
  "onUpdate:modelValue": t[0] || (t[0] = (o) => i.model = o),
18499
18518
  placeholder: n.placeholder
18500
- }, null, 8, XS), [
18519
+ }, null, 8, QS), [
18501
18520
  [oe, i.model]
18502
18521
  ]),
18503
18522
  x("div", {
@@ -18508,8 +18527,8 @@ function QS(e, t, n, r, s, i) {
18508
18527
  ])
18509
18528
  ]);
18510
18529
  }
18511
- const ji = /* @__PURE__ */ T(ZS, [["render", QS], ["__scopeId", "data-v-b4b9db80"]]);
18512
- const e2 = {
18530
+ const ji = /* @__PURE__ */ T(JS, [["render", e2], ["__scopeId", "data-v-b4b9db80"]]);
18531
+ const t2 = {
18513
18532
  emits: ["deselect"],
18514
18533
  components: {
18515
18534
  Search: ji,
@@ -18646,21 +18665,21 @@ const e2 = {
18646
18665
  }), e.processing = !1;
18647
18666
  }
18648
18667
  }
18649
- }, t2 = { class: "location-search-outer" }, n2 = {
18668
+ }, n2 = { class: "location-search-outer" }, i2 = {
18650
18669
  key: 0,
18651
18670
  class: "selectedLocation"
18652
- }, i2 = { class: "content-item" }, r2 = { class: "image-wrapper" }, s2 = { class: "content-item-title" }, l2 = {
18671
+ }, r2 = { class: "content-item" }, s2 = { class: "image-wrapper" }, l2 = { class: "content-item-title" }, o2 = {
18653
18672
  key: 0,
18654
18673
  class: "content-item-subtitle"
18655
- }, o2 = {
18674
+ }, a2 = {
18656
18675
  key: 0,
18657
18676
  class: "results"
18658
- }, a2 = ["onClick"], u2 = { class: "result-item-title" }, d2 = { class: "result-item-subtitle" };
18659
- function c2(e, t, n, r, s, i) {
18677
+ }, u2 = ["onClick"], d2 = { class: "result-item-title" }, c2 = { class: "result-item-subtitle" };
18678
+ function f2(e, t, n, r, s, i) {
18660
18679
  const l = y("ux-icon"), o = y("flex-cell"), u = y("ux-button"), m = y("flex-row"), c = y("search");
18661
- return a(), d("div", t2, [
18662
- i.hasLocation ? (a(), d("div", n2, [
18663
- x("div", i2, [
18680
+ return a(), d("div", n2, [
18681
+ i.hasLocation ? (a(), d("div", i2, [
18682
+ x("div", r2, [
18664
18683
  f(m, {
18665
18684
  gap: "",
18666
18685
  center: ""
@@ -18668,7 +18687,7 @@ function c2(e, t, n, r, s, i) {
18668
18687
  default: h(() => [
18669
18688
  f(o, { shrink: "" }, {
18670
18689
  default: h(() => [
18671
- x("div", r2, [
18690
+ x("div", s2, [
18672
18691
  f(l, { icon: "fa-map-marker" })
18673
18692
  ])
18674
18693
  ]),
@@ -18676,8 +18695,8 @@ function c2(e, t, n, r, s, i) {
18676
18695
  }),
18677
18696
  f(o, null, {
18678
18697
  default: h(() => [
18679
- x("div", s2, b(s.model.title || s.model.addressLine1), 1),
18680
- i.summary ? (a(), d("div", l2, b(i.summary(s.model)), 1)) : _("", !0)
18698
+ x("div", l2, b(s.model.title || s.model.addressLine1), 1),
18699
+ i.summary ? (a(), d("div", o2, b(i.summary(s.model)), 1)) : _("", !0)
18681
18700
  ]),
18682
18701
  _: 1
18683
18702
  }),
@@ -18736,22 +18755,22 @@ function c2(e, t, n, r, s, i) {
18736
18755
  disabled: !i.teleportTarget,
18737
18756
  to: i.teleportTarget
18738
18757
  }, [
18739
- s.results.length ? (a(), d("div", o2, [
18758
+ s.results.length ? (a(), d("div", a2, [
18740
18759
  (a(!0), d(S, null, M(s.results, (p, g) => (a(), d("div", {
18741
18760
  class: A(["result-item", { selected: g === s.selectedIndex }]),
18742
18761
  key: p.title,
18743
18762
  onClick: (v) => i.select(p)
18744
18763
  }, [
18745
- x("div", u2, b(p.title), 1),
18746
- x("div", d2, b(p.summary), 1)
18747
- ], 10, a2))), 128))
18764
+ x("div", d2, b(p.title), 1),
18765
+ x("div", c2, b(p.summary), 1)
18766
+ ], 10, u2))), 128))
18748
18767
  ])) : _("", !0)
18749
18768
  ], 8, ["disabled", "to"]))
18750
18769
  ], 64))
18751
18770
  ]);
18752
18771
  }
18753
- const f2 = /* @__PURE__ */ T(e2, [["render", c2], ["__scopeId", "data-v-a40a42bc"]]);
18754
- const m2 = {
18772
+ const m2 = /* @__PURE__ */ T(t2, [["render", f2], ["__scopeId", "data-v-a40a42bc"]]);
18773
+ const h2 = {
18755
18774
  components: {
18756
18775
  TextField: es,
18757
18776
  Spinner: Rn,
@@ -19064,20 +19083,20 @@ const m2 = {
19064
19083
  }), e.redrawCircle();
19065
19084
  }
19066
19085
  }
19067
- }, h2 = { class: "font-muted font-sm" }, p2 = { class: "map-outer" }, y2 = {
19086
+ }, p2 = { class: "font-muted font-sm" }, y2 = { class: "map-outer" }, _2 = {
19068
19087
  key: 0,
19069
19088
  class: "indicator"
19070
- }, _2 = {
19089
+ }, g2 = {
19071
19090
  ref: "mapContainer",
19072
19091
  style: { width: "100%", height: "400px" }
19073
19092
  };
19074
- function g2(e, t, n, r, s, i) {
19093
+ function v2(e, t, n, r, s, i) {
19075
19094
  const l = y("flex-cell"), o = y("ux-icon"), u = y("flex-row"), m = y("ux-panel-header"), c = y("spinner"), p = y("text-field"), g = y("country-select"), v = y("ux-panel-body"), w = y("ux-panel");
19076
19095
  return a(), k(w, null, {
19077
19096
  default: h(() => [
19078
19097
  f(m, null, {
19079
19098
  default: h(() => [
19080
- x("div", h2, [
19099
+ x("div", p2, [
19081
19100
  f(u, {
19082
19101
  gap: "",
19083
19102
  center: ""
@@ -19110,11 +19129,11 @@ function g2(e, t, n, r, s, i) {
19110
19129
  ]),
19111
19130
  _: 1
19112
19131
  }),
19113
- x("div", p2, [
19114
- i.initializing ? (a(), d("div", y2, [
19132
+ x("div", y2, [
19133
+ i.initializing ? (a(), d("div", _2, [
19115
19134
  f(c)
19116
19135
  ])) : _("", !0),
19117
- x("div", _2, null, 512)
19136
+ x("div", g2, null, 512)
19118
19137
  ]),
19119
19138
  i.showFields ? (a(), k(v, { key: 0 }, {
19120
19139
  default: h(() => [
@@ -19222,7 +19241,7 @@ function g2(e, t, n, r, s, i) {
19222
19241
  _: 1
19223
19242
  });
19224
19243
  }
19225
- const v2 = /* @__PURE__ */ T(m2, [["render", g2]]);
19244
+ const b2 = /* @__PURE__ */ T(h2, [["render", v2]]);
19226
19245
  function pl() {
19227
19246
  return {
19228
19247
  title: void 0,
@@ -19238,7 +19257,7 @@ function pl() {
19238
19257
  search: void 0
19239
19258
  };
19240
19259
  }
19241
- const b2 = {
19260
+ const k2 = {
19242
19261
  data() {
19243
19262
  return {
19244
19263
  singleAdvancedOptions: !1,
@@ -19246,8 +19265,8 @@ const b2 = {
19246
19265
  };
19247
19266
  },
19248
19267
  components: {
19249
- LocationSelect: v2,
19250
- LocationSearch: f2
19268
+ LocationSelect: b2,
19269
+ LocationSearch: m2
19251
19270
  },
19252
19271
  props: {
19253
19272
  modelValue: {
@@ -19288,33 +19307,33 @@ const b2 = {
19288
19307
  return pl();
19289
19308
  }
19290
19309
  }
19291
- }, k2 = {
19310
+ }, x2 = {
19292
19311
  key: 0,
19293
19312
  class: "ux-field-title"
19294
- }, x2 = {
19313
+ }, w2 = {
19295
19314
  key: 0,
19296
19315
  class: "ux-required-marker"
19297
- }, w2 = {
19316
+ }, S2 = {
19298
19317
  key: 1,
19299
19318
  class: "ux-field-description"
19300
- }, S2 = { key: 2 }, V2 = { class: "location-field-wrap" }, O2 = ["id"], T2 = {
19319
+ }, V2 = { key: 2 }, O2 = { class: "location-field-wrap" }, T2 = ["id"], C2 = {
19301
19320
  key: 3,
19302
19321
  class: "location-field-wrap"
19303
- }, C2 = ["id"];
19304
- function E2(e, t, n, r, s, i) {
19322
+ }, E2 = ["id"];
19323
+ function D2(e, t, n, r, s, i) {
19305
19324
  const l = y("location-search"), o = y("flex-cell"), u = y("ux-icon"), m = y("ux-button"), c = y("flex-row"), p = y("location-select");
19306
19325
  return a(), d("div", null, [
19307
- e.showLabel ? (a(), d("label", k2, [
19326
+ e.showLabel ? (a(), d("label", x2, [
19308
19327
  V(b(e.label) + " ", 1),
19309
- e.required ? (a(), d("span", x2, "*")) : _("", !0)
19328
+ e.required ? (a(), d("span", w2, "*")) : _("", !0)
19310
19329
  ])) : _("", !0),
19311
- e.showDescription ? (a(), d("div", w2, b(e.description), 1)) : _("", !0),
19312
- e.multiValue ? (a(), d("div", S2, [
19330
+ e.showDescription ? (a(), d("div", S2, b(e.description), 1)) : _("", !0),
19331
+ e.multiValue ? (a(), d("div", V2, [
19313
19332
  (a(!0), d(S, null, M(e.model, (g, v) => (a(), d("div", {
19314
19333
  class: "ux-location-row",
19315
19334
  key: v
19316
19335
  }, [
19317
- x("div", V2, [
19336
+ x("div", O2, [
19318
19337
  f(c, {
19319
19338
  gap: "",
19320
19339
  center: ""
@@ -19378,7 +19397,7 @@ function E2(e, t, n, r, s, i) {
19378
19397
  x("div", {
19379
19398
  class: "teleport-results",
19380
19399
  id: `teleport-${i.multipleTeleportIDs[v]}`
19381
- }, null, 8, O2),
19400
+ }, null, 8, T2),
19382
19401
  s.multiAdvancedOptions[v] ? (a(), k(p, {
19383
19402
  key: 0,
19384
19403
  onFocus: e.touch,
@@ -19403,7 +19422,7 @@ function E2(e, t, n, r, s, i) {
19403
19422
  ]),
19404
19423
  _: 1
19405
19424
  })) : _("", !0)
19406
- ])) : (a(), d("div", T2, [
19425
+ ])) : (a(), d("div", C2, [
19407
19426
  f(c, null, {
19408
19427
  default: h(() => [
19409
19428
  f(o, null, {
@@ -19419,7 +19438,7 @@ function E2(e, t, n, r, s, i) {
19419
19438
  x("div", {
19420
19439
  class: "teleport-results",
19421
19440
  id: `teleport-${i.singleTeleportID}`
19422
- }, null, 8, C2),
19441
+ }, null, 8, E2),
19423
19442
  s.singleAdvancedOptions ? (a(), k(p, {
19424
19443
  key: 0,
19425
19444
  assumeDefault: !!e.field.assumeDefault,
@@ -19438,8 +19457,8 @@ function E2(e, t, n, r, s, i) {
19438
19457
  ]))
19439
19458
  ]);
19440
19459
  }
19441
- const D2 = /* @__PURE__ */ T(b2, [["render", E2], ["__scopeId", "data-v-ad0f1d56"]]);
19442
- const F2 = {
19460
+ const F2 = /* @__PURE__ */ T(k2, [["render", D2], ["__scopeId", "data-v-ad0f1d56"]]);
19461
+ const I2 = {
19443
19462
  props: {
19444
19463
  modelValue: {
19445
19464
  type: [String, Array]
@@ -19453,30 +19472,30 @@ const F2 = {
19453
19472
  return "";
19454
19473
  }
19455
19474
  }
19456
- }, I2 = {
19475
+ }, M2 = {
19457
19476
  key: 0,
19458
19477
  class: "ux-field-title"
19459
- }, M2 = {
19478
+ }, $2 = {
19460
19479
  key: 0,
19461
19480
  class: "ux-required-marker"
19462
- }, $2 = {
19481
+ }, A2 = {
19463
19482
  key: 1,
19464
19483
  class: "ux-field-description"
19465
- }, A2 = { key: 2 }, L2 = { class: "expression-field-wrap" }, N2 = {
19484
+ }, L2 = { key: 2 }, N2 = { class: "expression-field-wrap" }, U2 = {
19466
19485
  key: 3,
19467
19486
  class: "expression-field-wrap"
19468
19487
  };
19469
- function U2(e, t, n, r, s, i) {
19488
+ function P2(e, t, n, r, s, i) {
19470
19489
  const l = y("expression-editor"), o = y("flex-cell"), u = y("ux-icon"), m = y("ux-button"), c = y("flex-row");
19471
19490
  return a(), d("div", {
19472
19491
  onKeydown: t[2] || (t[2] = ye(q((p) => i.enterPress(p), ["stop"]), ["enter"]))
19473
19492
  }, [
19474
- e.showLabel ? (a(), d("label", I2, [
19493
+ e.showLabel ? (a(), d("label", M2, [
19475
19494
  V(b(e.label) + " ", 1),
19476
- e.required ? (a(), d("span", M2, "*")) : _("", !0)
19495
+ e.required ? (a(), d("span", $2, "*")) : _("", !0)
19477
19496
  ])) : _("", !0),
19478
- e.showDescription ? (a(), d("div", $2, b(e.description), 1)) : _("", !0),
19479
- e.multiValue ? (a(), d("div", A2, [
19497
+ e.showDescription ? (a(), d("div", A2, b(e.description), 1)) : _("", !0),
19498
+ e.multiValue ? (a(), d("div", L2, [
19480
19499
  (a(!0), d(S, null, M(e.model, (p, g) => (a(), k(c, {
19481
19500
  class: "ux-text-row",
19482
19501
  key: g
@@ -19484,7 +19503,7 @@ function U2(e, t, n, r, s, i) {
19484
19503
  default: h(() => [
19485
19504
  f(o, null, {
19486
19505
  default: h(() => [
19487
- x("div", L2, [
19506
+ x("div", N2, [
19488
19507
  f(l, {
19489
19508
  field: e.field,
19490
19509
  onFocus: e.touch,
@@ -19529,7 +19548,7 @@ function U2(e, t, n, r, s, i) {
19529
19548
  ]),
19530
19549
  _: 1
19531
19550
  })) : _("", !0)
19532
- ])) : (a(), d("div", N2, [
19551
+ ])) : (a(), d("div", U2, [
19533
19552
  f(l, {
19534
19553
  field: e.field,
19535
19554
  class: "ux-expression ux-field-focus ux-text-area-single",
@@ -19540,8 +19559,8 @@ function U2(e, t, n, r, s, i) {
19540
19559
  ]))
19541
19560
  ], 32);
19542
19561
  }
19543
- const P2 = /* @__PURE__ */ T(F2, [["render", U2], ["__scopeId", "data-v-56c3b71b"]]);
19544
- const j2 = {
19562
+ const j2 = /* @__PURE__ */ T(I2, [["render", P2], ["__scopeId", "data-v-56c3b71b"]]);
19563
+ const R2 = {
19545
19564
  components: {},
19546
19565
  methods: {},
19547
19566
  props: {
@@ -19576,7 +19595,7 @@ const j2 = {
19576
19595
  };
19577
19596
  }
19578
19597
  };
19579
- function R2(e, t, n, r, s, i) {
19598
+ function B2(e, t, n, r, s, i) {
19580
19599
  const l = y("tiptap"), o = y("flex-column");
19581
19600
  return s.mounted ? (a(), k(o, { key: 0 }, {
19582
19601
  default: h(() => [
@@ -19589,10 +19608,10 @@ function R2(e, t, n, r, s, i) {
19589
19608
  _: 1
19590
19609
  })) : _("", !0);
19591
19610
  }
19592
- const B2 = /* @__PURE__ */ T(j2, [["render", R2], ["__scopeId", "data-v-844777a7"]]);
19593
- const z2 = {
19611
+ const z2 = /* @__PURE__ */ T(R2, [["render", B2], ["__scopeId", "data-v-844777a7"]]);
19612
+ const q2 = {
19594
19613
  components: {
19595
- richtext: B2
19614
+ richtext: z2
19596
19615
  },
19597
19616
  props: {
19598
19617
  modelValue: {
@@ -19610,28 +19629,28 @@ const z2 = {
19610
19629
  return "";
19611
19630
  }
19612
19631
  }
19613
- }, q2 = {
19632
+ }, H2 = {
19614
19633
  key: 0,
19615
19634
  class: "ux-field-title"
19616
- }, H2 = {
19635
+ }, W2 = {
19617
19636
  key: 0,
19618
19637
  class: "ux-required-marker"
19619
- }, W2 = {
19638
+ }, G2 = {
19620
19639
  key: 1,
19621
19640
  class: "ux-field-description"
19622
- }, G2 = { key: 2 }, Y2 = { class: "richtext-field-wrap" }, K2 = {
19641
+ }, Y2 = { key: 2 }, K2 = { class: "richtext-field-wrap" }, Z2 = {
19623
19642
  key: 3,
19624
19643
  class: "richtext-field-wrap"
19625
19644
  };
19626
- function Z2(e, t, n, r, s, i) {
19645
+ function J2(e, t, n, r, s, i) {
19627
19646
  const l = y("richtext"), o = y("flex-cell"), u = y("ux-icon"), m = y("ux-button"), c = y("flex-row");
19628
19647
  return a(), d("div", null, [
19629
- e.showLabel ? (a(), d("label", q2, [
19648
+ e.showLabel ? (a(), d("label", H2, [
19630
19649
  V(b(e.label) + " ", 1),
19631
- e.required ? (a(), d("span", H2, "*")) : _("", !0)
19650
+ e.required ? (a(), d("span", W2, "*")) : _("", !0)
19632
19651
  ])) : _("", !0),
19633
- e.showDescription ? (a(), d("div", W2, b(e.description), 1)) : _("", !0),
19634
- e.multiValue ? (a(), d("div", G2, [
19652
+ e.showDescription ? (a(), d("div", G2, b(e.description), 1)) : _("", !0),
19653
+ e.multiValue ? (a(), d("div", Y2, [
19635
19654
  (a(!0), d(S, null, M(e.model, (p, g) => (a(), k(c, {
19636
19655
  class: "ux-text-row",
19637
19656
  key: g
@@ -19639,7 +19658,7 @@ function Z2(e, t, n, r, s, i) {
19639
19658
  default: h(() => [
19640
19659
  f(o, null, {
19641
19660
  default: h(() => [
19642
- x("div", Y2, [
19661
+ x("div", K2, [
19643
19662
  f(l, {
19644
19663
  onFocus: e.touch,
19645
19664
  ref_for: !0,
@@ -19683,7 +19702,7 @@ function Z2(e, t, n, r, s, i) {
19683
19702
  ]),
19684
19703
  _: 1
19685
19704
  })) : _("", !0)
19686
- ])) : (a(), d("div", K2, [
19705
+ ])) : (a(), d("div", Z2, [
19687
19706
  f(l, {
19688
19707
  class: "ux-richtext ux-field-focus ux-text-area-single",
19689
19708
  onFocus: e.touch,
@@ -19693,8 +19712,8 @@ function Z2(e, t, n, r, s, i) {
19693
19712
  ]))
19694
19713
  ]);
19695
19714
  }
19696
- const J2 = /* @__PURE__ */ T(z2, [["render", Z2], ["__scopeId", "data-v-396fd196"]]);
19697
- var Oi = {}, X2 = {
19715
+ const X2 = /* @__PURE__ */ T(q2, [["render", J2], ["__scopeId", "data-v-396fd196"]]);
19716
+ var Oi = {}, Q2 = {
19698
19717
  get exports() {
19699
19718
  return Oi;
19700
19719
  },
@@ -19960,8 +19979,8 @@ var Oi = {}, X2 = {
19960
19979
  return Ee = {}, this;
19961
19980
  }, e.exports ? t = e.exports = De : t.parse = De;
19962
19981
  })();
19963
- })(X2, Oi);
19964
- const Q2 = Oi;
19982
+ })(Q2, Oi);
19983
+ const eV = Oi;
19965
19984
  var yl = { "||": function(e, t) {
19966
19985
  return e || t;
19967
19986
  }, "&&": function(e, t) {
@@ -20004,7 +20023,7 @@ var yl = { "||": function(e, t) {
20004
20023
  return e / t;
20005
20024
  }, "%": function(e, t) {
20006
20025
  return e % t;
20007
- } }, eV = { "-": function(e) {
20026
+ } }, tV = { "-": function(e) {
20008
20027
  return -e;
20009
20028
  }, "+": function(e) {
20010
20029
  return +e;
@@ -20047,62 +20066,62 @@ function Ve(e, t) {
20047
20066
  case "ThisExpression":
20048
20067
  return t;
20049
20068
  case "UnaryExpression":
20050
- return eV[n.operator](Ve(n.argument, t));
20069
+ return tV[n.operator](Ve(n.argument, t));
20051
20070
  default:
20052
20071
  return;
20053
20072
  }
20054
20073
  }
20055
- function tV(e, t, n, r) {
20074
+ function nV(e, t, n, r) {
20056
20075
  for (var s = e.length, i = n + (r ? 1 : -1); r ? i-- : ++i < s; )
20057
20076
  if (t(e[i], i, e))
20058
20077
  return i;
20059
20078
  return -1;
20060
20079
  }
20061
- var nV = tV;
20062
- function iV(e) {
20080
+ var iV = nV;
20081
+ function rV(e) {
20063
20082
  return e !== e;
20064
20083
  }
20065
- var rV = iV;
20066
- function sV(e, t, n) {
20084
+ var sV = rV;
20085
+ function lV(e, t, n) {
20067
20086
  for (var r = n - 1, s = e.length; ++r < s; )
20068
20087
  if (e[r] === t)
20069
20088
  return r;
20070
20089
  return -1;
20071
20090
  }
20072
- var lV = sV, oV = nV, aV = rV, uV = lV;
20073
- function dV(e, t, n) {
20074
- return t === t ? uV(e, t, n) : oV(e, aV, n);
20091
+ var oV = lV, aV = iV, uV = sV, dV = oV;
20092
+ function cV(e, t, n) {
20093
+ return t === t ? dV(e, t, n) : aV(e, uV, n);
20075
20094
  }
20076
- var Ea = dV, cV = Nn, fV = jn, mV = Un, hV = "[object String]";
20077
- function pV(e) {
20078
- return typeof e == "string" || !fV(e) && mV(e) && cV(e) == hV;
20095
+ var Ea = cV, fV = Nn, mV = jn, hV = Un, pV = "[object String]";
20096
+ function yV(e) {
20097
+ return typeof e == "string" || !mV(e) && hV(e) && fV(e) == pV;
20079
20098
  }
20080
- var yV = pV, _V = Oa;
20081
- function gV(e) {
20082
- var t = _V(e), n = t % 1;
20099
+ var _V = yV, gV = Oa;
20100
+ function vV(e) {
20101
+ var t = gV(e), n = t % 1;
20083
20102
  return t === t ? n ? t - n : t : 0;
20084
20103
  }
20085
- var vV = gV, bV = zo;
20086
- function kV(e, t) {
20087
- return bV(t, function(n) {
20104
+ var bV = vV, kV = zo;
20105
+ function xV(e, t) {
20106
+ return kV(t, function(n) {
20088
20107
  return e[n];
20089
20108
  });
20090
20109
  }
20091
- var xV = kV;
20092
- function wV(e, t) {
20110
+ var wV = xV;
20111
+ function SV(e, t) {
20093
20112
  for (var n = -1, r = Array(e); ++n < e; )
20094
20113
  r[n] = t(n);
20095
20114
  return r;
20096
20115
  }
20097
- var SV = wV, VV = Nn, OV = Un, TV = "[object Arguments]";
20098
- function CV(e) {
20099
- return OV(e) && VV(e) == TV;
20116
+ var VV = SV, OV = Nn, TV = Un, CV = "[object Arguments]";
20117
+ function EV(e) {
20118
+ return TV(e) && OV(e) == CV;
20100
20119
  }
20101
- var EV = CV, vl = EV, DV = Un, Da = Object.prototype, FV = Da.hasOwnProperty, IV = Da.propertyIsEnumerable, MV = vl(function() {
20120
+ var DV = EV, vl = DV, FV = Un, Da = Object.prototype, IV = Da.hasOwnProperty, MV = Da.propertyIsEnumerable, $V = vl(function() {
20102
20121
  return arguments;
20103
20122
  }()) ? vl : function(e) {
20104
- return DV(e) && FV.call(e, "callee") && !IV.call(e, "callee");
20105
- }, $V = MV, Ti = {}, AV = {
20123
+ return FV(e) && IV.call(e, "callee") && !MV.call(e, "callee");
20124
+ }, AV = $V, Ti = {}, LV = {
20106
20125
  get exports() {
20107
20126
  return Ti;
20108
20127
  },
@@ -20110,27 +20129,27 @@ var EV = CV, vl = EV, DV = Un, Da = Object.prototype, FV = Da.hasOwnProperty, IV
20110
20129
  Ti = e;
20111
20130
  }
20112
20131
  };
20113
- function LV() {
20132
+ function NV() {
20114
20133
  return !1;
20115
20134
  }
20116
- var NV = LV;
20135
+ var UV = NV;
20117
20136
  (function(e, t) {
20118
- var n = dn, r = NV, s = t && !t.nodeType && t, i = s && !0 && e && !e.nodeType && e, l = i && i.exports === s, o = l ? n.Buffer : void 0, u = o ? o.isBuffer : void 0, m = u || r;
20137
+ var n = dn, r = UV, s = t && !t.nodeType && t, i = s && !0 && e && !e.nodeType && e, l = i && i.exports === s, o = l ? n.Buffer : void 0, u = o ? o.isBuffer : void 0, m = u || r;
20119
20138
  e.exports = m;
20120
- })(AV, Ti);
20121
- var UV = Nn, PV = Sa, jV = Un, RV = "[object Arguments]", BV = "[object Array]", zV = "[object Boolean]", qV = "[object Date]", HV = "[object Error]", WV = "[object Function]", GV = "[object Map]", YV = "[object Number]", KV = "[object Object]", ZV = "[object RegExp]", JV = "[object Set]", XV = "[object String]", QV = "[object WeakMap]", eO = "[object ArrayBuffer]", tO = "[object DataView]", nO = "[object Float32Array]", iO = "[object Float64Array]", rO = "[object Int8Array]", sO = "[object Int16Array]", lO = "[object Int32Array]", oO = "[object Uint8Array]", aO = "[object Uint8ClampedArray]", uO = "[object Uint16Array]", dO = "[object Uint32Array]", ue = {};
20122
- ue[nO] = ue[iO] = ue[rO] = ue[sO] = ue[lO] = ue[oO] = ue[aO] = ue[uO] = ue[dO] = !0;
20123
- ue[RV] = ue[BV] = ue[eO] = ue[zV] = ue[tO] = ue[qV] = ue[HV] = ue[WV] = ue[GV] = ue[YV] = ue[KV] = ue[ZV] = ue[JV] = ue[XV] = ue[QV] = !1;
20124
- function cO(e) {
20125
- return jV(e) && PV(e.length) && !!ue[UV(e)];
20126
- }
20127
- var fO = cO;
20128
- function mO(e) {
20139
+ })(LV, Ti);
20140
+ var PV = Nn, jV = Sa, RV = Un, BV = "[object Arguments]", zV = "[object Array]", qV = "[object Boolean]", HV = "[object Date]", WV = "[object Error]", GV = "[object Function]", YV = "[object Map]", KV = "[object Number]", ZV = "[object Object]", JV = "[object RegExp]", XV = "[object Set]", QV = "[object String]", eO = "[object WeakMap]", tO = "[object ArrayBuffer]", nO = "[object DataView]", iO = "[object Float32Array]", rO = "[object Float64Array]", sO = "[object Int8Array]", lO = "[object Int16Array]", oO = "[object Int32Array]", aO = "[object Uint8Array]", uO = "[object Uint8ClampedArray]", dO = "[object Uint16Array]", cO = "[object Uint32Array]", ue = {};
20141
+ ue[iO] = ue[rO] = ue[sO] = ue[lO] = ue[oO] = ue[aO] = ue[uO] = ue[dO] = ue[cO] = !0;
20142
+ ue[BV] = ue[zV] = ue[tO] = ue[qV] = ue[nO] = ue[HV] = ue[WV] = ue[GV] = ue[YV] = ue[KV] = ue[ZV] = ue[JV] = ue[XV] = ue[QV] = ue[eO] = !1;
20143
+ function fO(e) {
20144
+ return RV(e) && jV(e.length) && !!ue[PV(e)];
20145
+ }
20146
+ var mO = fO;
20147
+ function hO(e) {
20129
20148
  return function(t) {
20130
20149
  return e(t);
20131
20150
  };
20132
20151
  }
20133
- var hO = mO, Ci = {}, pO = {
20152
+ var pO = hO, Ci = {}, yO = {
20134
20153
  get exports() {
20135
20154
  return Ci;
20136
20155
  },
@@ -20147,55 +20166,55 @@ var hO = mO, Ci = {}, pO = {
20147
20166
  }
20148
20167
  }();
20149
20168
  e.exports = o;
20150
- })(pO, Ci);
20151
- var yO = fO, _O = hO, bl = Ci, kl = bl && bl.isTypedArray, gO = kl ? _O(kl) : yO, vO = gO, bO = SV, kO = $V, xO = jn, wO = Ti, SO = Va, VO = vO, OO = Object.prototype, TO = OO.hasOwnProperty;
20152
- function CO(e, t) {
20153
- var n = xO(e), r = !n && kO(e), s = !n && !r && wO(e), i = !n && !r && !s && VO(e), l = n || r || s || i, o = l ? bO(e.length, String) : [], u = o.length;
20169
+ })(yO, Ci);
20170
+ var _O = mO, gO = pO, bl = Ci, kl = bl && bl.isTypedArray, vO = kl ? gO(kl) : _O, bO = vO, kO = VV, xO = AV, wO = jn, SO = Ti, VO = Va, OO = bO, TO = Object.prototype, CO = TO.hasOwnProperty;
20171
+ function EO(e, t) {
20172
+ var n = wO(e), r = !n && xO(e), s = !n && !r && SO(e), i = !n && !r && !s && OO(e), l = n || r || s || i, o = l ? kO(e.length, String) : [], u = o.length;
20154
20173
  for (var m in e)
20155
- (t || TO.call(e, m)) && !(l && // Safari 9 has enumerable `arguments.length` in strict mode.
20174
+ (t || CO.call(e, m)) && !(l && // Safari 9 has enumerable `arguments.length` in strict mode.
20156
20175
  (m == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
20157
20176
  s && (m == "offset" || m == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
20158
20177
  i && (m == "buffer" || m == "byteLength" || m == "byteOffset") || // Skip index properties.
20159
- SO(m, u))) && o.push(m);
20178
+ VO(m, u))) && o.push(m);
20160
20179
  return o;
20161
20180
  }
20162
- var EO = CO, DO = Object.prototype;
20163
- function FO(e) {
20164
- var t = e && e.constructor, n = typeof t == "function" && t.prototype || DO;
20181
+ var DO = EO, FO = Object.prototype;
20182
+ function IO(e) {
20183
+ var t = e && e.constructor, n = typeof t == "function" && t.prototype || FO;
20165
20184
  return e === n;
20166
20185
  }
20167
- var IO = FO;
20168
- function MO(e, t) {
20186
+ var MO = IO;
20187
+ function $O(e, t) {
20169
20188
  return function(n) {
20170
20189
  return e(t(n));
20171
20190
  };
20172
20191
  }
20173
- var $O = MO, AO = $O, LO = AO(Object.keys, Object), NO = LO, UO = IO, PO = NO, jO = Object.prototype, RO = jO.hasOwnProperty;
20174
- function BO(e) {
20175
- if (!UO(e))
20176
- return PO(e);
20192
+ var AO = $O, LO = AO, NO = LO(Object.keys, Object), UO = NO, PO = MO, jO = UO, RO = Object.prototype, BO = RO.hasOwnProperty;
20193
+ function zO(e) {
20194
+ if (!PO(e))
20195
+ return jO(e);
20177
20196
  var t = [];
20178
20197
  for (var n in Object(e))
20179
- RO.call(e, n) && n != "constructor" && t.push(n);
20198
+ BO.call(e, n) && n != "constructor" && t.push(n);
20180
20199
  return t;
20181
20200
  }
20182
- var zO = BO, qO = EO, HO = zO, WO = ts;
20183
- function GO(e) {
20184
- return WO(e) ? qO(e) : HO(e);
20201
+ var qO = zO, HO = DO, WO = qO, GO = ts;
20202
+ function YO(e) {
20203
+ return GO(e) ? HO(e) : WO(e);
20185
20204
  }
20186
- var YO = GO, KO = xV, ZO = YO;
20187
- function JO(e) {
20188
- return e == null ? [] : KO(e, ZO(e));
20205
+ var KO = YO, ZO = wV, JO = KO;
20206
+ function XO(e) {
20207
+ return e == null ? [] : ZO(e, JO(e));
20189
20208
  }
20190
- var XO = JO, QO = Ea, eT = ts, tT = yV, nT = vV, iT = XO, rT = Math.max;
20191
- function sT(e, t, n, r) {
20192
- e = eT(e) ? e : iT(e), n = n && !r ? nT(n) : 0;
20209
+ var QO = XO, eT = Ea, tT = ts, nT = _V, iT = bV, rT = QO, sT = Math.max;
20210
+ function lT(e, t, n, r) {
20211
+ e = tT(e) ? e : rT(e), n = n && !r ? iT(n) : 0;
20193
20212
  var s = e.length;
20194
- return n < 0 && (n = rT(s + n, 0)), tT(e) ? n <= s && e.indexOf(t, n) > -1 : !!s && QO(e, t, n) > -1;
20213
+ return n < 0 && (n = sT(s + n, 0)), nT(e) ? n <= s && e.indexOf(t, n) > -1 : !!s && eT(e, t, n) > -1;
20195
20214
  }
20196
- var lT = sT;
20215
+ var oT = lT;
20197
20216
  const Tt = {};
20198
- function oT(e, t, n, r) {
20217
+ function aT(e, t, n, r) {
20199
20218
  return e ? Array.isArray(e) ? e.filter(function(s) {
20200
20219
  const i = jt(s, t);
20201
20220
  let l;
@@ -20213,7 +20232,7 @@ function oT(e, t, n, r) {
20213
20232
  l = i <= n;
20214
20233
  break;
20215
20234
  case "in":
20216
- l = lT(i, n);
20235
+ l = oT(i, n);
20217
20236
  break;
20218
20237
  default:
20219
20238
  n === void 0 ? l = i : l = i == n;
@@ -20222,12 +20241,12 @@ function oT(e, t, n, r) {
20222
20241
  return l;
20223
20242
  }) : (console.error("array.filter value was not provided as array", { input: e }), []) : [];
20224
20243
  }
20225
- function aT(e) {
20244
+ function uT(e) {
20226
20245
  return e.reduce(function(t, n) {
20227
20246
  return t + n;
20228
20247
  }, 0);
20229
20248
  }
20230
- function uT(e, t, n, r, s) {
20249
+ function dT(e, t, n, r, s) {
20231
20250
  if (!e)
20232
20251
  return [];
20233
20252
  if (s = s || {}, s.flat = n, s.unique = r, !Array.isArray(e))
@@ -20238,7 +20257,7 @@ function uT(e, t, n, r, s) {
20238
20257
  }, []);
20239
20258
  return s.unique && (i = [...new Set(i)]), s.flat && (i = i.flat()), i;
20240
20259
  }
20241
- function dT() {
20260
+ function cT() {
20242
20261
  var e = new Date().getTime().toString(16) + Math.random().toString(16).substring(2) + "0".repeat(16);
20243
20262
  return `id${e.substr(0, 8)}${e.substr(8, 4)}${e.substr(12, 3)}${e.substr(15, 12)}`;
20244
20263
  }
@@ -20254,11 +20273,11 @@ Tt.evaluateExpression = function(e, t) {
20254
20273
  parseInt,
20255
20274
  parseFloat,
20256
20275
  now: new Date(),
20257
- guid: dT,
20276
+ guid: cT,
20258
20277
  array: {
20259
- filter: oT,
20260
- extract: uT,
20261
- sum: aT
20278
+ filter: aT,
20279
+ extract: dT,
20280
+ sum: uT
20262
20281
  },
20263
20282
  create(i, ...l) {
20264
20283
  return new i(...l);
@@ -20267,20 +20286,20 @@ Tt.evaluateExpression = function(e, t) {
20267
20286
  t = Object.assign({}, n, t);
20268
20287
  var r, s;
20269
20288
  try {
20270
- r = Q2(e), s = Ve(r, t);
20289
+ r = eV(e), s = Ve(r, t);
20271
20290
  } catch (i) {
20272
20291
  console.log("There was an error evaluating your expression", { expression: e, error: i, context: t });
20273
20292
  } finally {
20274
20293
  }
20275
20294
  return s;
20276
20295
  };
20277
- const cT = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map(function(e) {
20296
+ const fT = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map(function(e) {
20278
20297
  const t = String(e).slice(2);
20279
20298
  return {
20280
20299
  title: e,
20281
20300
  value: t
20282
20301
  };
20283
- }), fT = {
20302
+ }), mT = {
20284
20303
  mixins: [ee],
20285
20304
  components: {
20286
20305
  // StripeElements,
@@ -20529,7 +20548,7 @@ const cT = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map
20529
20548
  minLength: 2,
20530
20549
  maxLength: 2,
20531
20550
  widget: "select",
20532
- options: cT
20551
+ options: fT
20533
20552
  }, {
20534
20553
  title: "CVN",
20535
20554
  key: "cvc",
@@ -20568,13 +20587,13 @@ const cT = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map
20568
20587
  };
20569
20588
  }
20570
20589
  }
20571
- }, qn = (e) => (Ze("data-v-f5a130e8"), e = e(), Je(), e), mT = /* @__PURE__ */ qn(() => /* @__PURE__ */ x("h2", null, "Payment Summary", -1)), hT = { class: "calculations" }, pT = /* @__PURE__ */ qn(() => /* @__PURE__ */ x("td", null, "Amount", -1)), yT = { class: "running-total" }, _T = { class: "running-total" }, gT = {
20590
+ }, qn = (e) => (Ze("data-v-f5a130e8"), e = e(), Je(), e), hT = /* @__PURE__ */ qn(() => /* @__PURE__ */ x("h2", null, "Payment Summary", -1)), pT = { class: "calculations" }, yT = /* @__PURE__ */ qn(() => /* @__PURE__ */ x("td", null, "Amount", -1)), _T = { class: "running-total" }, gT = { class: "running-total" }, vT = {
20572
20591
  key: 0,
20573
20592
  class: "grand-total"
20574
- }, vT = /* @__PURE__ */ qn(() => /* @__PURE__ */ x("td", null, [
20593
+ }, bT = /* @__PURE__ */ qn(() => /* @__PURE__ */ x("td", null, [
20575
20594
  /* @__PURE__ */ x("strong", null, "Total")
20576
- ], -1)), bT = /* @__PURE__ */ qn(() => /* @__PURE__ */ x("td", null, null, -1)), kT = /* @__PURE__ */ qn(() => /* @__PURE__ */ x("h3", null, "Please select a payment processor", -1));
20577
- function xT(e, t, n, r, s, i) {
20595
+ ], -1)), kT = /* @__PURE__ */ qn(() => /* @__PURE__ */ x("td", null, null, -1)), xT = /* @__PURE__ */ qn(() => /* @__PURE__ */ x("h3", null, "Please select a payment processor", -1));
20596
+ function wT(e, t, n, r, s, i) {
20578
20597
  const l = y("ux-form"), o = y("ux-panel-body"), u = y("ux-panel"), m = y("ux-icon"), c = y("ux-button");
20579
20598
  return e.multiValue ? (a(), d(S, { key: 0 }, [
20580
20599
  V(" Invalid configuration ")
@@ -20592,33 +20611,33 @@ function xT(e, t, n, r, s, i) {
20592
20611
  fields: i.calculatedTotalFields
20593
20612
  }, null, 8, ["trail", "paymentConfiguration", "includeOfficeOnly", "submission", "onForm:state", "parentModel", "modelValue", "fields"]),
20594
20613
  i.requiresPayment ? (a(), d(S, { key: 0 }, [
20595
- mT,
20614
+ hT,
20596
20615
  f(u, null, {
20597
20616
  default: h(() => [
20598
20617
  f(o, null, {
20599
20618
  default: h(() => [
20600
- x("table", hT, [
20619
+ x("table", pT, [
20601
20620
  x("tbody", null, [
20602
20621
  i.baseAmount ? (a(), d("tr", {
20603
20622
  key: 0,
20604
20623
  class: A(["calculation-modifier", ["modifier-set", `modifier-visible-${i.baseAmountVisible}`]])
20605
20624
  }, [
20606
- pT,
20625
+ yT,
20607
20626
  x("td", null, b(i.formattedBaseAmount), 1),
20608
- x("td", yT, b(i.formattedBaseAmount), 1)
20627
+ x("td", _T, b(i.formattedBaseAmount), 1)
20609
20628
  ], 2)) : _("", !0),
20610
20629
  (a(!0), d(S, null, M(i.visibleModifications, (p) => (a(), d("tr", {
20611
20630
  class: A(["calculation-modifier", [`modifier-${p.modifier}`, `modifier-visible-${p.visible}`]])
20612
20631
  }, [
20613
20632
  x("td", null, b(p.title), 1),
20614
20633
  x("td", null, b(p.summary), 1),
20615
- x("td", _T, b(p.result), 1)
20634
+ x("td", gT, b(p.result), 1)
20616
20635
  ], 2))), 256))
20617
20636
  ]),
20618
20637
  x("tfoot", null, [
20619
- i.baseAmount ? (a(), d("tr", gT, [
20620
- vT,
20638
+ i.baseAmount ? (a(), d("tr", vT, [
20621
20639
  bT,
20640
+ kT,
20622
20641
  x("td", null, [
20623
20642
  x("strong", null, b(i.formattedTotal), 1)
20624
20643
  ])
@@ -20632,7 +20651,7 @@ function xT(e, t, n, r, s, i) {
20632
20651
  _: 1
20633
20652
  }),
20634
20653
  i.gateways.length > 1 ? (a(), d(S, { key: 0 }, [
20635
- kT,
20654
+ xT,
20636
20655
  f(u, null, {
20637
20656
  default: h(() => [
20638
20657
  f(o, null, {
@@ -20661,11 +20680,11 @@ function xT(e, t, n, r, s, i) {
20661
20680
  ], 64)) : _("", !0)
20662
20681
  ], 64));
20663
20682
  }
20664
- const wT = /* @__PURE__ */ T(fT, [["render", xT], ["__scopeId", "data-v-f5a130e8"]]);
20665
- function ST(e) {
20683
+ const ST = /* @__PURE__ */ T(mT, [["render", wT], ["__scopeId", "data-v-f5a130e8"]]);
20684
+ function VT(e) {
20666
20685
  return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
20667
20686
  }
20668
- const VT = {
20687
+ const OT = {
20669
20688
  props: {
20670
20689
  title: {
20671
20690
  type: String
@@ -20681,7 +20700,7 @@ const VT = {
20681
20700
  methods: {
20682
20701
  cleanOutput(e) {
20683
20702
  var t = this;
20684
- return ST(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
20703
+ return VT(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
20685
20704
  return t.getValue(n);
20686
20705
  }) : e = t.getValue(e), e;
20687
20706
  },
@@ -20751,37 +20770,37 @@ const VT = {
20751
20770
  return this.actualOptions || [];
20752
20771
  }
20753
20772
  }
20754
- }, OT = {
20773
+ }, TT = {
20755
20774
  key: 0,
20756
20775
  class: "ux-field-title"
20757
- }, TT = {
20776
+ }, CT = {
20758
20777
  key: 0,
20759
20778
  class: "ux-required-marker"
20760
- }, CT = {
20779
+ }, ET = {
20761
20780
  key: 1,
20762
20781
  class: "ux-field-description"
20763
- }, ET = {
20782
+ }, DT = {
20764
20783
  key: 0,
20765
20784
  class: "ui-select-button"
20766
- }, DT = ["multiple"], FT = {
20785
+ }, FT = ["multiple"], IT = {
20767
20786
  key: 0,
20768
20787
  value: ""
20769
- }, IT = ["value"], MT = {
20788
+ }, MT = ["value"], $T = {
20770
20789
  key: 3,
20771
20790
  class: "ui-select-button"
20772
20791
  };
20773
- function $T(e, t, n, r, s, i) {
20792
+ function AT(e, t, n, r, s, i) {
20774
20793
  const l = y("ux-button");
20775
20794
  return a(), d("div", {
20776
20795
  class: A(["native-select", i.classes])
20777
20796
  }, [
20778
- e.showLabel ? (a(), d("label", OT, [
20797
+ e.showLabel ? (a(), d("label", TT, [
20779
20798
  V(b(e.label) + " ", 1),
20780
- e.required ? (a(), d("span", TT, "*")) : _("", !0)
20799
+ e.required ? (a(), d("span", CT, "*")) : _("", !0)
20781
20800
  ])) : _("", !0),
20782
- e.showDescription ? (a(), d("div", CT, b(e.description), 1)) : _("", !0),
20801
+ e.showDescription ? (a(), d("div", ET, b(e.description), 1)) : _("", !0),
20783
20802
  i.selectableOptions.length ? (a(), d(S, { key: 2 }, [
20784
- e.singleValue ? (a(), d("div", ET, [
20803
+ e.singleValue ? (a(), d("div", DT, [
20785
20804
  G(e.$slots, "default", {}, () => [
20786
20805
  f(l, { tag: "div" }, {
20787
20806
  default: h(() => [
@@ -20796,14 +20815,14 @@ function $T(e, t, n, r, s, i) {
20796
20815
  multiple: e.multiValue,
20797
20816
  "onUpdate:modelValue": t[1] || (t[1] = (o) => e.model = o)
20798
20817
  }, [
20799
- e.singleValue && !e.minimum ? (a(), d("option", FT, "None")) : _("", !0),
20818
+ e.singleValue && !e.minimum ? (a(), d("option", IT, "None")) : _("", !0),
20800
20819
  (a(!0), d(S, null, M(i.selectableOptions, (o) => (a(), d("option", {
20801
20820
  value: o.value
20802
- }, b(o.title), 9, IT))), 256))
20803
- ], 40, DT), [
20821
+ }, b(o.title), 9, MT))), 256))
20822
+ ], 40, FT), [
20804
20823
  [mt, e.model]
20805
20824
  ])
20806
- ], 64)) : (a(), d("div", MT, [
20825
+ ], 64)) : (a(), d("div", $T, [
20807
20826
  f(l, { tag: "div" }, {
20808
20827
  default: h(() => [
20809
20828
  V(" No valid routes ")
@@ -20813,11 +20832,11 @@ function $T(e, t, n, r, s, i) {
20813
20832
  ]))
20814
20833
  ], 2);
20815
20834
  }
20816
- const AT = /* @__PURE__ */ T(VT, [["render", $T], ["__scopeId", "data-v-a9c5a05f"]]);
20817
- function LT(e) {
20835
+ const LT = /* @__PURE__ */ T(OT, [["render", AT], ["__scopeId", "data-v-a9c5a05f"]]);
20836
+ function NT(e) {
20818
20837
  return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
20819
20838
  }
20820
- const NT = {
20839
+ const UT = {
20821
20840
  props: {
20822
20841
  title: {
20823
20842
  type: String
@@ -20833,7 +20852,7 @@ const NT = {
20833
20852
  methods: {
20834
20853
  cleanOutput(e) {
20835
20854
  var t = this;
20836
- return LT(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
20855
+ return NT(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
20837
20856
  return t.getValue(n);
20838
20857
  }) : e = t.getValue(e), e;
20839
20858
  },
@@ -20886,33 +20905,33 @@ const NT = {
20886
20905
  return this.actualOptions;
20887
20906
  }
20888
20907
  }
20889
- }, UT = {
20908
+ }, PT = {
20890
20909
  key: 0,
20891
20910
  class: "ux-field-title"
20892
- }, PT = {
20911
+ }, jT = {
20893
20912
  key: 0,
20894
20913
  class: "ux-required-marker"
20895
- }, jT = {
20914
+ }, RT = {
20896
20915
  key: 1,
20897
20916
  class: "ux-field-description"
20898
- }, RT = {
20917
+ }, BT = {
20899
20918
  key: 2,
20900
20919
  class: "ui-select-button"
20901
- }, BT = ["multiple"], zT = {
20920
+ }, zT = ["multiple"], qT = {
20902
20921
  key: 0,
20903
20922
  value: ""
20904
- }, qT = ["value"];
20905
- function HT(e, t, n, r, s, i) {
20923
+ }, HT = ["value"];
20924
+ function WT(e, t, n, r, s, i) {
20906
20925
  const l = y("ux-button");
20907
20926
  return a(), d("div", {
20908
20927
  class: A(["native-select", i.classes])
20909
20928
  }, [
20910
- e.showLabel ? (a(), d("label", UT, [
20929
+ e.showLabel ? (a(), d("label", PT, [
20911
20930
  V(b(e.label) + " ", 1),
20912
- e.required ? (a(), d("span", PT, "*")) : _("", !0)
20931
+ e.required ? (a(), d("span", jT, "*")) : _("", !0)
20913
20932
  ])) : _("", !0),
20914
- e.showDescription ? (a(), d("div", jT, b(e.description), 1)) : _("", !0),
20915
- e.singleValue ? (a(), d("div", RT, [
20933
+ e.showDescription ? (a(), d("div", RT, b(e.description), 1)) : _("", !0),
20934
+ e.singleValue ? (a(), d("div", BT, [
20916
20935
  G(e.$slots, "default", {}, () => [
20917
20936
  f(l, { tag: "div" }, {
20918
20937
  default: h(() => [
@@ -20927,16 +20946,16 @@ function HT(e, t, n, r, s, i) {
20927
20946
  multiple: e.multiValue,
20928
20947
  "onUpdate:modelValue": t[1] || (t[1] = (o) => e.model = o)
20929
20948
  }, [
20930
- e.singleValue && !e.minimum ? (a(), d("option", zT, "None")) : _("", !0),
20949
+ e.singleValue && !e.minimum ? (a(), d("option", qT, "None")) : _("", !0),
20931
20950
  (a(!0), d(S, null, M(i.selectableOptions, (o) => (a(), d("option", {
20932
20951
  value: o.value
20933
- }, b(o.title), 9, qT))), 256))
20934
- ], 40, BT), [
20952
+ }, b(o.title), 9, HT))), 256))
20953
+ ], 40, zT), [
20935
20954
  [mt, e.model]
20936
20955
  ])
20937
20956
  ], 2);
20938
20957
  }
20939
- const WT = /* @__PURE__ */ T(NT, [["render", HT], ["__scopeId", "data-v-8801d1a0"]]), hn = {
20958
+ const GT = /* @__PURE__ */ T(UT, [["render", WT], ["__scopeId", "data-v-8801d1a0"]]), hn = {
20940
20959
  props: {
20941
20960
  options: {
20942
20961
  type: Object,
@@ -20958,7 +20977,7 @@ const WT = /* @__PURE__ */ T(NT, [["render", HT], ["__scopeId", "data-v-8801d1a0
20958
20977
  }
20959
20978
  }
20960
20979
  };
20961
- const GT = {
20980
+ const YT = {
20962
20981
  data() {
20963
20982
  return {
20964
20983
  selection: {}
@@ -21046,15 +21065,15 @@ const GT = {
21046
21065
  this.selection[e.path] = !this.selection[e.path], console.log(e);
21047
21066
  }
21048
21067
  }
21049
- }, YT = { class: "wrapper" }, KT = { class: "header" }, ZT = ["onClick"], JT = { class: "font-sm font-muted" };
21050
- function XT(e, t, n, r, s, i) {
21068
+ }, KT = { class: "wrapper" }, ZT = { class: "header" }, JT = ["onClick"], XT = { class: "font-sm font-muted" };
21069
+ function QT(e, t, n, r, s, i) {
21051
21070
  const l = y("flex-cell"), o = y("ux-button"), u = y("flex-row"), m = y("flex-header"), c = y("ux-checkbox"), p = y("flex-body"), g = y("flex-column");
21052
- return a(), d("div", YT, [
21071
+ return a(), d("div", KT, [
21053
21072
  f(g, null, {
21054
21073
  default: h(() => [
21055
21074
  f(m, null, {
21056
21075
  default: h(() => [
21057
- x("div", KT, [
21076
+ x("div", ZT, [
21058
21077
  f(u, {
21059
21078
  gap: "",
21060
21079
  center: ""
@@ -21110,14 +21129,14 @@ function XT(e, t, n, r, s, i) {
21110
21129
  f(l, null, {
21111
21130
  default: h(() => [
21112
21131
  x("strong", null, b(v.selectTitle), 1),
21113
- x("div", JT, b(v.path), 1)
21132
+ x("div", XT, b(v.path), 1)
21114
21133
  ]),
21115
21134
  _: 2
21116
21135
  }, 1024)
21117
21136
  ]),
21118
21137
  _: 2
21119
21138
  }, 1024)
21120
- ], 14, ZT))), 256))
21139
+ ], 14, JT))), 256))
21121
21140
  ]),
21122
21141
  _: 1
21123
21142
  })
@@ -21126,7 +21145,7 @@ function XT(e, t, n, r, s, i) {
21126
21145
  })
21127
21146
  ]);
21128
21147
  }
21129
- const QT = /* @__PURE__ */ T(GT, [["render", XT], ["__scopeId", "data-v-415b9a32"]]), eC = {
21148
+ const eC = /* @__PURE__ */ T(YT, [["render", QT], ["__scopeId", "data-v-415b9a32"]]), tC = {
21130
21149
  props: {
21131
21150
  modelValue: {
21132
21151
  type: Object
@@ -21159,7 +21178,7 @@ const QT = /* @__PURE__ */ T(GT, [["render", XT], ["__scopeId", "data-v-415b9a32
21159
21178
  methods: {
21160
21179
  async openModal() {
21161
21180
  const e = this, t = await e.$sdk.modal({
21162
- component: QT,
21181
+ component: eC,
21163
21182
  options: {
21164
21183
  definition: e.definition
21165
21184
  }
@@ -21167,10 +21186,10 @@ const QT = /* @__PURE__ */ T(GT, [["render", XT], ["__scopeId", "data-v-415b9a32
21167
21186
  t.length && e.addFields && e.addFields(t);
21168
21187
  }
21169
21188
  }
21170
- }, tC = { key: 0 };
21171
- function nC(e, t, n, r, s, i) {
21189
+ }, nC = { key: 0 };
21190
+ function iC(e, t, n, r, s, i) {
21172
21191
  const l = y("ux-icon"), o = y("ux-button");
21173
- return i.definition ? (a(), d("div", tC, [
21192
+ return i.definition ? (a(), d("div", nC, [
21174
21193
  f(o, {
21175
21194
  color: "primary",
21176
21195
  onClick: i.openModal
@@ -21183,7 +21202,7 @@ function nC(e, t, n, r, s, i) {
21183
21202
  }, 8, ["onClick"])
21184
21203
  ])) : _("", !0);
21185
21204
  }
21186
- const iC = /* @__PURE__ */ T(eC, [["render", nC]]);
21205
+ const rC = /* @__PURE__ */ T(tC, [["render", iC]]);
21187
21206
  function fr(e) {
21188
21207
  switch (String(e).toLowerCase()) {
21189
21208
  case "true":
@@ -21216,7 +21235,7 @@ function xn(e, t, n, r, s, i) {
21216
21235
  }
21217
21236
  return t;
21218
21237
  }
21219
- function rC(e, t) {
21238
+ function sC(e, t) {
21220
21239
  if (t)
21221
21240
  return t;
21222
21241
  function n(g) {
@@ -21311,7 +21330,7 @@ function ke(e) {
21311
21330
  return Tt.evaluateExpression(n, r);
21312
21331
  };
21313
21332
  }
21314
- const sC = {
21333
+ const lC = {
21315
21334
  emits: [
21316
21335
  "field:mount",
21317
21336
  "field:unmount",
@@ -21325,10 +21344,10 @@ const sC = {
21325
21344
  "update:modelValue"
21326
21345
  ],
21327
21346
  components: {
21328
- InternalRouteSelect: AT,
21329
- InternalMenuSelect: WT,
21330
- InternalFieldCreator: iC,
21331
- ButtonSelect: Qw,
21347
+ InternalRouteSelect: LT,
21348
+ InternalMenuSelect: GT,
21349
+ InternalFieldCreator: rC,
21350
+ ButtonSelect: eS,
21332
21351
  NativeSelect: yt,
21333
21352
  DateField: wa,
21334
21353
  TimeField: E0,
@@ -21353,14 +21372,14 @@ const sC = {
21353
21372
  CountrySelect: Zr,
21354
21373
  PhoneNumberInput: Av,
21355
21374
  Upload: Fw,
21356
- ObjectField: oS,
21357
- ModelField: yS,
21358
- OptionsManager: AS,
21359
- CodeEditorField: KS,
21360
- LocationField: D2,
21361
- ExpressionField: P2,
21362
- RichTextField: J2,
21363
- PaymentField: wT
21375
+ ObjectField: aS,
21376
+ ModelField: _S,
21377
+ OptionsManager: LS,
21378
+ CodeEditorField: ZS,
21379
+ LocationField: F2,
21380
+ ExpressionField: j2,
21381
+ RichTextField: X2,
21382
+ PaymentField: ST
21364
21383
  },
21365
21384
  props: {
21366
21385
  trail: {
@@ -21456,7 +21475,7 @@ const sC = {
21456
21475
  var e = this.expressions && this.expressions.value ? this.getExpressionValue : void 0;
21457
21476
  if (e)
21458
21477
  return e;
21459
- var t = this.expressions && this.expressions.defaultValue ? this.getExpressionDefaultValue : void 0, n = rC(this.actualField), r = this.cleanInput(t || n);
21478
+ var t = this.expressions && this.expressions.defaultValue ? this.getExpressionDefaultValue : void 0, n = sC(this.actualField), r = this.cleanInput(t || n);
21460
21479
  if ((s = this.field) != null && s.assumeDefault && (!r && this.widget === "timezone" && (r = this.$sdk.geo.getDefaultTimezone(), console.log("Got the default timezone", r)), !r && this.widget === "country")) {
21461
21480
  const i = this.$sdk.geo.getDefaultCountry();
21462
21481
  r = i == null ? void 0 : i.name, console.log("Got the default country", i, r);
@@ -21768,11 +21787,11 @@ const sC = {
21768
21787
  return e;
21769
21788
  }
21770
21789
  }
21771
- }, lC = {
21790
+ }, oC = {
21772
21791
  key: 38,
21773
21792
  class: "ux-field-message"
21774
21793
  };
21775
- function oC(e, t, n, r, s, i) {
21794
+ function aC(e, t, n, r, s, i) {
21776
21795
  const l = y("text-field"), o = y("internal-route-select"), u = y("internal-menu-select"), m = y("internal-field-creator"), c = y("custom-html"), p = y("slider-input"), g = y("color-input"), v = y("filter-input"), w = y("date-object-input"), O = y("checkbox"), j = y("boolean-switch"), Y = y("upload"), Z = y("field-group"), se = y("field-select"), I = y("native-select"), le = y("button-select"), H = y("currency-field"), R = y("time-field"), J = y("date-field"), P = y("date-range"), Oe = y("content-select"), xe = y("type-select"), we = y("scope-select"), Te = y("rich-text-field"), Ce = y("text-area"), Ue = y("timezone-select"), Ee = y("country-select"), gt = y("phone-number-input"), rt = y("object-field"), qt = y("model-field"), vt = y("payment-field"), st = y("options-manager"), Et = y("code-editor-field"), De = y("flex-column"), L = y("location-field"), C = y("expression-field");
21777
21796
  return i.visible ? (a(), d("div", {
21778
21797
  key: 0,
@@ -22079,23 +22098,23 @@ function oC(e, t, n, r, s, i) {
22079
22098
  modelValue: i.fieldModel,
22080
22099
  "onUpdate:modelValue": t[36] || (t[36] = (E) => i.fieldModel = E)
22081
22100
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
22082
- i.error && s.validateResults.message ? (a(), d("div", lC, b(s.validateResults.message), 1)) : _("", !0)
22101
+ i.error && s.validateResults.message ? (a(), d("div", oC, b(s.validateResults.message), 1)) : _("", !0)
22083
22102
  ], 34)) : _("", !0);
22084
22103
  }
22085
- const ns = /* @__PURE__ */ T(sC, [["render", oC], ["__scopeId", "data-v-f90a1386"]]);
22086
- function aC(e, t, n, r) {
22104
+ const ns = /* @__PURE__ */ T(lC, [["render", aC], ["__scopeId", "data-v-f90a1386"]]);
22105
+ function uC(e, t, n, r) {
22087
22106
  var s = -1, i = e == null ? 0 : e.length;
22088
22107
  for (r && i && (n = e[++s]); ++s < i; )
22089
22108
  n = t(n, e[s], s, e);
22090
22109
  return n;
22091
22110
  }
22092
- var uC = aC;
22093
- function dC(e) {
22111
+ var dC = uC;
22112
+ function cC(e) {
22094
22113
  return function(t) {
22095
22114
  return e == null ? void 0 : e[t];
22096
22115
  };
22097
22116
  }
22098
- var cC = dC, fC = cC, mC = {
22117
+ var fC = cC, mC = fC, hC = {
22099
22118
  // Latin-1 Supplement block.
22100
22119
  À: "A",
22101
22120
  Á: "A",
@@ -22288,45 +22307,45 @@ var cC = dC, fC = cC, mC = {
22288
22307
  œ: "oe",
22289
22308
  ʼn: "'n",
22290
22309
  ſ: "s"
22291
- }, hC = fC(mC), pC = hC, yC = pC, _C = Gr, gC = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, vC = "\\u0300-\\u036f", bC = "\\ufe20-\\ufe2f", kC = "\\u20d0-\\u20ff", xC = vC + bC + kC, wC = "[" + xC + "]", SC = RegExp(wC, "g");
22292
- function VC(e) {
22293
- return e = _C(e), e && e.replace(gC, yC).replace(SC, "");
22310
+ }, pC = mC(hC), yC = pC, _C = yC, gC = Gr, vC = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, bC = "\\u0300-\\u036f", kC = "\\ufe20-\\ufe2f", xC = "\\u20d0-\\u20ff", wC = bC + kC + xC, SC = "[" + wC + "]", VC = RegExp(SC, "g");
22311
+ function OC(e) {
22312
+ return e = gC(e), e && e.replace(vC, _C).replace(VC, "");
22294
22313
  }
22295
- var OC = VC, TC = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
22296
- function CC(e) {
22297
- return e.match(TC) || [];
22314
+ var TC = OC, CC = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
22315
+ function EC(e) {
22316
+ return e.match(CC) || [];
22298
22317
  }
22299
- var EC = CC, DC = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
22300
- function FC(e) {
22301
- return DC.test(e);
22318
+ var DC = EC, FC = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
22319
+ function IC(e) {
22320
+ return FC.test(e);
22302
22321
  }
22303
- var IC = FC, Fa = "\\ud800-\\udfff", MC = "\\u0300-\\u036f", $C = "\\ufe20-\\ufe2f", AC = "\\u20d0-\\u20ff", LC = MC + $C + AC, Ia = "\\u2700-\\u27bf", Ma = "a-z\\xdf-\\xf6\\xf8-\\xff", NC = "\\xac\\xb1\\xd7\\xf7", UC = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", PC = "\\u2000-\\u206f", jC = " \\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", $a = "A-Z\\xc0-\\xd6\\xd8-\\xde", RC = "\\ufe0e\\ufe0f", Aa = NC + UC + PC + jC, La = "['’]", xl = "[" + Aa + "]", BC = "[" + LC + "]", Na = "\\d+", zC = "[" + Ia + "]", Ua = "[" + Ma + "]", Pa = "[^" + Fa + Aa + Na + Ia + Ma + $a + "]", qC = "\\ud83c[\\udffb-\\udfff]", HC = "(?:" + BC + "|" + qC + ")", WC = "[^" + Fa + "]", ja = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ra = "[\\ud800-\\udbff][\\udc00-\\udfff]", Xt = "[" + $a + "]", GC = "\\u200d", wl = "(?:" + Ua + "|" + Pa + ")", YC = "(?:" + Xt + "|" + Pa + ")", Sl = "(?:" + La + "(?:d|ll|m|re|s|t|ve))?", Vl = "(?:" + La + "(?:D|LL|M|RE|S|T|VE))?", Ba = HC + "?", za = "[" + RC + "]?", KC = "(?:" + GC + "(?:" + [WC, ja, Ra].join("|") + ")" + za + Ba + ")*", ZC = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", JC = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", XC = za + Ba + KC, QC = "(?:" + [zC, ja, Ra].join("|") + ")" + XC, eE = RegExp([
22322
+ var MC = IC, Fa = "\\ud800-\\udfff", $C = "\\u0300-\\u036f", AC = "\\ufe20-\\ufe2f", LC = "\\u20d0-\\u20ff", NC = $C + AC + LC, Ia = "\\u2700-\\u27bf", Ma = "a-z\\xdf-\\xf6\\xf8-\\xff", UC = "\\xac\\xb1\\xd7\\xf7", PC = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", jC = "\\u2000-\\u206f", RC = " \\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", $a = "A-Z\\xc0-\\xd6\\xd8-\\xde", BC = "\\ufe0e\\ufe0f", Aa = UC + PC + jC + RC, La = "['’]", xl = "[" + Aa + "]", zC = "[" + NC + "]", Na = "\\d+", qC = "[" + Ia + "]", Ua = "[" + Ma + "]", Pa = "[^" + Fa + Aa + Na + Ia + Ma + $a + "]", HC = "\\ud83c[\\udffb-\\udfff]", WC = "(?:" + zC + "|" + HC + ")", GC = "[^" + Fa + "]", ja = "(?:\\ud83c[\\udde6-\\uddff]){2}", Ra = "[\\ud800-\\udbff][\\udc00-\\udfff]", Xt = "[" + $a + "]", YC = "\\u200d", wl = "(?:" + Ua + "|" + Pa + ")", KC = "(?:" + Xt + "|" + Pa + ")", Sl = "(?:" + La + "(?:d|ll|m|re|s|t|ve))?", Vl = "(?:" + La + "(?:D|LL|M|RE|S|T|VE))?", Ba = WC + "?", za = "[" + BC + "]?", ZC = "(?:" + YC + "(?:" + [GC, ja, Ra].join("|") + ")" + za + Ba + ")*", JC = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", XC = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", QC = za + Ba + ZC, eE = "(?:" + [qC, ja, Ra].join("|") + ")" + QC, tE = RegExp([
22304
22323
  Xt + "?" + Ua + "+" + Sl + "(?=" + [xl, Xt, "$"].join("|") + ")",
22305
- YC + "+" + Vl + "(?=" + [xl, Xt + wl, "$"].join("|") + ")",
22324
+ KC + "+" + Vl + "(?=" + [xl, Xt + wl, "$"].join("|") + ")",
22306
22325
  Xt + "?" + wl + "+" + Sl,
22307
22326
  Xt + "+" + Vl,
22327
+ XC,
22308
22328
  JC,
22309
- ZC,
22310
22329
  Na,
22311
- QC
22330
+ eE
22312
22331
  ].join("|"), "g");
22313
- function tE(e) {
22314
- return e.match(eE) || [];
22332
+ function nE(e) {
22333
+ return e.match(tE) || [];
22315
22334
  }
22316
- var nE = tE, iE = EC, rE = IC, sE = Gr, lE = nE;
22317
- function oE(e, t, n) {
22318
- return e = sE(e), t = n ? void 0 : t, t === void 0 ? rE(e) ? lE(e) : iE(e) : e.match(t) || [];
22335
+ var iE = nE, rE = DC, sE = MC, lE = Gr, oE = iE;
22336
+ function aE(e, t, n) {
22337
+ return e = lE(e), t = n ? void 0 : t, t === void 0 ? sE(e) ? oE(e) : rE(e) : e.match(t) || [];
22319
22338
  }
22320
- var aE = oE, uE = uC, dE = OC, cE = aE, fE = "['’]", mE = RegExp(fE, "g");
22321
- function hE(e) {
22339
+ var uE = aE, dE = dC, cE = TC, fE = uE, mE = "['’]", hE = RegExp(mE, "g");
22340
+ function pE(e) {
22322
22341
  return function(t) {
22323
- return uE(cE(dE(t).replace(mE, "")), e, "");
22342
+ return dE(fE(cE(t).replace(hE, "")), e, "");
22324
22343
  };
22325
22344
  }
22326
- var pE = hE, yE = pE, _E = yE(function(e, t, n) {
22345
+ var yE = pE, _E = yE, gE = _E(function(e, t, n) {
22327
22346
  return e + (n ? "-" : "") + t.toLowerCase();
22328
- }), gE = _E;
22329
- const vE = {
22347
+ }), vE = gE;
22348
+ const bE = {
22330
22349
  emits: [
22331
22350
  "field:unmount",
22332
22351
  "field:mount",
@@ -22432,7 +22451,7 @@ const vE = {
22432
22451
  },
22433
22452
  methods: {
22434
22453
  getFieldKey(e) {
22435
- let t = gE(`${e.title}-${e.key}`);
22454
+ let t = vE(`${e.title}-${e.key}`);
22436
22455
  return e.incrementor && (t = `${t}-${e.incrementor}`), t;
22437
22456
  },
22438
22457
  touch() {
@@ -22540,7 +22559,7 @@ const vE = {
22540
22559
  }
22541
22560
  }
22542
22561
  };
22543
- function bE(e, t, n, r, s, i) {
22562
+ function kE(e, t, n, r, s, i) {
22544
22563
  const l = y("ux-field");
22545
22564
  return a(), d("div", {
22546
22565
  class: A(["ux-form", i.formClass])
@@ -22577,8 +22596,8 @@ function bE(e, t, n, r, s, i) {
22577
22596
  ], !0)
22578
22597
  ], 2);
22579
22598
  }
22580
- const qa = /* @__PURE__ */ T(vE, [["render", bE], ["__scopeId", "data-v-84534501"]]);
22581
- const mr = "form.ready", kE = "form.processing", Ol = "form.complete", Tl = "form.error", xE = "form.intent", wE = {
22599
+ const qa = /* @__PURE__ */ T(bE, [["render", kE], ["__scopeId", "data-v-84534501"]]);
22600
+ const mr = "form.ready", xE = "form.processing", Ol = "form.complete", Tl = "form.error", wE = "form.intent", SE = {
22582
22601
  emits: [
22583
22602
  "reset",
22584
22603
  "processing",
@@ -22628,7 +22647,7 @@ const mr = "form.ready", kE = "form.processing", Ol = "form.complete", Tl = "for
22628
22647
  console.log("Form is invalid", this.formState);
22629
22648
  return;
22630
22649
  }
22631
- e.processing = !0, e.state = kE, e.$emit("processing");
22650
+ e.processing = !0, e.state = xE, e.$emit("processing");
22632
22651
  const { submission: t, error: n } = await e.preSubmit(e.model);
22633
22652
  if (n)
22634
22653
  return console.log("pre submit error", n), o(n);
@@ -22653,7 +22672,7 @@ const mr = "form.ready", kE = "form.processing", Ol = "form.complete", Tl = "for
22653
22672
  await e.$sdk.utils.loadExternalScript("https://js.stripe.com/v3/");
22654
22673
  break;
22655
22674
  }
22656
- e.state = xE, e.processing = !1, e.$emit("intent", u);
22675
+ e.state = wE, e.processing = !1, e.$emit("intent", u);
22657
22676
  }
22658
22677
  async function l(u) {
22659
22678
  await e.postSubmit(u), e.processing = !1, e.state = Ol, e.$emit("success", u);
@@ -22832,21 +22851,21 @@ const mr = "form.ready", kE = "form.processing", Ol = "form.complete", Tl = "for
22832
22851
  return this.form.fields || [];
22833
22852
  }
22834
22853
  }
22835
- }, SE = (e) => (Ze("data-v-59acf39e"), e = e(), Je(), e), VE = /* @__PURE__ */ SE(() => /* @__PURE__ */ x("h3", null, "An error occurred", -1)), OE = { key: 0 }, TE = { key: 1 }, CE = { key: 2 }, EE = { class: "intent-submit" }, DE = ["tooltip"];
22836
- function FE(e, t, n, r, s, i) {
22854
+ }, VE = (e) => (Ze("data-v-59acf39e"), e = e(), Je(), e), OE = /* @__PURE__ */ VE(() => /* @__PURE__ */ x("h3", null, "An error occurred", -1)), TE = { key: 0 }, CE = { key: 1 }, EE = { key: 2 }, DE = { class: "intent-submit" }, FE = ["tooltip"];
22855
+ function IE(e, t, n, r, s, i) {
22837
22856
  var v;
22838
22857
  const l = y("ux-icon"), o = y("ux-button"), u = y("ux-panel-body"), m = y("ux-panel"), c = y("StripeElement"), p = y("StripeElements"), g = y("ux-form");
22839
22858
  return a(), d("div", {
22840
22859
  class: A(["ux-submission-form", i.classes])
22841
22860
  }, [
22842
22861
  s.state === "form.error" ? (a(), d(S, { key: 0 }, [
22843
- VE,
22844
- s.error.message ? (a(), d("pre", OE, b(s.error.message), 1)) : _("", !0),
22845
- (v = s.error.data) != null && v.errors ? (a(), d("div", TE, [
22862
+ OE,
22863
+ s.error.message ? (a(), d("pre", TE, b(s.error.message), 1)) : _("", !0),
22864
+ (v = s.error.data) != null && v.errors ? (a(), d("div", CE, [
22846
22865
  (a(!0), d(S, null, M(s.error.data.errors, (w) => (a(), d("pre", {
22847
22866
  key: w.path
22848
22867
  }, b(w.message), 1))), 128))
22849
- ])) : (a(), d("pre", CE, b(s.error), 1)),
22868
+ ])) : (a(), d("pre", EE, b(s.error), 1)),
22850
22869
  f(o, {
22851
22870
  color: "primary",
22852
22871
  onClick: i.softReset
@@ -22900,7 +22919,7 @@ function FE(e, t, n, r, s, i) {
22900
22919
  ]),
22901
22920
  _: 1
22902
22921
  }, 8, ["stripe-key", "instance-options", "elements-options"])) : _("", !0),
22903
- x("div", EE, [
22922
+ x("div", DE, [
22904
22923
  f(o, {
22905
22924
  color: "primary",
22906
22925
  onClick: i.confirmIntention
@@ -22935,12 +22954,12 @@ function FE(e, t, n, r, s, i) {
22935
22954
  ]),
22936
22955
  _: 1
22937
22956
  }, 8, ["disabled", "onClick", "loading"])
22938
- ], 8, DE)
22957
+ ], 8, FE)
22939
22958
  ], 64))
22940
22959
  ], 2);
22941
22960
  }
22942
- const Cl = /* @__PURE__ */ T(wE, [["render", FE], ["__scopeId", "data-v-59acf39e"]]);
22943
- function IE(e) {
22961
+ const Cl = /* @__PURE__ */ T(SE, [["render", IE], ["__scopeId", "data-v-59acf39e"]]);
22962
+ function ME(e) {
22944
22963
  const t = /<\/?([a-zA-Z0-9]+)[^>]*>/g, n = [];
22945
22964
  let r;
22946
22965
  for (; (r = t.exec(e)) !== null; ) {
@@ -22979,7 +22998,7 @@ const Ha = {
22979
22998
  actualTemplate() {
22980
22999
  let e = this.template || "";
22981
23000
  e = e.replaceAll ? e.replaceAll("<br>", "<br/>") : e;
22982
- var { valid: t, invalid: n } = IE(e);
23001
+ var { valid: t, invalid: n } = ME(e);
22983
23002
  return t || (console.log("Invalid html", e), e = `<div>Invalid HTML. <pre>${n}</pre></div>`), e;
22984
23003
  }
22985
23004
  },
@@ -22987,7 +23006,7 @@ const Ha = {
22987
23006
  VRuntimeTemplate: Ho
22988
23007
  }
22989
23008
  };
22990
- const ME = {
23009
+ const $E = {
22991
23010
  emits: ["error", "reset"],
22992
23011
  data() {
22993
23012
  return {
@@ -23002,14 +23021,14 @@ const ME = {
23002
23021
  this.$emit("reset");
23003
23022
  }
23004
23023
  }
23005
- }, $E = {
23024
+ }, AE = {
23006
23025
  key: 0,
23007
23026
  class: "error-boundary",
23008
23027
  style: { color: "#b40000", border: "2px solid #fd0000", background: "#ffd6d6", padding: "1em" }
23009
23028
  };
23010
- function AE(e, t, n, r, s, i) {
23029
+ function LE(e, t, n, r, s, i) {
23011
23030
  const l = y("ux-button");
23012
- return s.error ? (a(), d("div", $E, [
23031
+ return s.error ? (a(), d("div", AE, [
23013
23032
  x("pre", null, "COMPILE ERROR: " + b(s.error), 1),
23014
23033
  f(l, { onClick: i.reset }, {
23015
23034
  default: h(() => [
@@ -23019,7 +23038,7 @@ function AE(e, t, n, r, s, i) {
23019
23038
  }, 8, ["onClick"])
23020
23039
  ])) : G(e.$slots, "default", { key: 1 }, void 0, !0);
23021
23040
  }
23022
- const LE = /* @__PURE__ */ T(ME, [["render", AE], ["__scopeId", "data-v-0fd69158"]]), NE = {
23041
+ const NE = /* @__PURE__ */ T($E, [["render", LE], ["__scopeId", "data-v-0fd69158"]]), UE = {
23023
23042
  props: {
23024
23043
  field: {
23025
23044
  type: Object,
@@ -23100,8 +23119,8 @@ const LE = /* @__PURE__ */ T(ME, [["render", AE], ["__scopeId", "data-v-0fd69158
23100
23119
  }
23101
23120
  }
23102
23121
  };
23103
- const UE = {
23104
- mixins: [NE],
23122
+ const PE = {
23123
+ mixins: [UE],
23105
23124
  props: {
23106
23125
  modelValue: {
23107
23126
  type: [Object, Array]
@@ -23121,13 +23140,13 @@ const UE = {
23121
23140
  return `${this.label} ${t + 1}`;
23122
23141
  }
23123
23142
  }
23124
- }, PE = {
23143
+ }, jE = {
23125
23144
  key: 0,
23126
23145
  class: "ux-multi-group"
23127
23146
  };
23128
- function jE(e, t, n, r, s, i) {
23147
+ function RE(e, t, n, r, s, i) {
23129
23148
  const l = y("flex-cell"), o = y("flex-row"), u = y("ux-panel-header"), m = y("ux-render"), c = y("ux-panel-body"), p = y("ux-panel");
23130
- return e.multiValue ? (a(), d("div", PE, [
23149
+ return e.multiValue ? (a(), d("div", jE, [
23131
23150
  (a(!0), d(S, null, M(e.model, (g, v) => (a(), k(p, {
23132
23151
  ref_for: !0,
23133
23152
  ref: "row",
@@ -23178,14 +23197,14 @@ function jE(e, t, n, r, s, i) {
23178
23197
  "onUpdate:modelValue": t[0] || (t[0] = (g) => e.model = g)
23179
23198
  }, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue"]));
23180
23199
  }
23181
- const RE = /* @__PURE__ */ T(UE, [["render", jE], ["__scopeId", "data-v-cb997d0e"]]);
23182
- const BE = {
23200
+ const BE = /* @__PURE__ */ T(PE, [["render", RE], ["__scopeId", "data-v-cb997d0e"]]);
23201
+ const zE = {
23183
23202
  components: {
23184
23203
  Item: Xo,
23185
- FieldGroup: RE,
23204
+ FieldGroup: BE,
23186
23205
  // Compiler,
23187
23206
  Compile: Ha,
23188
- ErrorBoundary: LE
23207
+ ErrorBoundary: NE
23189
23208
  // ButtonSelect,
23190
23209
  // NativeSelect,
23191
23210
  // DateField,
@@ -23401,17 +23420,17 @@ const BE = {
23401
23420
  return e;
23402
23421
  }
23403
23422
  }
23404
- }, zE = { class: "ux-field-title" }, qE = { class: "currency" }, HE = { key: 1 }, WE = { class: "currency" }, GE = { key: 1 }, YE = {
23423
+ }, qE = { class: "ux-field-title" }, HE = { class: "currency" }, WE = { key: 1 }, GE = { class: "currency" }, YE = { key: 1 }, KE = {
23405
23424
  key: 4,
23406
23425
  class: "ux-password-render"
23407
- }, KE = ["type", "value"], ZE = ["type", "value"], JE = ["innerHTML"], XE = ["innerHTML"], QE = { key: 1 }, eD = { key: 1 }, tD = ["href"], nD = { key: 1 }, iD = ["href"], rD = ["href"], sD = { key: 1 }, lD = ["href"], oD = { key: 1 };
23408
- function aD(e, t, n, r, s, i) {
23426
+ }, ZE = ["type", "value"], JE = ["type", "value"], XE = ["innerHTML"], QE = ["innerHTML"], eD = { key: 1 }, tD = { key: 1 }, nD = ["href"], iD = { key: 1 }, rD = ["href"], sD = ["href"], lD = { key: 1 }, oD = ["href"], aD = { key: 1 };
23427
+ function uD(e, t, n, r, s, i) {
23409
23428
  const l = y("field-group"), o = y("v-ace-editor"), u = y("flex-cell"), m = y("ux-icon"), c = y("ux-button"), p = y("flex-row"), g = y("item"), v = y("error-boundary");
23410
23429
  return i.visible ? (a(), d("div", {
23411
23430
  key: 0,
23412
23431
  class: A(["ux-field-render", i.classes])
23413
23432
  }, [
23414
- x("label", zE, b(i.title), 1),
23433
+ x("label", qE, b(i.title), 1),
23415
23434
  i.widget === "group" ? (a(), d(S, { key: 0 }, [
23416
23435
  i.asObject ? (a(), k(l, {
23417
23436
  key: 0,
@@ -23438,10 +23457,10 @@ function aD(e, t, n, r, s, i) {
23438
23457
  }, null, 8, ["submission", "field", "parentModel", "modelValue"])) : i.widget === "currency" ? (a(), d(S, { key: 2 }, [
23439
23458
  i.multiValue ? (a(!0), d(S, { key: 0 }, M(i.fieldModel, (w, O) => (a(), d("div", null, [
23440
23459
  V(b(i.formatCurrency(w)) + " ", 1),
23441
- x("span", qE, b(n.field.currency), 1)
23442
- ]))), 256)) : (a(), d("div", HE, [
23460
+ x("span", HE, b(n.field.currency), 1)
23461
+ ]))), 256)) : (a(), d("div", WE, [
23443
23462
  V(b(i.formatCurrency(i.fieldModel)) + " ", 1),
23444
- x("span", WE, b(n.field.currency), 1)
23463
+ x("span", GE, b(n.field.currency), 1)
23445
23464
  ]))
23446
23465
  ], 64)) : i.widget === "code" ? (a(), d(S, { key: 3 }, [
23447
23466
  i.multiValue ? (a(!0), d(S, { key: 0 }, M(i.fieldModel, (w, O) => (a(), d("div", null, [
@@ -23454,7 +23473,7 @@ function aD(e, t, n, r, s, i) {
23454
23473
  theme: "tomorrow_night_eighties",
23455
23474
  style: { "min-height": "300px" }
23456
23475
  }, null, 8, ["value", "lang"])
23457
- ]))), 256)) : (a(), d("div", GE, [
23476
+ ]))), 256)) : (a(), d("div", YE, [
23458
23477
  f(o, {
23459
23478
  readonly: !0,
23460
23479
  class: "editor-wrap",
@@ -23465,7 +23484,7 @@ function aD(e, t, n, r, s, i) {
23465
23484
  style: { "min-height": "300px" }
23466
23485
  }, null, 8, ["value", "lang"])
23467
23486
  ]))
23468
- ], 64)) : i.widget === "password" ? (a(), d("div", YE, [
23487
+ ], 64)) : i.widget === "password" ? (a(), d("div", KE, [
23469
23488
  i.multiValue ? (a(!0), d(S, { key: 0 }, M(i.fieldModel, (w, O) => (a(), k(p, {
23470
23489
  gap: "",
23471
23490
  center: ""
@@ -23476,7 +23495,7 @@ function aD(e, t, n, r, s, i) {
23476
23495
  x("input", {
23477
23496
  type: s.unmaskedLookup[`${O}`] ? "text" : "password",
23478
23497
  value: w
23479
- }, null, 8, KE)
23498
+ }, null, 8, ZE)
23480
23499
  ]),
23481
23500
  _: 2
23482
23501
  }, 1024),
@@ -23528,7 +23547,7 @@ function aD(e, t, n, r, s, i) {
23528
23547
  x("input", {
23529
23548
  type: s.unmasked ? "text" : "password",
23530
23549
  value: i.fieldModel
23531
- }, null, 8, ZE)
23550
+ }, null, 8, JE)
23532
23551
  ]),
23533
23552
  _: 1
23534
23553
  }),
@@ -23614,49 +23633,49 @@ function aD(e, t, n, r, s, i) {
23614
23633
  i.multiValue ? (a(!0), d(S, { key: 0 }, M(i.fieldModel, (w, O) => (a(), d("div", null, [
23615
23634
  f(v, null, {
23616
23635
  default: h(() => [
23617
- x("div", { innerHTML: w }, null, 8, JE)
23636
+ x("div", { innerHTML: w }, null, 8, XE)
23618
23637
  ]),
23619
23638
  _: 2
23620
23639
  }, 1024)
23621
23640
  ]))), 256)) : (a(), k(v, { key: 1 }, {
23622
23641
  default: h(() => [
23623
- x("div", { innerHTML: i.fieldModel }, null, 8, XE)
23642
+ x("div", { innerHTML: i.fieldModel }, null, 8, QE)
23624
23643
  ]),
23625
23644
  _: 1
23626
23645
  }))
23627
23646
  ], 64)) : _("", !0),
23628
23647
  i.type == "boolean" ? (a(), d(S, { key: 2 }, [
23629
- i.multiValue ? (a(!0), d(S, { key: 0 }, M(i.fieldModel, (w, O) => (a(), d("div", null, b(!!w), 1))), 256)) : (a(), d("div", QE, b(!!i.fieldModel), 1))
23648
+ i.multiValue ? (a(!0), d(S, { key: 0 }, M(i.fieldModel, (w, O) => (a(), d("div", null, b(!!w), 1))), 256)) : (a(), d("div", eD, b(!!i.fieldModel), 1))
23630
23649
  ], 64)) : _("", !0),
23631
23650
  i.type == "date" ? (a(), d(S, { key: 3 }, [
23632
- i.multiValue ? (a(!0), d(S, { key: 0 }, M(i.fieldModel, (w, O) => (a(), d("div", null, b(i.renderDate(w)), 1))), 256)) : (a(), d("div", eD, b(i.renderDate(i.fieldModel)), 1))
23651
+ i.multiValue ? (a(!0), d(S, { key: 0 }, M(i.fieldModel, (w, O) => (a(), d("div", null, b(i.renderDate(w)), 1))), 256)) : (a(), d("div", tD, b(i.renderDate(i.fieldModel)), 1))
23633
23652
  ], 64)) : _("", !0),
23634
23653
  i.type == "email" ? (a(), d(S, { key: 4 }, [
23635
23654
  i.multiValue ? (a(!0), d(S, { key: 0 }, M(i.fieldModel, (w, O) => (a(), d("div", null, [
23636
23655
  x("a", {
23637
23656
  href: `mailto:${w}`
23638
- }, b(w), 9, tD)
23639
- ]))), 256)) : (a(), d("div", nD, [
23657
+ }, b(w), 9, nD)
23658
+ ]))), 256)) : (a(), d("div", iD, [
23640
23659
  x("a", {
23641
23660
  href: `mailto:${i.fieldModel}`
23642
- }, b(i.fieldModel), 9, iD)
23661
+ }, b(i.fieldModel), 9, rD)
23643
23662
  ]))
23644
23663
  ], 64)) : _("", !0),
23645
23664
  i.type == "url" ? (a(), d(S, { key: 5 }, [
23646
23665
  i.multiValue ? (a(!0), d(S, { key: 0 }, M(i.fieldModel, (w, O) => (a(), d("div", null, [
23647
- x("a", { href: w }, b(w), 9, rD)
23648
- ]))), 256)) : (a(), d("div", sD, [
23649
- x("a", { href: i.fieldModel }, b(i.fieldModel), 9, lD)
23666
+ x("a", { href: w }, b(w), 9, sD)
23667
+ ]))), 256)) : (a(), d("div", lD, [
23668
+ x("a", { href: i.fieldModel }, b(i.fieldModel), 9, oD)
23650
23669
  ]))
23651
23670
  ], 64)) : _("", !0),
23652
23671
  i.isNumber ? (a(), d(S, { key: 6 }, [
23653
- i.multiValue ? (a(!0), d(S, { key: 0 }, M(i.fieldModel, (w, O) => (a(), d("div", null, b(w), 1))), 256)) : (a(), d("div", oD, b(i.fieldModel), 1))
23672
+ i.multiValue ? (a(!0), d(S, { key: 0 }, M(i.fieldModel, (w, O) => (a(), d("div", null, b(w), 1))), 256)) : (a(), d("div", aD, b(i.fieldModel), 1))
23654
23673
  ], 64)) : _("", !0)
23655
23674
  ], 64))
23656
23675
  ], 2)) : _("", !0);
23657
23676
  }
23658
- const Wa = /* @__PURE__ */ T(BE, [["render", aD], ["__scopeId", "data-v-00091aa4"]]);
23659
- const uD = {
23677
+ const Wa = /* @__PURE__ */ T(zE, [["render", uD], ["__scopeId", "data-v-00091aa4"]]);
23678
+ const dD = {
23660
23679
  props: {
23661
23680
  parentModel: {
23662
23681
  type: Object
@@ -23709,7 +23728,7 @@ const uD = {
23709
23728
  }
23710
23729
  }
23711
23730
  };
23712
- function dD(e, t, n, r, s, i) {
23731
+ function cD(e, t, n, r, s, i) {
23713
23732
  const l = y("ux-field-render");
23714
23733
  return a(), d("div", {
23715
23734
  class: A(["ux-render", i.renderClass])
@@ -23727,8 +23746,8 @@ function dD(e, t, n, r, s, i) {
23727
23746
  ], !0)
23728
23747
  ], 2);
23729
23748
  }
23730
- const cD = /* @__PURE__ */ T(uD, [["render", dD], ["__scopeId", "data-v-f2b5ec33"]]);
23731
- function fD(e) {
23749
+ const fD = /* @__PURE__ */ T(dD, [["render", cD], ["__scopeId", "data-v-f2b5ec33"]]);
23750
+ function mD(e) {
23732
23751
  e = e || {}, Math.max(parseInt(e.minimum || 0), 0);
23733
23752
  let t = Math.max(parseInt(e.maximum || 0), 0);
23734
23753
  const n = Ll({}), r = Ut([]);
@@ -23781,7 +23800,7 @@ function fD(e) {
23781
23800
  }
23782
23801
  }), n;
23783
23802
  }
23784
- const mD = {
23803
+ const hD = {
23785
23804
  props: {
23786
23805
  total: {
23787
23806
  type: Number,
@@ -23881,7 +23900,7 @@ const mD = {
23881
23900
  };
23882
23901
  }
23883
23902
  };
23884
- function hD(e, t, n, r, s, i) {
23903
+ function pD(e, t, n, r, s, i) {
23885
23904
  const l = y("native-select"), o = y("flex-cell"), u = y("ux-icon"), m = y("ux-button"), c = y("flex-row");
23886
23905
  return a(), k(c, {
23887
23906
  center: "",
@@ -23981,61 +24000,61 @@ function hD(e, t, n, r, s, i) {
23981
24000
  _: 1
23982
24001
  });
23983
24002
  }
23984
- const pD = /* @__PURE__ */ T(mD, [["render", hD], ["__scopeId", "data-v-696aa569"]]);
23985
- var yD = "__lodash_hash_undefined__";
23986
- function _D(e) {
23987
- return this.__data__.set(e, yD), this;
24003
+ const yD = /* @__PURE__ */ T(hD, [["render", pD], ["__scopeId", "data-v-696aa569"]]);
24004
+ var _D = "__lodash_hash_undefined__";
24005
+ function gD(e) {
24006
+ return this.__data__.set(e, _D), this;
23988
24007
  }
23989
- var gD = _D;
23990
- function vD(e) {
24008
+ var vD = gD;
24009
+ function bD(e) {
23991
24010
  return this.__data__.has(e);
23992
24011
  }
23993
- var bD = vD, kD = Ro, xD = gD, wD = bD;
24012
+ var kD = bD, xD = Ro, wD = vD, SD = kD;
23994
24013
  function Ei(e) {
23995
24014
  var t = -1, n = e == null ? 0 : e.length;
23996
- for (this.__data__ = new kD(); ++t < n; )
24015
+ for (this.__data__ = new xD(); ++t < n; )
23997
24016
  this.add(e[t]);
23998
24017
  }
23999
- Ei.prototype.add = Ei.prototype.push = xD;
24000
- Ei.prototype.has = wD;
24001
- var SD = Ei, VD = Ea;
24002
- function OD(e, t) {
24018
+ Ei.prototype.add = Ei.prototype.push = wD;
24019
+ Ei.prototype.has = SD;
24020
+ var VD = Ei, OD = Ea;
24021
+ function TD(e, t) {
24003
24022
  var n = e == null ? 0 : e.length;
24004
- return !!n && VD(e, t, 0) > -1;
24023
+ return !!n && OD(e, t, 0) > -1;
24005
24024
  }
24006
- var TD = OD;
24007
- function CD(e, t, n) {
24025
+ var CD = TD;
24026
+ function ED(e, t, n) {
24008
24027
  for (var r = -1, s = e == null ? 0 : e.length; ++r < s; )
24009
24028
  if (n(t, e[r]))
24010
24029
  return !0;
24011
24030
  return !1;
24012
24031
  }
24013
- var ED = CD;
24014
- function DD(e, t) {
24032
+ var DD = ED;
24033
+ function FD(e, t) {
24015
24034
  return e.has(t);
24016
24035
  }
24017
- var FD = DD, ID = Hr, MD = dn, $D = ID(MD, "Set"), AD = $D;
24018
- function LD() {
24036
+ var ID = FD, MD = Hr, $D = dn, AD = MD($D, "Set"), LD = AD;
24037
+ function ND() {
24019
24038
  }
24020
- var ND = LD;
24021
- function UD(e) {
24039
+ var UD = ND;
24040
+ function PD(e) {
24022
24041
  var t = -1, n = Array(e.size);
24023
24042
  return e.forEach(function(r) {
24024
24043
  n[++t] = r;
24025
24044
  }), n;
24026
24045
  }
24027
- var Ga = UD, hr = AD, PD = ND, jD = Ga, RD = 1 / 0, BD = hr && 1 / jD(new hr([, -0]))[1] == RD ? function(e) {
24046
+ var Ga = PD, hr = LD, jD = UD, RD = Ga, BD = 1 / 0, zD = hr && 1 / RD(new hr([, -0]))[1] == BD ? function(e) {
24028
24047
  return new hr(e);
24029
- } : PD, zD = BD, qD = SD, HD = TD, WD = ED, GD = FD, YD = zD, KD = Ga, ZD = 200;
24030
- function JD(e, t, n) {
24031
- var r = -1, s = HD, i = e.length, l = !0, o = [], u = o;
24048
+ } : jD, qD = zD, HD = VD, WD = CD, GD = DD, YD = ID, KD = qD, ZD = Ga, JD = 200;
24049
+ function XD(e, t, n) {
24050
+ var r = -1, s = WD, i = e.length, l = !0, o = [], u = o;
24032
24051
  if (n)
24033
- l = !1, s = WD;
24034
- else if (i >= ZD) {
24035
- var m = t ? null : YD(e);
24052
+ l = !1, s = GD;
24053
+ else if (i >= JD) {
24054
+ var m = t ? null : KD(e);
24036
24055
  if (m)
24037
- return KD(m);
24038
- l = !1, s = GD, u = new qD();
24056
+ return ZD(m);
24057
+ l = !1, s = YD, u = new HD();
24039
24058
  } else
24040
24059
  u = t ? [] : o;
24041
24060
  e:
@@ -24051,12 +24070,12 @@ function JD(e, t, n) {
24051
24070
  }
24052
24071
  return o;
24053
24072
  }
24054
- var XD = JD, QD = XD;
24055
- function eF(e) {
24056
- return e && e.length ? QD(e) : [];
24073
+ var QD = XD, eF = QD;
24074
+ function tF(e) {
24075
+ return e && e.length ? eF(e) : [];
24057
24076
  }
24058
- var tF = eF;
24059
- function nF(e, t) {
24077
+ var nF = tF;
24078
+ function iF(e, t) {
24060
24079
  var n = [], r;
24061
24080
  switch (t) {
24062
24081
  case "image":
@@ -24201,7 +24220,7 @@ function El() {
24201
24220
  };
24202
24221
  }
24203
24222
  let Ae, pr, yr;
24204
- const iF = {
24223
+ const rF = {
24205
24224
  emits: [
24206
24225
  "loading",
24207
24226
  "loaded",
@@ -24295,7 +24314,7 @@ const iF = {
24295
24314
  }
24296
24315
  },
24297
24316
  components: {
24298
- Pager: pD,
24317
+ Pager: yD,
24299
24318
  NativeTable: F_,
24300
24319
  FilterBuilder: Ca,
24301
24320
  Search: ji,
@@ -24621,7 +24640,7 @@ const iF = {
24621
24640
  t.push("color"), t.push("bgColor");
24622
24641
  break;
24623
24642
  }
24624
- return tF(t);
24643
+ return nF(t);
24625
24644
  },
24626
24645
  columns() {
24627
24646
  let e = [], t = {};
@@ -24636,7 +24655,7 @@ const iF = {
24636
24655
  }
24637
24656
  var r = this.actualOptions.prefixColumns || [];
24638
24657
  r.forEach(n(!0));
24639
- var s = this.actualOptions.columns, i = s && s.length ? s : nF(this, this.basicType);
24658
+ var s = this.actualOptions.columns, i = s && s.length ? s : iF(this, this.basicType);
24640
24659
  i.length || i.push({
24641
24660
  title: "Title",
24642
24661
  key: "title"
@@ -24791,7 +24810,7 @@ const iF = {
24791
24810
  },
24792
24811
  data() {
24793
24812
  var e = this.selectionManager;
24794
- e || (e = new fD({ minimum: this.minimum, maximum: this.maximum })), this.modelValue && e.setSelection(this.modelValue);
24813
+ e || (e = new mD({ minimum: this.minimum, maximum: this.maximum })), this.modelValue && e.setSelection(this.modelValue);
24795
24814
  const t = Math.max(isNaN(this.defaultPage) ? 1 : this.defaultPage || 1, 1);
24796
24815
  return {
24797
24816
  manager: e,
@@ -24815,8 +24834,8 @@ const iF = {
24815
24834
  actualOptions: this.options
24816
24835
  };
24817
24836
  }
24818
- }, is = (e) => (Ze("data-v-362f4d2b"), e = e(), Je(), e), rF = /* @__PURE__ */ is(() => /* @__PURE__ */ x("strong", null, "Select Columns", -1)), sF = { class: "footer" }, lF = /* @__PURE__ */ is(() => /* @__PURE__ */ x("p", null, null, -1)), oF = { key: 0 }, aF = /* @__PURE__ */ is(() => /* @__PURE__ */ x("p", null, null, -1));
24819
- function uF(e, t, n, r, s, i) {
24837
+ }, is = (e) => (Ze("data-v-362f4d2b"), e = e(), Je(), e), sF = /* @__PURE__ */ is(() => /* @__PURE__ */ x("strong", null, "Select Columns", -1)), lF = { class: "footer" }, oF = /* @__PURE__ */ is(() => /* @__PURE__ */ x("p", null, null, -1)), aF = { key: 0 }, uF = /* @__PURE__ */ is(() => /* @__PURE__ */ x("p", null, null, -1));
24838
+ function dF(e, t, n, r, s, i) {
24820
24839
  const l = y("ux-icon"), o = y("ux-panel-body"), u = y("ux-panel"), m = y("flex-column"), c = y("ux-button"), p = y("flex-column-header"), g = y("ux-list-item"), v = y("ux-list"), w = y("flex-body"), O = y("ux-menu"), j = y("native-table"), Y = y("pager"), Z = y("flex-footer"), se = y("flex-row"), I = y("search"), le = y("ux-field"), H = y("filter-builder"), R = y("spinner");
24821
24840
  return i.actualDefinition ? (a(), k(m, {
24822
24841
  key: 0,
@@ -24918,7 +24937,7 @@ function uF(e, t, n, r, s, i) {
24918
24937
  left: ""
24919
24938
  }),
24920
24939
  V(),
24921
- rF
24940
+ sF
24922
24941
  ]),
24923
24942
  _: 1
24924
24943
  })
@@ -24991,7 +25010,7 @@ function uF(e, t, n, r, s, i) {
24991
25010
  s.dataSource && !i.boundaryMessage ? (a(), k(Z, { key: 0 }, {
24992
25011
  default: h(() => [
24993
25012
  G(e.$slots, "footera", {}, void 0, !0),
24994
- x("div", sF, [
25013
+ x("div", lF, [
24995
25014
  f(Y, {
24996
25015
  page: s.page,
24997
25016
  "onUpdate:page": t[1] || (t[1] = (J) => s.page = J),
@@ -25023,15 +25042,15 @@ function uF(e, t, n, r, s, i) {
25023
25042
  debounce: 500,
25024
25043
  placeholder: "Keyword Search"
25025
25044
  }, null, 8, ["modelValue", "loading"]),
25026
- lF,
25027
- n.dateFilterEnabled ? (a(), d("div", oF, [
25045
+ oF,
25046
+ n.dateFilterEnabled ? (a(), d("div", aF, [
25028
25047
  f(le, {
25029
25048
  field: i.dateRangeField,
25030
25049
  modelValue: s.dateRangeFilter,
25031
25050
  "onUpdate:modelValue": t[3] || (t[3] = (J) => s.dateRangeFilter = J)
25032
25051
  }, null, 8, ["field", "modelValue"])
25033
25052
  ])) : _("", !0),
25034
- aF,
25053
+ uF,
25035
25054
  f(H, {
25036
25055
  definition: i.actualDefinition,
25037
25056
  modelValue: s.actualFilter,
@@ -25058,8 +25077,8 @@ function uF(e, t, n, r, s, i) {
25058
25077
  _: 3
25059
25078
  })) : _("", !0);
25060
25079
  }
25061
- const dF = /* @__PURE__ */ T(iF, [["render", uF], ["__scopeId", "data-v-362f4d2b"]]);
25062
- const cF = {
25080
+ const cF = /* @__PURE__ */ T(rF, [["render", dF], ["__scopeId", "data-v-362f4d2b"]]);
25081
+ const fF = {
25063
25082
  props: {
25064
25083
  modal: {
25065
25084
  type: Object,
@@ -25089,9 +25108,9 @@ const cF = {
25089
25108
  return this.modal.style && (e = Object.assign(e, this.modal.style)), e;
25090
25109
  }
25091
25110
  }
25092
- }, fF = { class: "modal-wrapper" };
25093
- function mF(e, t, n, r, s, i) {
25094
- return a(), d("div", fF, [
25111
+ }, mF = { class: "modal-wrapper" };
25112
+ function hF(e, t, n, r, s, i) {
25113
+ return a(), d("div", mF, [
25095
25114
  x("div", {
25096
25115
  class: "modal-blanket",
25097
25116
  onClick: t[0] || (t[0] = (...l) => i.blanketClick && i.blanketClick(...l))
@@ -25109,8 +25128,8 @@ function mF(e, t, n, r, s, i) {
25109
25128
  ], 4)
25110
25129
  ]);
25111
25130
  }
25112
- const hF = /* @__PURE__ */ T(cF, [["render", mF], ["__scopeId", "data-v-90c28992"]]);
25113
- const pF = {
25131
+ const pF = /* @__PURE__ */ T(fF, [["render", hF], ["__scopeId", "data-v-90c28992"]]);
25132
+ const yF = {
25114
25133
  mixins: [hn],
25115
25134
  computed: {
25116
25135
  confirmText() {
@@ -25120,25 +25139,25 @@ const pF = {
25120
25139
  return this.options.cancelText || "Cancel";
25121
25140
  }
25122
25141
  }
25123
- }, yF = { class: "padder" }, _F = ["innerHTML"], gF = { class: "padder" };
25124
- function vF(e, t, n, r, s, i) {
25142
+ }, _F = { class: "padder" }, gF = ["innerHTML"], vF = { class: "padder" };
25143
+ function bF(e, t, n, r, s, i) {
25125
25144
  const l = y("flex-body"), o = y("ux-button"), u = y("flex-cell"), m = y("flex-row"), c = y("flex-footer"), p = y("flex-column");
25126
25145
  return a(), k(p, { class: "wrapper" }, {
25127
25146
  default: h(() => [
25128
25147
  f(l, null, {
25129
25148
  default: h(() => [
25130
- x("div", yF, [
25149
+ x("div", _F, [
25131
25150
  x("h5", null, b(e.options.title), 1),
25132
25151
  x("div", {
25133
25152
  innerHTML: e.options.description
25134
- }, null, 8, _F)
25153
+ }, null, 8, gF)
25135
25154
  ])
25136
25155
  ]),
25137
25156
  _: 1
25138
25157
  }),
25139
25158
  f(c, null, {
25140
25159
  default: h(() => [
25141
- x("div", gF, [
25160
+ x("div", vF, [
25142
25161
  f(m, null, {
25143
25162
  default: h(() => [
25144
25163
  f(u, null, {
@@ -25180,8 +25199,8 @@ function vF(e, t, n, r, s, i) {
25180
25199
  _: 1
25181
25200
  });
25182
25201
  }
25183
- const bF = /* @__PURE__ */ T(pF, [["render", vF], ["__scopeId", "data-v-be545ba8"]]);
25184
- const kF = {
25202
+ const kF = /* @__PURE__ */ T(yF, [["render", bF], ["__scopeId", "data-v-be545ba8"]]);
25203
+ const xF = {
25185
25204
  data() {
25186
25205
  return {
25187
25206
  selected: null,
@@ -25220,21 +25239,21 @@ const kF = {
25220
25239
  this.selected = e, this.close(e);
25221
25240
  }
25222
25241
  }
25223
- }, xF = { class: "options-modal-header" }, wF = { class: "padder" }, SF = { class: "options-modal-header" }, VF = { class: "padder" }, OF = ["onClick"], TF = {
25242
+ }, wF = { class: "options-modal-header" }, SF = { class: "padder" }, VF = { class: "options-modal-header" }, OF = { class: "padder" }, TF = ["onClick"], CF = {
25224
25243
  key: 0,
25225
25244
  class: "title"
25226
- }, CF = {
25245
+ }, EF = {
25227
25246
  key: 1,
25228
25247
  class: "description"
25229
- }, EF = { class: "padder" };
25230
- function DF(e, t, n, r, s, i) {
25248
+ }, DF = { class: "padder" };
25249
+ function FF(e, t, n, r, s, i) {
25231
25250
  const l = y("flex-header"), o = y("search"), u = y("flex-cell"), m = y("ux-icon"), c = y("flex-row"), p = y("flex-body"), g = y("ux-button"), v = y("flex-footer"), w = y("flex-column");
25232
25251
  return a(), k(w, { class: "wrapper" }, {
25233
25252
  default: h(() => [
25234
25253
  e.options.title || e.options.description ? (a(), k(l, { key: 0 }, {
25235
25254
  default: h(() => [
25236
- x("div", xF, [
25237
- x("div", wF, [
25255
+ x("div", wF, [
25256
+ x("div", SF, [
25238
25257
  x("h5", null, b(e.options.title), 1),
25239
25258
  x("div", null, b(e.options.description), 1)
25240
25259
  ])
@@ -25244,8 +25263,8 @@ function DF(e, t, n, r, s, i) {
25244
25263
  })) : _("", !0),
25245
25264
  i.searchEnabled ? (a(), k(l, { key: 1 }, {
25246
25265
  default: h(() => [
25247
- x("div", SF, [
25248
- x("div", VF, [
25266
+ x("div", VF, [
25267
+ x("div", OF, [
25249
25268
  f(o, {
25250
25269
  modelValue: s.search,
25251
25270
  "onUpdate:modelValue": t[0] || (t[0] = (O) => s.search = O),
@@ -25274,8 +25293,8 @@ function DF(e, t, n, r, s, i) {
25274
25293
  default: h(() => [
25275
25294
  f(u, null, {
25276
25295
  default: h(() => [
25277
- O.title ? (a(), d("div", TF, b(O.title), 1)) : _("", !0),
25278
- O.description ? (a(), d("div", CF, b(O.description), 1)) : _("", !0)
25296
+ O.title ? (a(), d("div", CF, b(O.title), 1)) : _("", !0),
25297
+ O.description ? (a(), d("div", EF, b(O.description), 1)) : _("", !0)
25279
25298
  ]),
25280
25299
  _: 2
25281
25300
  }, 1024),
@@ -25291,14 +25310,14 @@ function DF(e, t, n, r, s, i) {
25291
25310
  ]),
25292
25311
  _: 2
25293
25312
  }, 1024)
25294
- ], 8, OF))), 256))
25313
+ ], 8, TF))), 256))
25295
25314
  ], 2)
25296
25315
  ]),
25297
25316
  _: 1
25298
25317
  }),
25299
25318
  f(v, { class: "options-modal-footer" }, {
25300
25319
  default: h(() => [
25301
- x("div", EF, [
25320
+ x("div", DF, [
25302
25321
  f(g, {
25303
25322
  size: "sm",
25304
25323
  onClick: e.dismiss
@@ -25316,8 +25335,8 @@ function DF(e, t, n, r, s, i) {
25316
25335
  _: 1
25317
25336
  });
25318
25337
  }
25319
- const FF = /* @__PURE__ */ T(kF, [["render", DF], ["__scopeId", "data-v-60de0d31"]]);
25320
- const IF = {
25338
+ const IF = /* @__PURE__ */ T(xF, [["render", FF], ["__scopeId", "data-v-60de0d31"]]);
25339
+ const MF = {
25321
25340
  mixins: [hn],
25322
25341
  data() {
25323
25342
  return {
@@ -25344,8 +25363,8 @@ const IF = {
25344
25363
  created() {
25345
25364
  this.options.model && (this.model = this.options.model);
25346
25365
  }
25347
- }, MF = { class: "padder" }, $F = { key: 0 }, AF = { class: "padder" };
25348
- function LF(e, t, n, r, s, i) {
25366
+ }, $F = { class: "padder" }, AF = { key: 0 }, LF = { class: "padder" };
25367
+ function NF(e, t, n, r, s, i) {
25349
25368
  const l = y("ux-form"), o = y("flex-body"), u = y("ux-button"), m = y("flex-cell"), c = y("flex-spacer"), p = y("flex-row"), g = y("flex-footer"), v = y("flex-column");
25350
25369
  return a(), d("form", {
25351
25370
  class: "wrapper",
@@ -25355,9 +25374,9 @@ function LF(e, t, n, r, s, i) {
25355
25374
  default: h(() => [
25356
25375
  f(o, null, {
25357
25376
  default: h(() => [
25358
- x("div", MF, [
25377
+ x("div", $F, [
25359
25378
  x("h5", null, b(e.options.title), 1),
25360
- e.options.description ? (a(), d("p", $F, b(e.options.description), 1)) : _("", !0),
25379
+ e.options.description ? (a(), d("p", AF, b(e.options.description), 1)) : _("", !0),
25361
25380
  f(l, {
25362
25381
  ref: "form",
25363
25382
  "onForm:state": i.formStateUpdated,
@@ -25371,7 +25390,7 @@ function LF(e, t, n, r, s, i) {
25371
25390
  }),
25372
25391
  f(g, { class: "border-top" }, {
25373
25392
  default: h(() => [
25374
- x("div", AF, [
25393
+ x("div", LF, [
25375
25394
  f(p, null, {
25376
25395
  default: h(() => [
25377
25396
  f(m, { shrink: "" }, {
@@ -25417,10 +25436,10 @@ function LF(e, t, n, r, s, i) {
25417
25436
  })
25418
25437
  ], 32);
25419
25438
  }
25420
- const NF = /* @__PURE__ */ T(IF, [["render", LF], ["__scopeId", "data-v-99b9c871"]]);
25421
- const UF = {
25439
+ const UF = /* @__PURE__ */ T(MF, [["render", NF], ["__scopeId", "data-v-99b9c871"]]);
25440
+ const PF = {
25422
25441
  components: {
25423
- ContentBrowser: dF,
25442
+ ContentBrowser: cF,
25424
25443
  Search: ji
25425
25444
  },
25426
25445
  mixins: [hn],
@@ -25509,8 +25528,8 @@ const UF = {
25509
25528
  this.close(this.model);
25510
25529
  }
25511
25530
  }
25512
- }, PF = { class: "header" }, jF = { class: "font-muted font-sm" }, RF = { class: "rolodex" };
25513
- function BF(e, t, n, r, s, i) {
25531
+ }, jF = { class: "header" }, RF = { class: "font-muted font-sm" }, BF = { class: "rolodex" };
25532
+ function zF(e, t, n, r, s, i) {
25514
25533
  const l = y("flex-column"), o = y("flex-cell"), u = y("search"), m = y("ux-icon"), c = y("ux-button"), p = y("flex-row"), g = y("flex-header"), v = y("content-browser");
25515
25534
  return a(), k(l, { class: "wrapper" }, {
25516
25535
  default: h(() => [
@@ -25523,7 +25542,7 @@ function BF(e, t, n, r, s, i) {
25523
25542
  s.definition ? (a(), d(S, { key: 0 }, [
25524
25543
  f(g, null, {
25525
25544
  default: h(() => [
25526
- x("div", PF, [
25545
+ x("div", jF, [
25527
25546
  f(p, {
25528
25547
  vcenter: "",
25529
25548
  gap: ""
@@ -25537,7 +25556,7 @@ function BF(e, t, n, r, s, i) {
25537
25556
  }),
25538
25557
  i.maximum ? (a(), k(o, { key: 0 }, {
25539
25558
  default: h(() => [
25540
- x("span", jF, "(" + b(s.model.length) + " of " + b(i.maximum) + ")", 1)
25559
+ x("span", RF, "(" + b(s.model.length) + " of " + b(i.maximum) + ")", 1)
25541
25560
  ]),
25542
25561
  _: 1
25543
25562
  })) : _("", !0),
@@ -25611,7 +25630,7 @@ function BF(e, t, n, r, s, i) {
25611
25630
  abovecontent: h(() => [
25612
25631
  i.rolodexEnabled ? (a(), k(g, { key: 0 }, {
25613
25632
  default: h(() => [
25614
- x("div", RF, [
25633
+ x("div", BF, [
25615
25634
  f(c, {
25616
25635
  size: "sm",
25617
25636
  onClick: t[2] || (t[2] = (w) => i.toggleRolodex("")),
@@ -25647,8 +25666,8 @@ function BF(e, t, n, r, s, i) {
25647
25666
  _: 1
25648
25667
  });
25649
25668
  }
25650
- const zF = /* @__PURE__ */ T(UF, [["render", BF], ["__scopeId", "data-v-651362cd"]]);
25651
- const qF = {
25669
+ const qF = /* @__PURE__ */ T(PF, [["render", zF], ["__scopeId", "data-v-651362cd"]]);
25670
+ const HF = {
25652
25671
  components: {
25653
25672
  ScopeSelect: xb
25654
25673
  // Search,
@@ -25707,14 +25726,14 @@ const qF = {
25707
25726
  this.close(this.model);
25708
25727
  }
25709
25728
  }
25710
- }, HF = (e) => (Ze("data-v-e1cac3f3"), e = e(), Je(), e), WF = { class: "header" }, GF = /* @__PURE__ */ HF(() => /* @__PURE__ */ x("h3", null, "Select Scopes", -1)), YF = { class: "padder" };
25711
- function KF(e, t, n, r, s, i) {
25729
+ }, WF = (e) => (Ze("data-v-e1cac3f3"), e = e(), Je(), e), GF = { class: "header" }, YF = /* @__PURE__ */ WF(() => /* @__PURE__ */ x("h3", null, "Select Scopes", -1)), KF = { class: "padder" };
25730
+ function ZF(e, t, n, r, s, i) {
25712
25731
  const l = y("flex-cell"), o = y("ux-button"), u = y("flex-row"), m = y("flex-header"), c = y("scope-select"), p = y("flex-body"), g = y("flex-column");
25713
25732
  return a(), k(g, { class: "wrapper" }, {
25714
25733
  default: h(() => [
25715
25734
  f(m, null, {
25716
25735
  default: h(() => [
25717
- x("div", WF, [
25736
+ x("div", GF, [
25718
25737
  f(u, {
25719
25738
  vcenter: "",
25720
25739
  gap: ""
@@ -25722,7 +25741,7 @@ function KF(e, t, n, r, s, i) {
25722
25741
  default: h(() => [
25723
25742
  f(l, null, {
25724
25743
  default: h(() => [
25725
- GF
25744
+ YF
25726
25745
  ]),
25727
25746
  _: 1
25728
25747
  }),
@@ -25749,7 +25768,7 @@ function KF(e, t, n, r, s, i) {
25749
25768
  }),
25750
25769
  f(p, { class: "scroll-body" }, {
25751
25770
  default: h(() => [
25752
- x("div", YF, [
25771
+ x("div", KF, [
25753
25772
  f(c, {
25754
25773
  action: i.action,
25755
25774
  single: i.single,
@@ -25765,7 +25784,7 @@ function KF(e, t, n, r, s, i) {
25765
25784
  _: 1
25766
25785
  });
25767
25786
  }
25768
- const ZF = /* @__PURE__ */ T(qF, [["render", KF], ["__scopeId", "data-v-e1cac3f3"]]), ot = "uploading", oi = "complete", At = "ready", JF = "error", XF = "upload.cancel", QF = "upload.start", Dl = "upload.complete", eI = "upload.progress", tI = "upload.error", nI = {
25787
+ const JF = /* @__PURE__ */ T(HF, [["render", ZF], ["__scopeId", "data-v-e1cac3f3"]]), ot = "uploading", oi = "complete", At = "ready", XF = "error", QF = "upload.cancel", eI = "upload.start", Dl = "upload.complete", tI = "upload.progress", nI = "upload.error", iI = {
25769
25788
  props: {
25770
25789
  accept: {
25771
25790
  type: String
@@ -25894,7 +25913,7 @@ const ZF = /* @__PURE__ */ T(qF, [["render", KF], ["__scopeId", "data-v-e1cac3f3
25894
25913
  return new Ll().bootstrap(m), n.queue.unshift(m), m;
25895
25914
  },
25896
25915
  cancelFile(e) {
25897
- e.state == ot && (e.cancel && e.cancel("Cancelled"), e.bytesLoaded = 0, e.percent = 0, e.state = At, e.dispatch(XF));
25916
+ e.state == ot && (e.cancel && e.cancel("Cancelled"), e.bytesLoaded = 0, e.percent = 0, e.state = At, e.dispatch(QF));
25898
25917
  },
25899
25918
  removeFile(e) {
25900
25919
  var t = this.queue.indexOf(e);
@@ -25920,7 +25939,7 @@ const ZF = /* @__PURE__ */ T(qF, [["render", KF], ["__scopeId", "data-v-e1cac3f3
25920
25939
  case ot:
25921
25940
  return;
25922
25941
  }
25923
- e.state = ot, e.dispatch(QF);
25942
+ e.state = ot, e.dispatch(eI);
25924
25943
  {
25925
25944
  const c = e.size, p = e.name, g = e.mime, { data: v } = await t.$sdk.api.post("/file/check", {
25926
25945
  fileSize: c,
@@ -25942,7 +25961,7 @@ const ZF = /* @__PURE__ */ T(qF, [["render", KF], ["__scopeId", "data-v-e1cac3f3
25942
25961
  },
25943
25962
  onUploadProgress: (c) => {
25944
25963
  let p = Math.floor(c.loaded * 100 / c.total);
25945
- e.percent = p, e.bytesLoaded = c.loaded, e.bytesTotal = c.total, e.dispatch(eI, c);
25964
+ e.percent = p, e.bytesLoaded = c.loaded, e.bytesTotal = c.total, e.dispatch(tI, c);
25946
25965
  }
25947
25966
  };
25948
25967
  const o = t.$sdk.api.CancelToken.source();
@@ -25954,7 +25973,7 @@ const ZF = /* @__PURE__ */ T(qF, [["render", KF], ["__scopeId", "data-v-e1cac3f3
25954
25973
  e.result = c.data, e.state = oi, e.result.meta, t.$sdk.notify(`${e.result.title} was uploaded successfully`), e.dispatch(Dl, c.data), t.uploadNextFile();
25955
25974
  }), m.catch(function(c) {
25956
25975
  var p = t.$sdk.api.wasCancelled(c);
25957
- p ? e.state = At : (e.state = JF, e.dispatch(tI, c), t.uploadNextFile());
25976
+ p ? e.state = At : (e.state = XF, e.dispatch(nI, c), t.uploadNextFile());
25958
25977
  });
25959
25978
  },
25960
25979
  toggle() {
@@ -25995,9 +26014,9 @@ const ZF = /* @__PURE__ */ T(qF, [["render", KF], ["__scopeId", "data-v-e1cac3f3
25995
26014
  e.uploading ? e.pause() : (e.queue.length = 0, e.defaultFreeformTags.length = 0, e.defaultScopes.length = 0);
25996
26015
  }
25997
26016
  }
25998
- }, iI = { class: "uploader" }, rI = ["accept"], sI = ["accept"];
25999
- function lI(e, t, n, r, s, i) {
26000
- return a(), d("div", iI, [
26017
+ }, rI = { class: "uploader" }, sI = ["accept"], lI = ["accept"];
26018
+ function oI(e, t, n, r, s, i) {
26019
+ return a(), d("div", rI, [
26001
26020
  x("input", {
26002
26021
  style: { display: "none" },
26003
26022
  accept: n.accept,
@@ -26005,13 +26024,13 @@ function lI(e, t, n, r, s, i) {
26005
26024
  type: "file",
26006
26025
  multiple: "",
26007
26026
  onChange: t[0] || (t[0] = (l) => i.filesSelected(l.target.files))
26008
- }, null, 40, rI),
26027
+ }, null, 40, sI),
26009
26028
  x("input", {
26010
26029
  style: { display: "none" },
26011
26030
  accept: n.accept,
26012
26031
  ref: "immediateFile",
26013
26032
  type: "file"
26014
- }, null, 8, sI),
26033
+ }, null, 8, lI),
26015
26034
  G(e.$slots, "default", {
26016
26035
  queue: s.queue,
26017
26036
  items: e.items,
@@ -26023,11 +26042,11 @@ function lI(e, t, n, r, s, i) {
26023
26042
  })
26024
26043
  ]);
26025
26044
  }
26026
- const mI = /* @__PURE__ */ T(nI, [["render", lI]]);
26027
- function oI(e, t) {
26045
+ const hI = /* @__PURE__ */ T(iI, [["render", oI]]);
26046
+ function aI(e, t) {
26028
26047
  return t.reduce((n, r) => Math.abs(r - e) < Math.abs(n - e) ? r : n);
26029
26048
  }
26030
- function hI() {
26049
+ function pI() {
26031
26050
  var e = Ut({
26032
26051
  mounted: !1,
26033
26052
  screen: {
@@ -26100,7 +26119,7 @@ function hI() {
26100
26119
  point: 0
26101
26120
  }, l = 0;
26102
26121
  r > e.limits.xs && l++, r > e.limits.sm && l++, r > e.limits.md && l++, r > e.limits.lg && l++, l < 1 && (i.mobile = !0, i.xs = !0, i.xsOnly = !0, i.smAndDown = !0, i.mdAndDown = !0, i.lgAndDown = !0), l == 1 && (i.tablet = !0, i.sm = !0, i.smOnly = !0, i.smAndDown = !0, i.mdAndDown = !0, i.lgAndDown = !0, i.smAndUp = !0), l == 2 && (i.desktop = !0, i.md = !0, i.mdOnly = !0, i.mdAndDown = !0, i.lgAndDown = !0, i.smAndUp = !0, i.mdAndUp = !0), l == 3 && (i.desktop = !0, i.lg = !0, i.lgOnly = !0, i.lgAndDown = !0, i.smAndUp = !0, i.mdAndUp = !0, i.lgAndUp = !0), l > 3 && (i.desktop = !0, i.xl = !0, i.xlOnly = !0, i.smAndUp = !0, i.mdAndUp = !0, i.lgAndUp = !0), e.point = l, e.breakpoint = i;
26103
- const u = oI(r, [320, 768, 1200, 1800, 2e3]), m = u * 1, c = u * 1.5, p = u * 2;
26122
+ const u = aI(r, [320, 768, 1200, 1800, 2e3]), m = u * 1, c = u * 1.5, p = u * 2;
26104
26123
  e.image = {
26105
26124
  auto: {
26106
26125
  low: m,
@@ -26114,7 +26133,7 @@ function hI() {
26114
26133
  n.removeEventListener("resize", e.resize), n = !1, t = !1, e.mounted = !1;
26115
26134
  }, e;
26116
26135
  }
26117
- const aI = `qik vue ui ${iu}`, Fl = {
26136
+ const uI = `qik vue ui ${iu}`, Fl = {
26118
26137
  FlexColumn: _c,
26119
26138
  FlexBody: kc,
26120
26139
  FlexHeader: Vc,
@@ -26134,7 +26153,7 @@ const aI = `qik vue ui ${iu}`, Fl = {
26134
26153
  UxSubmissionForm: Cl,
26135
26154
  UxFormField: ns,
26136
26155
  UxSubmissionForm: Cl,
26137
- UxRender: cD,
26156
+ UxRender: fD,
26138
26157
  UxRenderField: Wa,
26139
26158
  UxIcon: Fg,
26140
26159
  UxMenu: $g,
@@ -26151,23 +26170,23 @@ const aI = `qik vue ui ${iu}`, Fl = {
26151
26170
  Avatar: fg,
26152
26171
  Spinner: Rn,
26153
26172
  ProgressBar: Xg,
26154
- UxModal: hF,
26173
+ UxModal: pF,
26155
26174
  Compile: Ha
26156
- }, pI = {
26175
+ }, yI = {
26157
26176
  install(e, t) {
26158
26177
  var n;
26159
- console.log(aI), t.date = Ie, t.global = t.global || Ut({}), (n = t.global) != null && n.cacheKeys || (t.global.cacheKeys = t.global.cacheKeys || Ut({})), t.modals = Ut([]), t.modal = function(r) {
26178
+ console.log(uI), t.date = Ie, t.global = t.global || Ut({}), (n = t.global) != null && n.cacheKeys || (t.global.cacheKeys = t.global.cacheKeys || Ut({})), t.modals = Ut([]), t.modal = function(r) {
26160
26179
  return new Promise(function(s, i) {
26161
26180
  r.id = String(t.modals.length), r.resolve = s, r.reject = i, t.modals.splice(r.id, 0, r);
26162
26181
  });
26163
26182
  }, t.prompt = function(r, s) {
26164
26183
  return s = s || {}, s.model = s.model || {}, s.fields = r, t.modal({
26165
- component: NF,
26184
+ component: UF,
26166
26185
  options: s
26167
26186
  });
26168
26187
  }, t.browse = function(r, s) {
26169
26188
  return s = s || {}, s.type = r, s.model = s.model || [], t.modal({
26170
- component: zF,
26189
+ component: qF,
26171
26190
  options: s
26172
26191
  });
26173
26192
  }, t.selectScopes = async function(r) {
@@ -26181,17 +26200,17 @@ const aI = `qik vue ui ${iu}`, Fl = {
26181
26200
  i
26182
26201
  );
26183
26202
  return u.length === 1 ? Promise.resolve(u) : t.modal({
26184
- component: ZF,
26203
+ component: JF,
26185
26204
  options: r
26186
26205
  });
26187
26206
  }, t.confirm = function(r, s) {
26188
26207
  return s = s || {}, s.title = r, t.modal({
26189
- component: bF,
26208
+ component: kF,
26190
26209
  options: s
26191
26210
  });
26192
26211
  }, t.options = function(r, s, i, l) {
26193
26212
  return l = l || {}, t.modal({
26194
- component: FF,
26213
+ component: IF,
26195
26214
  options: {
26196
26215
  title: s,
26197
26216
  description: i,
@@ -26213,10 +26232,10 @@ const aI = `qik vue ui ${iu}`, Fl = {
26213
26232
  };
26214
26233
  export {
26215
26234
  fg as Avatar,
26216
- jS as CodeEditor,
26217
- dF as ContentBrowser,
26235
+ RS as CodeEditor,
26236
+ cF as ContentBrowser,
26218
26237
  mv as DateRange,
26219
- hI as Device,
26238
+ pI as Device,
26220
26239
  ww as FileDrop,
26221
26240
  kc as FlexBody,
26222
26241
  Ic as FlexCell,
@@ -26229,18 +26248,18 @@ export {
26229
26248
  Xo as Item,
26230
26249
  hn as ModalMixin,
26231
26250
  yt as NativeSelect,
26232
- fI as Pager,
26251
+ mI as Pager,
26233
26252
  zc as Panel,
26234
26253
  Gc as PanelBody,
26235
26254
  tf as PanelFooter,
26236
26255
  Jc as PanelHeader,
26237
26256
  Xg as ProgressBar,
26238
- pI as QikUI,
26257
+ yI as QikUI,
26239
26258
  w_ as RememberScrollMixin,
26240
26259
  xb as ScopeSelect,
26241
26260
  Ob as ScopeSelectButton,
26242
26261
  ji as Search,
26243
- fD as Selection,
26262
+ mD as Selection,
26244
26263
  Rn as Spinner,
26245
26264
  dc as StripeElement,
26246
26265
  hc as StripeElements,
@@ -26254,12 +26273,12 @@ export {
26254
26273
  Cg as UXLink,
26255
26274
  sv as UXList,
26256
26275
  av as UXListItem,
26257
- v2 as UXLocationSelect,
26276
+ b2 as UXLocationSelect,
26258
26277
  vv as UXMap,
26259
26278
  $g as UXMenu,
26260
26279
  Ng as UXMenuList,
26261
26280
  tv as UXPill,
26262
- cD as UXRender,
26281
+ fD as UXRender,
26263
26282
  Wa as UXRenderField,
26264
26283
  Cl as UXSubmissionForm,
26265
26284
  Ko as UXSwitch,
@@ -26267,12 +26286,12 @@ export {
26267
26286
  F_ as UXTable,
26268
26287
  Qf as UXTabset,
26269
26288
  Yg as UXVideo,
26270
- mI as UploadService,
26271
- bF as UxConfirmModal,
26272
- zF as UxContentModal,
26273
- hF as UxModal,
26274
- FF as UxOptionsModal,
26275
- NF as UxPromptModal,
26276
- ZF as UxScopeModal
26289
+ hI as UploadService,
26290
+ kF as UxConfirmModal,
26291
+ qF as UxContentModal,
26292
+ pF as UxModal,
26293
+ IF as UxOptionsModal,
26294
+ UF as UxPromptModal,
26295
+ JF as UxScopeModal
26277
26296
  };
26278
26297
  //# sourceMappingURL=lib.es.js.map