@qikdev/vue-ui 0.2.206 → 0.2.207

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 Cr, ref as Jt, toRefs as wl, onMounted as Sl, onBeforeUnmount as qo, watch as Er, computed as fr, openBlock as o, createElementBlock as d, renderSlot as H, createCommentVNode as _, normalizeClass as N, useSlots as Go, reactive as Ti, provide as Li, resolveComponent as y, Fragment as S, unref as zn, createBlock as k, withCtx as h, createVNode as m, renderList as F, toDisplayString as v, withDirectives as K, vShow as di, createElementVNode as x, withModifiers as B, createTextVNode as T, h as mr, mergeProps as Oi, toHandlers as Ar, normalizeStyle as He, resolveDynamicComponent as ft, vModelSelect as Ot, pushScopeId as Ye, popScopeId as Ze, Teleport as Wo, vModelText as se, withKeys as _e, TransitionGroup as Ko, nextTick as Tl, vModelDynamic as Hn } from "vue";
3
3
  import { EventDispatcher as Yo } from "@qikdev/sdk";
4
- const Zo = "0.2.206";
4
+ const Zo = "0.2.207";
5
5
  class Pt extends Error {
6
6
  }
7
7
  class Jo extends Pt {
@@ -7455,12 +7455,15 @@ const A_ = {
7455
7455
  }
7456
7456
  },
7457
7457
  computed: {
7458
+ usePills() {
7459
+ return this.field.pills || this.pills;
7460
+ },
7458
7461
  returnObject() {
7459
7462
  return this.type == "reference";
7460
7463
  },
7461
7464
  classes() {
7462
7465
  var e = [];
7463
- return this.multiValue ? e.push("multiple") : e.push("single"), this.pills && e.push("pills"), e;
7466
+ return this.multiValue ? e.push("multiple") : e.push("single"), this.usePills && e.push("pills"), e;
7464
7467
  },
7465
7468
  summary() {
7466
7469
  if (this.multiValue)
@@ -7509,7 +7512,7 @@ const A_ = {
7509
7512
  }));
7510
7513
  }
7511
7514
  }
7512
- }, M_ = (e) => (Ye("data-v-60640a7f"), e = e(), Ze(), e), D_ = {
7515
+ }, M_ = (e) => (Ye("data-v-7cdd7ed2"), e = e(), Ze(), e), D_ = {
7513
7516
  key: 0,
7514
7517
  class: "ux-field-title"
7515
7518
  }, I_ = {
@@ -7648,7 +7651,7 @@ function Z_(e, t, n, r, s, i) {
7648
7651
  ]))
7649
7652
  ], 2);
7650
7653
  }
