@hkyhy/marsun-components-core 0.1.52 → 0.1.56
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 +29 -15
- package/dist/agent-hub.d.ts +11 -0
- package/dist/agent-hub.js +144 -0
- package/dist/agent-hub.js.map +1 -0
- package/dist/components/AgentHub/Chat/Action/CreateButton.js +3 -3
- package/dist/components/AgentHub/Chat/Action/ManageActionButtons.js +4 -4
- package/dist/components/AgentHub/Chat/Action/SessionActionButtons.js +4 -4
- package/dist/components/AgentHub/Chat/Detail/ChatFollowUpSuggestions/index.js +29 -27
- package/dist/components/AgentHub/Chat/Detail/ChatFollowUpSuggestions/index.js.map +1 -1
- package/dist/components/AgentHub/Chat/Detail/ChatInput/index.js +19 -18
- package/dist/components/AgentHub/Chat/Detail/ChatInput/index.js.map +1 -1
- package/dist/components/AgentHub/Chat/Detail/CitationPanel/index.js +18 -17
- package/dist/components/AgentHub/Chat/Detail/CitationPanel/index.js.map +1 -1
- package/dist/components/AgentHub/Chat/Detail/MessageActions/index.js +23 -19
- package/dist/components/AgentHub/Chat/Detail/MessageActions/index.js.map +1 -1
- package/dist/components/AgentHub/Chat/Detail/MessageItem/index.js +23 -21
- package/dist/components/AgentHub/Chat/Detail/MessageItem/index.js.map +1 -1
- package/dist/components/AgentHub/Chat/List/ChatCard/index.js +7 -7
- package/dist/components/AgentHub/Chat/List/SessionSidebar/index.js +19 -17
- package/dist/components/AgentHub/Chat/List/SessionSidebar/index.js.map +1 -1
- package/dist/components/AgentHub/KnowledgeBase/Action/CreateButton.js +3 -3
- package/dist/components/AgentHub/KnowledgeBase/Action/ManageActionButtons.js +1 -1
- package/dist/components/AgentHub/KnowledgeBase/Detail/DocumentTable/index.js +16 -15
- package/dist/components/AgentHub/KnowledgeBase/Detail/DocumentTable/index.js.map +1 -1
- package/dist/components/AgentHub/KnowledgeBase/Detail/ParseStatusTag/index.js +7 -7
- package/dist/components/AgentHub/KnowledgeBase/List/KnowledgeCard/index.js +8 -8
- package/dist/components/AgentHub/Report/Detail/ReportHtmlPreview/index.js +1 -1
- package/dist/components/Auth/UserProfileCard/UserProfileCard.js +7 -7
- package/dist/components/Auth/UserProfileCard/style.module.scss.js +16 -16
- package/dist/components/File/FileItem/index.js +22 -20
- package/dist/components/File/FileItem/index.js.map +1 -1
- package/dist/components/File/FilePreview/index.js +11 -11
- package/dist/components/File/fileDisplay.js +41 -36
- package/dist/components/File/fileDisplay.js.map +1 -1
- package/dist/components/Filter/CommonFilter/index.js +20 -18
- package/dist/components/Filter/CommonFilter/index.js.map +1 -1
- package/dist/components/Filter/FilterSelect/index.js +90 -89
- package/dist/components/Filter/FilterSelect/index.js.map +1 -1
- package/dist/components/Filter/FilterTreeSelect/index.js +51 -48
- package/dist/components/Filter/FilterTreeSelect/index.js.map +1 -1
- package/dist/components/Filter/FilterTrigger/index.js +13 -11
- package/dist/components/Filter/FilterTrigger/index.js.map +1 -1
- package/dist/components/Form/PersonOptionRow/index.js +4 -4
- package/dist/components/Icons/ArrowLeft.d.ts +1 -0
- package/dist/components/Icons/ArrowLeft.js +7 -0
- package/dist/components/Icons/ArrowLeft.js.map +1 -0
- package/dist/components/Icons/ArrowLeftRight.d.ts +1 -0
- package/dist/components/Icons/ArrowLeftRight.js +7 -0
- package/dist/components/Icons/ArrowLeftRight.js.map +1 -0
- package/dist/components/Icons/BarChart3.d.ts +1 -0
- package/dist/components/Icons/BarChart3.js +7 -0
- package/dist/components/Icons/BarChart3.js.map +1 -0
- package/dist/components/Icons/Bell.d.ts +1 -0
- package/dist/components/Icons/Bell.js +7 -0
- package/dist/components/Icons/Bell.js.map +1 -0
- package/dist/components/Icons/BookOpen.d.ts +1 -0
- package/dist/components/Icons/BookOpen.js +7 -0
- package/dist/components/Icons/BookOpen.js.map +1 -0
- package/dist/components/Icons/Bot.d.ts +1 -0
- package/dist/components/Icons/Bot.js +7 -0
- package/dist/components/Icons/Bot.js.map +1 -0
- package/dist/components/Icons/Check.d.ts +1 -0
- package/dist/components/Icons/Check.js +7 -0
- package/dist/components/Icons/Check.js.map +1 -0
- package/dist/components/Icons/ChevronDown.d.ts +1 -0
- package/dist/components/Icons/ChevronDown.js +7 -0
- package/dist/components/Icons/ChevronDown.js.map +1 -0
- package/dist/components/Icons/ChevronLeft.d.ts +1 -0
- package/dist/components/Icons/ChevronLeft.js +7 -0
- package/dist/components/Icons/ChevronLeft.js.map +1 -0
- package/dist/components/Icons/ChevronRight.d.ts +1 -0
- package/dist/components/Icons/ChevronRight.js +7 -0
- package/dist/components/Icons/ChevronRight.js.map +1 -0
- package/dist/components/Icons/ChevronUp.d.ts +1 -0
- package/dist/components/Icons/ChevronUp.js +7 -0
- package/dist/components/Icons/ChevronUp.js.map +1 -0
- package/dist/components/Icons/CircleAlert.d.ts +1 -0
- package/dist/components/Icons/CircleAlert.js +7 -0
- package/dist/components/Icons/CircleAlert.js.map +1 -0
- package/dist/components/Icons/CircleCheck.d.ts +1 -0
- package/dist/components/Icons/CircleCheck.js +7 -0
- package/dist/components/Icons/CircleCheck.js.map +1 -0
- package/dist/components/Icons/CircleHelp.d.ts +1 -0
- package/dist/components/Icons/CircleHelp.js +7 -0
- package/dist/components/Icons/CircleHelp.js.map +1 -0
- package/dist/components/Icons/CirclePlay.d.ts +1 -0
- package/dist/components/Icons/CirclePlay.js +7 -0
- package/dist/components/Icons/CirclePlay.js.map +1 -0
- package/dist/components/Icons/CircleX.d.ts +1 -0
- package/dist/components/Icons/CircleX.js +7 -0
- package/dist/components/Icons/CircleX.js.map +1 -0
- package/dist/components/Icons/ClipboardCheck.d.ts +1 -0
- package/dist/components/Icons/ClipboardCheck.js +7 -0
- package/dist/components/Icons/ClipboardCheck.js.map +1 -0
- package/dist/components/Icons/Clock.d.ts +1 -0
- package/dist/components/Icons/Clock.js +7 -0
- package/dist/components/Icons/Clock.js.map +1 -0
- package/dist/components/Icons/CloudDownload.d.ts +1 -0
- package/dist/components/Icons/CloudDownload.js +7 -0
- package/dist/components/Icons/CloudDownload.js.map +1 -0
- package/dist/components/Icons/CloudUpload.d.ts +1 -0
- package/dist/components/Icons/CloudUpload.js +7 -0
- package/dist/components/Icons/CloudUpload.js.map +1 -0
- package/dist/components/Icons/Code.d.ts +1 -0
- package/dist/components/Icons/Code.js +7 -0
- package/dist/components/Icons/Code.js.map +1 -0
- package/dist/components/Icons/Copy.d.ts +1 -0
- package/dist/components/Icons/Copy.js +7 -0
- package/dist/components/Icons/Copy.js.map +1 -0
- package/dist/components/Icons/Crown.d.ts +1 -0
- package/dist/components/Icons/Crown.js +7 -0
- package/dist/components/Icons/Crown.js.map +1 -0
- package/dist/components/Icons/Database.d.ts +1 -0
- package/dist/components/Icons/Database.js +7 -0
- package/dist/components/Icons/Database.js.map +1 -0
- package/dist/components/Icons/Download.d.ts +1 -0
- package/dist/components/Icons/Download.js +7 -0
- package/dist/components/Icons/Download.js.map +1 -0
- package/dist/components/Icons/Eye.d.ts +1 -0
- package/dist/components/Icons/Eye.js +7 -0
- package/dist/components/Icons/Eye.js.map +1 -0
- package/dist/components/Icons/EyeOff.d.ts +1 -0
- package/dist/components/Icons/EyeOff.js +7 -0
- package/dist/components/Icons/EyeOff.js.map +1 -0
- package/dist/components/Icons/File.d.ts +1 -0
- package/dist/components/Icons/File.js +7 -0
- package/dist/components/Icons/File.js.map +1 -0
- package/dist/components/Icons/FileArchive.d.ts +1 -0
- package/dist/components/Icons/FileArchive.js +7 -0
- package/dist/components/Icons/FileArchive.js.map +1 -0
- package/dist/components/Icons/FileImage.d.ts +1 -0
- package/dist/components/Icons/FileImage.js +7 -0
- package/dist/components/Icons/FileImage.js.map +1 -0
- package/dist/components/Icons/FileSpreadsheet.d.ts +1 -0
- package/dist/components/Icons/FileSpreadsheet.js +7 -0
- package/dist/components/Icons/FileSpreadsheet.js.map +1 -0
- package/dist/components/Icons/FileText.d.ts +1 -0
- package/dist/components/Icons/FileText.js +7 -0
- package/dist/components/Icons/FileText.js.map +1 -0
- package/dist/components/Icons/Flag.d.ts +1 -0
- package/dist/components/Icons/Flag.js +7 -0
- package/dist/components/Icons/Flag.js.map +1 -0
- package/dist/components/Icons/Flame.d.ts +1 -0
- package/dist/components/Icons/Flame.js +7 -0
- package/dist/components/Icons/Flame.js.map +1 -0
- package/dist/components/Icons/Folder.d.ts +1 -0
- package/dist/components/Icons/Folder.js +7 -0
- package/dist/components/Icons/Folder.js.map +1 -0
- package/dist/components/Icons/FolderOpen.d.ts +1 -0
- package/dist/components/Icons/FolderOpen.js +7 -0
- package/dist/components/Icons/FolderOpen.js.map +1 -0
- package/dist/components/Icons/Hash.d.ts +1 -0
- package/dist/components/Icons/Hash.js +7 -0
- package/dist/components/Icons/Hash.js.map +1 -0
- package/dist/components/Icons/House.d.ts +1 -0
- package/dist/components/Icons/House.js +7 -0
- package/dist/components/Icons/House.js.map +1 -0
- package/dist/components/Icons/Import.d.ts +1 -0
- package/dist/components/Icons/Import.js +7 -0
- package/dist/components/Icons/Import.js.map +1 -0
- package/dist/components/Icons/Inbox.d.ts +1 -0
- package/dist/components/Icons/Inbox.js +7 -0
- package/dist/components/Icons/Inbox.js.map +1 -0
- package/dist/components/Icons/Info.d.ts +1 -0
- package/dist/components/Icons/Info.js +7 -0
- package/dist/components/Icons/Info.js.map +1 -0
- package/dist/components/Icons/LayoutDashboard.d.ts +1 -0
- package/dist/components/Icons/LayoutDashboard.js +7 -0
- package/dist/components/Icons/LayoutDashboard.js.map +1 -0
- package/dist/components/Icons/LayoutGrid.d.ts +1 -0
- package/dist/components/Icons/LayoutGrid.js +7 -0
- package/dist/components/Icons/LayoutGrid.js.map +1 -0
- package/dist/components/Icons/ListTodo.d.ts +1 -0
- package/dist/components/Icons/ListTodo.js +7 -0
- package/dist/components/Icons/ListTodo.js.map +1 -0
- package/dist/components/Icons/Loader2.d.ts +1 -0
- package/dist/components/Icons/Loader2.js +7 -0
- package/dist/components/Icons/Loader2.js.map +1 -0
- package/dist/components/Icons/Lock.d.ts +1 -0
- package/dist/components/Icons/Lock.js +7 -0
- package/dist/components/Icons/Lock.js.map +1 -0
- package/dist/components/Icons/LogOut.d.ts +1 -0
- package/dist/components/Icons/LogOut.js +7 -0
- package/dist/components/Icons/LogOut.js.map +1 -0
- package/dist/components/Icons/Maximize2.d.ts +1 -0
- package/dist/components/Icons/Maximize2.js +7 -0
- package/dist/components/Icons/Maximize2.js.map +1 -0
- package/dist/components/Icons/MessageCircle.d.ts +1 -0
- package/dist/components/Icons/MessageCircle.js +7 -0
- package/dist/components/Icons/MessageCircle.js.map +1 -0
- package/dist/components/Icons/MessageSquare.d.ts +1 -0
- package/dist/components/Icons/MessageSquare.js +7 -0
- package/dist/components/Icons/MessageSquare.js.map +1 -0
- package/dist/components/Icons/Minimize2.d.ts +1 -0
- package/dist/components/Icons/Minimize2.js +7 -0
- package/dist/components/Icons/Minimize2.js.map +1 -0
- package/dist/components/Icons/PanelLeftClose.d.ts +1 -0
- package/dist/components/Icons/PanelLeftClose.js +7 -0
- package/dist/components/Icons/PanelLeftClose.js.map +1 -0
- package/dist/components/Icons/PanelLeftOpen.d.ts +1 -0
- package/dist/components/Icons/PanelLeftOpen.js +7 -0
- package/dist/components/Icons/PanelLeftOpen.js.map +1 -0
- package/dist/components/Icons/Pause.d.ts +1 -0
- package/dist/components/Icons/Pause.js +7 -0
- package/dist/components/Icons/Pause.js.map +1 -0
- package/dist/components/Icons/Pencil.d.ts +1 -0
- package/dist/components/Icons/Pencil.js +7 -0
- package/dist/components/Icons/Pencil.js.map +1 -0
- package/dist/components/Icons/Plus.d.ts +1 -0
- package/dist/components/Icons/Plus.js +7 -0
- package/dist/components/Icons/Plus.js.map +1 -0
- package/dist/components/Icons/Presentation.d.ts +1 -0
- package/dist/components/Icons/Presentation.js +7 -0
- package/dist/components/Icons/Presentation.js.map +1 -0
- package/dist/components/Icons/RefreshCw.d.ts +1 -0
- package/dist/components/Icons/RefreshCw.js +7 -0
- package/dist/components/Icons/RefreshCw.js.map +1 -0
- package/dist/components/Icons/RotateCw.d.ts +1 -0
- package/dist/components/Icons/RotateCw.js +7 -0
- package/dist/components/Icons/RotateCw.js.map +1 -0
- package/dist/components/Icons/Send.d.ts +1 -0
- package/dist/components/Icons/Send.js +7 -0
- package/dist/components/Icons/Send.js.map +1 -0
- package/dist/components/Icons/Settings.d.ts +1 -0
- package/dist/components/Icons/Settings.js +7 -0
- package/dist/components/Icons/Settings.js.map +1 -0
- package/dist/components/Icons/Shield.d.ts +1 -0
- package/dist/components/Icons/Shield.js +7 -0
- package/dist/components/Icons/Shield.js.map +1 -0
- package/dist/components/Icons/ShieldCheck.d.ts +1 -0
- package/dist/components/Icons/ShieldCheck.js +7 -0
- package/dist/components/Icons/ShieldCheck.js.map +1 -0
- package/dist/components/Icons/SlidersHorizontal.d.ts +1 -0
- package/dist/components/Icons/SlidersHorizontal.js +7 -0
- package/dist/components/Icons/SlidersHorizontal.js.map +1 -0
- package/dist/components/Icons/Square.d.ts +1 -0
- package/dist/components/Icons/Square.js +7 -0
- package/dist/components/Icons/Square.js.map +1 -0
- package/dist/components/Icons/Star.d.ts +1 -0
- package/dist/components/Icons/Star.js +7 -0
- package/dist/components/Icons/Star.js.map +1 -0
- package/dist/components/Icons/ThumbsDown.d.ts +1 -0
- package/dist/components/Icons/ThumbsDown.js +7 -0
- package/dist/components/Icons/ThumbsDown.js.map +1 -0
- package/dist/components/Icons/ThumbsUp.d.ts +1 -0
- package/dist/components/Icons/ThumbsUp.js +7 -0
- package/dist/components/Icons/ThumbsUp.js.map +1 -0
- package/dist/components/Icons/Trash2.d.ts +1 -0
- package/dist/components/Icons/Trash2.js +7 -0
- package/dist/components/Icons/Trash2.js.map +1 -0
- package/dist/components/Icons/Trophy.d.ts +1 -0
- package/dist/components/Icons/Trophy.js +7 -0
- package/dist/components/Icons/Trophy.js.map +1 -0
- package/dist/components/Icons/Undo2.d.ts +1 -0
- package/dist/components/Icons/Undo2.js +7 -0
- package/dist/components/Icons/Undo2.js.map +1 -0
- package/dist/components/Icons/Upload.d.ts +1 -0
- package/dist/components/Icons/Upload.js +7 -0
- package/dist/components/Icons/Upload.js.map +1 -0
- package/dist/components/Icons/User.d.ts +1 -0
- package/dist/components/Icons/User.js +7 -0
- package/dist/components/Icons/User.js.map +1 -0
- package/dist/components/Icons/UserPlus.d.ts +1 -0
- package/dist/components/Icons/UserPlus.js +7 -0
- package/dist/components/Icons/UserPlus.js.map +1 -0
- package/dist/components/Icons/UserRoundCog.d.ts +1 -0
- package/dist/components/Icons/UserRoundCog.js +7 -0
- package/dist/components/Icons/UserRoundCog.js.map +1 -0
- package/dist/components/Icons/Users.d.ts +1 -0
- package/dist/components/Icons/Users.js +7 -0
- package/dist/components/Icons/Users.js.map +1 -0
- package/dist/components/Icons/X.d.ts +1 -0
- package/dist/components/Icons/X.js +7 -0
- package/dist/components/Icons/X.js.map +1 -0
- package/dist/components/Icons/createIcon.d.ts +9 -0
- package/dist/components/Icons/createIcon.js +32 -0
- package/dist/components/Icons/createIcon.js.map +1 -0
- package/dist/components/Icons/index.d.ts +80 -90
- package/dist/components/Icons/registry.d.ts +6 -0
- package/dist/components/Icons/registry.js +239 -0
- package/dist/components/Icons/registry.js.map +1 -0
- package/dist/components/InteractiveBlock/InteractiveBlock.js +6 -6
- package/dist/components/Layout/AgentAppShell/AgentAppShell.js +112 -91
- package/dist/components/Layout/AgentAppShell/AgentAppShell.js.map +1 -1
- package/dist/components/Layout/AgentAppShell/style.module.scss.js +20 -18
- package/dist/components/Layout/AgentAppShell/style.module.scss.js.map +1 -1
- package/dist/components/Layout/PageHeaderLayout/index.js +7 -7
- package/dist/components/Modal/Modal/index.js +8 -8
- package/dist/components/Modal/StepModal/index.js +9 -9
- package/dist/components/OrgTree/OrgTree.js +41 -39
- package/dist/components/OrgTree/OrgTree.js.map +1 -1
- package/dist/components/StateBar/StateBar.js +4 -4
- package/dist/components/Table/ColumnConfigPanel.js +13 -10
- package/dist/components/Table/ColumnConfigPanel.js.map +1 -1
- package/dist/components/Table/Table.js +7 -7
- package/dist/components/Tour/AppTour/index.js +10 -10
- package/dist/components/Upload/index.js +76 -72
- package/dist/components/Upload/index.js.map +1 -1
- package/dist/file.d.ts +5 -0
- package/dist/file.js +24 -0
- package/dist/file.js.map +1 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +615 -537
- package/dist/index.js.map +1 -1
- package/dist/llm.d.ts +5 -0
- package/dist/llm.js +8 -0
- package/dist/llm.js.map +1 -0
- package/dist/marsun-components-core.css +1 -1
- package/dist/styles/global.css +1 -1
- package/package.json +15 -5
- package/dist/components/Icons/index.js +0 -268
- package/dist/components/Icons/index.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Users.js","sources":["../../../src/components/Icons/Users.tsx"],"sourcesContent":["import { Users as LucideUsers } from 'lucide-react';\nimport { createIcon } from './createIcon';\n\nexport const Users = createIcon(LucideUsers);\n"],"names":["Users","createIcon","LucideUsers"],"mappings":";;AAGO,MAAMA,IAAQC,EAAWC,CAAW;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const X: import('react').ForwardRefExoticComponent<Omit<import('./createIcon').IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"X.js","sources":["../../../src/components/Icons/X.tsx"],"sourcesContent":["import { X as LucideX } from 'lucide-react';\nimport { createIcon } from './createIcon';\n\nexport const X = createIcon(LucideX);\n"],"names":["X","createIcon","LucideX"],"mappings":";;AAGO,MAAMA,IAAIC,EAAWC,CAAO;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LucideIcon, LucideProps } from 'lucide-react';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export type IconProps = LucideProps & {
|
|
4
|
+
spin?: boolean;
|
|
5
|
+
rotate?: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const createIcon: (Icon: LucideIcon, options?: {
|
|
8
|
+
filled?: boolean;
|
|
9
|
+
}) => React.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
/* empty css */
|
|
3
|
+
import s from "react";
|
|
4
|
+
const N = (r, e) => {
|
|
5
|
+
const l = s.forwardRef(
|
|
6
|
+
({ spin: d, rotate: a, className: n, style: c, strokeWidth: t, fill: f, color: i, ...m }, o) => /* @__PURE__ */ u(
|
|
7
|
+
r,
|
|
8
|
+
{
|
|
9
|
+
ref: o,
|
|
10
|
+
size: "1em",
|
|
11
|
+
className: ["marsun-icon", n, d ? "animate-spin" : ""].filter(Boolean).join(" ") || void 0,
|
|
12
|
+
style: {
|
|
13
|
+
display: "inline-block",
|
|
14
|
+
verticalAlign: "-0.125em",
|
|
15
|
+
...i ? {} : { color: "inherit" },
|
|
16
|
+
...a ? { transform: `rotate(${a}deg)` } : null,
|
|
17
|
+
...c
|
|
18
|
+
},
|
|
19
|
+
color: i ?? "currentColor",
|
|
20
|
+
strokeWidth: t ?? (e != null && e.filled ? 0 : 2),
|
|
21
|
+
fill: f ?? (e != null && e.filled ? "currentColor" : "none"),
|
|
22
|
+
"aria-hidden": m["aria-label"] ? void 0 : !0,
|
|
23
|
+
...m
|
|
24
|
+
}
|
|
25
|
+
)
|
|
26
|
+
);
|
|
27
|
+
return l.displayName = r.displayName ?? r.name, l;
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
N as createIcon
|
|
31
|
+
};
|
|
32
|
+
//# sourceMappingURL=createIcon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createIcon.js","sources":["../../../src/components/Icons/createIcon.tsx"],"sourcesContent":["import type { LucideIcon, LucideProps } from 'lucide-react';\nimport './icons.global.css';\nimport React from 'react';\n\nexport type IconProps = LucideProps & {\n spin?: boolean;\n rotate?: number;\n};\n\nexport const createIcon = (Icon: LucideIcon, options?: { filled?: boolean }) => {\n const WrappedIcon = React.forwardRef<SVGSVGElement, IconProps>(\n ({ spin, rotate, className, style, strokeWidth, fill, color, ...props }, ref) => (\n <Icon\n ref={ref}\n size=\"1em\"\n className={\n ['marsun-icon', className, spin ? 'animate-spin' : ''].filter(Boolean).join(' ') ||\n undefined\n }\n style={{\n display: 'inline-block',\n verticalAlign: '-0.125em',\n ...(color ? {} : { color: 'inherit' }),\n ...(rotate ? { transform: `rotate(${rotate}deg)` } : null),\n ...style,\n }}\n color={color ?? 'currentColor'}\n strokeWidth={strokeWidth ?? (options?.filled ? 0 : 2)}\n fill={fill ?? (options?.filled ? 'currentColor' : 'none')}\n aria-hidden={props['aria-label'] ? undefined : true}\n {...props}\n />\n ),\n );\n\n WrappedIcon.displayName = Icon.displayName ?? Icon.name;\n return WrappedIcon;\n};\n"],"names":["createIcon","Icon","options","WrappedIcon","React","spin","rotate","className","style","strokeWidth","fill","color","props","ref","jsx"],"mappings":";;;AASO,MAAMA,IAAa,CAACC,GAAkBC,MAAmC;AAC9E,QAAMC,IAAcC,EAAM;AAAA,IACxB,CAAC,EAAE,MAAAC,GAAM,QAAAC,GAAQ,WAAAC,GAAW,OAAAC,GAAO,aAAAC,GAAa,MAAAC,GAAM,OAAAC,GAAO,GAAGC,EAAA,GAASC,MACvE,gBAAAC;AAAA,MAACb;AAAA,MAAA;AAAA,QACC,KAAAY;AAAA,QACA,MAAK;AAAA,QACL,WACE,CAAC,eAAeN,GAAWF,IAAO,iBAAiB,EAAE,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,KAC/E;AAAA,QAEF,OAAO;AAAA,UACL,SAAS;AAAA,UACT,eAAe;AAAA,UACf,GAAIM,IAAQ,CAAA,IAAK,EAAE,OAAO,UAAA;AAAA,UAC1B,GAAIL,IAAS,EAAE,WAAW,UAAUA,CAAM,WAAW;AAAA,UACrD,GAAGE;AAAA,QAAA;AAAA,QAEL,OAAOG,KAAS;AAAA,QAChB,aAAaF,MAAgBP,KAAA,QAAAA,EAAS,SAAS,IAAI;AAAA,QACnD,MAAMQ,MAASR,KAAA,QAAAA,EAAS,SAAS,iBAAiB;AAAA,QAClD,eAAaU,EAAM,YAAY,IAAI,SAAY;AAAA,QAC9C,GAAGA;AAAA,MAAA;AAAA,IAAA;AAAA,EACN;AAIJ,SAAAT,EAAY,cAAcF,EAAK,eAAeA,EAAK,MAC5CE;AACT;"}
|
|
@@ -1,90 +1,80 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
40
|
-
export
|
|
41
|
-
export
|
|
42
|
-
export
|
|
43
|
-
export
|
|
44
|
-
export
|
|
45
|
-
export
|
|
46
|
-
export
|
|
47
|
-
export
|
|
48
|
-
export
|
|
49
|
-
export
|
|
50
|
-
export
|
|
51
|
-
export
|
|
52
|
-
export
|
|
53
|
-
export
|
|
54
|
-
export
|
|
55
|
-
export
|
|
56
|
-
export
|
|
57
|
-
export
|
|
58
|
-
export
|
|
59
|
-
export
|
|
60
|
-
export
|
|
61
|
-
export
|
|
62
|
-
export
|
|
63
|
-
export
|
|
64
|
-
export
|
|
65
|
-
export
|
|
66
|
-
export
|
|
67
|
-
export
|
|
68
|
-
export
|
|
69
|
-
export
|
|
70
|
-
export
|
|
71
|
-
export
|
|
72
|
-
export
|
|
73
|
-
export
|
|
74
|
-
export
|
|
75
|
-
export
|
|
76
|
-
export
|
|
77
|
-
export
|
|
78
|
-
export
|
|
79
|
-
export
|
|
80
|
-
export
|
|
81
|
-
export declare const Upload: React.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
82
|
-
export declare const User: React.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
83
|
-
export declare const UserPlus: React.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
84
|
-
export declare const UserRoundCog: React.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
85
|
-
export declare const Users: React.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
86
|
-
export declare const X: React.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
87
|
-
export { createIcon };
|
|
88
|
-
export declare const ICON_NAMES: readonly ["ArrowLeft", "ArrowLeftRight", "BarChart3", "Bell", "BookOpen", "Bot", "Check", "ChevronDown", "ChevronLeft", "ChevronRight", "ChevronUp", "CircleAlert", "CircleCheck", "CircleHelp", "CirclePlay", "CircleX", "ClipboardCheck", "Clock", "CloudDownload", "CloudUpload", "Code", "Copy", "Crown", "Database", "Download", "Eye", "EyeOff", "File", "FileArchive", "FileImage", "FileSpreadsheet", "FileText", "Flag", "Flame", "Folder", "FolderOpen", "Hash", "House", "Import", "Inbox", "Info", "LayoutDashboard", "LayoutGrid", "ListTodo", "Loader2", "Lock", "LogOut", "Maximize2", "MessageCircle", "MessageSquare", "Minimize2", "PanelLeftClose", "PanelLeftOpen", "Pause", "Pencil", "Plus", "Presentation", "RefreshCw", "RotateCw", "Send", "Settings", "Shield", "ShieldCheck", "SlidersHorizontal", "Square", "Star", "ThumbsDown", "ThumbsUp", "Trash2", "Trophy", "Undo2", "Upload", "User", "UserPlus", "UserRoundCog", "Users", "X"];
|
|
89
|
-
export type IconName = (typeof ICON_NAMES)[number];
|
|
90
|
-
export declare const ICON_REGISTRY: Record<IconName, React.FC<IconProps>>;
|
|
1
|
+
export type { IconProps } from './createIcon';
|
|
2
|
+
export { createIcon } from './createIcon';
|
|
3
|
+
export { ArrowLeft } from './ArrowLeft';
|
|
4
|
+
export { ArrowLeftRight } from './ArrowLeftRight';
|
|
5
|
+
export { BarChart3 } from './BarChart3';
|
|
6
|
+
export { Bell } from './Bell';
|
|
7
|
+
export { BookOpen } from './BookOpen';
|
|
8
|
+
export { Bot } from './Bot';
|
|
9
|
+
export { Check } from './Check';
|
|
10
|
+
export { ChevronDown } from './ChevronDown';
|
|
11
|
+
export { ChevronLeft } from './ChevronLeft';
|
|
12
|
+
export { ChevronRight } from './ChevronRight';
|
|
13
|
+
export { ChevronUp } from './ChevronUp';
|
|
14
|
+
export { CircleAlert } from './CircleAlert';
|
|
15
|
+
export { CircleCheck } from './CircleCheck';
|
|
16
|
+
export { CircleHelp } from './CircleHelp';
|
|
17
|
+
export { CirclePlay } from './CirclePlay';
|
|
18
|
+
export { CircleX } from './CircleX';
|
|
19
|
+
export { ClipboardCheck } from './ClipboardCheck';
|
|
20
|
+
export { Clock } from './Clock';
|
|
21
|
+
export { CloudDownload } from './CloudDownload';
|
|
22
|
+
export { CloudUpload } from './CloudUpload';
|
|
23
|
+
export { Code } from './Code';
|
|
24
|
+
export { Copy } from './Copy';
|
|
25
|
+
export { Crown } from './Crown';
|
|
26
|
+
export { Database } from './Database';
|
|
27
|
+
export { Download } from './Download';
|
|
28
|
+
export { Eye } from './Eye';
|
|
29
|
+
export { EyeOff } from './EyeOff';
|
|
30
|
+
export { File } from './File';
|
|
31
|
+
export { FileArchive } from './FileArchive';
|
|
32
|
+
export { FileImage } from './FileImage';
|
|
33
|
+
export { FileSpreadsheet } from './FileSpreadsheet';
|
|
34
|
+
export { FileText } from './FileText';
|
|
35
|
+
export { Flag } from './Flag';
|
|
36
|
+
export { Flame } from './Flame';
|
|
37
|
+
export { Folder } from './Folder';
|
|
38
|
+
export { FolderOpen } from './FolderOpen';
|
|
39
|
+
export { Hash } from './Hash';
|
|
40
|
+
export { House } from './House';
|
|
41
|
+
export { Import } from './Import';
|
|
42
|
+
export { Inbox } from './Inbox';
|
|
43
|
+
export { Info } from './Info';
|
|
44
|
+
export { LayoutDashboard } from './LayoutDashboard';
|
|
45
|
+
export { LayoutGrid } from './LayoutGrid';
|
|
46
|
+
export { ListTodo } from './ListTodo';
|
|
47
|
+
export { Loader2 } from './Loader2';
|
|
48
|
+
export { Lock } from './Lock';
|
|
49
|
+
export { LogOut } from './LogOut';
|
|
50
|
+
export { Maximize2 } from './Maximize2';
|
|
51
|
+
export { MessageCircle } from './MessageCircle';
|
|
52
|
+
export { MessageSquare } from './MessageSquare';
|
|
53
|
+
export { Minimize2 } from './Minimize2';
|
|
54
|
+
export { PanelLeftClose } from './PanelLeftClose';
|
|
55
|
+
export { PanelLeftOpen } from './PanelLeftOpen';
|
|
56
|
+
export { Pause } from './Pause';
|
|
57
|
+
export { Pencil } from './Pencil';
|
|
58
|
+
export { Plus } from './Plus';
|
|
59
|
+
export { Presentation } from './Presentation';
|
|
60
|
+
export { RefreshCw } from './RefreshCw';
|
|
61
|
+
export { RotateCw } from './RotateCw';
|
|
62
|
+
export { Send } from './Send';
|
|
63
|
+
export { Settings } from './Settings';
|
|
64
|
+
export { Shield } from './Shield';
|
|
65
|
+
export { ShieldCheck } from './ShieldCheck';
|
|
66
|
+
export { SlidersHorizontal } from './SlidersHorizontal';
|
|
67
|
+
export { Square } from './Square';
|
|
68
|
+
export { Star } from './Star';
|
|
69
|
+
export { ThumbsDown } from './ThumbsDown';
|
|
70
|
+
export { ThumbsUp } from './ThumbsUp';
|
|
71
|
+
export { Trash2 } from './Trash2';
|
|
72
|
+
export { Trophy } from './Trophy';
|
|
73
|
+
export { Undo2 } from './Undo2';
|
|
74
|
+
export { Upload } from './Upload';
|
|
75
|
+
export { User } from './User';
|
|
76
|
+
export { UserPlus } from './UserPlus';
|
|
77
|
+
export { UserRoundCog } from './UserRoundCog';
|
|
78
|
+
export { Users } from './Users';
|
|
79
|
+
export { X } from './X';
|
|
80
|
+
export { ICON_NAMES, ICON_REGISTRY, type IconName } from './registry';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IconProps } from './createIcon';
|
|
3
|
+
export declare const ICON_NAMES: readonly ["ArrowLeft", "ArrowLeftRight", "BarChart3", "Bell", "BookOpen", "Bot", "Check", "ChevronDown", "ChevronLeft", "ChevronRight", "ChevronUp", "CircleAlert", "CircleCheck", "CircleHelp", "CirclePlay", "CircleX", "ClipboardCheck", "Clock", "CloudDownload", "CloudUpload", "Code", "Copy", "Crown", "Database", "Download", "Eye", "EyeOff", "File", "FileArchive", "FileImage", "FileSpreadsheet", "FileText", "Flag", "Flame", "Folder", "FolderOpen", "Hash", "House", "Import", "Inbox", "Info", "LayoutDashboard", "LayoutGrid", "ListTodo", "Loader2", "Lock", "LogOut", "Maximize2", "MessageCircle", "MessageSquare", "Minimize2", "PanelLeftClose", "PanelLeftOpen", "Pause", "Pencil", "Plus", "Presentation", "RefreshCw", "RotateCw", "Send", "Settings", "Shield", "ShieldCheck", "SlidersHorizontal", "Square", "Star", "ThumbsDown", "ThumbsUp", "Trash2", "Trophy", "Undo2", "Upload", "User", "UserPlus", "UserRoundCog", "Users", "X"];
|
|
4
|
+
export type IconName = (typeof ICON_NAMES)[number];
|
|
5
|
+
/** 全量注册表:仅 showcase / 按名取图标时用;业务具名 import 勿依赖本文件,以免拖入全部图标 */
|
|
6
|
+
export declare const ICON_REGISTRY: Record<IconName, React.FC<IconProps>>;
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import { ArrowLeft as o } from "./ArrowLeft.js";
|
|
2
|
+
import { ArrowLeftRight as r } from "./ArrowLeftRight.js";
|
|
3
|
+
import { BarChart3 as m } from "./BarChart3.js";
|
|
4
|
+
import { Bell as e } from "./Bell.js";
|
|
5
|
+
import { BookOpen as i } from "./BookOpen.js";
|
|
6
|
+
import { Bot as t } from "./Bot.js";
|
|
7
|
+
import { Check as p } from "./Check.js";
|
|
8
|
+
import { ChevronDown as f } from "./ChevronDown.js";
|
|
9
|
+
import { ChevronLeft as l } from "./ChevronLeft.js";
|
|
10
|
+
import { ChevronRight as a } from "./ChevronRight.js";
|
|
11
|
+
import { ChevronUp as s } from "./ChevronUp.js";
|
|
12
|
+
import { CircleAlert as C } from "./CircleAlert.js";
|
|
13
|
+
import { CircleCheck as n } from "./CircleCheck.js";
|
|
14
|
+
import { CircleHelp as h } from "./CircleHelp.js";
|
|
15
|
+
import { CirclePlay as d } from "./CirclePlay.js";
|
|
16
|
+
import { CircleX as c } from "./CircleX.js";
|
|
17
|
+
import { ClipboardCheck as u } from "./ClipboardCheck.js";
|
|
18
|
+
import { Clock as L } from "./Clock.js";
|
|
19
|
+
import { CloudDownload as S } from "./CloudDownload.js";
|
|
20
|
+
import { CloudUpload as g } from "./CloudUpload.js";
|
|
21
|
+
import { Code as w } from "./Code.js";
|
|
22
|
+
import { Copy as F } from "./Copy.js";
|
|
23
|
+
import { Crown as U } from "./Crown.js";
|
|
24
|
+
import { Database as P } from "./Database.js";
|
|
25
|
+
import { Download as k } from "./Download.js";
|
|
26
|
+
import { Eye as y } from "./Eye.js";
|
|
27
|
+
import { EyeOff as T } from "./EyeOff.js";
|
|
28
|
+
import { File as b } from "./File.js";
|
|
29
|
+
import { FileArchive as D } from "./FileArchive.js";
|
|
30
|
+
import { FileImage as O } from "./FileImage.js";
|
|
31
|
+
import { FileSpreadsheet as R } from "./FileSpreadsheet.js";
|
|
32
|
+
import { FileText as I } from "./FileText.js";
|
|
33
|
+
import { Flag as v } from "./Flag.js";
|
|
34
|
+
import { Flame as A } from "./Flame.js";
|
|
35
|
+
import { Folder as M } from "./Folder.js";
|
|
36
|
+
import { FolderOpen as B } from "./FolderOpen.js";
|
|
37
|
+
import { Hash as H } from "./Hash.js";
|
|
38
|
+
import { House as x } from "./House.js";
|
|
39
|
+
import { Import as z } from "./Import.js";
|
|
40
|
+
import { Inbox as E } from "./Inbox.js";
|
|
41
|
+
import { Info as q } from "./Info.js";
|
|
42
|
+
import { LayoutDashboard as X } from "./LayoutDashboard.js";
|
|
43
|
+
import { LayoutGrid as G } from "./LayoutGrid.js";
|
|
44
|
+
import { ListTodo as N } from "./ListTodo.js";
|
|
45
|
+
import { Loader2 as _ } from "./Loader2.js";
|
|
46
|
+
import { Lock as Y } from "./Lock.js";
|
|
47
|
+
import { LogOut as j } from "./LogOut.js";
|
|
48
|
+
import { Maximize2 as J } from "./Maximize2.js";
|
|
49
|
+
import { MessageCircle as K } from "./MessageCircle.js";
|
|
50
|
+
import { MessageSquare as Q } from "./MessageSquare.js";
|
|
51
|
+
import { Minimize2 as V } from "./Minimize2.js";
|
|
52
|
+
import { PanelLeftClose as W } from "./PanelLeftClose.js";
|
|
53
|
+
import { PanelLeftOpen as Z } from "./PanelLeftOpen.js";
|
|
54
|
+
import { Pause as $ } from "./Pause.js";
|
|
55
|
+
import { Pencil as oo } from "./Pencil.js";
|
|
56
|
+
import { Plus as ro } from "./Plus.js";
|
|
57
|
+
import { Presentation as mo } from "./Presentation.js";
|
|
58
|
+
import { RefreshCw as eo } from "./RefreshCw.js";
|
|
59
|
+
import { RotateCw as io } from "./RotateCw.js";
|
|
60
|
+
import { Send as to } from "./Send.js";
|
|
61
|
+
import { Settings as po } from "./Settings.js";
|
|
62
|
+
import { Shield as fo } from "./Shield.js";
|
|
63
|
+
import { ShieldCheck as lo } from "./ShieldCheck.js";
|
|
64
|
+
import { SlidersHorizontal as ao } from "./SlidersHorizontal.js";
|
|
65
|
+
import { Square as so } from "./Square.js";
|
|
66
|
+
import { Star as Co } from "./Star.js";
|
|
67
|
+
import { ThumbsDown as no } from "./ThumbsDown.js";
|
|
68
|
+
import { ThumbsUp as ho } from "./ThumbsUp.js";
|
|
69
|
+
import { Trash2 as co } from "./Trash2.js";
|
|
70
|
+
import { Trophy as uo } from "./Trophy.js";
|
|
71
|
+
import { Undo2 as Lo } from "./Undo2.js";
|
|
72
|
+
import { Upload as So } from "./Upload.js";
|
|
73
|
+
import { User as go } from "./User.js";
|
|
74
|
+
import { UserPlus as wo } from "./UserPlus.js";
|
|
75
|
+
import { UserRoundCog as Fo } from "./UserRoundCog.js";
|
|
76
|
+
import { Users as Uo } from "./Users.js";
|
|
77
|
+
import { X as Po } from "./X.js";
|
|
78
|
+
const Jr = [
|
|
79
|
+
"ArrowLeft",
|
|
80
|
+
"ArrowLeftRight",
|
|
81
|
+
"BarChart3",
|
|
82
|
+
"Bell",
|
|
83
|
+
"BookOpen",
|
|
84
|
+
"Bot",
|
|
85
|
+
"Check",
|
|
86
|
+
"ChevronDown",
|
|
87
|
+
"ChevronLeft",
|
|
88
|
+
"ChevronRight",
|
|
89
|
+
"ChevronUp",
|
|
90
|
+
"CircleAlert",
|
|
91
|
+
"CircleCheck",
|
|
92
|
+
"CircleHelp",
|
|
93
|
+
"CirclePlay",
|
|
94
|
+
"CircleX",
|
|
95
|
+
"ClipboardCheck",
|
|
96
|
+
"Clock",
|
|
97
|
+
"CloudDownload",
|
|
98
|
+
"CloudUpload",
|
|
99
|
+
"Code",
|
|
100
|
+
"Copy",
|
|
101
|
+
"Crown",
|
|
102
|
+
"Database",
|
|
103
|
+
"Download",
|
|
104
|
+
"Eye",
|
|
105
|
+
"EyeOff",
|
|
106
|
+
"File",
|
|
107
|
+
"FileArchive",
|
|
108
|
+
"FileImage",
|
|
109
|
+
"FileSpreadsheet",
|
|
110
|
+
"FileText",
|
|
111
|
+
"Flag",
|
|
112
|
+
"Flame",
|
|
113
|
+
"Folder",
|
|
114
|
+
"FolderOpen",
|
|
115
|
+
"Hash",
|
|
116
|
+
"House",
|
|
117
|
+
"Import",
|
|
118
|
+
"Inbox",
|
|
119
|
+
"Info",
|
|
120
|
+
"LayoutDashboard",
|
|
121
|
+
"LayoutGrid",
|
|
122
|
+
"ListTodo",
|
|
123
|
+
"Loader2",
|
|
124
|
+
"Lock",
|
|
125
|
+
"LogOut",
|
|
126
|
+
"Maximize2",
|
|
127
|
+
"MessageCircle",
|
|
128
|
+
"MessageSquare",
|
|
129
|
+
"Minimize2",
|
|
130
|
+
"PanelLeftClose",
|
|
131
|
+
"PanelLeftOpen",
|
|
132
|
+
"Pause",
|
|
133
|
+
"Pencil",
|
|
134
|
+
"Plus",
|
|
135
|
+
"Presentation",
|
|
136
|
+
"RefreshCw",
|
|
137
|
+
"RotateCw",
|
|
138
|
+
"Send",
|
|
139
|
+
"Settings",
|
|
140
|
+
"Shield",
|
|
141
|
+
"ShieldCheck",
|
|
142
|
+
"SlidersHorizontal",
|
|
143
|
+
"Square",
|
|
144
|
+
"Star",
|
|
145
|
+
"ThumbsDown",
|
|
146
|
+
"ThumbsUp",
|
|
147
|
+
"Trash2",
|
|
148
|
+
"Trophy",
|
|
149
|
+
"Undo2",
|
|
150
|
+
"Upload",
|
|
151
|
+
"User",
|
|
152
|
+
"UserPlus",
|
|
153
|
+
"UserRoundCog",
|
|
154
|
+
"Users",
|
|
155
|
+
"X"
|
|
156
|
+
], Kr = {
|
|
157
|
+
ArrowLeft: o,
|
|
158
|
+
ArrowLeftRight: r,
|
|
159
|
+
BarChart3: m,
|
|
160
|
+
Bell: e,
|
|
161
|
+
BookOpen: i,
|
|
162
|
+
Bot: t,
|
|
163
|
+
Check: p,
|
|
164
|
+
ChevronDown: f,
|
|
165
|
+
ChevronLeft: l,
|
|
166
|
+
ChevronRight: a,
|
|
167
|
+
ChevronUp: s,
|
|
168
|
+
CircleAlert: C,
|
|
169
|
+
CircleCheck: n,
|
|
170
|
+
CircleHelp: h,
|
|
171
|
+
CirclePlay: d,
|
|
172
|
+
CircleX: c,
|
|
173
|
+
ClipboardCheck: u,
|
|
174
|
+
Clock: L,
|
|
175
|
+
CloudDownload: S,
|
|
176
|
+
CloudUpload: g,
|
|
177
|
+
Code: w,
|
|
178
|
+
Copy: F,
|
|
179
|
+
Crown: U,
|
|
180
|
+
Database: P,
|
|
181
|
+
Download: k,
|
|
182
|
+
Eye: y,
|
|
183
|
+
EyeOff: T,
|
|
184
|
+
File: b,
|
|
185
|
+
FileArchive: D,
|
|
186
|
+
FileImage: O,
|
|
187
|
+
FileSpreadsheet: R,
|
|
188
|
+
FileText: I,
|
|
189
|
+
Flag: v,
|
|
190
|
+
Flame: A,
|
|
191
|
+
Folder: M,
|
|
192
|
+
FolderOpen: B,
|
|
193
|
+
Hash: H,
|
|
194
|
+
House: x,
|
|
195
|
+
Import: z,
|
|
196
|
+
Inbox: E,
|
|
197
|
+
Info: q,
|
|
198
|
+
LayoutDashboard: X,
|
|
199
|
+
LayoutGrid: G,
|
|
200
|
+
ListTodo: N,
|
|
201
|
+
Loader2: _,
|
|
202
|
+
Lock: Y,
|
|
203
|
+
LogOut: j,
|
|
204
|
+
Maximize2: J,
|
|
205
|
+
MessageCircle: K,
|
|
206
|
+
MessageSquare: Q,
|
|
207
|
+
Minimize2: V,
|
|
208
|
+
PanelLeftClose: W,
|
|
209
|
+
PanelLeftOpen: Z,
|
|
210
|
+
Pause: $,
|
|
211
|
+
Pencil: oo,
|
|
212
|
+
Plus: ro,
|
|
213
|
+
Presentation: mo,
|
|
214
|
+
RefreshCw: eo,
|
|
215
|
+
RotateCw: io,
|
|
216
|
+
Send: to,
|
|
217
|
+
Settings: po,
|
|
218
|
+
Shield: fo,
|
|
219
|
+
ShieldCheck: lo,
|
|
220
|
+
SlidersHorizontal: ao,
|
|
221
|
+
Square: so,
|
|
222
|
+
Star: Co,
|
|
223
|
+
ThumbsDown: no,
|
|
224
|
+
ThumbsUp: ho,
|
|
225
|
+
Trash2: co,
|
|
226
|
+
Trophy: uo,
|
|
227
|
+
Undo2: Lo,
|
|
228
|
+
Upload: So,
|
|
229
|
+
User: go,
|
|
230
|
+
UserPlus: wo,
|
|
231
|
+
UserRoundCog: Fo,
|
|
232
|
+
Users: Uo,
|
|
233
|
+
X: Po
|
|
234
|
+
};
|
|
235
|
+
export {
|
|
236
|
+
Jr as ICON_NAMES,
|
|
237
|
+
Kr as ICON_REGISTRY
|
|
238
|
+
};
|
|
239
|
+
//# sourceMappingURL=registry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registry.js","sources":["../../../src/components/Icons/registry.ts"],"sourcesContent":["import type React from 'react';\nimport type { IconProps } from './createIcon';\nimport { ArrowLeft } from './ArrowLeft';\nimport { ArrowLeftRight } from './ArrowLeftRight';\nimport { BarChart3 } from './BarChart3';\nimport { Bell } from './Bell';\nimport { BookOpen } from './BookOpen';\nimport { Bot } from './Bot';\nimport { Check } from './Check';\nimport { ChevronDown } from './ChevronDown';\nimport { ChevronLeft } from './ChevronLeft';\nimport { ChevronRight } from './ChevronRight';\nimport { ChevronUp } from './ChevronUp';\nimport { CircleAlert } from './CircleAlert';\nimport { CircleCheck } from './CircleCheck';\nimport { CircleHelp } from './CircleHelp';\nimport { CirclePlay } from './CirclePlay';\nimport { CircleX } from './CircleX';\nimport { ClipboardCheck } from './ClipboardCheck';\nimport { Clock } from './Clock';\nimport { CloudDownload } from './CloudDownload';\nimport { CloudUpload } from './CloudUpload';\nimport { Code } from './Code';\nimport { Copy } from './Copy';\nimport { Crown } from './Crown';\nimport { Database } from './Database';\nimport { Download } from './Download';\nimport { Eye } from './Eye';\nimport { EyeOff } from './EyeOff';\nimport { File } from './File';\nimport { FileArchive } from './FileArchive';\nimport { FileImage } from './FileImage';\nimport { FileSpreadsheet } from './FileSpreadsheet';\nimport { FileText } from './FileText';\nimport { Flag } from './Flag';\nimport { Flame } from './Flame';\nimport { Folder } from './Folder';\nimport { FolderOpen } from './FolderOpen';\nimport { Hash } from './Hash';\nimport { House } from './House';\nimport { Import } from './Import';\nimport { Inbox } from './Inbox';\nimport { Info } from './Info';\nimport { LayoutDashboard } from './LayoutDashboard';\nimport { LayoutGrid } from './LayoutGrid';\nimport { ListTodo } from './ListTodo';\nimport { Loader2 } from './Loader2';\nimport { Lock } from './Lock';\nimport { LogOut } from './LogOut';\nimport { Maximize2 } from './Maximize2';\nimport { MessageCircle } from './MessageCircle';\nimport { MessageSquare } from './MessageSquare';\nimport { Minimize2 } from './Minimize2';\nimport { PanelLeftClose } from './PanelLeftClose';\nimport { PanelLeftOpen } from './PanelLeftOpen';\nimport { Pause } from './Pause';\nimport { Pencil } from './Pencil';\nimport { Plus } from './Plus';\nimport { Presentation } from './Presentation';\nimport { RefreshCw } from './RefreshCw';\nimport { RotateCw } from './RotateCw';\nimport { Send } from './Send';\nimport { Settings } from './Settings';\nimport { Shield } from './Shield';\nimport { ShieldCheck } from './ShieldCheck';\nimport { SlidersHorizontal } from './SlidersHorizontal';\nimport { Square } from './Square';\nimport { Star } from './Star';\nimport { ThumbsDown } from './ThumbsDown';\nimport { ThumbsUp } from './ThumbsUp';\nimport { Trash2 } from './Trash2';\nimport { Trophy } from './Trophy';\nimport { Undo2 } from './Undo2';\nimport { Upload } from './Upload';\nimport { User } from './User';\nimport { UserPlus } from './UserPlus';\nimport { UserRoundCog } from './UserRoundCog';\nimport { Users } from './Users';\nimport { X } from './X';\n\nexport const ICON_NAMES = [\n 'ArrowLeft',\n 'ArrowLeftRight',\n 'BarChart3',\n 'Bell',\n 'BookOpen',\n 'Bot',\n 'Check',\n 'ChevronDown',\n 'ChevronLeft',\n 'ChevronRight',\n 'ChevronUp',\n 'CircleAlert',\n 'CircleCheck',\n 'CircleHelp',\n 'CirclePlay',\n 'CircleX',\n 'ClipboardCheck',\n 'Clock',\n 'CloudDownload',\n 'CloudUpload',\n 'Code',\n 'Copy',\n 'Crown',\n 'Database',\n 'Download',\n 'Eye',\n 'EyeOff',\n 'File',\n 'FileArchive',\n 'FileImage',\n 'FileSpreadsheet',\n 'FileText',\n 'Flag',\n 'Flame',\n 'Folder',\n 'FolderOpen',\n 'Hash',\n 'House',\n 'Import',\n 'Inbox',\n 'Info',\n 'LayoutDashboard',\n 'LayoutGrid',\n 'ListTodo',\n 'Loader2',\n 'Lock',\n 'LogOut',\n 'Maximize2',\n 'MessageCircle',\n 'MessageSquare',\n 'Minimize2',\n 'PanelLeftClose',\n 'PanelLeftOpen',\n 'Pause',\n 'Pencil',\n 'Plus',\n 'Presentation',\n 'RefreshCw',\n 'RotateCw',\n 'Send',\n 'Settings',\n 'Shield',\n 'ShieldCheck',\n 'SlidersHorizontal',\n 'Square',\n 'Star',\n 'ThumbsDown',\n 'ThumbsUp',\n 'Trash2',\n 'Trophy',\n 'Undo2',\n 'Upload',\n 'User',\n 'UserPlus',\n 'UserRoundCog',\n 'Users',\n 'X',\n] as const;\n\nexport type IconName = (typeof ICON_NAMES)[number];\n\n/** 全量注册表:仅 showcase / 按名取图标时用;业务具名 import 勿依赖本文件,以免拖入全部图标 */\nexport const ICON_REGISTRY: Record<IconName, React.FC<IconProps>> = {\n ArrowLeft,\n ArrowLeftRight,\n BarChart3,\n Bell,\n BookOpen,\n Bot,\n Check,\n ChevronDown,\n ChevronLeft,\n ChevronRight,\n ChevronUp,\n CircleAlert,\n CircleCheck,\n CircleHelp,\n CirclePlay,\n CircleX,\n ClipboardCheck,\n Clock,\n CloudDownload,\n CloudUpload,\n Code,\n Copy,\n Crown,\n Database,\n Download,\n Eye,\n EyeOff,\n File,\n FileArchive,\n FileImage,\n FileSpreadsheet,\n FileText,\n Flag,\n Flame,\n Folder,\n FolderOpen,\n Hash,\n House,\n Import,\n Inbox,\n Info,\n LayoutDashboard,\n LayoutGrid,\n ListTodo,\n Loader2,\n Lock,\n LogOut,\n Maximize2,\n MessageCircle,\n MessageSquare,\n Minimize2,\n PanelLeftClose,\n PanelLeftOpen,\n Pause,\n Pencil,\n Plus,\n Presentation,\n RefreshCw,\n RotateCw,\n Send,\n Settings,\n Shield,\n ShieldCheck,\n SlidersHorizontal,\n Square,\n Star,\n ThumbsDown,\n ThumbsUp,\n Trash2,\n Trophy,\n Undo2,\n Upload,\n User,\n UserPlus,\n UserRoundCog,\n Users,\n X,\n};\n"],"names":["ICON_NAMES","ICON_REGISTRY","ArrowLeft","ArrowLeftRight","BarChart3","Bell","BookOpen","Bot","Check","ChevronDown","ChevronLeft","ChevronRight","ChevronUp","CircleAlert","CircleCheck","CircleHelp","CirclePlay","CircleX","ClipboardCheck","Clock","CloudDownload","CloudUpload","Code","Copy","Crown","Database","Download","Eye","EyeOff","File","FileArchive","FileImage","FileSpreadsheet","FileText","Flag","Flame","Folder","FolderOpen","Hash","House","Import","Inbox","Info","LayoutDashboard","LayoutGrid","ListTodo","Loader2","Lock","LogOut","Maximize2","MessageCircle","MessageSquare","Minimize2","PanelLeftClose","PanelLeftOpen","Pause","Pencil","Plus","Presentation","RefreshCw","RotateCw","Send","Settings","Shield","ShieldCheck","SlidersHorizontal","Square","Star","ThumbsDown","ThumbsUp","Trash2","Trophy","Undo2","Upload","User","UserPlus","UserRoundCog","Users","X"],"mappings":"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"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as i, jsxs as l, Fragment as g } from "react/jsx-runtime";
|
|
2
2
|
import w from "@kne/button-group";
|
|
3
3
|
import t from "classnames";
|
|
4
|
-
import { Info as x } from "../Icons/index.js";
|
|
5
4
|
import n from "./style.module.scss.js";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
5
|
+
import x from "../Tag/SemanticTag.js";
|
|
6
|
+
import D from "../TooltipInfo/TooltipInfo.js";
|
|
7
|
+
import { Info as P } from "../Icons/Info.js";
|
|
8
8
|
const M = ({
|
|
9
9
|
title: p,
|
|
10
10
|
info: a,
|
|
@@ -31,7 +31,7 @@ const M = ({
|
|
|
31
31
|
"marsun-interactive-block-tags",
|
|
32
32
|
n["marsun-interactive-block-tags"]
|
|
33
33
|
),
|
|
34
|
-
children: r.map((e) => /* @__PURE__ */ i(
|
|
34
|
+
children: r.map((e) => /* @__PURE__ */ i(x, { color: e.color, children: e.label }, e.label))
|
|
35
35
|
}
|
|
36
36
|
) : null, k = /* @__PURE__ */ l(g, { children: [
|
|
37
37
|
/* @__PURE__ */ l(
|
|
@@ -61,7 +61,7 @@ const M = ({
|
|
|
61
61
|
}
|
|
62
62
|
),
|
|
63
63
|
a != null && a.length ? /* @__PURE__ */ i(
|
|
64
|
-
|
|
64
|
+
D,
|
|
65
65
|
{
|
|
66
66
|
content: a,
|
|
67
67
|
placement: "topLeft",
|
|
@@ -77,7 +77,7 @@ const M = ({
|
|
|
77
77
|
onClick: (e) => e.stopPropagation(),
|
|
78
78
|
onMouseDown: (e) => e.stopPropagation(),
|
|
79
79
|
onKeyDown: (e) => e.stopPropagation(),
|
|
80
|
-
children: /* @__PURE__ */ i(
|
|
80
|
+
children: /* @__PURE__ */ i(P, { size: 16, "aria-hidden": !0 })
|
|
81
81
|
}
|
|
82
82
|
)
|
|
83
83
|
}
|