@opens/ui 1.1.9 → 1.1.10

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as K, ref as G, watch as be, createElementBlock as D, openBlock as m, createElementVNode as x, withDirectives as Le, toDisplayString as ee, normalizeClass as O, withKeys as Fn, vModelDynamic as Oo, renderSlot as F, computed as p, vShow as Hr, pushScopeId as zf, popScopeId as jf, nextTick as In, normalizeProps as En, guardReactiveProps as Zr, resolveComponent as ze, createBlock as j, mergeProps as Dn, withCtx as $, createVNode as Y, createApp as Vf, h as Uf, withScopeId as Gf, normalizeStyle as mn, createCommentVNode as R, Fragment as ke, unref as _, useSlots as Ke, createTextVNode as Q, onMounted as mr, onBeforeUnmount as qf, renderList as Ie, resolveDirective as Po, mergeModels as Zf, useModel as Ei, Teleport as Kf, withModifiers as Eu, reactive as Co, onUnmounted as Yo, toRefs as Xf, resolveDynamicComponent as us, inject as ca, toRef as Ya, watchEffect as Lu, provide as da, isRef as Yr, toHandlers as Jf, Transition as Ru, vModelText as Qf, markRaw as eh } from "vue";
1
+ import { defineComponent as K, ref as G, watch as be, createElementBlock as D, openBlock as m, createElementVNode as x, withDirectives as Le, toDisplayString as ee, normalizeClass as O, withKeys as Fn, vModelDynamic as Oo, renderSlot as F, computed as p, vShow as Hr, pushScopeId as zf, popScopeId as jf, nextTick as In, normalizeProps as En, guardReactiveProps as Zr, resolveComponent as ze, createBlock as j, mergeProps as Dn, withCtx as $, createVNode as Y, createApp as Vf, h as Uf, withScopeId as Gf, normalizeStyle as mn, createCommentVNode as R, Fragment as ke, unref as _, useSlots as Ue, createTextVNode as Q, onMounted as mr, onBeforeUnmount as qf, renderList as Ie, resolveDirective as Po, mergeModels as Zf, useModel as Ei, Teleport as Kf, withModifiers as Eu, reactive as Co, onUnmounted as Yo, toRefs as Xf, resolveDynamicComponent as us, inject as ca, toRef as Ya, watchEffect as Lu, provide as da, isRef as Yr, toHandlers as Jf, Transition as Ru, vModelText as Qf, markRaw as eh } from "vue";
2
2
  const th = { class: "simple-input" }, nh = { class: "yu-flex yu-h-full yu-pl-2" }, rh = { class: "material-icons yu-text-gray-700 yu-my-auto" }, ah = ["placeholder", "type", "maxlength"], Li = /* @__PURE__ */ K({
3
3
  __name: "icon-text-input",
4
4
  props: {
@@ -2861,7 +2861,7 @@ const $p = /* @__PURE__ */ K({
2861
2861
  },
2862
2862
  emits: ["update:modelValue", "keyup-enter"],
2863
2863
  setup(e, { expose: t, emit: n }) {
2864
- const r = e, a = p(() => Ke());
2864
+ const r = e, a = p(() => Ue());
2865
2865
  function s(E) {
2866
2866
  return !!a.value[E];
2867
2867
  }
@@ -3030,7 +3030,7 @@ const Sp = ["disabled"], Hn = /* @__PURE__ */ K({
3030
3030
  block: Boolean
3031
3031
  },
3032
3032
  setup(e) {
3033
- const t = e, n = p(() => Ke());
3033
+ const t = e, n = p(() => Ue());
3034
3034
  function r(d) {
3035
3035
  return !!n.value[d];
3036
3036
  }
@@ -3084,7 +3084,7 @@ const vc = /* @__PURE__ */ K({
3084
3084
  round: Boolean
3085
3085
  },
3086
3086
  setup(e) {
3087
- const t = e, n = p(() => Ke());
3087
+ const t = e, n = p(() => Ue());
3088
3088
  function r(c) {
3089
3089
  return !!n.value[c];
3090
3090
  }
@@ -3192,7 +3192,7 @@ const Op = ["disabled"], Pp = {
3192
3192
  },
3193
3193
  emits: ["update:modelValue", "search", "intersect"],
3194
3194
  setup(e, { expose: t, emit: n }) {
3195
- const r = e, a = n, s = p(() => Ke());
3195
+ const r = e, a = n, s = p(() => Ue());
3196
3196
  function o(I) {
3197
3197
  return !!s.value[I];
3198
3198
  }
@@ -3697,7 +3697,7 @@ const sy = /* @__PURE__ */ It(ay, [["render", ry]]), oy = /* @__PURE__ */ K({
3697
3697
  large: Boolean
3698
3698
  },
3699
3699
  setup(e) {
3700
- const t = p(() => Ke()), n = e, r = p(() => !!t.value.default), a = p(() => n.ping ? "yu-animate-ping" : ""), s = p(() => n.error ? "error" : n.warning ? "warning" : n.info ? "info" : n.success ? "check_circle" : "info"), o = p(() => n.error ? "yu-text-red-500" : n.warning ? "yu-text-amber-500" : n.info ? "yu-text-zinc-300" : n.success ? "yu-text-green-500" : "yu-text-zinc-400");
3700
+ const t = p(() => Ue()), n = e, r = p(() => !!t.value.default), a = p(() => n.ping ? "yu-animate-ping" : ""), s = p(() => n.error ? "error" : n.warning ? "warning" : n.info ? "info" : n.success ? "check_circle" : "info"), o = p(() => n.error ? "yu-text-red-500" : n.warning ? "yu-text-amber-500" : n.info ? "yu-text-zinc-300" : n.success ? "yu-text-green-500" : "yu-text-zinc-400");
3701
3701
  return (i, l) => r.value ? (m(), j(_(fp), { key: 1 }, {
3702
3702
  popper: $(() => [
3703
3703
  x("div", cy, [
@@ -4156,7 +4156,7 @@ const Wy = /* @__PURE__ */ It(Hy, [["render", Fy]]), zy = /* @__PURE__ */ K({
4156
4156
  },
4157
4157
  setup(e) {
4158
4158
  const t = e;
4159
- p(() => Ke());
4159
+ p(() => Ue());
4160
4160
  const n = p(() => t.small ? "yu-h-8 yu-w-8" : t.large ? "yu-h-12 yu-w-12" : "yu-h-10 yu-w-10"), r = p(() => t.round ? "yu-rounded-full" : "yu-rounded-lg"), a = G(!0);
4161
4161
  return (s, o) => (m(), D("div", {
4162
4162
  class: O(["yu-flex yu-items-center yu-justify-center yu-border yu-relative", [n.value, r.value]])
@@ -4218,7 +4218,7 @@ const Wy = /* @__PURE__ */ It(Hy, [["render", Fy]]), zy = /* @__PURE__ */ K({
4218
4218
  icon: Boolean
4219
4219
  },
4220
4220
  setup(e) {
4221
- const t = e, n = p(() => Ke());
4221
+ const t = e, n = p(() => Ue());
4222
4222
  function r(u) {
4223
4223
  return !!n.value[u];
4224
4224
  }
@@ -4276,7 +4276,7 @@ const Wy = /* @__PURE__ */ It(Hy, [["render", Fy]]), zy = /* @__PURE__ */ K({
4276
4276
  },
4277
4277
  emits: ["update:modelValue"],
4278
4278
  setup(e, { emit: t }) {
4279
- const n = Ke(), r = p(() => !!n.default), a = e, s = t, o = p(() => a.small ? "yu-h-5 yu-w-9" : "yu-h-6 yu-w-11"), i = p(() => a.small ? "yu-h-4 yu-w-4" : "yu-h-5 yu-w-5"), l = p(() => a.modelValue ? a.small ? "yu-translate-x-4" : "yu-translate-x-5" : "yu-translate-x-0"), u = p(() => a.round ? "yu-rounded-full" : "yu-rounded-md"), c = p(() => a.disabled ? "yu-opacity-50 yu-pointer-events-none" : ""), d = p(() => a.modelValue ? "yu-bg-primary-500" : "yu-bg-gray-200");
4279
+ const n = Ue(), r = p(() => !!n.default), a = e, s = t, o = p(() => a.small ? "yu-h-5 yu-w-9" : "yu-h-6 yu-w-11"), i = p(() => a.small ? "yu-h-4 yu-w-4" : "yu-h-5 yu-w-5"), l = p(() => a.modelValue ? a.small ? "yu-translate-x-4" : "yu-translate-x-5" : "yu-translate-x-0"), u = p(() => a.round ? "yu-rounded-full" : "yu-rounded-md"), c = p(() => a.disabled ? "yu-opacity-50 yu-pointer-events-none" : ""), d = p(() => a.modelValue ? "yu-bg-primary-500" : "yu-bg-gray-200");
4280
4280
  return (h, f) => r.value ? (m(), j(he, {
4281
4281
  key: 0,
4282
4282
  wrap: "",
@@ -4333,7 +4333,7 @@ const Wy = /* @__PURE__ */ It(Hy, [["render", Fy]]), zy = /* @__PURE__ */ K({
4333
4333
  icon: Boolean
4334
4334
  },
4335
4335
  setup(e, { expose: t }) {
4336
- const n = e, r = p(() => Ke());
4336
+ const n = e, r = p(() => Ue());
4337
4337
  function a(g) {
4338
4338
  return !!r.value[g];
4339
4339
  }
@@ -4448,7 +4448,7 @@ const Wy = /* @__PURE__ */ It(Hy, [["render", Fy]]), zy = /* @__PURE__ */ K({
4448
4448
  round: Boolean
4449
4449
  },
4450
4450
  setup(e) {
4451
- const t = e, n = p(() => Ke());
4451
+ const t = e, n = p(() => Ue());
4452
4452
  function r(u) {
4453
4453
  return !!n.value[u];
4454
4454
  }
@@ -4491,7 +4491,7 @@ const Wy = /* @__PURE__ */ It(Hy, [["render", Fy]]), zy = /* @__PURE__ */ K({
4491
4491
  ], 2));
4492
4492
  }
4493
4493
  });
4494
- var qe = "top", lt = "bottom", ut = "right", Ze = "left", Ro = "auto", fa = [qe, lt, ut, Ze], dr = "start", ta = "end", ev = "clippingParents", _c = "viewport", Ar = "popper", tv = "reference", dl = /* @__PURE__ */ fa.reduce(function(e, t) {
4494
+ var Ze = "top", lt = "bottom", ut = "right", Ke = "left", Ro = "auto", fa = [Ze, lt, ut, Ke], dr = "start", ta = "end", ev = "clippingParents", _c = "viewport", Ar = "popper", tv = "reference", dl = /* @__PURE__ */ fa.reduce(function(e, t) {
4495
4495
  return e.concat([t + "-" + dr, t + "-" + ta]);
4496
4496
  }, []), $c = /* @__PURE__ */ [].concat(fa, [Ro]).reduce(function(e, t) {
4497
4497
  return e.concat([t, t + "-" + dr, t + "-" + ta]);
@@ -4697,9 +4697,9 @@ var gv = function(t, n) {
4697
4697
  })) : t, Mc(typeof t != "number" ? t : Sc(t, fa));
4698
4698
  };
4699
4699
  function wv(e) {
4700
- var t, n = e.state, r = e.name, a = e.options, s = n.elements.arrow, o = n.modifiersData.popperOffsets, i = Pt(n.placement), l = Wo(i), u = [Ze, ut].indexOf(i) >= 0, c = u ? "height" : "width";
4700
+ var t, n = e.state, r = e.name, a = e.options, s = n.elements.arrow, o = n.modifiersData.popperOffsets, i = Pt(n.placement), l = Wo(i), u = [Ke, ut].indexOf(i) >= 0, c = u ? "height" : "width";
4701
4701
  if (!(!s || !o)) {
4702
- var d = gv(a.padding, n), h = Ho(s), f = l === "y" ? qe : Ze, v = l === "y" ? lt : ut, g = n.rects.reference[c] + n.rects.reference[l] - o[l] - n.rects.popper[c], b = o[l] - n.rects.reference[l], w = ha(s), T = w ? l === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, M = g / 2 - b / 2, k = d[f], P = T - h[c] - d[v], E = T / 2 - h[c] / 2 + M, A = Ur(k, E, P), W = l;
4702
+ var d = gv(a.padding, n), h = Ho(s), f = l === "y" ? Ze : Ke, v = l === "y" ? lt : ut, g = n.rects.reference[c] + n.rects.reference[l] - o[l] - n.rects.popper[c], b = o[l] - n.rects.reference[l], w = ha(s), T = w ? l === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0, M = g / 2 - b / 2, k = d[f], P = T - h[c] - d[v], E = T / 2 - h[c] / 2 + M, A = Ur(k, E, P), W = l;
4703
4703
  n.modifiersData[r] = (t = {}, t[W] = A, t.centerOffset = A - E, t);
4704
4704
  }
4705
4705
  }
@@ -4741,10 +4741,10 @@ function hl(e) {
4741
4741
  y: g
4742
4742
  };
4743
4743
  f = b.x, g = b.y;
4744
- var w = o.hasOwnProperty("x"), T = o.hasOwnProperty("y"), M = Ze, k = qe, P = window;
4744
+ var w = o.hasOwnProperty("x"), T = o.hasOwnProperty("y"), M = Ke, k = Ze, P = window;
4745
4745
  if (u) {
4746
4746
  var E = ha(n), A = "clientHeight", W = "clientWidth";
4747
- if (E === Qe(n) && (E = xn(n), qt(E).position !== "static" && i === "absolute" && (A = "scrollHeight", W = "scrollWidth")), E = E, a === qe || (a === Ze || a === ut) && s === ta) {
4747
+ if (E === Qe(n) && (E = xn(n), qt(E).position !== "static" && i === "absolute" && (A = "scrollHeight", W = "scrollWidth")), E = E, a === Ze || (a === Ke || a === ut) && s === ta) {
4748
4748
  k = lt;
4749
4749
  var X = d && E === P && P.visualViewport ? P.visualViewport.height : (
4750
4750
  // $FlowFixMe[prop-missing]
@@ -4752,7 +4752,7 @@ function hl(e) {
4752
4752
  );
4753
4753
  g -= X - r.height, g *= l ? 1 : -1;
4754
4754
  }
4755
- if (a === Ze || (a === qe || a === lt) && s === ta) {
4755
+ if (a === Ke || (a === Ze || a === lt) && s === ta) {
4756
4756
  M = ut;
4757
4757
  var I = d && E === P && P.visualViewport ? P.visualViewport.width : (
4758
4758
  // $FlowFixMe[prop-missing]
@@ -4928,7 +4928,7 @@ function Iv(e, t, n, r) {
4928
4928
  function Oc(e) {
4929
4929
  var t = e.reference, n = e.element, r = e.placement, a = r ? Pt(r) : null, s = r ? pr(r) : null, o = t.x + t.width / 2 - n.width / 2, i = t.y + t.height / 2 - n.height / 2, l;
4930
4930
  switch (a) {
4931
- case qe:
4931
+ case Ze:
4932
4932
  l = {
4933
4933
  x: o,
4934
4934
  y: t.y - n.height
@@ -4946,7 +4946,7 @@ function Oc(e) {
4946
4946
  y: i
4947
4947
  };
4948
4948
  break;
4949
- case Ze:
4949
+ case Ke:
4950
4950
  l = {
4951
4951
  x: t.x - n.width,
4952
4952
  y: i
@@ -4987,7 +4987,7 @@ function na(e, t) {
4987
4987
  if (h === Ar && H) {
4988
4988
  var L = H[a];
4989
4989
  Object.keys(I).forEach(function(q) {
4990
- var re = [ut, lt].indexOf(q) >= 0 ? 1 : -1, Z = [qe, lt].indexOf(q) >= 0 ? "y" : "x";
4990
+ var re = [ut, lt].indexOf(q) >= 0 ? 1 : -1, Z = [Ze, lt].indexOf(q) >= 0 ? "y" : "x";
4991
4991
  I[q] += L[Z] * re;
4992
4992
  });
4993
4993
  }
@@ -5032,13 +5032,13 @@ function Ev(e) {
5032
5032
  allowedAutoPlacements: g
5033
5033
  }) : Ye);
5034
5034
  }, []), P = t.rects.reference, E = t.rects.popper, A = /* @__PURE__ */ new Map(), W = !0, X = k[0], I = 0; I < k.length; I++) {
5035
- var H = k[I], L = Pt(H), q = pr(H) === dr, re = [qe, lt].indexOf(L) >= 0, Z = re ? "width" : "height", ae = na(t, {
5035
+ var H = k[I], L = Pt(H), q = pr(H) === dr, re = [Ze, lt].indexOf(L) >= 0, Z = re ? "width" : "height", ae = na(t, {
5036
5036
  placement: H,
5037
5037
  boundary: c,
5038
5038
  rootBoundary: d,
5039
5039
  altBoundary: h,
5040
5040
  padding: u
5041
- }), ie = re ? q ? ut : Ze : q ? lt : qe;
5041
+ }), ie = re ? q ? ut : Ke : q ? lt : Ze;
5042
5042
  P[Z] > E[Z] && (ie = Ia(ie));
5043
5043
  var me = Ia(ie), de = [];
5044
5044
  if (s && de.push(ae[L] <= 0), i && de.push(ae[ie] <= 0, ae[me] <= 0), de.every(function(ge) {
@@ -5089,7 +5089,7 @@ function vl(e, t, n) {
5089
5089
  };
5090
5090
  }
5091
5091
  function ml(e) {
5092
- return [qe, ut, lt, Ze].some(function(t) {
5092
+ return [Ze, ut, lt, Ke].some(function(t) {
5093
5093
  return e[t] >= 0;
5094
5094
  });
5095
5095
  }
@@ -5117,10 +5117,10 @@ const Fv = {
5117
5117
  fn: Rv
5118
5118
  };
5119
5119
  function Hv(e, t, n) {
5120
- var r = Pt(e), a = [Ze, qe].indexOf(r) >= 0 ? -1 : 1, s = typeof n == "function" ? n(Object.assign({}, t, {
5120
+ var r = Pt(e), a = [Ke, Ze].indexOf(r) >= 0 ? -1 : 1, s = typeof n == "function" ? n(Object.assign({}, t, {
5121
5121
  placement: e
5122
5122
  })) : n, o = s[0], i = s[1];
5123
- return o = o || 0, i = (i || 0) * a, [Ze, ut].indexOf(r) >= 0 ? {
5123
+ return o = o || 0, i = (i || 0) * a, [Ke, ut].indexOf(r) >= 0 ? {
5124
5124
  x: i,
5125
5125
  y: o
5126
5126
  } : {
@@ -5179,14 +5179,14 @@ function Gv(e) {
5179
5179
  };
5180
5180
  if (E) {
5181
5181
  if (s) {
5182
- var q, re = k === "y" ? qe : Ze, Z = k === "y" ? lt : ut, ae = k === "y" ? "height" : "width", ie = E[k], me = ie + b[re], de = ie - b[Z], N = f ? -W[ae] / 2 : 0, fe = T === dr ? A[ae] : W[ae], ne = T === dr ? -W[ae] : -A[ae], Ce = t.elements.arrow, ge = f && Ce ? Ho(Ce) : {
5182
+ var q, re = k === "y" ? Ze : Ke, Z = k === "y" ? lt : ut, ae = k === "y" ? "height" : "width", ie = E[k], me = ie + b[re], de = ie - b[Z], N = f ? -W[ae] / 2 : 0, fe = T === dr ? A[ae] : W[ae], ne = T === dr ? -W[ae] : -A[ae], Ce = t.elements.arrow, ge = f && Ce ? Ho(Ce) : {
5183
5183
  width: 0,
5184
5184
  height: 0
5185
5185
  }, Ye = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : kc(), Ne = Ye[re], Ae = Ye[Z], Ee = Ur(0, A[ae], ge[ae]), Xe = M ? A[ae] / 2 - N - Ee - Ne - I.mainAxis : fe - Ee - Ne - I.mainAxis, Rt = M ? -A[ae] / 2 + N + Ee + Ae + I.mainAxis : ne + Ee + Ae + I.mainAxis, ft = t.elements.arrow && ha(t.elements.arrow), tt = ft ? k === "y" ? ft.clientTop || 0 : ft.clientLeft || 0 : 0, nt = (q = H?.[k]) != null ? q : 0, nn = ie + Xe - nt - tt, Zn = ie + Rt - nt, xt = Ur(f ? Ga(me, nn) : me, ie, f ? Ln(de, Zn) : de);
5186
5186
  E[k] = xt, L[k] = xt - ie;
5187
5187
  }
5188
5188
  if (i) {
5189
- var Mn, Sn = k === "x" ? qe : Ze, Tn = k === "x" ? lt : ut, ht = E[P], rn = P === "y" ? "height" : "width", an = ht + b[Sn], sn = ht - b[Tn], on = [qe, Ze].indexOf(w) !== -1, ln = (Mn = H?.[P]) != null ? Mn : 0, un = on ? an : ht - A[rn] - W[rn] - ln + I.altAxis, On = on ? ht + A[rn] + W[rn] - ln - I.altAxis : sn, Kn = f && on ? mv(un, ht, On) : Ur(f ? un : an, ht, f ? On : sn);
5189
+ var Mn, Sn = k === "x" ? Ze : Ke, Tn = k === "x" ? lt : ut, ht = E[P], rn = P === "y" ? "height" : "width", an = ht + b[Sn], sn = ht - b[Tn], on = [Ze, Ke].indexOf(w) !== -1, ln = (Mn = H?.[P]) != null ? Mn : 0, un = on ? an : ht - A[rn] - W[rn] - ln + I.altAxis, On = on ? ht + A[rn] + W[rn] - ln - I.altAxis : sn, Kn = f && on ? mv(un, ht, On) : Ur(f ? un : an, ht, f ? On : sn);
5190
5190
  E[P] = Kn, L[P] = Kn - ht;
5191
5191
  }
5192
5192
  t.modifiersData[r] = L;
@@ -8953,14 +8953,14 @@ function uT(e, { slots: t, emit: n }) {
8953
8953
  force: se
8954
8954
  }), Xn = [];
8955
8955
  for (let Jn = 0; Jn < A.value; Jn++) {
8956
- const Es = fe(Je, Jn), Ue = Jn + 1, Ls = Math.ceil(Ue / e.columns), Da = e.rows - Ls + 1, Pr = Ue % e.columns || e.columns, Cr = e.columns - Pr + 1, Wf = ft(Pr, Cr);
8956
+ const Es = fe(Je, Jn), Ge = Jn + 1, Ls = Math.ceil(Ge / e.columns), Da = e.rows - Ls + 1, Pr = Ge % e.columns || e.columns, Cr = e.columns - Pr + 1, Wf = ft(Pr, Cr);
8957
8957
  Xn.push(
8958
8958
  w.value.getPage({
8959
8959
  ...Es,
8960
8960
  view: u.value,
8961
8961
  titlePosition: e.titlePosition,
8962
8962
  trimWeeks: e.trimWeeks,
8963
- position: Ue,
8963
+ position: Ge,
8964
8964
  row: Ls,
8965
8965
  rowFromEnd: Da,
8966
8966
  column: Pr,
@@ -10510,24 +10510,24 @@ function _O(e, { emit: t, slots: n }) {
10510
10510
  moveToValue: Jn = !1
10511
10511
  } = {}) {
10512
10512
  const Es = ge(S);
10513
- let Ue = Rt(
10513
+ let Ge = Rt(
10514
10514
  y,
10515
10515
  Es,
10516
10516
  z,
10517
10517
  Xn
10518
10518
  );
10519
- if (Xe(Ue)) {
10519
+ if (Xe(Ge)) {
10520
10520
  if (Je)
10521
10521
  return null;
10522
- Ue = u.value, We = !1;
10523
- } else Ue == null && e.isRequired ? Ue = u.value : (
10522
+ Ge = u.value, We = !1;
10523
+ } else Ge == null && e.isRequired ? Ge = u.value : (
10524
10524
  // Clear value if same value was passed
10525
- Ue != null && Ee(u.value, Ue) && se && (Ue = null)
10525
+ Ge != null && Ee(u.value, Ge) && se && (Ge = null)
10526
10526
  );
10527
- const Da = Je ? c : u, Pr = !Ee(Da.value, Ue);
10528
- Da.value = Ue, Je || (c.value = null);
10527
+ const Da = Je ? c : u, Pr = !Ee(Da.value, Ge);
10528
+ Da.value = Ge, Je || (c.value = null);
10529
10529
  const Cr = ft(
10530
- Ue,
10530
+ Ge,
10531
10531
  W.value
10532
10532
  );
10533
10533
  return Pr && (b = !1, t(Je ? "drag" : "update:modelValue", Cr), In(() => b = !0)), We && !Je && Or(), Oe && nn(), Jn && In(() => _a(Xn ?? "start")), Cr;
@@ -11179,7 +11179,7 @@ function yi(e) {
11179
11179
  return !1;
11180
11180
  return !0;
11181
11181
  }
11182
- function Ge(e) {
11182
+ function qe(e) {
11183
11183
  return e === void 0;
11184
11184
  }
11185
11185
  function Xt(e) {
@@ -11250,9 +11250,9 @@ function Ds(e) {
11250
11250
  var Cu = V.momentProperties = [], Ks = !1;
11251
11251
  function mi(e, t) {
11252
11252
  var n, r, a, s = Cu.length;
11253
- if (Ge(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), Ge(t._i) || (e._i = t._i), Ge(t._f) || (e._f = t._f), Ge(t._l) || (e._l = t._l), Ge(t._strict) || (e._strict = t._strict), Ge(t._tzm) || (e._tzm = t._tzm), Ge(t._isUTC) || (e._isUTC = t._isUTC), Ge(t._offset) || (e._offset = t._offset), Ge(t._pf) || (e._pf = oe(t)), Ge(t._locale) || (e._locale = t._locale), s > 0)
11253
+ if (qe(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), qe(t._i) || (e._i = t._i), qe(t._f) || (e._f = t._f), qe(t._l) || (e._l = t._l), qe(t._strict) || (e._strict = t._strict), qe(t._tzm) || (e._tzm = t._tzm), qe(t._isUTC) || (e._isUTC = t._isUTC), qe(t._offset) || (e._offset = t._offset), qe(t._pf) || (e._pf = oe(t)), qe(t._locale) || (e._locale = t._locale), s > 0)
11254
11254
  for (n = 0; n < s; n++)
11255
- r = Cu[n], a = t[r], Ge(a) || (e[r] = a);
11255
+ r = Cu[n], a = t[r], qe(a) || (e[r] = a);
11256
11256
  return e;
11257
11257
  }
11258
11258
  function va(e) {
@@ -12124,7 +12124,7 @@ function Ps(e) {
12124
12124
  }
12125
12125
  function bn(e, t) {
12126
12126
  var n;
12127
- return e && (Ge(t) ? n = en(e) : n = Ti(e, t), n ? ua = n : typeof console < "u" && console.warn && console.warn(
12127
+ return e && (qe(t) ? n = en(e) : n = Ti(e, t), n ? ua = n : typeof console < "u" && console.warn && console.warn(
12128
12128
  "Locale " + e + " not found. Did you forget to load it?"
12129
12129
  )), ua._abbr;
12130
12130
  }
@@ -12419,7 +12419,7 @@ function bf(e) {
12419
12419
  }
12420
12420
  function SC(e) {
12421
12421
  var t = e._i;
12422
- Ge(t) ? e._d = new Date(V.now()) : ya(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? bC(e) : wt(t) ? (e._a = Xd(t.slice(0), function(n) {
12422
+ qe(t) ? e._d = new Date(V.now()) : ya(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? bC(e) : wt(t) ? (e._a = Xd(t.slice(0), function(n) {
12423
12423
  return parseInt(n, 10);
12424
12424
  }), Pi(e)) : Rn(t) ? kC(e) : Xt(t) ? e._d = new Date(t) : V.createFromInputFallback(e);
12425
12425
  }
@@ -12579,7 +12579,7 @@ function jC() {
12579
12579
  return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
12580
12580
  }
12581
12581
  function VC() {
12582
- if (!Ge(this._isDSTShifted))
12582
+ if (!qe(this._isDSTShifted))
12583
12583
  return this._isDSTShifted;
12584
12584
  var e = {}, t;
12585
12585
  return mi(e, this), e = bf(e), e._a ? (t = e._isUTC ? Et(e._a) : Me(e._a), this._isDSTShifted = this.isValid() && NC(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
@@ -13745,7 +13745,7 @@ const WA = /* @__PURE__ */ K({
13745
13745
  },
13746
13746
  emits: ["update:modelValue"],
13747
13747
  setup(e, { expose: t, emit: n }) {
13748
- const r = n, a = p(() => Ke());
13748
+ const r = n, a = p(() => Ue());
13749
13749
  function s(v) {
13750
13750
  return !!a.value[v];
13751
13751
  }
@@ -13887,11 +13887,11 @@ const WA = /* @__PURE__ */ K({
13887
13887
  },
13888
13888
  emits: ["update:modelValue"],
13889
13889
  setup(e, { expose: t, emit: n }) {
13890
- const r = e, a = n, s = p(() => Ke());
13890
+ const r = e, a = n, s = p(() => Ue());
13891
13891
  function o(M) {
13892
13892
  return !!s.value[M];
13893
13893
  }
13894
- const i = G(r.modelValue || ""), l = G(!1), u = () => !(l.value || i.value), c = p(() => r.invalid ? "yu-border-red-500 focus-within:yu-border-red-500" : r.valid ? "yu-border-green-500 focus-within:yu-border-green-500" : "focus-within:yu-border-primary focus-within:yu-border-2"), d = p(() => r.invalid ? "yu-text-red-500" : r.valid ? "yu-text-green-500" : ""), h = p(() => {
13894
+ const i = G(r.modelValue || ""), l = G(!1), u = () => !(l.value || i.value), c = p(() => r.invalid ? "yu-border-red-500 focus-within:yu-border-red-500" : r.valid ? "yu-border-green-500 focus-within:yu-border-green-500" : "focus-within:yu-border-primary focus-within:yu-border-2 yu-border-gray-300 yu-border"), d = p(() => r.invalid ? "yu-text-red-500" : r.valid ? "yu-text-green-500" : ""), h = p(() => {
13895
13895
  if (u()) return "yu-translate-y-1/4";
13896
13896
  if (!u()) return "yu-translate-x-0 yu-text-xs";
13897
13897
  }), f = p(() => r.disabled ? "yu-opacity-50 yu-pointer-events-none" : ""), v = p(() => r.fluid ? "!yu-w-full" : ""), g = G(null), b = G(null), w = () => {
@@ -14027,7 +14027,7 @@ const WA = /* @__PURE__ */ K({
14027
14027
  },
14028
14028
  emits: ["change"],
14029
14029
  setup(e, { emit: t }) {
14030
- const n = t, r = e, a = Ke(), s = p(() => {
14030
+ const n = t, r = e, a = Ue(), s = p(() => {
14031
14031
  const d = {};
14032
14032
  return r.options.forEach((h) => {
14033
14033
  d[h.name] = h;
@@ -14123,7 +14123,7 @@ const WA = /* @__PURE__ */ K({
14123
14123
  },
14124
14124
  emits: ["reload"],
14125
14125
  setup(e, { emit: t }) {
14126
- const n = t, r = e, a = Ke();
14126
+ const n = t, r = e, a = Ue();
14127
14127
  function s(h) {
14128
14128
  return !!a[h];
14129
14129
  }
@@ -14375,8 +14375,26 @@ const lI = /* @__PURE__ */ K({
14375
14375
  _: 1
14376
14376
  })) : R("", !0);
14377
14377
  }
14378
+ }), uI = { class: "yu-table-fixed yu-w-full" }, cI = { key: 0 }, dI = { key: 1 }, fI = /* @__PURE__ */ K({
14379
+ __name: "app-double-column",
14380
+ setup(e) {
14381
+ const t = Ue();
14382
+ function n(r) {
14383
+ return !!t[r];
14384
+ }
14385
+ return (r, a) => (m(), D("table", uI, [
14386
+ x("tr", null, [
14387
+ n("col-1") ? (m(), D("td", cI, [
14388
+ F(r.$slots, "col-1")
14389
+ ])) : R("", !0),
14390
+ n("col-2") ? (m(), D("td", dI, [
14391
+ F(r.$slots, "col-2")
14392
+ ])) : R("", !0)
14393
+ ])
14394
+ ]));
14395
+ }
14378
14396
  });
14379
- function dI() {
14397
+ function yI() {
14380
14398
  return {
14381
14399
  maskPhone: (s) => s.replace(/\D/g, "").slice(0, 11).replace(/^(\d{2})(\d)/, "($1) $2").replace(/^(\(\d{2}\)\s\d{5})(\d)/, "$1-$2"),
14382
14400
  maskCnpj: (s) => s.replace(/\D/g, "").slice(0, 14).replace(/^(\d{2})(\d)/, "$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/, "$1.$2.$3").replace(/^(\d{2})\.(\d{3})\.(\d{3})(\d)/, "$1.$2.$3/$4").replace(/^(\d{2})\.(\d{3})\.(\d{3})\/(\d{4})(\d)/, "$1.$2.$3/$4-$5"),
@@ -14384,9 +14402,9 @@ function dI() {
14384
14402
  maskCpf: (s) => s.replace(/\D/g, "").slice(0, 11).replace(/^(\d{3})(\d)/, "$1.$2").replace(/^(\d{3})\.(\d{3})(\d)/, "$1.$2.$3").replace(/^(\d{3})\.(\d{3})\.(\d{3})(\d)/, "$1.$2.$3-$4")
14385
14403
  };
14386
14404
  }
14387
- const fI = {
14405
+ const vI = {
14388
14406
  install: (e) => {
14389
- e.use(pp), e.component("TextInput", no), e.component("AppTextInput", no), e.component("IconTextInput", Li), e.component("AppIconTextInput", Li), e.component("SwitchCheckbox", Ri), e.component("AppSwitchCheckbox", Ri), e.component("ButtonPrimary", Fi), e.component("AppButtonPrimary", Fi), e.component("ButtonSecondary", Hi), e.component("AppButtonSecondary", Hi), e.component("SimpleDropdown", ch), e.component("AppDropdown", bp), e.component("AppSelect", gc), e.component("AppSelectItem", vc), e.component("SimpleDropdownItem", Fu), e.component("StatCard", cl), e.component("AppStatCard", cl), e.component("AppAdvancedStatCard", Qp), e.component("ListCard", sy), e.component("AppTitle", wc), e.component("AppSubtitle", iy), e.component("AppText", pe), e.component("AppTooltipIcon", dy), e.component("AppTable", my), e.component("AppTableHeader", by), e.component("AppTableRow", xy), e.component("AppTableCell", Ty), e.component("AppTableHeaderCell", Yy), e.component("AppPagination", Ay), e.component("AppPopup", Iy), e.component("AppContainer", By), e.component("AppGroup", he), e.component("AppAccordion", Ly), e.component("AppLoadingRing", Wy), e.component("AppJoin", zy), e.component("AppIcon", _e), e.component("AppButton", Hn), e.component("AppAvatar", Vy), e.component("AppBadge", Gy), e.component("AppSwitch", Ky), e.component("AppTextInput", pc), e.component("AppDropview", bc), e.component("AppDropviewItem", Qy), e.component("AppDatePicker", WA), e.component("AppSkeleton", To), e.component("AppTextArea", VA), e.component("AppTypingIndicator", GA), e.component("AppTabs", ZA), e.component("AppDataTable", oI), e.component("AppSider", lI);
14407
+ e.use(pp), e.component("TextInput", no), e.component("AppTextInput", no), e.component("IconTextInput", Li), e.component("AppIconTextInput", Li), e.component("SwitchCheckbox", Ri), e.component("AppSwitchCheckbox", Ri), e.component("ButtonPrimary", Fi), e.component("AppButtonPrimary", Fi), e.component("ButtonSecondary", Hi), e.component("AppButtonSecondary", Hi), e.component("SimpleDropdown", ch), e.component("AppDropdown", bp), e.component("AppSelect", gc), e.component("AppSelectItem", vc), e.component("SimpleDropdownItem", Fu), e.component("StatCard", cl), e.component("AppStatCard", cl), e.component("AppAdvancedStatCard", Qp), e.component("ListCard", sy), e.component("AppTitle", wc), e.component("AppSubtitle", iy), e.component("AppText", pe), e.component("AppTooltipIcon", dy), e.component("AppTable", my), e.component("AppTableHeader", by), e.component("AppTableRow", xy), e.component("AppTableCell", Ty), e.component("AppTableHeaderCell", Yy), e.component("AppPagination", Ay), e.component("AppPopup", Iy), e.component("AppContainer", By), e.component("AppGroup", he), e.component("AppAccordion", Ly), e.component("AppLoadingRing", Wy), e.component("AppJoin", zy), e.component("AppIcon", _e), e.component("AppButton", Hn), e.component("AppAvatar", Vy), e.component("AppBadge", Gy), e.component("AppSwitch", Ky), e.component("AppTextInput", pc), e.component("AppDropview", bc), e.component("AppDropviewItem", Qy), e.component("AppDatePicker", WA), e.component("AppSkeleton", To), e.component("AppTextArea", VA), e.component("AppTypingIndicator", GA), e.component("AppTabs", ZA), e.component("AppDataTable", oI), e.component("AppSider", lI), e.component("AppDoubleColumn", fI);
14390
14408
  }
14391
14409
  };
14392
14410
  export {
@@ -14398,6 +14416,7 @@ export {
14398
14416
  By as AppContainer,
14399
14417
  oI as AppDataTable,
14400
14418
  WA as AppDatePicker,
14419
+ fI as AppDoubleColumn,
14401
14420
  bp as AppDropdown,
14402
14421
  bc as AppDropview,
14403
14422
  Qy as AppDropviewItem,
@@ -14434,7 +14453,7 @@ export {
14434
14453
  cl as StatCard,
14435
14454
  Ri as SwitchCheckbox,
14436
14455
  no as TextInput,
14437
- fI as default,
14438
- dI as useMaskFunctions,
14456
+ vI as default,
14457
+ yI as useMaskFunctions,
14439
14458
  iI as useSider
14440
14459
  };