@qikdev/vue-ui 0.2.241 → 0.2.243

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.243";
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;
@@ -7328,7 +7334,18 @@ const ee = {
7328
7334
  }
7329
7335
  if (e.asyncOptionsAreLoading = !0, e.asyncOptionsURL) {
7330
7336
  const { data: t } = await e.$sdk.api.get(e.asyncOptionsURL);
7331
- e.dynamicOptions = t;
7337
+ e.dynamicOptions = (t || []).map(function(n) {
7338
+ const r = String(
7339
+ (n == null ? void 0 : n.title) || (n == null ? void 0 : n.name) || (n == null ? void 0 : n.label) || n
7340
+ ), s = String(
7341
+ (n == null ? void 0 : n.value) || (n == null ? void 0 : n.title) || (n == null ? void 0 : n.name) || (n == null ? void 0 : n.label) || n
7342
+ ), i = e.$sdk.utils.id((n == null ? void 0 : n._id) || n);
7343
+ return {
7344
+ title: r,
7345
+ value: s,
7346
+ _id: i
7347
+ };
7348
+ });
7332
7349
  } else if (e.user) {
7333
7350
  const t = e.field.referenceType, n = {
7334
7351
  filter: e.field.lockFilter,
@@ -7340,7 +7357,10 @@ const ee = {
7340
7357
  page: {
7341
7358
  size: 1e3
7342
7359
  }
7343
- }, { items: r } = await e.$sdk.content.list(t, n);
7360
+ }, { items: r } = await e.$sdk.content.list(
7361
+ t,
7362
+ n
7363
+ );
7344
7364
  e.dynamicOptions = r.map(function({ _id: s, title: i }) {
7345
7365
  return {
7346
7366
  value: s,
@@ -7919,7 +7939,7 @@ function sg(e, t, n, r, s, i) {
7919
7939
  _: 1
7920
7940
  });
7921
7941
  }
7922
- const fI = /* @__PURE__ */ T(rg, [["render", sg], ["__scopeId", "data-v-f46dd772"]]);
7942
+ const mI = /* @__PURE__ */ T(rg, [["render", sg], ["__scopeId", "data-v-f46dd772"]]);
7923
7943
  const lg = {
7924
7944
  props: {
7925
7945
  icon: {
@@ -17528,8 +17548,11 @@ const Gw = {
17528
17548
  }, Zw = {
17529
17549
  key: 1,
17530
17550
  class: "ux-field-description"
17531
- }, Jw = { class: "buttons" };
17532
- function Xw(e, t, n, r, s, i) {
17551
+ }, Jw = { key: 2 }, Xw = {
17552
+ key: 3,
17553
+ class: "buttons"
17554
+ };
17555
+ function Qw(e, t, n, r, s, i) {
17533
17556
  const l = y("ux-icon"), o = y("ux-button"), u = y("option-slot");
17534
17557
  return a(), d(S, null, [
17535
17558
  e.showLabel ? (a(), d("label", Yw, [
@@ -17537,7 +17560,14 @@ function Xw(e, t, n, r, s, i) {
17537
17560
  e.required ? (a(), d("span", Kw, "*")) : _("", !0)
17538
17561
  ])) : _("", !0),
17539
17562
  e.showDescription ? (a(), d("div", Zw, b(e.description), 1)) : _("", !0),
17540
- x("div", Jw, [
17563
+ e.loadingAsyncOptions ? (a(), d("div", Jw, [
17564
+ f(l, {
17565
+ icon: "fa-spinner",
17566
+ spin: "",
17567
+ left: ""
17568
+ }),
17569
+ V(" Loading Options ")
17570
+ ])) : (a(), d("div", Xw, [
17541
17571
  (a(!0), d(S, null, M(e.selectableOptions, (m) => (a(), k(u, { option: m }, {
17542
17572
  default: h(({ plainValue: c }) => [
17543
17573
  f(o, {
@@ -17557,11 +17587,11 @@ function Xw(e, t, n, r, s, i) {
17557
17587
  ]),
17558
17588
  _: 2
17559
17589
  }, 1032, ["option"]))), 256))
17560
- ])
17590
+ ]))
17561
17591
  ], 64);
17562
17592
  }
17563
- const Qw = /* @__PURE__ */ T(Gw, [["render", Xw], ["__scopeId", "data-v-7ec6958f"]]);
17564
- const eS = {
17593
+ const eS = /* @__PURE__ */ T(Gw, [["render", Qw], ["__scopeId", "data-v-4f57f0c4"]]);
17594
+ const tS = {
17565
17595
  props: {
17566
17596
  modelValue: {
17567
17597
  type: Object
@@ -17574,25 +17604,25 @@ const eS = {
17574
17604
  return {};
17575
17605
  }
17576
17606
  }
17577
- }, tS = {
17607
+ }, nS = {
17578
17608
  key: 0,
17579
17609
  class: "ux-field-title"
17580
- }, nS = {
17610
+ }, iS = {
17581
17611
  key: 0,
17582
17612
  class: "ux-required-marker"
17583
- }, iS = {
17613
+ }, rS = {
17584
17614
  key: 1,
17585
17615
  class: "ux-field-description"
17586
- }, rS = { key: 2 }, sS = { key: 3 };
17587
- function lS(e, t, n, r, s, i) {
17616
+ }, sS = { key: 2 }, lS = { key: 3 };
17617
+ function oS(e, t, n, r, s, i) {
17588
17618
  const l = y("flex-cell"), o = y("ux-icon"), u = y("ux-button"), m = y("flex-row");
17589
17619
  return a(), d(S, null, [
17590
- e.showLabel ? (a(), d("label", tS, [
17620
+ e.showLabel ? (a(), d("label", nS, [
17591
17621
  V(b(e.label) + " ", 1),
17592
- e.required ? (a(), d("span", nS, "*")) : _("", !0)
17622
+ e.required ? (a(), d("span", iS, "*")) : _("", !0)
17593
17623
  ])) : _("", !0),
17594
- e.showDescription ? (a(), d("div", iS, b(e.description), 1)) : _("", !0),
17595
- e.multiValue ? (a(), d("div", rS, [
17624
+ e.showDescription ? (a(), d("div", rS, b(e.description), 1)) : _("", !0),
17625
+ e.multiValue ? (a(), d("div", sS, [
17596
17626
  (a(!0), d(S, null, M(e.model, (c, p) => (a(), k(m, {
17597
17627
  class: "ux-text-row",
17598
17628
  key: p
@@ -17639,11 +17669,11 @@ function lS(e, t, n, r, s, i) {
17639
17669
  ]),
17640
17670
  _: 1
17641
17671
  })) : _("", !0)
17642
- ])) : (a(), d("pre", sS, b(e.model), 1))
17672
+ ])) : (a(), d("pre", lS, b(e.model), 1))
17643
17673
  ], 64);
17644
17674
  }
17645
- const oS = /* @__PURE__ */ T(eS, [["render", lS], ["__scopeId", "data-v-aae5394a"]]);
17646
- const aS = {
17675
+ const aS = /* @__PURE__ */ T(tS, [["render", oS], ["__scopeId", "data-v-aae5394a"]]);
17676
+ const uS = {
17647
17677
  components: {
17648
17678
  UxCheckbox: Kr
17649
17679
  },
@@ -17778,27 +17808,27 @@ const aS = {
17778
17808
  };
17779
17809
  }
17780
17810
  }
17781
- }, uS = { key: 0 }, dS = { key: 1 }, cS = {
17811
+ }, dS = { key: 0 }, cS = { key: 1 }, fS = {
17782
17812
  key: 0,
17783
17813
  class: "ux-field-title"
17784
- }, fS = {
17814
+ }, mS = {
17785
17815
  key: 0,
17786
17816
  class: "ux-required-marker"
17787
- }, mS = {
17817
+ }, hS = {
17788
17818
  key: 1,
17789
17819
  class: "ux-field-description"
17790
- }, hS = { key: 2 };
17791
- function pS(e, t, n, r, s, i) {
17820
+ }, pS = { key: 2 };
17821
+ function yS(e, t, n, r, s, i) {
17792
17822
  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, [
17823
+ return s.loadingGlossary ? (a(), d("div", dS, [
17794
17824
  f(l)
17795
- ])) : i.definition ? (a(), d("div", dS, [
17796
- e.showLabel ? (a(), d("label", cS, [
17825
+ ])) : i.definition ? (a(), d("div", cS, [
17826
+ e.showLabel ? (a(), d("label", fS, [
17797
17827
  V(b(e.label) + " ", 1),
17798
- e.required ? (a(), d("span", fS, "*")) : _("", !0)
17828
+ e.required ? (a(), d("span", mS, "*")) : _("", !0)
17799
17829
  ])) : _("", !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", {
17830
+ e.showDescription ? (a(), d("div", hS, b(e.description), 1)) : _("", !0),
17831
+ 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
17832
  class: A(["field-row", { active: e.model.enabled[p.path] }])
17803
17833
  }, [
17804
17834
  f(c, { gap: "" }, {
@@ -17854,8 +17884,8 @@ function pS(e, t, n, r, s, i) {
17854
17884
  ], 2))), 256))
17855
17885
  ])) : _("", !0);
17856
17886
  }
17857
- const yS = /* @__PURE__ */ T(aS, [["render", pS], ["__scopeId", "data-v-46962828"]]);
17858
- const _S = {
17887
+ const _S = /* @__PURE__ */ T(uS, [["render", yS], ["__scopeId", "data-v-46962828"]]);
17888
+ const gS = {
17859
17889
  props: {
17860
17890
  modelValue: {
17861
17891
  type: [String, Array]
@@ -17920,25 +17950,25 @@ const _S = {
17920
17950
  };
17921
17951
  }
17922
17952
  }
17923
- }, Pi = (e) => (Ze("data-v-c8feb6c2"), e = e(), Je(), e), gS = {
17953
+ }, Pi = (e) => (Ze("data-v-c8feb6c2"), e = e(), Je(), e), vS = {
17924
17954
  key: 0,
17925
17955
  class: "ux-field-title"
17926
- }, vS = {
17956
+ }, bS = {
17927
17957
  key: 0,
17928
17958
  class: "ux-required-marker"
17929
- }, bS = {
17959
+ }, kS = {
17930
17960
  key: 1,
17931
17961
  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) {
17962
+ }, 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));
17963
+ function AS(e, t, n, r, s, i) {
17934
17964
  const l = y("flex-cell"), o = y("ux-icon"), u = y("ux-button"), m = y("flex-row");
17935
17965
  return a(), d(S, null, [
17936
- e.showLabel ? (a(), d("label", gS, [
17966
+ e.showLabel ? (a(), d("label", vS, [
17937
17967
  V(b(e.label) + " ", 1),
17938
- e.required ? (a(), d("span", vS, "*")) : _("", !0)
17968
+ e.required ? (a(), d("span", bS, "*")) : _("", !0)
17939
17969
  ])) : _("", !0),
17940
- e.showDescription ? (a(), d("div", bS, b(e.description), 1)) : _("", !0),
17941
- e.multiValue ? (a(), d("div", kS, [
17970
+ e.showDescription ? (a(), d("div", kS, b(e.description), 1)) : _("", !0),
17971
+ e.multiValue ? (a(), d("div", xS, [
17942
17972
  (a(!0), d(S, null, M(e.model, (c, p) => (a(), k(m, {
17943
17973
  class: "ux-text-row",
17944
17974
  key: p
@@ -17946,8 +17976,8 @@ function $S(e, t, n, r, s, i) {
17946
17976
  default: h(() => [
17947
17977
  f(l, null, {
17948
17978
  default: h(() => [
17949
- x("div", xS, [
17950
- wS,
17979
+ x("div", wS, [
17980
+ SS,
17951
17981
  i.lazy ? W((a(), d("input", {
17952
17982
  key: 0,
17953
17983
  class: "ux-field-focus ux-text-input-multiple",
@@ -17959,7 +17989,7 @@ function $S(e, t, n, r, s, i) {
17959
17989
  onBlur: (g) => i.titleBlurred(p),
17960
17990
  "on:update:modelValue": (g) => i.entryTitleChanged(p),
17961
17991
  "onUpdate:modelValue": (g) => e.model[p].title = g
17962
- }, null, 40, SS)), [
17992
+ }, null, 40, VS)), [
17963
17993
  [
17964
17994
  oe,
17965
17995
  e.model[p].title,
@@ -17978,7 +18008,7 @@ function $S(e, t, n, r, s, i) {
17978
18008
  onBlur: (g) => i.titleBlurred(p),
17979
18009
  "on:update:modelValue": (g) => i.entryTitleChanged(p),
17980
18010
  "onUpdate:modelValue": (g) => e.model[p].title = g
17981
- }, null, 40, VS)), [
18011
+ }, null, 40, OS)), [
17982
18012
  [oe, e.model[p].title]
17983
18013
  ])
17984
18014
  ])
@@ -17987,8 +18017,8 @@ function $S(e, t, n, r, s, i) {
17987
18017
  }, 1024),
17988
18018
  f(l, null, {
17989
18019
  default: h(() => [
17990
- x("div", OS, [
17991
- TS,
18020
+ x("div", TS, [
18021
+ CS,
17992
18022
  i.lazy ? W((a(), d("input", {
17993
18023
  key: 0,
17994
18024
  class: "ux-field-focus ux-text-input-multiple",
@@ -17998,7 +18028,7 @@ function $S(e, t, n, r, s, i) {
17998
18028
  ref: "valueInput",
17999
18029
  onKeydown: t[4] || (t[4] = ye(q((g) => e.add(), ["stop", "prevent"]), ["enter"])),
18000
18030
  "onUpdate:modelValue": (g) => e.model[p].value = g
18001
- }, null, 40, CS)), [
18031
+ }, null, 40, ES)), [
18002
18032
  [
18003
18033
  oe,
18004
18034
  e.model[p].value,
@@ -18015,7 +18045,7 @@ function $S(e, t, n, r, s, i) {
18015
18045
  ref: "valueInput",
18016
18046
  onKeydown: t[5] || (t[5] = ye(q((g) => e.add(), ["stop", "prevent"]), ["enter"])),
18017
18047
  "onUpdate:modelValue": (g) => e.model[p].value = g
18018
- }, null, 40, ES)), [
18048
+ }, null, 40, DS)), [
18019
18049
  [oe, e.model[p].value]
18020
18050
  ])
18021
18051
  ])
@@ -18064,8 +18094,8 @@ function $S(e, t, n, r, s, i) {
18064
18094
  default: h(() => [
18065
18095
  f(l, null, {
18066
18096
  default: h(() => [
18067
- x("div", DS, [
18068
- FS,
18097
+ x("div", FS, [
18098
+ IS,
18069
18099
  i.lazy ? W((a(), d("input", {
18070
18100
  key: 0,
18071
18101
  class: "ux-field-focus ux-text-input-multiple",
@@ -18103,8 +18133,8 @@ function $S(e, t, n, r, s, i) {
18103
18133
  }),
18104
18134
  f(l, null, {
18105
18135
  default: h(() => [
18106
- x("div", IS, [
18107
- MS,
18136
+ x("div", MS, [
18137
+ $S,
18108
18138
  i.lazy ? W((a(), d("input", {
18109
18139
  key: 0,
18110
18140
  class: "ux-field-focus ux-text-input-multiple",
@@ -18141,8 +18171,8 @@ function $S(e, t, n, r, s, i) {
18141
18171
  }))
18142
18172
  ], 64);
18143
18173
  }
18144
- const AS = /* @__PURE__ */ T(_S, [["render", $S], ["__scopeId", "data-v-c8feb6c2"]]);
18145
- const LS = {
18174
+ const LS = /* @__PURE__ */ T(gS, [["render", AS], ["__scopeId", "data-v-c8feb6c2"]]);
18175
+ const NS = {
18146
18176
  components: {
18147
18177
  // VAceEditor,
18148
18178
  },
@@ -18238,21 +18268,21 @@ const LS = {
18238
18268
  selectionContext: {}
18239
18269
  };
18240
18270
  }
18241
- }, NS = {
18271
+ }, US = {
18242
18272
  key: 0,
18243
18273
  class: "tokens"
18244
- }, US = {
18274
+ }, PS = {
18245
18275
  key: 0,
18246
18276
  class: "tokens-body"
18247
18277
  };
18248
- function PS(e, t, n, r, s, i) {
18278
+ function jS(e, t, n, r, s, i) {
18249
18279
  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
18280
  return s.mounted ? (a(), k(p, {
18251
18281
  key: 0,
18252
18282
  class: "ux-code-editor"
18253
18283
  }, {
18254
18284
  default: h(() => [
18255
- n.tokens.length ? (a(), d("div", NS, [
18285
+ n.tokens.length ? (a(), d("div", US, [
18256
18286
  x("div", {
18257
18287
  class: "tokens-header",
18258
18288
  onClick: t[0] || (t[0] = (g) => s.showTokens = !s.showTokens)
@@ -18280,7 +18310,7 @@ function PS(e, t, n, r, s, i) {
18280
18310
  _: 1
18281
18311
  })
18282
18312
  ]),
18283
- s.showTokens ? (a(), d("div", US, [
18313
+ s.showTokens ? (a(), d("div", PS, [
18284
18314
  (a(!0), d(S, null, M(n.tokens, (g) => (a(), k(m, {
18285
18315
  size: "xs",
18286
18316
  onClick: q((v) => i.injectToken(g.value), ["stop", "prevent"])
@@ -18310,10 +18340,10 @@ function PS(e, t, n, r, s, i) {
18310
18340
  _: 1
18311
18341
  })) : _("", !0);
18312
18342
  }
18313
- const jS = /* @__PURE__ */ T(LS, [["render", PS], ["__scopeId", "data-v-d61fa45a"]]);
18314
- const RS = {
18343
+ const RS = /* @__PURE__ */ T(NS, [["render", jS], ["__scopeId", "data-v-d61fa45a"]]);
18344
+ const BS = {
18315
18345
  components: {
18316
- CodeEditor: jS
18346
+ CodeEditor: RS
18317
18347
  },
18318
18348
  props: {
18319
18349
  modelValue: {
@@ -18333,30 +18363,30 @@ const RS = {
18333
18363
  return "";
18334
18364
  }
18335
18365
  }
18336
- }, BS = {
18366
+ }, zS = {
18337
18367
  key: 0,
18338
18368
  class: "ux-field-title"
18339
- }, zS = {
18369
+ }, qS = {
18340
18370
  key: 0,
18341
18371
  class: "ux-required-marker"
18342
- }, qS = {
18372
+ }, HS = {
18343
18373
  key: 1,
18344
18374
  class: "ux-field-description"
18345
- }, HS = { key: 2 }, WS = { class: "code-editor-field-wrap" }, GS = {
18375
+ }, WS = { key: 2 }, GS = { class: "code-editor-field-wrap" }, YS = {
18346
18376
  key: 3,
18347
18377
  class: "code-editor-field-wrap"
18348
18378
  };
18349
- function YS(e, t, n, r, s, i) {
18379
+ function KS(e, t, n, r, s, i) {
18350
18380
  const l = y("code-editor"), o = y("flex-cell"), u = y("ux-icon"), m = y("ux-button"), c = y("flex-row");
18351
18381
  return a(), d("div", {
18352
18382
  onKeydown: t[2] || (t[2] = ye(q((p) => i.enterPress(p), ["stop"]), ["enter"]))
18353
18383
  }, [
18354
- e.showLabel ? (a(), d("label", BS, [
18384
+ e.showLabel ? (a(), d("label", zS, [
18355
18385
  V(b(e.label) + " ", 1),
18356
- e.required ? (a(), d("span", zS, "*")) : _("", !0)
18386
+ e.required ? (a(), d("span", qS, "*")) : _("", !0)
18357
18387
  ])) : _("", !0),
18358
- e.showDescription ? (a(), d("div", qS, b(e.description), 1)) : _("", !0),
18359
- e.multiValue ? (a(), d("div", HS, [
18388
+ e.showDescription ? (a(), d("div", HS, b(e.description), 1)) : _("", !0),
18389
+ e.multiValue ? (a(), d("div", WS, [
18360
18390
  (a(!0), d(S, null, M(e.model, (p, g) => (a(), k(c, {
18361
18391
  class: "ux-text-row",
18362
18392
  key: g
@@ -18364,7 +18394,7 @@ function YS(e, t, n, r, s, i) {
18364
18394
  default: h(() => [
18365
18395
  f(o, null, {
18366
18396
  default: h(() => [
18367
- x("div", WS, [
18397
+ x("div", GS, [
18368
18398
  f(l, {
18369
18399
  lang: i.syntax,
18370
18400
  onFocus: e.touch,
@@ -18409,7 +18439,7 @@ function YS(e, t, n, r, s, i) {
18409
18439
  ]),
18410
18440
  _: 1
18411
18441
  })) : _("", !0)
18412
- ])) : (a(), d("div", GS, [
18442
+ ])) : (a(), d("div", YS, [
18413
18443
  f(l, {
18414
18444
  lang: i.syntax,
18415
18445
  class: "ux-code-editor ux-field-focus ux-text-area-single",
@@ -18420,8 +18450,8 @@ function YS(e, t, n, r, s, i) {
18420
18450
  ]))
18421
18451
  ], 32);
18422
18452
  }
18423
- const KS = /* @__PURE__ */ T(RS, [["render", YS], ["__scopeId", "data-v-50e774dd"]]);
18424
- const ZS = {
18453
+ const ZS = /* @__PURE__ */ T(BS, [["render", KS], ["__scopeId", "data-v-50e774dd"]]);
18454
+ const JS = {
18425
18455
  props: {
18426
18456
  autofocus: {
18427
18457
  type: Boolean
@@ -18489,15 +18519,15 @@ const ZS = {
18489
18519
  }
18490
18520
  }
18491
18521
  }
18492
- }, JS = { class: "search" }, XS = ["placeholder"];
18493
- function QS(e, t, n, r, s, i) {
18522
+ }, XS = { class: "search" }, QS = ["placeholder"];
18523
+ function e2(e, t, n, r, s, i) {
18494
18524
  const l = y("ux-icon");
18495
- return a(), d("div", JS, [
18525
+ return a(), d("div", XS, [
18496
18526
  W(x("input", {
18497
18527
  ref: "input",
18498
18528
  "onUpdate:modelValue": t[0] || (t[0] = (o) => i.model = o),
18499
18529
  placeholder: n.placeholder
18500
- }, null, 8, XS), [
18530
+ }, null, 8, QS), [
18501
18531
  [oe, i.model]
18502
18532
  ]),
18503
18533
  x("div", {
@@ -18508,8 +18538,8 @@ function QS(e, t, n, r, s, i) {
18508
18538
  ])
18509
18539
  ]);
18510
18540
  }
18511
- const ji = /* @__PURE__ */ T(ZS, [["render", QS], ["__scopeId", "data-v-b4b9db80"]]);
18512
- const e2 = {
18541
+ const ji = /* @__PURE__ */ T(JS, [["render", e2], ["__scopeId", "data-v-b4b9db80"]]);
18542
+ const t2 = {
18513
18543
  emits: ["deselect"],
18514
18544
  components: {
18515
18545
  Search: ji,
@@ -18646,21 +18676,21 @@ const e2 = {
18646
18676
  }), e.processing = !1;
18647
18677
  }
18648
18678
  }
18649
- }, t2 = { class: "location-search-outer" }, n2 = {
18679
+ }, n2 = { class: "location-search-outer" }, i2 = {
18650
18680
  key: 0,
18651
18681
  class: "selectedLocation"
18652
- }, i2 = { class: "content-item" }, r2 = { class: "image-wrapper" }, s2 = { class: "content-item-title" }, l2 = {
18682
+ }, r2 = { class: "content-item" }, s2 = { class: "image-wrapper" }, l2 = { class: "content-item-title" }, o2 = {
18653
18683
  key: 0,
18654
18684
  class: "content-item-subtitle"
18655
- }, o2 = {
18685
+ }, a2 = {
18656
18686
  key: 0,
18657
18687
  class: "results"
18658
- }, a2 = ["onClick"], u2 = { class: "result-item-title" }, d2 = { class: "result-item-subtitle" };
18659
- function c2(e, t, n, r, s, i) {
18688
+ }, u2 = ["onClick"], d2 = { class: "result-item-title" }, c2 = { class: "result-item-subtitle" };
18689
+ function f2(e, t, n, r, s, i) {
18660
18690
  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, [
18691
+ return a(), d("div", n2, [
18692
+ i.hasLocation ? (a(), d("div", i2, [
18693
+ x("div", r2, [
18664
18694
  f(m, {
18665
18695
  gap: "",
18666
18696
  center: ""
@@ -18668,7 +18698,7 @@ function c2(e, t, n, r, s, i) {
18668
18698
  default: h(() => [
18669
18699
  f(o, { shrink: "" }, {
18670
18700
  default: h(() => [
18671
- x("div", r2, [
18701
+ x("div", s2, [
18672
18702
  f(l, { icon: "fa-map-marker" })
18673
18703
  ])
18674
18704
  ]),
@@ -18676,8 +18706,8 @@ function c2(e, t, n, r, s, i) {
18676
18706
  }),
18677
18707
  f(o, null, {
18678
18708
  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)
18709
+ x("div", l2, b(s.model.title || s.model.addressLine1), 1),
18710
+ i.summary ? (a(), d("div", o2, b(i.summary(s.model)), 1)) : _("", !0)
18681
18711
  ]),
18682
18712
  _: 1
18683
18713
  }),
@@ -18736,22 +18766,22 @@ function c2(e, t, n, r, s, i) {
18736
18766
  disabled: !i.teleportTarget,
18737
18767
  to: i.teleportTarget
18738
18768
  }, [
18739
- s.results.length ? (a(), d("div", o2, [
18769
+ s.results.length ? (a(), d("div", a2, [
18740
18770
  (a(!0), d(S, null, M(s.results, (p, g) => (a(), d("div", {
18741
18771
  class: A(["result-item", { selected: g === s.selectedIndex }]),
18742
18772
  key: p.title,
18743
18773
  onClick: (v) => i.select(p)
18744
18774
  }, [
18745
- x("div", u2, b(p.title), 1),
18746
- x("div", d2, b(p.summary), 1)
18747
- ], 10, a2))), 128))
18775
+ x("div", d2, b(p.title), 1),
18776
+ x("div", c2, b(p.summary), 1)
18777
+ ], 10, u2))), 128))
18748
18778
  ])) : _("", !0)
18749
18779
  ], 8, ["disabled", "to"]))
18750
18780
  ], 64))
18751
18781
  ]);
18752
18782
  }
18753
- const f2 = /* @__PURE__ */ T(e2, [["render", c2], ["__scopeId", "data-v-a40a42bc"]]);
18754
- const m2 = {
18783
+ const m2 = /* @__PURE__ */ T(t2, [["render", f2], ["__scopeId", "data-v-a40a42bc"]]);
18784
+ const h2 = {
18755
18785
  components: {
18756
18786
  TextField: es,
18757
18787
  Spinner: Rn,
@@ -19064,20 +19094,20 @@ const m2 = {
19064
19094
  }), e.redrawCircle();
19065
19095
  }
19066
19096
  }
19067
- }, h2 = { class: "font-muted font-sm" }, p2 = { class: "map-outer" }, y2 = {
19097
+ }, p2 = { class: "font-muted font-sm" }, y2 = { class: "map-outer" }, _2 = {
19068
19098
  key: 0,
19069
19099
  class: "indicator"
19070
- }, _2 = {
19100
+ }, g2 = {
19071
19101
  ref: "mapContainer",
19072
19102
  style: { width: "100%", height: "400px" }
19073
19103
  };
19074
- function g2(e, t, n, r, s, i) {
19104
+ function v2(e, t, n, r, s, i) {
19075
19105
  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
19106
  return a(), k(w, null, {
19077
19107
  default: h(() => [
19078
19108
  f(m, null, {
19079
19109
  default: h(() => [
19080
- x("div", h2, [
19110
+ x("div", p2, [
19081
19111
  f(u, {
19082
19112
  gap: "",
19083
19113
  center: ""
@@ -19110,11 +19140,11 @@ function g2(e, t, n, r, s, i) {
19110
19140
  ]),
19111
19141
  _: 1
19112
19142
  }),
19113
- x("div", p2, [
19114
- i.initializing ? (a(), d("div", y2, [
19143
+ x("div", y2, [
19144
+ i.initializing ? (a(), d("div", _2, [
19115
19145
  f(c)
19116
19146
  ])) : _("", !0),
19117
- x("div", _2, null, 512)
19147
+ x("div", g2, null, 512)
19118
19148
  ]),
19119
19149
  i.showFields ? (a(), k(v, { key: 0 }, {
19120
19150
  default: h(() => [
@@ -19222,7 +19252,7 @@ function g2(e, t, n, r, s, i) {
19222
19252
  _: 1
19223
19253
  });
19224
19254
  }
19225
- const v2 = /* @__PURE__ */ T(m2, [["render", g2]]);
19255
+ const b2 = /* @__PURE__ */ T(h2, [["render", v2]]);
19226
19256
  function pl() {
19227
19257
  return {
19228
19258
  title: void 0,
@@ -19238,7 +19268,7 @@ function pl() {
19238
19268
  search: void 0
19239
19269
  };
19240
19270
  }
19241
- const b2 = {
19271
+ const k2 = {
19242
19272
  data() {
19243
19273
  return {
19244
19274
  singleAdvancedOptions: !1,
@@ -19246,8 +19276,8 @@ const b2 = {
19246
19276
  };
19247
19277
  },
19248
19278
  components: {
19249
- LocationSelect: v2,
19250
- LocationSearch: f2
19279
+ LocationSelect: b2,
19280
+ LocationSearch: m2
19251
19281
  },
19252
19282
  props: {
19253
19283
  modelValue: {
@@ -19288,33 +19318,33 @@ const b2 = {
19288
19318
  return pl();
19289
19319
  }
19290
19320
  }
19291
- }, k2 = {
19321
+ }, x2 = {
19292
19322
  key: 0,
19293
19323
  class: "ux-field-title"
19294
- }, x2 = {
19324
+ }, w2 = {
19295
19325
  key: 0,
19296
19326
  class: "ux-required-marker"
19297
- }, w2 = {
19327
+ }, S2 = {
19298
19328
  key: 1,
19299
19329
  class: "ux-field-description"
19300
- }, S2 = { key: 2 }, V2 = { class: "location-field-wrap" }, O2 = ["id"], T2 = {
19330
+ }, V2 = { key: 2 }, O2 = { class: "location-field-wrap" }, T2 = ["id"], C2 = {
19301
19331
  key: 3,
19302
19332
  class: "location-field-wrap"
19303
- }, C2 = ["id"];
19304
- function E2(e, t, n, r, s, i) {
19333
+ }, E2 = ["id"];
19334
+ function D2(e, t, n, r, s, i) {
19305
19335
  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
19336
  return a(), d("div", null, [
19307
- e.showLabel ? (a(), d("label", k2, [
19337
+ e.showLabel ? (a(), d("label", x2, [
19308
19338
  V(b(e.label) + " ", 1),
19309
- e.required ? (a(), d("span", x2, "*")) : _("", !0)
19339
+ e.required ? (a(), d("span", w2, "*")) : _("", !0)
19310
19340
  ])) : _("", !0),
19311
- e.showDescription ? (a(), d("div", w2, b(e.description), 1)) : _("", !0),
19312
- e.multiValue ? (a(), d("div", S2, [
19341
+ e.showDescription ? (a(), d("div", S2, b(e.description), 1)) : _("", !0),
19342
+ e.multiValue ? (a(), d("div", V2, [
19313
19343
  (a(!0), d(S, null, M(e.model, (g, v) => (a(), d("div", {
19314
19344
  class: "ux-location-row",
19315
19345
  key: v
19316
19346
  }, [
19317
- x("div", V2, [
19347
+ x("div", O2, [
19318
19348
  f(c, {
19319
19349
  gap: "",
19320
19350
  center: ""
@@ -19378,7 +19408,7 @@ function E2(e, t, n, r, s, i) {
19378
19408
  x("div", {
19379
19409
  class: "teleport-results",
19380
19410
  id: `teleport-${i.multipleTeleportIDs[v]}`
19381
- }, null, 8, O2),
19411
+ }, null, 8, T2),
19382
19412
  s.multiAdvancedOptions[v] ? (a(), k(p, {
19383
19413
  key: 0,
19384
19414
  onFocus: e.touch,
@@ -19403,7 +19433,7 @@ function E2(e, t, n, r, s, i) {
19403
19433
  ]),
19404
19434
  _: 1
19405
19435
  })) : _("", !0)
19406
- ])) : (a(), d("div", T2, [
19436
+ ])) : (a(), d("div", C2, [
19407
19437
  f(c, null, {
19408
19438
  default: h(() => [
19409
19439
  f(o, null, {
@@ -19419,7 +19449,7 @@ function E2(e, t, n, r, s, i) {
19419
19449
  x("div", {
19420
19450
  class: "teleport-results",
19421
19451
  id: `teleport-${i.singleTeleportID}`
19422
- }, null, 8, C2),
19452
+ }, null, 8, E2),
19423
19453
  s.singleAdvancedOptions ? (a(), k(p, {
19424
19454
  key: 0,
19425
19455
  assumeDefault: !!e.field.assumeDefault,
@@ -19438,8 +19468,8 @@ function E2(e, t, n, r, s, i) {
19438
19468
  ]))
19439
19469
  ]);
19440
19470
  }
19441
- const D2 = /* @__PURE__ */ T(b2, [["render", E2], ["__scopeId", "data-v-ad0f1d56"]]);
19442
- const F2 = {
19471
+ const F2 = /* @__PURE__ */ T(k2, [["render", D2], ["__scopeId", "data-v-ad0f1d56"]]);
19472
+ const I2 = {
19443
19473
  props: {
19444
19474
  modelValue: {
19445
19475
  type: [String, Array]
@@ -19453,30 +19483,30 @@ const F2 = {
19453
19483
  return "";
19454
19484
  }
19455
19485
  }
19456
- }, I2 = {
19486
+ }, M2 = {
19457
19487
  key: 0,
19458
19488
  class: "ux-field-title"
19459
- }, M2 = {
19489
+ }, $2 = {
19460
19490
  key: 0,
19461
19491
  class: "ux-required-marker"
19462
- }, $2 = {
19492
+ }, A2 = {
19463
19493
  key: 1,
19464
19494
  class: "ux-field-description"
19465
- }, A2 = { key: 2 }, L2 = { class: "expression-field-wrap" }, N2 = {
19495
+ }, L2 = { key: 2 }, N2 = { class: "expression-field-wrap" }, U2 = {
19466
19496
  key: 3,
19467
19497
  class: "expression-field-wrap"
19468
19498
  };
19469
- function U2(e, t, n, r, s, i) {
19499
+ function P2(e, t, n, r, s, i) {
19470
19500
  const l = y("expression-editor"), o = y("flex-cell"), u = y("ux-icon"), m = y("ux-button"), c = y("flex-row");
19471
19501
  return a(), d("div", {
19472
19502
  onKeydown: t[2] || (t[2] = ye(q((p) => i.enterPress(p), ["stop"]), ["enter"]))
19473
19503
  }, [
19474
- e.showLabel ? (a(), d("label", I2, [
19504
+ e.showLabel ? (a(), d("label", M2, [
19475
19505
  V(b(e.label) + " ", 1),
19476
- e.required ? (a(), d("span", M2, "*")) : _("", !0)
19506
+ e.required ? (a(), d("span", $2, "*")) : _("", !0)
19477
19507
  ])) : _("", !0),
19478
- e.showDescription ? (a(), d("div", $2, b(e.description), 1)) : _("", !0),
19479
- e.multiValue ? (a(), d("div", A2, [
19508
+ e.showDescription ? (a(), d("div", A2, b(e.description), 1)) : _("", !0),
19509
+ e.multiValue ? (a(), d("div", L2, [
19480
19510
  (a(!0), d(S, null, M(e.model, (p, g) => (a(), k(c, {
19481
19511
  class: "ux-text-row",
19482
19512
  key: g
@@ -19484,7 +19514,7 @@ function U2(e, t, n, r, s, i) {
19484
19514
  default: h(() => [
19485
19515
  f(o, null, {
19486
19516
  default: h(() => [
19487
- x("div", L2, [
19517
+ x("div", N2, [
19488
19518
  f(l, {
19489
19519
  field: e.field,
19490
19520
  onFocus: e.touch,
@@ -19529,7 +19559,7 @@ function U2(e, t, n, r, s, i) {
19529
19559
  ]),
19530
19560
  _: 1
19531
19561
  })) : _("", !0)
19532
- ])) : (a(), d("div", N2, [
19562
+ ])) : (a(), d("div", U2, [
19533
19563
  f(l, {
19534
19564
  field: e.field,
19535
19565
  class: "ux-expression ux-field-focus ux-text-area-single",
@@ -19540,8 +19570,8 @@ function U2(e, t, n, r, s, i) {
19540
19570
  ]))
19541
19571
  ], 32);
19542
19572
  }
19543
- const P2 = /* @__PURE__ */ T(F2, [["render", U2], ["__scopeId", "data-v-56c3b71b"]]);
19544
- const j2 = {
19573
+ const j2 = /* @__PURE__ */ T(I2, [["render", P2], ["__scopeId", "data-v-56c3b71b"]]);
19574
+ const R2 = {
19545
19575
  components: {},
19546
19576
  methods: {},
19547
19577
  props: {
@@ -19576,7 +19606,7 @@ const j2 = {
19576
19606
  };
19577
19607
  }
19578
19608
  };
19579
- function R2(e, t, n, r, s, i) {
19609
+ function B2(e, t, n, r, s, i) {
19580
19610
  const l = y("tiptap"), o = y("flex-column");
19581
19611
  return s.mounted ? (a(), k(o, { key: 0 }, {
19582
19612
  default: h(() => [
@@ -19589,10 +19619,10 @@ function R2(e, t, n, r, s, i) {
19589
19619
  _: 1
19590
19620
  })) : _("", !0);
19591
19621
  }
19592
- const B2 = /* @__PURE__ */ T(j2, [["render", R2], ["__scopeId", "data-v-844777a7"]]);
19593
- const z2 = {
19622
+ const z2 = /* @__PURE__ */ T(R2, [["render", B2], ["__scopeId", "data-v-844777a7"]]);
19623
+ const q2 = {
19594
19624
  components: {
19595
- richtext: B2
19625
+ richtext: z2
19596
19626
  },
19597
19627
  props: {
19598
19628
  modelValue: {
@@ -19610,28 +19640,28 @@ const z2 = {
19610
19640
  return "";
19611
19641
  }
19612
19642
  }
19613
- }, q2 = {
19643
+ }, H2 = {
19614
19644
  key: 0,
19615
19645
  class: "ux-field-title"
19616
- }, H2 = {
19646
+ }, W2 = {
19617
19647
  key: 0,
19618
19648
  class: "ux-required-marker"
19619
- }, W2 = {
19649
+ }, G2 = {
19620
19650
  key: 1,
19621
19651
  class: "ux-field-description"
19622
- }, G2 = { key: 2 }, Y2 = { class: "richtext-field-wrap" }, K2 = {
19652
+ }, Y2 = { key: 2 }, K2 = { class: "richtext-field-wrap" }, Z2 = {
19623
19653
  key: 3,
19624
19654
  class: "richtext-field-wrap"
19625
19655
  };
19626
- function Z2(e, t, n, r, s, i) {
19656
+ function J2(e, t, n, r, s, i) {
19627
19657
  const l = y("richtext"), o = y("flex-cell"), u = y("ux-icon"), m = y("ux-button"), c = y("flex-row");
19628
19658
  return a(), d("div", null, [
19629
- e.showLabel ? (a(), d("label", q2, [
19659
+ e.showLabel ? (a(), d("label", H2, [
19630
19660
  V(b(e.label) + " ", 1),
19631
- e.required ? (a(), d("span", H2, "*")) : _("", !0)
19661
+ e.required ? (a(), d("span", W2, "*")) : _("", !0)
19632
19662
  ])) : _("", !0),
19633
- e.showDescription ? (a(), d("div", W2, b(e.description), 1)) : _("", !0),
19634
- e.multiValue ? (a(), d("div", G2, [
19663
+ e.showDescription ? (a(), d("div", G2, b(e.description), 1)) : _("", !0),
19664
+ e.multiValue ? (a(), d("div", Y2, [
19635
19665
  (a(!0), d(S, null, M(e.model, (p, g) => (a(), k(c, {
19636
19666
  class: "ux-text-row",
19637
19667
  key: g
@@ -19639,7 +19669,7 @@ function Z2(e, t, n, r, s, i) {
19639
19669
  default: h(() => [
19640
19670
  f(o, null, {
19641
19671
  default: h(() => [
19642
- x("div", Y2, [
19672
+ x("div", K2, [
19643
19673
  f(l, {
19644
19674
  onFocus: e.touch,
19645
19675
  ref_for: !0,
@@ -19683,7 +19713,7 @@ function Z2(e, t, n, r, s, i) {
19683
19713
  ]),
19684
19714
  _: 1
19685
19715
  })) : _("", !0)
19686
- ])) : (a(), d("div", K2, [
19716
+ ])) : (a(), d("div", Z2, [
19687
19717
  f(l, {
19688
19718
  class: "ux-richtext ux-field-focus ux-text-area-single",
19689
19719
  onFocus: e.touch,
@@ -19693,8 +19723,8 @@ function Z2(e, t, n, r, s, i) {
19693
19723
  ]))
19694
19724
  ]);
19695
19725
  }
19696
- const J2 = /* @__PURE__ */ T(z2, [["render", Z2], ["__scopeId", "data-v-396fd196"]]);
19697
- var Oi = {}, X2 = {
19726
+ const X2 = /* @__PURE__ */ T(q2, [["render", J2], ["__scopeId", "data-v-396fd196"]]);
19727
+ var Oi = {}, Q2 = {
19698
19728
  get exports() {
19699
19729
  return Oi;
19700
19730
  },
@@ -19960,8 +19990,8 @@ var Oi = {}, X2 = {
19960
19990
  return Ee = {}, this;
19961
19991
  }, e.exports ? t = e.exports = De : t.parse = De;
19962
19992
  })();
19963
- })(X2, Oi);
19964
- const Q2 = Oi;
19993
+ })(Q2, Oi);
19994
+ const eV = Oi;
19965
19995
  var yl = { "||": function(e, t) {
19966
19996
  return e || t;
19967
19997
  }, "&&": function(e, t) {
@@ -20004,7 +20034,7 @@ var yl = { "||": function(e, t) {
20004
20034
  return e / t;
20005
20035
  }, "%": function(e, t) {
20006
20036
  return e % t;
20007
- } }, eV = { "-": function(e) {
20037
+ } }, tV = { "-": function(e) {
20008
20038
  return -e;
20009
20039
  }, "+": function(e) {
20010
20040
  return +e;
@@ -20047,62 +20077,62 @@ function Ve(e, t) {
20047
20077
  case "ThisExpression":
20048
20078
  return t;
20049
20079
  case "UnaryExpression":
20050
- return eV[n.operator](Ve(n.argument, t));
20080
+ return tV[n.operator](Ve(n.argument, t));
20051
20081
  default:
20052
20082
  return;
20053
20083
  }
20054
20084
  }
20055
- function tV(e, t, n, r) {
20085
+ function nV(e, t, n, r) {
20056
20086
  for (var s = e.length, i = n + (r ? 1 : -1); r ? i-- : ++i < s; )
20057
20087
  if (t(e[i], i, e))
20058
20088
  return i;
20059
20089
  return -1;
20060
20090
  }
20061
- var nV = tV;
20062
- function iV(e) {
20091
+ var iV = nV;
20092
+ function rV(e) {
20063
20093
  return e !== e;
20064
20094
  }
20065
- var rV = iV;
20066
- function sV(e, t, n) {
20095
+ var sV = rV;
20096
+ function lV(e, t, n) {
20067
20097
  for (var r = n - 1, s = e.length; ++r < s; )
20068
20098
  if (e[r] === t)
20069
20099
  return r;
20070
20100
  return -1;
20071
20101
  }
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);
20102
+ var oV = lV, aV = iV, uV = sV, dV = oV;
20103
+ function cV(e, t, n) {
20104
+ return t === t ? dV(e, t, n) : aV(e, uV, n);
20075
20105
  }
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;
20106
+ var Ea = cV, fV = Nn, mV = jn, hV = Un, pV = "[object String]";
20107
+ function yV(e) {
20108
+ return typeof e == "string" || !mV(e) && hV(e) && fV(e) == pV;
20079
20109
  }
20080
- var yV = pV, _V = Oa;
20081
- function gV(e) {
20082
- var t = _V(e), n = t % 1;
20110
+ var _V = yV, gV = Oa;
20111
+ function vV(e) {
20112
+ var t = gV(e), n = t % 1;
20083
20113
  return t === t ? n ? t - n : t : 0;
20084
20114
  }
20085
- var vV = gV, bV = zo;
20086
- function kV(e, t) {
20087
- return bV(t, function(n) {
20115
+ var bV = vV, kV = zo;
20116
+ function xV(e, t) {
20117
+ return kV(t, function(n) {
20088
20118
  return e[n];
20089
20119
  });
20090
20120
  }
20091
- var xV = kV;
20092
- function wV(e, t) {
20121
+ var wV = xV;
20122
+ function SV(e, t) {
20093
20123
  for (var n = -1, r = Array(e); ++n < e; )
20094
20124
  r[n] = t(n);
20095
20125
  return r;
20096
20126
  }
20097
- var SV = wV, VV = Nn, OV = Un, TV = "[object Arguments]";
20098
- function CV(e) {
20099
- return OV(e) && VV(e) == TV;
20127
+ var VV = SV, OV = Nn, TV = Un, CV = "[object Arguments]";
20128
+ function EV(e) {
20129
+ return TV(e) && OV(e) == CV;
20100
20130
  }
20101
- var EV = CV, vl = EV, DV = Un, Da = Object.prototype, FV = Da.hasOwnProperty, IV = Da.propertyIsEnumerable, MV = vl(function() {
20131
+ var DV = EV, vl = DV, FV = Un, Da = Object.prototype, IV = Da.hasOwnProperty, MV = Da.propertyIsEnumerable, $V = vl(function() {
20102
20132
  return arguments;
20103
20133
  }()) ? vl : function(e) {
20104
- return DV(e) && FV.call(e, "callee") && !IV.call(e, "callee");
20105
- }, $V = MV, Ti = {}, AV = {
20134
+ return FV(e) && IV.call(e, "callee") && !MV.call(e, "callee");
20135
+ }, AV = $V, Ti = {}, LV = {
20106
20136
  get exports() {
20107
20137
  return Ti;
20108
20138
  },
@@ -20110,27 +20140,27 @@ var EV = CV, vl = EV, DV = Un, Da = Object.prototype, FV = Da.hasOwnProperty, IV
20110
20140
  Ti = e;
20111
20141
  }
20112
20142
  };
20113
- function LV() {
20143
+ function NV() {
20114
20144
  return !1;
20115
20145
  }
20116
- var NV = LV;
20146
+ var UV = NV;
20117
20147
  (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;
20148
+ 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
20149
  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) {
20150
+ })(LV, Ti);
20151
+ 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 = {};
20152
+ ue[iO] = ue[rO] = ue[sO] = ue[lO] = ue[oO] = ue[aO] = ue[uO] = ue[dO] = ue[cO] = !0;
20153
+ 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;
20154
+ function fO(e) {
20155
+ return RV(e) && jV(e.length) && !!ue[PV(e)];
20156
+ }
20157
+ var mO = fO;
20158
+ function hO(e) {
20129
20159
  return function(t) {
20130
20160
  return e(t);
20131
20161
  };
20132
20162
  }
20133
- var hO = mO, Ci = {}, pO = {
20163
+ var pO = hO, Ci = {}, yO = {
20134
20164
  get exports() {
20135
20165
  return Ci;
20136
20166
  },
@@ -20147,55 +20177,55 @@ var hO = mO, Ci = {}, pO = {
20147
20177
  }
20148
20178
  }();
20149
20179
  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;
20180
+ })(yO, Ci);
20181
+ 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;
20182
+ function EO(e, t) {
20183
+ 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
20184
  for (var m in e)
20155
- (t || TO.call(e, m)) && !(l && // Safari 9 has enumerable `arguments.length` in strict mode.
20185
+ (t || CO.call(e, m)) && !(l && // Safari 9 has enumerable `arguments.length` in strict mode.
20156
20186
  (m == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
20157
20187
  s && (m == "offset" || m == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
20158
20188
  i && (m == "buffer" || m == "byteLength" || m == "byteOffset") || // Skip index properties.
20159
- SO(m, u))) && o.push(m);
20189
+ VO(m, u))) && o.push(m);
20160
20190
  return o;
20161
20191
  }
20162
- var EO = CO, DO = Object.prototype;
20163
- function FO(e) {
20164
- var t = e && e.constructor, n = typeof t == "function" && t.prototype || DO;
20192
+ var DO = EO, FO = Object.prototype;
20193
+ function IO(e) {
20194
+ var t = e && e.constructor, n = typeof t == "function" && t.prototype || FO;
20165
20195
  return e === n;
20166
20196
  }
20167
- var IO = FO;
20168
- function MO(e, t) {
20197
+ var MO = IO;
20198
+ function $O(e, t) {
20169
20199
  return function(n) {
20170
20200
  return e(t(n));
20171
20201
  };
20172
20202
  }
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);
20203
+ var AO = $O, LO = AO, NO = LO(Object.keys, Object), UO = NO, PO = MO, jO = UO, RO = Object.prototype, BO = RO.hasOwnProperty;
20204
+ function zO(e) {
20205
+ if (!PO(e))
20206
+ return jO(e);
20177
20207
  var t = [];
20178
20208
  for (var n in Object(e))
20179
- RO.call(e, n) && n != "constructor" && t.push(n);
20209
+ BO.call(e, n) && n != "constructor" && t.push(n);
20180
20210
  return t;
20181
20211
  }
20182
- var zO = BO, qO = EO, HO = zO, WO = ts;
20183
- function GO(e) {
20184
- return WO(e) ? qO(e) : HO(e);
20212
+ var qO = zO, HO = DO, WO = qO, GO = ts;
20213
+ function YO(e) {
20214
+ return GO(e) ? HO(e) : WO(e);
20185
20215
  }
20186
- var YO = GO, KO = xV, ZO = YO;
20187
- function JO(e) {
20188
- return e == null ? [] : KO(e, ZO(e));
20216
+ var KO = YO, ZO = wV, JO = KO;
20217
+ function XO(e) {
20218
+ return e == null ? [] : ZO(e, JO(e));
20189
20219
  }
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;
20220
+ var QO = XO, eT = Ea, tT = ts, nT = _V, iT = bV, rT = QO, sT = Math.max;
20221
+ function lT(e, t, n, r) {
20222
+ e = tT(e) ? e : rT(e), n = n && !r ? iT(n) : 0;
20193
20223
  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;
20224
+ return n < 0 && (n = sT(s + n, 0)), nT(e) ? n <= s && e.indexOf(t, n) > -1 : !!s && eT(e, t, n) > -1;
20195
20225
  }
20196
- var lT = sT;
20226
+ var oT = lT;
20197
20227
  const Tt = {};
20198
- function oT(e, t, n, r) {
20228
+ function aT(e, t, n, r) {
20199
20229
  return e ? Array.isArray(e) ? e.filter(function(s) {
20200
20230
  const i = jt(s, t);
20201
20231
  let l;
@@ -20213,7 +20243,7 @@ function oT(e, t, n, r) {
20213
20243
  l = i <= n;
20214
20244
  break;
20215
20245
  case "in":
20216
- l = lT(i, n);
20246
+ l = oT(i, n);
20217
20247
  break;
20218
20248
  default:
20219
20249
  n === void 0 ? l = i : l = i == n;
@@ -20222,12 +20252,12 @@ function oT(e, t, n, r) {
20222
20252
  return l;
20223
20253
  }) : (console.error("array.filter value was not provided as array", { input: e }), []) : [];
20224
20254
  }
20225
- function aT(e) {
20255
+ function uT(e) {
20226
20256
  return e.reduce(function(t, n) {
20227
20257
  return t + n;
20228
20258
  }, 0);
20229
20259
  }
20230
- function uT(e, t, n, r, s) {
20260
+ function dT(e, t, n, r, s) {
20231
20261
  if (!e)
20232
20262
  return [];
20233
20263
  if (s = s || {}, s.flat = n, s.unique = r, !Array.isArray(e))
@@ -20238,7 +20268,7 @@ function uT(e, t, n, r, s) {
20238
20268
  }, []);
20239
20269
  return s.unique && (i = [...new Set(i)]), s.flat && (i = i.flat()), i;
20240
20270
  }
20241
- function dT() {
20271
+ function cT() {
20242
20272
  var e = new Date().getTime().toString(16) + Math.random().toString(16).substring(2) + "0".repeat(16);
20243
20273
  return `id${e.substr(0, 8)}${e.substr(8, 4)}${e.substr(12, 3)}${e.substr(15, 12)}`;
20244
20274
  }
@@ -20254,11 +20284,11 @@ Tt.evaluateExpression = function(e, t) {
20254
20284
  parseInt,
20255
20285
  parseFloat,
20256
20286
  now: new Date(),
20257
- guid: dT,
20287
+ guid: cT,
20258
20288
  array: {
20259
- filter: oT,
20260
- extract: uT,
20261
- sum: aT
20289
+ filter: aT,
20290
+ extract: dT,
20291
+ sum: uT
20262
20292
  },
20263
20293
  create(i, ...l) {
20264
20294
  return new i(...l);
@@ -20267,20 +20297,20 @@ Tt.evaluateExpression = function(e, t) {
20267
20297
  t = Object.assign({}, n, t);
20268
20298
  var r, s;
20269
20299
  try {
20270
- r = Q2(e), s = Ve(r, t);
20300
+ r = eV(e), s = Ve(r, t);
20271
20301
  } catch (i) {
20272
20302
  console.log("There was an error evaluating your expression", { expression: e, error: i, context: t });
20273
20303
  } finally {
20274
20304
  }
20275
20305
  return s;
20276
20306
  };
20277
- const cT = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map(function(e) {
20307
+ const fT = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map(function(e) {
20278
20308
  const t = String(e).slice(2);
20279
20309
  return {
20280
20310
  title: e,
20281
20311
  value: t
20282
20312
  };
20283
- }), fT = {
20313
+ }), mT = {
20284
20314
  mixins: [ee],
20285
20315
  components: {
20286
20316
  // StripeElements,
@@ -20529,7 +20559,7 @@ const cT = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map
20529
20559
  minLength: 2,
20530
20560
  maxLength: 2,
20531
20561
  widget: "select",
20532
- options: cT
20562
+ options: fT
20533
20563
  }, {
20534
20564
  title: "CVN",
20535
20565
  key: "cvc",
@@ -20568,13 +20598,13 @@ const cT = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map
20568
20598
  };
20569
20599
  }
20570
20600
  }
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 = {
20601
+ }, 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
20602
  key: 0,
20573
20603
  class: "grand-total"
20574
- }, vT = /* @__PURE__ */ qn(() => /* @__PURE__ */ x("td", null, [
20604
+ }, bT = /* @__PURE__ */ qn(() => /* @__PURE__ */ x("td", null, [
20575
20605
  /* @__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) {
20606
+ ], -1)), kT = /* @__PURE__ */ qn(() => /* @__PURE__ */ x("td", null, null, -1)), xT = /* @__PURE__ */ qn(() => /* @__PURE__ */ x("h3", null, "Please select a payment processor", -1));
20607
+ function wT(e, t, n, r, s, i) {
20578
20608
  const l = y("ux-form"), o = y("ux-panel-body"), u = y("ux-panel"), m = y("ux-icon"), c = y("ux-button");
20579
20609
  return e.multiValue ? (a(), d(S, { key: 0 }, [
20580
20610
  V(" Invalid configuration ")
@@ -20592,33 +20622,33 @@ function xT(e, t, n, r, s, i) {
20592
20622
  fields: i.calculatedTotalFields
20593
20623
  }, null, 8, ["trail", "paymentConfiguration", "includeOfficeOnly", "submission", "onForm:state", "parentModel", "modelValue", "fields"]),
20594
20624
  i.requiresPayment ? (a(), d(S, { key: 0 }, [
20595
- mT,
20625
+ hT,
20596
20626
  f(u, null, {
20597
20627
  default: h(() => [
20598
20628
  f(o, null, {
20599
20629
  default: h(() => [
20600
- x("table", hT, [
20630
+ x("table", pT, [
20601
20631
  x("tbody", null, [
20602
20632
  i.baseAmount ? (a(), d("tr", {
20603
20633
  key: 0,
20604
20634
  class: A(["calculation-modifier", ["modifier-set", `modifier-visible-${i.baseAmountVisible}`]])
20605
20635
  }, [
20606
- pT,
20636
+ yT,
20607
20637
  x("td", null, b(i.formattedBaseAmount), 1),
20608
- x("td", yT, b(i.formattedBaseAmount), 1)
20638
+ x("td", _T, b(i.formattedBaseAmount), 1)
20609
20639
  ], 2)) : _("", !0),
20610
20640
  (a(!0), d(S, null, M(i.visibleModifications, (p) => (a(), d("tr", {
20611
20641
  class: A(["calculation-modifier", [`modifier-${p.modifier}`, `modifier-visible-${p.visible}`]])
20612
20642
  }, [
20613
20643
  x("td", null, b(p.title), 1),
20614
20644
  x("td", null, b(p.summary), 1),
20615
- x("td", _T, b(p.result), 1)
20645
+ x("td", gT, b(p.result), 1)
20616
20646
  ], 2))), 256))
20617
20647
  ]),
20618
20648
  x("tfoot", null, [
20619
- i.baseAmount ? (a(), d("tr", gT, [
20620
- vT,
20649
+ i.baseAmount ? (a(), d("tr", vT, [
20621
20650
  bT,
20651
+ kT,
20622
20652
  x("td", null, [
20623
20653
  x("strong", null, b(i.formattedTotal), 1)
20624
20654
  ])
@@ -20632,7 +20662,7 @@ function xT(e, t, n, r, s, i) {
20632
20662
  _: 1
20633
20663
  }),
20634
20664
  i.gateways.length > 1 ? (a(), d(S, { key: 0 }, [
20635
- kT,
20665
+ xT,
20636
20666
  f(u, null, {
20637
20667
  default: h(() => [
20638
20668
  f(o, null, {
@@ -20661,11 +20691,11 @@ function xT(e, t, n, r, s, i) {
20661
20691
  ], 64)) : _("", !0)
20662
20692
  ], 64));
20663
20693
  }
20664
- const wT = /* @__PURE__ */ T(fT, [["render", xT], ["__scopeId", "data-v-f5a130e8"]]);
20665
- function ST(e) {
20694
+ const ST = /* @__PURE__ */ T(mT, [["render", wT], ["__scopeId", "data-v-f5a130e8"]]);
20695
+ function VT(e) {
20666
20696
  return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
20667
20697
  }
20668
- const VT = {
20698
+ const OT = {
20669
20699
  props: {
20670
20700
  title: {
20671
20701
  type: String
@@ -20681,7 +20711,7 @@ const VT = {
20681
20711
  methods: {
20682
20712
  cleanOutput(e) {
20683
20713
  var t = this;
20684
- return ST(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
20714
+ return VT(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
20685
20715
  return t.getValue(n);
20686
20716
  }) : e = t.getValue(e), e;
20687
20717
  },
@@ -20751,37 +20781,37 @@ const VT = {
20751
20781
  return this.actualOptions || [];
20752
20782
  }
20753
20783
  }
20754
- }, OT = {
20784
+ }, TT = {
20755
20785
  key: 0,
20756
20786
  class: "ux-field-title"
20757
- }, TT = {
20787
+ }, CT = {
20758
20788
  key: 0,
20759
20789
  class: "ux-required-marker"
20760
- }, CT = {
20790
+ }, ET = {
20761
20791
  key: 1,
20762
20792
  class: "ux-field-description"
20763
- }, ET = {
20793
+ }, DT = {
20764
20794
  key: 0,
20765
20795
  class: "ui-select-button"
20766
- }, DT = ["multiple"], FT = {
20796
+ }, FT = ["multiple"], IT = {
20767
20797
  key: 0,
20768
20798
  value: ""
20769
- }, IT = ["value"], MT = {
20799
+ }, MT = ["value"], $T = {
20770
20800
  key: 3,
20771
20801
  class: "ui-select-button"
20772
20802
  };
20773
- function $T(e, t, n, r, s, i) {
20803
+ function AT(e, t, n, r, s, i) {
20774
20804
  const l = y("ux-button");
20775
20805
  return a(), d("div", {
20776
20806
  class: A(["native-select", i.classes])
20777
20807
  }, [
20778
- e.showLabel ? (a(), d("label", OT, [
20808
+ e.showLabel ? (a(), d("label", TT, [
20779
20809
  V(b(e.label) + " ", 1),
20780
- e.required ? (a(), d("span", TT, "*")) : _("", !0)
20810
+ e.required ? (a(), d("span", CT, "*")) : _("", !0)
20781
20811
  ])) : _("", !0),
20782
- e.showDescription ? (a(), d("div", CT, b(e.description), 1)) : _("", !0),
20812
+ e.showDescription ? (a(), d("div", ET, b(e.description), 1)) : _("", !0),
20783
20813
  i.selectableOptions.length ? (a(), d(S, { key: 2 }, [
20784
- e.singleValue ? (a(), d("div", ET, [
20814
+ e.singleValue ? (a(), d("div", DT, [
20785
20815
  G(e.$slots, "default", {}, () => [
20786
20816
  f(l, { tag: "div" }, {
20787
20817
  default: h(() => [
@@ -20796,14 +20826,14 @@ function $T(e, t, n, r, s, i) {
20796
20826
  multiple: e.multiValue,
20797
20827
  "onUpdate:modelValue": t[1] || (t[1] = (o) => e.model = o)
20798
20828
  }, [
20799
- e.singleValue && !e.minimum ? (a(), d("option", FT, "None")) : _("", !0),
20829
+ e.singleValue && !e.minimum ? (a(), d("option", IT, "None")) : _("", !0),
20800
20830
  (a(!0), d(S, null, M(i.selectableOptions, (o) => (a(), d("option", {
20801
20831
  value: o.value
20802
- }, b(o.title), 9, IT))), 256))
20803
- ], 40, DT), [
20832
+ }, b(o.title), 9, MT))), 256))
20833
+ ], 40, FT), [
20804
20834
  [mt, e.model]
20805
20835
  ])
20806
- ], 64)) : (a(), d("div", MT, [
20836
+ ], 64)) : (a(), d("div", $T, [
20807
20837
  f(l, { tag: "div" }, {
20808
20838
  default: h(() => [
20809
20839
  V(" No valid routes ")
@@ -20813,11 +20843,11 @@ function $T(e, t, n, r, s, i) {
20813
20843
  ]))
20814
20844
  ], 2);
20815
20845
  }
20816
- const AT = /* @__PURE__ */ T(VT, [["render", $T], ["__scopeId", "data-v-a9c5a05f"]]);
20817
- function LT(e) {
20846
+ const LT = /* @__PURE__ */ T(OT, [["render", AT], ["__scopeId", "data-v-a9c5a05f"]]);
20847
+ function NT(e) {
20818
20848
  return e === void 0 || typeof e > "u" || e === null || String(e) === "null" || String(e) === "undefined";
20819
20849
  }
20820
- const NT = {
20850
+ const UT = {
20821
20851
  props: {
20822
20852
  title: {
20823
20853
  type: String
@@ -20833,7 +20863,7 @@ const NT = {
20833
20863
  methods: {
20834
20864
  cleanOutput(e) {
20835
20865
  var t = this;
20836
- return LT(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
20866
+ return NT(e) ? t.multiValue ? e = [] : e = void 0 : t.multiValue ? e = (e || []).filter(Boolean).map(function(n) {
20837
20867
  return t.getValue(n);
20838
20868
  }) : e = t.getValue(e), e;
20839
20869
  },
@@ -20886,33 +20916,33 @@ const NT = {
20886
20916
  return this.actualOptions;
20887
20917
  }
20888
20918
  }
20889
- }, UT = {
20919
+ }, PT = {
20890
20920
  key: 0,
20891
20921
  class: "ux-field-title"
20892
- }, PT = {
20922
+ }, jT = {
20893
20923
  key: 0,
20894
20924
  class: "ux-required-marker"
20895
- }, jT = {
20925
+ }, RT = {
20896
20926
  key: 1,
20897
20927
  class: "ux-field-description"
20898
- }, RT = {
20928
+ }, BT = {
20899
20929
  key: 2,
20900
20930
  class: "ui-select-button"
20901
- }, BT = ["multiple"], zT = {
20931
+ }, zT = ["multiple"], qT = {
20902
20932
  key: 0,
20903
20933
  value: ""
20904
- }, qT = ["value"];
20905
- function HT(e, t, n, r, s, i) {
20934
+ }, HT = ["value"];
20935
+ function WT(e, t, n, r, s, i) {
20906
20936
  const l = y("ux-button");
20907
20937
  return a(), d("div", {
20908
20938
  class: A(["native-select", i.classes])
20909
20939
  }, [
20910
- e.showLabel ? (a(), d("label", UT, [
20940
+ e.showLabel ? (a(), d("label", PT, [
20911
20941
  V(b(e.label) + " ", 1),
20912
- e.required ? (a(), d("span", PT, "*")) : _("", !0)
20942
+ e.required ? (a(), d("span", jT, "*")) : _("", !0)
20913
20943
  ])) : _("", !0),
20914
- e.showDescription ? (a(), d("div", jT, b(e.description), 1)) : _("", !0),
20915
- e.singleValue ? (a(), d("div", RT, [
20944
+ e.showDescription ? (a(), d("div", RT, b(e.description), 1)) : _("", !0),
20945
+ e.singleValue ? (a(), d("div", BT, [
20916
20946
  G(e.$slots, "default", {}, () => [
20917
20947
  f(l, { tag: "div" }, {
20918
20948
  default: h(() => [
@@ -20927,16 +20957,16 @@ function HT(e, t, n, r, s, i) {
20927
20957
  multiple: e.multiValue,
20928
20958
  "onUpdate:modelValue": t[1] || (t[1] = (o) => e.model = o)
20929
20959
  }, [
20930
- e.singleValue && !e.minimum ? (a(), d("option", zT, "None")) : _("", !0),
20960
+ e.singleValue && !e.minimum ? (a(), d("option", qT, "None")) : _("", !0),
20931
20961
  (a(!0), d(S, null, M(i.selectableOptions, (o) => (a(), d("option", {
20932
20962
  value: o.value
20933
- }, b(o.title), 9, qT))), 256))
20934
- ], 40, BT), [
20963
+ }, b(o.title), 9, HT))), 256))
20964
+ ], 40, zT), [
20935
20965
  [mt, e.model]
20936
20966
  ])
20937
20967
  ], 2);
20938
20968
  }
20939
- const WT = /* @__PURE__ */ T(NT, [["render", HT], ["__scopeId", "data-v-8801d1a0"]]), hn = {
20969
+ const GT = /* @__PURE__ */ T(UT, [["render", WT], ["__scopeId", "data-v-8801d1a0"]]), hn = {
20940
20970
  props: {
20941
20971
  options: {
20942
20972
  type: Object,
@@ -20958,7 +20988,7 @@ const WT = /* @__PURE__ */ T(NT, [["render", HT], ["__scopeId", "data-v-8801d1a0
20958
20988
  }
20959
20989
  }
20960
20990
  };
20961
- const GT = {
20991
+ const YT = {
20962
20992
  data() {
20963
20993
  return {
20964
20994
  selection: {}
@@ -21046,15 +21076,15 @@ const GT = {
21046
21076
  this.selection[e.path] = !this.selection[e.path], console.log(e);
21047
21077
  }
21048
21078
  }
21049
- }, YT = { class: "wrapper" }, KT = { class: "header" }, ZT = ["onClick"], JT = { class: "font-sm font-muted" };
21050
- function XT(e, t, n, r, s, i) {
21079
+ }, KT = { class: "wrapper" }, ZT = { class: "header" }, JT = ["onClick"], XT = { class: "font-sm font-muted" };
21080
+ function QT(e, t, n, r, s, i) {
21051
21081
  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, [
21082
+ return a(), d("div", KT, [
21053
21083
  f(g, null, {
21054
21084
  default: h(() => [
21055
21085
  f(m, null, {
21056
21086
  default: h(() => [
21057
- x("div", KT, [
21087
+ x("div", ZT, [
21058
21088
  f(u, {
21059
21089
  gap: "",
21060
21090
  center: ""
@@ -21110,14 +21140,14 @@ function XT(e, t, n, r, s, i) {
21110
21140
  f(l, null, {
21111
21141
  default: h(() => [
21112
21142
  x("strong", null, b(v.selectTitle), 1),
21113
- x("div", JT, b(v.path), 1)
21143
+ x("div", XT, b(v.path), 1)
21114
21144
  ]),
21115
21145
  _: 2
21116
21146
  }, 1024)
21117
21147
  ]),
21118
21148
  _: 2
21119
21149
  }, 1024)
21120
- ], 14, ZT))), 256))
21150
+ ], 14, JT))), 256))
21121
21151
  ]),
21122
21152
  _: 1
21123
21153
  })
@@ -21126,7 +21156,7 @@ function XT(e, t, n, r, s, i) {
21126
21156
  })
21127
21157
  ]);
21128
21158
  }
21129
- const QT = /* @__PURE__ */ T(GT, [["render", XT], ["__scopeId", "data-v-415b9a32"]]), eC = {
21159
+ const eC = /* @__PURE__ */ T(YT, [["render", QT], ["__scopeId", "data-v-415b9a32"]]), tC = {
21130
21160
  props: {
21131
21161
  modelValue: {
21132
21162
  type: Object
@@ -21159,7 +21189,7 @@ const QT = /* @__PURE__ */ T(GT, [["render", XT], ["__scopeId", "data-v-415b9a32
21159
21189
  methods: {
21160
21190
  async openModal() {
21161
21191
  const e = this, t = await e.$sdk.modal({
21162
- component: QT,
21192
+ component: eC,
21163
21193
  options: {
21164
21194
  definition: e.definition
21165
21195
  }
@@ -21167,10 +21197,10 @@ const QT = /* @__PURE__ */ T(GT, [["render", XT], ["__scopeId", "data-v-415b9a32
21167
21197
  t.length && e.addFields && e.addFields(t);
21168
21198
  }
21169
21199
  }
21170
- }, tC = { key: 0 };
21171
- function nC(e, t, n, r, s, i) {
21200
+ }, nC = { key: 0 };
21201
+ function iC(e, t, n, r, s, i) {
21172
21202
  const l = y("ux-icon"), o = y("ux-button");
21173
- return i.definition ? (a(), d("div", tC, [
21203
+ return i.definition ? (a(), d("div", nC, [
21174
21204
  f(o, {
21175
21205
  color: "primary",
21176
21206
  onClick: i.openModal
@@ -21183,7 +21213,7 @@ function nC(e, t, n, r, s, i) {
21183
21213
  }, 8, ["onClick"])
21184
21214
  ])) : _("", !0);
21185
21215
  }
21186
- const iC = /* @__PURE__ */ T(eC, [["render", nC]]);
21216
+ const rC = /* @__PURE__ */ T(tC, [["render", iC]]);
21187
21217
  function fr(e) {
21188
21218
  switch (String(e).toLowerCase()) {
21189
21219
  case "true":
@@ -21216,7 +21246,7 @@ function xn(e, t, n, r, s, i) {
21216
21246
  }
21217
21247
  return t;
21218
21248
  }
21219
- function rC(e, t) {
21249
+ function sC(e, t) {
21220
21250
  if (t)
21221
21251
  return t;
21222
21252
  function n(g) {
@@ -21311,7 +21341,7 @@ function ke(e) {
21311
21341
  return Tt.evaluateExpression(n, r);
21312
21342
  };
21313
21343
  }
21314
- const sC = {
21344
+ const lC = {
21315
21345
  emits: [
21316
21346
  "field:mount",
21317
21347
  "field:unmount",
@@ -21325,10 +21355,10 @@ const sC = {
21325
21355
  "update:modelValue"
21326
21356
  ],
21327
21357
  components: {
21328
- InternalRouteSelect: AT,
21329
- InternalMenuSelect: WT,
21330
- InternalFieldCreator: iC,
21331
- ButtonSelect: Qw,
21358
+ InternalRouteSelect: LT,
21359
+ InternalMenuSelect: GT,
21360
+ InternalFieldCreator: rC,
21361
+ ButtonSelect: eS,
21332
21362
  NativeSelect: yt,
21333
21363
  DateField: wa,
21334
21364
  TimeField: E0,
@@ -21353,14 +21383,14 @@ const sC = {
21353
21383
  CountrySelect: Zr,
21354
21384
  PhoneNumberInput: Av,
21355
21385
  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
21386
+ ObjectField: aS,
21387
+ ModelField: _S,
21388
+ OptionsManager: LS,
21389
+ CodeEditorField: ZS,
21390
+ LocationField: F2,
21391
+ ExpressionField: j2,
21392
+ RichTextField: X2,
21393
+ PaymentField: ST
21364
21394
  },
21365
21395
  props: {
21366
21396
  trail: {
@@ -21456,7 +21486,7 @@ const sC = {
21456
21486
  var e = this.expressions && this.expressions.value ? this.getExpressionValue : void 0;
21457
21487
  if (e)
21458
21488
  return e;
21459
- var t = this.expressions && this.expressions.defaultValue ? this.getExpressionDefaultValue : void 0, n = rC(this.actualField), r = this.cleanInput(t || n);
21489
+ var t = this.expressions && this.expressions.defaultValue ? this.getExpressionDefaultValue : void 0, n = sC(this.actualField), r = this.cleanInput(t || n);
21460
21490
  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
21491
  const i = this.$sdk.geo.getDefaultCountry();
21462
21492
  r = i == null ? void 0 : i.name, console.log("Got the default country", i, r);
@@ -21768,11 +21798,11 @@ const sC = {
21768
21798
  return e;
21769
21799
  }
21770
21800
  }
21771
- }, lC = {
21801
+ }, oC = {
21772
21802
  key: 38,
21773
21803
  class: "ux-field-message"
21774
21804
  };
21775
- function oC(e, t, n, r, s, i) {
21805
+ function aC(e, t, n, r, s, i) {
21776
21806
  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
21807
  return i.visible ? (a(), d("div", {
21778
21808
  key: 0,
@@ -22079,23 +22109,23 @@ function oC(e, t, n, r, s, i) {
22079
22109
  modelValue: i.fieldModel,
22080
22110
  "onUpdate:modelValue": t[36] || (t[36] = (E) => i.fieldModel = E)
22081
22111
  }, null, 8, ["onTouched", "field", "modelValue"])) : _("", !0),
22082
- i.error && s.validateResults.message ? (a(), d("div", lC, b(s.validateResults.message), 1)) : _("", !0)
22112
+ i.error && s.validateResults.message ? (a(), d("div", oC, b(s.validateResults.message), 1)) : _("", !0)
22083
22113
  ], 34)) : _("", !0);
22084
22114
  }
22085
- const ns = /* @__PURE__ */ T(sC, [["render", oC], ["__scopeId", "data-v-f90a1386"]]);
22086
- function aC(e, t, n, r) {
22115
+ const ns = /* @__PURE__ */ T(lC, [["render", aC], ["__scopeId", "data-v-f90a1386"]]);
22116
+ function uC(e, t, n, r) {
22087
22117
  var s = -1, i = e == null ? 0 : e.length;
22088
22118
  for (r && i && (n = e[++s]); ++s < i; )
22089
22119
  n = t(n, e[s], s, e);
22090
22120
  return n;
22091
22121
  }
22092
- var uC = aC;
22093
- function dC(e) {
22122
+ var dC = uC;
22123
+ function cC(e) {
22094
22124
  return function(t) {
22095
22125
  return e == null ? void 0 : e[t];
22096
22126
  };
22097
22127
  }
22098
- var cC = dC, fC = cC, mC = {
22128
+ var fC = cC, mC = fC, hC = {
22099
22129
  // Latin-1 Supplement block.
22100
22130
  À: "A",
22101
22131
  Á: "A",
@@ -22288,45 +22318,45 @@ var cC = dC, fC = cC, mC = {
22288
22318
  œ: "oe",
22289
22319
  ʼn: "'n",
22290
22320
  ſ: "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, "");
22321
+ }, 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");
22322
+ function OC(e) {
22323
+ return e = gC(e), e && e.replace(vC, _C).replace(VC, "");
22294
22324
  }
22295
- var OC = VC, TC = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
22296
- function CC(e) {
22297
- return e.match(TC) || [];
22325
+ var TC = OC, CC = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
22326
+ function EC(e) {
22327
+ return e.match(CC) || [];
22298
22328
  }
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);
22329
+ 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 ]/;
22330
+ function IC(e) {
22331
+ return FC.test(e);
22302
22332
  }
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([
22333
+ 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
22334
  Xt + "?" + Ua + "+" + Sl + "(?=" + [xl, Xt, "$"].join("|") + ")",
22305
- YC + "+" + Vl + "(?=" + [xl, Xt + wl, "$"].join("|") + ")",
22335
+ KC + "+" + Vl + "(?=" + [xl, Xt + wl, "$"].join("|") + ")",
22306
22336
  Xt + "?" + wl + "+" + Sl,
22307
22337
  Xt + "+" + Vl,
22338
+ XC,
22308
22339
  JC,
22309
- ZC,
22310
22340
  Na,
22311
- QC
22341
+ eE
22312
22342
  ].join("|"), "g");
22313
- function tE(e) {
22314
- return e.match(eE) || [];
22343
+ function nE(e) {
22344
+ return e.match(tE) || [];
22315
22345
  }
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) || [];
22346
+ var iE = nE, rE = DC, sE = MC, lE = Gr, oE = iE;
22347
+ function aE(e, t, n) {
22348
+ return e = lE(e), t = n ? void 0 : t, t === void 0 ? sE(e) ? oE(e) : rE(e) : e.match(t) || [];
22319
22349
  }
22320
- var aE = oE, uE = uC, dE = OC, cE = aE, fE = "['’]", mE = RegExp(fE, "g");
22321
- function hE(e) {
22350
+ var uE = aE, dE = dC, cE = TC, fE = uE, mE = "['’]", hE = RegExp(mE, "g");
22351
+ function pE(e) {
22322
22352
  return function(t) {
22323
- return uE(cE(dE(t).replace(mE, "")), e, "");
22353
+ return dE(fE(cE(t).replace(hE, "")), e, "");
22324
22354
  };
22325
22355
  }
22326
- var pE = hE, yE = pE, _E = yE(function(e, t, n) {
22356
+ var yE = pE, _E = yE, gE = _E(function(e, t, n) {
22327
22357
  return e + (n ? "-" : "") + t.toLowerCase();
22328
- }), gE = _E;
22329
- const vE = {
22358
+ }), vE = gE;
22359
+ const bE = {
22330
22360
  emits: [
22331
22361
  "field:unmount",
22332
22362
  "field:mount",
@@ -22432,7 +22462,7 @@ const vE = {
22432
22462
  },
22433
22463
  methods: {
22434
22464
  getFieldKey(e) {
22435
- let t = gE(`${e.title}-${e.key}`);
22465
+ let t = vE(`${e.title}-${e.key}`);
22436
22466
  return e.incrementor && (t = `${t}-${e.incrementor}`), t;
22437
22467
  },
22438
22468
  touch() {
@@ -22540,7 +22570,7 @@ const vE = {
22540
22570
  }
22541
22571
  }
22542
22572
  };
22543
- function bE(e, t, n, r, s, i) {
22573
+ function kE(e, t, n, r, s, i) {
22544
22574
  const l = y("ux-field");
22545
22575
  return a(), d("div", {
22546
22576
  class: A(["ux-form", i.formClass])
@@ -22577,8 +22607,8 @@ function bE(e, t, n, r, s, i) {
22577
22607
  ], !0)
22578
22608
  ], 2);
22579
22609
  }
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 = {
22610
+ const qa = /* @__PURE__ */ T(bE, [["render", kE], ["__scopeId", "data-v-84534501"]]);
22611
+ const mr = "form.ready", xE = "form.processing", Ol = "form.complete", Tl = "form.error", wE = "form.intent", SE = {
22582
22612
  emits: [
22583
22613
  "reset",
22584
22614
  "processing",
@@ -22628,7 +22658,7 @@ const mr = "form.ready", kE = "form.processing", Ol = "form.complete", Tl = "for
22628
22658
  console.log("Form is invalid", this.formState);
22629
22659
  return;
22630
22660
  }
22631
- e.processing = !0, e.state = kE, e.$emit("processing");
22661
+ e.processing = !0, e.state = xE, e.$emit("processing");
22632
22662
  const { submission: t, error: n } = await e.preSubmit(e.model);
22633
22663
  if (n)
22634
22664
  return console.log("pre submit error", n), o(n);
@@ -22653,7 +22683,7 @@ const mr = "form.ready", kE = "form.processing", Ol = "form.complete", Tl = "for
22653
22683
  await e.$sdk.utils.loadExternalScript("https://js.stripe.com/v3/");
22654
22684
  break;
22655
22685
  }
22656
- e.state = xE, e.processing = !1, e.$emit("intent", u);
22686
+ e.state = wE, e.processing = !1, e.$emit("intent", u);
22657
22687
  }
22658
22688
  async function l(u) {
22659
22689
  await e.postSubmit(u), e.processing = !1, e.state = Ol, e.$emit("success", u);
@@ -22832,21 +22862,21 @@ const mr = "form.ready", kE = "form.processing", Ol = "form.complete", Tl = "for
22832
22862
  return this.form.fields || [];
22833
22863
  }
22834
22864
  }
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) {
22865
+ }, 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"];
22866
+ function IE(e, t, n, r, s, i) {
22837
22867
  var v;
22838
22868
  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
22869
  return a(), d("div", {
22840
22870
  class: A(["ux-submission-form", i.classes])
22841
22871
  }, [
22842
22872
  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, [
22873
+ OE,
22874
+ s.error.message ? (a(), d("pre", TE, b(s.error.message), 1)) : _("", !0),
22875
+ (v = s.error.data) != null && v.errors ? (a(), d("div", CE, [
22846
22876
  (a(!0), d(S, null, M(s.error.data.errors, (w) => (a(), d("pre", {
22847
22877
  key: w.path
22848
22878
  }, b(w.message), 1))), 128))
22849
- ])) : (a(), d("pre", CE, b(s.error), 1)),
22879
+ ])) : (a(), d("pre", EE, b(s.error), 1)),
22850
22880
  f(o, {
22851
22881
  color: "primary",
22852
22882
  onClick: i.softReset
@@ -22900,7 +22930,7 @@ function FE(e, t, n, r, s, i) {
22900
22930
  ]),
22901
22931
  _: 1
22902
22932
  }, 8, ["stripe-key", "instance-options", "elements-options"])) : _("", !0),
22903
- x("div", EE, [
22933
+ x("div", DE, [
22904
22934
  f(o, {
22905
22935
  color: "primary",
22906
22936
  onClick: i.confirmIntention
@@ -22935,12 +22965,12 @@ function FE(e, t, n, r, s, i) {
22935
22965
  ]),
22936
22966
  _: 1
22937
22967
  }, 8, ["disabled", "onClick", "loading"])
22938
- ], 8, DE)
22968
+ ], 8, FE)
22939
22969
  ], 64))
22940
22970
  ], 2);
22941
22971
  }
22942
- const Cl = /* @__PURE__ */ T(wE, [["render", FE], ["__scopeId", "data-v-59acf39e"]]);
22943
- function IE(e) {
22972
+ const Cl = /* @__PURE__ */ T(SE, [["render", IE], ["__scopeId", "data-v-59acf39e"]]);
22973
+ function ME(e) {
22944
22974
  const t = /<\/?([a-zA-Z0-9]+)[^>]*>/g, n = [];
22945
22975
  let r;
22946
22976
  for (; (r = t.exec(e)) !== null; ) {
@@ -22979,7 +23009,7 @@ const Ha = {
22979
23009
  actualTemplate() {
22980
23010
  let e = this.template || "";
22981
23011
  e = e.replaceAll ? e.replaceAll("<br>", "<br/>") : e;
22982
- var { valid: t, invalid: n } = IE(e);
23012
+ var { valid: t, invalid: n } = ME(e);
22983
23013
  return t || (console.log("Invalid html", e), e = `<div>Invalid HTML. <pre>${n}</pre></div>`), e;
22984
23014
  }
22985
23015
  },
@@ -22987,7 +23017,7 @@ const Ha = {
22987
23017
  VRuntimeTemplate: Ho
22988
23018
  }
22989
23019
  };
22990
- const ME = {
23020
+ const $E = {
22991
23021
  emits: ["error", "reset"],
22992
23022
  data() {
22993
23023
  return {
@@ -23002,14 +23032,14 @@ const ME = {
23002
23032
  this.$emit("reset");
23003
23033
  }
23004
23034
  }
23005
- }, $E = {
23035
+ }, AE = {
23006
23036
  key: 0,
23007
23037
  class: "error-boundary",
23008
23038
  style: { color: "#b40000", border: "2px solid #fd0000", background: "#ffd6d6", padding: "1em" }
23009
23039
  };
23010
- function AE(e, t, n, r, s, i) {
23040
+ function LE(e, t, n, r, s, i) {
23011
23041
  const l = y("ux-button");
23012
- return s.error ? (a(), d("div", $E, [
23042
+ return s.error ? (a(), d("div", AE, [
23013
23043
  x("pre", null, "COMPILE ERROR: " + b(s.error), 1),
23014
23044
  f(l, { onClick: i.reset }, {
23015
23045
  default: h(() => [
@@ -23019,7 +23049,7 @@ function AE(e, t, n, r, s, i) {
23019
23049
  }, 8, ["onClick"])
23020
23050
  ])) : G(e.$slots, "default", { key: 1 }, void 0, !0);
23021
23051
  }
23022
- const LE = /* @__PURE__ */ T(ME, [["render", AE], ["__scopeId", "data-v-0fd69158"]]), NE = {
23052
+ const NE = /* @__PURE__ */ T($E, [["render", LE], ["__scopeId", "data-v-0fd69158"]]), UE = {
23023
23053
  props: {
23024
23054
  field: {
23025
23055
  type: Object,
@@ -23100,8 +23130,8 @@ const LE = /* @__PURE__ */ T(ME, [["render", AE], ["__scopeId", "data-v-0fd69158
23100
23130
  }
23101
23131
  }
23102
23132
  };
23103
- const UE = {
23104
- mixins: [NE],
23133
+ const PE = {
23134
+ mixins: [UE],
23105
23135
  props: {
23106
23136
  modelValue: {
23107
23137
  type: [Object, Array]
@@ -23121,13 +23151,13 @@ const UE = {
23121
23151
  return `${this.label} ${t + 1}`;
23122
23152
  }
23123
23153
  }
23124
- }, PE = {
23154
+ }, jE = {
23125
23155
  key: 0,
23126
23156
  class: "ux-multi-group"
23127
23157
  };
23128
- function jE(e, t, n, r, s, i) {
23158
+ function RE(e, t, n, r, s, i) {
23129
23159
  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, [
23160
+ return e.multiValue ? (a(), d("div", jE, [
23131
23161
  (a(!0), d(S, null, M(e.model, (g, v) => (a(), k(p, {
23132
23162
  ref_for: !0,
23133
23163
  ref: "row",
@@ -23178,14 +23208,14 @@ function jE(e, t, n, r, s, i) {
23178
23208
  "onUpdate:modelValue": t[0] || (t[0] = (g) => e.model = g)
23179
23209
  }, null, 8, ["submission", "fields", "flex", "parentModel", "modelValue"]));
23180
23210
  }
23181
- const RE = /* @__PURE__ */ T(UE, [["render", jE], ["__scopeId", "data-v-cb997d0e"]]);
23182
- const BE = {
23211
+ const BE = /* @__PURE__ */ T(PE, [["render", RE], ["__scopeId", "data-v-cb997d0e"]]);
23212
+ const zE = {
23183
23213
  components: {
23184
23214
  Item: Xo,
23185
- FieldGroup: RE,
23215
+ FieldGroup: BE,
23186
23216
  // Compiler,
23187
23217
  Compile: Ha,
23188
- ErrorBoundary: LE
23218
+ ErrorBoundary: NE
23189
23219
  // ButtonSelect,
23190
23220
  // NativeSelect,
23191
23221
  // DateField,
@@ -23401,17 +23431,17 @@ const BE = {
23401
23431
  return e;
23402
23432
  }
23403
23433
  }
23404
- }, zE = { class: "ux-field-title" }, qE = { class: "currency" }, HE = { key: 1 }, WE = { class: "currency" }, GE = { key: 1 }, YE = {
23434
+ }, qE = { class: "ux-field-title" }, HE = { class: "currency" }, WE = { key: 1 }, GE = { class: "currency" }, YE = { key: 1 }, KE = {
23405
23435
  key: 4,
23406
23436
  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) {
23437
+ }, 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 };
23438
+ function uD(e, t, n, r, s, i) {
23409
23439
  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
23440
  return i.visible ? (a(), d("div", {
23411
23441
  key: 0,
23412
23442
  class: A(["ux-field-render", i.classes])
23413
23443
  }, [
23414
- x("label", zE, b(i.title), 1),
23444
+ x("label", qE, b(i.title), 1),
23415
23445
  i.widget === "group" ? (a(), d(S, { key: 0 }, [
23416
23446
  i.asObject ? (a(), k(l, {
23417
23447
  key: 0,
@@ -23438,10 +23468,10 @@ function aD(e, t, n, r, s, i) {
23438
23468
  }, null, 8, ["submission", "field", "parentModel", "modelValue"])) : i.widget === "currency" ? (a(), d(S, { key: 2 }, [
23439
23469
  i.multiValue ? (a(!0), d(S, { key: 0 }, M(i.fieldModel, (w, O) => (a(), d("div", null, [
23440
23470
  V(b(i.formatCurrency(w)) + " ", 1),
23441
- x("span", qE, b(n.field.currency), 1)
23442
- ]))), 256)) : (a(), d("div", HE, [
23471
+ x("span", HE, b(n.field.currency), 1)
23472
+ ]))), 256)) : (a(), d("div", WE, [
23443
23473
  V(b(i.formatCurrency(i.fieldModel)) + " ", 1),
23444
- x("span", WE, b(n.field.currency), 1)
23474
+ x("span", GE, b(n.field.currency), 1)
23445
23475
  ]))
23446
23476
  ], 64)) : i.widget === "code" ? (a(), d(S, { key: 3 }, [
23447
23477
  i.multiValue ? (a(!0), d(S, { key: 0 }, M(i.fieldModel, (w, O) => (a(), d("div", null, [
@@ -23454,7 +23484,7 @@ function aD(e, t, n, r, s, i) {
23454
23484
  theme: "tomorrow_night_eighties",
23455
23485
  style: { "min-height": "300px" }
23456
23486
  }, null, 8, ["value", "lang"])
23457
- ]))), 256)) : (a(), d("div", GE, [
23487
+ ]))), 256)) : (a(), d("div", YE, [
23458
23488
  f(o, {
23459
23489
  readonly: !0,
23460
23490
  class: "editor-wrap",
@@ -23465,7 +23495,7 @@ function aD(e, t, n, r, s, i) {
23465
23495
  style: { "min-height": "300px" }
23466
23496
  }, null, 8, ["value", "lang"])
23467
23497
  ]))
23468
- ], 64)) : i.widget === "password" ? (a(), d("div", YE, [
23498
+ ], 64)) : i.widget === "password" ? (a(), d("div", KE, [
23469
23499
  i.multiValue ? (a(!0), d(S, { key: 0 }, M(i.fieldModel, (w, O) => (a(), k(p, {
23470
23500
  gap: "",
23471
23501
  center: ""
@@ -23476,7 +23506,7 @@ function aD(e, t, n, r, s, i) {
23476
23506
  x("input", {
23477
23507
  type: s.unmaskedLookup[`${O}`] ? "text" : "password",
23478
23508
  value: w
23479
- }, null, 8, KE)
23509
+ }, null, 8, ZE)
23480
23510
  ]),
23481
23511
  _: 2
23482
23512
  }, 1024),
@@ -23528,7 +23558,7 @@ function aD(e, t, n, r, s, i) {
23528
23558
  x("input", {
23529
23559
  type: s.unmasked ? "text" : "password",
23530
23560
  value: i.fieldModel
23531
- }, null, 8, ZE)
23561
+ }, null, 8, JE)
23532
23562
  ]),
23533
23563
  _: 1
23534
23564
  }),
@@ -23614,49 +23644,49 @@ function aD(e, t, n, r, s, i) {
23614
23644
  i.multiValue ? (a(!0), d(S, { key: 0 }, M(i.fieldModel, (w, O) => (a(), d("div", null, [
23615
23645
  f(v, null, {
23616
23646
  default: h(() => [
23617
- x("div", { innerHTML: w }, null, 8, JE)
23647
+ x("div", { innerHTML: w }, null, 8, XE)
23618
23648
  ]),
23619
23649
  _: 2
23620
23650
  }, 1024)
23621
23651
  ]))), 256)) : (a(), k(v, { key: 1 }, {
23622
23652
  default: h(() => [
23623
- x("div", { innerHTML: i.fieldModel }, null, 8, XE)
23653
+ x("div", { innerHTML: i.fieldModel }, null, 8, QE)
23624
23654
  ]),
23625
23655
  _: 1
23626
23656
  }))
23627
23657
  ], 64)) : _("", !0),
23628
23658
  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))
23659
+ 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
23660
  ], 64)) : _("", !0),
23631
23661
  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))
23662
+ 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
23663
  ], 64)) : _("", !0),
23634
23664
  i.type == "email" ? (a(), d(S, { key: 4 }, [
23635
23665
  i.multiValue ? (a(!0), d(S, { key: 0 }, M(i.fieldModel, (w, O) => (a(), d("div", null, [
23636
23666
  x("a", {
23637
23667
  href: `mailto:${w}`
23638
- }, b(w), 9, tD)
23639
- ]))), 256)) : (a(), d("div", nD, [
23668
+ }, b(w), 9, nD)
23669
+ ]))), 256)) : (a(), d("div", iD, [
23640
23670
  x("a", {
23641
23671
  href: `mailto:${i.fieldModel}`
23642
- }, b(i.fieldModel), 9, iD)
23672
+ }, b(i.fieldModel), 9, rD)
23643
23673
  ]))
23644
23674
  ], 64)) : _("", !0),
23645
23675
  i.type == "url" ? (a(), d(S, { key: 5 }, [
23646
23676
  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)
23677
+ x("a", { href: w }, b(w), 9, sD)
23678
+ ]))), 256)) : (a(), d("div", lD, [
23679
+ x("a", { href: i.fieldModel }, b(i.fieldModel), 9, oD)
23650
23680
  ]))
23651
23681
  ], 64)) : _("", !0),
23652
23682
  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))
23683
+ 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
23684
  ], 64)) : _("", !0)
23655
23685
  ], 64))
23656
23686
  ], 2)) : _("", !0);
23657
23687
  }
23658
- const Wa = /* @__PURE__ */ T(BE, [["render", aD], ["__scopeId", "data-v-00091aa4"]]);
23659
- const uD = {
23688
+ const Wa = /* @__PURE__ */ T(zE, [["render", uD], ["__scopeId", "data-v-00091aa4"]]);
23689
+ const dD = {
23660
23690
  props: {
23661
23691
  parentModel: {
23662
23692
  type: Object
@@ -23709,7 +23739,7 @@ const uD = {
23709
23739
  }
23710
23740
  }
23711
23741
  };
23712
- function dD(e, t, n, r, s, i) {
23742
+ function cD(e, t, n, r, s, i) {
23713
23743
  const l = y("ux-field-render");
23714
23744
  return a(), d("div", {
23715
23745
  class: A(["ux-render", i.renderClass])
@@ -23727,8 +23757,8 @@ function dD(e, t, n, r, s, i) {
23727
23757
  ], !0)
23728
23758
  ], 2);
23729
23759
  }
23730
- const cD = /* @__PURE__ */ T(uD, [["render", dD], ["__scopeId", "data-v-f2b5ec33"]]);
23731
- function fD(e) {
23760
+ const fD = /* @__PURE__ */ T(dD, [["render", cD], ["__scopeId", "data-v-f2b5ec33"]]);
23761
+ function mD(e) {
23732
23762
  e = e || {}, Math.max(parseInt(e.minimum || 0), 0);
23733
23763
  let t = Math.max(parseInt(e.maximum || 0), 0);
23734
23764
  const n = Ll({}), r = Ut([]);
@@ -23781,7 +23811,7 @@ function fD(e) {
23781
23811
  }
23782
23812
  }), n;
23783
23813
  }
23784
- const mD = {
23814
+ const hD = {
23785
23815
  props: {
23786
23816
  total: {
23787
23817
  type: Number,
@@ -23881,7 +23911,7 @@ const mD = {
23881
23911
  };
23882
23912
  }
23883
23913
  };
23884
- function hD(e, t, n, r, s, i) {
23914
+ function pD(e, t, n, r, s, i) {
23885
23915
  const l = y("native-select"), o = y("flex-cell"), u = y("ux-icon"), m = y("ux-button"), c = y("flex-row");
23886
23916
  return a(), k(c, {
23887
23917
  center: "",
@@ -23981,61 +24011,61 @@ function hD(e, t, n, r, s, i) {
23981
24011
  _: 1
23982
24012
  });
23983
24013
  }
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;
24014
+ const yD = /* @__PURE__ */ T(hD, [["render", pD], ["__scopeId", "data-v-696aa569"]]);
24015
+ var _D = "__lodash_hash_undefined__";
24016
+ function gD(e) {
24017
+ return this.__data__.set(e, _D), this;
23988
24018
  }
23989
- var gD = _D;
23990
- function vD(e) {
24019
+ var vD = gD;
24020
+ function bD(e) {
23991
24021
  return this.__data__.has(e);
23992
24022
  }
23993
- var bD = vD, kD = Ro, xD = gD, wD = bD;
24023
+ var kD = bD, xD = Ro, wD = vD, SD = kD;
23994
24024
  function Ei(e) {
23995
24025
  var t = -1, n = e == null ? 0 : e.length;
23996
- for (this.__data__ = new kD(); ++t < n; )
24026
+ for (this.__data__ = new xD(); ++t < n; )
23997
24027
  this.add(e[t]);
23998
24028
  }
23999
- Ei.prototype.add = Ei.prototype.push = xD;
24000
- Ei.prototype.has = wD;
24001
- var SD = Ei, VD = Ea;
24002
- function OD(e, t) {
24029
+ Ei.prototype.add = Ei.prototype.push = wD;
24030
+ Ei.prototype.has = SD;
24031
+ var VD = Ei, OD = Ea;
24032
+ function TD(e, t) {
24003
24033
  var n = e == null ? 0 : e.length;
24004
- return !!n && VD(e, t, 0) > -1;
24034
+ return !!n && OD(e, t, 0) > -1;
24005
24035
  }
24006
- var TD = OD;
24007
- function CD(e, t, n) {
24036
+ var CD = TD;
24037
+ function ED(e, t, n) {
24008
24038
  for (var r = -1, s = e == null ? 0 : e.length; ++r < s; )
24009
24039
  if (n(t, e[r]))
24010
24040
  return !0;
24011
24041
  return !1;
24012
24042
  }
24013
- var ED = CD;
24014
- function DD(e, t) {
24043
+ var DD = ED;
24044
+ function FD(e, t) {
24015
24045
  return e.has(t);
24016
24046
  }
24017
- var FD = DD, ID = Hr, MD = dn, $D = ID(MD, "Set"), AD = $D;
24018
- function LD() {
24047
+ var ID = FD, MD = Hr, $D = dn, AD = MD($D, "Set"), LD = AD;
24048
+ function ND() {
24019
24049
  }
24020
- var ND = LD;
24021
- function UD(e) {
24050
+ var UD = ND;
24051
+ function PD(e) {
24022
24052
  var t = -1, n = Array(e.size);
24023
24053
  return e.forEach(function(r) {
24024
24054
  n[++t] = r;
24025
24055
  }), n;
24026
24056
  }
24027
- var Ga = UD, hr = AD, PD = ND, jD = Ga, RD = 1 / 0, BD = hr && 1 / jD(new hr([, -0]))[1] == RD ? function(e) {
24057
+ var Ga = PD, hr = LD, jD = UD, RD = Ga, BD = 1 / 0, zD = hr && 1 / RD(new hr([, -0]))[1] == BD ? function(e) {
24028
24058
  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;
24059
+ } : jD, qD = zD, HD = VD, WD = CD, GD = DD, YD = ID, KD = qD, ZD = Ga, JD = 200;
24060
+ function XD(e, t, n) {
24061
+ var r = -1, s = WD, i = e.length, l = !0, o = [], u = o;
24032
24062
  if (n)
24033
- l = !1, s = WD;
24034
- else if (i >= ZD) {
24035
- var m = t ? null : YD(e);
24063
+ l = !1, s = GD;
24064
+ else if (i >= JD) {
24065
+ var m = t ? null : KD(e);
24036
24066
  if (m)
24037
- return KD(m);
24038
- l = !1, s = GD, u = new qD();
24067
+ return ZD(m);
24068
+ l = !1, s = YD, u = new HD();
24039
24069
  } else
24040
24070
  u = t ? [] : o;
24041
24071
  e:
@@ -24051,12 +24081,12 @@ function JD(e, t, n) {
24051
24081
  }
24052
24082
  return o;
24053
24083
  }
24054
- var XD = JD, QD = XD;
24055
- function eF(e) {
24056
- return e && e.length ? QD(e) : [];
24084
+ var QD = XD, eF = QD;
24085
+ function tF(e) {
24086
+ return e && e.length ? eF(e) : [];
24057
24087
  }
24058
- var tF = eF;
24059
- function nF(e, t) {
24088
+ var nF = tF;
24089
+ function iF(e, t) {
24060
24090
  var n = [], r;
24061
24091
  switch (t) {
24062
24092
  case "image":
@@ -24201,7 +24231,7 @@ function El() {
24201
24231
  };
24202
24232
  }
24203
24233
  let Ae, pr, yr;
24204
- const iF = {
24234
+ const rF = {
24205
24235
  emits: [
24206
24236
  "loading",
24207
24237
  "loaded",
@@ -24295,7 +24325,7 @@ const iF = {
24295
24325
  }
24296
24326
  },
24297
24327
  components: {
24298
- Pager: pD,
24328
+ Pager: yD,
24299
24329
  NativeTable: F_,
24300
24330
  FilterBuilder: Ca,
24301
24331
  Search: ji,
@@ -24621,7 +24651,7 @@ const iF = {
24621
24651
  t.push("color"), t.push("bgColor");
24622
24652
  break;
24623
24653
  }
24624
- return tF(t);
24654
+ return nF(t);
24625
24655
  },
24626
24656
  columns() {
24627
24657
  let e = [], t = {};
@@ -24636,7 +24666,7 @@ const iF = {
24636
24666
  }
24637
24667
  var r = this.actualOptions.prefixColumns || [];
24638
24668
  r.forEach(n(!0));
24639
- var s = this.actualOptions.columns, i = s && s.length ? s : nF(this, this.basicType);
24669
+ var s = this.actualOptions.columns, i = s && s.length ? s : iF(this, this.basicType);
24640
24670
  i.length || i.push({
24641
24671
  title: "Title",
24642
24672
  key: "title"
@@ -24791,7 +24821,7 @@ const iF = {
24791
24821
  },
24792
24822
  data() {
24793
24823
  var e = this.selectionManager;
24794
- e || (e = new fD({ minimum: this.minimum, maximum: this.maximum })), this.modelValue && e.setSelection(this.modelValue);
24824
+ e || (e = new mD({ minimum: this.minimum, maximum: this.maximum })), this.modelValue && e.setSelection(this.modelValue);
24795
24825
  const t = Math.max(isNaN(this.defaultPage) ? 1 : this.defaultPage || 1, 1);
24796
24826
  return {
24797
24827
  manager: e,
@@ -24815,8 +24845,8 @@ const iF = {
24815
24845
  actualOptions: this.options
24816
24846
  };
24817
24847
  }
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) {
24848
+ }, 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));
24849
+ function dF(e, t, n, r, s, i) {
24820
24850
  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
24851
  return i.actualDefinition ? (a(), k(m, {
24822
24852
  key: 0,
@@ -24918,7 +24948,7 @@ function uF(e, t, n, r, s, i) {
24918
24948
  left: ""
24919
24949
  }),
24920
24950
  V(),
24921
- rF
24951
+ sF
24922
24952
  ]),
24923
24953
  _: 1
24924
24954
  })
@@ -24991,7 +25021,7 @@ function uF(e, t, n, r, s, i) {
24991
25021
  s.dataSource && !i.boundaryMessage ? (a(), k(Z, { key: 0 }, {
24992
25022
  default: h(() => [
24993
25023
  G(e.$slots, "footera", {}, void 0, !0),
24994
- x("div", sF, [
25024
+ x("div", lF, [
24995
25025
  f(Y, {
24996
25026
  page: s.page,
24997
25027
  "onUpdate:page": t[1] || (t[1] = (J) => s.page = J),
@@ -25023,15 +25053,15 @@ function uF(e, t, n, r, s, i) {
25023
25053
  debounce: 500,
25024
25054
  placeholder: "Keyword Search"
25025
25055
  }, null, 8, ["modelValue", "loading"]),
25026
- lF,
25027
- n.dateFilterEnabled ? (a(), d("div", oF, [
25056
+ oF,
25057
+ n.dateFilterEnabled ? (a(), d("div", aF, [
25028
25058
  f(le, {
25029
25059
  field: i.dateRangeField,
25030
25060
  modelValue: s.dateRangeFilter,
25031
25061
  "onUpdate:modelValue": t[3] || (t[3] = (J) => s.dateRangeFilter = J)
25032
25062
  }, null, 8, ["field", "modelValue"])
25033
25063
  ])) : _("", !0),
25034
- aF,
25064
+ uF,
25035
25065
  f(H, {
25036
25066
  definition: i.actualDefinition,
25037
25067
  modelValue: s.actualFilter,
@@ -25058,8 +25088,8 @@ function uF(e, t, n, r, s, i) {
25058
25088
  _: 3
25059
25089
  })) : _("", !0);
25060
25090
  }
25061
- const dF = /* @__PURE__ */ T(iF, [["render", uF], ["__scopeId", "data-v-362f4d2b"]]);
25062
- const cF = {
25091
+ const cF = /* @__PURE__ */ T(rF, [["render", dF], ["__scopeId", "data-v-362f4d2b"]]);
25092
+ const fF = {
25063
25093
  props: {
25064
25094
  modal: {
25065
25095
  type: Object,
@@ -25089,9 +25119,9 @@ const cF = {
25089
25119
  return this.modal.style && (e = Object.assign(e, this.modal.style)), e;
25090
25120
  }
25091
25121
  }
25092
- }, fF = { class: "modal-wrapper" };
25093
- function mF(e, t, n, r, s, i) {
25094
- return a(), d("div", fF, [
25122
+ }, mF = { class: "modal-wrapper" };
25123
+ function hF(e, t, n, r, s, i) {
25124
+ return a(), d("div", mF, [
25095
25125
  x("div", {
25096
25126
  class: "modal-blanket",
25097
25127
  onClick: t[0] || (t[0] = (...l) => i.blanketClick && i.blanketClick(...l))
@@ -25109,8 +25139,8 @@ function mF(e, t, n, r, s, i) {
25109
25139
  ], 4)
25110
25140
  ]);
25111
25141
  }
25112
- const hF = /* @__PURE__ */ T(cF, [["render", mF], ["__scopeId", "data-v-90c28992"]]);
25113
- const pF = {
25142
+ const pF = /* @__PURE__ */ T(fF, [["render", hF], ["__scopeId", "data-v-90c28992"]]);
25143
+ const yF = {
25114
25144
  mixins: [hn],
25115
25145
  computed: {
25116
25146
  confirmText() {
@@ -25120,25 +25150,25 @@ const pF = {
25120
25150
  return this.options.cancelText || "Cancel";
25121
25151
  }
25122
25152
  }
25123
- }, yF = { class: "padder" }, _F = ["innerHTML"], gF = { class: "padder" };
25124
- function vF(e, t, n, r, s, i) {
25153
+ }, _F = { class: "padder" }, gF = ["innerHTML"], vF = { class: "padder" };
25154
+ function bF(e, t, n, r, s, i) {
25125
25155
  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
25156
  return a(), k(p, { class: "wrapper" }, {
25127
25157
  default: h(() => [
25128
25158
  f(l, null, {
25129
25159
  default: h(() => [
25130
- x("div", yF, [
25160
+ x("div", _F, [
25131
25161
  x("h5", null, b(e.options.title), 1),
25132
25162
  x("div", {
25133
25163
  innerHTML: e.options.description
25134
- }, null, 8, _F)
25164
+ }, null, 8, gF)
25135
25165
  ])
25136
25166
  ]),
25137
25167
  _: 1
25138
25168
  }),
25139
25169
  f(c, null, {
25140
25170
  default: h(() => [
25141
- x("div", gF, [
25171
+ x("div", vF, [
25142
25172
  f(m, null, {
25143
25173
  default: h(() => [
25144
25174
  f(u, null, {
@@ -25180,8 +25210,8 @@ function vF(e, t, n, r, s, i) {
25180
25210
  _: 1
25181
25211
  });
25182
25212
  }
25183
- const bF = /* @__PURE__ */ T(pF, [["render", vF], ["__scopeId", "data-v-be545ba8"]]);
25184
- const kF = {
25213
+ const kF = /* @__PURE__ */ T(yF, [["render", bF], ["__scopeId", "data-v-be545ba8"]]);
25214
+ const xF = {
25185
25215
  data() {
25186
25216
  return {
25187
25217
  selected: null,
@@ -25220,21 +25250,21 @@ const kF = {
25220
25250
  this.selected = e, this.close(e);
25221
25251
  }
25222
25252
  }
25223
- }, xF = { class: "options-modal-header" }, wF = { class: "padder" }, SF = { class: "options-modal-header" }, VF = { class: "padder" }, OF = ["onClick"], TF = {
25253
+ }, wF = { class: "options-modal-header" }, SF = { class: "padder" }, VF = { class: "options-modal-header" }, OF = { class: "padder" }, TF = ["onClick"], CF = {
25224
25254
  key: 0,
25225
25255
  class: "title"
25226
- }, CF = {
25256
+ }, EF = {
25227
25257
  key: 1,
25228
25258
  class: "description"
25229
- }, EF = { class: "padder" };
25230
- function DF(e, t, n, r, s, i) {
25259
+ }, DF = { class: "padder" };
25260
+ function FF(e, t, n, r, s, i) {
25231
25261
  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
25262
  return a(), k(w, { class: "wrapper" }, {
25233
25263
  default: h(() => [
25234
25264
  e.options.title || e.options.description ? (a(), k(l, { key: 0 }, {
25235
25265
  default: h(() => [
25236
- x("div", xF, [
25237
- x("div", wF, [
25266
+ x("div", wF, [
25267
+ x("div", SF, [
25238
25268
  x("h5", null, b(e.options.title), 1),
25239
25269
  x("div", null, b(e.options.description), 1)
25240
25270
  ])
@@ -25244,8 +25274,8 @@ function DF(e, t, n, r, s, i) {
25244
25274
  })) : _("", !0),
25245
25275
  i.searchEnabled ? (a(), k(l, { key: 1 }, {
25246
25276
  default: h(() => [
25247
- x("div", SF, [
25248
- x("div", VF, [
25277
+ x("div", VF, [
25278
+ x("div", OF, [
25249
25279
  f(o, {
25250
25280
  modelValue: s.search,
25251
25281
  "onUpdate:modelValue": t[0] || (t[0] = (O) => s.search = O),
@@ -25274,8 +25304,8 @@ function DF(e, t, n, r, s, i) {
25274
25304
  default: h(() => [
25275
25305
  f(u, null, {
25276
25306
  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)
25307
+ O.title ? (a(), d("div", CF, b(O.title), 1)) : _("", !0),
25308
+ O.description ? (a(), d("div", EF, b(O.description), 1)) : _("", !0)
25279
25309
  ]),
25280
25310
  _: 2
25281
25311
  }, 1024),
@@ -25291,14 +25321,14 @@ function DF(e, t, n, r, s, i) {
25291
25321
  ]),
25292
25322
  _: 2
25293
25323
  }, 1024)
25294
- ], 8, OF))), 256))
25324
+ ], 8, TF))), 256))
25295
25325
  ], 2)
25296
25326
  ]),
25297
25327
  _: 1
25298
25328
  }),
25299
25329
  f(v, { class: "options-modal-footer" }, {
25300
25330
  default: h(() => [
25301
- x("div", EF, [
25331
+ x("div", DF, [
25302
25332
  f(g, {
25303
25333
  size: "sm",
25304
25334
  onClick: e.dismiss
@@ -25316,8 +25346,8 @@ function DF(e, t, n, r, s, i) {
25316
25346
  _: 1
25317
25347
  });
25318
25348
  }
25319
- const FF = /* @__PURE__ */ T(kF, [["render", DF], ["__scopeId", "data-v-60de0d31"]]);
25320
- const IF = {
25349
+ const IF = /* @__PURE__ */ T(xF, [["render", FF], ["__scopeId", "data-v-60de0d31"]]);
25350
+ const MF = {
25321
25351
  mixins: [hn],
25322
25352
  data() {
25323
25353
  return {
@@ -25344,8 +25374,8 @@ const IF = {
25344
25374
  created() {
25345
25375
  this.options.model && (this.model = this.options.model);
25346
25376
  }
25347
- }, MF = { class: "padder" }, $F = { key: 0 }, AF = { class: "padder" };
25348
- function LF(e, t, n, r, s, i) {
25377
+ }, $F = { class: "padder" }, AF = { key: 0 }, LF = { class: "padder" };
25378
+ function NF(e, t, n, r, s, i) {
25349
25379
  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
25380
  return a(), d("form", {
25351
25381
  class: "wrapper",
@@ -25355,9 +25385,9 @@ function LF(e, t, n, r, s, i) {
25355
25385
  default: h(() => [
25356
25386
  f(o, null, {
25357
25387
  default: h(() => [
25358
- x("div", MF, [
25388
+ x("div", $F, [
25359
25389
  x("h5", null, b(e.options.title), 1),
25360
- e.options.description ? (a(), d("p", $F, b(e.options.description), 1)) : _("", !0),
25390
+ e.options.description ? (a(), d("p", AF, b(e.options.description), 1)) : _("", !0),
25361
25391
  f(l, {
25362
25392
  ref: "form",
25363
25393
  "onForm:state": i.formStateUpdated,
@@ -25371,7 +25401,7 @@ function LF(e, t, n, r, s, i) {
25371
25401
  }),
25372
25402
  f(g, { class: "border-top" }, {
25373
25403
  default: h(() => [
25374
- x("div", AF, [
25404
+ x("div", LF, [
25375
25405
  f(p, null, {
25376
25406
  default: h(() => [
25377
25407
  f(m, { shrink: "" }, {
@@ -25417,10 +25447,10 @@ function LF(e, t, n, r, s, i) {
25417
25447
  })
25418
25448
  ], 32);
25419
25449
  }
25420
- const NF = /* @__PURE__ */ T(IF, [["render", LF], ["__scopeId", "data-v-99b9c871"]]);
25421
- const UF = {
25450
+ const UF = /* @__PURE__ */ T(MF, [["render", NF], ["__scopeId", "data-v-99b9c871"]]);
25451
+ const PF = {
25422
25452
  components: {
25423
- ContentBrowser: dF,
25453
+ ContentBrowser: cF,
25424
25454
  Search: ji
25425
25455
  },
25426
25456
  mixins: [hn],
@@ -25509,8 +25539,8 @@ const UF = {
25509
25539
  this.close(this.model);
25510
25540
  }
25511
25541
  }
25512
- }, PF = { class: "header" }, jF = { class: "font-muted font-sm" }, RF = { class: "rolodex" };
25513
- function BF(e, t, n, r, s, i) {
25542
+ }, jF = { class: "header" }, RF = { class: "font-muted font-sm" }, BF = { class: "rolodex" };
25543
+ function zF(e, t, n, r, s, i) {
25514
25544
  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
25545
  return a(), k(l, { class: "wrapper" }, {
25516
25546
  default: h(() => [
@@ -25523,7 +25553,7 @@ function BF(e, t, n, r, s, i) {
25523
25553
  s.definition ? (a(), d(S, { key: 0 }, [
25524
25554
  f(g, null, {
25525
25555
  default: h(() => [
25526
- x("div", PF, [
25556
+ x("div", jF, [
25527
25557
  f(p, {
25528
25558
  vcenter: "",
25529
25559
  gap: ""
@@ -25537,7 +25567,7 @@ function BF(e, t, n, r, s, i) {
25537
25567
  }),
25538
25568
  i.maximum ? (a(), k(o, { key: 0 }, {
25539
25569
  default: h(() => [
25540
- x("span", jF, "(" + b(s.model.length) + " of " + b(i.maximum) + ")", 1)
25570
+ x("span", RF, "(" + b(s.model.length) + " of " + b(i.maximum) + ")", 1)
25541
25571
  ]),
25542
25572
  _: 1
25543
25573
  })) : _("", !0),
@@ -25611,7 +25641,7 @@ function BF(e, t, n, r, s, i) {
25611
25641
  abovecontent: h(() => [
25612
25642
  i.rolodexEnabled ? (a(), k(g, { key: 0 }, {
25613
25643
  default: h(() => [
25614
- x("div", RF, [
25644
+ x("div", BF, [
25615
25645
  f(c, {
25616
25646
  size: "sm",
25617
25647
  onClick: t[2] || (t[2] = (w) => i.toggleRolodex("")),
@@ -25647,8 +25677,8 @@ function BF(e, t, n, r, s, i) {
25647
25677
  _: 1
25648
25678
  });
25649
25679
  }
25650
- const zF = /* @__PURE__ */ T(UF, [["render", BF], ["__scopeId", "data-v-651362cd"]]);
25651
- const qF = {
25680
+ const qF = /* @__PURE__ */ T(PF, [["render", zF], ["__scopeId", "data-v-651362cd"]]);
25681
+ const HF = {
25652
25682
  components: {
25653
25683
  ScopeSelect: xb
25654
25684
  // Search,
@@ -25707,14 +25737,14 @@ const qF = {
25707
25737
  this.close(this.model);
25708
25738
  }
25709
25739
  }
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) {
25740
+ }, 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" };
25741
+ function ZF(e, t, n, r, s, i) {
25712
25742
  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
25743
  return a(), k(g, { class: "wrapper" }, {
25714
25744
  default: h(() => [
25715
25745
  f(m, null, {
25716
25746
  default: h(() => [
25717
- x("div", WF, [
25747
+ x("div", GF, [
25718
25748
  f(u, {
25719
25749
  vcenter: "",
25720
25750
  gap: ""
@@ -25722,7 +25752,7 @@ function KF(e, t, n, r, s, i) {
25722
25752
  default: h(() => [
25723
25753
  f(l, null, {
25724
25754
  default: h(() => [
25725
- GF
25755
+ YF
25726
25756
  ]),
25727
25757
  _: 1
25728
25758
  }),
@@ -25749,7 +25779,7 @@ function KF(e, t, n, r, s, i) {
25749
25779
  }),
25750
25780
  f(p, { class: "scroll-body" }, {
25751
25781
  default: h(() => [
25752
- x("div", YF, [
25782
+ x("div", KF, [
25753
25783
  f(c, {
25754
25784
  action: i.action,
25755
25785
  single: i.single,
@@ -25765,7 +25795,7 @@ function KF(e, t, n, r, s, i) {
25765
25795
  _: 1
25766
25796
  });
25767
25797
  }
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 = {
25798
+ 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
25799
  props: {
25770
25800
  accept: {
25771
25801
  type: String
@@ -25894,7 +25924,7 @@ const ZF = /* @__PURE__ */ T(qF, [["render", KF], ["__scopeId", "data-v-e1cac3f3
25894
25924
  return new Ll().bootstrap(m), n.queue.unshift(m), m;
25895
25925
  },
25896
25926
  cancelFile(e) {
25897
- e.state == ot && (e.cancel && e.cancel("Cancelled"), e.bytesLoaded = 0, e.percent = 0, e.state = At, e.dispatch(XF));
25927
+ e.state == ot && (e.cancel && e.cancel("Cancelled"), e.bytesLoaded = 0, e.percent = 0, e.state = At, e.dispatch(QF));
25898
25928
  },
25899
25929
  removeFile(e) {
25900
25930
  var t = this.queue.indexOf(e);
@@ -25920,7 +25950,7 @@ const ZF = /* @__PURE__ */ T(qF, [["render", KF], ["__scopeId", "data-v-e1cac3f3
25920
25950
  case ot:
25921
25951
  return;
25922
25952
  }
25923
- e.state = ot, e.dispatch(QF);
25953
+ e.state = ot, e.dispatch(eI);
25924
25954
  {
25925
25955
  const c = e.size, p = e.name, g = e.mime, { data: v } = await t.$sdk.api.post("/file/check", {
25926
25956
  fileSize: c,
@@ -25942,7 +25972,7 @@ const ZF = /* @__PURE__ */ T(qF, [["render", KF], ["__scopeId", "data-v-e1cac3f3
25942
25972
  },
25943
25973
  onUploadProgress: (c) => {
25944
25974
  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);
25975
+ e.percent = p, e.bytesLoaded = c.loaded, e.bytesTotal = c.total, e.dispatch(tI, c);
25946
25976
  }
25947
25977
  };
25948
25978
  const o = t.$sdk.api.CancelToken.source();
@@ -25954,7 +25984,7 @@ const ZF = /* @__PURE__ */ T(qF, [["render", KF], ["__scopeId", "data-v-e1cac3f3
25954
25984
  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
25985
  }), m.catch(function(c) {
25956
25986
  var p = t.$sdk.api.wasCancelled(c);
25957
- p ? e.state = At : (e.state = JF, e.dispatch(tI, c), t.uploadNextFile());
25987
+ p ? e.state = At : (e.state = XF, e.dispatch(nI, c), t.uploadNextFile());
25958
25988
  });
25959
25989
  },
25960
25990
  toggle() {
@@ -25995,9 +26025,9 @@ const ZF = /* @__PURE__ */ T(qF, [["render", KF], ["__scopeId", "data-v-e1cac3f3
25995
26025
  e.uploading ? e.pause() : (e.queue.length = 0, e.defaultFreeformTags.length = 0, e.defaultScopes.length = 0);
25996
26026
  }
25997
26027
  }
25998
- }, iI = { class: "uploader" }, rI = ["accept"], sI = ["accept"];
25999
- function lI(e, t, n, r, s, i) {
26000
- return a(), d("div", iI, [
26028
+ }, rI = { class: "uploader" }, sI = ["accept"], lI = ["accept"];
26029
+ function oI(e, t, n, r, s, i) {
26030
+ return a(), d("div", rI, [
26001
26031
  x("input", {
26002
26032
  style: { display: "none" },
26003
26033
  accept: n.accept,
@@ -26005,13 +26035,13 @@ function lI(e, t, n, r, s, i) {
26005
26035
  type: "file",
26006
26036
  multiple: "",
26007
26037
  onChange: t[0] || (t[0] = (l) => i.filesSelected(l.target.files))
26008
- }, null, 40, rI),
26038
+ }, null, 40, sI),
26009
26039
  x("input", {
26010
26040
  style: { display: "none" },
26011
26041
  accept: n.accept,
26012
26042
  ref: "immediateFile",
26013
26043
  type: "file"
26014
- }, null, 8, sI),
26044
+ }, null, 8, lI),
26015
26045
  G(e.$slots, "default", {
26016
26046
  queue: s.queue,
26017
26047
  items: e.items,
@@ -26023,11 +26053,11 @@ function lI(e, t, n, r, s, i) {
26023
26053
  })
26024
26054
  ]);
26025
26055
  }
26026
- const mI = /* @__PURE__ */ T(nI, [["render", lI]]);
26027
- function oI(e, t) {
26056
+ const hI = /* @__PURE__ */ T(iI, [["render", oI]]);
26057
+ function aI(e, t) {
26028
26058
  return t.reduce((n, r) => Math.abs(r - e) < Math.abs(n - e) ? r : n);
26029
26059
  }
26030
- function hI() {
26060
+ function pI() {
26031
26061
  var e = Ut({
26032
26062
  mounted: !1,
26033
26063
  screen: {
@@ -26100,7 +26130,7 @@ function hI() {
26100
26130
  point: 0
26101
26131
  }, l = 0;
26102
26132
  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;
26133
+ const u = aI(r, [320, 768, 1200, 1800, 2e3]), m = u * 1, c = u * 1.5, p = u * 2;
26104
26134
  e.image = {
26105
26135
  auto: {
26106
26136
  low: m,
@@ -26114,7 +26144,7 @@ function hI() {
26114
26144
  n.removeEventListener("resize", e.resize), n = !1, t = !1, e.mounted = !1;
26115
26145
  }, e;
26116
26146
  }
26117
- const aI = `qik vue ui ${iu}`, Fl = {
26147
+ const uI = `qik vue ui ${iu}`, Fl = {
26118
26148
  FlexColumn: _c,
26119
26149
  FlexBody: kc,
26120
26150
  FlexHeader: Vc,
@@ -26134,7 +26164,7 @@ const aI = `qik vue ui ${iu}`, Fl = {
26134
26164
  UxSubmissionForm: Cl,
26135
26165
  UxFormField: ns,
26136
26166
  UxSubmissionForm: Cl,
26137
- UxRender: cD,
26167
+ UxRender: fD,
26138
26168
  UxRenderField: Wa,
26139
26169
  UxIcon: Fg,
26140
26170
  UxMenu: $g,
@@ -26151,23 +26181,23 @@ const aI = `qik vue ui ${iu}`, Fl = {
26151
26181
  Avatar: fg,
26152
26182
  Spinner: Rn,
26153
26183
  ProgressBar: Xg,
26154
- UxModal: hF,
26184
+ UxModal: pF,
26155
26185
  Compile: Ha
26156
- }, pI = {
26186
+ }, yI = {
26157
26187
  install(e, t) {
26158
26188
  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) {
26189
+ 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
26190
  return new Promise(function(s, i) {
26161
26191
  r.id = String(t.modals.length), r.resolve = s, r.reject = i, t.modals.splice(r.id, 0, r);
26162
26192
  });
26163
26193
  }, t.prompt = function(r, s) {
26164
26194
  return s = s || {}, s.model = s.model || {}, s.fields = r, t.modal({
26165
- component: NF,
26195
+ component: UF,
26166
26196
  options: s
26167
26197
  });
26168
26198
  }, t.browse = function(r, s) {
26169
26199
  return s = s || {}, s.type = r, s.model = s.model || [], t.modal({
26170
- component: zF,
26200
+ component: qF,
26171
26201
  options: s
26172
26202
  });
26173
26203
  }, t.selectScopes = async function(r) {
@@ -26181,17 +26211,17 @@ const aI = `qik vue ui ${iu}`, Fl = {
26181
26211
  i
26182
26212
  );
26183
26213
  return u.length === 1 ? Promise.resolve(u) : t.modal({
26184
- component: ZF,
26214
+ component: JF,
26185
26215
  options: r
26186
26216
  });
26187
26217
  }, t.confirm = function(r, s) {
26188
26218
  return s = s || {}, s.title = r, t.modal({
26189
- component: bF,
26219
+ component: kF,
26190
26220
  options: s
26191
26221
  });
26192
26222
  }, t.options = function(r, s, i, l) {
26193
26223
  return l = l || {}, t.modal({
26194
- component: FF,
26224
+ component: IF,
26195
26225
  options: {
26196
26226
  title: s,
26197
26227
  description: i,
@@ -26213,10 +26243,10 @@ const aI = `qik vue ui ${iu}`, Fl = {
26213
26243
  };
26214
26244
  export {
26215
26245
  fg as Avatar,
26216
- jS as CodeEditor,
26217
- dF as ContentBrowser,
26246
+ RS as CodeEditor,
26247
+ cF as ContentBrowser,
26218
26248
  mv as DateRange,
26219
- hI as Device,
26249
+ pI as Device,
26220
26250
  ww as FileDrop,
26221
26251
  kc as FlexBody,
26222
26252
  Ic as FlexCell,
@@ -26229,18 +26259,18 @@ export {
26229
26259
  Xo as Item,
26230
26260
  hn as ModalMixin,
26231
26261
  yt as NativeSelect,
26232
- fI as Pager,
26262
+ mI as Pager,
26233
26263
  zc as Panel,
26234
26264
  Gc as PanelBody,
26235
26265
  tf as PanelFooter,
26236
26266
  Jc as PanelHeader,
26237
26267
  Xg as ProgressBar,
26238
- pI as QikUI,
26268
+ yI as QikUI,
26239
26269
  w_ as RememberScrollMixin,
26240
26270
  xb as ScopeSelect,
26241
26271
  Ob as ScopeSelectButton,
26242
26272
  ji as Search,
26243
- fD as Selection,
26273
+ mD as Selection,
26244
26274
  Rn as Spinner,
26245
26275
  dc as StripeElement,
26246
26276
  hc as StripeElements,
@@ -26254,12 +26284,12 @@ export {
26254
26284
  Cg as UXLink,
26255
26285
  sv as UXList,
26256
26286
  av as UXListItem,
26257
- v2 as UXLocationSelect,
26287
+ b2 as UXLocationSelect,
26258
26288
  vv as UXMap,
26259
26289
  $g as UXMenu,
26260
26290
  Ng as UXMenuList,
26261
26291
  tv as UXPill,
26262
- cD as UXRender,
26292
+ fD as UXRender,
26263
26293
  Wa as UXRenderField,
26264
26294
  Cl as UXSubmissionForm,
26265
26295
  Ko as UXSwitch,
@@ -26267,12 +26297,12 @@ export {
26267
26297
  F_ as UXTable,
26268
26298
  Qf as UXTabset,
26269
26299
  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
26300
+ hI as UploadService,
26301
+ kF as UxConfirmModal,
26302
+ qF as UxContentModal,
26303
+ pF as UxModal,
26304
+ IF as UxOptionsModal,
26305
+ UF as UxPromptModal,
26306
+ JF as UxScopeModal
26277
26307
  };
26278
26308
  //# sourceMappingURL=lib.es.js.map