@m4l/components 2.0.7 → 3.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.
Files changed (165) hide show
  1. package/@types/export.d.ts +266 -269
  2. package/@types/types.d.ts +47 -37
  3. package/components/AccountPopover/{index.a5747746.js → index.af5aae0e.js} +3 -3
  4. package/components/AppBar/{index.2d458607.js → index.b8f22046.js} +4 -4
  5. package/components/BaseModule/{index.3f266927.js → index.f7a04fe7.js} +1 -1
  6. package/components/CommonActions/components/ActionCancel/{index.c1185f46.js → index.e67885bc.js} +2 -2
  7. package/components/CommonActions/components/ActionFormCancel/{index.7f76a6ba.js → index.92988013.js} +4 -4
  8. package/components/CommonActions/components/ActionFormIntro/{index.8a23ec62.js → index.f8867ae9.js} +2 -2
  9. package/components/CommonActions/components/ActionIntro/{index.185199da.js → index.e58eb0c4.js} +2 -2
  10. package/components/CommonActions/components/Actions/{index.ea4c273b.js → index.f674be30.js} +2 -2
  11. package/components/DataGrid/assets/icons/datagrid.svg +4 -4
  12. package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.0739f098.js → index.89a59c52.js} +1 -1
  13. package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.d524f74c.js → index.d619d1db.js} +1 -1
  14. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.addc6664.js → index.557bc8a5.js} +1 -1
  15. package/components/DataGrid/formatters/{index.ee269cae.js → index.06c18753.js} +2 -2
  16. package/components/DataGrid/{index.1feaab04.js → index.b37d6cab.js} +4 -4
  17. package/components/DataGrid/subcomponents/Actions/{index.06306495.js → index.c3b1c1e2.js} +11 -11
  18. package/components/DragResizeWindow/DragResizeWindow.d.ts +1 -1
  19. package/components/DragResizeWindow/{index.44fad985.js → index.a4bcaab8.js} +2 -2
  20. package/components/DynamicFilter/{dictionary.a55d5bc2.js → dictionary.94a74eb3.js} +2 -2
  21. package/components/DynamicFilter/{index.2033e755.js → index.b07b567a.js} +4 -4
  22. package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +1 -1
  23. package/components/DynamicFilter/slots/{dynamicFilterSlots.3ef5ec21.js → dynamicFilterSlots.dd5824d5.js} +6 -6
  24. package/components/DynamicFilter/store/{index.3cc06678.js → index.49d1b77f.js} +1 -1
  25. package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.db29f2ff.js → index.9e8fcc8c.js} +3 -3
  26. package/components/DynamicFilter/subcomponents/AppliedFilters/{index.2de720bc.js → index.3e52c5d7.js} +4 -4
  27. package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.7a9d4d33.js → index.68d855e9.js} +6 -6
  28. package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.a4269ba3.js → index.11f588b4.js} +2 -2
  29. package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.ebb6606c.js → index.77555163.js} +4 -4
  30. package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.cd343ba0.js → index.1c8454db.js} +3 -3
  31. package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.b5c31620.js → index.cb31333a.js} +4 -4
  32. package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.4c42f140.js → index.0ae3d439.js} +3 -3
  33. package/components/DynamicFilter/subcomponents/FieldTypes/{index.3e15fc1c.js → index.5a0c7b12.js} +5 -5
  34. package/components/DynamicFilter/subcomponents/FilterActions/{index.0d687448.js → index.50c175e7.js} +3 -3
  35. package/components/DynamicFilter/subcomponents/InputFilter/{index.4c5bb297.js → index.82d4ac5a.js} +4 -4
  36. package/components/DynamicFilter/subcomponents/PopoverFilter/{index.6c8c52ae.js → index.fa62a6c3.js} +6 -6
  37. package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.9cf2bc44.js → index.e5e439f1.js} +2 -2
  38. package/components/DynamicFilter/types.d.ts +1 -1
  39. package/components/FieldLabel/{index.972f989e.js → index.9a979def.js} +4 -4
  40. package/components/GridLayout/{index.2b9bc85c.js → index.dd291886.js} +2 -2
  41. package/components/GridLayout/subcomponents/Griditem/{index.684c3f3c.js → index.10278655.js} +3 -3
  42. package/components/GridLayout/subcomponents/Responsive/{index.dc0a1ce0.js → index.24857a52.js} +1 -1
  43. package/components/GridLayout/subcomponents/SizeProvider/{index.15d0ca85.js → index.2f762118.js} +1 -1
  44. package/components/HelperText/{index.2f4c6655.js → index.6818980e.js} +2 -2
  45. package/components/Icon/{index.0f315ccd.js → index.c06685f4.js} +3 -3
  46. package/components/Image/{index.32b58ce4.js → index.ae542f70.js} +2 -2
  47. package/components/LanguagePopover/{index.6ac2473a.js → index.2a7e40fc.js} +4 -4
  48. package/components/LinearProgressIndeterminate/{index.6d1605ff.js → index.ca78fd37.js} +2 -2
  49. package/components/LoadingError/{index.c5a70390.js → index.765ff885.js} +6 -6
  50. package/components/MFIsolationApp/constants.d.ts +1 -0
  51. package/components/MFIsolationApp/{index.56a12cde.js → index.677d9e93.js} +46 -44
  52. package/components/MFLoader/{index.cc350d72.js → index.6af7729c.js} +2 -2
  53. package/components/ModalDialog/{index.580a88dc.js → index.a57ee020.js} +4 -4
  54. package/components/NavLink/{index.c6fd316b.js → index.dd723dfd.js} +2 -2
  55. package/components/NoItemSelected/{index.7274cdb1.js → index.b3e365b1.js} +1 -1
  56. package/components/ObjectLogs/{index.1b51e5f2.js → index.54fdee14.js} +9 -9
  57. package/components/PDFViewer/{index.eed9494a.js → index.7932d07b.js} +2 -2
  58. package/components/Page/{index.f6884847.js → index.5f2963f3.js} +1 -1
  59. package/components/PaperForm/{index.86c1f1d6.js → index.cdb1f846.js} +2 -2
  60. package/components/Period/{index.5757802b.js → index.b0b2a03b.js} +4 -4
  61. package/components/PrintingSystem/{index.47e0ce83.js → index.800a7957.js} +14 -14
  62. package/components/PrintingSystem/subcomponents/BodyNode/{index.d58660a8.js → index.60ad80bd.js} +1 -1
  63. package/components/PrintingSystem/subcomponents/ChartNode/{index.8e010873.js → index.d4aa116e.js} +1 -1
  64. package/components/PrintingSystem/subcomponents/DividerNode/{index.13330f51.js → index.142bbf1a.js} +1 -1
  65. package/components/PrintingSystem/subcomponents/FooterNode/{index.05da3e1d.js → index.d16d2c5e.js} +1 -1
  66. package/components/PrintingSystem/subcomponents/GridNode/{index.d68b5460.js → index.044363bf.js} +1 -1
  67. package/components/PrintingSystem/subcomponents/HeaderNode/{index.0ed11227.js → index.5581a84d.js} +1 -1
  68. package/components/PrintingSystem/subcomponents/PaperNode/{index.0a0227e4.js → index.2994c128.js} +1 -1
  69. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.18931b6e.js → index.166d7264.js} +1 -1
  70. package/components/PrintingSystem/subcomponents/SectionNode/{index.e80cce87.js → index.642ab1b7.js} +1 -1
  71. package/components/PrintingSystem/subcomponents/TextBoxNode/{index.7fc92f43.js → index.d8a2a0af.js} +1 -1
  72. package/components/PropertyValue/{index.ee9cf342.js → index.d81eae0a.js} +3 -3
  73. package/components/Resizeable/{index.0ffd46bc.js → index.df2f3bb8.js} +1 -1
  74. package/components/ScrollBar/{index.45b8db89.js → index.11feff65.js} +1 -1
  75. package/components/SideBar/{index.50868466.js → index.990e8667.js} +6 -6
  76. package/components/SplitLayout/{index.c2b8dcb8.js → index.b247de95.js} +1 -1
  77. package/components/ToastContainer/ToastContainer.d.ts +1 -1
  78. package/components/ToastContainer/constants.d.ts +3 -0
  79. package/components/ToastContainer/helpers/toaster.d.ts +4 -0
  80. package/components/ToastContainer/icons.d.ts +9 -0
  81. package/components/ToastContainer/index.c1657bde.js +191 -0
  82. package/components/ToastContainer/index.d.ts +1 -0
  83. package/components/ToastContainer/slots/ToastContainerEnum.d.ts +13 -0
  84. package/components/ToastContainer/slots/index.d.ts +2 -0
  85. package/components/ToastContainer/slots/toastContainerSlots.d.ts +34 -0
  86. package/components/ToastContainer/subcomponents/ToastMessage/ToastMessage.d.ts +2 -0
  87. package/components/ToastContainer/subcomponents/ToastMessage/index.d.ts +1 -2
  88. package/components/ToastContainer/types.d.ts +39 -3
  89. package/components/animate/LoadingScreen/{index.31af02f8.js → index.36a63311.js} +1 -1
  90. package/components/animate/{index.160607f3.js → index.ceb7669a.js} +1 -1
  91. package/components/areas/components/AreasAdmin/{index.cb60f940.js → index.b232384d.js} +16 -16
  92. package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
  93. package/components/areas/components/AreasViewer/classes/types.d.ts +0 -8
  94. package/components/areas/components/AreasViewer/{index.350ee032.js → index.d45bfcd2.js} +19 -97
  95. package/components/areas/contexts/AreasContext/helper.d.ts +2 -5
  96. package/components/areas/contexts/AreasContext/{index.1a5c5df1.js → index.9edd84c3.js} +5 -119
  97. package/components/areas/contexts/AreasContext/types.d.ts +1 -4
  98. package/components/areas/contexts/WindowToolsMFContext/types.d.ts +3 -2
  99. package/components/areas/hooks/useAreas/{index.ba948f80.js → index.5a57ab76.js} +1 -1
  100. package/components/areas/{icons.8266ccc8.js → icons.01fa3bcc.js} +0 -2
  101. package/components/areas/icons.d.ts +0 -2
  102. package/components/areas/index.d.ts +1 -1
  103. package/components/areas/types.d.ts +0 -40
  104. package/components/commercial/AppBarCommercial/{index.cdc42f41.js → index.b4f6147e.js} +2 -2
  105. package/components/commercial/SectionCommercial/{index.a9265d42.js → index.a250338c.js} +2 -2
  106. package/components/commercial/TopBar/{index.06c1e138.js → index.4fdd66e5.js} +6 -6
  107. package/components/commercial/{index.163293c3.js → index.be1af158.js} +3 -3
  108. package/components/formatters/BooleanFormatter/{index.b224ae9b.js → index.91435984.js} +2 -2
  109. package/components/formatters/{index.373a6ce1.js → index.64017cc1.js} +2 -2
  110. package/components/hook-form/HelperError/{index.399e7338.js → index.360f8fb7.js} +1 -1
  111. package/components/hook-form/RHFAutocomplete/{index.0d32fed5.js → index.089af1b8.js} +6 -6
  112. package/components/hook-form/RHFAutocompleteAsync/{index.2622450c.js → index.f05b6fe3.js} +2 -2
  113. package/components/hook-form/RHFCheckbox/{index.3229f16c.js → index.4cefbad2.js} +3 -3
  114. package/components/hook-form/RHFColorPicker/{index.86525787.js → index.ed380b30.js} +6 -6
  115. package/components/hook-form/RHFDateTime/{index.572079c5.js → index.118ebe6d.js} +4 -4
  116. package/components/hook-form/RHFPeriod/{index.1883d9f6.js → index.404ba4c6.js} +4 -4
  117. package/components/hook-form/RHFRadioGroup/{index.9eea0df1.js → index.591f779d.js} +1 -1
  118. package/components/hook-form/RHFTextField/{index.5b124af3.js → index.80b98b98.js} +5 -5
  119. package/components/hook-form/RHFUpload/{index.cf63abf0.js → index.7b7ee732.js} +5 -5
  120. package/components/maps/components/GpsTools/{index.7628172f.js → index.c1198f79.js} +24 -24
  121. package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -159
  122. package/components/maps/components/Map/{index.df953487.js → index.8c947175.js} +13 -13
  123. package/components/maps/leaflet-geoman.d.ts +1476 -1476
  124. package/components/modal/{WindowBase.cb284225.js → WindowBase.00b9e5f1.js} +3 -3
  125. package/components/modal/{WindowConfirm.193cc75e.js → WindowConfirm.abf49573.js} +6 -6
  126. package/components/mui_extended/Accordion/{index.49007a43.js → index.26524ecd.js} +4 -4
  127. package/components/mui_extended/Avatar/{index.a2e1ca6d.js → index.e7bcc850.js} +1 -1
  128. package/components/mui_extended/Badge/{index.188ffbb4.js → index.48948839.js} +1 -1
  129. package/components/mui_extended/Button/{index.ca15c36e.js → index.3d14e3e9.js} +3 -3
  130. package/components/mui_extended/{CheckBox.983e10e6.js → CheckBox.5dc01b37.js} +2 -2
  131. package/components/mui_extended/IconButton/{index.caf17392.js → index.7b6c1ee3.js} +2 -2
  132. package/components/mui_extended/MenuActions/{index.c24bd476.js → index.11d777bb.js} +5 -5
  133. package/components/mui_extended/Pager/{index.f27033fc.js → index.b28a2103.js} +4 -4
  134. package/components/mui_extended/Popover/{index.1fafd106.js → index.a7da93f1.js} +1 -1
  135. package/components/mui_extended/Stack/{index.b8c3b40b.js → index.99de8138.js} +1 -1
  136. package/components/mui_extended/Tab/{index.c2dca6dd.js → index.5c6a6801.js} +1 -1
  137. package/components/mui_extended/ToggleButton/{index.4b6f9c8e.js → index.86098567.js} +1 -1
  138. package/components/mui_extended/ToggleIconButton/{index.0513d9e6.js → index.cbfe1cad.js} +1 -1
  139. package/components/mui_extended/Typography/{index.61dd3fc6.js → index.8c0801e4.js} +1 -1
  140. package/components/popups/PopupsViewer/{index.c6a0c277.js → index.52653047.js} +4 -4
  141. package/components/popups/PopupsViewer/slots/{popupsViewerSlots.0b92fc90.js → popupsViewerSlots.69dd2614.js} +2 -2
  142. package/contexts/ModalContext/{index.50cc9ba8.js → index.799110fe.js} +1 -1
  143. package/contexts/RHFormContext/{index.acc30d9b.js → index.f9d41b99.js} +1 -1
  144. package/hooks/useFormAddEdit/{index.daf5d0c8.js → index.8947ee59.js} +2 -2
  145. package/hooks/useModal/{index.6f5c238d.js → index.eb857f6e.js} +1 -1
  146. package/hooks/useTab/{index.8c6646a4.js → index.9ad15247.js} +1 -1
  147. package/index.js +158 -156
  148. package/package.json +2 -2
  149. package/{react-draggable.df62ccbd.js → react-draggable.079122b0.js} +1 -1
  150. package/{react-resizable.c746880c.js → react-resizable.330f1499.js} +2 -2
  151. package/styles/{DynamicFilter.f317726e.js → DynamicFilter.0713a406.js} +1 -1
  152. package/styles/ToastContainer.styles.d.ts +2 -0
  153. package/styles/{index.ccd8acc4.js → index.db9e7ddb.js} +201 -43
  154. package/test/getNameDataTestId.d.ts +1 -1
  155. package/utils/index.d.ts +1 -1
  156. package/vite-env.d.ts +4 -4
  157. package/components/ToastContainer/classes/constants.d.ts +0 -1
  158. package/components/ToastContainer/classes/index.d.ts +0 -8
  159. package/components/ToastContainer/classes/types.d.ts +0 -9
  160. package/components/ToastContainer/index.ed566312.js +0 -69
  161. package/components/ToastContainer/styles.d.ts +0 -2
  162. package/components/ToastContainer/subcomponents/ToastMessage/types.d.ts +0 -5
  163. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Toasties/index.d.ts +0 -5
  164. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Toasties/subcomponents/Toasty/index.d.ts +0 -6
  165. /package/utils/{index.ebfbb70f.js → index.f77cc2ab.js} +0 -0
