@m4l/components 1.1.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/export.d.ts +269 -269
- package/@types/types.d.ts +34 -34
- package/components/AccountPopover/{index.84049a50.js → index.493dbab5.js} +3 -3
- package/components/AppBar/{index.22ed1a0e.js → index.4b2c02da.js} +4 -4
- package/components/BaseModule/{index.0fc648c5.js → index.dba0d174.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index.33cf608e.js → index.ce196f96.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.d1359a38.js → index.d63f6a23.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.415de2bb.js → index.0daa98b8.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.0893587b.js → index.1c40d33b.js} +2 -2
- package/components/CommonActions/components/Actions/{index.2342a37e.js → index.434f4824.js} +2 -2
- package/components/DataGrid/assets/icons/datagrid.svg +4 -4
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.9d6f8597.js → index.0a3660c0.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.9bcaba12.js → index.4b1df4ab.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.a58a8712.js → index.37f4f359.js} +1 -1
- package/components/DataGrid/formatters/{index.6698b419.js → index.91129d5e.js} +2 -2
- package/components/DataGrid/{index.b1cac6af.js → index.d538cef8.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index.a60b17d5.js → index.8d2e96e7.js} +11 -11
- package/components/DragResizeWindow/DragResizeWindow.d.ts +1 -1
- package/components/DragResizeWindow/{index.46048367.js → index.17e7059d.js} +3 -3
- package/components/DynamicFilter/{dictionary.da256925.js → dictionary.f471309f.js} +2 -2
- package/components/DynamicFilter/{index.08abfc2c.js → index.a7e772f7.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.b02bff6a.js → dynamicFilterSlots.1e2dc145.js} +6 -6
- package/components/DynamicFilter/store/{index.1e4af8b4.js → index.3733c18e.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.37bcd016.js → index.5b952ba7.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.2740f285.js → index.e38ed08e.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.63102514.js → index.bbc1b1c0.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.3824d701.js → index.b0a2c96e.js} +4 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.57ddf344.js → index.2036b257.js} +5 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.7beac9f0.js → index.d7559fb2.js} +4 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.e9e1af93.js → index.d628de04.js} +5 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.d27a8bcc.js → index.804bb474.js} +4 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.e8f1d8e5.js → index.de33ba0a.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.35014c15.js → index.c8c90968.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.f42e9571.js → index.1b95c167.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.ada7eb0c.js → index.fd8a2421.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.144885cf.js → index.9f07285e.js} +2 -2
- package/components/DynamicFilter/types.d.ts +1 -1
- package/components/FieldLabel/{index.59b9b63a.js → index.44f3e099.js} +4 -4
- package/components/GridLayout/{index.56c3f4fa.js → index.a9f419d8.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.02bcb3b3.js → index.c9f8165b.js} +3 -3
- package/components/GridLayout/subcomponents/Responsive/{index.65aeef5e.js → index.ad80dae3.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.0aad6f90.js → index.6ebe8790.js} +1 -1
- package/components/HelperText/{index.5c72277a.js → index.e9eddfe4.js} +2 -2
- package/components/Icon/{index.13aaae3c.js → index.2b591dd6.js} +3 -3
- package/components/Image/{index.4b51d4ba.js → index.fb9e71ba.js} +2 -2
- package/components/LanguagePopover/{index.7605fda8.js → index.f495b317.js} +4 -4
- package/components/LinearProgressIndeterminate/{index.292a4af8.js → index.8a0b3615.js} +2 -2
- package/components/LoadingError/{index.b129b573.js → index.2675dde0.js} +5 -5
- package/components/MFIsolationApp/{index.9f718621.js → index.359ce9ec.js} +2 -2
- package/components/MFLoader/{index.5d340e32.js → index.49a6bd2c.js} +2 -2
- package/components/ModalDialog/{index.ff275011.js → index.3571068b.js} +4 -4
- package/components/NavLink/{index.506c7827.js → index.82f5f2f4.js} +2 -2
- package/components/NoItemSelected/{index.1d7d5a9d.js → index.437fb106.js} +1 -1
- package/components/ObjectLogs/{index.473ebd65.js → index.5d260f34.js} +9 -9
- package/components/PDFViewer/{index.4e7ffac8.js → index.9f1d12c4.js} +2 -2
- package/components/Page/{index.b75c74e3.js → index.4e1e1b9b.js} +1 -1
- package/components/PaperForm/{index.8289409f.js → index.d6293e64.js} +2 -2
- package/components/Period/{index.13e4c351.js → index.f0095a0a.js} +4 -4
- package/components/PrintingSystem/{index.e1535b80.js → index.88fbf9ec.js} +14 -14
- package/components/PrintingSystem/subcomponents/BodyNode/{index.6b36842d.js → index.79cb87c7.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.4aab9d2c.js → index.a5d910d6.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.23a9dc95.js → index.350c25de.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.d0e8fd15.js → index.8c2f7536.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.35ff7dab.js → index.b02b56db.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.9547c826.js → index.462d6322.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.71afe03e.js → index.a5e25147.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.abbb154c.js → index.430bd242.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.b3f2ba6c.js → index.d76d27d3.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.809aaad2.js → index.2dcd8991.js} +1 -1
- package/components/PropertyValue/{index.36555931.js → index.5d847b88.js} +3 -3
- package/components/Resizeable/{index.57363836.js → index.f22bccb6.js} +1 -1
- package/components/ScrollBar/{index.236e2aa3.js → index.3f1ca3da.js} +1 -1
- package/components/SideBar/{index.bb6c2c7b.js → index.f15b9904.js} +6 -6
- package/components/SplitLayout/{index.75953afb.js → index.4b247e0c.js} +1 -1
- package/components/ToastContainer/{index.bb972338.js → index.dec47e74.js} +3 -3
- package/components/animate/LoadingScreen/{index.09915798.js → index.db36f970.js} +1 -1
- package/components/animate/{index.5c545243.js → index.14aa2d3c.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.42d40964.js → index.55c40f0c.js} +15 -15
- package/components/areas/components/AreasViewer/{index.266a3815.js → index.8a568629.js} +15 -15
- package/components/areas/contexts/AreasContext/{index.c2289888.js → index.c677ccfa.js} +4 -4
- package/components/areas/hooks/useAreas/{index.509c1703.js → index.2d10f64c.js} +1 -1
- package/components/areas/types.d.ts +1 -1
- package/components/commercial/AppBarCommercial/{index.3fd10868.js → index.85de55bb.js} +2 -2
- package/components/commercial/SectionCommercial/{index.bd45c64e.js → index.47c0cb0c.js} +2 -2
- package/components/commercial/TopBar/{index.4e55cffa.js → index.ec7a6cc6.js} +6 -6
- package/components/commercial/{index.4bdbb8fe.js → index.90e72726.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.ac870381.js → index.5243a181.js} +2 -2
- package/components/formatters/{index.53ad2f51.js → index.1b738709.js} +2 -2
- package/components/hook-form/HelperError/{index.9f93c627.js → index.c6f8f840.js} +1 -1
- package/components/hook-form/RHFAutocomplete/RHFAutocomplete.d.ts +1 -1
- package/components/hook-form/RHFAutocomplete/classes/index.d.ts +1 -2
- package/components/hook-form/RHFAutocomplete/classes/types.d.ts +0 -1
- package/components/hook-form/RHFAutocomplete/{index.b8347185.js → index.c8bcfed8.js} +302 -70
- package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeImage/index.d.ts +2 -0
- package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeText/index.d.ts +2 -0
- package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/index.d.ts +1 -1
- package/components/hook-form/RHFAutocomplete/subcomponents/Skeleton/types.d.ts +1 -1
- package/components/hook-form/RHFAutocomplete/types.d.ts +17 -9
- package/components/hook-form/RHFAutocompleteAsync/{index.aeb3bf66.js → index.2b2ff592.js} +102 -5
- package/components/hook-form/RHFAutocompleteAsync/subcomponents/ComponentTypeImage/index.d.ts +3 -0
- package/components/hook-form/RHFAutocompleteAsync/subcomponents/ComponentTypeText/index.d.ts +2 -0
- package/components/hook-form/RHFAutocompleteAsync/types.d.ts +6 -3
- package/components/hook-form/RHFCheckbox/{index.c3b7ce0f.js → index.06c0b776.js} +3 -3
- package/components/hook-form/RHFColorPicker/{index.c259b8ac.js → index.f606dce6.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.4efe48ce.js → index.fb4867fa.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.0f912e3e.js → index.75e07583.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index.96c94958.js → index.a0a28a48.js} +1 -1
- package/components/hook-form/RHFTextField/{index.828b30f5.js → index.257c6486.js} +5 -5
- package/components/hook-form/RHFUpload/{index.b664c68b.js → index.a6954d0d.js} +5 -5
- package/components/maps/components/GpsTools/{index.e759163d.js → index.30fe41d1.js} +27 -24
- package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -159
- package/components/maps/components/Map/{index.c568e68d.js → index.14f082d4.js} +14 -13
- package/components/maps/leaflet-geoman.d.ts +1476 -1476
- package/components/modal/{WindowBase.58f9e2b0.js → WindowBase.0dc3b3ea.js} +3 -3
- package/components/modal/{WindowConfirm.60955735.js → WindowConfirm.b8a431dd.js} +6 -6
- package/components/mui_extended/Accordion/{index.e6971e30.js → index.bb0cd2ab.js} +4 -4
- package/components/mui_extended/Avatar/{index.8cc99f13.js → index.bcf4d669.js} +1 -1
- package/components/mui_extended/Badge/{index.07fb40c0.js → index.89ca5b23.js} +1 -1
- package/components/mui_extended/Button/{index.111f830e.js → index.24b9496b.js} +3 -3
- package/components/mui_extended/{CheckBox.a8958eb8.js → CheckBox.4d930bed.js} +2 -2
- package/components/mui_extended/IconButton/{index.9425bdc5.js → index.f5dcf537.js} +2 -2
- package/components/mui_extended/MenuActions/{index.8b0d69b7.js → index.540d82fd.js} +5 -5
- package/components/mui_extended/Pager/classes/index.d.ts +1 -1
- package/components/mui_extended/Pager/{index.cb749e65.js → index.f3a6c94b.js} +4 -4
- package/components/mui_extended/Popover/{index.5e78a637.js → index.6d8fe229.js} +1 -1
- package/components/mui_extended/Stack/{index.3674daf7.js → index.9d6ed8c2.js} +1 -1
- package/components/mui_extended/Tab/{index.a94a92c1.js → index.0941bb3a.js} +1 -1
- package/components/mui_extended/ToggleButton/{index.a55def3b.js → index.d45c7a60.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.cd20de81.js → index.c51670d1.js} +1 -1
- package/components/mui_extended/Typography/{index.45e97bdd.js → index.dbc44e77.js} +1 -1
- package/components/popups/PopupsViewer/{index.8fe4aa5d.js → index.6a175b73.js} +4 -4
- package/components/popups/PopupsViewer/slots/{popupsViewerSlots.aaf546e2.js → popupsViewerSlots.be9219c7.js} +2 -2
- package/contexts/ModalContext/{index.a5c622d6.js → index.26017754.js} +1 -1
- package/contexts/RHFormContext/{index.40a9547e.js → index.54d30cb2.js} +1 -1
- package/hooks/useFormAddEdit/{index.b6a3cf63.js → index.bd4ae2a5.js} +2 -2
- package/hooks/useModal/{index.3ad1e014.js → index.d3c18b29.js} +1 -1
- package/hooks/useTab/{index.4081b113.js → index.da9b5a24.js} +1 -1
- package/index.js +123 -123
- package/package.json +1 -1
- package/{react-draggable.310e3387.js → react-draggable.1c1ba224.js} +1 -1
- package/{react-resizable.3755959b.js → react-resizable.a59c14f4.js} +2 -2
- package/styles/{DynamicFilter.557ee3a7.js → DynamicFilter.27c16026.js} +1 -1
- package/styles/{index.239f949e.js → index.d972f170.js} +11 -11
- package/vite-env.d.ts +4 -4
- /package/utils/{index.78d1638f.js → index.14912462.js} +0 -0
|
@@ -1,159 +1,159 @@
|
|
|
1
|
-
import 'leaflet';
|
|
2
|
-
|
|
3
|
-
declare module 'leaflet' {
|
|
4
|
-
namespace gridLayer {
|
|
5
|
-
interface GoogleMutant extends GridLayer {
|
|
6
|
-
setElementSize(e: HTMLElement, size: Point): void;
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Add additional Google Maps layer.
|
|
10
|
-
*
|
|
11
|
-
* https://developers.google.com/maps/documentation/javascript/trafficlayer
|
|
12
|
-
*
|
|
13
|
-
* @param googleLayerName such as BicyclingLayer, TrafficLayer, or TransitLayer.
|
|
14
|
-
* @param options? constructor arguments to pass through to the google layer.
|
|
15
|
-
* @returns Promise for the native Google Maps Layer instance.
|
|
16
|
-
*/
|
|
17
|
-
addGoogleLayer(googleLayerName: string, options?: object): Promise<object>;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Removes Google Maps layer.
|
|
21
|
-
*
|
|
22
|
-
* https://developers.google.com/maps/documentation/javascript/trafficlayer
|
|
23
|
-
*
|
|
24
|
-
* @param googleLayerName such as BicyclingLayer, TrafficLayer, or TransitLayer.
|
|
25
|
-
*/
|
|
26
|
-
removeGoogleLayer(googleLayerName: string): void;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
type GoogleMutantType = 'roadmap' | 'satellite' | 'terrain' | 'hybrid';
|
|
30
|
-
|
|
31
|
-
interface GoogleMutantStyler {
|
|
32
|
-
hue?: string | undefined;
|
|
33
|
-
lightness?: number | undefined;
|
|
34
|
-
saturation?: number | undefined;
|
|
35
|
-
gamma?: number | undefined;
|
|
36
|
-
invert_lightness?: boolean | undefined;
|
|
37
|
-
visibility?: string | undefined;
|
|
38
|
-
color?: string | undefined;
|
|
39
|
-
weight?: number | undefined;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Google's map style.
|
|
44
|
-
*
|
|
45
|
-
* https://developers.google.com/maps/documentation/javascript/style-reference
|
|
46
|
-
*/
|
|
47
|
-
interface GoogleMutantStyle {
|
|
48
|
-
/**
|
|
49
|
-
* https://developers.google.com/maps/documentation/javascript/style-reference#style-features
|
|
50
|
-
*/
|
|
51
|
-
featureType?: string | undefined;
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* https://developers.google.com/maps/documentation/javascript/style-reference#style-elements
|
|
55
|
-
*/
|
|
56
|
-
elementType?: string | undefined;
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* https://developers.google.com/maps/documentation/javascript/style-reference#stylers
|
|
60
|
-
*/
|
|
61
|
-
stylers?: GoogleMutantStyler[] | undefined;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
interface GoogleMutantOptions extends TileLayerOptions {
|
|
65
|
-
minZoom?: number | undefined;
|
|
66
|
-
maxZoom?: number | undefined;
|
|
67
|
-
maxNativeZoom?: number | undefined;
|
|
68
|
-
tileSize?: number | Point | undefined;
|
|
69
|
-
subdomains?: string | string[] | undefined;
|
|
70
|
-
errorTileUrl?: string | undefined;
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* The mutant container will add its own attribution anyways.
|
|
74
|
-
*/
|
|
75
|
-
attribution?: string | undefined;
|
|
76
|
-
|
|
77
|
-
opacity?: number | undefined;
|
|
78
|
-
continuousWorld?: boolean | undefined;
|
|
79
|
-
noWrap?: boolean | undefined;
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* Google's map type. 'hybrid' is not really supported.
|
|
83
|
-
*/
|
|
84
|
-
type?: GoogleMutantType | undefined;
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Google's map styles.
|
|
88
|
-
*/
|
|
89
|
-
styles?: GoogleMutantStyle[] | undefined;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
function googleMutant(options?: GoogleMutantOptions): GoogleMutant;
|
|
93
|
-
|
|
94
|
-
// Remove the duplicate declaration of GoogleMutantType
|
|
95
|
-
|
|
96
|
-
interface GoogleMutantStyler {
|
|
97
|
-
hue?: string | undefined;
|
|
98
|
-
lightness?: number | undefined;
|
|
99
|
-
saturation?: number | undefined;
|
|
100
|
-
gamma?: number | undefined;
|
|
101
|
-
invert_lightness?: boolean | undefined;
|
|
102
|
-
visibility?: string | undefined;
|
|
103
|
-
color?: string | undefined;
|
|
104
|
-
weight?: number | undefined;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* Google's map style.
|
|
109
|
-
*
|
|
110
|
-
* https://developers.google.com/maps/documentation/javascript/style-reference
|
|
111
|
-
*/
|
|
112
|
-
interface GoogleMutantStyle {
|
|
113
|
-
/**
|
|
114
|
-
* https://developers.google.com/maps/documentation/javascript/style-reference#style-features
|
|
115
|
-
*/
|
|
116
|
-
featureType?: string | undefined;
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* https://developers.google.com/maps/documentation/javascript/style-reference#style-elements
|
|
120
|
-
*/
|
|
121
|
-
elementType?: string | undefined;
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* https://developers.google.com/maps/documentation/javascript/style-reference#stylers
|
|
125
|
-
*/
|
|
126
|
-
stylers?: GoogleMutantStyler[] | undefined;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
interface GoogleMutantOptions extends TileLayerOptions {
|
|
130
|
-
minZoom?: number | undefined;
|
|
131
|
-
maxZoom?: number | undefined;
|
|
132
|
-
maxNativeZoom?: number | undefined;
|
|
133
|
-
tileSize?: number | Point | undefined;
|
|
134
|
-
subdomains?: string | string[] | undefined;
|
|
135
|
-
errorTileUrl?: string | undefined;
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* The mutant container will add its own attribution anyways.
|
|
139
|
-
*/
|
|
140
|
-
attribution?: string | undefined;
|
|
141
|
-
|
|
142
|
-
opacity?: number | undefined;
|
|
143
|
-
continuousWorld?: boolean | undefined;
|
|
144
|
-
noWrap?: boolean | undefined;
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* Google's map type. 'hybrid' is not really supported.
|
|
148
|
-
*/
|
|
149
|
-
type?: GoogleMutantType | undefined;
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* Google's map styles.
|
|
153
|
-
*/
|
|
154
|
-
styles?: GoogleMutantStyle[] | undefined;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
function googleMutant(options?: GoogleMutantOptions): GoogleMutant;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
1
|
+
import 'leaflet';
|
|
2
|
+
|
|
3
|
+
declare module 'leaflet' {
|
|
4
|
+
namespace gridLayer {
|
|
5
|
+
interface GoogleMutant extends GridLayer {
|
|
6
|
+
setElementSize(e: HTMLElement, size: Point): void;
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Add additional Google Maps layer.
|
|
10
|
+
*
|
|
11
|
+
* https://developers.google.com/maps/documentation/javascript/trafficlayer
|
|
12
|
+
*
|
|
13
|
+
* @param googleLayerName such as BicyclingLayer, TrafficLayer, or TransitLayer.
|
|
14
|
+
* @param options? constructor arguments to pass through to the google layer.
|
|
15
|
+
* @returns Promise for the native Google Maps Layer instance.
|
|
16
|
+
*/
|
|
17
|
+
addGoogleLayer(googleLayerName: string, options?: object): Promise<object>;
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Removes Google Maps layer.
|
|
21
|
+
*
|
|
22
|
+
* https://developers.google.com/maps/documentation/javascript/trafficlayer
|
|
23
|
+
*
|
|
24
|
+
* @param googleLayerName such as BicyclingLayer, TrafficLayer, or TransitLayer.
|
|
25
|
+
*/
|
|
26
|
+
removeGoogleLayer(googleLayerName: string): void;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
type GoogleMutantType = 'roadmap' | 'satellite' | 'terrain' | 'hybrid';
|
|
30
|
+
|
|
31
|
+
interface GoogleMutantStyler {
|
|
32
|
+
hue?: string | undefined;
|
|
33
|
+
lightness?: number | undefined;
|
|
34
|
+
saturation?: number | undefined;
|
|
35
|
+
gamma?: number | undefined;
|
|
36
|
+
invert_lightness?: boolean | undefined;
|
|
37
|
+
visibility?: string | undefined;
|
|
38
|
+
color?: string | undefined;
|
|
39
|
+
weight?: number | undefined;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Google's map style.
|
|
44
|
+
*
|
|
45
|
+
* https://developers.google.com/maps/documentation/javascript/style-reference
|
|
46
|
+
*/
|
|
47
|
+
interface GoogleMutantStyle {
|
|
48
|
+
/**
|
|
49
|
+
* https://developers.google.com/maps/documentation/javascript/style-reference#style-features
|
|
50
|
+
*/
|
|
51
|
+
featureType?: string | undefined;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* https://developers.google.com/maps/documentation/javascript/style-reference#style-elements
|
|
55
|
+
*/
|
|
56
|
+
elementType?: string | undefined;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* https://developers.google.com/maps/documentation/javascript/style-reference#stylers
|
|
60
|
+
*/
|
|
61
|
+
stylers?: GoogleMutantStyler[] | undefined;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
interface GoogleMutantOptions extends TileLayerOptions {
|
|
65
|
+
minZoom?: number | undefined;
|
|
66
|
+
maxZoom?: number | undefined;
|
|
67
|
+
maxNativeZoom?: number | undefined;
|
|
68
|
+
tileSize?: number | Point | undefined;
|
|
69
|
+
subdomains?: string | string[] | undefined;
|
|
70
|
+
errorTileUrl?: string | undefined;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* The mutant container will add its own attribution anyways.
|
|
74
|
+
*/
|
|
75
|
+
attribution?: string | undefined;
|
|
76
|
+
|
|
77
|
+
opacity?: number | undefined;
|
|
78
|
+
continuousWorld?: boolean | undefined;
|
|
79
|
+
noWrap?: boolean | undefined;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Google's map type. 'hybrid' is not really supported.
|
|
83
|
+
*/
|
|
84
|
+
type?: GoogleMutantType | undefined;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Google's map styles.
|
|
88
|
+
*/
|
|
89
|
+
styles?: GoogleMutantStyle[] | undefined;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
function googleMutant(options?: GoogleMutantOptions): GoogleMutant;
|
|
93
|
+
|
|
94
|
+
// Remove the duplicate declaration of GoogleMutantType
|
|
95
|
+
|
|
96
|
+
interface GoogleMutantStyler {
|
|
97
|
+
hue?: string | undefined;
|
|
98
|
+
lightness?: number | undefined;
|
|
99
|
+
saturation?: number | undefined;
|
|
100
|
+
gamma?: number | undefined;
|
|
101
|
+
invert_lightness?: boolean | undefined;
|
|
102
|
+
visibility?: string | undefined;
|
|
103
|
+
color?: string | undefined;
|
|
104
|
+
weight?: number | undefined;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Google's map style.
|
|
109
|
+
*
|
|
110
|
+
* https://developers.google.com/maps/documentation/javascript/style-reference
|
|
111
|
+
*/
|
|
112
|
+
interface GoogleMutantStyle {
|
|
113
|
+
/**
|
|
114
|
+
* https://developers.google.com/maps/documentation/javascript/style-reference#style-features
|
|
115
|
+
*/
|
|
116
|
+
featureType?: string | undefined;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* https://developers.google.com/maps/documentation/javascript/style-reference#style-elements
|
|
120
|
+
*/
|
|
121
|
+
elementType?: string | undefined;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* https://developers.google.com/maps/documentation/javascript/style-reference#stylers
|
|
125
|
+
*/
|
|
126
|
+
stylers?: GoogleMutantStyler[] | undefined;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
interface GoogleMutantOptions extends TileLayerOptions {
|
|
130
|
+
minZoom?: number | undefined;
|
|
131
|
+
maxZoom?: number | undefined;
|
|
132
|
+
maxNativeZoom?: number | undefined;
|
|
133
|
+
tileSize?: number | Point | undefined;
|
|
134
|
+
subdomains?: string | string[] | undefined;
|
|
135
|
+
errorTileUrl?: string | undefined;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* The mutant container will add its own attribution anyways.
|
|
139
|
+
*/
|
|
140
|
+
attribution?: string | undefined;
|
|
141
|
+
|
|
142
|
+
opacity?: number | undefined;
|
|
143
|
+
continuousWorld?: boolean | undefined;
|
|
144
|
+
noWrap?: boolean | undefined;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Google's map type. 'hybrid' is not really supported.
|
|
148
|
+
*/
|
|
149
|
+
type?: GoogleMutantType | undefined;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Google's map styles.
|
|
153
|
+
*/
|
|
154
|
+
styles?: GoogleMutantStyle[] | undefined;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
function googleMutant(options?: GoogleMutantOptions): GoogleMutant;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
@@ -9,24 +9,24 @@ import { createPortal } from "react-dom";
|
|
|
9
9
|
import { useModuleDictionary, useModuleSkeleton, useEnvironment, useModulePrivileges } from "@m4l/core";
|
|
10
10
|
import clsx from "clsx";
|
|
11
11
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
12
|
-
import { A as Actions } from "../../../CommonActions/components/Actions/index.
|
|
13
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
12
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.434f4824.js";
|
|
13
|
+
import { B as Button } from "../../../mui_extended/Button/index.24b9496b.js";
|
|
14
14
|
import * as Yup from "yup";
|
|
15
15
|
import { u as useFormReadyForUpdate } from "../../../../hooks/useFormReadyForUpdate/index.f60f500e.js";
|
|
16
|
-
import { R as RHFAutocompleteAsync } from "../../../hook-form/RHFAutocompleteAsync/index.
|
|
17
|
-
import { S as Stack } from "../../../mui_extended/Stack/index.
|
|
18
|
-
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.
|
|
19
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
16
|
+
import { R as RHFAutocompleteAsync } from "../../../hook-form/RHFAutocompleteAsync/index.2b2ff592.js";
|
|
17
|
+
import { S as Stack } from "../../../mui_extended/Stack/index.9d6ed8c2.js";
|
|
18
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.54d30cb2.js";
|
|
19
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.f5dcf537.js";
|
|
20
20
|
import { u as usePopupsStore, P as PopupsProvider } from "../../../popups/PopupsProvider/index.776c62e7.js";
|
|
21
|
-
import { T as ToggleIconButton } from "../../../mui_extended/ToggleIconButton/index.
|
|
22
|
-
import { D as DataGrid } from "../../../DataGrid/index.
|
|
21
|
+
import { T as ToggleIconButton } from "../../../mui_extended/ToggleIconButton/index.c51670d1.js";
|
|
22
|
+
import { D as DataGrid } from "../../../DataGrid/index.d538cef8.js";
|
|
23
23
|
import { generateUtilityClasses, Tooltip, FormControl, RadioGroup, FormControlLabel, Radio, useTheme } from "@mui/material";
|
|
24
24
|
import { C as ColumnSetCheckFormatter } from "../../../DataGrid/formatters/ColumnSetCheckFormatter/index.4045b2f2.js";
|
|
25
|
-
import { I as Icon, M as MarkerIconLabel } from "../../../Icon/index.
|
|
25
|
+
import { I as Icon, M as MarkerIconLabel } from "../../../Icon/index.2b591dd6.js";
|
|
26
26
|
import { u as useStateRef } from "../../../../hooks/useStateRef/index.538edb89.js";
|
|
27
|
-
import { C as CheckBox } from "../../../mui_extended/CheckBox.
|
|
28
|
-
import { P as Popover } from "../../../mui_extended/Popover/index.
|
|
29
|
-
import { P as PopupsViewer } from "../../../popups/PopupsViewer/index.
|
|
27
|
+
import { C as CheckBox } from "../../../mui_extended/CheckBox.4d930bed.js";
|
|
28
|
+
import { P as Popover } from "../../../mui_extended/Popover/index.6d8fe229.js";
|
|
29
|
+
import { P as PopupsViewer } from "../../../popups/PopupsViewer/index.6a175b73.js";
|
|
30
30
|
import { createPathComponent } from "@react-leaflet/core";
|
|
31
31
|
import "leaflet.markercluster";
|
|
32
32
|
import { cloneDeep, throttle } from "lodash";
|
|
@@ -37,7 +37,7 @@ import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
|
37
37
|
import { devtools } from "zustand/middleware";
|
|
38
38
|
import { immer } from "zustand/middleware/immer";
|
|
39
39
|
import { unstable_composeClasses } from "@mui/base";
|
|
40
|
-
import { g as getComponentUtilityClass } from "../../../../utils/index.
|
|
40
|
+
import { g as getComponentUtilityClass } from "../../../../utils/index.14912462.js";
|
|
41
41
|
import { b as bearingRawToCSS } from "../../index.13bb982c.js";
|
|
42
42
|
import "leaflet-polylinedecorator";
|
|
43
43
|
const COMPONENT_CLASS_NAME = "M4LMap";
|
|
@@ -1140,6 +1140,7 @@ function MeasureData() {
|
|
|
1140
1140
|
/* @__PURE__ */ jsx(
|
|
1141
1141
|
RHFAutocompleteAsync,
|
|
1142
1142
|
{
|
|
1143
|
+
type: "text",
|
|
1143
1144
|
endPoint: "magnitudes/factors?origin_unit_reference_id=m_kilometers",
|
|
1144
1145
|
name: "magnitudFactor",
|
|
1145
1146
|
autoComplete: "off",
|