@m4l/components 1.0.21 → 1.0.22
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 +274 -274
- package/@types/types.d.ts +25 -25
- package/components/AccountPopover/{index.7687487c.js → index.f8453a39.js} +3 -3
- package/components/AccountPopover/style.d.ts +2 -0
- package/components/AppBar/{index.16d8f79a.js → index.48d5220c.js} +4 -4
- package/components/AppBar/styles.d.ts +2 -0
- package/components/CommonActions/components/ActionCancel/{index.d0adf9c4.js → index.5dc2a47d.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.c815247c.js → index.2a421fd5.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.f67b79e2.js → index.dfab71be.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.6904d0ad.js → index.3f96d6dc.js} +2 -2
- package/components/CommonActions/components/Actions/{index.dff2bcc7.js → index.2569b4df.js} +2 -2
- package/components/CommonActions/components/Actions/styles.d.ts +2 -0
- package/components/DataGrid/assets/icons/datagrid.svg +4 -4
- package/components/DataGrid/classes/index.d.ts +1 -0
- package/components/DataGrid/classes/types.d.ts +1 -0
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.6fa4e6c3.js → index.f29b245f.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.59985444.js → index.e54fd4db.js} +1 -1
- package/components/DataGrid/formatters/ColumnIconFormatter/index.d.ts +2 -0
- package/components/DataGrid/formatters/ColumnIconFormatter/types.d.ts +7 -0
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.94d1860d.js → index.3424cf67.js} +1 -1
- package/components/DataGrid/formatters/ColumnPointsFormatter/{index.fc637564.js → index.ab152484.js} +1 -1
- package/components/DataGrid/formatters/index.59c6d2a6.js +13 -0
- package/components/DataGrid/{index.768e62a6.js → index.79892601.js} +7 -5
- package/components/DataGrid/styles.d.ts +2 -0
- package/components/DataGrid/subcomponents/Actions/{index.39dcd931.js → index.6d5cb1d7.js} +11 -11
- package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/styles.d.ts +8 -0
- package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/styles.d.ts +2 -0
- package/components/DataGrid/subcomponents/editors/TextEditor/index.d.ts +6 -0
- package/components/DragResizeWindow/DragResizeWindow.d.ts +4 -4
- package/components/DragResizeWindow/index.be8a40b2.js +477 -0
- package/components/DragResizeWindow/styled.d.ts +2 -0
- package/components/DynamicFilter/{dictionary.0991b837.js → dictionary.d15d08fc.js} +2 -2
- package/components/DynamicFilter/{index.1aa60703.js → index.900abf99.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.1edc8e23.js → dynamicFilterSlots.95aa2fd6.js} +6 -6
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +87 -0
- package/components/DynamicFilter/store/{index.0e0854ee.js → index.13e44665.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.f47f6ecc.js → index.11860dc2.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.caf0bb7f.js → index.1c74b0a2.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.f4fe3a8e.js → index.11e8fb88.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.5c562061.js → index.2c973bfc.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.b53e2fdc.js → index.254058ff.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.9fc191f0.js → index.2b0a8737.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.c002c8f2.js → index.42cb7301.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.12fc8d0c.js → index.88923c45.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.e18e1229.js → index.1f7bcb48.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.3266cd55.js → index.5820ac71.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.2de425a8.js → index.b9a06165.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.3f270770.js → index.86a867ab.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.ebd84aa5.js → index.4cd0d771.js} +2 -2
- package/components/FieldLabel/{index.15e78848.js → index.9b515e11.js} +4 -4
- package/components/FieldLabel/styles.d.ts +2 -0
- package/components/GridLayout/{index.f5fb6d61.js → index.2a975f9d.js} +2 -2
- package/components/GridLayout/styles.d.ts +2 -0
- package/components/GridLayout/subcomponents/Griditem/{index.b5c91d2a.js → index.d1d38e7a.js} +3 -3
- package/components/GridLayout/subcomponents/Responsive/{index.a1179064.js → index.84c3e0eb.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.25dcc9bb.js → index.28155002.js} +1 -1
- package/components/HelperText/{index.f9b6e7a3.js → index.985f65b9.js} +2 -2
- package/components/HelperText/styles.d.ts +2 -0
- package/components/Icon/{index.b1c014b0.js → index.735ed5af.js} +3 -3
- package/components/Icon/styles.d.ts +4 -0
- package/components/Image/{index.a011d2d2.js → index.31093474.js} +2 -2
- package/components/Image/styles.d.ts +2 -0
- package/components/LanguagePopover/{index.763ee58f.js → index.a7ec1033.js} +4 -4
- package/components/LanguagePopover/styles.d.ts +6 -0
- package/components/LinearProgressIndeterminate/{index.c5cb15a1.js → index.af8809c0.js} +2 -2
- package/components/LinearProgressIndeterminate/styles.d.ts +2 -0
- package/components/LoadingError/{index.884275da.js → index.1b480949.js} +5 -5
- package/components/LoadingError/styles.d.ts +2 -0
- package/components/MFLoader/{index.dbb3fc5b.js → index.c65e5b0f.js} +2 -2
- package/components/MFLoader/styles.d.ts +2 -0
- package/components/ModalDialog/{index.f22ea160.js → index.52db045e.js} +4 -4
- package/components/NavLink/{index.ab08b249.js → index.01b82b32.js} +2 -2
- package/components/NavLink/styles.d.ts +2 -0
- package/components/NoItemSelected/{index.873bbc59.js → index.55fc2872.js} +1 -1
- package/components/NoItemSelected/styles.d.ts +5 -0
- package/components/ObjectLogs/{index.5e6f3846.js → index.22344399.js} +9 -9
- package/components/ObjectLogs/styles.d.ts +4 -0
- package/components/PDFViewer/{index.894a79af.js → index.a8751ff9.js} +2 -2
- package/components/PDFViewer/styles.d.ts +2 -0
- package/components/Page/{index.2b86e207.js → index.bea04867.js} +1 -1
- package/components/PaperForm/{index.56dab395.js → index.b76ee2b3.js} +2 -2
- package/components/PaperForm/styles.d.ts +7 -0
- package/components/Period/{index.dadd4318.js → index.3731b3c5.js} +4 -4
- package/components/Period/styles.d.ts +7 -0
- package/components/PrintingSystem/{index.35ee772d.js → index.5941d5ea.js} +14 -14
- package/components/PrintingSystem/styles.d.ts +2 -0
- package/components/PrintingSystem/subcomponents/BodyNode/{index.eac1420d.js → index.f63e9cca.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.5e651869.js → index.4b32dbc2.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.a0b30aab.js → index.2ac056f3.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.93a43d5e.js → index.dbda1218.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.89d57336.js → index.0770d62f.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.e0d43d06.js → index.f01a96bc.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.18c1c0a7.js → index.76ad4b49.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.75bd0076.js → index.8dc2d646.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.494cd47d.js → index.f5e3019c.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.c8c69687.js → index.86ad2bd4.js} +1 -1
- package/components/PropertyValue/{index.370a03cb.js → index.b8350841.js} +3 -3
- package/components/PropertyValue/styles.d.ts +2 -0
- package/components/Resizeable/{index.d1da09c9.js → index.031731ec.js} +1 -1
- package/components/ResizeableWindow/styles.d.ts +5 -0
- package/components/ScrollBar/{index.dc4726a5.js → index.f59feb47.js} +1 -1
- package/components/ScrollBar/styles.d.ts +9 -0
- package/components/SideBar/{index.d321beef.js → index.6b59320a.js} +6 -6
- package/components/SideBar/styles.d.ts +20 -0
- package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/styles.d.ts +3 -0
- package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +4 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/styles.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/styles.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/styles.d.ts +9 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/styles.d.ts +2 -0
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +6 -0
- package/components/SideBar/subcomponents/ContentMobile/styles.d.ts +3 -0
- package/components/SplitLayout/{index.71372b7e.js → index.3e816b39.js} +1 -1
- package/components/SplitLayout/styles.d.ts +4 -0
- package/components/ToastContainer/{index.0b01e1e3.js → index.bb85cf2c.js} +3 -3
- package/components/ToastContainer/styles.d.ts +2 -0
- package/components/animate/AnimatedScroll/styles.d.ts +6 -0
- package/components/animate/LoadingScreen/{index.5bd42c8b.js → index.614abae2.js} +1 -1
- package/components/animate/LoadingScreen/styles.d.ts +7 -0
- package/components/animate/PropagateLoader/syles.d.ts +2 -0
- package/components/animate/{index.f61a3540.js → index.34175ff1.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.4bbd6b28.js → index.92015229.js} +15 -15
- package/components/areas/components/AreasAdmin/styles.d.ts +5 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/styles.d.ts +4 -0
- package/components/areas/components/AreasViewer/{index.8523c06d.js → index.5613b04c.js} +15 -15
- package/components/areas/components/AreasViewer/styles.d.ts +2 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/styles.d.ts +2 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/styles.d.ts +3 -0
- package/components/areas/contexts/AreasContext/{index.293de3ad.js → index.ab6739b8.js} +4 -4
- package/components/areas/hooks/useAreas/{index.62a5ceb8.js → index.fb7026bb.js} +1 -1
- package/components/areas/types.d.ts +1 -1
- package/components/commercial/AppBarCommercial/{index.5f904c81.js → index.84ddbcf1.js} +2 -2
- package/components/commercial/AppBarCommercial/styles.d.ts +2 -0
- package/components/commercial/HamburgerMenu/styles.d.ts +13 -0
- package/components/commercial/SectionCommercial/{index.8b231d7f.js → index.b0416595.js} +2 -2
- package/components/commercial/SectionCommercial/styles.d.ts +6 -0
- package/components/commercial/TopBar/component/ConteinItem/subcomponets/NavItem/subcomponents/ArrowIcon/styles.d.ts +2 -0
- package/components/commercial/TopBar/{index.4fe28626.js → index.fefacbbb.js} +6 -6
- package/components/commercial/TopBar/style.d.ts +2 -0
- package/components/commercial/{index.12cb74f4.js → index.e852decf.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.97b1d316.js → index.bab92b54.js} +2 -2
- package/components/formatters/FormatterRoot/styles.d.ts +2 -0
- package/components/formatters/PointsFormatter/{index.6ad006b8.js → index.51cd6774.js} +0 -2
- package/components/formatters/{index.161191d7.js → index.54397ac7.js} +2 -2
- package/components/hook-form/HelperError/{index.453b8be1.js → index.f3c76460.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.9b605832.js → index.6e22b0e5.js} +6 -6
- package/components/hook-form/RHFAutocomplete/styles.d.ts +2 -0
- package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/styles.d.ts +2 -0
- package/components/hook-form/RHFAutocompleteAsync/{index.18b4663a.js → index.027097e2.js} +2 -2
- package/components/hook-form/RHFAutocompleteAsync/styles.d.ts +5 -0
- package/components/hook-form/RHFCheckbox/{index.66a883f7.js → index.f55b8014.js} +3 -3
- package/components/hook-form/RHFCheckbox/styles.d.ts +7 -0
- package/components/hook-form/RHFColorPicker/{index.2962d572.js → index.b3921a34.js} +6 -6
- package/components/hook-form/RHFColorPicker/styles.d.ts +2 -0
- package/components/hook-form/RHFDateTime/{index.c37bf0d0.js → index.d017e3ea.js} +4 -4
- package/components/hook-form/RHFDateTime/styles.d.ts +2 -0
- package/components/hook-form/RHFPeriod/{index.2edd24fe.js → index.f76251fc.js} +4 -4
- package/components/hook-form/RHFPeriod/styles.d.ts +2 -0
- package/components/hook-form/RHFTextField/{index.b9d95bd9.js → index.d982607c.js} +5 -5
- package/components/hook-form/RHFTextField/styles.d.ts +3 -0
- package/components/hook-form/RHFTextField/subcomponents/Skeleton/styles.d.ts +3 -0
- package/components/hook-form/RHFTextFieldPassword/styles.d.ts +2 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/styles.d.ts +2 -0
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/styles.d.ts +2 -0
- package/components/hook-form/RHFUpload/{index.9759a7a4.js → index.5fa39ab0.js} +5 -5
- package/components/maps/components/GpsTools/{index.94055337.js → index.3e432a7d.js} +558 -402
- package/components/maps/components/Map/constants.d.ts +1 -0
- package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -94
- package/components/maps/components/Map/icons.d.ts +1 -7
- package/components/maps/components/Map/{index.9edada74.js → index.92f8d4f5.js} +30 -32
- package/components/maps/components/Map/styled.d.ts +2 -0
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/index.d.ts +1 -1
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/hooks/useMeasure/types.d.ts +1 -1
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/types.d.ts +1 -1
- package/components/maps/components/MapGpsTools/MapGpsTools.d.ts +1 -0
- package/components/maps/components/{GpsTools → MapGpsTools}/classes/index.d.ts +1 -1
- package/components/maps/components/{GpsTools → MapGpsTools}/classes/types.d.ts +1 -0
- package/components/maps/components/{GpsTools → MapGpsTools}/constants.d.ts +2 -2
- package/components/maps/components/MapGpsTools/dictionary.d.ts +67 -0
- package/components/maps/components/MapGpsTools/icons.d.ts +23 -0
- package/components/maps/components/{GpsTools → MapGpsTools}/index.d.ts +1 -1
- package/components/maps/components/MapGpsTools/styles.d.ts +2 -0
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/index.d.ts +11 -0
- package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts +1 -1
- package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useValidation.d.ts +6 -6
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/styles.d.ts +1 -0
- package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.d.ts +2 -2
- package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.d.ts +1 -1
- package/components/maps/components/{GpsTools/subcomponents/TabsGpsTools/index.d.ts → MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/types.d.ts} +1 -2
- package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useColumns.d.ts +1 -1
- package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useMaster.d.ts +1 -1
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/styles.d.ts +6 -0
- package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/model.d.ts +1 -1
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/types.d.ts +8 -0
- package/components/maps/index.d.ts +1 -1
- package/components/maps/leaflet-geoman.d.ts +1476 -1476
- package/components/modal/{WindowBase.c7d14de4.js → WindowBase.62dc9432.js} +3 -3
- package/components/modal/{WindowConfirm.eaec0ee1.js → WindowConfirm.af2047ad.js} +13 -7
- package/components/mui_extended/Accordion/{index.289b1eea.js → index.2c184653.js} +4 -4
- package/components/mui_extended/Accordion/styles.d.ts +4 -0
- package/components/mui_extended/Avatar/{index.f8d0e601.js → index.b4817d98.js} +1 -1
- package/components/mui_extended/Avatar/styles.d.ts +2 -0
- package/components/mui_extended/Badge/{index.a5948eb1.js → index.40d1aa2c.js} +1 -1
- package/components/mui_extended/Badge/styles.d.ts +2 -0
- package/components/mui_extended/Button/{index.1f534053.js → index.3f98a33c.js} +3 -3
- package/components/mui_extended/Button/styles.d.ts +5 -0
- package/components/mui_extended/CheckBox/styles.d.ts +2 -0
- package/components/mui_extended/{CheckBox.36838947.js → CheckBox.d1a186d8.js} +2 -2
- package/components/mui_extended/IconButton/{index.40a12fe0.js → index.6e1e7606.js} +2 -2
- package/components/mui_extended/IconButton/styles.d.ts +2 -0
- package/components/mui_extended/ImageButton/styles.d.ts +2 -0
- package/components/mui_extended/LoadingButton/styles.d.ts +2 -0
- package/components/mui_extended/MenuActions/{index.fdc64d2c.js → index.e40047bd.js} +5 -5
- package/components/mui_extended/MenuActions/styles.d.ts +5 -0
- package/components/mui_extended/Pager/{index.6b48325e.js → index.3d387e89.js} +4 -4
- package/components/mui_extended/Pager/styles.d.ts +2 -0
- package/components/mui_extended/Popover/{index.1758efd3.js → index.2dc9ded4.js} +1 -1
- package/components/mui_extended/Popover/styles.d.ts +1 -0
- package/components/mui_extended/Popover/subcomponts/ArrowIcon/index.d.ts +3 -0
- package/components/mui_extended/Stack/{index.84103b22.js → index.5ffdbe1b.js} +1 -1
- package/components/mui_extended/Stack/styles.d.ts +4 -0
- package/components/mui_extended/Tab/{index.35947f79.js → index.aa10efd0.js} +1 -1
- package/components/mui_extended/Tab/styles.d.ts +3 -0
- package/components/mui_extended/TabContent/styles.d.ts +2 -0
- package/components/mui_extended/Tabs/styles.d.ts +4 -0
- package/components/mui_extended/ToggleButton/{index.f0890b7c.js → index.82878215.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.9e8ea15b.js → index.ce4374ba.js} +1 -1
- package/components/mui_extended/Typography/{index.ddde0fc7.js → index.5bd73114.js} +1 -1
- package/components/mui_extended/Typography/styles.d.ts +2 -0
- package/components/popups/PopupsProvider/{index.156f6fb2.js → index.67239cbd.js} +35 -6
- package/components/popups/PopupsViewer/{index.f36f3bcc.js → index.4b9f2606.js} +61 -28
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +20 -2
- package/components/popups/components/PopupsViewer/classes/index.d.ts +3 -1
- package/components/popups/components/PopupsViewer/classes/types.d.ts +3 -1
- package/components/popups/components/PopupsViewer/icons.d.ts +1 -0
- package/components/popups/components/PopupsViewer/styled.d.ts +2 -0
- package/components/popups/components/PopupsViewer/subcomponents/Popup/index.d.ts +2 -1
- package/components/popups/components/PopupsViewer/subcomponents/Popup/subcomponents/EditionInfo/index.d.ts +2 -0
- package/components/popups/components/PopupsViewer/subcomponents/Popup/subcomponents/EditionInfo/types.d.ts +2 -0
- package/components/popups/components/PopupsViewer/subcomponents/Popup/types.d.ts +5 -0
- package/contexts/ModalContext/{index.72e60f98.js → index.ca0f8525.js} +1 -1
- package/contexts/RHFormContext/{index.d9efc253.js → index.b08da209.js} +1 -1
- package/contexts/RHFormContext/styles.d.ts +2 -0
- package/hooks/useFormAddEdit/{index.4738a32a.js → index.a5612e31.js} +2 -2
- package/hooks/useModal/{index.e77737dd.js → index.f2579c58.js} +1 -1
- package/hooks/useTab/{index.93e7cf1d.js → index.36300b7b.js} +1 -1
- package/index.js +134 -133
- package/package.json +3 -4
- package/{react-draggable.1c1ba224.js → react-draggable.310e3387.js} +1 -1
- package/{react-resizable.a59c14f4.js → react-resizable.3755959b.js} +2 -2
- package/style.css +65 -0
- package/styles/{DynamicFilter.27c16026.js → DynamicFilter.c33860d6.js} +35 -49
- package/styles/DynamicFilter.styles.d.ts +1 -1
- package/styles/{index.b0a69054.js → index.2129f144.js} +14 -47
- package/vite-env.d.ts +4 -4
- package/components/DataGrid/formatters/index.2c2f0ae4.js +0 -1
- package/components/DragResizeWindow/index.4fea43a8.js +0 -480
- package/components/maps/components/GpsTools/GpsTools.d.ts +0 -1
- package/components/maps/components/GpsTools/icons.d.ts +0 -15
- /package/components/maps/components/{GpsTools → MapGpsTools}/contexts/GpsToolsContext/index.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/contexts/GpsToolsContext/store.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/contexts/GpsToolsContext/types.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/hooks/useGpsToolsStore/index.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/hooks/useLayers/index.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/constants.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/helpers.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSubmit.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/index.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/types.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/types.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/types.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/types.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/types.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedFeatures.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useCheckedGeofences.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofencesList/index.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/GeofencesList/subcomponents/Filter/index.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/subcomponents/TabsGpsTools/subcomponents/constants.d.ts +0 -0
- /package/components/maps/components/{GpsTools → MapGpsTools}/types.d.ts +0 -0
- /package/utils/{index.14912462.js → index.78d1638f.js} +0 -0
|
@@ -12,6 +12,7 @@ export declare const TIME_DOUBLE_CLICK = 250;
|
|
|
12
12
|
export declare const MARKER_COLOR_DEFAULT = "#1E96DC";
|
|
13
13
|
export declare const LABEL_BK_COLOR_DEFAULT = "#1E96DC";
|
|
14
14
|
export declare const LABEL_COLOR_DEFAULT = "#FFFFFF";
|
|
15
|
+
export declare const GPS_TOOLS_POPUP_ID = "gpsTools";
|
|
15
16
|
export declare const GPS_TOOLS_POPUP_DEFAULT_POSITION: {
|
|
16
17
|
vertical: {
|
|
17
18
|
top: number;
|
|
@@ -1,94 +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
|
-
|
|
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
|
-
|
|
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
|
+
}
|
|
@@ -27,17 +27,11 @@ export declare const MAP_ICONS: {
|
|
|
27
27
|
MAP_LAYER_AUTOFOCUS: string;
|
|
28
28
|
MAP_LAYER_CLUSTER: string;
|
|
29
29
|
MAP_LAYER_DELETE: string;
|
|
30
|
-
/**
|
|
31
|
-
* GpsTools
|
|
32
|
-
*/
|
|
33
|
-
MAP_GPS_TOOLS_TOOL: string;
|
|
34
|
-
GEOMETRY_CIRCLE: string;
|
|
35
|
-
GEOMETRY_RECTANGLE: string;
|
|
36
|
-
GEOMETRY_POLYGON: string;
|
|
37
30
|
ADD: string;
|
|
38
31
|
/** Measure Tool *
|
|
39
32
|
*
|
|
40
33
|
*/
|
|
34
|
+
MAP_GPS_TOOLS_TOOL: string;
|
|
41
35
|
MAP_MEASURE_TOOL: string;
|
|
42
36
|
GENERAL: string;
|
|
43
37
|
CONFIG: string;
|
|
@@ -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.2569b4df.js";
|
|
13
|
+
import { B as Button } from "../../../mui_extended/Button/index.3f98a33c.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.027097e2.js";
|
|
17
|
+
import { S as Stack } from "../../../mui_extended/Stack/index.5ffdbe1b.js";
|
|
18
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.b08da209.js";
|
|
19
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.6e1e7606.js";
|
|
20
|
+
import { u as usePopupsStore, P as PopupsProvider } from "../../../popups/PopupsProvider/index.67239cbd.js";
|
|
21
|
+
import { T as ToggleIconButton } from "../../../mui_extended/ToggleIconButton/index.ce4374ba.js";
|
|
22
|
+
import { D as DataGrid } from "../../../DataGrid/index.79892601.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.735ed5af.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.d1a186d8.js";
|
|
28
|
+
import { P as Popover } from "../../../mui_extended/Popover/index.2dc9ded4.js";
|
|
29
|
+
import { P as PopupsViewer } from "../../../popups/PopupsViewer/index.4b9f2606.js";
|
|
30
30
|
import { createPathComponent } from "@react-leaflet/core";
|
|
31
31
|
import "leaflet.markercluster";
|
|
32
32
|
import { cloneDeep, throttle } from "lodash";
|
|
@@ -37,7 +37,7 @@ import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
|
37
37
|
import { devtools } from "zustand/middleware";
|
|
38
38
|
import { immer } from "zustand/middleware/immer";
|
|
39
39
|
import { unstable_composeClasses } from "@mui/base";
|
|
40
|
-
import { g as getComponentUtilityClass } from "../../../../utils/index.
|
|
40
|
+
import { g as getComponentUtilityClass } from "../../../../utils/index.78d1638f.js";
|
|
41
41
|
import { b as bearingRawToCSS } from "../../index.13bb982c.js";
|
|
42
42
|
import "leaflet-polylinedecorator";
|
|
43
43
|
const COMPONENT_CLASS_NAME = "M4LMap";
|
|
@@ -47,6 +47,7 @@ const TIME_DOUBLE_CLICK = 250;
|
|
|
47
47
|
const MARKER_COLOR_DEFAULT = "#1E96DC";
|
|
48
48
|
const LABEL_BK_COLOR_DEFAULT = "#1E96DC";
|
|
49
49
|
const LABEL_COLOR_DEFAULT = "#FFFFFF";
|
|
50
|
+
const GPS_TOOLS_POPUP_ID = "gpsTools";
|
|
50
51
|
const GPS_TOOLS_POPUP_DEFAULT_POSITION = {
|
|
51
52
|
vertical: { top: 50, bottom: 50 },
|
|
52
53
|
horizontal: { right: 50, width: 380 }
|
|
@@ -235,7 +236,7 @@ const MAP_ICONS = {
|
|
|
235
236
|
MAP_SOURCE_GOOGLE_ROADS: "cmp_map_mapsources_google.svg",
|
|
236
237
|
MAP_SOURCE_GOOGLE_HYBRID: "cmp_map_mapsources_googlehybrid.svg",
|
|
237
238
|
MAP_SOURCE_GOOGLE_SATELLITE: "cmp_map_mapsources_googlesatelite.svg",
|
|
238
|
-
MAP_SOURCE_BING: "
|
|
239
|
+
MAP_SOURCE_BING: "cmp_map_mapsources_bing.svg",
|
|
239
240
|
MAP_SOURCE_ROAD_TRAFFIC: "cmp_map_mapsources_layer-traffic.svg",
|
|
240
241
|
MAP_SOURCE_ROAD_TRANSIT: "cmp_map_mapsources_layer-transit.svg",
|
|
241
242
|
MAP_SOURCE_ROAD_BICYCLING: "cmp_map_mapsources_layer-bicycle.svg",
|
|
@@ -244,11 +245,8 @@ const MAP_ICONS = {
|
|
|
244
245
|
MAP_LAYER_AUTOFOCUS: "cmp_map_layers_zoom_fit.svg",
|
|
245
246
|
MAP_LAYER_CLUSTER: "cmp_map_layers_cluster.svg",
|
|
246
247
|
MAP_LAYER_DELETE: "cmp_map_layers_delete.svg",
|
|
247
|
-
MAP_GPS_TOOLS_TOOL: "cmp_map_gpstools_tool.svg",
|
|
248
|
-
GEOMETRY_CIRCLE: "geometry_circle.svg",
|
|
249
|
-
GEOMETRY_RECTANGLE: "geometry_rectangle.svg",
|
|
250
|
-
GEOMETRY_POLYGON: "geometry_polygon.svg",
|
|
251
248
|
ADD: "add.svg",
|
|
249
|
+
MAP_GPS_TOOLS_TOOL: "cmp_map_gpstools_tool.svg",
|
|
252
250
|
MAP_MEASURE_TOOL: "cmp_map_measure_tool.svg",
|
|
253
251
|
GENERAL: "general.svg",
|
|
254
252
|
CONFIG: "config.svg",
|
|
@@ -1258,9 +1256,9 @@ function TopRightTools(props) {
|
|
|
1258
1256
|
if (!isToggledGpsTools) {
|
|
1259
1257
|
addPopup(
|
|
1260
1258
|
{
|
|
1261
|
-
popupId:
|
|
1259
|
+
popupId: GPS_TOOLS_POPUP_ID,
|
|
1262
1260
|
title: getLabel(MAP_DICCTIONARY.LABEL_GPSTOOLS_NAME),
|
|
1263
|
-
iconUrl: `${host_static_assets}/${environment_assets}/frontend/components/
|
|
1261
|
+
iconUrl: `${host_static_assets}/${environment_assets}/frontend/components/map_gpstools/assets/icons/${MAP_ICONS.MAP_GPS_TOOLS_TOOL}`,
|
|
1264
1262
|
functionComponent: gpsTools,
|
|
1265
1263
|
onMouseDown,
|
|
1266
1264
|
defaultPosition: GPS_TOOLS_POPUP_DEFAULT_POSITION
|
|
@@ -1268,7 +1266,7 @@ function TopRightTools(props) {
|
|
|
1268
1266
|
{ closeOthers: true }
|
|
1269
1267
|
);
|
|
1270
1268
|
} else {
|
|
1271
|
-
closePopup(
|
|
1269
|
+
closePopup(GPS_TOOLS_POPUP_ID);
|
|
1272
1270
|
}
|
|
1273
1271
|
e.stopPropagation();
|
|
1274
1272
|
};
|
|
@@ -1297,7 +1295,7 @@ function TopRightTools(props) {
|
|
|
1297
1295
|
isToggled: isToggledGpsTools,
|
|
1298
1296
|
disabled: isDisabledGpsTools,
|
|
1299
1297
|
onToggle: onGpsToolsClick,
|
|
1300
|
-
src: `${host_static_assets}/${environment_assets}/frontend/components/
|
|
1298
|
+
src: `${host_static_assets}/${environment_assets}/frontend/components/map_gpstools/assets/icons/${MAP_ICONS.MAP_GPS_TOOLS_TOOL}`
|
|
1301
1299
|
}
|
|
1302
1300
|
),
|
|
1303
1301
|
/* @__PURE__ */ jsx(
|
|
@@ -1357,7 +1355,7 @@ function useColumns(props) {
|
|
|
1357
1355
|
useHook
|
|
1358
1356
|
}),
|
|
1359
1357
|
cellClass: "rdg-cell-align-center",
|
|
1360
|
-
headerRenderer: (
|
|
1358
|
+
headerRenderer: () => /* @__PURE__ */ jsx(Tooltip, { title: getLabel(MAP_DICCTIONARY.LABEL_LAYER_VISIBLE), children: /* @__PURE__ */ jsx(
|
|
1361
1359
|
Icon,
|
|
1362
1360
|
{
|
|
1363
1361
|
size: "medium",
|
|
@@ -1377,7 +1375,7 @@ function useColumns(props) {
|
|
|
1377
1375
|
useHook
|
|
1378
1376
|
}),
|
|
1379
1377
|
cellClass: "rdg-cell-align-center",
|
|
1380
|
-
headerRenderer: (
|
|
1378
|
+
headerRenderer: () => /* @__PURE__ */ jsx(Tooltip, { title: getLabel(MAP_DICCTIONARY.LABEL_LAYER_AUTOFOCUS), children: /* @__PURE__ */ jsx(
|
|
1381
1379
|
Icon,
|
|
1382
1380
|
{
|
|
1383
1381
|
size: "medium",
|
|
@@ -1398,7 +1396,7 @@ function useColumns(props) {
|
|
|
1398
1396
|
useHook
|
|
1399
1397
|
}),
|
|
1400
1398
|
cellClass: "rdg-cell-align-center",
|
|
1401
|
-
headerRenderer: (
|
|
1399
|
+
headerRenderer: () => /* @__PURE__ */ jsx(Tooltip, { title: getLabel(MAP_DICCTIONARY.LABEL_LAYER_CLUSTER), children: /* @__PURE__ */ jsx(
|
|
1402
1400
|
Icon,
|
|
1403
1401
|
{
|
|
1404
1402
|
size: "medium",
|
|
@@ -1710,7 +1708,7 @@ function Controls(props) {
|
|
|
1710
1708
|
L__default.DomEvent.disableScrollPropagation(cContainer);
|
|
1711
1709
|
}
|
|
1712
1710
|
}, [map]);
|
|
1713
|
-
return /* @__PURE__ */ jsxs(PopupsProvider, { children: [
|
|
1711
|
+
return /* @__PURE__ */ jsxs(PopupsProvider, { baseZindex: MAP_ZINDEX_OVER_MAP, children: [
|
|
1714
1712
|
/* @__PURE__ */ jsx(TopLeftTools, {}),
|
|
1715
1713
|
/* @__PURE__ */ jsx(TopRightTools, { gpsTools }),
|
|
1716
1714
|
controlContainer && createPortal(/* @__PURE__ */ jsx(PopupsViewer, { containerElement: map.getContainer() }), controlContainer)
|
|
@@ -2334,14 +2332,14 @@ const CommonFeatureRender = (props) => {
|
|
|
2334
2332
|
};
|
|
2335
2333
|
export {
|
|
2336
2334
|
CommonFeatureRender as C,
|
|
2335
|
+
GPS_TOOLS_POPUP_ID as G,
|
|
2337
2336
|
LABEL_BK_COLOR_DEFAULT as L,
|
|
2338
2337
|
MAP_ZINDEX_OVER_MAP as M,
|
|
2339
2338
|
LABEL_COLOR_DEFAULT as a,
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
MarkerFeatureRender as f,
|
|
2339
|
+
Map$1 as b,
|
|
2340
|
+
MapProvider as c,
|
|
2341
|
+
MapContext as d,
|
|
2342
|
+
MarkerFeatureRender as e,
|
|
2345
2343
|
mapClasses as m,
|
|
2346
2344
|
useMapStore as u
|
|
2347
2345
|
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const MapRootContainer: import("@emotion/styled").StyledComponent<import("react-leaflet").MapContainerProps & import("react").RefAttributes<import("leaflet").Map> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MagnitudeFactorItem } from '../../../../../../../../../
|
|
1
|
+
import { MagnitudeFactorItem } from '../../../../../../../../../MapGpsTools/types';
|
|
2
2
|
import { StatusEdition } from '../../types';
|
|
3
3
|
/**
|
|
4
4
|
* useMeasure hook se encarga de pintar las marcas y una línea que las une, para calcular la distancia o el area (NextMVP)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MagnitudeFactorItem, MeasureTypeId } from '../../../../../../../../../
|
|
1
|
+
import { MagnitudeFactorItem, MeasureTypeId } from '../../../../../../../../../MapGpsTools/types';
|
|
2
2
|
export interface FormGeneralDataValues {
|
|
3
3
|
measureTypeId: MeasureTypeId;
|
|
4
4
|
magnitudFactor?: MagnitudeFactorItem | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function MapGpsTools(): false | import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { GpsToolsClasses } from './types';
|
|
2
2
|
export declare const gpsToolsClasses: GpsToolsClasses;
|
|
3
|
-
export declare const useUtilityClasses: () => Record<"gpsToolsGeofencesList" | "gpsToolsGeofencesAddEdit" | "gpsToolsGeofencesAddEditContent" | "toolGeofencesAddEditGeneral" | "toolGeofencesAddEditStyle" | "GpsToolsRoot" | "GpsToolsTabContent" | "GpsToolsTab", string>;
|
|
3
|
+
export declare const useUtilityClasses: () => Record<"gpsToolsGeofencesList" | "gpsToolsGeofencesAddEdit" | "gpsToolsGeofencesAddEditContent" | "gpsToolsGeofencesAddEditDrawFinishContainer" | "toolGeofencesAddEditGeneral" | "toolGeofencesAddEditStyle" | "GpsToolsRoot" | "GpsToolsTabContent" | "GpsToolsTab", string>;
|
|
4
4
|
export declare type Classes = ReturnType<typeof useUtilityClasses>;
|
|
@@ -5,6 +5,7 @@ export interface GpsToolsClasses {
|
|
|
5
5
|
gpsToolsGeofencesList: string;
|
|
6
6
|
gpsToolsGeofencesAddEdit: string;
|
|
7
7
|
gpsToolsGeofencesAddEditContent: string;
|
|
8
|
+
gpsToolsGeofencesAddEditDrawFinishContainer: string;
|
|
8
9
|
toolGeofencesAddEditGeneral: string;
|
|
9
10
|
toolGeofencesAddEditStyle: string;
|
|
10
11
|
visible: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StyleOpacity, StyleDashArray, StyleWheight } from './types';
|
|
2
|
-
export declare const COMPONENT_TEST_ID = "
|
|
3
|
-
export declare const COMPONENT_CLASS_NAME = "
|
|
2
|
+
export declare const COMPONENT_TEST_ID = "M4LMapGpsTools";
|
|
3
|
+
export declare const COMPONENT_CLASS_NAME = "M4LMapGpsTools";
|
|
4
4
|
export declare const COOKIE_MAP_GEO_FILTER = "filter_map_geo";
|
|
5
5
|
export declare const COMPONENT_MAP_TOOLS_ID = "gps_tools";
|
|
6
6
|
export declare const STYLE_OPACITIES: StyleOpacity[];
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
export declare const MAPGPSTOOLS_DICTIONARY_ID = "gps_tools";
|
|
2
|
+
export declare const MAP_GPSTOOLS_DICCTIONARY: {
|
|
3
|
+
/**
|
|
4
|
+
* GPSTools
|
|
5
|
+
*/
|
|
6
|
+
readonly LABEL_GPSTOOLS_NAME: "label_gpstools_name";
|
|
7
|
+
/** Common */
|
|
8
|
+
/** GeofenceList */
|
|
9
|
+
readonly ACTION_GEOFENCE_ADD: "action_geofence_add";
|
|
10
|
+
readonly ACTION_GEOFENCE_EDIT: "action_geofence_edit";
|
|
11
|
+
readonly ROW_ACTION_GEO_EDIT: "row_action_geo_edit";
|
|
12
|
+
readonly ROW_ACTION_GEO_ENABLE: "row_action_geo_enable";
|
|
13
|
+
readonly ROW_ACTION_GEO_DISABLE: "row_action_geo_disable";
|
|
14
|
+
readonly ROW_ACTION_GEO_DELETE: "row_action_geo_delete";
|
|
15
|
+
/** GeofenceAddEdit */
|
|
16
|
+
readonly LABEL_TAB_GEO: "label_tab_geo";
|
|
17
|
+
readonly TAB_GENERAL_CONFIG_TOOLTIP: "tab_general_config_tooltip";
|
|
18
|
+
readonly PAPER_GENERAL: "paper_general";
|
|
19
|
+
readonly LABEL_ID: "label_id";
|
|
20
|
+
readonly LABEL_NAME: "label_name";
|
|
21
|
+
readonly LABEL_GEOMETRY_TYPE: "label_geometry_type";
|
|
22
|
+
readonly LABEL_GEOMETRY_CIRCLE: "label_geometry_circle";
|
|
23
|
+
readonly LABEL_GEOMETRY_RECTANGLE: "label_geometry_rectangle";
|
|
24
|
+
readonly LABEL_GEOMETRY_POLYGON: "label_geometry_polygon";
|
|
25
|
+
readonly LABEL_DRAW: "label_draw";
|
|
26
|
+
readonly LABEL_FINISH: "label_finish";
|
|
27
|
+
readonly PAPER_CONFIG: "paper_config";
|
|
28
|
+
readonly LABEL_ALIAS: "label_alias";
|
|
29
|
+
readonly LABEL_CUSTOMER_ID: "label_customer_id";
|
|
30
|
+
readonly LABEL_TIME_MIN_IN_SECONDS: "label_time_min_in_seconds";
|
|
31
|
+
readonly LABEL_TIME_MIN_OUT_SECONDS: "label_time_min_out_seconds";
|
|
32
|
+
readonly TAB_STYLE_CONFIG_TOOLTIP: "tab_style_tooltip";
|
|
33
|
+
readonly PAPER_STROKE: "paper_stroke";
|
|
34
|
+
readonly LABEL_COLOR: "label_color";
|
|
35
|
+
readonly LABEL_OPACITY: "label_opacity";
|
|
36
|
+
readonly LABEL_WEIGHT: "label_weight";
|
|
37
|
+
readonly LABEL_DASH_ARRAY: "label_dash_array";
|
|
38
|
+
readonly LABEL_DASH_OFFSET: "label_dash_offset";
|
|
39
|
+
readonly PAPER_FILL: "paper_fill";
|
|
40
|
+
readonly LABEL_RADIUS: "label_radius";
|
|
41
|
+
readonly LABEL_LAT: "label_lat";
|
|
42
|
+
readonly LABEL_LON: "label_lon";
|
|
43
|
+
readonly LABEL_PLACE_MARKER: "label_place_marker";
|
|
44
|
+
readonly LABEL_FIRST_VERTEX: "label_first_vertex";
|
|
45
|
+
readonly LABEL_CONTINUE_LINE: "label_continue_line";
|
|
46
|
+
readonly LABEL_FINISH_LINE: "label_finish_line";
|
|
47
|
+
readonly LABEL_FINISH_POLY: "label_finish_poly";
|
|
48
|
+
readonly LABEL_FINISH_RECT: "label_finish_rect";
|
|
49
|
+
readonly LABEL_START_CIRCLE: "label_start_circle";
|
|
50
|
+
readonly LABEL_FINISH_CIRCLE: "label_finish_circle";
|
|
51
|
+
readonly LABEL_PLACE_CIRCLE_MARKER: "label_place_circle_marker";
|
|
52
|
+
readonly VALIDATION_GEOMETRY_REQUIRED: "validation_geometry_required";
|
|
53
|
+
readonly VALIDATION_FIELD_REQUIRED: "validation_field_required";
|
|
54
|
+
readonly VALIDATION_FIELD_TYPE_NUMBER_ERROR: "validation_field_type_number_error";
|
|
55
|
+
readonly VALIDATION_FIELD_MIN_NUMBER_ERROR: "validation_field_min_number_error";
|
|
56
|
+
readonly LABEL_VIEW_TRANSIT_FEATURES: "label_view_crossing_features";
|
|
57
|
+
readonly LABEL_VIEW_INTERNAL_FEATURES: "label_view_internal_features";
|
|
58
|
+
readonly LABEL_CREATED_AT: "label_created_at";
|
|
59
|
+
readonly LABEL_UPDATED_AT: "label_updated_at";
|
|
60
|
+
readonly MODAL_DELETE_GEO_TITLE: "modal_delete_geo_title";
|
|
61
|
+
readonly MODAL_DELETE_GEO_MESSAGE: "modal_delete_geo_message";
|
|
62
|
+
readonly MODAL_DISABLE_GEO_TITLE: "modal_disable_geo_title";
|
|
63
|
+
readonly MODAL_DISABLE_MESSAGE: "modal_disable_geo_message";
|
|
64
|
+
readonly ACTION_CANCEL: "action_cancel";
|
|
65
|
+
};
|
|
66
|
+
export declare type TypeDictionary = typeof MAP_GPSTOOLS_DICCTIONARY;
|
|
67
|
+
export declare const getMapToolsDictionary: (key: keyof TypeDictionary) => string;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const MAP_GPSTOOLS_ICONS: {
|
|
2
|
+
/**
|
|
3
|
+
* GpsTools
|
|
4
|
+
*/
|
|
5
|
+
MAP_GPS_TOOLS_TOOL: string;
|
|
6
|
+
GEOFENCES: string;
|
|
7
|
+
GEOFENCE_ID: string;
|
|
8
|
+
GEOFENCE_NAME: string;
|
|
9
|
+
GEOFENCE_ADD: string;
|
|
10
|
+
GEOFENCE_EDIT: string;
|
|
11
|
+
GEOFENCE_DELETE: string;
|
|
12
|
+
GENERAL: string;
|
|
13
|
+
DATA: string;
|
|
14
|
+
STYLE: string;
|
|
15
|
+
GEOFENCE_DRAW: string;
|
|
16
|
+
GEOFENCE_FINISH: string;
|
|
17
|
+
GEOFENCE_TYPE_CIRCLE: string;
|
|
18
|
+
GEOFENCE_TYPE_RECTANGLE: string;
|
|
19
|
+
GEOFENCE_TYPE_POLYGON: string;
|
|
20
|
+
CONFIG: string;
|
|
21
|
+
STROKE: string;
|
|
22
|
+
FILL: string;
|
|
23
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const DivTabGpsToolsRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description Componente que renderiza las herramientas de GPS a traves de los tabs
|
|
3
|
+
* Funcionalidad:
|
|
4
|
+
* - Cuando se cambia el tab, se actualiza el subtitulo del popup
|
|
5
|
+
* - Los tabs no visible se ocultan a traves de css, para que no destruyan los componentes evitando
|
|
6
|
+
* la recargar de los mismos entre cambio de pestañas.
|
|
7
|
+
*
|
|
8
|
+
*
|
|
9
|
+
* @returns Tabs con las herramientas de GPS
|
|
10
|
+
*/
|
|
11
|
+
export declare function TabsGpsTools(): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -7,5 +7,5 @@ export declare function useDrawing(): {
|
|
|
7
7
|
inEdition: boolean;
|
|
8
8
|
handleDraw: () => void;
|
|
9
9
|
handleFinish: () => void;
|
|
10
|
-
geometrTypeIdCached: "gt_polygon" | "gt_circle" | "gt_rectangle" |
|
|
10
|
+
geometrTypeIdCached: "gt_polygon" | "gt_circle" | "gt_rectangle" | null;
|
|
11
11
|
};
|