@m4l/components 2.0.2 → 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.68a8c117.js → index.323b6cf4.js} +3 -3
- package/components/AppBar/{index.09ac84de.js → index.209841e1.js} +4 -4
- package/components/BaseModule/{index.51f3fd59.js → index.aee40a28.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index.f6c15443.js → index.797d8195.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.33d49d50.js → index.d6776091.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.0e78a223.js → index.2af9a15d.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.73b33789.js → index.865af0d8.js} +2 -2
- package/components/CommonActions/components/Actions/{index.c7fab394.js → index.841f1da0.js} +2 -2
- package/components/DataGrid/assets/icons/datagrid.svg +4 -4
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.0a1b3610.js → index.5dac4b66.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.30890ddd.js → index.12d2461f.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.9aa14799.js → index.7234f4b9.js} +1 -1
- package/components/DataGrid/formatters/{index.90ed715b.js → index.93458be0.js} +2 -2
- package/components/DataGrid/{index.58b8d903.js → index.fa8634c0.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index.ea70129c.js → index.5ff19f99.js} +11 -11
- package/components/DragResizeWindow/DragResizeWindow.d.ts +1 -1
- package/components/DragResizeWindow/{index.8c51fb79.js → index.c0382188.js} +5 -9
- package/components/DynamicFilter/{dictionary.10bebb21.js → dictionary.d36bea70.js} +2 -2
- package/components/DynamicFilter/{index.a978aea9.js → index.5d0688b9.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.26eaa1b1.js → dynamicFilterSlots.58ee518d.js} +6 -6
- package/components/DynamicFilter/store/{index.81a5dd49.js → index.2c9704ee.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.bc09a76f.js → index.faf637d6.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.891b913a.js → index.e1008442.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.8fbcaf0f.js → index.246c1304.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.699a1d82.js → index.5c3063f2.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.59293b05.js → index.cc477a59.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.ca652641.js → index.88bb0dee.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.22eac312.js → index.eec7fa42.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.3e2ae583.js → index.50a0dfb9.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.0abab72e.js → index.06fb696b.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.06e8baff.js → index.415b11e6.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.b312fd70.js → index.46905747.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.eeb15b54.js → index.fe51263d.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.43857f7a.js → index.0b52a455.js} +2 -2
- package/components/FieldLabel/{index.2aaaac6f.js → index.13a833c9.js} +4 -4
- package/components/GridLayout/{index.2f9a1cff.js → index.95c84243.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.f904e69e.js → index.99bf4b5c.js} +3 -3
- package/components/GridLayout/subcomponents/Responsive/{index.ef62bea3.js → index.83d6fc44.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.2707f196.js → index.bf9a859a.js} +1 -1
- package/components/HelperText/{index.25891eda.js → index.83b28429.js} +2 -2
- package/components/Icon/{index.89dba21c.js → index.f9cd9367.js} +3 -3
- package/components/Image/{index.94949e55.js → index.eec95206.js} +2 -2
- package/components/LanguagePopover/{index.54aff144.js → index.becad7ef.js} +4 -4
- package/components/LinearProgressIndeterminate/{index.e25f9201.js → index.87be4283.js} +2 -2
- package/components/LoadingError/{index.ef15a461.js → index.8b7a3162.js} +5 -5
- package/components/MFIsolationApp/{index.083fad1c.js → index.d20c8218.js} +2 -2
- package/components/MFLoader/{index.342598a8.js → index.3e7b4cb5.js} +2 -2
- package/components/ModalDialog/{index.545ef5eb.js → index.ec0ab622.js} +4 -4
- package/components/NavLink/{index.6a6f3671.js → index.cca2c605.js} +2 -2
- package/components/NoItemSelected/{index.0d1e8d29.js → index.fa49cac5.js} +1 -1
- package/components/ObjectLogs/{index.32555956.js → index.f70e0c0c.js} +9 -9
- package/components/PDFViewer/{index.e909be56.js → index.cdc90184.js} +2 -2
- package/components/Page/{index.d42de29f.js → index.4759d66c.js} +1 -1
- package/components/PaperForm/{index.dbcbd677.js → index.5cc98ed7.js} +2 -2
- package/components/Period/{index.76c4e428.js → index.6b0b98c1.js} +4 -4
- package/components/PrintingSystem/{index.3381ece1.js → index.0acacf1b.js} +14 -14
- package/components/PrintingSystem/subcomponents/BodyNode/{index.da4c231c.js → index.779838e5.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.4871c76e.js → index.6a572f3d.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.f768c90f.js → index.a121da0d.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.725664fd.js → index.0775edc0.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.caebf8e6.js → index.8d196cc6.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.a5f20406.js → index.1542db42.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.6d2ed690.js → index.34e7cd43.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.ec9d332c.js → index.8f42fe69.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.e9449a3f.js → index.9a39e104.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.bf55f5a7.js → index.73fb8756.js} +1 -1
- package/components/PropertyValue/{index.9dd592cd.js → index.d1ca87c1.js} +3 -3
- package/components/Resizeable/{index.6cbe80f0.js → index.c2f229d6.js} +1 -1
- package/components/ScrollBar/{index.aedb43d9.js → index.424bd908.js} +1 -1
- package/components/SideBar/{index.edd76204.js → index.2ce72f65.js} +6 -6
- package/components/SplitLayout/{index.5289a660.js → index.4265a602.js} +1 -1
- package/components/ToastContainer/{index.8f9f75e9.js → index.b5413d7f.js} +3 -3
- package/components/animate/LoadingScreen/{index.c5cf3b93.js → index.20b1f443.js} +1 -1
- package/components/animate/{index.9c9ee071.js → index.680f5895.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.a52bb40d.js → index.b41fe898.js} +15 -15
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +1 -0
- package/components/areas/components/AreasViewer/{index.de8df5d3.js → index.be5f5a9d.js} +73 -36
- package/components/areas/contexts/AreasContext/{index.514df5ff.js → index.e4be3c65.js} +4 -4
- package/components/areas/hooks/useAreas/{index.6c943645.js → index.ce08327d.js} +1 -1
- package/components/areas/types.d.ts +1 -1
- package/components/commercial/AppBarCommercial/{index.cac50795.js → index.372ea01e.js} +2 -2
- package/components/commercial/SectionCommercial/{index.c967ba14.js → index.026cc71f.js} +2 -2
- package/components/commercial/TopBar/{index.85568231.js → index.fff88136.js} +6 -6
- package/components/commercial/{index.d872094e.js → index.1ea39cc1.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.1da1e6b0.js → index.c29c63fc.js} +2 -2
- package/components/formatters/{index.ac081b3a.js → index.5f44ed46.js} +2 -2
- package/components/hook-form/HelperError/{index.296a4c82.js → index.f2b943ae.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.b1c29dd0.js → index.3f11b4dd.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index.fb434e68.js → index.60003c6b.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.140d872f.js → index.3ce32b03.js} +3 -3
- package/components/hook-form/RHFCheckbox/styles.d.ts +1 -1
- package/components/hook-form/RHFColorPicker/{index.3eb719ac.js → index.21ae7dca.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.54f97b37.js → index.0d2b3d0a.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.c8238ea4.js → index.c950b5d0.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index.78ec0e22.js → index.87be90b7.js} +1 -1
- package/components/hook-form/RHFTextField/{index.984a4dba.js → index.7f95edb6.js} +5 -5
- package/components/hook-form/RHFUpload/{index.0516dc8f.js → index.13724496.js} +5 -5
- package/components/maps/components/GpsTools/{index.779e5b17.js → index.6da62b64.js} +23 -23
- package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -159
- package/components/maps/components/Map/{index.14ce256b.js → index.9c3b3cd0.js} +42 -35
- package/components/maps/leaflet-geoman.d.ts +1476 -1476
- package/components/modal/{WindowBase.a6654e8c.js → WindowBase.6c15797f.js} +3 -3
- package/components/modal/{WindowConfirm.38a79eee.js → WindowConfirm.0d48420b.js} +6 -6
- package/components/mui_extended/Accordion/{index.0e62423b.js → index.fd738d87.js} +4 -4
- package/components/mui_extended/Avatar/{index.edcf899d.js → index.c7b7541f.js} +1 -1
- package/components/mui_extended/Badge/{index.a6dceff2.js → index.cb26549b.js} +1 -1
- package/components/mui_extended/Button/{index.9c6c173c.js → index.19eb272d.js} +3 -3
- package/components/mui_extended/Button/styles.d.ts +1 -1
- package/components/mui_extended/{CheckBox.9d43398b.js → CheckBox.d6469bd2.js} +2 -2
- package/components/mui_extended/IconButton/{index.42efd85d.js → index.4134de6f.js} +2 -2
- package/components/mui_extended/MenuActions/{index.b1f8a1be.js → index.ee8887b7.js} +5 -5
- package/components/mui_extended/Pager/{index.3687d8b6.js → index.015df2f9.js} +4 -4
- package/components/mui_extended/Popover/{index.58f8522b.js → index.ab4709b3.js} +1 -1
- package/components/mui_extended/Stack/{index.b0690398.js → index.53be5d28.js} +1 -1
- package/components/mui_extended/Tab/{index.8a0bd49c.js → index.7abd42e8.js} +1 -1
- package/components/mui_extended/Tabs/styles.d.ts +1 -1
- package/components/mui_extended/ToggleButton/{index.c4e62f10.js → index.a34836ba.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.7635e223.js → index.1f4121fa.js} +1 -1
- package/components/mui_extended/Typography/{index.24a872e2.js → index.202945af.js} +1 -1
- package/components/popups/PopupsProvider/{index.776c62e7.js → index.9a23e1d0.js} +6 -1
- package/components/popups/PopupsViewer/{index.eaa54c6c.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.7f4d2b18.js → index.eb616dfb.js} +1 -1
- package/contexts/RHFormContext/{index.19edaacb.js → index.2ced89c0.js} +1 -1
- package/hooks/useFormAddEdit/{index.aa9cc210.js → index.5f204081.js} +2 -2
- package/hooks/useModal/{index.a2a50f01.js → index.33e4befd.js} +1 -1
- package/hooks/useTab/{index.c0a8f413.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.59da2f54.js → index.cabe6a64.js} +19 -11
- package/vite-env.d.ts +4 -4
- package/components/popups/PopupsViewer/slots/popupsViewerSlots.45032030.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
|
};
|