@bcc-code/component-library-vue 0.9.2 → 0.9.4

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 { ref as $e, readonly as Mp, getCurrentInstance as bl, onMounted as di, nextTick as Ni, watch as It, reactive as ou, inject as Ka, markRaw as Dp, mergeProps as c, defineComponent as Te, openBlock as d, createElementBlock as p, normalizeClass as S, renderSlot as b, createBlock as y, resolveDynamicComponent as C, toDisplayString as D, createCommentVNode as g, computed as we, createElementVNode as k, Fragment as O, renderList as j, withCtx as w, createVNode as B, Transition as ye, toRef as Ep, unref as ne, createStaticVNode as ru, useModel as Tr, onUnmounted as Va, mergeModels as xn, normalizeStyle as ht, withDirectives as Z, vShow as et, TransitionGroup as iu, KeepAlive as Rp, createTextVNode as ce, useId as Ap, createSlots as Pe, resolveComponent as x, resolveDirective as de, useAttrs as un, h as he, normalizeProps as xe, guardReactiveProps as Ye, Teleport as zp, toHandlers as Dr, withKeys as Ie, withModifiers as Ln, vModelText as Fp } from "vue";
1
+ import { ref as $e, readonly as Mp, getCurrentInstance as bl, onMounted as di, nextTick as Ni, watch as It, reactive as ou, inject as Ka, markRaw as Dp, mergeProps as c, defineComponent as Te, openBlock as d, createElementBlock as p, normalizeClass as S, renderSlot as b, createBlock as y, resolveDynamicComponent as C, toDisplayString as D, createCommentVNode as g, computed as we, createElementVNode as k, Fragment as O, renderList as j, withCtx as w, createVNode as B, Transition as ye, toRef as Ep, unref as ne, createStaticVNode as ru, useModel as Tr, onUnmounted as Va, mergeModels as xn, normalizeStyle as ht, withDirectives as Z, vShow as et, TransitionGroup as iu, KeepAlive as Rp, createTextVNode as ce, useId as Ap, createSlots as Ce, resolveComponent as x, resolveDirective as de, useAttrs as un, h as he, normalizeProps as Pe, guardReactiveProps as Ye, Teleport as zp, toHandlers as Dr, withKeys as Ie, withModifiers as Ln, vModelText as Fp } from "vue";
2
2
  var Kp = Object.defineProperty, gl = Object.getOwnPropertySymbols, Vp = Object.prototype.hasOwnProperty, jp = Object.prototype.propertyIsEnumerable, vl = (t, e, n) => e in t ? Kp(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, Np = (t, e) => {
3
3
  for (var n in e || (e = {})) Vp.call(e, n) && vl(t, n, e[n]);
4
4
  if (gl) for (var n of gl(e)) jp.call(e, n) && vl(t, n, e[n]);
@@ -740,12 +740,12 @@ function vu(t, e) {
740
740
  }
741
741
  var Qe = (t) => {
742
742
  var e;
743
- let n = Se.getTheme(), r = Wi(n, t, void 0, "variable"), i = (e = r?.match(/--[\w-]+/g)) == null ? void 0 : e[0], o = Wi(n, t, void 0, "value");
743
+ let n = xe.getTheme(), r = Wi(n, t, void 0, "variable"), i = (e = r?.match(/--[\w-]+/g)) == null ? void 0 : e[0], o = Wi(n, t, void 0, "value");
744
744
  return { name: i, variable: r, value: o };
745
- }, rn = (...t) => Wi(Se.getTheme(), ...t), Wi = (t = {}, e, n, r) => {
745
+ }, rn = (...t) => Wi(xe.getTheme(), ...t), Wi = (t = {}, e, n, r) => {
746
746
  if (e) {
747
- let { variable: i, options: o } = Se.defaults || {}, { prefix: a, transform: s } = t?.options || o || {}, l = on(e, Gn) ? e : `{${e}}`;
748
- return r === "value" || pe(r) && s === "strict" ? Se.getTokenValue(e) : gu(l, void 0, a, [i.excludedKeyRegex], n);
747
+ let { variable: i, options: o } = xe.defaults || {}, { prefix: a, transform: s } = t?.options || o || {}, l = on(e, Gn) ? e : `{${e}}`;
748
+ return r === "value" || pe(r) && s === "strict" ? xe.getTokenValue(e) : gu(l, void 0, a, [i.excludedKeyRegex], n);
749
749
  }
750
750
  return "";
751
751
  };
@@ -760,7 +760,7 @@ function Rr(t, ...e) {
760
760
  return Le(t, { dt: rn });
761
761
  }
762
762
  function vf(t, e = {}) {
763
- let n = Se.defaults.variable, { prefix: r = n.prefix, selector: i = n.selector, excludedKeyRegex: o = n.excludedKeyRegex } = e, a = [], s = [], l = [{ node: t, path: r }];
763
+ let n = xe.defaults.variable, { prefix: r = n.prefix, selector: i = n.selector, excludedKeyRegex: o = n.excludedKeyRegex } = e, a = [], s = [], l = [{ node: t, path: r }];
764
764
  for (; l.length; ) {
765
765
  let { node: f, path: h } = l.pop();
766
766
  for (let m in f) {
@@ -897,7 +897,7 @@ var yt = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(t
897
897
  return e;
898
898
  }
899
899
  return "";
900
- } }, Se = { defaults: { variable: { prefix: "p", selector: ":root,:host", excludedKeyRegex: /^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi }, options: { prefix: "p", darkModeSelector: "system", cssLayer: !1 } }, _theme: void 0, _layerNames: /* @__PURE__ */ new Set(), _loadedStyleNames: /* @__PURE__ */ new Set(), _loadingStyles: /* @__PURE__ */ new Set(), _tokens: {}, update(t = {}) {
900
+ } }, xe = { defaults: { variable: { prefix: "p", selector: ":root,:host", excludedKeyRegex: /^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi }, options: { prefix: "p", darkModeSelector: "system", cssLayer: !1 } }, _theme: void 0, _layerNames: /* @__PURE__ */ new Set(), _loadedStyleNames: /* @__PURE__ */ new Set(), _loadingStyles: /* @__PURE__ */ new Set(), _tokens: {}, update(t = {}) {
901
901
  let { theme: e } = t;
902
902
  e && (this._theme = yi(kt({}, e), { options: kt(kt({}, this.defaults.options), e.options) }), this._tokens = yt.createTokens(this.preset, this.defaults), this.clearLoadedStyleNames());
903
903
  }, get theme() {
@@ -6889,23 +6889,23 @@ var sw = function(e) {
6889
6889
  var e = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
6890
6890
  return this.load(this.style, n, function() {
6891
6891
  var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
6892
- return Se.transformCSS(n.name || e.name, "".concat(i).concat(Rr(Al || (Al = Ar(["", ""])), r)));
6892
+ return xe.transformCSS(n.name || e.name, "".concat(i).concat(Rr(Al || (Al = Ar(["", ""])), r)));
6893
6893
  });
6894
6894
  },
6895
6895
  getCommonTheme: function(e) {
6896
- return Se.getCommon(this.name, e);
6896
+ return xe.getCommon(this.name, e);
6897
6897
  },
6898
6898
  getComponentTheme: function(e) {
6899
- return Se.getComponent(this.name, e);
6899
+ return xe.getComponent(this.name, e);
6900
6900
  },
6901
6901
  getDirectiveTheme: function(e) {
6902
- return Se.getDirective(this.name, e);
6902
+ return xe.getDirective(this.name, e);
6903
6903
  },
6904
6904
  getPresetTheme: function(e, n, r) {
6905
- return Se.getCustomPreset(this.name, e, n, r);
6905
+ return xe.getCustomPreset(this.name, e, n, r);
6906
6906
  },
6907
6907
  getLayerOrderThemeCSS: function() {
6908
- return Se.getLayerOrderCSS(this.name);
6908
+ return xe.getLayerOrderCSS(this.name);
6909
6909
  },
6910
6910
  getStyleSheet: function() {
6911
6911
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
@@ -6922,14 +6922,14 @@ var sw = function(e) {
6922
6922
  },
6923
6923
  getCommonThemeStyleSheet: function(e) {
6924
6924
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
6925
- return Se.getCommonStyleSheet(this.name, e, n);
6925
+ return xe.getCommonStyleSheet(this.name, e, n);
6926
6926
  },
6927
6927
  getThemeStyleSheet: function(e) {
6928
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [Se.getStyleSheet(this.name, e, n)];
6928
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [xe.getStyleSheet(this.name, e, n)];
6929
6929
  if (this.style) {
6930
6930
  var i = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), o = Rr(Fl || (Fl = Ar(["", ""])), Le(this.style, {
6931
6931
  dt: rn
6932
- })), a = Hn(Se.transformCSS(i, o)), s = Object.entries(n).reduce(function(l, u) {
6932
+ })), a = Hn(xe.transformCSS(i, o)), s = Object.entries(n).reduce(function(l, u) {
6933
6933
  var f = Kl(u, 2), h = f[0], m = f[1];
6934
6934
  return l.push("".concat(h, '="').concat(m, '"')) && l;
6935
6935
  }, []).join(" ");
@@ -7152,7 +7152,7 @@ function gw() {
7152
7152
  function vw(t, e) {
7153
7153
  var n = $e(!1), r = function() {
7154
7154
  var u;
7155
- if (((u = e.config) === null || u === void 0 ? void 0 : u.theme) !== "none" && !Se.isStyleNameLoaded("common")) {
7155
+ if (((u = e.config) === null || u === void 0 ? void 0 : u.theme) !== "none" && !xe.isStyleNameLoaded("common")) {
7156
7156
  var f, h, m = ((f = E.getCommonTheme) === null || f === void 0 ? void 0 : f.call(E)) || {}, v = m.primitive, I = m.semantic, P = m.global, T = m.style, $ = {
7157
7157
  nonce: (h = e.config) === null || h === void 0 || (h = h.csp) === null || h === void 0 ? void 0 : h.nonce
7158
7158
  };
@@ -7164,7 +7164,7 @@ function vw(t, e) {
7164
7164
  name: "global-variables"
7165
7165
  }, $)), E.loadStyle(zr({
7166
7166
  name: "global-style"
7167
- }, $), T), Se.setLoadedStyleName("common");
7167
+ }, $), T), xe.setLoadedStyleName("common");
7168
7168
  }
7169
7169
  };
7170
7170
  We.on("theme:change", function(l) {
@@ -7191,7 +7191,7 @@ function vw(t, e) {
7191
7191
  }), a = It(function() {
7192
7192
  return e.config.theme;
7193
7193
  }, function(l, u) {
7194
- n.value || Se.setTheme(l), e.config.unstyled || r(), n.value = !1, Vt.emit("config:theme:change", {
7194
+ n.value || xe.setTheme(l), e.config.unstyled || r(), n.value = !1, Vt.emit("config:theme:change", {
7195
7195
  newValue: l,
7196
7196
  oldValue: u
7197
7197
  });
@@ -7435,7 +7435,7 @@ var oe = {
7435
7435
  _loadThemeStyles: function() {
7436
7436
  var e, n, r, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 ? arguments[1] : void 0;
7437
7437
  if (!(i != null && i.isUnstyled() || (i == null || (e = i.theme) === null || e === void 0 ? void 0 : e.call(i)) === "none")) {
7438
- if (!Se.isStyleNameLoaded("common")) {
7438
+ if (!xe.isStyleNameLoaded("common")) {
7439
7439
  var a, s, l = ((a = i.$style) === null || a === void 0 || (s = a.getCommonTheme) === null || s === void 0 ? void 0 : s.call(a)) || {}, u = l.primitive, f = l.semantic, h = l.global, m = l.style;
7440
7440
  E.load(u?.css, ke({
7441
7441
  name: "primitive-variables"
@@ -7445,22 +7445,22 @@ var oe = {
7445
7445
  name: "global-variables"
7446
7446
  }, o)), E.loadStyle(ke({
7447
7447
  name: "global-style"
7448
- }, o), m), Se.setLoadedStyleName("common");
7448
+ }, o), m), xe.setLoadedStyleName("common");
7449
7449
  }
7450
- if (!Se.isStyleNameLoaded((n = i.$style) === null || n === void 0 ? void 0 : n.name) && (r = i.$style) !== null && r !== void 0 && r.name) {
7450
+ if (!xe.isStyleNameLoaded((n = i.$style) === null || n === void 0 ? void 0 : n.name) && (r = i.$style) !== null && r !== void 0 && r.name) {
7451
7451
  var v, I, P, T, $ = ((v = i.$style) === null || v === void 0 || (I = v.getDirectiveTheme) === null || I === void 0 ? void 0 : I.call(v)) || {}, M = $.css, z = $.style;
7452
7452
  (P = i.$style) === null || P === void 0 || P.load(M, ke({
7453
7453
  name: "".concat(i.$style.name, "-variables")
7454
7454
  }, o)), (T = i.$style) === null || T === void 0 || T.loadStyle(ke({
7455
7455
  name: "".concat(i.$style.name, "-style")
7456
- }, o), z), Se.setLoadedStyleName(i.$style.name);
7456
+ }, o), z), xe.setLoadedStyleName(i.$style.name);
7457
7457
  }
7458
- if (!Se.isStyleNameLoaded("layer-order")) {
7458
+ if (!xe.isStyleNameLoaded("layer-order")) {
7459
7459
  var L, F, q = (L = i.$style) === null || L === void 0 || (F = L.getLayerOrderThemeCSS) === null || F === void 0 ? void 0 : F.call(L);
7460
7460
  E.load(q, ke({
7461
7461
  name: "layer-order",
7462
7462
  first: !0
7463
- }, o)), Se.setLoadedStyleName("layer-order");
7463
+ }, o)), xe.setLoadedStyleName("layer-order");
7464
7464
  }
7465
7465
  }
7466
7466
  },
@@ -9968,7 +9968,7 @@ var R = {
9968
9968
  _loadThemeStyles: function() {
9969
9969
  var e, n;
9970
9970
  if (!(this.isUnstyled || this.$theme === "none")) {
9971
- if (!Se.isStyleNameLoaded("common")) {
9971
+ if (!xe.isStyleNameLoaded("common")) {
9972
9972
  var r, i, o = ((r = this.$style) === null || r === void 0 || (i = r.getCommonTheme) === null || i === void 0 ? void 0 : i.call(r)) || {}, a = o.primitive, s = o.semantic, l = o.global, u = o.style;
9973
9973
  E.load(a?.css, be({
9974
9974
  name: "primitive-variables"
@@ -9978,22 +9978,22 @@ var R = {
9978
9978
  name: "global-variables"
9979
9979
  }, this.$styleOptions)), E.loadStyle(be({
9980
9980
  name: "global-style"
9981
- }, this.$styleOptions), u), Se.setLoadedStyleName("common");
9981
+ }, this.$styleOptions), u), xe.setLoadedStyleName("common");
9982
9982
  }
9983
- if (!Se.isStyleNameLoaded((e = this.$style) === null || e === void 0 ? void 0 : e.name) && (n = this.$style) !== null && n !== void 0 && n.name) {
9983
+ if (!xe.isStyleNameLoaded((e = this.$style) === null || e === void 0 ? void 0 : e.name) && (n = this.$style) !== null && n !== void 0 && n.name) {
9984
9984
  var f, h, m, v, I = ((f = this.$style) === null || f === void 0 || (h = f.getComponentTheme) === null || h === void 0 ? void 0 : h.call(f)) || {}, P = I.css, T = I.style;
9985
9985
  (m = this.$style) === null || m === void 0 || m.load(P, be({
9986
9986
  name: "".concat(this.$style.name, "-variables")
9987
9987
  }, this.$styleOptions)), (v = this.$style) === null || v === void 0 || v.loadStyle(be({
9988
9988
  name: "".concat(this.$style.name, "-style")
9989
- }, this.$styleOptions), T), Se.setLoadedStyleName(this.$style.name);
9989
+ }, this.$styleOptions), T), xe.setLoadedStyleName(this.$style.name);
9990
9990
  }
9991
- if (!Se.isStyleNameLoaded("layer-order")) {
9991
+ if (!xe.isStyleNameLoaded("layer-order")) {
9992
9992
  var $, M, z = ($ = this.$style) === null || $ === void 0 || (M = $.getLayerOrderThemeCSS) === null || M === void 0 ? void 0 : M.call($);
9993
9993
  E.load(z, be({
9994
9994
  name: "layer-order",
9995
9995
  first: !0
9996
- }, this.$styleOptions)), Se.setLoadedStyleName("layer-order");
9996
+ }, this.$styleOptions)), xe.setLoadedStyleName("layer-order");
9997
9997
  }
9998
9998
  }
9999
9999
  },
@@ -10437,7 +10437,7 @@ const $N = /* @__PURE__ */ Te({
10437
10437
  return (r, i) => (d(), y(ne(Du), c(n.value, {
10438
10438
  class: ["bcc-avatar", [t.gender, t.size, { child: t.child, bordered: t.bordered, squared: t.squared }]],
10439
10439
  shape: t.squared ? "square" : "circle"
10440
- }), Pe({ _: 2 }, [
10440
+ }), Ce({ _: 2 }, [
10441
10441
  t.icon ? {
10442
10442
  name: "icon",
10443
10443
  fn: w(() => [
@@ -12513,7 +12513,7 @@ const gx = { class: "flex items-center gap-2" }, vx = ["for"], DN = /* @__PURE__
12513
12513
  return typeof o.value > "u" && (o.binary = !0), { ...o, ...n };
12514
12514
  });
12515
12515
  return (i, o) => (d(), p("div", gx, [
12516
- B(ne(mn), xe(Ye(r.value)), {
12516
+ B(ne(mn), Pe(Ye(r.value)), {
12517
12517
  icon: w(({ checked: a, indeterminate: s, class: l }) => [
12518
12518
  a ? (d(), y(ne(pi), {
12519
12519
  key: 0,
@@ -13670,7 +13670,7 @@ function r2(t, e, n, r, i, o) {
13670
13670
  draggable: t.draggable,
13671
13671
  pt: t.pt,
13672
13672
  unstyled: t.unstyled
13673
- }, Pe({
13673
+ }, Ce({
13674
13674
  default: w(function() {
13675
13675
  return [t.$slots.container ? g("", !0) : (d(), p(O, {
13676
13676
  key: 0
@@ -13719,7 +13719,7 @@ function r2(t, e, n, r, i, o) {
13719
13719
  }, i.confirmation.rejectProps, {
13720
13720
  label: o.rejectLabel,
13721
13721
  pt: t.ptm("pcRejectButton")
13722
- }), Pe({
13722
+ }), Ce({
13723
13723
  _: 2
13724
13724
  }, [o.rejectIcon || t.$slots.rejecticon ? {
13725
13725
  name: "icon",
@@ -13743,7 +13743,7 @@ function r2(t, e, n, r, i, o) {
13743
13743
  })
13744
13744
  }, i.confirmation.acceptProps, {
13745
13745
  pt: t.ptm("pcAcceptButton")
13746
- }), Pe({
13746
+ }), Ce({
13747
13747
  _: 2
13748
13748
  }, [o.acceptIcon || t.$slots.accepticon ? {
13749
13749
  name: "icon",
@@ -13779,7 +13779,7 @@ const EN = /* @__PURE__ */ Te({
13779
13779
  _e.on("confirm", r), _e.on("close", i);
13780
13780
  }), Va(() => {
13781
13781
  _e.off("confirm", r), _e.off("close", i);
13782
- }), (o, a) => (d(), y(ne(Au), xe(Ye(o.$attrs)), Pe({
13782
+ }), (o, a) => (d(), y(ne(Au), Pe(Ye(o.$attrs)), Ce({
13783
13783
  icon: w(() => [
13784
13784
  b(o.$slots, "icon", { confirmation: e.value }, () => [
13785
13785
  e.value?.icon ? (d(), p(O, { key: 0 }, [
@@ -13826,14 +13826,14 @@ const EN = /* @__PURE__ */ Te({
13826
13826
  o.$slots.message ? {
13827
13827
  name: "message",
13828
13828
  fn: w((s) => [
13829
- b(o.$slots, "message", xe(Ye(s)))
13829
+ b(o.$slots, "message", Pe(Ye(s)))
13830
13830
  ]),
13831
13831
  key: "0"
13832
13832
  } : void 0,
13833
13833
  o.$slots.container ? {
13834
13834
  name: "container",
13835
13835
  fn: w((s) => [
13836
- b(o.$slots, "container", xe(Ye(s)))
13836
+ b(o.$slots, "container", Pe(Ye(s)))
13837
13837
  ]),
13838
13838
  key: "1"
13839
13839
  } : void 0
@@ -14328,7 +14328,7 @@ function x2(t, e, n, r, i, o) {
14328
14328
  }, t.ptm("rotateRightButton"), {
14329
14329
  "data-pc-group-section": "action"
14330
14330
  }), [b(t.$slots, "refresh", {}, function() {
14331
- return [B(a, xe(Ye(t.ptm("rotateRightIcon"))), null, 16)];
14331
+ return [B(a, Pe(Ye(t.ptm("rotateRightIcon"))), null, 16)];
14332
14332
  })], 16, y2), k("button", c({
14333
14333
  class: t.cx("rotateLeftButton"),
14334
14334
  onClick: e[3] || (e[3] = function() {
@@ -14339,7 +14339,7 @@ function x2(t, e, n, r, i, o) {
14339
14339
  }, t.ptm("rotateLeftButton"), {
14340
14340
  "data-pc-group-section": "action"
14341
14341
  }), [b(t.$slots, "undo", {}, function() {
14342
- return [B(s, xe(Ye(t.ptm("rotateLeftIcon"))), null, 16)];
14342
+ return [B(s, Pe(Ye(t.ptm("rotateLeftIcon"))), null, 16)];
14343
14343
  })], 16, k2), k("button", c({
14344
14344
  class: t.cx("zoomOutButton"),
14345
14345
  onClick: e[4] || (e[4] = function() {
@@ -14351,7 +14351,7 @@ function x2(t, e, n, r, i, o) {
14351
14351
  }, t.ptm("zoomOutButton"), {
14352
14352
  "data-pc-group-section": "action"
14353
14353
  }), [b(t.$slots, "zoomout", {}, function() {
14354
- return [B(l, xe(Ye(t.ptm("zoomOutIcon"))), null, 16)];
14354
+ return [B(l, Pe(Ye(t.ptm("zoomOutIcon"))), null, 16)];
14355
14355
  })], 16, w2), k("button", c({
14356
14356
  class: t.cx("zoomInButton"),
14357
14357
  onClick: e[5] || (e[5] = function() {
@@ -14363,7 +14363,7 @@ function x2(t, e, n, r, i, o) {
14363
14363
  }, t.ptm("zoomInButton"), {
14364
14364
  "data-pc-group-section": "action"
14365
14365
  }), [b(t.$slots, "zoomin", {}, function() {
14366
- return [B(u, xe(Ye(t.ptm("zoomInIcon"))), null, 16)];
14366
+ return [B(u, Pe(Ye(t.ptm("zoomInIcon"))), null, 16)];
14367
14367
  })], 16, I2), k("button", c({
14368
14368
  class: t.cx("closeButton"),
14369
14369
  type: "button",
@@ -14375,7 +14375,7 @@ function x2(t, e, n, r, i, o) {
14375
14375
  }, t.ptm("closeButton"), {
14376
14376
  "data-pc-group-section": "action"
14377
14377
  }), [b(t.$slots, "close", {}, function() {
14378
- return [B(f, xe(Ye(t.ptm("closeIcon"))), null, 16)];
14378
+ return [B(f, Pe(Ye(t.ptm("closeIcon"))), null, 16)];
14379
14379
  })], 16, C2)], 16), B(ye, c({
14380
14380
  name: "p-image-original",
14381
14381
  onBeforeEnter: o.onBeforeEnter,
@@ -14385,7 +14385,7 @@ function x2(t, e, n, r, i, o) {
14385
14385
  onAfterLeave: o.onAfterLeave
14386
14386
  }, t.ptm("transition")), {
14387
14387
  default: w(function() {
14388
- return [i.previewVisible ? (d(), p("div", xe(c({
14388
+ return [i.previewVisible ? (d(), p("div", Pe(c({
14389
14389
  key: 0
14390
14390
  }, t.ptm("originalContainer"))), [b(t.$slots, t.$slots.original ? "original" : "preview", {
14391
14391
  class: S(t.cx("original")),
@@ -14427,7 +14427,7 @@ const RN = /* @__PURE__ */ Te({
14427
14427
  },
14428
14428
  setup(t) {
14429
14429
  const e = t;
14430
- return (n, r) => (d(), y(ne(ju), xe(Ye(e)), {
14430
+ return (n, r) => (d(), y(ne(ju), Pe(Ye(e)), {
14431
14431
  refresh: w(() => [
14432
14432
  b(n.$slots, "refresh", {}, () => [
14433
14433
  B(ne(hC), { class: "p-icon" })
@@ -16621,7 +16621,7 @@ const zN = /* @__PURE__ */ Te({
16621
16621
  return (l, u) => (d(), y(ne(Hu), c({
16622
16622
  ref_key: "primeMenuRef",
16623
16623
  ref: o
16624
- }, i.value, { class: "text-sm" }), {
16624
+ }, i.value, { class: "text-sm" }), Ce({
16625
16625
  itemicon: w(({ item: f, class: h }) => [
16626
16626
  f?.icon && s(f.icon) ? (d(), y(C(f.icon), {
16627
16627
  key: 0,
@@ -16631,8 +16631,20 @@ const zN = /* @__PURE__ */ Te({
16631
16631
  class: S([h, f.icon])
16632
16632
  }, null, 2)) : g("", !0)
16633
16633
  ]),
16634
- _: 1
16635
- }, 16));
16634
+ _: 2
16635
+ }, [
16636
+ l.$slots.item ? {
16637
+ name: "item",
16638
+ fn: w(({ item: f, label: h, props: m }) => [
16639
+ b(l.$slots, "item", {
16640
+ item: f,
16641
+ label: h,
16642
+ props: m
16643
+ })
16644
+ ]),
16645
+ key: "0"
16646
+ } : void 0
16647
+ ]), 1040));
16636
16648
  }
16637
16649
  });
16638
16650
  var TP = `
@@ -17233,7 +17245,7 @@ const HP = { key: 0 }, qP = { key: 1 }, FN = /* @__PURE__ */ Te({
17233
17245
  })), l = we(() => ({
17234
17246
  height: "var(--p-message-text-line-height)"
17235
17247
  }));
17236
- return (u, f) => (d(), y(ne(tl), xe(Ye(n.value)), Pe({
17248
+ return (u, f) => (d(), y(ne(tl), Pe(Ye(n.value)), Ce({
17237
17249
  default: w(() => [
17238
17250
  b(u.$slots, "default", {}, () => [
17239
17251
  k("div", null, [
@@ -17623,7 +17635,7 @@ const o5 = { class: "flex items-center gap-2" }, r5 = ["for"], KN = /* @__PURE__
17623
17635
  setup(t) {
17624
17636
  const e = t, n = un();
17625
17637
  return (r, i) => (d(), p("div", o5, [
17626
- B(ne(nl), xe(Ye({ ...e, ...ne(n) })), null, 16),
17638
+ B(ne(nl), Pe(Ye({ ...e, ...ne(n) })), null, 16),
17627
17639
  t.label ? (d(), p("label", {
17628
17640
  key: 0,
17629
17641
  for: t.inputId,
@@ -18186,7 +18198,7 @@ function x5(t, e, n, r, i, o) {
18186
18198
  return o.onOptionSelect(f, s, l);
18187
18199
  },
18188
18200
  pt: t.ptm("pcToggleButton")
18189
- }, Pe({
18201
+ }, Ce({
18190
18202
  _: 2
18191
18203
  }, [t.$slots.option ? {
18192
18204
  name: "default",
@@ -18235,14 +18247,14 @@ const VN = /* @__PURE__ */ Te({
18235
18247
  return typeof s == "function" || typeof s == "object" && s !== null;
18236
18248
  }
18237
18249
  function i(s) {
18238
- return typeof s == "string" ? s : e.optionLabel ? typeof e.optionLabel == "function" ? e.optionLabel(s) : s[e.optionLabel] : null;
18250
+ return typeof e.optionLabel == "function" ? e.optionLabel(s) : typeof s == "string" ? s : e.optionLabel ? s[e.optionLabel] : null;
18239
18251
  }
18240
18252
  function o(s) {
18241
18253
  const l = i(s);
18242
18254
  return l !== null && r(l);
18243
18255
  }
18244
18256
  const a = we(() => ({ ...e, ...n }));
18245
- return (s, l) => (d(), y(ne(Uu), xe(Ye(a.value)), {
18257
+ return (s, l) => (d(), y(ne(Uu), Pe(Ye(a.value)), {
18246
18258
  option: w(({ option: u }) => [
18247
18259
  b(s.$slots, "option", { option: u }, () => [
18248
18260
  o(u) ? (d(), y(C(i(u)), {
@@ -22284,7 +22296,7 @@ function cT(t, e, n, r, i, o) {
22284
22296
  tabindex: -1,
22285
22297
  disabled: o.virtualScrollerDisabled,
22286
22298
  pt: t.ptm("virtualScroller")
22287
- }), Pe({
22299
+ }), Ce({
22288
22300
  content: w(function(v) {
22289
22301
  var I = v.styleClass, P = v.contentRef, T = v.items, $ = v.getItemOptions, M = v.contentStyle, z = v.itemSize;
22290
22302
  return [k("ul", c({
@@ -30432,7 +30444,7 @@ function qB(t, e, n, r, i, o) {
30432
30444
  }, i.confirmation.rejectProps, {
30433
30445
  label: o.rejectLabel,
30434
30446
  pt: t.ptm("pcRejectButton")
30435
- }), Pe({
30447
+ }), Ce({
30436
30448
  _: 2
30437
30449
  }, [o.rejectIcon || t.$slots.rejecticon ? {
30438
30450
  name: "icon",
@@ -30458,7 +30470,7 @@ function qB(t, e, n, r, i, o) {
30458
30470
  }, i.confirmation.acceptProps, {
30459
30471
  label: o.acceptLabel,
30460
30472
  pt: t.ptm("pcAcceptButton")
30461
- }), Pe({
30473
+ }), Ce({
30462
30474
  _: 2
30463
30475
  }, [o.acceptIcon || t.$slots.accepticon ? {
30464
30476
  name: "icon",
@@ -33061,7 +33073,7 @@ function F$(t, e, n, r, i, o) {
33061
33073
  return [t.filterIcon ? (d(), p("span", c({
33062
33074
  key: 0,
33063
33075
  class: t.filterIcon
33064
- }, t.ptm("filterIcon")), null, 16)) : (d(), y(l, xe(c({
33076
+ }, t.ptm("filterIcon")), null, 16)) : (d(), y(l, Pe(c({
33065
33077
  key: 1
33066
33078
  }, t.ptm("filterIcon"))), null, 16))];
33067
33079
  })];
@@ -33091,7 +33103,7 @@ function F$(t, e, n, r, i, o) {
33091
33103
  tabindex: -1,
33092
33104
  disabled: o.virtualScrollerDisabled,
33093
33105
  pt: t.ptm("virtualScroller")
33094
- }), Pe({
33106
+ }), Ce({
33095
33107
  content: w(function(T) {
33096
33108
  var $ = T.styleClass, M = T.contentRef, z = T.items, L = T.getItemOptions, F = T.contentStyle, q = T.itemSize;
33097
33109
  return [k("ul", c({
@@ -33431,7 +33443,7 @@ function q$(t, e, n, r, i, o) {
33431
33443
  unstyled: t.unstyled,
33432
33444
  pt: t.ptm("pcJumpToPageDropdown"),
33433
33445
  "data-pc-group-section": "pagedropdown"
33434
- }, Pe({
33446
+ }, Ce({
33435
33447
  _: 2
33436
33448
  }, [n.templates.jumptopagedropdownicon ? {
33437
33449
  name: "dropdownicon",
@@ -33710,7 +33722,7 @@ function J$(t, e, n, r, i, o) {
33710
33722
  unstyled: t.unstyled,
33711
33723
  pt: t.ptm("pcRowPerPageDropdown"),
33712
33724
  "data-pc-group-section": "pagedropdown"
33713
- }, Pe({
33725
+ }, Ce({
33714
33726
  _: 2
33715
33727
  }, [n.templates.rowsperpagedropdownicon ? {
33716
33728
  name: "dropdownicon",
@@ -33942,7 +33954,7 @@ var mi = {
33942
33954
  };
33943
33955
  function n6(t, e, n, r, i, o) {
33944
33956
  var a = x("FirstPageLink"), s = x("PrevPageLink"), l = x("NextPageLink"), u = x("LastPageLink"), f = x("PageLinks"), h = x("CurrentPageReport"), m = x("RowsPerPageDropdown"), v = x("JumpToPageDropdown"), I = x("JumpToPageInput");
33945
- return t.alwaysShow || o.pageLinks && o.pageLinks.length > 1 ? (d(), p("nav", xe(c({
33957
+ return t.alwaysShow || o.pageLinks && o.pageLinks.length > 1 ? (d(), p("nav", Pe(c({
33946
33958
  key: 0
33947
33959
  }, t.ptmi("paginatorContainer"))), [(d(!0), p(O, null, j(o.templateItems, function(P, T) {
33948
33960
  return d(), p("div", c({
@@ -38381,7 +38393,7 @@ function SM(t, e, n, r, i, o) {
38381
38393
  }),
38382
38394
  _: 1
38383
38395
  }, 16, ["class", "onClick", "label", "unstyled", "pt"])], 16)) : g("", !0)], 16);
38384
- }), 128))], 16), o.isShowAddConstraint ? (d(), p("div", xe(c({
38396
+ }), 128))], 16), o.isShowAddConstraint ? (d(), p("div", Pe(c({
38385
38397
  key: 1
38386
38398
  }, o.getColumnPT("filterAddButtonContainer"))), [B(a, c({
38387
38399
  type: "button",
@@ -39103,7 +39115,7 @@ function RM(t, e, n, r, i, o) {
39103
39115
  }, null, 8, ["column"])) : g("", !0), o.columnProp("header") ? (d(), p("span", c({
39104
39116
  key: 1,
39105
39117
  class: t.cx("columnTitle")
39106
- }, o.getColumnPT("columnTitle")), D(o.columnProp("header")), 17)) : g("", !0), o.columnProp("sortable") ? (d(), p("span", xe(c({
39118
+ }, o.getColumnPT("columnTitle")), D(o.columnProp("header")), 17)) : g("", !0), o.columnProp("sortable") ? (d(), p("span", Pe(c({
39107
39119
  key: 2
39108
39120
  }, o.getColumnPT("sort"))), [(d(), y(C(n.column.children && n.column.children.sorticon || o.sortableColumnIcon), c({
39109
39121
  sorted: o.sortState.sorted,
@@ -40989,7 +41001,7 @@ function rD(t, e, n, r, i, o) {
40989
41001
  unstyled: t.unstyled,
40990
41002
  "data-p-top": !0,
40991
41003
  pt: t.ptm("pcPaginator")
40992
- }, Pe({
41004
+ }, Ce({
40993
41005
  _: 2
40994
41006
  }, [t.$slots.paginatorcontainer ? {
40995
41007
  name: "container",
@@ -41363,7 +41375,7 @@ function rD(t, e, n, r, i, o) {
41363
41375
  unstyled: t.unstyled,
41364
41376
  "data-p-bottom": !0,
41365
41377
  pt: t.ptm("pcPaginator")
41366
- }, Pe({
41378
+ }, Ce({
41367
41379
  _: 2
41368
41380
  }, [t.$slots.paginatorcontainer ? {
41369
41381
  name: "container",
@@ -41761,7 +41773,7 @@ function mD(t, e, n, r, i, o) {
41761
41773
  }),
41762
41774
  unstyled: t.unstyled,
41763
41775
  pt: t.ptm("pcPaginator")
41764
- }, Pe({
41776
+ }, Ce({
41765
41777
  _: 2
41766
41778
  }, [t.$slots.paginatorcontainer ? {
41767
41779
  name: "container",
@@ -41830,7 +41842,7 @@ function mD(t, e, n, r, i, o) {
41830
41842
  }),
41831
41843
  unstyled: t.unstyled,
41832
41844
  pt: t.ptm("pcPaginator")
41833
- }, Pe({
41845
+ }, Ce({
41834
41846
  _: 2
41835
41847
  }, [t.$slots.paginatorcontainer ? {
41836
41848
  name: "container",
@@ -43240,7 +43252,7 @@ function r8(t, e, n, r, i, o) {
43240
43252
  onAfterHide: function(f) {
43241
43253
  return o.onDialogAfterHide(s);
43242
43254
  }
43243
- }), Pe({
43255
+ }), Ce({
43244
43256
  default: w(function() {
43245
43257
  return [(d(), y(C(s.content), c({
43246
43258
  ref_for: !0
@@ -44597,7 +44609,7 @@ function j8(t, e, n, r, i, o) {
44597
44609
  unstyled: t.unstyled,
44598
44610
  pt: t.pt
44599
44611
  }, null, 8, ["files", "onRemove", "badgeValue", "previewWidth", "templates", "unstyled", "pt"])], 2)) : g("", !0)];
44600
- }), t.$slots.empty && !o.hasFiles && !o.hasUploadedFiles ? (d(), p("div", xe(c({
44612
+ }), t.$slots.empty && !o.hasFiles && !o.hasUploadedFiles ? (d(), p("div", Pe(c({
44601
44613
  key: 0
44602
44614
  }, t.ptm("empty"))), [b(t.$slots, "empty")], 16)) : g("", !0)], 16)], 16)) : o.isBasic ? (d(), p("div", c({
44603
44615
  key: 1,
@@ -49277,7 +49289,7 @@ function fE(t, e, n, r, i, o) {
49277
49289
  return [t.filterIcon ? (d(), p("span", c({
49278
49290
  key: 0,
49279
49291
  class: t.filterIcon
49280
- }, t.ptm("filterIcon")), null, 16)) : (d(), y(s, xe(c({
49292
+ }, t.ptm("filterIcon")), null, 16)) : (d(), y(s, Pe(c({
49281
49293
  key: 1
49282
49294
  }, t.ptm("filterIcon"))), null, 16))];
49283
49295
  })];
@@ -49307,7 +49319,7 @@ function fE(t, e, n, r, i, o) {
49307
49319
  tabindex: -1,
49308
49320
  disabled: o.virtualScrollerDisabled,
49309
49321
  pt: t.ptm("virtualScroller")
49310
- }), Pe({
49322
+ }), Ce({
49311
49323
  content: w(function(I) {
49312
49324
  var P = I.styleClass, T = I.contentRef, $ = I.items, M = I.getItemOptions, z = I.contentStyle, L = I.itemSize;
49313
49325
  return [k("ul", c({
@@ -50717,7 +50729,7 @@ function TE(t, e, n, r, i, o) {
50717
50729
  return o.menuButtonKeydown(u);
50718
50730
  })
50719
50731
  }, t.ptm("button")), [b(t.$slots, t.$slots.buttonicon ? "buttonicon" : "menubuttonicon", {}, function() {
50720
- return [B(a, xe(Ye(t.ptm("buttonIcon"))), null, 16)];
50732
+ return [B(a, Pe(Ye(t.ptm("buttonIcon"))), null, 16)];
50721
50733
  })], 16, OE)) : g("", !0)];
50722
50734
  }), B(s, {
50723
50735
  ref: o.menubarRef,
@@ -51899,7 +51911,7 @@ function UE(t, e, n, r, i, o) {
51899
51911
  return o.menuButtonKeydown(u);
51900
51912
  })
51901
51913
  }, bd(bd({}, t.buttonProps), t.ptm("button"))), [b(t.$slots, t.$slots.buttonicon ? "buttonicon" : "menubuttonicon", {}, function() {
51902
- return [B(a, xe(Ye(t.ptm("buttonicon"))), null, 16)];
51914
+ return [B(a, Pe(Ye(t.ptm("buttonicon"))), null, 16)];
51903
51915
  })], 16, qE)) : g("", !0)];
51904
51916
  }), B(s, {
51905
51917
  ref: o.menubarRef,
@@ -53838,7 +53850,7 @@ function $R(t, e, n, r, i, o) {
53838
53850
  return [t.filterIcon ? (d(), p("span", c({
53839
53851
  key: 0,
53840
53852
  class: t.filterIcon
53841
- }, t.ptm("filterIcon")), null, 16)) : (d(), y(f, xe(c({
53853
+ }, t.ptm("filterIcon")), null, 16)) : (d(), y(f, Pe(c({
53842
53854
  key: 1
53843
53855
  }, t.ptm("filterIcon"))), null, 16))];
53844
53856
  })];
@@ -53869,7 +53881,7 @@ function $R(t, e, n, r, i, o) {
53869
53881
  tabindex: -1,
53870
53882
  disabled: o.virtualScrollerDisabled,
53871
53883
  pt: t.ptm("virtualScroller")
53872
- }), Pe({
53884
+ }), Ce({
53873
53885
  content: w(function(T) {
53874
53886
  var $ = T.styleClass, M = T.contentRef, z = T.items, L = T.getItemOptions, F = T.contentStyle, q = T.itemSize;
53875
53887
  return [k("ul", c({
@@ -54493,7 +54505,7 @@ function GR(t, e, n, r, i, o) {
54493
54505
  onFocus: o.onListFocus,
54494
54506
  onBlur: o.onListBlur,
54495
54507
  onChange: o.onChangeSelection
54496
- }, Pe({
54508
+ }, Ce({
54497
54509
  option: w(function(m) {
54498
54510
  var v = m.option, I = m.selected, P = m.index;
54499
54511
  return [b(t.$slots, t.$slots.option ? "option" : "item", {
@@ -54802,7 +54814,7 @@ function eA(t, e, n, r, i, o) {
54802
54814
  var a = x("OrganizationChartNode", !0);
54803
54815
  return d(), p("table", c({
54804
54816
  class: t.cx("table")
54805
- }, t.ptm("table")), [k("tbody", xe(Ye(t.ptm("body"))), [n.node ? (d(), p("tr", xe(c({
54817
+ }, t.ptm("table")), [k("tbody", Pe(Ye(t.ptm("body"))), [n.node ? (d(), p("tr", Pe(c({
54806
54818
  key: 0
54807
54819
  }, t.ptm("row"))), [k("td", c({
54808
54820
  colspan: o.colspan
@@ -57579,7 +57591,7 @@ var bz = `
57579
57591
  };
57580
57592
  }
57581
57593
  };
57582
- function Ce(t) {
57594
+ function Se(t) {
57583
57595
  return Cz(t) || Iz(t) || wz(t) || kz();
57584
57596
  }
57585
57597
  function kz() {
@@ -57670,7 +57682,7 @@ var Sz = {
57670
57682
  },
57671
57683
  moveUp: function(e, n) {
57672
57684
  if (this.d_selection && this.d_selection[n]) {
57673
- for (var r = Ce(this.modelValue[n]), i = this.d_selection[n], o = i.map(function(h) {
57685
+ for (var r = Se(this.modelValue[n]), i = this.d_selection[n], o = i.map(function(h) {
57674
57686
  return ze(h, r);
57675
57687
  }).sort(function(h, m) {
57676
57688
  return h - m;
@@ -57682,13 +57694,13 @@ var Sz = {
57682
57694
  } else
57683
57695
  break;
57684
57696
  }
57685
- var f = Ce(this.modelValue);
57697
+ var f = Se(this.modelValue);
57686
57698
  f[n] = r, this.reorderDirection = "up", this.onReorderUpdate(e, f, n);
57687
57699
  }
57688
57700
  },
57689
57701
  moveTop: function(e, n) {
57690
57702
  if (this.d_selection) {
57691
- for (var r = Ce(this.modelValue[n]), i = this.d_selection[n], o = 0; o < i.length; o++) {
57703
+ for (var r = Se(this.modelValue[n]), i = this.d_selection[n], o = 0; o < i.length; o++) {
57692
57704
  var a = i[o], s = ze(a, r);
57693
57705
  if (s !== 0) {
57694
57706
  var l = r.splice(s, 1)[0];
@@ -57696,13 +57708,13 @@ var Sz = {
57696
57708
  } else
57697
57709
  break;
57698
57710
  }
57699
- var u = Ce(this.modelValue);
57711
+ var u = Se(this.modelValue);
57700
57712
  u[n] = r, this.reorderDirection = "top", this.onReorderUpdate(e, u, n);
57701
57713
  }
57702
57714
  },
57703
57715
  moveDown: function(e, n) {
57704
57716
  if (this.d_selection && this.d_selection[n]) {
57705
- for (var r = Ce(this.modelValue[n]), i = this.d_selection[n], o = i.map(function(h) {
57717
+ for (var r = Se(this.modelValue[n]), i = this.d_selection[n], o = i.map(function(h) {
57706
57718
  return ze(h, r);
57707
57719
  }).sort(function(h, m) {
57708
57720
  return m - h;
@@ -57714,13 +57726,13 @@ var Sz = {
57714
57726
  } else
57715
57727
  break;
57716
57728
  }
57717
- var f = Ce(this.modelValue);
57729
+ var f = Se(this.modelValue);
57718
57730
  f[n] = r, this.reorderDirection = "down", this.onReorderUpdate(e, f, n);
57719
57731
  }
57720
57732
  },
57721
57733
  moveBottom: function(e, n) {
57722
57734
  if (this.d_selection) {
57723
- for (var r = Ce(this.modelValue[n]), i = this.d_selection[n], o = i.length - 1; o >= 0; o--) {
57735
+ for (var r = Se(this.modelValue[n]), i = this.d_selection[n], o = i.length - 1; o >= 0; o--) {
57724
57736
  var a = i[o], s = ze(a, r);
57725
57737
  if (s !== r.length - 1) {
57726
57738
  var l = r.splice(s, 1)[0];
@@ -57728,57 +57740,57 @@ var Sz = {
57728
57740
  } else
57729
57741
  break;
57730
57742
  }
57731
- var u = Ce(this.modelValue);
57743
+ var u = Se(this.modelValue);
57732
57744
  u[n] = r, this.reorderDirection = "bottom", this.onReorderUpdate(e, u, n);
57733
57745
  }
57734
57746
  },
57735
57747
  moveToTarget: function(e) {
57736
- var n = this.d_selection && this.d_selection[0] ? this.d_selection[0] : null, r = Ce(this.modelValue[0]), i = Ce(this.modelValue[1]);
57748
+ var n = this.d_selection && this.d_selection[0] ? this.d_selection[0] : null, r = Se(this.modelValue[0]), i = Se(this.modelValue[1]);
57737
57749
  if (n) {
57738
57750
  for (var o = 0; o < n.length; o++) {
57739
57751
  var a = n[o];
57740
57752
  ze(a, i) == -1 && i.push(r.splice(ze(a, r), 1)[0]);
57741
57753
  }
57742
- var s = Ce(this.modelValue);
57754
+ var s = Se(this.modelValue);
57743
57755
  s[0] = r, s[1] = i, this.$emit("update:modelValue", s), this.$emit("move-to-target", {
57744
57756
  originalEvent: e,
57745
- items: Ce(new Set(n))
57757
+ items: Se(new Set(n))
57746
57758
  }), this.d_selection[0] = [], this.updateSelection(e);
57747
57759
  }
57748
57760
  },
57749
57761
  moveAllToTarget: function(e) {
57750
57762
  if (this.modelValue[0]) {
57751
- var n = Ce(this.modelValue[0]), r = Ce(this.modelValue[1]);
57763
+ var n = Se(this.modelValue[0]), r = Se(this.modelValue[1]);
57752
57764
  this.$emit("move-all-to-target", {
57753
57765
  originalEvent: e,
57754
57766
  items: n
57755
- }), r = [].concat(Ce(r), Ce(n)), n = [];
57756
- var i = Ce(this.modelValue);
57767
+ }), r = [].concat(Se(r), Se(n)), n = [];
57768
+ var i = Se(this.modelValue);
57757
57769
  i[0] = n, i[1] = r, this.$emit("update:modelValue", i), this.d_selection = [[], []], this.updateSelection(e);
57758
57770
  }
57759
57771
  },
57760
57772
  moveToSource: function(e) {
57761
- var n = this.d_selection && this.d_selection[1] ? this.d_selection[1] : null, r = Ce(this.modelValue[0]), i = Ce(this.modelValue[1]);
57773
+ var n = this.d_selection && this.d_selection[1] ? this.d_selection[1] : null, r = Se(this.modelValue[0]), i = Se(this.modelValue[1]);
57762
57774
  if (n) {
57763
57775
  for (var o = 0; o < n.length; o++) {
57764
57776
  var a = n[o];
57765
57777
  ze(a, r) == -1 && r.push(i.splice(ze(a, i), 1)[0]);
57766
57778
  }
57767
- var s = Ce(this.modelValue);
57779
+ var s = Se(this.modelValue);
57768
57780
  s[0] = r, s[1] = i, this.$emit("update:modelValue", s), this.$emit("move-to-source", {
57769
57781
  originalEvent: e,
57770
- items: Ce(new Set(n))
57782
+ items: Se(new Set(n))
57771
57783
  }), this.d_selection[1] = [], this.updateSelection(e);
57772
57784
  }
57773
57785
  },
57774
57786
  moveAllToSource: function(e) {
57775
57787
  if (this.modelValue[1]) {
57776
- var n = Ce(this.modelValue[0]), r = Ce(this.modelValue[1]);
57788
+ var n = Se(this.modelValue[0]), r = Se(this.modelValue[1]);
57777
57789
  this.$emit("move-all-to-source", {
57778
57790
  originalEvent: e,
57779
57791
  items: r
57780
- }), n = [].concat(Ce(n), Ce(r)), r = [];
57781
- var i = Ce(this.modelValue);
57792
+ }), n = [].concat(Se(n), Se(r)), r = [];
57793
+ var i = Se(this.modelValue);
57782
57794
  i[0] = n, i[1] = r, this.$emit("update:modelValue", i), this.d_selection = [[], []], this.updateSelection(e);
57783
57795
  }
57784
57796
  },
@@ -57792,12 +57804,12 @@ var Sz = {
57792
57804
  var m = e.metaKey || e.ctrlKey;
57793
57805
  l && m ? h = a.filter(function(I, P) {
57794
57806
  return P !== s;
57795
- }) : (h = m ? a ? Ce(a) : [] : [], h.push(n));
57807
+ }) : (h = m ? a ? Se(a) : [] : [], h.push(n));
57796
57808
  } else
57797
57809
  l ? h = a.filter(function(I, P) {
57798
57810
  return P !== s;
57799
- }) : (h = a ? Ce(a) : [], h.push(n));
57800
- var v = Ce(this.d_selection);
57811
+ }) : (h = a ? Se(a) : [], h.push(n));
57812
+ var v = Se(this.d_selection);
57801
57813
  v[i] = h, this.d_selection = v, this.updateSelection(e);
57802
57814
  },
57803
57815
  updateListScroll: function(e) {
@@ -58076,7 +58088,7 @@ function Tz(t, e, n, r, i, o) {
58076
58088
  return o.onItemDblClick(m, 0);
58077
58089
  }),
58078
58090
  "data-pc-group-section": "list"
58079
- }, Pe({
58091
+ }, Ce({
58080
58092
  option: w(function(m) {
58081
58093
  var v = m.option, I = m.selected, P = m.index;
58082
58094
  return [b(t.$slots, t.$slots.option ? "option" : "item", {
@@ -58203,7 +58215,7 @@ function Tz(t, e, n, r, i, o) {
58203
58215
  return o.onItemDblClick(m, 1);
58204
58216
  }),
58205
58217
  "data-pc-group-section": "list"
58206
- }, Pe({
58218
+ }, Ce({
58207
58219
  option: w(function(m) {
58208
58220
  var v = m.option, I = m.selected, P = m.index;
58209
58221
  return [b(t.$slots, t.$slots.option ? "option" : "item", {
@@ -60629,7 +60641,7 @@ function uF(t, e, n, r, i, o) {
60629
60641
  ref_for: !0
60630
60642
  }, t.actionButtonProps, {
60631
60643
  pt: o.getPTOptions("".concat(t.$id, "_").concat(u), "pcAction")
60632
- }), Pe({
60644
+ }), Ce({
60633
60645
  _: 2
60634
60646
  }, [l.icon ? {
60635
60647
  name: "icon",
@@ -61924,7 +61936,7 @@ function $F(t, e, n, r, i, o) {
61924
61936
  }, t.buttonProps, {
61925
61937
  pt: t.ptm("pcButton"),
61926
61938
  unstyled: t.unstyled
61927
- }), Pe({
61939
+ }), Ce({
61928
61940
  default: w(function() {
61929
61941
  return [b(t.$slots, "default")];
61930
61942
  }),
@@ -61983,7 +61995,7 @@ function $F(t, e, n, r, i, o) {
61983
61995
  appendTo: t.appendTo,
61984
61996
  unstyled: t.unstyled,
61985
61997
  pt: t.ptm("pcMenu")
61986
- }, Pe({
61998
+ }, Ce({
61987
61999
  _: 2
61988
62000
  }, [t.$slots.menuitemicon ? {
61989
62001
  name: "itemicon",
@@ -66036,7 +66048,7 @@ function uV(t, e, n, r, i, o) {
66036
66048
  key: 0,
66037
66049
  class: t.cx("detail"),
66038
66050
  "data-p": o.dataP
66039
- }, t.ptm("detail")), D(n.message.detail), 17, sV)) : g("", !0)], 16, aV)], 64)), n.message.closable !== !1 ? (d(), p("div", xe(c({
66051
+ }, t.ptm("detail")), D(n.message.detail), 17, sV)) : g("", !0)], 16, aV)], 64)), n.message.closable !== !1 ? (d(), p("div", Pe(c({
66040
66052
  key: 2
66041
66053
  }, t.ptm("buttonContainer"))), [Z((d(), p("button", c({
66042
66054
  class: t.cx("closeButton"),
@@ -69048,7 +69060,7 @@ function Oj(t, e, n, r, i, o) {
69048
69060
  level: 0,
69049
69061
  unstyled: t.unstyled,
69050
69062
  pt: t.ptm("pcTree")
69051
- }, Pe({
69063
+ }, Ce({
69052
69064
  _: 2
69053
69065
  }, [t.$slots.option ? {
69054
69066
  name: "default",
@@ -70226,7 +70238,7 @@ function Nj(t, e, n, r, i, o) {
70226
70238
  }, null, 8, ["column"])) : g("", !0), o.columnProp("header") ? (d(), p("span", c({
70227
70239
  key: 1,
70228
70240
  class: t.cx("columnTitle")
70229
- }, o.getColumnPT("columnTitle")), D(o.columnProp("header")), 17)) : g("", !0), o.columnProp("sortable") ? (d(), p("span", xe(c({
70241
+ }, o.getColumnPT("columnTitle")), D(o.columnProp("header")), 17)) : g("", !0), o.columnProp("sortable") ? (d(), p("span", Pe(c({
70230
70242
  key: 2
70231
70243
  }, o.getColumnPT("sort"))), [(d(), y(C(n.column.children && n.column.children.sorticon || o.sortableColumnIcon), c({
70232
70244
  sorted: o.sortState.sorted,
@@ -71684,7 +71696,7 @@ function fN(t, e, n, r, i, o) {
71684
71696
  alwaysShow: t.alwaysShowPaginator,
71685
71697
  unstyled: t.unstyled,
71686
71698
  pt: t.ptm("pcPaginator")
71687
- }, Pe({
71699
+ }, Ce({
71688
71700
  _: 2
71689
71701
  }, [t.$slots.paginatorcontainer ? {
71690
71702
  name: "container",
@@ -71803,7 +71815,7 @@ function fN(t, e, n, r, i, o) {
71803
71815
  unstyled: t.unstyled,
71804
71816
  pt: t.pt
71805
71817
  }, null, 8, ["column", "resizableColumns", "sortField", "sortOrder", "multiSortMeta", "sortMode", "index", "unstyled", "pt"]))], 64);
71806
- }), 128))], 16), o.hasColumnFilter() ? (d(), p("tr", xe(c({
71818
+ }), 128))], 16), o.hasColumnFilter() ? (d(), p("tr", Pe(c({
71807
71819
  key: 0
71808
71820
  }, t.ptm("headerRow"))), [(d(!0), p(O, null, j(o.columns, function(f, h) {
71809
71821
  return d(), p(O, {
@@ -71891,7 +71903,7 @@ function fN(t, e, n, r, i, o) {
71891
71903
  alwaysShow: t.alwaysShowPaginator,
71892
71904
  unstyled: t.unstyled,
71893
71905
  pt: t.ptm("pcPaginator")
71894
- }, Pe({
71906
+ }, Ce({
71895
71907
  _: 2
71896
71908
  }, [t.$slots.paginatorcontainer ? {
71897
71909
  name: "container",
@@ -72080,7 +72092,7 @@ const hN = { class: "flex items-center gap-2" }, mN = ["for"], ji = "size-4", XN
72080
72092
  const { onIcon: i, offIcon: o, ...a } = e;
72081
72093
  return { ...a, ...n };
72082
72094
  });
72083
- return (i, o) => (d(), y(ne(ol), xe(Ye(r.value)), {
72095
+ return (i, o) => (d(), y(ne(ol), Pe(Ye(r.value)), {
72084
72096
  icon: w(({ value: a }) => [
72085
72097
  (d(), y(C(a ? t.onIcon : t.offIcon), {
72086
72098
  class: S([t.size === "small" ? "size-4" : "size-5"])