react-native-map4d-map-dtqg 0.1.4 → 0.1.6
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/README.md +58 -0
- package/android/.gradle/9.2.0/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/android/build.gradle +23 -2
- package/android/src/main/java/com/reactnativemap4dmap/Map4dMapModule.java +39 -27
- package/ios/Map4dMap.h +12 -3
- package/ios/Map4dMap.m +108 -3
- package/ios/Map4dMapTurbo.mm +16 -0
- package/ios/RMFCircleManager.m +40 -68
- package/ios/RMFDirectionsRendererManager.m +26 -24
- package/ios/RMFMapViewManager.m +64 -149
- package/ios/RMFMarkerManager.m +36 -64
- package/ios/RMFPOIManager.m +40 -74
- package/ios/RMFPolygonManager.m +38 -60
- package/ios/RMFPolylineManager.m +36 -58
- package/ios/building/RMFBuildingManager.m +36 -64
- package/lib/commonjs/components/MFBanDoSo/constants.js +30 -0
- package/lib/commonjs/components/MFBanDoSo/constants.js.map +1 -0
- package/lib/commonjs/components/MFBanDoSo/helpers.js +200 -0
- package/lib/commonjs/components/MFBanDoSo/helpers.js.map +1 -0
- package/lib/commonjs/components/MFBanDoSo/propTypes.js +18 -0
- package/lib/commonjs/components/MFBanDoSo/propTypes.js.map +1 -0
- package/lib/commonjs/components/MFBanDoSo/styles.js +334 -0
- package/lib/commonjs/components/MFBanDoSo/styles.js.map +1 -0
- package/lib/commonjs/components/MFBanDoSo/ui.js +231 -0
- package/lib/commonjs/components/MFBanDoSo/ui.js.map +1 -0
- package/lib/commonjs/components/MFBanDoSo.js +201 -73
- package/lib/commonjs/components/MFBanDoSo.js.map +1 -1
- package/lib/commonjs/components/MFBuilding.js +15 -90
- package/lib/commonjs/components/MFBuilding.js.map +1 -1
- package/lib/commonjs/components/MFCircle.js +20 -88
- package/lib/commonjs/components/MFCircle.js.map +1 -1
- package/lib/commonjs/components/MFDirectionsRenderer.js +15 -93
- package/lib/commonjs/components/MFDirectionsRenderer.js.map +1 -1
- package/lib/commonjs/components/MFMapView.js +50 -147
- package/lib/commonjs/components/MFMapView.js.map +1 -1
- package/lib/commonjs/components/MFMarker.js +15 -101
- package/lib/commonjs/components/MFMarker.js.map +1 -1
- package/lib/commonjs/components/MFPOI.js +17 -92
- package/lib/commonjs/components/MFPOI.js.map +1 -1
- package/lib/commonjs/components/MFPolygon.js +15 -87
- package/lib/commonjs/components/MFPolygon.js.map +1 -1
- package/lib/commonjs/components/MFPolyline.js +17 -87
- package/lib/commonjs/components/MFPolyline.js.map +1 -1
- package/lib/commonjs/components/MFTileOverlay.js +7 -15
- package/lib/commonjs/components/MFTileOverlay.js.map +1 -1
- package/lib/commonjs/components/Map4dMapView.js +1 -4
- package/lib/commonjs/components/Map4dMapView.js.map +1 -1
- package/lib/commonjs/components/extends/AreaFocusManager.js +4 -38
- package/lib/commonjs/components/extends/AreaFocusManager.js.map +1 -1
- package/lib/commonjs/components/extends/AreaFocuser.js +1 -17
- package/lib/commonjs/components/extends/AreaFocuser.js.map +1 -1
- package/lib/commonjs/components/extends/BoundHelper.js +0 -6
- package/lib/commonjs/components/extends/BoundHelper.js.map +1 -1
- package/lib/commonjs/components/extends/area/AreaFocusAreas.js +0 -37
- package/lib/commonjs/components/extends/area/AreaFocusAreas.js.map +1 -1
- package/lib/commonjs/components/extends/area/AreaFocusGeometryUtils.js +1 -35
- package/lib/commonjs/components/extends/area/AreaFocusGeometryUtils.js.map +1 -1
- package/lib/commonjs/components/extends/area/AreaFocusSession.js +0 -18
- package/lib/commonjs/components/extends/area/AreaFocusSession.js.map +1 -1
- package/lib/commonjs/components/extends/area/AreaFocusTypes.js +2 -3
- package/lib/commonjs/components/extends/area/AreaFocusTypes.js.map +1 -1
- package/lib/commonjs/components/internal/DefaultRoadmapStyle.js +1 -2
- package/lib/commonjs/components/internal/DefaultRoadmapStyle.js.map +1 -1
- package/lib/commonjs/components/internal/GeojsonStyleUtils.js +20 -31
- package/lib/commonjs/components/internal/GeojsonStyleUtils.js.map +1 -1
- package/lib/commonjs/index.js +0 -11
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/native/Map4dMapNativeModule.js +10 -0
- package/lib/commonjs/native/Map4dMapNativeModule.js.map +1 -0
- package/lib/commonjs/native/NativeModuleResolver.js +35 -0
- package/lib/commonjs/native/NativeModuleResolver.js.map +1 -0
- package/lib/commonjs/native/ViewManagerCommand.js +67 -0
- package/lib/commonjs/native/ViewManagerCommand.js.map +1 -0
- package/lib/commonjs/package.json +1 -0
- package/lib/commonjs/specs/NativeMap4dMap.js +9 -0
- package/lib/commonjs/specs/NativeMap4dMap.js.map +1 -0
- package/lib/module/components/MFBanDoSo/constants.js +25 -0
- package/lib/module/components/MFBanDoSo/constants.js.map +1 -0
- package/lib/module/components/MFBanDoSo/helpers.js +188 -0
- package/lib/module/components/MFBanDoSo/helpers.js.map +1 -0
- package/lib/module/components/MFBanDoSo/propTypes.js +14 -0
- package/lib/module/components/MFBanDoSo/propTypes.js.map +1 -0
- package/lib/module/components/MFBanDoSo/styles.js +332 -0
- package/lib/module/components/MFBanDoSo/styles.js.map +1 -0
- package/lib/module/components/MFBanDoSo/ui.js +224 -0
- package/lib/module/components/MFBanDoSo/ui.js.map +1 -0
- package/lib/module/components/MFBanDoSo.js +203 -63
- package/lib/module/components/MFBanDoSo.js.map +1 -1
- package/lib/module/components/MFBuilding.js +17 -82
- package/lib/module/components/MFBuilding.js.map +1 -1
- package/lib/module/components/MFCircle.js +22 -80
- package/lib/module/components/MFCircle.js.map +1 -1
- package/lib/module/components/MFDirectionsRenderer.js +16 -85
- package/lib/module/components/MFDirectionsRenderer.js.map +1 -1
- package/lib/module/components/MFMapView.js +51 -136
- package/lib/module/components/MFMapView.js.map +1 -1
- package/lib/module/components/MFMarker.js +17 -92
- package/lib/module/components/MFMarker.js.map +1 -1
- package/lib/module/components/MFPOI.js +19 -84
- package/lib/module/components/MFPOI.js.map +1 -1
- package/lib/module/components/MFPolygon.js +17 -79
- package/lib/module/components/MFPolygon.js.map +1 -1
- package/lib/module/components/MFPolyline.js +19 -79
- package/lib/module/components/MFPolyline.js.map +1 -1
- package/lib/module/components/MFTileOverlay.js +10 -9
- package/lib/module/components/MFTileOverlay.js.map +1 -1
- package/lib/module/components/Map4dMapView.js +2 -0
- package/lib/module/components/Map4dMapView.js.map +1 -1
- package/lib/module/components/extends/AreaFocusManager.js +6 -32
- package/lib/module/components/extends/AreaFocusManager.js.map +1 -1
- package/lib/module/components/extends/AreaFocuser.js +3 -15
- package/lib/module/components/extends/AreaFocuser.js.map +1 -1
- package/lib/module/components/extends/BoundHelper.js +2 -5
- package/lib/module/components/extends/BoundHelper.js.map +1 -1
- package/lib/module/components/extends/area/AreaFocusAreas.js +2 -33
- package/lib/module/components/extends/area/AreaFocusAreas.js.map +1 -1
- package/lib/module/components/extends/area/AreaFocusGeometryUtils.js +2 -32
- package/lib/module/components/extends/area/AreaFocusGeometryUtils.js.map +1 -1
- package/lib/module/components/extends/area/AreaFocusSession.js +2 -17
- package/lib/module/components/extends/area/AreaFocusSession.js.map +1 -1
- package/lib/module/components/extends/area/AreaFocusTypes.js +3 -0
- package/lib/module/components/extends/area/AreaFocusTypes.js.map +1 -1
- package/lib/module/components/internal/DefaultRoadmapStyle.js +2 -0
- package/lib/module/components/internal/DefaultRoadmapStyle.js.map +1 -1
- package/lib/module/components/internal/GeojsonStyleUtils.js +21 -28
- package/lib/module/components/internal/GeojsonStyleUtils.js.map +1 -1
- package/lib/module/index.js +2 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/native/Map4dMapNativeModule.js +5 -0
- package/lib/module/native/Map4dMapNativeModule.js.map +1 -0
- package/lib/module/native/NativeModuleResolver.js +29 -0
- package/lib/module/native/NativeModuleResolver.js.map +1 -0
- package/lib/module/native/ViewManagerCommand.js +61 -0
- package/lib/module/native/ViewManagerCommand.js.map +1 -0
- package/lib/module/specs/NativeMap4dMap.js +5 -0
- package/lib/module/specs/NativeMap4dMap.js.map +1 -0
- package/lib/typescript/components/MFBanDoSo/constants.d.ts +11 -0
- package/lib/typescript/components/MFBanDoSo/constants.d.ts.map +1 -0
- package/lib/typescript/components/MFBanDoSo/helpers.d.ts +14 -0
- package/lib/typescript/components/MFBanDoSo/helpers.d.ts.map +1 -0
- package/lib/typescript/components/MFBanDoSo/propTypes.d.ts +2 -0
- package/lib/typescript/components/MFBanDoSo/propTypes.d.ts.map +1 -0
- package/lib/typescript/components/MFBanDoSo/styles.d.ts +336 -0
- package/lib/typescript/components/MFBanDoSo/styles.d.ts.map +1 -0
- package/lib/typescript/components/MFBanDoSo/ui.d.ts +32 -0
- package/lib/typescript/components/MFBanDoSo/ui.d.ts.map +1 -0
- package/lib/typescript/components/MFBanDoSo.d.ts +38 -0
- package/lib/typescript/components/MFBanDoSo.d.ts.map +1 -0
- package/lib/typescript/components/MFBuilding.d.ts +24 -0
- package/lib/typescript/components/MFBuilding.d.ts.map +1 -0
- package/lib/typescript/components/MFCircle.d.ts +24 -0
- package/lib/typescript/components/MFCircle.d.ts.map +1 -0
- package/lib/typescript/components/MFDirectionsRenderer.d.ts +19 -0
- package/lib/typescript/components/MFDirectionsRenderer.d.ts.map +1 -0
- package/lib/typescript/components/MFMapView.d.ts +66 -0
- package/lib/typescript/components/MFMapView.d.ts.map +1 -0
- package/lib/typescript/components/MFMarker.d.ts +26 -0
- package/lib/typescript/components/MFMarker.d.ts.map +1 -0
- package/lib/typescript/components/MFPOI.d.ts +24 -0
- package/lib/typescript/components/MFPOI.d.ts.map +1 -0
- package/lib/typescript/components/MFPolygon.d.ts +24 -0
- package/lib/typescript/components/MFPolygon.d.ts.map +1 -0
- package/lib/typescript/components/MFPolyline.d.ts +24 -0
- package/lib/typescript/components/MFPolyline.d.ts.map +1 -0
- package/lib/typescript/components/MFTileOverlay.d.ts +12 -0
- package/lib/typescript/components/MFTileOverlay.d.ts.map +1 -0
- package/lib/typescript/components/Map4dMapView.d.ts +8 -7
- package/lib/typescript/components/Map4dMapView.d.ts.map +1 -0
- package/lib/typescript/components/extends/AreaFocusManager.d.ts +34 -0
- package/lib/typescript/components/extends/AreaFocusManager.d.ts.map +1 -0
- package/lib/typescript/components/extends/AreaFocuser.d.ts +15 -0
- package/lib/typescript/components/extends/AreaFocuser.d.ts.map +1 -0
- package/lib/typescript/components/extends/BoundHelper.d.ts +11 -0
- package/lib/typescript/components/extends/BoundHelper.d.ts.map +1 -0
- package/lib/typescript/components/extends/area/AreaFocusAreas.d.ts +58 -0
- package/lib/typescript/components/extends/area/AreaFocusAreas.d.ts.map +1 -0
- package/lib/typescript/components/extends/area/AreaFocusGeometryUtils.d.ts +19 -0
- package/lib/typescript/components/extends/area/AreaFocusGeometryUtils.d.ts.map +1 -0
- package/lib/typescript/components/extends/area/AreaFocusSession.d.ts +14 -0
- package/lib/typescript/components/extends/area/AreaFocusSession.d.ts.map +1 -0
- package/lib/typescript/components/extends/area/AreaFocusTypes.d.ts +40 -0
- package/lib/typescript/components/extends/area/AreaFocusTypes.d.ts.map +1 -0
- package/lib/typescript/components/internal/DefaultRoadmapStyle.d.ts +820 -0
- package/lib/typescript/components/internal/DefaultRoadmapStyle.d.ts.map +1 -0
- package/lib/typescript/components/internal/GeojsonStyleUtils.d.ts +3 -0
- package/lib/typescript/components/internal/GeojsonStyleUtils.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +13 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/native/Map4dMapNativeModule.d.ts +2 -0
- package/lib/typescript/native/Map4dMapNativeModule.d.ts.map +1 -0
- package/lib/typescript/native/NativeModuleResolver.d.ts +3 -0
- package/lib/typescript/native/NativeModuleResolver.d.ts.map +1 -0
- package/lib/typescript/native/ViewManagerCommand.d.ts +11 -0
- package/lib/typescript/native/ViewManagerCommand.d.ts.map +1 -0
- package/package.json +27 -11
- package/src/components/MFBanDoSo/constants.js +38 -0
- package/src/components/MFBanDoSo/helpers.js +273 -0
- package/src/components/MFBanDoSo/propTypes.js +14 -0
- package/src/components/MFBanDoSo/styles.js +323 -0
- package/src/components/MFBanDoSo/ui.js +261 -0
- package/src/components/MFBanDoSo.js +280 -78
- package/src/components/MFBuilding.js +8 -48
- package/src/components/MFCircle.js +8 -48
- package/src/components/MFDirectionsRenderer.js +8 -47
- package/src/components/MFMapView.js +31 -53
- package/src/components/MFMarker.js +9 -50
- package/src/components/MFPOI.js +8 -48
- package/src/components/MFPolygon.js +8 -48
- package/src/components/MFPolyline.js +8 -48
- package/src/components/internal/GeojsonStyleUtils.js +3 -0
- package/src/native/Map4dMapNativeModule.js +3 -0
- package/src/native/NativeModuleResolver.js +33 -0
- package/src/native/ViewManagerCommand.js +82 -0
- package/src/specs/NativeMap4dMap.js +12 -0
- package/ios/Map4dMapViewManager.m +0 -34
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import { StyleSheet } from 'react-native';
|
|
4
|
+
|
|
5
|
+
// Workaround for a React Native Fabric/Android Yoga bug: an absolutely-positioned
|
|
6
|
+
// view stretched via top+bottom (e.g. StyleSheet.absoluteFillObject) can have its
|
|
7
|
+
// top offset silently dropped, collapsing the view to zero height pinned at the
|
|
8
|
+
// parent's bottom edge. Anchoring with top + height: '100%' instead avoids that
|
|
9
|
+
// code path. Do not replace this with absoluteFillObject/bottom-based stretching.
|
|
10
|
+
const fullFill = {
|
|
11
|
+
position: 'absolute',
|
|
12
|
+
top: 0,
|
|
13
|
+
left: 0,
|
|
14
|
+
right: 0,
|
|
15
|
+
height: '100%'
|
|
16
|
+
};
|
|
17
|
+
const styles = StyleSheet.create({
|
|
18
|
+
hiddenButton: {
|
|
19
|
+
display: 'none'
|
|
20
|
+
},
|
|
21
|
+
layerButton: {
|
|
22
|
+
position: 'absolute',
|
|
23
|
+
top: 16,
|
|
24
|
+
right: 12,
|
|
25
|
+
width: 42,
|
|
26
|
+
height: 42,
|
|
27
|
+
borderRadius: 21,
|
|
28
|
+
borderWidth: 1,
|
|
29
|
+
borderColor: '#d1d5db',
|
|
30
|
+
backgroundColor: '#ffffff',
|
|
31
|
+
alignItems: 'center',
|
|
32
|
+
justifyContent: 'center',
|
|
33
|
+
shadowColor: '#000000',
|
|
34
|
+
shadowOpacity: 0.14,
|
|
35
|
+
shadowRadius: 8,
|
|
36
|
+
shadowOffset: {
|
|
37
|
+
width: 0,
|
|
38
|
+
height: 3
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
layerButtonActive: {
|
|
42
|
+
borderColor: '#3b82f6',
|
|
43
|
+
backgroundColor: '#eff6ff'
|
|
44
|
+
},
|
|
45
|
+
legendButton: {
|
|
46
|
+
top: 66
|
|
47
|
+
},
|
|
48
|
+
layerIconBoxPrimary: {
|
|
49
|
+
position: 'absolute',
|
|
50
|
+
width: 12,
|
|
51
|
+
height: 12,
|
|
52
|
+
borderRadius: 3,
|
|
53
|
+
borderWidth: 1.4,
|
|
54
|
+
borderColor: '#6b7280',
|
|
55
|
+
backgroundColor: '#eef2f7',
|
|
56
|
+
transform: [{
|
|
57
|
+
translateX: -2
|
|
58
|
+
}, {
|
|
59
|
+
translateY: -2
|
|
60
|
+
}]
|
|
61
|
+
},
|
|
62
|
+
layerIconBoxSecondary: {
|
|
63
|
+
position: 'absolute',
|
|
64
|
+
width: 12,
|
|
65
|
+
height: 12,
|
|
66
|
+
borderRadius: 3,
|
|
67
|
+
borderWidth: 1.4,
|
|
68
|
+
borderColor: '#4b5563',
|
|
69
|
+
backgroundColor: '#ffffff',
|
|
70
|
+
transform: [{
|
|
71
|
+
translateX: 2
|
|
72
|
+
}, {
|
|
73
|
+
translateY: 2
|
|
74
|
+
}]
|
|
75
|
+
},
|
|
76
|
+
legendToggleIconRow: {
|
|
77
|
+
width: 16,
|
|
78
|
+
flexDirection: 'row',
|
|
79
|
+
alignItems: 'center',
|
|
80
|
+
marginVertical: 1
|
|
81
|
+
},
|
|
82
|
+
legendToggleIconDot: {
|
|
83
|
+
width: 4,
|
|
84
|
+
height: 4,
|
|
85
|
+
borderRadius: 2,
|
|
86
|
+
backgroundColor: '#4b5563',
|
|
87
|
+
marginRight: 3
|
|
88
|
+
},
|
|
89
|
+
legendToggleIconLine: {
|
|
90
|
+
flex: 1,
|
|
91
|
+
height: 2,
|
|
92
|
+
borderRadius: 1,
|
|
93
|
+
backgroundColor: '#6b7280'
|
|
94
|
+
},
|
|
95
|
+
selectorContainer: {
|
|
96
|
+
...fullFill
|
|
97
|
+
},
|
|
98
|
+
selectorBackdrop: {
|
|
99
|
+
...fullFill,
|
|
100
|
+
backgroundColor: '#11182740'
|
|
101
|
+
},
|
|
102
|
+
selectorBackdropPressable: {
|
|
103
|
+
...fullFill
|
|
104
|
+
},
|
|
105
|
+
selectorPanel: {
|
|
106
|
+
position: 'absolute',
|
|
107
|
+
top: 0,
|
|
108
|
+
left: 0,
|
|
109
|
+
height: '100%',
|
|
110
|
+
width: '76%',
|
|
111
|
+
maxWidth: 320,
|
|
112
|
+
minWidth: 260,
|
|
113
|
+
backgroundColor: '#f3f4f6',
|
|
114
|
+
borderTopRightRadius: 14,
|
|
115
|
+
borderBottomRightRadius: 14,
|
|
116
|
+
paddingHorizontal: 14,
|
|
117
|
+
paddingTop: 18,
|
|
118
|
+
paddingBottom: 14,
|
|
119
|
+
shadowColor: '#000000',
|
|
120
|
+
shadowOpacity: 0.2,
|
|
121
|
+
shadowRadius: 14,
|
|
122
|
+
shadowOffset: {
|
|
123
|
+
width: 2,
|
|
124
|
+
height: 0
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
selectorHeader: {
|
|
128
|
+
marginBottom: 10
|
|
129
|
+
},
|
|
130
|
+
selectorTitle: {
|
|
131
|
+
fontSize: 15,
|
|
132
|
+
fontWeight: '700',
|
|
133
|
+
color: '#1f2937'
|
|
134
|
+
},
|
|
135
|
+
selectorList: {
|
|
136
|
+
flex: 1
|
|
137
|
+
},
|
|
138
|
+
selectorGrid: {
|
|
139
|
+
paddingBottom: 10
|
|
140
|
+
},
|
|
141
|
+
selectorGroupSection: {
|
|
142
|
+
marginBottom: 8
|
|
143
|
+
},
|
|
144
|
+
selectorGroupHeader: {
|
|
145
|
+
flexDirection: 'row',
|
|
146
|
+
alignItems: 'center',
|
|
147
|
+
minHeight: 28,
|
|
148
|
+
paddingHorizontal: 0,
|
|
149
|
+
marginBottom: 6
|
|
150
|
+
},
|
|
151
|
+
selectorGroupCheckAction: {
|
|
152
|
+
width: 18,
|
|
153
|
+
alignItems: 'center',
|
|
154
|
+
justifyContent: 'center',
|
|
155
|
+
marginRight: 10
|
|
156
|
+
},
|
|
157
|
+
selectorGroupToggleAction: {
|
|
158
|
+
flex: 1,
|
|
159
|
+
minHeight: 28,
|
|
160
|
+
flexDirection: 'row',
|
|
161
|
+
alignItems: 'center',
|
|
162
|
+
marginLeft: 2,
|
|
163
|
+
paddingLeft: 2
|
|
164
|
+
},
|
|
165
|
+
selectorGroupChevronTriangle: {
|
|
166
|
+
width: 0,
|
|
167
|
+
height: 0,
|
|
168
|
+
marginRight: 10
|
|
169
|
+
},
|
|
170
|
+
selectorGroupChevronCollapsed: {
|
|
171
|
+
borderTopWidth: 5,
|
|
172
|
+
borderBottomWidth: 5,
|
|
173
|
+
borderLeftWidth: 7,
|
|
174
|
+
borderTopColor: 'transparent',
|
|
175
|
+
borderBottomColor: 'transparent',
|
|
176
|
+
borderLeftColor: '#374151'
|
|
177
|
+
},
|
|
178
|
+
selectorGroupChevronExpanded: {
|
|
179
|
+
borderLeftWidth: 5,
|
|
180
|
+
borderRightWidth: 5,
|
|
181
|
+
borderTopWidth: 7,
|
|
182
|
+
borderLeftColor: 'transparent',
|
|
183
|
+
borderRightColor: 'transparent',
|
|
184
|
+
borderTopColor: '#374151',
|
|
185
|
+
marginTop: 1
|
|
186
|
+
},
|
|
187
|
+
selectorGroupTitle: {
|
|
188
|
+
flex: 1,
|
|
189
|
+
fontSize: 16,
|
|
190
|
+
fontWeight: '700',
|
|
191
|
+
color: '#374151'
|
|
192
|
+
},
|
|
193
|
+
selectorGroupBody: {
|
|
194
|
+
paddingLeft: 24,
|
|
195
|
+
paddingTop: 0
|
|
196
|
+
},
|
|
197
|
+
selectorRow: {
|
|
198
|
+
flexDirection: 'row',
|
|
199
|
+
alignItems: 'center',
|
|
200
|
+
minHeight: 34,
|
|
201
|
+
marginBottom: 6,
|
|
202
|
+
paddingRight: 6
|
|
203
|
+
},
|
|
204
|
+
selectorLabel: {
|
|
205
|
+
flex: 1,
|
|
206
|
+
fontSize: 15,
|
|
207
|
+
color: '#2f343a',
|
|
208
|
+
lineHeight: 22,
|
|
209
|
+
fontWeight: '500'
|
|
210
|
+
},
|
|
211
|
+
checkboxOuter: {
|
|
212
|
+
width: 18,
|
|
213
|
+
height: 18,
|
|
214
|
+
borderRadius: 4,
|
|
215
|
+
borderWidth: 1.5,
|
|
216
|
+
marginRight: 10,
|
|
217
|
+
marginTop: 2,
|
|
218
|
+
borderColor: '#b7bcc3',
|
|
219
|
+
alignItems: 'center',
|
|
220
|
+
justifyContent: 'center',
|
|
221
|
+
backgroundColor: '#ffffff'
|
|
222
|
+
},
|
|
223
|
+
checkboxOuterChecked: {
|
|
224
|
+
borderColor: '#2563eb',
|
|
225
|
+
backgroundColor: '#2563eb'
|
|
226
|
+
},
|
|
227
|
+
checkboxMark: {
|
|
228
|
+
fontSize: 11,
|
|
229
|
+
fontWeight: '700',
|
|
230
|
+
color: '#ffffff',
|
|
231
|
+
lineHeight: 11
|
|
232
|
+
},
|
|
233
|
+
groupCheckOuter: {
|
|
234
|
+
width: 18,
|
|
235
|
+
height: 18,
|
|
236
|
+
borderRadius: 4,
|
|
237
|
+
borderWidth: 1.5,
|
|
238
|
+
borderColor: '#b7bcc3',
|
|
239
|
+
backgroundColor: '#ffffff',
|
|
240
|
+
alignItems: 'center',
|
|
241
|
+
justifyContent: 'center'
|
|
242
|
+
},
|
|
243
|
+
groupCheckOuterChecked: {
|
|
244
|
+
borderColor: '#2563eb',
|
|
245
|
+
backgroundColor: '#2563eb'
|
|
246
|
+
},
|
|
247
|
+
groupCheckOuterIndeterminate: {
|
|
248
|
+
borderColor: '#2563eb',
|
|
249
|
+
backgroundColor: '#ffffff'
|
|
250
|
+
},
|
|
251
|
+
groupCheckMark: {
|
|
252
|
+
fontSize: 11,
|
|
253
|
+
fontWeight: '700',
|
|
254
|
+
color: '#ffffff',
|
|
255
|
+
lineHeight: 11
|
|
256
|
+
},
|
|
257
|
+
groupCheckIndeterminateMark: {
|
|
258
|
+
width: 8,
|
|
259
|
+
height: 8,
|
|
260
|
+
borderRadius: 1,
|
|
261
|
+
backgroundColor: '#2563eb'
|
|
262
|
+
},
|
|
263
|
+
legendContainer: {
|
|
264
|
+
...fullFill
|
|
265
|
+
},
|
|
266
|
+
legendPanel: {
|
|
267
|
+
position: 'absolute',
|
|
268
|
+
right: 12,
|
|
269
|
+
bottom: 20,
|
|
270
|
+
width: 160,
|
|
271
|
+
maxHeight: 240,
|
|
272
|
+
backgroundColor: '#FFFFFFF5',
|
|
273
|
+
borderRadius: 12,
|
|
274
|
+
paddingHorizontal: 10,
|
|
275
|
+
paddingVertical: 8,
|
|
276
|
+
shadowColor: '#000000',
|
|
277
|
+
shadowOpacity: 0.12,
|
|
278
|
+
shadowRadius: 10,
|
|
279
|
+
shadowOffset: {
|
|
280
|
+
width: 0,
|
|
281
|
+
height: 4
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
legendTitle: {
|
|
285
|
+
fontSize: 13,
|
|
286
|
+
fontWeight: '600',
|
|
287
|
+
color: '#9ca3af',
|
|
288
|
+
marginBottom: 6
|
|
289
|
+
},
|
|
290
|
+
legendDivider: {
|
|
291
|
+
height: 1,
|
|
292
|
+
backgroundColor: '#e5e7eb',
|
|
293
|
+
marginBottom: 6
|
|
294
|
+
},
|
|
295
|
+
legendList: {
|
|
296
|
+
maxHeight: 188,
|
|
297
|
+
marginLeft: -10,
|
|
298
|
+
marginRight: -8
|
|
299
|
+
},
|
|
300
|
+
legendListInner: {
|
|
301
|
+
paddingBottom: 2,
|
|
302
|
+
paddingHorizontal: 10
|
|
303
|
+
},
|
|
304
|
+
legendRow: {
|
|
305
|
+
flexDirection: 'row',
|
|
306
|
+
alignItems: 'center',
|
|
307
|
+
minHeight: 24,
|
|
308
|
+
marginBottom: 3,
|
|
309
|
+
paddingRight: 2
|
|
310
|
+
},
|
|
311
|
+
legendLabel: {
|
|
312
|
+
flex: 1,
|
|
313
|
+
fontSize: 13,
|
|
314
|
+
color: '#6b7280',
|
|
315
|
+
fontWeight: '500'
|
|
316
|
+
},
|
|
317
|
+
legendDot: {
|
|
318
|
+
width: 10,
|
|
319
|
+
height: 10,
|
|
320
|
+
borderRadius: 5,
|
|
321
|
+
borderWidth: 2,
|
|
322
|
+
marginRight: 8,
|
|
323
|
+
backgroundColor: '#9ca3af',
|
|
324
|
+
borderColor: '#9ca3af'
|
|
325
|
+
},
|
|
326
|
+
legendDotUnchecked: {
|
|
327
|
+
backgroundColor: '#ffffff',
|
|
328
|
+
borderColor: '#9ca3af'
|
|
329
|
+
}
|
|
330
|
+
});
|
|
331
|
+
export { styles };
|
|
332
|
+
//# sourceMappingURL=styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","fullFill","position","top","left","right","height","styles","create","hiddenButton","display","layerButton","width","borderRadius","borderWidth","borderColor","backgroundColor","alignItems","justifyContent","shadowColor","shadowOpacity","shadowRadius","shadowOffset","layerButtonActive","legendButton","layerIconBoxPrimary","transform","translateX","translateY","layerIconBoxSecondary","legendToggleIconRow","flexDirection","marginVertical","legendToggleIconDot","marginRight","legendToggleIconLine","flex","selectorContainer","selectorBackdrop","selectorBackdropPressable","selectorPanel","maxWidth","minWidth","borderTopRightRadius","borderBottomRightRadius","paddingHorizontal","paddingTop","paddingBottom","selectorHeader","marginBottom","selectorTitle","fontSize","fontWeight","color","selectorList","selectorGrid","selectorGroupSection","selectorGroupHeader","minHeight","selectorGroupCheckAction","selectorGroupToggleAction","marginLeft","paddingLeft","selectorGroupChevronTriangle","selectorGroupChevronCollapsed","borderTopWidth","borderBottomWidth","borderLeftWidth","borderTopColor","borderBottomColor","borderLeftColor","selectorGroupChevronExpanded","borderRightWidth","borderRightColor","marginTop","selectorGroupTitle","selectorGroupBody","selectorRow","paddingRight","selectorLabel","lineHeight","checkboxOuter","checkboxOuterChecked","checkboxMark","groupCheckOuter","groupCheckOuterChecked","groupCheckOuterIndeterminate","groupCheckMark","groupCheckIndeterminateMark","legendContainer","legendPanel","bottom","maxHeight","paddingVertical","legendTitle","legendDivider","legendList","legendListInner","legendRow","legendLabel","legendDot","legendDotUnchecked"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/MFBanDoSo/styles.js"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;;AAEzC;AACA;AACA;AACA;AACA;AACA,MAAMC,QAAQ,GAAG;EACfC,QAAQ,EAAE,UAAU;EACpBC,GAAG,EAAE,CAAC;EACNC,IAAI,EAAE,CAAC;EACPC,KAAK,EAAE,CAAC;EACRC,MAAM,EAAE;AACV,CAAC;AAED,MAAMC,MAAM,GAAGP,UAAU,CAACQ,MAAM,CAAC;EAC/BC,YAAY,EAAE;IACZC,OAAO,EAAE;EACX,CAAC;EACDC,WAAW,EAAE;IACXT,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,EAAE;IACPE,KAAK,EAAE,EAAE;IACTO,KAAK,EAAE,EAAE;IACTN,MAAM,EAAE,EAAE;IACVO,YAAY,EAAE,EAAE;IAChBC,WAAW,EAAE,CAAC;IACdC,WAAW,EAAE,SAAS;IACtBC,eAAe,EAAE,SAAS;IAC1BC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBC,WAAW,EAAE,SAAS;IACtBC,aAAa,EAAE,IAAI;IACnBC,YAAY,EAAE,CAAC;IACfC,YAAY,EAAE;MACZV,KAAK,EAAE,CAAC;MACRN,MAAM,EAAE;IACV;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AAC,CAAC;AAEF,SAASR,MAAM","ignoreList":[]}
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import React, { useRef } from 'react';
|
|
4
|
+
import { Animated, PanResponder, Pressable, ScrollView, Text, View } from 'react-native';
|
|
5
|
+
import { SELECTOR_DRAWER_TRANSLATE_X, SELECTOR_SWIPE_ACTIVATION_DISTANCE, SELECTOR_SWIPE_CLOSE_DISTANCE, SELECTOR_SWIPE_CLOSE_VELOCITY } from './constants';
|
|
6
|
+
import { styles } from './styles';
|
|
7
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
|
+
function LayerButton({
|
|
9
|
+
show,
|
|
10
|
+
isActive,
|
|
11
|
+
onPress
|
|
12
|
+
}) {
|
|
13
|
+
return /*#__PURE__*/_jsxs(Pressable, {
|
|
14
|
+
style: [styles.layerButton, isActive && styles.layerButtonActive, !show && styles.hiddenButton],
|
|
15
|
+
onPress: onPress,
|
|
16
|
+
pointerEvents: show ? 'auto' : 'none',
|
|
17
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
18
|
+
style: styles.layerIconBoxPrimary
|
|
19
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
20
|
+
style: styles.layerIconBoxSecondary
|
|
21
|
+
})]
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
function LegendButton({
|
|
25
|
+
show,
|
|
26
|
+
isActive,
|
|
27
|
+
onPress
|
|
28
|
+
}) {
|
|
29
|
+
return /*#__PURE__*/_jsxs(Pressable, {
|
|
30
|
+
style: [styles.layerButton, styles.legendButton, isActive && styles.layerButtonActive, !show && styles.hiddenButton],
|
|
31
|
+
onPress: onPress,
|
|
32
|
+
pointerEvents: show ? 'auto' : 'none',
|
|
33
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
34
|
+
style: styles.legendToggleIconRow,
|
|
35
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
36
|
+
style: styles.legendToggleIconDot
|
|
37
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
38
|
+
style: styles.legendToggleIconLine
|
|
39
|
+
})]
|
|
40
|
+
}), /*#__PURE__*/_jsxs(View, {
|
|
41
|
+
style: styles.legendToggleIconRow,
|
|
42
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
43
|
+
style: styles.legendToggleIconDot
|
|
44
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
45
|
+
style: styles.legendToggleIconLine
|
|
46
|
+
})]
|
|
47
|
+
})]
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
function SelectorDrawer({
|
|
51
|
+
show,
|
|
52
|
+
title,
|
|
53
|
+
groupSections,
|
|
54
|
+
expandedGroupKeys,
|
|
55
|
+
dragAnim,
|
|
56
|
+
backdropAnimatedStyle,
|
|
57
|
+
panelAnimatedStyle,
|
|
58
|
+
onClose,
|
|
59
|
+
onDragCancel,
|
|
60
|
+
onToggleGroup,
|
|
61
|
+
onToggleGroupChecked,
|
|
62
|
+
onToggleItem
|
|
63
|
+
}) {
|
|
64
|
+
const panResponder = useRef(PanResponder.create({
|
|
65
|
+
onMoveShouldSetPanResponder: (evt, gestureState) => Math.abs(gestureState.dx) > SELECTOR_SWIPE_ACTIVATION_DISTANCE && Math.abs(gestureState.dx) > Math.abs(gestureState.dy),
|
|
66
|
+
onPanResponderMove: (evt, gestureState) => {
|
|
67
|
+
const clampedDx = Math.min(0, gestureState.dx);
|
|
68
|
+
const nextValue = 1 + clampedDx / Math.abs(SELECTOR_DRAWER_TRANSLATE_X);
|
|
69
|
+
dragAnim.setValue(Math.max(0, Math.min(1, nextValue)));
|
|
70
|
+
},
|
|
71
|
+
onPanResponderRelease: (evt, gestureState) => {
|
|
72
|
+
const shouldClose = gestureState.dx < -SELECTOR_SWIPE_CLOSE_DISTANCE || gestureState.vx < -SELECTOR_SWIPE_CLOSE_VELOCITY;
|
|
73
|
+
if (shouldClose) {
|
|
74
|
+
onClose();
|
|
75
|
+
} else {
|
|
76
|
+
onDragCancel();
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
onPanResponderTerminate: () => {
|
|
80
|
+
onDragCancel();
|
|
81
|
+
}
|
|
82
|
+
})).current;
|
|
83
|
+
if (!show) {
|
|
84
|
+
return null;
|
|
85
|
+
}
|
|
86
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
87
|
+
style: styles.selectorContainer,
|
|
88
|
+
children: [/*#__PURE__*/_jsx(Animated.View, {
|
|
89
|
+
style: [styles.selectorBackdrop, backdropAnimatedStyle],
|
|
90
|
+
children: /*#__PURE__*/_jsx(Pressable, {
|
|
91
|
+
style: styles.selectorBackdropPressable,
|
|
92
|
+
onPress: onClose
|
|
93
|
+
})
|
|
94
|
+
}), /*#__PURE__*/_jsxs(Animated.View, {
|
|
95
|
+
style: [styles.selectorPanel, panelAnimatedStyle],
|
|
96
|
+
...panResponder.panHandlers,
|
|
97
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
98
|
+
style: styles.selectorHeader,
|
|
99
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
100
|
+
style: styles.selectorTitle,
|
|
101
|
+
children: title
|
|
102
|
+
})
|
|
103
|
+
}), /*#__PURE__*/_jsx(ScrollView, {
|
|
104
|
+
style: styles.selectorList,
|
|
105
|
+
showsVerticalScrollIndicator: false,
|
|
106
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
107
|
+
style: styles.selectorGrid,
|
|
108
|
+
children: groupSections.map(group => {
|
|
109
|
+
const groupKey = group?.key || '__group__';
|
|
110
|
+
const groupTitle = group?.title || 'Khac';
|
|
111
|
+
const groupItems = Array.isArray(group?.items) ? group.items : [];
|
|
112
|
+
const isExpanded = expandedGroupKeys[groupKey] !== false;
|
|
113
|
+
const checkedCount = groupItems.reduce((acc, wrapped) => acc + (wrapped?.item?.checked !== false ? 1 : 0), 0);
|
|
114
|
+
const isGroupChecked = groupItems.length > 0 && checkedCount === groupItems.length;
|
|
115
|
+
const isGroupIndeterminate = checkedCount > 0 && checkedCount < groupItems.length;
|
|
116
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
117
|
+
style: styles.selectorGroupSection,
|
|
118
|
+
children: [/*#__PURE__*/_jsxs(View, {
|
|
119
|
+
style: styles.selectorGroupHeader,
|
|
120
|
+
children: [/*#__PURE__*/_jsx(Pressable, {
|
|
121
|
+
style: styles.selectorGroupCheckAction,
|
|
122
|
+
onPress: () => onToggleGroupChecked(groupKey, !isGroupChecked),
|
|
123
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
124
|
+
style: [styles.groupCheckOuter, isGroupChecked && styles.groupCheckOuterChecked, isGroupIndeterminate && styles.groupCheckOuterIndeterminate],
|
|
125
|
+
children: isGroupChecked ? /*#__PURE__*/_jsx(Text, {
|
|
126
|
+
style: styles.groupCheckMark,
|
|
127
|
+
children: "\u2713"
|
|
128
|
+
}) : isGroupIndeterminate ? /*#__PURE__*/_jsx(View, {
|
|
129
|
+
style: styles.groupCheckIndeterminateMark
|
|
130
|
+
}) : null
|
|
131
|
+
})
|
|
132
|
+
}), /*#__PURE__*/_jsxs(Pressable, {
|
|
133
|
+
style: styles.selectorGroupToggleAction,
|
|
134
|
+
onPress: () => onToggleGroup(groupKey),
|
|
135
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
136
|
+
style: [styles.selectorGroupChevronTriangle, isExpanded ? styles.selectorGroupChevronExpanded : styles.selectorGroupChevronCollapsed]
|
|
137
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
138
|
+
style: styles.selectorGroupTitle,
|
|
139
|
+
numberOfLines: 1,
|
|
140
|
+
children: groupTitle
|
|
141
|
+
})]
|
|
142
|
+
})]
|
|
143
|
+
}), isExpanded ? /*#__PURE__*/_jsx(View, {
|
|
144
|
+
style: styles.selectorGroupBody,
|
|
145
|
+
children: groupItems.map(({
|
|
146
|
+
item,
|
|
147
|
+
index
|
|
148
|
+
}) => {
|
|
149
|
+
const itemKey = item?.key ?? `index-${index}`;
|
|
150
|
+
const checked = item?.checked !== false;
|
|
151
|
+
const itemTitle = item?.title || item?.key || `Item ${index + 1}`;
|
|
152
|
+
return /*#__PURE__*/_jsxs(Pressable, {
|
|
153
|
+
style: styles.selectorRow,
|
|
154
|
+
onPress: () => onToggleItem(itemKey, index),
|
|
155
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
156
|
+
style: [styles.checkboxOuter, checked && styles.checkboxOuterChecked],
|
|
157
|
+
children: checked ? /*#__PURE__*/_jsx(Text, {
|
|
158
|
+
style: styles.checkboxMark,
|
|
159
|
+
children: "\u2713"
|
|
160
|
+
}) : null
|
|
161
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
162
|
+
style: styles.selectorLabel,
|
|
163
|
+
children: itemTitle
|
|
164
|
+
})]
|
|
165
|
+
}, `${itemKey}-${index}`);
|
|
166
|
+
})
|
|
167
|
+
}) : null]
|
|
168
|
+
}, groupKey);
|
|
169
|
+
})
|
|
170
|
+
})
|
|
171
|
+
})]
|
|
172
|
+
})]
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
function LegendPanel({
|
|
176
|
+
show,
|
|
177
|
+
title,
|
|
178
|
+
items,
|
|
179
|
+
getItemColor
|
|
180
|
+
}) {
|
|
181
|
+
if (!show) {
|
|
182
|
+
return null;
|
|
183
|
+
}
|
|
184
|
+
return /*#__PURE__*/_jsx(View, {
|
|
185
|
+
style: styles.legendContainer,
|
|
186
|
+
pointerEvents: "box-none",
|
|
187
|
+
children: /*#__PURE__*/_jsxs(View, {
|
|
188
|
+
style: styles.legendPanel,
|
|
189
|
+
children: [/*#__PURE__*/_jsx(Text, {
|
|
190
|
+
style: styles.legendTitle,
|
|
191
|
+
children: title
|
|
192
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
193
|
+
style: styles.legendDivider
|
|
194
|
+
}), /*#__PURE__*/_jsx(ScrollView, {
|
|
195
|
+
style: styles.legendList,
|
|
196
|
+
showsVerticalScrollIndicator: true,
|
|
197
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
198
|
+
style: styles.legendListInner,
|
|
199
|
+
children: items.map((item, index) => {
|
|
200
|
+
const checked = item?.checked !== false;
|
|
201
|
+
const itemTitle = item?.title || item?.label || item?.name || item?.key || '';
|
|
202
|
+
const dotColor = getItemColor(item, index);
|
|
203
|
+
const hasDotColor = typeof dotColor === 'string' && dotColor.trim().length > 0;
|
|
204
|
+
return /*#__PURE__*/_jsxs(View, {
|
|
205
|
+
style: styles.legendRow,
|
|
206
|
+
children: [/*#__PURE__*/_jsx(View, {
|
|
207
|
+
style: [styles.legendDot, hasDotColor ? {
|
|
208
|
+
backgroundColor: dotColor,
|
|
209
|
+
borderColor: dotColor
|
|
210
|
+
} : null, !checked && !hasDotColor ? styles.legendDotUnchecked : null]
|
|
211
|
+
}), /*#__PURE__*/_jsx(Text, {
|
|
212
|
+
style: styles.legendLabel,
|
|
213
|
+
numberOfLines: 1,
|
|
214
|
+
children: itemTitle
|
|
215
|
+
})]
|
|
216
|
+
}, `${item?.key ?? `index-${index}`}-${index}`);
|
|
217
|
+
})
|
|
218
|
+
})
|
|
219
|
+
})]
|
|
220
|
+
})
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
export { LayerButton, LegendButton, LegendPanel, SelectorDrawer };
|
|
224
|
+
//# sourceMappingURL=ui.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","useRef","Animated","PanResponder","Pressable","ScrollView","Text","View","SELECTOR_DRAWER_TRANSLATE_X","SELECTOR_SWIPE_ACTIVATION_DISTANCE","SELECTOR_SWIPE_CLOSE_DISTANCE","SELECTOR_SWIPE_CLOSE_VELOCITY","styles","jsx","_jsx","jsxs","_jsxs","LayerButton","show","isActive","onPress","style","layerButton","layerButtonActive","hiddenButton","pointerEvents","children","layerIconBoxPrimary","layerIconBoxSecondary","LegendButton","legendButton","legendToggleIconRow","legendToggleIconDot","legendToggleIconLine","SelectorDrawer","title","groupSections","expandedGroupKeys","dragAnim","backdropAnimatedStyle","panelAnimatedStyle","onClose","onDragCancel","onToggleGroup","onToggleGroupChecked","onToggleItem","panResponder","create","onMoveShouldSetPanResponder","evt","gestureState","Math","abs","dx","dy","onPanResponderMove","clampedDx","min","nextValue","setValue","max","onPanResponderRelease","shouldClose","vx","onPanResponderTerminate","current","selectorContainer","selectorBackdrop","selectorBackdropPressable","selectorPanel","panHandlers","selectorHeader","selectorTitle","selectorList","showsVerticalScrollIndicator","selectorGrid","map","group","groupKey","key","groupTitle","groupItems","Array","isArray","items","isExpanded","checkedCount","reduce","acc","wrapped","item","checked","isGroupChecked","length","isGroupIndeterminate","selectorGroupSection","selectorGroupHeader","selectorGroupCheckAction","groupCheckOuter","groupCheckOuterChecked","groupCheckOuterIndeterminate","groupCheckMark","groupCheckIndeterminateMark","selectorGroupToggleAction","selectorGroupChevronTriangle","selectorGroupChevronExpanded","selectorGroupChevronCollapsed","selectorGroupTitle","numberOfLines","selectorGroupBody","index","itemKey","itemTitle","selectorRow","checkboxOuter","checkboxOuterChecked","checkboxMark","selectorLabel","LegendPanel","getItemColor","legendContainer","legendPanel","legendTitle","legendDivider","legendList","legendListInner","label","name","dotColor","hasDotColor","trim","legendRow","legendDot","backgroundColor","borderColor","legendDotUnchecked","legendLabel"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/MFBanDoSo/ui.js"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,MAAM,QAAQ,OAAO;AACrC,SACEC,QAAQ,EACRC,YAAY,EACZC,SAAS,EACTC,UAAU,EACVC,IAAI,EACJC,IAAI,QACC,cAAc;AACrB,SACEC,2BAA2B,EAC3BC,kCAAkC,EAClCC,6BAA6B,EAC7BC,6BAA6B,QACxB,aAAa;AACpB,SAASC,MAAM,QAAQ,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAElC,SAASC,WAAWA,CAAC;EAAEC,IAAI;EAAEC,QAAQ;EAAEC;AAAQ,CAAC,EAAE;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