@@ -5,42 +5,42 @@ import { shallow } from "zustand/shallow";
5
5
  import "@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css";
6
6
  import "@geoman-io/leaflet-geoman-free";
7
7
  import clsx from "clsx";
8
- import { au as RHFormProviderStyled, av as StackGeofenceListRoot, aw as DivTabGpsToolsRoot } from "../../../../styles/index.ccd8acc4.js";
9
- import { D as DynamicFilter } from "../../../DynamicFilter/index.2033e755.js";
10
- import { C as ColumnIconFormatter } from "../../../DataGrid/formatters/index.ee269cae.js";
8
+ import { au as RHFormProviderStyled, av as StackGeofenceListRoot, aw as DivTabGpsToolsRoot } from "../../../../styles/index.db9e7ddb.js";
9
+ import { D as DynamicFilter } from "../../../DynamicFilter/index.b07b567a.js";
10
+ import { C as ColumnIconFormatter } from "../../../DataGrid/formatters/index.06c18753.js";
11
11
  import { C as ColumnDateFormatter } from "../../../DataGrid/formatters/ColumnDateFormatter/index.e00d0cf2.js";
12
12
  import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
13
13
  import { useFormContext, useWatch, useFormState } from "react-hook-form";
14
- import { H as HelperError } from "../../../hook-form/HelperError/index.399e7338.js";
15
- import { u as useModal } from "../../../../hooks/useModal/index.6f5c238d.js";
14
+ import { H as HelperError } from "../../../hook-form/HelperError/index.360f8fb7.js";
15
+ import { u as useModal } from "../../../../hooks/useModal/index.eb857f6e.js";
16
16
  import { u as usePopupsStore } from "../../../popups/PopupsProvider/index.9a23e1d0.js";
