@qikdev/vue-ui 0.2.84 → 0.2.86

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
- import { defineComponent as ki, ref as Kt, toRefs as oa, onMounted as ua, onBeforeUnmount as So, watch as xi, computed as ai, openBlock as o, createElementBlock as d, renderSlot as q, createCommentVNode as _, useSlots as Oo, reactive as kr, provide as Fr, resolveComponent as y, normalizeClass as P, Fragment as S, unref as jn, createBlock as k, withCtx as h, createVNode as m, renderList as $, toDisplayString as b, withModifiers as W, createTextVNode as O, createElementVNode as w, h as li, resolveDynamicComponent as Ft, mergeProps as wi, toHandlers as da, withDirectives as K, vModelSelect as xt, pushScopeId as st, popScopeId as at, normalizeStyle as wt, Teleport as To, vModelText as pe, withKeys as ge, TransitionGroup as Eo, nextTick as ca, vModelDynamic as Rn, vShow as qi } from "vue";
2
+ import { defineComponent as ki, ref as Kt, toRefs as oa, onMounted as ua, onBeforeUnmount as So, watch as xi, computed as ai, openBlock as o, createElementBlock as d, renderSlot as q, createCommentVNode as _, useSlots as Oo, reactive as kr, provide as Fr, resolveComponent as y, normalizeClass as P, Fragment as S, unref as jn, createBlock as k, withCtx as h, createVNode as m, renderList as $, toDisplayString as b, withModifiers as W, createTextVNode as O, createElementVNode as w, h as li, resolveDynamicComponent as xt, mergeProps as wi, toHandlers as da, withDirectives as K, vModelSelect as wt, pushScopeId as st, popScopeId as at, normalizeStyle as St, Teleport as To, vModelText as pe, withKeys as ge, TransitionGroup as Eo, nextTick as ca, vModelDynamic as Rn, vShow as qi } from "vue";
3
3
  import { EventDispatcher as Co } from "@qikdev/sdk";
