@rytass/wms-map-react-components 0.1.10 → 0.3.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/CHANGELOG.md +181 -0
- package/README.md +30 -0
- package/components/breadcrumb/breadcrumb-edit-modal.cjs +92 -0
- package/components/breadcrumb/breadcrumb-edit-modal.d.cts +9 -0
- package/components/breadcrumb/breadcrumb-edit-modal.module.scss.cjs +5 -0
- package/components/breadcrumb/breadcrumb.cjs +171 -0
- package/components/breadcrumb/breadcrumb.d.cts +11 -0
- package/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/components/breadcrumb/breadcrumb.module.scss.cjs +5 -0
- package/components/canvas/react-flow-canvas.cjs +327 -0
- package/components/canvas/react-flow-canvas.d.cts +40 -0
- package/components/canvas/react-flow-canvas.d.ts +3 -1
- package/components/canvas/react-flow-canvas.js +7 -1
- package/components/canvas/react-flow-canvas.module.scss.cjs +5 -0
- package/components/modal/wms-map-content.cjs +835 -0
- package/components/modal/wms-map-content.d.cts +4 -0
- package/components/modal/wms-map-content.d.ts +1 -1
- package/components/modal/wms-map-content.js +30 -3
- package/components/modal/wms-map-modal-container.cjs +132 -0
- package/components/modal/wms-map-modal-container.d.cts +5 -0
- package/components/modal/wms-map-modal-container.d.ts +2 -2
- package/components/modal/wms-map-modal-container.js +6 -4
- package/components/modal/wms-map-modal-container.module.scss.cjs +5 -0
- package/components/nodes/base-node.d.cts +12 -0
- package/components/nodes/base-node.d.ts +1 -1
- package/components/nodes/image-node.cjs +234 -0
- package/components/nodes/image-node.d.cts +17 -0
- package/components/nodes/image-node.d.ts +1 -1
- package/components/nodes/image-node.js +0 -2
- package/components/nodes/image-node.module.scss.cjs +5 -0
- package/components/nodes/path-node.cjs +554 -0
- package/components/nodes/path-node.d.cts +19 -0
- package/components/nodes/path-node.d.ts +1 -1
- package/components/nodes/path-node.js +6 -5
- package/components/nodes/path-node.module.scss.cjs +5 -0
- package/components/nodes/rectangle-node.cjs +240 -0
- package/components/nodes/rectangle-node.d.cts +11 -0
- package/components/nodes/rectangle-node.d.ts +1 -1
- package/components/nodes/rectangle-node.js +6 -5
- package/components/nodes/rectangle-node.module.scss.cjs +5 -0
- package/components/preview/wms-map-preview.cjs +201 -0
- package/components/preview/wms-map-preview.d.cts +11 -0
- package/components/preview/wms-map-preview.d.ts +11 -0
- package/components/preview/wms-map-preview.js +199 -0
- package/components/ui/context-menu.cjs +171 -0
- package/components/ui/context-menu.d.cts +25 -0
- package/components/ui/context-menu.module.scss.cjs +5 -0
- package/components/ui/toolbar.cjs +286 -0
- package/components/ui/toolbar.d.cts +23 -0
- package/components/ui/toolbar.d.ts +1 -1
- package/components/ui/toolbar.module.scss.cjs +5 -0
- package/components/ui/view-mode-toolbar.cjs +44 -0
- package/components/ui/view-mode-toolbar.d.cts +9 -0
- package/components/ui/view-mode-toolbar.d.ts +1 -1
- package/components/ui/view-mode-toolbar.module.scss.cjs +5 -0
- package/constants/index.cjs +54 -0
- package/constants/index.d.cts +45 -0
- package/constants/index.d.ts +2 -2
- package/constants/text-mappings.cjs +46 -0
- package/constants/text-mappings.d.cts +181 -0
- package/hooks/use-context-menu.cjs +231 -0
- package/hooks/use-context-menu.d.cts +37 -0
- package/hooks/use-context-menu.d.ts +1 -1
- package/hooks/use-direct-state-history.cjs +217 -0
- package/hooks/use-direct-state-history.d.cts +58 -0
- package/hooks/use-direct-state-history.d.ts +2 -2
- package/hooks/use-fit-view-when-ready.cjs +74 -0
- package/hooks/use-fit-view-when-ready.d.cts +18 -0
- package/hooks/use-fit-view-when-ready.d.ts +18 -0
- package/hooks/use-fit-view-when-ready.js +72 -0
- package/hooks/use-pen-drawing.cjs +366 -0
- package/hooks/use-pen-drawing.d.cts +30 -0
- package/hooks/use-pen-drawing.d.ts +1 -1
- package/hooks/use-rectangle-drawing.cjs +139 -0
- package/hooks/use-rectangle-drawing.d.cts +19 -0
- package/hooks/use-rectangle-drawing.d.ts +1 -1
- package/hooks/use-text-editing.cjs +156 -0
- package/hooks/use-text-editing.d.cts +19 -0
- package/icons/index.cjs +233 -0
- package/icons/index.d.cts +16 -0
- package/index.cjs +28 -0
- package/index.d.cts +6 -0
- package/index.d.ts +6 -5
- package/index.js +1 -0
- package/package.json +68 -3
- package/types/callback.types.d.cts +7 -0
- package/types/callback.types.d.ts +1 -1
- package/types/canvas.types.d.cts +35 -0
- package/types/canvas.types.d.ts +1 -1
- package/types/component-props.types.d.cts +76 -0
- package/types/component-props.types.d.ts +33 -2
- package/types/history.types.d.cts +24 -0
- package/types/history.types.d.ts +2 -2
- package/types/index.d.cts +5 -0
- package/types/index.d.ts +5 -5
- package/types/react-flow.types.d.cts +30 -0
- package/typings.cjs +44 -0
- package/typings.d.cts +136 -0
- package/utils/api-data-transform.cjs +221 -0
- package/utils/api-data-transform.d.cts +33 -0
- package/utils/api-data-transform.d.ts +1 -1
- package/utils/color-utils.cjs +58 -0
- package/utils/color-utils.d.cts +17 -0
- package/utils/debug-logger.cjs +45 -0
- package/utils/debug-logger.d.cts +33 -0
- package/utils/fit-trigger.cjs +41 -0
- package/utils/fit-trigger.d.cts +37 -0
- package/utils/fit-trigger.d.ts +37 -0
- package/utils/fit-trigger.js +36 -0
- package/utils/map-data-transform.cjs +360 -0
- package/utils/map-data-transform.d.cts +18 -0
- package/utils/map-data-transform.d.ts +1 -1
- package/utils/node-operations.cjs +88 -0
- package/utils/node-operations.d.cts +26 -0
- package/utils/node-utils.cjs +40 -0
- package/utils/node-utils.d.cts +10 -0
- package/utils/preview-highlight.cjs +38 -0
- package/utils/preview-highlight.d.cts +12 -0
- package/utils/preview-highlight.d.ts +12 -0
- package/utils/preview-highlight.js +34 -0
- package/index.cjs.css +0 -1
- package/index.cjs.js +0 -5128
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# [0.3.0](https://github.com/Rytass/Utils/compare/@rytass/wms-map-react-components@0.2.0...@rytass/wms-map-react-components@0.3.0) (2026-11-17)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **wms-map-react-components:** keep background image at its stored size ([fd8809f](https://github.com/Rytass/Utils/commit/fd8809f5d2aa42c96f13a65a3e416b87b6a0a637))
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- **wms-map-react-components:** add WMSMapPreview ([915c294](https://github.com/Rytass/Utils/commit/915c29484541f4988a21f3f241159c995e55aaad))
|
|
15
|
+
- **wms-map-react-components:** fit the map to the viewport on load ([c7d072a](https://github.com/Rytass/Utils/commit/c7d072a52a16c344d6e1dad9f6e4b3e2002aa759))
|
|
16
|
+
- **wms-map-react-components:** style highlighted and dimmed ranges ([d6f363f](https://github.com/Rytass/Utils/commit/d6f363fbbb14fb2ed0438504ad1aa97253e6dc9c))
|
|
17
|
+
|
|
18
|
+
# [0.2.0](https://github.com/Rytass/Utils/compare/@rytass/wms-map-react-components@0.1.10...@rytass/wms-map-react-components@0.2.0) (2026-08-02)
|
|
19
|
+
|
|
20
|
+
**Note:** Version bump only for package @rytass/wms-map-react-components
|
|
21
|
+
|
|
22
|
+
## [0.1.10](https://github.com/Rytass/Utils/compare/@rytass/wms-map-react-components@0.1.9...@rytass/wms-map-react-components@0.1.10) (2026-06-01)
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
- **wms-map-react-components:** mark client components with 'use client' ([df7e1fa](https://github.com/Rytass/Utils/commit/df7e1fab69201108ace73411538298ab4ebdbd80))
|
|
27
|
+
|
|
28
|
+
## [0.1.9](https://github.com/Rytass/Utils/compare/@rytass/wms-map-react-components@0.1.8...@rytass/wms-map-react-components@0.1.9) (2026-05-12)
|
|
29
|
+
|
|
30
|
+
### Bug Fixes
|
|
31
|
+
|
|
32
|
+
- **wms-map-react-components:** avoid 350ms click delay and clear timer on unmount ([16bbb6a](https://github.com/Rytass/Utils/commit/16bbb6a710d0542c63f89abdfc16c0567dd2813a))
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
- **packages/wms-map-react-components:** edit breadcrumb only in edit mode ([ffa8734](https://github.com/Rytass/Utils/commit/ffa87347adc2a27b3bc209ee8b238fd89fa5e2e9))
|
|
37
|
+
- **packages/wms-map-react-components:** node double click props ([ae2260f](https://github.com/Rytass/Utils/commit/ae2260f99f17ca79a32af2071ec9eb1bb4e3b848))
|
|
38
|
+
- **packages/wms-map-react-components:** props to show breadcrumb edit button ([7756fc0](https://github.com/Rytass/Utils/commit/7756fc0c6ed57daae472adf7fe0a47719506e9ea))
|
|
39
|
+
|
|
40
|
+
## [0.1.8](https://github.com/Rytass/Utils/compare/@rytass/wms-map-react-components@0.1.7...@rytass/wms-map-react-components@0.1.8) (2026-05-07)
|
|
41
|
+
|
|
42
|
+
### Bug Fixes
|
|
43
|
+
|
|
44
|
+
- **packages/wms-map-react-components:** calc points (x,y) correctly ([b2fcd19](https://github.com/Rytass/Utils/commit/b2fcd191b7851fa350a85a08f42b0da177b64f9a))
|
|
45
|
+
|
|
46
|
+
## [0.1.7](https://github.com/Rytass/Utils/compare/@rytass/wms-map-react-components@0.1.6...@rytass/wms-map-react-components@0.1.7) (2026-04-22)
|
|
47
|
+
|
|
48
|
+
### Bug Fixes
|
|
49
|
+
|
|
50
|
+
- **packages/wms-map-react-components:** fix check icon issue ([b95be70](https://github.com/Rytass/Utils/commit/b95be702ee43fb8736f7f012455e06496e7c6205))
|
|
51
|
+
|
|
52
|
+
## [0.1.6](https://github.com/Rytass/Utils/compare/@rytass/wms-map-react-components@0.1.5...@rytass/wms-map-react-components@0.1.6) (2026-04-20)
|
|
53
|
+
|
|
54
|
+
### Bug Fixes
|
|
55
|
+
|
|
56
|
+
- **packages/wms-map-react-components:** toggle props ([0a2b1f5](https://github.com/Rytass/Utils/commit/0a2b1f554a63b11b087a8d300d9cc9eaf9e4df57))
|
|
57
|
+
|
|
58
|
+
## [0.1.5](https://github.com/Rytass/Utils/compare/@rytass/wms-map-react-components@0.1.4...@rytass/wms-map-react-components@0.1.5) (2026-04-16)
|
|
59
|
+
|
|
60
|
+
### Bug Fixes
|
|
61
|
+
|
|
62
|
+
- **packages:** remove @mezzanine-ui/react-hook-form-v2 ([cb366d3](https://github.com/Rytass/Utils/commit/cb366d3123b2a49c8863b9739c866644fbec92da))
|
|
63
|
+
- **packages:** storybook issues ([52f2c3a](https://github.com/Rytass/Utils/commit/52f2c3af2c6c48d09788f23f15f3d07a43fca076))
|
|
64
|
+
|
|
65
|
+
## [0.1.4](https://github.com/Rytass/Utils/compare/@rytass/wms-map-react-components@0.1.3...@rytass/wms-map-react-components@0.1.4) (2026-02-24)
|
|
66
|
+
|
|
67
|
+
**Note:** Version bump only for package @rytass/wms-map-react-components
|
|
68
|
+
|
|
69
|
+
## [0.1.3](https://github.com/Rytass/Utils/compare/@rytass/wms-map-react-components@0.1.2...@rytass/wms-map-react-components@0.1.3) (2025-12-05)
|
|
70
|
+
|
|
71
|
+
### Bug Fixes
|
|
72
|
+
|
|
73
|
+
- **wms-map-react-components:** use framework package for Storybook imports ([543ace4](https://github.com/Rytass/Utils/commit/543ace43a16bf3bc0d8d5e0dd909d22c8a70c41c))
|
|
74
|
+
|
|
75
|
+
### chore
|
|
76
|
+
|
|
77
|
+
- **wms-map-react-components:** upgrade Storybook to v10.1.4 ([8802b34](https://github.com/Rytass/Utils/commit/8802b3441ef82200f95e4eadb7ac0a3e4908b3fc))
|
|
78
|
+
|
|
79
|
+
### BREAKING CHANGES
|
|
80
|
+
|
|
81
|
+
- **wms-map-react-components:** Storybook 10 is ESM-only. Configuration files now use
|
|
82
|
+
import.meta.url for path resolution.
|
|
83
|
+
|
|
84
|
+
🤖 Generated with [Claude Code](https://claude.com/claude-code)
|
|
85
|
+
|
|
86
|
+
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
87
|
+
|
|
88
|
+
## [0.1.2](https://github.com/Rytass/Utils/compare/@rytass/wms-map-react-components@0.1.1...@rytass/wms-map-react-components@0.1.2) (2025-09-11)
|
|
89
|
+
|
|
90
|
+
### Features
|
|
91
|
+
|
|
92
|
+
- align frontend-backend interfaces for WMS map range data ([5b883a7](https://github.com/Rytass/Utils/commit/5b883a7e69c9fab16cf426bf1becfabd3d4b5ba8))
|
|
93
|
+
- migrate to Nx project-based configuration ([c2d9ca4](https://github.com/Rytass/Utils/commit/c2d9ca46c00ace42bcbf69300dcc43a7346cb9aa))
|
|
94
|
+
|
|
95
|
+
### Tests
|
|
96
|
+
|
|
97
|
+
- migrate to standardized test structure ([b7dc99e](https://github.com/Rytass/Utils/commit/b7dc99ef85f5951480dfdae6198cefa252c15423))
|
|
98
|
+
|
|
99
|
+
### BREAKING CHANGES
|
|
100
|
+
|
|
101
|
+
- Test directory structure changed from **test** to **tests**
|
|
102
|
+
|
|
103
|
+
🤖 Generated with [Claude Code](https://claude.ai/code)
|
|
104
|
+
|
|
105
|
+
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
106
|
+
|
|
107
|
+
## 0.1.1 (2025-09-09)
|
|
108
|
+
|
|
109
|
+
### Bug Fixes
|
|
110
|
+
|
|
111
|
+
- add file-type ESM compatibility and test fixes ([42de851](https://github.com/Rytass/Utils/commit/42de8515f7a111588206d9b2ffb7c20b382bb90d))
|
|
112
|
+
- **wms-map-react-components:** fix case-sensitive file system compatibility ([a94a51b](https://github.com/Rytass/Utils/commit/a94a51b0836dc8d33e02c1f3672cfd57f30b438a))
|
|
113
|
+
- **wms-map-react-components:** resolve React hooks dependency warning ([47cbe41](https://github.com/Rytass/Utils/commit/47cbe41823379bddfd3cc582825dec8b023d57a9))
|
|
114
|
+
- **wms-map-react-components:** resolve remaining ESLint violations ([ad20df1](https://github.com/Rytass/Utils/commit/ad20df1cd412059e82b3c0a6dc7c4fa0411b383f))
|
|
115
|
+
- **wms-map-react-components:** resolve TypeScript compilation errors ([5d7ba43](https://github.com/Rytass/Utils/commit/5d7ba43e430a507ed2b443287c97fb886cf83bd3))
|
|
116
|
+
- **wms-map-react-components:** resolve TypeScript ESLint violations ([4c8d12e](https://github.com/Rytass/Utils/commit/4c8d12e33f476b0b00474a4feb6a6c31a95247d9))
|
|
117
|
+
- **wms:** removes auto fit view on load ([1a4947a](https://github.com/Rytass/Utils/commit/1a4947a32b7ac4a003cf30f2f099f48321be3e01))
|
|
118
|
+
- **wms:** 修正檢視模式要按著空白鍵才能拖曳畫布的問題 ([5963d53](https://github.com/Rytass/Utils/commit/5963d53024db65273b9a79efba2c71b48d530dad))
|
|
119
|
+
- **wms:** 修正滑鼠滾輪無法正確放大縮小畫布的問題 ([a5b813c](https://github.com/Rytass/Utils/commit/a5b813cd234d48bd70dd183857e3ff588bc978a7))
|
|
120
|
+
- **wms:** 修正編輯圖形內文字時,按 delete 刪除文字時會把圖形刪除的問題 ([fc106fb](https://github.com/Rytass/Utils/commit/fc106fbb5398612fc1e7b92820445e28c446c951))
|
|
121
|
+
- **wms:** 修正若編輯的最後一步驟為編輯文字時,redo \ undo 沒有正確紀錄的問題 ([e3050c4](https://github.com/Rytass/Utils/commit/e3050c44baa4232911bb57d0c33a12458e3b36b1))
|
|
122
|
+
- **wms:** 修正讀取進來的資料, 底圖無法使用 delete 按鍵刪除的問題 ([f05455d](https://github.com/Rytass/Utils/commit/f05455d35fe001e878f45324066842438b94d081))
|
|
123
|
+
- **wms:** 鋼筆工具 - 修正按著 shift 會觸發自動閉合的情況 ([e6eb8d1](https://github.com/Rytass/Utils/commit/e6eb8d1db97258c0b9e826b06e292e4db668e5d8))
|
|
124
|
+
- **wms:** 麵包屑 - 修正下拉選單無法點擊的問題 ([6a807e4](https://github.com/Rytass/Utils/commit/6a807e422fba5cf4f710ce7198a681220789cf74))
|
|
125
|
+
|
|
126
|
+
### Features
|
|
127
|
+
|
|
128
|
+
- add test:coverage script to all packages ([f73bce5](https://github.com/Rytass/Utils/commit/f73bce52024d453755824fa6af784f13da50061f))
|
|
129
|
+
- upgrade file-type from v16.5.4 to v21.0.0 ([eb8217b](https://github.com/Rytass/Utils/commit/eb8217b76c4a0d74061f782c082fd4183961bb12))
|
|
130
|
+
- **wmd:** 矩形繪製工具 - 修正底色透明度 ([cee04c7](https://github.com/Rytass/Utils/commit/cee04c7caf2af35fa460edc676810d0bb1e9f97a))
|
|
131
|
+
- **wms-map-react-components:** migrate mock data to Storybook with interactive testing ([c52f88f](https://github.com/Rytass/Utils/commit/c52f88fe5d4c3de58034750ded806a75a7ca6264))
|
|
132
|
+
- **wms:** initialize ([ee4d443](https://github.com/Rytass/Utils/commit/ee4d4435cd57e5d06a67842e65d669ccecef5d0b))
|
|
133
|
+
- **wms:** redo / undo ([254be46](https://github.com/Rytass/Utils/commit/254be4613891931d1baa939a8be8fcdfff982419))
|
|
134
|
+
- **wms:** redo \ undo 會記錄圖層或底圖模式 ([f46018f](https://github.com/Rytass/Utils/commit/f46018f60f768badd05e8b229c217cd25e5b2e4b))
|
|
135
|
+
- **wms:** toolbar - 上傳 ([05064eb](https://github.com/Rytass/Utils/commit/05064eb1246664d9039d3527582c93f8b49a5917))
|
|
136
|
+
- **wms:** toolbar - 多張上傳 ([ad99de7](https://github.com/Rytass/Utils/commit/ad99de79df71a02d4ace183d81a6a3b035b314f8))
|
|
137
|
+
- **wms:** toolbar - 底圖、圖層模式切換 ([6ce26c0](https://github.com/Rytass/Utils/commit/6ce26c05191d05276e0549e9c37b44e8241bf99b))
|
|
138
|
+
- **wms:** toolbar - 底圖縮放 ([497f378](https://github.com/Rytass/Utils/commit/497f3789cb9c3f4e387619c8239dc8a820c5e4e3))
|
|
139
|
+
- **wms:** 儲存時 console.log ([3f1da0f](https://github.com/Rytass/Utils/commit/3f1da0f05b417595fc09caf0aaac6efbb4190109))
|
|
140
|
+
- **wms:** 右上 toolbar 的 active UI 狀態 ([ef32673](https://github.com/Rytass/Utils/commit/ef326737d065ec98fbcecbaaf245a7e4edba2cfb))
|
|
141
|
+
- **wms:** 右鍵選單 - 刪除 - 鍵盤快捷鍵 ([10f19fe](https://github.com/Rytass/Utils/commit/10f19fead55580e0185d72984d14afdba2ce8f9d))
|
|
142
|
+
- **wms:** 右鍵選單 - 圖層刪除 ([673e776](https://github.com/Rytass/Utils/commit/673e776848624db0a01698793e66dd81940bef79))
|
|
143
|
+
- **wms:** 右鍵選單 - 圖層複製並貼上 ([130cc60](https://github.com/Rytass/Utils/commit/130cc60f6b6afdfb03140ed8013b68f8106ee600))
|
|
144
|
+
- **wms:** 右鍵選單 - 底圖複製並貼上、刪除 ([a68aca9](https://github.com/Rytass/Utils/commit/a68aca9e6697d4a79aaa8487bc094505caa59000))
|
|
145
|
+
- **wms:** 右鍵選單 - 排列順序 ([26d0b87](https://github.com/Rytass/Utils/commit/26d0b87b1b92268d87427f516c0d0dff4b4cf38e))
|
|
146
|
+
- **wms:** 右鍵選單 - 排列順序 - 若所選項目已經是最前或是最後,相關選單 disable ([69bfed4](https://github.com/Rytass/Utils/commit/69bfed4aacec8416b58cba14f03f43273ce4d1ae))
|
|
147
|
+
- **wms:** 右鍵選單 - 複製並貼上 - 鍵盤快捷鍵 ([810dd95](https://github.com/Rytass/Utils/commit/810dd95b339e8773e8498a7070e88009d6ad2500))
|
|
148
|
+
- **wms:** 右鍵選單 - 複製並貼上 - 鍵盤快捷鍵 - 連續複製並貼上 ([494d602](https://github.com/Rytass/Utils/commit/494d6023cf967496db377cc85626d92c99fc2a7b))
|
|
149
|
+
- **wms:** 圖形 hover 效果 ([37b0eea](https://github.com/Rytass/Utils/commit/37b0eea9121dee6a571ad60ee679fd50ce87b0d8))
|
|
150
|
+
- **wms:** 將修改當前區域名稱的資料傳遞至 WmsMapModal 之外 ([49f99a2](https://github.com/Rytass/Utils/commit/49f99a26e986b4c86fad3d4fcdf41dfe2b64345a))
|
|
151
|
+
- **wms:** 將儲存的資料傳遞至 WmsMapModal 之外 ([98e627b](https://github.com/Rytass/Utils/commit/98e627bc411a5b0cb18a8d8b532ef3998d470b2a))
|
|
152
|
+
- **wms:** 將圖形的點擊資訊傳遞至 WmsMapModal 之外 ([a5daf1e](https://github.com/Rytass/Utils/commit/a5daf1ee3bf2ce1c370fdbed8db561bdffdcf988))
|
|
153
|
+
- **wms:** 將鋼筆工具繪製出的圖形的文字編輯樣式調整成和矩形工具的文字編輯樣式相同 ([22679b2](https://github.com/Rytass/Utils/commit/22679b254fb7b7643a0038b71fc003086a7e266d))
|
|
154
|
+
- **wms:** 左下 toolbar 的 active UI 狀態 ([38a0a7c](https://github.com/Rytass/Utils/commit/38a0a7c4b10e198fc5e55dc1568310bde2a84bcb))
|
|
155
|
+
- **wms:** 底圖和圖層模式的元件只能在相對應的模式下選取、編輯、拖曳 ([54dfe3f](https://github.com/Rytass/Utils/commit/54dfe3f06a2345e35d222c02cd421961e49a9ff3))
|
|
156
|
+
- **wms:** 底圖編輯 - 上傳底圖時,預設顯示位置為當前 view port ([2210be0](https://github.com/Rytass/Utils/commit/2210be04fe31a238cd678482a07ecf1915b9c578))
|
|
157
|
+
- **wms:** 檢視模式 ([18953d8](https://github.com/Rytass/Utils/commit/18953d8c08e946a47d09942290be918a2087abd8))
|
|
158
|
+
- **wms:** 檢視模式 - 關閉底圖 ([b89b524](https://github.com/Rytass/Utils/commit/b89b5240b4d993a675fd8dc9a263a3ec8ac65af6))
|
|
159
|
+
- **wms:** 歷史工具列 - 底圖模式 ([45dfe3f](https://github.com/Rytass/Utils/commit/45dfe3f6d35ef131d306175678eb6322b85b247f))
|
|
160
|
+
- **wms:** 測試讀取資料 ([7c1d834](https://github.com/Rytass/Utils/commit/7c1d834726feb6c62dbacd29e35267cba5d306ec))
|
|
161
|
+
- **wms:** 縮放工具列 - 與滑鼠滾輪縮放數值同步 ([c3d57bd](https://github.com/Rytass/Utils/commit/c3d57bdaa7e83572d4a060f618870035e6e11835))
|
|
162
|
+
- **wms:** 繪圖工具列 ([603ac71](https://github.com/Rytass/Utils/commit/603ac7186193fcedc7f3c197cdfde9b5fe58d55e))
|
|
163
|
+
- **wms:** 調色工具 ([4ed67b4](https://github.com/Rytass/Utils/commit/4ed67b450a775e366c56c39f645ac6fcadd3836a))
|
|
164
|
+
- **wms:** 鋼筆工具 ([7a86a6c](https://github.com/Rytass/Utils/commit/7a86a6cf6a5251f1db57a587a1d485faefc874e1))
|
|
165
|
+
- **wms:** 鋼筆工具 - 修正底色透明度 ([4a9a1fc](https://github.com/Rytass/Utils/commit/4a9a1fc763bee6e012a577c659bc522431f7f2c0))
|
|
166
|
+
- **wms:** 鋼筆工具 - 可編輯個別節點位置 ([27f413b](https://github.com/Rytass/Utils/commit/27f413bd973b49d4572ae223a84f79f7f0a5de55))
|
|
167
|
+
- **wms:** 鋼筆工具 - 繪製時若點擊非繪圖區域,圖形會自動閉合 ([2f2fa91](https://github.com/Rytass/Utils/commit/2f2fa91fcc0bfc7c3bcf58ac60105dd1111f79c2))
|
|
168
|
+
- **wms:** 鋼筆工具 - 點擊初始點閉合圖形 ([a0679ff](https://github.com/Rytass/Utils/commit/a0679ff51800aadaaafe380bc59675bc8d9f3561))
|
|
169
|
+
- **wms:** 鋼筆工具 shift 水平線 ([7b842a4](https://github.com/Rytass/Utils/commit/7b842a42107a6bfc536f1d9b431f37701e1ac6d9))
|
|
170
|
+
- **wms:** 鋼筆工具繪製區域可編輯文字 ([afaa641](https://github.com/Rytass/Utils/commit/afaa64102d1d9c43a5cd80e2ae40d5e2871c6597))
|
|
171
|
+
- **wms:** 顏色選取工具 - 使用 props array 顏色列表 ([7db92bf](https://github.com/Rytass/Utils/commit/7db92bfcb49a7d4dae47a06598186b972f4ffeb9))
|
|
172
|
+
- **wms:** 麵包屑 ([4a6a9b8](https://github.com/Rytass/Utils/commit/4a6a9b811b33adbaa4315aa97c82495f4fafbc08))
|
|
173
|
+
- **wms:** 麵包屑編輯名稱 modal ([8739e3d](https://github.com/Rytass/Utils/commit/8739e3d3c6b9ee1b9d8631f6e5d08c947063ad9a))
|
|
174
|
+
|
|
175
|
+
### BREAKING CHANGES
|
|
176
|
+
|
|
177
|
+
- file-type v21 is ESM-only, requires Node.js 18+
|
|
178
|
+
|
|
179
|
+
🤖 Generated with [Claude Code](https://claude.ai/code)
|
|
180
|
+
|
|
181
|
+
Co-Authored-By: Claude <noreply@anthropic.com>
|
package/README.md
CHANGED
|
@@ -62,6 +62,36 @@ export default App;
|
|
|
62
62
|
| `initialEdges` | `any[]` | `[]` | Initial edges for the canvas |
|
|
63
63
|
| `debugMode` | `boolean` | `false` | Enable debug logging |
|
|
64
64
|
| `title` | `string` | `'編輯倉儲空間'` | Modal title |
|
|
65
|
+
| `fitViewOnLoad` | `boolean` | `true` | Fit the view when a different map is entered (`warehouseIds` changes) or a map first gets non-empty nodes. Adding or removing nodes on the same map never refits. Update `warehouseIds` no later than `initialNodes` when switching maps. |
|
|
66
|
+
|
|
67
|
+
## Styles
|
|
68
|
+
|
|
69
|
+
The components render with React Flow, whose stylesheet is not bundled. Import it once at the app level:
|
|
70
|
+
|
|
71
|
+
```tsx
|
|
72
|
+
import '@xyflow/react/dist/style.css';
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## WMSMapPreview
|
|
76
|
+
|
|
77
|
+
Read-only preview with no toolbar, breadcrumb or context menu. It fits to the nodes once they are measured (to `highlightIds` when given) and refits when its container resizes.
|
|
78
|
+
|
|
79
|
+
```tsx
|
|
80
|
+
import { WMSMapPreview } from '@rytass/wms-map-react-components';
|
|
81
|
+
|
|
82
|
+
<WMSMapPreview initialNodes={nodes} highlightIds={['range-a']} style={{ width: 320, height: 200 }} />;
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
| Prop | Type | Default | Description |
|
|
86
|
+
| ----------------- | ------------------------------------------------- | ------- | ---------------------------------------------------------------- |
|
|
87
|
+
| `initialNodes` | `FlowNode[]` | - | Nodes to render, same format as the modal |
|
|
88
|
+
| `highlightIds` | `string[]` | - | Range ids to highlight and fit to |
|
|
89
|
+
| `dimOthers` | `boolean` | `true` | Dim the other ranges while some are highlighted |
|
|
90
|
+
| `fitPadding` | `number` | `0.15` | Fit padding as a ratio of the viewport |
|
|
91
|
+
| `interactive` | `boolean` | `false` | Allow pan and zoom; nodes are never selectable or editable |
|
|
92
|
+
| `getFilenameFQDN` | `(filename: string) => Promise<string> \| string` | - | Resolve each background's `fileName` to the image URL to display |
|
|
93
|
+
| `className` | `string` | - | Class on the outer container |
|
|
94
|
+
| `style` | `CSSProperties` | - | Style on the outer container (defaults to 100% × 100%) |
|
|
65
95
|
|
|
66
96
|
## Features
|
|
67
97
|
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var react = require('@mezzanine-ui/react');
|
|
7
|
+
var breadcrumbEditModal_module = require('./breadcrumb-edit-modal.module.scss.cjs');
|
|
8
|
+
var reactHookForm = require('react-hook-form');
|
|
9
|
+
|
|
10
|
+
const BreadcrumbEditModal = ({ open, warehouseId, onClose, onConfirm })=>{
|
|
11
|
+
const [editingValue, setEditingValue] = React.useState(warehouseId);
|
|
12
|
+
const methods = reactHookForm.useForm({
|
|
13
|
+
mode: 'onChange',
|
|
14
|
+
defaultValues: {
|
|
15
|
+
editingValue: warehouseId
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
// 當 modal 開啟時更新編輯值
|
|
19
|
+
React.useEffect(()=>{
|
|
20
|
+
if (open) {
|
|
21
|
+
setEditingValue(warehouseId);
|
|
22
|
+
methods.reset({
|
|
23
|
+
editingValue: warehouseId
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
}, [
|
|
27
|
+
open,
|
|
28
|
+
warehouseId,
|
|
29
|
+
methods
|
|
30
|
+
]);
|
|
31
|
+
const handleConfirm = ()=>{
|
|
32
|
+
const formData = methods.getValues();
|
|
33
|
+
const newValue = formData.editingValue?.trim() || editingValue?.trim();
|
|
34
|
+
onConfirm(newValue);
|
|
35
|
+
onClose();
|
|
36
|
+
};
|
|
37
|
+
const handleCancel = ()=>{
|
|
38
|
+
setEditingValue(warehouseId); // 重置為原始值
|
|
39
|
+
onClose();
|
|
40
|
+
};
|
|
41
|
+
return /*#__PURE__*/ jsxRuntime.jsx(react.Modal, {
|
|
42
|
+
open: open,
|
|
43
|
+
onClose: handleCancel,
|
|
44
|
+
modalType: "standard",
|
|
45
|
+
title: "修改當前區域名稱",
|
|
46
|
+
titleAlign: "left",
|
|
47
|
+
statusTypeIconLayout: "horizontal",
|
|
48
|
+
cancelText: "取消",
|
|
49
|
+
confirmText: "確認",
|
|
50
|
+
onCancel: handleCancel,
|
|
51
|
+
onConfirm: handleConfirm,
|
|
52
|
+
cancelButtonProps: {
|
|
53
|
+
type: 'button',
|
|
54
|
+
size: 'main',
|
|
55
|
+
variant: 'base-secondary'
|
|
56
|
+
},
|
|
57
|
+
confirmButtonProps: {
|
|
58
|
+
type: 'button',
|
|
59
|
+
size: 'main',
|
|
60
|
+
variant: 'base-primary'
|
|
61
|
+
},
|
|
62
|
+
showStatusTypeIcon: false,
|
|
63
|
+
showDismissButton: true,
|
|
64
|
+
showModalFooter: true,
|
|
65
|
+
showModalHeader: true,
|
|
66
|
+
children: /*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
67
|
+
className: breadcrumbEditModal_module.modalContent,
|
|
68
|
+
children: [
|
|
69
|
+
/*#__PURE__*/ jsxRuntime.jsx("label", {
|
|
70
|
+
className: breadcrumbEditModal_module.fieldLabel,
|
|
71
|
+
children: "名稱"
|
|
72
|
+
}),
|
|
73
|
+
/*#__PURE__*/ jsxRuntime.jsx("input", {
|
|
74
|
+
...methods.register('editingValue', {
|
|
75
|
+
required: true
|
|
76
|
+
}),
|
|
77
|
+
type: "text",
|
|
78
|
+
placeholder: "請輸入區域名稱",
|
|
79
|
+
style: {
|
|
80
|
+
width: '100%',
|
|
81
|
+
padding: '8px',
|
|
82
|
+
border: '1px solid #ccc',
|
|
83
|
+
borderRadius: '4px',
|
|
84
|
+
fontSize: '14px'
|
|
85
|
+
}
|
|
86
|
+
})
|
|
87
|
+
]
|
|
88
|
+
})
|
|
89
|
+
});
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
module.exports = BreadcrumbEditModal;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
interface BreadcrumbEditModalProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
warehouseId: string;
|
|
5
|
+
onClose: () => void;
|
|
6
|
+
onConfirm: (newName: string) => void;
|
|
7
|
+
}
|
|
8
|
+
declare const BreadcrumbEditModal: FC<BreadcrumbEditModalProps>;
|
|
9
|
+
export default BreadcrumbEditModal;
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
+
var React = require('react');
|
|
6
|
+
var breadcrumbEditModal = require('./breadcrumb-edit-modal.cjs');
|
|
7
|
+
var typings = require('../../typings.cjs');
|
|
8
|
+
var breadcrumb_module = require('./breadcrumb.module.scss.cjs');
|
|
9
|
+
|
|
10
|
+
const Breadcrumb = ({ warehouseIds, viewMode, showBreadcrumbEditButton = ()=>true, onWarehouseClick, onNameChange })=>{
|
|
11
|
+
const [showDropdown, setShowDropdown] = React.useState(false);
|
|
12
|
+
const [showEditModal, setShowEditModal] = React.useState(false);
|
|
13
|
+
const [editingIndex, setEditingIndex] = React.useState(-1);
|
|
14
|
+
const dropdownRef = React.useRef(null);
|
|
15
|
+
// 當超過3個項目時,需要收合顯示
|
|
16
|
+
const shouldCollapse = warehouseIds.length > 3;
|
|
17
|
+
// 點擊外部關閉 dropdown
|
|
18
|
+
React.useEffect(()=>{
|
|
19
|
+
const handleClickOutside = (event)=>{
|
|
20
|
+
if (dropdownRef.current && !dropdownRef.current.contains(event.target)) {
|
|
21
|
+
setShowDropdown(false);
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
if (showDropdown) {
|
|
25
|
+
document.addEventListener('mousedown', handleClickOutside);
|
|
26
|
+
}
|
|
27
|
+
return ()=>{
|
|
28
|
+
document.removeEventListener('mousedown', handleClickOutside);
|
|
29
|
+
};
|
|
30
|
+
}, [
|
|
31
|
+
showDropdown
|
|
32
|
+
]);
|
|
33
|
+
const handleEditClick = ()=>{
|
|
34
|
+
// 預設編輯最後一個項目
|
|
35
|
+
const lastIndex = warehouseIds.length - 1;
|
|
36
|
+
setEditingIndex(lastIndex);
|
|
37
|
+
setShowEditModal(true);
|
|
38
|
+
};
|
|
39
|
+
const handleEditConfirm = async (newName)=>{
|
|
40
|
+
if (onNameChange) {
|
|
41
|
+
await onNameChange(newName);
|
|
42
|
+
}
|
|
43
|
+
setShowEditModal(false);
|
|
44
|
+
setEditingIndex(-1);
|
|
45
|
+
};
|
|
46
|
+
const handleEditCancel = ()=>{
|
|
47
|
+
setShowEditModal(false);
|
|
48
|
+
setEditingIndex(-1);
|
|
49
|
+
};
|
|
50
|
+
const renderCollapsedBreadcrumb = ()=>{
|
|
51
|
+
const first = warehouseIds[0];
|
|
52
|
+
const secondLast = warehouseIds[warehouseIds.length - 2];
|
|
53
|
+
const last = warehouseIds[warehouseIds.length - 1];
|
|
54
|
+
const hiddenItems = warehouseIds.slice(1, warehouseIds.length - 2);
|
|
55
|
+
const handleItemClick = (warehouseId, index)=>{
|
|
56
|
+
onWarehouseClick?.(warehouseId, index);
|
|
57
|
+
};
|
|
58
|
+
return /*#__PURE__*/ jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
59
|
+
children: [
|
|
60
|
+
/*#__PURE__*/ jsxRuntime.jsx("span", {
|
|
61
|
+
className: `${breadcrumb_module.warehouseIdText} ${breadcrumb_module.clickable}`,
|
|
62
|
+
onClick: ()=>handleItemClick(first, 0),
|
|
63
|
+
children: first
|
|
64
|
+
}),
|
|
65
|
+
/*#__PURE__*/ jsxRuntime.jsx("span", {
|
|
66
|
+
className: breadcrumb_module.separator,
|
|
67
|
+
children: "/"
|
|
68
|
+
}),
|
|
69
|
+
/*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
70
|
+
className: breadcrumb_module.ellipsisContainer,
|
|
71
|
+
ref: dropdownRef,
|
|
72
|
+
children: [
|
|
73
|
+
/*#__PURE__*/ jsxRuntime.jsx("span", {
|
|
74
|
+
className: breadcrumb_module.ellipsis,
|
|
75
|
+
onClick: ()=>setShowDropdown(!showDropdown),
|
|
76
|
+
children: "..."
|
|
77
|
+
}),
|
|
78
|
+
showDropdown && hiddenItems.length > 0 && /*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
79
|
+
className: breadcrumb_module.dropdown,
|
|
80
|
+
children: hiddenItems.map((id, index)=>/*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
81
|
+
className: breadcrumb_module.dropdownItem,
|
|
82
|
+
onClick: (e)=>{
|
|
83
|
+
e.preventDefault();
|
|
84
|
+
e.stopPropagation();
|
|
85
|
+
handleItemClick(id, index + 1);
|
|
86
|
+
setShowDropdown(false); // 點擊後隱藏 dropdown
|
|
87
|
+
},
|
|
88
|
+
children: id
|
|
89
|
+
}, index))
|
|
90
|
+
})
|
|
91
|
+
]
|
|
92
|
+
}),
|
|
93
|
+
/*#__PURE__*/ jsxRuntime.jsx("span", {
|
|
94
|
+
className: breadcrumb_module.separator,
|
|
95
|
+
children: "/"
|
|
96
|
+
}),
|
|
97
|
+
/*#__PURE__*/ jsxRuntime.jsx("span", {
|
|
98
|
+
className: `${breadcrumb_module.warehouseIdText} ${breadcrumb_module.clickable}`,
|
|
99
|
+
onClick: ()=>handleItemClick(secondLast, warehouseIds.length - 2),
|
|
100
|
+
children: secondLast
|
|
101
|
+
}),
|
|
102
|
+
/*#__PURE__*/ jsxRuntime.jsx("span", {
|
|
103
|
+
className: breadcrumb_module.separator,
|
|
104
|
+
children: "/"
|
|
105
|
+
}),
|
|
106
|
+
/*#__PURE__*/ jsxRuntime.jsx("span", {
|
|
107
|
+
className: `${breadcrumb_module.warehouseIdText} ${breadcrumb_module.lastItem} ${breadcrumb_module.clickable}`,
|
|
108
|
+
onClick: ()=>handleItemClick(last, warehouseIds.length - 1),
|
|
109
|
+
children: last
|
|
110
|
+
})
|
|
111
|
+
]
|
|
112
|
+
});
|
|
113
|
+
};
|
|
114
|
+
const renderFullBreadcrumb = ()=>{
|
|
115
|
+
const handleItemClick = (warehouseId, index)=>{
|
|
116
|
+
onWarehouseClick?.(warehouseId, index);
|
|
117
|
+
};
|
|
118
|
+
return warehouseIds.map((id, index)=>/*#__PURE__*/ jsxRuntime.jsxs(React.Fragment, {
|
|
119
|
+
children: [
|
|
120
|
+
/*#__PURE__*/ jsxRuntime.jsx("span", {
|
|
121
|
+
className: `${breadcrumb_module.warehouseIdText} ${breadcrumb_module.clickable} ${index === warehouseIds.length - 1 ? breadcrumb_module.lastItem : ''}`,
|
|
122
|
+
onClick: ()=>handleItemClick(id, index),
|
|
123
|
+
children: id
|
|
124
|
+
}),
|
|
125
|
+
index < warehouseIds.length - 1 && /*#__PURE__*/ jsxRuntime.jsx("span", {
|
|
126
|
+
className: breadcrumb_module.separator,
|
|
127
|
+
children: "/"
|
|
128
|
+
})
|
|
129
|
+
]
|
|
130
|
+
}, index));
|
|
131
|
+
};
|
|
132
|
+
return /*#__PURE__*/ jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
133
|
+
children: [
|
|
134
|
+
/*#__PURE__*/ jsxRuntime.jsx("div", {
|
|
135
|
+
className: breadcrumb_module.breadcrumbSection,
|
|
136
|
+
children: /*#__PURE__*/ jsxRuntime.jsxs("div", {
|
|
137
|
+
className: breadcrumb_module.warehouseIdSection,
|
|
138
|
+
children: [
|
|
139
|
+
shouldCollapse ? renderCollapsedBreadcrumb() : renderFullBreadcrumb(),
|
|
140
|
+
viewMode === typings.ViewMode.EDIT && showBreadcrumbEditButton(warehouseIds) && /*#__PURE__*/ jsxRuntime.jsx("button", {
|
|
141
|
+
className: breadcrumb_module.editButton,
|
|
142
|
+
onClick: handleEditClick,
|
|
143
|
+
title: "編輯當前區域名稱",
|
|
144
|
+
children: /*#__PURE__*/ jsxRuntime.jsx("svg", {
|
|
145
|
+
width: "16",
|
|
146
|
+
height: "16",
|
|
147
|
+
viewBox: "0 0 16 16",
|
|
148
|
+
fill: "none",
|
|
149
|
+
children: /*#__PURE__*/ jsxRuntime.jsx("path", {
|
|
150
|
+
d: "M11.7803 2.21967C12.0732 1.92678 12.5481 1.92678 12.841 2.21967L13.7803 3.15901C14.0732 3.45191 14.0732 3.92678 13.7803 4.21967L5.11364 12.8863L2.66697 13.3333L3.11364 10.8863L11.7803 2.21967Z",
|
|
151
|
+
stroke: "currentColor",
|
|
152
|
+
strokeWidth: "1.33",
|
|
153
|
+
strokeLinecap: "round",
|
|
154
|
+
strokeLinejoin: "round"
|
|
155
|
+
})
|
|
156
|
+
})
|
|
157
|
+
})
|
|
158
|
+
]
|
|
159
|
+
})
|
|
160
|
+
}),
|
|
161
|
+
/*#__PURE__*/ jsxRuntime.jsx(breadcrumbEditModal, {
|
|
162
|
+
open: showEditModal,
|
|
163
|
+
warehouseId: editingIndex >= 0 ? warehouseIds[editingIndex] : '',
|
|
164
|
+
onClose: handleEditCancel,
|
|
165
|
+
onConfirm: handleEditConfirm
|
|
166
|
+
})
|
|
167
|
+
]
|
|
168
|
+
});
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
module.exports = Breadcrumb;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ViewMode } from '../../typings.cjs';
|
|
3
|
+
interface BreadcrumbProps {
|
|
4
|
+
warehouseIds: string[];
|
|
5
|
+
viewMode: ViewMode;
|
|
6
|
+
showBreadcrumbEditButton?: (warehouseIds: string[]) => boolean;
|
|
7
|
+
onWarehouseClick?: (warehouseId: string, index: number) => void;
|
|
8
|
+
onNameChange?: (name: string) => Promise<void>;
|
|
9
|
+
}
|
|
10
|
+
declare const Breadcrumb: FC<BreadcrumbProps>;
|
|
11
|
+
export default Breadcrumb;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var styles = {"breadcrumbSection":"breadcrumb-module_breadcrumbSection__Qn8A3","warehouseIdSection":"breadcrumb-module_warehouseIdSection__7CzsY","separator":"breadcrumb-module_separator__uLhtn","warehouseIdText":"breadcrumb-module_warehouseIdText__QOxRw","lastItem":"breadcrumb-module_lastItem__OGKzD","clickable":"breadcrumb-module_clickable__YD5aj","ellipsisContainer":"breadcrumb-module_ellipsisContainer__4hIiu","ellipsis":"breadcrumb-module_ellipsis__NYd8X","dropdown":"breadcrumb-module_dropdown__BqvP8","dropdownItem":"breadcrumb-module_dropdownItem__YdggW","editButton":"breadcrumb-module_editButton__Wuk8T"};
|
|
4
|
+
|
|
5
|
+
module.exports = styles;
|