@12-apps/ui 6.98.1 → 6.99.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/dist/_internal/components/data-display/Alert/Alert.content.js +2 -2
- package/dist/_internal/components/data-display/Alert/Alert.js +3 -3
- package/dist/_internal/components/data-display/CardKit/card-actions-context.js +4 -4
- package/dist/_internal/components/data-display/CardKit/use-remove-confirm.js +5 -5
- package/dist/_internal/components/data-display/Carousel/Carousel.js +2 -2
- package/dist/_internal/components/data-display/Chart/SpecChart.js +3 -3
- package/dist/_internal/components/data-display/DataGrid/DataGrid.js +1 -1
- package/dist/_internal/components/data-display/DataViews/DataViewsGrid.js +17 -17
- package/dist/_internal/components/data-display/DataViews/DataViewsTableBase.js +22 -22
- package/dist/_internal/components/data-display/DataViews/base-list-card-geometry.js +1 -1
- package/dist/_internal/components/data-display/DataViews/base-list-card-layout.js +1 -1
- package/dist/_internal/components/data-display/DataViews/base-list-card-slots.js +1 -1
- package/dist/_internal/components/data-display/DataViews/base-list-card.js +4 -4
- package/dist/_internal/components/data-display/DataViews/data-views-grid-bodies.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-grid-parts.js +14 -14
- package/dist/_internal/components/data-display/DataViews/data-views-inline-bar.js +6 -6
- package/dist/_internal/components/data-display/DataViews/data-views-more-fields.js +2 -2
- package/dist/_internal/components/data-display/DataViews/data-views-more-filters.js +3 -3
- package/dist/_internal/components/data-display/DataViews/data-views-table-parts.js +4 -4
- package/dist/_internal/components/data-display/DataViews/list-card-rails.js +1 -1
- package/dist/_internal/components/data-display/DataViews/use-data-views-state.js +2 -2
- package/dist/_internal/components/data-display/DayRuler/DayRuler.footer.js +2 -2
- package/dist/_internal/components/data-display/DayRuler/DayRuler.js +7 -7
- package/dist/_internal/components/data-display/DayRuler/DayRuler.keyboard.js +2 -2
- package/dist/_internal/components/data-display/DayRuler/DayRuler.parts.js +3 -3
- package/dist/_internal/components/data-display/DayRuler/useRulerDrag.js +2 -2
- package/dist/_internal/components/data-display/FleetMap/FleetBody.js +6 -6
- package/dist/_internal/components/data-display/FleetMap/FleetCanvas.js +5 -5
- package/dist/_internal/components/data-display/FleetMap/FleetMap.js +7 -7
- package/dist/_internal/components/data-display/HoverCard/HoverCard.js +2 -2
- package/dist/_internal/components/data-display/Lightbox/Lightbox.js +3 -3
- package/dist/_internal/components/data-display/MapPreview/MapLayers.js +2 -2
- package/dist/_internal/components/data-display/MapPreview/MapPreview.js +4 -4
- package/dist/_internal/components/data-display/Progress/Progress.js +2 -2
- package/dist/_internal/components/data-display/RegionMap/RegionMap.fixtures.js +1 -1
- package/dist/_internal/components/data-display/RegionMap/RegionMap.helpers.js +3 -1
- package/dist/_internal/components/data-display/RegionMap/RegionMap.hooks.js +3 -3
- package/dist/_internal/components/data-display/RegionMap/RegionMap.js +6 -5
- package/dist/_internal/components/data-display/RegionMap/RegionMap.view.js +2 -2
- package/dist/_internal/components/data-display/RegionMap/RegionMapDrawing.js +3 -2
- package/dist/_internal/components/data-display/RegionMap/RegionMapPin.js +26 -0
- package/dist/_internal/components/data-display/index.js +51 -45
- package/dist/_internal/components/feedback/NotificationStatusNotice/NotificationStatusNotice.js +4 -4
- package/dist/_internal/components/feedback/SequenceResolver/SequenceResolver.frame.js +4 -4
- package/dist/_internal/components/feedback/SequenceResolver/SequenceResolver.header.js +3 -3
- package/dist/_internal/components/feedback/SequenceResolver/SequenceResolver.js +10 -10
- package/dist/_internal/components/feedback/SequenceResolver/SequenceResolver.overview.js +5 -5
- package/dist/_internal/components/feedback/SequenceResolver/SequenceResolver.parts.js +4 -4
- package/dist/_internal/components/feedback/index.js +11 -11
- package/dist/_internal/components/index.js +57 -51
- package/dist/charts.js +11 -11
- package/dist/{chunk-WYNGH2WL.js → chunk-255WTBZ5.js} +8 -8
- package/dist/{chunk-CGLMWS7K.js → chunk-37MJZLQU.js} +2 -2
- package/dist/{chunk-PNAKRHRT.js → chunk-3I7KE2N6.js} +2 -2
- package/dist/{chunk-L4FWEI2P.js → chunk-3V3Z4EML.js} +5 -5
- package/dist/{chunk-E4MJA52O.js → chunk-3V5V44UP.js} +16 -18
- package/dist/chunk-3V5V44UP.js.map +1 -0
- package/dist/{chunk-6RYSSNOO.js → chunk-54DOLCJ3.js} +2 -2
- package/dist/{chunk-74IH3ZGD.js → chunk-643YFWNK.js} +2 -2
- package/dist/{chunk-FRQGZIYU.js → chunk-6WAP7BJS.js} +2 -2
- package/dist/{chunk-3CXRHRGE.js → chunk-AYDVNXGR.js} +7 -3
- package/dist/chunk-AYDVNXGR.js.map +1 -0
- package/dist/{chunk-JO6D7YGN.js → chunk-CWRQGA2T.js} +2 -2
- package/dist/chunk-DRYBA76G.js +293 -0
- package/dist/chunk-DRYBA76G.js.map +1 -0
- package/dist/{chunk-ZW7Q3IRL.js → chunk-FYJL432J.js} +4 -4
- package/dist/{chunk-G6TKWNF2.js → chunk-GZITNT7O.js} +11 -11
- package/dist/{chunk-RFMQBIE6.js → chunk-HBHBRRSW.js} +4 -4
- package/dist/{chunk-U4Z6GZDW.js → chunk-HN36UVOE.js} +4 -4
- package/dist/{chunk-WK577LQL.js → chunk-J2IQ6FJ5.js} +4 -4
- package/dist/{chunk-HCTHY66U.js → chunk-KAGXV3ID.js} +4 -4
- package/dist/{chunk-FWAY2SAI.js → chunk-KAZWBDIH.js} +2 -2
- package/dist/{chunk-DKPELKGL.js → chunk-KV7LTOWC.js} +5 -5
- package/dist/{chunk-UC7DLGMP.js → chunk-KVP5A3YK.js} +2 -2
- package/dist/{chunk-EGBQR5GH.js → chunk-LOLYBFYY.js} +5 -5
- package/dist/{chunk-SOXO2VN3.js → chunk-MEMVZW64.js} +3 -3
- package/dist/{chunk-COOSJKZL.js → chunk-MNJZPJ5S.js} +2 -1
- package/dist/chunk-MNJZPJ5S.js.map +1 -0
- package/dist/{chunk-G2NVBCF7.js → chunk-NWUMGE6T.js} +3 -3
- package/dist/{chunk-RKAX37F4.js → chunk-Q5SCBQLY.js} +7 -7
- package/dist/{chunk-3R5MCSYO.js → chunk-QLKUWDMQ.js} +4 -4
- package/dist/{chunk-MPVH2GM5.js → chunk-RAQD5QCM.js} +4 -4
- package/dist/{chunk-KXDLLS62.js → chunk-REHGWN5M.js} +4 -4
- package/dist/{chunk-3N2HWNKT.js → chunk-UIJLDAV7.js} +2 -2
- package/dist/{chunk-GDWU7WF4.js → chunk-UN5WU2OX.js} +4 -4
- package/dist/{chunk-A27J4CIZ.js → chunk-UTIYB6VE.js} +11 -11
- package/dist/{chunk-5V7IZBRY.js → chunk-VRSW7PIO.js} +5 -5
- package/dist/{chunk-AESKKFA5.js → chunk-WDEVKND3.js} +3 -3
- package/dist/chunk-WGKLBVDZ.js +1 -0
- package/dist/chunk-WGKLBVDZ.js.map +1 -0
- package/dist/{chunk-67GTAPK6.js → chunk-XFOKLWJZ.js} +2 -2
- package/dist/{chunk-OV5NM4FY.js → chunk-XQAFSC66.js} +2 -2
- package/dist/{chunk-6FGP7RMV.js → chunk-XR474YYX.js} +2 -2
- package/dist/{chunk-4N4M237A.js → chunk-YQ5GQ32T.js} +2 -2
- package/dist/{chunk-YLZXIR6B.js → chunk-Z5V5E3JW.js} +4 -4
- package/dist/data-display/Alert.js +3 -3
- package/dist/data-display/CardKit.js +5 -5
- package/dist/data-display/Carousel.js +2 -2
- package/dist/data-display/Chart.js +11 -11
- package/dist/data-display/DataGrid.js +1 -1
- package/dist/data-display/DataViews.js +29 -29
- package/dist/data-display/DayRuler.js +7 -7
- package/dist/data-display/FleetMap.js +7 -7
- package/dist/data-display/HoverCard.js +2 -2
- package/dist/data-display/Lightbox.js +3 -3
- package/dist/data-display/MapPreview.js +4 -4
- package/dist/data-display/Progress.js +2 -2
- package/dist/data-display/RegionMap.js +14 -8
- package/dist/feedback/NotificationStatusNotice.js +4 -4
- package/dist/feedback/SequenceResolver.js +10 -10
- package/dist/types/components/data-display/RegionMap/RegionMap.d.ts +1 -1
- package/dist/types/components/data-display/RegionMap/RegionMap.d.ts.map +1 -1
- package/dist/types/components/data-display/RegionMap/RegionMap.helpers.d.ts +9 -0
- package/dist/types/components/data-display/RegionMap/RegionMap.helpers.d.ts.map +1 -1
- package/dist/types/components/data-display/RegionMap/RegionMap.types.d.ts +45 -1
- package/dist/types/components/data-display/RegionMap/RegionMap.types.d.ts.map +1 -1
- package/dist/types/components/data-display/RegionMap/RegionMapDrawing.d.ts +4 -1
- package/dist/types/components/data-display/RegionMap/RegionMapDrawing.d.ts.map +1 -1
- package/dist/types/components/data-display/RegionMap/RegionMapPin.d.ts +102 -0
- package/dist/types/components/data-display/RegionMap/RegionMapPin.d.ts.map +1 -0
- package/dist/types/components/data-display/RegionMap/index.d.ts +2 -1
- package/dist/types/components/data-display/RegionMap/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/data-display/RegionMap/RegionMap.helpers.ts +1 -1
- package/src/components/data-display/RegionMap/RegionMap.md +19 -2
- package/src/components/data-display/RegionMap/RegionMap.tsx +4 -0
- package/src/components/data-display/RegionMap/RegionMap.types.ts +49 -1
- package/src/components/data-display/RegionMap/RegionMapDrawing.tsx +11 -13
- package/src/components/data-display/RegionMap/RegionMapPin.tsx +388 -0
- package/src/components/data-display/RegionMap/index.ts +5 -0
- package/dist/chunk-3CXRHRGE.js.map +0 -1
- package/dist/chunk-COOSJKZL.js.map +0 -1
- package/dist/chunk-DY2I6LMX.js +0 -1
- package/dist/chunk-E4MJA52O.js.map +0 -1
- /package/dist/{chunk-DY2I6LMX.js.map → _internal/components/data-display/RegionMap/RegionMapPin.js.map} +0 -0
- /package/dist/{chunk-WYNGH2WL.js.map → chunk-255WTBZ5.js.map} +0 -0
- /package/dist/{chunk-CGLMWS7K.js.map → chunk-37MJZLQU.js.map} +0 -0
- /package/dist/{chunk-PNAKRHRT.js.map → chunk-3I7KE2N6.js.map} +0 -0
- /package/dist/{chunk-L4FWEI2P.js.map → chunk-3V3Z4EML.js.map} +0 -0
- /package/dist/{chunk-6RYSSNOO.js.map → chunk-54DOLCJ3.js.map} +0 -0
- /package/dist/{chunk-74IH3ZGD.js.map → chunk-643YFWNK.js.map} +0 -0
- /package/dist/{chunk-FRQGZIYU.js.map → chunk-6WAP7BJS.js.map} +0 -0
- /package/dist/{chunk-JO6D7YGN.js.map → chunk-CWRQGA2T.js.map} +0 -0
- /package/dist/{chunk-ZW7Q3IRL.js.map → chunk-FYJL432J.js.map} +0 -0
- /package/dist/{chunk-G6TKWNF2.js.map → chunk-GZITNT7O.js.map} +0 -0
- /package/dist/{chunk-RFMQBIE6.js.map → chunk-HBHBRRSW.js.map} +0 -0
- /package/dist/{chunk-U4Z6GZDW.js.map → chunk-HN36UVOE.js.map} +0 -0
- /package/dist/{chunk-WK577LQL.js.map → chunk-J2IQ6FJ5.js.map} +0 -0
- /package/dist/{chunk-HCTHY66U.js.map → chunk-KAGXV3ID.js.map} +0 -0
- /package/dist/{chunk-FWAY2SAI.js.map → chunk-KAZWBDIH.js.map} +0 -0
- /package/dist/{chunk-DKPELKGL.js.map → chunk-KV7LTOWC.js.map} +0 -0
- /package/dist/{chunk-UC7DLGMP.js.map → chunk-KVP5A3YK.js.map} +0 -0
- /package/dist/{chunk-EGBQR5GH.js.map → chunk-LOLYBFYY.js.map} +0 -0
- /package/dist/{chunk-SOXO2VN3.js.map → chunk-MEMVZW64.js.map} +0 -0
- /package/dist/{chunk-G2NVBCF7.js.map → chunk-NWUMGE6T.js.map} +0 -0
- /package/dist/{chunk-RKAX37F4.js.map → chunk-Q5SCBQLY.js.map} +0 -0
- /package/dist/{chunk-3R5MCSYO.js.map → chunk-QLKUWDMQ.js.map} +0 -0
- /package/dist/{chunk-MPVH2GM5.js.map → chunk-RAQD5QCM.js.map} +0 -0
- /package/dist/{chunk-KXDLLS62.js.map → chunk-REHGWN5M.js.map} +0 -0
- /package/dist/{chunk-3N2HWNKT.js.map → chunk-UIJLDAV7.js.map} +0 -0
- /package/dist/{chunk-GDWU7WF4.js.map → chunk-UN5WU2OX.js.map} +0 -0
- /package/dist/{chunk-A27J4CIZ.js.map → chunk-UTIYB6VE.js.map} +0 -0
- /package/dist/{chunk-5V7IZBRY.js.map → chunk-VRSW7PIO.js.map} +0 -0
- /package/dist/{chunk-AESKKFA5.js.map → chunk-WDEVKND3.js.map} +0 -0
- /package/dist/{chunk-67GTAPK6.js.map → chunk-XFOKLWJZ.js.map} +0 -0
- /package/dist/{chunk-OV5NM4FY.js.map → chunk-XQAFSC66.js.map} +0 -0
- /package/dist/{chunk-6FGP7RMV.js.map → chunk-XR474YYX.js.map} +0 -0
- /package/dist/{chunk-4N4M237A.js.map → chunk-YQ5GQ32T.js.map} +0 -0
- /package/dist/{chunk-YLZXIR6B.js.map → chunk-Z5V5E3JW.js.map} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
BaseCard
|
|
3
|
-
} from "../chunk-MBMZNSBP.js";
|
|
4
1
|
import {
|
|
5
2
|
DataViewsTableBase
|
|
6
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-WDEVKND3.js";
|
|
7
4
|
import {
|
|
8
5
|
DataViewsGrid
|
|
9
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-MEMVZW64.js";
|
|
7
|
+
import {
|
|
8
|
+
BaseCard
|
|
9
|
+
} from "../chunk-MBMZNSBP.js";
|
|
10
10
|
import "../chunk-3V7OTBUZ.js";
|
|
11
11
|
import {
|
|
12
12
|
BaseListCard
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-QO7UJXXO.js";
|
|
15
|
-
import "../chunk-2JCRNWHE.js";
|
|
13
|
+
} from "../chunk-255WTBZ5.js";
|
|
16
14
|
import "../chunk-E6K2UZGR.js";
|
|
15
|
+
import "../chunk-QO7UJXXO.js";
|
|
17
16
|
import "../chunk-UMOHHWXY.js";
|
|
17
|
+
import "../chunk-2JCRNWHE.js";
|
|
18
18
|
import "../chunk-KLCSVYHL.js";
|
|
19
19
|
import "../chunk-CSJ7WNXU.js";
|
|
20
20
|
import {
|
|
@@ -23,36 +23,37 @@ import {
|
|
|
23
23
|
useDragItem
|
|
24
24
|
} from "../chunk-K4EKTMTC.js";
|
|
25
25
|
import "../chunk-ZOLAYP2D.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-UTIYB6VE.js";
|
|
27
|
+
import "../chunk-MKVDHR3B.js";
|
|
28
|
+
import "../chunk-X3AFXHY5.js";
|
|
27
29
|
import "../chunk-SA3KLZDZ.js";
|
|
28
30
|
import {
|
|
29
31
|
DataViewsBoard
|
|
30
32
|
} from "../chunk-7TCOYCD7.js";
|
|
31
33
|
import "../chunk-4ZQQUICR.js";
|
|
32
34
|
import "../chunk-HOWAMSUY.js";
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-5V7IZBRY.js";
|
|
35
|
+
import "../chunk-VRSW7PIO.js";
|
|
35
36
|
import "../chunk-T7OIVPCO.js";
|
|
36
|
-
import "../chunk-3N2HWNKT.js";
|
|
37
|
-
import "../chunk-WK577LQL.js";
|
|
38
|
-
import "../chunk-XA5ES25V.js";
|
|
39
|
-
import "../chunk-X3AFXHY5.js";
|
|
40
|
-
import "../chunk-AT6UKTH4.js";
|
|
41
|
-
import "../chunk-XZFTRGRW.js";
|
|
42
37
|
import "../chunk-WWH674WU.js";
|
|
38
|
+
import "../chunk-UIJLDAV7.js";
|
|
39
|
+
import "../chunk-J2IQ6FJ5.js";
|
|
40
|
+
import "../chunk-XA5ES25V.js";
|
|
43
41
|
import "../chunk-KYUEO2IO.js";
|
|
44
42
|
import "../chunk-GZOW6HNN.js";
|
|
45
|
-
import "../chunk-K3PMMW23.js";
|
|
46
|
-
import "../chunk-O5UGAL2V.js";
|
|
47
43
|
import "../chunk-O4UXH7BM.js";
|
|
48
44
|
import "../chunk-FW5GTAUY.js";
|
|
49
45
|
import "../chunk-2FKWKLSC.js";
|
|
50
46
|
import "../chunk-GFYDOH7D.js";
|
|
47
|
+
import "../chunk-AT6UKTH4.js";
|
|
51
48
|
import "../chunk-4A454JZN.js";
|
|
49
|
+
import "../chunk-XZFTRGRW.js";
|
|
50
|
+
import "../chunk-K3PMMW23.js";
|
|
51
|
+
import "../chunk-O5UGAL2V.js";
|
|
52
52
|
import "../chunk-WLDP7C4K.js";
|
|
53
53
|
import "../chunk-GCZJH4XL.js";
|
|
54
54
|
import "../chunk-YOPMXGHY.js";
|
|
55
55
|
import "../chunk-CBOB5AV6.js";
|
|
56
|
+
import "../chunk-7CUZTWKW.js";
|
|
56
57
|
import "../chunk-IFOHCY4O.js";
|
|
57
58
|
import "../chunk-5YDS6HO3.js";
|
|
58
59
|
import "../chunk-OY437NRJ.js";
|
|
@@ -66,23 +67,22 @@ import "../chunk-YLGY3D52.js";
|
|
|
66
67
|
import "../chunk-4NG3LTRX.js";
|
|
67
68
|
import "../chunk-4IE66GY2.js";
|
|
68
69
|
import "../chunk-2MT6VSS2.js";
|
|
69
|
-
import "../chunk-
|
|
70
|
+
import "../chunk-37MJZLQU.js";
|
|
70
71
|
import "../chunk-RVBLOR32.js";
|
|
71
72
|
import "../chunk-OFRQMFWD.js";
|
|
72
73
|
import "../chunk-5M4TYFR3.js";
|
|
73
|
-
import "../chunk-7CUZTWKW.js";
|
|
74
74
|
import "../chunk-B2JSUFDX.js";
|
|
75
75
|
import "../chunk-DZEC6RFM.js";
|
|
76
|
-
import "../chunk-
|
|
76
|
+
import "../chunk-LOLYBFYY.js";
|
|
77
77
|
import "../chunk-FF22F7FA.js";
|
|
78
78
|
import "../chunk-YGQX7BNI.js";
|
|
79
|
-
import "../chunk-IMLIIW77.js";
|
|
80
|
-
import "../chunk-LLZWB32X.js";
|
|
81
79
|
import {
|
|
82
80
|
DataViewsScopeTabs,
|
|
83
81
|
assertNoScopePillOverlap,
|
|
84
82
|
resolveScope
|
|
85
83
|
} from "../chunk-PL2AB5HJ.js";
|
|
84
|
+
import "../chunk-IMLIIW77.js";
|
|
85
|
+
import "../chunk-LLZWB32X.js";
|
|
86
86
|
import "../chunk-OOLES6RR.js";
|
|
87
87
|
import "../chunk-UKNMPGEM.js";
|
|
88
88
|
import "../chunk-DUVH273U.js";
|
|
@@ -105,10 +105,10 @@ import {
|
|
|
105
105
|
useDataViewsCopy
|
|
106
106
|
} from "../chunk-KHG57NAE.js";
|
|
107
107
|
import "../chunk-U3HEYECF.js";
|
|
108
|
+
import "../chunk-ZMUXC3VB.js";
|
|
108
109
|
import {
|
|
109
110
|
DEFAULT_CELL_WIDTH
|
|
110
111
|
} from "../chunk-F5S5UFGD.js";
|
|
111
|
-
import "../chunk-ZMUXC3VB.js";
|
|
112
112
|
import "../chunk-NCS2TBIP.js";
|
|
113
113
|
import "../chunk-Y4KKS6WL.js";
|
|
114
114
|
import "../chunk-WVML3ENZ.js";
|
|
@@ -216,20 +216,20 @@ import "../chunk-AA2X5GOT.js";
|
|
|
216
216
|
import "../chunk-L5CPOEDP.js";
|
|
217
217
|
import "../chunk-OA6T2ME3.js";
|
|
218
218
|
import "../chunk-5RYPVYWP.js";
|
|
219
|
+
import "../chunk-K6FW4YDA.js";
|
|
219
220
|
import "../chunk-EARWC6PD.js";
|
|
220
221
|
import "../chunk-LDROG4QI.js";
|
|
221
|
-
import "../chunk-K6FW4YDA.js";
|
|
222
222
|
import "../chunk-G3E66C6J.js";
|
|
223
223
|
import "../chunk-LL2BWQPM.js";
|
|
224
224
|
import "../chunk-SNCSGLJ6.js";
|
|
225
225
|
import "../chunk-UMICTXMP.js";
|
|
226
226
|
import "../chunk-AG4F6NVT.js";
|
|
227
|
-
import "../chunk-
|
|
228
|
-
import "../chunk-
|
|
227
|
+
import "../chunk-Q5SCBQLY.js";
|
|
228
|
+
import "../chunk-UN5WU2OX.js";
|
|
229
229
|
import "../chunk-YBF2WUGQ.js";
|
|
230
|
+
import "../chunk-L7VH6IMR.js";
|
|
230
231
|
import "../chunk-QXUXO22M.js";
|
|
231
232
|
import "../chunk-LNZJJFZQ.js";
|
|
232
|
-
import "../chunk-L7VH6IMR.js";
|
|
233
233
|
import "../chunk-2IBFEHIX.js";
|
|
234
234
|
import "../chunk-TTBLQZVT.js";
|
|
235
235
|
import "../chunk-WGK7VNCO.js";
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
} from "../chunk-EZBBLLEU.js";
|
|
5
5
|
import {
|
|
6
6
|
DayRuler
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-KV7LTOWC.js";
|
|
8
|
+
import "../chunk-HN36UVOE.js";
|
|
9
|
+
import "../chunk-RAQD5QCM.js";
|
|
10
10
|
import "../chunk-WSSD7H5E.js";
|
|
11
11
|
import "../chunk-F2ZUUEXC.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-REHGWN5M.js";
|
|
13
13
|
import "../chunk-ZHCZOPKE.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-5AZEDQXX.js";
|
|
16
|
-
import "../chunk-273OLFJD.js";
|
|
14
|
+
import "../chunk-GZITNT7O.js";
|
|
17
15
|
import "../chunk-WG7CAT5D.js";
|
|
18
16
|
import "../chunk-L5CAHQIN.js";
|
|
17
|
+
import "../chunk-5AZEDQXX.js";
|
|
18
|
+
import "../chunk-273OLFJD.js";
|
|
19
19
|
import "../chunk-SJAOQGQI.js";
|
|
20
20
|
import "../chunk-35HMJQLO.js";
|
|
21
21
|
import "../chunk-YE44HUFF.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../chunk-RQWZYD6H.js";
|
|
2
2
|
import {
|
|
3
3
|
FleetMap
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-54DOLCJ3.js";
|
|
5
|
+
import "../chunk-6WAP7BJS.js";
|
|
6
|
+
import "../chunk-KVP5A3YK.js";
|
|
7
7
|
import "../chunk-A4B27HYU.js";
|
|
8
8
|
import "../chunk-BTQZ3EX3.js";
|
|
9
9
|
import "../chunk-ZCPSND5Y.js";
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
nextSelection,
|
|
14
14
|
rosterOrder
|
|
15
15
|
} from "../chunk-XPMGFAJ3.js";
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-FYJL432J.js";
|
|
17
|
+
import "../chunk-4Y3QLISA.js";
|
|
18
|
+
import "../chunk-KAGXV3ID.js";
|
|
18
19
|
import "../chunk-TDXEWGY2.js";
|
|
19
20
|
import "../chunk-MIUPTZS6.js";
|
|
20
|
-
import "../chunk-ZZ4MMUBY.js";
|
|
21
|
-
import "../chunk-4Y3QLISA.js";
|
|
22
21
|
import "../chunk-ZX4ORMBC.js";
|
|
22
|
+
import "../chunk-ZZ4MMUBY.js";
|
|
23
23
|
import "../chunk-QSRZOXQI.js";
|
|
24
24
|
import "../chunk-5NT2M2JI.js";
|
|
25
25
|
import "../chunk-H2J2MTRE.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../chunk-6OS4AKWT.js";
|
|
2
2
|
import {
|
|
3
3
|
HoverCard
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-HBHBRRSW.js";
|
|
5
|
+
import "../chunk-Z3USLQQT.js";
|
|
5
6
|
import "../chunk-NRIV2CQ2.js";
|
|
6
7
|
import "../chunk-ABF64CAQ.js";
|
|
7
8
|
import "../chunk-ZHV7TCAC.js";
|
|
8
|
-
import "../chunk-Z3USLQQT.js";
|
|
9
9
|
import "../chunk-HPK33ACY.js";
|
|
10
10
|
import "../chunk-XJAD6E3V.js";
|
|
11
11
|
import "../chunk-F5H2ZXST.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import "../chunk-UM35GGCS.js";
|
|
2
2
|
import {
|
|
3
3
|
Lightbox_default
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-Z5V5E3JW.js";
|
|
5
5
|
import "../chunk-UOS7DEQZ.js";
|
|
6
6
|
import "../chunk-HZBDTPPV.js";
|
|
7
7
|
import "../chunk-WZERH7E3.js";
|
|
8
8
|
import "../chunk-64UNVW6D.js";
|
|
9
9
|
import "../chunk-SYGM4SHY.js";
|
|
10
10
|
import "../chunk-WLLUARTC.js";
|
|
11
|
-
import "../chunk-RBGUS7WO.js";
|
|
12
|
-
import "../chunk-IOCY5G43.js";
|
|
13
11
|
import "../chunk-W676GY42.js";
|
|
14
12
|
import "../chunk-VQU3CBAL.js";
|
|
13
|
+
import "../chunk-RBGUS7WO.js";
|
|
14
|
+
import "../chunk-IOCY5G43.js";
|
|
15
15
|
import "../chunk-TEQYTEM2.js";
|
|
16
16
|
import "../chunk-XJAD6E3V.js";
|
|
17
17
|
import "../chunk-F5H2ZXST.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "../chunk-EJDOH7IN.js";
|
|
2
2
|
import {
|
|
3
3
|
MapPreview
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-FYJL432J.js";
|
|
5
|
+
import "../chunk-4Y3QLISA.js";
|
|
6
|
+
import "../chunk-KAGXV3ID.js";
|
|
6
7
|
import "../chunk-TDXEWGY2.js";
|
|
7
8
|
import "../chunk-MIUPTZS6.js";
|
|
8
|
-
import "../chunk-ZZ4MMUBY.js";
|
|
9
|
-
import "../chunk-4Y3QLISA.js";
|
|
10
9
|
import "../chunk-ZX4ORMBC.js";
|
|
10
|
+
import "../chunk-ZZ4MMUBY.js";
|
|
11
11
|
import "../chunk-QSRZOXQI.js";
|
|
12
12
|
import "../chunk-5NT2M2JI.js";
|
|
13
13
|
import "../chunk-H2J2MTRE.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunk-QOB473HS.js";
|
|
2
2
|
import {
|
|
3
3
|
Progress
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-3V3Z4EML.js";
|
|
5
|
+
import "../chunk-5JEOLUWJ.js";
|
|
5
6
|
import "../chunk-2L7GNARR.js";
|
|
6
7
|
import "../chunk-IFUWFCPJ.js";
|
|
7
|
-
import "../chunk-5JEOLUWJ.js";
|
|
8
8
|
import "../chunk-2FBGDSGC.js";
|
|
9
9
|
import "../chunk-VBP46YP4.js";
|
|
10
10
|
import "../chunk-44BD7SFH.js";
|
|
@@ -1,21 +1,25 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-WGKLBVDZ.js";
|
|
2
2
|
import {
|
|
3
3
|
RegionMap
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-AYDVNXGR.js";
|
|
5
|
+
import "../chunk-NWUMGE6T.js";
|
|
6
6
|
import "../chunk-BRZKOUEL.js";
|
|
7
7
|
import "../chunk-PBRCKHN3.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-3V5V44UP.js";
|
|
9
|
+
import "../chunk-J3AWGTJY.js";
|
|
10
|
+
import {
|
|
11
|
+
latLngAt,
|
|
12
|
+
scaleMetres
|
|
13
|
+
} from "../chunk-DRYBA76G.js";
|
|
9
14
|
import {
|
|
10
15
|
boundsOfRings,
|
|
11
16
|
regionMapView
|
|
12
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-KAZWBDIH.js";
|
|
13
18
|
import {
|
|
14
19
|
decodePolyline,
|
|
15
20
|
hitRegion,
|
|
16
21
|
projectionAt
|
|
17
|
-
} from "../chunk-
|
|
18
|
-
import "../chunk-J3AWGTJY.js";
|
|
22
|
+
} from "../chunk-MNJZPJ5S.js";
|
|
19
23
|
import "../chunk-PUFA7FQ7.js";
|
|
20
24
|
import "../chunk-B7ZHEOQQ.js";
|
|
21
25
|
import "../chunk-BRHRK7BK.js";
|
|
@@ -46,7 +50,9 @@ export {
|
|
|
46
50
|
boundsOfRings,
|
|
47
51
|
decodePolyline,
|
|
48
52
|
hitRegion,
|
|
53
|
+
latLngAt,
|
|
49
54
|
projectionAt,
|
|
50
|
-
regionMapView
|
|
55
|
+
regionMapView,
|
|
56
|
+
scaleMetres
|
|
51
57
|
};
|
|
52
58
|
//# sourceMappingURL=RegionMap.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import "../chunk-JQRKXMSH.js";
|
|
2
2
|
import {
|
|
3
3
|
NotificationStatusNotice
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-XR474YYX.js";
|
|
5
5
|
import "../chunk-55FFONIV.js";
|
|
6
6
|
import {
|
|
7
7
|
detectNotificationBrowser,
|
|
8
8
|
notificationUnblockSteps
|
|
9
9
|
} from "../chunk-L7BRU4UF.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-Q5SCBQLY.js";
|
|
11
|
+
import "../chunk-UN5WU2OX.js";
|
|
12
12
|
import "../chunk-YBF2WUGQ.js";
|
|
13
|
+
import "../chunk-L7VH6IMR.js";
|
|
13
14
|
import "../chunk-QXUXO22M.js";
|
|
14
15
|
import "../chunk-LNZJJFZQ.js";
|
|
15
|
-
import "../chunk-L7VH6IMR.js";
|
|
16
16
|
import "../chunk-TBQR5VCN.js";
|
|
17
17
|
import "../chunk-YOXYSAUI.js";
|
|
18
18
|
import "../chunk-PPEHBI5O.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import "../chunk-TWAKMV5B.js";
|
|
2
2
|
import {
|
|
3
3
|
SequenceResolver
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-QLKUWDMQ.js";
|
|
5
|
+
import "../chunk-643YFWNK.js";
|
|
6
|
+
import "../chunk-XQAFSC66.js";
|
|
7
|
+
import "../chunk-3I7KE2N6.js";
|
|
8
|
+
import "../chunk-CWRQGA2T.js";
|
|
9
9
|
import "../chunk-2ORD2FMN.js";
|
|
10
10
|
import "../chunk-2SRWPNQ7.js";
|
|
11
11
|
import "../chunk-ALDS5ISD.js";
|
|
12
12
|
import "../chunk-QMRR35W2.js";
|
|
13
13
|
import "../chunk-KZ5F52D6.js";
|
|
14
14
|
import "../chunk-QOB473HS.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-3V3Z4EML.js";
|
|
16
|
+
import "../chunk-5JEOLUWJ.js";
|
|
16
17
|
import "../chunk-2L7GNARR.js";
|
|
17
18
|
import "../chunk-IFUWFCPJ.js";
|
|
18
|
-
import "../chunk-5JEOLUWJ.js";
|
|
19
19
|
import "../chunk-KFJKOVDD.js";
|
|
20
20
|
import "../chunk-KWBMM6MJ.js";
|
|
21
21
|
import "../chunk-5UX5QAFJ.js";
|
|
@@ -24,12 +24,12 @@ import "../chunk-AL5E624U.js";
|
|
|
24
24
|
import "../chunk-GYXUCS37.js";
|
|
25
25
|
import "../chunk-LV7LSPBF.js";
|
|
26
26
|
import "../chunk-AG4F6NVT.js";
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-Q5SCBQLY.js";
|
|
28
|
+
import "../chunk-UN5WU2OX.js";
|
|
29
29
|
import "../chunk-YBF2WUGQ.js";
|
|
30
|
+
import "../chunk-L7VH6IMR.js";
|
|
30
31
|
import "../chunk-QXUXO22M.js";
|
|
31
32
|
import "../chunk-LNZJJFZQ.js";
|
|
32
|
-
import "../chunk-L7VH6IMR.js";
|
|
33
33
|
import "../chunk-TBQR5VCN.js";
|
|
34
34
|
import "../chunk-BA4RHQ3B.js";
|
|
35
35
|
import "../chunk-YOXYSAUI.js";
|
|
@@ -24,5 +24,5 @@ import type { RegionMapProps } from './RegionMap.types';
|
|
|
24
24
|
* - **A toggle is cheap.** Geometry is projected once per `rings` identity,
|
|
25
25
|
* and the base layer is memoised, so a tap re-renders the hatch and labels.
|
|
26
26
|
*/
|
|
27
|
-
export declare function RegionMap({ regions, center, circles, reach, overlay, onToggle, highlightedIds, copy, listMode, listSort, maxHeight, className, dataTestId, }: RegionMapProps): React.JSX.Element | null;
|
|
27
|
+
export declare function RegionMap({ regions, center, circles, pin, ghost, dots, reach, overlay, onToggle, highlightedIds, copy, listMode, listSort, maxHeight, className, dataTestId, }: RegionMapProps): React.JSX.Element | null;
|
|
28
28
|
//# sourceMappingURL=RegionMap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RegionMap.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/RegionMap/RegionMap.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAQxD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,SAAS,CAAC,EACxB,OAAO,EACP,MAAM,EACN,OAAO,EACP,KAAK,EACL,OAAO,EACP,QAAQ,EACR,cAAuB,EACvB,IAAI,EACJ,QAAsB,EACtB,QAAkB,EAClB,SAAS,EACT,SAAS,EACT,UAAyB,GAC1B,EAAE,cAAc,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"RegionMap.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/RegionMap/RegionMap.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAQxD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,SAAS,CAAC,EACxB,OAAO,EACP,MAAM,EACN,OAAO,EACP,GAAG,EACH,KAAK,EACL,IAAI,EACJ,KAAK,EACL,OAAO,EACP,QAAQ,EACR,cAAuB,EACvB,IAAI,EACJ,QAAsB,EACtB,QAAkB,EAClB,SAAS,EACT,SAAS,EACT,UAAyB,GAC1B,EAAE,cAAc,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CA2C3C"}
|
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
import type { RegionMapPoint, RegionMapRegion, RegionMapRing } from './RegionMap.types';
|
|
2
|
+
/**
|
|
3
|
+
* The geometry behind `RegionMap`, kept pure so it is tested without a DOM.
|
|
4
|
+
*
|
|
5
|
+
* Coordinates are projected to METRES on a plane around the centre
|
|
6
|
+
* (equirectangular): within the tens of kilometres a map like this spans, its
|
|
7
|
+
* error is far below any outline's own. `y` grows SOUTH, as SVG's does.
|
|
8
|
+
*/
|
|
9
|
+
/** Metres per degree of latitude on the mean sphere. */
|
|
10
|
+
export declare const METRES_PER_DEGREE = 111195;
|
|
2
11
|
/** A projected point, metres east (`x`) and south (`y`) of the centre. */
|
|
3
12
|
export interface PlanePoint {
|
|
4
13
|
x: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RegionMap.helpers.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/RegionMap/RegionMap.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"RegionMap.helpers.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/RegionMap/RegionMap.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAExF;;;;;;GAMG;AAEH,wDAAwD;AACxD,eAAO,MAAM,iBAAiB,SAAU,CAAC;AAEzC,0EAA0E;AAC1E,MAAM,WAAW,UAAU;IACzB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,0CAA0C;AAC1C,MAAM,WAAW,QAAQ;IACvB,4CAA4C;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,8CAA8C;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;I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AAW,GAAG,eAAe,GAAG;IAAE,QAAQ,EAAE,YAAY,CAAA;CAAE,CAAC;AAEvE,sEAAsE;AACtE,wBAAgB,SAAS,CACvB,OAAO,EAAE,SAAS,eAAe,EAAE,EACnC,UAAU,EAAE,CAAC,KAAK,EAAE,SAAS,aAAa,EAAE,KAAK,YAAY,EAC7D,IAAI,EAAE,QAAQ,GACb,WAAW,EAAE,CAKf;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,SAAM,GAAG,cAAc,EAAE,CAsBjF"}
|
|
@@ -43,6 +43,42 @@ export interface RegionMapRegion {
|
|
|
43
43
|
*/
|
|
44
44
|
detail?: string;
|
|
45
45
|
}
|
|
46
|
+
/** A latitude/longitude pair, by name. */
|
|
47
|
+
export interface RegionMapCenter {
|
|
48
|
+
latitude: number;
|
|
49
|
+
longitude: number;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* The centre as a pin the viewer moves (a store's door). The VIEW stays on
|
|
53
|
+
* `center`; the pin, and the circles with it, are drawn at `at`. Moves are
|
|
54
|
+
* reported, never applied: the host passes the new `at` back.
|
|
55
|
+
*/
|
|
56
|
+
export interface RegionMapPin {
|
|
57
|
+
at: RegionMapCenter;
|
|
58
|
+
/** Printed beside the pin, e.g. "Store". */
|
|
59
|
+
label: string;
|
|
60
|
+
/** The pin's accessible name, e.g. "Store pin. Drag it, or use the arrow keys, to move it". */
|
|
61
|
+
ariaLabel: string;
|
|
62
|
+
/** Every point while a pointer drags it. */
|
|
63
|
+
onMove?: (at: RegionMapCenter) => void;
|
|
64
|
+
/** Where it came to rest: the pointer let go, or an arrow key moved it. */
|
|
65
|
+
onDrop: (at: RegionMapCenter) => void;
|
|
66
|
+
/** Metres one arrow key moves it. Default 50. */
|
|
67
|
+
stepMetres?: number;
|
|
68
|
+
/** Held in place (a save in flight). */
|
|
69
|
+
disabled?: boolean;
|
|
70
|
+
}
|
|
71
|
+
/** Where the pin's outermost circle stood: a dashed ring of `radiusMetres` and a dashed dot at `at`. */
|
|
72
|
+
export interface RegionMapGhost {
|
|
73
|
+
at: RegionMapCenter;
|
|
74
|
+
radiusMetres: number;
|
|
75
|
+
}
|
|
76
|
+
/** A small point on the map (an address), filled or hollow. Not tappable. */
|
|
77
|
+
export interface RegionMapDot {
|
|
78
|
+
id: string;
|
|
79
|
+
at: RegionMapCenter;
|
|
80
|
+
filled: boolean;
|
|
81
|
+
}
|
|
46
82
|
/** A circle drawn around the centre, e.g. a delivery ring. */
|
|
47
83
|
export interface RegionMapCircle {
|
|
48
84
|
radiusMetres: number;
|
|
@@ -96,6 +132,8 @@ export interface RegionMapCopy {
|
|
|
96
132
|
excluded: string;
|
|
97
133
|
outside: string;
|
|
98
134
|
};
|
|
135
|
+
/** A scale bar's length, e.g. "1 km". Omit for no scale bar. */
|
|
136
|
+
scale?: (metres: number) => string;
|
|
99
137
|
}
|
|
100
138
|
/** The order of the list: as given (e.g. nearest first), or by name. */
|
|
101
139
|
export type RegionMapListSort = 'given' | 'name';
|
|
@@ -117,8 +155,14 @@ export interface RegionMapProps {
|
|
|
117
155
|
latitude: number;
|
|
118
156
|
longitude: number;
|
|
119
157
|
} | null;
|
|
120
|
-
/** Circles around the centre; the view fits the largest. */
|
|
158
|
+
/** Circles around the centre (around `pin.at` when there is a pin); the view fits the largest. */
|
|
121
159
|
circles?: readonly RegionMapCircle[];
|
|
160
|
+
/** The centre as a draggable pin; it replaces the centre's dot, and the circles follow it. */
|
|
161
|
+
pin?: RegionMapPin;
|
|
162
|
+
/** A dashed ring and dot where the circles stood (drawn with a `pin`). */
|
|
163
|
+
ghost?: RegionMapGhost;
|
|
164
|
+
/** Small points, filled or hollow, over the areas and under the pin. */
|
|
165
|
+
dots?: readonly RegionMapDot[];
|
|
122
166
|
/**
|
|
123
167
|
* An extent the view must ALSO fit, before its margin — something the host
|
|
124
168
|
* draws past the largest circle. With circles the view stays centred on the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RegionMap.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/RegionMap/RegionMap.types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEhE,gDAAgD;AAChD,MAAM,MAAM,cAAc,GAAG,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;AAE5E,+EAA+E;AAC/E,MAAM,MAAM,aAAa,GAAG,SAAS,cAAc,EAAE,CAAC;AAEtD,sBAAsB;AACtB,MAAM,WAAW,eAAe;IAC9B,2CAA2C;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,EAAE,SAAS,aAAa,EAAE,CAAC;IAChC,wDAAwD;IACxD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,8DAA8D;AAC9D,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,8DAA8D;AAC9D,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG;IAAE,YAAY,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,MAAM,EAAE,eAAe,CAAA;CAAE,CAAC;AAEpF,4EAA4E;AAC5E,MAAM,WAAW,cAAc;IAC7B,4CAA4C;IAC5C,IAAI,EAAE,QAAQ,CAAC;IACf,kEAAkE;IAClE,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,8CAA8C;AAC9C,MAAM,WAAW,aAAa;IAC5B,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC;IACjB,sDAAsD;IACtD,cAAc,EAAE,MAAM,CAAC;IACvB,6EAA6E;IAC7E,YAAY,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,MAAM,CAAC;IAC/C,6CAA6C;IAC7C,YAAY,EAAE,MAAM,CAAC;IACrB,6DAA6D;IAC7D,SAAS,EAAE,MAAM,CAAC;IAClB,uEAAuE;IACvE,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACpC,sCAAsC;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,QAAQ,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"RegionMap.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/RegionMap/RegionMap.types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEhE,gDAAgD;AAChD,MAAM,MAAM,cAAc,GAAG,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;AAE5E,+EAA+E;AAC/E,MAAM,MAAM,aAAa,GAAG,SAAS,cAAc,EAAE,CAAC;AAEtD,sBAAsB;AACtB,MAAM,WAAW,eAAe;IAC9B,2CAA2C;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,qEAAqE;IACrE,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,EAAE,SAAS,aAAa,EAAE,CAAC;IAChC,wDAAwD;IACxD,QA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EAAE,CAAC;IACrC,8FAA8F;IAC9F,GAAG,CAAC,EAAE,YAAY,CAAC;IACnB,0EAA0E;IAC1E,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,wEAAwE;IACxE,IAAI,CAAC,EAAE,SAAS,YAAY,EAAE,CAAC;IAC/B;;;;;OAKG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,KAAK,CAAC,SAAS,CAAC;IACrD;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC;;;OAGG;IACH,cAAc,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,IAAI,EAAE,aAAa,CAAC;IACpB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,gEAAgE;IAChE,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
|
|
@@ -3,6 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { type PlaneBox } from './RegionMap.helpers';
|
|
4
4
|
import type { RegionMapModel } from './RegionMap.hooks';
|
|
5
5
|
import type { RegionMapLayer } from './RegionMap.types';
|
|
6
|
+
import type { Moving } from './RegionMapPin';
|
|
6
7
|
export interface RegionMapDrawingProps {
|
|
7
8
|
model: RegionMapModel & {
|
|
8
9
|
view: PlaneBox;
|
|
@@ -10,6 +11,8 @@ export interface RegionMapDrawingProps {
|
|
|
10
11
|
/** The host's layer, drawn inside the SVG under the circles (`RegionMapProps.overlay`). */
|
|
11
12
|
overlay?: (layer: RegionMapLayer) => React.ReactNode;
|
|
12
13
|
showCenter: boolean;
|
|
14
|
+
/** The movable centre and what is drawn with it (`RegionMapProps.pin`, `ghost`, `dots`). */
|
|
15
|
+
moving?: Moving;
|
|
13
16
|
highlightedIds: readonly string[];
|
|
14
17
|
maxHeight: string | undefined;
|
|
15
18
|
label: string;
|
|
@@ -27,5 +30,5 @@ export interface RegionMapDrawingProps {
|
|
|
27
30
|
* The base areas are a memoised layer: a toggle changes `excluded`, not the
|
|
28
31
|
* geometry, so only the hatch, highlight and label layers re-render.
|
|
29
32
|
*/
|
|
30
|
-
export declare function RegionMapDrawing(
|
|
33
|
+
export declare function RegionMapDrawing(props: RegionMapDrawingProps): React.JSX.Element;
|
|
31
34
|
//# sourceMappingURL=RegionMapDrawing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RegionMapDrawing.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/RegionMap/RegionMapDrawing.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAS,KAAK,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAsD,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACxG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"RegionMapDrawing.d.ts","sourceRoot":"","sources":["../../../../../src/components/data-display/RegionMap/RegionMapDrawing.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAS,KAAK,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAsD,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACxG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAG7C,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,cAAc,GAAG;QAAE,IAAI,EAAE,QAAQ,CAAA;KAAE,CAAC;IAC3C,2FAA2F;IAC3F,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,KAAK,CAAC,SAAS,CAAC;IACrD,UAAU,EAAE,OAAO,CAAC;IACpB,4FAA4F;IAC5F,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;CACd;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAuEhF"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { type Theme } from '@mui/material/styles/index.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { type PlaneBox, type PlanePoint, type Projection } from './RegionMap.helpers';
|
|
4
|
+
import type { RegionMapModel } from './RegionMap.hooks';
|
|
5
|
+
import type { RegionMapCenter, RegionMapCopy, RegionMapDot, RegionMapGhost, RegionMapPin } from './RegionMap.types';
|
|
6
|
+
/**
|
|
7
|
+
* The movable centre of a `RegionMap` (`pin`, `ghost`, `dots`): a pin the
|
|
8
|
+
* viewer drags with a mouse or one finger, or focuses and nudges with the
|
|
9
|
+
* arrow keys, while the VIEW stays where `center` put it — so the areas never
|
|
10
|
+
* slide under a dragging finger. The circles follow the pin; a dashed ring
|
|
11
|
+
* and dot stay at `ghost`; `dots` are small points (filled or hollow).
|
|
12
|
+
*
|
|
13
|
+
* The pin is HTML over the drawing, at its point by percent like the labels,
|
|
14
|
+
* carrying `data-region-pin` so a host that zooms the drawing's layers can
|
|
15
|
+
* move it with them. Its moves are reported, never applied: the host passes
|
|
16
|
+
* the new point back.
|
|
17
|
+
*/
|
|
18
|
+
/** The movable centre and what is drawn with it, as the drawing receives it. */
|
|
19
|
+
export interface Moving {
|
|
20
|
+
center: RegionMapCenter;
|
|
21
|
+
pin?: RegionMapPin;
|
|
22
|
+
ghost?: RegionMapGhost;
|
|
23
|
+
dots?: readonly RegionMapDot[];
|
|
24
|
+
copy: RegionMapCopy;
|
|
25
|
+
}
|
|
26
|
+
type DrawnModel = Pick<RegionMapModel, 'projection' | 'radii'> & {
|
|
27
|
+
view: PlaneBox;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* What the movable centre draws inside the SVG: the circles around the pin
|
|
31
|
+
* (else `fallback`, the centre's own circles), the ghost, and the dots.
|
|
32
|
+
*/
|
|
33
|
+
export declare function PinShapes({ model, moving, testId, theme, fallback }: {
|
|
34
|
+
model: DrawnModel;
|
|
35
|
+
moving: Moving | undefined;
|
|
36
|
+
testId: string;
|
|
37
|
+
theme: Theme;
|
|
38
|
+
fallback: React.ReactNode;
|
|
39
|
+
}): React.JSX.Element;
|
|
40
|
+
/** What the movable centre draws over the SVG, in HTML: the pin and the scale bar. */
|
|
41
|
+
export declare function PinOverlay({ model, moving, svgRef, testId, theme, }: {
|
|
42
|
+
model: DrawnModel;
|
|
43
|
+
moving: Moving | undefined;
|
|
44
|
+
svgRef: React.RefObject<SVGSVGElement | null>;
|
|
45
|
+
testId: string;
|
|
46
|
+
theme: Theme;
|
|
47
|
+
}): React.JSX.Element | null;
|
|
48
|
+
/** The flat projection's inverse around `center` — it is linear. */
|
|
49
|
+
export declare function latLngAt(center: RegionMapCenter, point: PlanePoint): RegionMapCenter;
|
|
50
|
+
interface PinLayerProps {
|
|
51
|
+
pin: RegionMapPin;
|
|
52
|
+
center: RegionMapCenter;
|
|
53
|
+
projection: Projection;
|
|
54
|
+
view: PlaneBox;
|
|
55
|
+
/** The drawing's SVG, whose on-screen box maps a pointer to the plane (zoomed or not). */
|
|
56
|
+
svgRef: React.RefObject<SVGSVGElement | null>;
|
|
57
|
+
testId: string;
|
|
58
|
+
theme: Theme;
|
|
59
|
+
}
|
|
60
|
+
/** The draggable pin, as HTML over the drawing. */
|
|
61
|
+
export declare function PinMarker({ pin, center, projection, view, svgRef, testId, theme }: PinLayerProps): React.JSX.Element;
|
|
62
|
+
/** The circles around the pin: solid in the primary colour, faintly filled. */
|
|
63
|
+
export declare function PinCircles({ at, radii, theme }: {
|
|
64
|
+
at: PlanePoint;
|
|
65
|
+
radii: readonly number[];
|
|
66
|
+
theme: Theme;
|
|
67
|
+
}): React.JSX.Element;
|
|
68
|
+
/** Where the circles stood: a dashed ring and dot at `ghost`, and a dashed line from it to the pin. */
|
|
69
|
+
export declare function GhostShapes({ ghost, pinAt, projection, view, testId, theme, }: {
|
|
70
|
+
ghost: RegionMapGhost;
|
|
71
|
+
pinAt: PlanePoint;
|
|
72
|
+
projection: Projection;
|
|
73
|
+
view: PlaneBox;
|
|
74
|
+
testId: string;
|
|
75
|
+
theme: Theme;
|
|
76
|
+
}): React.JSX.Element;
|
|
77
|
+
/** The dots: filled with the ink, or hollow (paper with an ink ring). */
|
|
78
|
+
export declare function Dots({ dots, projection, view, testId, theme }: {
|
|
79
|
+
dots: readonly RegionMapDot[];
|
|
80
|
+
projection: Projection;
|
|
81
|
+
view: PlaneBox;
|
|
82
|
+
testId: string;
|
|
83
|
+
theme: Theme;
|
|
84
|
+
}): React.JSX.Element;
|
|
85
|
+
/** The longest nice length that fits in a quarter of the drawing's width. */
|
|
86
|
+
export declare function scaleMetres(view: PlaneBox): number;
|
|
87
|
+
/**
|
|
88
|
+
* A scale bar, bottom-left, when the host gives `copy.scale`. It reads what is
|
|
89
|
+
* on screen: a host that zooms the drawing's layers (a CSS scale on the SVG)
|
|
90
|
+
* shows fewer metres per pixel, so after every render the bar compares the
|
|
91
|
+
* SVG's drawn width with its laid-out width — both off the SVG itself — and
|
|
92
|
+
* spans the drawing's own width, so its share of it is a share of the view.
|
|
93
|
+
*/
|
|
94
|
+
export declare function ScaleBar({ view, copy, svgRef, testId, theme, }: {
|
|
95
|
+
view: PlaneBox;
|
|
96
|
+
copy: RegionMapCopy;
|
|
97
|
+
svgRef: React.RefObject<SVGSVGElement | null>;
|
|
98
|
+
testId: string;
|
|
99
|
+
theme: Theme;
|
|
100
|
+
}): React.JSX.Element | null;
|
|
101
|
+
export {};
|
|
102
|
+
//# sourceMappingURL=RegionMapPin.d.ts.map
|