17
17
  import { createStore, useStore } from "zustand";
18
18
  import { devtools } from "zustand/middleware";
19
19
  import { immer } from "zustand/middleware/immer";
20
20
  import { enableMapSet } from "immer";
21
- import { A as ActionFormIntro } from "../../../CommonActions/components/ActionFormIntro/index.8a23ec62.js";
22
- import { W as WindowConfirm } from "../../../modal/WindowConfirm.193cc75e.js";
23
- import { A as Actions } from "../../../CommonActions/components/Actions/index.ea4c273b.js";
24
- import { B as Button } from "../../../mui_extended/Button/index.ca15c36e.js";
21
+ import { A as ActionFormIntro } from "../../../CommonActions/components/ActionFormIntro/index.f8867ae9.js";
22
+ import { W as WindowConfirm } from "../../../modal/WindowConfirm.abf49573.js";
23
+ import { A as Actions } from "../../../CommonActions/components/Actions/index.f674be30.js";
24
+ import { B as Button } from "../../../mui_extended/Button/index.3d14e3e9.js";
25
25
  import { useMap } from "react-leaflet";
26
26
  import * as L from "leaflet";
27
27
  import { u as useFormReadyForUpdate } from "../../../../hooks/useFormReadyForUpdate/index.f60f500e.js";
