@sia.soul/sia-react-ui 0.1.113 → 0.1.115

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/core.css CHANGED
@@ -5919,14 +5919,6 @@ 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
- }
5930
5922
  .sia-window-controls {
5931
5923
  box-sizing: border-box;
5932
5924
  display: flex;
@@ -8266,6 +8258,51 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
8266
8258
  pointer-events: none;
8267
8259
  z-index: -1;
8268
8260
  }
8261
+ .sia-menu--grid,
8262
+ .sia-menu--grid .sia-menu__group > ul {
8263
+ display: grid;
8264
+ grid-template-columns: var(--sia-menu-grid-columns, repeat(2, minmax(0, 1fr)));
8265
+ gap: 8px;
8266
+ align-content: start;
8267
+ border-inline-end: 0;
8268
+ }
8269
+ .sia-menu--grid > .sia-menu__entry,
8270
+ .sia-menu--grid .sia-menu__group > ul > .sia-menu__entry {
8271
+ min-width: 0;
8272
+ margin: 0;
8273
+ }
8274
+ .sia-menu--grid > .sia-menu__entry > .sia-menu__item,
8275
+ .sia-menu--grid .sia-menu__group > ul > .sia-menu__entry > .sia-menu__item {
8276
+ flex-direction: column;
8277
+ justify-content: flex-start;
8278
+ gap: 10px;
8279
+ height: 100%;
8280
+ min-height: 108px;
8281
+ padding: 14px 6px 10px;
8282
+ border: 1px solid var(--sia-color-border);
8283
+ border-radius: var(--sia-radius-lg, 10px);
8284
+ text-align: center;
8285
+ }
8286
+ .sia-menu--grid > .sia-menu__entry > .sia-menu__item > .sia-menu__label,
8287
+ .sia-menu--grid .sia-menu__group > ul > .sia-menu__entry > .sia-menu__item > .sia-menu__label {
8288
+ flex: 0 0 auto;
8289
+ width: 100%;
8290
+ margin-top: auto;
8291
+ font-size: 12px;
8292
+ line-height: 1.5;
8293
+ white-space: normal;
8294
+ overflow-wrap: anywhere;
8295
+ }
8296
+ .sia-menu--grid > .sia-menu__entry > .sia-menu__item > .sia-menu__applied,
8297
+ .sia-menu--grid .sia-menu__group > ul > .sia-menu__entry > .sia-menu__item > .sia-menu__applied {
8298
+ top: 8px;
8299
+ right: 6px;
8300
+ transform: none;
8301
+ }
8302
+ .sia-menu--grid > .sia-menu__divider,
8303
+ .sia-menu--grid > .sia-menu__group {
8304
+ grid-column: 1 / -1;
8305
+ }
8269
8306
  .sia-menu__extra {
8270
8307
  color: var(--sia-color-text-secondary);
8271
8308
  font-size: 12px;
package/dist/core.d.cts CHANGED
@@ -1,5 +1,5 @@
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';
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-O6oDXbkG.cjs';
2
2
  export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-O_pNB3SQ.cjs';
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';
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-BAFXKVZB.cjs';
4
4
  import 'react';
5
5
  import './shared-Bx4B28Wh.cjs';
package/dist/core.d.ts CHANGED
@@ -1,5 +1,5 @@
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';
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-uVaNwjTO.js';
2
2
  export { b as Button, B as ButtonProps, a as ButtonSize, c as ButtonVariant } from './Button-BiL3Wjsd.js';
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';
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-vjX7B63I.js';
4
4
  import 'react';
5
5
  import './shared-Bx4B28Wh.js';
package/dist/core.js CHANGED
@@ -11,20 +11,20 @@ import {
11
11
  Typography,
12
12
  Upload,
13
13
  message
14
- } from "./chunk-KJWE5H3S.js";
14
+ } from "./chunk-GNOZYUIH.js";
15
15
  import "./chunk-RX242MUO.js";
16
16
  import {
17
17
  Select
18
- } from "./chunk-TENCZ54M.js";
18
+ } from "./chunk-KPOK4HIQ.js";
19
19
  import {
20
20
  Input,
21
21
  Segmented
22
- } from "./chunk-NOBJVU2S.js";
22
+ } from "./chunk-SPIQSYWQ.js";
23
23
  import "./chunk-SCEHVGKV.js";
24
24
  import {
25
25
  Icon,
26
26
  Modal
27
- } from "./chunk-VFGQLRS6.js";
27
+ } from "./chunk-XY7CXJS6.js";
28
28
  import {
29
29
  Button
30
30
  } from "./chunk-CZ2ITBRW.js";
