@moheng-design/ui 2.0.0 → 3.0.0
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/contracts/application-atomic/application-date-range-filter.ts +43 -0
- package/contracts/application-atomic/list-table-pagination.ts +17 -5
- package/contracts/application-atomic/search-field.ts +1 -1
- package/contracts/application-atomic/system-button.ts +5 -1
- package/contracts/application-module/content/application-page-header.ts +55 -6
- package/contracts/application-module/content/application-query-toolbar.ts +22 -6
- package/contracts/application-module/content/application-record-detail-body.ts +13 -3
- package/contracts/application-module/navigation/application-module-switcher.ts +11 -11
- package/contracts/application-module/navigation/application-primary-navigation.ts +75 -25
- package/contracts/application-module/navigation/application-secondary-navigation.ts +57 -6
- package/contracts/application-module/navigation/top-navigation-primary-bar.ts +24 -7
- package/contracts/application-module/overlays/application-detail-drawer.ts +16 -5
- package/contracts/application-module/overlays/application-form-dialog.ts +31 -6
- package/contracts/application-module/overlays/application-global-action-panel.ts +3 -3
- package/contracts/application-module/statistics/metrics.ts +9 -2
- package/contracts/foundation/actions/button.ts +5 -4
- package/contracts/foundation/data-content-layout/badge.ts +2 -1
- package/contracts/foundation/data-content-layout/card.ts +1 -1
- package/contracts/foundation/data-content-layout/table.ts +25 -1
- package/contracts/foundation/feedback-overlay/alert-dialog.ts +8 -3
- package/contracts/foundation/feedback-overlay/dialog.ts +14 -2
- package/contracts/foundation/feedback-overlay/sheet.ts +4 -2
- package/contracts/foundation/icon/icon-name.ts +3 -1
- package/contracts/foundation/input-selection/date-input.ts +39 -0
- package/contracts/foundation/input-selection/input.ts +2 -2
- package/contracts/foundation/navigation-command/pagination.ts +8 -4
- package/dist/components/application-atomic/ApplicationDateRangeFilter.js +112 -0
- package/dist/components/application-atomic/ApplicationDateRangeFilter.js.map +1 -0
- package/dist/components/application-atomic/ListTablePagination.js +45 -33
- package/dist/components/application-atomic/ListTablePagination.js.map +1 -1
- package/dist/components/application-atomic/SystemButton.js +2 -1
- package/dist/components/application-atomic/SystemButton.js.map +1 -1
- package/dist/components/application-module/content/ApplicationPageHeader.js +24 -9
- package/dist/components/application-module/content/ApplicationPageHeader.js.map +1 -1
- package/dist/components/application-module/content/ApplicationPageLayoutContainer.js +4 -2
- package/dist/components/application-module/content/ApplicationPageLayoutContainer.js.map +1 -1
- package/dist/components/application-module/content/ApplicationQueryToolbar.js +12 -10
- package/dist/components/application-module/content/ApplicationQueryToolbar.js.map +1 -1
- package/dist/components/application-module/content/ApplicationRecordDetailBody.js +20 -13
- package/dist/components/application-module/content/ApplicationRecordDetailBody.js.map +1 -1
- package/dist/components/application-module/navigation/ApplicationModuleSwitcher.js +5 -6
- package/dist/components/application-module/navigation/ApplicationModuleSwitcher.js.map +1 -1
- package/dist/components/application-module/navigation/ApplicationPrimaryNavigation.js +39 -36
- package/dist/components/application-module/navigation/ApplicationPrimaryNavigation.js.map +1 -1
- package/dist/components/application-module/navigation/ApplicationSecondaryNavigation.js +29 -1
- package/dist/components/application-module/navigation/ApplicationSecondaryNavigation.js.map +1 -1
- package/dist/components/application-module/navigation/TopNavigationPrimaryBar.js +6 -6
- package/dist/components/application-module/navigation/TopNavigationPrimaryBar.js.map +1 -1
- package/dist/components/application-module/overlays/ApplicationDetailDrawer.js +7 -7
- package/dist/components/application-module/overlays/ApplicationDetailDrawer.js.map +1 -1
- package/dist/components/application-module/overlays/ApplicationFormDialog.js +19 -3
- package/dist/components/application-module/overlays/ApplicationFormDialog.js.map +1 -1
- package/dist/components/application-module/overlays/ApplicationGlobalActionPanel.js.map +1 -1
- package/dist/components/application-module/statistics/ApplicationMetricStrip.js +2 -1
- package/dist/components/application-module/statistics/ApplicationMetricStrip.js.map +1 -1
- package/dist/components/foundation/data-content-layout/Table.js +108 -83
- package/dist/components/foundation/data-content-layout/Table.js.map +1 -1
- package/dist/components/foundation/feedback-overlay/AlertDialog.js +8 -4
- package/dist/components/foundation/feedback-overlay/AlertDialog.js.map +1 -1
- package/dist/components/foundation/feedback-overlay/Dialog.js +6 -2
- package/dist/components/foundation/feedback-overlay/Dialog.js.map +1 -1
- package/dist/components/foundation/feedback-overlay/Sheet.js.map +1 -1
- package/dist/components/foundation/input-selection/DateInput.js +70 -0
- package/dist/components/foundation/input-selection/DateInput.js.map +1 -0
- package/dist/components/foundation/navigation-command/Pagination.js +10 -5
- package/dist/components/foundation/navigation-command/Pagination.js.map +1 -1
- package/dist/icon/glyphs.js +2 -0
- package/dist/icon/glyphs.js.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/internal/CloseButton.js +7 -1
- package/dist/internal/CloseButton.js.map +1 -1
- package/dist/internal/date.js +8 -0
- package/dist/internal/date.js.map +1 -1
- package/dist/styles.css +1104 -434
- package/dist/tokens.css +126 -61
- package/dist-types/contracts/application-atomic/application-date-range-filter.d.ts +36 -0
- package/dist-types/contracts/application-atomic/application-date-range-filter.d.ts.map +1 -0
- package/dist-types/contracts/application-atomic/list-table-pagination.d.ts +12 -2
- package/dist-types/contracts/application-atomic/list-table-pagination.d.ts.map +1 -1
- package/dist-types/contracts/application-atomic/search-field.d.ts +1 -1
- package/dist-types/contracts/application-atomic/system-button.d.ts +5 -1
- package/dist-types/contracts/application-atomic/system-button.d.ts.map +1 -1
- package/dist-types/contracts/application-module/content/application-page-header.d.ts +51 -6
- package/dist-types/contracts/application-module/content/application-page-header.d.ts.map +1 -1
- package/dist-types/contracts/application-module/content/application-query-toolbar.d.ts +22 -6
- package/dist-types/contracts/application-module/content/application-query-toolbar.d.ts.map +1 -1
- package/dist-types/contracts/application-module/content/application-record-detail-body.d.ts +12 -3
- package/dist-types/contracts/application-module/content/application-record-detail-body.d.ts.map +1 -1
- package/dist-types/contracts/application-module/navigation/application-module-switcher.d.ts +8 -10
- package/dist-types/contracts/application-module/navigation/application-module-switcher.d.ts.map +1 -1
- package/dist-types/contracts/application-module/navigation/application-primary-navigation.d.ts +54 -22
- package/dist-types/contracts/application-module/navigation/application-primary-navigation.d.ts.map +1 -1
- package/dist-types/contracts/application-module/navigation/application-secondary-navigation.d.ts +43 -6
- package/dist-types/contracts/application-module/navigation/application-secondary-navigation.d.ts.map +1 -1
- package/dist-types/contracts/application-module/navigation/top-navigation-primary-bar.d.ts +19 -7
- package/dist-types/contracts/application-module/navigation/top-navigation-primary-bar.d.ts.map +1 -1
- package/dist-types/contracts/application-module/overlays/application-detail-drawer.d.ts +9 -4
- package/dist-types/contracts/application-module/overlays/application-detail-drawer.d.ts.map +1 -1
- package/dist-types/contracts/application-module/overlays/application-form-dialog.d.ts +29 -6
- package/dist-types/contracts/application-module/overlays/application-form-dialog.d.ts.map +1 -1
- package/dist-types/contracts/application-module/overlays/application-global-action-panel.d.ts +3 -3
- package/dist-types/contracts/application-module/statistics/metrics.d.ts +7 -1
- package/dist-types/contracts/application-module/statistics/metrics.d.ts.map +1 -1
- package/dist-types/contracts/foundation/actions/button.d.ts +5 -4
- package/dist-types/contracts/foundation/actions/button.d.ts.map +1 -1
- package/dist-types/contracts/foundation/data-content-layout/badge.d.ts +2 -1
- package/dist-types/contracts/foundation/data-content-layout/badge.d.ts.map +1 -1
- package/dist-types/contracts/foundation/data-content-layout/card.d.ts +1 -1
- package/dist-types/contracts/foundation/data-content-layout/table.d.ts +23 -1
- package/dist-types/contracts/foundation/data-content-layout/table.d.ts.map +1 -1
- package/dist-types/contracts/foundation/feedback-overlay/alert-dialog.d.ts +8 -3
- package/dist-types/contracts/foundation/feedback-overlay/alert-dialog.d.ts.map +1 -1
- package/dist-types/contracts/foundation/feedback-overlay/dialog.d.ts +13 -2
- package/dist-types/contracts/foundation/feedback-overlay/dialog.d.ts.map +1 -1
- package/dist-types/contracts/foundation/feedback-overlay/sheet.d.ts +4 -2
- package/dist-types/contracts/foundation/feedback-overlay/sheet.d.ts.map +1 -1
- package/dist-types/contracts/foundation/icon/icon-name.d.ts +2 -2
- package/dist-types/contracts/foundation/icon/icon-name.d.ts.map +1 -1
- package/dist-types/contracts/foundation/input-selection/date-input.d.ts +32 -0
- package/dist-types/contracts/foundation/input-selection/date-input.d.ts.map +1 -0
- package/dist-types/contracts/foundation/input-selection/input.d.ts +2 -2
- package/dist-types/contracts/foundation/navigation-command/pagination.d.ts +8 -4
- package/dist-types/contracts/foundation/navigation-command/pagination.d.ts.map +1 -1
- package/dist-types/src/components/application-atomic/ApplicationDateRangeFilter.d.ts +13 -0
- package/dist-types/src/components/application-atomic/ApplicationDateRangeFilter.d.ts.map +1 -0
- package/dist-types/src/components/application-atomic/ListTablePagination.d.ts +11 -13
- package/dist-types/src/components/application-atomic/ListTablePagination.d.ts.map +1 -1
- package/dist-types/src/components/application-atomic/SystemButton.d.ts.map +1 -1
- package/dist-types/src/components/application-module/content/ApplicationPageHeader.d.ts +10 -4
- package/dist-types/src/components/application-module/content/ApplicationPageHeader.d.ts.map +1 -1
- package/dist-types/src/components/application-module/content/ApplicationPageLayoutContainer.d.ts +4 -0
- package/dist-types/src/components/application-module/content/ApplicationPageLayoutContainer.d.ts.map +1 -1
- package/dist-types/src/components/application-module/content/ApplicationQueryToolbar.d.ts +8 -2
- package/dist-types/src/components/application-module/content/ApplicationQueryToolbar.d.ts.map +1 -1
- package/dist-types/src/components/application-module/content/ApplicationRecordDetailBody.d.ts +1 -10
- package/dist-types/src/components/application-module/content/ApplicationRecordDetailBody.d.ts.map +1 -1
- package/dist-types/src/components/application-module/navigation/ApplicationModuleSwitcher.d.ts +7 -4
- package/dist-types/src/components/application-module/navigation/ApplicationModuleSwitcher.d.ts.map +1 -1
- package/dist-types/src/components/application-module/navigation/ApplicationPrimaryNavigation.d.ts +13 -20
- package/dist-types/src/components/application-module/navigation/ApplicationPrimaryNavigation.d.ts.map +1 -1
- package/dist-types/src/components/application-module/navigation/ApplicationSecondaryNavigation.d.ts +13 -3
- package/dist-types/src/components/application-module/navigation/ApplicationSecondaryNavigation.d.ts.map +1 -1
- package/dist-types/src/components/application-module/navigation/TopNavigationPrimaryBar.d.ts +10 -4
- package/dist-types/src/components/application-module/navigation/TopNavigationPrimaryBar.d.ts.map +1 -1
- package/dist-types/src/components/application-module/overlays/ApplicationDetailDrawer.d.ts +9 -3
- package/dist-types/src/components/application-module/overlays/ApplicationDetailDrawer.d.ts.map +1 -1
- package/dist-types/src/components/application-module/overlays/ApplicationFormDialog.d.ts +2 -2
- package/dist-types/src/components/application-module/overlays/ApplicationFormDialog.d.ts.map +1 -1
- package/dist-types/src/components/application-module/overlays/ApplicationGlobalActionPanel.d.ts +2 -2
- package/dist-types/src/components/application-module/statistics/ApplicationMetricStrip.d.ts.map +1 -1
- package/dist-types/src/components/foundation/data-content-layout/Table.d.ts +5 -5
- package/dist-types/src/components/foundation/data-content-layout/Table.d.ts.map +1 -1
- package/dist-types/src/components/foundation/feedback-overlay/AlertDialog.d.ts +7 -0
- package/dist-types/src/components/foundation/feedback-overlay/AlertDialog.d.ts.map +1 -1
- package/dist-types/src/components/foundation/feedback-overlay/Dialog.d.ts +4 -1
- package/dist-types/src/components/foundation/feedback-overlay/Dialog.d.ts.map +1 -1
- package/dist-types/src/components/foundation/feedback-overlay/Sheet.d.ts +2 -1
- package/dist-types/src/components/foundation/feedback-overlay/Sheet.d.ts.map +1 -1
- package/dist-types/src/components/foundation/input-selection/DateInput.d.ts +13 -0
- package/dist-types/src/components/foundation/input-selection/DateInput.d.ts.map +1 -0
- package/dist-types/src/components/foundation/navigation-command/Pagination.d.ts +6 -1
- package/dist-types/src/components/foundation/navigation-command/Pagination.d.ts.map +1 -1
- package/dist-types/src/icon/glyphs.d.ts.map +1 -1
- package/dist-types/src/index.d.ts +7 -3
- package/dist-types/src/index.d.ts.map +1 -1
- package/dist-types/src/internal/CloseButton.d.ts +11 -1
- package/dist-types/src/internal/CloseButton.d.ts.map +1 -1
- package/dist-types/src/internal/date.d.ts +2 -0
- package/dist-types/src/internal/date.d.ts.map +1 -1
- package/package.json +18 -18
- package/tokens.json +478 -128
package/dist/icon/glyphs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/icon/glyphs.ts"],"sourcesContent":["/* 生成文件 —— 请勿手改。\n *\n * 源:src/icon/registry.json(清单)+ lucide-static v1.37.0(几何)\n * 生成器:scripts/build-icons.mjs\n *\n * 改动方式:编辑 registry.json 后跑 pnpm build:icons。\n * 直接改本文件会在下次 pnpm check:icons 时被检出。\n */\n\nimport type { IconName } from '../../contracts/foundation/icon/icon-name.js'\n\n/** 一个 SVG 子节点:[标签名, 属性表] */\nexport type GlyphNode = readonly [string, Readonly<Record<string, string>>]\n\n/**\n * 已登记字形表。键为 kebab-case 名,值为 24×24 视窗内的描边几何。\n * 键类型取 IconName:两个生成物若不同步,tsc 在这里就报缺键 / 多键。\n */\nexport const GLYPHS: Readonly<Record<IconName, readonly GlyphNode[]>> = {\n \"activity\": [[\"path\",{\"d\":\"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2\"}]],\n \"arrow-down\": [[\"path\",{\"d\":\"M12 5v14\"}],[\"path\",{\"d\":\"m19 12-7 7-7-7\"}]],\n \"arrow-up\": [[\"path\",{\"d\":\"m5 12 7-7 7 7\"}],[\"path\",{\"d\":\"M12 19V5\"}]],\n \"calendar\": [[\"path\",{\"d\":\"M8 2v3\"}],[\"path\",{\"d\":\"M16 2v3\"}],[\"rect\",{\"x\":\"3\",\"y\":\"3\",\"width\":\"18\",\"height\":\"18\",\"rx\":\"2\"}],[\"path\",{\"d\":\"M3 9h18\"}]],\n \"check\": [[\"path\",{\"d\":\"M20 6 9 17l-5-5\"}]],\n \"chevron-down\": [[\"path\",{\"d\":\"m6 9 6 6 6-6\"}]],\n \"chevron-left\": [[\"path\",{\"d\":\"m15 18-6-6 6-6\"}]],\n \"chevron-right\": [[\"path\",{\"d\":\"m9 18 6-6-6-6\"}]],\n \"chevron-up\": [[\"path\",{\"d\":\"m18 15-6-6-6 6\"}]],\n \"circle-alert\": [[\"circle\",{\"cx\":\"12\",\"cy\":\"12\",\"r\":\"10\"}],[\"line\",{\"x1\":\"12\",\"x2\":\"12\",\"y1\":\"8\",\"y2\":\"12\"}],[\"line\",{\"x1\":\"12\",\"x2\":\"12.01\",\"y1\":\"16\",\"y2\":\"16\"}]],\n \"circle-check\": [[\"circle\",{\"cx\":\"12\",\"cy\":\"12\",\"r\":\"10\"}],[\"path\",{\"d\":\"m16 9-5.5 5.5L8 12\"}]],\n \"circle-check-big\": [[\"path\",{\"d\":\"M21.801 10A10 10 0 1 1 17 3.335\"}],[\"path\",{\"d\":\"m9 11 3 3L22 4\"}]],\n \"columns-2\": [[\"rect\",{\"width\":\"18\",\"height\":\"18\",\"x\":\"3\",\"y\":\"3\",\"rx\":\"2\"}],[\"path\",{\"d\":\"M12 3v18\"}]],\n \"download\": [[\"path\",{\"d\":\"M12 15V3\"}],[\"path\",{\"d\":\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"}],[\"path\",{\"d\":\"m7 10 5 5 5-5\"}]],\n \"ellipsis\": [[\"circle\",{\"cx\":\"12\",\"cy\":\"12\",\"r\":\"1\"}],[\"circle\",{\"cx\":\"19\",\"cy\":\"12\",\"r\":\"1\"}],[\"circle\",{\"cx\":\"5\",\"cy\":\"12\",\"r\":\"1\"}]],\n \"funnel\": [[\"path\",{\"d\":\"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z\"}]],\n \"info\": [[\"circle\",{\"cx\":\"12\",\"cy\":\"12\",\"r\":\"10\"}],[\"path\",{\"d\":\"M12 16v-4\"}],[\"path\",{\"d\":\"M12 8h.01\"}]],\n \"kanban\": [[\"path\",{\"d\":\"M5 3v14\"}],[\"path\",{\"d\":\"M12 3v8\"}],[\"path\",{\"d\":\"M19 3v18\"}]],\n \"layout-grid\": [[\"rect\",{\"width\":\"7\",\"height\":\"7\",\"x\":\"3\",\"y\":\"3\",\"rx\":\"1\"}],[\"rect\",{\"width\":\"7\",\"height\":\"7\",\"x\":\"14\",\"y\":\"3\",\"rx\":\"1\"}],[\"rect\",{\"width\":\"7\",\"height\":\"7\",\"x\":\"14\",\"y\":\"14\",\"rx\":\"1\"}],[\"rect\",{\"width\":\"7\",\"height\":\"7\",\"x\":\"3\",\"y\":\"14\",\"rx\":\"1\"}]],\n \"list\": [[\"path\",{\"d\":\"M3 5h.01\"}],[\"path\",{\"d\":\"M3 12h.01\"}],[\"path\",{\"d\":\"M3 19h.01\"}],[\"path\",{\"d\":\"M8 5h13\"}],[\"path\",{\"d\":\"M8 12h13\"}],[\"path\",{\"d\":\"M8 19h13\"}]],\n \"message-square\": [[\"path\",{\"d\":\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\"}]],\n \"minus\": [[\"path\",{\"d\":\"M5 12h14\"}]],\n \"pencil\": [[\"path\",{\"d\":\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z\"}],[\"path\",{\"d\":\"m15 5 4 4\"}]],\n \"plus\": [[\"path\",{\"d\":\"M5 12h14\"}],[\"path\",{\"d\":\"M12 5v14\"}]],\n \"refresh-cw\": [[\"path\",{\"d\":\"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8\"}],[\"path\",{\"d\":\"M21 3v5h-5\"}],[\"path\",{\"d\":\"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16\"}],[\"path\",{\"d\":\"M8 16H3v5\"}]],\n \"search\": [[\"path\",{\"d\":\"m21 21-4.34-4.34\"}],[\"circle\",{\"cx\":\"11\",\"cy\":\"11\",\"r\":\"8\"}]],\n \"settings\": [[\"path\",{\"d\":\"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915\"}],[\"circle\",{\"cx\":\"12\",\"cy\":\"12\",\"r\":\"3\"}]],\n \"shield-check\": [[\"path\",{\"d\":\"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z\"}],[\"path\",{\"d\":\"m9 12 2 2 4-4\"}]],\n \"sliders-horizontal\": [[\"path\",{\"d\":\"M10 5H3\"}],[\"path\",{\"d\":\"M12 19H3\"}],[\"path\",{\"d\":\"M14 3v4\"}],[\"path\",{\"d\":\"M16 17v4\"}],[\"path\",{\"d\":\"M21 12h-9\"}],[\"path\",{\"d\":\"M21 19h-5\"}],[\"path\",{\"d\":\"M21 5h-7\"}],[\"path\",{\"d\":\"M8 10v4\"}],[\"path\",{\"d\":\"M8 12H3\"}]],\n \"trash-2\": [[\"path\",{\"d\":\"M10 11v6\"}],[\"path\",{\"d\":\"M14 11v6\"}],[\"path\",{\"d\":\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6\"}],[\"path\",{\"d\":\"M3 6h18\"}],[\"path\",{\"d\":\"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\"}]],\n \"triangle-alert\": [[\"path\",{\"d\":\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\"}],[\"path\",{\"d\":\"M12 9v4\"}],[\"path\",{\"d\":\"M12 17h.01\"}]],\n \"upload\": [[\"path\",{\"d\":\"M12 3v12\"}],[\"path\",{\"d\":\"m17 8-5-5-5 5\"}],[\"path\",{\"d\":\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"}]],\n \"x\": [[\"path\",{\"d\":\"M18 6 6 18\"}],[\"path\",{\"d\":\"m6 6 12 12\"}]],\n}\n\n/** 已登记字形名。用于开发期告警与文档生成 */\nexport const GLYPH_NAMES = Object.keys(GLYPHS) as IconName[]\n"],"mappings":"AAkBO,MAAM,SAA2D;AAAA,EACtE,YAAY,CAAC,CAAC,QAAO,EAAC,KAAI,6HAA4H,CAAC,CAAC;AAAA,EACxJ,cAAc,CAAC,CAAC,QAAO,EAAC,KAAI,WAAU,CAAC,GAAE,CAAC,QAAO,EAAC,KAAI,iBAAgB,CAAC,CAAC;AAAA,EACxE,YAAY,CAAC,CAAC,QAAO,EAAC,KAAI,gBAAe,CAAC,GAAE,CAAC,QAAO,EAAC,KAAI,WAAU,CAAC,CAAC;AAAA,EACrE,YAAY,CAAC,CAAC,QAAO,EAAC,KAAI,SAAQ,CAAC,GAAE,CAAC,QAAO,EAAC,KAAI,UAAS,CAAC,GAAE,CAAC,QAAO,EAAC,KAAI,KAAI,KAAI,KAAI,SAAQ,MAAK,UAAS,MAAK,MAAK,IAAG,CAAC,GAAE,CAAC,QAAO,EAAC,KAAI,UAAS,CAAC,CAAC;AAAA,EACrJ,SAAS,CAAC,CAAC,QAAO,EAAC,KAAI,kBAAiB,CAAC,CAAC;AAAA,EAC1C,gBAAgB,CAAC,CAAC,QAAO,EAAC,KAAI,eAAc,CAAC,CAAC;AAAA,EAC9C,gBAAgB,CAAC,CAAC,QAAO,EAAC,KAAI,iBAAgB,CAAC,CAAC;AAAA,EAChD,iBAAiB,CAAC,CAAC,QAA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0C,CAAC,GAAE,CAAC,QAAO,EAAC,KAAI,UAAS,CAAC,GAAE,CAAC,QAAO,EAAC,KAAI,yCAAwC,CAAC,CAAC;AAAA,EAC1M,kBAAkB,CAAC,CAAC,QAAO,EAAC,KAAI,2EAA0E,CAAC,GAAE,CAAC,QAAO,EAAC,KAAI,UAAS,CAAC,GAAE,CAAC,QAAO,EAAC,KAAI,aAAY,CAAC,CAAC;AAAA,EACjK,UAAU,CAAC,CAAC,QAAO,EAAC,KAAI,WAAU,CAAC,GAAE,CAAC,QAAO,EAAC,KAAI,gBAAe,CAAC,GAAE,CAAC,QAAO,EAAC,KAAI,4CAA2C,CAAC,CAAC;AAAA,EAC9H,KAAK,CAAC,CAAC,QAAO,EAAC,KAAI,aAAY,CAAC,GAAE,CAAC,QAAO,EAAC,KAAI,aAAY,CAAC,CAAC;AAC/D;AAGO,MAAM,cAAc,OAAO,KAAK,MAAM;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/icon/glyphs.ts"],"sourcesContent":["/* 生成文件 —— 请勿手改。\n *\n * 源:src/icon/registry.json(清单)+ lucide-static v1.37.0(几何)\n * 生成器:scripts/build-icons.mjs\n *\n * 改动方式:编辑 registry.json 后跑 pnpm build:icons。\n * 直接改本文件会在下次 pnpm check:icons 时被检出。\n */\n\nimport type { IconName } from '../../contracts/foundation/icon/icon-name.js'\n\n/** 一个 SVG 子节点:[标签名, 属性表] */\nexport type GlyphNode = readonly [string, Readonly<Record<string, string>>]\n\n/**\n * 已登记字形表。键为 kebab-case 名,值为 24×24 视窗内的描边几何。\n * 键类型取 IconName:两个生成物若不同步,tsc 在这里就报缺键 / 多键。\n */\nexport const GLYPHS: Readonly<Record<IconName, readonly GlyphNode[]>> = {\n \"activity\": [[\"path\",{\"d\":\"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2\"}]],\n \"arrow-down\": [[\"path\",{\"d\":\"M12 5v14\"}],[\"path\",{\"d\":\"m19 12-7 7-7-7\"}]],\n \"arrow-up\": [[\"path\",{\"d\":\"m5 12 7-7 7 7\"}],[\"path\",{\"d\":\"M12 19V5\"}]],\n \"calendar\": [[\"path\",{\"d\":\"M8 2v3\"}],[\"path\",{\"d\":\"M16 2v3\"}],[\"rect\",{\"x\":\"3\",\"y\":\"3\",\"width\":\"18\",\"height\":\"18\",\"rx\":\"2\"}],[\"path\",{\"d\":\"M3 9h18\"}]],\n \"check\": [[\"path\",{\"d\":\"M20 6 9 17l-5-5\"}]],\n \"chevron-down\": [[\"path\",{\"d\":\"m6 9 6 6 6-6\"}]],\n \"chevron-left\": [[\"path\",{\"d\":\"m15 18-6-6 6-6\"}]],\n \"chevron-right\": [[\"path\",{\"d\":\"m9 18 6-6-6-6\"}]],\n \"chevron-up\": [[\"path\",{\"d\":\"m18 15-6-6-6 6\"}]],\n \"chevrons-left\": [[\"path\",{\"d\":\"m11 17-5-5 5-5\"}],[\"path\",{\"d\":\"m18 17-5-5 5-5\"}]],\n \"chevrons-right\": [[\"path\",{\"d\":\"m6 17 5-5-5-5\"}],[\"path\",{\"d\":\"m13 17 5-5-5-5\"}]],\n \"circle-alert\": [[\"circle\",{\"cx\":\"12\",\"cy\":\"12\",\"r\":\"10\"}],[\"line\",{\"x1\":\"12\",\"x2\":\"12\",\"y1\":\"8\",\"y2\":\"12\"}],[\"line\",{\"x1\":\"12\",\"x2\":\"12.01\",\"y1\":\"16\",\"y2\":\"16\"}]],\n \"circle-check\": [[\"circle\",{\"cx\":\"12\",\"cy\":\"12\",\"r\":\"10\"}],[\"path\",{\"d\":\"m16 9-5.5 5.5L8 12\"}]],\n \"circle-check-big\": [[\"path\",{\"d\":\"M21.801 10A10 10 0 1 1 17 3.335\"}],[\"path\",{\"d\":\"m9 11 3 3L22 4\"}]],\n \"columns-2\": [[\"rect\",{\"width\":\"18\",\"height\":\"18\",\"x\":\"3\",\"y\":\"3\",\"rx\":\"2\"}],[\"path\",{\"d\":\"M12 3v18\"}]],\n \"download\": [[\"path\",{\"d\":\"M12 15V3\"}],[\"path\",{\"d\":\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"}],[\"path\",{\"d\":\"m7 10 5 5 5-5\"}]],\n \"ellipsis\": [[\"circle\",{\"cx\":\"12\",\"cy\":\"12\",\"r\":\"1\"}],[\"circle\",{\"cx\":\"19\",\"cy\":\"12\",\"r\":\"1\"}],[\"circle\",{\"cx\":\"5\",\"cy\":\"12\",\"r\":\"1\"}]],\n \"funnel\": [[\"path\",{\"d\":\"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z\"}]],\n \"info\": [[\"circle\",{\"cx\":\"12\",\"cy\":\"12\",\"r\":\"10\"}],[\"path\",{\"d\":\"M12 16v-4\"}],[\"path\",{\"d\":\"M12 8h.01\"}]],\n \"kanban\": [[\"path\",{\"d\":\"M5 3v14\"}],[\"path\",{\"d\":\"M12 3v8\"}],[\"path\",{\"d\":\"M19 3v18\"}]],\n \"layout-grid\": [[\"rect\",{\"width\":\"7\",\"height\":\"7\",\"x\":\"3\",\"y\":\"3\",\"rx\":\"1\"}],[\"rect\",{\"width\":\"7\",\"height\":\"7\",\"x\":\"14\",\"y\":\"3\",\"rx\":\"1\"}],[\"rect\",{\"width\":\"7\",\"height\":\"7\",\"x\":\"14\",\"y\":\"14\",\"rx\":\"1\"}],[\"rect\",{\"width\":\"7\",\"height\":\"7\",\"x\":\"3\",\"y\":\"14\",\"rx\":\"1\"}]],\n \"list\": [[\"path\",{\"d\":\"M3 5h.01\"}],[\"path\",{\"d\":\"M3 12h.01\"}],[\"path\",{\"d\":\"M3 19h.01\"}],[\"path\",{\"d\":\"M8 5h13\"}],[\"path\",{\"d\":\"M8 12h13\"}],[\"path\",{\"d\":\"M8 19h13\"}]],\n \"message-square\": [[\"path\",{\"d\":\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\"}]],\n \"minus\": [[\"path\",{\"d\":\"M5 12h14\"}]],\n \"pencil\": [[\"path\",{\"d\":\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z\"}],[\"path\",{\"d\":\"m15 5 4 4\"}]],\n \"plus\": [[\"path\",{\"d\":\"M5 12h14\"}],[\"path\",{\"d\":\"M12 5v14\"}]],\n \"refresh-cw\": [[\"path\",{\"d\":\"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8\"}],[\"path\",{\"d\":\"M21 3v5h-5\"}],[\"path\",{\"d\":\"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16\"}],[\"path\",{\"d\":\"M8 16H3v5\"}]],\n \"search\": [[\"path\",{\"d\":\"m21 21-4.34-4.34\"}],[\"circle\",{\"cx\":\"11\",\"cy\":\"11\",\"r\":\"8\"}]],\n \"settings\": [[\"path\",{\"d\":\"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915\"}],[\"circle\",{\"cx\":\"12\",\"cy\":\"12\",\"r\":\"3\"}]],\n \"shield-check\": [[\"path\",{\"d\":\"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z\"}],[\"path\",{\"d\":\"m9 12 2 2 4-4\"}]],\n \"sliders-horizontal\": [[\"path\",{\"d\":\"M10 5H3\"}],[\"path\",{\"d\":\"M12 19H3\"}],[\"path\",{\"d\":\"M14 3v4\"}],[\"path\",{\"d\":\"M16 17v4\"}],[\"path\",{\"d\":\"M21 12h-9\"}],[\"path\",{\"d\":\"M21 19h-5\"}],[\"path\",{\"d\":\"M21 5h-7\"}],[\"path\",{\"d\":\"M8 10v4\"}],[\"path\",{\"d\":\"M8 12H3\"}]],\n \"trash-2\": [[\"path\",{\"d\":\"M10 11v6\"}],[\"path\",{\"d\":\"M14 11v6\"}],[\"path\",{\"d\":\"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6\"}],[\"path\",{\"d\":\"M3 6h18\"}],[\"path\",{\"d\":\"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\"}]],\n \"triangle-alert\": [[\"path\",{\"d\":\"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3\"}],[\"path\",{\"d\":\"M12 9v4\"}],[\"path\",{\"d\":\"M12 17h.01\"}]],\n \"upload\": [[\"path\",{\"d\":\"M12 3v12\"}],[\"path\",{\"d\":\"m17 8-5-5-5 5\"}],[\"path\",{\"d\":\"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\"}]],\n \"x\": [[\"path\",{\"d\":\"M18 6 6 18\"}],[\"path\",{\"d\":\"m6 6 12 12\"}]],\n}\n\n/** 已登记字形名。用于开发期告警与文档生成 */\nexport const GLYPH_NAMES = Object.keys(GLYPHS) as IconName[]\n"],"mappings":"AAkBO,MAAM,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E,CAAC,QAAO,EAAC,KAAI,aAAY,CAAC,CAAC;AAAA,EACjK,UAAU,CAAC,CAAC,QAAO,EAAC,KAAI,WAAU,CAAC,GAAE,CAAC,QAAO,EAAC,KAAI,gBAAe,CAAC,GAAE,CAAC,QAAO,EAAC,KAAI,4CAA2C,CAAC,CAAC;AAAA,EAC9H,KAAK,CAAC,CAAC,QAAO,EAAC,KAAI,aAAY,CAAC,GAAE,CAAC,QAAO,EAAC,KAAI,aAAY,CAAC,CAAC;AAC/D;AAGO,MAAM,cAAc,OAAO,KAAK,MAAM;","names":[]}
|
package/dist/index.js
CHANGED
|
@@ -6,6 +6,7 @@ import { ToggleGroup } from "./components/foundation/actions/ToggleGroup.js";
|
|
|
6
6
|
import { Calendar } from "./components/foundation/input-selection/Calendar.js";
|
|
7
7
|
import { Checkbox } from "./components/foundation/input-selection/Checkbox.js";
|
|
8
8
|
import { Combobox } from "./components/foundation/input-selection/Combobox.js";
|
|
9
|
+
import { DateInput } from "./components/foundation/input-selection/DateInput.js";
|
|
9
10
|
import { Field } from "./components/foundation/input-selection/Field.js";
|
|
10
11
|
import { Input } from "./components/foundation/input-selection/Input.js";
|
|
11
12
|
import { InputGroup } from "./components/foundation/input-selection/InputGroup.js";
|
|
@@ -57,6 +58,7 @@ import { Sonner } from "./components/foundation/feedback-overlay/Sonner.js";
|
|
|
57
58
|
import { SonnerProvider, useToast } from "./components/foundation/feedback-overlay/SonnerProvider.js";
|
|
58
59
|
import { Spinner } from "./components/foundation/feedback-overlay/Spinner.js";
|
|
59
60
|
import { Tooltip } from "./components/foundation/feedback-overlay/Tooltip.js";
|
|
61
|
+
import { ApplicationDateRangeFilter } from "./components/application-atomic/ApplicationDateRangeFilter.js";
|
|
60
62
|
import { ApplicationFilterMenu } from "./components/application-atomic/ApplicationFilterMenu.js";
|
|
61
63
|
import { ListSelectionCheckbox } from "./components/application-atomic/ListSelectionCheckbox.js";
|
|
62
64
|
import { ListTablePagination } from "./components/application-atomic/ListTablePagination.js";
|
|
@@ -95,6 +97,7 @@ export {
|
|
|
95
97
|
Alert,
|
|
96
98
|
AlertDialog,
|
|
97
99
|
ApplicationDataDisplay,
|
|
100
|
+
ApplicationDateRangeFilter,
|
|
98
101
|
ApplicationDetailDrawer,
|
|
99
102
|
ApplicationFilterList,
|
|
100
103
|
ApplicationFilterMenu,
|
|
@@ -131,6 +134,7 @@ export {
|
|
|
131
134
|
Command,
|
|
132
135
|
ContactsCollaborationWorkspace,
|
|
133
136
|
ContextMenu,
|
|
137
|
+
DateInput,
|
|
134
138
|
Dialog,
|
|
135
139
|
Drawer,
|
|
136
140
|
DropdownMenu,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/* 生成文件 —— 请勿手改。\n *\n * 源:src 目录下各组件 .tsx 的导出。生成器:scripts/build-index.mjs\n * 新增组件后跑 pnpm build:index,或直接 pnpm build(已串在链上)。\n *\n * 组件与其 props 类型成对导出,类型名一律 <组件名>Props,事实来源是\n * contracts/ 下的契约文件 —— 组件实现 import type 后原样再导出,\n * 不在别处重新声明,以免制造第二处来源。\n *\n * 样式不在这里 —— 用户显式 import '@moheng-design/ui/styles.css'(01 §4.3)。\n * 那是一次性的一行,换来的是组件模块保持无副作用、tree-shaking 不受影响。\n */\n\n/* ── Foundation · icon ─────────────────────────────────────────── */\nexport { Icon } from './icon/Icon.js'\nexport type { IconProps, IconName } from './icon/Icon.js'\n\n/* ── Foundation · actions ──────────────────────────────────────── */\nexport { Button } from './components/foundation/actions/Button.js'\nexport type { ButtonProps } from './components/foundation/actions/Button.js'\nexport { ButtonGroup } from './components/foundation/actions/ButtonGroup.js'\nexport type { ButtonGroupProps } from './components/foundation/actions/ButtonGroup.js'\nexport { Toggle } from './components/foundation/actions/Toggle.js'\nexport type { ToggleProps } from './components/foundation/actions/Toggle.js'\nexport { ToggleGroup } from './components/foundation/actions/ToggleGroup.js'\nexport type { ToggleGroupProps, ToggleGroupItem } from './components/foundation/actions/ToggleGroup.js'\n\n/* ── Foundation · input-selection ──────────────────────────────── */\nexport { Calendar } from './components/foundation/input-selection/Calendar.js'\nexport type { CalendarProps } from './components/foundation/input-selection/Calendar.js'\nexport { Checkbox } from './components/foundation/input-selection/Checkbox.js'\nexport type { CheckboxProps } from './components/foundation/input-selection/Checkbox.js'\nexport { Combobox } from './components/foundation/input-selection/Combobox.js'\nexport type { ComboboxProps, ComboboxOption } from './components/foundation/input-selection/Combobox.js'\nexport { Field } from './components/foundation/input-selection/Field.js'\nexport type { FieldProps } from './components/foundation/input-selection/Field.js'\nexport { Input } from './components/foundation/input-selection/Input.js'\nexport type { InputProps } from './components/foundation/input-selection/Input.js'\nexport { InputGroup } from './components/foundation/input-selection/InputGroup.js'\nexport type { InputGroupProps } from './components/foundation/input-selection/InputGroup.js'\nexport { InputOTP } from './components/foundation/input-selection/InputOTP.js'\nexport type { InputOTPProps } from './components/foundation/input-selection/InputOTP.js'\nexport { Label } from './components/foundation/input-selection/Label.js'\nexport type { LabelProps } from './components/foundation/input-selection/Label.js'\nexport { NativeSelect } from './components/foundation/input-selection/NativeSelect.js'\nexport type { NativeSelectProps, NativeSelectOption } from './components/foundation/input-selection/NativeSelect.js'\nexport { RadioGroup } from './components/foundation/input-selection/RadioGroup.js'\nexport type { RadioGroupProps, RadioGroupItem } from './components/foundation/input-selection/RadioGroup.js'\nexport { Select } from './components/foundation/input-selection/Select.js'\nexport type { SelectProps, SelectOption } from './components/foundation/input-selection/Select.js'\nexport { Slider } from './components/foundation/input-selection/Slider.js'\nexport type { SliderProps } from './components/foundation/input-selection/Slider.js'\nexport { Switch } from './components/foundation/input-selection/Switch.js'\nexport type { SwitchProps } from './components/foundation/input-selection/Switch.js'\nexport { Textarea } from './components/foundation/input-selection/Textarea.js'\nexport type { TextareaProps } from './components/foundation/input-selection/Textarea.js'\n\n/* ── Foundation · navigation-command ───────────────────────────── */\nexport { Accordion } from './components/foundation/navigation-command/Accordion.js'\nexport type { AccordionProps, AccordionItem } from './components/foundation/navigation-command/Accordion.js'\nexport { Breadcrumb } from './components/foundation/navigation-command/Breadcrumb.js'\nexport type { BreadcrumbProps, BreadcrumbItem } from './components/foundation/navigation-command/Breadcrumb.js'\nexport { Command } from './components/foundation/navigation-command/Command.js'\nexport type { CommandProps, CommandGroup, CommandItem } from './components/foundation/navigation-command/Command.js'\nexport { ContextMenu } from './components/foundation/navigation-command/ContextMenu.js'\nexport type { ContextMenuProps, ContextMenuItem } from './components/foundation/navigation-command/ContextMenu.js'\nexport { Menubar } from './components/foundation/navigation-command/Menubar.js'\nexport type { MenubarProps, MenubarMenu, MenubarItem } from './components/foundation/navigation-command/Menubar.js'\nexport { NavigationMenu } from './components/foundation/navigation-command/NavigationMenu.js'\nexport type { NavigationMenuProps, NavigationMenuItem } from './components/foundation/navigation-command/NavigationMenu.js'\nexport { Pagination } from './components/foundation/navigation-command/Pagination.js'\nexport type { PaginationProps } from './components/foundation/navigation-command/Pagination.js'\nexport { Sidebar } from './components/foundation/navigation-command/Sidebar.js'\nexport type { SidebarProps, SidebarGroup, SidebarItem } from './components/foundation/navigation-command/Sidebar.js'\nexport { Tabs } from './components/foundation/navigation-command/Tabs.js'\nexport type { TabsProps, TabItem } from './components/foundation/navigation-command/Tabs.js'\n\n/* ── Foundation · data-content-layout ──────────────────────────── */\nexport { AspectRatio } from './components/foundation/data-content-layout/AspectRatio.js'\nexport type { AspectRatioProps } from './components/foundation/data-content-layout/AspectRatio.js'\nexport { Avatar } from './components/foundation/data-content-layout/Avatar.js'\nexport type { AvatarProps } from './components/foundation/data-content-layout/Avatar.js'\nexport { Badge } from './components/foundation/data-content-layout/Badge.js'\nexport type { BadgeProps } from './components/foundation/data-content-layout/Badge.js'\nexport { Bubble } from './components/foundation/data-content-layout/Bubble.js'\nexport type { BubbleProps } from './components/foundation/data-content-layout/Bubble.js'\nexport { Card } from './components/foundation/data-content-layout/Card.js'\nexport type { CardProps } from './components/foundation/data-content-layout/Card.js'\nexport { Carousel } from './components/foundation/data-content-layout/Carousel.js'\nexport type { CarouselProps } from './components/foundation/data-content-layout/Carousel.js'\nexport { Chart } from './components/foundation/data-content-layout/Chart.js'\nexport type { ChartProps, ChartSeries } from './components/foundation/data-content-layout/Chart.js'\nexport { Empty } from './components/foundation/data-content-layout/Empty.js'\nexport type { EmptyProps } from './components/foundation/data-content-layout/Empty.js'\nexport { Item } from './components/foundation/data-content-layout/Item.js'\nexport type { ItemProps } from './components/foundation/data-content-layout/Item.js'\nexport { Kbd } from './components/foundation/data-content-layout/Kbd.js'\nexport type { KbdProps } from './components/foundation/data-content-layout/Kbd.js'\nexport { Message } from './components/foundation/data-content-layout/Message.js'\nexport type { MessageProps } from './components/foundation/data-content-layout/Message.js'\nexport { MessageScroller } from './components/foundation/data-content-layout/MessageScroller.js'\nexport type { MessageScrollerProps } from './components/foundation/data-content-layout/MessageScroller.js'\nexport { Progress } from './components/foundation/data-content-layout/Progress.js'\nexport type { ProgressProps } from './components/foundation/data-content-layout/Progress.js'\nexport { Resizable } from './components/foundation/data-content-layout/Resizable.js'\nexport type { ResizableProps } from './components/foundation/data-content-layout/Resizable.js'\nexport { ScrollArea } from './components/foundation/data-content-layout/ScrollArea.js'\nexport type { ScrollAreaProps } from './components/foundation/data-content-layout/ScrollArea.js'\nexport { Separator } from './components/foundation/data-content-layout/Separator.js'\nexport type { SeparatorProps } from './components/foundation/data-content-layout/Separator.js'\nexport { Skeleton } from './components/foundation/data-content-layout/Skeleton.js'\nexport type { SkeletonProps } from './components/foundation/data-content-layout/Skeleton.js'\nexport { Table } from './components/foundation/data-content-layout/Table.js'\nexport type { TableProps, TableColumn, TableSort } from './components/foundation/data-content-layout/Table.js'\n\n/* ── Foundation · feedback-overlay ─────────────────────────────── */\nexport { Alert } from './components/foundation/feedback-overlay/Alert.js'\nexport type { AlertProps } from './components/foundation/feedback-overlay/Alert.js'\nexport { AlertDialog } from './components/foundation/feedback-overlay/AlertDialog.js'\nexport type { AlertDialogProps } from './components/foundation/feedback-overlay/AlertDialog.js'\nexport { Collapsible } from './components/foundation/feedback-overlay/Collapsible.js'\nexport type { CollapsibleProps } from './components/foundation/feedback-overlay/Collapsible.js'\nexport { Dialog } from './components/foundation/feedback-overlay/Dialog.js'\nexport type { DialogProps } from './components/foundation/feedback-overlay/Dialog.js'\nexport { Drawer } from './components/foundation/feedback-overlay/Drawer.js'\nexport type { DrawerProps } from './components/foundation/feedback-overlay/Drawer.js'\nexport { DropdownMenu } from './components/foundation/feedback-overlay/DropdownMenu.js'\nexport type { DropdownMenuProps, DropdownMenuItem } from './components/foundation/feedback-overlay/DropdownMenu.js'\nexport { HoverCard } from './components/foundation/feedback-overlay/HoverCard.js'\nexport type { HoverCardProps } from './components/foundation/feedback-overlay/HoverCard.js'\nexport { Popover } from './components/foundation/feedback-overlay/Popover.js'\nexport type { PopoverProps } from './components/foundation/feedback-overlay/Popover.js'\nexport { Sheet } from './components/foundation/feedback-overlay/Sheet.js'\nexport type { SheetProps } from './components/foundation/feedback-overlay/Sheet.js'\nexport { Sonner } from './components/foundation/feedback-overlay/Sonner.js'\nexport type { SonnerProps, SonnerToast } from './components/foundation/feedback-overlay/Sonner.js'\nexport { SonnerProvider, useToast } from './components/foundation/feedback-overlay/SonnerProvider.js'\nexport type { SonnerProviderProps, ToastFunction, ToastOptions } from './components/foundation/feedback-overlay/SonnerProvider.js'\nexport { Spinner } from './components/foundation/feedback-overlay/Spinner.js'\nexport type { SpinnerProps } from './components/foundation/feedback-overlay/Spinner.js'\nexport { Tooltip } from './components/foundation/feedback-overlay/Tooltip.js'\nexport type { TooltipProps } from './components/foundation/feedback-overlay/Tooltip.js'\n\n/* ── Application Atomic ────────────────────────────────────────── */\nexport { ApplicationFilterMenu } from './components/application-atomic/ApplicationFilterMenu.js'\nexport type { ApplicationFilterMenuProps, ApplicationFilterOption } from './components/application-atomic/ApplicationFilterMenu.js'\nexport { ListSelectionCheckbox } from './components/application-atomic/ListSelectionCheckbox.js'\nexport type { ListSelectionCheckboxProps } from './components/application-atomic/ListSelectionCheckbox.js'\nexport { ListTablePagination } from './components/application-atomic/ListTablePagination.js'\nexport type { ListTablePaginationProps } from './components/application-atomic/ListTablePagination.js'\nexport { SearchField } from './components/application-atomic/SearchField.js'\nexport type { SearchFieldProps } from './components/application-atomic/SearchField.js'\nexport { SidebarAppLinkButton } from './components/application-atomic/SidebarAppLinkButton.js'\nexport type { SidebarAppLinkButtonProps } from './components/application-atomic/SidebarAppLinkButton.js'\nexport { SidebarRailButton } from './components/application-atomic/SidebarRailButton.js'\nexport type { SidebarRailButtonProps } from './components/application-atomic/SidebarRailButton.js'\nexport { SystemButton } from './components/application-atomic/SystemButton.js'\nexport type { SystemButtonProps } from './components/application-atomic/SystemButton.js'\n\n/* ── Application Module · navigation ───────────────────────────── */\nexport { ApplicationModuleSwitcher } from './components/application-module/navigation/ApplicationModuleSwitcher.js'\nexport type { ApplicationModuleSwitcherProps, ModuleItem } from './components/application-module/navigation/ApplicationModuleSwitcher.js'\nexport { ApplicationPrimaryNavigation } from './components/application-module/navigation/ApplicationPrimaryNavigation.js'\nexport type { ApplicationPrimaryNavigationProps, GlobalActionKey } from './components/application-module/navigation/ApplicationPrimaryNavigation.js'\nexport { ApplicationSecondaryNavigation } from './components/application-module/navigation/ApplicationSecondaryNavigation.js'\nexport type { ApplicationSecondaryNavigationProps, SecondaryNavTab } from './components/application-module/navigation/ApplicationSecondaryNavigation.js'\nexport { GlobalSidebar } from './components/application-module/navigation/GlobalSidebar.js'\nexport type { GlobalSidebarProps, GlobalSidebarEntry } from './components/application-module/navigation/GlobalSidebar.js'\nexport { TopNavigationPrimaryBar } from './components/application-module/navigation/TopNavigationPrimaryBar.js'\nexport type { TopNavigationPrimaryBarProps } from './components/application-module/navigation/TopNavigationPrimaryBar.js'\n\n/* ── Application Module · statistics ───────────────────────────── */\nexport { ApplicationMetricChart } from './components/application-module/statistics/ApplicationMetricChart.js'\nexport type { ApplicationMetricChartProps } from './components/application-module/statistics/ApplicationMetricChart.js'\nexport { ApplicationMetricPrimarySecondary } from './components/application-module/statistics/ApplicationMetricPrimarySecondary.js'\nexport type { ApplicationMetricPrimarySecondaryProps, SecondaryFigure } from './components/application-module/statistics/ApplicationMetricPrimarySecondary.js'\nexport { ApplicationMetricStatus } from './components/application-module/statistics/ApplicationMetricStatus.js'\nexport type { ApplicationMetricStatusProps } from './components/application-module/statistics/ApplicationMetricStatus.js'\nexport { ApplicationMetricStrip } from './components/application-module/statistics/ApplicationMetricStrip.js'\nexport type { ApplicationMetricStripProps, Metric, MetricStripState } from './components/application-module/statistics/ApplicationMetricStrip.js'\nexport { ApplicationMetricTrend } from './components/application-module/statistics/ApplicationMetricTrend.js'\nexport type { ApplicationMetricTrendProps } from './components/application-module/statistics/ApplicationMetricTrend.js'\n\n/* ── Application Module · content ──────────────────────────────── */\nexport { ApplicationDataDisplay } from './components/application-module/content/ApplicationDataDisplay.js'\nexport type { ApplicationDataDisplayProps, DataDisplayState } from './components/application-module/content/ApplicationDataDisplay.js'\nexport { ApplicationFilterList } from './components/application-module/content/ApplicationFilterList.js'\nexport type { ApplicationFilterListProps, FilterGroup, FilterOption } from './components/application-module/content/ApplicationFilterList.js'\nexport { ApplicationPageHeader } from './components/application-module/content/ApplicationPageHeader.js'\nexport type { ApplicationPageHeaderProps, PageMode } from './components/application-module/content/ApplicationPageHeader.js'\nexport { ApplicationPageLayoutContainer } from './components/application-module/content/ApplicationPageLayoutContainer.js'\nexport type { ApplicationPageLayoutContainerProps } from './components/application-module/content/ApplicationPageLayoutContainer.js'\nexport { ApplicationQueryToolbar } from './components/application-module/content/ApplicationQueryToolbar.js'\nexport type { ApplicationQueryToolbarProps, BusinessViewTab, AppliedFilterTag, DataPresentation } from './components/application-module/content/ApplicationQueryToolbar.js'\nexport { ApplicationRecordDetailBody } from './components/application-module/content/ApplicationRecordDetailBody.js'\nexport type { ApplicationRecordDetailBodyProps, DetailSection, DetailField } from './components/application-module/content/ApplicationRecordDetailBody.js'\nexport { ApplicationSplitListSidebar } from './components/application-module/content/ApplicationSplitListSidebar.js'\nexport type { ApplicationSplitListSidebarProps, SplitSidebarItem } from './components/application-module/content/ApplicationSplitListSidebar.js'\n\n/* ── Application Module · lists ────────────────────────────────── */\nexport { ApplicationRecordList } from './components/application-module/lists/ApplicationRecordList.js'\nexport type { ApplicationRecordListProps, RecordListItem } from './components/application-module/lists/ApplicationRecordList.js'\nexport { ListBatchActionBar } from './components/application-module/lists/ListBatchActionBar.js'\nexport type { ListBatchActionBarProps } from './components/application-module/lists/ListBatchActionBar.js'\n\n/* ── Application Module · overlays ─────────────────────────────── */\nexport { ApplicationDetailDrawer } from './components/application-module/overlays/ApplicationDetailDrawer.js'\nexport type { ApplicationDetailDrawerProps } from './components/application-module/overlays/ApplicationDetailDrawer.js'\nexport { ApplicationFormDialog } from './components/application-module/overlays/ApplicationFormDialog.js'\nexport type { ApplicationFormDialogProps } from './components/application-module/overlays/ApplicationFormDialog.js'\nexport { ApplicationGlobalActionPanel } from './components/application-module/overlays/ApplicationGlobalActionPanel.js'\nexport type { ApplicationGlobalActionPanelProps, GlobalActionTab } from './components/application-module/overlays/ApplicationGlobalActionPanel.js'\nexport { PeoplePickerDialog } from './components/application-module/overlays/PeoplePickerDialog.js'\nexport type { PeoplePickerDialogProps, Person } from './components/application-module/overlays/PeoplePickerDialog.js'\n\n/* ── Application Module · collaboration ────────────────────────── */\nexport { ContactsCollaborationWorkspace } from './components/application-module/collaboration/ContactsCollaborationWorkspace.js'\nexport type { ContactsCollaborationWorkspaceProps, WorkspacePerson } from './components/application-module/collaboration/ContactsCollaborationWorkspace.js'\nexport { FilesCollaborationWorkspace } from './components/application-module/collaboration/FilesCollaborationWorkspace.js'\nexport type { FilesCollaborationWorkspaceProps, WorkspaceFile } from './components/application-module/collaboration/FilesCollaborationWorkspace.js'\nexport { ScheduleCollaborationWorkspace } from './components/application-module/collaboration/ScheduleCollaborationWorkspace.js'\nexport type { ScheduleCollaborationWorkspaceProps, ScheduleEvent,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AS,eAAe;AAExB,SAAS,eAAe;AAIxB,SAAS,6BAA6B;AAEtC,SAAS,6BAA6B;AAEtC,SAAS,2BAA2B;AAEpC,SAAS,mBAAmB;AAE5B,SAAS,4BAA4B;AAErC,SAAS,yBAAyB;AAElC,SAAS,oBAAoB;AAI7B,SAAS,iCAAiC;AAE1C,SAAS,oCAAoC;AAE7C,SAAS,sCAAsC;AAE/C,SAAS,qBAAqB;AAE9B,SAAS,+BAA+B;AAIxC,SAAS,8BAA8B;AAEvC,SAAS,yCAAyC;AAElD,SAAS,+BAA+B;AAExC,SAAS,8BAA8B;AAEvC,SAAS,8BAA8B;AAIvC,SAAS,8BAA8B;AAEvC,SAAS,6BAA6B;AAEtC,SAAS,6BAA6B;AAEtC,SAAS,sCAAsC;AAE/C,SAAS,+BAA+B;AAExC,SAAS,mCAAmC;AAE5C,SAAS,mCAAmC;AAI5C,SAAS,6BAA6B;AAEtC,SAAS,0BAA0B;AAInC,SAAS,+BAA+B;AAExC,SAAS,6BAA6B;AAEtC,SAAS,oCAAoC;AAE7C,SAAS,0BAA0B;AAInC,SAAS,sCAAsC;AAE/C,SAAS,mCAAmC;AAE5C,SAAS,sCAAsC;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/* 生成文件 —— 请勿手改。\n *\n * 源:src 目录下各组件 .tsx 的导出。生成器:scripts/build-index.mjs\n * 新增组件后跑 pnpm build:index,或直接 pnpm build(已串在链上)。\n *\n * 组件与其 props 类型成对导出,类型名一律 <组件名>Props,事实来源是\n * contracts/ 下的契约文件 —— 组件实现 import type 后原样再导出,\n * 不在别处重新声明,以免制造第二处来源。\n *\n * 样式不在这里 —— 用户显式 import '@moheng-design/ui/styles.css'(01 §4.3)。\n * 那是一次性的一行,换来的是组件模块保持无副作用、tree-shaking 不受影响。\n */\n\n/* ── Foundation · icon ─────────────────────────────────────────── */\nexport { Icon } from './icon/Icon.js'\nexport type { IconProps, IconName } from './icon/Icon.js'\n\n/* ── Foundation · actions ──────────────────────────────────────── */\nexport { Button } from './components/foundation/actions/Button.js'\nexport type { ButtonProps } from './components/foundation/actions/Button.js'\nexport { ButtonGroup } from './components/foundation/actions/ButtonGroup.js'\nexport type { ButtonGroupProps } from './components/foundation/actions/ButtonGroup.js'\nexport { Toggle } from './components/foundation/actions/Toggle.js'\nexport type { ToggleProps } from './components/foundation/actions/Toggle.js'\nexport { ToggleGroup } from './components/foundation/actions/ToggleGroup.js'\nexport type { ToggleGroupProps, ToggleGroupItem } from './components/foundation/actions/ToggleGroup.js'\n\n/* ── Foundation · input-selection ──────────────────────────────── */\nexport { Calendar } from './components/foundation/input-selection/Calendar.js'\nexport type { CalendarProps } from './components/foundation/input-selection/Calendar.js'\nexport { Checkbox } from './components/foundation/input-selection/Checkbox.js'\nexport type { CheckboxProps } from './components/foundation/input-selection/Checkbox.js'\nexport { Combobox } from './components/foundation/input-selection/Combobox.js'\nexport type { ComboboxProps, ComboboxOption } from './components/foundation/input-selection/Combobox.js'\nexport { DateInput } from './components/foundation/input-selection/DateInput.js'\nexport type { DateInputProps } from './components/foundation/input-selection/DateInput.js'\nexport { Field } from './components/foundation/input-selection/Field.js'\nexport type { FieldProps } from './components/foundation/input-selection/Field.js'\nexport { Input } from './components/foundation/input-selection/Input.js'\nexport type { InputProps } from './components/foundation/input-selection/Input.js'\nexport { InputGroup } from './components/foundation/input-selection/InputGroup.js'\nexport type { InputGroupProps } from './components/foundation/input-selection/InputGroup.js'\nexport { InputOTP } from './components/foundation/input-selection/InputOTP.js'\nexport type { InputOTPProps } from './components/foundation/input-selection/InputOTP.js'\nexport { Label } from './components/foundation/input-selection/Label.js'\nexport type { LabelProps } from './components/foundation/input-selection/Label.js'\nexport { NativeSelect } from './components/foundation/input-selection/NativeSelect.js'\nexport type { NativeSelectProps, NativeSelectOption } from './components/foundation/input-selection/NativeSelect.js'\nexport { RadioGroup } from './components/foundation/input-selection/RadioGroup.js'\nexport type { RadioGroupProps, RadioGroupItem } from './components/foundation/input-selection/RadioGroup.js'\nexport { Select } from './components/foundation/input-selection/Select.js'\nexport type { SelectProps, SelectOption } from './components/foundation/input-selection/Select.js'\nexport { Slider } from './components/foundation/input-selection/Slider.js'\nexport type { SliderProps } from './components/foundation/input-selection/Slider.js'\nexport { Switch } from './components/foundation/input-selection/Switch.js'\nexport type { SwitchProps } from './components/foundation/input-selection/Switch.js'\nexport { Textarea } from './components/foundation/input-selection/Textarea.js'\nexport type { TextareaProps } from './components/foundation/input-selection/Textarea.js'\n\n/* ── Foundation · navigation-command ───────────────────────────── */\nexport { Accordion } from './components/foundation/navigation-command/Accordion.js'\nexport type { AccordionProps, AccordionItem } from './components/foundation/navigation-command/Accordion.js'\nexport { Breadcrumb } from './components/foundation/navigation-command/Breadcrumb.js'\nexport type { BreadcrumbProps, BreadcrumbItem } from './components/foundation/navigation-command/Breadcrumb.js'\nexport { Command } from './components/foundation/navigation-command/Command.js'\nexport type { CommandProps, CommandGroup, CommandItem } from './components/foundation/navigation-command/Command.js'\nexport { ContextMenu } from './components/foundation/navigation-command/ContextMenu.js'\nexport type { ContextMenuProps, ContextMenuItem } from './components/foundation/navigation-command/ContextMenu.js'\nexport { Menubar } from './components/foundation/navigation-command/Menubar.js'\nexport type { MenubarProps, MenubarMenu, MenubarItem } from './components/foundation/navigation-command/Menubar.js'\nexport { NavigationMenu } from './components/foundation/navigation-command/NavigationMenu.js'\nexport type { NavigationMenuProps, NavigationMenuItem } from './components/foundation/navigation-command/NavigationMenu.js'\nexport { Pagination } from './components/foundation/navigation-command/Pagination.js'\nexport type { PaginationProps } from './components/foundation/navigation-command/Pagination.js'\nexport { Sidebar } from './components/foundation/navigation-command/Sidebar.js'\nexport type { SidebarProps, SidebarGroup, SidebarItem } from './components/foundation/navigation-command/Sidebar.js'\nexport { Tabs } from './components/foundation/navigation-command/Tabs.js'\nexport type { TabsProps, TabItem } from './components/foundation/navigation-command/Tabs.js'\n\n/* ── Foundation · data-content-layout ──────────────────────────── */\nexport { AspectRatio } from './components/foundation/data-content-layout/AspectRatio.js'\nexport type { AspectRatioProps } from './components/foundation/data-content-layout/AspectRatio.js'\nexport { Avatar } from './components/foundation/data-content-layout/Avatar.js'\nexport type { AvatarProps } from './components/foundation/data-content-layout/Avatar.js'\nexport { Badge } from './components/foundation/data-content-layout/Badge.js'\nexport type { BadgeProps } from './components/foundation/data-content-layout/Badge.js'\nexport { Bubble } from './components/foundation/data-content-layout/Bubble.js'\nexport type { BubbleProps } from './components/foundation/data-content-layout/Bubble.js'\nexport { Card } from './components/foundation/data-content-layout/Card.js'\nexport type { CardProps } from './components/foundation/data-content-layout/Card.js'\nexport { Carousel } from './components/foundation/data-content-layout/Carousel.js'\nexport type { CarouselProps } from './components/foundation/data-content-layout/Carousel.js'\nexport { Chart } from './components/foundation/data-content-layout/Chart.js'\nexport type { ChartProps, ChartSeries } from './components/foundation/data-content-layout/Chart.js'\nexport { Empty } from './components/foundation/data-content-layout/Empty.js'\nexport type { EmptyProps } from './components/foundation/data-content-layout/Empty.js'\nexport { Item } from './components/foundation/data-content-layout/Item.js'\nexport type { ItemProps } from './components/foundation/data-content-layout/Item.js'\nexport { Kbd } from './components/foundation/data-content-layout/Kbd.js'\nexport type { KbdProps } from './components/foundation/data-content-layout/Kbd.js'\nexport { Message } from './components/foundation/data-content-layout/Message.js'\nexport type { MessageProps } from './components/foundation/data-content-layout/Message.js'\nexport { MessageScroller } from './components/foundation/data-content-layout/MessageScroller.js'\nexport type { MessageScrollerProps } from './components/foundation/data-content-layout/MessageScroller.js'\nexport { Progress } from './components/foundation/data-content-layout/Progress.js'\nexport type { ProgressProps } from './components/foundation/data-content-layout/Progress.js'\nexport { Resizable } from './components/foundation/data-content-layout/Resizable.js'\nexport type { ResizableProps } from './components/foundation/data-content-layout/Resizable.js'\nexport { ScrollArea } from './components/foundation/data-content-layout/ScrollArea.js'\nexport type { ScrollAreaProps } from './components/foundation/data-content-layout/ScrollArea.js'\nexport { Separator } from './components/foundation/data-content-layout/Separator.js'\nexport type { SeparatorProps } from './components/foundation/data-content-layout/Separator.js'\nexport { Skeleton } from './components/foundation/data-content-layout/Skeleton.js'\nexport type { SkeletonProps } from './components/foundation/data-content-layout/Skeleton.js'\nexport { Table } from './components/foundation/data-content-layout/Table.js'\nexport type { TableProps, TableColumn, TableSort, TableTrailingRow } from './components/foundation/data-content-layout/Table.js'\n\n/* ── Foundation · feedback-overlay ─────────────────────────────── */\nexport { Alert } from './components/foundation/feedback-overlay/Alert.js'\nexport type { AlertProps } from './components/foundation/feedback-overlay/Alert.js'\nexport { AlertDialog } from './components/foundation/feedback-overlay/AlertDialog.js'\nexport type { AlertDialogProps } from './components/foundation/feedback-overlay/AlertDialog.js'\nexport { Collapsible } from './components/foundation/feedback-overlay/Collapsible.js'\nexport type { CollapsibleProps } from './components/foundation/feedback-overlay/Collapsible.js'\nexport { Dialog } from './components/foundation/feedback-overlay/Dialog.js'\nexport type { DialogProps } from './components/foundation/feedback-overlay/Dialog.js'\nexport { Drawer } from './components/foundation/feedback-overlay/Drawer.js'\nexport type { DrawerProps } from './components/foundation/feedback-overlay/Drawer.js'\nexport { DropdownMenu } from './components/foundation/feedback-overlay/DropdownMenu.js'\nexport type { DropdownMenuProps, DropdownMenuItem } from './components/foundation/feedback-overlay/DropdownMenu.js'\nexport { HoverCard } from './components/foundation/feedback-overlay/HoverCard.js'\nexport type { HoverCardProps } from './components/foundation/feedback-overlay/HoverCard.js'\nexport { Popover } from './components/foundation/feedback-overlay/Popover.js'\nexport type { PopoverProps } from './components/foundation/feedback-overlay/Popover.js'\nexport { Sheet } from './components/foundation/feedback-overlay/Sheet.js'\nexport type { SheetProps } from './components/foundation/feedback-overlay/Sheet.js'\nexport { Sonner } from './components/foundation/feedback-overlay/Sonner.js'\nexport type { SonnerProps, SonnerToast } from './components/foundation/feedback-overlay/Sonner.js'\nexport { SonnerProvider, useToast } from './components/foundation/feedback-overlay/SonnerProvider.js'\nexport type { SonnerProviderProps, ToastFunction, ToastOptions } from './components/foundation/feedback-overlay/SonnerProvider.js'\nexport { Spinner } from './components/foundation/feedback-overlay/Spinner.js'\nexport type { SpinnerProps } from './components/foundation/feedback-overlay/Spinner.js'\nexport { Tooltip } from './components/foundation/feedback-overlay/Tooltip.js'\nexport type { TooltipProps } from './components/foundation/feedback-overlay/Tooltip.js'\n\n/* ── Application Atomic ────────────────────────────────────────── */\nexport { ApplicationDateRangeFilter } from './components/application-atomic/ApplicationDateRangeFilter.js'\nexport type { ApplicationDateRangeFilterProps, DateRangeValue } from './components/application-atomic/ApplicationDateRangeFilter.js'\nexport { ApplicationFilterMenu } from './components/application-atomic/ApplicationFilterMenu.js'\nexport type { ApplicationFilterMenuProps, ApplicationFilterOption } from './components/application-atomic/ApplicationFilterMenu.js'\nexport { ListSelectionCheckbox } from './components/application-atomic/ListSelectionCheckbox.js'\nexport type { ListSelectionCheckboxProps } from './components/application-atomic/ListSelectionCheckbox.js'\nexport { ListTablePagination } from './components/application-atomic/ListTablePagination.js'\nexport type { ListTablePaginationProps } from './components/application-atomic/ListTablePagination.js'\nexport { SearchField } from './components/application-atomic/SearchField.js'\nexport type { SearchFieldProps } from './components/application-atomic/SearchField.js'\nexport { SidebarAppLinkButton } from './components/application-atomic/SidebarAppLinkButton.js'\nexport type { SidebarAppLinkButtonProps } from './components/application-atomic/SidebarAppLinkButton.js'\nexport { SidebarRailButton } from './components/application-atomic/SidebarRailButton.js'\nexport type { SidebarRailButtonProps } from './components/application-atomic/SidebarRailButton.js'\nexport { SystemButton } from './components/application-atomic/SystemButton.js'\nexport type { SystemButtonProps } from './components/application-atomic/SystemButton.js'\n\n/* ── Application Module · navigation ───────────────────────────── */\nexport { ApplicationModuleSwitcher } from './components/application-module/navigation/ApplicationModuleSwitcher.js'\nexport type { ApplicationModuleSwitcherProps, ModuleItem } from './components/application-module/navigation/ApplicationModuleSwitcher.js'\nexport { ApplicationPrimaryNavigation } from './components/application-module/navigation/ApplicationPrimaryNavigation.js'\nexport type { ApplicationPrimaryNavigationAccount, ApplicationPrimaryNavigationProps, GlobalActionKey, GlobalActionKind } from './components/application-module/navigation/ApplicationPrimaryNavigation.js'\nexport { ApplicationSecondaryNavigation } from './components/application-module/navigation/ApplicationSecondaryNavigation.js'\nexport type { ApplicationSecondaryNavigationProps, SecondaryNavTab } from './components/application-module/navigation/ApplicationSecondaryNavigation.js'\nexport { GlobalSidebar } from './components/application-module/navigation/GlobalSidebar.js'\nexport type { GlobalSidebarProps, GlobalSidebarEntry } from './components/application-module/navigation/GlobalSidebar.js'\nexport { TopNavigationPrimaryBar } from './components/application-module/navigation/TopNavigationPrimaryBar.js'\nexport type { TopNavigationPrimaryBarProps } from './components/application-module/navigation/TopNavigationPrimaryBar.js'\n\n/* ── Application Module · statistics ───────────────────────────── */\nexport { ApplicationMetricChart } from './components/application-module/statistics/ApplicationMetricChart.js'\nexport type { ApplicationMetricChartProps } from './components/application-module/statistics/ApplicationMetricChart.js'\nexport { ApplicationMetricPrimarySecondary } from './components/application-module/statistics/ApplicationMetricPrimarySecondary.js'\nexport type { ApplicationMetricPrimarySecondaryProps, SecondaryFigure } from './components/application-module/statistics/ApplicationMetricPrimarySecondary.js'\nexport { ApplicationMetricStatus } from './components/application-module/statistics/ApplicationMetricStatus.js'\nexport type { ApplicationMetricStatusProps } from './components/application-module/statistics/ApplicationMetricStatus.js'\nexport { ApplicationMetricStrip } from './components/application-module/statistics/ApplicationMetricStrip.js'\nexport type { ApplicationMetricStripProps, Metric, MetricStripState } from './components/application-module/statistics/ApplicationMetricStrip.js'\nexport { ApplicationMetricTrend } from './components/application-module/statistics/ApplicationMetricTrend.js'\nexport type { ApplicationMetricTrendProps } from './components/application-module/statistics/ApplicationMetricTrend.js'\n\n/* ── Application Module · content ──────────────────────────────── */\nexport { ApplicationDataDisplay } from './components/application-module/content/ApplicationDataDisplay.js'\nexport type { ApplicationDataDisplayProps, DataDisplayState } from './components/application-module/content/ApplicationDataDisplay.js'\nexport { ApplicationFilterList } from './components/application-module/content/ApplicationFilterList.js'\nexport type { ApplicationFilterListProps, FilterGroup, FilterOption } from './components/application-module/content/ApplicationFilterList.js'\nexport { ApplicationPageHeader } from './components/application-module/content/ApplicationPageHeader.js'\nexport type { ApplicationPageHeaderProps, ApplicationPageHeaderTaskStatus, PageMode } from './components/application-module/content/ApplicationPageHeader.js'\nexport { ApplicationPageLayoutContainer } from './components/application-module/content/ApplicationPageLayoutContainer.js'\nexport type { ApplicationPageLayoutContainerProps } from './components/application-module/content/ApplicationPageLayoutContainer.js'\nexport { ApplicationQueryToolbar } from './components/application-module/content/ApplicationQueryToolbar.js'\nexport type { ApplicationQueryToolbarProps, BusinessViewTab, AppliedFilterTag, DataPresentation } from './components/application-module/content/ApplicationQueryToolbar.js'\nexport { ApplicationRecordDetailBody } from './components/application-module/content/ApplicationRecordDetailBody.js'\nexport type { ApplicationRecordDetailBodyProps, DetailSection, DetailField } from './components/application-module/content/ApplicationRecordDetailBody.js'\nexport { ApplicationSplitListSidebar } from './components/application-module/content/ApplicationSplitListSidebar.js'\nexport type { ApplicationSplitListSidebarProps, SplitSidebarItem } from './components/application-module/content/ApplicationSplitListSidebar.js'\n\n/* ── Application Module · lists ────────────────────────────────── */\nexport { ApplicationRecordList } from './components/application-module/lists/ApplicationRecordList.js'\nexport type { ApplicationRecordListProps, RecordListItem } from './components/application-module/lists/ApplicationRecordList.js'\nexport { ListBatchActionBar } from './components/application-module/lists/ListBatchActionBar.js'\nexport type { ListBatchActionBarProps } from './components/application-module/lists/ListBatchActionBar.js'\n\n/* ── Application Module · overlays ─────────────────────────────── */\nexport { ApplicationDetailDrawer } from './components/application-module/overlays/ApplicationDetailDrawer.js'\nexport type { ApplicationDetailDrawerProps } from './components/application-module/overlays/ApplicationDetailDrawer.js'\nexport { ApplicationFormDialog } from './components/application-module/overlays/ApplicationFormDialog.js'\nexport type { ApplicationFormDialogProps } from './components/application-module/overlays/ApplicationFormDialog.js'\nexport { ApplicationGlobalActionPanel } from './components/application-module/overlays/ApplicationGlobalActionPanel.js'\nexport type { ApplicationGlobalActionPanelProps, GlobalActionTab } from './components/application-module/overlays/ApplicationGlobalActionPanel.js'\nexport { PeoplePickerDialog } from './components/application-module/overlays/PeoplePickerDialog.js'\nexport type { PeoplePickerDialogProps, Person } from './components/application-module/overlays/PeoplePickerDialog.js'\n\n/* ── Application Module · collaboration ────────────────────────── */\nexport { ContactsCollaborationWorkspace } from './components/application-module/collaboration/ContactsCollaborationWorkspace.js'\nexport type { ContactsCollaborationWorkspaceProps, WorkspacePerson } from './components/application-module/collaboration/ContactsCollaborationWorkspace.js'\nexport { FilesCollaborationWorkspace } from './components/application-module/collaboration/FilesCollaborationWorkspace.js'\nexport type { FilesCollaborationWorkspaceProps, WorkspaceFile } from './components/application-module/collaboration/FilesCollaborationWorkspace.js'\nexport { ScheduleCollaborationWorkspace } from './components/application-module/collaboration/ScheduleCollaborationWorkspace.js'\nexport type { ScheduleCollaborationWorkspaceProps, ScheduleEvent, ScheduleGrain } from './components/application-module/collaboration/ScheduleCollaborationWorkspace.js'\n"],"mappings":"AAcA,SAAS,YAAY;AAIrB,SAAS,cAAc;AAEvB,SAAS,mBAAmB;AAE5B,SAAS,cAAc;AAEvB,SAAS,mBAAmB;AAI5B,SAAS,gBAAgB;AAEzB,SAAS,gBAAgB;AAEzB,SAAS,gBAAgB;AAEzB,SAAS,iBAAiB;AAE1B,SAAS,aAAa;AAEtB,SAAS,aAAa;AAEtB,SAAS,kBAAkB;AAE3B,SAAS,gBAAgB;AAEzB,SAAS,aAAa;AAEtB,SAAS,oBAAoB;AAE7B,SAAS,kBAAkB;AAE3B,SAAS,cAAc;AAEvB,SAAS,cAAc;AAEvB,SAAS,cAAc;AAEvB,SAAS,gBAAgB;AAIzB,SAAS,iBAAiB;AAE1B,SAAS,kBAAkB;AAE3B,SAAS,eAAe;AAExB,SAAS,mBAAmB;AAE5B,SAAS,eAAe;AAExB,SAAS,sBAAsB;AAE/B,SAAS,kBAAkB;AAE3B,SAAS,eAAe;AAExB,SAAS,YAAY;AAIrB,SAA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AA6B;AAEtC,SAAS,oCAAoC;AAE7C,SAAS,0BAA0B;AAInC,SAAS,sCAAsC;AAE/C,SAAS,mCAAmC;AAE5C,SAAS,sCAAsC;","names":[]}
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { DismissGlyph } from "./DismissGlyph.js";
|
|
4
|
-
function CloseButton({
|
|
4
|
+
function CloseButton({
|
|
5
|
+
label = "\u5173\u95ED",
|
|
6
|
+
size = "small",
|
|
7
|
+
className,
|
|
8
|
+
...rest
|
|
9
|
+
}) {
|
|
5
10
|
return /* @__PURE__ */ jsx(
|
|
6
11
|
"button",
|
|
7
12
|
{
|
|
8
13
|
type: "button",
|
|
9
14
|
className: clsx("mh-close-button", className),
|
|
15
|
+
"data-size": size,
|
|
10
16
|
"aria-label": label,
|
|
11
17
|
...rest,
|
|
12
18
|
children: /* @__PURE__ */ jsx(DismissGlyph, {})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/internal/CloseButton.tsx"],"sourcesContent":["import clsx from 'clsx'\nimport type { ButtonHTMLAttributes } from 'react'\n\nimport { DismissGlyph } from './DismissGlyph.js'\n\nexport interface CloseButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {\n /** 无障碍名称。中文单语言系统,默认「关闭」(I16 既定裁决) */\n label?: string\n}\n\n/**\n * 浮层右上角的关闭按钮。\n *\n * 04 · F1:这段实现在 Dialog / AlertDialog / Drawer / Sheet 四个文件里**逐字\n * 相同**地存在了四份。后果已经显现 —— Sheet 里那份 Scrim 定义了却没被使用\n * (F11),是复制时带过来的死代码。收敛为一处。\n *\n * 叉号是浮层构件自身的字形,与 Checkbox 的勾同类,因此内联而不走 Icon ——\n * 几何在 DismissGlyph,与清除 / 移除类按钮共用一份。\n */\nexport function CloseButton({
|
|
1
|
+
{"version":3,"sources":["../../src/internal/CloseButton.tsx"],"sourcesContent":["import clsx from 'clsx'\nimport type { ButtonHTMLAttributes } from 'react'\n\nimport { DismissGlyph } from './DismissGlyph.js'\n\nexport interface CloseButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {\n /** 无障碍名称。中文单语言系统,默认「关闭」(I16 既定裁决) */\n label?: string\n /**\n * 尺寸档。`small` 28×28,用于 Drawer / Sheet / Sonner 这类紧凑头部;\n * `medium` 32×32、圆角 12、叉号取正文色 —— GAP Design kit 弹窗与抽屉页头的关闭键\n * (「弹窗标题」151:2541 里的 Button 188:613)\n */\n size?: 'small' | 'medium'\n}\n\n/**\n * 浮层右上角的关闭按钮。\n *\n * 04 · F1:这段实现在 Dialog / AlertDialog / Drawer / Sheet 四个文件里**逐字\n * 相同**地存在了四份。后果已经显现 —— Sheet 里那份 Scrim 定义了却没被使用\n * (F11),是复制时带过来的死代码。收敛为一处。\n *\n * `medium` 档是同一条教训的第二次:kit 页头的 32×32 关闭键先在\n * ApplicationFormDialog 与 ApplicationDetailDrawer 里各写了一份尺寸覆盖,\n * 对齐 Dialog / AlertDialog 时会变成四份,于是收进这里。\n *\n * 叉号是浮层构件自身的字形,与 Checkbox 的勾同类,因此内联而不走 Icon ——\n * 几何在 DismissGlyph,与清除 / 移除类按钮共用一份。\n */\nexport function CloseButton({\n label = '关闭',\n size = 'small',\n className,\n ...rest\n}: CloseButtonProps) {\n return (\n <button\n type=\"button\"\n className={clsx('mh-close-button', className)}\n data-size={size}\n aria-label={label}\n {...rest}\n >\n <DismissGlyph />\n </button>\n )\n}\n"],"mappings":"AA4CM;AA5CN,OAAO,UAAU;AAGjB,SAAS,oBAAoB;AA2BtB,SAAS,YAAY;AAAA,EAC1B,QAAQ;AAAA,EACR,OAAO;AAAA,EACP;AAAA,EACA,GAAG;AACL,GAAqB;AACnB,SACE;AAAA,IAAC;AAAA;AAAA,MACC,MAAK;AAAA,MACL,WAAW,KAAK,mBAAmB,SAAS;AAAA,MAC5C,aAAW;AAAA,MACX,cAAY;AAAA,MACX,GAAG;AAAA,MAEJ,8BAAC,gBAAa;AAAA;AAAA,EAChB;AAEJ;","names":[]}
|
package/dist/internal/date.js
CHANGED
|
@@ -3,7 +3,15 @@ function toLocalISODate(date) {
|
|
|
3
3
|
const day = String(date.getDate()).padStart(2, "0");
|
|
4
4
|
return `${date.getFullYear()}-${month}-${day}`;
|
|
5
5
|
}
|
|
6
|
+
function parseLocalISODate(value) {
|
|
7
|
+
if (!value) return void 0;
|
|
8
|
+
const match = /^(\d{4})-(\d{2})-(\d{2})$/.exec(value);
|
|
9
|
+
if (!match) return void 0;
|
|
10
|
+
const date = new Date(Number(match[1]), Number(match[2]) - 1, Number(match[3]));
|
|
11
|
+
return Number.isNaN(date.getTime()) ? void 0 : date;
|
|
12
|
+
}
|
|
6
13
|
export {
|
|
14
|
+
parseLocalISODate,
|
|
7
15
|
toLocalISODate
|
|
8
16
|
};
|
|
9
17
|
//# sourceMappingURL=date.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/internal/date.ts"],"sourcesContent":["/**\n * 本地时区的 ISO 日期串(`yyyy-mm-dd`)。\n *\n * ⚠️ **不要用 `toISOString().slice(0, 10)` 代替它。** 那是 04 · I18 记录的\n * 确定 bug,在 UTC+8 下必现:`new Date(2026, 8, 1)` 是本地零点,转 UTC 后\n * 成了 8 月 31 日 16:00,切出来的是**前一天**。日历的「今天」高亮、选中判断、\n * 以及按日期串匹配事件全都会错一格 —— 时区越靠东出错越稳定,而本系统的\n * 用户全在 UTC+8。\n *\n * 契约里凡是写「ISO `yyyy-mm-dd`」的字段都走这里,日历族两个组件共用一份。\n */\nexport function toLocalISODate(date: Date): string {\n const month = String(date.getMonth() + 1).padStart(2, '0')\n const day = String(date.getDate()).padStart(2, '0')\n return `${date.getFullYear()}-${month}-${day}`\n}\n"],"mappings":"AAWO,SAAS,eAAe,MAAoB;AACjD,QAAM,QAAQ,OAAO,KAAK,SAAS,IAAI,CAAC,EAAE,SAAS,GAAG,GAAG;AACzD,QAAM,MAAM,OAAO,KAAK,QAAQ,CAAC,EAAE,SAAS,GAAG,GAAG;AAClD,SAAO,GAAG,KAAK,YAAY,CAAC,IAAI,KAAK,IAAI,GAAG;AAC9C;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../../src/internal/date.ts"],"sourcesContent":["/**\n * 本地时区的 ISO 日期串(`yyyy-mm-dd`)。\n *\n * ⚠️ **不要用 `toISOString().slice(0, 10)` 代替它。** 那是 04 · I18 记录的\n * 确定 bug,在 UTC+8 下必现:`new Date(2026, 8, 1)` 是本地零点,转 UTC 后\n * 成了 8 月 31 日 16:00,切出来的是**前一天**。日历的「今天」高亮、选中判断、\n * 以及按日期串匹配事件全都会错一格 —— 时区越靠东出错越稳定,而本系统的\n * 用户全在 UTC+8。\n *\n * 契约里凡是写「ISO `yyyy-mm-dd`」的字段都走这里,日历族两个组件共用一份。\n */\nexport function toLocalISODate(date: Date): string {\n const month = String(date.getMonth() + 1).padStart(2, '0')\n const day = String(date.getDate()).padStart(2, '0')\n return `${date.getFullYear()}-${month}-${day}`\n}\n\n/** ISO `yyyy-mm-dd` → 本地零点的 Date。格式不符时返回 undefined,不抛错 */\nexport function parseLocalISODate(value: string | undefined): Date | undefined {\n if (!value) return undefined\n const match = /^(\\d{4})-(\\d{2})-(\\d{2})$/.exec(value)\n if (!match) return undefined\n const date = new Date(Number(match[1]), Number(match[2]) - 1, Number(match[3]))\n return Number.isNaN(date.getTime()) ? undefined : date\n}\n"],"mappings":"AAWO,SAAS,eAAe,MAAoB;AACjD,QAAM,QAAQ,OAAO,KAAK,SAAS,IAAI,CAAC,EAAE,SAAS,GAAG,GAAG;AACzD,QAAM,MAAM,OAAO,KAAK,QAAQ,CAAC,EAAE,SAAS,GAAG,GAAG;AAClD,SAAO,GAAG,KAAK,YAAY,CAAC,IAAI,KAAK,IAAI,GAAG;AAC9C;AAGO,SAAS,kBAAkB,OAA6C;AAC7E,MAAI,CAAC,MAAO,QAAO;AACnB,QAAM,QAAQ,4BAA4B,KAAK,KAAK;AACpD,MAAI,CAAC,MAAO,QAAO;AACnB,QAAM,OAAO,IAAI,KAAK,OAAO,MAAM,CAAC,CAAC,GAAG,OAAO,MAAM,CAAC,CAAC,IAAI,GAAG,OAAO,MAAM,CAAC,CAAC,CAAC;AAC9E,SAAO,OAAO,MAAM,KAAK,QAAQ,CAAC,IAAI,SAAY;AACpD;","names":[]}
|