28
- import { u as useTab } from "../../../../hooks/useTab/index.8c6646a4.js";
28
+ import { u as useTab } from "../../../../hooks/useTab/index.9ad15247.js";
29
29
  import { generateUtilityClasses } from "@mui/material";
30
30
  import "@mui/base";
31
- import { P as PaperForm } from "../../../PaperForm/index.86c1f1d6.js";
32
- import { R as RHFAutocomplete } from "../../../hook-form/RHFAutocomplete/index.0d32fed5.js";
33
- import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.5b124af3.js";
34
- import { S as Stack } from "../../../mui_extended/Stack/index.b8c3b40b.js";
35
- import { I as IconButton } from "../../../mui_extended/IconButton/index.caf17392.js";
36
- import { P as PropertyValue } from "../../../PropertyValue/index.ee9cf342.js";
37
- import { R as RHFColorPicker } from "../../../hook-form/RHFColorPicker/index.86525787.js";
38
- import { T as Tabs, a as Tab, b as TabContent, c as TabProvider } from "../../../mui_extended/Tab/index.c2dca6dd.js";
39
- import { I as Icon } from "../../../Icon/index.0f315ccd.js";
31
+ import { P as PaperForm } from "../../../PaperForm/index.cdb1f846.js";
32
+ import { R as RHFAutocomplete } from "../../../hook-form/RHFAutocomplete/index.089af1b8.js";
33
+ import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.80b98b98.js";
34
+ import { S as Stack } from "../../../mui_extended/Stack/index.99de8138.js";
35
+ import { I as IconButton } from "../../../mui_extended/IconButton/index.7b6c1ee3.js";
36
+ import { P as PropertyValue } from "../../../PropertyValue/index.d81eae0a.js";
37
+ import { R as RHFColorPicker } from "../../../hook-form/RHFColorPicker/index.ed380b30.js";
38
+ import { T as Tabs, a as Tab, b as TabContent, c as TabProvider } from "../../../mui_extended/Tab/index.5c6a6801.js";
39
+ import { I as Icon } from "../../../Icon/index.c06685f4.js";
40
40
  import * as Yup from "yup";
