@pantograph/vue 0.34.0 → 0.34.2

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/index.js CHANGED
@@ -433,7 +433,7 @@ const tx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
433
433
  return AT;
434
434
  },
435
435
  get GraphicalObject() {
436
- return Go;
436
+ return Ko;
437
437
  },
438
438
  get GraphicalObjectBGs() {
439
439
  return uB;
@@ -934,7 +934,7 @@ const tx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
934
934
  return Vl;
935
935
  },
936
936
  get dataTablePrefix() {
937
- return ht;
937
+ return bt;
938
938
  },
939
939
  get default() {
940
940
  return Pz;
@@ -1009,7 +1009,7 @@ const tx = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1009
1009
  return pp;
1010
1010
  },
1011
1011
  get injectDataTableContext() {
1012
- return Wo;
1012
+ return Jo;
1013
1013
  },
1014
1014
  get injectDropDownContext() {
1015
1015
  return Vy;
@@ -3824,7 +3824,7 @@ function Wd(e) {
3824
3824
  });
3825
3825
  }
3826
3826
  let Q_ = 0;
3827
- function Zo(e, t = "reka") {
3827
+ function Xo(e, t = "reka") {
3828
3828
  var n;
3829
3829
  if ("useId" in Ul) return `${t}-${(n = Ul.useId) == null ? void 0 : n.call(Ul)}`;
3830
3830
  const o = Pi({ useId: void 0 });
@@ -4133,7 +4133,7 @@ var lO = /* @__PURE__ */ V({
4133
4133
  emits: ["contentFound"],
4134
4134
  setup(e, { emit: t }) {
4135
4135
  const o = e, n = t, r = um();
4136
- r.contentId || (r.contentId = Zo(void 0, "reka-collapsible-content"));
4136
+ r.contentId || (r.contentId = Xo(void 0, "reka-collapsible-content"));
4137
4137
  const a = L(), { forwardRef: l, currentElement: s } = Me(), c = L(0), u = L(0), d = _(() => r.open.value), p = L(d.value), v = L();
4138
4138
  ke(() => {
4139
4139
  var f;
@@ -4494,7 +4494,7 @@ var wO = /* @__PURE__ */ V({
4494
4494
  },
4495
4495
  setup(e) {
4496
4496
  const t = e, o = Jd(), n = cm();
4497
- n.triggerId || (n.triggerId = Zo(void 0, "reka-accordion-trigger"));
4497
+ n.triggerId || (n.triggerId = Xo(void 0, "reka-accordion-trigger"));
4498
4498
  function r() {
4499
4499
  const a = o.isSingle.value && n.open.value && !o.collapsible;
4500
4500
  n.disabled.value || a || o.changeModelValue(n.value.value);
@@ -4929,7 +4929,7 @@ var HO = /* @__PURE__ */ V({
4929
4929
  ],
4930
4930
  setup(e, { emit: t }) {
4931
4931
  const o = e, n = t, r = zr(), { forwardRef: a, currentElement: l } = Me();
4932
- return r.titleId || (r.titleId = Zo(void 0, "reka-dialog-title")), r.descriptionId || (r.descriptionId = Zo(void 0, "reka-dialog-description")), et(() => {
4932
+ return r.titleId || (r.titleId = Xo(void 0, "reka-dialog-title")), r.descriptionId || (r.descriptionId = Xo(void 0, "reka-dialog-description")), et(() => {
4933
4933
  r.contentElement = l, Oo() !== document.body && (r.triggerElement.value = Oo());
4934
4934
  }), process.env.NODE_ENV !== "production" && UO({
4935
4935
  titleName: "DialogTitle",
@@ -5263,7 +5263,7 @@ var HO = /* @__PURE__ */ V({
5263
5263
  },
5264
5264
  setup(e) {
5265
5265
  const t = e, o = zr(), { forwardRef: n, currentElement: r } = Me();
5266
- return o.contentId || (o.contentId = Zo(void 0, "reka-dialog-content")), et(() => {
5266
+ return o.contentId || (o.contentId = Xo(void 0, "reka-dialog-content")), et(() => {
5267
5267
  o.triggerElement.value = r.value;
5268
5268
  }), (a, l) => (x(), D(i(Ge), re(t, {
5269
5269
  ref: i(n),
@@ -5643,7 +5643,7 @@ var kP = /* @__PURE__ */ V({
5643
5643
  }
5644
5644
  },
5645
5645
  setup(e) {
5646
- const t = e, o = bP(), n = Zo(), r = _(() => t.tabStopId || n), a = _(() => o.currentTabStopId.value === r.value), { getItems: l, CollectionItem: s } = Dr();
5646
+ const t = e, o = bP(), n = Xo(), r = _(() => t.tabStopId || n), a = _(() => o.currentTabStopId.value === r.value), { getItems: l, CollectionItem: s } = Dr();
5647
5647
  et(() => {
5648
5648
  t.focusable && o.onFocusableItemAdd();
5649
5649
  }), Lo(() => {
@@ -8071,7 +8071,7 @@ var H2 = /* @__PURE__ */ V({
8071
8071
  ],
8072
8072
  setup(e, { emit: t }) {
8073
8073
  const o = e, n = t, r = Rl(), a = Jn(o, n), { forwardRef: l } = Me();
8074
- return r.contentId || (r.contentId = Zo(void 0, "reka-popover-content")), (s, c) => (x(), D(i(Qo), { present: s.forceMount || i(r).open.value }, {
8074
+ return r.contentId || (r.contentId = Xo(void 0, "reka-popover-content")), (s, c) => (x(), D(i(Qo), { present: s.forceMount || i(r).open.value }, {
8075
8075
  default: z(() => [i(r).modal.value ? (x(), D(J2, re({ key: 0 }, i(a), { ref: i(l) }), {
8076
8076
  default: z(() => [j(s.$slots, "default")]),
8077
8077
  _: 3
@@ -8124,7 +8124,7 @@ var H2 = /* @__PURE__ */ V({
8124
8124
  },
8125
8125
  setup(e) {
8126
8126
  const t = e, o = Rl(), { forwardRef: n, currentElement: r } = Me();
8127
- return o.triggerId || (o.triggerId = Zo(void 0, "reka-popover-trigger")), et(() => {
8127
+ return o.triggerId || (o.triggerId = Xo(void 0, "reka-popover-trigger")), et(() => {
8128
8128
  o.triggerElement.value = r.value;
8129
8129
  }), (a, l) => (x(), D(Tr(i(o).hasCustomAnchor.value ? i(Ge) : i(Ii)), { "as-child": "" }, {
8130
8130
  default: z(() => [G(i(Ge), {
@@ -10675,7 +10675,7 @@ var TA = /* @__PURE__ */ V({
10675
10675
  const o = e, n = t, { disabled: r } = Dt(o), a = $r(), l = Mm(), { forwardRef: s, currentElement: c } = Me(), { CollectionItem: u } = Dr(), d = _(() => {
10676
10676
  var S;
10677
10677
  return Ts((S = a.modelValue) == null ? void 0 : S.value, o.value, a.by);
10678
- }), p = L(!1), v = L(o.textValue ?? ""), g = Zo(void 0, "reka-select-item-text"), f = "select.select";
10678
+ }), p = L(!1), v = L(o.textValue ?? ""), g = Xo(void 0, "reka-select-item-text"), f = "select.select";
10679
10679
  async function m(S) {
10680
10680
  if (S.defaultPrevented) return;
10681
10681
  const C = {
@@ -10827,7 +10827,7 @@ var TA = /* @__PURE__ */ V({
10827
10827
  var v;
10828
10828
  return ((v = o.disabled) == null ? void 0 : v.value) || t.disabled;
10829
10829
  });
10830
- o.contentId || (o.contentId = Zo(void 0, "reka-select-content")), et(() => {
10830
+ o.contentId || (o.contentId = Xo(void 0, "reka-select-content")), et(() => {
10831
10831
  o.onTriggerChange(r.value);
10832
10832
  });
10833
10833
  const { getItems: l } = Dr(), { search: s, handleTypeaheadSearch: c, resetTypeahead: u } = im();
@@ -11098,7 +11098,7 @@ var GA = /* @__PURE__ */ V({
11098
11098
  dir: s,
11099
11099
  unmountOnHide: a,
11100
11100
  activationMode: o.activationMode,
11101
- baseId: Zo(void 0, "reka-tabs"),
11101
+ baseId: Xo(void 0, "reka-tabs"),
11102
11102
  tabsList: u
11103
11103
  }), (d, p) => (x(), D(i(Ge), {
11104
11104
  dir: i(s),
@@ -11811,7 +11811,7 @@ var a4 = /* @__PURE__ */ V({
11811
11811
  },
11812
11812
  setup(e) {
11813
11813
  const t = e, o = Li(), n = ji();
11814
- o.contentId || (o.contentId = Zo(void 0, "reka-tooltip-content"));
11814
+ o.contentId || (o.contentId = Xo(void 0, "reka-tooltip-content"));
11815
11815
  const { forwardRef: r, currentElement: a } = Me(), l = L(!1), s = L(!1), c = _(() => o.disabled.value ? {} : {
11816
11816
  click: m,
11817
11817
  focus: g,
@@ -12125,7 +12125,7 @@ function je(e, t) {
12125
12125
  }
12126
12126
  return o;
12127
12127
  }
12128
- function Xo(e, t) {
12128
+ function Go(e, t) {
12129
12129
  const o = {}, n = Object.keys(e);
12130
12130
  for (let r = 0; r < n.length; r++) {
12131
12131
  const a = n[r], l = e[a];
@@ -13697,7 +13697,7 @@ function q4(e, t, o) {
13697
13697
  }
13698
13698
  return n === void 0 ? o : n;
13699
13699
  }
13700
- function bt(e) {
13700
+ function ht(e) {
13701
13701
  return e !== null && (typeof e == "object" || typeof e == "function");
13702
13702
  }
13703
13703
  const U4 = /^(?:0|[1-9]\d*)$/;
@@ -13730,7 +13730,7 @@ const Z4 = (e, t, o) => {
13730
13730
  (!(Object.hasOwn(e, t) && dy(n, o)) || o === void 0 && !(t in e)) && (e[t] = o);
13731
13731
  };
13732
13732
  function X4(e, t, o, n) {
13733
- if (e == null && !bt(e))
13733
+ if (e == null && !ht(e))
13734
13734
  return e;
13735
13735
  let r;
13736
13736
  J4(t, e) ? r = [t] : Array.isArray(t) ? r = t : r = jy(t);
@@ -13745,7 +13745,7 @@ function X4(e, t, o, n) {
13745
13745
  u = a;
13746
13746
  else {
13747
13747
  const d = l[c], p = n == null ? void 0 : n(d, c, e);
13748
- u = p !== void 0 ? p : bt(d) ? d : H4(r[s + 1]) ? [] : {};
13748
+ u = p !== void 0 ? p : ht(d) ? d : H4(r[s + 1]) ? [] : {};
13749
13749
  }
13750
13750
  Z4(l, c, u), l = l[c];
13751
13751
  }
@@ -13820,7 +13820,7 @@ const wp = ({
13820
13820
  }, ue.onOpenAutoFocus = (We) => {
13821
13821
  ae || We.preventDefault(), t == null || t("openAutoFocus", We);
13822
13822
  });
13823
- const Be = Xo(
13823
+ const Be = Go(
13824
13824
  Object.fromEntries(
13825
13825
  (Array.isArray(a) ? a : []).map((We) => [We, ct(u, We)])
13826
13826
  ),
@@ -14269,7 +14269,7 @@ const [Hy, Gy] = Ke("GraphicalObjectGroup"), Ky = {
14269
14269
  Object.assign(Fs, fe(Fs, "GraphicalObjectGroup"));
14270
14270
  const xp = {
14271
14271
  ...je(zl, ["type"])
14272
- }, Go = /* @__PURE__ */ V({
14272
+ }, Ko = /* @__PURE__ */ V({
14273
14273
  ...se("GraphicalObject", !1),
14274
14274
  __name: "GraphicalObject",
14275
14275
  props: /* @__PURE__ */ we({
@@ -14457,7 +14457,7 @@ const Zy = {
14457
14457
  "--ptc-alert-br": e.br
14458
14458
  })
14459
14459
  }, [
14460
- s.icon || u.value ? (x(), D(Go, {
14460
+ s.icon || u.value ? (x(), D(Ko, {
14461
14461
  key: 0,
14462
14462
  size: "sm",
14463
14463
  icon: u.value,
@@ -14709,7 +14709,7 @@ const Qy = ya, jo = /* @__PURE__ */ V({
14709
14709
  maskClosable: { type: Boolean },
14710
14710
  beforeClose: { type: Function },
14711
14711
  beforeCloseDebugger: { type: Boolean },
14712
- to: {},
14712
+ to: { type: [String, Object, Function] },
14713
14713
  animated: { type: [Boolean, String] },
14714
14714
  type: {},
14715
14715
  asDrawerInMobile: { type: Boolean },
@@ -15107,7 +15107,7 @@ const uB = [...uo, ...rn, "transparent"], cB = [
15107
15107
  "white",
15108
15108
  "black"
15109
15109
  ], dB = [...uo, ...rn];
15110
- Object.assign(Go, fe(Go, "GraphicalObject"));
15110
+ Object.assign(Ko, fe(Ko, "GraphicalObject"));
15111
15111
  Object.assign(jo, fe(jo, "Button"));
15112
15112
  const pB = la, gB = ["info", "danger"], Op = {
15113
15113
  ...Gi,
@@ -15167,7 +15167,7 @@ const pB = la, gB = ["info", "danger"], Op = {
15167
15167
  mask: { type: Boolean },
15168
15168
  beforeClose: { type: Function },
15169
15169
  beforeCloseDebugger: { type: Boolean },
15170
- to: {},
15170
+ to: { type: [String, Object, Function] },
15171
15171
  animated: { type: [Boolean, String] },
15172
15172
  wrapperCls: { type: [Array, Object, String, Number, null, Boolean] },
15173
15173
  class: { type: [Array, Object, String, Number, null, Boolean] },
@@ -15230,7 +15230,7 @@ const pB = la, gB = ["info", "danger"], Op = {
15230
15230
  var h;
15231
15231
  const y = (h = r.beforeTitle) == null ? void 0 : h.call(r, {});
15232
15232
  return te(y) ? M(
15233
- Go,
15233
+ Ko,
15234
15234
  {
15235
15235
  ...d(),
15236
15236
  ...o.goProps ?? {}
@@ -15878,7 +15878,7 @@ const Bp = ["sm", "md", "lg"], eo = De("menu_item"), dv = (e) => {
15878
15878
  return M(
15879
15879
  Ge,
15880
15880
  {
15881
- ...a,
15881
+ ...Go(a, ht),
15882
15882
  as: t.as,
15883
15883
  role: "menuitem",
15884
15884
  tabindex: t.unFocusable ? void 0 : a.tabindex ?? 0,
@@ -16249,7 +16249,7 @@ const Bp = ["sm", "md", "lg"], eo = De("menu_item"), dv = (e) => {
16249
16249
  fn: z((k) => [
16250
16250
  j(m.$slots, h, _e(Re({
16251
16251
  ...i(f),
16252
- ...o,
16252
+ ...g.value,
16253
16253
  ...k,
16254
16254
  key: c.value
16255
16255
  })))
@@ -16343,10 +16343,8 @@ const Bp = ["sm", "md", "lg"], eo = De("menu_item"), dv = (e) => {
16343
16343
  if (o.selectable && !f.danger && !f.hasChildren)
16344
16344
  if (o.multiple)
16345
16345
  if (d.value.indexOf(f.key) > -1) {
16346
- if (d.value.length > 1) {
16347
- const k = He(d.value).filter((b) => b !== f.key);
16348
- o.selectedKeys || (d.value = k), n("update:selectedKeys", k), n("deselect", { item: f, selectedKeys: d.value });
16349
- }
16346
+ const k = He(d.value).filter((b) => b !== f.key);
16347
+ o.selectedKeys || (d.value = k), n("update:selectedKeys", k), n("deselect", { item: f, selectedKeys: d.value });
16350
16348
  } else {
16351
16349
  const k = [...He(d.value), f.key];
16352
16350
  o.selectedKeys || (d.value = k), n("update:selectedKeys", k), n("select", { item: f, selectedKeys: d.value });
@@ -17233,7 +17231,7 @@ const Th = ya, Br = /* @__PURE__ */ V({
17233
17231
  }
17234
17232
  ), { getDisabled: h } = Ht({
17235
17233
  exports: ["getDisabled"]
17236
- }), k = (T) => [null, void 0].includes(T), b = (T) => bt(T) ? T.value : T, S = (T) => !!(h.value || bt(T) && T.disabled), C = (T) => bt(T) ? T.icon : void 0, w = (T) => bt(T) ? T.text : b(T), O = (T) => bt(T) ? T.badge : void 0, P = (T) => bt(T) ? T.class : void 0;
17234
+ }), k = (T) => [null, void 0].includes(T), b = (T) => ht(T) ? T.value : T, S = (T) => !!(h.value || ht(T) && T.disabled), C = (T) => ht(T) ? T.icon : void 0, w = (T) => ht(T) ? T.text : b(T), O = (T) => ht(T) ? T.badge : void 0, P = (T) => ht(T) ? T.class : void 0;
17237
17235
  ke(
17238
17236
  () => o.options,
17239
17237
  () => {
@@ -17259,7 +17257,7 @@ const Th = ya, Br = /* @__PURE__ */ V({
17259
17257
  if (I) {
17260
17258
  const J = b(I);
17261
17259
  if (k(J)) return;
17262
- const F = S(I), Z = bt(I) ? je(I, ["icon", "value", "text"]) : {}, ie = y.value === J;
17260
+ const F = S(I), Z = ht(I) ? je(I, ["icon", "value", "text"]) : {}, ie = y.value === J;
17263
17261
  let de;
17264
17262
  const Ce = (B = r.option) == null ? void 0 : B.call(r, { disabled: F, selected: ie, option: I });
17265
17263
  te(Ce) || (de = Ce);
@@ -17836,7 +17834,7 @@ const xB = ["aria-valuemin", "aria-valuemax", "value"], _B = ["data-disabled"],
17836
17834
  }
17837
17835
  );
17838
17836
  const pe = _(
17839
- () => Xo(
17837
+ () => Go(
17840
17838
  {
17841
17839
  ...me.value,
17842
17840
  ...n,
@@ -17849,7 +17847,7 @@ const xB = ["aria-valuemin", "aria-valuemax", "value"], _B = ["data-disabled"],
17849
17847
  Bn
17850
17848
  )
17851
17849
  ), ae = _(
17852
- () => Xo(
17850
+ () => Go(
17853
17851
  {
17854
17852
  ...co(n, ["id", "type", "disabled", "required", "placeholder", "readonly"]),
17855
17853
  disabled: u.value,
@@ -20875,7 +20873,7 @@ const S5 = typeof window < "u", kb = S5 && "EyeDropper" in window, x5 = (e) => {
20875
20873
  getDisabled: () => u.value,
20876
20874
  emit: a
20877
20875
  }), f = _(
20878
- () => Xo(
20876
+ () => Go(
20879
20877
  {
20880
20878
  ...co(n, [
20881
20879
  "id",
@@ -20901,7 +20899,7 @@ const S5 = typeof window < "u", kb = S5 && "EyeDropper" in window, x5 = (e) => {
20901
20899
  const w = C.target;
20902
20900
  l.value = (w == null ? void 0 : w.value) ?? "", (P = (O = b.value) == null ? void 0 : O.adjustWidth) == null || P.call(O);
20903
20901
  }, y = _(
20904
- () => Xo(
20902
+ () => Go(
20905
20903
  {
20906
20904
  ...co(n, ["id", "maxlength", "type", "disabled", "required", "placeholder"]),
20907
20905
  disabled: u.value,
@@ -21522,7 +21520,7 @@ const Pb = [
21522
21520
  if (!n.props.multiple && zt(n.modelValue.value) && !St(n.modelValue.value))
21523
21521
  return n.getOptionByValue(n.modelValue.value);
21524
21522
  }), d = (b = u.value) => {
21525
- if (n.props.selectedItemIconAsTrailingIcon && bt(b) && "icon" in b)
21523
+ if (n.props.selectedItemIconAsTrailingIcon && ht(b) && "icon" in b)
21526
21524
  return b.icon;
21527
21525
  }, p = _(() => d()), v = _(() => {
21528
21526
  if (!n.props.noTrailing)
@@ -21727,7 +21725,7 @@ const Pb = [
21727
21725
  noReturnOption: Z
21728
21726
  }) => (ie) => {
21729
21727
  const de = Et(F) ? F(ie) : F;
21730
- if (bt(ie)) {
21728
+ if (ht(ie)) {
21731
21729
  const Ce = ie[X] ?? de, me = J && o.props[J];
21732
21730
  if (me) {
21733
21731
  if (zt(me))
@@ -21841,7 +21839,7 @@ const Pb = [
21841
21839
  }, F = (pe = t.default) == null ? void 0 : pe.call(t, {}), Z = (ae = kg(F, Yr)) == null ? void 0 : ae.filter(
21842
21840
  (ce) => {
21843
21841
  var ve;
21844
- return bt(ce == null ? void 0 : ce.props) && ((ve = ce == null ? void 0 : ce.props) == null ? void 0 : ve.option);
21842
+ return ht(ce == null ? void 0 : ce.props) && ((ve = ce == null ? void 0 : ce.props) == null ? void 0 : ve.option);
21845
21843
  }
21846
21844
  ), ie = [];
21847
21845
  (o.props.options ?? []).forEach((ce, ve) => {
@@ -21882,7 +21880,7 @@ const Pb = [
21882
21880
  const de = kg(ie, Yr).filter(
21883
21881
  (ce) => {
21884
21882
  var ve;
21885
- return bt(ce == null ? void 0 : ce.props) && ((ve = ce == null ? void 0 : ce.props) == null ? void 0 : ve.option);
21883
+ return ht(ce == null ? void 0 : ce.props) && ((ve = ce == null ? void 0 : ce.props) == null ? void 0 : ve.option);
21886
21884
  }
21887
21885
  ), Ce = !!(de != null && de.length || Z != null && Z.length), me = (ce, ve) => {
21888
21886
  var K;
@@ -21892,7 +21890,7 @@ const Pb = [
21892
21890
  const Be = ue.find(
21893
21891
  (Ne) => {
21894
21892
  var We;
21895
- return bt(Ne.props) && g((We = Ne.props) == null ? void 0 : We.option) === ve;
21893
+ return ht(Ne.props) && g((We = Ne.props) == null ? void 0 : We.option) === ve;
21896
21894
  }
21897
21895
  );
21898
21896
  return (K = Be == null ? void 0 : Be.children) == null ? void 0 : K[ce];
@@ -22124,7 +22122,7 @@ const Pb = [
22124
22122
  emits: ["change", "select", "update:modelValue", "update:open", "closeAutoFocus", "escapeKeyDown", "pointerDownOutside"],
22125
22123
  setup(e, { emit: t }) {
22126
22124
  const o = e, n = t, r = go(n), a = _(
22127
- () => Xo(
22125
+ () => Go(
22128
22126
  {
22129
22127
  ...co(o, [
22130
22128
  "open",
@@ -22533,7 +22531,7 @@ const Wp = ["sm", "md"], $b = ["color", "remover", "custom-picker"], V5 = {
22533
22531
  j(d.$slots, "icon", _e(Re(t)))
22534
22532
  ]),
22535
22533
  default: z(() => [
22536
- e.type === "color" ? (x(), D(Go, _e(re({ key: 0 }, l.value)), pt({ _: 2 }, [
22534
+ e.type === "color" ? (x(), D(Ko, _e(re({ key: 0 }, l.value)), pt({ _: 2 }, [
22537
22535
  Ve(Object.keys(s), (v) => ({
22538
22536
  name: v,
22539
22537
  fn: z(() => [
@@ -22606,7 +22604,7 @@ const jb = {
22606
22604
  icon: o.icon,
22607
22605
  bg: S
22608
22606
  };
22609
- if (bt(S))
22607
+ if (ht(S))
22610
22608
  return {
22611
22609
  ...je(S, ["value"]),
22612
22610
  icon: S.icon ?? o.icon,
@@ -22622,7 +22620,7 @@ const jb = {
22622
22620
  remove: vC,
22623
22621
  id: gC
22624
22622
  });
22625
- const p = L(!1), v = (S) => bt(S) ? S.value : S ?? void 0, g = (S) => {
22623
+ const p = L(!1), v = (S) => ht(S) ? S.value : S ?? void 0, g = (S) => {
22626
22624
  if (!a.value) {
22627
22625
  const C = v(S);
22628
22626
  l.value = C, p.value = !C;
@@ -22639,7 +22637,7 @@ const jb = {
22639
22637
  }), m = _(() => {
22640
22638
  var S;
22641
22639
  if (!((S = f.value) != null && S.length && f.value.some(
22642
- (C) => zt(C) && C === l.value || bt(C) && l.value === C.value
22640
+ (C) => zt(C) && C === l.value || ht(C) && l.value === C.value
22643
22641
  )))
22644
22642
  return l.value;
22645
22643
  }), y = (S) => {
@@ -22801,7 +22799,7 @@ const Lb = ["sm", "md", "lg"], q5 = ["disabled"], Vb = {
22801
22799
  ),
22802
22800
  disabled: i(l)
22803
22801
  }), [
22804
- G(Go, _e(Re(c.value)), pt({ _: 2 }, [
22802
+ G(Ko, _e(Re(c.value)), pt({ _: 2 }, [
22805
22803
  Ve(Object.keys(u), (m) => ({
22806
22804
  name: m,
22807
22805
  fn: z(() => [
@@ -22891,7 +22889,7 @@ const qb = ["2xsm", "xsm", "sm"], U5 = ["last", "all", "before", "self"], H5 = {
22891
22889
  size: e.size
22892
22890
  }, null, 8, ["size"])) : (x(), W($e, { key: 0 }, [
22893
22891
  e.expanded && s.value ? (x(), W("div", H5)) : ne("", !0),
22894
- G(Go, {
22892
+ G(Ko, {
22895
22893
  size: e.size,
22896
22894
  icon: e.branchIcon,
22897
22895
  color: "none",
@@ -23864,7 +23862,7 @@ const [Nl, Yb] = Ke("Combobox"), Lt = De("combobox"), Xp = $o(Lt, "value-placeho
23864
23862
  }, y = (b) => {
23865
23863
  var C, w;
23866
23864
  const S = t.getOptionByValue(b) ?? { _key: b };
23867
- return M(Go, {
23865
+ return M(Ko, {
23868
23866
  ...S ? ((w = (C = t.props).getTagProps) == null ? void 0 : w.call(C, S)) ?? {} : {},
23869
23867
  size: t.getTagSize.value
23870
23868
  });
@@ -24040,7 +24038,7 @@ const Hc = /* @__PURE__ */ V({
24040
24038
  ...((m = (f = n.props).getTagProps) == null ? void 0 : m.call(f, t.option)) ?? {}
24041
24039
  })
24042
24040
  ) : n.props.tagRenderMode === "go" && n.props.showTriggerTagOnOption ? d.push(
24043
- M(Go, {
24041
+ M(Ko, {
24044
24042
  size: u.iconSize,
24045
24043
  ...((h = (y = n.props).getTagProps) == null ? void 0 : h.call(y, t.option)) ?? {}
24046
24044
  })
@@ -24370,7 +24368,7 @@ const Hc = /* @__PURE__ */ V({
24370
24368
  tt != null && tt._key && !Pe.has(tt._key) && (oe.push(He(tt)), Pe.add(tt._key));
24371
24369
  };
24372
24370
  if (c.value ? (P.value.forEach((tt) => {
24373
- var ko, Jo;
24371
+ var ko, Zo;
24374
24372
  if (tt._label && tt._label.toLowerCase().includes(c.value.toLowerCase()) && !Pe.has(tt._key)) {
24375
24373
  if (Ie(tt), tt._hasChildren && R(tt._key).forEach(Ie), (ko = n.filterOptions) != null && ko.strictNode)
24376
24374
  tt._parentKeys && tt._parentKeys.forEach((so) => {
@@ -24379,7 +24377,7 @@ const Hc = /* @__PURE__ */ V({
24379
24377
  Ie(vn);
24380
24378
  }
24381
24379
  });
24382
- else if ((Jo = tt._parentKeys) != null && Jo.length) {
24380
+ else if ((Zo = tt._parentKeys) != null && Zo.length) {
24383
24381
  const so = Ms(tt._parentKeys);
24384
24382
  if (!St(so)) {
24385
24383
  if (!Pe.has(so)) {
@@ -24394,7 +24392,7 @@ const Hc = /* @__PURE__ */ V({
24394
24392
  (tt, yo) => P.value.findIndex((ko) => ko._key === tt._key) - P.value.findIndex((ko) => ko._key === yo._key)
24395
24393
  )) : oe = He(P.value), n.sortSelectedItems && !n.tree && !St(p.value)) {
24396
24394
  let tt = He(oe);
24397
- const yo = tt.filter((Rt) => $(Rt._key)), ko = Symbol("root"), Jo = Symbol("rootGroup"), so = {}, vn = (Rt, Ot, io = 1) => {
24395
+ const yo = tt.filter((Rt) => $(Rt._key)), ko = Symbol("root"), Zo = Symbol("rootGroup"), so = {}, vn = (Rt, Ot, io = 1) => {
24398
24396
  const fn = tt.splice(Rt, io);
24399
24397
  tt.splice(Ot, 0, ...fn);
24400
24398
  }, Vt = (Rt) => Rt ? tt.findIndex((Ot) => Ot._key === Rt) : -1, Qt = (Rt) => {
@@ -24408,13 +24406,13 @@ const Hc = /* @__PURE__ */ V({
24408
24406
  let fn = Vt(io);
24409
24407
  const hg = Math.max(
24410
24408
  Qt(ko),
24411
- Qt(Jo)
24409
+ Qt(Zo)
24412
24410
  );
24413
24411
  if (fn > hg) {
24414
24412
  const ql = R(io).length;
24415
24413
  vn(fn, hg, ql + 1);
24416
24414
  }
24417
- if (so[Jo] = {
24415
+ if (so[Zo] = {
24418
24416
  key: io,
24419
24417
  length: R(io).length
24420
24418
  }, fn = Vt(io), io && fn > -1) {
@@ -24443,8 +24441,8 @@ const Hc = /* @__PURE__ */ V({
24443
24441
  if (!n.tree) {
24444
24442
  const tt = He(oe);
24445
24443
  for (let yo = 0; yo < tt.length - 1; yo++) {
24446
- const ko = tt[yo], Jo = tt[yo + 1];
24447
- !Jo._divider && (Jo._hasChildren || (Le = ko._parentKeys) != null && Le.length && !((wt = Jo._parentKeys) != null && wt.length)) && (tt.splice(yo + 1, 0, {
24444
+ const ko = tt[yo], Zo = tt[yo + 1];
24445
+ !Zo._divider && (Zo._hasChildren || (Le = ko._parentKeys) != null && Le.length && !((wt = Zo._parentKeys) != null && wt.length)) && (tt.splice(yo + 1, 0, {
24448
24446
  _key: ao(ws),
24449
24447
  _divider: !0,
24450
24448
  _id: ao(ws)
@@ -24594,7 +24592,7 @@ const Hc = /* @__PURE__ */ V({
24594
24592
  id: _C
24595
24593
  });
24596
24594
  const ze = le(), qe = (oe) => {
24597
- var wt, tt, yo, ko, Jo, so, vn;
24595
+ var wt, tt, yo, ko, Zo, so, vn;
24598
24596
  const Pe = { originalEvent: oe };
24599
24597
  let Ie, Le;
24600
24598
  if ([
@@ -24644,7 +24642,7 @@ const Hc = /* @__PURE__ */ V({
24644
24642
  }
24645
24643
  } else if (Vt.length && st.value && Xt.value && n.tree && ["ArrowLeft", "ArrowRight"].includes(oe.key)) {
24646
24644
  const Qt = T(st.value);
24647
- Qt && ((ko = v.value) != null && ko.includes(st.value) && (ze.value === "ltr" && oe.key === "ArrowLeft" || ze.value === "rtl" && oe.key === "ArrowRight") || !((Jo = v.value) != null && Jo.includes(st.value)) && (ze.value === "ltr" && oe.key === "ArrowRight" || ze.value === "rtl" && oe.key === "ArrowLeft")) && ((vn = (so = Xt.value).onExpandKey) == null || vn.call(so, Qt));
24645
+ Qt && ((ko = v.value) != null && ko.includes(st.value) && (ze.value === "ltr" && oe.key === "ArrowLeft" || ze.value === "rtl" && oe.key === "ArrowRight") || !((Zo = v.value) != null && Zo.includes(st.value)) && (ze.value === "ltr" && oe.key === "ArrowRight" || ze.value === "rtl" && oe.key === "ArrowLeft")) && ((vn = (so = Xt.value).onExpandKey) == null || vn.call(so, Qt));
24648
24646
  } else if (oe.key === "Enter" && !Ie.defaultPrevented && (Vt.length === 1 && Vt[0].value && st.value !== Vt[0].value && (st.value = Vt[0].value), st.value)) {
24649
24647
  const Qt = T(st.value) ?? mt.value;
24650
24648
  Qt && !Qt._disabled && Q(Qt, !0), n.resetHighlightedOptionAfterSelect && (st.value = void 0);
@@ -26013,7 +26011,7 @@ const J5 = /* @__PURE__ */ V({
26013
26011
  const d = (v = (p = o.slots).goIcon) == null ? void 0 : v.call(p, { uploadFile: t.props.uploadFile });
26014
26012
  return te(d) ? null : d;
26015
26013
  }, u = () => M(
26016
- Go,
26014
+ Ko,
26017
26015
  {
26018
26016
  size: o.goSize.value,
26019
26017
  icon: r.value,
@@ -26192,7 +26190,7 @@ const J5 = /* @__PURE__ */ V({
26192
26190
  }
26193
26191
  return n;
26194
26192
  }, bw = (e, { getUid: t, chunkFile: o, chunkSize: n }) => {
26195
- if (bt(e)) {
26193
+ if (ht(e)) {
26196
26194
  let r;
26197
26195
  if (e instanceof File)
26198
26196
  r = e;
@@ -26210,7 +26208,7 @@ const J5 = /* @__PURE__ */ V({
26210
26208
  type: e.type ?? ""
26211
26209
  }), r.lastModified = (/* @__PURE__ */ new Date()).getTime(), r.name = e.name ?? "", r.webkitRelativePath = "";
26212
26210
  }
26213
- if (bt(r) && r instanceof Blob) {
26211
+ if (ht(r) && r instanceof Blob) {
26214
26212
  let a = [];
26215
26213
  return o && (a = fT(
26216
26214
  r,
@@ -26231,7 +26229,7 @@ const J5 = /* @__PURE__ */ V({
26231
26229
  }
26232
26230
  }
26233
26231
  }, mT = (e, t) => {
26234
- if (bt(e))
26232
+ if (ht(e))
26235
26233
  return e instanceof Blob || e instanceof File ? bw(e, t) : (!e.uid && !Object.isFrozen(e) && (e.uid = t.getUid()), e);
26236
26234
  }, ww = (e, t) => {
26237
26235
  if (e && t) {
@@ -26318,7 +26316,7 @@ const hl = /* @__PURE__ */ V({
26318
26316
  var Z, ie;
26319
26317
  if (!f) {
26320
26318
  const de = (ie = (Z = F ?? []) == null ? void 0 : Z.map) == null ? void 0 : ie.call(Z, (Ce) => {
26321
- if (Ce && bt(Ce))
26319
+ if (Ce && ht(Ce))
26322
26320
  return mT(Ce, {
26323
26321
  getUid: Zc,
26324
26322
  chunkFile: p.value,
@@ -27011,7 +27009,7 @@ const Cw = /* @__PURE__ */ V({
27011
27009
  C.push(S);
27012
27010
  else {
27013
27011
  C.push(
27014
- M(Go, {
27012
+ M(Ko, {
27015
27013
  size: "xsm",
27016
27014
  icon: "tabler:chevron-right",
27017
27015
  bg: "transparent",
@@ -44311,12 +44309,12 @@ const ET = ({ isColumnWrapped: e, getOutsideCol: t }) => {
44311
44309
  if (p != null && p.column) {
44312
44310
  const f = (g = p == null ? void 0 : p.column) == null ? void 0 : g.columnDef, m = [];
44313
44311
  let y = {};
44314
- if (bt(f)) {
44312
+ if (ht(f)) {
44315
44313
  let h = e(p.column.id);
44316
44314
  const { customCell: k, class: b } = f;
44317
- if (St(b) || m.push(b), k && (bt(k) || Et(k))) {
44315
+ if (St(b) || m.push(b), k && (ht(k) || Et(k))) {
44318
44316
  const S = (C) => {
44319
- if (bt(C)) {
44317
+ if (ht(C)) {
44320
44318
  const { wrap: w, class: O, ...P } = C;
44321
44319
  h = h || (w ?? !1), y = { ...y, ...P }, St(C.class) || m.push(C.class);
44322
44320
  }
@@ -44374,7 +44372,7 @@ function Ew() {
44374
44372
  function or(e, t) {
44375
44373
  return typeof e == "function" ? e(t) : e;
44376
44374
  }
44377
- function Ko(e, t) {
44375
+ function Wo(e, t) {
44378
44376
  return (o) => {
44379
44377
  t.setState((n) => ({
44380
44378
  ...n,
@@ -44736,7 +44734,7 @@ const jT = {
44736
44734
  ...e
44737
44735
  }),
44738
44736
  getDefaultOptions: (e) => ({
44739
- onColumnFiltersChange: Ko("columnFilters", e),
44737
+ onColumnFiltersChange: Wo("columnFilters", e),
44740
44738
  filterFromLeafRows: !1,
44741
44739
  maxLeafRowFilterDepth: 100
44742
44740
  }),
@@ -44865,7 +44863,7 @@ const LT = (e, t, o) => o.reduce((n, r) => {
44865
44863
  ...e
44866
44864
  }),
44867
44865
  getDefaultOptions: (e) => ({
44868
- onGroupingChange: Ko("grouping", e),
44866
+ onGroupingChange: Wo("grouping", e),
44869
44867
  groupedColumnMode: "reorder"
44870
44868
  }),
44871
44869
  createColumn: (e, t) => {
@@ -44931,7 +44929,7 @@ const YT = {
44931
44929
  ...e
44932
44930
  }),
44933
44931
  getDefaultOptions: (e) => ({
44934
- onColumnOrderChange: Ko("columnOrder", e)
44932
+ onColumnOrderChange: Wo("columnOrder", e)
44935
44933
  }),
44936
44934
  createColumn: (e, t) => {
44937
44935
  e.getIndex = Ze((o) => [Za(t, o)], (o) => o.findIndex((n) => n.id === e.id), Xe(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (o) => {
@@ -44971,7 +44969,7 @@ const YT = {
44971
44969
  ...e
44972
44970
  }),
44973
44971
  getDefaultOptions: (e) => ({
44974
- onColumnPinningChange: Ko("columnPinning", e)
44972
+ onColumnPinningChange: Wo("columnPinning", e)
44975
44973
  }),
44976
44974
  createColumn: (e, t) => {
44977
44975
  e.pin = (o) => {
@@ -45062,8 +45060,8 @@ const YT = {
45062
45060
  getDefaultOptions: (e) => ({
45063
45061
  columnResizeMode: "onEnd",
45064
45062
  columnResizeDirection: "ltr",
45065
- onColumnSizingChange: Ko("columnSizing", e),
45066
- onColumnSizingInfoChange: Ko("columnSizingInfo", e)
45063
+ onColumnSizingChange: Wo("columnSizing", e),
45064
+ onColumnSizingInfoChange: Wo("columnSizingInfo", e)
45067
45065
  }),
45068
45066
  createColumn: (e, t) => {
45069
45067
  e.getSize = () => {
@@ -45206,7 +45204,7 @@ const oR = {
45206
45204
  ...e
45207
45205
  }),
45208
45206
  getDefaultOptions: (e) => ({
45209
- onColumnVisibilityChange: Ko("columnVisibility", e)
45207
+ onColumnVisibilityChange: Wo("columnVisibility", e)
45210
45208
  }),
45211
45209
  createColumn: (e, t) => {
45212
45210
  e.toggleVisibility = (o) => {
@@ -45261,7 +45259,7 @@ const nR = {
45261
45259
  ...e
45262
45260
  }),
45263
45261
  getDefaultOptions: (e) => ({
45264
- onGlobalFilterChange: Ko("globalFilter", e),
45262
+ onGlobalFilterChange: Wo("globalFilter", e),
45265
45263
  globalFilterFn: "auto",
45266
45264
  getColumnCanGlobalFilter: (t) => {
45267
45265
  var o;
@@ -45294,7 +45292,7 @@ const nR = {
45294
45292
  ...e
45295
45293
  }),
45296
45294
  getDefaultOptions: (e) => ({
45297
- onExpandedChange: Ko("expanded", e),
45295
+ onExpandedChange: Wo("expanded", e),
45298
45296
  paginateExpandedRows: !0
45299
45297
  }),
45300
45298
  createTable: (e) => {
@@ -45387,7 +45385,7 @@ const nR = {
45387
45385
  }
45388
45386
  }),
45389
45387
  getDefaultOptions: (e) => ({
45390
- onPaginationChange: Ko("pagination", e)
45388
+ onPaginationChange: Wo("pagination", e)
45391
45389
  }),
45392
45390
  createTable: (e) => {
45393
45391
  let t = !1, o = !1;
@@ -45467,7 +45465,7 @@ const nR = {
45467
45465
  ...e
45468
45466
  }),
45469
45467
  getDefaultOptions: (e) => ({
45470
- onRowPinningChange: Ko("rowPinning", e)
45468
+ onRowPinningChange: Wo("rowPinning", e)
45471
45469
  }),
45472
45470
  createRow: (e, t) => {
45473
45471
  e.pin = (o, n, r) => {
@@ -45568,7 +45566,7 @@ const nR = {
45568
45566
  ...e
45569
45567
  }),
45570
45568
  getDefaultOptions: (e) => ({
45571
- onRowSelectionChange: Ko("rowSelection", e),
45569
+ onRowSelectionChange: Wo("rowSelection", e),
45572
45570
  enableRowSelection: !0,
45573
45571
  enableMultiRowSelection: !0,
45574
45572
  enableSubRowSelection: !0
@@ -45765,7 +45763,7 @@ const za = {
45765
45763
  sortUndefined: 1
45766
45764
  }),
45767
45765
  getDefaultOptions: (e) => ({
45768
- onSortingChange: Ko("sorting", e),
45766
+ onSortingChange: Wo("sorting", e),
45769
45767
  isMultiSortEvent: (t) => t.shiftKey
45770
45768
  }),
45771
45769
  createColumn: (e, t) => {
@@ -46267,7 +46265,7 @@ const Cs = (e, t) => $n(e.childrenColumnName) ? e.childrenColumnName(t) ?? "chil
46267
46265
  })
46268
46266
  ), U;
46269
46267
  }), b = (I, B) => {
46270
- B ? (I.resetSize(), s.value = Xo(
46268
+ B ? (I.resetSize(), s.value = Go(
46271
46269
  { ...s.value, [I.id]: I.columnDef.maxWidth || 0 },
46272
46270
  Bn
46273
46271
  ), f.value = Pr([...f.value, I.id])) : f.value = f.value.filter(($) => $ !== I.id);
@@ -46288,7 +46286,7 @@ const Cs = (e, t) => $n(e.childrenColumnName) ? e.childrenColumnName(t) ?? "chil
46288
46286
  () => e.columnVisibility,
46289
46287
  (I, B) => {
46290
46288
  !No(I, B) && !No(I, O.value) && P({
46291
- bulkValue: Xo(I ?? {}, Bn),
46289
+ bulkValue: Go(I ?? {}, Bn),
46292
46290
  noEmit: !0
46293
46291
  });
46294
46292
  },
@@ -46630,7 +46628,7 @@ const Cs = (e, t) => $n(e.childrenColumnName) ? e.childrenColumnName(t) ?? "chil
46630
46628
  } else g = v;
46631
46629
  if (g != null && g.id) {
46632
46630
  const m = l(g), y = Object.fromEntries(m.map((b) => [b.id, t(b)])), h = Object.values(y).reduce((b, S) => S + b, 0), k = (f = o.value) == null ? void 0 : f.getBoundingClientRect().width;
46633
- k && k - 200 > h && (r.value = g, n(Xo(y, (b) => !b) ?? {}));
46631
+ k && k - 200 > h && (r.value = g, n(Go(y, (b) => !b) ?? {}));
46634
46632
  }
46635
46633
  };
46636
46634
  return {
@@ -46662,7 +46660,7 @@ const Cs = (e, t) => $n(e.childrenColumnName) ? e.childrenColumnName(t) ?? "chil
46662
46660
  const s = _(() => {
46663
46661
  const p = (v) => {
46664
46662
  var g;
46665
- return Xo(
46663
+ return Go(
46666
46664
  { id: v.id, columns: (g = v.columns) == null ? void 0 : g.map(p) },
46667
46665
  tB
46668
46666
  );
@@ -46741,28 +46739,28 @@ const Cs = (e, t) => $n(e.childrenColumnName) ? e.childrenColumnName(t) ?? "chil
46741
46739
  ...se("DataTableBatchActionsContent"),
46742
46740
  __name: "DataTableBatchActionsContent",
46743
46741
  setup(e) {
46744
- const t = Wo(), o = () => {
46742
+ const t = Jo(), o = () => {
46745
46743
  var n, r;
46746
46744
  return M(
46747
46745
  "div",
46748
- { class: A(ht, "batch_actions__actions") },
46746
+ { class: A(bt, "batch_actions__actions") },
46749
46747
  (r = (n = t.slots).batchActions) == null ? void 0 : r.call(n, t.tableSelect.getSelectCallbackProps.value)
46750
46748
  );
46751
46749
  };
46752
46750
  return (n, r) => (x(), W("div", {
46753
- class: q(i(A)(i(ht), "batch_actions"))
46751
+ class: q(i(A)(i(bt), "batch_actions"))
46754
46752
  }, [
46755
46753
  G(In, {
46756
46754
  text: i(t).tableSelect.selectedItemsLength.value,
46757
46755
  size: "xsm"
46758
46756
  }, null, 8, ["text"]),
46759
46757
  ye("div", {
46760
- class: q(i(A)(i(ht), "batch_actions__title"))
46758
+ class: q(i(A)(i(bt), "batch_actions__title"))
46761
46759
  }, ot(i(t).props.batchActionsTitle), 3),
46762
46760
  G(o),
46763
46761
  G(Wt, {
46764
46762
  type: "vertical",
46765
- class: q(i(A)(i(ht), "batch_actions__divider"))
46763
+ class: q(i(A)(i(bt), "batch_actions__divider"))
46766
46764
  }, null, 8, ["class"]),
46767
46765
  G(xt, {
46768
46766
  icon: "tabler:x",
@@ -47028,7 +47026,7 @@ const $R = /* @__PURE__ */ V({
47028
47026
  ...se("DataTableBatchActions"),
47029
47027
  __name: "DataTableBatchActions",
47030
47028
  setup(e) {
47031
- const t = Wo(), o = () => t.hasFooter.value && t.props.size && Ll.includes(t.props.size) ? ar[t.props.size] : 0, n = _(() => -1 * (62 + o()));
47029
+ const t = Jo(), o = () => t.hasFooter.value && t.props.size && Ll.includes(t.props.size) ? ar[t.props.size] : 0, n = _(() => -1 * (62 + o()));
47032
47030
  return (r, a) => (x(), D(Yo, {
47033
47031
  "z-index": "3",
47034
47032
  open: !!i(t).tableSelect.selectedItemsLength.value,
@@ -47053,7 +47051,7 @@ const $R = /* @__PURE__ */ V({
47053
47051
  },
47054
47052
  setup(e) {
47055
47053
  var n;
47056
- const t = e, o = ((n = t.getContext) == null ? void 0 : n.call(t)) ?? Wo();
47054
+ const t = e, o = ((n = t.getContext) == null ? void 0 : n.call(t)) ?? Jo();
47057
47055
  return (r, a) => (x(), W("colgroup", null, [
47058
47056
  (x(!0), W($e, null, Ve(i(o).table.getVisibleLeafColumns(), (l) => (x(), W("col", {
47059
47057
  key: l.id,
@@ -47164,7 +47162,7 @@ const $R = /* @__PURE__ */ V({
47164
47162
  const n = go(t), r = e, a = De("tooltip"), l = A(a, "content"), s = Ee(), c = () => {
47165
47163
  if (r.go)
47166
47164
  return M(
47167
- Go,
47165
+ Ko,
47168
47166
  { ...r.go ?? {}, size: "sm" },
47169
47167
  {
47170
47168
  default: s.go,
@@ -47412,7 +47410,7 @@ const $R = /* @__PURE__ */ V({
47412
47410
  parentReference: {}
47413
47411
  },
47414
47412
  setup(e) {
47415
- const t = Wo(), o = e, n = L(!1), r = (m) => {
47413
+ const t = Jo(), o = e, n = L(!1), r = (m) => {
47416
47414
  t.dragging.value || (n.value = m);
47417
47415
  }, a = ({ item: m }) => {
47418
47416
  n.value = !1, o.column && (m.key === "a-z" ? t.sort.toggleSort(o.column, "asc") : m.key === "z-a" ? t.sort.toggleSort(o.column, "desc") : m.key === "resetSize" ? t.col.setAutoFitWidth(o.column, !0) : m.key === "wrap" ? t.colWrap.toggleWrap(o.column) : m.key === "fixUpToColumn" ? t.fix.fixUpToColumn(o.column) : m.key === "unfixAllColumn" ? t.fix.unfixAllColumns() : m.key === "toggleFilter" && (t.filter.isColumnFiltered(o.column.id) ? t.filter.deleteColFilter("bottom-end", o.parentReference, o.column) : t.filter.colFilter("bottom-end", o.parentReference, o.column)));
@@ -47542,7 +47540,7 @@ const $R = /* @__PURE__ */ V({
47542
47540
  type: "ghost",
47543
47541
  onClick: y[0] || (y[0] = lt(() => {
47544
47542
  }, ["stop"])),
47545
- class: q(i(A)(i(ht), "header__action__hover"))
47543
+ class: q(i(A)(i(bt), "header__action__hover"))
47546
47544
  }, null, 8, ["class"])
47547
47545
  ]),
47548
47546
  _: 1
@@ -47557,7 +47555,7 @@ const $R = /* @__PURE__ */ V({
47557
47555
  draggable: { type: Boolean }
47558
47556
  },
47559
47557
  setup(e) {
47560
- const t = e, o = Wo(), n = o.cell.RenderCell, r = L(), a = L(), l = () => {
47558
+ const t = e, o = Jo(), n = o.cell.RenderCell, r = L(), a = L(), l = () => {
47561
47559
  o.filter.colFilter("bottom-start", r.value, t.header.column);
47562
47560
  }, s = _(() => o.fix.isColFixed(t.header.column)), c = _(() => {
47563
47561
  var m, y, h;
@@ -47581,7 +47579,7 @@ const $R = /* @__PURE__ */ V({
47581
47579
  }, v = (m) => {
47582
47580
  const y = t.header.column.getSize(), h = t.header.column.columnDef.minSize ?? o.col.columnDefaults.minSize, k = t.header.column.columnDef.maxSize ?? o.col.columnDefaults.maxSize ?? Number.MAX_SAFE_INTEGER, b = y + m;
47583
47581
  return Math.max(h, Math.min(k, b)) - y;
47584
- }, g = A(ht, "resizer"), f = xe(g, {
47582
+ }, g = A(bt, "resizer"), f = xe(g, {
47585
47583
  variants: {
47586
47584
  last: H("last", g)
47587
47585
  }
@@ -47599,7 +47597,7 @@ const $R = /* @__PURE__ */ V({
47599
47597
  }, pt({
47600
47598
  default: z(() => [
47601
47599
  ye("div", {
47602
- class: q(i(A)(i(ht), "header"))
47600
+ class: q(i(A)(i(bt), "header"))
47603
47601
  }, [
47604
47602
  e.draggable ? (x(), W("div", {
47605
47603
  key: 0,
@@ -47608,11 +47606,11 @@ const $R = /* @__PURE__ */ V({
47608
47606
  G(Ue, { icon: "tabler:grip-vertical" })
47609
47607
  ], 2)) : ne("", !0),
47610
47608
  ye("div", {
47611
- class: q(i(A)(i(ht), "header__content"))
47609
+ class: q(i(A)(i(bt), "header__content"))
47612
47610
  }, [
47613
47611
  e.header.column.id !== i(o).selectionId ? (x(), W($e, { key: 0 }, [
47614
47612
  ye("div", {
47615
- class: q(i(A)(i(ht), "header__content__title"))
47613
+ class: q(i(A)(i(bt), "header__content__title"))
47616
47614
  }, [
47617
47615
  j(m.$slots, "headerCell", _e(Re({
47618
47616
  column: i(o).getColDefByExtra(e.header.column)
@@ -47656,7 +47654,7 @@ const $R = /* @__PURE__ */ V({
47656
47654
  })) : ne("", !0)
47657
47655
  ], 64)) : (x(), W($e, { key: 1 }, [
47658
47656
  ye("div", {
47659
- class: q(i(A)(i(ht), "selection_space"))
47657
+ class: q(i(A)(i(bt), "selection_space"))
47660
47658
  }, null, 2),
47661
47659
  i(o).selectState.getHasSelection() ? (x(), D(ur, {
47662
47660
  key: 0,
@@ -47669,7 +47667,7 @@ const $R = /* @__PURE__ */ V({
47669
47667
  ], 2),
47670
47668
  ![i(o).col.actionId.value, i(o).selectionId].includes(e.header.column.id) && !e.header.column.columns.length ? (x(), W("div", {
47671
47669
  key: 1,
47672
- class: q(i(A)(i(ht), "header__action")),
47670
+ class: q(i(A)(i(bt), "header__action")),
47673
47671
  ref_key: "actionRef",
47674
47672
  ref: a
47675
47673
  }, [
@@ -47719,7 +47717,7 @@ const $R = /* @__PURE__ */ V({
47719
47717
  hideShadowHeader: { type: Boolean }
47720
47718
  },
47721
47719
  setup(e) {
47722
- const t = Wo(), o = _(() => {
47720
+ const t = Jo(), o = _(() => {
47723
47721
  const s = t.table.getHeaderGroups().map((c) => ({
47724
47722
  ...c,
47725
47723
  headers: c.headers.map((u) => ({
@@ -47755,7 +47753,7 @@ const $R = /* @__PURE__ */ V({
47755
47753
  if (d) {
47756
47754
  const g = l(d);
47757
47755
  if (g) {
47758
- const f = document.createElement("div"), m = A(ht, "th_drag_ghost");
47756
+ const f = document.createElement("div"), m = A(bt, "th_drag_ghost");
47759
47757
  return f.classList.add(m), nr(
47760
47758
  M(
47761
47759
  NR,
@@ -47834,7 +47832,7 @@ const $R = /* @__PURE__ */ V({
47834
47832
  ...se("DataTableEmpty"),
47835
47833
  __name: "DataTableEmpty",
47836
47834
  setup(e) {
47837
- const t = Wo(), o = () => M(
47835
+ const t = Jo(), o = () => M(
47838
47836
  Ir,
47839
47837
  { type: "advance", ...t.props.emptyProps ?? {} },
47840
47838
  {
@@ -47863,7 +47861,7 @@ const $R = /* @__PURE__ */ V({
47863
47861
  ...se("DataTableLazyLoading"),
47864
47862
  __name: "DataTableLazyLoading",
47865
47863
  setup(e) {
47866
- const t = Wo(), o = L();
47864
+ const t = Jo(), o = L();
47867
47865
  return Fd({ target: o, props: t.props, emit: t.emit }), (n, r) => i(t).props.lazyLoading ? (x(), D(i(Rn), _e(re({ key: 0 }, i(t).getRowProps({ lazyLoadObserver: !0 }))), {
47868
47866
  default: z(() => [
47869
47867
  G(i(Wn), {
@@ -47880,7 +47878,7 @@ const $R = /* @__PURE__ */ V({
47880
47878
  ...se("DataTableLoading"),
47881
47879
  __name: "DataTableLoading",
47882
47880
  setup(e) {
47883
- const t = Wo();
47881
+ const t = Jo();
47884
47882
  return (o, n) => (x(!0), W($e, null, Ve(i(t).table.getRowModel().rows.length ? 2 : i(t).props.loadingRowCount, (r) => (x(), D(i(Rn), re({
47885
47883
  "data-draggable": "false",
47886
47884
  key: r
@@ -47922,7 +47920,7 @@ const $R = /* @__PURE__ */ V({
47922
47920
  },
47923
47921
  setup(e) {
47924
47922
  var p;
47925
- const t = e, o = ((p = t.getContext) == null ? void 0 : p.call(t)) ?? Wo(), n = o.cell.RenderCell, r = _(() => o.selectState.getHasSelectionCol() ? 1 : 0), a = (v) => {
47923
+ const t = e, o = ((p = t.getContext) == null ? void 0 : p.call(t)) ?? Jo(), n = o.cell.RenderCell, r = _(() => o.selectState.getHasSelectionCol() ? 1 : 0), a = (v) => {
47926
47924
  const g = v.getContext();
47927
47925
  return {
47928
47926
  ...o.cell.getCellParams(g),
@@ -47940,14 +47938,14 @@ const $R = /* @__PURE__ */ V({
47940
47938
  }) : h = k, !m && (f && (h = M(
47941
47939
  "div",
47942
47940
  {
47943
- class: A(ht, "cell__editing")
47941
+ class: A(bt, "cell__editing")
47944
47942
  },
47945
47943
  h
47946
47944
  )), r.value === v.column.getIndex() && t.hasSubRows)) {
47947
47945
  const O = !!((o.props.rowLazyLoadKey ? $n(o.props.rowLazyLoadKey) ? o.props.rowLazyLoadKey(t.row.original) : ct(t.row.original, o.props.rowLazyLoadKey) : void 0) || t.row.subRows.length);
47948
- return M("div", { class: A(ht, "cell__expand") }, [
47946
+ return M("div", { class: A(bt, "cell__expand") }, [
47949
47947
  M(da, {
47950
- class: A(ht, "cell__expand__indent"),
47948
+ class: A(bt, "cell__expand__indent"),
47951
47949
  level: t.row.depth + 1,
47952
47950
  size: "sm",
47953
47951
  children: O,
@@ -47961,7 +47959,7 @@ const $R = /* @__PURE__ */ V({
47961
47959
  P.stopPropagation();
47962
47960
  }
47963
47961
  }),
47964
- M("div", { class: A(ht, "cell__expand__content") }, h)
47962
+ M("div", { class: A(bt, "cell__expand__content") }, h)
47965
47963
  ]);
47966
47964
  }
47967
47965
  return h;
@@ -48016,12 +48014,12 @@ const $R = /* @__PURE__ */ V({
48016
48014
  default: z(() => [
48017
48015
  f.column.id === i(o).selectionId ? (x(), W("div", {
48018
48016
  key: 0,
48019
- class: q(i(A)(i(ht), "selection")),
48017
+ class: q(i(A)(i(bt), "selection")),
48020
48018
  onClick: g[1] || (g[1] = lt(() => {
48021
48019
  }, ["stop"]))
48022
48020
  }, [
48023
48021
  ye("div", {
48024
- class: q(i(A)(i(ht), "selection_space"))
48022
+ class: q(i(A)(i(bt), "selection_space"))
48025
48023
  }, [
48026
48024
  i(o).selectState.getHasRowOrdering(e.row) ? (x(), W("div", {
48027
48025
  key: 0,
@@ -48042,12 +48040,12 @@ const $R = /* @__PURE__ */ V({
48042
48040
  key: 1,
48043
48041
  onClick: g[2] || (g[2] = lt(() => {
48044
48042
  }, ["stop"])),
48045
- class: q(i(A)(i(ht), "action_cell"))
48043
+ class: q(i(A)(i(bt), "action_cell"))
48046
48044
  }, [
48047
48045
  ye("div", {
48048
48046
  class: q(
48049
48047
  i(E)(
48050
- i(A)(i(ht), "action_cell__hover"),
48048
+ i(A)(i(bt), "action_cell__hover"),
48051
48049
  i(o).props.actionHoverCls
48052
48050
  )
48053
48051
  )
@@ -48082,7 +48080,7 @@ const $R = /* @__PURE__ */ V({
48082
48080
  ...se("DataTableFooter"),
48083
48081
  __name: "DataTableFooter",
48084
48082
  setup(e) {
48085
- const t = Wo(), o = () => {
48083
+ const t = Jo(), o = () => {
48086
48084
  var l, s;
48087
48085
  let n;
48088
48086
  const r = (s = (l = t.slots).footer) == null ? void 0 : s.call(l, t.getSlotProps.value);
@@ -48112,9 +48110,9 @@ const $R = /* @__PURE__ */ V({
48112
48110
  ...se("DataTableContent"),
48113
48111
  __name: "DataTableContent",
48114
48112
  setup(e) {
48115
- const t = Wo(), o = xe(ht, {
48113
+ const t = Jo(), o = xe(bt, {
48116
48114
  variants: {
48117
- empty: H("empty", ht)
48115
+ empty: H("empty", bt)
48118
48116
  }
48119
48117
  }), n = L(void 0), r = (k = n.value) => !!(k && t.tableSelect.getRowChecked(k) === !0 && t.selectState.selectedRowKeys.value.length > 1), a = _(() => r()), l = _(
48120
48118
  () => t.table.getRowModel().flatRows.filter((k) => k.getIsAllParentsExpanded())
@@ -48147,12 +48145,12 @@ const $R = /* @__PURE__ */ V({
48147
48145
  rootProps: {
48148
48146
  ...b,
48149
48147
  class: E(
48150
- A(ht, "scroll_container"),
48148
+ A(bt, "scroll_container"),
48151
48149
  b == null ? void 0 : b.class
48152
48150
  )
48153
48151
  },
48154
48152
  areaCls: [
48155
- A(ht, "scroll_area"),
48153
+ A(bt, "scroll_area"),
48156
48154
  k == null ? void 0 : k.class,
48157
48155
  k == null ? void 0 : k.areaCls
48158
48156
  ],
@@ -48211,7 +48209,7 @@ const $R = /* @__PURE__ */ V({
48211
48209
  Rn,
48212
48210
  {
48213
48211
  zebra: t.props.zebra,
48214
- class: A(ht, "tr_drag_placeholder")
48212
+ class: A(bt, "tr_drag_placeholder")
48215
48213
  },
48216
48214
  () => M(
48217
48215
  Wn,
@@ -48233,7 +48231,7 @@ const $R = /* @__PURE__ */ V({
48233
48231
  var P;
48234
48232
  if ((P = h == null ? void 0 : h.option) != null && P.call(h, "disabled"))
48235
48233
  return document.createElement("div");
48236
- const w = A(ht, "tr_drag_ghost");
48234
+ const w = A(bt, "tr_drag_ghost");
48237
48235
  if (S) {
48238
48236
  const R = document.createElement("div");
48239
48237
  R.classList.add(w);
@@ -48364,7 +48362,7 @@ const $R = /* @__PURE__ */ V({
48364
48362
  _: 1
48365
48363
  }, 16));
48366
48364
  }
48367
- }), [Wo, Kw] = Ke("DataTable"), ht = De("data_table", d1), Vl = A(ht, "header__drag_handle"), Ww = {
48365
+ }), [Jo, Kw] = Ke("DataTable"), bt = De("data_table", d1), Vl = A(bt, "header__drag_handle"), Ww = {
48368
48366
  childrenColumnName: "children",
48369
48367
  childrenRowName: "children",
48370
48368
  batchActionsTitle: "Records selected :",
@@ -48420,7 +48418,7 @@ const $R = /* @__PURE__ */ V({
48420
48418
  }, Ww),
48421
48419
  emits: ["drop", "update:filteredColumns", "update:columnVisibility", "update:expanded", "expand", "update:columnOrder", "resize", "reorder", "fetch", "rowClick", "sort", "columnWrap"],
48422
48420
  setup(e, { emit: t }) {
48423
- const o = e, n = t, r = Ee(), a = `$${ht}_selection$`, l = BR(o, {
48421
+ const o = e, n = t, r = Ee(), a = `$${bt}_selection$`, l = BR(o, {
48424
48422
  colId: a,
48425
48423
  onSelectionChange: () => {
48426
48424
  var J, F;
@@ -48430,7 +48428,7 @@ const $R = /* @__PURE__ */ V({
48430
48428
  props: o,
48431
48429
  slots: r,
48432
48430
  emit: n,
48433
- prefix: ht,
48431
+ prefix: bt,
48434
48432
  getSelectionCol: l.getSelectionCol
48435
48433
  }), c = PR({
48436
48434
  props: o
@@ -48534,7 +48532,7 @@ const $R = /* @__PURE__ */ V({
48534
48532
  }), T = (J) => {
48535
48533
  const F = He(je(J ?? {}, ["row"]));
48536
48534
  let Z = {};
48537
- o.rowProps && ($n(o.rowProps) ? Z = He(o.rowProps(J) ?? {}) : bt(o.rowProps) && (Z = He(o.rowProps)));
48535
+ o.rowProps && ($n(o.rowProps) ? Z = He(o.rowProps(J) ?? {}) : ht(o.rowProps) && (Z = He(o.rowProps)));
48538
48536
  const ie = $n(Z.onClick) || J.row ? (de) => {
48539
48537
  J.row && n("rowClick", J.row, de), $n(Z.onClick) && Z.onClick(de);
48540
48538
  } : void 0;
@@ -48579,7 +48577,7 @@ const $R = /* @__PURE__ */ V({
48579
48577
  return It((J = o.scroll) == null ? void 0 : J.y);
48580
48578
  }), X = _(() => !!y.getState().columnSizingInfo.isResizingColumn);
48581
48579
  return g1(X), g({ add: kS, remove: wS, id: bS }), (J, F) => (x(), W("div", {
48582
- class: q(i(E)(i(A)(i(ht), "root"), e.rootCls)),
48580
+ class: q(i(E)(i(A)(i(bt), "root"), e.rootCls)),
48583
48581
  style: gt({
48584
48582
  maxHeight: ee.value
48585
48583
  }),
@@ -50547,7 +50545,7 @@ const yd = De("form"), yk = {
50547
50545
  ke(
50548
50546
  () => n.validationSchema,
50549
50547
  (g) => {
50550
- bt(g) ? a.value = i(g) : a.value = {};
50548
+ ht(g) ? a.value = i(g) : a.value = {};
50551
50549
  },
50552
50550
  {
50553
50551
  immediate: !0,
@@ -50561,12 +50559,12 @@ const yd = De("form"), yk = {
50561
50559
  validationSchema: a
50562
50560
  }), s = L(!1), c = (g = !0) => {
50563
50561
  const f = He(n.modelValue);
50564
- if (!f || !bt(f)) return;
50562
+ if (!f || !ht(f)) return;
50565
50563
  const m = (y, h = "") => {
50566
50564
  for (const k in y)
50567
50565
  if (Object.hasOwn(y, k)) {
50568
50566
  const b = y[k], S = h ? `${h}.${k}` : k;
50569
- if (bt(b) && !Array.isArray(b))
50567
+ if (ht(b) && !Array.isArray(b))
50570
50568
  m(b, S);
50571
50569
  else {
50572
50570
  const C = ct(l.values, S);
@@ -50598,7 +50596,7 @@ const yd = De("form"), yk = {
50598
50596
  console.warn("Con not set field validation on typedSchema (validationSchema is typedSchema)");
50599
50597
  return;
50600
50598
  }
50601
- bt(a.value) || (a.value = {}), Y4(a.value, g, i(f));
50599
+ ht(a.value) || (a.value = {}), Y4(a.value, g, i(f));
50602
50600
  }
50603
50601
  }, v = () => {
50604
50602
  l.handleSubmit(
@@ -51182,7 +51180,7 @@ const Tk = {
51182
51180
  field: p,
51183
51181
  id: m.value
51184
51182
  })), b = _(
51185
- () => Xo(
51183
+ () => Go(
51186
51184
  {
51187
51185
  ...co(n, [
51188
51186
  "subtle",
@@ -51650,12 +51648,12 @@ const Mk = [3, 5, 7, 10], Fk = ["always", "never", "active"], ja = {
51650
51648
  const Z = $t(o.icon) ? o.icon[F] : void 0;
51651
51649
  if (Z) {
51652
51650
  if (zt(Z)) return Z;
51653
- if (bt(Z) && zt(Z.icon))
51651
+ if (ht(Z) && zt(Z.icon))
51654
51652
  return Z.icon;
51655
51653
  }
51656
51654
  return zt(o.icon) ? o.icon : ja.icon;
51657
51655
  }, h = _(() => Array.from({ length: m.value }, (F, Z) => {
51658
- const ie = $t(o.icon) ? o.icon[Z] : void 0, de = bt(ie) ? ie : void 0;
51656
+ const ie = $t(o.icon) ? o.icon[Z] : void 0, de = ht(ie) ? ie : void 0;
51659
51657
  return {
51660
51658
  ...de ?? {},
51661
51659
  index: Z,
@@ -52725,7 +52723,7 @@ const Jk = ["sm", "md", "lg"], Zk = Rr, Xk = {
52725
52723
  ...je(c, ["value"]),
52726
52724
  rows: v.value
52727
52725
  };
52728
- return { ...Xo(P, Bn) };
52726
+ return { ...Go(P, Bn) };
52729
52727
  }), f = L(), m = qm(() => {
52730
52728
  f.value && n.autoSize && (f.value.style.height = "auto", f.value.style.height = `${f.value.scrollHeight + 2}px`);
52731
52729
  }, 10);
@@ -52995,7 +52993,7 @@ const Ed = /* @__PURE__ */ V({
52995
52993
  });
52996
52994
  Object.assign(xl, fe(xl, "Tooltip"));
52997
52995
  Object.assign(Ed, fe(Ed, "TooltipProvider"));
52998
- const _z = "0.33.13", Oz = function(e, t = {}) {
52996
+ const _z = "0.34.1", Oz = function(e, t = {}) {
52999
52997
  const { cssInJs: o } = t;
53000
52998
  return e.config.globalProperties.$pantographCssInJs = o, import("@pantograph/tokens/style/index.css"), o || import("@pantograph/styles/index.css"), Object.values(tx).forEach((n) => {
53001
52999
  n.install && e.use(n);
@@ -53144,7 +53142,7 @@ export {
53144
53142
  Ky as GRAPHICAL_OBJECT_GROUP_DEFAULT_PROPS,
53145
53143
  BT as GoPickerColors,
53146
53144
  AT as GoPickerGroups,
53147
- Go as GraphicalObject,
53145
+ Ko as GraphicalObject,
53148
53146
  uB as GraphicalObjectBGs,
53149
53147
  dB as GraphicalObjectBRs,
53150
53148
  cB as GraphicalObjectFGs,
@@ -53311,7 +53309,7 @@ export {
53311
53309
  Xp as comboboxValuePlaceholder,
53312
53310
  bo as commentPrefix,
53313
53311
  Vl as dataTableDragHandleCls,
53314
- ht as dataTablePrefix,
53312
+ bt as dataTablePrefix,
53315
53313
  Pz as default,
53316
53314
  Ft as dialogPrefix,
53317
53315
  Pw as emojiList,
@@ -53336,7 +53334,7 @@ export {
53336
53334
  Nl as injectComboboxContext,
53337
53335
  ka as injectCommentContext,
53338
53336
  pp as injectConfigContext,
53339
- Wo as injectDataTableContext,
53337
+ Jo as injectDataTableContext,
53340
53338
  Vy as injectDropDownContext,
53341
53339
  Hy as injectGraphicalObjectGroupContext,
53342
53340
  hr as injectInputGroupContext,