sakana-element 2.1.1 → 2.1.3
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 +1 -0
- package/dist/es/Alert-A4stKumX.js +19 -0
- package/dist/es/Badge-BG-vYP8Y.js +13 -0
- package/dist/es/Button-CFGE4_Ng.js +22 -0
- package/dist/es/{Collapse-l_8qKOBG.js → Collapse-B08VhCVq.js} +2 -2
- package/dist/es/{ConfigProvider-BPm3h9RG.js → ConfigProvider-DZO1d5Eq.js} +1 -1
- package/dist/es/{Dropdown-ZjZ0qSn2.js → Dropdown-CA-nv-2j.js} +3 -3
- package/dist/es/{Form-pxRZxseS.js → Form-VB1SL_iW.js} +1 -1
- package/dist/es/{Icon-UBaqO2nY.js → Icon-DpJyuj7c.js} +1 -1
- package/dist/es/{Input-BJoBaFXa.js → Input-C-bIqqo_.js} +3 -3
- package/dist/es/{Loading-BJJBJhg3.js → Loading-4MsOvzx9.js} +3 -3
- package/dist/es/{Message-CqBKW0c8.js → Message-CxT9rRUp.js} +5 -5
- package/dist/es/{Notification-CVACM2cj.js → Notification-D6em5HmO.js} +7 -7
- package/dist/es/{Overlay-C1k4Jcl7.js → Overlay-BRDSWspM.js} +1 -1
- package/dist/es/{Popconfirm-CW8oRycq.js → Popconfirm-D0ABSr-F.js} +4 -4
- package/dist/es/{Select-C7mwByXa.js → Select-BKYDP224.js} +4 -4
- package/dist/es/{Switch-CgFPFC3j.js → Switch-C1IdbnUa.js} +1 -1
- package/dist/es/{Tooltip-D9rQ4LEg.js → Tooltip-KpwbZdMX.js} +16 -16
- package/dist/es/index.js +54 -52
- package/dist/es/utils-bsCscZfS.js +84 -0
- package/dist/index.css +1 -1
- package/dist/theme/Alert.css +114 -38
- package/dist/theme/Badge.css +208 -0
- package/dist/theme/Button.css +83 -83
- package/dist/types/components/Alert/types.d.ts +3 -0
- package/dist/types/components/Badge/index.d.ts +27 -0
- package/dist/types/components/Badge/types.d.ts +10 -0
- package/dist/types/components/Button/constants.d.ts +2 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/hooks/useSystemTheme.d.ts +1 -1
- package/dist/types/utils/color.d.ts +33 -0
- package/dist/types/utils/index.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 +2 -2
- package/dist/es/Alert-C5X-XFGJ.js +0 -15
- package/dist/es/Button-DTik2ZP6.js +0 -33
- package/dist/es/utils-340oIQ8K.js +0 -59
package/README.md
CHANGED
|
@@ -39,6 +39,7 @@ createApp(App).use(SakanaElement).mount('#app')
|
|
|
39
39
|
| `PxSwitch` | Switch / 开关 |
|
|
40
40
|
| `PxIcon` | Icon / 图标 |
|
|
41
41
|
| `PxAlert` | Alert / 警告提示 |
|
|
42
|
+
| `PxBadge` | Badge / 徽章 |
|
|
42
43
|
| `PxCollapse` | Collapse / 折叠面板 |
|
|
43
44
|
| `PxDropdown` | Dropdown / 下拉菜单 |
|
|
44
45
|
| `PxForm` | Form / 表单 |
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { t as e, r as t, S as l, c as o, _ as s, w as a } from "./utils-bsCscZfS.js";
|
|
2
|
+
import { defineComponent as n, useSlots as c, ref as i, computed as r, createBlock as p, openBlock as u, Transition as d, withCtx as f, withDirectives as _, createElementVNode as y, normalizeStyle as x, normalizeClass as v, createCommentVNode as m, createElementBlock as h, renderSlot as w, createTextVNode as B, toDisplayString as I, createVNode as k, withModifiers as $, vShow as b } from "vue";
|
|
3
|
+
import { P as g } from "./Icon-DpJyuj7c.js";
|
|
4
|
+
const P = { class: "px-alert__content" }, j = { key: 0, class: "px-alert__description" }, A = { key: 1, class: "px-alert__close" }, C = a(s(n({ name: "PxAlert", __name: "Alert", props: { title: {}, type: { default: "info" }, description: {}, effect: { default: "light" }, closable: { type: Boolean, default: true }, center: { type: Boolean }, showIcon: { type: Boolean }, outline: { type: Boolean }, dash: { type: Boolean }, color: {} }, emits: ["close"], setup(s2, { expose: a2, emit: n2 }) {
|
|
5
|
+
const C2 = s2, S = n2, q = c(), z = i(true), D = r((() => e.get(C2.type) ?? "circle-info")), E = r((() => C2.description || q.default)), F = r((() => {
|
|
6
|
+
if (!C2.color) return {};
|
|
7
|
+
const e2 = C2.outline ? "outline" : C2.dash ? "dash" : "default";
|
|
8
|
+
return t(o(C2.color), "px-alert", l[e2]);
|
|
9
|
+
}));
|
|
10
|
+
function G() {
|
|
11
|
+
z.value = false, S("close");
|
|
12
|
+
}
|
|
13
|
+
return a2({ open: function() {
|
|
14
|
+
z.value = true;
|
|
15
|
+
}, close: G }), (e2, t2) => (u(), p(d, { name: "px-alert-fade" }, { default: f((() => [_(y("div", { class: v(["px-alert", { [`px-alert__${e2.type}`]: e2.type, [`px-alert__${e2.effect}`]: e2.effect, "text-center": e2.center, "is-outline": e2.outline, "is-dash": e2.dash }]), role: "alert", style: x(F.value) }, [e2.showIcon ? (u(), p(g, { key: 0, class: v(["px-alert__icon", { "big-icon": E.value }]), icon: D.value }, null, 8, ["class", "icon"])) : m("", true), y("div", P, [y("span", { class: v(["px-alert__title", { "with-desc": E.value }]), style: x({ display: e2.center && !e2.showIcon ? "flow" : "inline" }) }, [w(e2.$slots, "title", {}, (() => [B(I(e2.title), 1)]), true)], 6), E.value ? (u(), h("p", j, [w(e2.$slots, "default", {}, (() => [B(I(e2.description), 1)]), true)])) : m("", true), e2.closable ? (u(), h("div", A, [k(g, { onClick: $(G, ["stop"]), icon: "close" })])) : m("", true)])], 6), [[b, z.value]])])), _: 3 }));
|
|
16
|
+
} }), [["__scopeId", "data-v-d61a85f3"]]));
|
|
17
|
+
export {
|
|
18
|
+
C as P
|
|
19
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { r as e, c as a, S as o, _ as s, w as t } from "./utils-bsCscZfS.js";
|
|
2
|
+
import { defineComponent as d, computed as l, createElementBlock as r, openBlock as u, normalizeStyle as n, normalizeClass as p, renderSlot as i } from "vue";
|
|
3
|
+
const c = t(s(d({ name: "PxBadge", __name: "Badge", props: { type: { default: "primary" }, size: { default: "default" }, outline: { type: Boolean }, dash: { type: Boolean }, color: {}, round: { type: Boolean } }, setup(s2) {
|
|
4
|
+
const t2 = s2, d2 = l((() => {
|
|
5
|
+
if (!t2.color) return {};
|
|
6
|
+
const s3 = t2.outline ? "outline" : t2.dash ? "dash" : "default";
|
|
7
|
+
return e(a(t2.color), "px-badge", o[s3]);
|
|
8
|
+
}));
|
|
9
|
+
return (e2, a2) => (u(), r("span", { class: p(["px-badge", { [`px-badge--${e2.type}`]: e2.type, [`px-badge--${e2.size}`]: e2.size && "default" !== e2.size, "is-outline": e2.outline, "is-dash": e2.dash, "is-round": e2.round }]), style: n(d2.value) }, [i(e2.$slots, "default", {}, void 0, true)], 6));
|
|
10
|
+
} }), [["__scopeId", "data-v-c5a490ec"]]));
|
|
11
|
+
export {
|
|
12
|
+
c as P
|
|
13
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { d as o, l as t, c as e, r, _ as l, w as a } from "./utils-bsCscZfS.js";
|
|
2
|
+
import { defineComponent as i, useSlots as s, inject as c, ref as d, computed as n, createBlock as b, openBlock as u, resolveDynamicComponent as g, unref as p, normalizeStyle as h, normalizeClass as v, withCtx as y, renderSlot as x, createCommentVNode as f, createVNode as k, provide as m, reactive as B, toRef as _, createElementBlock as z } from "vue";
|
|
3
|
+
import { P as T } from "./Icon-DpJyuj7c.js";
|
|
4
|
+
import { t as $ } from "./vendor-DXmGx29U.js";
|
|
5
|
+
const w = Symbol("BUTTON_GROUP_CTX_KEY"), I = { ghost: { "text-color": "color", "bg-color": "transparent", "border-color": "transparent", "shadow-color": "transparent", "hover-text-color": "dark", "hover-bg-color": "lighter", "hover-border-color": "transparent", "active-text-color": "dark", "active-bg-color": "light", "active-border-color": "transparent", "disabled-text-color": "light", "disabled-bg-color": "transparent", "disabled-border-color": "transparent" }, dash: { "text-color": "color", "bg-color": "lighter", "border-color": "color", "shadow-color": "transparent", "hover-text-color": "dark", "hover-bg-color": "light", "hover-border-color": "dark", "active-text-color": "dark", "active-bg-color": "color", "active-border-color": "dark", "disabled-text-color": "light", "disabled-bg-color": "lighter", "disabled-border-color": "light" }, plain: { "text-color": "color", "bg-color": "lighter", "border-color": "color", "hover-text-color": "contrast", "hover-bg-color": "color", "hover-border-color": "color", "active-text-color": "contrast", "active-bg-color": "dark", "active-border-color": "dark", "disabled-text-color": "light", "disabled-bg-color": "lighter", "disabled-border-color": "light" }, default: { "text-color": "contrast", "bg-color": "color", "border-color": "dark", "shadow-color": "dark", "hover-text-color": "contrast", "hover-bg-color": "light", "hover-border-color": "color", "active-text-color": "contrast", "active-bg-color": "dark", "active-border-color": "dark", "disabled-text-color": "contrast", "disabled-bg-color": "light", "disabled-border-color": "light" } }, P = l(i({ name: "PxButton", __name: "Button", props: { tag: { default: "button" }, type: {}, size: {}, nativeType: { default: "button" }, disabled: { type: Boolean }, loading: { type: Boolean }, icon: {}, circle: { type: Boolean }, plain: { type: Boolean }, round: { type: Boolean }, dash: { type: Boolean }, ghost: { type: Boolean }, color: {}, loadingIcon: {}, ariaLabel: {}, autofocus: { type: Boolean }, useThrottle: { type: Boolean, default: true }, throttleDuration: { default: 500 } }, emits: ["click"], setup(l2, { expose: a2, emit: i2 }) {
|
|
6
|
+
const m2 = /* @__PURE__ */ new Set(["button", "a", "div", "span", "router-link"]), B2 = l2;
|
|
7
|
+
"string" != typeof B2.tag || m2.has(B2.tag) || o("PxButton", `Invalid tag "${B2.tag}". Allowed tags: ${[...m2].join(", ")}. Falling back to "button".`);
|
|
8
|
+
const _2 = i2, z2 = s(), P2 = c(w, void 0), j2 = d(), G2 = n((() => "string" != typeof B2.tag || m2.has(B2.tag) ? B2.tag : "button")), C2 = n((() => (P2 == null ? void 0 : P2.size) ?? (B2 == null ? void 0 : B2.size) ?? "")), D2 = n((() => (P2 == null ? void 0 : P2.type) ?? (B2 == null ? void 0 : B2.type) ?? "")), L = n((() => (P2 == null ? void 0 : P2.disabled) || (B2 == null ? void 0 : B2.disabled) || false)), O = n((() => ({ marginRight: z2.default ? "6px" : "0px" }))), R = n((() => {
|
|
9
|
+
if (!B2.color) return {};
|
|
10
|
+
const o2 = { ...e(B2.color), light: t(B2.color, 20), lighter: t(B2.color, 35) }, l3 = B2.ghost ? "ghost" : B2.dash ? "dash" : B2.plain ? "plain" : "default";
|
|
11
|
+
return r(o2, "px-button", I[l3]);
|
|
12
|
+
})), S = (o2) => _2("click", o2), U = $(S, B2.throttleDuration, { trailing: false });
|
|
13
|
+
return a2({ ref: j2, disabled: L, size: C2, type: D2 }), (o2, t2) => (u(), b(g(G2.value), { ref_key: "_ref", ref: j2, autofocus: o2.autofocus, type: "button" === G2.value ? o2.nativeType : void 0, class: v(["px-button", { [`px-button--${D2.value}`]: D2.value, [`px-button--${C2.value}`]: C2.value, "is-plain": o2.plain, "is-round": o2.round, "is-circle": o2.circle, "is-dash": o2.dash, "is-ghost": o2.ghost, "is-disabled": L.value, "is-loading": o2.loading }]), "aria-label": o2.ariaLabel, disabled: !(!L.value && !o2.loading) || void 0, style: h(R.value), onClick: t2[0] || (t2[0] = (t3) => o2.useThrottle ? p(U)(t3) : S(t3)) }, { default: y((() => [o2.loading ? x(o2.$slots, "loading", { key: 0 }, (() => [k(T, { class: "loading-icon", icon: o2.loadingIcon ?? "loader", style: h(O.value), size: "1x", spin: "" }, null, 8, ["icon", "style"])]), true) : f("", true), o2.icon && !o2.loading ? (u(), b(T, { key: 1, icon: o2.icon, style: h(O.value), size: "1x" }, null, 8, ["icon", "style"])) : f("", true), x(o2.$slots, "default", {}, void 0, true)])), _: 3 }, 8, ["autofocus", "type", "aria-label", "disabled", "class", "style"]));
|
|
14
|
+
} }), [["__scopeId", "data-v-6be339e2"]]), j = { class: "px-button-group" }, G = l(i({ name: "PxButtonGroup", __name: "ButtonGroup", props: { size: {}, type: {}, disabled: { type: Boolean } }, setup(o2) {
|
|
15
|
+
const t2 = o2;
|
|
16
|
+
return m(w, B({ size: _(t2, "size"), type: _(t2, "type"), disabled: _(t2, "disabled") })), (o3, t3) => (u(), z("div", j, [x(o3.$slots, "default", {}, void 0, true)]));
|
|
17
|
+
} }), [["__scopeId", "data-v-7bc34bb7"]]), C = a(P), D = a(G);
|
|
18
|
+
export {
|
|
19
|
+
D as P,
|
|
20
|
+
C as a,
|
|
21
|
+
P as b
|
|
22
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as e, w as a } from "./utils-
|
|
1
|
+
import { _ as e, w as a } from "./utils-bsCscZfS.js";
|
|
2
2
|
import { defineComponent as l, ref as t, watchEffect as s, watch as o, provide as i, createElementBlock as d, openBlock as n, renderSlot as c, inject as p, computed as m, normalizeClass as r, createElementVNode as u, createVNode as v, createTextVNode as f, toDisplayString as h, Transition as _, mergeProps as x, toHandlers as g, unref as b, withCtx as y, withDirectives as C, vShow as I } from "vue";
|
|
3
|
-
import { P as $ } from "./Icon-
|
|
3
|
+
import { P as $ } from "./Icon-DpJyuj7c.js";
|
|
4
4
|
const V = Symbol("collapseContext"), w = { class: "px-collapse" }, P = e(l({ name: "PxCollapse", __name: "Collapse", props: { modelValue: {}, accordion: { type: Boolean } }, emits: ["update:modelValue", "change"], setup(e2, { emit: a2 }) {
|
|
5
5
|
const l2 = e2, p2 = a2, m2 = t(l2.modelValue);
|
|
6
6
|
function r2(e3) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as e } from "./utils-
|
|
1
|
+
import { w as e } from "./utils-bsCscZfS.js";
|
|
2
2
|
import { ref as t, getCurrentInstance as a, unref as o, watch as r, provide as n, inject as l, computed as s, defineComponent as i, renderSlot as c } from "vue";
|
|
3
3
|
import { n as d, m as u, o as m } from "./vendor-DXmGx29U.js";
|
|
4
4
|
const p = { name: "en", el: { colorpicker: { confirm: "OK", clear: "Clear", defaultLabel: "color picker", description: "current color is {color}. press enter to select a new color." }, datepicker: { now: "Now", today: "Today", cancel: "Cancel", clear: "Clear", confirm: "OK", dateTablePrompt: "Use the arrow keys and enter to select the day of the month", monthTablePrompt: "Use the arrow keys and enter to select the month", yearTablePrompt: "Use the arrow keys and enter to select the year", selectedDate: "Selected date", selectDate: "Select date", selectTime: "Select time", startDate: "Start Date", startTime: "Start Time", endDate: "End Date", endTime: "End Time", prevYear: "Previous Year", nextYear: "Next Year", prevMonth: "Previous Month", nextMonth: "Next Month", year: "", month1: "January", month2: "February", month3: "March", month4: "April", month5: "May", month6: "June", month7: "July", month8: "August", month9: "September", month10: "October", month11: "November", month12: "December", week: "week", weeks: { sun: "Sun", mon: "Mon", tue: "Tue", wed: "Wed", thu: "Thu", fri: "Fri", sat: "Sat" }, weeksFull: { sun: "Sunday", mon: "Monday", tue: "Tuesday", wed: "Wednesday", thu: "Thursday", fri: "Friday", sat: "Saturday" }, months: { jan: "Jan", feb: "Feb", mar: "Mar", apr: "Apr", may: "May", jun: "Jun", jul: "Jul", aug: "Aug", sep: "Sep", oct: "Oct", nov: "Nov", dec: "Dec" } }, inputNumber: { decrease: "decrease number", increase: "increase number" }, select: { loading: "Loading", noMatch: "No matching data", noData: "No data", placeholder: "Select" }, dropdown: { toggleDropdown: "Toggle Dropdown" }, cascader: { noMatch: "No matching data", loading: "Loading", placeholder: "Select", noData: "No data" }, pagination: { goto: "Go to", pagesize: "/page", total: "Total {total}", pageClassifier: "", page: "Page", prev: "Go to previous page", next: "Go to next page", currentPage: "page {pager}", prevPages: "Previous {pager} pages", nextPages: "Next {pager} pages", deprecationWarning: "Deprecated usages detected, please refer to the el-pagination documentation for more details" }, dialog: { close: "Close this dialog" }, drawer: { close: "Close this dialog" }, messagebox: { title: "Message", confirm: "OK", cancel: "Cancel", error: "Illegal input", close: "Close this dialog" }, upload: { deleteTip: "press delete to remove", delete: "Delete", preview: "Preview", continue: "Continue" }, slider: { defaultLabel: "slider between {min} and {max}", defaultRangeStartLabel: "pick start value", defaultRangeEndLabel: "pick end value" }, table: { emptyText: "No Data", confirmFilter: "Confirm", resetFilter: "Reset", clearFilter: "All", sumText: "Sum" }, tour: { next: "Next", previous: "Previous", finish: "Finish" }, tree: { emptyText: "No Data" }, transfer: { noMatch: "No matching data", noData: "No data", titles: ["List 1", "List 2"], filterPlaceholder: "Enter keyword", noCheckedFormat: "{total} items", hasCheckedFormat: "{checked}/{total} checked" }, image: { error: "FAILED" }, pageHeader: { title: "Back" }, popconfirm: { confirmButtonText: "Yes", cancelButtonText: "No" }, carousel: { leftArrow: "Carousel arrow left", rightArrow: "Carousel arrow right", indicator: "Carousel switch to index {index}" } } }, h = Symbol(), g = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { w as e } from "./utils-
|
|
1
|
+
import { w as e } from "./utils-bsCscZfS.js";
|
|
2
2
|
import { defineComponent as o, inject as i, computed as a, createElementBlock as t, openBlock as l, Fragment as d, createCommentVNode as n, createElementVNode as s, normalizeClass as p, unref as r, renderSlot as u, createTextVNode as m, toDisplayString as c, useSlots as f, ref as v, provide as h, createVNode as y, mergeProps as b, withCtx as k, createBlock as w, renderList as _ } from "vue";
|
|
3
3
|
import { u as B, a as x, b as g } from "./hooks-DNMt3QPi.js";
|
|
4
|
-
import { P as C, a as z } from "./Button-
|
|
5
|
-
import { T as $ } from "./Tooltip-
|
|
4
|
+
import { P as C, a as z } from "./Button-CFGE4_Ng.js";
|
|
5
|
+
import { T as $ } from "./Tooltip-KpwbZdMX.js";
|
|
6
6
|
import { a as j, i as T } from "./vendor-DXmGx29U.js";
|
|
7
7
|
const D = Symbol("dropdownContext"), I = { key: 0, role: "separator", class: "divided-placeholder" }, O = ["id"], P = o({ name: "PxDropdownItem", __name: "DropdownItem", props: { command: { default: B().value }, label: {}, disabled: { type: Boolean, default: false }, divided: { type: Boolean, default: false } }, setup(e2) {
|
|
8
8
|
const o2 = e2, f2 = i(D), v2 = a((() => f2 == null ? void 0 : f2.size.value));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, reactive as r, toRefs as t, provide as a, createElementBlock as l, openBlock as s, renderSlot as o, useCssVars as i, computed as u, useSlots as d, inject as n, ref as p, onMounted as v, onUnmounted as c, normalizeStyle as m, normalizeClass as f, unref as h, createBlock as b, createCommentVNode as g, createElementVNode as y, resolveDynamicComponent as x, withCtx as _, createTextVNode as F, toDisplayString as q, nextTick as P } from "vue";
|
|
2
|
-
import { d as w, _ as k, w as j } from "./utils-
|
|
2
|
+
import { d as w, _ as k, w as j } from "./utils-bsCscZfS.js";
|
|
3
3
|
import { f as I, b as $, s as A, c as B, d as S, i as W, e as M, g as V, h as C, j as O, k as D, l as E, p as R } from "./vendor-DXmGx29U.js";
|
|
4
4
|
import { u as z } from "./hooks-DNMt3QPi.js";
|
|
5
5
|
import G from "async-validator";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as v, g as h, s as l, _ as o, w, b as r } from "./utils-bsCscZfS.js";
|
|
2
2
|
import { defineComponent as t, computed as H, createElementBlock as m, openBlock as s, mergeProps as z } from "vue";
|
|
3
3
|
const n = { xs: 12, sm: 18, md: 24, lg: 36, xl: 48, "2xl": 72, "1x": 24, "2x": 48, "3x": 72 }, V = ["innerHTML"], g = { key: 1, class: "px-icon__fallback" }, e = o(t({ name: "PxIcon", inheritAttrs: false, __name: "Icon", props: { icon: {}, size: { default: "md" }, rotation: {}, flip: {}, spin: { type: Boolean }, pulse: { type: Boolean }, bounce: { type: Boolean }, shake: { type: Boolean }, beat: { type: Boolean }, fade: { type: Boolean }, type: {}, color: {} }, setup(o2) {
|
|
4
4
|
const w2 = o2, r2 = H((() => v(w2.icon))), t2 = H((() => {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as e, w as a } from "./utils-
|
|
1
|
+
import { d as e, w as a } from "./utils-bsCscZfS.js";
|
|
2
2
|
import { defineComponent as l, ref as o, shallowRef as s, useAttrs as u, computed as p, watch as t, createElementBlock as r, openBlock as n, normalizeClass as d, unref as i, withDirectives as c, Fragment as f, createCommentVNode as v, createElementVNode as m, renderSlot as y, mergeProps as x, vModelDynamic as _, createBlock as h, withModifiers as w, vModelText as k, nextTick as b } from "vue";
|
|
3
3
|
import { c as $, u as B } from "./hooks-DNMt3QPi.js";
|
|
4
|
-
import { u as V } from "./Form-
|
|
5
|
-
import { P as g } from "./Icon-
|
|
4
|
+
import { u as V } from "./Form-VB1SL_iW.js";
|
|
5
|
+
import { P as g } from "./Icon-DpJyuj7c.js";
|
|
6
6
|
import { q as I, f as P } from "./vendor-DXmGx29U.js";
|
|
7
7
|
const j = { key: 0, class: "px-input__prepend" }, C = { key: 0, class: "px-input__prefix" }, F = ["id", "type", "disabled", "readonly", "autocomplete", "placeholder", "autofocus", "form"], R = { key: 1, class: "px-input__suffix" }, z = { key: 1, class: "px-input__append" }, M = ["id", "disabled", "readonly", "autocomplete", "placeholder", "autofocus", "form"], U = l({ name: "PxInput", inheritAttrs: false, __name: "Input", props: { id: {}, modelValue: {}, type: { default: "text" }, size: {}, disabled: { type: Boolean }, clearable: { type: Boolean }, showPassword: { type: Boolean }, placeholder: {}, readonly: { type: Boolean }, autocomplete: { default: "off" }, autofocus: { type: Boolean }, form: {} }, emits: ["update:modelValue", "input", "change", "focus", "blur", "clear"], setup(a2, { expose: l2, emit: U2 }) {
|
|
8
8
|
const q2 = a2, A = U2, D = o(q2.modelValue), E = o(false), G = s(), H = s(), J = u(), { formItem: K } = V(), L = p((() => G.value || H.value)), N = p((() => q2.disabled)), O = p((() => q2.clearable && !!D.value && !N.value && T.value)), Q = p((() => "password" === q2.type && q2.showPassword && !N.value && !!D.value)), { wrapperRef: S, isFocused: T, handleFocus: W, handleBlur: X } = $(L, { afterBlur() {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as e, useCssVars as n, computed as t, createBlock as o, openBlock as i, Transition as l, withCtx as r, withDirectives as s, createElementVNode as c, normalizeClass as d, createCommentVNode as
|
|
1
|
+
import { defineComponent as e, useCssVars as n, computed as t, createBlock as o, openBlock as i, Transition as l, withCtx as r, withDirectives as s, createElementVNode as c, normalizeClass as d, createCommentVNode as a, createElementBlock as u, toDisplayString as b, vShow as p, nextTick as m, ref as f, reactive as v, createApp as g } from "vue";
|
|
2
2
|
import { d as y } from "./hooks-DNMt3QPi.js";
|
|
3
|
-
import { P as x } from "./Icon-
|
|
3
|
+
import { P as x } from "./Icon-DpJyuj7c.js";
|
|
4
4
|
import { d as k, i as L, r as A, u as $ } from "./vendor-DXmGx29U.js";
|
|
5
5
|
const I = { class: "px-loading__spinner" }, _ = { key: 1, class: "px-loading-text" }, h = e({ name: "PxLoading", inheritAttrs: false, __name: "Loading", props: { visible: {}, background: {}, spinner: {}, text: {}, fullscreen: {}, lock: {}, beforeClose: { type: Function }, closed: { type: Function }, target: {}, body: { type: Boolean }, zIndex: {}, onAfterLeave: { type: Function } }, setup(e2) {
|
|
6
6
|
n(((e3) => ({ c7e915b4: e3.background, 24995070: e3.zIndex })));
|
|
7
7
|
const m2 = e2, f2 = t((() => k(m2.spinner) ? m2.spinner : "spinner"));
|
|
8
|
-
return (e3, n2) => (i(), o(l, { name: "fade-in-linear", onAfterLeave: e3.onAfterLeave }, { default: r((() => [s(c("div", { class: d(["px-loading px-loading__mask", { "is-fullscreen": e3.fullscreen }]) }, [c("div", I, [false !== m2.spinner ? (i(), o(x, { key: 0, icon: f2.value, spin: "" }, null, 8, ["icon"])) :
|
|
8
|
+
return (e3, n2) => (i(), o(l, { name: "fade-in-linear", onAfterLeave: e3.onAfterLeave }, { default: r((() => [s(c("div", { class: d(["px-loading px-loading__mask", { "is-fullscreen": e3.fullscreen }]) }, [c("div", I, [false !== m2.spinner ? (i(), o(x, { key: 0, icon: f2.value, spin: "" }, null, 8, ["icon"])) : a("", true), e3.text ? (i(), u("p", _, b(e3.text), 1)) : a("", true)])], 2), [[p, m2.visible.value]])])), _: 1 }, 8, ["onAfterLeave"]));
|
|
9
9
|
} }), C = "px-loading-parent--relative", P = "px-loading-parent--hiden", j = "px-loading-numb", z = /* @__PURE__ */ new Map(), { nextZIndex: F } = y(3e3);
|
|
10
10
|
function N(e2 = document.body) {
|
|
11
11
|
e2.classList.remove(P);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as e,
|
|
1
|
+
import { t as e, e as o, R as t, f as n } from "./utils-bsCscZfS.js";
|
|
2
2
|
import { defineComponent as s, ref as a, computed as l, watch as c, onMounted as i, createBlock as r, openBlock as u, Transition as p, withCtx as d, withDirectives as f, createElementVNode as m, normalizeStyle as y, normalizeClass as g, createVNode as v, createElementBlock as x, createCommentVNode as b, renderSlot as B, unref as h, withModifiers as _, vShow as C, shallowReactive as k, isVNode as w, h as I, render as T, reactive as P, nextTick as z, createTextVNode as $, toDisplayString as M, resolveDynamicComponent as O, withKeys as j } from "vue";
|
|
3
3
|
import { e as A, f as L, d as V, u as E } from "./hooks-DNMt3QPi.js";
|
|
4
|
-
import { P as D } from "./Icon-
|
|
4
|
+
import { P as D } from "./Icon-DpJyuj7c.js";
|
|
5
5
|
import { v as R, u as N, f as K, d as S, w as Z, g as H, x as U, i as q, y as F, z as G, A as J, B as Q } from "./vendor-DXmGx29U.js";
|
|
6
|
-
import { b as W } from "./Button-
|
|
7
|
-
import { _ as X } from "./Input-
|
|
8
|
-
import { P as Y } from "./Overlay-
|
|
6
|
+
import { b as W } from "./Button-CFGE4_Ng.js";
|
|
7
|
+
import { _ as X } from "./Input-C-bIqqo_.js";
|
|
8
|
+
import { P as Y } from "./Overlay-BRDSWspM.js";
|
|
9
9
|
const ee = ["aria-live"], oe = { class: "px-message__content" }, te = { key: 0, class: "px-message__close" }, ne = s({ name: "PxMessage", __name: "Message", props: { id: {}, message: {}, duration: { default: 3e3 }, showClose: { type: Boolean }, center: { type: Boolean }, type: { default: "info" }, offset: { default: 10 }, zIndex: {}, transitionName: { default: "fade-up" }, onDestory: {} }, setup(n2, { expose: s2 }) {
|
|
10
10
|
const k2 = n2, w2 = a(false), I2 = a(), T2 = a(0), { topOffset: P2, bottomOffset: z2 } = A({ getLastBottomOffset: R(re, k2), offset: k2.offset, boxHeight: T2 }), $2 = l((() => e.get(k2.type) ?? "circle-info")), M2 = l((() => ({ top: o(P2.value), zIndex: k2.zIndex })));
|
|
11
11
|
let O2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t,
|
|
2
|
-
import { defineComponent as i, ref as a, computed as l, onMounted as
|
|
1
|
+
import { t, e, R as o, _ as n, f as s } from "./utils-bsCscZfS.js";
|
|
2
|
+
import { defineComponent as i, ref as a, computed as l, onMounted as f, createBlock as r, openBlock as c, Transition as p, withCtx as d, withDirectives as u, createElementVNode as m, normalizeStyle as v, normalizeClass as h, createCommentVNode as g, createElementBlock as x, toDisplayString as y, renderSlot as _, unref as C, createVNode as k, withModifiers as w, vShow as b, isVNode as I, h as N, render as O, shallowReactive as j } from "vue";
|
|
3
3
|
import { e as z, d as E, u as $ } from "./hooks-DNMt3QPi.js";
|
|
4
|
-
import { P as B } from "./Icon-
|
|
4
|
+
import { P as B } from "./Icon-DpJyuj7c.js";
|
|
5
5
|
import { v as D, u as M, f as P, d as R, w as A, g as L, x as W } from "./vendor-DXmGx29U.js";
|
|
6
6
|
const H = ["aria-live"], T = { class: "px-notification__text" }, Z = { class: "px-notification__title" }, q = { class: "px-notification__content" }, F = { key: 1, class: "px-notification__close" }, G = n(i({ name: "PxNotification", __name: "Notification", props: { title: {}, id: {}, zIndex: {}, position: { default: "top-right" }, type: { default: "info" }, message: {}, duration: { default: 3e3 }, showClose: { type: Boolean, default: true }, offset: { default: 20 }, transitionName: { default: "fade" }, icon: {}, onClick: {}, onClose: {}, onDestory: {} }, setup(n2, { expose: s2 }) {
|
|
7
7
|
const i2 = n2, I2 = a(false), N2 = a(), O2 = a(0), { topOffset: j2, bottomOffset: E2 } = z({ getLastBottomOffset: D(tt, i2), offset: i2.offset, boxHeight: O2 }), $2 = l((() => t.get(i2.type) ?? "circle-info")), P2 = l((() => i2.position.endsWith("right") ? "right" : "left")), R2 = l((() => i2.position.startsWith("top") ? "top" : "bottom")), A2 = l((() => ({ [R2.value]: e(j2.value), zIndex: i2.zIndex })));
|
|
@@ -15,9 +15,9 @@ const H = ["aria-live"], T = { class: "px-notification__text" }, Z = { class: "p
|
|
|
15
15
|
function J2() {
|
|
16
16
|
I2.value = false;
|
|
17
17
|
}
|
|
18
|
-
return
|
|
18
|
+
return f((() => {
|
|
19
19
|
I2.value = true, W2();
|
|
20
|
-
})), s2({ bottomOffset: E2, close: J2 }), (t2, e2) => (
|
|
20
|
+
})), s2({ bottomOffset: E2, close: J2 }), (t2, e2) => (c(), r(p, { name: `px-notification-${t2.transitionName}`, onAfterLeave: e2[1] || (e2[1] = (e3) => !I2.value && t2.onDestory()), onEnter: e2[2] || (e2[2] = (t3) => O2.value = N2.value.getBoundingClientRect().height) }, { default: d((() => [u(m("div", { ref_key: "notifyRef", ref: N2, class: h(["px-notification", { [`px-notification--${t2.type}`]: t2.type, [P2.value]: true, "show-close": t2.showClose }]), style: v(A2.value), role: "alert", "aria-live": "danger" === t2.type || "warning" === t2.type ? "assertive" : "polite", onClick: e2[0] || (e2[0] = (...e3) => t2.onClick && t2.onClick(...e3)), onMouseenter: G2, onMouseleave: W2 }, [$2.value ? (c(), r(B, { key: 0, icon: $2.value, class: "px-notification__icon" }, null, 8, ["icon"])) : g("", true), m("div", T, [m("div", Z, y(t2.title), 1), m("div", q, [_(t2.$slots, "default", {}, (() => [t2.message ? (c(), r(C(o), { key: 0, vNode: t2.message }, null, 8, ["vNode"])) : g("", true)]), true)])]), t2.showClose ? (c(), x("div", F, [k(B, { icon: "close", onClick: w(J2, ["stop"]) })])) : g("", true)], 46, H), [[b, I2.value]])])), _: 3 }, 8, ["name"]));
|
|
21
21
|
} }), [["__scopeId", "data-v-2111f4f7"]]), J = ["info", "success", "warning", "danger"], K = ["top-right", "top-left", "bottom-right", "bottom-left"], Q = /* @__PURE__ */ new Map();
|
|
22
22
|
P(K, ((t2) => {
|
|
23
23
|
Q.set(t2, j([]));
|
|
@@ -31,8 +31,8 @@ const { nextZIndex: S } = E(), U = { type: "info", duration: 3e3, offset: 20, tr
|
|
|
31
31
|
-1 !== t4 && (n2.splice(t4, 1), O(null, o2));
|
|
32
32
|
} }, i2 = N(G, s2);
|
|
33
33
|
O(i2, o2), document.body.appendChild(o2.firstElementChild);
|
|
34
|
-
const a2 = i2.component, l2 = { close: () => a2.exposed.close() },
|
|
35
|
-
return n2.push(
|
|
34
|
+
const a2 = i2.component, l2 = { close: () => a2.exposed.close() }, f2 = { props: s2, id: e2, vm: a2, vnode: i2, handler: l2 };
|
|
35
|
+
return n2.push(f2), f2;
|
|
36
36
|
})(V(t2)).handler;
|
|
37
37
|
function tt() {
|
|
38
38
|
const t2 = X(this.position || "top-right"), e2 = A(t2, { id: this.id });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as e, createElementBlock as s, openBlock as o, normalizeStyle as t, normalizeClass as a, renderSlot as l } from "vue";
|
|
2
|
-
import { _ as i } from "./utils-
|
|
2
|
+
import { _ as i } from "./utils-bsCscZfS.js";
|
|
3
3
|
const d = i(e({ name: "PxOverlay", __name: "Overlay", props: { mask: { type: Boolean, default: true }, zIndex: {}, overlayClass: {} }, emits: ["click"], setup(e2, { emit: i2 }) {
|
|
4
4
|
const d2 = i2;
|
|
5
5
|
function n(e3) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { e as o, _ as e, w as t } from "./utils-bsCscZfS.js";
|
|
2
2
|
import { defineComponent as n, ref as i, computed as c, createBlock as l, openBlock as a, createSlots as r, withCtx as f, createElementVNode as s, normalizeStyle as p, createCommentVNode as m, createTextVNode as u, toDisplayString as d, createVNode as _, renderSlot as y } from "vue";
|
|
3
|
-
import { b as v } from "./Button-
|
|
4
|
-
import { P as x } from "./Icon-
|
|
5
|
-
import { T as h } from "./Tooltip-
|
|
3
|
+
import { b as v } from "./Button-CFGE4_Ng.js";
|
|
4
|
+
import { P as x } from "./Icon-DpJyuj7c.js";
|
|
5
|
+
import { T as h } from "./Tooltip-KpwbZdMX.js";
|
|
6
6
|
const B = { class: "px-popconfirm__main" }, T = { class: "px-popconfirm__action" }, k = t(e(n({ name: "PxPopconfirm", __name: "Popconfirm", props: { title: { default: "" }, confirmButtonText: {}, cancelButtonText: {}, confirmButtonType: { default: "primary" }, cancelButtonType: {}, icon: { default: "question-circle" }, iconColor: { default: "#f90" }, hideIcon: { type: Boolean }, hideAfter: { default: 200 }, width: { default: 150 } }, emits: ["confirm", "cancel"], setup(e2, { emit: t2 }) {
|
|
7
7
|
const n2 = e2, k2 = t2, C = i(), P = c((() => ({ width: o(n2.width) })));
|
|
8
8
|
function j() {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { R as e, _ as l, w as a } from "./utils-
|
|
1
|
+
import { R as e, _ as l, w as a } from "./utils-bsCscZfS.js";
|
|
2
2
|
import { defineComponent as t, inject as o, computed as i, createElementBlock as n, openBlock as s, withModifiers as u, normalizeClass as d, renderSlot as r, createVNode as p, unref as c, useSlots as h, ref as v, reactive as f, watch as m, onMounted as b, provide as g, withCtx as y, createCommentVNode as x, createElementVNode as _, Fragment as V, renderList as I, createBlock as w, mergeProps as M, nextTick as k, h as O } from "vue";
|
|
3
3
|
import { C as S, D as L, g as B, b as D, s as N, e as j, E as C, F, f as R, y as E, q as H, z as P, i as z, G as W, c as $ } from "./vendor-DXmGx29U.js";
|
|
4
4
|
import { u as q, c as A, a as T } from "./hooks-DNMt3QPi.js";
|
|
5
|
-
import { P as U } from "./Icon-
|
|
6
|
-
import { _ as G } from "./Input-
|
|
7
|
-
import { T as K } from "./Tooltip-
|
|
5
|
+
import { P as U } from "./Icon-DpJyuj7c.js";
|
|
6
|
+
import { _ as G } from "./Input-C-bIqqo_.js";
|
|
7
|
+
import { T as K } from "./Tooltip-KpwbZdMX.js";
|
|
8
8
|
const J = Symbol("selectContext"), Q = { 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"] }] }, X = ["id"], Y = l(t({ name: "PxOption", __name: "Option", props: { value: {}, label: {}, disabled: { type: Boolean, default: false } }, setup(l2) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { w as e } from "./utils-
|
|
1
|
+
import { w as e } from "./utils-bsCscZfS.js";
|
|
2
2
|
import { defineComponent as a, computed as i, ref as t, onMounted as c, watch as l, createElementBlock as s, openBlock as u, normalizeClass as n, createElementVNode as o, withKeys as d, unref as r, createCommentVNode as v, toDisplayString as p } from "vue";
|
|
3
3
|
import { u as h } from "./hooks-DNMt3QPi.js";
|
|
4
4
|
const m = ["id", "name", "disabled", "checked"], x = { class: "px-switch__core" }, _ = { class: "px-switch__core-inner" }, f = { key: 0, class: "px-switch__core-inner-text" }, w = e(a({ 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: {} }, emits: ["update:modelValue", "change"], setup(e2, { expose: a2, emit: w2 }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e, w as t } from "./utils-
|
|
2
|
-
import { onMounted as
|
|
1
|
+
import { _ as e, w as t } from "./utils-bsCscZfS.js";
|
|
2
|
+
import { onMounted as a, watch as o, onUnmounted as i, defineComponent as l, ref as r, computed as n, watchEffect as u, createElementBlock as s, openBlock as v, mergeProps as c, toHandlers as p, renderSlot as d, createVNode as f, unref as g, Transition as m, withCtx as h, createCommentVNode as _, createElementVNode as k, createTextVNode as y, toDisplayString as T } from "vue";
|
|
3
3
|
import { createPopper as b } from "@popperjs/core";
|
|
4
4
|
import { u as x, a as w } from "./hooks-DNMt3QPi.js";
|
|
5
5
|
import { H as j, f as B, E, v as L } from "./vendor-DXmGx29U.js";
|
|
@@ -29,14 +29,14 @@ const N = ["aria-describedby"], R = ["id"], $ = e(l({ name: "PxTooltip", __name:
|
|
|
29
29
|
function ee() {
|
|
30
30
|
D.value = {}, H.value = {}, I.value = {}, Y();
|
|
31
31
|
}
|
|
32
|
-
const te = U,
|
|
32
|
+
const te = U, ae = () => {
|
|
33
33
|
K == null ? void 0 : K.cancel(), X(false);
|
|
34
34
|
};
|
|
35
|
-
return
|
|
35
|
+
return o(P, ((e3) => {
|
|
36
36
|
e3 && C.value && q.value && (S = b(C.value, q.value, F.value));
|
|
37
|
-
}), { flush: "post" }),
|
|
37
|
+
}), { flush: "post" }), o((() => $2.manual), ((e3) => {
|
|
38
38
|
e3 ? ee() : Y();
|
|
39
|
-
})),
|
|
39
|
+
})), o((() => $2.trigger), (() => {
|
|
40
40
|
K == null ? void 0 : K.cancel(), P.value = false, O2("visible-change", false), ee();
|
|
41
41
|
})), u((() => {
|
|
42
42
|
$2.manual || Y(), K = E(L(X, null, true), G.value), Q = E(L(X, null, false), J.value);
|
|
@@ -46,17 +46,17 @@ const N = ["aria-describedby"], R = ["id"], $ = e(l({ name: "PxTooltip", __name:
|
|
|
46
46
|
let r2, n2;
|
|
47
47
|
const u2 = /* @__PURE__ */ new Map(), s2 = () => {
|
|
48
48
|
const e4 = t3.value;
|
|
49
|
-
e4 && j(e4) && B(l3.value, ((t4,
|
|
50
|
-
u2.set(
|
|
49
|
+
e4 && j(e4) && B(l3.value, ((t4, a2) => {
|
|
50
|
+
u2.set(a2, t4), e4.addEventListener(a2, t4);
|
|
51
51
|
}));
|
|
52
52
|
}, v2 = (e4) => {
|
|
53
|
-
const
|
|
54
|
-
|
|
53
|
+
const a2 = e4 ?? t3.value;
|
|
54
|
+
a2 && j(a2) && B(["mouseenter", "click", "contextmenu"], ((e5) => u2.has(e5) && a2.removeEventListener(e5, u2.get(e5))));
|
|
55
55
|
};
|
|
56
|
-
|
|
57
|
-
n2 =
|
|
58
|
-
e3.virtualTriggering && (j(
|
|
59
|
-
}), { immediate: true }), r2 =
|
|
56
|
+
a((() => {
|
|
57
|
+
n2 = o((() => e3.virtualRef), ((t4, a2) => {
|
|
58
|
+
e3.virtualTriggering && (j(a2) && v2(a2), j(t4) && s2());
|
|
59
|
+
}), { immediate: true }), r2 = o(l3, (() => {
|
|
60
60
|
e3.virtualTriggering && (v2(), s2(), K == null ? void 0 : K.cancel(), X(false));
|
|
61
61
|
}), { deep: true });
|
|
62
62
|
})), i((() => {
|
|
@@ -64,8 +64,8 @@ const N = ["aria-describedby"], R = ["id"], $ = e(l({ name: "PxTooltip", __name:
|
|
|
64
64
|
}));
|
|
65
65
|
})($2, C, D), i((() => {
|
|
66
66
|
Z();
|
|
67
|
-
})), t2({ show: te, hide:
|
|
68
|
-
P.value ?
|
|
67
|
+
})), t2({ show: te, hide: ae, toggle: () => {
|
|
68
|
+
P.value ? ae() : te();
|
|
69
69
|
} }), (e3, t3) => (v(), s("div", c({ class: "px-tooltip", ref_key: "containerNode", ref: M }, p(H.value, true)), [e3.virtualTriggering ? d(e3.$slots, "default", { key: 1 }, void 0, true) : (v(), s("div", c({ key: 0, class: "px-tooltip__trigger", ref_key: "_triggerNode", ref: z }, p(D.value, true), { "aria-describedby": P.value ? g(A) : void 0 }), [d(e3.$slots, "default", {}, void 0, true)], 16, N)), f(m, { name: e3.transition, onAfterLeave: Z }, { default: h((() => [P.value ? (v(), s("div", c({ key: 0, class: "px-tooltip__popper", ref_key: "popperNode", ref: q }, p(I.value, true), { id: g(A), role: "tooltip" }), [d(e3.$slots, "content", {}, (() => [y(T(e3.content), 1)]), true), t3[0] || (t3[0] = k("div", { id: "arrow", "data-popper-arrow": "" }, null, -1))], 16, R)) : _("", true)])), _: 3 }, 8, ["name"])], 16));
|
|
70
70
|
} }), [["__scopeId", "data-v-77c52c17"]]), O = t($);
|
|
71
71
|
export {
|
package/dist/es/index.js
CHANGED
|
@@ -1,77 +1,79 @@
|
|
|
1
|
-
import { P as e } from "./Alert-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { P as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { P as
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { P as G } from "./
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { P as
|
|
20
|
-
import { P as S } from "./
|
|
21
|
-
import { P as x } from "./
|
|
22
|
-
import {
|
|
1
|
+
import { P as e } from "./Alert-A4stKumX.js";
|
|
2
|
+
import { P as o } from "./Badge-BG-vYP8Y.js";
|
|
3
|
+
import { a as t, P as l } from "./Button-CFGE4_Ng.js";
|
|
4
|
+
import { P as r, a as c } from "./Collapse-B08VhCVq.js";
|
|
5
|
+
import { P as C, p as I } from "./ConfigProvider-DZO1d5Eq.js";
|
|
6
|
+
import { E, u } from "./ConfigProvider-DZO1d5Eq.js";
|
|
7
|
+
import { P as s, a as p } from "./Dropdown-CA-nv-2j.js";
|
|
8
|
+
import { P as Z, a as A } from "./Form-VB1SL_iW.js";
|
|
9
|
+
import { u as u2 } from "./Form-VB1SL_iW.js";
|
|
10
|
+
import { a as b, r as B } from "./Icon-DpJyuj7c.js";
|
|
11
|
+
import { d, i } from "./Icon-DpJyuj7c.js";
|
|
12
|
+
import { P as G } from "./Input-C-bIqqo_.js";
|
|
13
|
+
import { P as y } from "./Loading-4MsOvzx9.js";
|
|
14
|
+
import { v, L, v as v2 } from "./Loading-4MsOvzx9.js";
|
|
15
|
+
import { P as w, a as W } from "./Message-CxT9rRUp.js";
|
|
16
|
+
import { m } from "./Message-CxT9rRUp.js";
|
|
17
|
+
import { P as X } from "./Notification-D6em5HmO.js";
|
|
18
|
+
import { a, n } from "./Notification-D6em5HmO.js";
|
|
19
|
+
import { P as f } from "./Popconfirm-D0ABSr-F.js";
|
|
20
|
+
import { P as H, a as S } from "./Select-BKYDP224.js";
|
|
21
|
+
import { P as x } from "./Switch-C1IdbnUa.js";
|
|
22
|
+
import { P as Y } from "./Tooltip-KpwbZdMX.js";
|
|
23
|
+
import { f as k } from "./vendor-DXmGx29U.js";
|
|
23
24
|
import "vue";
|
|
24
25
|
import { g, h } from "./hooks-DNMt3QPi.js";
|
|
25
|
-
const K = [o, t,
|
|
26
|
-
if (
|
|
26
|
+
const K = [o, t, l, b, r, c, e, Y, f, s, p, w, X, G, W, y, x, H, S, Z, A, C], F = { name: "ja", el: { colorpicker: { confirm: "OK", clear: "クリア" }, datepicker: { now: "現在", today: "今日", cancel: "キャンセル", clear: "クリア", confirm: "OK", selectDate: "日付を選択", selectTime: "時間を選択", startDate: "開始日", startTime: "開始時間", endDate: "終了日", endTime: "終了時間", prevYear: "前年", nextYear: "翌年", prevMonth: "前月", nextMonth: "翌月", year: "年", month1: "1月", month2: "2月", month3: "3月", month4: "4月", month5: "5月", month6: "6月", month7: "7月", month8: "8月", month9: "9月", month10: "10月", month11: "11月", month12: "12月", weeks: { sun: "日", mon: "月", tue: "火", wed: "水", thu: "木", fri: "金", sat: "土" }, months: { jan: "1月", feb: "2月", mar: "3月", apr: "4月", may: "5月", jun: "6月", jul: "7月", aug: "8月", sep: "9月", oct: "10月", nov: "11月", dec: "12月" } }, select: { loading: "ロード中", noMatch: "データなし", noData: "データなし", placeholder: "選択してください" }, cascader: { noMatch: "データなし", loading: "ロード中", placeholder: "選択してください", noData: "データなし" }, pagination: { goto: "", pagesize: "件/ページ", total: "総計 {total} 件", pageClassifier: "ページ目へ", page: "Page", prev: "Go to previous page", next: "Go to next page", currentPage: "page {pager}", prevPages: "Previous {pager} pages", nextPages: "Next {pager} pages" }, messagebox: { title: "メッセージ", confirm: "OK", cancel: "キャンセル", error: "正しくない入力" }, upload: { deleteTip: "Delキーを押して削除する", delete: "削除する", preview: "プレビュー", continue: "続行する" }, table: { emptyText: "データなし", confirmFilter: "確認", resetFilter: "初期化", clearFilter: "すべて", sumText: "合計" }, tour: { next: "次へ", previous: "前へ", finish: "ツアー終了" }, tree: { emptyText: "データなし" }, transfer: { noMatch: "データなし", noData: "データなし", titles: ["リスト 1", "リスト 2"], filterPlaceholder: "キーワードを入力", noCheckedFormat: "総計 {total} 件", hasCheckedFormat: "{checked}/{total} を選択した" }, image: { error: "失敗" }, pageHeader: { title: "戻る" }, popconfirm: { confirmButtonText: "はい", cancelButtonText: "いいえ" }, carousel: { leftArrow: "Carousel arrow left", rightArrow: "Carousel arrow right", indicator: "Carousel switch to index {index}" } } }, R = { name: "ko", el: { colorpicker: { confirm: "확인", clear: "초기화", defaultLabel: "색상 선택기", description: "현재 색상은 {color}입니다. Enter 키를 눌러 새 색상을 선택합니다." }, datepicker: { now: "지금", today: "오늘", cancel: "취소", clear: "초기화", confirm: "확인", dateTablePrompt: "화살표 키를 사용하고 Enter를 눌러 날짜를 선택하십시오.", monthTablePrompt: "화살표 키를 사용하고 Enter를 눌러 월을 선택합니다.", yearTablePrompt: "화살표 키를 사용하고 Enter 키를 눌러 연도를 선택합니다.", selectDate: "날짜 선택", selectTime: "시간 선택", startDate: "시작 날짜", startTime: "시작 시간", endDate: "종료 날짜", endTime: "종료 시간", prevYear: "지난해", nextYear: "다음해", prevMonth: "지난달", nextMonth: "다음달", year: "년", month1: "1월", month2: "2월", month3: "3월", month4: "4월", month5: "5월", month6: "6월", month7: "7월", month8: "8월", month9: "9월", month10: "10월", month11: "11월", month12: "12월", weeks: { sun: "일", mon: "월", tue: "화", wed: "수", thu: "목", fri: "금", sat: "토" }, months: { jan: "1월", feb: "2월", mar: "3월", apr: "4월", may: "5월", jun: "6월", jul: "7월", aug: "8월", sep: "9월", oct: "10월", nov: "11월", dec: "12월" } }, inputNumber: { decrease: "값 증가", increase: "값 감소" }, select: { loading: "불러오는 중", noMatch: "검색된 데이터 없음", noData: "데이터 없음", placeholder: "선택" }, dropdown: { toggleDropdown: "드롭다운 전환" }, cascader: { noMatch: "검색된 데이터 없음", loading: "불러오는 중", placeholder: "선택", noData: "데이터 없음" }, pagination: { goto: "", pagesize: "건/페이지", total: "총 {total} 건", pageClassifier: "페이지로", page: "페이지", prev: "이전 페이지로 이동", next: "다음 페이지로 이동", currentPage: "페이지 {pager}", prevPages: "이전 {pager} 페이지", nextPages: "다음 {pager} 페이지", deprecationWarning: "더 이상 사용되지 않는 동작이 감지되었습니다. 자세한 내용은 el-pagination 문서를 참조하세요." }, dialog: { close: "대화 상자 닫기" }, drawer: { close: "대화 상자 닫기" }, messagebox: { title: "메시지", confirm: "확인", cancel: "취소", error: "올바르지 않은 입력", close: "대화 상자 닫기" }, upload: { deleteTip: "Delete 키를 눌러 삭제", delete: "삭제", preview: "미리보기", continue: "계속하기" }, slider: { defaultLabel: "{min}과 {max} 사이의 슬라이더", defaultRangeStartLabel: "시작 값 선택", defaultRangeEndLabel: "종료 값 선택" }, table: { emptyText: "데이터 없음", confirmFilter: "확인", resetFilter: "초기화", clearFilter: "전체", sumText: "합계" }, tour: { next: "다음", previous: "이전", finish: "종료" }, tree: { emptyText: "데이터 없음" }, transfer: { noMatch: "검색된 데이터 없음", noData: "데이터 없음", titles: ["리스트 1", "리스트 2"], filterPlaceholder: "검색어를 입력하세요", noCheckedFormat: "총 {total} 건", hasCheckedFormat: "{checked}/{total} 선택됨" }, image: { error: "불러오기 실패" }, pageHeader: { title: "뒤로" }, popconfirm: { confirmButtonText: "예", cancelButtonText: "아니오" }, carousel: { leftArrow: "Carousel arrow left", rightArrow: "Carousel arrow right", indicator: "Carousel switch to index {index}" } } }, Q = { name: "zh-cn", el: { colorpicker: { confirm: "确定", clear: "清空" }, datepicker: { now: "此刻", today: "今天", cancel: "取消", clear: "清空", confirm: "确定", selectDate: "选择日期", selectTime: "选择时间", startDate: "开始日期", startTime: "开始时间", endDate: "结束日期", endTime: "结束时间", prevYear: "前一年", nextYear: "后一年", prevMonth: "上个月", nextMonth: "下个月", year: "年", month1: "1 月", month2: "2 月", month3: "3 月", month4: "4 月", month5: "5 月", month6: "6 月", month7: "7 月", month8: "8 月", month9: "9 月", month10: "10 月", month11: "11 月", month12: "12 月", weeks: { sun: "日", mon: "一", tue: "二", wed: "三", thu: "四", fri: "五", sat: "六" }, months: { jan: "一月", feb: "二月", mar: "三月", apr: "四月", may: "五月", jun: "六月", jul: "七月", aug: "八月", sep: "九月", oct: "十月", nov: "十一月", dec: "十二月" } }, select: { loading: "加载中", noMatch: "无匹配数据", noData: "无数据", placeholder: "请选择" }, cascader: { noMatch: "无匹配数据", loading: "加载中", placeholder: "请选择", noData: "暂无数据" }, pagination: { goto: "前往", pagesize: "条/页", total: "共 {total} 条", pageClassifier: "页", page: "页", prev: "上一页", next: "下一页", currentPage: "第 {pager} 页", prevPages: "向前 {pager} 页", nextPages: "向后 {pager} 页", deprecationWarning: "你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档" }, messagebox: { title: "提示", confirm: "确定", cancel: "取消", error: "输入的数据不合法!" }, upload: { deleteTip: "按 delete 键可删除", delete: "删除", preview: "查看图片", continue: "继续上传" }, table: { emptyText: "暂无数据", confirmFilter: "筛选", resetFilter: "重置", clearFilter: "全部", sumText: "合计" }, tour: { next: "下一步", previous: "上一步", finish: "结束导览" }, tree: { emptyText: "暂无数据" }, transfer: { noMatch: "无匹配数据", noData: "无数据", titles: ["列表 1", "列表 2"], filterPlaceholder: "请输入搜索内容", noCheckedFormat: "共 {total} 项", hasCheckedFormat: "已选 {checked}/{total} 项" }, image: { error: "加载失败" }, pageHeader: { title: "返回" }, popconfirm: { confirmButtonText: "确定", cancelButtonText: "取消" }, carousel: { leftArrow: "上一张幻灯片", rightArrow: "下一张幻灯片", indicator: "幻灯片切换至索引 {index}" } } }, V = { name: "zh-tw", el: { colorpicker: { confirm: "確認", clear: "清空", defaultLabel: "色彩選擇器", description: "目前色彩為 {color}。按一下 Enter 以選擇新色彩。" }, datepicker: { now: "現在", today: "今天", cancel: "取消", clear: "清空", confirm: "確認", dateTablePrompt: "使用方向鍵與 Enter 鍵以選擇日期", monthTablePrompt: "使用方向鍵與 Enter 鍵以選擇月份", yearTablePrompt: "使用方向鍵與 Enter 鍵以選擇年份", selectedDate: "已選日期", selectDate: "選擇日期", selectTime: "選擇時間", startDate: "開始日期", startTime: "開始時間", endDate: "結束日期", endTime: "結束時間", prevYear: "前一年", nextYear: "後一年", prevMonth: "上個月", nextMonth: "下個月", year: "年", month1: "1 月", month2: "2 月", month3: "3 月", month4: "4 月", month5: "5 月", month6: "6 月", month7: "7 月", month8: "8 月", month9: "9 月", month10: "10 月", month11: "11 月", month12: "12 月", weeks: { sun: "日", mon: "一", tue: "二", wed: "三", thu: "四", fri: "五", sat: "六" }, weeksFull: { sun: "星期日", mon: "星期一", tue: "星期二", wed: "星期三", thu: "星期四", fri: "星期五", sat: "星期六" }, months: { jan: "一月", feb: "二月", mar: "三月", apr: "四月", may: "五月", jun: "六月", jul: "七月", aug: "八月", sep: "九月", oct: "十月", nov: "十一月", dec: "十二月" } }, inputNumber: { decrease: "減少數值", increase: "增加數值" }, select: { loading: "載入中", noMatch: "無相符資料", noData: "無資料", placeholder: "請選擇" }, dropdown: { toggleDropdown: "切換下拉選單" }, cascader: { noMatch: "無相符資料", loading: "載入中", placeholder: "請選擇", noData: "無資料" }, pagination: { goto: "前往", pagesize: "項/頁", total: "共 {total} 項", pageClassifier: "頁", page: "頁", prev: "上一頁", next: "下一頁", currentPage: "第 {pager} 頁", prevPages: "向前 {pager} 頁", nextPages: "向后 {pager} 頁", deprecationWarning: "偵測到已過時的使用方式,請參閱 el-pagination 說明文件以了解更多資訊" }, dialog: { close: "關閉此對話框" }, drawer: { close: "關閉此對話框" }, messagebox: { title: "提示", confirm: "確定", cancel: "取消", error: "輸入的資料不符規定!", close: "關閉此對話框" }, upload: { deleteTip: "按一下 Delete 鍵以刪除", delete: "刪除", preview: "查看圖片", continue: "繼續上傳" }, slider: { defaultLabel: "滑桿介於 {min} 至 {max}", defaultRangeStartLabel: "選擇起始值", defaultRangeEndLabel: "選擇結束值" }, table: { emptyText: "暫無資料", confirmFilter: "篩選", resetFilter: "重置", clearFilter: "全部", sumText: "合計" }, tour: { next: "下一步", previous: "上一步", finish: "結束導覽" }, tree: { emptyText: "暫無資料" }, transfer: { noMatch: "無相符資料", noData: "無資料", titles: ["列表 1", "列表 2"], filterPlaceholder: "請輸入搜尋內容", noCheckedFormat: "共 {total} 項", hasCheckedFormat: "已選 {checked}/{total} 項" }, image: { error: "載入失敗" }, pageHeader: { title: "返回" }, popconfirm: { confirmButtonText: "確認", cancelButtonText: "取消" }, carousel: { leftArrow: "上一張投影片", rightArrow: "下一張投影片", indicator: "投影片切換至索引 {index}" } } };
|
|
27
|
+
if (B(), "undefined" != typeof CSS && "paintWorklet" in CSS) try {
|
|
27
28
|
CSS.paintWorklet.addModule(new URL("data:text/javascript;base64,LyoqCiAqIENTUyBIb3VkaW5pIFBhaW50IFdvcmtsZXQgLSBQaXhlbCBCb3JkZXIKICoKICogQ3JlYXRlcyBhdXRoZW50aWMgcGl4ZWxhdGVkIGJvcmRlcnMgZm9yIHJldHJvIFVJIGFlc3RoZXRpYwogKgogKiBDdXN0b20gUHJvcGVydGllczoKICogLSAtLXB4LWJvcmRlci1jb2xvcjogQm9yZGVyIGNvbG9yIChkZWZhdWx0OiAjMDAwMDAwKQogKiAtIC0tcHgtYm9yZGVyLXdpZHRoOiBCb3JkZXIgd2lkdGggaW4gcGl4ZWxzIChkZWZhdWx0OiAyKQogKiAtIC0tcHgtYm9yZGVyLXBpeGVsLXNpemU6IFNpemUgb2YgZWFjaCBwaXhlbCBibG9jayAoZGVmYXVsdDogMikKICovCgpjbGFzcyBQaXhlbEJvcmRlclBhaW50ZXIgewogIHN0YXRpYyBnZXQgaW5wdXRQcm9wZXJ0aWVzKCkgewogICAgcmV0dXJuIFsnLS1weC1ib3JkZXItY29sb3InLCA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lbC1zaGFkb3cnLCBQaXhlbFNoYWRvd1BhaW50ZXIpOwo=", import.meta.url).href);
|
|
28
29
|
} catch (e2) {
|
|
29
30
|
}
|
|
30
|
-
const
|
|
31
|
+
const N = /* @__PURE__ */ (function(e2) {
|
|
31
32
|
return (a2, o2) => {
|
|
32
|
-
|
|
33
|
+
k(e2, ((e3) => a2.use(e3))), o2 && I(o2, a2, true);
|
|
33
34
|
};
|
|
34
35
|
})(K);
|
|
35
36
|
export {
|
|
36
37
|
e as PxAlert,
|
|
37
|
-
o as
|
|
38
|
-
t as
|
|
39
|
-
l as
|
|
40
|
-
r as
|
|
41
|
-
c as
|
|
42
|
-
|
|
43
|
-
s as
|
|
44
|
-
p as
|
|
45
|
-
Z as
|
|
46
|
-
A as
|
|
47
|
-
|
|
48
|
-
G as
|
|
38
|
+
o as PxBadge,
|
|
39
|
+
t as PxButton,
|
|
40
|
+
l as PxButtonGroup,
|
|
41
|
+
r as PxCollapse,
|
|
42
|
+
c as PxCollapseItem,
|
|
43
|
+
C as PxConfigProvider,
|
|
44
|
+
s as PxDropdown,
|
|
45
|
+
p as PxDropdownItem,
|
|
46
|
+
Z as PxForm,
|
|
47
|
+
A as PxFormItem,
|
|
48
|
+
b as PxIcon,
|
|
49
|
+
G as PxInput,
|
|
50
|
+
y as PxLoading,
|
|
49
51
|
v as PxLoadingDirective,
|
|
50
52
|
L as PxLoadingService,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
w as PxMessage,
|
|
54
|
+
W as PxMessageBox,
|
|
55
|
+
X as PxNotification,
|
|
56
|
+
S as PxOption,
|
|
57
|
+
f as PxPopconfirm,
|
|
56
58
|
H as PxSelect,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
x as PxSwitch,
|
|
60
|
+
Y as PxTooltip,
|
|
61
|
+
N as default,
|
|
60
62
|
d as defaultPixelIcons,
|
|
61
63
|
E as en,
|
|
62
64
|
i as iconSizeMap,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
+
F as ja,
|
|
66
|
+
R as ko,
|
|
65
67
|
m as messageTypes,
|
|
66
68
|
a as notificationPosition,
|
|
67
69
|
n as notificationTypes,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
+
I as provideGlobalConfig,
|
|
71
|
+
B as registerDefaultPixelIcons,
|
|
70
72
|
u2 as useFormItem,
|
|
71
73
|
u as useGlobalConfig,
|
|
72
74
|
g as useSystemTheme,
|
|
73
75
|
h as useTheme,
|
|
74
76
|
v2 as vLoading,
|
|
75
|
-
|
|
76
|
-
|
|
77
|
+
Q as zhCn,
|
|
78
|
+
V as zhTw
|
|
77
79
|
};
|