asterui 0.12.47 → 0.12.49
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/components/Command.d.ts +65 -0
- package/dist/components/Command.js +422 -0
- package/dist/components/Command.js.map +1 -0
- package/dist/components/Descriptions.d.ts +24 -6
- package/dist/components/Descriptions.js +203 -116
- package/dist/components/Descriptions.js.map +1 -1
- package/dist/components/Notification.js +6 -6
- package/dist/components/Notification.js.map +1 -1
- package/dist/components/QRCode.js +48 -50
- package/dist/components/QRCode.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +208 -206
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,62 +1,60 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
2
|
-
import { useRef as
|
|
3
|
-
import
|
|
4
|
-
const
|
|
5
|
-
value:
|
|
1
|
+
import { jsx as e, jsxs as b } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as R, useEffect as C } from "react";
|
|
3
|
+
import w from "qrcode";
|
|
4
|
+
const Q = ({
|
|
5
|
+
value: o,
|
|
6
6
|
size: a = 160,
|
|
7
7
|
errorLevel: v = "M",
|
|
8
|
-
icon:
|
|
8
|
+
icon: m,
|
|
9
9
|
iconSize: t = 40,
|
|
10
|
-
type:
|
|
11
|
-
color:
|
|
12
|
-
bgColor:
|
|
13
|
-
bordered:
|
|
14
|
-
status:
|
|
15
|
-
onRefresh:
|
|
16
|
-
className:
|
|
17
|
-
...
|
|
10
|
+
type: f = "canvas",
|
|
11
|
+
color: g = "#000000",
|
|
12
|
+
bgColor: h = "#FFFFFF",
|
|
13
|
+
bordered: n = !0,
|
|
14
|
+
status: s = "active",
|
|
15
|
+
onRefresh: x,
|
|
16
|
+
className: y = "",
|
|
17
|
+
...l
|
|
18
18
|
}) => {
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}, [n]), R(() => {
|
|
23
|
-
if (n !== "active" || !m) return;
|
|
19
|
+
const c = R(null);
|
|
20
|
+
C(() => {
|
|
21
|
+
if (s !== "active" || !o || f !== "canvas") return;
|
|
24
22
|
(async () => {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
23
|
+
if (c.current)
|
|
24
|
+
try {
|
|
25
|
+
if (await w.toCanvas(c.current, o, {
|
|
26
|
+
width: a,
|
|
27
|
+
margin: 1,
|
|
28
|
+
color: {
|
|
29
|
+
dark: g,
|
|
30
|
+
light: h
|
|
31
|
+
},
|
|
32
|
+
errorCorrectionLevel: v
|
|
33
|
+
}), m && c.current) {
|
|
34
|
+
const i = c.current.getContext("2d");
|
|
35
|
+
if (i) {
|
|
36
|
+
const d = new Image();
|
|
37
|
+
d.crossOrigin = "anonymous", d.onload = () => {
|
|
38
|
+
const u = (a - t) / 2, N = (a - t) / 2;
|
|
39
|
+
i.fillStyle = h, i.fillRect(u - 4, N - 4, t + 8, t + 8), i.drawImage(d, u, N, t, t);
|
|
40
|
+
}, d.src = m;
|
|
41
|
+
}
|
|
42
42
|
}
|
|
43
|
+
} catch (p) {
|
|
44
|
+
console.error("QR Code generation error:", p);
|
|
43
45
|
}
|
|
44
|
-
i(!1);
|
|
45
|
-
} catch (N) {
|
|
46
|
-
console.error("QR Code generation error:", N), i(!1);
|
|
47
|
-
}
|
|
48
46
|
})();
|
|
49
|
-
}, [
|
|
47
|
+
}, [o, a, v, m, t, f, g, h, s]);
|
|
50
48
|
const r = [
|
|
51
49
|
"inline-flex items-center justify-center",
|
|
52
|
-
|
|
50
|
+
n && "border border-base-content/20 p-3",
|
|
53
51
|
"bg-base-100",
|
|
54
|
-
|
|
52
|
+
y
|
|
55
53
|
].filter(Boolean).join(" ");
|
|
56
|
-
return
|
|
54
|
+
return s === "loading" ? /* @__PURE__ */ e("div", { className: r, style: { width: a + (n ? 24 : 0), height: a + (n ? 24 : 0) }, "data-state": "loading", ...l, children: /* @__PURE__ */ b("div", { className: "flex flex-col items-center justify-center gap-2", children: [
|
|
57
55
|
/* @__PURE__ */ e("span", { className: "loading loading-spinner loading-lg" }),
|
|
58
56
|
/* @__PURE__ */ e("span", { className: "text-sm text-base-content/70", children: "Loading..." })
|
|
59
|
-
] }) }) :
|
|
57
|
+
] }) }) : s === "expired" ? /* @__PURE__ */ e("div", { className: r, style: { width: a + (n ? 24 : 0), height: a + (n ? 24 : 0) }, "data-state": "expired", ...l, children: /* @__PURE__ */ b("div", { className: "flex flex-col items-center justify-center gap-2", children: [
|
|
60
58
|
/* @__PURE__ */ e("svg", { className: "w-12 h-12 text-base-content/30", fill: "currentColor", viewBox: "0 0 20 20", children: /* @__PURE__ */ e(
|
|
61
59
|
"path",
|
|
62
60
|
{
|
|
@@ -66,12 +64,12 @@ const k = ({
|
|
|
66
64
|
}
|
|
67
65
|
) }),
|
|
68
66
|
/* @__PURE__ */ e("span", { className: "text-sm text-base-content/70", children: "QR Code Expired" }),
|
|
69
|
-
|
|
70
|
-
] }) }) :
|
|
67
|
+
x && /* @__PURE__ */ e("button", { className: "btn btn-sm btn-primary", onClick: x, children: "Refresh" })
|
|
68
|
+
] }) }) : f === "canvas" ? /* @__PURE__ */ e("div", { className: "inline-block", "data-state": "active", ...l, children: /* @__PURE__ */ e("div", { className: r, children: /* @__PURE__ */ e("canvas", { ref: c, style: { display: "block" } }) }) }) : /* @__PURE__ */ e("div", { className: "inline-block", "data-state": "active", ...l, children: /* @__PURE__ */ e("div", { className: r, children: /* @__PURE__ */ e("div", { style: { width: a, height: a }, className: "bg-base-content/5", children: /* @__PURE__ */ e("span", { className: "text-xs text-base-content/50", children: "SVG mode placeholder" }) }) }) });
|
|
71
69
|
};
|
|
72
|
-
|
|
70
|
+
Q.displayName = "QRCode";
|
|
73
71
|
export {
|
|
74
|
-
|
|
75
|
-
|
|
72
|
+
Q as QRCode,
|
|
73
|
+
Q as default
|
|
76
74
|
};
|
|
77
75
|
//# sourceMappingURL=QRCode.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QRCode.js","sources":["../../src/components/QRCode.tsx"],"sourcesContent":["import React, { useEffect, useRef
|
|
1
|
+
{"version":3,"file":"QRCode.js","sources":["../../src/components/QRCode.tsx"],"sourcesContent":["import React, { useEffect, useRef } from 'react'\nimport QRCodeLib from 'qrcode'\n\nexport type QRCodeErrorLevel = 'L' | 'M' | 'Q' | 'H'\nexport type QRCodeType = 'canvas' | 'svg'\nexport type QRCodeStatus = 'active' | 'loading' | 'expired'\n\nexport interface QRCodeProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'> {\n value: string\n size?: number\n errorLevel?: QRCodeErrorLevel\n icon?: string\n iconSize?: number\n type?: QRCodeType\n color?: string\n bgColor?: string\n bordered?: boolean\n status?: QRCodeStatus\n onRefresh?: () => void\n}\n\nexport const QRCode: React.FC<QRCodeProps> = ({\n value,\n size = 160,\n errorLevel = 'M',\n icon,\n iconSize = 40,\n type = 'canvas',\n color = '#000000',\n bgColor = '#FFFFFF',\n bordered = true,\n status = 'active',\n onRefresh,\n className = '',\n ...rest\n}) => {\n const canvasRef = useRef<HTMLCanvasElement>(null)\n\n useEffect(() => {\n if (status !== 'active' || !value || type !== 'canvas') return\n\n const generateQRCode = async () => {\n if (!canvasRef.current) return\n\n try {\n await QRCodeLib.toCanvas(canvasRef.current, value, {\n width: size,\n margin: 1,\n color: {\n dark: color,\n light: bgColor,\n },\n errorCorrectionLevel: errorLevel,\n })\n\n if (icon && canvasRef.current) {\n const canvas = canvasRef.current\n const ctx = canvas.getContext('2d')\n if (ctx) {\n const img = new Image()\n img.crossOrigin = 'anonymous'\n img.onload = () => {\n const iconX = (size - iconSize) / 2\n const iconY = (size - iconSize) / 2\n ctx.fillStyle = bgColor\n ctx.fillRect(iconX - 4, iconY - 4, iconSize + 8, iconSize + 8)\n ctx.drawImage(img, iconX, iconY, iconSize, iconSize)\n }\n img.src = icon\n }\n }\n } catch (error) {\n console.error('QR Code generation error:', error)\n }\n }\n\n generateQRCode()\n }, [value, size, errorLevel, icon, iconSize, type, color, bgColor, status])\n\n // Download functionality can be implemented by consumers\n // by accessing the canvas ref and converting to data URL\n\n const containerClasses = [\n 'inline-flex items-center justify-center',\n bordered && 'border border-base-content/20 p-3',\n 'bg-base-100',\n className,\n ]\n .filter(Boolean)\n .join(' ')\n\n if (status === 'loading') {\n return (\n <div className={containerClasses} style={{ width: size + (bordered ? 24 : 0), height: size + (bordered ? 24 : 0) }} data-state=\"loading\" {...rest}>\n <div className=\"flex flex-col items-center justify-center gap-2\">\n <span className=\"loading loading-spinner loading-lg\"></span>\n <span className=\"text-sm text-base-content/70\">Loading...</span>\n </div>\n </div>\n )\n }\n\n if (status === 'expired') {\n return (\n <div className={containerClasses} style={{ width: size + (bordered ? 24 : 0), height: size + (bordered ? 24 : 0) }} data-state=\"expired\" {...rest}>\n <div className=\"flex flex-col items-center justify-center gap-2\">\n <svg className=\"w-12 h-12 text-base-content/30\" fill=\"currentColor\" viewBox=\"0 0 20 20\">\n <path\n fillRule=\"evenodd\"\n d=\"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z\"\n clipRule=\"evenodd\"\n />\n </svg>\n <span className=\"text-sm text-base-content/70\">QR Code Expired</span>\n {onRefresh && (\n <button className=\"btn btn-sm btn-primary\" onClick={onRefresh}>\n Refresh\n </button>\n )}\n </div>\n </div>\n )\n }\n\n if (type === 'canvas') {\n return (\n <div className=\"inline-block\" data-state=\"active\" {...rest}>\n <div className={containerClasses}>\n <canvas ref={canvasRef} style={{ display: 'block' }} />\n </div>\n </div>\n )\n }\n\n return (\n <div className=\"inline-block\" data-state=\"active\" {...rest}>\n <div className={containerClasses}>\n <div style={{ width: size, height: size }} className=\"bg-base-content/5\">\n <span className=\"text-xs text-base-content/50\">SVG mode placeholder</span>\n </div>\n </div>\n </div>\n )\n}\n\nQRCode.displayName = 'QRCode'\n\nexport default QRCode\n"],"names":["QRCode","value","size","errorLevel","icon","iconSize","type","color","bgColor","bordered","status","onRefresh","className","rest","canvasRef","useRef","useEffect","QRCodeLib","ctx","img","iconX","iconY","error","containerClasses","jsx","jsxs"],"mappings":";;;AAqBO,MAAMA,IAAgC,CAAC;AAAA,EAC5C,OAAAC;AAAA,EACA,MAAAC,IAAO;AAAA,EACP,YAAAC,IAAa;AAAA,EACb,MAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,MAAAC,IAAO;AAAA,EACP,OAAAC,IAAQ;AAAA,EACR,SAAAC,IAAU;AAAA,EACV,UAAAC,IAAW;AAAA,EACX,QAAAC,IAAS;AAAA,EACT,WAAAC;AAAA,EACA,WAAAC,IAAY;AAAA,EACZ,GAAGC;AACL,MAAM;AACJ,QAAMC,IAAYC,EAA0B,IAAI;AAEhD,EAAAC,EAAU,MAAM;AACd,QAAIN,MAAW,YAAY,CAACT,KAASK,MAAS,SAAU;AAqCxD,KAnCuB,YAAY;AACjC,UAAKQ,EAAU;AAEf,YAAI;AAWF,cAVA,MAAMG,EAAU,SAASH,EAAU,SAASb,GAAO;AAAA,YACjD,OAAOC;AAAA,YACP,QAAQ;AAAA,YACR,OAAO;AAAA,cACL,MAAMK;AAAA,cACN,OAAOC;AAAA,YAAA;AAAA,YAET,sBAAsBL;AAAA,UAAA,CACvB,GAEGC,KAAQU,EAAU,SAAS;AAE7B,kBAAMI,IADSJ,EAAU,QACN,WAAW,IAAI;AAClC,gBAAII,GAAK;AACP,oBAAMC,IAAM,IAAI,MAAA;AAChB,cAAAA,EAAI,cAAc,aAClBA,EAAI,SAAS,MAAM;AACjB,sBAAMC,KAASlB,IAAOG,KAAY,GAC5BgB,KAASnB,IAAOG,KAAY;AAClC,gBAAAa,EAAI,YAAYV,GAChBU,EAAI,SAASE,IAAQ,GAAGC,IAAQ,GAAGhB,IAAW,GAAGA,IAAW,CAAC,GAC7Da,EAAI,UAAUC,GAAKC,GAAOC,GAAOhB,GAAUA,CAAQ;AAAA,cACrD,GACAc,EAAI,MAAMf;AAAA,YACZ;AAAA,UACF;AAAA,QACF,SAASkB,GAAO;AACd,kBAAQ,MAAM,6BAA6BA,CAAK;AAAA,QAClD;AAAA,IACF,GAEA;AAAA,EACF,GAAG,CAACrB,GAAOC,GAAMC,GAAYC,GAAMC,GAAUC,GAAMC,GAAOC,GAASE,CAAM,CAAC;AAK1E,QAAMa,IAAmB;AAAA,IACvB;AAAA,IACAd,KAAY;AAAA,IACZ;AAAA,IACAG;AAAA,EAAA,EAEC,OAAO,OAAO,EACd,KAAK,GAAG;AAEX,SAAIF,MAAW,YAEX,gBAAAc,EAAC,OAAA,EAAI,WAAWD,GAAkB,OAAO,EAAE,OAAOrB,KAAQO,IAAW,KAAK,IAAI,QAAQP,KAAQO,IAAW,KAAK,GAAA,GAAM,cAAW,WAAW,GAAGI,GAC3I,UAAA,gBAAAY,EAAC,OAAA,EAAI,WAAU,mDACb,UAAA;AAAA,IAAA,gBAAAD,EAAC,QAAA,EAAK,WAAU,qCAAA,CAAqC;AAAA,IACrD,gBAAAA,EAAC,QAAA,EAAK,WAAU,gCAA+B,UAAA,aAAA,CAAU;AAAA,EAAA,EAAA,CAC3D,EAAA,CACF,IAIAd,MAAW,YAEX,gBAAAc,EAAC,OAAA,EAAI,WAAWD,GAAkB,OAAO,EAAE,OAAOrB,KAAQO,IAAW,KAAK,IAAI,QAAQP,KAAQO,IAAW,KAAK,GAAA,GAAM,cAAW,WAAW,GAAGI,GAC3I,UAAA,gBAAAY,EAAC,OAAA,EAAI,WAAU,mDACb,UAAA;AAAA,IAAA,gBAAAD,EAAC,SAAI,WAAU,kCAAiC,MAAK,gBAAe,SAAQ,aAC1E,UAAA,gBAAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,UAAS;AAAA,QACT,GAAE;AAAA,QACF,UAAS;AAAA,MAAA;AAAA,IAAA,GAEb;AAAA,IACA,gBAAAA,EAAC,QAAA,EAAK,WAAU,gCAA+B,UAAA,mBAAe;AAAA,IAC7Db,KACC,gBAAAa,EAAC,UAAA,EAAO,WAAU,0BAAyB,SAASb,GAAW,UAAA,UAAA,CAE/D;AAAA,EAAA,EAAA,CAEJ,EAAA,CACF,IAIAL,MAAS,WAET,gBAAAkB,EAAC,SAAI,WAAU,gBAAe,cAAW,UAAU,GAAGX,GACpD,UAAA,gBAAAW,EAAC,OAAA,EAAI,WAAWD,GACd,UAAA,gBAAAC,EAAC,UAAA,EAAO,KAAKV,GAAW,OAAO,EAAE,SAAS,QAAA,GAAW,EAAA,CACvD,EAAA,CACF,IAKF,gBAAAU,EAAC,OAAA,EAAI,WAAU,gBAAe,cAAW,UAAU,GAAGX,GACpD,UAAA,gBAAAW,EAAC,OAAA,EAAI,WAAWD,GACd,4BAAC,OAAA,EAAI,OAAO,EAAE,OAAOrB,GAAM,QAAQA,EAAA,GAAQ,WAAU,qBACnD,UAAA,gBAAAsB,EAAC,QAAA,EAAK,WAAU,gCAA+B,UAAA,uBAAA,CAAoB,EAAA,CACrE,GACF,GACF;AAEJ;AAEAxB,EAAO,cAAc;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -36,6 +36,8 @@ export type { Locale } from './locale';
|
|
|
36
36
|
export { enUS, enGB, enCA, zhCN, esES, jaJP, ptBR, deDE, frFR, koKR } from './locale';
|
|
37
37
|
export { Collapse } from './components/Collapse';
|
|
38
38
|
export type { CollapseProps, CollapseItemType, CollapseSize, CollapseIconPosition, CollapseCollapsible } from './components/Collapse';
|
|
39
|
+
export { Command } from './components/Command';
|
|
40
|
+
export type { CommandProps, CommandItemConfig } from './components/Command';
|
|
39
41
|
export { Container } from './components/Container';
|
|
40
42
|
export type { ContainerProps } from './components/Container';
|
|
41
43
|
export { ContextMenu } from './components/ContextMenu';
|
package/dist/index.js
CHANGED
|
@@ -16,104 +16,105 @@ import { Carousel as M } from "./components/Carousel.js";
|
|
|
16
16
|
import { Cascader as I } from "./components/Cascader.js";
|
|
17
17
|
import { ConfigContext as G, ConfigProvider as H, useComponentLocale as K, useConfig as z, useLocale as E } from "./components/ConfigProvider.js";
|
|
18
18
|
import { Collapse as W } from "./components/Collapse.js";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import { default as ct } from "./locale/en-
|
|
109
|
-
import { default as Tt } from "./locale/en-
|
|
110
|
-
import { default as Pt } from "./locale/
|
|
111
|
-
import { default as Rt } from "./locale/
|
|
112
|
-
import { default as vt } from "./locale/
|
|
113
|
-
import { default as ht } from "./locale/
|
|
114
|
-
import { default as yt } from "./locale/
|
|
115
|
-
import { default as Ft } from "./locale/
|
|
116
|
-
import { default as At } from "./locale/
|
|
19
|
+
import { Command as O } from "./components/Command.js";
|
|
20
|
+
import { Container as j } from "./components/Container.js";
|
|
21
|
+
import { ContextMenu as Q } from "./components/ContextMenu.js";
|
|
22
|
+
import { Countdown as X } from "./components/Countdown.js";
|
|
23
|
+
import { DatePicker as Z } from "./components/DatePicker.js";
|
|
24
|
+
import { Descriptions as $ } from "./components/Descriptions.js";
|
|
25
|
+
import { Diff as ro } from "./components/Diff.js";
|
|
26
|
+
import { Dock as to } from "./components/Dock.js";
|
|
27
|
+
import { Divider as fo } from "./components/Divider.js";
|
|
28
|
+
import { Drawer as xo } from "./components/Drawer.js";
|
|
29
|
+
import { ResponsiveDrawer as so } from "./components/ResponsiveDrawer.js";
|
|
30
|
+
import { Fieldset as io } from "./components/Fieldset.js";
|
|
31
|
+
import { FileInput as lo } from "./components/FileInput.js";
|
|
32
|
+
import { Filter as co } from "./components/Filter.js";
|
|
33
|
+
import { Flex as To } from "./components/Flex.js";
|
|
34
|
+
import { FloatButton as Po } from "./components/FloatButton.js";
|
|
35
|
+
import { Footer as Ro } from "./components/Footer.js";
|
|
36
|
+
import { Form as vo, useFormInstance as Do } from "./components/Form.js";
|
|
37
|
+
import { Col as wo, Grid as yo, Row as Bo } from "./components/Grid.js";
|
|
38
|
+
import { Hero as Mo } from "./components/Hero.js";
|
|
39
|
+
import { HoverGallery as Io } from "./components/HoverGallery.js";
|
|
40
|
+
import { Image as Go } from "./components/Image.js";
|
|
41
|
+
import { Dropdown as Ko } from "./components/Dropdown.js";
|
|
42
|
+
import { Empty as Eo } from "./components/Empty.js";
|
|
43
|
+
import { Input as Wo } from "./components/Input.js";
|
|
44
|
+
import { InputNumber as Oo } from "./components/InputNumber.js";
|
|
45
|
+
import { Join as jo } from "./components/Join.js";
|
|
46
|
+
import { Kbd as Qo } from "./components/Kbd.js";
|
|
47
|
+
import { Layout as Xo, useSiderContext as Yo } from "./components/Layout.js";
|
|
48
|
+
import { List as _o } from "./components/List.js";
|
|
49
|
+
import { Loading as or } from "./components/Loading.js";
|
|
50
|
+
import { Mask as er } from "./components/Mask.js";
|
|
51
|
+
import { Masonry as pr } from "./components/Masonry.js";
|
|
52
|
+
import { Mention as mr } from "./components/Mention.js";
|
|
53
|
+
import { Menu as ar } from "./components/Menu.js";
|
|
54
|
+
import { Browser as nr } from "./components/Browser.js";
|
|
55
|
+
import { Code as ur } from "./components/Code.js";
|
|
56
|
+
import { Phone as dr } from "./components/Phone.js";
|
|
57
|
+
import { Window as cr } from "./components/Window.js";
|
|
58
|
+
import { Modal as Tr } from "./components/Modal.js";
|
|
59
|
+
import { Navbar as Pr } from "./components/Navbar.js";
|
|
60
|
+
import { notification as Rr } from "./components/Notification.js";
|
|
61
|
+
import { MessageManager as vr, message as Dr } from "./components/Message.js";
|
|
62
|
+
import { OTPInput as wr } from "./components/OTPInput.js";
|
|
63
|
+
import { Pagination as Br } from "./components/Pagination.js";
|
|
64
|
+
import { Popconfirm as Mr } from "./components/Popconfirm.js";
|
|
65
|
+
import { Popover as Ir } from "./components/Popover.js";
|
|
66
|
+
import { Progress as Gr } from "./components/Progress.js";
|
|
67
|
+
import { Radio as Kr } from "./components/Radio.js";
|
|
68
|
+
import { RadialProgress as Er } from "./components/RadialProgress.js";
|
|
69
|
+
import { Range as Wr } from "./components/Range.js";
|
|
70
|
+
import { Rating as Or } from "./components/Rating.js";
|
|
71
|
+
import { Result as jr } from "./components/Result.js";
|
|
72
|
+
import { Select as Qr } from "./components/Select.js";
|
|
73
|
+
import { Segmented as Xr } from "./components/Segmented.js";
|
|
74
|
+
import { Skeleton as Zr } from "./components/Skeleton.js";
|
|
75
|
+
import { Space as $r } from "./components/Space.js";
|
|
76
|
+
import { Splitter as re } from "./components/Splitter.js";
|
|
77
|
+
import { Stats as te } from "./components/Stat.js";
|
|
78
|
+
import { Status as fe } from "./components/Status.js";
|
|
79
|
+
import { Steps as xe } from "./components/Steps.js";
|
|
80
|
+
import { Table as se } from "./components/Table.js";
|
|
81
|
+
import { Tabs as ie } from "./components/Tabs.js";
|
|
82
|
+
import { Textarea as le } from "./components/Textarea.js";
|
|
83
|
+
import { TextRotate as Ce } from "./components/TextRotate.js";
|
|
84
|
+
import { CheckableTag as ge, Tag as Te, TagLiveRegion as Se } from "./components/Tag.js";
|
|
85
|
+
import { ThemeController as ke } from "./components/ThemeController.js";
|
|
86
|
+
import { TimePicker as be } from "./components/TimePicker.js";
|
|
87
|
+
import { Timeline as De } from "./components/Timeline.js";
|
|
88
|
+
import { Toggle as we } from "./components/Toggle.js";
|
|
89
|
+
import { Tour as Be } from "./components/Tour.js";
|
|
90
|
+
import { Tooltip as Me } from "./components/Tooltip.js";
|
|
91
|
+
import { Transfer as Ie } from "./components/Transfer.js";
|
|
92
|
+
import { Tree as Ge } from "./components/Tree.js";
|
|
93
|
+
import { TreeSelect as Ke, TreeSelectComponent as ze } from "./components/TreeSelect.js";
|
|
94
|
+
import { Typography as Ne } from "./components/Typography.js";
|
|
95
|
+
import { Upload as Je } from "./components/Upload.js";
|
|
96
|
+
import { Watermark as Ue } from "./components/Watermark.js";
|
|
97
|
+
import { Hide as qe, Show as Qe } from "./components/Responsive.js";
|
|
98
|
+
import { useBreakpoint as Xe } from "./hooks/useBreakpoint.js";
|
|
99
|
+
import { useDisclosure as Ze } from "./hooks/useDisclosure.js";
|
|
100
|
+
import { useClipboard as $e } from "./hooks/useClipboard.js";
|
|
101
|
+
import { useLocalStorage as rt } from "./hooks/useLocalStorage.js";
|
|
102
|
+
import { useDebounce as tt } from "./hooks/useDebounce.js";
|
|
103
|
+
import { useClickOutside as ft } from "./hooks/useClickOutside.js";
|
|
104
|
+
import { usePrevious as xt } from "./hooks/usePrevious.js";
|
|
105
|
+
import { useHover as st } from "./hooks/useHover.js";
|
|
106
|
+
import { useKeyPress as it, useKeyPressCallback as ut } from "./hooks/useKeyPress.js";
|
|
107
|
+
import { useWindowSize as dt } from "./hooks/useWindowSize.js";
|
|
108
|
+
import { default as ct } from "./locale/en-US.js";
|
|
109
|
+
import { default as Tt } from "./locale/en-GB.js";
|
|
110
|
+
import { default as Pt } from "./locale/en-CA.js";
|
|
111
|
+
import { default as Rt } from "./locale/zh-CN.js";
|
|
112
|
+
import { default as vt } from "./locale/es-ES.js";
|
|
113
|
+
import { default as ht } from "./locale/ja-JP.js";
|
|
114
|
+
import { default as yt } from "./locale/pt-BR.js";
|
|
115
|
+
import { default as Ft } from "./locale/de-DE.js";
|
|
116
|
+
import { default as At } from "./locale/fr-FR.js";
|
|
117
|
+
import { default as Lt } from "./locale/ko-KR.js";
|
|
117
118
|
export {
|
|
118
119
|
e as Affix,
|
|
119
120
|
m as Alert,
|
|
@@ -123,128 +124,129 @@ export {
|
|
|
123
124
|
i as AvatarGroup,
|
|
124
125
|
l as Badge,
|
|
125
126
|
C as Breadcrumb,
|
|
126
|
-
|
|
127
|
+
nr as Browser,
|
|
127
128
|
g as Button,
|
|
128
129
|
B as Card,
|
|
129
130
|
M as Carousel,
|
|
130
131
|
I as Cascader,
|
|
131
132
|
D as Chat,
|
|
132
|
-
|
|
133
|
+
ge as CheckableTag,
|
|
133
134
|
b as Checkbox,
|
|
134
|
-
|
|
135
|
-
|
|
135
|
+
ur as Code,
|
|
136
|
+
wo as Col,
|
|
136
137
|
W as Collapse,
|
|
137
138
|
w as ColorPicker,
|
|
139
|
+
O as Command,
|
|
138
140
|
G as ConfigContext,
|
|
139
141
|
H as ConfigProvider,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
+
j as Container,
|
|
143
|
+
Q as ContextMenu,
|
|
142
144
|
k as CopyButton,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
145
|
+
X as Countdown,
|
|
146
|
+
Z as DatePicker,
|
|
147
|
+
$ as Descriptions,
|
|
148
|
+
ro as Diff,
|
|
149
|
+
fo as Divider,
|
|
150
|
+
to as Dock,
|
|
151
|
+
xo as Drawer,
|
|
152
|
+
Ko as Dropdown,
|
|
153
|
+
Eo as Empty,
|
|
154
|
+
io as Fieldset,
|
|
155
|
+
lo as FileInput,
|
|
156
|
+
co as Filter,
|
|
157
|
+
To as Flex,
|
|
158
|
+
Po as FloatButton,
|
|
159
|
+
Ro as Footer,
|
|
160
|
+
vo as Form,
|
|
161
|
+
yo as Grid,
|
|
162
|
+
Mo as Hero,
|
|
163
|
+
qe as Hide,
|
|
164
|
+
Io as HoverGallery,
|
|
163
165
|
S as IconSizeContext,
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
166
|
+
Go as Image,
|
|
167
|
+
Wo as Input,
|
|
168
|
+
Oo as InputNumber,
|
|
169
|
+
jo as Join,
|
|
170
|
+
Qo as Kbd,
|
|
171
|
+
Xo as Layout,
|
|
172
|
+
_o as List,
|
|
173
|
+
or as Loading,
|
|
174
|
+
er as Mask,
|
|
175
|
+
pr as Masonry,
|
|
176
|
+
mr as Mention,
|
|
177
|
+
ar as Menu,
|
|
178
|
+
vr as MessageManager,
|
|
179
|
+
Tr as Modal,
|
|
180
|
+
Pr as Navbar,
|
|
181
|
+
wr as OTPInput,
|
|
182
|
+
Br as Pagination,
|
|
183
|
+
dr as Phone,
|
|
184
|
+
Mr as Popconfirm,
|
|
185
|
+
Ir as Popover,
|
|
186
|
+
Gr as Progress,
|
|
187
|
+
Er as RadialProgress,
|
|
188
|
+
Kr as Radio,
|
|
189
|
+
Wr as Range,
|
|
190
|
+
Or as Rating,
|
|
191
|
+
so as ResponsiveDrawer,
|
|
192
|
+
jr as Result,
|
|
193
|
+
Bo as Row,
|
|
194
|
+
Xr as Segmented,
|
|
195
|
+
Qr as Select,
|
|
196
|
+
Qe as Show,
|
|
197
|
+
Zr as Skeleton,
|
|
198
|
+
$r as Space,
|
|
199
|
+
re as Splitter,
|
|
200
|
+
te as Stats,
|
|
201
|
+
fe as Status,
|
|
202
|
+
xe as Steps,
|
|
203
|
+
se as Table,
|
|
204
|
+
ie as Tabs,
|
|
205
|
+
Te as Tag,
|
|
206
|
+
Se as TagLiveRegion,
|
|
207
|
+
Ce as TextRotate,
|
|
208
|
+
le as Textarea,
|
|
209
|
+
ke as ThemeController,
|
|
210
|
+
be as TimePicker,
|
|
211
|
+
De as Timeline,
|
|
212
|
+
we as Toggle,
|
|
213
|
+
Me as Tooltip,
|
|
214
|
+
Be as Tour,
|
|
215
|
+
Ie as Transfer,
|
|
216
|
+
Ge as Tree,
|
|
217
|
+
Ke as TreeSelect,
|
|
218
|
+
ze as TreeSelectComponent,
|
|
219
|
+
Ne as Typography,
|
|
220
|
+
Je as Upload,
|
|
221
|
+
Ue as Watermark,
|
|
222
|
+
cr as Window,
|
|
223
|
+
Ft as deDE,
|
|
224
|
+
Pt as enCA,
|
|
225
|
+
Tt as enGB,
|
|
226
|
+
ct as enUS,
|
|
227
|
+
vt as esES,
|
|
228
|
+
At as frFR,
|
|
229
|
+
ht as jaJP,
|
|
230
|
+
Lt as koKR,
|
|
231
|
+
Dr as message,
|
|
232
|
+
Rr as notification,
|
|
233
|
+
yt as ptBR,
|
|
234
|
+
Xe as useBreakpoint,
|
|
235
|
+
ft as useClickOutside,
|
|
236
|
+
$e as useClipboard,
|
|
235
237
|
K as useComponentLocale,
|
|
236
238
|
z as useConfig,
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
239
|
+
tt as useDebounce,
|
|
240
|
+
Ze as useDisclosure,
|
|
241
|
+
Do as useFormInstance,
|
|
242
|
+
st as useHover,
|
|
243
|
+
it as useKeyPress,
|
|
244
|
+
ut as useKeyPressCallback,
|
|
245
|
+
rt as useLocalStorage,
|
|
244
246
|
E as useLocale,
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
247
|
+
xt as usePrevious,
|
|
248
|
+
Yo as useSiderContext,
|
|
249
|
+
dt as useWindowSize,
|
|
250
|
+
Rt as zhCN
|
|
249
251
|
};
|
|
250
252
|
//# sourceMappingURL=index.js.map
|