package/dist/game.cjs CHANGED
@@ -1097,44 +1097,60 @@ 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" }) }),
1100
+ // 业务图标直接采用圆弧轮廓,与框架圆角矩形及圆端描边一致;不以描边连接代替轮廓圆角。
1101
+ /** 商品资料:圆角包装箱,适用于商品与规格数据入口。 */
1102
+ package: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
1103
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "5", width: "18", height: "16", rx: "2.5" }),
1104
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 5v5a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V5M7 17h3" })
1105
+ ] }),
1102
1106
  /** 订单:带商品明细的订单单据。 */
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" }) }),
1107
+ "order-receipt": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
1108
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "5", y: "3", width: "14", height: "18", rx: "2.5" }),
1109
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 8h6M9 12h6M9 16h3" })
1110
+ ] }),
1104
1111
  /** 售后单:退回箭头与售后单据,区别于告警文档。 */
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" }) }),
1112
+ "after-sales": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M10 21H7.5A2.5 2.5 0 0 1 5 18.5v-13A2.5 2.5 0 0 1 7.5 3h9A2.5 2.5 0 0 1 19 5.5V10M9 8h6M9 12h2M14 15h4a3 3 0 0 1 0 6h-2M16 12.5l-2 2a.7.7 0 0 0 0 1l2 2" }) }),
1106
1113
  /** 库存:仓库及内部货位。 */
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" }) }),
1114
+ warehouse: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 10v8.5A2.5 2.5 0 0 0 5.5 21h13a2.5 2.5 0 0 0 2.5-2.5V10c0-.9-.5-1.7-1.2-2.1l-6.6-3.8a2.4 2.4 0 0 0-2.4 0L4.2 7.9C3.5 8.3 3 9.1 3 10ZM8 21v-8.5A1.5 1.5 0 0 1 9.5 11h5a1.5 1.5 0 0 1 1.5 1.5V21M8 16h8" }) }),
1108
1115
  /** 店铺商品资料:店铺橱窗中的商品。 */
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" }) }),
1116
+ "shop-products": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
1117
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "3", width: "18", height: "6", rx: "2.5" }),
1118
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M5 9v9.5A2.5 2.5 0 0 0 7.5 21h9a2.5 2.5 0 0 0 2.5-2.5V9M9 21v-6.5A1.5 1.5 0 0 1 10.5 13h3a1.5 1.5 0 0 1 1.5 1.5V21" })
1119
+ ] }),
1110
1120
  /** 合作方商品:商品资料与合作关系。 */
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" }) }),
1121
+ "partner-products": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 19H5.5A2.5 2.5 0 0 1 3 16.5v-11A2.5 2.5 0 0 1 5.5 3h10A2.5 2.5 0 0 1 18 5.5V11M8 3v5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V3M14 15h-1a3 3 0 0 0 0 6h1M18 15h1a3 3 0 0 1 0 6h-1M13.5 18h5" }) }),
1112
1122
  /** 采购退货:采购单与退出箭头。 */
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" }) }),
1123
+ "purchase-return": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 21H7.5A2.5 2.5 0 0 1 5 18.5v-13A2.5 2.5 0 0 1 7.5 3h9A2.5 2.5 0 0 1 19 5.5V10M9 8h6M9 12h2M21 17h-7.5M16 14l-2.3 2.3a1 1 0 0 0 0 1.4L16 20" }) }),
1114
1124
  /** 采购入库:采购单与进入箭头。 */
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" }) }),
1125
+ "purchase-inbound": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 21H7.5A2.5 2.5 0 0 1 5 18.5v-13A2.5 2.5 0 0 1 7.5 3h9A2.5 2.5 0 0 1 19 5.5V10M9 8h6M9 12h2M13 17h7.5M18 14l2.3 2.3a1 1 0 0 1 0 1.4L18 20" }) }),
1116
1126
  /** 其它出入库:仓储流入与流出。 */
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" }) }),
1127
+ "stock-movement": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
1128
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "3" }),
1129
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M7 9h10M15 6.5l2 2a.7.7 0 0 1 0 1l-2 2M17 15H7M9 12.5l-2 2a.7.7 0 0 0 0 1l2 2" })
1130
+ ] }),
1118
1131
  /** 库存盘点:库存清单与核对标记。 */
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" }) }),
1132
+ stocktaking: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [
1133
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M8 4H7a2 2 0 0 0-2 2v12.5A2.5 2.5 0 0 0 7.5 21H11M16 4h1a2 2 0 0 1 2 2v5M9 11h5M9 15h1M13 18l1.8 1.8a1 1 0 0 0 1.4 0L21 15" }),
1134
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "8", y: "3", width: "8", height: "4", rx: "1.5" })
1135
+ ] }),
1120
1136
  /** 平台报文:平台窗口中的结构化数据。 */
1121
1137
  "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" })
1138
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "3" }),
1139
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 8h18M7 5.5h.1M9 12l-2 2a1.4 1.4 0 0 0 0 2l2 2M15 12l2 2a1.4 1.4 0 0 1 0 2l-2 2" })
1124
1140
  ] }),
