@sia.soul/sia-react-ui 0.1.111 → 0.1.113
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/{chunk-OJ2WDC66.js → chunk-74LRPSE7.js} +2 -2
- package/dist/{chunk-XRHL56EV.js → chunk-KJWE5H3S.js} +3 -3
- package/dist/{chunk-4TTHKFJ7.js → chunk-NOBJVU2S.js} +1 -1
- package/dist/{chunk-MMSYWDTR.js → chunk-SVAC7ZJP.js} +2 -2
- package/dist/{chunk-D3HXXEEZ.js → chunk-TENCZ54M.js} +2 -2
- package/dist/{chunk-QV3AP6A2.js → chunk-VFGQLRS6.js} +55 -0
- package/dist/{core-Ce07FS2N.d.ts → core-C6muCCSS.d.ts} +18 -2
- package/dist/{core-CUF63Lgw.d.cts → core-CEaTbhWd.d.cts} +18 -2
- package/dist/core.cjs +55 -0
- package/dist/core.css +17 -0
- package/dist/core.d.cts +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +4 -4
- package/dist/game.cjs +55 -0
- package/dist/game.css +9 -0
- package/dist/game.js +1 -1
- package/dist/index.cjs +115 -55
- package/dist/index.css +17 -0
- package/dist/index.d.cts +17 -6
- package/dist/index.d.ts +17 -6
- package/dist/index.js +66 -61
- package/dist/rich-text-editor.cjs +55 -0
- package/dist/rich-text-editor.js +3 -3
- package/dist/select-date-range.cjs +55 -0
- package/dist/select-date-range.js +4 -4
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FloatingScrollbarProvider,
|
|
3
3
|
Select
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TENCZ54M.js";
|
|
5
5
|
import {
|
|
6
6
|
Icon
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-VFGQLRS6.js";
|
|
8
8
|
import {
|
|
9
9
|
useFloatingPlaceholder
|
|
10
10
|
} from "./chunk-KY6A5IJH.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Popover,
|
|
3
3
|
Tooltip
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TENCZ54M.js";
|
|
5
5
|
import {
|
|
6
6
|
Dropdown
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NOBJVU2S.js";
|
|
8
8
|
import {
|
|
9
9
|
TextArea
|
|
10
10
|
} from "./chunk-SCEHVGKV.js";
|
|
11
11
|
import {
|
|
12
12
|
Icon,
|
|
13
13
|
useOverlayLifecycle
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VFGQLRS6.js";
|
|
15
15
|
import {
|
|
16
16
|
Button
|
|
17
17
|
} from "./chunk-CZ2ITBRW.js";
|
|
@@ -11,6 +11,44 @@ import { forwardRef } from "react";
|
|
|
11
11
|
// src/components/IconCatalog.tsx
|
|
12
12
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
var extendedIconPaths = {
|
|
14
|
+
/** 商品资料:立体包装箱,适用于商品与规格数据入口。 */
|
|
15
|
+
package: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m12 3 9 5v8l-9 5-9-5V8l9-5ZM3 8l9 5 9-5M12 13v8M7.5 5.5l9 5v4" }) }),
|
|
16
|
+
/** 订单:带商品明细的订单单据。 */
|
|
17
|
+
"order-receipt": /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M5 3h14v18l-3-2-4 2-4-2-3 2V3ZM8 7h8M8 11h8M8 15h4" }) }),
|
|
18
|
+
/** 售后单:退回箭头与售后单据,区别于告警文档。 */
|
|
19
|
+
"after-sales": /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M13 21H5V3h10l4 4v4M14 3v5h5M8 7h3M8 11h3M14 15h4a3 3 0 0 1 0 6h-2m-2-6 3-3m-3 3 3 3" }) }),
|
|
20
|
+
/** 库存:仓库及内部货位。 */
|
|
21
|
+
warehouse: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m3 8 9-5 9 5v13H3V8ZM7 21V11h10v10M7 15h10M7 18h10" }) }),
|
|
22
|
+
/** 店铺商品资料:店铺橱窗中的商品。 */
|
|
23
|
+
"shop-products": /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M3 3h18l-2 5H5L3 3ZM4 8v13h16V8M8 21v-9h8v9M8 16h8M12 12v9" }) }),
|
|
24
|
+
/** 合作方商品:商品资料与合作关系。 */
|
|
25
|
+
"partner-products": /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m10 3 7 4-7 4-7-4 7-4ZM3 7v8l7 4M10 11v4M17 7v4M14 16h5a2 2 0 0 1 0 4h-2M17 16h-3a2 2 0 0 0 0 4h1" }) }),
|
|
26
|
+
/** 采购退货:采购单与退出箭头。 */
|
|
27
|
+
"purchase-return": /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M11 21H5V3h14v9M8 7h8M8 11h5M8 15h3M14 17h7m-7 0 3-3m-3 3 3 3" }) }),
|
|
28
|
+
/** 采购入库:采购单与进入箭头。 */
|
|
29
|
+
"purchase-inbound": /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M11 21H5V3h14v9M8 7h8M8 11h5M8 15h3M14 17h7m0 0-3-3m3 3-3 3" }) }),
|
|
30
|
+
/** 其它出入库:仓储流入与流出。 */
|
|
31
|
+
"stock-movement": /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m3 8 9-5 9 5M4 8v13h16V8M7 12h9m0 0-2-2m2 2-2 2M17 17H8m0 0 2-2m-2 2 2 2" }) }),
|
|
32
|
+
/** 库存盘点:库存清单与核对标记。 */
|
|
33
|
+
stocktaking: /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "M9 4H5v17h14V4h-4M9 3h6v4H9V3ZM8 11h8M8 15h3m2 3 2 2 6-7" }) }),
|
|
34
|
+
/** 平台报文:平台窗口中的结构化数据。 */
|
|
35
|
+
"platform-message": /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
36
|
+
/* @__PURE__ */ jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
37
|
+
/* @__PURE__ */ jsx("path", { d: "M3 8h18M6 5.5h.1M9 5.5h.1m0 6.5-3 3 3 3m6-6 3 3-3 3" })
|
|
38
|
+
] }),
|
|
39
|
+
/** 分析报文:报表窗口中的统计数据,可用于胜算等分析系统。 */
|
|
40
|
+
"analytics-message": /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
41
|
+
/* @__PURE__ */ jsx("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
42
|
+
/* @__PURE__ */ jsx("path", { d: "M3 8h18M6 5.5h.1M9 5.5h.1M7 17v-3M12 17v-6M17 17v-4" })
|
|
43
|
+
] }),
|
|
44
|
+
/** 销售退仓:货物退回仓储。 */
|
|
45
|
+
"sales-return": /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m3 7 7-4 7 4-7 4-7-4ZM3 7v9l7 5V11M17 7v4M14 15h4a3 3 0 0 1 0 6h-2m-2-6 3-3m-3 3 3 3" }) }),
|
|
46
|
+
/** 销售出库:货物及向外发货箭头。 */
|
|
47
|
+
"sales-outbound": /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m3 7 7-4 7 4-7 4-7-4ZM3 7v9l7 5V11M17 7v4M13 17h8m0 0-3-3m3 3-3 3" }) }),
|
|
48
|
+
/** 调拨出库:仓库及向外调拨箭头。 */
|
|
49
|
+
"transfer-outbound": /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m3 8 9-5 9 5M4 8v13h7M20 8v4M8 21V11h8M13 17h8m0 0-3-3m3 3-3 3" }) }),
|
|
50
|
+
/** 调拨入库:仓库及向内调拨箭头。 */
|
|
51
|
+
"transfer-inbound": /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("path", { d: "m3 8 9-5 9 5M4 8v13h7M20 8v4M8 21V11h8M13 17h8m-8 0 3-3m-3 3 3 3" }) }),
|
|
14
52
|
"notepad-file": /* @__PURE__ */ jsxs("g", { transform: "scale(0.0234375)", fill: "currentColor", stroke: "none", children: [
|
|
15
53
|
/* @__PURE__ */ jsx("path", { d: "M752 80H272c-70.4 0-128 57.6-128 128v608c0 70.4 57.6 128 128 128h353.6c33.6 0 65.6-12.8 91.2-36.8l126.4-126.4c24-24 36.8-56 36.8-91.2V208c0-70.4-57.6-128-128-128zM208 816V208c0-35.2 28.8-64 64-64h480c35.2 0 64 28.8 64 64v464h-96c-70.4 0-128 57.6-128 128v80H272c-35.2 0-64-28.8-64-64z m462.4 44.8c-4.8 4.8-9.6 8-14.4 11.2v-72c0-35.2 28.8-64 64-64h75.2L670.4 860.8z" }),
|
|
16
54
|
/* @__PURE__ */ jsx("path", { d: "M368 352h288c17.6 0 32-14.4 32-32s-14.4-32-32-32H368c-17.6 0-32 14.4-32 32s14.4 32 32 32z m128 256H368c-17.6 0-32 14.4-32 32s14.4 32 32 32h128c17.6 0 32-14.4 32-32s-14.4-32-32-32z m-128-96h288c17.6 0 32-14.4 32-32s-14.4-32-32-32H368c-17.6 0-32 14.4-32 32s14.4 32 32 32z" })
|
|
@@ -493,6 +531,23 @@ var extendedIconPaths = {
|
|
|
493
531
|
|
|
494
532
|
// src/components/iconBounds.ts
|
|
495
533
|
var outlineIconBounds = {
|
|
534
|
+
// 业务单据与库存图标原始边界;与目录路径同步,由图标组件统一归一化到 18 单位。
|
|
535
|
+
"package": [3, 3, 18, 18],
|
|
536
|
+
"order-receipt": [5, 3, 14, 18],
|
|
537
|
+
"after-sales": [5, 3, 16, 18],
|
|
538
|
+
"warehouse": [3, 3, 18, 18],
|
|
539
|
+
"shop-products": [3, 3, 18, 18],
|
|
540
|
+
"partner-products": [3, 3, 18, 17],
|
|
541
|
+
"purchase-return": [5, 3, 16, 18],
|
|
542
|
+
"purchase-inbound": [5, 3, 16, 18],
|
|
543
|
+
"stock-movement": [3, 3, 18, 18],
|
|
544
|
+
"stocktaking": [5, 3, 16, 18],
|
|
545
|
+
"platform-message": [3, 3, 18, 18],
|
|
546
|
+
"analytics-message": [3, 3, 18, 18],
|
|
547
|
+
"sales-return": [3, 3, 18, 18],
|
|
548
|
+
"sales-outbound": [3, 3, 18, 18],
|
|
549
|
+
"transfer-outbound": [3, 3, 18, 18],
|
|
550
|
+
"transfer-inbound": [3, 3, 18, 18],
|
|
496
551
|
"activity": [3, 6, 18, 13],
|
|
497
552
|
"align-center": [4, 6, 16, 12],
|
|
498
553
|
"align-justify": [4, 6, 16, 12],
|
|
@@ -60,7 +60,7 @@ interface CardProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
|
|
|
60
60
|
/** 主体之外的补充内容或操作区。 */
|
|
61
61
|
extra?: ReactNode;
|
|
62
62
|
/**
|
|
63
|
-
* 点击卡片非交互区域切换选中,支持 Enter
|
|
63
|
+
* 点击卡片非交互区域切换选中,支持 Enter 和空格键;选中时显示主题色浅背景及右上角三角勾选标记。
|
|
64
64
|
* @defaultValue false
|
|
65
65
|
*/
|
|
66
66
|
selectable?: boolean;
|
|
@@ -121,6 +121,22 @@ interface CardProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
|
|
|
121
121
|
declare function Card({ bordered, title, description, extra, selectable, selected, showSelectedIndicator, defaultSelected, disabled, onSelectedChange, onAction, hoverActions, accent, accentColor, collapsible, collapsed, defaultCollapsed, onCollapsedChange, bodyHeight, fill, bodyClassName, bodyStyle, className, style, children, onClick, onKeyDown, ...props }: CardProps): react.JSX.Element;
|
|
122
122
|
|
|
123
123
|
declare const iconPaths: {
|
|
124
|
+
package: react.JSX.Element;
|
|
125
|
+
"order-receipt": react.JSX.Element;
|
|
126
|
+
"after-sales": react.JSX.Element;
|
|
127
|
+
warehouse: react.JSX.Element;
|
|
128
|
+
"shop-products": react.JSX.Element;
|
|
129
|
+
"partner-products": react.JSX.Element;
|
|
130
|
+
"purchase-return": react.JSX.Element;
|
|
131
|
+
"purchase-inbound": react.JSX.Element;
|
|
132
|
+
"stock-movement": react.JSX.Element;
|
|
133
|
+
stocktaking: react.JSX.Element;
|
|
134
|
+
"platform-message": react.JSX.Element;
|
|
135
|
+
"analytics-message": react.JSX.Element;
|
|
136
|
+
"sales-return": react.JSX.Element;
|
|
137
|
+
"sales-outbound": react.JSX.Element;
|
|
138
|
+
"transfer-outbound": react.JSX.Element;
|
|
139
|
+
"transfer-inbound": react.JSX.Element;
|
|
124
140
|
"notepad-file": react.JSX.Element;
|
|
125
141
|
"notepad-folder": react.JSX.Element;
|
|
126
142
|
"notepad-virtual-folder": react.JSX.Element;
|
|
@@ -340,7 +356,7 @@ declare const iconPaths: {
|
|
|
340
356
|
/** 可用的线框图标名称。 */
|
|
341
357
|
type IconName = keyof typeof iconPaths;
|
|
342
358
|
/** 可用线框图标名称集合。 */
|
|
343
|
-
declare const ICON_NAMES: readonly ("search" | "bold" | "link" | "copy" | "move" | "zoom-in" | "zoom-out" | "table" | "italic" | "underline" | "menu" | "send" | "close" | "pause" | "play" | "message" | "code" | "video" | "filter" | "image" | "stop" | "warning" | "notepad-file" | "notepad-folder" | "notepad-virtual-folder" | "step-backward" | "step-forward" | "fast-backward" | "fast-forward" | "corner-up-left" | "corner-up-right" | "swap-horizontal" | "swap-vertical" | "expand" | "shrink" | "fullscreen" | "fullscreen-exit" | "menu-fold" | "menu-unfold" | "login" | "logout" | "vertical-align-top" | "vertical-align-middle" | "vertical-align-bottom" | "square-plus" | "square-minus" | "square-check" | "square-close" | "tab-plus" | "folder-plus" | "pin" | "pin-off" | "help-circle" | "save" | "clipboard" | "clipboard-check" | "file-plus" | "file-check" | "file-warning" | "file-spreadsheet" | "align-left" | "align-center" | "align-right" | "align-justify" | "strikethrough" | "list-ordered" | "list-unordered" | "eraser" | "highlighter" | "columns" | "rows" | "bar-chart" | "line-chart" | "pie-chart" | "area-chart" | "activity" | "trending-up" | "trending-down" | "database" | "cloud" | "cloud-download" | "cloud-upload" | "server" | "desktop" | "laptop" | "mobile" | "tablet" | "printer" | "camera" | "microphone" | "volume-up" | "volume-off" | "speaker-wave" | "speaker-muted" | "wifi" | "power" | "key" | "shield" | "shield-check" | "bug" | "bulb" | "rocket" | "target" | "trophy" | "shopping-cart" | "shopping-bag" | "shop" | "wallet" | "bank" | "calculator" | "tag" | "tags" | "comments" | "share" | "paperclip" | "location" | "compass" | "car" | "truck" | "gift" | "coffee" | "experiment" | "tool" | "appstore" | "puzzle" | "partition" | "branches" | "scan" | "qr-code" | "barcode" | "user-plus" | "user-minus" | "smile" | "meh" | "frown" | "game-cultivator" | "game-swordsman" | "game-spirit-wolf" | "game-gem" | "game-ingot" | "game-sword" | "game-robe" | "game-pants" | "game-pendant" | "game-necklace" | "game-pill" | "game-potion" | "game-elixir-jar" | "game-flame" | "game-soul-elixir" | "game-herb" | "game-meditate" | "game-backpack" | "game-qi" | "plus" | "tilde" | "minus" | "check" | "info" | "question" | "circle-check" | "circle-close" | "circle-plus" | "circle-minus" | "chevron-left" | "chevron-right" | "chevron-up" | "chevron-down" | "double-left" | "double-right" | "arrow-left" | "arrow-right" | "arrow-up" | "arrow-down" | "more-horizontal" | "more-vertical" | "home" | "user" | "users" | "settings" | "edit" | "trash" | "scissors" | "undo" | "redo" | "flip-horizontal" | "flip-vertical" | "rotate-left" | "rotate-right" | "download" | "upload" | "refresh" | "loader" | "calendar" | "clock" | "mail" | "phone" | "external-link" | "eye" | "eye-off" | "lock" | "unlock" | "bell" | "star" | "heart" | "file" | "folder" | "sort-ascending" | "sort-descending" | "book" | "component" | "token" | "sun" | "moon" | "github")[];
|
|
359
|
+
declare const ICON_NAMES: readonly ("search" | "bold" | "link" | "copy" | "move" | "zoom-in" | "zoom-out" | "table" | "italic" | "underline" | "menu" | "send" | "close" | "pause" | "play" | "message" | "code" | "video" | "filter" | "image" | "stop" | "warning" | "package" | "order-receipt" | "after-sales" | "warehouse" | "shop-products" | "partner-products" | "purchase-return" | "purchase-inbound" | "stock-movement" | "stocktaking" | "platform-message" | "analytics-message" | "sales-return" | "sales-outbound" | "transfer-outbound" | "transfer-inbound" | "notepad-file" | "notepad-folder" | "notepad-virtual-folder" | "step-backward" | "step-forward" | "fast-backward" | "fast-forward" | "corner-up-left" | "corner-up-right" | "swap-horizontal" | "swap-vertical" | "expand" | "shrink" | "fullscreen" | "fullscreen-exit" | "menu-fold" | "menu-unfold" | "login" | "logout" | "vertical-align-top" | "vertical-align-middle" | "vertical-align-bottom" | "square-plus" | "square-minus" | "square-check" | "square-close" | "tab-plus" | "folder-plus" | "pin" | "pin-off" | "help-circle" | "save" | "clipboard" | "clipboard-check" | "file-plus" | "file-check" | "file-warning" | "file-spreadsheet" | "align-left" | "align-center" | "align-right" | "align-justify" | "strikethrough" | "list-ordered" | "list-unordered" | "eraser" | "highlighter" | "columns" | "rows" | "bar-chart" | "line-chart" | "pie-chart" | "area-chart" | "activity" | "trending-up" | "trending-down" | "database" | "cloud" | "cloud-download" | "cloud-upload" | "server" | "desktop" | "laptop" | "mobile" | "tablet" | "printer" | "camera" | "microphone" | "volume-up" | "volume-off" | "speaker-wave" | "speaker-muted" | "wifi" | "power" | "key" | "shield" | "shield-check" | "bug" | "bulb" | "rocket" | "target" | "trophy" | "shopping-cart" | "shopping-bag" | "shop" | "wallet" | "bank" | "calculator" | "tag" | "tags" | "comments" | "share" | "paperclip" | "location" | "compass" | "car" | "truck" | "gift" | "coffee" | "experiment" | "tool" | "appstore" | "puzzle" | "partition" | "branches" | "scan" | "qr-code" | "barcode" | "user-plus" | "user-minus" | "smile" | "meh" | "frown" | "game-cultivator" | "game-swordsman" | "game-spirit-wolf" | "game-gem" | "game-ingot" | "game-sword" | "game-robe" | "game-pants" | "game-pendant" | "game-necklace" | "game-pill" | "game-potion" | "game-elixir-jar" | "game-flame" | "game-soul-elixir" | "game-herb" | "game-meditate" | "game-backpack" | "game-qi" | "plus" | "tilde" | "minus" | "check" | "info" | "question" | "circle-check" | "circle-close" | "circle-plus" | "circle-minus" | "chevron-left" | "chevron-right" | "chevron-up" | "chevron-down" | "double-left" | "double-right" | "arrow-left" | "arrow-right" | "arrow-up" | "arrow-down" | "more-horizontal" | "more-vertical" | "home" | "user" | "users" | "settings" | "edit" | "trash" | "scissors" | "undo" | "redo" | "flip-horizontal" | "flip-vertical" | "rotate-left" | "rotate-right" | "download" | "upload" | "refresh" | "loader" | "calendar" | "clock" | "mail" | "phone" | "external-link" | "eye" | "eye-off" | "lock" | "unlock" | "bell" | "star" | "heart" | "file" | "folder" | "sort-ascending" | "sort-descending" | "book" | "component" | "token" | "sun" | "moon" | "github")[];
|
|
344
360
|
declare const filledIconPaths: {
|
|
345
361
|
info: react.JSX.Element;
|
|
346
362
|
question: react.JSX.Element;
|
|
@@ -60,7 +60,7 @@ interface CardProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
|
|
|
60
60
|
/** 主体之外的补充内容或操作区。 */
|
|
61
61
|
extra?: ReactNode;
|
|
62
62
|
/**
|
|
63
|
-
* 点击卡片非交互区域切换选中,支持 Enter
|
|
63
|
+
* 点击卡片非交互区域切换选中,支持 Enter 和空格键;选中时显示主题色浅背景及右上角三角勾选标记。
|
|
64
64
|
* @defaultValue false
|
|
65
65
|
*/
|
|
66
66
|
selectable?: boolean;
|
|
@@ -121,6 +121,22 @@ interface CardProps extends Omit<HTMLAttributes<HTMLElement>, "title"> {
|
|
|
121
121
|
declare function Card({ bordered, title, description, extra, selectable, selected, showSelectedIndicator, defaultSelected, disabled, onSelectedChange, onAction, hoverActions, accent, accentColor, collapsible, collapsed, defaultCollapsed, onCollapsedChange, bodyHeight, fill, bodyClassName, bodyStyle, className, style, children, onClick, onKeyDown, ...props }: CardProps): react.JSX.Element;
|
|
122
122
|
|
|
123
123
|
declare const iconPaths: {
|
|
124
|
+
package: react.JSX.Element;
|
|
125
|
+
"order-receipt": react.JSX.Element;
|
|
126
|
+
"after-sales": react.JSX.Element;
|
|
127
|
+
warehouse: react.JSX.Element;
|
|
128
|
+
"shop-products": react.JSX.Element;
|
|
129
|
+
"partner-products": react.JSX.Element;
|
|
130
|
+
"purchase-return": react.JSX.Element;
|
|
131
|
+
"purchase-inbound": react.JSX.Element;
|
|
132
|
+
"stock-movement": react.JSX.Element;
|
|
133
|
+
stocktaking: react.JSX.Element;
|
|
134
|
+
"platform-message": react.JSX.Element;
|
|
135
|
+
"analytics-message": react.JSX.Element;
|
|
136
|
+
"sales-return": react.JSX.Element;
|
|
137
|
+
"sales-outbound": react.JSX.Element;
|
|
138
|
+
"transfer-outbound": react.JSX.Element;
|
|
139
|
+
"transfer-inbound": react.JSX.Element;
|
|
124
140
|
"notepad-file": react.JSX.Element;
|
|
125
141
|
"notepad-folder": react.JSX.Element;
|
|
126
142
|
"notepad-virtual-folder": react.JSX.Element;
|
|
@@ -340,7 +356,7 @@ declare const iconPaths: {
|
|
|
340
356
|
/** 可用的线框图标名称。 */
|
|
341
357
|
type IconName = keyof typeof iconPaths;
|
|
342
358
|
/** 可用线框图标名称集合。 */
|
|
343
|
-
declare const ICON_NAMES: readonly ("search" | "bold" | "link" | "copy" | "move" | "zoom-in" | "zoom-out" | "table" | "italic" | "underline" | "menu" | "send" | "close" | "pause" | "play" | "message" | "code" | "video" | "filter" | "image" | "stop" | "warning" | "notepad-file" | "notepad-folder" | "notepad-virtual-folder" | "step-backward" | "step-forward" | "fast-backward" | "fast-forward" | "corner-up-left" | "corner-up-right" | "swap-horizontal" | "swap-vertical" | "expand" | "shrink" | "fullscreen" | "fullscreen-exit" | "menu-fold" | "menu-unfold" | "login" | "logout" | "vertical-align-top" | "vertical-align-middle" | "vertical-align-bottom" | "square-plus" | "square-minus" | "square-check" | "square-close" | "tab-plus" | "folder-plus" | "pin" | "pin-off" | "help-circle" | "save" | "clipboard" | "clipboard-check" | "file-plus" | "file-check" | "file-warning" | "file-spreadsheet" | "align-left" | "align-center" | "align-right" | "align-justify" | "strikethrough" | "list-ordered" | "list-unordered" | "eraser" | "highlighter" | "columns" | "rows" | "bar-chart" | "line-chart" | "pie-chart" | "area-chart" | "activity" | "trending-up" | "trending-down" | "database" | "cloud" | "cloud-download" | "cloud-upload" | "server" | "desktop" | "laptop" | "mobile" | "tablet" | "printer" | "camera" | "microphone" | "volume-up" | "volume-off" | "speaker-wave" | "speaker-muted" | "wifi" | "power" | "key" | "shield" | "shield-check" | "bug" | "bulb" | "rocket" | "target" | "trophy" | "shopping-cart" | "shopping-bag" | "shop" | "wallet" | "bank" | "calculator" | "tag" | "tags" | "comments" | "share" | "paperclip" | "location" | "compass" | "car" | "truck" | "gift" | "coffee" | "experiment" | "tool" | "appstore" | "puzzle" | "partition" | "branches" | "scan" | "qr-code" | "barcode" | "user-plus" | "user-minus" | "smile" | "meh" | "frown" | "game-cultivator" | "game-swordsman" | "game-spirit-wolf" | "game-gem" | "game-ingot" | "game-sword" | "game-robe" | "game-pants" | "game-pendant" | "game-necklace" | "game-pill" | "game-potion" | "game-elixir-jar" | "game-flame" | "game-soul-elixir" | "game-herb" | "game-meditate" | "game-backpack" | "game-qi" | "plus" | "tilde" | "minus" | "check" | "info" | "question" | "circle-check" | "circle-close" | "circle-plus" | "circle-minus" | "chevron-left" | "chevron-right" | "chevron-up" | "chevron-down" | "double-left" | "double-right" | "arrow-left" | "arrow-right" | "arrow-up" | "arrow-down" | "more-horizontal" | "more-vertical" | "home" | "user" | "users" | "settings" | "edit" | "trash" | "scissors" | "undo" | "redo" | "flip-horizontal" | "flip-vertical" | "rotate-left" | "rotate-right" | "download" | "upload" | "refresh" | "loader" | "calendar" | "clock" | "mail" | "phone" | "external-link" | "eye" | "eye-off" | "lock" | "unlock" | "bell" | "star" | "heart" | "file" | "folder" | "sort-ascending" | "sort-descending" | "book" | "component" | "token" | "sun" | "moon" | "github")[];
|
|
359
|
+
declare const ICON_NAMES: readonly ("search" | "bold" | "link" | "copy" | "move" | "zoom-in" | "zoom-out" | "table" | "italic" | "underline" | "menu" | "send" | "close" | "pause" | "play" | "message" | "code" | "video" | "filter" | "image" | "stop" | "warning" | "package" | "order-receipt" | "after-sales" | "warehouse" | "shop-products" | "partner-products" | "purchase-return" | "purchase-inbound" | "stock-movement" | "stocktaking" | "platform-message" | "analytics-message" | "sales-return" | "sales-outbound" | "transfer-outbound" | "transfer-inbound" | "notepad-file" | "notepad-folder" | "notepad-virtual-folder" | "step-backward" | "step-forward" | "fast-backward" | "fast-forward" | "corner-up-left" | "corner-up-right" | "swap-horizontal" | "swap-vertical" | "expand" | "shrink" | "fullscreen" | "fullscreen-exit" | "menu-fold" | "menu-unfold" | "login" | "logout" | "vertical-align-top" | "vertical-align-middle" | "vertical-align-bottom" | "square-plus" | "square-minus" | "square-check" | "square-close" | "tab-plus" | "folder-plus" | "pin" | "pin-off" | "help-circle" | "save" | "clipboard" | "clipboard-check" | "file-plus" | "file-check" | "file-warning" | "file-spreadsheet" | "align-left" | "align-center" | "align-right" | "align-justify" | "strikethrough" | "list-ordered" | "list-unordered" | "eraser" | "highlighter" | "columns" | "rows" | "bar-chart" | "line-chart" | "pie-chart" | "area-chart" | "activity" | "trending-up" | "trending-down" | "database" | "cloud" | "cloud-download" | "cloud-upload" | "server" | "desktop" | "laptop" | "mobile" | "tablet" | "printer" | "camera" | "microphone" | "volume-up" | "volume-off" | "speaker-wave" | "speaker-muted" | "wifi" | "power" | "key" | "shield" | "shield-check" | "bug" | "bulb" | "rocket" | "target" | "trophy" | "shopping-cart" | "shopping-bag" | "shop" | "wallet" | "bank" | "calculator" | "tag" | "tags" | "comments" | "share" | "paperclip" | "location" | "compass" | "car" | "truck" | "gift" | "coffee" | "experiment" | "tool" | "appstore" | "puzzle" | "partition" | "branches" | "scan" | "qr-code" | "barcode" | "user-plus" | "user-minus" | "smile" | "meh" | "frown" | "game-cultivator" | "game-swordsman" | "game-spirit-wolf" | "game-gem" | "game-ingot" | "game-sword" | "game-robe" | "game-pants" | "game-pendant" | "game-necklace" | "game-pill" | "game-potion" | "game-elixir-jar" | "game-flame" | "game-soul-elixir" | "game-herb" | "game-meditate" | "game-backpack" | "game-qi" | "plus" | "tilde" | "minus" | "check" | "info" | "question" | "circle-check" | "circle-close" | "circle-plus" | "circle-minus" | "chevron-left" | "chevron-right" | "chevron-up" | "chevron-down" | "double-left" | "double-right" | "arrow-left" | "arrow-right" | "arrow-up" | "arrow-down" | "more-horizontal" | "more-vertical" | "home" | "user" | "users" | "settings" | "edit" | "trash" | "scissors" | "undo" | "redo" | "flip-horizontal" | "flip-vertical" | "rotate-left" | "rotate-right" | "download" | "upload" | "refresh" | "loader" | "calendar" | "clock" | "mail" | "phone" | "external-link" | "eye" | "eye-off" | "lock" | "unlock" | "bell" | "star" | "heart" | "file" | "folder" | "sort-ascending" | "sort-descending" | "book" | "component" | "token" | "sun" | "moon" | "github")[];
|
|
344
360
|
declare const filledIconPaths: {
|
|
345
361
|
info: react.JSX.Element;
|
|
346
362
|
question: react.JSX.Element;
|
package/dist/core.cjs
CHANGED
|
@@ -395,6 +395,44 @@ var import_react5 = require("react");
|
|
|
395
395
|
// src/components/IconCatalog.tsx
|
|
396
396
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
397
397
|
var extendedIconPaths = {
|
|
398
|
+
/** 商品资料:立体包装箱,适用于商品与规格数据入口。 */
|
|
399
|
+
package: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "m12 3 9 5v8l-9 5-9-5V8l9-5ZM3 8l9 5 9-5M12 13v8M7.5 5.5l9 5v4" }) }),
|
|
400
|
+
/** 订单:带商品明细的订单单据。 */
|
|
401
|
+
"order-receipt": /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "M5 3h14v18l-3-2-4 2-4-2-3 2V3ZM8 7h8M8 11h8M8 15h4" }) }),
|
|
402
|
+
/** 售后单:退回箭头与售后单据,区别于告警文档。 */
|
|
403
|
+
"after-sales": /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "M13 21H5V3h10l4 4v4M14 3v5h5M8 7h3M8 11h3M14 15h4a3 3 0 0 1 0 6h-2m-2-6 3-3m-3 3 3 3" }) }),
|
|
404
|
+
/** 库存:仓库及内部货位。 */
|
|
405
|
+
warehouse: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "m3 8 9-5 9 5v13H3V8ZM7 21V11h10v10M7 15h10M7 18h10" }) }),
|
|
406
|
+
/** 店铺商品资料:店铺橱窗中的商品。 */
|
|
407
|
+
"shop-products": /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "M3 3h18l-2 5H5L3 3ZM4 8v13h16V8M8 21v-9h8v9M8 16h8M12 12v9" }) }),
|
|
408
|
+
/** 合作方商品:商品资料与合作关系。 */
|
|
409
|
+
"partner-products": /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "m10 3 7 4-7 4-7-4 7-4ZM3 7v8l7 4M10 11v4M17 7v4M14 16h5a2 2 0 0 1 0 4h-2M17 16h-3a2 2 0 0 0 0 4h1" }) }),
|
|
410
|
+
/** 采购退货:采购单与退出箭头。 */
|
|
411
|
+
"purchase-return": /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "M11 21H5V3h14v9M8 7h8M8 11h5M8 15h3M14 17h7m-7 0 3-3m-3 3 3 3" }) }),
|
|
412
|
+
/** 采购入库:采购单与进入箭头。 */
|
|
413
|
+
"purchase-inbound": /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "M11 21H5V3h14v9M8 7h8M8 11h5M8 15h3M14 17h7m0 0-3-3m3 3-3 3" }) }),
|
|
414
|
+
/** 其它出入库:仓储流入与流出。 */
|
|
415
|
+
"stock-movement": /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "m3 8 9-5 9 5M4 8v13h16V8M7 12h9m0 0-2-2m2 2-2 2M17 17H8m0 0 2-2m-2 2 2 2" }) }),
|
|
416
|
+
/** 库存盘点:库存清单与核对标记。 */
|
|
417
|
+
stocktaking: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "M9 4H5v17h14V4h-4M9 3h6v4H9V3ZM8 11h8M8 15h3m2 3 2 2 6-7" }) }),
|
|
418
|
+
/** 平台报文:平台窗口中的结构化数据。 */
|
|
419
|
+
"platform-message": /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
|
|
420
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
421
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "M3 8h18M6 5.5h.1M9 5.5h.1m0 6.5-3 3 3 3m6-6 3 3-3 3" })
|
|
422
|
+
] }),
|
|
423
|
+
/** 分析报文:报表窗口中的统计数据,可用于胜算等分析系统。 */
|
|
424
|
+
"analytics-message": /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
|
|
425
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
426
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "M3 8h18M6 5.5h.1M9 5.5h.1M7 17v-3M12 17v-6M17 17v-4" })
|
|
427
|
+
] }),
|
|
428
|
+
/** 销售退仓:货物退回仓储。 */
|
|
429
|
+
"sales-return": /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "m3 7 7-4 7 4-7 4-7-4ZM3 7v9l7 5V11M17 7v4M14 15h4a3 3 0 0 1 0 6h-2m-2-6 3-3m-3 3 3 3" }) }),
|
|
430
|
+
/** 销售出库:货物及向外发货箭头。 */
|
|
431
|
+
"sales-outbound": /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "m3 7 7-4 7 4-7 4-7-4ZM3 7v9l7 5V11M17 7v4M13 17h8m0 0-3-3m3 3-3 3" }) }),
|
|
432
|
+
/** 调拨出库:仓库及向外调拨箭头。 */
|
|
433
|
+
"transfer-outbound": /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "m3 8 9-5 9 5M4 8v13h7M20 8v4M8 21V11h8M13 17h8m0 0-3-3m3 3-3 3" }) }),
|
|
434
|
+
/** 调拨入库:仓库及向内调拨箭头。 */
|
|
435
|
+
"transfer-inbound": /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "m3 8 9-5 9 5M4 8v13h7M20 8v4M8 21V11h8M13 17h8m-8 0 3-3m-3 3 3 3" }) }),
|
|
398
436
|
"notepad-file": /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("g", { transform: "scale(0.0234375)", fill: "currentColor", stroke: "none", children: [
|
|
399
437
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "M752 80H272c-70.4 0-128 57.6-128 128v608c0 70.4 57.6 128 128 128h353.6c33.6 0 65.6-12.8 91.2-36.8l126.4-126.4c24-24 36.8-56 36.8-91.2V208c0-70.4-57.6-128-128-128zM208 816V208c0-35.2 28.8-64 64-64h480c35.2 0 64 28.8 64 64v464h-96c-70.4 0-128 57.6-128 128v80H272c-35.2 0-64-28.8-64-64z m462.4 44.8c-4.8 4.8-9.6 8-14.4 11.2v-72c0-35.2 28.8-64 64-64h75.2L670.4 860.8z" }),
|
|
400
438
|
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "M368 352h288c17.6 0 32-14.4 32-32s-14.4-32-32-32H368c-17.6 0-32 14.4-32 32s14.4 32 32 32z m128 256H368c-17.6 0-32 14.4-32 32s14.4 32 32 32h128c17.6 0 32-14.4 32-32s-14.4-32-32-32z m-128-96h288c17.6 0 32-14.4 32-32s-14.4-32-32-32H368c-17.6 0-32 14.4-32 32s14.4 32 32 32z" })
|
|
@@ -877,6 +915,23 @@ var extendedIconPaths = {
|
|
|
877
915
|
|
|
878
916
|
// src/components/iconBounds.ts
|
|
879
917
|
var outlineIconBounds = {
|
|
918
|
+
// 业务单据与库存图标原始边界;与目录路径同步,由图标组件统一归一化到 18 单位。
|
|
919
|
+
"package": [3, 3, 18, 18],
|
|
920
|
+
"order-receipt": [5, 3, 14, 18],
|
|
921
|
+
"after-sales": [5, 3, 16, 18],
|
|
922
|
+
"warehouse": [3, 3, 18, 18],
|
|
923
|
+
"shop-products": [3, 3, 18, 18],
|
|
924
|
+
"partner-products": [3, 3, 18, 17],
|
|
925
|
+
"purchase-return": [5, 3, 16, 18],
|
|
926
|
+
"purchase-inbound": [5, 3, 16, 18],
|
|
927
|
+
"stock-movement": [3, 3, 18, 18],
|
|
928
|
+
"stocktaking": [5, 3, 16, 18],
|
|
929
|
+
"platform-message": [3, 3, 18, 18],
|
|
930
|
+
"analytics-message": [3, 3, 18, 18],
|
|
931
|
+
"sales-return": [3, 3, 18, 18],
|
|
932
|
+
"sales-outbound": [3, 3, 18, 18],
|
|
933
|
+
"transfer-outbound": [3, 3, 18, 18],
|
|
934
|
+
"transfer-inbound": [3, 3, 18, 18],
|
|
880
935
|
"activity": [3, 6, 18, 13],
|
|
881
936
|
"align-center": [4, 6, 16, 12],
|
|
882
937
|
"align-justify": [4, 6, 16, 12],
|
package/dist/core.css
CHANGED
|
@@ -2650,6 +2650,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
2650
2650
|
cursor: default;
|
|
2651
2651
|
}
|
|
2652
2652
|
.sia-card.sia-card--selected {
|
|
2653
|
+
background: color-mix(in srgb, var(--sia-color-primary) 10%, var(--sia-color-surface));
|
|
2653
2654
|
border-color: var(--sia-color-primary);
|
|
2654
2655
|
box-shadow: inset 0 0 0 1px var(--sia-color-primary);
|
|
2655
2656
|
}
|
|
@@ -5555,6 +5556,14 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
5555
5556
|
cursor: not-allowed;
|
|
5556
5557
|
opacity: .5;
|
|
5557
5558
|
}
|
|
5559
|
+
.sia-sortable-list__handle--custom {
|
|
5560
|
+
justify-content: flex-start;
|
|
5561
|
+
padding: 0;
|
|
5562
|
+
font: inherit;
|
|
5563
|
+
color: inherit;
|
|
5564
|
+
background: transparent;
|
|
5565
|
+
text-align: start;
|
|
5566
|
+
}
|
|
5558
5567
|
.sia-sortable-list__item.is-drop-before::before,
|
|
5559
5568
|
.sia-sortable-list__item.is-drop-after::after {
|
|
5560
5569
|
content: "";
|
|
@@ -5910,6 +5919,14 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
|
|
|
5910
5919
|
flex: 1 1 auto;
|
|
5911
5920
|
cursor: default;
|
|
5912
5921
|
}
|
|
5922
|
+
.sia-window-titlebar[data-drag-mode=native],
|
|
5923
|
+
.sia-window-titlebar[data-drag-mode=native] * {
|
|
5924
|
+
app-region: drag;
|
|
5925
|
+
}
|
|
5926
|
+
.sia-window-titlebar[data-drag-mode=native] :is(button, input, textarea, select, a, label, summary, [contenteditable=true], [tabindex]:not([tabindex="-1"]), [role=button], [role=link], [role=menuitem], [role=tab], [data-sia-window-no-drag]),
|
|
5927
|
+
.sia-window-titlebar[data-drag-mode=native] :is(button, input, textarea, select, a, label, summary, [contenteditable=true], [tabindex]:not([tabindex="-1"]), [role=button], [role=link], [role=menuitem], [role=tab], [data-sia-window-no-drag]) * {
|
|
5928
|
+
app-region: no-drag;
|
|
5929
|
+
}
|
|
5913
5930
|
.sia-window-controls {
|
|
5914
5931
|
box-sizing: border-box;
|
|
5915
5932
|
display: flex;
|
package/dist/core.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, K as Icon, L as IconName, M as IconProps, N as IconVariant, U as Input, V as InputProps, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, at as TabItem, au as Tabs, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, T as TagStatus, aD as TagVariant, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aU as Typography, aV as TypographyLinkProps, aW as TypographyProps, aX as TypographyTitleProps, aY as TypographyType, aZ as Upload, a_ as UploadChangeInfo, a$ as UploadDraggerProps, b0 as UploadFile, b1 as UploadFileStatus, b4 as UploadProps, b8 as UploadRequestOptions, bc as message } from './core-
|
|
1
|
+
export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, K as Icon, L as IconName, M as IconProps, N as IconVariant, U as Input, V as InputProps, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, at as TabItem, au as Tabs, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, T as TagStatus, aD as TagVariant, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aU as Typography, aV as TypographyLinkProps, aW as TypographyProps, aX as TypographyTitleProps, aY as TypographyType, aZ as Upload, a_ as UploadChangeInfo, a$ as UploadDraggerProps, b0 as UploadFile, b1 as UploadFileStatus, b4 as UploadProps, b8 as UploadRequestOptions, bc as message } from './core-CEaTbhWd.cjs';
|
|
2
2
|
export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-O_pNB3SQ.cjs';
|
|
3
3
|
export { e as Modal, d as ModalActionResult, M as ModalOpenConfig, f as ModalProps, g as ModalType, a as OverlayApiHandle, h as Select, S as SelectOption, c as SelectProps, j as SelectValue } from './Select-Cf0xz1Tg.cjs';
|
|
4
4
|
import 'react';
|
package/dist/core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, K as Icon, L as IconName, M as IconProps, N as IconVariant, U as Input, V as InputProps, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, at as TabItem, au as Tabs, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, T as TagStatus, aD as TagVariant, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aU as Typography, aV as TypographyLinkProps, aW as TypographyProps, aX as TypographyTitleProps, aY as TypographyType, aZ as Upload, a_ as UploadChangeInfo, a$ as UploadDraggerProps, b0 as UploadFile, b1 as UploadFileStatus, b4 as UploadProps, b8 as UploadRequestOptions, bc as message } from './core-
|
|
1
|
+
export { d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, h as Card, i as CardAccent, j as CardProps, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, K as Icon, L as IconName, M as IconProps, N as IconVariant, U as Input, V as InputProps, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, at as TabItem, au as Tabs, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, T as TagStatus, aD as TagVariant, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aU as Typography, aV as TypographyLinkProps, aW as TypographyProps, aX as TypographyTitleProps, aY as TypographyType, aZ as Upload, a_ as UploadChangeInfo, a$ as UploadDraggerProps, b0 as UploadFile, b1 as UploadFileStatus, b4 as UploadProps, b8 as UploadRequestOptions, bc as message } from './core-C6muCCSS.js';
|
|
2
2
|
export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-BiL3Wjsd.js';
|
|
3
3
|
export { e as Modal, d as ModalActionResult, M as ModalOpenConfig, f as ModalProps, g as ModalType, a as OverlayApiHandle, h as Select, S as SelectOption, c as SelectProps, j as SelectValue } from './Select-BddM4uXC.js';
|
|
4
4
|
import 'react';
|
package/dist/core.js
CHANGED
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
Typography,
|
|
12
12
|
Upload,
|
|
13
13
|
message
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KJWE5H3S.js";
|
|
15
15
|
import "./chunk-RX242MUO.js";
|
|
16
16
|
import {
|
|
17
17
|
Select
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TENCZ54M.js";
|
|
19
19
|
import {
|
|
20
20
|
Input,
|
|
21
21
|
Segmented
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NOBJVU2S.js";
|
|
23
23
|
import "./chunk-SCEHVGKV.js";
|
|
24
24
|
import {
|
|
25
25
|
Icon,
|
|
26
26
|
Modal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VFGQLRS6.js";
|
|
28
28
|
import {
|
|
29
29
|
Button
|
|
30
30
|
} from "./chunk-CZ2ITBRW.js";
|
package/dist/game.cjs
CHANGED
|
@@ -1097,6 +1097,44 @@ var import_react6 = require("react");
|
|
|
1097
1097
|
// src/components/IconCatalog.tsx
|
|
1098
1098
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
1099
1099
|
var extendedIconPaths = {
|
|
1100
|
+
/** 商品资料:立体包装箱,适用于商品与规格数据入口。 */
|
|
1101
|
+
package: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m12 3 9 5v8l-9 5-9-5V8l9-5ZM3 8l9 5 9-5M12 13v8M7.5 5.5l9 5v4" }) }),
|
|
1102
|
+
/** 订单:带商品明细的订单单据。 */
|
|
1103
|
+
"order-receipt": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M5 3h14v18l-3-2-4 2-4-2-3 2V3ZM8 7h8M8 11h8M8 15h4" }) }),
|
|
1104
|
+
/** 售后单:退回箭头与售后单据,区别于告警文档。 */
|
|
1105
|
+
"after-sales": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M13 21H5V3h10l4 4v4M14 3v5h5M8 7h3M8 11h3M14 15h4a3 3 0 0 1 0 6h-2m-2-6 3-3m-3 3 3 3" }) }),
|
|
1106
|
+
/** 库存:仓库及内部货位。 */
|
|
1107
|
+
warehouse: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m3 8 9-5 9 5v13H3V8ZM7 21V11h10v10M7 15h10M7 18h10" }) }),
|
|
1108
|
+
/** 店铺商品资料:店铺橱窗中的商品。 */
|
|
1109
|
+
"shop-products": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 3h18l-2 5H5L3 3ZM4 8v13h16V8M8 21v-9h8v9M8 16h8M12 12v9" }) }),
|
|
1110
|
+
/** 合作方商品:商品资料与合作关系。 */
|
|
1111
|
+
"partner-products": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m10 3 7 4-7 4-7-4 7-4ZM3 7v8l7 4M10 11v4M17 7v4M14 16h5a2 2 0 0 1 0 4h-2M17 16h-3a2 2 0 0 0 0 4h1" }) }),
|
|
1112
|
+
/** 采购退货:采购单与退出箭头。 */
|
|
1113
|
+
"purchase-return": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M11 21H5V3h14v9M8 7h8M8 11h5M8 15h3M14 17h7m-7 0 3-3m-3 3 3 3" }) }),
|
|
1114
|
+
/** 采购入库:采购单与进入箭头。 */
|
|
1115
|
+
"purchase-inbound": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M11 21H5V3h14v9M8 7h8M8 11h5M8 15h3M14 17h7m0 0-3-3m3 3-3 3" }) }),
|
|
1116
|
+
/** 其它出入库:仓储流入与流出。 */
|
|
1117
|
+
"stock-movement": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m3 8 9-5 9 5M4 8v13h16V8M7 12h9m0 0-2-2m2 2-2 2M17 17H8m0 0 2-2m-2 2 2 2" }) }),
|
|
1118
|
+
/** 库存盘点:库存清单与核对标记。 */
|
|
1119
|
+
stocktaking: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 4H5v17h14V4h-4M9 3h6v4H9V3ZM8 11h8M8 15h3m2 3 2 2 6-7" }) }),
|
|
1120
|
+
/** 平台报文:平台窗口中的结构化数据。 */
|
|
1121
|
+
"platform-message": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1122
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
1123
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 8h18M6 5.5h.1M9 5.5h.1m0 6.5-3 3 3 3m6-6 3 3-3 3" })
|
|
1124
|
+
] }),
|
|
1125
|
+
/** 分析报文:报表窗口中的统计数据,可用于胜算等分析系统。 */
|
|
1126
|
+
"analytics-message": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
1127
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
1128
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 8h18M6 5.5h.1M9 5.5h.1M7 17v-3M12 17v-6M17 17v-4" })
|
|
1129
|
+
] }),
|
|
1130
|
+
/** 销售退仓:货物退回仓储。 */
|
|
1131
|
+
"sales-return": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m3 7 7-4 7 4-7 4-7-4ZM3 7v9l7 5V11M17 7v4M14 15h4a3 3 0 0 1 0 6h-2m-2-6 3-3m-3 3 3 3" }) }),
|
|
1132
|
+
/** 销售出库:货物及向外发货箭头。 */
|
|
1133
|
+
"sales-outbound": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m3 7 7-4 7 4-7 4-7-4ZM3 7v9l7 5V11M17 7v4M13 17h8m0 0-3-3m3 3-3 3" }) }),
|
|
1134
|
+
/** 调拨出库:仓库及向外调拨箭头。 */
|
|
1135
|
+
"transfer-outbound": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m3 8 9-5 9 5M4 8v13h7M20 8v4M8 21V11h8M13 17h8m0 0-3-3m3 3-3 3" }) }),
|
|
1136
|
+
/** 调拨入库:仓库及向内调拨箭头。 */
|
|
1137
|
+
"transfer-inbound": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "m3 8 9-5 9 5M4 8v13h7M20 8v4M8 21V11h8M13 17h8m-8 0 3-3m-3 3 3 3" }) }),
|
|
1100
1138
|
"notepad-file": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("g", { transform: "scale(0.0234375)", fill: "currentColor", stroke: "none", children: [
|
|
1101
1139
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M752 80H272c-70.4 0-128 57.6-128 128v608c0 70.4 57.6 128 128 128h353.6c33.6 0 65.6-12.8 91.2-36.8l126.4-126.4c24-24 36.8-56 36.8-91.2V208c0-70.4-57.6-128-128-128zM208 816V208c0-35.2 28.8-64 64-64h480c35.2 0 64 28.8 64 64v464h-96c-70.4 0-128 57.6-128 128v80H272c-35.2 0-64-28.8-64-64z m462.4 44.8c-4.8 4.8-9.6 8-14.4 11.2v-72c0-35.2 28.8-64 64-64h75.2L670.4 860.8z" }),
|
|
1102
1140
|
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M368 352h288c17.6 0 32-14.4 32-32s-14.4-32-32-32H368c-17.6 0-32 14.4-32 32s14.4 32 32 32z m128 256H368c-17.6 0-32 14.4-32 32s14.4 32 32 32h128c17.6 0 32-14.4 32-32s-14.4-32-32-32z m-128-96h288c17.6 0 32-14.4 32-32s-14.4-32-32-32H368c-17.6 0-32 14.4-32 32s14.4 32 32 32z" })
|
|
@@ -1579,6 +1617,23 @@ var extendedIconPaths = {
|
|
|
1579
1617
|
|
|
1580
1618
|
// src/components/iconBounds.ts
|
|
1581
1619
|
var outlineIconBounds = {
|
|
1620
|
+
// 业务单据与库存图标原始边界;与目录路径同步,由图标组件统一归一化到 18 单位。
|
|
1621
|
+
"package": [3, 3, 18, 18],
|
|
1622
|
+
"order-receipt": [5, 3, 14, 18],
|
|
1623
|
+
"after-sales": [5, 3, 16, 18],
|
|
1624
|
+
"warehouse": [3, 3, 18, 18],
|
|
1625
|
+
"shop-products": [3, 3, 18, 18],
|
|
1626
|
+
"partner-products": [3, 3, 18, 17],
|
|
1627
|
+
"purchase-return": [5, 3, 16, 18],
|
|
1628
|
+
"purchase-inbound": [5, 3, 16, 18],
|
|
1629
|
+
"stock-movement": [3, 3, 18, 18],
|
|
1630
|
+
"stocktaking": [5, 3, 16, 18],
|
|
1631
|
+
"platform-message": [3, 3, 18, 18],
|
|
1632
|
+
"analytics-message": [3, 3, 18, 18],
|
|
1633
|
+
"sales-return": [3, 3, 18, 18],
|
|
1634
|
+
"sales-outbound": [3, 3, 18, 18],
|
|
1635
|
+
"transfer-outbound": [3, 3, 18, 18],
|
|
1636
|
+
"transfer-inbound": [3, 3, 18, 18],
|
|
1582
1637
|
"activity": [3, 6, 18, 13],
|
|
1583
1638
|
"align-center": [4, 6, 16, 12],
|
|
1584
1639
|
"align-justify": [4, 6, 16, 12],
|
package/dist/game.css
CHANGED
|
@@ -2659,6 +2659,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
2659
2659
|
cursor: default;
|
|
2660
2660
|
}
|
|
2661
2661
|
.sia-card.sia-card--selected {
|
|
2662
|
+
background: color-mix(in srgb, var(--sia-color-primary) 10%, var(--sia-color-surface));
|
|
2662
2663
|
border-color: var(--sia-color-primary);
|
|
2663
2664
|
box-shadow: inset 0 0 0 1px var(--sia-color-primary);
|
|
2664
2665
|
}
|
|
@@ -5564,6 +5565,14 @@ fieldset:disabled .sia-input-number__floating-placeholder {
|
|
|
5564
5565
|
cursor: not-allowed;
|
|
5565
5566
|
opacity: .5;
|
|
5566
5567
|
}
|
|
5568
|
+
.sia-sortable-list__handle--custom {
|
|
5569
|
+
justify-content: flex-start;
|
|
5570
|
+
padding: 0;
|
|
5571
|
+
font: inherit;
|
|
5572
|
+
color: inherit;
|
|
5573
|
+
background: transparent;
|
|
5574
|
+
text-align: start;
|
|
5575
|
+
}
|
|
5567
5576
|
.sia-sortable-list__item.is-drop-before::before,
|
|
5568
5577
|
.sia-sortable-list__item.is-drop-after::after {
|
|
5569
5578
|
content: "";
|