sakana-element 2.4.0 → 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.
- package/dist/es/{Alert-DfLsJvQD.js → Alert-DdAShH-x.js} +2 -2
- package/dist/es/{Avatar-Ci4OKsv7.js → Avatar-BGTH7x40.js} +1 -1
- package/dist/es/{Badge-B4wEToK6.js → Badge-CYZ55qNe.js} +2 -2
- package/dist/es/{Breadcrumb-BFzww8jd.js → Breadcrumb-BTWTtzrN.js} +2 -2
- package/dist/es/{Button-DbFviVWb.js → Button-GsSCWg5x.js} +3 -3
- package/dist/es/{Card-ClRqKkc_.js → Card-BhgzwQqo.js} +1 -1
- package/dist/es/{ChatBubble-DFEV_lVI.js → ChatBubble-4F481Agj.js} +1 -1
- package/dist/es/{Checkbox-l86YI3Fr.js → Checkbox-C7vZGSTh.js} +3 -3
- package/dist/es/{Collapse-B67v6RSE.js → Collapse-CbcSQig5.js} +2 -2
- package/dist/es/{ConfigProvider-BCoGbcS5.js → ConfigProvider-K1UzjlRm.js} +20 -19
- package/dist/es/{Diff-BLiniLom.js → Diff-B747pgwb.js} +1 -1
- package/dist/es/{Divider-DDSOHv8G.js → Divider-BSu_1-AU.js} +1 -1
- package/dist/es/{Drawer-apeXw6EO.js → Drawer-I2lCgyba.js} +2 -2
- package/dist/es/{Dropdown-By9qIErf.js → Dropdown-B0J_c8Wv.js} +6 -6
- package/dist/es/{FileInput-CZ5jTfB_.js → FileInput-CFg1wpsH.js} +3 -3
- package/dist/es/{Filter-B_1zU4Dq.js → Filter-nA8j-62U.js} +3 -3
- package/dist/es/{Form-B_XDnSjK.js → Form-C1b8Igns.js} +4 -4
- package/dist/es/{Icon-D6qRB3pq.js → Icon-BulvH9Wm.js} +1 -1
- package/dist/es/{Indicator-C6Ip4dpP.js → Indicator-BbW4iUkh.js} +1 -1
- package/dist/es/Input-BUHFulIW.js +42 -0
- package/dist/es/{Kbd-DXNjs7at.js → Kbd-CeP2wkdE.js} +2 -2
- package/dist/es/{Link-08Ee61Fv.js → Link-Dks2bXo8.js} +1 -1
- package/dist/es/{Loading-ByI9mjss.js → Loading-DoBtVGWo.js} +18 -18
- package/dist/es/{Message-CGG-lV5I.js → Message-Ba_P4Wvy.js} +7 -7
- package/dist/es/{Notification-B4clKY5h.js → Notification-DzG8dLuk.js} +4 -4
- package/dist/es/{Overlay-6iPenJB1.js → Overlay-DeyTycv0.js} +1 -1
- package/dist/es/{Pixelate-A8J7jxDW.js → Pixelate-B21HKbSE.js} +1 -1
- package/dist/es/{Popconfirm-gcHGcOTz.js → Popconfirm-BqN3JxJ_.js} +5 -5
- package/dist/es/{Progress-DFUBJQ4X.js → Progress--6EJjbbM.js} +1 -1
- package/dist/es/{Radio-CLBa1XIM.js → Radio-CrdrvrFH.js} +3 -3
- package/dist/es/{Resizable-BWrFr2oj.js → Resizable-By3ijQf0.js} +1 -1
- package/dist/es/{Select-BtLqds1d.js → Select-Cq1Ucs_U.js} +34 -34
- package/dist/es/{Skeleton-CGUQv3nQ.js → Skeleton-ChCVgMSk.js} +1 -1
- package/dist/es/{Switch-CZJ-S77_.js → Switch-DURmSH-T.js} +3 -3
- package/dist/es/{Table-lHbxiyGq.js → Table-BE2f9u65.js} +1 -1
- package/dist/es/{Tooltip-CdPqNYdn.js → Tooltip-DR4Mc5Fh.js} +23 -23
- package/dist/es/{Validator-7ZT_nXDZ.js → Validator-BYn72MYn.js} +2 -2
- package/dist/es/{hooks-pU4JmsO3.js → hooks-dJGu-5DG.js} +73 -74
- package/dist/es/index.js +119 -107
- package/dist/es/utils-CnCdZsHG.js +155 -0
- package/dist/es/{vendor-DrBJKLFW.js → vendor-eombfMkP.js} +51 -53
- package/dist/index.css +1 -1
- package/dist/theme/Button.css +20 -0
- package/dist/types/components/Icon/index.d.ts +1 -0
- package/dist/types/components/Input/types.d.ts +2 -0
- package/dist/types/components/Select/index.d.ts +2 -0
- package/dist/types/core/index.d.ts +1 -1
- package/dist/types/hooks/index.d.ts +3 -0
- package/dist/types/hooks/useFocusController.d.ts +1 -1
- package/dist/types/hooks/useLocale.d.ts +9 -1
- 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 +1 -1
- package/dist/es/Input-bThwBbNZ.js +0 -42
- package/dist/es/utils-BXICIEsD.js +0 -139
package/dist/es/index.js
CHANGED
|
@@ -1,128 +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 { P as
|
|
11
|
-
import { E, u } from "./ConfigProvider-
|
|
12
|
-
import { P as
|
|
13
|
-
import { P as
|
|
14
|
-
import { P as
|
|
15
|
-
import { P as
|
|
16
|
-
import { P as
|
|
17
|
-
import { P as
|
|
18
|
-
import { P as
|
|
19
|
-
import { u as u2 } from "./Form-
|
|
20
|
-
import { a as
|
|
21
|
-
import { d, i } from "./Icon-
|
|
22
|
-
import { P as
|
|
23
|
-
import { P as
|
|
24
|
-
import { P as
|
|
25
|
-
import { P as
|
|
26
|
-
import { P, a as
|
|
27
|
-
import { v, L, v as v2 } from "./Loading-
|
|
28
|
-
import { P as
|
|
29
|
-
import { m } from "./Message-
|
|
30
|
-
import { P as
|
|
31
|
-
import { a, n } from "./Notification-
|
|
32
|
-
import { P as
|
|
33
|
-
import { P as
|
|
34
|
-
import { P as
|
|
35
|
-
import { P as
|
|
36
|
-
import { P as
|
|
37
|
-
import { P as
|
|
38
|
-
import { P as
|
|
39
|
-
import { P as
|
|
40
|
-
import { P as
|
|
41
|
-
import { t } from "./Table-
|
|
42
|
-
import { P as
|
|
43
|
-
import { P as
|
|
44
|
-
import { f as
|
|
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";
|
|
45
46
|
import "vue";
|
|
46
|
-
import {
|
|
47
|
-
const
|
|
48
|
-
if (
|
|
47
|
+
import { k as k2, g as g2, m as m2, n as n2, o, f, e } from "./utils-CnCdZsHG.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 {
|
|
49
50
|
CSS.paintWorklet.addModule(new URL("data:text/javascript;base64,LyoqCiAqIENTUyBIb3VkaW5pIFBhaW50IFdvcmtsZXQgLSBQaXhlbCBCb3JkZXIKICoKICogQ3JlYXRlcyBhdXRoZW50aWMgcGl4ZWxhdGVkIGJvcmRlcnMgZm9yIHJldHJvIFVJIGFlc3RoZXRpYwogKgogKiBDdXN0b20gUHJvcGVydGllczoKICogLSAtLXB4LWJvcmRlci1jb2xvcjogQm9yZGVyIGNvbG9yIChkZWZhdWx0OiAjMDAwMDAwKQogKiAtIC0tcHgtYm9yZGVyLXdpZHRoOiBCb3JkZXIgd2lkdGggaW4gcGl4ZWxzIChkZWZhdWx0OiAyKQogKiAtIC0tcHgtYm9yZGVyLXBpeGVsLXNpemU6IFNpemUgb2YgZWFjaCBwaXhl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eGVsU2l6ZSwgcGl4ZWxTaXplKTsKICAgICAgfQogICAgfQoKICAgIGN0eC5nbG9iYWxBbHBoYSA9IDE7CiAgfQp9CgovLyBSZWdpc3RlciB0aGUgcGFpbnQgd29ya2xldApyZWdpc3RlclBhaW50KCdwaXhlbC1zaGFkb3cnLCBQaXhlbFNoYWRvd1BhaW50ZXIpOwo=", import.meta.url).href);
|
|
50
|
-
} catch (
|
|
51
|
+
} catch (g3) {
|
|
51
52
|
}
|
|
52
|
-
const
|
|
53
|
+
const yg = /* @__PURE__ */ (function(g3) {
|
|
53
54
|
return (o2, I2) => {
|
|
54
|
-
|
|
55
|
+
Ag(g3, ((g4) => o2.use(g4))), I2 && w(I2, o2, true);
|
|
55
56
|
};
|
|
56
|
-
})(
|
|
57
|
+
})(rg);
|
|
57
58
|
export {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
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,
|
|
88
89
|
v as PxLoadingDirective,
|
|
89
|
-
|
|
90
|
+
O as PxLoadingIndicator,
|
|
90
91
|
L as PxLoadingService,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
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,
|
|
110
111
|
d as defaultPixelIcons,
|
|
111
112
|
E as en,
|
|
113
|
+
k2 as getIconNameMap,
|
|
114
|
+
g2 as getPixelIcon,
|
|
115
|
+
m2 as getRegisteredIconNames,
|
|
116
|
+
n2 as hasPixelIcon,
|
|
112
117
|
i as iconSizeMap,
|
|
113
|
-
|
|
114
|
-
|
|
118
|
+
Bg as ja,
|
|
119
|
+
bg as ko,
|
|
115
120
|
m as messageTypes,
|
|
116
121
|
a as notificationPosition,
|
|
117
122
|
n as notificationTypes,
|
|
118
|
-
|
|
119
|
-
|
|
123
|
+
w as provideGlobalConfig,
|
|
124
|
+
D as registerDefaultPixelIcons,
|
|
125
|
+
o as registerPixelIcon,
|
|
126
|
+
f as registerPixelIcons,
|
|
127
|
+
e as resolveIconName,
|
|
120
128
|
t as tableSize,
|
|
129
|
+
c as useClickOutside,
|
|
130
|
+
i2 as useDraggable,
|
|
131
|
+
h as useFocusTrap,
|
|
121
132
|
u2 as useFormItem,
|
|
122
133
|
u as useGlobalConfig,
|
|
134
|
+
g as useLocale,
|
|
123
135
|
j as useSystemTheme,
|
|
124
136
|
k as useTheme,
|
|
125
137
|
v2 as vLoading,
|
|
126
|
-
|
|
127
|
-
|
|
138
|
+
Gg as zhCn,
|
|
139
|
+
ng as zhTw
|
|
128
140
|
};
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { h as e, d as t, x as r } from "./vendor-eombfMkP.js";
|
|
2
|
+
import { defineComponent as o } from "vue";
|
|
3
|
+
function n(e2, t2) {
|
|
4
|
+
const r2 = parseInt(e2.replace("#", ""), 16);
|
|
5
|
+
return `#${(Math.max(0, (r2 >> 16) - Math.round(2.55 * t2)) << 16 | Math.max(0, (r2 >> 8 & 255) - Math.round(2.55 * t2)) << 8 | Math.max(0, (255 & r2) - Math.round(2.55 * t2))).toString(16).padStart(6, "0")}`;
|
|
6
|
+
}
|
|
7
|
+
function a(e2, t2) {
|
|
8
|
+
const r2 = parseInt(e2.replace("#", ""), 16);
|
|
9
|
+
return `#${(Math.min(255, (r2 >> 16) + Math.round(2.55 * t2)) << 16 | Math.min(255, (r2 >> 8 & 255) + Math.round(2.55 * t2)) << 8 | Math.min(255, (255 & r2) + Math.round(2.55 * t2))).toString(16).padStart(6, "0")}`;
|
|
10
|
+
}
|
|
11
|
+
function c(e2) {
|
|
12
|
+
const t2 = parseInt(e2.replace("#", ""), 16);
|
|
13
|
+
return (0.299 * (t2 >> 16) + 0.587 * (t2 >> 8 & 255) + 0.114 * (255 & t2)) / 255 > 0.6 ? "#1e1e2e" : "#ffffff";
|
|
14
|
+
}
|
|
15
|
+
function s(e2) {
|
|
16
|
+
return { color: e2, dark: n(e2, 15), light: a(e2, 35), contrast: c(e2), transparent: "transparent" };
|
|
17
|
+
}
|
|
18
|
+
function i(e2, t2, r2) {
|
|
19
|
+
const o2 = {};
|
|
20
|
+
for (const [n2, a2] of Object.entries(r2)) o2[`--${t2}-${n2}`] = e2[a2];
|
|
21
|
+
return o2;
|
|
22
|
+
}
|
|
23
|
+
const l = { outline: { "text-color": "color", "bg-color": "transparent", "border-color": "color", "shadow-color": "transparent" }, dash: { "text-color": "color", "bg-color": "light", "border-color": "color", "shadow-color": "transparent" }, default: { "text-color": "contrast", "bg-color": "color", "border-color": "dark", "shadow-color": "dark" } };
|
|
24
|
+
function u(e2, t2) {
|
|
25
|
+
}
|
|
26
|
+
const f = { spinner: "loader", loading: "loader", "eye-slash": "eye-closed", "eye-off": "eye-closed", xmark: "close", x: "close", times: "close", "circle-xmark": "close-box", "x-circle": "close-box", "times-circle": "close-box", error: "close-box", "circle-info": "info-box", "info-circle": "info-box", info: "info-box", "check-circle": "check", "circle-check": "check", success: "check", "circle-exclamation": "warning-box", "exclamation-circle": "warning-box", warning: "warning-box", "angle-down": "chevron-down", "caret-down": "chevron-down", "angle-up": "chevron-up", "caret-up": "chevron-up", "angle-left": "chevron-left", "caret-left": "chevron-left", "angle-right": "chevron-right", "caret-right": "chevron-right", "question-circle": "info-box", "circle-question": "info-box", help: "info-box", question: "info-box", gear: "sliders", cog: "sliders", settings: "sliders", star: "bookmark", "star-solid": "bookmark" };
|
|
27
|
+
function d(e2) {
|
|
28
|
+
return e2 in f ? f[e2] : e2;
|
|
29
|
+
}
|
|
30
|
+
function h() {
|
|
31
|
+
return { ...f };
|
|
32
|
+
}
|
|
33
|
+
const g = /* @__PURE__ */ new Set(["svg", "path", "rect", "circle", "ellipse", "line", "polyline", "polygon", "g", "defs", "clipPath", "mask", "title", "desc", "linearGradient", "radialGradient", "stop", "symbol", "use"]), p = /^on/i, m = /^\s*javascript\s*:/i;
|
|
34
|
+
function b(e2) {
|
|
35
|
+
if (!e2 || "string" != typeof e2) return "";
|
|
36
|
+
if ("undefined" == typeof DOMParser) return "";
|
|
37
|
+
const t2 = new DOMParser().parseFromString(e2, "image/svg+xml");
|
|
38
|
+
return t2.querySelector("parsererror") ? "" : (x(t2.documentElement), t2.documentElement.outerHTML);
|
|
39
|
+
}
|
|
40
|
+
function x(e2) {
|
|
41
|
+
const t2 = Array.from(e2.children);
|
|
42
|
+
for (const e3 of t2) {
|
|
43
|
+
const t3 = e3.tagName.toLowerCase();
|
|
44
|
+
if (g.has(t3)) {
|
|
45
|
+
for (const t4 of Array.from(e3.attributes)) (p.test(t4.name) || "href" === t4.name && m.test(t4.value) || "xlink:href" === t4.name && m.test(t4.value)) && e3.removeAttribute(t4.name);
|
|
46
|
+
x(e3);
|
|
47
|
+
} else e3.remove();
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
const M = /* @__PURE__ */ new Map();
|
|
51
|
+
function v(e2, t2) {
|
|
52
|
+
M.set(e2, b(t2));
|
|
53
|
+
}
|
|
54
|
+
function w(e2) {
|
|
55
|
+
for (const [t2, r2] of Object.entries(e2)) M.set(t2, b(r2));
|
|
56
|
+
}
|
|
57
|
+
function k(e2) {
|
|
58
|
+
return M.get(e2);
|
|
59
|
+
}
|
|
60
|
+
function y(e2) {
|
|
61
|
+
return M.has(e2);
|
|
62
|
+
}
|
|
63
|
+
function S() {
|
|
64
|
+
return Array.from(M.keys());
|
|
65
|
+
}
|
|
66
|
+
const N = (e2) => (e2.install = (t2) => {
|
|
67
|
+
const r2 = e2.name;
|
|
68
|
+
t2.component(r2, e2);
|
|
69
|
+
}, e2), $ = (e2, t2) => (e2.install = (r2) => {
|
|
70
|
+
r2.config.globalProperties[t2] = e2;
|
|
71
|
+
}, e2);
|
|
72
|
+
function F(e2, t2) {
|
|
73
|
+
for (; e2.length >= t2; ) e2[0].props.onDestroy();
|
|
74
|
+
}
|
|
75
|
+
function I(e2) {
|
|
76
|
+
let t2 = false, r2 = 0;
|
|
77
|
+
const o2 = (t3) => {
|
|
78
|
+
var _a;
|
|
79
|
+
"Escape" === t3.code && ((_a = e2()) == null ? void 0 : _a.handler.close());
|
|
80
|
+
};
|
|
81
|
+
return { register() {
|
|
82
|
+
r2++, t2 || (document.addEventListener("keydown", o2), t2 = true);
|
|
83
|
+
}, unregister() {
|
|
84
|
+
r2--, r2 <= 0 && (document.removeEventListener("keydown", o2), t2 = false, r2 = 0);
|
|
85
|
+
} };
|
|
86
|
+
}
|
|
87
|
+
function j(e2, t2, r2, o2) {
|
|
88
|
+
if (0 === o2.length) return [e2, t2, r2];
|
|
89
|
+
let n2 = 1 / 0, a2 = o2[0];
|
|
90
|
+
for (const c2 of o2) {
|
|
91
|
+
const o3 = (e2 - c2[0]) ** 2 + (t2 - c2[1]) ** 2 + (r2 - c2[2]) ** 2;
|
|
92
|
+
if (0 === o3) return c2;
|
|
93
|
+
o3 < n2 && (n2 = o3, a2 = c2);
|
|
94
|
+
}
|
|
95
|
+
return a2;
|
|
96
|
+
}
|
|
97
|
+
function O(e2, t2, r2) {
|
|
98
|
+
const o2 = e2.getContext("2d");
|
|
99
|
+
if (!o2) return;
|
|
100
|
+
const { pixelSize: n2, grayscale: a2 = false, palette: c2, background: s2 = "#FFFFFF" } = r2, i2 = t2.naturalWidth, l2 = t2.naturalHeight;
|
|
101
|
+
e2.width = i2, e2.height = l2, o2.drawImage(t2, 0, 0, i2, l2);
|
|
102
|
+
const u2 = o2.getImageData(0, 0, i2, l2).data, f2 = Math.max(1, Math.round(n2)), d2 = c2 ? (function(e3) {
|
|
103
|
+
return e3.map(((e4) => "string" == typeof e4 ? (function(e5) {
|
|
104
|
+
const t3 = e5.replace("#", "");
|
|
105
|
+
return [parseInt(t3.substring(0, 2), 16), parseInt(t3.substring(2, 4), 16), parseInt(t3.substring(4, 6), 16)];
|
|
106
|
+
})(e4) : e4));
|
|
107
|
+
})(c2) : null;
|
|
108
|
+
o2.fillStyle = s2, o2.fillRect(0, 0, i2, l2);
|
|
109
|
+
for (let e3 = 0; e3 < l2; e3 += f2) for (let t3 = 0; t3 < i2; t3 += f2) {
|
|
110
|
+
const r3 = Math.min(f2, i2 - t3), n3 = Math.min(f2, l2 - e3);
|
|
111
|
+
let c3 = 0, s3 = 0, h2 = 0, g2 = 0;
|
|
112
|
+
for (let o3 = 0; o3 < n3; o3++) for (let n4 = 0; n4 < r3; n4++) {
|
|
113
|
+
const r4 = 4 * ((e3 + o3) * i2 + (t3 + n4));
|
|
114
|
+
c3 += u2[r4], s3 += u2[r4 + 1], h2 += u2[r4 + 2], g2++;
|
|
115
|
+
}
|
|
116
|
+
let p2 = Math.round(c3 / g2), m2 = Math.round(s3 / g2), b2 = Math.round(h2 / g2);
|
|
117
|
+
a2 && (p2 = m2 = b2 = Math.round(0.299 * p2 + 0.587 * m2 + 0.114 * b2)), d2 && ([p2, m2, b2] = j(p2, m2, b2, d2)), o2.fillStyle = `rgb(${p2},${m2},${b2})`, o2.fillRect(t3, e3, r3, n3);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
function q(r2, o2 = "px") {
|
|
121
|
+
return r2 ? e(r2) || ((e2) => !!t(e2) && !Number.isNaN(Number(e2)))(r2) ? `${r2}${o2}` : t(r2) ? r2 : void 0 : "";
|
|
122
|
+
}
|
|
123
|
+
function E(e2, t2, r2) {
|
|
124
|
+
return Math.max(t2, Math.min(r2, e2));
|
|
125
|
+
}
|
|
126
|
+
const A = /* @__PURE__ */ new Map([["info", "info-box"], ["success", "check"], ["warning", "warning-box"], ["danger", "close-box"], ["error", "close-box"]]), D = o({ props: { vNode: { type: [String, Object, Function], required: true } }, setup: (e2) => () => r(e2.vNode) ? e2.vNode() : e2.vNode }), L = (e2, t2) => {
|
|
127
|
+
const r2 = e2.__vccOpts || e2;
|
|
128
|
+
for (const [e3, o2] of t2) r2[e3] = o2;
|
|
129
|
+
return r2;
|
|
130
|
+
};
|
|
131
|
+
export {
|
|
132
|
+
D as R,
|
|
133
|
+
l as S,
|
|
134
|
+
L as _,
|
|
135
|
+
E as a,
|
|
136
|
+
q as b,
|
|
137
|
+
s as c,
|
|
138
|
+
u as d,
|
|
139
|
+
d as e,
|
|
140
|
+
w as f,
|
|
141
|
+
k as g,
|
|
142
|
+
F as h,
|
|
143
|
+
I as i,
|
|
144
|
+
$ as j,
|
|
145
|
+
h as k,
|
|
146
|
+
a as l,
|
|
147
|
+
S as m,
|
|
148
|
+
y as n,
|
|
149
|
+
v as o,
|
|
150
|
+
O as p,
|
|
151
|
+
i as r,
|
|
152
|
+
b as s,
|
|
153
|
+
A as t,
|
|
154
|
+
N as w
|
|
155
|
+
};
|