1125
1141
  /** 分析报文:报表窗口中的统计数据,可用于胜算等分析系统。 */
1126
1142
  "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" })
1143
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "3" }),
1144
+ /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M3 8h18M7 5.5h.1M7 17v-3M12 17v-5M17 17v-2" })
1129
1145
  ] }),
1130
1146
  /** 销售退仓:货物退回仓储。 */
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" }) }),
1147
+ "sales-return": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 21H5.5A2.5 2.5 0 0 1 3 18.5v-13A2.5 2.5 0 0 1 5.5 3h10A2.5 2.5 0 0 1 18 5.5V10M8 3v5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V3M14 15h4a3 3 0 0 1 0 6h-2M16 12.5l-2 2a.7.7 0 0 0 0 1l2 2" }) }),
1132
1148
  /** 销售出库:货物及向外发货箭头。 */
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" }) }),
1149
+ "sales-outbound": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 21H5.5A2.5 2.5 0 0 1 3 18.5v-13A2.5 2.5 0 0 1 5.5 3h10A2.5 2.5 0 0 1 18 5.5V10M8 3v5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V3M13 17h7.5M18 14l2.3 2.3a1 1 0 0 1 0 1.4L18 20" }) }),
1134
1150
  /** 调拨出库:仓库及向外调拨箭头。 */
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" }) }),
1151
+ "transfer-outbound": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 21H5.5A2.5 2.5 0 0 1 3 18.5V10c0-.9.5-1.7 1.2-2.1l6.6-3.8a2.4 2.4 0 0 1 2.4 0l6.6 3.8c.7.4 1.2 1.2 1.2 2.1v1M8 21v-7.5A1.5 1.5 0 0 1 9.5 12H13M13 17h7.5M18 14l2.3 2.3a1 1 0 0 1 0 1.4L18 20" }) }),
1136
1152
  /** 调拨入库:仓库及向内调拨箭头。 */
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" }) }),
1153
+ "transfer-inbound": /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("path", { d: "M9 21H5.5A2.5 2.5 0 0 1 3 18.5V10c0-.9.5-1.7 1.2-2.1l6.6-3.8a2.4 2.4 0 0 1 2.4 0l6.6 3.8c.7.4 1.2 1.2 1.2 2.1v1M8 21v-7.5A1.5 1.5 0 0 1 9.5 12H13M21 17h-7.5M16 14l-2.3 2.3a1 1 0 0 0 0 1.4L16 20" }) }),
1138
1154
  "notepad-file": /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)("g", { transform: "scale(0.0234375)", fill: "currentColor", stroke: "none", children: [
1139
1155
  /* @__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" }),
1140
1156
  /* @__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" })
@@ -1618,22 +1634,22 @@ var extendedIconPaths = {
1618
1634
  // src/components/iconBounds.ts
1619
1635
  var outlineIconBounds = {
1620
1636
  // 业务单据与库存图标原始边界;与目录路径同步,由图标组件统一归一化到 18 单位。
1621
- "package": [3, 3, 18, 18],
1637
+ "package": [3, 5, 18, 16],
1622
1638
  "order-receipt": [5, 3, 14, 18],
1623
1639
  "after-sales": [5, 3, 16, 18],
1624
- "warehouse": [3, 3, 18, 18],
1640
+ "warehouse": [3, 3.778461, 18, 17.221539],
1625
1641
  "shop-products": [3, 3, 18, 18],
1626
- "partner-products": [3, 3, 18, 17],
1642
+ "partner-products": [3, 3, 19, 18],
1627
1643
  "purchase-return": [5, 3, 16, 18],
1628
- "purchase-inbound": [5, 3, 16, 18],
1644
+ "purchase-inbound": [5, 3, 15.585855, 18],
1629
1645
  "stock-movement": [3, 3, 18, 18],
1630
1646
  "stocktaking": [5, 3, 16, 18],
1631
1647
  "platform-message": [3, 3, 18, 18],
1632
1648
  "analytics-message": [3, 3, 18, 18],
1633
1649
  "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],
1650
+ "sales-outbound": [3, 3, 17.585855, 18],
1651
+ "transfer-outbound": [3, 3.778461, 18, 17.221539],
1652
+ "transfer-inbound": [3, 3.778461, 18, 17.221539],
1637
1653
  "activity": [3, 6, 18, 13],
1638
1654
  "align-center": [4, 6, 16, 12],
1639
1655
  "align-justify": [4, 6, 16, 12],
package/dist/game.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./chunk-RX242MUO.js";
2
2
  import {
3
3
  Modal
4
- } from "./chunk-VFGQLRS6.js";
4
+ } from "./chunk-XY7CXJS6.js";
5
5
  import {
6
6
  Button
7
7
  } from "./chunk-CZ2ITBRW.js";
package/dist/index.cjs CHANGED
@@ -468,44 +468,60 @@ 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" }) }),
471
+ // 业务图标直接采用圆弧轮廓,与框架圆角矩形及圆端描边一致;不以描边连接代替轮廓圆角。
472
+ /** 商品资料:圆角包装箱,适用于商品与规格数据入口。 */
473
+ package: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
474
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "3", y: "5", width: "18", height: "16", rx: "2.5" }),
475
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 5v5a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1V5M7 17h3" })
476
+ ] }),
473
477
  /** 订单:带商品明细的订单单据。 */
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" }) }),
478
+ "order-receipt": /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
479
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "5", y: "3", width: "14", height: "18", rx: "2.5" }),
480
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 8h6M9 12h6M9 16h3" })
481
+ ] }),
475
482
  /** 售后单:退回箭头与售后单据,区别于告警文档。 */
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" }) }),
483
+ "after-sales": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M10 21H7.5A2.5 2.5 0 0 1 5 18.5v-13A2.5 2.5 0 0 1 7.5 3h9A2.5 2.5 0 0 1 19 5.5V10M9 8h6M9 12h2M14 15h4a3 3 0 0 1 0 6h-2M16 12.5l-2 2a.7.7 0 0 0 0 1l2 2" }) }),
477
484
  /** 库存:仓库及内部货位。 */
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" }) }),
485
+ warehouse: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 10v8.5A2.5 2.5 0 0 0 5.5 21h13a2.5 2.5 0 0 0 2.5-2.5V10c0-.9-.5-1.7-1.2-2.1l-6.6-3.8a2.4 2.4 0 0 0-2.4 0L4.2 7.9C3.5 8.3 3 9.1 3 10ZM8 21v-8.5A1.5 1.5 0 0 1 9.5 11h5a1.5 1.5 0 0 1 1.5 1.5V21M8 16h8" }) }),
479
486
  /** 店铺商品资料:店铺橱窗中的商品。 */
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" }) }),
487
+ "shop-products": /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
488
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "3", y: "3", width: "18", height: "6", rx: "2.5" }),
489
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M5 9v9.5A2.5 2.5 0 0 0 7.5 21h9a2.5 2.5 0 0 0 2.5-2.5V9M9 21v-6.5A1.5 1.5 0 0 1 10.5 13h3a1.5 1.5 0 0 1 1.5 1.5V21" })
490
+ ] }),
481
491
  /** 合作方商品:商品资料与合作关系。 */
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" }) }),
492
+ "partner-products": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M8 19H5.5A2.5 2.5 0 0 1 3 16.5v-11A2.5 2.5 0 0 1 5.5 3h10A2.5 2.5 0 0 1 18 5.5V11M8 3v5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V3M14 15h-1a3 3 0 0 0 0 6h1M18 15h1a3 3 0 0 1 0 6h-1M13.5 18h5" }) }),
483
493
  /** 采购退货:采购单与退出箭头。 */
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" }) }),
494
+ "purchase-return": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 21H7.5A2.5 2.5 0 0 1 5 18.5v-13A2.5 2.5 0 0 1 7.5 3h9A2.5 2.5 0 0 1 19 5.5V10M9 8h6M9 12h2M21 17h-7.5M16 14l-2.3 2.3a1 1 0 0 0 0 1.4L16 20" }) }),
485
495
  /** 采购入库:采购单与进入箭头。 */
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" }) }),
496
+ "purchase-inbound": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 21H7.5A2.5 2.5 0 0 1 5 18.5v-13A2.5 2.5 0 0 1 7.5 3h9A2.5 2.5 0 0 1 19 5.5V10M9 8h6M9 12h2M13 17h7.5M18 14l2.3 2.3a1 1 0 0 1 0 1.4L18 20" }) }),
487
497
  /** 其它出入库:仓储流入与流出。 */
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" }) }),
498
+ "stock-movement": /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
499
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "3" }),
500
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M7 9h10M15 6.5l2 2a.7.7 0 0 1 0 1l-2 2M17 15H7M9 12.5l-2 2a.7.7 0 0 0 0 1l2 2" })
501
+ ] }),
489
502
  /** 库存盘点:库存清单与核对标记。 */
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" }) }),
503
+ stocktaking: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
504
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M8 4H7a2 2 0 0 0-2 2v12.5A2.5 2.5 0 0 0 7.5 21H11M16 4h1a2 2 0 0 1 2 2v5M9 11h5M9 15h1M13 18l1.8 1.8a1 1 0 0 0 1.4 0L21 15" }),
505
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "8", y: "3", width: "8", height: "4", rx: "1.5" })
506
+ ] }),
491
507
  /** 平台报文:平台窗口中的结构化数据。 */
