sakana-element 2.3.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/es/{Alert-BwTsp4X3.js → Alert-DRIDwear.js} +2 -2
- package/dist/es/{Avatar-CJu6JYV3.js → Avatar-Dkvvhw_D.js} +1 -1
- package/dist/es/{Badge-BmxZXX8k.js → Badge-CLNacHVq.js} +2 -2
- package/dist/es/{Breadcrumb-BP8MSklj.js → Breadcrumb-CfJA9NZz.js} +2 -2
- package/dist/es/{Button-BJHtN7gh.js → Button-Dj1DIvXh.js} +3 -3
- package/dist/es/{Card-DJHkCmsz.js → Card-meh7F1e2.js} +1 -1
- package/dist/es/ChatBubble-Ccr3wzoK.js +9 -0
- package/dist/es/{Checkbox-DX8L3fyp.js → Checkbox-vOcwl1OX.js} +3 -3
- package/dist/es/{Collapse-Ir3V9CuO.js → Collapse-BG58s0uJ.js} +4 -4
- package/dist/es/{ConfigProvider-CsbSqwwi.js → ConfigProvider-Cr8Hpzf2.js} +2 -2
- package/dist/es/Diff-KQ44cDcY.js +64 -0
- package/dist/es/{Divider-C7PtODSK.js → Divider-CYYeUqYc.js} +1 -1
- package/dist/es/{Drawer-C2eVmvUp.js → Drawer-CDXFDfrf.js} +2 -2
- package/dist/es/{Dropdown-CVg_c2fB.js → Dropdown-CPZtzHPx.js} +9 -9
- package/dist/es/{FileInput-BE26BmXm.js → FileInput-Ram4-wy2.js} +3 -3
- package/dist/es/Filter-CLLkrn-W.js +40 -0
- package/dist/es/{Form-7lZt5ehf.js → Form-po3aIrSN.js} +62 -61
- package/dist/es/{Icon-BLDDdSU-.js → Icon-XJfGGAMY.js} +1 -1
- package/dist/es/{Indicator-B-en-MgG.js → Indicator-vsSp5r5K.js} +1 -1
- package/dist/es/{Input-C5HuVehE.js → Input-KrNqNZMe.js} +5 -5
- package/dist/es/Kbd-CtCGx7_s.js +13 -0
- package/dist/es/{Link-Av9RdcFv.js → Link-Bbwdgs74.js} +1 -1
- package/dist/es/{Loading-CBNDUWQd.js → Loading-DiyIiKxO.js} +3 -3
- package/dist/es/{Message-DgnyyuXn.js → Message-BoNCtMo7.js} +14 -14
- package/dist/es/{Notification-LYRXnVAf.js → Notification-CFY-yvRf.js} +13 -13
- package/dist/es/{Overlay-CpvMhnuU.js → Overlay-DoFA2lgP.js} +1 -1
- package/dist/es/Pixelate-dqwHc6nX.js +39 -0
- package/dist/es/{Popconfirm-DvxFdLrw.js → Popconfirm-DPOujyiA.js} +12 -12
- package/dist/es/{Progress-Bc5INMhJ.js → Progress-B0oYE8Z3.js} +1 -1
- package/dist/es/{Radio-263_rtRl.js → Radio-C-Ot7pLA.js} +3 -3
- package/dist/es/Resizable-G5KVHayx.js +151 -0
- package/dist/es/{Select-7ZxUCS8z.js → Select-DqxPeAKK.js} +14 -14
- package/dist/es/Skeleton-4SeKRKn9.js +15 -0
- package/dist/es/{Switch-DiCsMJT3.js → Switch-C_tBxZtT.js} +3 -3
- package/dist/es/{Table-BvA_xzDe.js → Table-Cr6HFL4_.js} +1 -1
- package/dist/es/{Tooltip-J3ji6weH.js → Tooltip-rak4BryQ.js} +3 -3
- package/dist/es/Validator-DKVfknvI.js +40 -0
- package/dist/es/{hooks-BqobYUzS.js → hooks-pTjI-j9o.js} +51 -53
- package/dist/es/index.js +119 -90
- package/dist/es/utils-DzOow9K9.js +155 -0
- package/dist/es/{vendor-DXmGx29U.js → vendor-DrBJKLFW.js} +254 -210
- package/dist/index.css +1 -1
- package/dist/{es/theme → theme}/Badge.css +151 -151
- package/dist/{es/theme → theme}/Button.css +92 -8
- package/dist/theme/ChatBubble.css +218 -0
- package/dist/{es/theme → theme}/Checkbox.css +138 -18
- package/dist/{es/theme → theme}/Collapse.css +96 -96
- package/dist/theme/Diff.css +110 -0
- package/dist/{es/theme → theme}/Divider.css +42 -3
- package/dist/{es/theme → theme}/Dropdown.css +2 -2
- package/dist/{es/theme → theme}/FileInput.css +32 -0
- package/dist/theme/Filter.css +598 -0
- package/dist/{es/theme → theme}/Input.css +414 -407
- package/dist/theme/Kbd.css +104 -0
- package/dist/{es/theme → theme}/Message.css +1 -1
- package/dist/{es/theme → theme}/Notification.css +44 -44
- package/dist/{es/theme → theme}/Radio.css +114 -48
- package/dist/theme/Resizable.css +95 -0
- package/dist/{es/theme → theme}/Select.css +198 -88
- package/dist/theme/Skeleton.css +192 -0
- package/dist/{es/theme → theme}/Switch.css +22 -3
- package/dist/theme/Validator.css +25 -0
- package/dist/types/components/ChatBubble/constants.d.ts +2 -0
- package/dist/types/components/ChatBubble/index.d.ts +27 -0
- package/dist/types/components/ChatBubble/types.d.ts +10 -0
- package/dist/types/components/Diff/constants.d.ts +4 -0
- package/dist/types/components/Diff/index.d.ts +67 -0
- package/dist/types/components/Diff/types.d.ts +29 -0
- package/dist/types/components/Dropdown/index.d.ts +3 -3
- package/dist/types/components/Filter/constants.d.ts +5 -0
- package/dist/types/components/Filter/index.d.ts +59 -0
- package/dist/types/components/Filter/types.d.ts +38 -0
- package/dist/types/components/Icon/index.d.ts +1 -0
- package/dist/types/components/Kbd/constants.d.ts +3 -0
- package/dist/types/components/Kbd/index.d.ts +24 -0
- package/dist/types/components/Kbd/types.d.ts +10 -0
- package/dist/types/components/Pixelate/index.d.ts +3 -3
- package/dist/types/components/Popconfirm/index.d.ts +3 -3
- package/dist/types/components/Resizable/constants.d.ts +3 -0
- package/dist/types/components/Resizable/index.d.ts +135 -0
- package/dist/types/components/Resizable/types.d.ts +52 -0
- package/dist/types/components/Select/index.d.ts +3 -3
- package/dist/types/components/Skeleton/index.d.ts +36 -0
- package/dist/types/components/Skeleton/types.d.ts +12 -0
- package/dist/types/components/Tooltip/index.d.ts +3 -3
- package/dist/types/components/Validator/index.d.ts +52 -0
- package/dist/types/components/Validator/types.d.ts +13 -0
- package/dist/types/components/index.d.ts +8 -1
- package/dist/types/core/index.d.ts +1 -1
- package/dist/types/hooks/index.d.ts +2 -0
- package/dist/types/hooks/useFocusController.d.ts +1 -1
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/pixelate.d.ts +10 -0
- package/dist/types/utils/style.d.ts +1 -0
- package/dist/umd/index.css +1 -1
- package/dist/umd/index.css.gz +0 -0
- package/dist/umd/index.umd.cjs +3 -3
- package/dist/umd/index.umd.cjs.gz +0 -0
- package/package.json +4 -4
- package/dist/es/Pixelate-BPypBgJU.js +0 -67
- package/dist/es/utils-BS5vsvlM.js +0 -101
- /package/dist/{es/theme → theme}/Alert.css +0 -0
- /package/dist/{es/theme → theme}/Avatar.css +0 -0
- /package/dist/{es/theme → theme}/Breadcrumb.css +0 -0
- /package/dist/{es/theme → theme}/Card.css +0 -0
- /package/dist/{es/theme → theme}/Drawer.css +0 -0
- /package/dist/{es/theme → theme}/Form.css +0 -0
- /package/dist/{es/theme → theme}/Icon.css +0 -0
- /package/dist/{es/theme → theme}/Indicator.css +0 -0
- /package/dist/{es/theme → theme}/Link.css +0 -0
- /package/dist/{es/theme → theme}/Loading.css +0 -0
- /package/dist/{es/theme → theme}/Overlay.css +0 -0
- /package/dist/{es/theme → theme}/Popconfirm.css +0 -0
- /package/dist/{es/theme → theme}/Progress.css +0 -0
- /package/dist/{es/theme → theme}/Table.css +0 -0
- /package/dist/{es/theme → theme}/Tooltip.css +0 -0
- /package/dist/{es/theme → theme}/fonts/zpix.woff2 +0 -0
- /package/dist/{es/theme → theme}/index.css +0 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { _ as e, w as s } from "./utils-DzOow9K9.js";
|
|
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
|
+
import { z as g } from "zod";
|
|
4
|
+
import { F as f } from "./Form-po3aIrSN.js";
|
|
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
|
+
const _2 = e2, x = a2, V = t("init"), I = t("");
|
|
7
|
+
function y(e3) {
|
|
8
|
+
const s3 = _2.rules ?? [];
|
|
9
|
+
return e3 ? s3.filter(((s4) => !s4.trigger || (Array.isArray(s4.trigger) ? s4.trigger.includes(e3) : s4.trigger === e3))) : s3;
|
|
10
|
+
}
|
|
11
|
+
async function P(e3) {
|
|
12
|
+
var _a;
|
|
13
|
+
for (const s3 of e3) {
|
|
14
|
+
let e4 = s3.schema ?? null;
|
|
15
|
+
if (!e4 && s3.required && (e4 = g.string({ message: s3.message ?? "This field is required" }).min(1, s3.message ?? "This field is required")), !e4) continue;
|
|
16
|
+
const a3 = e4.safeParse(_2.modelValue);
|
|
17
|
+
if (!a3.success) {
|
|
18
|
+
const e5 = s3.message ?? ((_a = a3.error.issues[0]) == null ? void 0 : _a.message) ?? "Validation failed";
|
|
19
|
+
return V.value = "error", I.value = e5, x("validate", false, e5), Promise.reject(e5);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
return V.value = "success", I.value = "", x("validate", true, ""), true;
|
|
23
|
+
}
|
|
24
|
+
const j = async (e3) => {
|
|
25
|
+
const s3 = y(e3);
|
|
26
|
+
return !s3.length || P(s3);
|
|
27
|
+
}, q = () => {
|
|
28
|
+
V.value = "init", I.value = "";
|
|
29
|
+
};
|
|
30
|
+
return r((() => _2.modelValue), (() => {
|
|
31
|
+
const e3 = y("change");
|
|
32
|
+
e3.length && P(e3).catch((() => {
|
|
33
|
+
}));
|
|
34
|
+
})), s2({ validate: j, reset: q, validateStatus: V, validateMessage: I }), i(f, l({ ...o(_2), validate: (e3) => j(e3).catch((() => false)), resetField: q, clearValidate: q, addInputId: () => {
|
|
35
|
+
}, removeInputId: () => {
|
|
36
|
+
} })), (e3, s3) => (d(), n("div", { class: u(["px-validator", { "is-error": "error" === V.value, "is-success": "success" === V.value }]) }, [c("div", p, [v(e3.$slots, "default", {}, void 0, true)]), c("div", { class: u(["px-validator__hint", { "is-hidden": "error" !== V.value }]) }, [v(e3.$slots, "hint", { message: I.value }, (() => [c("span", h, m(I.value), 1)]), true)], 2)], 2));
|
|
37
|
+
} }), [["__scopeId", "data-v-9c099378"]]));
|
|
38
|
+
export {
|
|
39
|
+
_ as P
|
|
40
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { isRef as e, watch as t, onMounted as n, onBeforeUnmount as o, unref as a, getCurrentInstance as
|
|
2
|
-
import { f as m, y as v, k as f, z as p,
|
|
3
|
-
function L(
|
|
4
|
-
e(
|
|
5
|
-
null == t2 || t2.removeEventListener(
|
|
6
|
-
})) : n((() => null ==
|
|
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) {
|
|
4
|
+
e(l2) ? t(l2, ((e2, t2) => {
|
|
5
|
+
null == t2 || t2.removeEventListener(r2, u2), null == e2 || e2.addEventListener(r2, u2);
|
|
6
|
+
})) : n((() => null == l2 ? void 0 : l2.addEventListener(r2, u2))), o((() => {
|
|
7
7
|
var e2;
|
|
8
|
-
return null == (e2 = a(
|
|
8
|
+
return null == (e2 = a(l2)) ? void 0 : e2.removeEventListener(r2, u2);
|
|
9
9
|
}));
|
|
10
10
|
}
|
|
11
11
|
function w(e2, t2) {
|
|
@@ -18,7 +18,7 @@ const y = (e2, t2) => m(e2, ((e3) => {
|
|
|
18
18
|
}));
|
|
19
19
|
function x() {
|
|
20
20
|
var e2, t2;
|
|
21
|
-
const n2 = /* @__PURE__ */ new Map(), o2 =
|
|
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
23
|
(null == o2 ? void 0 : o2.props.disabled) ? y(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)" } }));
|
|
@@ -28,9 +28,9 @@ function x() {
|
|
|
28
28
|
}));
|
|
29
29
|
}
|
|
30
30
|
function k(e2, n2, a2 = {}) {
|
|
31
|
-
let
|
|
31
|
+
let l2 = 0, r2 = 0, u2 = 0, s2 = 0, i2 = false;
|
|
32
32
|
function c2(e3) {
|
|
33
|
-
0 === e3.button && (i2 = true, u2 = e3.clientX -
|
|
33
|
+
0 === e3.button && (i2 = true, u2 = e3.clientX - l2, s2 = e3.clientY - r2, document.addEventListener("mousemove", d2), document.addEventListener("mouseup", m2), e3.preventDefault());
|
|
34
34
|
}
|
|
35
35
|
function d2(t2) {
|
|
36
36
|
if (!i2) return;
|
|
@@ -38,10 +38,10 @@ function k(e2, n2, a2 = {}) {
|
|
|
38
38
|
if (!n3) return;
|
|
39
39
|
let o2 = t2.clientX - u2, c3 = t2.clientY - s2;
|
|
40
40
|
if (a2.constrainToViewport) {
|
|
41
|
-
const e3 = n3.getBoundingClientRect(), t3 = document.documentElement.clientWidth, a3 = document.documentElement.clientHeight, u3 = e3.left -
|
|
41
|
+
const e3 = n3.getBoundingClientRect(), t3 = document.documentElement.clientWidth, a3 = document.documentElement.clientHeight, u3 = e3.left - l2, s3 = e3.top - r2, i3 = -u3, d3 = t3 - u3 - e3.width, m3 = -s3, v3 = a3 - s3 - e3.height;
|
|
42
42
|
o2 = Math.max(i3, Math.min(d3, o2)), c3 = Math.max(m3, Math.min(v3, c3));
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
l2 = o2, r2 = c3, n3.style.transform = `translate(${l2}px, ${r2}px)`;
|
|
45
45
|
}
|
|
46
46
|
function m2() {
|
|
47
47
|
i2 = false, document.removeEventListener("mousemove", d2), document.removeEventListener("mouseup", m2);
|
|
@@ -56,19 +56,19 @@ function k(e2, n2, a2 = {}) {
|
|
|
56
56
|
v2(n2.value), document.removeEventListener("mousemove", d2), document.removeEventListener("mouseup", m2);
|
|
57
57
|
})), { reset: function() {
|
|
58
58
|
const t2 = e2.value;
|
|
59
|
-
|
|
59
|
+
l2 = 0, r2 = 0, t2 && (t2.style.transform = "");
|
|
60
60
|
} };
|
|
61
61
|
}
|
|
62
62
|
function b(e2, { afterBlur: t2, beforeBlur: n2, afterFocus: o2 } = {}) {
|
|
63
|
-
const a2 =
|
|
63
|
+
const a2 = l(), { emit: r2 } = a2, u2 = s(), i2 = s(false);
|
|
64
64
|
return L(u2, "click", (() => {
|
|
65
65
|
var t3;
|
|
66
66
|
null == (t3 = e2.value) || t3.focus();
|
|
67
67
|
})), { wrapperRef: u2, isFocused: i2, handleFocus: (e3) => {
|
|
68
|
-
i2.value || (i2.value = true,
|
|
68
|
+
i2.value || (i2.value = true, r2("focus", e3), null == o2 || o2());
|
|
69
69
|
}, handleBlur: (e3) => {
|
|
70
70
|
var o3;
|
|
71
|
-
v(n2) && n2(e3) || e3.relatedTarget && (null == (o3 = u2.value) ? void 0 : o3.contains(e3.relatedTarget)) || (i2.value = false,
|
|
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
74
|
const M = ["a[href]", "button:not([disabled])", "input:not([disabled])", "textarea:not([disabled])", "select:not([disabled])", '[tabindex]:not([tabindex="-1"])'].join(", ");
|
|
@@ -80,43 +80,41 @@ function D(e2) {
|
|
|
80
80
|
if (!o2) return;
|
|
81
81
|
const a3 = Array.from(o2.querySelectorAll(M)).filter(((e3) => null !== e3.offsetParent));
|
|
82
82
|
if (0 === a3.length) return void t3.preventDefault();
|
|
83
|
-
const
|
|
84
|
-
t3.shiftKey ? document.activeElement !==
|
|
83
|
+
const l3 = a3[0], r2 = a3[a3.length - 1];
|
|
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());
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function l2() {
|
|
87
87
|
n2 && (n2 = false, document.removeEventListener("keydown", a2), t2 && "function" == typeof t2.focus && t2.focus(), t2 = null);
|
|
88
88
|
}
|
|
89
89
|
return o((() => {
|
|
90
|
-
|
|
90
|
+
l2();
|
|
91
91
|
})), { activate: function() {
|
|
92
92
|
n2 || (t2 = document.activeElement, n2 = true, document.addEventListener("keydown", a2));
|
|
93
|
-
}, deactivate:
|
|
93
|
+
}, deactivate: l2 };
|
|
94
94
|
}
|
|
95
95
|
const T = { prefix: Math.floor(1e4 * Math.random()), current: 0 };
|
|
96
96
|
function B(e2 = "er") {
|
|
97
97
|
const t2 = `${e2}-${T.prefix}-${T.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" } } };
|
|
101
|
-
function
|
|
102
|
-
{
|
|
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");
|
|
101
|
+
function $(e2) {
|
|
102
|
+
if (!e2) {
|
|
103
103
|
const e3 = i(h, s(g({ locale: I.name, messages: { en: I.el } })));
|
|
104
|
-
return c((() =>
|
|
105
|
-
return t2 = a(e3), E(t2, "install");
|
|
106
|
-
var t2;
|
|
107
|
-
}));
|
|
104
|
+
return c((() => S(a(e3))));
|
|
108
105
|
}
|
|
106
|
+
return c((() => S(g({ locale: e2.value.name, messages: { en: I.el, [e2.value.name]: e2.value.el } }))));
|
|
109
107
|
}
|
|
110
|
-
function
|
|
108
|
+
function O(e2) {
|
|
111
109
|
const t2 = c((() => e2.getLastBottomOffset())), n2 = c((() => e2.offset + t2.value)), o2 = c((() => n2.value + e2.boxHeight.value));
|
|
112
110
|
return { topOffset: n2, bottomOffset: o2 };
|
|
113
111
|
}
|
|
114
|
-
const
|
|
115
|
-
function
|
|
116
|
-
const t2 = s(e2), n2 = c((() =>
|
|
117
|
-
return { initialValue: t2, currentZIndex: n2, nextZIndex: () => (
|
|
112
|
+
const j = s(0);
|
|
113
|
+
function C(e2 = 2e3) {
|
|
114
|
+
const t2 = s(e2), n2 = c((() => j.value + t2.value));
|
|
115
|
+
return { initialValue: t2, currentZIndex: n2, nextZIndex: () => (j.value++, n2.value) };
|
|
118
116
|
}
|
|
119
|
-
function
|
|
117
|
+
function F() {
|
|
120
118
|
const e2 = s(false);
|
|
121
119
|
let t2 = null, o2 = null;
|
|
122
120
|
return n((() => {
|
|
@@ -127,45 +125,45 @@ function C() {
|
|
|
127
125
|
t2 && o2 && (t2.removeEventListener ? t2.removeEventListener("change", o2) : t2.removeListener(o2));
|
|
128
126
|
})), { prefersDark: e2, prefers: c((() => e2.value ? "dark" : "light")) };
|
|
129
127
|
}
|
|
130
|
-
const
|
|
131
|
-
function H(e2) {
|
|
132
|
-
"undefined" != typeof document && (e2 ? document.documentElement.classList.add(N) : document.documentElement.classList.remove(N));
|
|
133
|
-
}
|
|
128
|
+
const N = "px-theme", Y = "px-dark", A = s("system"), H = s(false);
|
|
134
129
|
function K(e2) {
|
|
130
|
+
"undefined" != typeof document && (e2 ? document.documentElement.classList.add(Y) : document.documentElement.classList.remove(Y));
|
|
131
|
+
}
|
|
132
|
+
function R(e2) {
|
|
135
133
|
return "system" === e2 ? "undefined" != typeof window && window.matchMedia("(prefers-color-scheme: dark)").matches : "dark" === e2;
|
|
136
134
|
}
|
|
137
|
-
let
|
|
138
|
-
function
|
|
139
|
-
if (!
|
|
135
|
+
let V = false;
|
|
136
|
+
function X() {
|
|
137
|
+
if (!V && "undefined" != typeof window) {
|
|
140
138
|
!(function() {
|
|
141
139
|
if ("undefined" == typeof window) return;
|
|
142
|
-
const e4 = localStorage.getItem(
|
|
143
|
-
e4 && ["light", "dark", "system"].includes(e4) ?
|
|
144
|
-
})(),
|
|
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);
|
|
142
|
+
})(), V = true;
|
|
145
143
|
const e3 = window.matchMedia("(prefers-color-scheme: dark)"), t2 = (e4) => {
|
|
146
|
-
"system" ===
|
|
144
|
+
"system" === A.value && (H.value = e4.matches, K(H.value));
|
|
147
145
|
};
|
|
148
146
|
e3.addEventListener ? e3.addEventListener("change", t2) : e3.addListener(t2);
|
|
149
147
|
}
|
|
150
148
|
const e2 = (e3) => {
|
|
151
|
-
|
|
149
|
+
A.value = e3, H.value = R(e3), K(H.value), "undefined" != typeof localStorage && localStorage.setItem(N, e3);
|
|
152
150
|
};
|
|
153
|
-
return { theme: c((() =>
|
|
154
|
-
const t2 =
|
|
151
|
+
return { theme: c((() => A.value)), isDark: c((() => H.value)), setTheme: e2, toggleTheme: () => {
|
|
152
|
+
const t2 = H.value ? "light" : "dark";
|
|
155
153
|
e2(t2);
|
|
156
154
|
} };
|
|
157
155
|
}
|
|
158
156
|
export {
|
|
159
|
-
|
|
157
|
+
C as a,
|
|
160
158
|
L as b,
|
|
161
159
|
w as c,
|
|
162
160
|
x as d,
|
|
163
161
|
b as e,
|
|
164
|
-
|
|
165
|
-
|
|
162
|
+
O as f,
|
|
163
|
+
$ as g,
|
|
166
164
|
D as h,
|
|
167
165
|
k as i,
|
|
168
|
-
|
|
169
|
-
|
|
166
|
+
F as j,
|
|
167
|
+
X as k,
|
|
170
168
|
B as u
|
|
171
169
|
};
|
package/dist/es/index.js
CHANGED
|
@@ -1,111 +1,140 @@
|
|
|
1
|
-
import { P as
|
|
2
|
-
import { P as
|
|
3
|
-
import { P as
|
|
4
|
-
import { P as
|
|
5
|
-
import { a as
|
|
6
|
-
import { P as
|
|
7
|
-
import { P as
|
|
8
|
-
import { P as
|
|
9
|
-
import { P as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { P as
|
|
13
|
-
import { P as
|
|
14
|
-
import { P as
|
|
15
|
-
import { P as
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { P as
|
|
23
|
-
import {
|
|
24
|
-
import { P as
|
|
25
|
-
import {
|
|
26
|
-
import { P as
|
|
27
|
-
import {
|
|
28
|
-
import { P } from "./
|
|
29
|
-
import {
|
|
30
|
-
import { P as
|
|
31
|
-
import {
|
|
32
|
-
import { P as
|
|
33
|
-
import { P as
|
|
34
|
-
import { P as
|
|
35
|
-
import {
|
|
36
|
-
import { P as
|
|
37
|
-
import {
|
|
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";
|
|
38
46
|
import "vue";
|
|
39
|
-
import {
|
|
40
|
-
const
|
|
41
|
-
if (
|
|
47
|
+
import { o, g as g2, n as n2, m as m2, k as k2, f, e } from "./utils-DzOow9K9.js";
|
|
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
|
+
if (D(), "undefined" != typeof CSS && "paintWorklet" in CSS) try {
|
|
42
50
|
CSS.paintWorklet.addModule(new URL("data:text/javascript;base64,LyoqCiAqIENTUyBIb3VkaW5pIFBhaW50IFdvcmtsZXQgLSBQaXhlbCBCb3JkZXIKICoKICogQ3JlYXRlcyBhdXRoZW50aWMgcGl4ZWxhdGVkIGJvcmRlcnMgZm9yIHJldHJvIFVJIGFlc3RoZXRpYwogKgogKiBDdXN0b20gUHJvcGVydGllczoKICogLSAtLXB4LWJvcmRlci1jb2xvcjogQm9yZGVyIGNvbG9yIChkZWZhdWx0OiAjMDAwMDAwKQogKiAtIC0tcHgtYm9yZGVyLXdpZHRoOiBCb3JkZXIgd2lkdGggaW4gcGl4ZWxzIChkZWZhdWx0OiAyKQogKiAtIC0tcHgtYm9yZGVyLXBpeGVsLXNpemU6IFNpemUgb2YgZWFjaCBwaXhlbCBibG9jayAoZGVmYXVsdDogMikKICovCgpjbGFzcyBQaXhlbEJvcmRlclBhaW50ZXIgewogIHN0YXRpYyBnZXQgaW5wdXRQcm9wZXJ0aWVzKCkgewogICAgcmV0dXJuIFsnLS1weC1ib3JkZXItY29sb3InLCAnLS1weC1ib3JkZXItd2lkdGgnLCAnLS1weC1ib3JkZXItcGl4ZWwtc2l6ZSddOwogIH0KCiAgcGFpbnQoY3R4LCBzaXplLCBwcm9wZXJ0aWVzKSB7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
-
const
|
|
53
|
+
const yg = /* @__PURE__ */ (function(g3) {
|
|
46
54
|
return (o2, I2) => {
|
|
47
|
-
|
|
55
|
+
Ag(g3, ((g4) => o2.use(g4))), I2 && w(I2, o2, true);
|
|
48
56
|
};
|
|
49
|
-
})(
|
|
57
|
+
})(rg);
|
|
50
58
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
59
|
+
I as PxAlert,
|
|
60
|
+
C as PxAvatar,
|
|
61
|
+
l as PxBadge,
|
|
62
|
+
s as PxBreadcrumb,
|
|
63
|
+
Z as PxBreadcrumbItem,
|
|
64
|
+
p as PxButton,
|
|
65
|
+
A as PxButtonGroup,
|
|
66
|
+
r as PxCard,
|
|
67
|
+
B as PxChatBubble,
|
|
68
|
+
b as PxCheckbox,
|
|
69
|
+
G as PxCheckboxGroup,
|
|
70
|
+
y as PxCollapse,
|
|
71
|
+
W as PxCollapseItem,
|
|
72
|
+
X as PxConfigProvider,
|
|
73
|
+
S as PxDiff,
|
|
74
|
+
H as PxDivider,
|
|
75
|
+
K as PxDrawer,
|
|
76
|
+
Y as PxDropdown,
|
|
77
|
+
R as PxDropdownItem,
|
|
78
|
+
V as PxFileInput,
|
|
79
|
+
Q as PxFilter,
|
|
80
|
+
x as PxFilterItem,
|
|
81
|
+
N as PxForm,
|
|
82
|
+
P as PxFormItem,
|
|
83
|
+
F as PxIcon,
|
|
84
|
+
J as PxIndicator,
|
|
85
|
+
z as PxInput,
|
|
86
|
+
U as PxKbd,
|
|
87
|
+
T as PxLink,
|
|
88
|
+
M as PxLoading,
|
|
76
89
|
v as PxLoadingDirective,
|
|
77
|
-
|
|
90
|
+
O as PxLoadingIndicator,
|
|
78
91
|
L as PxLoadingService,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
92
|
+
q as PxMessage,
|
|
93
|
+
$ as PxMessageBox,
|
|
94
|
+
_ as PxNotification,
|
|
95
|
+
eg as PxOption,
|
|
96
|
+
gg as PxPixelate,
|
|
97
|
+
og as PxPopconfirm,
|
|
98
|
+
Ig as PxProgress,
|
|
99
|
+
Cg as PxRadio,
|
|
100
|
+
ag as PxRadioGroup,
|
|
101
|
+
lg as PxResizableGroup,
|
|
102
|
+
sg as PxResizableHandle,
|
|
103
|
+
mg as PxResizablePanel,
|
|
104
|
+
Zg as PxSelect,
|
|
105
|
+
cg as PxSkeleton,
|
|
106
|
+
ig as PxSwitch,
|
|
107
|
+
pg as PxTable,
|
|
108
|
+
dg as PxTooltip,
|
|
109
|
+
tg as PxValidator,
|
|
110
|
+
yg as default,
|
|
93
111
|
d as defaultPixelIcons,
|
|
94
112
|
E as en,
|
|
113
|
+
o as getIconNameMap,
|
|
114
|
+
g2 as getPixelIcon,
|
|
115
|
+
n2 as getRegisteredIconNames,
|
|
116
|
+
m2 as hasPixelIcon,
|
|
95
117
|
i as iconSizeMap,
|
|
96
|
-
|
|
97
|
-
|
|
118
|
+
Bg as ja,
|
|
119
|
+
bg as ko,
|
|
98
120
|
m as messageTypes,
|
|
99
121
|
a as notificationPosition,
|
|
100
122
|
n as notificationTypes,
|
|
101
|
-
|
|
102
|
-
|
|
123
|
+
w as provideGlobalConfig,
|
|
124
|
+
D as registerDefaultPixelIcons,
|
|
125
|
+
k2 as registerPixelIcon,
|
|
126
|
+
f as registerPixelIcons,
|
|
127
|
+
e as resolveIconName,
|
|
103
128
|
t as tableSize,
|
|
129
|
+
c as useClickOutside,
|
|
130
|
+
i2 as useDraggable,
|
|
131
|
+
h as useFocusTrap,
|
|
104
132
|
u2 as useFormItem,
|
|
105
133
|
u as useGlobalConfig,
|
|
134
|
+
g as useLocale,
|
|
106
135
|
j as useSystemTheme,
|
|
107
136
|
k as useTheme,
|
|
108
137
|
v2 as vLoading,
|
|
109
|
-
|
|
110
|
-
|
|
138
|
+
Gg as zhCn,
|
|
139
|
+
ng as zhTw
|
|
111
140
|
};
|