@m4l/components 4.2.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/export.d.ts +2 -2
- package/@types/types.d.ts +19 -1
- package/components/AccountPopover/{AccountPopover-zvGmVgrk.js → AccountPopover-NVz2YbA6.js} +1 -1
- package/components/AccountPopover/subcomponents/PopOver/{index-DXR53rKr.js → index-B3d9Xop9.js} +1 -1
- package/components/AppBar/{AppBar-CpmJRHXq.js → AppBar-rzLpA1iD.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index-BWZ3oUPG.js → index-CCqrtkkw.js} +1 -1
- package/components/CommonActions/components/ActionFormIntro/{index-DW0XnDza.js → index-BZ-ICiJI.js} +1 -1
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index-DErGAOUy.js → index-C63xq8v-.js} +1 -1
- package/components/DataGrid/formatters/ColumnIconFormatter/{index-CNlwgwG1.js → index-C0o3Obf3.js} +1 -1
- package/components/DataGrid/{index-B4eh2KBx.js → index-CXF-jGue.js} +2 -2
- package/components/DataGrid/subcomponents/Actions/{index-Cz5VirSp.js → index-Bdr1sZqJ.js} +5 -5
- package/components/DataGrid/subcomponents/Actions/subcomponents/Density/{index-JfqmeSJS.js → index-NkmFFbuS.js} +1 -1
- package/components/DataGrid/subcomponents/Actions/subcomponents/Filter/{index-C3GXpfqW.js → index-DPcezSDa.js} +1 -1
- package/components/DataGrid/subcomponents/Actions/subcomponents/MobileMenuActions/{index-B-MlPeS0.js → index-BfkwdvLN.js} +2 -2
- package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/{index-DYBfpZuW.js → index-pS8ki8XZ.js} +2 -2
- package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/{index-9cNzvQYk.js → index-BWSNaRm1.js} +1 -1
- package/components/DataGrid/subcomponents/Actions/subcomponents/hooks/useModalSettings/{index-C2c1t7sw.js → index-tWvbJZXe.js} +2 -2
- package/components/DataGrid/subcomponents/Table/hooks/{useSortColumnsRows-Bt8sLfEW.js → useSortColumnsRows-DCXxeSKv.js} +1 -1
- package/components/DataGrid/subcomponents/Table/{index-nVqo_960.js → index-CgLk2xwC.js} +1 -1
- package/components/DataGrid/subcomponents/Table/subcomponents/{ActionsColumn-jZbDAc12.js → ActionsColumn-B3UXBUtV.js} +1 -1
- package/components/DragResizeWindow/slots/DragResizeWindowSlots.d.ts +2 -2
- package/components/DynamicFilter/{DynamicFilter-v3KSDetp.js → DynamicFilter-CvcLkbeM.js} +2 -2
- package/components/DynamicFilter/helpers/{formatToInitialFilters-BaUwBAh0.js → formatToInitialFilters-Bz6usYxf.js} +1 -1
- package/components/DynamicFilter/helpers/{getPurgedInitialFiltersApplied-DmqaQYXJ.js → getPurgedInitialFiltersApplied-CVyNGpdo.js} +1 -1
- package/components/DynamicFilter/slots/{dynamicFilterSlots-C8IBJUmf.js → dynamicFilterSlots-CZy1gyQT.js} +3 -3
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +12 -12
- package/components/DynamicFilter/store/{DynamicFilterContext--lBOTDWD.js → DynamicFilterContext-ynO0d4LR.js} +2 -2
- package/components/DynamicFilter/store/{DynamicFilterStore-gRcQMM1O.js → DynamicFilterStore-BLtpFLRr.js} +1 -1
- package/components/DynamicFilter/store/{useDynamicFilterStore-DCb7nm--.js → useDynamicFilterStore-BZzyjtRB.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{AppliedFilterChip-B4DRhURd.js → AppliedFilterChip-C5XrN_j_.js} +2 -2
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{useAppliedFilterChip-fKrt0rUG.js → useAppliedFilterChip-CZ_cJEU2.js} +2 -2
- package/components/DynamicFilter/subcomponents/AppliedFilters/{AppliedFilters-CqdFDKlB.js → AppliedFilters-B_-BWr0E.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{useAppliedFilters-S6kMJ9l7.js → useAppliedFilters-B-3y5nm9.js} +1 -1
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{DynamicFilterBase-BKKR9x6s.js → DynamicFilterBase-Bltkd-fB.js} +6 -6
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{useDynamicFilterBase-DiFLMhrI.js → useDynamicFilterBase-C_hAonOE.js} +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{helpers-CLkeajZ1.js → helpers-BvtmDo0M.js} +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index-w4VZQ4A6.js → index-m4Wkv_3f.js} +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/{DataTypeComponent-B6mD-fVy.js → DataTypeComponent--uqag8xj.js} +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{helpers-CxICxa8K.js → helpers-7V3Um2bq.js} +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index-abAfx4-y.js → index-Dwgqt45S.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{helpers-CRPsjCUN.js → helpers-DmKMx1zE.js} +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index-DZUeDocZ.js → index-4itWtOGU.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{helpers-DCDBtvvA.js → helpers--33GiR_E.js} +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index-UgJxsUfi.js → index-Jssj9uVW.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{helpers-BEMjRHgj.js → helpers-DKbxy2Pu.js} +1 -1
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index-Bhub_Htv.js → index-tzPmH4Mo.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/{fieldFactory-Duu1aGXd.js → fieldFactory-C5-dzeV0.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{FilterActions-Czdl47x4.js → FilterActions-HHdJ9mCo.js} +3 -3
- package/components/DynamicFilter/subcomponents/FilterActions/{FilterActionsSkeleton-B4Kz6R8L.js → FilterActionsSkeleton-rOMSu3VE.js} +1 -1
- package/components/DynamicFilter/subcomponents/FilterActions/{useFilterActions-DZPxurfM.js → useFilterActions-BKyJx_bo.js} +1 -1
- package/components/DynamicFilter/subcomponents/InputFilter/{InputFilter-Bj8INNYl.js → InputFilter-4DhLdUlH.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{useInputFilter-DLvIsD8w.js → useInputFilter-Bg402IHm.js} +1 -1
- package/components/DynamicFilter/subcomponents/InputFilter/useInputFilter.d.ts +1 -1
- package/components/DynamicFilter/subcomponents/PopoverFilter/{PopoverFilter-BwhQfSyo.js → PopoverFilter-pSAemlic.js} +3 -3
- package/components/DynamicFilter/subcomponents/PopoverFilter/{usePopoverFilter-BUiOZUV-.js → usePopoverFilter-CyrGFWx9.js} +2 -2
- package/components/DynamicFilter/subcomponents/PopoverFilter/usePopoverFilter.d.ts +1 -1
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{PopoverMenuFields-CPXEYn9r.js → PopoverMenuFields-DLceiE6h.js} +2 -2
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{usePopoverMenuFields-uAmChfOU.js → usePopoverMenuFields-CTj-hB1s.js} +1 -1
- package/components/DynamicFilter/types.d.ts +2 -2
- package/components/DynamicSort/slots/DynamicSortSlots.d.ts +12 -12
- package/components/DynamicSort/types.d.ts +2 -2
- package/components/HelperError/HelperError-C5G4oOos.js +18 -0
- package/components/HelperError/HelperError.d.ts +3 -0
- package/components/HelperError/HelperError.styles-CkPSXtTT.js +10 -0
- package/components/HelperError/HelperError.styles.d.ts +2 -0
- package/components/HelperError/constant-CBOYbXmD.js +4 -0
- package/components/HelperError/constant.d.ts +1 -0
- package/components/HelperError/index.d.ts +2 -0
- package/components/HelperError/slots/HelperErrorEnum-D15EhE_N.js +7 -0
- package/components/HelperError/slots/HelperErrorEnum.d.ts +3 -0
- package/components/HelperError/slots/HelperErrorSlots-D8mjqRYs.js +12 -0
- package/components/HelperError/slots/HelperErrorSlots.d.ts +3 -0
- package/components/HelperError/slots/index-l0sNRNKZ.js +1 -0
- package/components/HelperError/slots/index.d.ts +2 -0
- package/components/HelperError/types.d.ts +28 -0
- package/components/Icon/Icon-1jxG9mYZ.js +40 -0
- package/components/Icon/slots/IconSlots.d.ts +2 -2
- package/components/Icon/types.d.ts +4 -2
- package/components/Label/Label-3ew9PS6u.js +24 -0
- package/components/Label/Label.d.ts +2 -0
- package/components/Label/Label.styles-CKg2iF6E.js +65 -0
- package/components/Label/Label.styles.d.ts +2 -0
- package/components/Label/constants-4JI4LmRB.js +4 -0
- package/components/Label/constants.d.ts +1 -0
- package/components/Label/index-l0sNRNKZ.js +1 -0
- package/components/Label/index.d.ts +2 -0
- package/components/Label/slots/LabelEnum--KtFPKmp.js +11 -0
- package/components/Label/slots/LabelEnum.d.ts +7 -0
- package/components/Label/slots/LabelSlots-BDkYIBDf.js +34 -0
- package/components/Label/slots/LabelSlots.d.ts +18 -0
- package/components/Label/slots/index-l0sNRNKZ.js +1 -0
- package/components/Label/slots/index.d.ts +2 -0
- package/components/Label/types.d.ts +25 -0
- package/components/LoadingError/{LoadingError-CnecFu8n.js → LoadingError-Ds10r50U.js} +2 -2
- package/components/MFIsolationApp/{MFIsolationApp-CxmZU0Ps.js → MFIsolationApp-C-h6xh80.js} +2 -2
- package/components/MFLoader/{MFLoader-DGyI0TI-.js → MFLoader-BDLuZB3d.js} +1 -1
- package/components/NavLink/{NavLink-DdBc-kD8.js → NavLink-BLwomKX_.js} +3 -3
- package/components/NavLink/types.d.ts +1 -1
- package/components/ObjectLogs/components/DetailFormatter/{index-EcGYfHVI.js → index-C_vFXYqZ.js} +2 -2
- package/components/ObjectLogs/{index-qB2t03L7.js → index-Df7DEuSf.js} +3 -3
- package/components/PaperForm/{PaperForm-B_0YMPq6.js → PaperForm-kfrcMKND.js} +1 -1
- package/components/PaperForm/components/{Header-D9JZ4cha.js → Header-KKfKg_Oh.js} +1 -1
- package/components/Period/{Period-DqC_73uq.js → Period-CrQNpQjr.js} +2 -2
- package/components/PropertyValue/{PropertyValue-rqR7zw0S.js → PropertyValue-CnrYDKut.js} +4 -4
- package/components/PropertyValue/types.d.ts +2 -2
- package/components/SideBar/{SideBar-Dtv9D1op.js → SideBar-BxgZL1ii.js} +2 -2
- package/components/SideBar/subcomponents/ContentDesktop/{index-zV7vFkkv.js → index-CtyhUPg-.js} +1 -1
- package/components/SideBar/subcomponents/ContentDesktop/subcomponents/ContentComponent/{index-CV1fTTqO.js → index-0_Up_pTt.js} +2 -2
- package/components/SideBar/subcomponents/ContentGroups/{index-Cw6qkzkX.js → index-BjfcNKnC.js} +2 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/{index-DFGhBi_C.js → index-C9i57aW0.js} +2 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/{index-CdmVlp1X.js → index-ByA8pL7H.js} +1 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/{index-sJe80ChS.js → index-GahIqhE_.js} +1 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/subcomponents/NavItemRootContent/{index-DpLjh38W.js → index-7xjbg02-.js} +3 -3
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/{index-Cp7_GKWu.js → index-BfWLLX_Y.js} +1 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/{index-DqW9Hr9L.js → index-sDEeXfAT.js} +1 -1
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/{index-D-b9FagQ.js → index-XvFWcRXh.js} +3 -3
- package/components/SideBar/subcomponents/ContentMobile/{index-BQY4i7Cf.js → index-BAYa9UBX.js} +2 -2
- package/components/ToastContainer/{ToastContainer-_FYxGq0T.js → ToastContainer-ByypN4tG.js} +1 -1
- package/components/ToastContainer/helpers/{toaster-WqO38v2y.js → toaster-rSpMgeD4.js} +1 -1
- package/components/ToastContainer/slots/{toastContainerSlots-ShE6GR0W.js → toastContainerSlots-Dt1rvYdg.js} +1 -1
- package/components/ToastContainer/slots/toastContainerSlots.d.ts +4 -4
- package/components/ToastContainer/subcomponents/ToastMessage/{ToastMessage-P17rGQi4.js → ToastMessage-83ZZXUdn.js} +1 -1
- package/components/areas/components/AreasAdmin/{index-Jdk8HOci.js → index-7BNkSfdp.js} +4 -4
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/{index-DPpEktvU.js → index-CqdH0Lyb.js} +4 -4
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/{index-DG8rtyb1.js → index-0ggxJSjE.js} +1 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/{index-DBibZv7z.js → index-qhcmkcT6.js} +3 -3
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/ChipMobile/{ChipMobile-BQgk7Spx.js → ChipMobile-_JAJPQiI.js} +4 -4
- package/components/areas/components/AreasAdmin/subcomponents/PanelWindowPopUp/{index-Cm-WpVBD.js → index-BwAcXTx5.js} +1 -1
- package/components/areas/components/AreasViewer/{index-DDhTc-L_.js → index-DIqlOZCm.js} +3 -3
- package/components/areas/components/AreasViewer/subcomponents/Area/{index-DHpaSU9G.js → index-DCmLjmse.js} +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/{index-Dk6-Yc0W.js → index-DHGSYG73.js} +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/InnerForHooks/{index-DimY7T39.js → index-pDXMW9k1.js} +3 -3
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/PanelWindows/{index-Bc_yIYf0.js → index-Dj3ZP_HG.js} +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/{index-C32GMMZI.js → index-DQLweOBU.js} +4 -4
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/{index-Ce8SjtLq.js → index-Dz0wM27Z.js} +5 -5
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/MainActions/{index-BwI4Y9mQ.js → index-Bpw467Zk.js} +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/{index-B6EHNyPD.js → index-C4qSzf32.js} +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/{index-CbQS6cwx.js → index-CI_NRrEx.js} +1 -1
- package/components/commercial/HamburgerMenu/{HamburgerMenu-0CxnkZcL.js → HamburgerMenu-B3zqxZ46.js} +2 -2
- package/components/commercial/TopBar/{TopBar-CiPvdF5n.js → TopBar-CVWG41wc.js} +1 -1
- package/components/commercial/TopBar/component/ConteinItem/{index--ODioIvu.js → index-pRy1XKXi.js} +1 -1
- package/components/commercial/TopBar/component/ConteinItem/subcomponets/NavItem/{index-BZqvNDFP.js → index-C_nVTPXr.js} +2 -2
- package/components/commercial/TopBar/component/ConteinItem/subcomponets/NavItem/subcomponents/ArrowIcon/{index-DL2OSPIe.js → index-DHlgLuec.js} +1 -1
- package/components/formatters/BooleanFormatter/{index-B9K5RQtZ.js → index-a9Q_8L6L.js} +1 -1
- package/components/gclick/MyDevice/slots/MyDeviceSlots.d.ts +2 -2
- package/components/gclick/MyDeviceStatus/slots/MyDeviceStatusSlots.d.ts +2 -2
- package/components/hook-form/RHFAutocomplete/{RHFAutocomplete-CXEIRzzx.js → RHFAutocomplete-CJnpp5nw.js} +2 -2
- package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeImage/{index-25CiXhHc.js → index-DxjKX2EY.js} +7 -8
- package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeText/{index-D3xALqbz.js → index-D-QVfFbz.js} +6 -7
- package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeText/index.d.ts +1 -1
- package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/{index-Da0ufkAL.js → index-DOEqxjNF.js} +1 -1
- package/components/hook-form/RHFAutocomplete/types.d.ts +2 -2
- package/components/hook-form/RHFAutocompleteAsync/{RHFAutocompleteAsync-xzgmYhTQ.js → RHFAutocompleteAsync-D0UPaq2Q.js} +2 -2
- package/components/hook-form/RHFAutocompleteAsync/subcomponents/ComponentTypeImage/{index-BRhwzH7S.js → index-Cwq3J-ce.js} +1 -1
- package/components/hook-form/RHFAutocompleteAsync/subcomponents/ComponentTypeText/{index-D8AVmjL2.js → index-CpTJkG4o.js} +1 -1
- package/components/hook-form/RHFCheckbox/{RHFCheckbox-jYDo3VuH.js → RHFCheckbox-DBf1q8S7.js} +3 -3
- package/components/hook-form/RHFCheckbox/types.d.ts +2 -2
- package/components/hook-form/RHFColorPicker/{RFHColorPicker-rkAI6yjV.js → RFHColorPicker-7m6apals.js} +6 -6
- package/components/hook-form/RHFColorPicker/types.d.ts +2 -2
- package/components/hook-form/RHFDateTime/{RHFDateTime-C1MMsEtI.js → RHFDateTime-cEfEwCpp.js} +6 -5
- package/components/hook-form/RHFDateTime/types.d.ts +2 -2
- package/components/hook-form/RHFHelperError/{index-BEgm7Q1Q.js → index-BAAR7SDD.js} +4 -4
- package/components/hook-form/RHFHelperError/index.d.ts +1 -1
- package/components/hook-form/RHFPeriod/{index-B2h115je.js → index-QR8y7oqw.js} +6 -5
- package/components/hook-form/RHFPeriod/types.d.ts +2 -2
- package/components/hook-form/RHFRadioGroup/{RHFRadioGroup-BrTpEqb4.js → RHFRadioGroup-Daao5G5-.js} +4 -3
- package/components/hook-form/RHFRadioGroup/formatters/OptionIconLabelFormatter/{index-BcpliTD4.js → index-Cx8Lxbs5.js} +1 -1
- package/components/hook-form/RHFTextField/{RHFTextField-CLJBIdqH.js → RHFTextField-1-r9fAR1.js} +6 -7
- package/{styles/RHFTextField.styles-D8X0F7sX.js → components/hook-form/RHFTextField/RHFTextField.styles-BWUyGRb3.js} +3 -6
- package/components/hook-form/RHFTextField/RHFTextField.styles.d.ts +2 -0
- package/components/hook-form/RHFTextField/slots/{RHFTextFieldEnum-tmHlZYP6.js → RHFTextFieldEnum-DpNZmb0n.js} +1 -1
- package/components/hook-form/RHFTextField/slots/RHFTextFieldEnum.d.ts +1 -1
- package/components/hook-form/RHFTextField/slots/{RHFTextFieldSlots-CxmaIWex.js → RHFTextFieldSlots-TgfLO3SL.js} +7 -7
- package/components/hook-form/RHFTextField/slots/RHFTextFieldSlots.d.ts +5 -5
- package/components/hook-form/RHFTextField/subcomponents/Skeleton/{index-B0FTj1u_.js → index-CPhGdUR6.js} +2 -2
- package/components/hook-form/RHFTextField/types.d.ts +2 -2
- package/components/hook-form/RHFTextFieldPassword/{RHFTextFieldPassword-D0Bu0r9r.js → RHFTextFieldPassword-D717FX14.js} +2 -2
- package/components/hook-form/RHFUpload/RHFUploadImage/{RHFUploadImage-CdmvNkmC.js → RHFUploadImage-NPU7iGHe.js} +3 -3
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/{index-ByQEvyxe.js → index-nt7AoQuk.js} +1 -1
- package/components/hook-form/index.d.ts +1 -0
- package/components/index.d.ts +2 -2
- package/components/maps/components/Map/{Map-Cfa4sxoa.js → Map-Cl8w9mp_.js} +2 -2
- package/components/maps/components/Map/popups/MapPopupMyGps/{MapPopupMyGps-B0E2hLaU.js → MapPopupMyGps-BjE-6nRT.js} +1 -1
- package/components/maps/components/Map/popups/MapPopupMyGps/slots/ MapPopupMyGpsSlots.d.ts +3 -3
- package/components/maps/components/Map/slots/{MapSlots-DpFp1Bkq.js → MapSlots-jnUyQrKb.js} +1 -1
- package/components/maps/components/Map/slots/MapSlots.d.ts +3 -3
- package/components/maps/components/Map/subcomponents/Controls/{index-BZHx_MEC.js → index-C8cMJg6N.js} +3 -3
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/{index-be-jfACS.js → index-Bca70aeD.js} +1 -1
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/{index-CsaCDyca.js → index-C-30caa4.js} +3 -3
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/{useColumns-BaXRmv99.js → useColumns-DckOX5d9.js} +1 -1
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/hooks/{useMaster-BDjzkYxV.js → useMaster-BEX19caT.js} +1 -1
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/LayersTool/{index-BRu-GdkZ.js → index-DVrMg7fn.js} +2 -2
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopLeftTools/subcomponents/PopoverToolButton/subcomponentes/MapSourcesTool/{index-Bf89v-oI.js → index-DdEjHqHE.js} +2 -2
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/{index-DpT-T6mI.js → index-DSTzF-0V.js} +3 -3
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/{index-CcBuNe8O.js → index-BaNWkjzY.js} +1 -1
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/MeasureTool/subcomponents/MeasureData/{index-CjUVLTHr.js → index-BjX6ihfR.js} +1 -1
- package/components/maps/components/Map/subcomponents/Controls/subcomponents/TopRigthTools/subcomponents/ZoomButtons/{index-zll-PWuG.js → index-B_0VtD_m.js} +1 -1
- package/components/maps/components/MapGpsTools/{MapGpsTools-CtqnLHD2.js → MapGpsTools-DZ6NyOF-.js} +1 -1
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/{index-DOa_sPr5.js → index-3KryoAnj.js} +2 -2
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/{index-CpGA5Bzh.js → index-AYB25Dyz.js} +3 -3
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/{index-oGAP0FD0.js → index-lKvzWafc.js} +2 -2
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/{index-DVZMzDUB.js → index-C38qLzn5.js} +4 -4
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyActions/{index-8qnFKiN-.js → index-BeE77sQQ.js} +4 -4
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/{index-P-e27Hqi.js → index-Bhu0-v_G.js} +4 -4
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/{index-BUKqWYUK.js → index-CgaJJ1U-.js} +2 -2
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/{index-DDDI24wf.js → index-DR95nxK5.js} +4 -4
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/{index-CudMWVfV.js → index-By6OkoSa.js} +4 -4
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/{useColumns-joQU1eqZ.js → useColumns-DnKMl-iz.js} +1 -1
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/{useMaster-C_vutXhx.js → useMaster-BTzwHpFc.js} +3 -3
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/hooks/{useRowActionsGetter-CUSi3eg_.js → useRowActionsGetter-C5EIQzIJ.js} +2 -2
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/{index-DBZQJY8J.js → index-Di5lEK5p.js} +3 -3
- package/components/maps/components/MapGpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/subcomponents/Filter/{index-vBwncRFD.js → index-D_6HLOs2.js} +1 -1
- package/components/modal/WindowBase/{index-BcT3jfae.js → index-DzrmeP5F.js} +1 -1
- package/components/modal/WindowBase/subcomponents/Header/{index-CnvvGp-w.js → index-D_R1T5L1.js} +2 -2
- package/components/modal/WindowConfirm/{index-Du4Wb6aF.js → index-DVVS1d13.js} +1 -1
- package/components/mui_extended/Accordion/{Accordion-DMcoDzkd.js → Accordion-Cjzf7pl5.js} +4 -4
- package/components/mui_extended/CheckBox/{CheckBox-CX9pOKhu.js → CheckBox-CSqbunYW.js} +2 -2
- package/components/mui_extended/CheckBox/types.d.ts +2 -2
- package/components/mui_extended/IconButton/{IconButton-B3bJhoym.js → IconButton-Bf75xsn0.js} +1 -1
- package/components/mui_extended/LoadingButton/{index-CXen1vSI.js → index-DBliEGUb.js} +1 -1
- package/components/mui_extended/MenuActions/{MenuActions-Dxsk2iZ_.js → MenuActions-BGQRB0go.js} +1 -1
- package/components/mui_extended/MenuActions/slots/{MenuActionsSlots-CslpSo7S.js → MenuActionsSlots-Bfp5olet.js} +2 -2
- package/components/mui_extended/MenuActions/slots/MenuActionsSlots.d.ts +3 -3
- package/components/mui_extended/Pager/{index-D_lcvBDS.js → index-uFAsf0va.js} +1 -1
- package/components/mui_extended/Pager/subcomponents/CustomTablePagination/{index-BtlSMy53.js → index-WL2e9lVO.js} +3 -3
- package/components/mui_extended/Pager/subcomponents/PagerActions/{index-EKhHcjnO.js → index-bGCq3CMS.js} +1 -1
- package/components/mui_extended/Tabs/styles.d.ts +1 -1
- package/components/mui_extended/ToggleIconButton/{ToggleIconButton-DEvsd9LS.js → ToggleIconButton-CD79i-ks.js} +1 -1
- package/components/mui_extended/Tooltip/slots/TooltipSlots.d.ts +1 -1
- package/components/mui_extended/Typography/{Typography-C_rG8K21.js → Typography-CiRwBv1u.js} +3 -3
- package/components/mui_extended/Typography/subcomponents/{index-iHnfUTTd.js → index-DfI738vA.js} +1 -1
- package/components/mui_extended/Typography/types.d.ts +1 -1
- package/components/popups/components/PopupsViewer/{PopupsViewer-C3QkulFR.js → PopupsViewer-ChNJ4euY.js} +1 -1
- package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +5 -5
- package/components/popups/components/PopupsViewer/subcomponents/Popup/{index-CXSzUhBj.js → index-BhEEo19P.js} +2 -2
- package/components/popups/components/PopupsViewer/subcomponents/Popup/subcomponents/EditionInfo/{index-CQsA5hGa.js → index-DTeOxMYe.js} +1 -1
- package/components/popups/components/PopupsViewer/subcomponents/Popup/subcomponents/Header/{index-B66xxc1C.js → index-BSmSdLcn.js} +2 -2
- package/hooks/useFormAddEdit/{index-B-hEaKJy.js → index-wFKCIvw-.js} +1 -1
- package/index.js +86 -86
- package/package.json +4 -4
- package/styles/maps/{Map.styles-mK1DhmFd.js → Map.styles-BVUukvaK.js} +1 -1
- package/components/FieldLabel/FieldLabel-B2BhuYxm.js +0 -36
- package/components/FieldLabel/FieldLabel.d.ts +0 -2
- package/components/FieldLabel/classes/constants-dhh5xNOX.js +0 -4
- package/components/FieldLabel/classes/constants.d.ts +0 -1
- package/components/FieldLabel/classes/index-CqpbNDZs.js +0 -31
- package/components/FieldLabel/classes/index.d.ts +0 -10
- package/components/FieldLabel/classes/types.d.ts +0 -11
- package/components/FieldLabel/index.d.ts +0 -1
- package/components/FieldLabel/styles-D7QEXOIM.js +0 -7
- package/components/FieldLabel/styles.d.ts +0 -2
- package/components/FieldLabel/types.d.ts +0 -9
- package/components/HelperText/index-DZCj76Dl.js +0 -20
- package/components/HelperText/index.d.ts +0 -10
- package/components/HelperText/styles-CQTg9ZuH.js +0 -7
- package/components/HelperText/styles.d.ts +0 -2
- package/components/HelperText/types.d.ts +0 -8
- package/components/HelperText/utils/Clases/constant-Cikvtg7M.js +0 -4
- package/components/HelperText/utils/Clases/constant.d.ts +0 -1
- package/components/HelperText/utils/Clases/index-BHBSnukJ.js +0 -34
- package/components/HelperText/utils/Clases/index.d.ts +0 -7
- package/components/HelperText/utils/Clases/types.d.ts +0 -7
- package/components/Icon/Icon-BV4VaWM4.js +0 -42
- package/styles/RHFTextField.styles.d.ts +0 -2
- /package/components/{FieldLabel → HelperError}/index-l0sNRNKZ.js +0 -0
|
@@ -3,15 +3,15 @@ import { useState } from "react";
|
|
|
3
3
|
import { useFormContext, useWatch, Controller } from "react-hook-form";
|
|
4
4
|
import { useModuleSkeleton, useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
5
5
|
import { SketchPicker } from "react-color";
|
|
6
|
-
import { H as HelperText } from "../../HelperText/index-DZCj76Dl.js";
|
|
7
6
|
import { u as useUtilityClasses } from "./classes/index-RGuHpPSk.js";
|
|
8
7
|
import { R as RHFColorPickerRoot } from "./styles-Drw8N4oO.js";
|
|
9
8
|
import { useTheme } from "@mui/material/styles";
|
|
10
9
|
import { R as RHFColorPickerSkeleton } from "./subcomponents/Skeleton/indext-BasQE4Nq.js";
|
|
11
10
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
12
11
|
import { u as useFormFocus } from "../../../hooks/useFormFocus/index-B1F2sySJ.js";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
12
|
+
import { L as Label } from "../../Label/Label-3ew9PS6u.js";
|
|
13
|
+
import { H as HelperError } from "../../HelperError/HelperError-C5G4oOos.js";
|
|
14
|
+
import { I as Icon } from "../../Icon/Icon-1jxG9mYZ.js";
|
|
15
15
|
import { P as Popover } from "../../mui_extended/Popover/Popover-B9KxhzxZ.js";
|
|
16
16
|
import { B as Button } from "../../mui_extended/Button/Button-BdusSjEV.js";
|
|
17
17
|
const RHFColorPicker = (props) => {
|
|
@@ -60,7 +60,7 @@ const RHFColorPicker = (props) => {
|
|
|
60
60
|
defaultValue: "",
|
|
61
61
|
render: ({ field: { value }, fieldState: { error } }) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
62
62
|
label && /* @__PURE__ */ jsx(
|
|
63
|
-
|
|
63
|
+
Label,
|
|
64
64
|
{
|
|
65
65
|
label,
|
|
66
66
|
mandatory,
|
|
@@ -76,7 +76,7 @@ const RHFColorPicker = (props) => {
|
|
|
76
76
|
className: classes.containerFieldColor,
|
|
77
77
|
onClick: (event) => setAnchorEl(event.currentTarget),
|
|
78
78
|
onKeyDown: (event) => {
|
|
79
|
-
if (event.key === "Enter") {
|
|
79
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
80
80
|
setAnchorEl(event.currentTarget);
|
|
81
81
|
}
|
|
82
82
|
},
|
|
@@ -99,7 +99,7 @@ const RHFColorPicker = (props) => {
|
|
|
99
99
|
]
|
|
100
100
|
}
|
|
101
101
|
),
|
|
102
|
-
error?.message && /* @__PURE__ */ jsx(
|
|
102
|
+
error?.message && /* @__PURE__ */ jsx(HelperError, { message: error?.message + "" }),
|
|
103
103
|
/* @__PURE__ */ jsx(
|
|
104
104
|
Popover,
|
|
105
105
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface RHFColorPickerProps extends Omit<
|
|
1
|
+
import { LabelProps } from '../../Label/types';
|
|
2
|
+
export interface RHFColorPickerProps extends Omit<LabelProps, 'label'> {
|
|
3
3
|
/**
|
|
4
4
|
* Nombre de etiqueta del campo
|
|
5
5
|
*/
|
package/components/hook-form/RHFDateTime/{RHFDateTime-C1MMsEtI.js → RHFDateTime-cEfEwCpp.js}
RENAMED
|
@@ -8,12 +8,12 @@ import { useState, useEffect } from "react";
|
|
|
8
8
|
import { u as useUtilityClasses } from "./classes/index-BFb3xSvy.js";
|
|
9
9
|
import clsx from "clsx";
|
|
10
10
|
import { R as RHFDateTimeRoot } from "./styles-LccnWyQx.js";
|
|
11
|
-
import { H as HelperText } from "../../HelperText/index-DZCj76Dl.js";
|
|
12
11
|
import { g as getNameRHFDateTimeDataTestId } from "./test/utils-GZSfgD8t.js";
|
|
13
12
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
14
13
|
import { u as useFormFocus } from "../../../hooks/useFormFocus/index-B1F2sySJ.js";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
14
|
+
import { L as Label } from "../../Label/Label-3ew9PS6u.js";
|
|
15
|
+
import { H as HelperError } from "../../HelperError/HelperError-C5G4oOos.js";
|
|
16
|
+
import { I as Icon } from "../../Icon/Icon-1jxG9mYZ.js";
|
|
17
17
|
function RHFDateTime(props) {
|
|
18
18
|
const {
|
|
19
19
|
name: nameRHF,
|
|
@@ -81,8 +81,9 @@ function RHFDateTime(props) {
|
|
|
81
81
|
render: ({ field: { value, onChange, ref }, fieldState: { error } }) => {
|
|
82
82
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
83
83
|
label && /* @__PURE__ */ jsx(
|
|
84
|
-
|
|
84
|
+
Label,
|
|
85
85
|
{
|
|
86
|
+
htmlFor: "",
|
|
86
87
|
label,
|
|
87
88
|
mandatory,
|
|
88
89
|
mandatoryMessage,
|
|
@@ -115,7 +116,7 @@ function RHFDateTime(props) {
|
|
|
115
116
|
}
|
|
116
117
|
}
|
|
117
118
|
),
|
|
118
|
-
error?.message && /* @__PURE__ */ jsx(
|
|
119
|
+
error?.message && /* @__PURE__ */ jsx(HelperError, { message: error?.message + "" })
|
|
119
120
|
] });
|
|
120
121
|
}
|
|
121
122
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface RHFDateTimeProps extends Omit<
|
|
1
|
+
import { LabelProps } from '../../Label/types';
|
|
2
|
+
export interface RHFDateTimeProps extends Omit<LabelProps, 'label'> {
|
|
3
3
|
skeletonWidth?: string | number;
|
|
4
4
|
skeletonHeight?: string | number;
|
|
5
5
|
name: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useFormContext, useController } from "react-hook-form";
|
|
3
|
-
import { H as
|
|
4
|
-
function
|
|
3
|
+
import { H as HelperError } from "../../HelperError/HelperError-C5G4oOos.js";
|
|
4
|
+
function RHFHelperError(props) {
|
|
5
5
|
const { name } = props;
|
|
6
6
|
const { control } = useFormContext();
|
|
7
7
|
const { fieldState } = useController({
|
|
@@ -10,10 +10,10 @@ function HelperError(props) {
|
|
|
10
10
|
rules: { required: true }
|
|
11
11
|
});
|
|
12
12
|
if (fieldState?.error?.message) {
|
|
13
|
-
return /* @__PURE__ */ jsx(
|
|
13
|
+
return /* @__PURE__ */ jsx(HelperError, { message: fieldState?.error?.message });
|
|
14
14
|
}
|
|
15
15
|
return null;
|
|
16
16
|
}
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
RHFHelperError as R
|
|
19
19
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare type HelperErrorProps = {
|
|
2
2
|
name: string;
|
|
3
3
|
};
|
|
4
|
-
export declare function
|
|
4
|
+
export declare function RHFHelperError(props: HelperErrorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { R as RHFPeriodRoot } from "./styles-CG-W_sFO.js";
|
|
3
3
|
import { useFormContext, Controller } from "react-hook-form";
|
|
4
|
-
import { H as HelperText } from "../../HelperText/index-DZCj76Dl.js";
|
|
5
4
|
import { R as RHFPeriodUtilityClasses } from "./classes/index-BxD4YD0r.js";
|
|
6
5
|
import { u as useFormFocus } from "../../../hooks/useFormFocus/index-B1F2sySJ.js";
|
|
7
6
|
import { useModuleSkeleton } from "@m4l/core";
|
|
8
|
-
import {
|
|
9
|
-
import { P as Period } from "../../Period/Period-
|
|
7
|
+
import { L as Label } from "../../Label/Label-3ew9PS6u.js";
|
|
8
|
+
import { P as Period } from "../../Period/Period-CrQNpQjr.js";
|
|
9
|
+
import { H as HelperError } from "../../HelperError/HelperError-C5G4oOos.js";
|
|
10
10
|
const RHFPeriod = (props) => {
|
|
11
11
|
const {
|
|
12
12
|
name,
|
|
@@ -43,8 +43,9 @@ const RHFPeriod = (props) => {
|
|
|
43
43
|
render: ({ field: { onChange, value }, fieldState: { error } }) => {
|
|
44
44
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
45
45
|
label && /* @__PURE__ */ jsx(
|
|
46
|
-
|
|
46
|
+
Label,
|
|
47
47
|
{
|
|
48
|
+
htmlFor: "",
|
|
48
49
|
label,
|
|
49
50
|
mandatory,
|
|
50
51
|
mandatoryMessage,
|
|
@@ -63,7 +64,7 @@ const RHFPeriod = (props) => {
|
|
|
63
64
|
size
|
|
64
65
|
}
|
|
65
66
|
),
|
|
66
|
-
error && /* @__PURE__ */ jsx(
|
|
67
|
+
error && /* @__PURE__ */ jsx(HelperError, { message: error.message || "" })
|
|
67
68
|
] });
|
|
68
69
|
}
|
|
69
70
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LabelProps } from '../../Label/types';
|
|
2
2
|
import { PeriodProps, PeriodState, PeriodVariant } from '../../../components/Period/types';
|
|
3
|
-
export interface RHFPeriodProps extends Pick<PeriodProps, 'readOnly' | 'skeletonWidth' | 'skeletonHeight' | 'size'>, Omit<
|
|
3
|
+
export interface RHFPeriodProps extends Pick<PeriodProps, 'readOnly' | 'skeletonWidth' | 'skeletonHeight' | 'size'>, Omit<LabelProps, 'label'> {
|
|
4
4
|
name: string;
|
|
5
5
|
variant?: PeriodVariant;
|
|
6
6
|
state?: PeriodState;
|
package/components/hook-form/RHFRadioGroup/{RHFRadioGroup-BrTpEqb4.js → RHFRadioGroup-Daao5G5-.js}
RENAMED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
|
-
import { RadioGroup, FormControlLabel,
|
|
4
|
-
import { O as OptionIconLabelFormatter } from "./formatters/OptionIconLabelFormatter/index-
|
|
3
|
+
import { RadioGroup, FormControlLabel, Radio } from "@mui/material";
|
|
4
|
+
import { O as OptionIconLabelFormatter } from "./formatters/OptionIconLabelFormatter/index-Cx8Lxbs5.js";
|
|
5
|
+
import { H as HelperError } from "../../HelperError/HelperError-C5G4oOos.js";
|
|
5
6
|
function RHFRadioGroup({
|
|
6
7
|
name,
|
|
7
8
|
options,
|
|
@@ -31,7 +32,7 @@ function RHFRadioGroup({
|
|
|
31
32
|
getOptionValue(option)
|
|
32
33
|
);
|
|
33
34
|
}) }),
|
|
34
|
-
|
|
35
|
+
error && /* @__PURE__ */ jsx(HelperError, { message: error.message || "" })
|
|
35
36
|
] })
|
|
36
37
|
}
|
|
37
38
|
);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { I as Icon } from "../../../../Icon/Icon-
|
|
2
|
+
import { I as Icon } from "../../../../Icon/Icon-1jxG9mYZ.js";
|
|
3
3
|
function OptionIconLabelFormatter(option, getOptionLabel, getOptionIconUrl) {
|
|
4
4
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
5
5
|
/* @__PURE__ */ jsx(
|
package/components/hook-form/RHFTextField/{RHFTextField-CLJBIdqH.js → RHFTextField-1-r9fAR1.js}
RENAMED
|
@@ -4,13 +4,13 @@ import { useFormContext, Controller } from "react-hook-form";
|
|
|
4
4
|
import { InputAdornment } from "@mui/material";
|
|
5
5
|
import { useModuleSkeleton } from "@m4l/core";
|
|
6
6
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
7
|
-
import { S as SkeletonTextField } from "./subcomponents/Skeleton/index-
|
|
8
|
-
import { H as HelperText } from "../../HelperText/index-DZCj76Dl.js";
|
|
7
|
+
import { S as SkeletonTextField } from "./subcomponents/Skeleton/index-CPhGdUR6.js";
|
|
9
8
|
import { u as useFormFocus } from "../../../hooks/useFormFocus/index-B1F2sySJ.js";
|
|
10
9
|
import { a as getPropDataTestId } from "../../../test/getNameDataTestId-BaBTWhBr.js";
|
|
11
10
|
import { R as RHF_TEXT_FIELD_KEY_COMPONENT } from "./constant-74c4jM8M.js";
|
|
12
|
-
import { R as RHFTextFieldRootStyled,
|
|
13
|
-
import { R as RHFTextFieldSlots } from "./slots/RHFTextFieldEnum-
|
|
11
|
+
import { R as RHFTextFieldRootStyled, L as LabelStyled, T as TextFieldStyled } from "./slots/RHFTextFieldSlots-TgfLO3SL.js";
|
|
12
|
+
import { R as RHFTextFieldSlots } from "./slots/RHFTextFieldEnum-DpNZmb0n.js";
|
|
13
|
+
import { H as HelperError } from "../../HelperError/HelperError-C5G4oOos.js";
|
|
14
14
|
const RHFTextField = forwardRef((props, ref) => {
|
|
15
15
|
const {
|
|
16
16
|
name: nameRHF,
|
|
@@ -93,7 +93,7 @@ const RHFTextField = forwardRef((props, ref) => {
|
|
|
93
93
|
};
|
|
94
94
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
95
95
|
label && /* @__PURE__ */ jsx(
|
|
96
|
-
|
|
96
|
+
LabelStyled,
|
|
97
97
|
{
|
|
98
98
|
ownerState: { ...ownerState },
|
|
99
99
|
label,
|
|
@@ -140,9 +140,8 @@ const RHFTextField = forwardRef((props, ref) => {
|
|
|
140
140
|
}
|
|
141
141
|
),
|
|
142
142
|
currentVariant ? /* @__PURE__ */ jsx(
|
|
143
|
-
|
|
143
|
+
HelperError,
|
|
144
144
|
{
|
|
145
|
-
variant: currentVariant,
|
|
146
145
|
message: currentVariant !== "error" ? helperMessage : error?.message
|
|
147
146
|
}
|
|
148
147
|
) : null
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { inputBaseClasses } from "@mui/material/InputBase";
|
|
2
|
-
import { typographyClasses } from "@mui/material/Typography";
|
|
3
2
|
const rhfTextFieldStyles = {
|
|
4
3
|
root: {
|
|
5
4
|
display: "flex",
|
|
@@ -24,11 +23,9 @@ const rhfTextFieldStyles = {
|
|
|
24
23
|
}
|
|
25
24
|
}
|
|
26
25
|
},
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
transition: "all .5s ease"
|
|
31
|
-
}
|
|
26
|
+
label: ({ theme }) => ({
|
|
27
|
+
color: theme.vars.palette.text.secondary,
|
|
28
|
+
transition: "all .5s ease"
|
|
32
29
|
}),
|
|
33
30
|
textField: ({ theme, ownerState }) => ({
|
|
34
31
|
[`& .${inputBaseClasses.root}`]: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var RHFTextFieldSlots = /* @__PURE__ */ ((RHFTextFieldSlots2) => {
|
|
2
2
|
RHFTextFieldSlots2["root"] = "root";
|
|
3
|
-
RHFTextFieldSlots2["
|
|
3
|
+
RHFTextFieldSlots2["label"] = "label";
|
|
4
4
|
RHFTextFieldSlots2["textField"] = "textField";
|
|
5
5
|
RHFTextFieldSlots2["skeletonTextFieldRoot"] = "skeletonTextFieldRoot";
|
|
6
6
|
RHFTextFieldSlots2["wrapperSkeletonRHFTextField"] = "wrapperSkeletonRHFTextField";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
2
|
import { TextField } from "@mui/material";
|
|
3
|
-
import { R as RHFTextFieldSlots } from "./RHFTextFieldEnum-
|
|
3
|
+
import { R as RHFTextFieldSlots } from "./RHFTextFieldEnum-DpNZmb0n.js";
|
|
4
4
|
import { R as RHF_TEXT_FIELD_KEY_COMPONENT } from "../constant-74c4jM8M.js";
|
|
5
|
-
import { r as rhfTextFieldStyles } from "
|
|
6
|
-
import {
|
|
5
|
+
import { r as rhfTextFieldStyles } from "../RHFTextField.styles-BWUyGRb3.js";
|
|
6
|
+
import { L as Label } from "../../../Label/Label-3ew9PS6u.js";
|
|
7
7
|
const RHFTextFieldRootStyled = styled("div", {
|
|
8
8
|
name: RHF_TEXT_FIELD_KEY_COMPONENT,
|
|
9
9
|
slot: RHFTextFieldSlots.root
|
|
10
10
|
})(rhfTextFieldStyles?.root);
|
|
11
|
-
const
|
|
11
|
+
const LabelStyled = styled(Label, {
|
|
12
12
|
name: RHF_TEXT_FIELD_KEY_COMPONENT,
|
|
13
|
-
slot: RHFTextFieldSlots.
|
|
14
|
-
})(rhfTextFieldStyles?.
|
|
13
|
+
slot: RHFTextFieldSlots.label
|
|
14
|
+
})(rhfTextFieldStyles?.label);
|
|
15
15
|
const TextFieldStyled = styled(TextField, {
|
|
16
16
|
name: RHF_TEXT_FIELD_KEY_COMPONENT,
|
|
17
17
|
slot: RHFTextFieldSlots.textField
|
|
@@ -25,7 +25,7 @@ const WrapperSkeletonRHFTextFieldStyled = styled("div", {
|
|
|
25
25
|
slot: RHFTextFieldSlots.wrapperSkeletonRHFTextField
|
|
26
26
|
})(rhfTextFieldStyles?.wrapperSkeletonRHFTextField);
|
|
27
27
|
export {
|
|
28
|
-
|
|
28
|
+
LabelStyled as L,
|
|
29
29
|
RHFTextFieldRootStyled as R,
|
|
30
30
|
SkeletonTextFieldRootStyled as S,
|
|
31
31
|
TextFieldStyled as T,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const RHFTextFieldRootStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("..").RHFTextFieldProps> & Record<string, unknown> & {
|
|
3
3
|
ownerState: Partial<import("..").RHFTextFieldProps> & Record<string, unknown>;
|
|
4
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").
|
|
5
|
-
export declare const
|
|
4
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement> | keyof import("react").ClassAttributes<HTMLDivElement>>, {}>;
|
|
5
|
+
export declare const LabelStyled: import("@emotion/styled").StyledComponent<Pick<import("../../../Label").LabelProps, keyof import("../../../Label").LabelProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("..").RHFTextFieldProps> & Record<string, unknown> & {
|
|
6
6
|
ownerState: Partial<import("..").RHFTextFieldProps> & Record<string, unknown>;
|
|
7
7
|
}, {}, {}>;
|
|
8
8
|
export declare const TextFieldStyled: import("@emotion/styled").StyledComponent<Pick<{
|
|
9
9
|
variant?: import("@mui/material").TextFieldVariants | undefined;
|
|
10
|
-
} & Omit<import("@mui/material").FilledTextFieldProps | import("@mui/material").
|
|
10
|
+
} & Omit<import("@mui/material").FilledTextFieldProps | import("@mui/material").StandardTextFieldProps | import("@mui/material").OutlinedTextFieldProps, "variant">, "value" | "error" | "select" | "children" | "className" | "onResize" | "style" | "color" | "hidden" | "label" | "slot" | "title" | "size" | "margin" | "type" | "name" | "placeholder" | "maxRows" | "minRows" | "onChange" | "dir" | "aria-hidden" | "onDragStart" | "onDrag" | "onMouseDown" | "onMouseUp" | "onTouchStart" | "onTouchEnd" | "content" | "translate" | "disabled" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "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-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "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-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "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" | "onMouseEnter" | "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" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "ref" | "key" | "component" | "variant" | "rows" | "fullWidth" | "focused" | "hiddenLabel" | "required" | "InputProps" | "autoComplete" | "FormHelperTextProps" | "helperText" | "InputLabelProps" | "inputProps" | "inputRef" | "multiline" | "SelectProps"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("..").RHFTextFieldProps> & Record<string, unknown> & {
|
|
11
11
|
ownerState: Partial<import("..").RHFTextFieldProps> & Record<string, unknown>;
|
|
12
12
|
}, {}, {}>;
|
|
13
13
|
export declare const SkeletonTextFieldRootStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("..").RHFTextFieldProps> & Record<string, unknown> & {
|
|
14
14
|
ownerState: Partial<import("..").RHFTextFieldProps> & Record<string, unknown>;
|
|
15
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").
|
|
15
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement> | keyof import("react").ClassAttributes<HTMLDivElement>>, {}>;
|
|
16
16
|
export declare const WrapperSkeletonRHFTextFieldStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("..").RHFTextFieldProps> & Record<string, unknown> & {
|
|
17
17
|
ownerState: Partial<import("..").RHFTextFieldProps> & Record<string, unknown>;
|
|
18
|
-
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").
|
|
18
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement> | keyof import("react").ClassAttributes<HTMLDivElement>>, {}>;
|
|
@@ -2,8 +2,8 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { Skeleton } from "@mui/material";
|
|
3
3
|
import { a as getPropDataTestId } from "../../../../../test/getNameDataTestId-BaBTWhBr.js";
|
|
4
4
|
import { R as RHF_TEXT_FIELD_KEY_COMPONENT } from "../../constant-74c4jM8M.js";
|
|
5
|
-
import { S as SkeletonTextFieldRootStyled, W as WrapperSkeletonRHFTextFieldStyled } from "../../slots/RHFTextFieldSlots-
|
|
6
|
-
import { R as RHFTextFieldSlots } from "../../slots/RHFTextFieldEnum-
|
|
5
|
+
import { S as SkeletonTextFieldRootStyled, W as WrapperSkeletonRHFTextFieldStyled } from "../../slots/RHFTextFieldSlots-TgfLO3SL.js";
|
|
6
|
+
import { R as RHFTextFieldSlots } from "../../slots/RHFTextFieldEnum-DpNZmb0n.js";
|
|
7
7
|
const SkeletonTextField = (props) => {
|
|
8
8
|
const { skeletonWidth, skeletonHeight, hasLabel, variant } = props;
|
|
9
9
|
return /* @__PURE__ */ jsxs(SkeletonTextFieldRootStyled, { ownerState: {}, children: [
|
|
@@ -2,11 +2,11 @@ import { Theme } from '@mui/material/styles';
|
|
|
2
2
|
import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
3
3
|
import { TextFieldProps } from '@mui/material';
|
|
4
4
|
import { ReactElement } from 'react';
|
|
5
|
-
import {
|
|
5
|
+
import { LabelProps } from '../../Label/types';
|
|
6
6
|
import { RHFTextFieldSlots } from './slots';
|
|
7
7
|
import { RHF_TEXT_FIELD_KEY_COMPONENT } from './constant';
|
|
8
8
|
export declare type RHFTextFieldVariants = 'info' | 'success' | 'warning' | null;
|
|
9
|
-
export interface RHFTextFieldProps extends Omit<TextFieldProps, 'size' | 'inputProps' | 'variant' | 'label' | 'theme'>, Omit<
|
|
9
|
+
export interface RHFTextFieldProps extends Omit<TextFieldProps, 'size' | 'inputProps' | 'variant' | 'label' | 'theme'>, Omit<LabelProps, 'label'> {
|
|
10
10
|
skeletonWidth?: string | number;
|
|
11
11
|
skeletonHeight?: string | number;
|
|
12
12
|
name: string;
|
|
@@ -2,8 +2,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useEnvironment } from "@m4l/core";
|
|
3
3
|
import { InputAdornment } from "@mui/material";
|
|
4
4
|
import { useState } from "react";
|
|
5
|
-
import { I as IconButton } from "../../mui_extended/IconButton/IconButton-
|
|
6
|
-
import { R as RHFTextField } from "../RHFTextField/RHFTextField-
|
|
5
|
+
import { I as IconButton } from "../../mui_extended/IconButton/IconButton-Bf75xsn0.js";
|
|
6
|
+
import { R as RHFTextField } from "../RHFTextField/RHFTextField-1-r9fAR1.js";
|
|
7
7
|
import { R as RHFTextFieldPasswordRoot } from "./styles-DzaQqbnr.js";
|
|
8
8
|
import { u as useUtilityClasses } from "./classes/index-ChETGcDs.js";
|
|
9
9
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useCallback } from "react";
|
|
3
3
|
import { useFormContext, Controller } from "react-hook-form";
|
|
4
|
-
import { U as UploadImage } from "./subcomponents/UploadImage/index-
|
|
4
|
+
import { U as UploadImage } from "./subcomponents/UploadImage/index-nt7AoQuk.js";
|
|
5
5
|
import { W as WrapperRHFUploadImage } from "./styles-CR3RCTAQ.js";
|
|
6
|
-
import { H as
|
|
6
|
+
import { H as HelperError } from "../../../HelperError/HelperError-C5G4oOos.js";
|
|
7
7
|
function RHFUploadImage({ name, ...other }) {
|
|
8
8
|
const { control, setValue } = useFormContext();
|
|
9
9
|
const handleDrop = useCallback(
|
|
@@ -29,7 +29,7 @@ function RHFUploadImage({ name, ...other }) {
|
|
|
29
29
|
const checkError = !!error && !field.value;
|
|
30
30
|
return /* @__PURE__ */ jsxs(WrapperRHFUploadImage, { children: [
|
|
31
31
|
/* @__PURE__ */ jsx(UploadImage, { onDrop: handleDrop, error: checkError, ...other, file: field.value }),
|
|
32
|
-
checkError && /* @__PURE__ */ jsx(
|
|
32
|
+
checkError && /* @__PURE__ */ jsx(HelperError, { message: error.message })
|
|
33
33
|
] });
|
|
34
34
|
}
|
|
35
35
|
}
|
|
@@ -8,7 +8,7 @@ import { S as SkeletonUploadImage } from "./subcomponents/Skeleton/index-BDvEWlt
|
|
|
8
8
|
import { R as RHFUploadImageUtilityClasses } from "../../classes/index-DkF66IeJ.js";
|
|
9
9
|
import { g as getNameRHFUploadImageDataTestId } from "../../tests/utils-Y3oEheq4.js";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../../../../../test/constants_no_mock-CF-669v-.js";
|
|
11
|
-
import { T as Typography } from "../../../../../mui_extended/Typography/Typography-
|
|
11
|
+
import { T as Typography } from "../../../../../mui_extended/Typography/Typography-CiRwBv1u.js";
|
|
12
12
|
import { B as Button } from "../../../../../mui_extended/Button/Button-BdusSjEV.js";
|
|
13
13
|
function UploadImage({ error, file, helperText, sx, ...other }) {
|
|
14
14
|
const { getRootProps, getInputProps, isDragActive, isDragReject, open } = useDropzone({
|
|
@@ -7,6 +7,7 @@ export * from './RHFCheckbox/RHFCheckbox';
|
|
|
7
7
|
export { RHFDateTime } from './RHFDateTime';
|
|
8
8
|
export { RHFMultiCheckbox } from './RHFMultiCheckbox';
|
|
9
9
|
export { RHFSelect } from './RHFSelect';
|
|
10
|
+
export { RHFHelperError } from './RHFHelperError';
|
|
10
11
|
export * from './RHFTextField';
|
|
11
12
|
export * from './RHFTextFieldPassword';
|
|
12
13
|
export { RHFPeriod } from './RHFPeriod';
|
package/components/index.d.ts
CHANGED
|
@@ -13,8 +13,8 @@ export { getDataGridComponentsDictionary } from './DataGrid/dictionary';
|
|
|
13
13
|
export { TextEditor, NumberEditor } from './DataGrid/subcomponents/editors/TextEditor';
|
|
14
14
|
export { getDataGridRowsFromSet } from './DataGrid/utils/getDataGridRowsFromSet';
|
|
15
15
|
export * from './DynamicFilter/index';
|
|
16
|
-
export * from './
|
|
17
|
-
export * from './
|
|
16
|
+
export * from './HelperError';
|
|
17
|
+
export * from './Label';
|
|
18
18
|
export * from './CommonActions/';
|
|
19
19
|
export * from './CommonActions/dictionary';
|
|
20
20
|
export * from './DragResizeWindow';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { T as TileLayers } from "./subcomponents/TileLayers/index-p7XmQ2he.js";
|
|
3
|
-
import { C as Controls } from "./subcomponents/Controls/index-
|
|
3
|
+
import { C as Controls } from "./subcomponents/Controls/index-C8cMJg6N.js";
|
|
4
4
|
import { L as LayersContainer } from "./subcomponents/LayersContainer/index-tYTwy6xC.js";
|
|
5
5
|
import { m as mapClasses } from "./classes/index-Di523KHt.js";
|
|
6
|
-
import { M as MapRootStyled } from "./slots/MapSlots-
|
|
6
|
+
import { M as MapRootStyled } from "./slots/MapSlots-jnUyQrKb.js";
|
|
7
7
|
function Map(props) {
|
|
8
8
|
const {
|
|
9
9
|
mapGpsTools,
|
|
@@ -10,7 +10,7 @@ import { L as LAT_LON_FIXED_DIGITS } from "./constants-BjidJqUx.js";
|
|
|
10
10
|
import { M as MyDevice } from "../../../../../gclick/MyDevice/MyDevice-BoQAm0bh.js";
|
|
11
11
|
import { M as MyDeviceStatus } from "../../../../../gclick/MyDeviceStatus/MyDeviceStatus-6k94VZLI.js";
|
|
12
12
|
import { C as CourseFormatter } from "../../../../../formatters/CourseFormatter/CourseFormatter-C72EFdlI.js";
|
|
13
|
-
import { I as IconButton } from "../../../../../mui_extended/IconButton/IconButton-
|
|
13
|
+
import { I as IconButton } from "../../../../../mui_extended/IconButton/IconButton-Bf75xsn0.js";
|
|
14
14
|
const MapPopupMyGps = (props) => {
|
|
15
15
|
const { properties, isOpen, popupOptions } = props;
|
|
16
16
|
const { keepInView = true, autoPan = true, ...others } = popupOptions || {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const MapPopupMyGpsRootStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Record<string, unknown>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").
|
|
3
|
-
export declare const MapPopupMyGpsHeaderStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Record<string, unknown>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").
|
|
4
|
-
export declare const MapPopupMyGpsContentStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Record<string, unknown>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").
|
|
2
|
+
export declare const MapPopupMyGpsRootStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Record<string, unknown>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement> | keyof import("react").ClassAttributes<HTMLDivElement>>, {}>;
|
|
3
|
+
export declare const MapPopupMyGpsHeaderStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Record<string, unknown>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement> | keyof import("react").ClassAttributes<HTMLDivElement>>, {}>;
|
|
4
|
+
export declare const MapPopupMyGpsContentStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Record<string, unknown>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement> | keyof import("react").ClassAttributes<HTMLDivElement>>, {}>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
2
|
import { C as COMPONET_KEY_COMPONENT } from "../constants--nCJwhxA.js";
|
|
3
|
-
import { m as mapStyles } from "../../../../../styles/maps/Map.styles-
|
|
3
|
+
import { m as mapStyles } from "../../../../../styles/maps/Map.styles-BVUukvaK.js";
|
|
4
4
|
import { M as MapSlots } from "./slots-Bp5FCG8d.js";
|
|
5
5
|
import { MapContainer } from "react-leaflet";
|
|
6
6
|
const MapRootStyled = styled(MapContainer, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const MapRootStyled: import("@emotion/styled").StyledComponent<Pick<import("react-leaflet").MapContainerProps & import("react").RefAttributes<import("leaflet").Map>, keyof import("react-leaflet").MapContainerProps | keyof import("react").RefAttributes<import("leaflet").Map>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Record<string, unknown>, {}, {}>;
|
|
3
|
-
export declare const PopupGpsDeviceStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Record<string, unknown>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").
|
|
4
|
-
export declare const PopupGpsDeviceHeaderStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Record<string, unknown>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").
|
|
5
|
-
export declare const PopupGpsDeviceContentStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Record<string, unknown>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").
|
|
3
|
+
export declare const PopupGpsDeviceStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Record<string, unknown>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement> | keyof import("react").ClassAttributes<HTMLDivElement>>, {}>;
|
|
4
|
+
export declare const PopupGpsDeviceHeaderStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Record<string, unknown>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement> | keyof import("react").ClassAttributes<HTMLDivElement>>, {}>;
|
|
5
|
+
export declare const PopupGpsDeviceContentStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & Record<string, unknown>, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").HTMLAttributes<HTMLDivElement> | keyof import("react").ClassAttributes<HTMLDivElement>>, {}>;
|
|
@@ -3,11 +3,11 @@ import { useState, useEffect } from "react";
|
|
|
3
3
|
import { createPortal } from "react-dom";
|
|
4
4
|
import L__default from "leaflet";
|
|
5
5
|
import { useMap } from "react-leaflet";
|
|
6
|
-
import { T as TopRightTools } from "./subcomponents/TopRigthTools/index-
|
|
7
|
-
import { T as TopLeftTools } from "./subcomponents/TopLeftTools/index-
|
|
6
|
+
import { T as TopRightTools } from "./subcomponents/TopRigthTools/index-DSTzF-0V.js";
|
|
7
|
+
import { T as TopLeftTools } from "./subcomponents/TopLeftTools/index-Bca70aeD.js";
|
|
8
8
|
import { b as MAP_ZINDEX_OVER_MAP } from "../../constants--nCJwhxA.js";
|
|
9
9
|
import { P as PopupsProvider } from "../../../../../popups/components/PopupsProvider/contexts/PopupsContext/PopupsContext-CahdzSly.js";
|
|
10
|
-
import { P as PopupsViewer } from "../../../../../popups/components/PopupsViewer/PopupsViewer-
|
|
10
|
+
import { P as PopupsViewer } from "../../../../../popups/components/PopupsViewer/PopupsViewer-ChNJ4euY.js";
|
|
11
11
|
function Controls(props) {
|
|
12
12
|
const { mapGpsTools } = props;
|
|
13
13
|
const map = useMap();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { L as LayersButton } from "./subcomponents/PopoverToolButton/index-
|
|
2
|
+
import { L as LayersButton } from "./subcomponents/PopoverToolButton/index-C-30caa4.js";
|
|
3
3
|
import { C as Control } from "../../../../external/Control/index-B9L3AeDC.js";
|
|
4
4
|
import { m as mapClasses } from "../../../../classes/index-Di523KHt.js";
|
|
5
5
|
function TopLeftTools() {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import React__default, { useState } from "react";
|
|
3
|
-
import { L as LayersTool } from "./subcomponentes/LayersTool/index-
|
|
4
|
-
import { M as MapSourcesTool } from "./subcomponentes/MapSourcesTool/index-
|
|
3
|
+
import { L as LayersTool } from "./subcomponentes/LayersTool/index-DVrMg7fn.js";
|
|
4
|
+
import { M as MapSourcesTool } from "./subcomponentes/MapSourcesTool/index-DdEjHqHE.js";
|
|
5
5
|
import { useEnvironment } from "@m4l/core";
|
|
6
6
|
import { useTheme } from "@mui/material";
|
|
7
7
|
import { m as mapClasses } from "../../../../../../classes/index-Di523KHt.js";
|
|
8
8
|
import { M as MAP_ICONS } from "../../../../../../icons-CSYh7uR4.js";
|
|
9
|
-
import { I as IconButton } from "../../../../../../../../../mui_extended/IconButton/IconButton-
|
|
9
|
+
import { I as IconButton } from "../../../../../../../../../mui_extended/IconButton/IconButton-Bf75xsn0.js";
|
|
10
10
|
import { P as Popover } from "../../../../../../../../../mui_extended/Popover/Popover-B9KxhzxZ.js";
|
|
11
11
|
function LayersButton(props) {
|
|
12
12
|
const { type } = props;
|