@m4l/components 1.0.21 → 1.0.23
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 +6 -6
- package/components/AccountPopover/{index.7687487c.js → index.5c97ab79.js} +3 -3
- package/components/AccountPopover/style.d.ts +2 -0
- package/components/AppBar/{index.16d8f79a.js → index.631dac35.js} +4 -4
- package/components/AppBar/styles.d.ts +2 -0
- package/components/CommonActions/components/ActionCancel/{index.d0adf9c4.js → index.4ec04ad9.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.c815247c.js → index.4d61b0fe.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.f67b79e2.js → index.241ff066.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.6904d0ad.js → index.6c855294.js} +2 -2
- package/components/CommonActions/components/Actions/{index.dff2bcc7.js → index.2083f1d3.js} +1 -1
- package/components/CommonActions/components/Actions/styles.d.ts +2 -0
- 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.371bcc46.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.59985444.js → index.efe5a903.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.8128c255.js} +1 -1
- package/components/DataGrid/formatters/ColumnPointsFormatter/{index.fc637564.js → index.ab152484.js} +1 -1
- package/components/DataGrid/formatters/index.84c30cd7.js +13 -0
- package/components/DataGrid/{index.768e62a6.js → index.3f13b6aa.js} +7 -5
- package/components/DataGrid/styles.d.ts +2 -0
- package/components/DataGrid/subcomponents/Actions/{index.39dcd931.js → index.feeb7987.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 +3 -3
- package/components/DragResizeWindow/index.4e9cf2dc.js +477 -0
- package/components/DragResizeWindow/styled.d.ts +2 -0
- package/components/DynamicFilter/{dictionary.0991b837.js → dictionary.2241d3c2.js} +2 -2
- package/components/DynamicFilter/{index.1aa60703.js → index.94ef8a65.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.1edc8e23.js → dynamicFilterSlots.cff0c775.js} +5 -5
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +87 -0
- package/components/DynamicFilter/store/{index.0e0854ee.js → index.806ee1a5.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.f47f6ecc.js → index.e75e32be.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.caf0bb7f.js → index.5c30d4c9.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.f4fe3a8e.js → index.9a3e7c86.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.5c562061.js → index.abfd8da5.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.b53e2fdc.js → index.4937bcea.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.9fc191f0.js → index.09549b28.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.c002c8f2.js → index.bbca18ab.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.12fc8d0c.js → index.4e1c56b6.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.e18e1229.js → index.9dd57d81.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.3266cd55.js → index.d13450e6.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.2de425a8.js → index.293ccf6f.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.3f270770.js → index.c5e7b96f.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.ebd84aa5.js → index.aa8ff6d5.js} +2 -2
- package/components/FieldLabel/{index.15e78848.js → index.170296ed.js} +3 -3
- package/components/FieldLabel/styles.d.ts +2 -0
- package/components/GridLayout/{index.f5fb6d61.js → index.9e93facb.js} +2 -2
- package/components/GridLayout/styles.d.ts +2 -0
- package/components/GridLayout/subcomponents/Griditem/{index.b5c91d2a.js → index.225906d4.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.a1179064.js → index.3cb5a032.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.25dcc9bb.js → index.16747fc4.js} +1 -1
- package/components/HelperText/{index.f9b6e7a3.js → index.ad6b4907.js} +2 -2
- package/components/HelperText/styles.d.ts +2 -0
- package/components/Icon/{index.b1c014b0.js → index.8168aa10.js} +3 -3
- package/components/Icon/styles.d.ts +4 -0
- package/components/Image/{index.a011d2d2.js → index.92d522f9.js} +2 -2
- package/components/Image/styles.d.ts +2 -0
- package/components/LanguagePopover/{index.763ee58f.js → index.68640a8e.js} +4 -4
- package/components/LanguagePopover/styles.d.ts +6 -0
- package/components/LinearProgressIndeterminate/{index.c5cb15a1.js → index.9f87f47c.js} +1 -1
- package/components/LinearProgressIndeterminate/styles.d.ts +2 -0
- package/components/LoadingError/{index.884275da.js → index.32dc5ad7.js} +5 -5
- package/components/LoadingError/styles.d.ts +2 -0
- package/components/MFLoader/{index.dbb3fc5b.js → index.70b0984a.js} +2 -2
- package/components/MFLoader/styles.d.ts +2 -0
- package/components/ModalDialog/{index.f22ea160.js → index.22eb4873.js} +3 -3
- package/components/NavLink/{index.ab08b249.js → index.ddfdae0b.js} +2 -2
- package/components/NavLink/styles.d.ts +2 -0
- package/components/NoItemSelected/{index.873bbc59.js → index.9ac8f4c8.js} +1 -1
- package/components/NoItemSelected/styles.d.ts +5 -0
- package/components/ObjectLogs/{index.5e6f3846.js → index.032e25fb.js} +9 -9
- package/components/ObjectLogs/styles.d.ts +4 -0
- package/components/PDFViewer/{index.894a79af.js → index.0f8c84da.js} +2 -2
- package/components/PDFViewer/styles.d.ts +2 -0
- package/components/Page/{index.2b86e207.js → index.0268570c.js} +1 -1
- package/components/PaperForm/{index.56dab395.js → index.8a387dab.js} +2 -2
- package/components/PaperForm/styles.d.ts +7 -0
- package/components/Period/{index.dadd4318.js → index.c2efde10.js} +4 -4
- package/components/Period/styles.d.ts +7 -0
- package/components/PrintingSystem/{index.35ee772d.js → index.d3db73b0.js} +13 -13
- package/components/PrintingSystem/styles.d.ts +2 -0
- package/components/PrintingSystem/subcomponents/BodyNode/{index.eac1420d.js → index.0b481469.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.5e651869.js → index.6d961379.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.a0b30aab.js → index.9f5fccbf.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.93a43d5e.js → index.9cb21de9.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.89d57336.js → index.2e8b0108.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.e0d43d06.js → index.683901c4.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.18c1c0a7.js → index.c666cc89.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.75bd0076.js → index.46901d93.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.494cd47d.js → index.4107bf33.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.c8c69687.js → index.ebece5ce.js} +1 -1
- package/components/PropertyValue/{index.370a03cb.js → index.6445835e.js} +3 -3
- package/components/PropertyValue/styles.d.ts +2 -0
- package/components/Resizeable/{index.d1da09c9.js → index.57cbe2be.js} +1 -1
- package/components/ResizeableWindow/styles.d.ts +5 -0
- package/components/ScrollBar/{index.dc4726a5.js → index.56125bbf.js} +1 -1
- package/components/ScrollBar/styles.d.ts +9 -0
- package/components/SideBar/{index.d321beef.js → index.ed48577e.js} +5 -5
- 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.dcdc77e6.js} +1 -1
- package/components/SplitLayout/styles.d.ts +4 -0
- package/components/ToastContainer/{index.0b01e1e3.js → index.67f277fd.js} +2 -2
- 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.782f1eca.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.3dddf2d3.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.4bbd6b28.js → index.3c8301b9.js} +14 -14
- 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.9298ef7a.js} +13 -13
- 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.55cdde3e.js} +4 -4
- package/components/areas/hooks/useAreas/{index.62a5ceb8.js → index.5275e969.js} +1 -1
- package/components/commercial/AppBarCommercial/{index.5f904c81.js → index.9fa71fbe.js} +1 -1
- 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.67cb0e24.js} +1 -1
- 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.e307711a.js} +5 -5
- package/components/commercial/TopBar/style.d.ts +2 -0
- package/components/commercial/{index.12cb74f4.js → index.3b81acbf.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.97b1d316.js → index.6b0373e0.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.a0d79071.js} +2 -2
- package/components/hook-form/HelperError/{index.453b8be1.js → index.6b671a90.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.9b605832.js → index.0c0f1166.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.98c0c8b1.js} +2 -2
- package/components/hook-form/RHFAutocompleteAsync/styles.d.ts +5 -0
- package/components/hook-form/RHFCheckbox/{index.66a883f7.js → index.93b8e70f.js} +3 -3
- package/components/hook-form/RHFCheckbox/styles.d.ts +7 -0
- package/components/hook-form/RHFColorPicker/{index.2962d572.js → index.d6edb266.js} +6 -6
- package/components/hook-form/RHFColorPicker/styles.d.ts +2 -0
- package/components/hook-form/RHFDateTime/{index.c37bf0d0.js → index.d793e753.js} +4 -4
- package/components/hook-form/RHFDateTime/styles.d.ts +2 -0
- package/components/hook-form/RHFPeriod/{index.2edd24fe.js → index.f298b64d.js} +4 -4
- package/components/hook-form/RHFPeriod/styles.d.ts +2 -0
- package/components/hook-form/RHFTextField/{index.b9d95bd9.js → index.8ca96674.js} +4 -4
- 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.07ebbfc1.js} +5 -5
- package/components/maps/components/GpsTools/{index.94055337.js → index.a19df7ba.js} +558 -402
- package/components/maps/components/Map/constants.d.ts +1 -0
- package/components/maps/components/Map/external/googleMutant/index.d.ts +65 -0
- package/components/maps/components/Map/icons.d.ts +1 -7
- package/components/maps/components/Map/{index.9edada74.js → index.ccb0be2e.js} +29 -31
- 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/modal/{WindowBase.c7d14de4.js → WindowBase.58fc327c.js} +3 -3
- package/components/modal/{WindowConfirm.eaec0ee1.js → WindowConfirm.746fdae7.js} +13 -7
- package/components/mui_extended/Accordion/{index.289b1eea.js → index.fd3b659c.js} +4 -4
- package/components/mui_extended/Accordion/styles.d.ts +4 -0
- package/components/mui_extended/Avatar/{index.f8d0e601.js → index.3ebe1a4b.js} +1 -1
- package/components/mui_extended/Avatar/styles.d.ts +2 -0
- package/components/mui_extended/Badge/{index.a5948eb1.js → index.ecd151e9.js} +1 -1
- package/components/mui_extended/Badge/styles.d.ts +2 -0
- package/components/mui_extended/Button/{index.1f534053.js → index.dc43db94.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.ea329fff.js} +2 -2
- package/components/mui_extended/IconButton/{index.40a12fe0.js → index.3284f1d5.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.9e3d7f5d.js} +5 -5
- package/components/mui_extended/MenuActions/styles.d.ts +5 -0
- package/components/mui_extended/Pager/{index.6b48325e.js → index.ef526d95.js} +4 -4
- package/components/mui_extended/Pager/styles.d.ts +2 -0
- package/components/mui_extended/Popover/{index.1758efd3.js → index.57cd2dc0.js} +2 -2
- 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.0c52ffa7.js} +1 -1
- package/components/mui_extended/Stack/styles.d.ts +4 -0
- package/components/mui_extended/Tab/{index.35947f79.js → index.c0a8e330.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.560c0a3c.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.9e8ea15b.js → index.98d85395.js} +1 -1
- package/components/mui_extended/Typography/{index.ddde0fc7.js → index.5a14dd12.js} +1 -1
- package/components/mui_extended/Typography/styles.d.ts +2 -0
- package/components/popups/PopupsProvider/{index.156f6fb2.js → index.b3bb56b7.js} +35 -6
- package/components/popups/PopupsViewer/{index.f36f3bcc.js → index.0f579946.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.141fdede.js} +1 -1
- package/contexts/RHFormContext/{index.d9efc253.js → index.8cfee498.js} +1 -1
- package/contexts/RHFormContext/styles.d.ts +2 -0
- package/hooks/useFormAddEdit/{index.4738a32a.js → index.f4f4dccd.js} +2 -2
- package/hooks/useModal/{index.e77737dd.js → index.70c3f0b5.js} +1 -1
- package/hooks/useTab/{index.93e7cf1d.js → index.6f39459c.js} +1 -1
- package/index.js +130 -129
- package/package.json +3 -4
- package/style.css +65 -0
- package/styles/{index.b0a69054.js → index.379fa100.js} +14 -47
- 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
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import React__default, { forwardRef, useState, useRef, useCallback, useEffect, useMemo } from "react";
|
|
3
|
+
import { D as DraggableCore_1 } from "../../react-draggable.1c1ba224.js";
|
|
4
|
+
import clsx from "clsx";
|
|
5
|
+
import { styled, generateUtilityClasses, useForkRef } from "@mui/material";
|
|
6
|
+
import { M as MAP_ZINDEX_OVER_MAP } from "../maps/components/Map/index.ccb0be2e.js";
|
|
7
|
+
import "@mui/base";
|
|
8
|
+
import { R as Resizable } from "../../react-resizable.a59c14f4.js";
|
|
9
|
+
const WrapperDragResizeWindowRoot = styled("div")`
|
|
10
|
+
position: absolute;
|
|
11
|
+
left: 0px;
|
|
12
|
+
top: 0px;
|
|
13
|
+
background-color: gray;
|
|
14
|
+
z-index: ${MAP_ZINDEX_OVER_MAP};
|
|
15
|
+
prop2: 2;
|
|
16
|
+
|
|
17
|
+
${(props) => props.theme.components?.M4LDragResizeWindow?.styleOverrides}
|
|
18
|
+
`;
|
|
19
|
+
const COMPONENT_CLASS_NAME = "M4LDraggableWindow";
|
|
20
|
+
const DEFAULT_TRANSFORM_SCALE = 1;
|
|
21
|
+
const draggableWindowClasses = generateUtilityClasses(
|
|
22
|
+
COMPONENT_CLASS_NAME,
|
|
23
|
+
[
|
|
24
|
+
"root",
|
|
25
|
+
"draggableHandle",
|
|
26
|
+
"draggableCancel",
|
|
27
|
+
"dragging"
|
|
28
|
+
]
|
|
29
|
+
);
|
|
30
|
+
function setTransform({ top, left, width, height }) {
|
|
31
|
+
const translate = `translate(${left}px,${top}px)`;
|
|
32
|
+
return {
|
|
33
|
+
transform: translate,
|
|
34
|
+
WebkitTransform: translate,
|
|
35
|
+
MozTransform: translate,
|
|
36
|
+
msTransform: translate,
|
|
37
|
+
OTransform: translate,
|
|
38
|
+
width: `${width}px`,
|
|
39
|
+
height: `${height}px`,
|
|
40
|
+
position: "absolute",
|
|
41
|
+
prop1: 1
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
const DragResizeWindow = forwardRef((props, ref) => {
|
|
45
|
+
const {
|
|
46
|
+
style,
|
|
47
|
+
className,
|
|
48
|
+
children,
|
|
49
|
+
defaultPosition = { vertical: { top: 0, height: 100 }, horizontal: { left: 0, width: 100 } },
|
|
50
|
+
containerElement,
|
|
51
|
+
containerSize,
|
|
52
|
+
transformScale = DEFAULT_TRANSFORM_SCALE,
|
|
53
|
+
bounds = { left: 5, top: 5, right: -5, bottom: -5 },
|
|
54
|
+
minWindowWidth = 200,
|
|
55
|
+
minWindowHeight = 100,
|
|
56
|
+
draggableHandle = `.${draggableWindowClasses.draggableHandle}`,
|
|
57
|
+
draggableCancel = `.${draggableWindowClasses.draggableCancel}`,
|
|
58
|
+
draggable = true,
|
|
59
|
+
onDragStart,
|
|
60
|
+
onDrag,
|
|
61
|
+
onDragStop,
|
|
62
|
+
onMouseDown,
|
|
63
|
+
resizeable = true,
|
|
64
|
+
resizeHandles = ["se", "nw"],
|
|
65
|
+
resizeHandle,
|
|
66
|
+
onResizeStart,
|
|
67
|
+
onResize,
|
|
68
|
+
onResizeStop,
|
|
69
|
+
...others
|
|
70
|
+
} = props;
|
|
71
|
+
const [currentState, setCurrentState] = useState(() => {
|
|
72
|
+
let top;
|
|
73
|
+
let bottom;
|
|
74
|
+
let height;
|
|
75
|
+
let left;
|
|
76
|
+
let right;
|
|
77
|
+
let width;
|
|
78
|
+
if ("top" in defaultPosition.vertical) {
|
|
79
|
+
top = defaultPosition.vertical.top;
|
|
80
|
+
}
|
|
81
|
+
if ("bottom" in defaultPosition.vertical) {
|
|
82
|
+
bottom = defaultPosition.vertical.bottom;
|
|
83
|
+
}
|
|
84
|
+
if ("height" in defaultPosition.vertical) {
|
|
85
|
+
height = defaultPosition.vertical.height;
|
|
86
|
+
}
|
|
87
|
+
if ("left" in defaultPosition.horizontal) {
|
|
88
|
+
left = defaultPosition.horizontal.left;
|
|
89
|
+
}
|
|
90
|
+
if ("right" in defaultPosition.horizontal) {
|
|
91
|
+
right = defaultPosition.horizontal.right;
|
|
92
|
+
}
|
|
93
|
+
if ("width" in defaultPosition.horizontal) {
|
|
94
|
+
width = defaultPosition.horizontal.width;
|
|
95
|
+
}
|
|
96
|
+
const containerHeight = containerSize?.containerHeight || 200;
|
|
97
|
+
const containerWidth = containerSize?.containerWidth || 200;
|
|
98
|
+
return {
|
|
99
|
+
top: top || 0,
|
|
100
|
+
height: height ?? containerHeight - (top || 0) - (bottom || 0),
|
|
101
|
+
left: left ?? (right ? containerWidth - right - (width || 0) : 0),
|
|
102
|
+
width: width ?? containerWidth - (left || 0) - (right || 0)
|
|
103
|
+
};
|
|
104
|
+
});
|
|
105
|
+
const stateRef = useRef({
|
|
106
|
+
bounds,
|
|
107
|
+
data: void 0,
|
|
108
|
+
dragging: void 0,
|
|
109
|
+
containerSize: containerSize ? { ...containerSize } : void 0,
|
|
110
|
+
left: currentState.left,
|
|
111
|
+
top: currentState.top,
|
|
112
|
+
width: currentState.width,
|
|
113
|
+
height: currentState.height
|
|
114
|
+
});
|
|
115
|
+
const wrapperRef = useRef(null);
|
|
116
|
+
const handleAllRefs = useForkRef(wrapperRef, ref);
|
|
117
|
+
const localOnDragStart = useCallback((e, draggableData) => {
|
|
118
|
+
const { node } = draggableData;
|
|
119
|
+
const newPosition = { top: 0, left: 0 };
|
|
120
|
+
const parentRect = containerElement.getBoundingClientRect();
|
|
121
|
+
const clientRect = node.getBoundingClientRect();
|
|
122
|
+
const cLeft = clientRect.left / transformScale;
|
|
123
|
+
const pLeft = parentRect.left / transformScale;
|
|
124
|
+
const cTop = clientRect.top / transformScale;
|
|
125
|
+
const pTop = parentRect.top / transformScale;
|
|
126
|
+
newPosition.left = cLeft - pLeft + containerElement.scrollLeft;
|
|
127
|
+
newPosition.top = cTop - pTop + containerElement.scrollTop;
|
|
128
|
+
if (onDragStart) {
|
|
129
|
+
if (onDragStart(e, draggableData) === false) {
|
|
130
|
+
return false;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
stateRef.current.dragging = newPosition;
|
|
134
|
+
setCurrentState((prev) => ({
|
|
135
|
+
...prev,
|
|
136
|
+
...newPosition,
|
|
137
|
+
shrinkLeftAt: void 0,
|
|
138
|
+
shrinkTopAt: void 0,
|
|
139
|
+
overflowWidthAt: void 0,
|
|
140
|
+
overflowHeightAt: void 0,
|
|
141
|
+
dragging: newPosition
|
|
142
|
+
}));
|
|
143
|
+
}, []);
|
|
144
|
+
const localOnDrag = useCallback((e, draggableData) => {
|
|
145
|
+
const { deltaX, deltaY } = draggableData;
|
|
146
|
+
if (!stateRef.current.dragging) {
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
if (onDrag) {
|
|
150
|
+
if (onDrag(e, draggableData) === false) {
|
|
151
|
+
return false;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
const top = stateRef.current.dragging.top + deltaY;
|
|
155
|
+
const left = stateRef.current.dragging.left + deltaX;
|
|
156
|
+
const newPosition = { top, left };
|
|
157
|
+
stateRef.current.dragging = newPosition;
|
|
158
|
+
setCurrentState((prev) => ({ ...prev, ...newPosition, dragging: newPosition }));
|
|
159
|
+
}, []);
|
|
160
|
+
const localOnDragStop = useCallback((e, draggableData) => {
|
|
161
|
+
if (!stateRef.current.dragging) {
|
|
162
|
+
return;
|
|
163
|
+
}
|
|
164
|
+
const { left, top } = stateRef.current.dragging;
|
|
165
|
+
if (onDragStop) {
|
|
166
|
+
if (onDragStop(e, draggableData) === false) {
|
|
167
|
+
return false;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
const newPosition = { top, left };
|
|
171
|
+
stateRef.current.dragging = void 0;
|
|
172
|
+
setCurrentState((prev) => ({ ...prev, ...newPosition, dragging: void 0 }));
|
|
173
|
+
}, []);
|
|
174
|
+
const onResizeHandler = useCallback(
|
|
175
|
+
(e, data, handlerName) => {
|
|
176
|
+
const { size, handle } = data;
|
|
177
|
+
const handler = props[handlerName];
|
|
178
|
+
if (handler) {
|
|
179
|
+
handler(e, data);
|
|
180
|
+
}
|
|
181
|
+
if (handlerName === "onResizeStart") {
|
|
182
|
+
stateRef.current.initialPostion = {
|
|
183
|
+
left: stateRef.current.left,
|
|
184
|
+
top: stateRef.current.top,
|
|
185
|
+
width: stateRef.current.width,
|
|
186
|
+
height: stateRef.current.height
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
const resizing = handlerName === "onResizeStop" ? void 0 : { ...size, handle };
|
|
190
|
+
setCurrentState((prev) => ({
|
|
191
|
+
...prev,
|
|
192
|
+
...size,
|
|
193
|
+
...handlerName === "onResizeStart" ? {
|
|
194
|
+
shrinkLeftAt: void 0,
|
|
195
|
+
shrinkTopAt: void 0,
|
|
196
|
+
overflowWidthAt: void 0,
|
|
197
|
+
overflowHeightAt: void 0
|
|
198
|
+
} : {},
|
|
199
|
+
resizing
|
|
200
|
+
}));
|
|
201
|
+
stateRef.current.resizing = resizing;
|
|
202
|
+
},
|
|
203
|
+
[]
|
|
204
|
+
);
|
|
205
|
+
const localOnResizeStart = useCallback((e, callbackData) => {
|
|
206
|
+
onResizeHandler(e, callbackData, "onResizeStart");
|
|
207
|
+
}, []);
|
|
208
|
+
const localOnResize = useCallback((e, callbackData) => {
|
|
209
|
+
onResizeHandler(e, callbackData, "onResize");
|
|
210
|
+
}, []);
|
|
211
|
+
const localOnResizeStop = useCallback((e, callbackData) => {
|
|
212
|
+
onResizeHandler(e, callbackData, "onResizeStop");
|
|
213
|
+
}, []);
|
|
214
|
+
const shringkingParentContainer = useCallback(
|
|
215
|
+
(newState, cState, containerDimension, divRoot, dimension) => {
|
|
216
|
+
const lDimension = dimension === "Width" ? "width" : "height";
|
|
217
|
+
const leftTop = dimension === "Width" ? "left" : "top";
|
|
218
|
+
const shrinkLeftTopAt = dimension === "Width" ? "shrinkLeftAt" : "shrinkTopAt";
|
|
219
|
+
const overflowDimensionAt = dimension === "Width" ? "overflowWidthAt" : "overflowHeightAt";
|
|
220
|
+
const boundsLefTop = dimension === "Width" ? bounds?.left || 0 : bounds?.top || 0;
|
|
221
|
+
const boundsRigthBottom = dimension === "Width" ? bounds?.right || 0 : bounds?.bottom || 0;
|
|
222
|
+
const minWindowDimension = dimension === "Width" ? minWindowWidth : minWindowHeight;
|
|
223
|
+
const minDimension = containerDimension - boundsLefTop + boundsRigthBottom > minWindowDimension ? containerDimension - boundsLefTop + boundsRigthBottom : minWindowDimension;
|
|
224
|
+
let maxDimensionElement = containerDimension - cState[leftTop] + boundsRigthBottom;
|
|
225
|
+
if (divRoot[`client${dimension}`] > maxDimensionElement) {
|
|
226
|
+
const shrinkedPixels = divRoot[`client${dimension}`] - maxDimensionElement;
|
|
227
|
+
if (shrinkedPixels < cState[leftTop] - boundsLefTop) {
|
|
228
|
+
newState[leftTop] = newState[leftTop] - shrinkedPixels;
|
|
229
|
+
newState[shrinkLeftTopAt] = newState[shrinkLeftTopAt] || cState[leftTop];
|
|
230
|
+
} else if (shrinkedPixels > cState[leftTop] - boundsLefTop) {
|
|
231
|
+
newState[leftTop] = boundsLefTop;
|
|
232
|
+
newState[shrinkLeftTopAt] = newState[shrinkLeftTopAt] || cState[leftTop];
|
|
233
|
+
maxDimensionElement = containerDimension - boundsLefTop + boundsRigthBottom;
|
|
234
|
+
if (divRoot[`client${dimension}`] > maxDimensionElement) {
|
|
235
|
+
newState[lDimension] = maxDimensionElement;
|
|
236
|
+
newState[overflowDimensionAt] = newState[overflowDimensionAt] || cState[lDimension];
|
|
237
|
+
if (newState[lDimension] < minDimension) {
|
|
238
|
+
newState[lDimension] = minDimension;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
} else {
|
|
243
|
+
return;
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
[]
|
|
247
|
+
);
|
|
248
|
+
const expandingParentContainer = useCallback(
|
|
249
|
+
(newState, _currentState, containerDimension, _divRoot, dimension) => {
|
|
250
|
+
const lDimension = dimension === "Width" ? "width" : "height";
|
|
251
|
+
const leftTop = dimension === "Width" ? "left" : "top";
|
|
252
|
+
const shrinkLeftTopAt = dimension === "Width" ? "shrinkLeftAt" : "shrinkTopAt";
|
|
253
|
+
const overflowDimensionAt = dimension === "Width" ? "overflowWidthAt" : "overflowHeightAt";
|
|
254
|
+
const boundsLefTop = dimension === "Width" ? bounds?.left || 0 : bounds?.top || 0;
|
|
255
|
+
const boundsRigthBottom = dimension === "Width" ? bounds?.right || 0 : bounds?.bottom || 0;
|
|
256
|
+
const maxDimensionElement = containerDimension - boundsLefTop + boundsRigthBottom;
|
|
257
|
+
const valOverflowDimensionAt = newState[overflowDimensionAt];
|
|
258
|
+
if (valOverflowDimensionAt) {
|
|
259
|
+
if (valOverflowDimensionAt > maxDimensionElement) {
|
|
260
|
+
newState[lDimension] = maxDimensionElement;
|
|
261
|
+
} else {
|
|
262
|
+
newState[lDimension] = valOverflowDimensionAt;
|
|
263
|
+
newState[overflowDimensionAt] = void 0;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
const valShrinkLeftTopAt = newState[shrinkLeftTopAt];
|
|
267
|
+
if (valShrinkLeftTopAt && !newState[overflowDimensionAt]) {
|
|
268
|
+
const dimensionAvailable = containerDimension - boundsLefTop - newState[lDimension] + boundsRigthBottom;
|
|
269
|
+
if (valShrinkLeftTopAt <= dimensionAvailable) {
|
|
270
|
+
newState[leftTop] = valShrinkLeftTopAt;
|
|
271
|
+
newState[shrinkLeftTopAt] = void 0;
|
|
272
|
+
} else {
|
|
273
|
+
newState[leftTop] = dimensionAvailable;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
[]
|
|
278
|
+
);
|
|
279
|
+
const draggingOrResizingWindow = useCallback(
|
|
280
|
+
(newState, _currentState, containerDimension, divRoot, dimension) => {
|
|
281
|
+
const lDimension = dimension === "Width" ? "width" : "height";
|
|
282
|
+
const leftTop = dimension === "Width" ? "left" : "top";
|
|
283
|
+
const boundsLefTop = dimension === "Width" ? bounds?.left || 0 : bounds?.top || 0;
|
|
284
|
+
const boundsRigthBottom = dimension === "Width" ? bounds?.right || 0 : bounds?.bottom || 0;
|
|
285
|
+
const maxDimensionWithoutBounds = containerDimension - boundsLefTop + boundsRigthBottom;
|
|
286
|
+
let rightBottomBoundary = containerDimension - newState[lDimension] + boundsRigthBottom;
|
|
287
|
+
if (newState[lDimension] !== divRoot[`client${dimension}`])
|
|
288
|
+
;
|
|
289
|
+
if (newState.resizing && stateRef.current.initialPostion) {
|
|
290
|
+
if (!newState.resizing.handle.includes("w")) {
|
|
291
|
+
if (newState[leftTop] + newState[lDimension] > containerDimension + boundsRigthBottom) {
|
|
292
|
+
newState[lDimension] = containerDimension - newState[leftTop] + boundsRigthBottom;
|
|
293
|
+
}
|
|
294
|
+
} else {
|
|
295
|
+
if (newState[leftTop] < boundsLefTop) {
|
|
296
|
+
newState[leftTop] = boundsLefTop;
|
|
297
|
+
} else {
|
|
298
|
+
const dif = newState[lDimension] - stateRef.current.initialPostion[lDimension];
|
|
299
|
+
if (dif > 0) {
|
|
300
|
+
if (newState[leftTop] - dif >= boundsLefTop) {
|
|
301
|
+
newState[lDimension] = stateRef.current.initialPostion[lDimension] + dif;
|
|
302
|
+
newState[leftTop] = newState[leftTop] - dif;
|
|
303
|
+
if (newState[leftTop] + newState[lDimension] > maxDimensionWithoutBounds)
|
|
304
|
+
;
|
|
305
|
+
} else {
|
|
306
|
+
newState[leftTop] = boundsLefTop;
|
|
307
|
+
newState[lDimension] = stateRef.current.initialPostion[lDimension];
|
|
308
|
+
}
|
|
309
|
+
} else if (dif < 0) {
|
|
310
|
+
newState[leftTop] = newState[leftTop] - dif;
|
|
311
|
+
newState[lDimension] = stateRef.current.initialPostion[lDimension] + dif;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
if (newState[lDimension] > maxDimensionWithoutBounds) {
|
|
317
|
+
newState[lDimension] = maxDimensionWithoutBounds;
|
|
318
|
+
}
|
|
319
|
+
if (newState[leftTop] < boundsLefTop) {
|
|
320
|
+
newState[leftTop] = boundsLefTop;
|
|
321
|
+
}
|
|
322
|
+
rightBottomBoundary = containerDimension + boundsRigthBottom;
|
|
323
|
+
if (newState[leftTop] > rightBottomBoundary) {
|
|
324
|
+
newState[leftTop] = rightBottomBoundary;
|
|
325
|
+
}
|
|
326
|
+
if (!newState.resizing && newState[leftTop] + newState[lDimension] > containerDimension + boundsRigthBottom) {
|
|
327
|
+
const outWidthHeight = newState[leftTop] + newState[lDimension] - (containerDimension + boundsRigthBottom);
|
|
328
|
+
if (newState[leftTop] - boundsLefTop > outWidthHeight) {
|
|
329
|
+
newState[leftTop] = newState[leftTop] - outWidthHeight;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
if (newState.resizing && stateRef.current.initialPostion) {
|
|
333
|
+
stateRef.current.initialPostion[lDimension] = newState[lDimension];
|
|
334
|
+
stateRef.current.initialPostion[leftTop] = newState[leftTop];
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
[]
|
|
338
|
+
);
|
|
339
|
+
useEffect(() => {
|
|
340
|
+
if (stateRef.current.containerSize === void 0 && containerSize) {
|
|
341
|
+
stateRef.current.containerSize = containerSize;
|
|
342
|
+
}
|
|
343
|
+
if (!(containerSize && wrapperRef?.current && stateRef.current.containerSize)) {
|
|
344
|
+
return;
|
|
345
|
+
}
|
|
346
|
+
if (currentState?.dragging) {
|
|
347
|
+
return;
|
|
348
|
+
}
|
|
349
|
+
const newState = { ...currentState };
|
|
350
|
+
const handleDimension = (dimension) => {
|
|
351
|
+
if (stateRef.current?.containerSize && wrapperRef.current) {
|
|
352
|
+
const containerSizeKey = `container${dimension}`;
|
|
353
|
+
const containerSizeValue = containerSize[containerSizeKey];
|
|
354
|
+
const previousContainerSizeValue = stateRef.current.containerSize[containerSizeKey];
|
|
355
|
+
if (containerSizeValue > previousContainerSizeValue) {
|
|
356
|
+
expandingParentContainer(
|
|
357
|
+
newState,
|
|
358
|
+
currentState,
|
|
359
|
+
containerSizeValue,
|
|
360
|
+
wrapperRef.current,
|
|
361
|
+
dimension
|
|
362
|
+
);
|
|
363
|
+
} else if (containerSizeValue < previousContainerSizeValue) {
|
|
364
|
+
shringkingParentContainer(
|
|
365
|
+
newState,
|
|
366
|
+
currentState,
|
|
367
|
+
containerSizeValue,
|
|
368
|
+
wrapperRef.current,
|
|
369
|
+
dimension
|
|
370
|
+
);
|
|
371
|
+
} else {
|
|
372
|
+
draggingOrResizingWindow(
|
|
373
|
+
newState,
|
|
374
|
+
currentState,
|
|
375
|
+
containerSizeValue,
|
|
376
|
+
wrapperRef.current,
|
|
377
|
+
dimension
|
|
378
|
+
);
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
};
|
|
382
|
+
handleDimension("Width");
|
|
383
|
+
handleDimension("Height");
|
|
384
|
+
stateRef.current.containerSize = { ...containerSize };
|
|
385
|
+
if (newState.left !== currentState.left || newState.top !== currentState.top || newState.width !== currentState.width || newState.height !== currentState.height || newState.shrinkLeftAt !== currentState.shrinkLeftAt || newState.shrinkTopAt !== currentState.shrinkTopAt || newState.overflowWidthAt !== currentState.overflowWidthAt || newState.overflowHeightAt !== currentState.overflowHeightAt) {
|
|
386
|
+
setCurrentState(newState);
|
|
387
|
+
}
|
|
388
|
+
if (!newState.resizing) {
|
|
389
|
+
stateRef.current.left = newState.left;
|
|
390
|
+
stateRef.current.top = newState.top;
|
|
391
|
+
stateRef.current.height = newState.height;
|
|
392
|
+
stateRef.current.width = newState.width;
|
|
393
|
+
}
|
|
394
|
+
}, [
|
|
395
|
+
currentState,
|
|
396
|
+
wrapperRef.current,
|
|
397
|
+
bounds?.left,
|
|
398
|
+
bounds?.top,
|
|
399
|
+
bounds?.right,
|
|
400
|
+
bounds?.bottom,
|
|
401
|
+
containerSize?.containerWidth,
|
|
402
|
+
containerSize?.containerHeight
|
|
403
|
+
]);
|
|
404
|
+
const mixinResizable = useCallback(
|
|
405
|
+
(child, position) => {
|
|
406
|
+
const minConstraints = [minWindowWidth, minWindowHeight];
|
|
407
|
+
return /* @__PURE__ */ jsx(
|
|
408
|
+
Resizable,
|
|
409
|
+
{
|
|
410
|
+
draggableOpts: {
|
|
411
|
+
disabled: !resizeable
|
|
412
|
+
},
|
|
413
|
+
className: resizeable ? void 0 : "react-resizable-hide",
|
|
414
|
+
width: position.width,
|
|
415
|
+
height: position.height,
|
|
416
|
+
minConstraints,
|
|
417
|
+
onResizeStop: localOnResizeStop,
|
|
418
|
+
onResizeStart: localOnResizeStart,
|
|
419
|
+
onResize: localOnResize,
|
|
420
|
+
transformScale,
|
|
421
|
+
resizeHandles,
|
|
422
|
+
handle: resizeHandle,
|
|
423
|
+
children: child
|
|
424
|
+
}
|
|
425
|
+
);
|
|
426
|
+
},
|
|
427
|
+
[resizeable, transformScale]
|
|
428
|
+
);
|
|
429
|
+
const mixinDraggable = useCallback(
|
|
430
|
+
(child) => {
|
|
431
|
+
return /* @__PURE__ */ jsx(
|
|
432
|
+
DraggableCore_1,
|
|
433
|
+
{
|
|
434
|
+
onStart: localOnDragStart,
|
|
435
|
+
onDrag: localOnDrag,
|
|
436
|
+
onStop: localOnDragStop,
|
|
437
|
+
handle: draggableHandle,
|
|
438
|
+
cancel: ".react-resizable-handle" + (draggableCancel ? "," + draggableCancel : ""),
|
|
439
|
+
scale: transformScale,
|
|
440
|
+
nodeRef: wrapperRef,
|
|
441
|
+
onMouseDown,
|
|
442
|
+
...others,
|
|
443
|
+
children: child
|
|
444
|
+
}
|
|
445
|
+
);
|
|
446
|
+
},
|
|
447
|
+
[wrapperRef, transformScale, draggableHandle, draggableCancel]
|
|
448
|
+
);
|
|
449
|
+
const classNameFinal = clsx(draggableWindowClasses.root, className, {
|
|
450
|
+
"react-draggable": draggable
|
|
451
|
+
});
|
|
452
|
+
const styleFinal = {
|
|
453
|
+
...style,
|
|
454
|
+
...setTransform(currentState),
|
|
455
|
+
prop2: 1,
|
|
456
|
+
backgroundColor: "gray"
|
|
457
|
+
};
|
|
458
|
+
const memoChildren = useMemo(() => {
|
|
459
|
+
return children;
|
|
460
|
+
}, [children]);
|
|
461
|
+
const wrapperRoot = /* @__PURE__ */ jsx(
|
|
462
|
+
WrapperDragResizeWindowRoot,
|
|
463
|
+
{
|
|
464
|
+
className: classNameFinal,
|
|
465
|
+
ref: handleAllRefs,
|
|
466
|
+
style: styleFinal,
|
|
467
|
+
role: "none",
|
|
468
|
+
children: memoChildren
|
|
469
|
+
}
|
|
470
|
+
);
|
|
471
|
+
const dragResizeWindow = mixinDraggable(mixinResizable(wrapperRoot, currentState));
|
|
472
|
+
return /* @__PURE__ */ jsx(React__default.Fragment, { children: dragResizeWindow });
|
|
473
|
+
});
|
|
474
|
+
export {
|
|
475
|
+
DragResizeWindow as D,
|
|
476
|
+
draggableWindowClasses as d
|
|
477
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const WrapperDragResizeWindowRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
2
|
-
import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index.
|
|
1
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.2083f1d3.js";
|
|
2
|
+
import { g as getRHFAutocompleteComponentsDictionary } from "../hook-form/RHFAutocomplete/index.0c0f1166.js";
|
|
3
3
|
const DYNAMIC_FILTER_DICTIONARY_ID = "dynamic_filter";
|
|
4
4
|
function getDynamicFilterComponentsDictionary() {
|
|
5
5
|
return [DYNAMIC_FILTER_DICTIONARY_ID].concat(
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { f as fieldFactory } from "./subcomponents/FieldTypes/index.
|
|
2
|
-
import { f as filterValidOperandsArraySelect } from "./subcomponents/FieldTypes/SelectFilter/index.
|
|
1
|
+
import { f as fieldFactory } from "./subcomponents/FieldTypes/index.9dd57d81.js";
|
|
2
|
+
import { f as filterValidOperandsArraySelect } from "./subcomponents/FieldTypes/SelectFilter/index.bbca18ab.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { useFlagsPresent, CommonFlags } from "@m4l/core";
|
|
5
|
-
import { D as DynamicFilterProvider } from "./store/index.
|
|
6
|
-
import { D as DynamicFilterBase } from "./subcomponents/DynamicFilterBase/index.
|
|
5
|
+
import { D as DynamicFilterProvider } from "./store/index.806ee1a5.js";
|
|
6
|
+
import { D as DynamicFilterBase } from "./subcomponents/DynamicFilterBase/index.9a3e7c86.js";
|
|
7
7
|
function getPurgedInitialFiltersApplied(fields, initialFilters, getFieldByName) {
|
|
8
8
|
const newFilters = [];
|
|
9
9
|
const fixedFields = [];
|
|
@@ -3,11 +3,11 @@ import { D as DYNAMIC_FILTER_KEY_COMPONENT } from "../constants.095f1dbb.js";
|
|
|
3
3
|
import { D as DynamicFilterSlots } from "./SlotsEnum.104a03d4.js";
|
|
4
4
|
import { d as dynamicFilterStyles } from "../../../styles/DynamicFilter.27c16026.js";
|
|
5
5
|
import { MenuItem } from "@mui/material";
|
|
6
|
-
import { A as Actions } from "../../CommonActions/components/Actions/index.
|
|
7
|
-
import { I as Icon } from "../../Icon/index.
|
|
8
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
9
|
-
import { P as Popover } from "../../mui_extended/Popover/index.
|
|
10
|
-
import { T as Typography } from "../../mui_extended/Typography/index.
|
|
6
|
+
import { A as Actions } from "../../CommonActions/components/Actions/index.2083f1d3.js";
|
|
7
|
+
import { I as Icon } from "../../Icon/index.8168aa10.js";
|
|
8
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.3284f1d5.js";
|
|
9
|
+
import { P as Popover } from "../../mui_extended/Popover/index.57cd2dc0.js";
|
|
10
|
+
import { T as Typography } from "../../mui_extended/Typography/index.5a14dd12.js";
|
|
11
11
|
const RootStyled = styled("div", { name: DYNAMIC_FILTER_KEY_COMPONENT, slot: DynamicFilterSlots.root })(
|
|
12
12
|
dynamicFilterStyles?.root
|
|
13
13
|
);
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const RootStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
3
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
4
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
5
|
+
export declare const InnerContainerStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
6
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
7
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
8
|
+
export declare const InputFilterStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
9
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
10
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
11
|
+
export declare const InputFilterInputStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
12
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
13
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, keyof import("react").ClassAttributes<HTMLInputElement> | keyof import("react").InputHTMLAttributes<HTMLInputElement>>, {}>;
|
|
14
|
+
export declare const InputFilterIconStyled: import("@emotion/styled").StyledComponent<Pick<import("../../Icon").IconProps, keyof import("../../Icon").IconProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
15
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
16
|
+
}, {}, {}>;
|
|
17
|
+
export declare const AppliedFiltersStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
18
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
19
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
20
|
+
export declare const AppliedFilterInnerContainerStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
21
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
22
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
23
|
+
export declare const AppliedFilterChipStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
24
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
25
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
26
|
+
export declare const AppliedFilterChipIconStyled: import("@emotion/styled").StyledComponent<Pick<import("../../mui_extended/IconButton/types").IconButtonProps, keyof import("../../mui_extended/IconButton/types").IconButtonProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
27
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
28
|
+
}, {}, {}>;
|
|
29
|
+
export declare const AppliedFilterChipInfoStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
30
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
31
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, keyof import("react").ClassAttributes<HTMLButtonElement> | keyof import("react").ButtonHTMLAttributes<HTMLButtonElement>>, {}>;
|
|
32
|
+
export declare const AppliedFilterChipInfoFieldNameStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
33
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
34
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("react").ClassAttributes<HTMLSpanElement> | keyof import("react").HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
35
|
+
export declare const AppliedFilterChipInfoOperatorStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
36
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
37
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("react").ClassAttributes<HTMLSpanElement> | keyof import("react").HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
38
|
+
export declare const AppliedFilterChipInfoOperandsStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
39
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
40
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, keyof import("react").ClassAttributes<HTMLSpanElement> | keyof import("react").HTMLAttributes<HTMLSpanElement>>, {}>;
|
|
41
|
+
export declare const AppliedFilterChipRemoveButtonStyled: import("@emotion/styled").StyledComponent<Pick<import("../../mui_extended/IconButton/types").IconButtonProps, keyof import("../../mui_extended/IconButton/types").IconButtonProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
42
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
43
|
+
}, {}, {}>;
|
|
44
|
+
export declare const ActionsStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
45
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
46
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
47
|
+
export declare const ActionsSkeletonButtonStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
48
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
49
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
50
|
+
export declare const ActionsClearButtonStyled: import("@emotion/styled").StyledComponent<Pick<import("../../mui_extended/IconButton/types").IconButtonProps, keyof import("../../mui_extended/IconButton/types").IconButtonProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
51
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
52
|
+
}, {}, {}>;
|
|
53
|
+
export declare const ActionsSubmitButtonStyled: import("@emotion/styled").StyledComponent<Pick<import("../../mui_extended/IconButton/types").IconButtonProps, keyof import("../../mui_extended/IconButton/types").IconButtonProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
54
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
55
|
+
}, {}, {}>;
|
|
56
|
+
export declare const PopoverMenuStyled: import("@emotion/styled").StyledComponent<Pick<import("../../mui_extended/Popover/types").PopoverProps, keyof import("../../mui_extended/Popover/types").PopoverProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
57
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
58
|
+
}, {}, {}>;
|
|
59
|
+
export declare const PopoverMenuItemStyled: import("@emotion/styled").StyledComponent<Pick<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
60
|
+
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
61
|
+
}, "style" | "disabled" | "children" | "tabIndex" | "className" | "action" | "divider" | "dense" | "sx" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "selected" | "disableGutters">, "value" | "dir" | "slot" | "style" | "title" | "onChange" | "disabled" | "ref" | "children" | "aria-label" | "aria-labelledby" | "tabIndex" | "key" | "onFocus" | "className" | "onMouseEnter" | "id" | "aria-rowindex" | "onScroll" | "onCopy" | "onPaste" | "aria-describedby" | "onResize" | "color" | "hidden" | "action" | "aria-hidden" | "onDragStart" | "onDrag" | "onMouseDown" | "onMouseUp" | "onTouchStart" | "onTouchEnd" | "content" | "translate" | "divider" | "dense" | "sx" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "nonce" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "selected" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
62
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
63
|
+
}, {}, {}>;
|
|
64
|
+
export declare const PopoverMenuItemIconStyled: import("@emotion/styled").StyledComponent<Pick<import("../../Icon").IconProps, keyof import("../../Icon").IconProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
65
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
66
|
+
}, {}, {}>;
|
|
67
|
+
export declare const PopoverMenuItemLabelStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
68
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
69
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
70
|
+
export declare const PopoverStyled: import("@emotion/styled").StyledComponent<Pick<import("../../mui_extended/Popover/types").PopoverProps, keyof import("../../mui_extended/Popover/types").PopoverProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
71
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
72
|
+
}, {}, {}>;
|
|
73
|
+
export declare const PopoverContainerFieldsStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
74
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
75
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
76
|
+
export declare const PopoverHeaderStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
77
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
78
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
79
|
+
export declare const PopoverHeaderIconStyled: import("@emotion/styled").StyledComponent<Pick<import("../../Icon").IconProps, keyof import("../../Icon").IconProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
80
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
81
|
+
}, {}, {}>;
|
|
82
|
+
export declare const PopoverHeaderTitleStyled: import("@emotion/styled").StyledComponent<Pick<import("../../mui_extended/Typography/types").TypographyProps, keyof import("../../mui_extended/Typography/types").TypographyProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
83
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
84
|
+
}, {}, {}>;
|
|
85
|
+
export declare const PopoverHeaderActionsStyled: import("@emotion/styled").StyledComponent<Pick<import("../../CommonActions/components/Actions/types").CommonActionsProps & import("react").RefAttributes<any>, keyof import("react").RefAttributes<any> | keyof import("../../CommonActions/components/Actions/types").CommonActionsProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown> & {
|
|
86
|
+
ownerState: Partial<import("../types").DynamicFilterOwnerState> & Record<string, unknown>;
|
|
87
|
+
}, {}, {}>;
|
|
@@ -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.94ef8a65.js";
|
|
9
9
|
import { devtools } from "zustand/middleware";
|
|
10
10
|
import { immer } from "zustand/middleware/immer";
|
|
11
11
|
function useDynamicFilterStore(selector, equalityFn) {
|