sakana-element 2.4.1 → 2.4.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.
Files changed (51) hide show
  1. package/dist/es/{Alert-DRIDwear.js → Alert-DdAShH-x.js} +2 -2
  2. package/dist/es/{Avatar-Dkvvhw_D.js → Avatar-BGTH7x40.js} +1 -1
  3. package/dist/es/{Badge-CLNacHVq.js → Badge-CYZ55qNe.js} +2 -2
  4. package/dist/es/{Breadcrumb-CfJA9NZz.js → Breadcrumb-BTWTtzrN.js} +2 -2
  5. package/dist/es/{Button-Dj1DIvXh.js → Button-GsSCWg5x.js} +3 -3
  6. package/dist/es/{Card-meh7F1e2.js → Card-BhgzwQqo.js} +1 -1
  7. package/dist/es/{ChatBubble-Ccr3wzoK.js → ChatBubble-4F481Agj.js} +1 -1
  8. package/dist/es/{Checkbox-vOcwl1OX.js → Checkbox-C7vZGSTh.js} +3 -3
  9. package/dist/es/{Collapse-BG58s0uJ.js → Collapse-CbcSQig5.js} +2 -2
  10. package/dist/es/{ConfigProvider-Cr8Hpzf2.js → ConfigProvider-K1UzjlRm.js} +20 -19
  11. package/dist/es/{Diff-KQ44cDcY.js → Diff-B747pgwb.js} +1 -1
  12. package/dist/es/{Divider-CYYeUqYc.js → Divider-BSu_1-AU.js} +1 -1
  13. package/dist/es/{Drawer-CDXFDfrf.js → Drawer-I2lCgyba.js} +2 -2
  14. package/dist/es/{Dropdown-CPZtzHPx.js → Dropdown-B0J_c8Wv.js} +6 -6
  15. package/dist/es/{FileInput-Ram4-wy2.js → FileInput-CFg1wpsH.js} +3 -3
  16. package/dist/es/{Filter-CLLkrn-W.js → Filter-nA8j-62U.js} +3 -3
  17. package/dist/es/{Form-po3aIrSN.js → Form-C1b8Igns.js} +4 -4
  18. package/dist/es/{Icon-XJfGGAMY.js → Icon-BulvH9Wm.js} +1 -1
  19. package/dist/es/{Indicator-vsSp5r5K.js → Indicator-BbW4iUkh.js} +1 -1
  20. package/dist/es/Input-BUHFulIW.js +42 -0
  21. package/dist/es/{Kbd-CtCGx7_s.js → Kbd-CeP2wkdE.js} +2 -2
  22. package/dist/es/{Link-Bbwdgs74.js → Link-Dks2bXo8.js} +1 -1
  23. package/dist/es/{Loading-DiyIiKxO.js → Loading-DoBtVGWo.js} +18 -18
  24. package/dist/es/{Message-BoNCtMo7.js → Message-Ba_P4Wvy.js} +7 -7
  25. package/dist/es/{Notification-CFY-yvRf.js → Notification-DzG8dLuk.js} +4 -4
  26. package/dist/es/{Overlay-DoFA2lgP.js → Overlay-DeyTycv0.js} +1 -1
  27. package/dist/es/{Pixelate-dqwHc6nX.js → Pixelate-B21HKbSE.js} +1 -1
  28. package/dist/es/{Popconfirm-DPOujyiA.js → Popconfirm-BqN3JxJ_.js} +5 -5
  29. package/dist/es/{Progress-B0oYE8Z3.js → Progress--6EJjbbM.js} +1 -1
  30. package/dist/es/{Radio-C-Ot7pLA.js → Radio-CrdrvrFH.js} +3 -3
  31. package/dist/es/{Resizable-G5KVHayx.js → Resizable-By3ijQf0.js} +1 -1
  32. package/dist/es/{Select-DqxPeAKK.js → Select-Cq1Ucs_U.js} +34 -34
  33. package/dist/es/{Skeleton-4SeKRKn9.js → Skeleton-ChCVgMSk.js} +1 -1
  34. package/dist/es/{Switch-C_tBxZtT.js → Switch-DURmSH-T.js} +3 -3
  35. package/dist/es/{Table-Cr6HFL4_.js → Table-BE2f9u65.js} +1 -1
  36. package/dist/es/{Tooltip-rak4BryQ.js → Tooltip-DR4Mc5Fh.js} +23 -23
  37. package/dist/es/{Validator-DKVfknvI.js → Validator-BYn72MYn.js} +2 -2
  38. package/dist/es/{hooks-pTjI-j9o.js → hooks-dJGu-5DG.js} +37 -36
  39. package/dist/es/index.js +50 -50
  40. package/dist/es/{utils-DzOow9K9.js → utils-CnCdZsHG.js} +8 -8
  41. package/dist/es/{vendor-DrBJKLFW.js → vendor-eombfMkP.js} +51 -53
  42. package/dist/types/components/Icon/index.d.ts +1 -1
  43. package/dist/types/components/Input/types.d.ts +2 -0
  44. package/dist/types/components/Select/index.d.ts +2 -0
  45. package/dist/types/core/index.d.ts +1 -1
  46. package/dist/types/hooks/index.d.ts +3 -2
  47. package/dist/types/hooks/useLocale.d.ts +9 -1
  48. package/dist/umd/index.umd.cjs +3 -3
  49. package/dist/umd/index.umd.cjs.gz +0 -0
  50. package/package.json +1 -1
  51. package/dist/es/Input-KrNqNZMe.js +0 -42
