@qikdev/vue-ui 0.2.206 → 0.2.208

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