@rytass/wms-map-react-components 0.1.1

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.
Files changed (80) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +77 -0
  3. package/components/breadcrumb/breadcrumb-edit-modal.d.ts +9 -0
  4. package/components/breadcrumb/breadcrumb-edit-modal.js +92 -0
  5. package/components/breadcrumb/breadcrumb-edit-modal.module.scss.js +3 -0
  6. package/components/breadcrumb/breadcrumb.d.ts +8 -0
  7. package/components/breadcrumb/breadcrumb.js +167 -0
  8. package/components/breadcrumb/breadcrumb.module.scss.js +3 -0
  9. package/components/canvas/react-flow-canvas.d.ts +37 -0
  10. package/components/canvas/react-flow-canvas.js +317 -0
  11. package/components/canvas/react-flow-canvas.module.scss.js +3 -0
  12. package/components/modal/wms-map-content.d.ts +4 -0
  13. package/components/modal/wms-map-content.js +753 -0
  14. package/components/modal/wms-map-header.d.ts +6 -0
  15. package/components/modal/wms-map-header.js +19 -0
  16. package/components/modal/wms-map-header.module.scss.js +3 -0
  17. package/components/modal/wms-map-modal-container.d.ts +4 -0
  18. package/components/modal/wms-map-modal-container.js +95 -0
  19. package/components/modal/wms-map-modal-container.module.scss.js +3 -0
  20. package/components/nodes/base-node.d.ts +12 -0
  21. package/components/nodes/image-node.d.ts +17 -0
  22. package/components/nodes/image-node.js +233 -0
  23. package/components/nodes/image-node.module.scss.js +3 -0
  24. package/components/nodes/path-node.d.ts +19 -0
  25. package/components/nodes/path-node.js +550 -0
  26. package/components/nodes/path-node.module.scss.js +3 -0
  27. package/components/nodes/rectangle-node.d.ts +11 -0
  28. package/components/nodes/rectangle-node.js +236 -0
  29. package/components/nodes/rectangle-node.module.scss.js +3 -0
  30. package/components/ui/context-menu.d.ts +25 -0
  31. package/components/ui/context-menu.js +168 -0
  32. package/components/ui/context-menu.module.scss.js +3 -0
  33. package/components/ui/toolbar.d.ts +23 -0
  34. package/components/ui/toolbar.js +278 -0
  35. package/components/ui/toolbar.module.scss.js +3 -0
  36. package/components/ui/view-mode-toolbar.d.ts +9 -0
  37. package/components/ui/view-mode-toolbar.js +41 -0
  38. package/components/ui/view-mode-toolbar.module.scss.js +3 -0
  39. package/constants/index.d.ts +45 -0
  40. package/constants/index.js +37 -0
  41. package/constants/text-mappings.d.ts +181 -0
  42. package/constants/text-mappings.js +44 -0
  43. package/hooks/use-context-menu.d.ts +37 -0
  44. package/hooks/use-context-menu.js +228 -0
  45. package/hooks/use-direct-state-history.d.ts +58 -0
  46. package/hooks/use-direct-state-history.js +214 -0
  47. package/hooks/use-pen-drawing.d.ts +30 -0
  48. package/hooks/use-pen-drawing.js +363 -0
  49. package/hooks/use-rectangle-drawing.d.ts +19 -0
  50. package/hooks/use-rectangle-drawing.js +136 -0
  51. package/hooks/use-text-editing.d.ts +19 -0
  52. package/hooks/use-text-editing.js +153 -0
  53. package/icons/index.d.ts +15 -0
  54. package/icons/index.js +209 -0
  55. package/index.cjs.css +1 -0
  56. package/index.cjs.js +5033 -0
  57. package/index.css +1 -0
  58. package/index.d.ts +5 -0
  59. package/index.js +4 -0
  60. package/package.json +40 -0
  61. package/types/callback.types.d.ts +7 -0
  62. package/types/canvas.types.d.ts +35 -0
  63. package/types/component-props.types.d.ts +41 -0
  64. package/types/history.types.d.ts +24 -0
  65. package/types/index.d.ts +5 -0
  66. package/types/react-flow.types.d.ts +30 -0
  67. package/typings.d.ts +140 -0
  68. package/typings.js +37 -0
  69. package/utils/api-data-transform.d.ts +33 -0
  70. package/utils/api-data-transform.js +218 -0
  71. package/utils/color-utils.d.ts +17 -0
  72. package/utils/color-utils.js +55 -0
  73. package/utils/debug-logger.d.ts +33 -0
  74. package/utils/debug-logger.js +41 -0
  75. package/utils/map-data-transform.d.ts +18 -0
  76. package/utils/map-data-transform.js +342 -0
  77. package/utils/node-operations.d.ts +26 -0
  78. package/utils/node-operations.js +83 -0
  79. package/utils/node-utils.d.ts +10 -0
  80. package/utils/node-utils.js +37 -0
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ export interface IconProps {
3
+ width?: number;
4
+ height?: number;
5
+ className?: string;
6
+ color?: string;
7
+ }
8
+ export declare const PenToolIcon: React.FC<IconProps>;
9
+ export declare const DeleteIcon: React.FC<IconProps>;
10
+ export declare const ImageIcon: React.FC<IconProps>;
11
+ export declare const SquareIcon: React.FC<IconProps>;
12
+ export declare const PointerIcon: React.FC<IconProps>;
13
+ export declare const RedoIcon: React.FC<IconProps>;
14
+ export declare const UndoIcon: React.FC<IconProps>;
15
+ export declare const FolderIcon: React.FC<IconProps>;
package/icons/index.js ADDED
@@ -0,0 +1,209 @@
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
+ import 'react';
3
+
4
+ const PenToolIcon = ({ width = 24, height = 24, className, color = '#8F8F8F' })=>/*#__PURE__*/ jsxs("svg", {
5
+ width: width,
6
+ height: height,
7
+ viewBox: "0 0 24 24",
8
+ fill: "none",
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ className: className,
11
+ children: [
12
+ /*#__PURE__*/ jsx("path", {
13
+ d: "M17.0707 12.9861L15.034 6.66338L4 4M4 4L6.66338 15.034L12.9861 17.0707M4 4L10.1971 10.1971M12.9861 11.3523C12.9861 12.2546 12.2546 12.9861 11.3523 12.9861C10.4499 12.9861 9.71843 12.2546 9.71843 11.3523C9.71843 10.4499 10.4499 9.71843 11.3523 9.71843C12.2546 9.71843 12.9861 10.4499 12.9861 11.3523Z",
14
+ stroke: color,
15
+ strokeWidth: "1.4",
16
+ strokeLinecap: "round"
17
+ }),
18
+ /*#__PURE__*/ jsx("rect", {
19
+ x: "12.6872",
20
+ y: "17.3848",
21
+ width: "6.6425",
22
+ height: "3.40799",
23
+ transform: "rotate(-45 12.6872 17.3848)",
24
+ stroke: color,
25
+ strokeWidth: "1.4"
26
+ })
27
+ ]
28
+ });
29
+ const DeleteIcon = ({ width = 24, height = 24, className, color = '#8F8F8F' })=>/*#__PURE__*/ jsxs("svg", {
30
+ width: width,
31
+ height: height,
32
+ viewBox: "0 0 24 24",
33
+ fill: "none",
34
+ xmlns: "http://www.w3.org/2000/svg",
35
+ className: className,
36
+ children: [
37
+ /*#__PURE__*/ jsx("path", {
38
+ d: "M3 6H5H21",
39
+ stroke: color,
40
+ strokeWidth: "2",
41
+ strokeLinecap: "round",
42
+ strokeLinejoin: "round"
43
+ }),
44
+ /*#__PURE__*/ jsx("path", {
45
+ d: "M8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6M19 6V20C19 20.5304 18.7893 21.0391 18.4142 21.4142C18.0391 21.7893 17.5304 22 17 22H7C6.46957 22 5.96086 21.7893 5.58579 21.4142C5.21071 21.0391 5 20.5304 5 20V6H19Z",
46
+ stroke: color,
47
+ strokeWidth: "2",
48
+ strokeLinecap: "round",
49
+ strokeLinejoin: "round"
50
+ })
51
+ ]
52
+ });
53
+ const ImageIcon = ({ width = 24, height = 24, className, color = '#8F8F8F' })=>/*#__PURE__*/ jsxs("svg", {
54
+ width: width,
55
+ height: height,
56
+ viewBox: "0 0 24 24",
57
+ fill: "none",
58
+ xmlns: "http://www.w3.org/2000/svg",
59
+ className: className,
60
+ children: [
61
+ /*#__PURE__*/ jsx("rect", {
62
+ x: "3",
63
+ y: "3",
64
+ width: "18",
65
+ height: "18",
66
+ rx: "2",
67
+ ry: "2",
68
+ stroke: color,
69
+ strokeWidth: "2"
70
+ }),
71
+ /*#__PURE__*/ jsx("circle", {
72
+ cx: "8.5",
73
+ cy: "8.5",
74
+ r: "1.5",
75
+ stroke: color,
76
+ strokeWidth: "2"
77
+ }),
78
+ /*#__PURE__*/ jsx("path", {
79
+ d: "M21 15L16 10L5 21",
80
+ stroke: color,
81
+ strokeWidth: "2",
82
+ strokeLinecap: "round",
83
+ strokeLinejoin: "round"
84
+ })
85
+ ]
86
+ });
87
+ const SquareIcon = ({ width = 24, height = 24, className, color = '#8F8F8F' })=>/*#__PURE__*/ jsx("svg", {
88
+ width: width,
89
+ height: height,
90
+ viewBox: "0 0 24 24",
91
+ fill: "none",
92
+ xmlns: "http://www.w3.org/2000/svg",
93
+ className: className,
94
+ children: /*#__PURE__*/ jsx("rect", {
95
+ x: "3",
96
+ y: "3",
97
+ width: "18",
98
+ height: "18",
99
+ rx: "2",
100
+ ry: "2",
101
+ stroke: color,
102
+ strokeWidth: "2"
103
+ })
104
+ });
105
+ const PointerIcon = ({ width = 24, height = 24, className, color = '#8F8F8F' })=>/*#__PURE__*/ jsxs("svg", {
106
+ width: width,
107
+ height: height,
108
+ viewBox: "0 0 24 24",
109
+ fill: "none",
110
+ xmlns: "http://www.w3.org/2000/svg",
111
+ className: className,
112
+ children: [
113
+ /*#__PURE__*/ jsx("mask", {
114
+ id: "path-1-inside-1_pointer",
115
+ fill: "white",
116
+ children: /*#__PURE__*/ jsx("path", {
117
+ d: "M5.02328 5.74789C4.89692 5.30564 5.30564 4.89692 5.74789 5.02328L18.1502 8.56625C18.6081 8.69707 18.7272 9.29026 18.3553 9.58774L16.0164 12.1551L20.8114 16.9491L16.9491 20.8114L12.1551 16.0164L9.58774 18.3553C9.29026 18.7272 8.69707 18.6081 8.56625 18.1502L5.02328 5.74789Z"
118
+ })
119
+ }),
120
+ /*#__PURE__*/ jsx("path", {
121
+ d: "M5.02328 5.74789L6.36943 5.36334L6.36942 5.36328L5.02328 5.74789ZM5.74789 5.02328L5.36328 6.36942L5.36334 6.36943L5.74789 5.02328ZM18.1502 8.56625L18.5348 7.22012L18.5348 7.2201L18.1502 8.56625ZM18.3553 9.58774L17.4807 8.49452L17.3946 8.5634L17.3204 8.64492L18.3553 9.58774ZM16.0164 12.1551L14.9815 11.2123L14.0815 12.2003L15.0266 13.1452L16.0164 12.1551ZM20.8114 16.9491L21.8013 17.939L22.7914 16.949L21.8012 15.959L20.8114 16.9491ZM16.9491 20.8114L15.959 21.8012L16.949 22.7914L17.939 21.8013L16.9491 20.8114ZM12.1551 16.0164L13.1452 15.0266L12.2003 14.0815L11.2123 14.9815L12.1551 16.0164ZM9.58774 18.3553L8.64492 17.3204L8.5634 17.3946L8.49452 17.4807L9.58774 18.3553ZM8.56625 18.1502L7.2201 18.5348L7.22012 18.5348L8.56625 18.1502ZM5.02328 5.74789L6.36942 5.36328C6.5448 5.97712 5.97712 6.5448 5.36328 6.36942L5.74789 5.02328L6.1325 3.67715C4.63415 3.24905 3.24905 4.63415 3.67715 6.1325L5.02328 5.74789ZM5.74789 5.02328L5.36334 6.36943L17.7657 9.9124L18.1502 8.56625L18.5348 7.2201L6.13245 3.67713L5.74789 5.02328ZM18.1502 8.56625L17.7656 9.91238C17.1297 9.73069 16.965 8.90711 17.4807 8.49452L18.3553 9.58774L19.2299 10.681C20.4893 9.67341 20.0865 7.66346 18.5348 7.22012L18.1502 8.56625ZM18.3553 9.58774L17.3204 8.64492L14.9815 11.2123L16.0164 12.1551L17.0514 13.0979L19.3903 10.5306L18.3553 9.58774ZM16.0164 12.1551L15.0266 13.1452L19.8215 17.9391L20.8114 16.9491L21.8012 15.959L17.0063 11.1651L16.0164 12.1551ZM20.8114 16.9491L19.8214 15.9591L15.9591 19.8214L16.9491 20.8114L17.939 21.8013L21.8013 17.939L20.8114 16.9491ZM16.9491 20.8114L17.9391 19.8215L13.1452 15.0266L12.1551 16.0164L11.1651 17.0063L15.959 21.8012L16.9491 20.8114ZM12.1551 16.0164L11.2123 14.9815L8.64492 17.3204L9.58774 18.3553L10.5306 19.3903L13.0979 17.0514L12.1551 16.0164ZM9.58774 18.3553L8.49452 17.4807C8.90711 16.965 9.73069 17.1297 9.91238 17.7656L8.56625 18.1502L7.22012 18.5348C7.66346 20.0865 9.67341 20.4893 10.681 19.2299L9.58774 18.3553ZM8.56625 18.1502L9.9124 17.7657L6.36943 5.36334L5.02328 5.74789L3.67713 6.13245L7.2201 18.5348L8.56625 18.1502Z",
122
+ fill: color,
123
+ mask: "url(#path-1-inside-1_pointer)"
124
+ })
125
+ ]
126
+ });
127
+ const RedoIcon = ({ width = 24, height = 24, className, color = '#8F8F8F' })=>/*#__PURE__*/ jsxs("svg", {
128
+ width: width,
129
+ height: height,
130
+ viewBox: "0 0 24 24",
131
+ fill: "none",
132
+ xmlns: "http://www.w3.org/2000/svg",
133
+ className: className,
134
+ children: [
135
+ /*#__PURE__*/ jsx("mask", {
136
+ id: "mask0_redo",
137
+ style: {
138
+ maskType: 'alpha'
139
+ },
140
+ maskUnits: "userSpaceOnUse",
141
+ x: "0",
142
+ y: "0",
143
+ width: "24",
144
+ height: "24",
145
+ children: /*#__PURE__*/ jsx("rect", {
146
+ width: "24",
147
+ height: "24",
148
+ fill: "#D9D9D9"
149
+ })
150
+ }),
151
+ /*#__PURE__*/ jsx("g", {
152
+ mask: "url(#mask0_redo)",
153
+ children: /*#__PURE__*/ jsx("path", {
154
+ d: "M9.32091 17.7C8.14141 17.7 7.14266 17.2686 6.32466 16.4058C5.50666 15.5429 5.09766 14.5122 5.09766 13.3135C5.09766 12.1148 5.50666 11.0857 6.32466 10.226C7.14266 9.36633 8.14141 8.9365 9.32091 8.9365H16.1919L13.6844 6.42875L14.6132 5.5L18.6997 9.5865L14.6132 13.673L13.6844 12.7442L16.1919 10.2365H9.32091C8.49391 10.2365 7.79999 10.5378 7.23916 11.1403C6.67816 11.7429 6.39766 12.4673 6.39766 13.3135C6.39766 14.1597 6.67816 14.8856 7.23916 15.4913C7.79999 16.0971 8.49391 16.4 9.32091 16.4H16.5977V17.7H9.32091Z",
155
+ fill: color
156
+ })
157
+ })
158
+ ]
159
+ });
160
+ const UndoIcon = ({ width = 24, height = 24, className, color = '#8F8F8F' })=>/*#__PURE__*/ jsxs("svg", {
161
+ width: width,
162
+ height: height,
163
+ viewBox: "0 0 24 24",
164
+ fill: "none",
165
+ xmlns: "http://www.w3.org/2000/svg",
166
+ className: className,
167
+ children: [
168
+ /*#__PURE__*/ jsx("mask", {
169
+ id: "mask0_undo",
170
+ style: {
171
+ maskType: 'alpha'
172
+ },
173
+ maskUnits: "userSpaceOnUse",
174
+ x: "0",
175
+ y: "0",
176
+ width: "24",
177
+ height: "24",
178
+ children: /*#__PURE__*/ jsx("rect", {
179
+ width: "24",
180
+ height: "24",
181
+ fill: "#D9D9D9"
182
+ })
183
+ }),
184
+ /*#__PURE__*/ jsx("g", {
185
+ mask: "url(#mask0_undo)",
186
+ children: /*#__PURE__*/ jsx("path", {
187
+ d: "M7.4018 17.7V16.4H14.6786C15.5056 16.4 16.1995 16.0971 16.7603 15.4913C17.3213 14.8856 17.6018 14.1597 17.6018 13.3135C17.6018 12.4673 17.3213 11.7429 16.7603 11.1403C16.1995 10.5377 15.5056 10.2365 14.6786 10.2365H7.80755L10.3151 12.7442L9.3863 13.673L5.2998 9.5865L9.3863 5.5L10.3151 6.42875L7.80755 8.9365H14.6786C15.8581 8.9365 16.8568 9.36633 17.6748 10.226C18.4928 11.0857 18.9018 12.1148 18.9018 13.3135C18.9018 14.5122 18.4928 15.5429 17.6748 16.4058C16.8568 17.2686 15.8581 17.7 14.6786 17.7H7.4018Z",
188
+ fill: color
189
+ })
190
+ })
191
+ ]
192
+ });
193
+ const FolderIcon = ({ width = 24, height = 24, className, color = '#8F8F8F' })=>/*#__PURE__*/ jsx("svg", {
194
+ width: width,
195
+ height: height,
196
+ viewBox: "0 0 24 24",
197
+ fill: "none",
198
+ xmlns: "http://www.w3.org/2000/svg",
199
+ className: className,
200
+ children: /*#__PURE__*/ jsx("path", {
201
+ d: "M22 19C22 19.5304 21.7893 20.0391 21.4142 20.4142C21.0391 20.7893 20.5304 21 20 21H4C3.46957 21 2.96086 20.7893 2.58579 20.4142C2.21071 20.0391 2 19.5304 2 19V5C2 4.46957 2.21071 3.96086 2.58579 3.58579C2.96086 3.21071 3.46957 3 4 3H9L11 6H20C20.5304 6 21.0391 6.21071 21.4142 6.58579C21.7893 6.96086 22 7.46957 22 8V19Z",
202
+ stroke: color,
203
+ strokeWidth: "2",
204
+ strokeLinecap: "round",
205
+ strokeLinejoin: "round"
206
+ })
207
+ });
208
+
209
+ export { DeleteIcon, FolderIcon, ImageIcon, PenToolIcon, PointerIcon, RedoIcon, SquareIcon, UndoIcon };
package/index.cjs.css ADDED
@@ -0,0 +1 @@
1
+ .wms-map-header-module_modalHeader__vIotU{border-bottom:1px solid #e5e7eb;padding:16px 24px}.wms-map-header-module_headerLeft__8gMU-{align-items:center;display:flex}.wms-map-header-module_title__R6zu1{color:#1f2937;font-size:18px;font-weight:600}.toolbar-module_toolbar__96rDw{background-color:#fff;border:1px solid #e0e0e0;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.1);height:48px;padding:0 16px;position:absolute;right:24px;top:20px;z-index:1000}.toolbar-module_toolbarLeft__PMOYv,.toolbar-module_toolbar__96rDw{align-items:center;display:flex;gap:8px}.toolbar-module_toggleSwitch__Gy2ML{background-color:#e7e7e7;border-radius:4px;display:flex;height:36px;overflow:hidden;position:relative;width:140px}.toolbar-module_toggleSlider__7a7Nh{background-color:#fff;border-radius:4px;box-shadow:0 2px 4px rgba(0,0,0,.1);height:32px;left:2px;position:absolute;top:2px;transition:transform .3s ease;width:68px;z-index:1}.toolbar-module_toggleSliderRight__w9umy{transform:translateX(68px)}.toolbar-module_toggleOption__8AIQx{align-items:center;background:transparent;border:none;color:#666;cursor:pointer;display:flex;flex:1;font-size:14px;font-weight:500;height:100%;justify-content:center;position:relative;transition:color .3s ease;z-index:2}.toolbar-module_toggleOption__8AIQx:hover{color:#465bc7}.toolbar-module_toggleOption__8AIQx:focus{outline:none}.toolbar-module_toggleOptionActive__ypvGJ{color:#465bc7;font-weight:600}.toolbar-module_toolbarButton__K8xsY{background-color:#fff!important;border:1px solid #d0d0d0;border-radius:4px;color:#666!important;font-size:14px;height:32px;min-width:auto;padding:0 16px;transform:none;transition:all .15s ease}.toolbar-module_toolbarButton__K8xsY:focus,.toolbar-module_toolbarButton__K8xsY:hover{background-color:#f8f8f8!important;border-color:#b0b0b0!important;box-shadow:none!important;color:#666!important;transform:none!important}.toolbar-module_toolbarButton__K8xsY:focus{outline:none!important}.toolbar-module_toolbarButton__K8xsY:active{background-color:#f0f0f0!important;border-color:#a0a0a0!important;box-shadow:none!important;color:#666!important;transform:translateY(.5px)!important}.toolbar-module_toolbarButton__K8xsY:focus-visible{background-color:#f8f8f8!important;border-color:#b0b0b0!important;box-shadow:none!important;color:#666!important;outline:none!important}.toolbar-module_toolbarButton__K8xsY.toolbar-module_Mui-focused__fbsGm,.toolbar-module_toolbarButton__K8xsY[data-focus-visible],.toolbar-module_toolbarButton__K8xsY[data-focused]{background-color:#f8f8f8!important;border-color:#b0b0b0!important;box-shadow:none!important;color:#666!important;outline:none!important}.toolbar-module_toolbarButton__K8xsY:not(:hover):not(:focus):not(:active):not(:focus-visible){background-color:#fff!important;border-color:#d0d0d0!important;box-shadow:none!important;color:#666!important;transform:none!important}.toolbar-module_toolbarButton__K8xsY[class*=contained],.toolbar-module_toolbarButton__K8xsY[data-variant=contained]{background-color:#5570d3;border-color:#4461c2;box-shadow:inset 0 1px 3px rgba(0,0,0,.15),0 1px 2px rgba(85,112,211,.2);color:#fff;transform:translateY(.5px)}.toolbar-module_toolbarButton__K8xsY[class*=contained]:focus,.toolbar-module_toolbarButton__K8xsY[class*=contained]:hover,.toolbar-module_toolbarButton__K8xsY[data-variant=contained]:focus,.toolbar-module_toolbarButton__K8xsY[data-variant=contained]:hover{background-color:#4461c2;border-color:#3a5bb8;box-shadow:inset 0 1px 3px rgba(0,0,0,.2),0 1px 2px rgba(68,97,194,.3);color:#fff}.toolbar-module_saveButton__eiTcG{background-color:#5570d3;border:none;border-radius:4px;color:#fff;font-size:14px;height:32px;min-width:auto;padding:0 16px}.toolbar-module_unifiedTools__s27Xt{align-items:center;background-color:#fff;border:1px solid #e0e0e0;border-radius:6px;bottom:20px;box-shadow:0 4px 12px rgba(0,0,0,.15);display:flex;gap:8px;left:24px;padding:8px;position:absolute;z-index:1000}.toolbar-module_toolButton__rQdtA{align-items:center;background-color:transparent;border:none;border-radius:8px;color:#666;display:flex;font-size:18px;height:32px;justify-content:center;min-width:32px;padding:0;width:32px}.toolbar-module_toolButton__rQdtA:hover{background-color:#f0f0f0;color:#333}.toolbar-module_toolButton__rQdtA:focus{background-color:#f0f0f0;box-shadow:none;color:#333}.toolbar-module_toolButton__rQdtA.toolbar-module_toolButtonDisabled__gc2mS{cursor:default;opacity:.5}.toolbar-module_toolButton__rQdtA:focus,.toolbar-module_toolButton__rQdtA:hover{background-color:rgba(70,91,199,.2)}.toolbar-module_toolButtonActive__iCxN8{background-color:rgba(70,91,199,.2)!important}.toolbar-module_toolButtonActive__iCxN8 .toolbar-module_toolIcon__xPmHR{color:#465bc7}.toolbar-module_colorPicker__7PQ18{align-items:center;background-color:transparent;border-radius:8px;cursor:pointer;display:flex;height:40px;justify-content:center;position:relative;transition:all .15s ease;width:40px}.toolbar-module_colorPicker__7PQ18:hover{background-color:rgba(70,91,199,.2)}.toolbar-module_colorDisplay__BEOKw{border:2px solid #e0e0e0;border-radius:50%;cursor:pointer;height:24px;transition:all .15s ease;width:24px}.toolbar-module_colorInput__TbKWG{height:0;opacity:0;pointer-events:none;position:absolute;width:0}.toolbar-module_separator__-IyrB{background-color:#d0d0d0;border-radius:.5px;box-shadow:1px 0 0 hsla(0,0%,100%,.5);height:28px;margin:0 8px;width:1px}.toolbar-module_colorMenu__Y6gOp{align-items:center;background-color:#fff;border:1px solid #e0e0e0;border-radius:6px;bottom:calc(100% + 15px);box-shadow:0 4px 12px rgba(0,0,0,.15);display:flex;gap:8px;justify-content:center;left:-15px;min-width:fit-content;padding:12px 16px;position:absolute;white-space:nowrap;z-index:1001}.toolbar-module_colorOption__7eLEp{border:2px solid #e7e7e7;border-radius:50%;cursor:pointer;flex-shrink:0;height:32px;min-height:32px;min-width:32px;position:relative;transition:all .15s ease;width:32px}.toolbar-module_colorOption__7eLEp:hover{box-shadow:0 2px 6px rgba(0,0,0,.2);transform:scale(1.05)}.toolbar-module_colorOption__7eLEp:active{transform:scale(.98)}.toolbar-module_colorOptionSelected__-Zouj:after{background-image:url(icons/check-mark.svg);background-position:50%;background-repeat:no-repeat;background-size:contain;content:"";height:28px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:28px;z-index:1}.toolbar-module_toolIcon__xPmHR{align-items:center;display:flex;height:24px;pointer-events:none;transition:filter .2s ease;width:24px}.toolbar-module_buttonWithIcon__-2ca5 .mzn-button__label{align-items:center;display:flex;gap:4px}.toolbar-module_uploadButtonContainer__vv0q8{display:inline-block;position:relative}.toolbar-module_uploadInput__xWb-r{cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%;z-index:2}.toolbar-module_uploadInput__xWb-r:disabled{cursor:not-allowed}.toolbar-module_uploadButton__SIUHi{position:relative;z-index:1}.toolbar-module_uploadButton__SIUHi.toolbar-module_uploading__uM5vV{cursor:not-allowed;opacity:.7}.toolbar-module_loadingIcon__bi-tO{animation:toolbar-module_spin__22yNN 1s linear infinite;border:2px solid #f3f3f3;border-radius:50%;border-top-color:#666;display:inline-block;height:16px;width:16px}@keyframes toolbar-module_spin__22yNN{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.toolbar-module_buttonContent__nR-Kz{align-items:center;display:flex;gap:4px}.breadcrumb-edit-modal-module_modalContent__WOycg{padding:16px 0}.breadcrumb-edit-modal-module_modalContent__WOycg .breadcrumb-edit-modal-module_fieldLabel__Qdy7y{color:#333;display:block;font-size:14px;font-weight:500;margin-bottom:8px}.breadcrumb-edit-modal-module_modalFooter__Bp6Dg{gap:16px;justify-content:end}.breadcrumb-module_breadcrumbSection__Qn8A3{left:24px;position:absolute;top:20px;z-index:1001}.breadcrumb-module_breadcrumbSection__Qn8A3 .breadcrumb-module_warehouseIdSection__7CzsY{align-items:center;background-color:#fff;border:1px solid #e0e0e0;border-radius:4px;box-shadow:0 1px 3px rgba(0,0,0,.1);display:flex;gap:4px;padding:8px 12px}.breadcrumb-module_breadcrumbSection__Qn8A3 .breadcrumb-module_warehouseIdSection__7CzsY .breadcrumb-module_separator__uLhtn{color:#999;font-size:14px;margin:0 2px}.breadcrumb-module_breadcrumbSection__Qn8A3 .breadcrumb-module_warehouseIdSection__7CzsY .breadcrumb-module_warehouseIdText__QOxRw{color:#333;font-size:14px;font-weight:400}.breadcrumb-module_breadcrumbSection__Qn8A3 .breadcrumb-module_warehouseIdSection__7CzsY .breadcrumb-module_warehouseIdText__QOxRw.breadcrumb-module_lastItem__OGKzD{color:#999;font-weight:300}.breadcrumb-module_breadcrumbSection__Qn8A3 .breadcrumb-module_warehouseIdSection__7CzsY .breadcrumb-module_warehouseIdText__QOxRw.breadcrumb-module_clickable__YD5aj{cursor:pointer;user-select:none}.breadcrumb-module_breadcrumbSection__Qn8A3 .breadcrumb-module_warehouseIdSection__7CzsY .breadcrumb-module_warehouseIdText__QOxRw.breadcrumb-module_clickable__YD5aj:hover{color:#6c7cd6;text-decoration:underline}.breadcrumb-module_breadcrumbSection__Qn8A3 .breadcrumb-module_warehouseIdSection__7CzsY .breadcrumb-module_warehouseIdText__QOxRw.breadcrumb-module_clickable__YD5aj.breadcrumb-module_lastItem__OGKzD:hover{color:#6c7cd6}.breadcrumb-module_breadcrumbSection__Qn8A3 .breadcrumb-module_warehouseIdSection__7CzsY .breadcrumb-module_ellipsisContainer__4hIiu{display:inline-block;position:relative}.breadcrumb-module_breadcrumbSection__Qn8A3 .breadcrumb-module_warehouseIdSection__7CzsY .breadcrumb-module_ellipsisContainer__4hIiu .breadcrumb-module_ellipsis__NYd8X{background-color:#e8eaf6;border-radius:3px;color:#6c7cd6;cursor:pointer;font-size:14px;font-weight:500;padding:2px 8px;user-select:none}.breadcrumb-module_breadcrumbSection__Qn8A3 .breadcrumb-module_warehouseIdSection__7CzsY .breadcrumb-module_ellipsisContainer__4hIiu .breadcrumb-module_ellipsis__NYd8X:hover{background-color:#dcdcf4}.breadcrumb-module_breadcrumbSection__Qn8A3 .breadcrumb-module_warehouseIdSection__7CzsY .breadcrumb-module_ellipsisContainer__4hIiu .breadcrumb-module_dropdown__BqvP8{background:#fff;border:1px solid #e0e0e0;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.15);left:0;margin-top:4px;min-width:120px;position:absolute;top:100%;z-index:1002}.breadcrumb-module_breadcrumbSection__Qn8A3 .breadcrumb-module_warehouseIdSection__7CzsY .breadcrumb-module_ellipsisContainer__4hIiu .breadcrumb-module_dropdown__BqvP8 .breadcrumb-module_dropdownItem__YdggW{color:#333;cursor:pointer;font-size:14px;padding:8px 12px;pointer-events:all;user-select:none}.breadcrumb-module_breadcrumbSection__Qn8A3 .breadcrumb-module_warehouseIdSection__7CzsY .breadcrumb-module_ellipsisContainer__4hIiu .breadcrumb-module_dropdown__BqvP8 .breadcrumb-module_dropdownItem__YdggW:hover{background-color:#f5f5f5;color:#6c7cd6}.breadcrumb-module_breadcrumbSection__Qn8A3 .breadcrumb-module_warehouseIdSection__7CzsY .breadcrumb-module_ellipsisContainer__4hIiu .breadcrumb-module_dropdown__BqvP8 .breadcrumb-module_dropdownItem__YdggW:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.breadcrumb-module_breadcrumbSection__Qn8A3 .breadcrumb-module_warehouseIdSection__7CzsY .breadcrumb-module_ellipsisContainer__4hIiu .breadcrumb-module_dropdown__BqvP8 .breadcrumb-module_dropdownItem__YdggW:last-child{border-bottom-left-radius:3px;border-bottom-right-radius:3px}.breadcrumb-module_breadcrumbSection__Qn8A3 .breadcrumb-module_warehouseIdSection__7CzsY .breadcrumb-module_editButton__Wuk8T{align-items:center;background:none;border:none;border-radius:3px;color:#666;cursor:pointer;display:flex;justify-content:center;margin-left:8px;padding:4px;transition:all .2s ease}.breadcrumb-module_breadcrumbSection__Qn8A3 .breadcrumb-module_warehouseIdSection__7CzsY .breadcrumb-module_editButton__Wuk8T:hover{background-color:#f5f5f5;color:#6c7cd6}.breadcrumb-module_breadcrumbSection__Qn8A3 .breadcrumb-module_warehouseIdSection__7CzsY .breadcrumb-module_editButton__Wuk8T:active{background-color:#e8eaf6}.context-menu-module_contextMenu__sLD6R{background:#fff;border:1px solid #e1e5e9;border-radius:6px;box-shadow:0 4px 12px rgba(0,0,0,.15);min-width:120px;padding:4px 0;user-select:none}.context-menu-module_menuItem__f0SPx{align-items:center;color:#333;cursor:default;display:flex;font-size:14px;justify-content:space-between;min-width:160px;padding:8px 16px;position:relative;transition:background-color .15s ease}.context-menu-module_menuItem__f0SPx:hover{background-color:#f5f5f5}.context-menu-module_menuItem__f0SPx:active{background-color:#e9ecef}.context-menu-module_menuItem__f0SPx.context-menu-module_disabled__08MXH{color:#999;cursor:default}.context-menu-module_menuItem__f0SPx.context-menu-module_disabled__08MXH:active,.context-menu-module_menuItem__f0SPx.context-menu-module_disabled__08MXH:hover{background-color:transparent}.context-menu-module_menuItemContent__GXixI{align-items:center;display:flex;justify-content:space-between;width:100%}.context-menu-module_menuItemText__GLxb4{flex:1}.context-menu-module_menuItemShortcut__z-DrG{color:#666;font-family:monospace;font-size:12px;margin-left:16px}.context-menu-module_hasSubmenu__JYdzl{position:relative}.context-menu-module_arrow__nLoR1{color:#666;font-size:10px;margin-left:8px}.context-menu-module_submenu__pV8AQ{background:#fff;border:1px solid #e1e5e9;border-radius:6px;box-shadow:0 4px 12px rgba(0,0,0,.15);min-width:120px;padding:4px 0;user-select:none}.context-menu-module_submenu__pV8AQ .context-menu-module_menuItem__f0SPx{padding:8px 16px}.context-menu-module_submenu__pV8AQ .context-menu-module_menuItem__f0SPx:hover{background-color:#f5f5f5}.image-node-module_imageNode__RA0Qo{background:transparent;border:2px solid transparent;border-radius:8px;position:relative;transition:border-color .2s ease;z-index:1}.image-node-module_imageNode__RA0Qo.image-node-module_selected__XB4vQ{border-color:#5570d3;z-index:10}.image-node-module_imageNode__RA0Qo:hover{border-color:#b0b0b0;z-index:5}.image-node-module_imageNode__RA0Qo.image-node-module_resizing__auG-P{cursor:default}.image-node-module_imageNode__RA0Qo.image-node-module_resizing__auG-P .image-node-module_image__GnlBw{pointer-events:none}.image-node-module_imageNode__RA0Qo.image-node-module_nonSelectable__GF-N6{border-color:transparent!important;cursor:default}.image-node-module_imageNode__RA0Qo.image-node-module_nonSelectable__GF-N6:hover{border-color:transparent!important;z-index:1}.image-node-module_imageNode__RA0Qo.image-node-module_nonSelectable__GF-N6 .image-node-module_image__GnlBw{opacity:.7;transition:opacity .2s ease}.image-node-module_imageContainer__Bs4MJ{align-items:center;display:flex;flex-direction:column;position:relative}.image-node-module_image__GnlBw{background:#fff;border:1px solid #e0e0e0;border-radius:6px;box-shadow:0 4px 12px rgba(0,0,0,.15);object-fit:contain}.image-node-module_imageLabel__BwBbB{background:rgba(0,0,0,.7);border-radius:4px;bottom:-25px;color:#fff;font-size:12px;left:50%;max-width:200px;overflow:hidden;padding:4px 8px;position:absolute;text-overflow:ellipsis;transform:translateX(-50%);white-space:nowrap}.image-node-module_customResizeHandle__wBp7h{background:#fff!important;border:2px solid #5570d3!important;border-radius:3px!important;box-shadow:0 2px 4px rgba(0,0,0,.2)!important;height:12px!important;transition:all .2s ease!important;width:12px!important}.image-node-module_customResizeHandle__wBp7h:hover{background:#5570d3!important;border-color:#3d5af1!important;box-shadow:0 4px 8px rgba(0,0,0,.3)!important;transform:scale(1.3)!important}.image-node-module_customResizeHandle__wBp7h[data-position=bottom-left],.image-node-module_customResizeHandle__wBp7h[data-position=bottom-right],.image-node-module_customResizeHandle__wBp7h[data-position=top-left],.image-node-module_customResizeHandle__wBp7h[data-position=top-right]{cursor:default!important}.rectangle-node-module_rectangleNode__gQkvp{position:relative}.rectangle-node-module_rectangleNode__gQkvp.rectangle-node-module_selected__QiPsy{z-index:1000}.rectangle-node-module_rectangleNode__gQkvp.rectangle-node-module_nonSelectable__5Fz40{cursor:default}.rectangle-node-module_rectangleNode__gQkvp.rectangle-node-module_nonSelectable__5Fz40 .rectangle-node-module_rectangleContainer__8dFeg{opacity:.5;pointer-events:none;transition:opacity .2s ease}.rectangle-node-module_rectangleNode__gQkvp.rectangle-node-module_nonSelectable__5Fz40 .rectangle-node-module_rectangleContainer__8dFeg:hover{box-shadow:none}.rectangle-node-module_rectangleContainer__8dFeg{cursor:default;position:relative;transition:all .2s ease}.rectangle-node-module_rectangleContainer__8dFeg:hover{box-shadow:0 2px 8px rgba(0,0,0,.15)}.rectangle-node-module_customResizeHandle__0ckhO{background:#fff!important;border:2px solid #5570d3!important;border-radius:3px!important;box-shadow:0 2px 4px rgba(0,0,0,.2)!important;height:12px!important;transition:all .2s ease!important;width:12px!important}.rectangle-node-module_customResizeHandle__0ckhO:hover{background:#5570d3!important;border-color:#3d5af1!important;box-shadow:0 4px 8px rgba(0,0,0,.3)!important;transform:scale(1.3)!important}.rectangle-node-module_customResizeHandle__0ckhO[data-position=bottom-left],.rectangle-node-module_customResizeHandle__0ckhO[data-position=bottom-right],.rectangle-node-module_customResizeHandle__0ckhO[data-position=top-left],.rectangle-node-module_customResizeHandle__0ckhO[data-position=top-right]{cursor:default!important}.path-node-module_pathNode__i--rx{position:relative}.path-node-module_pathNode__i--rx.path-node-module_selected__YUYXs{z-index:1000}.path-node-module_pathNode__i--rx.path-node-module_nonSelectable__YkOT9{cursor:default}.path-node-module_pathNode__i--rx.path-node-module_nonSelectable__YkOT9 .path-node-module_pathContainer__UPL49{opacity:.5;pointer-events:none;transition:opacity .2s ease}.path-node-module_pathNode__i--rx.path-node-module_nonSelectable__YkOT9 .path-node-module_pathContainer__UPL49:hover{outline:none}.path-node-module_pathContainer__UPL49{cursor:default;position:relative}.path-node-module_pathNode__i--rx:not(.path-node-module_selected__YUYXs) .path-node-module_pathContainer__UPL49:hover{outline:1px solid rgba(59,130,246,.3)}.react-flow-canvas-module_reactFlowCanvas__w-TCn,.react-flow-canvas-module_reactFlowWrapper__tOAkU{height:100%;width:100%}.react-flow-canvas-module_emptyState__5VgEA{color:#999;font-size:16px;left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);z-index:10}.react-flow-canvas-module_emptyState__5VgEA .react-flow-canvas-module_emptyIcon__QemKW{height:48px;width:48px}.react-flow-canvas-module_emptyState__5VgEA .react-flow-canvas-module_emptyTitle__YOEpE{color:#8f8f8f;font-size:22px;font-weight:500;margin-bottom:8px}.react-flow-canvas-module_emptyState__5VgEA .react-flow-canvas-module_emptySubText__k3DUo{color:#8f8f8f;font-size:15px;margin-top:8px}.react-flow-canvas-module_zoomControls__MC-ik{align-items:center;bottom:20px;display:flex;gap:4px;position:absolute;right:20px;z-index:1000}.react-flow-canvas-module_controlButton__GLHpS{align-items:center;background-color:#fff;border:1px solid #d0d0d0;border-radius:4px;color:#666;cursor:default;display:flex;font-size:16px;height:32px;justify-content:center;width:32px}.react-flow-canvas-module_controlButton__GLHpS:hover{background-color:#f8f8f8;border-color:#b0b0b0}.react-flow-canvas-module_controlButton__GLHpS:active{background-color:#e8e8e8}.react-flow-canvas-module_controlButton__GLHpS:disabled{cursor:default;opacity:.5}.react-flow-canvas-module_zoomPercentage__Mlyal{color:#666;font-size:14px;min-width:45px;padding:0 8px;text-align:center}.view-mode-toolbar-module_viewModeToolbar__N0CZK{align-items:center;background:#fff;border:1px solid #e0e0e0;border-radius:8px;bottom:20px;box-shadow:0 4px 12px rgba(0,0,0,.15);display:flex;left:20px;min-width:120px;padding:12px 16px;position:absolute;z-index:1000}.view-mode-toolbar-module_toolbarContent__aXcnS{align-items:center;display:flex;gap:12px;width:100%}.view-mode-toolbar-module_label__NyCK5{color:#333;font-size:14px;font-weight:500;user-select:none;white-space:nowrap}.view-mode-toolbar-module_switch__RzGTA{flex-shrink:0}@media (max-width:768px){.view-mode-toolbar-module_viewModeToolbar__N0CZK{bottom:16px;left:16px;padding:10px 14px}.view-mode-toolbar-module_label__NyCK5{font-size:13px}}@media (prefers-contrast:high){.view-mode-toolbar-module_viewModeToolbar__N0CZK{border:2px solid #000;box-shadow:0 4px 12px rgba(0,0,0,.3)}.view-mode-toolbar-module_label__NyCK5{color:#000;font-weight:600}}@media (prefers-color-scheme:dark){.view-mode-toolbar-module_viewModeToolbar__N0CZK{background:#2d2d2d;border-color:#404040;box-shadow:0 4px 12px rgba(0,0,0,.3)}.view-mode-toolbar-module_label__NyCK5{color:#f0f0f0}}.wms-map-modal-container-module_modal__PKmT7{height:95vh;margin:2.5vh auto;max-height:none;max-width:none;width:95vw}.wms-map-modal-container-module_content__9p84R{height:calc(95vh - 80px);overflow:hidden;padding:0;position:relative}