@@ -1,10 +1,10 @@
1
- import { R as e, _ as l, c as t, r as a, w as o } from "./utils-DzOow9K9.js";
2
- import { defineComponent as i, inject as s, computed as n, createElementBlock as u, openBlock as r, withModifiers as d, normalizeClass as c, renderSlot as p, createVNode as h, unref as v, useSlots as f, ref as m, reactive as g, watchEffect as b, nextTick as x, watch as y, onMounted as _, onBeforeUnmount as V, provide as w, normalizeStyle as I, withCtx as k, createCommentVNode as M, createElementVNode as S, toDisplayString as O, Fragment as L, renderList as B, createBlock as D, mergeProps as z } from "vue";
3
- import { C as $, D as j, g as C, b as F, s as R, e as E, E as H, F as P, f as W, y as q, q as A, i as N, G as T, c as U } from "./vendor-DrBJKLFW.js";
4
- import { g as G, u as K, e as J, c as Q } from "./hooks-pTjI-j9o.js";
5
- import { P as X } from "./Icon-XJfGGAMY.js";
6
- import { _ as Y } from "./Input-KrNqNZMe.js";
7
- import { T as Z } from "./Tooltip-rak4BryQ.js";
1
+ import { R as e, _ as l, c as t, r as a, w as o } from "./utils-CnCdZsHG.js";
2
+ import { defineComponent as i, inject as s, computed as n, createElementBlock as u, openBlock as r, withModifiers as d, normalizeClass as c, renderSlot as p, createVNode as h, unref as v, useSlots as f, ref as m, reactive as g, watchEffect as b, nextTick as x, watch as y, onMounted as _, onBeforeUnmount as V, provide as w, normalizeStyle as I, withCtx as k, createCommentVNode as M, createElementVNode as S, toDisplayString as O, Fragment as B, renderList as L, createBlock as D, mergeProps as z } from "vue";
3
+ import { B as $, C as j, g as C, b as F, s as R, e as E, D as H, E as P, f as W, x as A, p as N, i as T, F as U, c as q } from "./vendor-eombfMkP.js";
4
+ import { g as K, u as G, e as J, c as Q } from "./hooks-dJGu-5DG.js";
5
+ import { P as X } from "./Icon-BulvH9Wm.js";
6
+ import { _ as Y } from "./Input-BUHFulIW.js";
7
+ import { T as Z } from "./Tooltip-DR4Mc5Fh.js";
8
8
  const ee = Symbol("selectContext"), le = { modifiers: [{ name: "offset", options: { offset: [0, 9] } }, { name: "sameWidth", enabled: true, fn: ({ state: e2 }) => {
9
9
  e2.styles.popper.width = `${e2.rects.reference.width}px`;
10
10
  }, phase: "beforeWrite", requires: ["computeStyles"] }] }, te = /* @__PURE__ */ new Set(["primary", "success", "warning", "danger", "info"]), ae = { default: { "item-selected-font-color": "color", "item-selected-bg-color": "light", "item-indicator-color": "color", "item-highlighted-border-color": "color" }, ghost: { "item-selected-font-color": "color", "item-selected-bg-color": "light", "item-indicator-color": "color", "item-highlighted-border-color": "color" } }, oe = ["aria-selected", "id"], ie = l(i({ name: "PxOption", __name: "Option", props: { value: {}, label: {}, disabled: { type: Boolean, default: false } }, setup(l2) {
@@ -20,7 +20,7 @@ const ee = Symbol("selectContext"), le = { modifiers: [{ name: "offset", options
20
20
  return [h(v(e), { vNode: ((_a = v(a2)) == null ? void 0 : _a.renderLabel) ? (_b = v(a2)) == null ? void 0 : _b.renderLabel(t2) : l3.label }, null, 8, ["vNode"])];
21
21
  }), true)], 10, oe));
22
22
  } }), [["__scopeId", "data-v-1ab275ee"]]), se = { key: 0, class: "px-select__loading" }, ne = { key: 1, class: "px-select__nodata" }, ue = ["id"], re = o(l(i({ name: "PxSelect", __name: "Select", props: { modelValue: {}, id: {}, options: { default: () => [] }, placeholder: {}, disabled: { type: Boolean }, clearable: { type: Boolean }, ghost: { type: Boolean }, color: {}, size: {}, renderLabel: {}, filterable: { type: Boolean }, filterMethod: {}, remote: { type: Boolean }, remoteMethod: {} }, emits: ["update:modelValue", "change", "visible-change", "clear", "focus", "blur"], setup(e2, { expose: l2, emit: o2 }) {
23
- const i2 = G(), s2 = e2, p2 = o2, $2 = f(), oe2 = m(), re2 = m(), de2 = m(), ce = m(/* @__PURE__ */ new Map()), pe = m(s2.options ?? []), he = m(false), ve = We(s2.modelValue), fe = g({ inputValue: (ve == null ? void 0 : ve.label) ?? "", selectedOption: ve, mouseHover: false, loading: false, highlightedIndex: -1 }), me = n((() => s2.disabled)), ge = n((() => te.has(s2.color ?? ""))), be = n((() => !!s2.color && !ge.value)), xe = n((() => {
23
+ const i2 = K(), s2 = e2, p2 = o2, $2 = f(), oe2 = m(), re2 = m(), de2 = m(), ce = m(/* @__PURE__ */ new Map()), pe = m(s2.options ?? []), he = m(false), ve = We(s2.modelValue), fe = g({ inputValue: (ve == null ? void 0 : ve.label) ?? "", selectedOption: ve, mouseHover: false, loading: false, highlightedIndex: -1 }), me = n((() => s2.disabled)), ge = n((() => te.has(s2.color ?? ""))), be = n((() => !!s2.color && !ge.value)), xe = n((() => {
24
24
  if (!be.value) return {};
25
25
  const e3 = t(s2.color), l3 = s2.ghost ? "ghost" : "default";
26
26
  return a(e3, "px-select", ae[l3]);
@@ -32,13 +32,13 @@ const ee = Symbol("selectContext"), le = { modifiers: [{ name: "offset", options
32
32
  return e3 = _e.value ? [...ce.value.values()][fe.highlightedIndex] : pe.value[fe.highlightedIndex], e3;
33
33
  })), Ie = n((() => _e.value ? E(ye.value, ((e3) => {
34
34
  var _a, _b, _c;
35
- return { props: { ...e3.props, disabled: true === ((_a = e3.props) == null ? void 0 : _a.disabled) || !N((_b = e3.props) == null ? void 0 : _b.disabled) && !T((_c = e3.props) == null ? void 0 : _c.disabled) } };
36
- })) : [])), ke = n((() => !!s2.filterable && !Me.value)), Me = n((() => _e.value && ce.value.size > 0 || !_e.value && R(pe.value) > 0)), Se = n((() => _e.value ? ce.value.size - 1 : R(pe.value) - 1)), Oe = n((() => s2.filterable && fe.selectedOption && he.value ? fe.selectedOption.label : s2.placeholder)), Le = n((() => s2.remote ? 300 : 100));
37
- let Be = H(Ne, Le.value);
35
+ return { props: { ...e3.props, disabled: true === ((_a = e3.props) == null ? void 0 : _a.disabled) || !T((_b = e3.props) == null ? void 0 : _b.disabled) && !U((_c = e3.props) == null ? void 0 : _c.disabled) } };
36
+ })) : [])), ke = n((() => !!s2.filterable && !Me.value)), Me = n((() => _e.value && ce.value.size > 0 || !_e.value && R(pe.value) > 0)), Se = n((() => _e.value ? ce.value.size - 1 : R(pe.value) - 1)), Oe = n((() => s2.filterable && fe.selectedOption && he.value ? fe.selectedOption.label : s2.placeholder)), Be = n((() => s2.remote ? 300 : 100));
37
+ let Le = H(Te, Be.value);
38
38
  b((() => {
39
- Be.cancel(), Be = H(Ne, Le.value);
39
+ Le.cancel(), Le = H(Te, Be.value);
40
40
  }));
41
- const De = K().value, { wrapperRef: ze, isFocused: $e, handleBlur: je, handleFocus: Ce } = J(de2), Fe = (function({ isDropdownVisible: e3, controlVisible: l3, selectStates: t2, highlightedLine: a2, handleSelect: o3, hasData: i3, lastIndex: s3 }) {
41
+ const De = G().value, { wrapperRef: ze, isFocused: $e, handleBlur: je, handleFocus: Ce } = J(de2), Fe = (function({ isDropdownVisible: e3, controlVisible: l3, selectStates: t2, highlightedLine: a2, handleSelect: o3, hasData: i3, lastIndex: s3 }) {
42
42
  const n2 = /* @__PURE__ */ new Map();
43
43
  return n2.set("Enter", (() => {
44
44
  e3.value && t2.highlightedIndex >= 0 && a2.value && o3(a2.value), l3(!e3.value);
@@ -47,7 +47,7 @@ const ee = Symbol("selectContext"), le = { modifiers: [{ name: "offset", options
47
47
  })), n2.set("ArrowDown", ((e4) => {
48
48
  e4.preventDefault(), i3.value && (-1 !== t2.highlightedIndex && t2.highlightedIndex !== s3.value ? t2.highlightedIndex++ : t2.highlightedIndex = 0);
49
49
  })), n2;
50
- })({ isDropdownVisible: he, controlVisible: Ee, selectStates: fe, highlightedLine: we, handleSelect: qe, hasData: Me, lastIndex: Se });
50
+ })({ isDropdownVisible: he, controlVisible: Ee, selectStates: fe, highlightedLine: we, handleSelect: Ae, hasData: Me, lastIndex: Se });
51
51
  function Re(e3) {
52
52
  $e.value && x((() => je(new FocusEvent("focus", e3))));
53
53
  }
@@ -55,7 +55,7 @@ const ee = Symbol("selectContext"), le = { modifiers: [{ name: "offset", options
55
55
  var _a;
56
56
  re2.value && ((_a = C(re2, ["value", e3 ? "show" : "hide"])) == null ? void 0 : _a(), s2.filterable && (function(e4) {
57
57
  var _a2;
58
- s2.filterable && (e4 ? (fe.selectedOption && (fe.inputValue = ""), Be()) : fe.inputValue = ((_a2 = fe.selectedOption) == null ? void 0 : _a2.label) || "");
58
+ s2.filterable && (e4 ? (fe.selectedOption && (fe.inputValue = ""), Le()) : fe.inputValue = ((_a2 = fe.selectedOption) == null ? void 0 : _a2.label) || "");
59
59
  })(e3), he.value = e3, p2("visible-change", e3), fe.highlightedIndex = -1);
60
60
  }
61
61
  function He() {
@@ -68,35 +68,35 @@ const ee = Symbol("selectContext"), le = { modifiers: [{ name: "offset", options
68
68
  function We(e3) {
69
69
  return P(s2.options, ((l3) => l3.value === e3));
70
70
  }
71
- function qe(e3) {
71
+ function Ae(e3) {
72
72
  var _a;
73
73
  e3.disabled || (fe.inputValue = e3.label, fe.selectedOption = e3, W(["change", "update:modelValue"], ((l3) => p2(l3, e3.value))), Ee(false), (_a = de2.value) == null ? void 0 : _a.focus());
74
74
  }
75
- function Ae(e3) {
75
+ function Ne(e3) {
76
76
  ce.value.clear(), W(e3, ((e4) => {
77
77
  ce.value.set(e4.props.value, e4.props);
78
78
  }));
79
79
  }
80
- function Ne() {
80
+ function Te() {
81
81
  const e3 = fe.inputValue;
82
82
  fe.highlightedIndex = -1, _e.value ? (async function(e4) {
83
83
  if (s2.filterable) {
84
- if (s2.remote && s2.remoteMethod && q(s2.remoteMethod)) return await Ue(s2.remoteMethod, e4), void Ae(Ie.value);
85
- if (s2.filterMethod && q(s2.filterMethod)) {
84
+ if (s2.remote && s2.remoteMethod && A(s2.remoteMethod)) return await qe(s2.remoteMethod, e4), void Ne(Ie.value);
85
+ if (s2.filterMethod && A(s2.filterMethod)) {
86
86
  const l3 = E(s2.filterMethod(e4), "value");
87
- Ae(F(Ie.value, ((e5) => U(l3, C(e5, ["props", "value"])))));
88
- } else Ae(F(Ie.value, ((l3) => U(C(l3, ["props", "label"]), e4))));
87
+ Ne(F(Ie.value, ((e5) => q(l3, C(e5, ["props", "value"])))));
88
+ } else Ne(F(Ie.value, ((l3) => q(C(l3, ["props", "label"]), e4))));
89
89
  }
90
90
  })(e3) : (async function(e4) {
91
- s2.filterable && (s2.remote && s2.remoteMethod && q(s2.remoteMethod) ? pe.value = await Ue(s2.remoteMethod, e4) : s2.filterMethod && q(s2.filterMethod) ? pe.value = s2.filterMethod(e4) : pe.value = F(s2.options, ((l3) => U(l3.label, e4))));
91
+ s2.filterable && (s2.remote && s2.remoteMethod && A(s2.remoteMethod) ? pe.value = await qe(s2.remoteMethod, e4) : s2.filterMethod && A(s2.filterMethod) ? pe.value = s2.filterMethod(e4) : pe.value = F(s2.options, ((l3) => q(l3.label, e4))));
92
92
  })(e3);
93
93
  }
94
- function Te(e3) {
94
+ function Ue(e3) {
95
95
  var _a;
96
96
  Fe.has(e3.key) && ((_a = Fe.get(e3.key)) == null ? void 0 : _a(e3));
97
97
  }
98
- async function Ue(e3, l3) {
99
- if (!e3 || !q(e3)) return;
98
+ async function qe(e3, l3) {
99
+ if (!e3 || !A(e3)) return;
100
100
  let t2;
101
101
  fe.loading = true;
102
102
  try {
@@ -106,26 +106,26 @@ const ee = Symbol("selectContext"), le = { modifiers: [{ name: "offset", options
106
106
  }
107
107
  return t2;
108
108
  }
109
- function Ge() {
109
+ function Ke() {
110
110
  const e3 = We(s2.modelValue);
111
111
  e3 && (fe.inputValue = e3.label, fe.selectedOption = e3);
112
112
  }
113
113
  return Q(oe2, ((e3) => Re(e3))), y((() => s2.options), ((e3) => {
114
114
  pe.value = e3 ?? [];
115
- })), y((() => Ie.value), ((e3) => Ae(e3)), { immediate: true }), y((() => s2.modelValue), (() => {
116
- Ge();
115
+ })), y((() => Ie.value), ((e3) => Ne(e3)), { immediate: true }), y((() => s2.modelValue), (() => {
116
+ Ke();
117
117
  })), _((() => {
118
- Ge();
118
+ Ke();
119
119
  })), V((() => {
120
- Be.cancel();
121
- })), w(ee, { handleSelect: qe, selectStates: fe, renderLabel: function(e3) {
122
- return q(s2.renderLabel) ? s2.renderLabel(e3) : e3.label;
120
+ Le.cancel();
121
+ })), w(ee, { handleSelect: Ae, selectStates: fe, renderLabel: function(e3) {
122
+ return A(s2.renderLabel) ? s2.renderLabel(e3) : e3.label;
123
123
  }, highlightedLine: we }), l2({ focus: () => {
124
124
  var _a;
125
125
  (_a = de2.value) == null ? void 0 : _a.focus();
126
126
  }, blur: () => {
127
127
  Re();
128
- } }), (e3, l3) => (r(), u("div", { ref_key: "selectRef", ref: oe2, class: c(["px-select", { "is-disabled": me.value, "is-ghost": e3.ghost, [`px-select--${e3.size}`]: e3.size, [`px-select--${e3.color}`]: ge.value }]), style: I(xe.value), onClick: d(He, ["stop"]), onMouseenter: l3[2] || (l3[2] = (e4) => fe.mouseHover = true), onMouseleave: l3[3] || (l3[3] = (e4) => fe.mouseHover = false) }, [h(Z, { ref_key: "tooltipRef", ref: re2, placement: "bottom-start", "popper-options": v(le), onClickOutside: l3[1] || (l3[1] = (e4) => Ee(false)), manual: "" }, { default: k((() => [S("div", { ref_key: "inputWrapperRef", ref: ze }, [h(Y, { ref_key: "inputRef", ref: de2, modelValue: fe.inputValue, "onUpdate:modelValue": l3[0] || (l3[0] = (e4) => fe.inputValue = e4), id: v(De), disabled: me.value, ghost: e3.ghost, color: e3.color, size: e3.size, placeholder: e3.filterable ? Oe.value : e3.placeholder, readonly: !e3.filterable || !he.value, "aria-controls": `px-select-menu-${v(De)}`, "aria-activedescendant": we.value ? `select-item-${we.value.value}` : void 0, onFocus: v(Ce), onBlur: v(je), onInput: v(Be), onKeydown: Te }, { suffix: k((() => [Ve.value ? (r(), D(X, { key: 0, icon: "close-box", class: "px-input__clear", onClick: d(Pe, ["stop"]), onMousedown: d(v(A), ["prevent"]) }, null, 8, ["onMousedown"])) : (r(), D(X, { key: 1, class: c(["header-angle", { "is-active": he.value }]), icon: "chevron-down" }, null, 8, ["class"]))])), _: 1 }, 8, ["modelValue", "id", "disabled", "ghost", "color", "size", "placeholder", "readonly", "aria-controls", "aria-activedescendant", "onFocus", "onBlur", "onInput"])], 512)])), content: k((() => [fe.loading ? (r(), u("div", se, [h(X, { icon: "loader", spin: "" })])) : e3.filterable && ke.value ? (r(), u("div", ne, O(v(i2).t("select.noData")), 1)) : M("", true), S("ul", { class: "px-select__menu", role: "listbox", id: `px-select-menu-${v(De)}` }, [_e.value ? (r(true), u(L, { key: 1 }, B(ce.value, (([e4, l4]) => (r(), D(ie, z({ key: e4, ref_for: true }, l4), null, 16)))), 128)) : (r(true), u(L, { key: 0 }, B(pe.value, ((e4) => (r(), D(ie, z({ key: e4.value, ref_for: true }, e4), null, 16)))), 128))], 8, ue)])), _: 1 }, 8, ["popper-options"])], 38));
128
+ } }), (e3, l3) => (r(), u("div", { ref_key: "selectRef", ref: oe2, class: c(["px-select", { "is-disabled": me.value, "is-ghost": e3.ghost, [`px-select--${e3.size}`]: e3.size, [`px-select--${e3.color}`]: ge.value }]), style: I(xe.value), onClick: d(He, ["stop"]), onMouseenter: l3[2] || (l3[2] = (e4) => fe.mouseHover = true), onMouseleave: l3[3] || (l3[3] = (e4) => fe.mouseHover = false) }, [h(Z, { ref_key: "tooltipRef", ref: re2, placement: "bottom-start", "popper-options": v(le), onClickOutside: l3[1] || (l3[1] = (e4) => Ee(false)), manual: "" }, { default: k((() => [S("div", { ref_key: "inputWrapperRef", ref: ze }, [h(Y, { ref_key: "inputRef", ref: de2, modelValue: fe.inputValue, "onUpdate:modelValue": l3[0] || (l3[0] = (e4) => fe.inputValue = e4), id: v(De), disabled: me.value, ghost: e3.ghost, color: e3.color, size: e3.size, placeholder: e3.filterable ? Oe.value : e3.placeholder, readonly: !e3.filterable || !he.value, "aria-controls": `px-select-menu-${v(De)}`, "aria-activedescendant": we.value ? `select-item-${we.value.value}` : void 0, onFocus: v(Ce), onBlur: v(je), onInput: v(Le), onKeydown: Ue }, { suffix: k((() => [Ve.value ? (r(), D(X, { key: 0, icon: "close-box", class: "px-input__clear", onClick: d(Pe, ["stop"]), onMousedown: d(v(N), ["prevent"]) }, null, 8, ["onMousedown"])) : (r(), D(X, { key: 1, class: c(["header-angle", { "is-active": he.value }]), icon: "chevron-down" }, null, 8, ["class"]))])), _: 1 }, 8, ["modelValue", "id", "disabled", "ghost", "color", "size", "placeholder", "readonly", "aria-controls", "aria-activedescendant", "onFocus", "onBlur", "onInput"])], 512)])), content: k((() => [fe.loading ? (r(), u("div", se, [h(X, { icon: "loader", spin: "" })])) : e3.filterable && ke.value ? (r(), u("div", ne, O(v(i2).t("select.noData")), 1)) : M("", true), S("ul", { class: "px-select__menu", role: "listbox", id: `px-select-menu-${v(De)}` }, [_e.value ? (r(true), u(B, { key: 1 }, L(ce.value, (([e4, l4]) => (r(), D(ie, z({ key: e4, ref_for: true }, l4), null, 16)))), 128)) : (r(true), u(B, { key: 0 }, L(pe.value, ((e4) => (r(), D(ie, z({ key: e4.value, ref_for: true }, e4), null, 16)))), 128))], 8, ue)])), _: 1 }, 8, ["popper-options"])], 38));
129
129
  } }), [["__scopeId", "data-v-e33550e6"]])), de = o(ie);
130
130
  export {
131
131
  de as P,
@@ -1,4 +1,4 @@
1
- import { b as e, w as t } from "./utils-DzOow9K9.js";
1
+ import { b as e, w as t } from "./utils-CnCdZsHG.js";
2
2
  import { defineComponent as a, computed as i, createElementBlock as n, renderSlot as l, openBlock as s, normalizeClass as o, Fragment as r, renderList as d, normalizeStyle as u } from "vue";
3
3
  const m = t(a({ name: "PxSkeleton", __name: "Skeleton", props: { loading: { type: Boolean, default: true }, animated: { type: Boolean, default: true }, animation: { default: "shimmer" }, variant: { default: "rectangular" }, width: {}, height: {}, rows: { default: 1 }, size: {} }, setup(t2) {
4
4
  const a2 = t2, m2 = i((() => {
@@ -1,7 +1,7 @@
1
- import { c as e, w as c } from "./utils-DzOow9K9.js";
1
+ import { c as e, w as c } from "./utils-CnCdZsHG.js";
2
2
  import { defineComponent as i, computed as a, ref as t, onMounted as o, watch as l, createElementBlock as s, openBlock as n, normalizeStyle as r, normalizeClass as u, createElementVNode as v, withKeys as d, unref as p, createCommentVNode as h, toDisplayString as x, createBlock as m } from "vue";
3
- import { u as f } from "./hooks-pTjI-j9o.js";
4
- import { P as w } from "./Icon-XJfGGAMY.js";
3
+ import { u as f } from "./hooks-dJGu-5DG.js";
4
+ import { P as w } from "./Icon-BulvH9Wm.js";
5
5
  const k = ["aria-checked", "id", "name", "disabled", "checked"], _ = { class: "px-switch__core" }, y = { class: "px-switch__core-inner" }, b = { key: 0, class: "px-switch__core-inner-text" }, V = { class: "px-switch__core-action" }, C = c(i({ name: "PxSwitch", inheritAttrs: false, __name: "Switch", props: { modelValue: { type: [Boolean, String, Number] }, disabled: { type: Boolean }, activeText: {}, inactiveText: {}, activeValue: { type: [Boolean, String, Number], default: true }, inactiveValue: { type: [Boolean, String, Number], default: false }, name: {}, id: {}, size: {}, type: {}, activeColor: {}, inactiveColor: {}, activeIcon: {}, inactiveIcon: {} }, emits: ["update:modelValue", "change"], setup(c2, { expose: i2, emit: C2 }) {
6
6
  const T = c2, g = C2, I = a((() => T.disabled)), S = t(T.modelValue), z = t(), B = f().value, j = a((() => S.value === T.activeValue)), N = a((() => j.value ? T.activeIcon : T.inactiveIcon)), P = a((() => {
7
7
  const c3 = {};
@@ -1,4 +1,4 @@
1
- import { w as e } from "./utils-DzOow9K9.js";
1
+ import { w as e } from "./utils-CnCdZsHG.js";
2
2
  import { defineComponent as o, computed as s, createElementBlock as t, openBlock as a, normalizeClass as l, createElementVNode as p, renderSlot as i } from "vue";
3
3
  const r = { class: "px-table__inner" }, n = ["xs", "sm", "md", "lg", "xl"], b = e(o({ name: "PxTable", __name: "Table", props: { type: {}, zebra: { type: Boolean }, hover: { type: Boolean }, border: { type: Boolean }, stripe: { type: Boolean }, pinRows: { type: Boolean }, pinCols: { type: Boolean }, size: { default: "md" }, showHeader: { type: Boolean, default: true }, outline: { type: Boolean }, ghost: { type: Boolean }, hoverable: { type: Boolean } }, setup(e2) {
4
4
  const o2 = e2, n2 = s((() => o2.zebra || o2.stripe)), b2 = s((() => ({ "px-table": true, [`px-table--${o2.size}`]: o2.size, [`px-table--${o2.type}`]: o2.type, "is-zebra": n2.value, "is-hover": o2.hover, "is-border": o2.border, "is-pin-rows": o2.pinRows, "is-pin-cols": o2.pinCols, "is-hide-header": !o2.showHeader, "is-outline": o2.outline, "is-ghost": o2.ghost, "is-hoverable": o2.hoverable })));
@@ -1,10 +1,10 @@
1
- import { b as e, _ as t, w as a } from "./utils-DzOow9K9.js";
2
- import { onMounted as o, watch as l, onUnmounted as i, defineComponent as r, ref as n, computed as u, watchEffect as s, createElementBlock as c, openBlock as v, mergeProps as p, toHandlers as d, renderSlot as f, createVNode as m, unref as g, Transition as h, withCtx as y, createCommentVNode as x, createTextVNode as _, toDisplayString as b } from "vue";
1
+ import { b as e, _ as t, w as a } from "./utils-CnCdZsHG.js";
2
+ import { onMounted as o, watch as l, onUnmounted as i, defineComponent as r, ref as n, computed as u, watchEffect as s, createElementBlock as c, openBlock as p, mergeProps as v, toHandlers as d, renderSlot as f, createVNode as m, unref as g, Transition as h, withCtx as y, createCommentVNode as x, createTextVNode as _, toDisplayString as b } from "vue";
3
3
  import { createPopper as k } from "@popperjs/core";
4
- import { u as T, c as w } from "./hooks-pTjI-j9o.js";
5
- import { H as B, f as $, E as j, v as W } from "./vendor-DrBJKLFW.js";
6
- const A = ["aria-describedby"], E = ["id"], L = { key: 0, class: "px-tooltip__arrow", "data-popper-arrow": "" }, N = t(r({ name: "PxTooltip", __name: "Tooltip", props: { content: {}, trigger: { default: "hover" }, placement: { default: "bottom" }, manual: { type: Boolean }, disabled: { type: Boolean }, popperOptions: {}, transition: { default: "fade" }, showTimeout: { default: 0 }, hideTimeout: { default: 200 }, virtualRef: {}, virtualTriggering: { type: Boolean }, effect: { default: "dark" }, type: {}, enterable: { type: Boolean, default: true }, maxWidth: {}, showArrow: { type: Boolean } }, emits: ["visible-change", "click-outside"], setup(t2, { expose: a2, emit: r2 }) {
7
- const N2 = t2, R2 = r2, O = n(false), P = T("px-tooltip"), D = n({}), H = n({}), I = n({}), M = n(), q = n(), z = n(), C = u((() => N2.virtualTriggering ? N2.virtualRef : z.value)), F = u((() => ({ placement: N2.placement, modifiers: [{ name: "offset", options: { offset: [0, 9] } }], ...N2.popperOptions }))), G = u((() => "hover" === N2.trigger ? N2.showTimeout : 0)), J = u((() => "hover" === N2.trigger ? N2.hideTimeout : 0)), K = u((() => N2.maxWidth ? { maxWidth: e(N2.maxWidth) } : {}));
4
+ import { u as T, c as w } from "./hooks-dJGu-5DG.js";
5
+ import { G as B, f as $, D as j, u as W } from "./vendor-eombfMkP.js";
6
+ const A = ["aria-describedby"], L = ["id"], N = { key: 0, class: "px-tooltip__arrow", "data-popper-arrow": "" }, R = t(r({ name: "PxTooltip", __name: "Tooltip", props: { content: {}, trigger: { default: "hover" }, placement: { default: "bottom" }, manual: { type: Boolean }, disabled: { type: Boolean }, popperOptions: {}, transition: { default: "fade" }, showTimeout: { default: 0 }, hideTimeout: { default: 200 }, virtualRef: {}, virtualTriggering: { type: Boolean }, effect: { default: "dark" }, type: {}, enterable: { type: Boolean, default: true }, maxWidth: {}, showArrow: { type: Boolean } }, emits: ["visible-change", "click-outside"], setup(t2, { expose: a2, emit: r2 }) {
7
+ const R2 = t2, D2 = r2, E = n(false), O = T("px-tooltip"), P = n({}), G = n({}), I = n({}), M = n(), q = n(), z = n(), C = u((() => R2.virtualTriggering ? R2.virtualRef : z.value)), F = u((() => ({ placement: R2.placement, modifiers: [{ name: "offset", options: { offset: [0, 9] } }], ...R2.popperOptions }))), H = u((() => "hover" === R2.trigger ? R2.showTimeout : 0)), J = u((() => "hover" === R2.trigger ? R2.hideTimeout : 0)), K = u((() => R2.maxWidth ? { maxWidth: e(R2.maxWidth) } : {}));
8
8
  let Q, S, U;
9
9
  function V() {
10
10
  S == null ? void 0 : S.cancel(), Q == null ? void 0 : Q();
@@ -13,35 +13,35 @@ const A = ["aria-describedby"], E = ["id"], L = { key: 0, class: "px-tooltip__ar
13
13
  Q == null ? void 0 : Q.cancel(), S == null ? void 0 : S();
14
14
  }
15
15
  function Y() {
16
- O.value ? X() : V();
16
+ E.value ? X() : V();
17
17
  }
18
18
  function Z(e2) {
19
- N2.disabled || (O.value = e2, R2("visible-change", e2));
19
+ R2.disabled || (E.value = e2, D2("visible-change", e2));
20
20
  }
21
21
  function ee() {
22
- if (!N2.disabled && !N2.manual) return "hover" === N2.trigger ? (D.value.mouseenter = V, H.value.mouseleave = X, void (N2.enterable && (I.value.mouseenter = V))) : void ("click" !== N2.trigger ? "contextmenu" !== N2.trigger || (D.value.contextmenu = (e2) => {
22
+ if (!R2.disabled && !R2.manual) return "hover" === R2.trigger ? (P.value.mouseenter = V, G.value.mouseleave = X, void (R2.enterable && (I.value.mouseenter = V))) : void ("click" !== R2.trigger ? "contextmenu" !== R2.trigger || (P.value.contextmenu = (e2) => {
23
23
  e2.preventDefault(), V();
24
- }) : D.value.click = Y);
24
+ }) : P.value.click = Y);
25
25
  }
26
26
  function te() {
27
27
  U == null ? void 0 : U.destroy(), U = null;
28
28
  }
29
29
  function ae() {
30
- D.value = {}, H.value = {}, I.value = {}, ee();
30
+ P.value = {}, G.value = {}, I.value = {}, ee();
31
31
  }
32
32
  const oe = V, le = () => {
33
33
  Q == null ? void 0 : Q.cancel(), Z(false);
34
34
  };
35
- return l(O, ((e2) => {
35
+ return l(E, ((e2) => {
36
36
  e2 && C.value && q.value && (U = k(C.value, q.value, F.value));
37
- }), { flush: "post" }), l((() => N2.manual), ((e2) => {
37
+ }), { flush: "post" }), l((() => R2.manual), ((e2) => {
38
38
  e2 ? ae() : ee();
39
- })), l((() => N2.trigger), (() => {
40
- Q == null ? void 0 : Q.cancel(), O.value = false, R2("visible-change", false), ae();
39
+ })), l((() => R2.trigger), (() => {
40
+ Q == null ? void 0 : Q.cancel(), E.value = false, D2("visible-change", false), ae();
41
41
  })), s((() => {
42
- N2.manual || ee(), Q == null ? void 0 : Q.cancel(), S == null ? void 0 : S.cancel(), Q = j(W(Z, null, true), G.value), S = j(W(Z, null, false), J.value);
42
+ R2.manual || ee(), Q == null ? void 0 : Q.cancel(), S == null ? void 0 : S.cancel(), Q = j(W(Z, null, true), H.value), S = j(W(Z, null, false), J.value);
43
43
  })), w(M, (() => {
44
- R2("click-outside"), "hover" === N2.trigger || N2.manual || O.value && X();
44
+ D2("click-outside"), "hover" === R2.trigger || R2.manual || E.value && X();
45
45
  })), (function(e2, t3, a3) {
46
46
  let r3, n2;
47
47
  const u2 = /* @__PURE__ */ new Map(), s2 = () => {
@@ -62,13 +62,13 @@ const A = ["aria-describedby"], E = ["id"], L = { key: 0, class: "px-tooltip__ar
62
62
  })), i((() => {
63
63
  r3 == null ? void 0 : r3(), n2 == null ? void 0 : n2();
64
64
  }));
65
- })(N2, C, D), i((() => {
65
+ })(R2, C, P), i((() => {
66
66
  te(), Q == null ? void 0 : Q.cancel(), S == null ? void 0 : S.cancel();
67
67
  })), a2({ show: oe, hide: le, toggle: () => {
68
- O.value ? le() : oe();
69
- } }), (e2, t3) => (v(), c("div", p({ class: ["px-tooltip", [`px-tooltip--${e2.effect}`, e2.type && `px-tooltip--${e2.type}`]], ref_key: "containerNode", ref: M }, d(H.value, true)), [e2.virtualTriggering ? f(e2.$slots, "default", { key: 1 }, void 0, true) : (v(), c("div", p({ key: 0, class: "px-tooltip__trigger", ref_key: "_triggerNode", ref: z }, d(D.value, true), { "aria-describedby": O.value ? g(P) : void 0 }), [f(e2.$slots, "default", {}, void 0, true)], 16, A)), m(h, { name: e2.transition, onAfterLeave: te }, { default: y((() => [O.value ? (v(), c("div", p({ key: 0, class: "px-tooltip__popper", ref_key: "popperNode", ref: q }, d(I.value, true), { id: g(P), style: K.value, role: "tooltip" }), [f(e2.$slots, "content", {}, (() => [_(b(e2.content), 1)]), true), e2.showArrow ? (v(), c("div", L)) : x("", true)], 16, E)) : x("", true)])), _: 3 }, 8, ["name"])], 16));
70
- } }), [["__scopeId", "data-v-d982dfd2"]]), R = a(N);
68
+ E.value ? le() : oe();
69
+ } }), (e2, t3) => (p(), c("div", v({ class: ["px-tooltip", [`px-tooltip--${e2.effect}`, e2.type && `px-tooltip--${e2.type}`]], ref_key: "containerNode", ref: M }, d(G.value, true)), [e2.virtualTriggering ? f(e2.$slots, "default", { key: 1 }, void 0, true) : (p(), c("div", v({ key: 0, class: "px-tooltip__trigger", ref_key: "_triggerNode", ref: z }, d(P.value, true), { "aria-describedby": E.value ? g(O) : void 0 }), [f(e2.$slots, "default", {}, void 0, true)], 16, A)), m(h, { name: e2.transition, onAfterLeave: te }, { default: y((() => [E.value ? (p(), c("div", v({ key: 0, class: "px-tooltip__popper", ref_key: "popperNode", ref: q }, d(I.value, true), { id: g(O), style: K.value, role: "tooltip" }), [f(e2.$slots, "content", {}, (() => [_(b(e2.content), 1)]), true), e2.showArrow ? (p(), c("div", N)) : x("", true)], 16, L)) : x("", true)])), _: 3 }, 8, ["name"])], 16));
70
+ } }), [["__scopeId", "data-v-d982dfd2"]]), D = a(R);
71
71
  export {
72
- R as P,
73
- N as T
72
+ D as P,
73
+ R as T
74
74
  };
@@ -1,7 +1,7 @@
1
- import { _ as e, w as s } from "./utils-DzOow9K9.js";
1
+ import { _ as e, w as s } from "./utils-CnCdZsHG.js";
2
2
  import { defineComponent as a, ref as t, watch as r, provide as i, reactive as l, toRefs as o, createElementBlock as n, openBlock as d, normalizeClass as u, createElementVNode as c, renderSlot as v, toDisplayString as m } from "vue";
3
3
  import { z as g } from "zod";
4
- import { F as f } from "./Form-po3aIrSN.js";
4
+ import { F as f } from "./Form-C1b8Igns.js";
5
5
  const p = { class: "px-validator__content" }, h = { class: "px-validator__hint-text" }, _ = s(e(a({ name: "PxValidator", __name: "Validator", props: { modelValue: {}, rules: { default: () => [] } }, emits: ["validate"], setup(e2, { expose: s2, emit: a2 }) {
6
6
  const _2 = e2, x = a2, V = t("init"), I = t("");
7
7
  function y(e3) {
@@ -1,6 +1,6 @@
1
1
  import { isRef as e, watch as t, onMounted as n, onBeforeUnmount as o, unref as a, getCurrentInstance as l, useSlots as r, watchEffect as u, ref as s, inject as i, computed as c, onUnmounted as d } from "vue";
2
- import { f as m, y as v, k as f, z as p, I as h, J as g, a as E } from "./vendor-DrBJKLFW.js";
3
- function L(l2, r2, u2) {
2
+ import { f as m, x as v, k as f, y as p, H as h, a as g } from "./vendor-eombfMkP.js";
3
+ function E(l2, r2, u2) {
4
4
  e(l2) ? t(l2, ((e2, t2) => {
5
5
  null == t2 || t2.removeEventListener(r2, u2), null == e2 || e2.addEventListener(r2, u2);
6
6
  })) : n((() => null == l2 ? void 0 : l2.addEventListener(r2, u2))), o((() => {
@@ -8,26 +8,26 @@ function L(l2, r2, u2) {
8
8
  return null == (e2 = a(l2)) ? void 0 : e2.removeEventListener(r2, u2);
9
9
  }));
10
10
  }
11
- function w(e2, t2) {
12
- L(document, "click", ((n2) => {
11
+ function L(e2, t2) {
12
+ E(document, "click", ((n2) => {
13
13
  e2.value && n2.target && (e2.value.contains(n2.target) || t2(n2));
14
14
  }));
15
15
  }
16
- const y = (e2, t2) => m(e2, ((e3) => {
17
- v(t2) && t2(e3), e3.children && y(e3.children, t2);
16
+ const w = (e2, t2) => m(e2, ((e3) => {
17
+ v(t2) && t2(e3), e3.children && w(e3.children, t2);
18
18
  }));
19
- function x() {
19
+ function y() {
20
20
  var e2, t2;
21
21
  const n2 = /* @__PURE__ */ new Map(), o2 = l(), a2 = null == (t2 = null == (e2 = r()) ? void 0 : e2.default) ? void 0 : t2.call(e2);
22
22
  u((() => {
23
- (null == o2 ? void 0 : o2.props.disabled) ? y(a2 ?? [], ((e3) => {
23
+ (null == o2 ? void 0 : o2.props.disabled) ? w(a2 ?? [], ((e3) => {
24
24
  (null == e3 ? void 0 : e3.props) && (n2.set(e3, f(e3.props)), e3.props = p(null == e3 ? void 0 : e3.props, { style: { cursor: "not-allowed", color: "var(--px-text-color-placeholder)" } }));
25
- })) : y(a2 ?? [], ((e3) => {
25
+ })) : w(a2 ?? [], ((e3) => {
26
26
  n2.has(e3) && (e3.props = n2.get(e3));
27
27
  }));
28
28
  }));
29
29
  }
30
- function k(e2, n2, a2 = {}) {
30
+ function x(e2, n2, a2 = {}) {
31
31
  let l2 = 0, r2 = 0, u2 = 0, s2 = 0, i2 = false;
32
32
  function c2(e3) {
33
33
  0 === e3.button && (i2 = true, u2 = e3.clientX - l2, s2 = e3.clientY - r2, document.addEventListener("mousemove", d2), document.addEventListener("mouseup", m2), e3.preventDefault());
@@ -59,9 +59,9 @@ function k(e2, n2, a2 = {}) {
59
59
  l2 = 0, r2 = 0, t2 && (t2.style.transform = "");
60
60
  } };
61
61
  }
62
- function b(e2, { afterBlur: t2, beforeBlur: n2, afterFocus: o2 } = {}) {
62
+ function k(e2, { afterBlur: t2, beforeBlur: n2, afterFocus: o2 } = {}) {
63
63
  const a2 = l(), { emit: r2 } = a2, u2 = s(), i2 = s(false);
64
- return L(u2, "click", (() => {
64
+ return E(u2, "click", (() => {
65
65
  var t3;
66
66
  null == (t3 = e2.value) || t3.focus();
67
67
  })), { wrapperRef: u2, isFocused: i2, handleFocus: (e3) => {
@@ -71,14 +71,14 @@ function b(e2, { afterBlur: t2, beforeBlur: n2, afterFocus: o2 } = {}) {
71
71
  v(n2) && n2(e3) || e3.relatedTarget && (null == (o3 = u2.value) ? void 0 : o3.contains(e3.relatedTarget)) || (i2.value = false, r2("blur", e3), null == t2 || t2());
72
72
  } };
73
73
  }
74
- const M = ["a[href]", "button:not([disabled])", "input:not([disabled])", "textarea:not([disabled])", "select:not([disabled])", '[tabindex]:not([tabindex="-1"])'].join(", ");
75
- function D(e2) {
74
+ const b = ["a[href]", "button:not([disabled])", "input:not([disabled])", "textarea:not([disabled])", "select:not([disabled])", '[tabindex]:not([tabindex="-1"])'].join(", ");
75
+ function M(e2) {
76
76
  let t2 = null, n2 = false;
77
77
  function a2(t3) {
78
78
  if (!n2 || "Tab" !== t3.key) return;
79
79
  const o2 = e2.value;
80
80
  if (!o2) return;
81
- const a3 = Array.from(o2.querySelectorAll(M)).filter(((e3) => null !== e3.offsetParent));
81
+ const a3 = Array.from(o2.querySelectorAll(b)).filter(((e3) => null !== e3.offsetParent));
82
82
  if (0 === a3.length) return void t3.preventDefault();
83
83
  const l3 = a3[0], r2 = a3[a3.length - 1];
84
84
  t3.shiftKey ? document.activeElement !== l3 && o2.contains(document.activeElement) || (t3.preventDefault(), r2.focus()) : document.activeElement !== r2 && o2.contains(document.activeElement) || (t3.preventDefault(), l3.focus());
@@ -92,18 +92,18 @@ function D(e2) {
92
92
  n2 || (t2 = document.activeElement, n2 = true, document.addEventListener("keydown", a2));
93
93
  }, deactivate: l2 };
94
94
  }
95
- const T = { prefix: Math.floor(1e4 * Math.random()), current: 0 };
96
- function B(e2 = "er") {
97
- const t2 = `${e2}-${T.prefix}-${T.current++}`;
95
+ const D = { prefix: Math.floor(1e4 * Math.random()), current: 0 };
96
+ function T(e2 = "er") {
97
+ const t2 = `${e2}-${D.prefix}-${D.current++}`;
98
98
  return s(t2);
99
99
  }
100
- const I = { name: "en", el: { select: { loading: "Loading", noMatch: "No matching data", noData: "No data", placeholder: "Select" }, dropdown: { toggleDropdown: "Toggle Dropdown" }, messagebox: { title: "Message", confirm: "OK", cancel: "Cancel", error: "Illegal input", close: "Close this dialog" }, popconfirm: { confirmButtonText: "Yes", cancelButtonText: "No" } } }, S = (e2) => E(e2, "install");
100
+ const B = { name: "en", el: { select: { loading: "Loading", noMatch: "No matching data", noData: "No data", placeholder: "Select" }, dropdown: { toggleDropdown: "Toggle Dropdown" }, messagebox: { title: "Message", confirm: "OK", cancel: "Cancel", error: "Illegal input", close: "Close this dialog" }, popconfirm: { confirmButtonText: "Yes", cancelButtonText: "No" } } }, I = Symbol.for("sakana-element-i18n"), S = (e2) => g(e2, "install");
101
101
  function $(e2) {
102
102
  if (!e2) {
103
- const e3 = i(h, s(g({ locale: I.name, messages: { en: I.el } })));
103
+ const e3 = i(I) ?? s(h({ locale: B.name, messages: { en: B.el } }));
104
104
  return c((() => S(a(e3))));
105
105
  }
106
- return c((() => S(g({ locale: e2.value.name, messages: { en: I.el, [e2.value.name]: e2.value.el } }))));
106
+ return c((() => S(h({ locale: e2.value.name, messages: { en: B.el, [e2.value.name]: e2.value.el } }))));
107
107
  }
108
108
  function O(e2) {
109
109
  const t2 = c((() => e2.getLastBottomOffset())), n2 = c((() => e2.offset + t2.value)), o2 = c((() => n2.value + e2.boxHeight.value));
@@ -125,9 +125,9 @@ function F() {
125
125
  t2 && o2 && (t2.removeEventListener ? t2.removeEventListener("change", o2) : t2.removeListener(o2));
126
126
  })), { prefersDark: e2, prefers: c((() => e2.value ? "dark" : "light")) };
127
127
  }
128
- const N = "px-theme", Y = "px-dark", A = s("system"), H = s(false);
128
+ const H = "px-theme", N = "px-dark", Y = s("system"), A = s(false);
129
129
  function K(e2) {
130
- "undefined" != typeof document && (e2 ? document.documentElement.classList.add(Y) : document.documentElement.classList.remove(Y));
130
+ "undefined" != typeof document && (e2 ? document.documentElement.classList.add(N) : document.documentElement.classList.remove(N));
131
131
  }
132
132
  function R(e2) {
133
133
  return "system" === e2 ? "undefined" != typeof window && window.matchMedia("(prefers-color-scheme: dark)").matches : "dark" === e2;
@@ -137,33 +137,34 @@ function X() {
137
137
  if (!V && "undefined" != typeof window) {
138
138
  !(function() {
139
139
  if ("undefined" == typeof window) return;
140
- const e4 = localStorage.getItem(N);
141
- e4 && ["light", "dark", "system"].includes(e4) ? A.value = e4 : A.value = "system", H.value = R(A.value), K(H.value);
140
+ const e4 = localStorage.getItem(H);
141
+ e4 && ["light", "dark", "system"].includes(e4) ? Y.value = e4 : Y.value = "system", A.value = R(Y.value), K(A.value);
142
142
  })(), V = true;
143
143
  const e3 = window.matchMedia("(prefers-color-scheme: dark)"), t2 = (e4) => {
144
- "system" === A.value && (H.value = e4.matches, K(H.value));
144
+ "system" === Y.value && (A.value = e4.matches, K(A.value));
145
145
  };
146
146
  e3.addEventListener ? e3.addEventListener("change", t2) : e3.addListener(t2);
147
147
  }
148
148
  const e2 = (e3) => {
149
- A.value = e3, H.value = R(e3), K(H.value), "undefined" != typeof localStorage && localStorage.setItem(N, e3);
149
+ Y.value = e3, A.value = R(e3), K(A.value), "undefined" != typeof localStorage && localStorage.setItem(H, e3);
150
150
  };
151
- return { theme: c((() => A.value)), isDark: c((() => H.value)), setTheme: e2, toggleTheme: () => {
152
- const t2 = H.value ? "light" : "dark";
151
+ return { theme: c((() => Y.value)), isDark: c((() => A.value)), setTheme: e2, toggleTheme: () => {
152
+ const t2 = A.value ? "light" : "dark";
153
153
  e2(t2);
154
154
  } };
155
155
  }
156
156
  export {
157
+ I,
157
158
  C as a,
158
- L as b,
159
- w as c,
160
- x as d,
161
- b as e,
159
+ E as b,
160
+ L as c,
161
+ y as d,
162
+ k as e,
162
163
  O as f,
163
164
  $ as g,
164
- D as h,
165
- k as i,
165
+ M as h,
166
+ x as i,
166
167
  F as j,
167
168
  X as k,
168
- B as u
169
+ T as u
169
170
  };
package/dist/es/index.js CHANGED
@@ -1,50 +1,50 @@
1
- import { P as I } from "./Alert-DRIDwear.js";
2
- import { P as C } from "./Avatar-Dkvvhw_D.js";
3
- import { P as l } from "./Badge-CLNacHVq.js";
4
- import { P as s, a as Z } from "./Breadcrumb-CfJA9NZz.js";
5
- import { a as p, P as A } from "./Button-Dj1DIvXh.js";
6
- import { P as r } from "./Card-meh7F1e2.js";
7
- import { P as B } from "./ChatBubble-Ccr3wzoK.js";
8
- import { P as b, a as G } from "./Checkbox-vOcwl1OX.js";
9
- import { P as y, a as W } from "./Collapse-BG58s0uJ.js";
10
- import { P as X, p as w } from "./ConfigProvider-Cr8Hpzf2.js";
11
- import { E, u } from "./ConfigProvider-Cr8Hpzf2.js";
12
- import { P as S } from "./Diff-KQ44cDcY.js";
13
- import { P as H } from "./Divider-CYYeUqYc.js";
14
- import { P as K } from "./Drawer-CDXFDfrf.js";
15
- import { P as Y, a as R } from "./Dropdown-CPZtzHPx.js";
16
- import { P as V } from "./FileInput-Ram4-wy2.js";
17
- import { P as Q, a as x } from "./Filter-CLLkrn-W.js";
18
- import { P as N, a as P } from "./Form-po3aIrSN.js";
19
- import { u as u2 } from "./Form-po3aIrSN.js";
20
- import { a as F, r as D } from "./Icon-XJfGGAMY.js";
21
- import { d, i } from "./Icon-XJfGGAMY.js";
22
- import { P as J } from "./Indicator-vsSp5r5K.js";
23
- import { P as z } from "./Input-KrNqNZMe.js";
24
- import { P as U } from "./Kbd-CtCGx7_s.js";
25
- import { P as T } from "./Link-Bbwdgs74.js";
26
- import { P as M, a as O } from "./Loading-DiyIiKxO.js";
27
- import { v, L, v as v2 } from "./Loading-DiyIiKxO.js";
28
- import { P as q, a as $ } from "./Message-BoNCtMo7.js";
29
- import { m } from "./Message-BoNCtMo7.js";
30
- import { P as _ } from "./Notification-CFY-yvRf.js";
31
- import { a, n } from "./Notification-CFY-yvRf.js";
32
- import { P as gg } from "./Pixelate-dqwHc6nX.js";
33
- import { P as og } from "./Popconfirm-DPOujyiA.js";
34
- import { P as Ig } from "./Progress-B0oYE8Z3.js";
35
- import { P as Cg, a as ag } from "./Radio-C-Ot7pLA.js";
36
- import { P as lg, a as sg, b as mg } from "./Resizable-G5KVHayx.js";
37
- import { P as eg, a as Zg } from "./Select-DqxPeAKK.js";
38
- import { P as cg } from "./Skeleton-4SeKRKn9.js";
39
- import { P as ig } from "./Switch-C_tBxZtT.js";
40
- import { P as pg } from "./Table-Cr6HFL4_.js";
41
- import { t } from "./Table-Cr6HFL4_.js";
42
- import { P as dg } from "./Tooltip-rak4BryQ.js";
43
- import { P as tg } from "./Validator-DKVfknvI.js";
44
- import { f as Ag } from "./vendor-DrBJKLFW.js";
45
- import { c, i as i2, h, g, j, k } from "./hooks-pTjI-j9o.js";
1
+ import { P as I } from "./Alert-DdAShH-x.js";
2
+ import { P as C } from "./Avatar-BGTH7x40.js";
3
+ import { P as l } from "./Badge-CYZ55qNe.js";
4
+ import { P as s, a as Z } from "./Breadcrumb-BTWTtzrN.js";
5
+ import { a as p, P as A } from "./Button-GsSCWg5x.js";
6
+ import { P as r } from "./Card-BhgzwQqo.js";
7
+ import { P as B } from "./ChatBubble-4F481Agj.js";
8
+ import { P as b, a as G } from "./Checkbox-C7vZGSTh.js";
9
+ import { P as y, a as W } from "./Collapse-CbcSQig5.js";
10
+ import { P as X, p as w } from "./ConfigProvider-K1UzjlRm.js";
11
+ import { E, u } from "./ConfigProvider-K1UzjlRm.js";
12
+ import { P as S } from "./Diff-B747pgwb.js";
13
+ import { P as H } from "./Divider-BSu_1-AU.js";
14
+ import { P as K } from "./Drawer-I2lCgyba.js";
15
+ import { P as Y, a as R } from "./Dropdown-B0J_c8Wv.js";
16
+ import { P as V } from "./FileInput-CFg1wpsH.js";
17
+ import { P as Q, a as x } from "./Filter-nA8j-62U.js";
18
+ import { P as N, a as P } from "./Form-C1b8Igns.js";
19
+ import { u as u2 } from "./Form-C1b8Igns.js";
20
+ import { a as F, r as D } from "./Icon-BulvH9Wm.js";
21
+ import { d, i } from "./Icon-BulvH9Wm.js";
22
+ import { P as J } from "./Indicator-BbW4iUkh.js";
23
+ import { P as z } from "./Input-BUHFulIW.js";
24
+ import { P as U } from "./Kbd-CeP2wkdE.js";
25
+ import { P as T } from "./Link-Dks2bXo8.js";
26
+ import { P as M, a as O } from "./Loading-DoBtVGWo.js";
27
+ import { v, L, v as v2 } from "./Loading-DoBtVGWo.js";
28
+ import { P as q, a as $ } from "./Message-Ba_P4Wvy.js";
29
+ import { m } from "./Message-Ba_P4Wvy.js";
30
+ import { P as _ } from "./Notification-DzG8dLuk.js";
31
+ import { a, n } from "./Notification-DzG8dLuk.js";
32
+ import { P as gg } from "./Pixelate-B21HKbSE.js";
33
+ import { P as og } from "./Popconfirm-BqN3JxJ_.js";
34
+ import { P as Ig } from "./Progress--6EJjbbM.js";
35
+ import { P as Cg, a as ag } from "./Radio-CrdrvrFH.js";
36
+ import { P as lg, a as sg, b as mg } from "./Resizable-By3ijQf0.js";
37
+ import { P as eg, a as Zg } from "./Select-Cq1Ucs_U.js";
38
+ import { P as cg } from "./Skeleton-ChCVgMSk.js";
39
+ import { P as ig } from "./Switch-DURmSH-T.js";
40
+ import { P as pg } from "./Table-BE2f9u65.js";
41
+ import { t } from "./Table-BE2f9u65.js";
42
+ import { P as dg } from "./Tooltip-DR4Mc5Fh.js";
43
+ import { P as tg } from "./Validator-BYn72MYn.js";
44
+ import { f as Ag } from "./vendor-eombfMkP.js";
45
+ import { c, i as i2, h, g, j, k } from "./hooks-dJGu-5DG.js";
46
46
  import "vue";
47
- import { o, g as g2, n as n2, m as m2, k as k2, f, e } from "./utils-DzOow9K9.js";
47
+ import { k as k2, g as g2, m as m2, n as n2, o, f, e } from "./utils-CnCdZsHG.js";
48
48
  const rg = [I, C, l, s, Z, p, A, r, B, b, G, y, W, X, S, H, K, Y, R, V, Q, x, N, P, F, J, z, U, T, M, O, q, $, _, eg, gg, og, Ig, Cg, ag, lg, sg, mg, Zg, cg, ig, pg, dg, tg], Bg = { name: "ja", el: { select: { loading: "ロード中", noMatch: "データなし", noData: "データなし", placeholder: "選択してください" }, dropdown: { toggleDropdown: "ドロップダウン切替" }, messagebox: { title: "メッセージ", confirm: "OK", cancel: "キャンセル", error: "正しくない入力", close: "このダイアログを閉じる" }, popconfirm: { confirmButtonText: "はい", cancelButtonText: "いいえ" } } }, bg = { name: "ko", el: { select: { loading: "불러오는 중", noMatch: "검색된 데이터 없음", noData: "데이터 없음", placeholder: "선택" }, dropdown: { toggleDropdown: "드롭다운 전환" }, messagebox: { title: "메시지", confirm: "확인", cancel: "취소", error: "올바르지 않은 입력", close: "대화 상자 닫기" }, popconfirm: { confirmButtonText: "예", cancelButtonText: "아니오" } } }, Gg = { name: "zh-cn", el: { select: { loading: "加载中", noMatch: "无匹配数据", noData: "无数据", placeholder: "请选择" }, dropdown: { toggleDropdown: "切换下拉菜单" }, messagebox: { title: "提示", confirm: "确定", cancel: "取消", error: "输入的数据不合法!", close: "关闭此对话框" }, popconfirm: { confirmButtonText: "确定", cancelButtonText: "取消" } } }, ng = { name: "zh-tw", el: { select: { loading: "載入中", noMatch: "無相符資料", noData: "無資料", placeholder: "請選擇" }, dropdown: { toggleDropdown: "切換下拉選單" }, messagebox: { title: "提示", confirm: "確定", cancel: "取消", error: "輸入的資料不符規定!", close: "關閉此對話框" }, popconfirm: { confirmButtonText: "確認", cancelButtonText: "取消" } } };
49
49
  if (D(), "undefined" != typeof CSS && "paintWorklet" in CSS) try {
50
50
  CSS.paintWorklet.addModule(new URL("data:text/javascript;base64,LyoqCiAqIENTUyBIb3VkaW5pIFBhaW50IFdvcmtsZXQgLSBQaXhlbCBCb3JkZXIKICoKICogQ3JlYXRlcyBhdXRoZW50aWMgcGl4ZWxhdGVkIGJvcmRlcnMgZm9yIHJldHJvIFVJIGFlc3RoZXRpYwogKgogKiBDdXN0b20gUHJvcGVydGllczoKICogLSAtLXB4LWJvcmRlci1jb2xvcjogQm9yZGVyIGNvbG9yIChkZWZhdWx0OiAjMDAwMDAwKQogKiAtIC0tcHgtYm9yZGVyLXdpZHRoOiBCb3JkZXIgd2lkdGggaW4gcGl4ZWxzIChkZWZhdWx0OiAyKQogKiAtIC0tcHgtYm9yZGVyLXBpeGVsLXNpemU6IFNpemUgb2YgZWFjaCBwaXhlbCBibG9jayAoZGVmYXVsdDogMikKICovCgpjbGFzcyBQaXhlbEJvcmRlclBhaW50ZXIgewogIHN0YXRpYyBnZXQgaW5wdXRQcm9wZXJ0aWVzKCkgewogICAgcmV0dXJuIFsnLS1weC1ib3JkZXItY29sb3InLCAnLS1weC1ib3JkZXItd2lkdGgnLCAnLS1weC1ib3JkZXItcGl4ZWwtc2l6ZSddOwogIH0KCiAgcGFpbnQoY3R4LCBza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gICAgfQogICAgfQoKICAgIC8vIERyYXcgYm90dG9tIHNoYWRvdyAocGl4ZWxhdGVkKQogICAgY3R4Lmdsb2JhbEFscGhhID0gMTsKICAgIGZvciAobGV0IHggPSBzaGFkb3dPZmZzZXQ7IHggPCB3aWR0aDsgeCArPSBwaXhlbFNpemUpIHsKICAgICAgZm9yIChsZXQgeSA9IGhlaWdodDsgeSA8IGhlaWdodCArIHNoYWRvd09mZnNldDsgeSArPSBwaXhlbFNpemUpIHsKICAgICAgICBjb25zdCBkaXN0YW5jZSA9IHkgLSBoZWlnaHQ7CiAgICAgICAgaWYgKGRpc3RhbmNlIDwgc2hhZG93T2Zmc2V0KSB7CiAgICAgICAgICBjdHguZ2xvYmFsQWxwaGEgPSAxIC0gZGlzdGFuY2UgLyBzaGFkb3dPZmZzZXQ7CiAgICAgICAgICBjdHguZmlsbFJlY3QoeCwgeSwgcGl4ZWxTaXplLCBwaXhlbFNpemUpOwogICAgICAgIH0KICAgICAgfQogICAgfQoKICAgIC8vIERyYXcgY29ybmVyIHNoYWRvdwogICAgY3R4Lmdsb2JhbEFscGhhID0gMC41OwogICAgZm9yIChsZXQgeCA9IHdpZHRoOyB4IDwgd2lkdGggKyBzaGFkb3dPZmZzZXQ7IHggKz0gcGl4ZWxTaXplKSB7CiAgICAgIGZvciAobGV0IHkgPSBoZWlnaHQ7IHkgPCBoZWlnaHQgKyBzaGFkb3dPZmZzZXQ7IHkgKz0gcGl4ZWxTaXplKSB7CiAgICAgICAgY3R4LmZpbGxSZWN0KHgsIHksIHBpeGVsU2l6ZSwgcGl4ZWxTaXplKTsKICAgICAgfQogICAgfQoKICAgIGN0eC5nbG9iYWxBbHBoYSA9IDE7CiAgfQp9CgovLyBSZWdpc3RlciB0aGUgcGFpbnQgd29ya2xldApyZWdpc3RlclBhaW50KCdwaXhlbC1zaGFkb3cnLCBQaXhlbFNoYWRvd1BhaW50ZXIpOwo=", import.meta.url).href);
@@ -110,10 +110,10 @@ export {
110
110
  yg as default,
111
111
  d as defaultPixelIcons,
112
112
  E as en,
113
- o as getIconNameMap,
113
+ k2 as getIconNameMap,
114
114
  g2 as getPixelIcon,
115
- n2 as getRegisteredIconNames,
116
- m2 as hasPixelIcon,
115
+ m2 as getRegisteredIconNames,
116
+ n2 as hasPixelIcon,
117
117
  i as iconSizeMap,
118
118
  Bg as ja,
119
119
  bg as ko,
@@ -122,7 +122,7 @@ export {
122
122
  n as notificationTypes,
123
123
  w as provideGlobalConfig,
124
124
  D as registerDefaultPixelIcons,
125
- k2 as registerPixelIcon,
125
+ o as registerPixelIcon,
126
126
  f as registerPixelIcons,
127
127
  e as resolveIconName,
128
128
  t as tableSize,