4
- const Vo = "0.2.84", lr = {
4
+ const Vo = "0.2.86", lr = {
5
5
  STRIPE_NOT_LOADED: "Stripe v3 library is not loaded",
6
6
  INSTANCE_NOT_DEFINED: "Instance object is not defined. Make sure you initialized Stripe before creating elements",
7
7
  ELEMENTS_NOT_DEFINED: "Elements object is not defined. You can't create stripe element without it",
@@ -1065,7 +1065,7 @@ const I = "numeric", Xe = "short", Be = "long", oi = {
1065
1065
  function Y(e) {
1066
1066
  return typeof e > "u";
1067
1067
  }
1068
- function It(e) {
1068
+ function Ft(e) {
1069
1069
  return typeof e == "number";
1070
1070
  }
1071
1071
  function Er(e) {
@@ -1115,7 +1115,7 @@ function _t(e) {
1115
1115
  if (!(Y(e) || e === null || e === ""))
1116
1116
  return parseInt(e, 10);
1117
1117
  }
1118
- function Tt(e) {
1118
+ function Et(e) {
1119
1119
  if (!(Y(e) || e === null || e === ""))
1120
1120
  return parseFloat(e);
1121
1121
  }
@@ -1923,7 +1923,7 @@ function vt(e, t) {
1923
1923
  const n = e.toLowerCase();
1924
1924
  return n === "local" || n === "system" ? t : n === "utc" || n === "gmt" ? Fe.utcInstance : Fe.parseSpecifier(n) || ut.create(e);
1925
1925
  } else
1926
- return It(e) ? Fe.instance(e) : typeof e == "object" && e.offset && typeof e.offset == "number" ? e : new mh(e);
1926
+ return Ft(e) ? Fe.instance(e) : typeof e == "object" && e.offset && typeof e.offset == "number" ? e : new mh(e);
1927
1927
  }
1928
1928
  let as = () => Date.now(), ls = "system", os = null, us = null, ds = null, cs;
1929
1929
  class ve {
@@ -2314,13 +2314,13 @@ function $h(e) {
2314
2314
  const [t, n, i, s, r, a, l, u, c] = e, f = t[0] === "-", p = u && u[0] === "-", g = (v, x = !1) => v !== void 0 && (x || v && f) ? -v : v;
2315
2315
  return [
2316
2316
  {
2317
- years: g(Tt(n)),
2318
- months: g(Tt(i)),
2319
- weeks: g(Tt(s)),
2320
- days: g(Tt(r)),
2321
- hours: g(Tt(a)),
2322
- minutes: g(Tt(l)),
2323
- seconds: g(Tt(u), u === "-0"),
2317
+ years: g(Et(n)),
2318
+ months: g(Et(i)),
2319
+ weeks: g(Et(s)),
2320
+ days: g(Et(r)),
2321
+ hours: g(Et(a)),
2322
+ minutes: g(Et(l)),
2323
+ seconds: g(Et(u), u === "-0"),
2324
2324
  milliseconds: g(Ei(c), p)
2325
2325
  }
2326
2326
  ];
@@ -2509,7 +2509,7 @@ const up = "Invalid Duration", rl = {
2509
2509
  milliseconds: Bt * 24 * 60 * 60 * 1e3
2510
2510
  },
2511
2511
  ...rl
2512
- }, At = [
2512
+ }, Mt = [
2513
2513
  "years",
2514
2514
  "quarters",
2515
2515
  "months",
@@ -2519,8 +2519,8 @@ const up = "Invalid Duration", rl = {
2519
2519
  "minutes",
2520
2520
  "seconds",
2521
2521
  "milliseconds"
2522
- ], fp = At.slice(0).reverse();
2523
- function Et(e, t, n = !1) {
2522
+ ], fp = Mt.slice(0).reverse();
2523
+ function Ct(e, t, n = !1) {
2524
2524
  const i = {
2525
2525
  values: n ? t.values : { ...e.values, ...t.values || {} },
2526
2526
  loc: e.loc.clone(t.loc),
@@ -2599,7 +2599,7 @@ class X {
2599
2599
  * @return {Duration}
2600
2600
  */
2601
2601
  static fromDurationLike(t) {
2602
- if (It(t))
2602
+ if (Ft(t))
2603
2603
  return X.fromMillis(t);
2604
2604
  if (X.isDuration(t))
2605
2605
  return t;
@@ -2752,7 +2752,7 @@ class X {
2752
2752
  * ```
2753
2753
  */
2754
2754
  toHuman(t = {}) {
2755
- const n = At.map((i) => {
2755
+ const n = Mt.map((i) => {
2756
2756
  const s = this.values[i];
2757
2757
  return Y(s) ? null : this.loc.numberFormatter({ style: "unit", unitDisplay: "long", ...t, unit: i.slice(0, -1) }).format(s);
2758
2758
  }).filter((i) => i);
@@ -2854,9 +2854,9 @@ class X {
2854
2854
  if (!this.isValid)
2855
2855
  return this;
2856
2856
  const n = X.fromDurationLike(t), i = {};
2857
- for (const s of At)
2857
+ for (const s of Mt)
2858
2858
  (Jt(n.values, s) || Jt(this.values, s)) && (i[s] = n.get(s) + this.get(s));
2859
- return Et(this, { values: i }, !0);
2859
+ return Ct(this, { values: i }, !0);
2860
2860
  }
2861
2861
  /**
2862
2862
  * Make this Duration shorter by the specified amount. Return a newly-constructed Duration.
@@ -2882,7 +2882,7 @@ class X {
2882
2882
  const n = {};
2883
2883
  for (const i of Object.keys(this.values))
2884
2884
  n[i] = za(t(this.values[i], i));
2885
- return Et(this, { values: n }, !0);
2885
+ return Ct(this, { values: n }, !0);
2886
2886
  }
2887
2887
  /**
2888
2888
  * Get the value of unit.
@@ -2906,7 +2906,7 @@ class X {
2906
2906
  if (!this.isValid)
2907
2907
  return this;
2908
2908
  const n = { ...this.values, ...cr(t, X.normalizeUnit) };
2909
- return Et(this, { values: n });
2909
+ return Ct(this, { values: n });
2910
2910
  }
2911
2911
  /**
2912
2912
  * "Set" the locale and/or numberingSystem. Returns a newly-constructed Duration.
@@ -2915,7 +2915,7 @@ class X {
2915
2915
  */
2916
2916
  reconfigure({ locale: t, numberingSystem: n, conversionAccuracy: i } = {}) {
2917
2917
  const s = this.loc.clone({ locale: t, numberingSystem: n }), r = { loc: s };
2918
- return i && (r.conversionAccuracy = i), Et(this, r);
2918
+ return i && (r.conversionAccuracy = i), Ct(this, r);
2919
2919
  }
2920
2920
  /**
2921
2921
  * Return the length of the duration in the specified unit.
@@ -2938,7 +2938,7 @@ class X {
2938
2938
  if (!this.isValid)
2939
2939
  return this;
2940
2940
  const t = this.toObject();
2941
- return hp(this.matrix, t), Et(this, { values: t }, !0);
2941
+ return hp(this.matrix, t), Ct(this, { values: t }, !0);
2942
2942
  }
2943
2943
  /**
2944
2944
  * Convert this Duration into its representation in a different set of units.
@@ -2953,22 +2953,22 @@ class X {
2953
2953
  t = t.map((a) => X.normalizeUnit(a));
2954
2954
  const n = {}, i = {}, s = this.toObject();
2955
2955
  let r;
2956
- for (const a of At)
2956
+ for (const a of Mt)
2957
2957
  if (t.indexOf(a) >= 0) {
2958
2958
  r = a;
2959
2959
  let l = 0;
2960
2960
  for (const c in i)
2961
2961
  l += this.matrix[c][a] * i[c], i[c] = 0;
2962
- It(s[a]) && (l += s[a]);
2962
+ Ft(s[a]) && (l += s[a]);
2963
2963
  const u = Math.trunc(l);
2964
2964
  n[a] = u, i[a] = (l * 1e3 - u * 1e3) / 1e3;
2965
2965
  for (const c in s)
2966
- At.indexOf(c) > At.indexOf(a) && il(this.matrix, s, c, n, a);
2966
+ Mt.indexOf(c) > Mt.indexOf(a) && il(this.matrix, s, c, n, a);
2967
2967
  } else
2968
- It(s[a]) && (i[a] = s[a]);
2968
+ Ft(s[a]) && (i[a] = s[a]);
2969
2969
  for (const a in i)
2970
2970
  i[a] !== 0 && (n[r] += a === r ? i[a] : i[a] / this.matrix[r][a]);
2971
- return Et(this, { values: n }, !0).normalize();
2971
+ return Ct(this, { values: n }, !0).normalize();
2972
2972
  }
2973
2973
  /**
2974
2974
  * Return the negative of this Duration.
@@ -2981,7 +2981,7 @@ class X {
2981
2981
  const t = {};
2982
2982
  for (const n of Object.keys(this.values))
2983
2983
  t[n] = this.values[n] === 0 ? 0 : -this.values[n];
2984
- return Et(this, { values: t }, !0);
2984
+ return Ct(this, { values: t }, !0);
2985
2985
  }
2986
2986
  /**
2987
2987
  * Get the years.
@@ -3080,7 +3080,7 @@ class X {
3080
3080
  function n(i, s) {
3081
3081
  return i === void 0 || i === 0 ? s === void 0 || s === 0 : i === s;
3082
3082
  }
3083
- for (const i of At)
3083
+ for (const i of Mt)
3084
3084
  if (!n(this.values[i], t.values[i]))
3085
3085
  return !1;
3086
3086
  return !0;
@@ -4374,7 +4374,7 @@ class R {
4374
4374
  * @return {DateTime}
4375
4375
  */
4376
4376
  static fromMillis(t, n = {}) {
4377
- if (It(t))
4377
+ if (Ft(t))
4378
4378
  return t < -bs || t > bs ? R.invalid("Timestamp out of range") : new R({
4379
4379
  ts: t,
4380
4380
  zone: vt(n.zone, ve.defaultZone),
@@ -4395,7 +4395,7 @@ class R {
4395
4395
  * @return {DateTime}
4396
4396
  */
4397
4397
  static fromSeconds(t, n = {}) {
4398
- if (It(t))
4398
+ if (Ft(t))
4399
4399
  return new R({
4400
4400
  ts: t * 1e3,
4401
4401
  zone: vt(n.zone, ve.defaultZone),
@@ -5635,7 +5635,7 @@ class R {
5635
5635
  function hn(e) {
5636
5636
  if (R.isDateTime(e))
5637
5637
  return e;
5638
- if (e && e.valueOf && It(e.valueOf()))
5638
+ if (e && e.valueOf && Ft(e.valueOf()))
5639
5639
  return R.fromJSDate(e);
5640
5640
  if (e && typeof e == "object")
5641
5641
  return R.fromObject(e);
@@ -6032,7 +6032,7 @@ const my = {
6032
6032
  }, py = { class: "value" }, yy = { class: "value" };
6033
6033
  function _y(e, t, n, i, s, r) {
6034
6034
  const a = y("value-renderer");
6035
- return s.component ? (o(), k(Ft(s.component), {
6035
+ return s.component ? (o(), k(xt(s.component), {
6036
6036
  key: 0,
6037
6037
  column: n.column,
6038
6038
  row: n.row,
@@ -7055,7 +7055,7 @@ function t_(e, t, n, i, s, r) {
7055
7055
  value: f.value
7056
7056
  }, b(f.title), 9, Ky))), 256))
7057
7057
  ], 544), [
7058
- [xt, s.candidate]
7058
+ [wt, s.candidate]
7059
7059
  ])
7060
7060
  ], 64)) : _("", !0)
7061
7061
  ], 64)) : (o(), d(S, { key: 1 }, [
@@ -7086,7 +7086,7 @@ function t_(e, t, n, i, s, r) {
7086
7086
  value: f.value
7087
7087
  }, b(f.title), 9, e_))), 256))
7088
7088
  ], 40, Yy), [
7089
- [xt, e.model]
7089
+ [wt, e.model]
7090
7090
  ])
7091
7091
  ], 64))
7092
7092
  ]))
@@ -7456,13 +7456,13 @@ const __ = {
7456
7456
  }, g_ = { class: "ux-btn-text" };
7457
7457
  function v_(e, t, n, i, s, r) {
7458
7458
  const a = y("spinner");
7459
- return o(), k(Ft(r.element), {
7459
+ return o(), k(xt(r.element), {
7460
7460
  active: n.active,
7461
7461
  loading: n.loading,
7462
7462
  to: n.to,
7463
7463
  href: n.href,
7464
7464
  target: n.target,
7465
- style: wt(r.style),
7465
+ style: St(r.style),
7466
7466
  class: P([r.classes, "ux-btn"]),
7467
7467
  disabled: n.disabled
7468
7468
  }, {
@@ -7595,7 +7595,7 @@ const T_ = {
7595
7595
  }
7596
7596
  };
7597
7597
  function E_(e, t, n, i, s, r) {
7598
- return o(), k(Ft(r.element), {
7598
+ return o(), k(xt(r.element), {
7599
7599
  onClick: r.clicked,
7600
7600
  to: n.to,
7601
7601
  href: r.actualHref,
@@ -7635,7 +7635,7 @@ const V_ = {
7635
7635
  }
7636
7636
  };
7637
7637
  function A_(e, t, n, i, s, r) {
7638
- return o(), k(Ft(r.element), {
7638
+ return o(), k(xt(r.element), {
7639
7639
  class: P(["ux-icon fa", r.classes])
7640
7640
  }, null, 8, ["class"]);
7641
7641
  }
@@ -7772,12 +7772,12 @@ function F_(e, t, n, i, s, r) {
7772
7772
  s.isExpanded ? (o(), d("div", {
7773
7773
  key: 0,
7774
7774
  class: "ux-menu-outer",
7775
- style: wt(s.outerStyle)
7775
+ style: St(s.outerStyle)
7776
7776
  }, [
7777
7777
  w("div", {
7778
7778
  class: "ux-menu-panel",
7779
7779
  ref: "menu",
7780
- style: wt(s.innerStyle)
7780
+ style: St(s.innerStyle)
7781
7781
  }, [
7782
7782
  q(e.$slots, "default", {}, void 0, !0)
7783
7783
  ], 4)
@@ -8050,7 +8050,7 @@ const P_ = {
8050
8050
  function R_(e, t, n, i, s, r) {
8051
8051
  return o(), d("div", {
8052
8052
  class: P(["ux-image", r.className]),
8053
- style: wt(r.style)
8053
+ style: St(r.style)
8054
8054
  }, [
8055
8055
  n.svg ? (o(), d("object", {
8056
8056
  key: 0,
@@ -8061,7 +8061,7 @@ function R_(e, t, n, i, s, r) {
8061
8061
  key: 1,
8062
8062
  ref: "img",
8063
8063
  alt: r.altText,
8064
- style: wt(r.imageStyle),
8064
+ style: St(r.imageStyle),
8065
8065
  src: r.src
8066
8066
  }, null, 12, j_))
8067
8067
  ], 6);
@@ -8184,7 +8184,7 @@ const z_ = {
8184
8184
  function W_(e, t, n, i, s, r) {
8185
8185
  return o(), d("div", {
8186
8186
  class: P(["ux-video", r.className]),
8187
- style: wt(r.style)
8187
+ style: St(r.style)
8188
8188
  }, [
8189
8189
  w("div", H_, [
8190
8190
  w("video", {
@@ -8231,7 +8231,7 @@ function Q_(e, t, n, i, s, r) {
8231
8231
  X_,
8232
8232
  w("div", {
8233
8233
  class: "ux-progress-fg",
8234
- style: wt(r.barStyle)
8234
+ style: St(r.barStyle)
8235
8235
  }, null, 4)
8236
8236
  ]);
8237
8237
  }
@@ -8265,7 +8265,7 @@ const sg = {
8265
8265
  }
8266
8266
  };
8267
8267
  function ag(e, t, n, i, s, r) {
8268
- return o(), k(Ft(r.element), {
8268
+ return o(), k(xt(r.element), {
8269
8269
  class: "ux-list-item",
8270
8270
  to: n.to,
8271
8271
  href: n.href,
@@ -8551,7 +8551,7 @@ function Eg(e, t, n, i, s, r) {
8551
8551
  value: p.value
8552
8552
  }, b(p.title), 9, Sg))), 256))
8553
8553
  ], 512), [
8554
- [xt, e.model.countryCode]
8554
+ [wt, e.model.countryCode]
8555
8555
  ])
8556
8556
  ]),
8557
8557
  _: 1
@@ -9142,7 +9142,7 @@ function Pg(e, t, n, i, s, r) {
9142
9142
  value: l.value
9143
9143
  }, b(l.title), 9, Lg))), 256))
9144
9144
  ], 40, $g), [
9145
- [xt, e.model]
9145
+ [wt, e.model]
9146
9146
  ])
9147
9147
  ], 2);
9148
9148
  }
@@ -9662,7 +9662,7 @@ var tv = ["evt"], Ne = function(t, n) {
9662
9662
  parentEl: fe,
9663
9663
  ghostEl: H,
9664
9664
  rootEl: de,
9665
- nextEl: Mt,
9665
+ nextEl: It,
9666
9666
  lastDownEl: rr,
9667
9667
  cloneEl: me,
9668
9668
  cloneHidden: bt,
@@ -9703,7 +9703,7 @@ function Ie(e) {
9703
9703
  newDraggableIndex: gt
9704
9704
  }, e));
9705
9705
  }
9706
- var M, fe, H, de, Mt, rr, me, bt, Wt, je, On, gt, Zn, we, qt = !1, hr = !1, pr = [], Ct, Ye, Gr, Wr, Ps, Us, vn, Ht, Tn, En = !1, Yn = !1, ir, Ce, Kr = [], yi = !1, yr = [], Ar = typeof document < "u", Jn = Ol, js = Dn || ft ? "cssFloat" : "float", nv = Ar && !Gg && !Ol && "draggable" in document.createElement("div"), Ml = function() {
9706
+ var M, fe, H, de, It, rr, me, bt, Wt, je, On, gt, Zn, we, qt = !1, hr = !1, pr = [], Vt, Ye, Gr, Wr, Ps, Us, vn, Ht, Tn, En = !1, Yn = !1, ir, Ce, Kr = [], yi = !1, yr = [], Ar = typeof document < "u", Jn = Ol, js = Dn || ft ? "cssFloat" : "float", nv = Ar && !Gg && !Ol && "draggable" in document.createElement("div"), Ml = function() {
9707
9707
  if (Ar) {
9708
9708
  if (ft)
9709
9709
  return !1;
@@ -9763,7 +9763,7 @@ Ar && document.addEventListener("click", function(e) {
9763
9763
  if (hr)
9764
9764
  return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), hr = !1, !1;
9765
9765
  }, !0);
9766
- var Vt = function(t) {
9766
+ var At = function(t) {
9767
9767
  if (M) {
9768
9768
  t = t.touches ? t.touches[0] : t;
9769
9769
  var n = iv(t.clientX, t.clientY);
@@ -9885,11 +9885,11 @@ j.prototype = /** @lends Sortable.prototype */
9885
9885
  var s = this, r = s.el, a = s.options, l = r.ownerDocument, u;
9886
9886
  if (i && !M && i.parentNode === r) {
9887
9887
  var c = be(i);
9888
- if (de = r, M = i, fe = M.parentNode, Mt = M.nextSibling, rr = i, Zn = a.group, j.dragged = M, Ct = {
9888
+ if (de = r, M = i, fe = M.parentNode, It = M.nextSibling, rr = i, Zn = a.group, j.dragged = M, Vt = {
9889
9889
  target: M,
9890
9890
  clientX: (n || t).clientX,
9891
9891
  clientY: (n || t).clientY
9892
- }, Ps = Ct.clientX - c.left, Us = Ct.clientY - c.top, this._lastX = (n || t).clientX, this._lastY = (n || t).clientY, M.style["will-change"] = "all", u = function() {
9892
+ }, Ps = Vt.clientX - c.left, Us = Vt.clientY - c.top, this._lastX = (n || t).clientX, this._lastY = (n || t).clientY, M.style["will-change"] = "all", u = function() {
9893
9893
  if (Ne("delayEnded", s, {
9894
9894
  evt: t
9895
9895
  }), j.eventCanceled) {
@@ -9903,7 +9903,7 @@ j.prototype = /** @lends Sortable.prototype */
9903
9903
  }), Ue(M, a.chosenClass, !0);
9904
9904
  }, a.ignore.split(",").forEach(function(f) {
9905
9905
  El(M, f.trim(), Zr);
9906
- }), te(l, "dragover", Vt), te(l, "mousemove", Vt), te(l, "touchmove", Vt), te(l, "mouseup", s._onDrop), te(l, "touchend", s._onDrop), te(l, "touchcancel", s._onDrop), Ds && this.nativeDraggable && (this.options.touchStartThreshold = 4, M.draggable = !0), Ne("delayStart", this, {
9906
+ }), te(l, "dragover", At), te(l, "mousemove", At), te(l, "touchmove", At), te(l, "mouseup", s._onDrop), te(l, "touchend", s._onDrop), te(l, "touchcancel", s._onDrop), Ds && this.nativeDraggable && (this.options.touchStartThreshold = 4, M.draggable = !0), Ne("delayStart", this, {
9907
9907
  evt: t
9908
9908
  }), a.delay && (!a.delayOnTouchOnly || n) && (!this.nativeDraggable || !(Dn || ft))) {
9909
9909
  if (j.eventCanceled) {
@@ -9972,8 +9972,8 @@ j.prototype = /** @lends Sortable.prototype */
9972
9972
  }
9973
9973
  },
9974
9974
  _onTouchMove: function(t) {
9975
- if (Ct) {
9976
- var n = this.options, i = n.fallbackTolerance, s = n.fallbackOffset, r = t.touches ? t.touches[0] : t, a = H && Yt(H, !0), l = H && a && a.a, u = H && a && a.d, c = Jn && Ce && Ls(Ce), f = (r.clientX - Ct.clientX + s.x) / (l || 1) + (c ? c[0] - Kr[0] : 0) / (l || 1), p = (r.clientY - Ct.clientY + s.y) / (u || 1) + (c ? c[1] - Kr[1] : 0) / (u || 1);
9975
+ if (Vt) {
9976
+ var n = this.options, i = n.fallbackTolerance, s = n.fallbackOffset, r = t.touches ? t.touches[0] : t, a = H && Yt(H, !0), l = H && a && a.a, u = H && a && a.d, c = Jn && Ce && Ls(Ce), f = (r.clientX - Vt.clientX + s.x) / (l || 1) + (c ? c[0] - Kr[0] : 0) / (l || 1), p = (r.clientY - Vt.clientY + s.y) / (u || 1) + (c ? c[1] - Kr[1] : 0) / (u || 1);
9977
9977
  if (!j.active && !qt) {
9978
9978
  if (i && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < i)
9979
9979
  return;
@@ -10051,7 +10051,7 @@ j.prototype = /** @lends Sortable.prototype */
10051
10051
  insertion: Qe
10052
10052
  }), Qe && (f ? c._hideClone() : c._showClone(x), x !== g && (Ue(M, we ? we.options.ghostClass : c.options.ghostClass, !1), Ue(M, l.ghostClass, !0)), we !== x && x !== j.active ? we = x : x === j.active && we && (we = null), g === x && (x._ignoreWhileAnimating = i), x.animateAll(function() {
10053
10053
  A("dragOverAnimationComplete"), x._ignoreWhileAnimating = null;
10054
- }), x !== g && (g.animateAll(), g._ignoreWhileAnimating = null)), (i === M && !M.animated || i === n && !i.animated) && (Ht = null), !l.dragoverBubble && !t.rootEl && i !== document && (M.parentNode[Re]._isOutsideThisEl(t.target), !Qe && Vt(t)), !l.dragoverBubble && t.stopPropagation && t.stopPropagation(), T = !0;
10054
+ }), x !== g && (g.animateAll(), g._ignoreWhileAnimating = null)), (i === M && !M.animated || i === n && !i.animated) && (Ht = null), !l.dragoverBubble && !t.rootEl && i !== document && (M.parentNode[Re]._isOutsideThisEl(t.target), !Qe && At(t)), !l.dragoverBubble && t.stopPropagation && t.stopPropagation(), T = !0;
10055
10055
  }
10056
10056
  function re() {
10057
10057
  je = He(M), gt = He(M, l.draggable), Ie({
@@ -10071,7 +10071,7 @@ j.prototype = /** @lends Sortable.prototype */
10071
10071
  if (v = this._getDirection(t, i) === "vertical", s = be(M), A("dragOverValid"), j.eventCanceled)
10072
10072
  return T;
10073
10073
  if (a)
10074
- return fe = de, G(), this._hideClone(), A("revert"), j.eventCanceled || (Mt ? de.insertBefore(M, Mt) : de.appendChild(M)), Q(!0);
10074
+ return fe = de, G(), this._hideClone(), A("revert"), j.eventCanceled || (It ? de.insertBefore(M, It) : de.appendChild(M)), Q(!0);
10075
10075
  var le = Ni(n, l.draggable);
10076
10076
  if (!le || uv(t, v, this) && !le.animated) {
10077
10077
  if (le === M)
@@ -10111,7 +10111,7 @@ j.prototype = /** @lends Sortable.prototype */
10111
10111
  },
10112
10112
  _ignoreWhileAnimating: null,
10113
10113
  _offMoveEvents: function() {
10114
- J(document, "mousemove", this._onTouchMove), J(document, "touchmove", this._onTouchMove), J(document, "pointermove", this._onTouchMove), J(document, "dragover", Vt), J(document, "mousemove", Vt), J(document, "touchmove", Vt);
10114
+ J(document, "mousemove", this._onTouchMove), J(document, "touchmove", this._onTouchMove), J(document, "pointermove", this._onTouchMove), J(document, "dragover", At), J(document, "mousemove", At), J(document, "touchmove", At);
10115
10115
  },
10116
10116
  _offUpEvents: function() {
10117
10117
  var t = this.el.ownerDocument;
@@ -10172,7 +10172,7 @@ j.prototype = /** @lends Sortable.prototype */
10172
10172
  }), this.save()))), this._nulling();
10173
10173
  },
10174
10174
  _nulling: function() {
10175
- Ne("nulling", this), de = M = fe = H = Mt = me = rr = bt = Ct = Ye = vn = je = gt = Wt = On = Ht = Tn = we = Zn = j.dragged = j.ghost = j.clone = j.active = null, yr.forEach(function(t) {
10175
+ Ne("nulling", this), de = M = fe = H = It = me = rr = bt = Vt = Ye = vn = je = gt = Wt = On = Ht = Tn = we = Zn = j.dragged = j.ghost = j.clone = j.active = null, yr.forEach(function(t) {
10176
10176
  t.checked = !0;
10177
10177
  }), yr.length = Gr = Wr = 0;
10178
10178
  },
@@ -10267,7 +10267,7 @@ j.prototype = /** @lends Sortable.prototype */
10267
10267
  if (bt) {
10268
10268
  if (Ne("showClone", this), j.eventCanceled)
10269
10269
  return;
10270
- M.parentNode == de && !this.options.group.revertClone ? de.insertBefore(me, M) : Mt ? de.insertBefore(me, Mt) : de.appendChild(me), this.options.group.revertClone && this.animate(M, me), U(me, "display", ""), bt = !1;
10270
+ M.parentNode == de && !this.options.group.revertClone ? de.insertBefore(me, M) : It ? de.insertBefore(me, It) : de.appendChild(me), this.options.group.revertClone && this.animate(M, me), U(me, "display", ""), bt = !1;
10271
10271
  }
10272
10272
  }
10273
10273
  };
@@ -11359,7 +11359,7 @@ function Xv(e, t, n, i, s, r) {
11359
11359
  value: l.value
11360
11360
  }, b(l.title), 9, Jv))), 256))
11361
11361
  ], 40, Zv), [
11362
- [xt, e.model]
11362
+ [wt, e.model]
11363
11363
  ])
11364
11364
  ], 2);
11365
11365
  }
@@ -12006,7 +12006,7 @@ function Eb(e, t, n, i, s, r) {
12006
12006
  value: l.value
12007
12007
  }, b(l.title), 9, Tb))), 256))
12008
12008
  ], 40, Sb), [
12009
- [xt, e.model]
12009
+ [wt, e.model]
12010
12010
  ])
12011
12011
  ], 2);
12012
12012
  }
@@ -16028,13 +16028,13 @@ var gr = {}, bx = {
16028
16028
  }
16029
16029
  return !1;
16030
16030
  }, go = function() {
16031
- var V, L, Z, ie, Ot, We, pt, Rt, Hi;
16031
+ var V, L, Z, ie, Tt, We, pt, Rt, Hi;
16032
16032
  if (We = Pn(), L = ji(), !L)
16033
16033
  return We;
16034
- for (Ot = { value: L, prec: Qe(L) }, pt = Pn(), pt || z("Expected expression after " + L, C), ie = [We, Ot, pt]; (L = ji()) && (Z = Qe(L), Z !== 0); ) {
16035
- for (Ot = { value: L, prec: Z }, Hi = L; ie.length > 2 && Z <= ie[ie.length - 2].prec; )
16034
+ for (Tt = { value: L, prec: Qe(L) }, pt = Pn(), pt || z("Expected expression after " + L, C), ie = [We, Tt, pt]; (L = ji()) && (Z = Qe(L), Z !== 0); ) {
16035
+ for (Tt = { value: L, prec: Z }, Hi = L; ie.length > 2 && Z <= ie[ie.length - 2].prec; )
16036
16036
  pt = ie.pop(), L = ie.pop().value, We = ie.pop(), V = F(L, We, pt), ie.push(V);
16037
- V = Pn(), V || z("Expected expression after " + Hi, C), ie.push(Ot, V);
16037
+ V = Pn(), V || z("Expected expression after " + Hi, C), ie.push(Tt, V);
16038
16038
  }
16039
16039
  for (Rt = ie.length - 1, V = ie[Rt]; Rt > 1; )
16040
16040
  V = F(ie[Rt - 1].value, ie[Rt - 2], V), Rt -= 2;
@@ -16123,9 +16123,9 @@ var gr = {}, bx = {
16123
16123
  name: Z
16124
16124
  };
16125
16125
  }, Bi = function(V) {
16126
- for (var L, Z = [], ie, Ot = !1, We = 0; C < un; )
16126
+ for (var L, Z = [], ie, Tt = !1, We = 0; C < un; )
16127
16127
  if (tt(), L = ue(C), L === V) {
16128
- Ot = !0, C++, V === re && We && We >= Z.length && z("Unexpected token " + String.fromCharCode(V), C);
16128
+ Tt = !0, C++, V === re && We && We >= Z.length && z("Unexpected token " + String.fromCharCode(V), C);
16129
16129
  break;
16130
16130
  } else if (L === T) {
16131
16131
  if (C++, We++, We !== Z.length) {
@@ -16137,7 +16137,7 @@ var gr = {}, bx = {
16137
16137
  }
16138
16138
  } else
16139
16139
  ie = jt(), (!ie || ie.type === i) && z("Expected comma", C), Z.push(ie);
16140
- return Ot || z("Expected " + String.fromCharCode(V), C), Z;
16140
+ return Tt || z("Expected " + String.fromCharCode(V), C), Z;
16141
16141
  }, ko = function() {
16142
16142
  var V, L;
16143
16143
  for (V = ue(C), V === Q ? L = xo() : L = Ri(), tt(), V = ue(C); V === x || V === le || V === Q; )
@@ -16454,7 +16454,7 @@ function RS(e, t, n, i) {
16454
16454
  return n < 0 && (n = jS(s + n, 0)), LS(e) ? n <= s && e.indexOf(t, n) > -1 : !!s && $S(e, t, n) > -1;
16455
16455
  }
16456
16456
  var BS = RS;
16457
- const St = {};
16457
+ const Ot = {};
16458
16458
  function zS(e, t, n, i) {
16459
16459
  return e ? Array.isArray(e) ? e.filter(function(s) {
16460
16460
  const r = or(s, t);
@@ -16498,7 +16498,7 @@ function qS(e, t, n, i, s) {
16498
16498
  }, []);
16499
16499
  return s.unique && (r = [...new Set(r)]), s.flat && (r = r.flat()), r;
16500
16500
  }
16501
- St.evaluateExpression = function(e, t) {
16501
+ Ot.evaluateExpression = function(e, t) {
16502
16502
  if (typeof e == "function")
16503
16503
  return e(t);
16504
16504
  const n = {
@@ -16664,7 +16664,7 @@ const GS = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map
16664
16664
  activeModifiers() {
16665
16665
  const e = this, t = this.expressionsContext;
16666
16666
  return e.modifiers.filter(function(n) {
16667
- return n.condition ? St.evaluateExpression(n.condition, t) : !0;
16667
+ return n.condition ? Ot.evaluateExpression(n.condition, t) : !0;
16668
16668
  });
16669
16669
  },
16670
16670
  calculations() {
@@ -16672,7 +16672,7 @@ const GS = Array.from({ length: 6 }, (e, t) => new Date().getFullYear() + t).map
16672
16672
  let t = [], n = 0;
16673
16673
  e.baseAmount && (n += e.baseAmount), e.activeModifiers.forEach(function(s, r) {
16674
16674
  const a = Object.assign({}, e.expressionsContext, { total: n }), l = n;
16675
- let u = St.evaluateExpression(s.expression, a);
16675
+ let u = Ot.evaluateExpression(s.expression, a);
16676
16676
  u = parseInt(u || 0);
16677
16677
  const c = e.$sdk.utils.formatCurrency(u, e.currency);
16678
16678
  let f = "";
@@ -17049,7 +17049,7 @@ function h2(e, t, n, i, s, r) {
17049
17049
  value: l.value
17050
17050
  }, b(l.title), 9, m2))), 256))
17051
17051
  ], 40, c2), [
17052
- [xt, e.model]
17052
+ [wt, e.model]
17053
17053
  ])
17054
17054
  ], 2);
17055
17055
  }
@@ -17172,7 +17172,7 @@ function O2(e, t, n, i, s, r) {
17172
17172
  value: l.value
17173
17173
  }, b(l.title), 9, S2))), 256))
17174
17174
  ], 40, x2), [
17175
- [xt, e.model]
17175
+ [wt, e.model]
17176
17176
  ])
17177
17177
  ], 2);
17178
17178
  }
@@ -17301,7 +17301,7 @@ function Pe(e) {
17301
17301
  if (!n)
17302
17302
  return;
17303
17303
  let i = t.expressionsContext;
17304
- return St.evaluateExpression(n, i);
17304
+ return Ot.evaluateExpression(n, i);
17305
17305
  };
17306
17306
  }
17307
17307
  const C2 = {
@@ -17545,7 +17545,7 @@ const C2 = {
17545
17545
  if (!this.expressions)
17546
17546
  return;
17547
17547
  let e = this.expressions.show, t = this.expressions.hide, n = this.expressionsContext, i;
17548
- return e ? i = !St.evaluateExpression(e, n) : t && (i = St.evaluateExpression(t, n)), i;
17548
+ return e ? i = !Ot.evaluateExpression(e, n) : t && (i = Ot.evaluateExpression(t, n)), i;
17549
17549
  },
17550
17550
  getExpressionTitle: Pe("title"),
17551
17551
  getExpressionRequired: Pe("required"),
@@ -19113,9 +19113,9 @@ const dT = {
19113
19113
  return;
19114
19114
  let e = this.expressions.show, t = this.expressions.hide, n = this.expressionsContext;
19115
19115
  if (e)
19116
- return !St.evaluateExpression(e, n);
19116
+ return !Ot.evaluateExpression(e, n);
19117
19117
  if (t)
19118
- return St.evaluateExpression(t, n);
19118
+ return Ot.evaluateExpression(t, n);
19119
19119
  },
19120
19120
  expressions() {
19121
19121
  return this.field.expressions;
@@ -20355,7 +20355,7 @@ const LT = {
20355
20355
  actualOptions: this.options
20356
20356
  };
20357
20357
  }
20358
- }, _o = (e) => (st("data-v-4f6cf2cc"), e = e(), at(), e), PT = { class: "footer" }, UT = /* @__PURE__ */ _o(() => /* @__PURE__ */ w("p", null, null, -1)), jT = { key: 0 }, RT = /* @__PURE__ */ _o(() => /* @__PURE__ */ w("p", null, null, -1));
20358
+ }, _o = (e) => (st("data-v-a7d8cd80"), e = e(), at(), e), PT = { class: "footer" }, UT = /* @__PURE__ */ _o(() => /* @__PURE__ */ w("p", null, null, -1)), jT = { key: 0 }, RT = /* @__PURE__ */ _o(() => /* @__PURE__ */ w("p", null, null, -1));
20359
20359
  function BT(e, t, n, i, s, r) {
20360
20360
  const a = y("ux-icon"), l = y("ux-panel-body"), u = y("ux-panel"), c = y("flex-column"), f = y("ux-button"), p = y("ux-list-item"), g = y("ux-list"), v = y("ux-menu"), x = y("native-table"), T = y("pager"), A = y("flex-footer"), G = y("flex-row"), Q = y("search"), re = y("ux-field"), le = y("filter-builder"), oe = y("flex-body"), B = y("spinner");
20361
20361
  return r.actualDefinition ? (o(), k(c, {
@@ -20401,7 +20401,7 @@ function BT(e, t, n, i, s, r) {
20401
20401
  _: 1
20402
20402
  })) : r.items.length ? (o(), k(c, { key: 1 }, {
20403
20403
  default: h(() => [
20404
- r.viewMode && r.viewMode.component ? (o(), k(Ft(r.viewMode.component), {
20404
+ r.viewMode && r.viewMode.component ? (o(), k(xt(r.viewMode.component), {
20405
20405
  key: 0,
20406
20406
  onReload: r.debounceReload,
20407
20407
  cacheKey: r.viewModeCacheKey,
@@ -20470,26 +20470,38 @@ function BT(e, t, n, i, s, r) {
20470
20470
  key: 3,
20471
20471
  class: "empty",
20472
20472
  center: ""
20473
- })) : (o(), k(c, {
20474
- key: 2,
20475
- class: "empty",
20476
- center: ""
20477
- }, {
20478
- default: h(() => [
20479
- m(u, null, {
20480
- default: h(() => [
20481
- m(l, null, {
20482
- default: h(() => [
20483
- w("div", null, "No " + b(r.plural) + " found.", 1)
20484
- ]),
20485
- _: 1
20486
- })
20487
- ]),
20488
- _: 1
20489
- })
20490
- ]),
20491
- _: 1
20492
- }))
20473
+ })) : (o(), d(S, { key: 2 }, [
20474
+ r.viewMode && r.viewMode.component && r.viewMode.customEmpty ? (o(), k(xt(r.viewMode.component), {
20475
+ key: 0,
20476
+ onReload: r.debounceReload,
20477
+ cacheKey: r.viewModeCacheKey,
20478
+ definition: r.actualDefinition,
20479
+ selection: s.manager.items,
20480
+ items: r.items,
20481
+ "onClick:actions": r.actionsClicked,
20482
+ "onSelect:item:toggle": r.rowToggled,
20483
+ "onClick:item": r.rowClicked
20484
+ }, null, 40, ["onReload", "cacheKey", "definition", "selection", "items", "onClick:actions", "onSelect:item:toggle", "onClick:item"])) : (o(), k(c, {
20485
+ key: 1,
20486
+ class: "empty",
20487
+ center: ""
20488
+ }, {
20489
+ default: h(() => [
20490
+ m(u, null, {
20491
+ default: h(() => [
20492
+ m(l, null, {
20493
+ default: h(() => [
20494
+ w("div", null, "No " + b(r.plural) + " found.", 1)
20495
+ ]),
20496
+ _: 1
20497
+ })
20498
+ ]),
20499
+ _: 1
20500
+ })
20501
+ ]),
20502
+ _: 1
20503
+ }))
20504
+ ], 64))
20493
20505
  ], 64)) : _("", !0)
20494
20506
  ]),
20495
20507
  _: 3
@@ -20564,7 +20576,7 @@ function BT(e, t, n, i, s, r) {
20564
20576
  _: 3
20565
20577
  })) : _("", !0);
20566
20578
  }
20567
- const zT = /* @__PURE__ */ E(LT, [["render", BT], ["__scopeId", "data-v-4f6cf2cc"]]), Ln = {
20579
+ const zT = /* @__PURE__ */ E(LT, [["render", BT], ["__scopeId", "data-v-a7d8cd80"]]), Ln = {
20568
20580
  props: {
20569
20581
  options: {
20570
20582
  type: Object,
@@ -20624,9 +20636,9 @@ function GT(e, t, n, i, s, r) {
20624
20636
  }),
20625
20637
  w("div", {
20626
20638
  class: "modal-content",
20627
- style: wt(r.style)
20639
+ style: St(r.style)
20628
20640
  }, [
20629
- (o(), k(Ft(n.modal.component), wi({
20641
+ (o(), k(xt(n.modal.component), wi({
20630
20642
  options: n.modal.options
20631
20643
  }, r.componentProps, {
20632
20644
  onClose: r.close,