@m4l/components 1.0.21 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/export.d.ts +274 -274
- package/@types/types.d.ts +25 -25
- package/components/AccountPopover/{index.7687487c.js → index.789ca5b9.js} +3 -3
- package/components/AccountPopover/style.d.ts +2 -0
- package/components/AppBar/{index.16d8f79a.js → index.a1734c3b.js} +4 -4
- package/components/AppBar/styles.d.ts +2 -0
- package/components/BaseModule/BaseModule.d.ts +2 -0
- package/components/BaseModule/index.d.ts +2 -0
- package/components/BaseModule/index.db78c929.js +30 -0
- package/components/BaseModule/types.d.ts +10 -0
- package/components/CommonActions/components/ActionCancel/{index.d0adf9c4.js → index.a44544d1.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.c815247c.js → index.1b921390.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.f67b79e2.js → index.624a468b.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.6904d0ad.js → index.63222f6a.js} +2 -2
- package/components/CommonActions/components/Actions/{index.dff2bcc7.js → index.46d6c3d1.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.8ba7afb9.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.59985444.js → index.5a93dc9b.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.35597c7f.js} +1 -1
- package/components/DataGrid/formatters/ColumnPointsFormatter/{index.fc637564.js → index.ab152484.js} +1 -1
- package/components/DataGrid/formatters/index.4a07af63.js +13 -0
- package/components/DataGrid/{index.768e62a6.js → index.65f1da52.js} +7 -5
- package/components/DataGrid/styles.d.ts +2 -0
- package/components/DataGrid/subcomponents/Actions/{index.39dcd931.js → index.1fed83ce.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.ad0da648.js +477 -0
- package/components/DragResizeWindow/styled.d.ts +2 -0
- package/components/DynamicFilter/{dictionary.0991b837.js → dictionary.7aeaab97.js} +2 -2
- package/components/DynamicFilter/{index.1aa60703.js → index.895da58e.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.1edc8e23.js → dynamicFilterSlots.84150a22.js} +6 -6
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +87 -0
- package/components/DynamicFilter/store/{index.0e0854ee.js → index.6ec4c67c.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.f47f6ecc.js → index.42446f8e.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.caf0bb7f.js → index.621ca411.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.f4fe3a8e.js → index.0c3af964.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.5c562061.js → index.f92d2a9c.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.b53e2fdc.js → index.aad7a12c.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.9fc191f0.js → index.852c4c73.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.c002c8f2.js → index.4beced1d.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.12fc8d0c.js → index.17191093.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.e18e1229.js → index.10c9c338.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.3266cd55.js → index.7bee6c25.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.2de425a8.js → index.85d720be.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.3f270770.js → index.0fdc8a51.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.ebd84aa5.js → index.3674da6c.js} +2 -2
- package/components/FieldLabel/{index.15e78848.js → index.523aaa62.js} +4 -4
- package/components/FieldLabel/styles.d.ts +2 -0
- package/components/GridLayout/{index.f5fb6d61.js → index.3b90ce9b.js} +2 -2
- package/components/GridLayout/styles.d.ts +2 -0
- package/components/GridLayout/subcomponents/Griditem/{index.b5c91d2a.js → index.83d54714.js} +3 -3
- package/components/GridLayout/subcomponents/Responsive/{index.a1179064.js → index.f06bbf5e.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.25dcc9bb.js → index.72bfaedb.js} +1 -1
- package/components/HelperText/{index.f9b6e7a3.js → index.af402ba9.js} +2 -2
- package/components/HelperText/styles.d.ts +2 -0
- package/components/Icon/{index.b1c014b0.js → index.ab280d41.js} +3 -3
- package/components/Icon/styles.d.ts +4 -0
- package/components/Image/{index.a011d2d2.js → index.ec13c4a1.js} +2 -2
- package/components/Image/styles.d.ts +2 -0
- package/components/LanguagePopover/{index.763ee58f.js → index.6af275d0.js} +4 -4
- package/components/LanguagePopover/styles.d.ts +6 -0
- package/components/LinearProgressIndeterminate/{index.c5cb15a1.js → index.6739ff49.js} +2 -2
- package/components/LinearProgressIndeterminate/styles.d.ts +2 -0
- package/components/LoadingError/{index.884275da.js → index.cfdfb380.js} +5 -5
- package/components/LoadingError/styles.d.ts +2 -0
- package/components/MFIsolationApp/MFIsolationApp.d.ts +2 -0
- package/components/MFIsolationApp/index.96eb2a32.js +167 -0
- package/components/MFIsolationApp/index.d.ts +1 -0
- package/components/MFIsolationApp/subcomponents/MFAuthApp/MFAuthApp.d.ts +2 -0
- package/components/MFIsolationApp/subcomponents/MFAuthApp/index.d.ts +1 -0
- package/components/MFIsolationApp/subcomponents/MFAuthApp/types.d.ts +6 -0
- package/components/MFIsolationApp/types.d.ts +14 -0
- package/components/MFLoader/{index.dbb3fc5b.js → index.9f542136.js} +2 -2
- package/components/MFLoader/styles.d.ts +2 -0
- package/components/ModalDialog/{index.f22ea160.js → index.b975fc7b.js} +4 -4
- package/components/NavLink/{index.ab08b249.js → index.9cc3caf4.js} +2 -2
- package/components/NavLink/styles.d.ts +2 -0
- package/components/NoItemSelected/{index.873bbc59.js → index.4ea373aa.js} +1 -1
- package/components/NoItemSelected/styles.d.ts +5 -0
- package/components/ObjectLogs/{index.5e6f3846.js → index.55d93ddb.js} +9 -9
- package/components/ObjectLogs/styles.d.ts +4 -0
- package/components/PDFViewer/{index.894a79af.js → index.8d8c9d39.js} +2 -2
- package/components/PDFViewer/styles.d.ts +2 -0
- package/components/Page/{index.2b86e207.js → index.eb107182.js} +1 -1
- package/components/PaperForm/{index.56dab395.js → index.37170e07.js} +2 -2
- package/components/PaperForm/styles.d.ts +7 -0
- package/components/Period/{index.dadd4318.js → index.2a193da0.js} +4 -4
- package/components/Period/styles.d.ts +7 -0
- package/components/PrintingSystem/{index.35ee772d.js → index.6d6cd410.js} +14 -14
- package/components/PrintingSystem/styles.d.ts +2 -0
- package/components/PrintingSystem/subcomponents/BodyNode/{index.eac1420d.js → index.2f4b2285.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.5e651869.js → index.0e11ce1a.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.a0b30aab.js → index.774c0eb8.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.93a43d5e.js → index.23fb8a3e.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.89d57336.js → index.9cd30c38.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.e0d43d06.js → index.9f4f2196.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.18c1c0a7.js → index.7b78e756.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.75bd0076.js → index.6c924beb.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.494cd47d.js → index.2da2a062.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.c8c69687.js → index.334ff3ef.js} +1 -1
- package/components/PropertyValue/{index.370a03cb.js → index.cec68741.js} +3 -3
- package/components/PropertyValue/styles.d.ts +2 -0
- package/components/Resizeable/{index.d1da09c9.js → index.a27cb569.js} +1 -1
- package/components/ResizeableWindow/styles.d.ts +5 -0
- package/components/ScrollBar/{index.dc4726a5.js → index.4e447b30.js} +1 -1
- package/components/ScrollBar/styles.d.ts +9 -0
- package/components/SideBar/{index.d321beef.js → index.902789b8.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.e048f8c4.js} +1 -1
- package/components/SplitLayout/styles.d.ts +4 -0
- package/components/ToastContainer/{index.0b01e1e3.js → index.319037c5.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.d22d67a3.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.271410bf.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.4bbd6b28.js → index.f3a211a4.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.8e9d24c2.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.b29fb29f.js} +6 -6
- package/components/areas/hooks/useAreas/{index.62a5ceb8.js → index.5f7f615d.js} +1 -1
- package/components/areas/types.d.ts +1 -1
- package/components/commercial/AppBarCommercial/{index.5f904c81.js → index.8b27200f.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.6ffe7283.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.67ee203b.js} +6 -6
- package/components/commercial/TopBar/style.d.ts +2 -0
- package/components/commercial/{index.12cb74f4.js → index.196f2f16.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.97b1d316.js → index.71e5727f.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.6c7fdd6c.js} +2 -2
- package/components/hook-form/HelperError/{index.453b8be1.js → index.af99c705.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.9b605832.js → index.b295a0b4.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.ad51f3e2.js} +2 -2
- package/components/hook-form/RHFAutocompleteAsync/styles.d.ts +5 -0
- package/components/hook-form/RHFCheckbox/{index.66a883f7.js → index.4aa49169.js} +3 -3
- package/components/hook-form/RHFCheckbox/styles.d.ts +7 -0
- package/components/hook-form/RHFColorPicker/{index.2962d572.js → index.6e788803.js} +6 -6
- package/components/hook-form/RHFColorPicker/styles.d.ts +2 -0
- package/components/hook-form/RHFDateTime/{index.c37bf0d0.js → index.4c686856.js} +4 -4
- package/components/hook-form/RHFDateTime/styles.d.ts +2 -0
- package/components/hook-form/RHFPeriod/{index.2edd24fe.js → index.7bd17690.js} +4 -4
- package/components/hook-form/RHFPeriod/styles.d.ts +2 -0
- package/components/hook-form/RHFTextField/{index.b9d95bd9.js → index.ec3f5dd5.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.1275836a.js} +5 -5
- package/components/index.d.ts +2 -0
- package/components/maps/components/GpsTools/{index.94055337.js → index.44b82290.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.7cb66143.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.e663941b.js} +3 -3
- package/components/modal/{WindowConfirm.eaec0ee1.js → WindowConfirm.abcfd142.js} +13 -7
- package/components/mui_extended/Accordion/{index.289b1eea.js → index.1d692b19.js} +4 -4
- package/components/mui_extended/Accordion/styles.d.ts +4 -0
- package/components/mui_extended/Avatar/{index.f8d0e601.js → index.561ed0f7.js} +1 -1
- package/components/mui_extended/Avatar/styles.d.ts +2 -0
- package/components/mui_extended/Badge/{index.a5948eb1.js → index.abad2c28.js} +1 -1
- package/components/mui_extended/Badge/styles.d.ts +2 -0
- package/components/mui_extended/Button/{index.1f534053.js → index.8afd5131.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.d84658da.js} +2 -2
- package/components/mui_extended/IconButton/{index.40a12fe0.js → index.cb274bbe.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.8168ad20.js} +5 -5
- package/components/mui_extended/MenuActions/styles.d.ts +5 -0
- package/components/mui_extended/Pager/{index.6b48325e.js → index.9184e616.js} +4 -4
- package/components/mui_extended/Pager/styles.d.ts +2 -0
- package/components/mui_extended/Popover/{index.1758efd3.js → index.594e3587.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.6516b2b5.js} +1 -1
- package/components/mui_extended/Stack/styles.d.ts +4 -0
- package/components/mui_extended/Tab/{index.35947f79.js → index.2ac4a667.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.94cd32f3.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.9e8ea15b.js → index.3cb364d1.js} +1 -1
- package/components/mui_extended/Typography/{index.ddde0fc7.js → index.71fbb5c4.js} +1 -1
- package/components/mui_extended/Typography/styles.d.ts +2 -0
- package/components/popups/PopupsProvider/{index.156f6fb2.js → index.07940e4f.js} +35 -6
- package/components/popups/PopupsViewer/{index.f36f3bcc.js → index.d8b9a059.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.dd147fa6.js} +3 -3
- package/contexts/RHFormContext/{index.d9efc253.js → index.cedd3482.js} +1 -1
- package/contexts/RHFormContext/styles.d.ts +2 -0
- package/hooks/useFormAddEdit/{index.4738a32a.js → index.00c86b5b.js} +2 -2
- package/hooks/useModal/{index.e77737dd.js → index.84233480.js} +1 -1
- package/hooks/useTab/{index.93e7cf1d.js → index.74399f56.js} +1 -1
- package/index.js +144 -135
- package/package.json +6 -4
- package/{react-draggable.1c1ba224.js → react-draggable.079122b0.js} +1 -1
- package/{react-resizable.a59c14f4.js → react-resizable.330f1499.js} +2 -2
- package/style.css +65 -0
- package/styles/{DynamicFilter.27c16026.js → DynamicFilter.0713a406.js} +1 -1
- package/styles/{index.b0a69054.js → index.1735a866.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.f77cc2ab.js} +0 -0
|
@@ -5,7 +5,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
5
5
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
6
6
|
import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
7
7
|
import { A as ALL_FIELD } from "../constants.095f1dbb.js";
|
|
8
|
-
import { g as getPurgedInitialFiltersApplied, f as formatToInitialFilters, a as formatToRawFilter } from "../index.
|
|
8
|
+
import { g as getPurgedInitialFiltersApplied, f as formatToInitialFilters, a as formatToRawFilter } from "../index.895da58e.js";
|
|
9
9
|
import { devtools } from "zustand/middleware";
|
|
10
10
|
import { immer } from "zustand/middleware/immer";
|
|
11
11
|
function useDynamicFilterStore(selector, equalityFn) {
|
|
@@ -2,9 +2,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
4
4
|
import { useFormatter } from "@m4l/graphics";
|
|
5
|
-
import { u as useDynamicFilterStore } from "../../store/index.
|
|
6
|
-
import { f as fieldFactory } from "../FieldTypes/index.
|
|
7
|
-
import { A as AppliedFilterChipStyled, a as AppliedFilterChipIconStyled, b as AppliedFilterChipInfoStyled, c as AppliedFilterChipInfoFieldNameStyled, d as AppliedFilterChipInfoOperatorStyled, e as AppliedFilterChipInfoOperandsStyled, f as AppliedFilterChipRemoveButtonStyled } from "../../slots/dynamicFilterSlots.
|
|
5
|
+
import { u as useDynamicFilterStore } from "../../store/index.6ec4c67c.js";
|
|
6
|
+
import { f as fieldFactory } from "../FieldTypes/index.10c9c338.js";
|
|
7
|
+
import { A as AppliedFilterChipStyled, a as AppliedFilterChipIconStyled, b as AppliedFilterChipInfoStyled, c as AppliedFilterChipInfoFieldNameStyled, d as AppliedFilterChipInfoOperatorStyled, e as AppliedFilterChipInfoOperandsStyled, f as AppliedFilterChipRemoveButtonStyled } from "../../slots/dynamicFilterSlots.84150a22.js";
|
|
8
8
|
function useAppliedFilterChip(filter) {
|
|
9
9
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
10
10
|
const { getLabel } = useModuleDictionary();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { S as ScrollBar } from "../../../ScrollBar/index.
|
|
3
|
-
import { u as useDynamicFilterStore } from "../../store/index.
|
|
4
|
-
import { g as AppliedFiltersStyled, h as AppliedFilterInnerContainerStyled } from "../../slots/dynamicFilterSlots.
|
|
5
|
-
import { A as AppliedFilterChip } from "../AppliedFilterChip/index.
|
|
2
|
+
import { S as ScrollBar } from "../../../ScrollBar/index.4e447b30.js";
|
|
3
|
+
import { u as useDynamicFilterStore } from "../../store/index.6ec4c67c.js";
|
|
4
|
+
import { g as AppliedFiltersStyled, h as AppliedFilterInnerContainerStyled } from "../../slots/dynamicFilterSlots.84150a22.js";
|
|
5
|
+
import { A as AppliedFilterChip } from "../AppliedFilterChip/index.42446f8e.js";
|
|
6
6
|
function useAppliedFilters() {
|
|
7
7
|
const appliedFilter = useDynamicFilterStore((state) => state.appliedFilters);
|
|
8
8
|
const isSkeleton = useDynamicFilterStore((state) => state.ownerState.isSkeleton);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { u as useDynamicFilterStore } from "../../store/index.
|
|
2
|
+
import { u as useDynamicFilterStore } from "../../store/index.6ec4c67c.js";
|
|
3
3
|
import { a as getPropDataTestId } from "../../../../test/getNameDataTestId.0faeade8.js";
|
|
4
|
-
import { R as RootStyled, I as InnerContainerStyled } from "../../slots/dynamicFilterSlots.
|
|
4
|
+
import { R as RootStyled, I as InnerContainerStyled } from "../../slots/dynamicFilterSlots.84150a22.js";
|
|
5
5
|
import { D as DynamicFilterSlots } from "../../slots/SlotsEnum.104a03d4.js";
|
|
6
|
-
import { I as InputFilter } from "../InputFilter/index.
|
|
7
|
-
import { A as AppliedFilters } from "../AppliedFilters/index.
|
|
8
|
-
import { F as FilterActions } from "../FilterActions/index.
|
|
9
|
-
import { P as PopoverFilter } from "../PopoverFilter/index.
|
|
6
|
+
import { I as InputFilter } from "../InputFilter/index.85d720be.js";
|
|
7
|
+
import { A as AppliedFilters } from "../AppliedFilters/index.621ca411.js";
|
|
8
|
+
import { F as FilterActions } from "../FilterActions/index.7bee6c25.js";
|
|
9
|
+
import { P as PopoverFilter } from "../PopoverFilter/index.0fdc8a51.js";
|
|
10
10
|
function useDynamicFilterBase() {
|
|
11
11
|
const ownerState = useDynamicFilterStore((state) => state.ownerState);
|
|
12
12
|
const dataTestId = useDynamicFilterStore((state) => state.dataTestId);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.
|
|
2
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.7aeaab97.js";
|
|
3
3
|
import { B as BOOLEAN_OPERATORS } from "../../../constants.095f1dbb.js";
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { useModuleDictionary } from "@m4l/core";
|
|
7
|
-
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.
|
|
7
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.b295a0b4.js";
|
|
8
8
|
function BooleanFilter() {
|
|
9
9
|
const { getLabel } = useModuleDictionary();
|
|
10
10
|
const operators = useMemo(
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.
|
|
2
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.7aeaab97.js";
|
|
3
3
|
import { a as DATE_TIME_OPERATORS } from "../../../constants.095f1dbb.js";
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
7
7
|
import { useModuleDictionary } from "@m4l/core";
|
|
8
|
-
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.
|
|
9
|
-
import { R as RHFDateTime } from "../../../../hook-form/RHFDateTime/index.
|
|
10
|
-
import { i as isValidDate } from "../../../../../utils/index.
|
|
8
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.b295a0b4.js";
|
|
9
|
+
import { R as RHFDateTime } from "../../../../hook-form/RHFDateTime/index.4c686856.js";
|
|
10
|
+
import { i as isValidDate } from "../../../../../utils/index.f77cc2ab.js";
|
|
11
11
|
function DateTimeFilter() {
|
|
12
12
|
const { getLabel } = useModuleDictionary();
|
|
13
13
|
const { control } = useFormContext();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.
|
|
2
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.7aeaab97.js";
|
|
3
3
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
4
4
|
import { useMemo } from "react";
|
|
5
5
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
6
6
|
import { useModuleDictionary } from "@m4l/core";
|
|
7
7
|
import { N as NUMBER_OPERATORS } from "../../../constants.095f1dbb.js";
|
|
8
|
-
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.
|
|
9
|
-
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index.
|
|
8
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.b295a0b4.js";
|
|
9
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index.ec3f5dd5.js";
|
|
10
10
|
function NumberFilter() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const { control } = useFormContext();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.
|
|
2
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.7aeaab97.js";
|
|
3
3
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
4
4
|
import { useMemo } from "react";
|
|
5
5
|
import { useModuleDictionary } from "@m4l/core";
|
|
6
6
|
import { S as SELECT_OPERATORS } from "../../../constants.095f1dbb.js";
|
|
7
|
-
import { u as useDynamicFilterStore } from "../../../store/index.
|
|
8
|
-
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.
|
|
9
|
-
import { R as RHFAutocompleteAsync } from "../../../../hook-form/RHFAutocompleteAsync/index.
|
|
7
|
+
import { u as useDynamicFilterStore } from "../../../store/index.6ec4c67c.js";
|
|
8
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.b295a0b4.js";
|
|
9
|
+
import { R as RHFAutocompleteAsync } from "../../../../hook-form/RHFAutocompleteAsync/index.ad51f3e2.js";
|
|
10
10
|
function SelectFilter() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const field = useDynamicFilterStore((state) => state.popoverFilterData?.field);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as Yup from "yup";
|
|
2
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.
|
|
2
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../../dictionary.7aeaab97.js";
|
|
3
3
|
import { b as STRING_OPERATORS } from "../../../constants.095f1dbb.js";
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
import { useMemo } from "react";
|
|
6
6
|
import { useModuleDictionary } from "@m4l/core";
|
|
7
|
-
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.
|
|
8
|
-
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index.
|
|
7
|
+
import { R as RHFAutocomplete } from "../../../../hook-form/RHFAutocomplete/index.b295a0b4.js";
|
|
8
|
+
import { R as RHFTextField } from "../../../../hook-form/RHFTextField/index.ec3f5dd5.js";
|
|
9
9
|
function StringFilter() {
|
|
10
10
|
const { getLabel } = useModuleDictionary();
|
|
11
11
|
const operators = useMemo(
|
package/components/DynamicFilter/subcomponents/FieldTypes/{index.e18e1229.js → index.10c9c338.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect } from "react";
|
|
3
3
|
import { useFormContext } from "react-hook-form";
|
|
4
|
-
import { B as BooleanFilterHelpers } from "./BooleanFilter/index.
|
|
5
|
-
import { S as StringFilterHelpers } from "./StringFilter/index.
|
|
6
|
-
import { D as DateTimeFilterHelpers } from "./DateTimeFilter/index.
|
|
7
|
-
import { N as NumberFilterHelpers } from "./NumberFilter/index.
|
|
8
|
-
import { S as SelectFilterHelpers } from "./SelectFilter/index.
|
|
4
|
+
import { B as BooleanFilterHelpers } from "./BooleanFilter/index.f92d2a9c.js";
|
|
5
|
+
import { S as StringFilterHelpers } from "./StringFilter/index.17191093.js";
|
|
6
|
+
import { D as DateTimeFilterHelpers } from "./DateTimeFilter/index.aad7a12c.js";
|
|
7
|
+
import { N as NumberFilterHelpers } from "./NumberFilter/index.852c4c73.js";
|
|
8
|
+
import { S as SelectFilterHelpers } from "./SelectFilter/index.4beced1d.js";
|
|
9
9
|
const helpersStrategies = {
|
|
10
10
|
boolean: new BooleanFilterHelpers(),
|
|
11
11
|
string: new StringFilterHelpers(),
|
package/components/DynamicFilter/subcomponents/FilterActions/{index.3266cd55.js → index.7bee6c25.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEnvironment } from "@m4l/core";
|
|
3
|
-
import { u as useDynamicFilterStore } from "../../store/index.
|
|
4
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary.
|
|
3
|
+
import { u as useDynamicFilterStore } from "../../store/index.6ec4c67c.js";
|
|
4
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary.7aeaab97.js";
|
|
5
5
|
import { Skeleton } from "@mui/material";
|
|
6
|
-
import { i as ActionsSkeletonButtonStyled, j as ActionsStyled, k as ActionsClearButtonStyled, l as ActionsSubmitButtonStyled } from "../../slots/dynamicFilterSlots.
|
|
6
|
+
import { i as ActionsSkeletonButtonStyled, j as ActionsStyled, k as ActionsClearButtonStyled, l as ActionsSubmitButtonStyled } from "../../slots/dynamicFilterSlots.84150a22.js";
|
|
7
7
|
const ASSETS_URL = "frontend/components/dynamic_filter/assets/icons";
|
|
8
8
|
const ASSETS = {
|
|
9
9
|
refresh: "restart.svg",
|
package/components/DynamicFilter/subcomponents/InputFilter/{index.2de425a8.js → index.85d720be.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
3
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
4
|
-
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary.
|
|
5
|
-
import { u as useDynamicFilterStore } from "../../store/index.
|
|
4
|
+
import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../../dictionary.7aeaab97.js";
|
|
5
|
+
import { u as useDynamicFilterStore } from "../../store/index.6ec4c67c.js";
|
|
6
6
|
import { A as ALL_FIELD } from "../../constants.095f1dbb.js";
|
|
7
7
|
import { Skeleton } from "@mui/material";
|
|
8
|
-
import { m as InputFilterStyled, n as InputFilterIconStyled, o as InputFilterInputStyled } from "../../slots/dynamicFilterSlots.
|
|
9
|
-
import { P as PopoverMenuFields } from "../PopoverMenuFields/index.
|
|
8
|
+
import { m as InputFilterStyled, n as InputFilterIconStyled, o as InputFilterInputStyled } from "../../slots/dynamicFilterSlots.84150a22.js";
|
|
9
|
+
import { P as PopoverMenuFields } from "../PopoverMenuFields/index.3674da6c.js";
|
|
10
10
|
function useInputFilter() {
|
|
11
11
|
const [selectedFieldIndex, setSelectedFieldIndex] = useState(-1);
|
|
12
12
|
const [filteredFields, setFilteredFields] = useState([]);
|
package/components/DynamicFilter/subcomponents/PopoverFilter/{index.3f270770.js → index.0fdc8a51.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useRef, useMemo, useCallback } from "react";
|
|
3
3
|
import { useModuleDictionary } from "@m4l/core";
|
|
4
|
-
import { u as useDynamicFilterStore } from "../../store/index.
|
|
5
|
-
import { f as fieldFactory, D as DataTypeComponent } from "../FieldTypes/index.
|
|
6
|
-
import { P as PopoverStyled, p as PopoverHeaderStyled, q as PopoverHeaderIconStyled, r as PopoverHeaderTitleStyled, s as PopoverContainerFieldsStyled, t as PopoverHeaderActionsStyled } from "../../slots/dynamicFilterSlots.
|
|
7
|
-
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.
|
|
8
|
-
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.
|
|
9
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.
|
|
4
|
+
import { u as useDynamicFilterStore } from "../../store/index.6ec4c67c.js";
|
|
5
|
+
import { f as fieldFactory, D as DataTypeComponent } from "../FieldTypes/index.10c9c338.js";
|
|
6
|
+
import { P as PopoverStyled, p as PopoverHeaderStyled, q as PopoverHeaderIconStyled, r as PopoverHeaderTitleStyled, s as PopoverContainerFieldsStyled, t as PopoverHeaderActionsStyled } from "../../slots/dynamicFilterSlots.84150a22.js";
|
|
7
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.cedd3482.js";
|
|
8
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.a44544d1.js";
|
|
9
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.63222f6a.js";
|
|
10
10
|
function usePopoverFilter() {
|
|
11
11
|
let anchorEl;
|
|
12
12
|
let field;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useModuleDictionary } from "@m4l/core";
|
|
3
|
-
import { u as useDynamicFilterStore } from "../../store/index.
|
|
4
|
-
import { u as PopoverMenuStyled, v as PopoverMenuItemStyled, w as PopoverMenuItemIconStyled, x as PopoverMenuItemLabelStyled } from "../../slots/dynamicFilterSlots.
|
|
3
|
+
import { u as useDynamicFilterStore } from "../../store/index.6ec4c67c.js";
|
|
4
|
+
import { u as PopoverMenuStyled, v as PopoverMenuItemStyled, w as PopoverMenuItemIconStyled, x as PopoverMenuItemLabelStyled } from "../../slots/dynamicFilterSlots.84150a22.js";
|
|
5
5
|
function usePopoverMenuFields() {
|
|
6
6
|
const { getLabel } = useModuleDictionary();
|
|
7
7
|
const fnAnchorEl = useDynamicFilterStore((state) => state.fnAnchorEl);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
3
|
-
import { F as FieldLabelRoot } from "../../styles/index.
|
|
3
|
+
import { F as FieldLabelRoot } from "../../styles/index.1735a866.js";
|
|
4
4
|
import { generateUtilityClasses, Tooltip, Skeleton } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { g as getComponentUtilityClass } from "../../utils/index.
|
|
6
|
+
import { g as getComponentUtilityClass } from "../../utils/index.f77cc2ab.js";
|
|
7
7
|
import clsx from "clsx";
|
|
8
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
9
|
-
import { I as Icon } from "../Icon/index.
|
|
8
|
+
import { T as Typography } from "../mui_extended/Typography/index.71fbb5c4.js";
|
|
9
|
+
import { I as Icon } from "../Icon/index.ab280d41.js";
|
|
10
10
|
const componentName = "M4LFieldLabel";
|
|
11
11
|
generateUtilityClasses(componentName, [
|
|
12
12
|
"root",
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const FieldLabelRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {}>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useRef, useEffect, useCallback } from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.
|
|
5
|
-
import { G as GridLayoutRoot } from "../../styles/index.
|
|
4
|
+
import { M as MemonizedGridItem } from "./subcomponents/Griditem/index.83d54714.js";
|
|
5
|
+
import { G as GridLayoutRoot } from "../../styles/index.1735a866.js";
|
|
6
6
|
import { generateUtilityClasses } from "@mui/material";
|
|
7
7
|
import "@mui/base";
|
|
8
8
|
const COMPONENT_CLASS_NAME = "M4LGridLayout";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const GridLayoutRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
package/components/GridLayout/subcomponents/Griditem/{index.b5c91d2a.js → index.83d54714.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import React__default, { useRef, useEffect, useState, useCallback, useMemo } from "react";
|
|
3
|
-
import { D as DraggableCore_1 } from "../../../../react-draggable.
|
|
4
|
-
import { R as Resizable } from "../../../../react-resizable.
|
|
5
|
-
import { g as getH, c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition, h as gridLayoutClasses, D as DEFAULT_COLS, i as DEFAULT_ROW_HEIGHT, j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, l as DEFAULT_MARGIN, m as DEFAULT_CONTAINER_PADDING, n as DEFAULT_TRANSFORM_SCALE, o as DEFAULT_COLAPSED_HEIGHT, p as perc, s as setTransform, q as setTopLeft } from "../../index.
|
|
3
|
+
import { D as DraggableCore_1 } from "../../../../react-draggable.079122b0.js";
|
|
4
|
+
import { R as Resizable } from "../../../../react-resizable.330f1499.js";
|
|
5
|
+
import { g as getH, c as calcXY, a as calcGridItemWHPx, b as calcGridColWidth, d as calcWH, e as clamp, f as calcGridItemPosition, h as gridLayoutClasses, D as DEFAULT_COLS, i as DEFAULT_ROW_HEIGHT, j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, l as DEFAULT_MARGIN, m as DEFAULT_CONTAINER_PADDING, n as DEFAULT_TRANSFORM_SCALE, o as DEFAULT_COLAPSED_HEIGHT, p as perc, s as setTransform, q as setTopLeft } from "../../index.3b90ce9b.js";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { deepEqual } from "fast-equals";
|
|
8
8
|
function GridItem(props) {
|
package/components/GridLayout/subcomponents/Responsive/{index.a1179064.js → index.f06bbf5e.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { r as cloneLayoutItem, t as cloneLayout, u as compact, v as correctBounds, w as isEqualLayout, o as DEFAULT_COLAPSED_HEIGHT, x as DEFAULT_RESPONSIVE_BREAKPOINTS, m as DEFAULT_CONTAINER_PADDING, l as DEFAULT_MARGIN, y as DEFAULT_RESPONSIVE_COLS, i as DEFAULT_ROW_HEIGHT, z as noop, A as isEqualLayouts, G as GridLayout } from "../../index.
|
|
2
|
+
import { r as cloneLayoutItem, t as cloneLayout, u as compact, v as correctBounds, w as isEqualLayout, o as DEFAULT_COLAPSED_HEIGHT, x as DEFAULT_RESPONSIVE_BREAKPOINTS, m as DEFAULT_CONTAINER_PADDING, l as DEFAULT_MARGIN, y as DEFAULT_RESPONSIVE_COLS, i as DEFAULT_ROW_HEIGHT, z as noop, A as isEqualLayouts, G as GridLayout } from "../../index.3b90ce9b.js";
|
|
3
3
|
import { useState, useRef, useEffect, useCallback } from "react";
|
|
4
4
|
import { useFirstRender } from "@m4l/graphics";
|
|
5
5
|
import { deepEqual } from "fast-equals";
|
package/components/GridLayout/subcomponents/SizeProvider/{index.25dcc9bb.js → index.72bfaedb.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { useRef, useState, useMemo, useCallback, useEffect } from "react";
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { throttle } from "lodash";
|
|
5
5
|
import { useResizeObserver } from "@m4l/graphics";
|
|
6
|
-
import { j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, T as THROTTLE_RESIZE_TIMEOUT, C as COMPONENT_CLASS_NAME } from "../../index.
|
|
6
|
+
import { j as DEFAULT_CONTAINER_WIDTH, k as DEFAULT_CONTAINER_HEIGHT, T as THROTTLE_RESIZE_TIMEOUT, C as COMPONENT_CLASS_NAME } from "../../index.3b90ce9b.js";
|
|
7
7
|
function withSizeProvider(ComposedComponent) {
|
|
8
8
|
return (props) => {
|
|
9
9
|
const { measureBeforeMount = true, ...rest } = props;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { H as HelperTextRoot } from "../../styles/index.
|
|
2
|
+
import { H as HelperTextRoot } from "../../styles/index.1735a866.js";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
5
|
+
import { T as Typography } from "../mui_extended/Typography/index.71fbb5c4.js";
|
|
6
6
|
const componentName = "M4LHelperText";
|
|
7
7
|
const errorLabelClasses = generateUtilityClasses(componentName, [
|
|
8
8
|
"root",
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const HelperTextRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Marker } from "react-leaflet";
|
|
3
3
|
import L__default from "leaflet";
|
|
4
|
-
import { m as mapClasses, L as LABEL_BK_COLOR_DEFAULT, a as LABEL_COLOR_DEFAULT } from "../maps/components/Map/index.
|
|
4
|
+
import { m as mapClasses, L as LABEL_BK_COLOR_DEFAULT, a as LABEL_COLOR_DEFAULT } from "../maps/components/Map/index.7cb66143.js";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { useEnvironment } from "@m4l/core";
|
|
7
|
-
import { I as IconRoot, e as DivIcon, f as ArrowIconRoot } from "../../styles/index.
|
|
8
|
-
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.
|
|
7
|
+
import { I as IconRoot, e as DivIcon, f as ArrowIconRoot } from "../../styles/index.1735a866.js";
|
|
8
|
+
import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.902789b8.js";
|
|
9
9
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
10
10
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
11
11
|
import { unstable_composeClasses } from "@mui/base";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DivIconProps } from './types';
|
|
3
|
+
export declare const IconRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
+
export declare const DivIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & DivIconProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { g as ImageRoot } from "../../styles/index.
|
|
2
|
+
import { g as ImageRoot } from "../../styles/index.1735a866.js";
|
|
3
3
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import { useBase, useEnvironment, evaluateWithContext } from "@m4l/core";
|
|
8
|
-
import { c as classes, g as getSize } from "../PrintingSystem/index.
|
|
8
|
+
import { c as classes, g as getSize } from "../PrintingSystem/index.6d6cd410.js";
|
|
9
9
|
import QRCode from "qrcode.react";
|
|
10
10
|
const ratioOptions = {
|
|
11
11
|
"1.168:1": {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ImageRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass, Stack, MenuItem } from "@mui/material";
|
|
4
|
-
import { I as Image } from "../Image/index.
|
|
4
|
+
import { I as Image } from "../Image/index.ec13c4a1.js";
|
|
5
5
|
import { useLocales } from "@m4l/graphics";
|
|
6
|
-
import { L as LanguagePopoverRoot, h as ContainerMenuItems, i as ContainerProgress, j as ContainerImage, k as LabelItem } from "../../styles/index.
|
|
7
|
-
import { I as ImageButton } from "../mui_extended/Button/index.
|
|
6
|
+
import { L as LanguagePopoverRoot, h as ContainerMenuItems, i as ContainerProgress, j as ContainerImage, k as LabelItem } from "../../styles/index.1735a866.js";
|
|
7
|
+
import { I as ImageButton } from "../mui_extended/Button/index.8afd5131.js";
|
|
8
8
|
import { useEnvironment, useNetwork } from "@m4l/core";
|
|
9
9
|
import { unstable_composeClasses } from "@mui/base";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
11
11
|
import { C as CircularProgress } from "../mui_extended/CircularProgress/index.967e70b7.js";
|
|
12
|
-
import { P as Popover } from "../mui_extended/Popover/index.
|
|
12
|
+
import { P as Popover } from "../mui_extended/Popover/index.594e3587.js";
|
|
13
13
|
const componentName = "M4LanguagePopover";
|
|
14
14
|
generateUtilityClasses(
|
|
15
15
|
componentName,
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const LanguagePopoverRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
+
export declare const LabelItem: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
+
export declare const ContainerProgress: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
+
export declare const ContainerMenuItems: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const ContainerImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -2,8 +2,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { generateUtilityClasses } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { g as getComponentUtilityClass } from "../../utils/index.
|
|
6
|
-
import { l as LinearProgressIndeterminateRoot } from "../../styles/index.
|
|
5
|
+
import { g as getComponentUtilityClass } from "../../utils/index.f77cc2ab.js";
|
|
6
|
+
import { l as LinearProgressIndeterminateRoot } from "../../styles/index.1735a866.js";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
8
8
|
const LINEAR_PROGRESS_INDETERMINATE_CLASS_NAME = "M4LinearProgressIndeterminate";
|
|
9
9
|
generateUtilityClasses(
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const LinearProgressIndeterminateRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -3,11 +3,11 @@ import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
|
3
3
|
import { I as ICONS } from "../areas/icons.8266ccc8.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { m as LoadingErrorRoot } from "../../styles/index.
|
|
7
|
-
import { L as LinearProgressIndeterminate } from "../LinearProgressIndeterminate/index.
|
|
8
|
-
import { I as Icon } from "../Icon/index.
|
|
9
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
10
|
-
import { B as Button } from "../mui_extended/Button/index.
|
|
6
|
+
import { m as LoadingErrorRoot } from "../../styles/index.1735a866.js";
|
|
7
|
+
import { L as LinearProgressIndeterminate } from "../LinearProgressIndeterminate/index.6739ff49.js";
|
|
8
|
+
import { I as Icon } from "../Icon/index.ab280d41.js";
|
|
9
|
+
import { T as Typography } from "../mui_extended/Typography/index.71fbb5c4.js";
|
|
10
|
+
import { B as Button } from "../mui_extended/Button/index.8afd5131.js";
|
|
11
11
|
const componentName = "M4LoadingError";
|
|
12
12
|
generateUtilityClasses(componentName, [
|
|
13
13
|
"root",
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const LoadingErrorRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useMemo, useCallback } from "react";
|
|
3
|
+
import { unstable_HistoryRouter } from "react-router-dom";
|
|
4
|
+
import { ToastContainer, toast } from "react-toastify";
|
|
5
|
+
import { createBrowserHistory } from "history";
|
|
6
|
+
import EventEmitter from "eventemitter3";
|
|
7
|
+
import NProgress from "nprogress";
|
|
8
|
+
import { HostThemeProvider, FormatterProvider, LocalesProvider, getLocaleFromNetwork, ResponsiveContainerProvider } from "@m4l/graphics";
|
|
9
|
+
import { useAuth, DomainCountryProvider, EnvironmentProvider, HostToolsProvider, NetworkProvider, axiosOperation, AuthProvider } from "@m4l/core";
|
|
10
|
+
import { format } from "date-fns";
|
|
11
|
+
import { defaultThemeOptions, fnComponentsOverrides } from "@m4l/styles";
|
|
12
|
+
import { B as BaseModule } from "../BaseModule/index.db78c929.js";
|
|
13
|
+
import { A as AreasProvider } from "../areas/contexts/AreasContext/index.b29fb29f.js";
|
|
14
|
+
function MFAuthApp(props) {
|
|
15
|
+
const { children, user, pwd } = props;
|
|
16
|
+
const { isAuthenticated, isInitialized, login, user: authUser } = useAuth();
|
|
17
|
+
useEffect(() => {
|
|
18
|
+
if (isInitialized && isAuthenticated === false) {
|
|
19
|
+
login(user, pwd, false);
|
|
20
|
+
}
|
|
21
|
+
}, [isInitialized, isAuthenticated]);
|
|
22
|
+
if (!isAuthenticated)
|
|
23
|
+
return /* @__PURE__ */ jsx("div", { children: "Pendiente por autenticarse" });
|
|
24
|
+
const domianCountry = {
|
|
25
|
+
id: 1,
|
|
26
|
+
currency: "USD",
|
|
27
|
+
currency_decimal_digits: 2,
|
|
28
|
+
decimal_symbol: ".",
|
|
29
|
+
thousands_symbol: ","
|
|
30
|
+
};
|
|
31
|
+
if (authUser?.domain_country) {
|
|
32
|
+
domianCountry.id = authUser?.domain_country.id ?? domianCountry.id;
|
|
33
|
+
domianCountry.currency = authUser?.domain_country.currency ?? domianCountry.currency;
|
|
34
|
+
domianCountry.currency_decimal_digits = authUser?.domain_country.currency_decimal_digits ?? domianCountry.currency_decimal_digits;
|
|
35
|
+
domianCountry.decimal_symbol = authUser?.domain_country.decimal_symbol ?? domianCountry.decimal_symbol;
|
|
36
|
+
domianCountry.thousands_symbol = authUser?.domain_country?.thousands_symbol ?? domianCountry.thousands_symbol;
|
|
37
|
+
}
|
|
38
|
+
return /* @__PURE__ */ jsxs(
|
|
39
|
+
HostThemeProvider,
|
|
40
|
+
{
|
|
41
|
+
hostThemeOptions: defaultThemeOptions,
|
|
42
|
+
fnComponentsOverrides,
|
|
43
|
+
isMicroFrontEnd: true,
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ jsx(ToastContainer, {}),
|
|
46
|
+
/* @__PURE__ */ jsx(DomainCountryProvider, { ...domianCountry, isMicroFrontEnd: false, children: /* @__PURE__ */ jsx(
|
|
47
|
+
FormatterProvider,
|
|
48
|
+
{
|
|
49
|
+
isMicroFrontEnd: false,
|
|
50
|
+
dateFormatter: {
|
|
51
|
+
formatDate: format
|
|
52
|
+
},
|
|
53
|
+
currencyFormatter: {
|
|
54
|
+
code: domianCountry.currency,
|
|
55
|
+
decimalDigits: domianCountry.currency_decimal_digits
|
|
56
|
+
},
|
|
57
|
+
children
|
|
58
|
+
}
|
|
59
|
+
) })
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
const history = createBrowserHistory({ window });
|
|
65
|
+
function MFIsolationApp(props) {
|
|
66
|
+
const {
|
|
67
|
+
children,
|
|
68
|
+
user,
|
|
69
|
+
pwd,
|
|
70
|
+
database = "domain",
|
|
71
|
+
host_api_local,
|
|
72
|
+
host_api_remote,
|
|
73
|
+
host_static_assets,
|
|
74
|
+
environment_assets,
|
|
75
|
+
moduleId,
|
|
76
|
+
skeletonFlags,
|
|
77
|
+
moduleNameField,
|
|
78
|
+
privileges,
|
|
79
|
+
componentsDictionary,
|
|
80
|
+
onLoad,
|
|
81
|
+
activeAreasNetwork = false,
|
|
82
|
+
activeCookiesFromNetwork = false,
|
|
83
|
+
observedDivRef
|
|
84
|
+
} = props;
|
|
85
|
+
const eventEmitter = useMemo(() => new EventEmitter(), []);
|
|
86
|
+
const events_add_listener = useCallback(
|
|
87
|
+
(eventName, handler) => {
|
|
88
|
+
eventEmitter.on(eventName, handler);
|
|
89
|
+
},
|
|
90
|
+
[eventEmitter]
|
|
91
|
+
);
|
|
92
|
+
const events_remove_listener = useCallback(
|
|
93
|
+
(eventName, handler) => {
|
|
94
|
+
if (handler === null) {
|
|
95
|
+
eventEmitter.removeListener(eventName);
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
eventEmitter.removeListener(eventName, handler);
|
|
99
|
+
},
|
|
100
|
+
[eventEmitter]
|
|
101
|
+
);
|
|
102
|
+
const events_emit = useCallback(
|
|
103
|
+
(eventName, arg) => {
|
|
104
|
+
eventEmitter.emit(eventName, arg);
|
|
105
|
+
},
|
|
106
|
+
[eventEmitter]
|
|
107
|
+
);
|
|
108
|
+
const startProgress = () => {
|
|
109
|
+
NProgress.configure({
|
|
110
|
+
showSpinner: true
|
|
111
|
+
});
|
|
112
|
+
NProgress.start();
|
|
113
|
+
};
|
|
114
|
+
const stopProgress = () => {
|
|
115
|
+
NProgress.done();
|
|
116
|
+
};
|
|
117
|
+
const environment = useMemo(
|
|
118
|
+
() => ({
|
|
119
|
+
host: "",
|
|
120
|
+
isLocalhost: true,
|
|
121
|
+
domain_token: "lab1",
|
|
122
|
+
database,
|
|
123
|
+
host_api_local,
|
|
124
|
+
host_api_remote,
|
|
125
|
+
host_static_assets,
|
|
126
|
+
environment_assets
|
|
127
|
+
}),
|
|
128
|
+
[]
|
|
129
|
+
);
|
|
130
|
+
const hostTools = useMemo(
|
|
131
|
+
() => ({
|
|
132
|
+
history,
|
|
133
|
+
toast,
|
|
134
|
+
startProgress,
|
|
135
|
+
stopProgress,
|
|
136
|
+
events_add_listener,
|
|
137
|
+
events_remove_listener,
|
|
138
|
+
events_emit
|
|
139
|
+
}),
|
|
140
|
+
[]
|
|
141
|
+
);
|
|
142
|
+
return /* @__PURE__ */ jsx(EnvironmentProvider, { ...environment, children: /* @__PURE__ */ jsx(HostToolsProvider, { ...hostTools, children: /* @__PURE__ */ jsx(NetworkProvider, { axiosOperation, children: /* @__PURE__ */ jsx(unstable_HistoryRouter, { history, children: /* @__PURE__ */ jsx(LocalesProvider, { isMicroFrontEnd: false, getLocaleFromNetwork, children: /* @__PURE__ */ jsx(AuthProvider, { children: /* @__PURE__ */ jsx(MFAuthApp, { user, pwd, children: /* @__PURE__ */ jsx(
|
|
143
|
+
BaseModule,
|
|
144
|
+
{
|
|
145
|
+
moduleId,
|
|
146
|
+
privileges,
|
|
147
|
+
skeletonFlags,
|
|
148
|
+
componentsDictionary,
|
|
149
|
+
moduleNameField,
|
|
150
|
+
children: /* @__PURE__ */ jsx(
|
|
151
|
+
AreasProvider,
|
|
152
|
+
{
|
|
153
|
+
onLoad,
|
|
154
|
+
loadAreasFromNetwork: activeAreasNetwork,
|
|
155
|
+
loadCookiesFromNetwork: activeCookiesFromNetwork,
|
|
156
|
+
onSelectLayout: (modId) => {
|
|
157
|
+
console.log("onSelectLayout", modId);
|
|
158
|
+
},
|
|
159
|
+
children: /* @__PURE__ */ jsx(ResponsiveContainerProvider, { observedDivRef, children })
|
|
160
|
+
}
|
|
161
|
+
)
|
|
162
|
+
}
|
|
163
|
+
) }) }) }) }) }) }) });
|
|
164
|
+
}
|
|
165
|
+
export {
|
|
166
|
+
MFIsolationApp as M
|
|
167
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MFIsolationApp } from './MFIsolationApp';
|