492
508
  "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" })
509
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "3" }),
510
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 8h18M7 5.5h.1M9 12l-2 2a1.4 1.4 0 0 0 0 2l2 2M15 12l2 2a1.4 1.4 0 0 1 0 2l-2 2" })
495
511
  ] }),
496
512
  /** 分析报文:报表窗口中的统计数据,可用于胜算等分析系统。 */
497
513
  "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" })
514
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("rect", { x: "3", y: "3", width: "18", height: "18", rx: "3" }),
515
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M3 8h18M7 5.5h.1M7 17v-3M12 17v-5M17 17v-2" })
500
516
  ] }),
501
517
  /** 销售退仓:货物退回仓储。 */
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" }) }),
518
+ "sales-return": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 21H5.5A2.5 2.5 0 0 1 3 18.5v-13A2.5 2.5 0 0 1 5.5 3h10A2.5 2.5 0 0 1 18 5.5V10M8 3v5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V3M14 15h4a3 3 0 0 1 0 6h-2M16 12.5l-2 2a.7.7 0 0 0 0 1l2 2" }) }),
503
519
  /** 销售出库:货物及向外发货箭头。 */
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" }) }),
520
+ "sales-outbound": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 21H5.5A2.5 2.5 0 0 1 3 18.5v-13A2.5 2.5 0 0 1 5.5 3h10A2.5 2.5 0 0 1 18 5.5V10M8 3v5a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1V3M13 17h7.5M18 14l2.3 2.3a1 1 0 0 1 0 1.4L18 20" }) }),
505
521
  /** 调拨出库:仓库及向外调拨箭头。 */
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" }) }),
522
+ "transfer-outbound": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 21H5.5A2.5 2.5 0 0 1 3 18.5V10c0-.9.5-1.7 1.2-2.1l6.6-3.8a2.4 2.4 0 0 1 2.4 0l6.6 3.8c.7.4 1.2 1.2 1.2 2.1v1M8 21v-7.5A1.5 1.5 0 0 1 9.5 12H13M13 17h7.5M18 14l2.3 2.3a1 1 0 0 1 0 1.4L18 20" }) }),
507
523
  /** 调拨入库:仓库及向内调拨箭头。 */
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" }) }),
524
+ "transfer-inbound": /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("path", { d: "M9 21H5.5A2.5 2.5 0 0 1 3 18.5V10c0-.9.5-1.7 1.2-2.1l6.6-3.8a2.4 2.4 0 0 1 2.4 0l6.6 3.8c.7.4 1.2 1.2 1.2 2.1v1M8 21v-7.5A1.5 1.5 0 0 1 9.5 12H13M21 17h-7.5M16 14l-2.3 2.3a1 1 0 0 0 0 1.4L16 20" }) }),
509
525
  "notepad-file": /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("g", { transform: "scale(0.0234375)", fill: "currentColor", stroke: "none", children: [
510
526
  /* @__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" }),
511
527
  /* @__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" })
@@ -989,22 +1005,22 @@ var extendedIconPaths = {
989
1005
  // src/components/iconBounds.ts
990
1006
  var outlineIconBounds = {
991
1007
  // 业务单据与库存图标原始边界;与目录路径同步,由图标组件统一归一化到 18 单位。
992
- "package": [3, 3, 18, 18],
1008
+ "package": [3, 5, 18, 16],
993
1009
  "order-receipt": [5, 3, 14, 18],
994
1010
  "after-sales": [5, 3, 16, 18],
995
- "warehouse": [3, 3, 18, 18],
1011
+ "warehouse": [3, 3.778461, 18, 17.221539],
996
1012
  "shop-products": [3, 3, 18, 18],
997
- "partner-products": [3, 3, 18, 17],
1013
+ "partner-products": [3, 3, 19, 18],
998
1014
  "purchase-return": [5, 3, 16, 18],
999
- "purchase-inbound": [5, 3, 16, 18],
1015
+ "purchase-inbound": [5, 3, 15.585855, 18],
1000
1016
  "stock-movement": [3, 3, 18, 18],
1001
1017
  "stocktaking": [5, 3, 16, 18],
1002
1018
  "platform-message": [3, 3, 18, 18],
1003
1019
  "analytics-message": [3, 3, 18, 18],
1004
1020
  "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],
1021
+ "sales-outbound": [3, 3, 17.585855, 18],
1022
+ "transfer-outbound": [3, 3.778461, 18, 17.221539],
1023
+ "transfer-inbound": [3, 3.778461, 18, 17.221539],
1008
1024
  "activity": [3, 6, 18, 13],
1009
1025
  "align-center": [4, 6, 16, 12],
1010
1026
  "align-justify": [4, 6, 16, 12],
@@ -2084,7 +2100,7 @@ function ImagePreview({ open, src, alt = "", onOpenChange }) {
2084
2100
  ] })
2085
2101
  ] }), document.body);
2086
2102
  }
2087
- function Image2({ fallback, placeholder, preview = true, rootClassName = "", className = "", src, alt = "", onError, style, ...props }) {
2103
+ function Image2({ fallback, placeholder, preview = true, rootClassName = "", className = "", src, alt = "", onLoad, onError, style, ...props }) {
2088
2104
  const config = typeof preview === "object" ? preview : {};
2089
2105
  const controlled = typeof preview === "object" && preview.open !== void 0;
2090
2106
  const [internalOpen, setInternalOpen] = (0, import_react7.useState)(false);
@@ -2103,7 +2119,10 @@ function Image2({ fallback, placeholder, preview = true, rootClassName = "", cla
2103
2119
  }
2104
2120
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: `sia-image ${rootClassName}`.trim(), style: rootStyle, children: [
2105
2121
  !loaded && placeholder ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: "sia-image__placeholder", children: placeholder }) : null,
2106
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("img", { ...withTitleTooltip(props), src: displaySrc, alt, className, onLoad: () => setLoaded(true), onError: (event) => {
2122
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("img", { ...withTitleTooltip(props), src: displaySrc, alt, className, onLoad: (event) => {
2123
+ setLoaded(true);
2124
+ onLoad?.(event);
2125
+ }, onError: (event) => {
2107
2126
  if (!failed && fallback) setFailed(true);
2108
2127
  onError?.(event);
2109
2128
  } }),
@@ -2117,13 +2136,25 @@ function Image2({ fallback, placeholder, preview = true, rootClassName = "", cla
2117
2136
 
2118
2137
  // src/components/CursorPreview.tsx
2119
2138
  var import_jsx_runtime8 = require("react/jsx-runtime");
2120
- function CursorPreview({ frames, size = 48, playing = true, followPointer = true, height = 180, empty = "\u6682\u65E0\u6307\u9488\u9884\u89C8", alt = "\u9F20\u6807\u6307\u9488\u9884\u89C8", className = "", style, children, onPointerMove, onPointerLeave, ...props }) {
2139
+ function CursorPreview({ frames, size = 48, playing = true, followPointer = true, showHotspot = false, height = 180, empty = "\u6682\u65E0\u6307\u9488\u9884\u89C8", alt = "\u9F20\u6807\u6307\u9488\u9884\u89C8", className = "", style, children, onPointerEnter, onPointerMove, onPointerLeave, ...props }) {
2140
+ const rootRef = (0, import_react8.useRef)(null);
2141
+ const [bounds, setBounds] = (0, import_react8.useState)({ width: 0, height: 0 });
2142
+ const [hovered, setHovered] = (0, import_react8.useState)(false);
2121
2143
  const [index, setIndex] = (0, import_react8.useState)(0);
2122
2144
  const [point, setPoint] = (0, import_react8.useState)(null);
2123
2145
  const [reduced, setReduced] = (0, import_react8.useState)(false);
2124
2146
  const [failed, setFailed] = (0, import_react8.useState)(false);
2125
2147
  const safeSize = Math.max(8, Number.isFinite(size) ? size : 48);
2126
2148
  const frame = frames[playing && !reduced ? index % Math.max(1, frames.length) : 0];
2149
+ (0, import_react8.useLayoutEffect)(() => {
2150
+ const root = rootRef.current;
2151
+ if (!showHotspot || !root) return;
2152
+ const measure = () => setBounds({ width: root.clientWidth, height: root.clientHeight });
2153
+ measure();
2154
+ const observer = new ResizeObserver(measure);
2155
+ observer.observe(root);
2156
+ return () => observer.disconnect();
2157
+ }, [showHotspot]);
2127
2158
  (0, import_react8.useEffect)(() => {
2128
2159
  setIndex(0);
2129
2160
  }, [frames]);
@@ -2142,18 +2173,46 @@ function CursorPreview({ frames, size = 48, playing = true, followPointer = true
2142
2173
  }, [playing, reduced, frames, index, frame]);
2143
2174
  function move(event) {
2144
2175
  const rect = event.currentTarget.getBoundingClientRect();
2176
+ if (event.pointerType !== "touch") setHovered(true);
2145
2177
  if (followPointer && event.pointerType !== "touch") setPoint({ x: event.clientX - rect.left, y: event.clientY - rect.top });
2146
2178
  onPointerMove?.(event);
2147
2179
  }
2148
2180
  const following = !!point && followPointer && !!frame && !failed;
2149
2181
  const offset = (value) => Math.max(0, Math.min(1, Number.isFinite(value) ? value : 0)) * safeSize;
2150
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("div", { ...props, className: `sia-cursor-preview${following ? " is-following" : ""} ${className}`.trim(), style: { height, ...style }, onPointerMove: move, onPointerLeave: (event) => {
2151
- setPoint(null);
2152
- onPointerLeave?.(event);
2153
- }, children: [
2154
- frame ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "sia-cursor-preview__bitmap", style: { width: safeSize, height: safeSize, left: following ? point.x - offset(frame.hotspotX) : "50%", top: following ? point.y - offset(frame.hotspotY) : "50%", transform: following ? void 0 : "translate(-50%, -50%)" }, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Image2, { src: frame.src, width: safeSize, height: safeSize, alt, preview: false, draggable: false, onLoad: () => setFailed(false), onError: () => setFailed(true) }) }) : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "sia-cursor-preview__empty", children: empty }),
2155
- children ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "sia-cursor-preview__caption", children }) : null
2156
- ] });
2182
+ const hotspotX = (bounds.width - safeSize) / 2 + offset(frame?.hotspotX);
2183
+ const hotspotY = (bounds.height - safeSize) / 2 + offset(frame?.hotspotY);
2184
+ const direction = bounds.width - hotspotX >= 130 ? 1 : -1;
2185
+ const lineY = Math.max(18, hotspotY - 42);
2186
+ const elbowX = hotspotX + direction * 28;
2187
+ const endX = direction === 1 ? Math.min(bounds.width - 58, hotspotX + 82) : Math.max(58, hotspotX - 82);
2188
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
2189
+ "div",
2190
+ {
2191
+ ...props,
2192
+ ref: rootRef,
2193
+ className: `sia-cursor-preview${following ? " is-following" : ""} ${className}`.trim(),
2194
+ style: { height, ...style },
2195
+ onPointerEnter: (event) => {
2196
+ if (event.pointerType !== "touch") setHovered(true);
2197
+ onPointerEnter?.(event);
2198
+ },
2199
+ onPointerMove: move,
2200
+ onPointerLeave: (event) => {
2201
+ setHovered(false);
2202
+ setPoint(null);
2203
+ onPointerLeave?.(event);
2204
+ },
2205
+ children: [
2206
+ frame ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "sia-cursor-preview__bitmap", style: { width: safeSize, height: safeSize, left: following ? point.x - offset(frame.hotspotX) : "50%", top: following ? point.y - offset(frame.hotspotY) : "50%", transform: following ? void 0 : "translate(-50%, -50%)" }, children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Image2, { src: frame.src, width: safeSize, height: safeSize, alt, preview: false, draggable: false, onLoad: () => setFailed(false), onError: () => setFailed(true) }) }) : /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "sia-cursor-preview__empty", children: empty }),
2207
+ showHotspot && !hovered && frame && !failed && bounds.width > 0 ? /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("svg", { className: "sia-cursor-preview__hotspot", width: "100%", height: "100%", role: "img", "aria-label": "\u6307\u9488\u70B9\uFF1A\u9F20\u6807\u70B9\u51FB\u7684\u5B9E\u9645\u4F4D\u7F6E", children: [
2208
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("polyline", { points: `${hotspotX},${hotspotY} ${elbowX},${lineY} ${endX},${lineY}` }),
2209
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("circle", { cx: hotspotX, cy: hotspotY, r: 2.5 }),
2210
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("text", { x: endX + direction * 8, y: lineY, textAnchor: direction === 1 ? "start" : "end", dominantBaseline: "central", children: "\u6307\u9488\u70B9" })
2211
+ ] }) : null,
2212
+ children ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "sia-cursor-preview__caption", children }) : null
2213
+ ]
2214
+ }
2215
+ );
2157
2216
  }
2158
2217
 
2159
2218
  // src/components/UtilityLayout.tsx
@@ -2420,6 +2479,7 @@ function MenuLevel({
2420
2479
  function Menu({
2421
2480
  items,
2422
2481
  mode = "vertical",
2482
+ gridColumns = 2,
2423
2483
  theme = "light",
2424
2484
  selectedKeys,
2425
2485
  defaultSelectedKeys = [],
@@ -2435,6 +2495,7 @@ function Menu({
2435
2495
  onDeselect,
2436
2496
  onOpenChange,
2437
2497
  className = "",
2498
+ style,
2438
2499
  ...rest
2439
2500
  }) {
2440
2501
  const menuId = (0, import_react10.useId)();
@@ -2467,7 +2528,8 @@ function Menu({
2467
2528
  else onSelect?.({ ...info, selectedKeys: [...next] });
2468
2529
  if (mode !== "inline") setOpen([]);
2469
2530
  }
2470
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("ul", { ref: rootRef, className: `sia-menu sia-menu--${mode} sia-menu--${theme}${inlineCollapsed ? " sia-menu--collapsed" : ""} ${className}`.trim(), role: "menu", ...withTitleTooltip(rest), "data-sia-menu-owner": menuId, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(MenuLevel, { items, level: 0, parents: [], props: { menuId, mode, theme, multiple, selectable, inlineCollapsed, inlineIndent, triggerSubMenuAction, selected, open, select, toggle } }) });
2531
+ const gridStyle = mode === "grid" ? { "--sia-menu-grid-columns": gridColumns === "auto" ? "repeat(auto-fill, minmax(88px, 1fr))" : `repeat(${Number.isFinite(gridColumns) ? Math.max(1, Math.floor(Number(gridColumns))) : 2}, minmax(0, 1fr))` } : {};
2532
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("ul", { ref: rootRef, className: `sia-menu sia-menu--${mode} sia-menu--${theme}${inlineCollapsed ? " sia-menu--collapsed" : ""} ${className}`.trim(), role: "menu", ...withTitleTooltip(rest), style: { ...gridStyle, ...style }, "data-sia-menu-owner": menuId, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(MenuLevel, { items, level: 0, parents: [], props: { menuId, mode, theme, multiple, selectable, inlineCollapsed, inlineIndent, triggerSubMenuAction, selected, open, select, toggle } }) });
2471
2533
  }
2472
2534
  function Steps({ items, current = 0, initial: initial3 = 0, direction = "horizontal", type = "default", size = "default", status = "process", progressDot = false, onChange, className = "", ...props }) {
2473
2535
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: `sia-steps sia-steps--${direction} sia-steps--${type} sia-steps--${size} ${className}`.trim(), ...withTitleTooltip(props), children: items.map((item, rawIndex) => {
@@ -5044,8 +5106,15 @@ var Select = (0, import_react24.forwardRef)(function Select2({
5044
5106
  function clearSelection() {
5045
5107
  setCurrentValue(multiple ? [] : null);
5046
5108
  }
5109
+ function handleDropdownEscape(event) {
5110
+ if (event.key !== "Escape" || !open || popupMode !== "dropdown") return false;
5111
+ event.preventDefault();
5112
+ event.stopPropagation();
5113
+ closeDropdown();
5114
+ return true;
5115
+ }
5047
5116
  function handleInteractionKeyDown(event, fromSearch = false) {
5048
- if (popupMode === "modal" && open) return;
5117
+ if (handleDropdownEscape(event) || popupMode === "modal" && open) return;
5049
5118
  if (event.key === "ArrowDown" || event.key === "ArrowUp") {
5050
5119
  event.preventDefault();
5051
5120
  if (!open) openDropdown();
@@ -5150,7 +5219,7 @@ var Select = (0, import_react24.forwardRef)(function Select2({
5150
5219
  }
5151
5220
  ),
5152
5221
  allowClear && hasValue && !disabled && !loading ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("button", { className: "sia-select__clear", type: "button", "aria-label": "\u6E05\u7A7A\u9009\u62E9", onClick: clearValue, children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { name: "circle-close", variant: "filled", size: 15 }) }) : null,
5153
- /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(PopupPortal, { ref: popupRef, anchorRef: rootRef, open: open && popupMode === "dropdown", style: { fontSize: dropdownFontSize }, className: `sia-select__dropdown${filteredOptions.length === 0 && !canSubmitInput ? " sia-select__dropdown--empty" : ""}`, children: [
5222
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(PopupPortal, { ref: popupRef, onKeyDown: handleDropdownEscape, anchorRef: rootRef, open: open && popupMode === "dropdown", style: { fontSize: dropdownFontSize }, className: `sia-select__dropdown${filteredOptions.length === 0 && !canSubmitInput ? " sia-select__dropdown--empty" : ""}`, children: [
5154
5223
  /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(FloatingScrollbarProvider, { targetRef: listRef }),
5155
5224
  showSearch || allowInput ? /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)("label", { className: "sia-select__search", children: [
5156
5225
  /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(Icon, { name: "search", size: 15 }),
@@ -6669,7 +6738,6 @@ function WindowTitleBar({
6669
6738
  controls = true,
6670
6739
  maximized = false,
6671
6740
  draggable = true,
6672
- dragMode = "callback",
6673
6741
  disabledActions,
6674
6742
  controlLabels,
6675
6743
  onWindowAction,
@@ -6680,7 +6748,7 @@ function WindowTitleBar({
6680
6748
  }) {
6681
6749
  function handleMouseDown(event) {
6682
6750
  onMouseDown?.(event);
6683
- if (event.defaultPrevented || !draggable || dragMode === "native" || !onWindowAction || event.button !== 0) return;
6751
+ if (event.defaultPrevented || !draggable || !onWindowAction || event.button !== 0) return;
6684
6752
  const target = event.target;
6685
6753
  if (!(target instanceof Element) || target.closest(NON_DRAG_SELECTOR)) return;
6686
6754
  event.preventDefault();
@@ -6701,7 +6769,6 @@ function WindowTitleBar({
6701
6769
  {
6702
6770
  className: `sia-window-titlebar ${className}`.trim(),
6703
6771
  "data-actions-align": actionsAlign,
6704
- "data-drag-mode": draggable ? dragMode : void 0,
6705
6772
  onMouseDown: handleMouseDown,
6706
6773
  ...withTitleTooltip(props),
6707
6774
  children: [