7651
- const pt = /* @__PURE__ */ V(A_, [["render", Z_], ["__scopeId", "data-v-60640a7f"]]);
7654
+ const pt = /* @__PURE__ */ V(A_, [["render", Z_], ["__scopeId", "data-v-7cdd7ed2"]]);
7652
7655
  const J_ = {
7653
7656
  props: {
7654
7657
  total: {
@@ -13581,25 +13584,25 @@ const Qb = {
13581
13584
  return "00:00";
13582
13585
  }
13583
13586
  }
13584
- }, e0 = {
13587
+ }, ek = {
13585
13588
  key: 0,
13586
13589
  class: "ux-field-title"
13587
- }, t0 = {
13590
+ }, tk = {
13588
13591
  key: 0,
13589
13592
  class: "ux-required-marker"
13590
- }, n0 = {
13593
+ }, nk = {
13591
13594
  key: 1,
13592
13595
  class: "ux-field-description"
13593
- }, i0 = { key: 2 }, r0 = ["onUpdate:modelValue"];
13594
- function s0(e, t, n, r, s, i) {
13596
+ }, ik = { key: 2 }, rk = ["onUpdate:modelValue"];
13597
+ function sk(e, t, n, r, s, i) {
13595
13598
  const l = y("flex-cell"), a = y("ux-icon"), u = y("ux-button"), f = y("flex-row");
13596
13599
  return o(), d(S, null, [
13597
- e.showLabel ? (o(), d("label", e0, [
13600
+ e.showLabel ? (o(), d("label", ek, [
13598
13601
  T(v(e.label) + " ", 1),
13599
- e.required ? (o(), d("span", t0, "*")) : _("", !0)
13602
+ e.required ? (o(), d("span", tk, "*")) : _("", !0)
13600
13603
  ])) : _("", !0),
13601
- e.showDescription ? (o(), d("div", n0, v(e.description), 1)) : _("", !0),
13602
- e.multiValue ? (o(), d("div", i0, [
13604
+ e.showDescription ? (o(), d("div", nk, v(e.description), 1)) : _("", !0),
13605
+ e.multiValue ? (o(), d("div", ik, [
13603
13606
  (o(!0), d(S, null, F(e.model, (c, p) => (o(), k(f, {
13604
13607
  class: "ux-text-row",
13605
13608
  key: p
@@ -13615,7 +13618,7 @@ function s0(e, t, n, r, s, i) {
13615
13618
  ref: "input",
13616
13619
  onKeydown: t[1] || (t[1] = _e(B((g) => e.add(), ["stop", "prevent"]), ["enter"])),
13617
13620
  "onUpdate:modelValue": (g) => e.model[p] = g
13618
- }, null, 40, r0), [
13621
+ }, null, 40, rk), [
13619
13622
  [se, e.model[p]]
13620
13623
  ])
13621
13624
  ]),
@@ -13663,8 +13666,8 @@ function s0(e, t, n, r, s, i) {
13663
13666
  ])
13664
13667
  ], 64);
13665
13668
  }
13666
- const l0 = /* @__PURE__ */ V(Qb, [["render", s0], ["__scopeId", "data-v-9ae5aa1e"]]);
13667
- const a0 = {
13669
+ const lk = /* @__PURE__ */ V(Qb, [["render", sk], ["__scopeId", "data-v-9ae5aa1e"]]);
13670
+ const ak = {
13668
13671
  components: {
13669
13672
  Daterange: lv
13670
13673
  },
@@ -13700,25 +13703,25 @@ const a0 = {
13700
13703
  return {};
13701
13704
  }
13702
13705
  }
13703
- }, o0 = {
13706
+ }, ok = {
13704
13707
  key: 0,
13705
13708
  class: "ux-field-title"
13706
- }, u0 = {
13709
+ }, uk = {
13707
13710
  key: 0,
13708
13711
  class: "ux-required-marker"
13709
- }, d0 = {
13712
+ }, dk = {
13710
13713
  key: 1,
13711
13714
  class: "ux-field-description"
13712
- }, c0 = { key: 2 };
13713
- function f0(e, t, n, r, s, i) {
13715
+ }, ck = { key: 2 };
13716
+ function fk(e, t, n, r, s, i) {
13714
13717
  const l = y("daterange", !0), a = y("flex-cell"), u = y("ux-icon"), f = y("ux-button"), c = y("flex-row");
13715
13718
  return o(), d(S, null, [
13716
- e.showLabel ? (o(), d("label", o0, [
13719
+ e.showLabel ? (o(), d("label", ok, [
13717
13720
  T(v(e.label) + " ", 1),
13718
- e.required ? (o(), d("span", u0, "*")) : _("", !0)
13721
+ e.required ? (o(), d("span", uk, "*")) : _("", !0)
13719
13722
  ])) : _("", !0),
13720
- e.showDescription ? (o(), d("div", d0, v(e.description), 1)) : _("", !0),
13721
- e.multiValue ? (o(), d("div", c0, [
13723
+ e.showDescription ? (o(), d("div", dk, v(e.description), 1)) : _("", !0),
13724
+ e.multiValue ? (o(), d("div", ck, [
13722
13725
  (o(!0), d(S, null, F(i.model, (p, g) => (o(), k(c, {
13723
13726
  class: "ux-text-row",
13724
13727
  key: g
@@ -13773,11 +13776,11 @@ function f0(e, t, n, r, s, i) {
13773
13776
  }, null, 8, ["onFocus", "modelValue"]))
13774
13777
  ], 64);
13775
13778
  }
13776
- const m0 = /* @__PURE__ */ V(a0, [["render", f0], ["__scopeId", "data-v-b6688859"]]);
13779
+ const mk = /* @__PURE__ */ V(ak, [["render", fk], ["__scopeId", "data-v-b6688859"]]);
13777
13780
  function il(e) {
13778
13781
  return Array.isArray(e) ? !!e[0] : !!e;
13779
13782
  }
13780
- const h0 = {
13783
+ const hk = {
13781
13784
  mixins: [Q],
13782
13785
  components: {
13783
13786
  UxCheckbox: Hr
@@ -13810,17 +13813,17 @@ const h0 = {
13810
13813
  return String(this.description).length > 2;
13811
13814
  }
13812
13815
  }
13813
- }, p0 = {
13816
+ }, pk = {
13814
13817
  key: 0,
13815
13818
  class: "ux-field-title"
13816
- }, y0 = {
13819
+ }, yk = {
13817
13820
  key: 0,
13818
13821
  class: "ux-required-marker"
13819
- }, _0 = {
13822
+ }, _k = {
13820
13823
  key: 1,
13821
13824
  class: "ux-field-description"
13822
13825
  };
13823
- function g0(e, t, n, r, s, i) {
13826
+ function gk(e, t, n, r, s, i) {
13824
13827
  const l = y("ux-checkbox"), a = y("flex-cell"), u = y("flex-row");
13825
13828
  return o(), d("div", null, [
13826
13829
  m(u, {
@@ -13843,11 +13846,11 @@ function g0(e, t, n, r, s, i) {
13843
13846
  m(a, { vcenter: "" }, {
13844
13847
  default: h(() => [
13845
13848
  x("div", null, [
13846
- e.showLabel ? (o(), d("label", p0, [
13849
+ e.showLabel ? (o(), d("label", pk, [
13847
13850
  T(v(e.label) + " ", 1),
13848
- e.required ? (o(), d("span", y0, "*")) : _("", !0)
13851
+ e.required ? (o(), d("span", yk, "*")) : _("", !0)
13849
13852
  ])) : _("", !0),
13850
- e.showDescription ? (o(), d("div", _0, v(e.description), 1)) : _("", !0)
13853
+ e.showDescription ? (o(), d("div", _k, v(e.description), 1)) : _("", !0)
13851
13854
  ])
13852
13855
  ]),
13853
13856
  _: 1
@@ -13857,7 +13860,7 @@ function g0(e, t, n, r, s, i) {
13857
13860
  })
13858
13861
  ]);
13859
13862
  }
13860
- const v0 = /* @__PURE__ */ V(h0, [["render", g0]]), b0 = {
13863
+ const vk = /* @__PURE__ */ V(hk, [["render", gk]]), bk = {
13861
13864
  props: {
13862
13865
  modelValue: {
13863
13866
  type: [String, Array]
@@ -13869,10 +13872,10 @@ const v0 = /* @__PURE__ */ V(h0, [["render", g0]]), b0 = {
13869
13872
  return "";
13870
13873
  }
13871
13874
  }
13872
- }, k0 = { key: 0 }, x0 = ["innerHTML"], w0 = ["innerHTML"];
13873
- function S0(e, t, n, r, s, i) {
13875
+ }, kk = { key: 0 }, xk = ["innerHTML"], wk = ["innerHTML"];
13876
+ function Sk(e, t, n, r, s, i) {
13874
13877
  const l = y("flex-cell"), a = y("ux-icon"), u = y("ux-button"), f = y("flex-row");
13875
- return e.multiValue ? (o(), d("div", k0, [
13878
+ return e.multiValue ? (o(), d("div", kk, [
13876
13879
  m(f, { class: "ux-text-row" }, {
13877
13880
  default: h(() => [
13878
13881
  m(l, null, {
@@ -13880,7 +13883,7 @@ function S0(e, t, n, r, s, i) {
13880
13883
  (o(!0), d(S, null, F(e.model, (c, p) => (o(), d("div", {
13881
13884
  innerHTML: e.field.template,
13882
13885
  key: p
13883
- }, null, 8, x0))), 128))
13886
+ }, null, 8, xk))), 128))
13884
13887
  ]),
13885
13888
  _: 1
13886
13889
  }),
@@ -13918,58 +13921,58 @@ function S0(e, t, n, r, s, i) {
13918
13921
  ])) : (o(), d("div", {
13919
13922
  key: 1,
13920
13923
  innerHTML: e.field.template
13921
- }, null, 8, w0));
13924
+ }, null, 8, wk));
13922
13925
  }
13923
- const T0 = /* @__PURE__ */ V(b0, [["render", S0]]);
13924
- var O0 = Math.ceil, V0 = Math.max;
13925
- function C0(e, t, n, r) {
13926
- for (var s = -1, i = V0(O0((t - e) / (n || 1)), 0), l = Array(i); i--; )
13926
+ const Tk = /* @__PURE__ */ V(bk, [["render", Sk]]);
13927
+ var Ok = Math.ceil, Vk = Math.max;
13928
+ function Ck(e, t, n, r) {
13929
+ for (var s = -1, i = Vk(Ok((t - e) / (n || 1)), 0), l = Array(i); i--; )
13927
13930
  l[r ? i : ++s] = e, e += n;
13928
13931
  return l;
13929
13932
  }
13930
- var E0 = C0, A0 = 9007199254740991;
13931
- function M0(e) {
13932
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= A0;
13933
+ var Ek = Ck, Ak = 9007199254740991;
13934
+ function Mk(e) {
13935
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Ak;
13933
13936
  }
13934
- var ho = M0, D0 = Va, I0 = ho;
13935
- function F0(e) {
13936
- return e != null && I0(e.length) && !D0(e);
13937
+ var ho = Mk, Dk = Va, Ik = ho;
13938
+ function Fk(e) {
13939
+ return e != null && Ik(e.length) && !Dk(e);
13937
13940
  }
13938
- var Kr = F0, $0 = 9007199254740991, N0 = /^(?:0|[1-9]\d*)$/;
13939
- function L0(e, t) {
13941
+ var Kr = Fk, $k = 9007199254740991, Nk = /^(?:0|[1-9]\d*)$/;
13942
+ function Lk(e, t) {
13940
13943
  var n = typeof e;
13941
- return t = t ?? $0, !!t && (n == "number" || n != "symbol" && N0.test(e)) && e > -1 && e % 1 == 0 && e < t;
13944
+ return t = t ?? $k, !!t && (n == "number" || n != "symbol" && Nk.test(e)) && e > -1 && e % 1 == 0 && e < t;
13942
13945
  }
13943
- var po = L0, P0 = Ca, U0 = Kr, j0 = po, R0 = In;
13944
- function B0(e, t, n) {
13945
- if (!R0(n))
13946
+ var po = Lk, Pk = Ca, Uk = Kr, jk = po, Rk = In;
13947
+ function Bk(e, t, n) {
13948
+ if (!Rk(n))
13946
13949
  return !1;
13947
13950
  var r = typeof t;
13948
- return (r == "number" ? U0(n) && j0(t, n.length) : r == "string" && t in n) ? P0(n[t], e) : !1;
13951
+ return (r == "number" ? Uk(n) && jk(t, n.length) : r == "string" && t in n) ? Pk(n[t], e) : !1;
13949
13952
  }
13950
- var z0 = B0, H0 = Oa, rl = 1 / 0, q0 = 17976931348623157e292;
13951
- function G0(e) {
13953
+ var zk = Bk, Hk = Oa, rl = 1 / 0, qk = 17976931348623157e292;
13954
+ function Gk(e) {
13952
13955
  if (!e)
13953
13956
  return e === 0 ? e : 0;
13954
- if (e = H0(e), e === rl || e === -rl) {
13957
+ if (e = Hk(e), e === rl || e === -rl) {
13955
13958
  var t = e < 0 ? -1 : 1;
13956
- return t * q0;
13959
+ return t * qk;
13957
13960
  }
13958
13961
  return e === e ? e : 0;
13959
13962
  }
13960
- var yo = G0, W0 = E0, K0 = z0, lr = yo;
13961
- function Y0(e) {
13963
+ var yo = Gk, Wk = Ek, Kk = zk, lr = yo;
13964
+ function Yk(e) {
13962
13965
  return function(t, n, r) {
13963
- return r && typeof r != "number" && K0(t, n, r) && (n = r = void 0), t = lr(t), n === void 0 ? (n = t, t = 0) : n = lr(n), r = r === void 0 ? t < n ? 1 : -1 : lr(r), W0(t, n, r, e);
13966
+ return r && typeof r != "number" && Kk(t, n, r) && (n = r = void 0), t = lr(t), n === void 0 ? (n = t, t = 0) : n = lr(n), r = r === void 0 ? t < n ? 1 : -1 : lr(r), Wk(t, n, r, e);
13964
13967
  };
13965
13968
  }
13966
- var Z0 = Y0, J0 = Z0, X0 = J0(), _o = X0;
13967
- function Q0(e) {
13969
+ var Zk = Yk, Jk = Zk, Xk = Jk(), _o = Xk;
13970
+ function Qk(e) {
13968
13971
  return String(e).length < 2 && (e = `0${e}`), e;
13969
13972
  }
13970
13973
  const {
13971
- lookup: ek,
13972
- options: tk
13974
+ lookup: e0,
13975
+ options: t0
13973
13976
  } = [..._o(1, 13)].reduce(function(e, t) {
13974
13977
  let n;
13975
13978
  switch (t) {
@@ -14022,7 +14025,7 @@ function sl() {
14022
14025
  const e = P.now().toObject();
14023
14026
  return e.millisecond = 0, e.second = 0, e.minute = 0, e.hour = 12, e;
14024
14027
  }
14025
- const nk = {
14028
+ const n0 = {
14026
14029
  components: {
14027
14030
  NativeSelect: pt
14028
14031
  },
@@ -14109,7 +14112,7 @@ const nk = {
14109
14112
  },
14110
14113
  displayMonth() {
14111
14114
  const e = this;
14112
- return e.empty ? "-" : ek[e.month];
14115
+ return e.empty ? "-" : e0[e.month];
14113
14116
  },
14114
14117
  displayYear() {
14115
14118
  const e = this;
@@ -14117,7 +14120,7 @@ const nk = {
14117
14120
  },
14118
14121
  displayMinute() {
14119
14122
  const e = this;
14120
- return e.empty ? "--" : Q0(e.minute);
14123
+ return e.empty ? "--" : Qk(e.minute);
14121
14124
  },
14122
14125
  meridianGate: {
14123
14126
  get() {
@@ -14250,7 +14253,7 @@ const nk = {
14250
14253
  return r;
14251
14254
  },
14252
14255
  monthOptions() {
14253
- return tk;
14256
+ return t0;
14254
14257
  },
14255
14258
  amOptions() {
14256
14259
  return [
@@ -14302,8 +14305,8 @@ const nk = {
14302
14305
  // }
14303
14306
  // },
14304
14307
  }
14305
- }, ik = (e) => (Ye("data-v-569dda27"), e = e(), Ze(), e), rk = { class: "date-section" }, sk = /* @__PURE__ */ ik(() => /* @__PURE__ */ x("div", { class: "date-section shrink" }, ":", -1)), lk = { class: "date-section" }, ak = { class: "date-section" }, ok = { class: "date-section" }, uk = { class: "date-section" }, dk = { class: "custom-select" }, ck = { class: "date-section" };
14306
- function fk(e, t, n, r, s, i) {
14308
+ }, i0 = (e) => (Ye("data-v-569dda27"), e = e(), Ze(), e), r0 = { class: "date-section" }, s0 = /* @__PURE__ */ i0(() => /* @__PURE__ */ x("div", { class: "date-section shrink" }, ":", -1)), l0 = { class: "date-section" }, a0 = { class: "date-section" }, o0 = { class: "date-section" }, u0 = { class: "date-section" }, d0 = { class: "custom-select" }, c0 = { class: "date-section" };
14309
+ function f0(e, t, n, r, s, i) {
14307
14310
  const l = y("ux-icon"), a = y("native-select"), u = y("flex-cell"), f = y("flex-row");
14308
14311
  return o(), k(f, null, {
14309
14312
  default: h(() => [
@@ -14320,7 +14323,7 @@ function fk(e, t, n, r, s, i) {
14320
14323
  field: { minimum: 1, maximum: 1, options: i.hourOptions }
14321
14324
  }, {
14322
14325
  default: h(() => [
14323
- x("div", rk, [
14326
+ x("div", r0, [
14324
14327
  T(v(i.displayHour) + " ", 1),
14325
14328
  m(l, {
14326
14329
  right: "",
@@ -14335,7 +14338,7 @@ function fk(e, t, n, r, s, i) {
14335
14338
  }),
14336
14339
  m(u, { shrink: "" }, {
14337
14340
  default: h(() => [
14338
- sk
14341
+ s0
14339
14342
  ]),
14340
14343
  _: 1
14341
14344
  }),
@@ -14348,7 +14351,7 @@ function fk(e, t, n, r, s, i) {
14348
14351
  field: { minimum: 1, maximum: 1, options: i.minuteOptions }
14349
14352
  }, {
14350
14353
  default: h(() => [
14351
- x("div", lk, [
14354
+ x("div", l0, [
14352
14355
  T(v(i.displayMinute) + " ", 1),
14353
14356
  m(l, {
14354
14357
  right: "",
@@ -14373,7 +14376,7 @@ function fk(e, t, n, r, s, i) {
14373
14376
  field: { minimum: 1, maximum: 1, options: i.amOptions }
14374
14377
  }, {
14375
14378
  default: h(() => [
14376
- x("div", ak, [
14379
+ x("div", a0, [
14377
14380
  T(v(s.meridian) + " ", 1),
14378
14381
  m(l, {
14379
14382
  right: "",
@@ -14400,7 +14403,7 @@ function fk(e, t, n, r, s, i) {
14400
14403
  field: { minimum: 1, maximum: 1, options: i.dayOptions }
14401
14404
  }, {
14402
14405
  default: h(() => [
14403
- x("div", ok, [
14406
+ x("div", o0, [
14404
14407
  T(v(i.displayDay) + " ", 1),
14405
14408
  m(l, {
14406
14409
  right: "",
@@ -14422,7 +14425,7 @@ function fk(e, t, n, r, s, i) {
14422
14425
  field: { minimum: 1, maximum: 1, options: i.monthOptions }
14423
14426
  }, {
14424
14427
  default: h(() => [
14425
- x("div", uk, [
14428
+ x("div", u0, [
14426
14429
  T(v(i.displayMonth) + " ", 1),
14427
14430
  m(l, {
14428
14431
  right: "",
@@ -14440,7 +14443,7 @@ function fk(e, t, n, r, s, i) {
14440
14443
  class: "last"
14441
14444
  }, {
14442
14445
  default: h(() => [
14443
- x("div", dk, [
14446
+ x("div", d0, [
14444
14447
  m(a, {
14445
14448
  onTouched: i.touched,
14446
14449
  modelValue: i.year,
@@ -14448,7 +14451,7 @@ function fk(e, t, n, r, s, i) {
14448
14451
  field: { minimum: 1, maximum: 1, options: i.yearOptions }
14449
14452
  }, {
14450
14453
  default: h(() => [
14451
- x("div", ck, [
14454
+ x("div", c0, [
14452
14455
  T(v(i.displayYear) + " ", 1),
14453
14456
  m(l, {
14454
14457
  right: "",
@@ -14466,11 +14469,11 @@ function fk(e, t, n, r, s, i) {
14466
14469
  _: 1
14467
14470
  });
14468
14471
  }
14469
- const mk = /* @__PURE__ */ V(nk, [["render", fk], ["__scopeId", "data-v-569dda27"]]);
14470
- const hk = {
14472
+ const m0 = /* @__PURE__ */ V(n0, [["render", f0], ["__scopeId", "data-v-569dda27"]]);
14473
+ const h0 = {
14471
14474
  mixins: [Q],
14472
14475
  components: {
14473
- DateObject: mk
14476
+ DateObject: m0
14474
14477
  },
14475
14478
  props: {
14476
14479
  modelValue: {
@@ -14487,25 +14490,25 @@ const hk = {
14487
14490
  return {};
14488
14491
  }
14489
14492
  }
14490
- }, pk = {
14493
+ }, p0 = {
14491
14494
  key: 0,
14492
14495
  class: "ux-field-title"
14493
- }, yk = {
14496
+ }, y0 = {
14494
14497
  key: 0,
14495
14498
  class: "ux-required-marker"
14496
- }, _k = {
14499
+ }, _0 = {
14497
14500
  key: 1,
14498
14501
  class: "ux-field-description"
14499
- }, gk = { key: 2 };
14500
- function vk(e, t, n, r, s, i) {
14502
+ }, g0 = { key: 2 };
14503
+ function v0(e, t, n, r, s, i) {
14501
14504
  const l = y("date-object"), a = y("flex-cell"), u = y("ux-icon"), f = y("ux-button"), c = y("flex-row");
14502
14505
  return o(), d(S, null, [
14503
- e.showLabel ? (o(), d("label", pk, [
14506
+ e.showLabel ? (o(), d("label", p0, [
14504
14507
  T(v(e.label), 1),
14505
- e.required ? (o(), d("span", yk, "*")) : _("", !0)
14508
+ e.required ? (o(), d("span", y0, "*")) : _("", !0)
14506
14509
  ])) : _("", !0),
14507
- e.showDescription ? (o(), d("div", _k, v(e.description), 1)) : _("", !0),
14508
- e.multiValue ? (o(), d("div", gk, [
14510
+ e.showDescription ? (o(), d("div", _0, v(e.description), 1)) : _("", !0),
14511
+ e.multiValue ? (o(), d("div", g0, [
14509
14512
  (o(!0), d(S, null, F(e.model, (p, g) => (o(), k(c, {
14510
14513
  class: "ux-text-row",
14511
14514
  key: g
@@ -14561,8 +14564,8 @@ function vk(e, t, n, r, s, i) {
14561
14564
  }, null, 8, ["allDay", "modelValue"]))
14562
14565
  ], 64);
14563
14566
  }
14564
- const bk = /* @__PURE__ */ V(hk, [["render", vk], ["__scopeId", "data-v-f9459e1e"]]);
14565
- const kk = {
14567
+ const b0 = /* @__PURE__ */ V(h0, [["render", v0], ["__scopeId", "data-v-f9459e1e"]]);
14568
+ const k0 = {
14566
14569
  props: {
14567
14570
  fields: {
14568
14571
  type: Array,
@@ -14940,13 +14943,13 @@ const kk = {
14940
14943
  ContentSelect: oo,
14941
14944
  ScopeSelect: uo
14942
14945
  }
14943
- }, xk = (e) => (Ye("data-v-13dce876"), e = e(), Ze(), e), wk = {
14946
+ }, x0 = (e) => (Ye("data-v-13dce876"), e = e(), Ze(), e), w0 = {
14944
14947
  key: 0,
14945
14948
  class: "filter-condition"
14946
- }, Sk = { key: 0 }, Tk = { key: 1 }, Ok = { key: 2 }, Vk = { key: 3 }, Ck = { key: 4 }, Ek = { key: 5 }, Ak = { key: 6 }, Mk = { key: 7 }, Dk = { key: 8 }, Ik = { key: 9 }, Fk = { key: 10 }, $k = /* @__PURE__ */ xk(() => /* @__PURE__ */ x("label", null, "Where:", -1));
14947
- function Nk(e, t, n, r, s, i) {
14949
+ }, S0 = { key: 0 }, T0 = { key: 1 }, O0 = { key: 2 }, V0 = { key: 3 }, C0 = { key: 4 }, E0 = { key: 5 }, A0 = { key: 6 }, M0 = { key: 7 }, D0 = { key: 8 }, I0 = { key: 9 }, F0 = { key: 10 }, $0 = /* @__PURE__ */ x0(() => /* @__PURE__ */ x("label", null, "Where:", -1));
14950
+ function N0(e, t, n, r, s, i) {
14948
14951
  const l = y("native-select"), a = y("flex-cell"), u = y("text-field"), f = y("currency-field"), c = y("flex-row"), p = y("date-field"), g = y("scope-select"), b = y("content-select"), w = y("ux-switch"), C = y("ux-icon"), U = y("ux-button"), z = y("filter-condition", !0);
14949
- return s.comparators ? (o(), d("div", wk, [
14952
+ return s.comparators ? (o(), d("div", w0, [
14950
14953
  m(c, {
14951
14954
  gap: "",
14952
14955
  vcenter: ""
@@ -14976,7 +14979,7 @@ function Nk(e, t, n, r, s, i) {
14976
14979
  })) : _("", !0),
14977
14980
  s.model.key && s.model.comparator ? (o(), k(a, { key: 1 }, {
14978
14981
  default: h(() => [
14979
- i.inputType == "array" ? (o(), d("div", Sk, [
14982
+ i.inputType == "array" ? (o(), d("div", S0, [
14980
14983
  i.showSelectOptions ? (o(), k(l, {
14981
14984
  key: 0,
14982
14985
  modelValue: s.model.values,
@@ -14989,7 +14992,7 @@ function Nk(e, t, n, r, s, i) {
14989
14992
  "onUpdate:modelValue": t[3] || (t[3] = (D) => s.model.values = D)
14990
14993
  }, null, 8, ["field", "modelValue"]))
14991
14994
  ])) : _("", !0),
14992
- i.inputType == "range" ? (o(), d("div", Tk, [
14995
+ i.inputType == "range" ? (o(), d("div", T0, [
14993
14996
  i.fieldWidget == "currency" ? (o(), d(S, { key: 0 }, [
14994
14997
  m(f, {
14995
14998
  field: i.normalField,
@@ -15016,7 +15019,7 @@ function Nk(e, t, n, r, s, i) {
15016
15019
  }, null, 8, ["field", "modelValue"])
15017
15020
  ], 64))
15018
15021
  ])) : _("", !0),
15019
- i.inputType == "daterelative" ? (o(), d("div", Ok, [
15022
+ i.inputType == "daterelative" ? (o(), d("div", O0, [
15020
15023
  m(c, null, {
15021
15024
  default: h(() => [
15022
15025
  m(a, { style: { width: "80px" } }, {
@@ -15043,7 +15046,7 @@ function Nk(e, t, n, r, s, i) {
15043
15046
  _: 1
15044
15047
  })
15045
15048
  ])) : _("", !0),
15046
- i.inputType == "daterange" ? (o(), d("div", Vk, [
15049
+ i.inputType == "daterange" ? (o(), d("div", V0, [
15047
15050
  m(p, {
15048
15051
  field: i.dateField,
15049
15052
  modelValue: s.model.value,
@@ -15056,14 +15059,14 @@ function Nk(e, t, n, r, s, i) {
15056
15059
  "onUpdate:modelValue": t[11] || (t[11] = (D) => s.model.value2 = D)
15057
15060
  }, null, 8, ["field", "modelValue"])
15058
15061
  ])) : _("", !0),
15059
- i.inputType == "date" ? (o(), d("div", Ck, [
15062
+ i.inputType == "date" ? (o(), d("div", C0, [
15060
15063
  m(p, {
15061
15064
  field: i.dateField,
15062
15065
  modelValue: s.model.value,
15063
15066
  "onUpdate:modelValue": t[12] || (t[12] = (D) => s.model.value = D)
15064
15067
  }, null, 8, ["field", "modelValue"])
15065
15068
  ])) : _("", !0),
15066
- i.inputType == "reference" ? (o(), d("div", Ek, [
15069
+ i.inputType == "reference" ? (o(), d("div", E0, [
15067
15070
  s.model.key === "meta.scopes" ? (o(), k(g, {
15068
15071
  key: 0,
15069
15072
  maximum: 1,
@@ -15076,7 +15079,7 @@ function Nk(e, t, n, r, s, i) {
15076
15079
  "onUpdate:modelValue": t[14] || (t[14] = (D) => s.model.value = D)
15077
15080
  }, null, 8, ["field", "modelValue"]))
15078
15081
  ])) : _("", !0),
15079
- i.inputType == "multireference" ? (o(), d("div", Ak, [
15082
+ i.inputType == "multireference" ? (o(), d("div", A0, [
15080
15083
  s.model.key === "meta.scopes" ? (o(), k(g, {
15081
15084
  key: 0,
15082
15085
  modelValue: s.model.values,
@@ -15088,7 +15091,7 @@ function Nk(e, t, n, r, s, i) {
15088
15091
  "onUpdate:modelValue": t[16] || (t[16] = (D) => s.model.values = D)
15089
15092
  }, null, 8, ["field", "modelValue"]))
15090
15093
  ])) : _("", !0),
15091
- i.inputType == "boolean" ? (o(), d("div", Mk, [
15094
+ i.inputType == "boolean" ? (o(), d("div", M0, [
15092
15095
  m(c, {
15093
15096
  gap: "",
15094
15097
  center: ""
@@ -15113,8 +15116,8 @@ function Nk(e, t, n, r, s, i) {
15113
15116
  _: 1
15114
15117
  })
15115
15118
  ])) : _("", !0),
15116
- i.inputType == "none" ? (o(), d("div", Dk)) : _("", !0),
15117
- i.inputType == "number" ? (o(), d("div", Ik, [
15119
+ i.inputType == "none" ? (o(), d("div", D0)) : _("", !0),
15120
+ i.inputType == "number" ? (o(), d("div", I0, [
15118
15121
  i.fieldWidget == "currency" ? (o(), k(f, {
15119
15122
  key: 0,
15120
15123
  field: i.normalField,
@@ -15127,7 +15130,7 @@ function Nk(e, t, n, r, s, i) {
15127
15130
  "onUpdate:modelValue": t[19] || (t[19] = (D) => s.model.value = D)
15128
15131
  }, null, 8, ["field", "modelValue"]))
15129
15132
  ])) : _("", !0),
15130
- i.inputType == "normal" ? (o(), d("div", Fk, [
15133
+ i.inputType == "normal" ? (o(), d("div", F0, [
15131
15134
  i.showSelectOptions ? (o(), k(l, {
15132
15135
  key: 0,
15133
15136
  modelValue: s.model.value,
@@ -15165,7 +15168,7 @@ function Nk(e, t, n, r, s, i) {
15165
15168
  _: 1
15166
15169
  }),
15167
15170
  i.extraCriteria ? (o(), d(S, { key: 0 }, [
15168
- $k,
15171
+ $0,
15169
15172
  (o(!0), d(S, null, F(s.model.conditions, (D, ee) => (o(), d("div", {
15170
15173
  key: D._guid
15171
15174
  }, [
@@ -15193,8 +15196,8 @@ function Nk(e, t, n, r, s, i) {
15193
15196
  ], 64)) : _("", !0)
15194
15197
  ])) : _("", !0);
15195
15198
  }
15196
- const Lk = /* @__PURE__ */ V(kk, [["render", Nk], ["__scopeId", "data-v-13dce876"]]);
15197
- function Pk(e) {
15199
+ const L0 = /* @__PURE__ */ V(k0, [["render", N0], ["__scopeId", "data-v-13dce876"]]);
15200
+ function P0(e) {
15198
15201
  let t = [];
15199
15202
  if (t.push({
15200
15203
  title: "Age",
@@ -15265,7 +15268,7 @@ function Pk(e) {
15265
15268
  }
15266
15269
  return t;
15267
15270
  }
15268
- function Uk(e, t) {
15271
+ function U0(e, t) {
15269
15272
  let n = [];
15270
15273
  if (t.length) {
15271
15274
  var r = {
@@ -15293,7 +15296,7 @@ function Uk(e, t) {
15293
15296
  }
15294
15297
  return n;
15295
15298
  }
15296
- function jk(e, t) {
15299
+ function j0(e, t) {
15297
15300
  if (!e.glossary)
15298
15301
  return;
15299
15302
  const n = Object.entries(e.glossary).reduce(function(s, [i, l]) {
@@ -15374,7 +15377,7 @@ function jk(e, t) {
15374
15377
  });
15375
15378
  }), t.push(r);
15376
15379
  }
15377
- function Rk(e, t) {
15380
+ function R0(e, t) {
15378
15381
  if (!e.glossary)
15379
15382
  return;
15380
15383
  const n = Object.entries(e.glossary).reduce(function(r, [s, i]) {
@@ -15391,11 +15394,11 @@ function Rk(e, t) {
15391
15394
  });
15392
15395
  });
15393
15396
  }
15394
- function Bk(e) {
15397
+ function B0(e) {
15395
15398
  let t = [];
15396
- return jk(e, t), Rk(e, t), t;
15399
+ return j0(e, t), R0(e, t), t;
15397
15400
  }
15398
- const zk = {
15401
+ const z0 = {
15399
15402
  props: {
15400
15403
  enableRemove: {
15401
15404
  type: Boolean
@@ -15460,15 +15463,15 @@ const zk = {
15460
15463
  fields() {
15461
15464
  const e = this;
15462
15465
  var t = e.definition && e.definition.fields ? [...e.definition.fields] : [], n = e.definition && e.definition.definedFields ? e.definition.definedFields : [];
15463
- t = [...t, ...Bk(e)];
15466
+ t = [...t, ...B0(e)];
15464
15467
  const r = e.definition.definesType === "submission";
15465
15468
  if (e.definition.definesType === "profile" || e.definition.key === "profile") {
15466
- const a = Pk(e);
15469
+ const a = P0(e);
15467
15470
  t = [...t, ...a];
15468
15471
  }
15469
15472
  if (n.length)
15470
15473
  if (r) {
15471
- const a = Uk(e, n);
15474
+ const a = U0(e, n);
15472
15475
  t = [...t, ...a];
15473
15476
  } else {
15474
15477
  var i = {
@@ -15507,17 +15510,17 @@ const zk = {
15507
15510
  }
15508
15511
  },
15509
15512
  components: {
15510
- FilterCondition: Lk,
15513
+ FilterCondition: L0,
15511
15514
  NativeSelect: pt
15512
15515
  }
15513
- }, Hk = (e) => (Ye("data-v-f372c803"), e = e(), Ze(), e), qk = {
15516
+ }, H0 = (e) => (Ye("data-v-f372c803"), e = e(), Ze(), e), q0 = {
15514
15517
  key: 0,
15515
15518
  class: "filter-rule"
15516
- }, Gk = { class: "top" }, Wk = { class: "summary" }, Kk = /* @__PURE__ */ Hk(() => /* @__PURE__ */ x("span", { class: "line" }, null, -1)), Yk = { class: "operator" };
15517
- function Zk(e, t, n, r, s, i) {
15519
+ }, G0 = { class: "top" }, W0 = { class: "summary" }, K0 = /* @__PURE__ */ H0(() => /* @__PURE__ */ x("span", { class: "line" }, null, -1)), Y0 = { class: "operator" };
15520
+ function Z0(e, t, n, r, s, i) {
15518
15521
  const l = y("native-select"), a = y("flex-cell"), u = y("ux-icon"), f = y("ux-button"), c = y("flex-row"), p = y("filter-condition");
15519
- return n.definition ? (o(), d("div", qk, [
15520
- x("div", Gk, [
15522
+ return n.definition ? (o(), d("div", q0, [
15523
+ x("div", G0, [
15521
15524
  m(c, {
15522
15525
  gap: "",
15523
15526
  center: ""
@@ -15525,7 +15528,7 @@ function Zk(e, t, n, r, s, i) {
15525
15528
  default: h(() => [
15526
15529
  m(a, null, {
15527
15530
  default: h(() => [
15528
- x("div", Wk, [
15531
+ x("div", W0, [
15529
15532
  T(" Match "),
15530
15533
  m(l, {
15531
15534
  modelValue: s.model.operator,
@@ -15575,8 +15578,8 @@ function Zk(e, t, n, r, s, i) {
15575
15578
  shrink: ""
15576
15579
  }, {
15577
15580
  default: h(() => [
15578
- Kk,
15579
- x("div", Yk, v(s.model.operator), 1)
15581
+ K0,
15582
+ x("div", Y0, v(s.model.operator), 1)
15580
15583
  ]),
15581
15584
  _: 2
15582
15585
  }, 1032, ["class"])) : _("", !0),
@@ -15610,10 +15613,10 @@ function Zk(e, t, n, r, s, i) {
15610
15613
  }, 8, ["onClick"])
15611
15614
  ])) : _("", !0);
15612
15615
  }
15613
- const Jk = /* @__PURE__ */ V(zk, [["render", Zk], ["__scopeId", "data-v-f372c803"]]);
15614
- const Xk = {
15616
+ const J0 = /* @__PURE__ */ V(z0, [["render", Z0], ["__scopeId", "data-v-f372c803"]]);
15617
+ const X0 = {
15615
15618
  components: {
15616
- FilterRule: Jk,
15619
+ FilterRule: J0,
15617
15620
  NativeSelect: pt
15618
15621
  },
15619
15622
  methods: {
@@ -15701,7 +15704,7 @@ const Xk = {
15701
15704
  model: JSON.parse(JSON.stringify(this.modelValue))
15702
15705
  };
15703
15706
  }
15704
- }, Qk = { class: "filters" }, ex = {
15707
+ }, Q0 = { class: "filters" }, ex = {
15705
15708
  key: 0,
15706
15709
  class: "top"
15707
15710
  }, tx = { class: "summary" };
@@ -15711,7 +15714,7 @@ function nx(e, t, n, r, s, i) {
15711
15714
  default: h(() => [
15712
15715
  m(f, null, {
15713
15716
  default: h(() => [
15714
- x("div", Qk, [
15717
+ x("div", Q0, [
15715
15718
  s.model && s.model.filters && s.model.filters.length ? (o(), d("div", ex, [
15716
15719
  x("div", tx, [
15717
15720
  T(" Match "),
@@ -15754,7 +15757,7 @@ function nx(e, t, n, r, s, i) {
15754
15757
  _: 1
15755
15758
  });
15756
15759
  }
15757
- const go = /* @__PURE__ */ V(Xk, [["render", nx], ["__scopeId", "data-v-fcb41aed"]]);
15760
+ const go = /* @__PURE__ */ V(X0, [["render", nx], ["__scopeId", "data-v-fcb41aed"]]);
15758
15761
  const ix = {
15759
15762
  mixins: [Q],
15760
15763
  components: {
@@ -20156,18 +20159,18 @@ const QO = {
20156
20159
  ButtonSelect: Ew,
20157
20160
  NativeSelect: pt,
20158
20161
  DateField: mo,
20159
- TimeField: l0,
20160
- DateRange: m0,
20162
+ TimeField: lk,
20163
+ DateRange: mk,
20161
20164
  TextField: fo,
20162
20165
  CurrencyField: co,
20163
20166
  TextArea: qb,
20164
- Checkbox: v0,
20167
+ Checkbox: vk,
20165
20168
  FilterInput: ux,
20166
20169
  FieldSelect: ll,
20167
- DateObjectInput: bk,
20170
+ DateObjectInput: b0,
20168
20171
  SliderInput: Fx,
20169
20172
  ColorInput: zx,
20170
- CustomHtml: T0,
20173
+ CustomHtml: Tk,
20171
20174
  BooleanSwitch: Yx,
20172
20175
  FieldGroup: vw,
20173
20176
  ContentSelect: oo,
@@ -20507,6 +20510,9 @@ const QO = {
20507
20510
  case "form":
20508
20511
  e = this.submission ? "form" : "content-select";
20509
20512
  break;
20513
+ case "upload":
20514
+ e = this.submission && !this.includeOfficeOnly ? "upload" : "content-select";
20515
+ break;
20510
20516
  case "payment":
20511
20517
  case "internal-menu":
20512
20518
  case "internal-route":
@@ -20523,7 +20529,6 @@ const QO = {
20523
20529
  case "currency":
20524
20530
  case "timezone":
20525
20531
  case "country":
20526
- case "upload":
20527
20532
  case "code":
20528
20533
  case "expression":
20529
20534
  case "options":
@@ -20874,7 +20879,7 @@ function tV(e, t, n, r, s, i) {
20874
20879
  i.error && s.validateResults.message ? (o(), d("div", eV, v(s.validateResults.message), 1)) : _("", !0)
20875
20880
  ], 34)) : _("", !0);
20876
20881
  }
20877
- const Yr = /* @__PURE__ */ V(QO, [["render", tV], ["__scopeId", "data-v-e039f66e"]]);
20882
+ const Yr = /* @__PURE__ */ V(QO, [["render", tV], ["__scopeId", "data-v-d6c7481c"]]);
20878
20883
  function nV(e, t, n, r) {
20879
20884
  var s = -1, i = e == null ? 0 : e.length;
20880
20885
  for (r && i && (n = e[++s]); ++s < i; )