@m4l/components 2.0.3 → 2.0.4
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 +37 -34
- package/components/AccountPopover/{index.b8f938bc.js → index.323b6cf4.js} +3 -3
- package/components/AppBar/{index.a6c11abf.js → index.209841e1.js} +4 -4
- package/components/BaseModule/{index.a2748ad4.js → index.aee40a28.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index.c9aae474.js → index.797d8195.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.4f465b17.js → index.d6776091.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.5b2f9ea3.js → index.2af9a15d.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.606f6965.js → index.865af0d8.js} +2 -2
- package/components/CommonActions/components/Actions/{index.7ddd8fed.js → index.841f1da0.js} +2 -2
- package/components/DataGrid/assets/icons/datagrid.svg +4 -4
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.d53a08b2.js → index.5dac4b66.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.24871f1a.js → index.12d2461f.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.e2028765.js → index.7234f4b9.js} +1 -1
- package/components/DataGrid/formatters/{index.9f76fa68.js → index.93458be0.js} +2 -2
- package/components/DataGrid/{index.83acf2ec.js → index.fa8634c0.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index.b2e43df5.js → index.5ff19f99.js} +11 -11
- package/components/DragResizeWindow/DragResizeWindow.d.ts +1 -1
- package/components/DragResizeWindow/{index.71f98a3f.js → index.c0382188.js} +5 -9
- package/components/DynamicFilter/{dictionary.0ca834c5.js → dictionary.d36bea70.js} +2 -2
- package/components/DynamicFilter/{index.dd9542f7.js → index.5d0688b9.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.fc8ba331.js → dynamicFilterSlots.58ee518d.js} +6 -6
- package/components/DynamicFilter/store/{index.a3881e3f.js → index.2c9704ee.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.2c1b4665.js → index.faf637d6.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.5a48a3f9.js → index.e1008442.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.8cd8e454.js → index.246c1304.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.942393bc.js → index.5c3063f2.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.6e5db1db.js → index.cc477a59.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.8be39e45.js → index.88bb0dee.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.8afc53ef.js → index.eec7fa42.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.4c275e36.js → index.50a0dfb9.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.25df1e76.js → index.06fb696b.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.69d8bda3.js → index.415b11e6.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.2efc775c.js → index.46905747.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.1796f1dd.js → index.fe51263d.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.d7e77279.js → index.0b52a455.js} +2 -2
- package/components/FieldLabel/{index.bcb6f05d.js → index.13a833c9.js} +4 -4
- package/components/GridLayout/{index.fba6e114.js → index.95c84243.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.24adfcc1.js → index.99bf4b5c.js} +3 -3
- package/components/GridLayout/subcomponents/Responsive/{index.41358259.js → index.83d6fc44.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.b2a45435.js → index.bf9a859a.js} +1 -1
- package/components/HelperText/{index.1d152104.js → index.83b28429.js} +2 -2
- package/components/Icon/{index.e79efafa.js → index.f9cd9367.js} +3 -3
- package/components/Image/{index.27d3bf2a.js → index.eec95206.js} +2 -2
- package/components/LanguagePopover/{index.73b2da28.js → index.becad7ef.js} +4 -4
- package/components/LinearProgressIndeterminate/{index.49f4fbd4.js → index.87be4283.js} +2 -2
- package/components/LoadingError/{index.a4ad865d.js → index.8b7a3162.js} +5 -5
- package/components/MFIsolationApp/{index.88ea1147.js → index.d20c8218.js} +2 -2
- package/components/MFLoader/{index.0e50e984.js → index.3e7b4cb5.js} +2 -2
- package/components/ModalDialog/{index.de979aa7.js → index.ec0ab622.js} +4 -4
- package/components/NavLink/{index.1229fbb2.js → index.cca2c605.js} +2 -2
- package/components/NoItemSelected/{index.4c345906.js → index.fa49cac5.js} +1 -1
- package/components/ObjectLogs/{index.af581566.js → index.f70e0c0c.js} +9 -9
- package/components/PDFViewer/{index.46aab44b.js → index.cdc90184.js} +2 -2
- package/components/Page/{index.37b8df68.js → index.4759d66c.js} +1 -1
- package/components/PaperForm/{index.471089c1.js → index.5cc98ed7.js} +2 -2
- package/components/Period/{index.c6c42384.js → index.6b0b98c1.js} +4 -4
- package/components/PrintingSystem/{index.7da645cd.js → index.0acacf1b.js} +14 -14
- package/components/PrintingSystem/subcomponents/BodyNode/{index.94eafe80.js → index.779838e5.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.d1d4df7c.js → index.6a572f3d.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.99d66340.js → index.a121da0d.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.505dfe08.js → index.0775edc0.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.a191c50e.js → index.8d196cc6.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.56ddc2c3.js → index.1542db42.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.e319581e.js → index.34e7cd43.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.d0ddaaf8.js → index.8f42fe69.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.6c8ec606.js → index.9a39e104.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.b4bf6aa2.js → index.73fb8756.js} +1 -1
- package/components/PropertyValue/{index.0f4c6047.js → index.d1ca87c1.js} +3 -3
- package/components/Resizeable/{index.cec51d22.js → index.c2f229d6.js} +1 -1
- package/components/ScrollBar/{index.50d66dbb.js → index.424bd908.js} +1 -1
- package/components/SideBar/{index.6b4343bd.js → index.2ce72f65.js} +6 -6
- package/components/SplitLayout/{index.05f12155.js → index.4265a602.js} +1 -1
- package/components/ToastContainer/{index.aeb842ca.js → index.b5413d7f.js} +3 -3
- package/components/animate/LoadingScreen/{index.53f75ce6.js → index.20b1f443.js} +1 -1
- package/components/animate/{index.c32350f3.js → index.680f5895.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.eb7f0465.js → index.b41fe898.js} +15 -15
- package/components/areas/components/AreasViewer/{index.30c06d82.js → index.be5f5a9d.js} +15 -15
- package/components/areas/contexts/AreasContext/{index.58db339a.js → index.e4be3c65.js} +4 -4
- package/components/areas/hooks/useAreas/{index.b155b0dd.js → index.ce08327d.js} +1 -1
- package/components/areas/types.d.ts +1 -1
- package/components/commercial/AppBarCommercial/{index.eda47057.js → index.372ea01e.js} +2 -2
- package/components/commercial/SectionCommercial/{index.f04720cd.js → index.026cc71f.js} +2 -2
- package/components/commercial/TopBar/{index.09698b46.js → index.fff88136.js} +6 -6
- package/components/commercial/{index.f2615c66.js → index.1ea39cc1.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.710d2b28.js → index.c29c63fc.js} +2 -2
- package/components/formatters/{index.6ee697c8.js → index.5f44ed46.js} +2 -2
- package/components/hook-form/HelperError/{index.aa7d32dc.js → index.f2b943ae.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.8f569ae5.js → index.3f11b4dd.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index.9dcde1ca.js → index.60003c6b.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.c83df993.js → index.3ce32b03.js} +3 -3
- package/components/hook-form/RHFCheckbox/styles.d.ts +1 -1
- package/components/hook-form/RHFColorPicker/{index.959c3cad.js → index.21ae7dca.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.cf48b018.js → index.0d2b3d0a.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.738d7bb0.js → index.c950b5d0.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index.242cda5c.js → index.87be90b7.js} +1 -1
- package/components/hook-form/RHFTextField/{index.9fb17e41.js → index.7f95edb6.js} +5 -5
- package/components/hook-form/RHFUpload/{index.699268ca.js → index.13724496.js} +5 -5
- package/components/maps/components/GpsTools/{index.c4b62b00.js → index.6da62b64.js} +23 -23
- package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -159
- package/components/maps/components/Map/{index.4308fef5.js → index.9c3b3cd0.js} +42 -35
- package/components/maps/leaflet-geoman.d.ts +1476 -1476
- package/components/modal/{WindowBase.36d9a627.js → WindowBase.6c15797f.js} +3 -3
- package/components/modal/{WindowConfirm.402ad54e.js → WindowConfirm.0d48420b.js} +6 -6
- package/components/mui_extended/Accordion/{index.51a15c0e.js → index.fd738d87.js} +4 -4
- package/components/mui_extended/Avatar/{index.79c26d4f.js → index.c7b7541f.js} +1 -1
- package/components/mui_extended/Badge/{index.17eae617.js → index.cb26549b.js} +1 -1
- package/components/mui_extended/Button/{index.ab6e0ce4.js → index.19eb272d.js} +3 -3
- package/components/mui_extended/Button/styles.d.ts +1 -1
- package/components/mui_extended/{CheckBox.e80fe5f3.js → CheckBox.d6469bd2.js} +2 -2
- package/components/mui_extended/IconButton/{index.f0c09b00.js → index.4134de6f.js} +2 -2
- package/components/mui_extended/MenuActions/{index.2597f410.js → index.ee8887b7.js} +5 -5
- package/components/mui_extended/Pager/{index.3f25697d.js → index.015df2f9.js} +4 -4
- package/components/mui_extended/Popover/{index.b0bfd9c7.js → index.ab4709b3.js} +1 -1
- package/components/mui_extended/Stack/{index.5c75c025.js → index.53be5d28.js} +1 -1
- package/components/mui_extended/Tab/{index.5269b568.js → index.7abd42e8.js} +1 -1
- package/components/mui_extended/Tabs/styles.d.ts +1 -1
- package/components/mui_extended/ToggleButton/{index.1317263c.js → index.a34836ba.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.2e766f5c.js → index.1f4121fa.js} +1 -1
- package/components/mui_extended/Typography/{index.4ba02863.js → index.202945af.js} +1 -1
- package/components/popups/PopupsProvider/{index.776c62e7.js → index.9a23e1d0.js} +6 -1
- package/components/popups/PopupsViewer/{index.ea8cf50a.js → index.fb409d20.js} +12 -12
- package/components/popups/PopupsViewer/slots/{index.154e4e5f.js → index.37ef2263.js} +1 -1
- package/components/popups/PopupsViewer/slots/popupsViewerSlots.00d8493c.js +46 -0
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +6 -1
- package/components/popups/components/PopupsViewer/PopupsViewer.d.ts +3 -4
- package/components/popups/components/PopupsViewer/constants.d.ts +0 -1
- package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +3 -3
- package/components/popups/components/PopupsViewer/slots/slots.d.ts +1 -1
- package/components/popups/components/PopupsViewer/types.d.ts +1 -1
- package/contexts/ModalContext/{index.6e8cbe8a.js → index.eb616dfb.js} +1 -1
- package/contexts/RHFormContext/{index.390245ca.js → index.2ced89c0.js} +1 -1
- package/hooks/useFormAddEdit/{index.a9d5298d.js → index.5f204081.js} +2 -2
- package/hooks/useModal/{index.a9bf26b8.js → index.33e4befd.js} +1 -1
- package/hooks/useTab/{index.f0bd61d3.js → index.bcbaa818.js} +1 -1
- package/index.js +133 -133
- package/package.json +1 -1
- package/{react-draggable.1c1ba224.js → react-draggable.310e3387.js} +1 -1
- package/{react-resizable.a59c14f4.js → react-resizable.3755959b.js} +2 -2
- package/styles/{DynamicFilter.27c16026.js → DynamicFilter.557ee3a7.js} +1 -1
- package/styles/{index.dbc66bb9.js → index.cabe6a64.js} +19 -11
- package/vite-env.d.ts +4 -4
- package/components/popups/PopupsViewer/slots/popupsViewerSlots.2dab56ff.js +0 -39
- /package/utils/{index.14912462.js → index.78d1638f.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.841f1da0.js";
|
|
13
|
+
import { B as Button } from "../../../mui_extended/Button/index.19eb272d.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.
|
|
20
|
-
import { u as usePopupsStore, P as PopupsProvider } from "../../../popups/PopupsProvider/index.
|
|
21
|
-
import { T as ToggleIconButton } from "../../../mui_extended/ToggleIconButton/index.
|
|
22
|
-
import { D as DataGrid } from "../../../DataGrid/index.
|
|
16
|
+
import { R as RHFAutocompleteAsync } from "../../../hook-form/RHFAutocompleteAsync/index.60003c6b.js";
|
|
17
|
+
import { S as Stack } from "../../../mui_extended/Stack/index.53be5d28.js";
|
|
18
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.2ced89c0.js";
|
|
19
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.4134de6f.js";
|
|
20
|
+
import { u as usePopupsStore, P as PopupsProvider } from "../../../popups/PopupsProvider/index.9a23e1d0.js";
|
|
21
|
+
import { T as ToggleIconButton } from "../../../mui_extended/ToggleIconButton/index.1f4121fa.js";
|
|
22
|
+
import { D as DataGrid } from "../../../DataGrid/index.fa8634c0.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.f9cd9367.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.d6469bd2.js";
|
|
28
|
+
import { P as Popover } from "../../../mui_extended/Popover/index.ab4709b3.js";
|
|
29
|
+
import { P as PopupsViewer } from "../../../popups/PopupsViewer/index.fb409d20.js";
|
|
30
30
|
import { createPathComponent } from "@react-leaflet/core";
|
|
31
31
|
import "leaflet.markercluster";
|
|
32
32
|
import { cloneDeep, throttle } from "lodash";
|
|
@@ -37,9 +37,11 @@ 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.78d1638f.js";
|
|
41
41
|
import { b as bearingRawToCSS } from "../../index.13bb982c.js";
|
|
42
42
|
import "leaflet-polylinedecorator";
|
|
43
|
+
const updateOwnerStateClasses = (_state) => {
|
|
44
|
+
};
|
|
43
45
|
const COMPONENT_CLASS_NAME = "M4LMap";
|
|
44
46
|
const MAP_ZINDEX_DEFAULT = 0;
|
|
45
47
|
const MAP_ZINDEX_OVER_MAP = 1100;
|
|
@@ -76,8 +78,6 @@ const SVG_ICON_DEFAULT = `<svg viewBox="0 0 640 640" height="32" width="32" xmln
|
|
|
76
78
|
>P</text>
|
|
77
79
|
</g>
|
|
78
80
|
</svg>`;
|
|
79
|
-
const updateOwnerStateClasses = (_state) => {
|
|
80
|
-
};
|
|
81
81
|
const mapClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
82
82
|
"root",
|
|
83
83
|
"topLeftToolsRoot",
|
|
@@ -1709,22 +1709,30 @@ function Controls(props) {
|
|
|
1709
1709
|
L__default.DomEvent.disableScrollPropagation(cContainer);
|
|
1710
1710
|
}
|
|
1711
1711
|
}, [map]);
|
|
1712
|
-
return /* @__PURE__ */ jsxs(
|
|
1712
|
+
return /* @__PURE__ */ jsxs(
|
|
1713
|
+
PopupsProvider,
|
|
1713
1714
|
{
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1715
|
+
baseZindex: MAP_ZINDEX_OVER_MAP,
|
|
1716
|
+
containerElement: map.getContainer(),
|
|
1717
|
+
initialPopups: [
|
|
1718
|
+
{
|
|
1719
|
+
popupId: "popup1",
|
|
1720
|
+
status: "init",
|
|
1721
|
+
iconUrl: "`https://s3.amazonaws.com/static.made4labs/environments/d1/frontend/components/dynamic_filter/assets/icons/edit.svg`,",
|
|
1722
|
+
title: "Popup 1",
|
|
1723
|
+
subTitle: "Subtitulo",
|
|
1724
|
+
zIndex: 1,
|
|
1725
|
+
componentProps: {},
|
|
1726
|
+
functionComponent: () => /* @__PURE__ */ jsx("div", { children: "MyComponent" })
|
|
1727
|
+
}
|
|
1728
|
+
],
|
|
1729
|
+
children: [
|
|
1730
|
+
/* @__PURE__ */ jsx(TopLeftTools, {}),
|
|
1731
|
+
/* @__PURE__ */ jsx(TopRightTools, { gpsTools }),
|
|
1732
|
+
controlContainer && createPortal(/* @__PURE__ */ jsx(PopupsViewer, {}), controlContainer)
|
|
1733
|
+
]
|
|
1722
1734
|
}
|
|
1723
|
-
|
|
1724
|
-
/* @__PURE__ */ jsx(TopLeftTools, {}),
|
|
1725
|
-
/* @__PURE__ */ jsx(TopRightTools, { gpsTools }),
|
|
1726
|
-
controlContainer && createPortal(/* @__PURE__ */ jsx(PopupsViewer, {}), controlContainer)
|
|
1727
|
-
] });
|
|
1735
|
+
);
|
|
1728
1736
|
}
|
|
1729
1737
|
const MarkerClusterGroup = createPathComponent(({ children: _c, ...props }, ctx) => {
|
|
1730
1738
|
const clusterProps = {};
|
|
@@ -2338,12 +2346,11 @@ export {
|
|
|
2338
2346
|
CommonFeatureRender as C,
|
|
2339
2347
|
GPS_TOOLS_POPUP_ID as G,
|
|
2340
2348
|
LABEL_BK_COLOR_DEFAULT as L,
|
|
2341
|
-
|
|
2349
|
+
Map$1 as M,
|
|
2342
2350
|
LABEL_COLOR_DEFAULT as a,
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
MarkerFeatureRender as e,
|
|
2351
|
+
MapProvider as b,
|
|
2352
|
+
MapContext as c,
|
|
2353
|
+
MarkerFeatureRender as d,
|
|
2347
2354
|
mapClasses as m,
|
|
2348
2355
|
useMapStore as u
|
|
2349
2356
|
};
|