@sia.soul/sia-react-ui 0.1.112 → 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-ypvUN1on.d.ts → core-C6muCCSS.d.ts} +17 -1
- package/dist/{core-CmVKw5q8.d.cts → core-CEaTbhWd.d.cts} +17 -1
- package/dist/core.cjs +55 -0
- package/dist/core.css +8 -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.js +1 -1
- package/dist/index.cjs +58 -1
- package/dist/index.css +8 -0
- package/dist/index.d.cts +10 -3
- package/dist/index.d.ts +10 -3
- package/dist/index.js +9 -7
- 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],
|
|
@@ -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;
|
|
@@ -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
|
@@ -5919,6 +5919,14 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
|
|
|
5919
5919
|
flex: 1 1 auto;
|
|
5920
5920
|
cursor: default;
|
|
5921
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
|
+
}
|
|
5922
5930
|
.sia-window-controls {
|
|
5923
5931
|
box-sizing: border-box;
|
|
5924
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.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -468,6 +468,44 @@ var import_react3 = require("react");
|
|
|
468
468
|
// src/components/IconCatalog.tsx
|
|
469
469
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
470
470
|
var extendedIconPaths = {
|
|
471
|
+
/** 商品资料:立体包装箱,适用于商品与规格数据入口。 */
|
|
472
|
+
package: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m12 3 9 5v8l-9 5-9-5V8l9-5ZM3 8l9 5 9-5M12 13v8M7.5 5.5l9 5v4" }) }),
|
|
473
|
+
/** 订单:带商品明细的订单单据。 */
|
|
474
|
+
"order-receipt": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M5 3h14v18l-3-2-4 2-4-2-3 2V3ZM8 7h8M8 11h8M8 15h4" }) }),
|
|
475
|
+
/** 售后单:退回箭头与售后单据,区别于告警文档。 */
|
|
476
|
+
"after-sales": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.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" }) }),
|
|
477
|
+
/** 库存:仓库及内部货位。 */
|
|
478
|
+
warehouse: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m3 8 9-5 9 5v13H3V8ZM7 21V11h10v10M7 15h10M7 18h10" }) }),
|
|
479
|
+
/** 店铺商品资料:店铺橱窗中的商品。 */
|
|
480
|
+
"shop-products": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 3h18l-2 5H5L3 3ZM4 8v13h16V8M8 21v-9h8v9M8 16h8M12 12v9" }) }),
|
|
481
|
+
/** 合作方商品:商品资料与合作关系。 */
|
|
482
|
+
"partner-products": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.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" }) }),
|
|
483
|
+
/** 采购退货:采购单与退出箭头。 */
|
|
484
|
+
"purchase-return": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M11 21H5V3h14v9M8 7h8M8 11h5M8 15h3M14 17h7m-7 0 3-3m-3 3 3 3" }) }),
|
|
485
|
+
/** 采购入库:采购单与进入箭头。 */
|
|
486
|
+
"purchase-inbound": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M11 21H5V3h14v9M8 7h8M8 11h5M8 15h3M14 17h7m0 0-3-3m3 3-3 3" }) }),
|
|
487
|
+
/** 其它出入库:仓储流入与流出。 */
|
|
488
|
+
"stock-movement": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.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" }) }),
|
|
489
|
+
/** 库存盘点:库存清单与核对标记。 */
|
|
490
|
+
stocktaking: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 4H5v17h14V4h-4M9 3h6v4H9V3ZM8 11h8M8 15h3m2 3 2 2 6-7" }) }),
|
|
491
|
+
/** 平台报文:平台窗口中的结构化数据。 */
|
|
492
|
+
"platform-message": /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
|
|
493
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
494
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 8h18M6 5.5h.1M9 5.5h.1m0 6.5-3 3 3 3m6-6 3 3-3 3" })
|
|
495
|
+
] }),
|
|
496
|
+
/** 分析报文:报表窗口中的统计数据,可用于胜算等分析系统。 */
|
|
497
|
+
"analytics-message": /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
|
|
498
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
499
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 8h18M6 5.5h.1M9 5.5h.1M7 17v-3M12 17v-6M17 17v-4" })
|
|
500
|
+
] }),
|
|
501
|
+
/** 销售退仓:货物退回仓储。 */
|
|
502
|
+
"sales-return": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.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" }) }),
|
|
503
|
+
/** 销售出库:货物及向外发货箭头。 */
|
|
504
|
+
"sales-outbound": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m3 7 7-4 7 4-7 4-7-4ZM3 7v9l7 5V11M17 7v4M13 17h8m0 0-3-3m3 3-3 3" }) }),
|
|
505
|
+
/** 调拨出库:仓库及向外调拨箭头。 */
|
|
506
|
+
"transfer-outbound": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m3 8 9-5 9 5M4 8v13h7M20 8v4M8 21V11h8M13 17h8m0 0-3-3m3 3-3 3" }) }),
|
|
507
|
+
/** 调拨入库:仓库及向内调拨箭头。 */
|
|
508
|
+
"transfer-inbound": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "m3 8 9-5 9 5M4 8v13h7M20 8v4M8 21V11h8M13 17h8m-8 0 3-3m-3 3 3 3" }) }),
|
|
471
509
|
"notepad-file": /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("g", { transform: "scale(0.0234375)", fill: "currentColor", stroke: "none", children: [
|
|
472
510
|
/* @__PURE__ */ (0, import_jsx_runtime3.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" }),
|
|
473
511
|
/* @__PURE__ */ (0, import_jsx_runtime3.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" })
|
|
@@ -950,6 +988,23 @@ var extendedIconPaths = {
|
|
|
950
988
|
|
|
951
989
|
// src/components/iconBounds.ts
|
|
952
990
|
var outlineIconBounds = {
|
|
991
|
+
// 业务单据与库存图标原始边界;与目录路径同步,由图标组件统一归一化到 18 单位。
|
|
992
|
+
"package": [3, 3, 18, 18],
|
|
993
|
+
"order-receipt": [5, 3, 14, 18],
|
|
994
|
+
"after-sales": [5, 3, 16, 18],
|
|
995
|
+
"warehouse": [3, 3, 18, 18],
|
|
996
|
+
"shop-products": [3, 3, 18, 18],
|
|
997
|
+
"partner-products": [3, 3, 18, 17],
|
|
998
|
+
"purchase-return": [5, 3, 16, 18],
|
|
999
|
+
"purchase-inbound": [5, 3, 16, 18],
|
|
1000
|
+
"stock-movement": [3, 3, 18, 18],
|
|
1001
|
+
"stocktaking": [5, 3, 16, 18],
|
|
1002
|
+
"platform-message": [3, 3, 18, 18],
|
|
1003
|
+
"analytics-message": [3, 3, 18, 18],
|
|
1004
|
+
"sales-return": [3, 3, 18, 18],
|
|
1005
|
+
"sales-outbound": [3, 3, 18, 18],
|
|
1006
|
+
"transfer-outbound": [3, 3, 18, 18],
|
|
1007
|
+
"transfer-inbound": [3, 3, 18, 18],
|
|
953
1008
|
"activity": [3, 6, 18, 13],
|
|
954
1009
|
"align-center": [4, 6, 16, 12],
|
|
955
1010
|
"align-justify": [4, 6, 16, 12],
|
|
@@ -6614,6 +6669,7 @@ function WindowTitleBar({
|
|
|
6614
6669
|
controls = true,
|
|
6615
6670
|
maximized = false,
|
|
6616
6671
|
draggable = true,
|
|
6672
|
+
dragMode = "callback",
|
|
6617
6673
|
disabledActions,
|
|
6618
6674
|
controlLabels,
|
|
6619
6675
|
onWindowAction,
|
|
@@ -6624,7 +6680,7 @@ function WindowTitleBar({
|
|
|
6624
6680
|
}) {
|
|
6625
6681
|
function handleMouseDown(event) {
|
|
6626
6682
|
onMouseDown?.(event);
|
|
6627
|
-
if (event.defaultPrevented || !draggable || !onWindowAction || event.button !== 0) return;
|
|
6683
|
+
if (event.defaultPrevented || !draggable || dragMode === "native" || !onWindowAction || event.button !== 0) return;
|
|
6628
6684
|
const target = event.target;
|
|
6629
6685
|
if (!(target instanceof Element) || target.closest(NON_DRAG_SELECTOR)) return;
|
|
6630
6686
|
event.preventDefault();
|
|
@@ -6645,6 +6701,7 @@ function WindowTitleBar({
|
|
|
6645
6701
|
{
|
|
6646
6702
|
className: `sia-window-titlebar ${className}`.trim(),
|
|
6647
6703
|
"data-actions-align": actionsAlign,
|
|
6704
|
+
"data-drag-mode": draggable ? dragMode : void 0,
|
|
6648
6705
|
onMouseDown: handleMouseDown,
|
|
6649
6706
|
...withTitleTooltip(props),
|
|
6650
6707
|
children: [
|
package/dist/index.css
CHANGED
|
@@ -5919,6 +5919,14 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
|
|
|
5919
5919
|
flex: 1 1 auto;
|
|
5920
5920
|
cursor: default;
|
|
5921
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
|
+
}
|
|
5922
5930
|
.sia-window-controls {
|
|
5923
5931
|
box-sizing: border-box;
|
|
5924
5932
|
display: flex;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { HTMLAttributes, ReactNode, CSSProperties, ElementType, FormHTMLAttributes, InputHTMLAttributes, ChangeEvent, TextareaHTMLAttributes, MouseEvent, Key, PointerEvent, Ref, ReactElement, ButtonHTMLAttributes, RefObject } from 'react';
|
|
3
|
-
import { T as TagStatus, B as BadgeProps } from './core-
|
|
4
|
-
export { a as Badge, b as BadgeRibbonProps, c as BadgeStatus, d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, C as Calendar, g as CalendarProps, h as Card, i as CardAccent, j as CardProps, k as Carousel, l as CarouselProps, m as CarouselRef, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, D as Dropdown, r as DropdownButtonProps, s as DropdownMenuProps, t as DropdownOpenSource, u as DropdownPlacement, v as DropdownProps, w as DropdownTrigger, F as FILLED_ICON_NAMES, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, H as FloatingPlacement, I as FloatingTrigger, J as ICON_NAMES, K as Icon, L as IconName, M as IconProps, N as IconVariant, O as Image, P as ImagePreview, Q as ImagePreviewConfig, R as ImagePreviewProps, S as ImageProps, U as Input, V as InputProps, W as Menu, X as MenuClickInfo, Y as MenuItem, Z as MenuMode, _ as MenuProps, $ as MenuTheme, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, a4 as NotificationConfig, a5 as NotificationPlacement, a6 as NotificationType, a7 as Popconfirm, a8 as PopconfirmProps, a9 as Popover, aa as PopoverProps, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ae as Rate, af as RateProps, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, an as Spin, ao as SpinProps, ap as StepItem, aq as StepStatus, ar as Steps, as as StepsProps, at as TabItem, au as Tabs, av as TabsContextMenuClickInfo, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, aD as TagVariant, aE as Timeline, aF as TimelineItem, aG as TimelineProps, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aK as Tooltip, aL as TooltipProps, aM as Tour, aN as TourProps, aO as TourStep, aP as Tree, aQ as TreeDropPosition, aR as TreeKey, aS as TreeNode, aT as TreeProps, 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, b2 as UploadHttpRequest, b3 as UploadItemActions, b4 as UploadProps, b5 as UploadRef, b6 as UploadRejectInfo, b7 as UploadRequestHandle, b8 as UploadRequestOptions, b9 as Watermark, ba as WatermarkFont, bb as WatermarkProps, bc as message, bd as notification } from './core-
|
|
3
|
+
import { T as TagStatus, B as BadgeProps } from './core-CEaTbhWd.cjs';
|
|
4
|
+
export { a as Badge, b as BadgeRibbonProps, c as BadgeStatus, d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, C as Calendar, g as CalendarProps, h as Card, i as CardAccent, j as CardProps, k as Carousel, l as CarouselProps, m as CarouselRef, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, D as Dropdown, r as DropdownButtonProps, s as DropdownMenuProps, t as DropdownOpenSource, u as DropdownPlacement, v as DropdownProps, w as DropdownTrigger, F as FILLED_ICON_NAMES, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, H as FloatingPlacement, I as FloatingTrigger, J as ICON_NAMES, K as Icon, L as IconName, M as IconProps, N as IconVariant, O as Image, P as ImagePreview, Q as ImagePreviewConfig, R as ImagePreviewProps, S as ImageProps, U as Input, V as InputProps, W as Menu, X as MenuClickInfo, Y as MenuItem, Z as MenuMode, _ as MenuProps, $ as MenuTheme, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, a4 as NotificationConfig, a5 as NotificationPlacement, a6 as NotificationType, a7 as Popconfirm, a8 as PopconfirmProps, a9 as Popover, aa as PopoverProps, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ae as Rate, af as RateProps, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, an as Spin, ao as SpinProps, ap as StepItem, aq as StepStatus, ar as Steps, as as StepsProps, at as TabItem, au as Tabs, av as TabsContextMenuClickInfo, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, aD as TagVariant, aE as Timeline, aF as TimelineItem, aG as TimelineProps, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aK as Tooltip, aL as TooltipProps, aM as Tour, aN as TourProps, aO as TourStep, aP as Tree, aQ as TreeDropPosition, aR as TreeKey, aS as TreeNode, aT as TreeProps, 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, b2 as UploadHttpRequest, b3 as UploadItemActions, b4 as UploadProps, b5 as UploadRef, b6 as UploadRejectInfo, b7 as UploadRequestHandle, b8 as UploadRequestOptions, b9 as Watermark, ba as WatermarkFont, bb as WatermarkProps, bc as message, bd as notification } from './core-CEaTbhWd.cjs';
|
|
5
5
|
import { C as ControlSize, I as InputPlaceholderMode, a as ControlStatus } from './shared-Bx4B28Wh.cjs';
|
|
6
6
|
import { B as ButtonProps, a as ButtonSize } from './Button-O_pNB3SQ.cjs';
|
|
7
7
|
export { b as Button, c as ButtonVariant } from './Button-O_pNB3SQ.cjs';
|
|
@@ -640,6 +640,13 @@ interface WindowTitleBarProps extends HTMLAttributes<HTMLElement> {
|
|
|
640
640
|
* @defaultValue true
|
|
641
641
|
*/
|
|
642
642
|
draggable?: boolean;
|
|
643
|
+
/**
|
|
644
|
+
* 标题栏拖动方式,默认 callback:鼠标按下时通过 onWindowAction 通知宿主拖动或双击最大化。
|
|
645
|
+
* native 使用 app-region CSS,由支持该能力的桌面宿主管理移动、双击和系统菜单,不发送拖动或双击回调;
|
|
646
|
+
* WebView2 宿主须在导航前启用 IsNonClientRegionSupportEnabled,普通浏览器不支持原生拖动。
|
|
647
|
+
* draggable=false 时两种方式均禁用;标题栏按钮、操作区和 data-sia-window-no-drag 区域始终排除。
|
|
648
|
+
*/
|
|
649
|
+
dragMode?: "callback" | "native";
|
|
643
650
|
/** 不允许执行的窗口操作集合。 */
|
|
644
651
|
disabledActions?: readonly WindowControlAction[];
|
|
645
652
|
/** 窗口控制按钮的文案。 */
|
|
@@ -652,7 +659,7 @@ declare function WindowFrame({ titleBar, textSelectable, className, children, ..
|
|
|
652
659
|
/** 窗口控制按钮组件。 */
|
|
653
660
|
declare function WindowControls({ maximized, showMinimize, showMaximize, showClose, disabledActions, labels, onAction, className, ...props }: WindowControlsProps): react.JSX.Element;
|
|
654
661
|
/** 窗口标题栏组件。 */
|
|
655
|
-
declare function WindowTitleBar({ leading, actions, actionsAlign, controls, maximized, draggable, disabledActions, controlLabels, onWindowAction, className, children, onMouseDown, ...props }: WindowTitleBarProps): react.JSX.Element;
|
|
662
|
+
declare function WindowTitleBar({ leading, actions, actionsAlign, controls, maximized, draggable, dragMode, disabledActions, controlLabels, onWindowAction, className, children, onMouseDown, ...props }: WindowTitleBarProps): react.JSX.Element;
|
|
656
663
|
|
|
657
664
|
/** 抽屉的位置类型。 */
|
|
658
665
|
type DrawerPlacement = "left" | "right" | "top" | "bottom";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { HTMLAttributes, ReactNode, CSSProperties, ElementType, FormHTMLAttributes, InputHTMLAttributes, ChangeEvent, TextareaHTMLAttributes, MouseEvent, Key, PointerEvent, Ref, ReactElement, ButtonHTMLAttributes, RefObject } from 'react';
|
|
3
|
-
import { T as TagStatus, B as BadgeProps } from './core-
|
|
4
|
-
export { a as Badge, b as BadgeRibbonProps, c as BadgeStatus, d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, C as Calendar, g as CalendarProps, h as Card, i as CardAccent, j as CardProps, k as Carousel, l as CarouselProps, m as CarouselRef, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, D as Dropdown, r as DropdownButtonProps, s as DropdownMenuProps, t as DropdownOpenSource, u as DropdownPlacement, v as DropdownProps, w as DropdownTrigger, F as FILLED_ICON_NAMES, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, H as FloatingPlacement, I as FloatingTrigger, J as ICON_NAMES, K as Icon, L as IconName, M as IconProps, N as IconVariant, O as Image, P as ImagePreview, Q as ImagePreviewConfig, R as ImagePreviewProps, S as ImageProps, U as Input, V as InputProps, W as Menu, X as MenuClickInfo, Y as MenuItem, Z as MenuMode, _ as MenuProps, $ as MenuTheme, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, a4 as NotificationConfig, a5 as NotificationPlacement, a6 as NotificationType, a7 as Popconfirm, a8 as PopconfirmProps, a9 as Popover, aa as PopoverProps, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ae as Rate, af as RateProps, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, an as Spin, ao as SpinProps, ap as StepItem, aq as StepStatus, ar as Steps, as as StepsProps, at as TabItem, au as Tabs, av as TabsContextMenuClickInfo, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, aD as TagVariant, aE as Timeline, aF as TimelineItem, aG as TimelineProps, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aK as Tooltip, aL as TooltipProps, aM as Tour, aN as TourProps, aO as TourStep, aP as Tree, aQ as TreeDropPosition, aR as TreeKey, aS as TreeNode, aT as TreeProps, 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, b2 as UploadHttpRequest, b3 as UploadItemActions, b4 as UploadProps, b5 as UploadRef, b6 as UploadRejectInfo, b7 as UploadRequestHandle, b8 as UploadRequestOptions, b9 as Watermark, ba as WatermarkFont, bb as WatermarkProps, bc as message, bd as notification } from './core-
|
|
3
|
+
import { T as TagStatus, B as BadgeProps } from './core-C6muCCSS.js';
|
|
4
|
+
export { a as Badge, b as BadgeRibbonProps, c as BadgeStatus, d as Breadcrumb, e as BreadcrumbItem, f as BreadcrumbProps, C as Calendar, g as CalendarProps, h as Card, i as CardAccent, j as CardProps, k as Carousel, l as CarouselProps, m as CarouselRef, n as Collapse, o as CollapseItem, p as CollapseKey, q as CollapseProps, D as Dropdown, r as DropdownButtonProps, s as DropdownMenuProps, t as DropdownOpenSource, u as DropdownPlacement, v as DropdownProps, w as DropdownTrigger, F as FILLED_ICON_NAMES, x as FilledIconName, y as FloatButton, z as FloatButtonBackTopProps, A as FloatButtonGroupProps, E as FloatButtonProps, G as FloatButtonShape, H as FloatingPlacement, I as FloatingTrigger, J as ICON_NAMES, K as Icon, L as IconName, M as IconProps, N as IconVariant, O as Image, P as ImagePreview, Q as ImagePreviewConfig, R as ImagePreviewProps, S as ImageProps, U as Input, V as InputProps, W as Menu, X as MenuClickInfo, Y as MenuItem, Z as MenuMode, _ as MenuProps, $ as MenuTheme, a0 as MessageConfig, a1 as MessageHandle, a2 as MessageKey, a3 as MessageType, a4 as NotificationConfig, a5 as NotificationPlacement, a6 as NotificationType, a7 as Popconfirm, a8 as PopconfirmProps, a9 as Popover, aa as PopoverProps, ab as Progress, ac as ProgressProps, ad as ProgressStatus, ae as Rate, af as RateProps, ag as Result, ah as ResultProps, ai as ResultStatus, aj as Segmented, ak as SegmentedOption, al as SegmentedProps, am as SegmentedValue, an as Spin, ao as SpinProps, ap as StepItem, aq as StepStatus, ar as Steps, as as StepsProps, at as TabItem, au as Tabs, av as TabsContextMenuClickInfo, aw as TabsOrientation, ax as TabsPosition, ay as TabsProps, az as TabsType, aA as Tag, aB as TagProps, aC as TagSize, aD as TagVariant, aE as Timeline, aF as TimelineItem, aG as TimelineProps, aH as Toolbar, aI as ToolbarItem, aJ as ToolbarProps, aK as Tooltip, aL as TooltipProps, aM as Tour, aN as TourProps, aO as TourStep, aP as Tree, aQ as TreeDropPosition, aR as TreeKey, aS as TreeNode, aT as TreeProps, 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, b2 as UploadHttpRequest, b3 as UploadItemActions, b4 as UploadProps, b5 as UploadRef, b6 as UploadRejectInfo, b7 as UploadRequestHandle, b8 as UploadRequestOptions, b9 as Watermark, ba as WatermarkFont, bb as WatermarkProps, bc as message, bd as notification } from './core-C6muCCSS.js';
|
|
5
5
|
import { C as ControlSize, I as InputPlaceholderMode, a as ControlStatus } from './shared-Bx4B28Wh.js';
|
|
6
6
|
import { B as ButtonProps, a as ButtonSize } from './Button-BiL3Wjsd.js';
|
|
7
7
|
export { b as Button, c as ButtonVariant } from './Button-BiL3Wjsd.js';
|
|
@@ -640,6 +640,13 @@ interface WindowTitleBarProps extends HTMLAttributes<HTMLElement> {
|
|
|
640
640
|
* @defaultValue true
|
|
641
641
|
*/
|
|
642
642
|
draggable?: boolean;
|
|
643
|
+
/**
|
|
644
|
+
* 标题栏拖动方式,默认 callback:鼠标按下时通过 onWindowAction 通知宿主拖动或双击最大化。
|
|
645
|
+
* native 使用 app-region CSS,由支持该能力的桌面宿主管理移动、双击和系统菜单,不发送拖动或双击回调;
|
|
646
|
+
* WebView2 宿主须在导航前启用 IsNonClientRegionSupportEnabled,普通浏览器不支持原生拖动。
|
|
647
|
+
* draggable=false 时两种方式均禁用;标题栏按钮、操作区和 data-sia-window-no-drag 区域始终排除。
|
|
648
|
+
*/
|
|
649
|
+
dragMode?: "callback" | "native";
|
|
643
650
|
/** 不允许执行的窗口操作集合。 */
|
|
644
651
|
disabledActions?: readonly WindowControlAction[];
|
|
645
652
|
/** 窗口控制按钮的文案。 */
|
|
@@ -652,7 +659,7 @@ declare function WindowFrame({ titleBar, textSelectable, className, children, ..
|
|
|
652
659
|
/** 窗口控制按钮组件。 */
|
|
653
660
|
declare function WindowControls({ maximized, showMinimize, showMaximize, showClose, disabledActions, labels, onAction, className, ...props }: WindowControlsProps): react.JSX.Element;
|
|
654
661
|
/** 窗口标题栏组件。 */
|
|
655
|
-
declare function WindowTitleBar({ leading, actions, actionsAlign, controls, maximized, draggable, disabledActions, controlLabels, onWindowAction, className, children, onMouseDown, ...props }: WindowTitleBarProps): react.JSX.Element;
|
|
662
|
+
declare function WindowTitleBar({ leading, actions, actionsAlign, controls, maximized, draggable, dragMode, disabledActions, controlLabels, onWindowAction, className, children, onMouseDown, ...props }: WindowTitleBarProps): react.JSX.Element;
|
|
656
663
|
|
|
657
664
|
/** 抽屉的位置类型。 */
|
|
658
665
|
type DrawerPlacement = "left" | "right" | "top" | "bottom";
|
package/dist/index.js
CHANGED
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
Watermark,
|
|
82
82
|
message,
|
|
83
83
|
notification
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-KJWE5H3S.js";
|
|
85
85
|
import "./chunk-RX242MUO.js";
|
|
86
86
|
import {
|
|
87
87
|
MarkdownEditor
|
|
@@ -89,12 +89,12 @@ import {
|
|
|
89
89
|
import {
|
|
90
90
|
RichTextContent,
|
|
91
91
|
RichTextEditor
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-SVAC7ZJP.js";
|
|
93
93
|
import {
|
|
94
94
|
DatePicker,
|
|
95
95
|
SelectDateRange,
|
|
96
96
|
TimePanel
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-74LRPSE7.js";
|
|
98
98
|
import {
|
|
99
99
|
Checkbox,
|
|
100
100
|
FloatingScrollbarProvider,
|
|
@@ -106,14 +106,14 @@ import {
|
|
|
106
106
|
Tooltip,
|
|
107
107
|
Tree,
|
|
108
108
|
useScrollbarProximity
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-TENCZ54M.js";
|
|
110
110
|
import {
|
|
111
111
|
Dropdown,
|
|
112
112
|
Input,
|
|
113
113
|
Menu,
|
|
114
114
|
Segmented,
|
|
115
115
|
Steps
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-NOBJVU2S.js";
|
|
117
117
|
import {
|
|
118
118
|
TextArea
|
|
119
119
|
} from "./chunk-SCEHVGKV.js";
|
|
@@ -124,7 +124,7 @@ import {
|
|
|
124
124
|
Modal,
|
|
125
125
|
OverlayPortal,
|
|
126
126
|
useOverlayLifecycle
|
|
127
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-VFGQLRS6.js";
|
|
128
128
|
import {
|
|
129
129
|
Button
|
|
130
130
|
} from "./chunk-CZ2ITBRW.js";
|
|
@@ -1319,6 +1319,7 @@ function WindowTitleBar({
|
|
|
1319
1319
|
controls = true,
|
|
1320
1320
|
maximized = false,
|
|
1321
1321
|
draggable = true,
|
|
1322
|
+
dragMode = "callback",
|
|
1322
1323
|
disabledActions,
|
|
1323
1324
|
controlLabels,
|
|
1324
1325
|
onWindowAction,
|
|
@@ -1329,7 +1330,7 @@ function WindowTitleBar({
|
|
|
1329
1330
|
}) {
|
|
1330
1331
|
function handleMouseDown(event) {
|
|
1331
1332
|
onMouseDown?.(event);
|
|
1332
|
-
if (event.defaultPrevented || !draggable || !onWindowAction || event.button !== 0) return;
|
|
1333
|
+
if (event.defaultPrevented || !draggable || dragMode === "native" || !onWindowAction || event.button !== 0) return;
|
|
1333
1334
|
const target = event.target;
|
|
1334
1335
|
if (!(target instanceof Element) || target.closest(NON_DRAG_SELECTOR)) return;
|
|
1335
1336
|
event.preventDefault();
|
|
@@ -1350,6 +1351,7 @@ function WindowTitleBar({
|
|
|
1350
1351
|
{
|
|
1351
1352
|
className: `sia-window-titlebar ${className}`.trim(),
|
|
1352
1353
|
"data-actions-align": actionsAlign,
|
|
1354
|
+
"data-drag-mode": draggable ? dragMode : void 0,
|
|
1353
1355
|
onMouseDown: handleMouseDown,
|
|
1354
1356
|
...withTitleTooltip(props),
|
|
1355
1357
|
children: [
|
|
@@ -412,6 +412,44 @@ var import_react5 = require("react");
|
|
|
412
412
|
// src/components/IconCatalog.tsx
|
|
413
413
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
414
414
|
var extendedIconPaths = {
|
|
415
|
+
/** 商品资料:立体包装箱,适用于商品与规格数据入口。 */
|
|
416
|
+
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" }) }),
|
|
417
|
+
/** 订单:带商品明细的订单单据。 */
|
|
418
|
+
"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" }) }),
|
|
419
|
+
/** 售后单:退回箭头与售后单据,区别于告警文档。 */
|
|
420
|
+
"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" }) }),
|
|
421
|
+
/** 库存:仓库及内部货位。 */
|
|
422
|
+
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" }) }),
|
|
423
|
+
/** 店铺商品资料:店铺橱窗中的商品。 */
|
|
424
|
+
"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" }) }),
|
|
425
|
+
/** 合作方商品:商品资料与合作关系。 */
|
|
426
|
+
"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" }) }),
|
|
427
|
+
/** 采购退货:采购单与退出箭头。 */
|
|
428
|
+
"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" }) }),
|
|
429
|
+
/** 采购入库:采购单与进入箭头。 */
|
|
430
|
+
"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" }) }),
|
|
431
|
+
/** 其它出入库:仓储流入与流出。 */
|
|
432
|
+
"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" }) }),
|
|
433
|
+
/** 库存盘点:库存清单与核对标记。 */
|
|
434
|
+
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" }) }),
|
|
435
|
+
/** 平台报文:平台窗口中的结构化数据。 */
|
|
436
|
+
"platform-message": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
437
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
438
|
+
/* @__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" })
|
|
439
|
+
] }),
|
|
440
|
+
/** 分析报文:报表窗口中的统计数据,可用于胜算等分析系统。 */
|
|
441
|
+
"analytics-message": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
|
|
442
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
443
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 8h18M6 5.5h.1M9 5.5h.1M7 17v-3M12 17v-6M17 17v-4" })
|
|
444
|
+
] }),
|
|
445
|
+
/** 销售退仓:货物退回仓储。 */
|
|
446
|
+
"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" }) }),
|
|
447
|
+
/** 销售出库:货物及向外发货箭头。 */
|
|
448
|
+
"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" }) }),
|
|
449
|
+
/** 调拨出库:仓库及向外调拨箭头。 */
|
|
450
|
+
"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" }) }),
|
|
451
|
+
/** 调拨入库:仓库及向内调拨箭头。 */
|
|
452
|
+
"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" }) }),
|
|
415
453
|
"notepad-file": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("g", { transform: "scale(0.0234375)", fill: "currentColor", stroke: "none", children: [
|
|
416
454
|
/* @__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" }),
|
|
417
455
|
/* @__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" })
|
|
@@ -894,6 +932,23 @@ var extendedIconPaths = {
|
|
|
894
932
|
|
|
895
933
|
// src/components/iconBounds.ts
|
|
896
934
|
var outlineIconBounds = {
|
|
935
|
+
// 业务单据与库存图标原始边界;与目录路径同步,由图标组件统一归一化到 18 单位。
|
|
936
|
+
"package": [3, 3, 18, 18],
|
|
937
|
+
"order-receipt": [5, 3, 14, 18],
|
|
938
|
+
"after-sales": [5, 3, 16, 18],
|
|
939
|
+
"warehouse": [3, 3, 18, 18],
|
|
940
|
+
"shop-products": [3, 3, 18, 18],
|
|
941
|
+
"partner-products": [3, 3, 18, 17],
|
|
942
|
+
"purchase-return": [5, 3, 16, 18],
|
|
943
|
+
"purchase-inbound": [5, 3, 16, 18],
|
|
944
|
+
"stock-movement": [3, 3, 18, 18],
|
|
945
|
+
"stocktaking": [5, 3, 16, 18],
|
|
946
|
+
"platform-message": [3, 3, 18, 18],
|
|
947
|
+
"analytics-message": [3, 3, 18, 18],
|
|
948
|
+
"sales-return": [3, 3, 18, 18],
|
|
949
|
+
"sales-outbound": [3, 3, 18, 18],
|
|
950
|
+
"transfer-outbound": [3, 3, 18, 18],
|
|
951
|
+
"transfer-inbound": [3, 3, 18, 18],
|
|
897
952
|
"activity": [3, 6, 18, 13],
|
|
898
953
|
"align-center": [4, 6, 16, 12],
|
|
899
954
|
"align-justify": [4, 6, 16, 12],
|
package/dist/rich-text-editor.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RichTextContent,
|
|
3
3
|
RichTextEditor
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-SVAC7ZJP.js";
|
|
5
|
+
import "./chunk-NOBJVU2S.js";
|
|
6
6
|
import "./chunk-SCEHVGKV.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-VFGQLRS6.js";
|
|
8
8
|
import "./chunk-CZ2ITBRW.js";
|
|
9
9
|
import "./chunk-KY6A5IJH.js";
|
|
10
10
|
import "./chunk-NZMUW5XI.js";
|
|
@@ -329,6 +329,44 @@ var import_react4 = require("react");
|
|
|
329
329
|
// src/components/IconCatalog.tsx
|
|
330
330
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
331
331
|
var extendedIconPaths = {
|
|
332
|
+
/** 商品资料:立体包装箱,适用于商品与规格数据入口。 */
|
|
333
|
+
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" }) }),
|
|
334
|
+
/** 订单:带商品明细的订单单据。 */
|
|
335
|
+
"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" }) }),
|
|
336
|
+
/** 售后单:退回箭头与售后单据,区别于告警文档。 */
|
|
337
|
+
"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" }) }),
|
|
338
|
+
/** 库存:仓库及内部货位。 */
|
|
339
|
+
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" }) }),
|
|
340
|
+
/** 店铺商品资料:店铺橱窗中的商品。 */
|
|
341
|
+
"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" }) }),
|
|
342
|
+
/** 合作方商品:商品资料与合作关系。 */
|
|
343
|
+
"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" }) }),
|
|
344
|
+
/** 采购退货:采购单与退出箭头。 */
|
|
345
|
+
"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" }) }),
|
|
346
|
+
/** 采购入库:采购单与进入箭头。 */
|
|
347
|
+
"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" }) }),
|
|
348
|
+
/** 其它出入库:仓储流入与流出。 */
|
|
349
|
+
"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" }) }),
|
|
350
|
+
/** 库存盘点:库存清单与核对标记。 */
|
|
351
|
+
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" }) }),
|
|
352
|
+
/** 平台报文:平台窗口中的结构化数据。 */
|
|
353
|
+
"platform-message": /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
|
|
354
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
355
|
+
/* @__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" })
|
|
356
|
+
] }),
|
|
357
|
+
/** 分析报文:报表窗口中的统计数据,可用于胜算等分析系统。 */
|
|
358
|
+
"analytics-message": /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
|
|
359
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "2" }),
|
|
360
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("path", { d: "M3 8h18M6 5.5h.1M9 5.5h.1M7 17v-3M12 17v-6M17 17v-4" })
|
|
361
|
+
] }),
|
|
362
|
+
/** 销售退仓:货物退回仓储。 */
|
|
363
|
+
"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" }) }),
|
|
364
|
+
/** 销售出库:货物及向外发货箭头。 */
|
|
365
|
+
"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" }) }),
|
|
366
|
+
/** 调拨出库:仓库及向外调拨箭头。 */
|
|
367
|
+
"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" }) }),
|
|
368
|
+
/** 调拨入库:仓库及向内调拨箭头。 */
|
|
369
|
+
"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" }) }),
|
|
332
370
|
"notepad-file": /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("g", { transform: "scale(0.0234375)", fill: "currentColor", stroke: "none", children: [
|
|
333
371
|
/* @__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" }),
|
|
334
372
|
/* @__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" })
|
|
@@ -811,6 +849,23 @@ var extendedIconPaths = {
|
|
|
811
849
|
|
|
812
850
|
// src/components/iconBounds.ts
|
|
813
851
|
var outlineIconBounds = {
|
|
852
|
+
// 业务单据与库存图标原始边界;与目录路径同步,由图标组件统一归一化到 18 单位。
|
|
853
|
+
"package": [3, 3, 18, 18],
|
|
854
|
+
"order-receipt": [5, 3, 14, 18],
|
|
855
|
+
"after-sales": [5, 3, 16, 18],
|
|
856
|
+
"warehouse": [3, 3, 18, 18],
|
|
857
|
+
"shop-products": [3, 3, 18, 18],
|
|
858
|
+
"partner-products": [3, 3, 18, 17],
|
|
859
|
+
"purchase-return": [5, 3, 16, 18],
|
|
860
|
+
"purchase-inbound": [5, 3, 16, 18],
|
|
861
|
+
"stock-movement": [3, 3, 18, 18],
|
|
862
|
+
"stocktaking": [5, 3, 16, 18],
|
|
863
|
+
"platform-message": [3, 3, 18, 18],
|
|
864
|
+
"analytics-message": [3, 3, 18, 18],
|
|
865
|
+
"sales-return": [3, 3, 18, 18],
|
|
866
|
+
"sales-outbound": [3, 3, 18, 18],
|
|
867
|
+
"transfer-outbound": [3, 3, 18, 18],
|
|
868
|
+
"transfer-inbound": [3, 3, 18, 18],
|
|
814
869
|
"activity": [3, 6, 18, 13],
|
|
815
870
|
"align-center": [4, 6, 16, 12],
|
|
816
871
|
"align-justify": [4, 6, 16, 12],
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SelectDateRange
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-74LRPSE7.js";
|
|
4
|
+
import "./chunk-TENCZ54M.js";
|
|
5
|
+
import "./chunk-NOBJVU2S.js";
|
|
6
6
|
import "./chunk-SCEHVGKV.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-VFGQLRS6.js";
|
|
8
8
|
import "./chunk-CZ2ITBRW.js";
|
|
9
9
|
import "./chunk-KY6A5IJH.js";
|
|
10
10
|
import "./chunk-NZMUW5XI.js";
|