41
- import { u as useFormAddEdit } from "../../../../hooks/useFormAddEdit/index.daf5d0c8.js";
42
- import { u as useMapStore, C as CommonFeatureRender, G as GPS_TOOLS_POPUP_ID } from "../Map/index.df953487.js";
43
- import { D as DataGrid } from "../../../DataGrid/index.1feaab04.js";
41
+ import { u as useFormAddEdit } from "../../../../hooks/useFormAddEdit/index.8947ee59.js";
42
+ import { u as useMapStore, C as CommonFeatureRender, G as GPS_TOOLS_POPUP_ID } from "../Map/index.8c947175.js";
43
+ import { D as DataGrid } from "../../../DataGrid/index.b37d6cab.js";
44
44
  const COMPONENT_CLASS_NAME = "M4LMapGpsTools";
45
45
  const COMPONENT_MAP_TOOLS_ID = "gps_tools";
46
46
  const STYLE_OPACITIES = [
@@ -1098,7 +1098,7 @@ function useSubmit(props) {
1098
1098
  bodyToSnakeCase: true,
1099
1099
  isRemote: false
1100
1100
  }).then((response) => {
1101
- toast(response.message, { type: "success" });
1101
+ toast({ title: response.message }, { type: "success" });
1102
1102
  closePopup("geofencesAddEdit");
1103
1103
  showPopup("gpsTools");
1104
1104
  if (objectId !== void 0) {
@@ -1224,7 +1224,7 @@ function useRowActionsGetter(props) {
1224
1224
  method: "DELETE",
1225
1225
  endPoint: `geofences/${row.id}`
1226
1226
  }).then((response) => {
1227
- toast(response.message, { type: "success" });
1227
+ toast({ title: response.message }, { type: "success" });
1228
1228
  fullRefresh();
1229
1229
  });
1230
1230
  closeModal();
@@ -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.ea4c273b.js";
13
- import { B as Button } from "../../../mui_extended/Button/index.ca15c36e.js";
12
+ import { A as Actions } from "../../../CommonActions/components/Actions/index.f674be30.js";
13
+ import { B as Button } from "../../../mui_extended/Button/index.3d14e3e9.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.2622450c.js";
17
- import { S as Stack } from "../../../mui_extended/Stack/index.b8c3b40b.js";
18
- import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.acc30d9b.js";
19
- import { I as IconButton } from "../../../mui_extended/IconButton/index.caf17392.js";
16
+ import { R as RHFAutocompleteAsync } from "../../../hook-form/RHFAutocompleteAsync/index.f05b6fe3.js";
17
+ import { S as Stack } from "../../../mui_extended/Stack/index.99de8138.js";
18
+ import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.f9d41b99.js";
19
+ import { I as IconButton } from "../../../mui_extended/IconButton/index.7b6c1ee3.js";
20
20
  import { u as usePopupsStore, P as PopupsProvider } from "../../../popups/PopupsProvider/index.9a23e1d0.js";
21
- import { T as ToggleIconButton } from "../../../mui_extended/ToggleIconButton/index.0513d9e6.js";
22
- import { D as DataGrid } from "../../../DataGrid/index.1feaab04.js";
21
+ import { T as ToggleIconButton } from "../../../mui_extended/ToggleIconButton/index.cbfe1cad.js";
22
+ import { D as DataGrid } from "../../../DataGrid/index.b37d6cab.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.0f315ccd.js";
25
+ import { I as Icon, M as MarkerIconLabel } from "../../../Icon/index.c06685f4.js";
26
26
  import { u as useStateRef } from "../../../../hooks/useStateRef/index.538edb89.js";
27
- import { C as CheckBox } from "../../../mui_extended/CheckBox.983e10e6.js";
28
- import { P as Popover } from "../../../mui_extended/Popover/index.1fafd106.js";
29
- import { P as PopupsViewer } from "../../../popups/PopupsViewer/index.c6a0c277.js";
27
+ import { C as CheckBox } from "../../../mui_extended/CheckBox.5dc01b37.js";
28
+ import { P as Popover } from "../../../mui_extended/Popover/index.a7da93f1.js";
29
+ import { P as PopupsViewer } from "../../../popups/PopupsViewer/index.52653047.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.ebfbb70f.js";
40
+ import { g as getComponentUtilityClass } from "../../../../utils/index.f77cc2ab.js";
41
41
  import { b as bearingRawToCSS } from "../../index.13bb982c.js";
42
42
  import "leaflet-polylinedecorator";
43
43
  const updateOwnerStateClasses = (_state) => {