@m4l/components 3.0.0 → 3.0.2
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/types.d.ts +31 -8
- package/components/AccountPopover/{index.af5aae0e.js → index-vXlaw69C.js} +7 -5
- package/components/AppBar/{index.b8f22046.js → index-3gXtikUI.js} +7 -5
- package/components/BaseModule/{index.f7a04fe7.js → index-CtN6b__U.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index.e67885bc.js → index-D_42VfUR.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.92988013.js → index-DL7fDBi6.js} +5 -5
- package/components/CommonActions/components/ActionFormIntro/{index.f8867ae9.js → index-i3HmOpoU.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.e58eb0c4.js → index-i5875EXe.js} +3 -3
- package/components/CommonActions/components/Actions/{index.f674be30.js → index-ChW1FuFf.js} +5 -3
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.89a59c52.js → index-BjkuIa7y.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.d619d1db.js → index-CWQp1KWU.js} +1 -1
- package/components/DataGrid/formatters/ColumnDateFormatter/{index.e00d0cf2.js → index-CKg8CJ6A.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.557bc8a5.js → index-DggW8-4n.js} +1 -1
- package/components/DataGrid/formatters/ColumnNestedValueFormatter/{index.880e743b.js → index-BslXGK-A.js} +1 -1
- package/components/DataGrid/formatters/ColumnPointsFormatter/{index.ab152484.js → index-BXGW2CsK.js} +1 -1
- package/components/DataGrid/formatters/ColumnPriceFormatter/{index.bf9d9e60.js → index-O11tBykn.js} +1 -1
- package/components/DataGrid/formatters/ColumnSetCheckFormatter/{index.4045b2f2.js → index-BaCawLr1.js} +1 -1
- package/components/DataGrid/formatters/ColumnUncertaintyFormatter/{index.a87302d1.js → index-Cq7a-jnE.js} +1 -1
- package/components/DataGrid/formatters/{index.06c18753.js → index-B3AsHKeD.js} +2 -2
- package/components/DataGrid/{index.b37d6cab.js → index-EgaRUtbL.js} +33 -26
- package/components/DataGrid/subcomponents/Actions/{index.c3b1c1e2.js → index-BF4pV_-K.js} +22 -26
- package/components/DataGrid/subcomponents/editors/TextEditor/{index.3f0d9e28.js → index-BIFm8akr.js} +4 -0
- package/components/DragResizeWindow/{index.a4bcaab8.js → index-D2jLYExo.js} +25 -6
- package/components/DynamicFilter/{dictionary.94a74eb3.js → dictionary-B2qYGLOx.js} +2 -2
- package/components/DynamicFilter/{index.b07b567a.js → index-BLjn97jC.js} +7 -8
- package/components/DynamicFilter/slots/{dynamicFilterSlots.dd5824d5.js → dynamicFilterSlots-CaFVu7xW.js} +8 -8
- package/components/DynamicFilter/slots/dynamicFilterSlots.d.ts +1 -1
- package/components/DynamicFilter/store/{index.49d1b77f.js → index-EW1sL9gf.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.9e8fcc8c.js → index-DjgwIwH9.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.3e52c5d7.js → index-Cfcgzcw7.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.68d855e9.js → index-BFcVswNb.js} +8 -8
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.11f588b4.js → index-B4mhUk9e.js} +4 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.77555163.js → index-CA3JDlD0.js} +10 -9
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.1c8454db.js → index-B4R83Pyi.js} +5 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.cb31333a.js → index-1XC3u2dm.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.0ae3d439.js → index-BEMRO3Ng.js} +5 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.5a0c7b12.js → index-Cfs28hud.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.50c175e7.js → index-CYY3cjbX.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.82d4ac5a.js → index-CAdtxARw.js} +33 -13
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.fa62a6c3.js → index-COoNIh4L.js} +7 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.e5e439f1.js → index-Kz-jfM3o.js} +2 -2
- package/components/FieldLabel/{index.9a979def.js → index-DCAMDJoJ.js} +6 -4
- package/components/GridLayout/{index.dd291886.js → index-DUfp2sP_.js} +51 -72
- package/components/GridLayout/subcomponents/Griditem/{index.10278655.js → index-DEi0Ai1D.js} +11 -13
- package/components/GridLayout/subcomponents/Responsive/{index.24857a52.js → index-B7v5X9un.js} +7 -7
- package/components/GridLayout/subcomponents/SizeProvider/{index.2f762118.js → index-BsKaLKRl.js} +15 -9
- package/components/HelperText/{index.6818980e.js → index-DVV5Jfc8.js} +10 -3
- package/components/Icon/{index.c06685f4.js → index-CueLDD9j.js} +9 -4
- package/components/Image/{index.ae542f70.js → index-By5vsRzf.js} +40 -31
- package/components/LanguagePopover/index-Dn2JPzf1.js +179 -0
- package/components/LinearProgressIndeterminate/{index.ca78fd37.js → index-CTlvokQp.js} +5 -3
- package/components/Loadable/{index.e83cdb4e.js → index-BMbi9ISF.js} +1 -1
- package/components/LoadingError/{index.765ff885.js → index-CXVOiscg.js} +8 -6
- package/components/MFIsolationApp/{index.677d9e93.js → index-BfFMo2Q2.js} +5 -5
- package/components/MFLoader/{index.6af7729c.js → index-CCtU6zwR.js} +36 -15
- package/components/ModalDialog/{index.a57ee020.js → index-KryIxH_j.js} +6 -6
- package/components/NavLink/{index.dd723dfd.js → index-D6eiKlc0.js} +5 -3
- package/components/NoItemSelected/{index.b3e365b1.js → index-DKhhgTAH.js} +3 -1
- package/components/ObjectLogs/{index.54fdee14.js → index-CpBmanv0.js} +19 -12
- package/components/PDFViewer/{index.7932d07b.js → index-3PBUibum.js} +4 -2
- package/components/Page/{index.5f2963f3.js → index-PXQkJn7v.js} +11 -8
- package/components/PaperForm/{index.cdb1f846.js → index-B6a3-CZt.js} +4 -2
- package/components/Period/{index.b0b2a03b.js → index-DtFWU3y5.js} +20 -31
- package/components/PrintingSystem/{index.800a7957.js → index-DJmGF2SQ.js} +16 -14
- package/components/PrintingSystem/subcomponents/BodyNode/{index.60ad80bd.js → index-DorXm6AO.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.d4aa116e.js → index-Cd9H-_3i.js} +3 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.142bbf1a.js → index-Dm-RAH_l.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.d16d2c5e.js → index-BPg-NpDf.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.044363bf.js → index-u0ZSP6s4.js} +6 -2
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.5581a84d.js → index-C7eFFsTN.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.2994c128.js → index-D7M4YL4C.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.166d7264.js → index-Drjfhq-n.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.642ab1b7.js → index-Banh4UxX.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.d8a2a0af.js → index-OBnZLPEc.js} +1 -1
- package/components/PropertyValue/{index.d81eae0a.js → index-Cc7y20oI.js} +7 -5
- package/components/Resizeable/{index.df2f3bb8.js → index-BwQ6EKCK.js} +1 -1
- package/components/ScrollBar/{index.11feff65.js → index-P3SkjYOy.js} +3 -1
- package/components/SideBar/{index.990e8667.js → index-Ddxe1VvL.js} +100 -74
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +1 -1
- package/components/SplitLayout/{index.b247de95.js → index-CwmZT1x6.js} +5 -3
- package/components/ToastContainer/{index.c1657bde.js → index-DN3ZHpBT.js} +3 -3
- package/components/animate/LoadingScreen/{index.36a63311.js → index-CcjW-mkl.js} +1 -1
- package/components/animate/MotionContainer/{index.3032bd8f.js → index-eartnWyO.js} +1 -1
- package/components/animate/MotionLazyContainer/{index.d2902a6c.js → index-Be8osTiG.js} +1 -1
- package/components/animate/PropagateLoader/{index.a9da8d00.js → index-Bkq8V2SN.js} +1 -1
- package/components/animate/{index.ceb7669a.js → index-DsolrzTC.js} +1 -1
- package/components/animate/variants/{bounce.784aaaaa.js → bounce-DanQqHAX.js} +3 -1
- package/components/animate/variants/{fade.b561c0fc.js → fade-CAOJNn06.js} +3 -1
- package/components/areas/components/AreasAdmin/{index.b232384d.js → index-Y6S0Q7TN.js} +21 -19
- package/components/areas/components/AreasViewer/{index.d45bfcd2.js → index-DfcpQwSl.js} +67 -64
- package/components/areas/contexts/AreasContext/{index.9edd84c3.js → index-spCQnOlk.js} +180 -16
- package/components/areas/contexts/AreasContext/types.d.ts +1 -0
- package/components/areas/contexts/WindowToolsMFContext/types.d.ts +5 -0
- package/components/areas/hooks/index.d.ts +1 -0
- package/components/areas/hooks/useAreas/{index.5a57ab76.js → index-D6DaWBIP.js} +2 -3
- package/components/areas/hooks/useDynamicMFParameters/{index.9e09e1e3.js → index-DhbcZPs9.js} +1 -1
- package/components/areas/hooks/useSetWindowsTitle/index.d.ts +1 -0
- package/components/areas/hooks/useSetWindowsTitle/useSetWindowsTitle-BzPD-miW.js +31 -0
- package/components/areas/hooks/useSetWindowsTitle/useSetWindowsTitle.d.ts +3 -0
- package/components/areas/hooks/useWindowToolsMF/{index.2fbae9dc.js → index-BECQfhbC.js} +2 -3
- package/components/commercial/AppBarCommercial/{index.b4f6147e.js → index-D1jIOw7M.js} +4 -2
- package/components/commercial/SectionCommercial/{index.a250338c.js → index-C9THYik8.js} +4 -2
- package/components/commercial/TopBar/{index.4fdd66e5.js → index-DLn3yEcX.js} +13 -11
- package/components/commercial/{index.be1af158.js → index-D1bCIF7p.js} +4 -4
- package/components/formatters/BooleanFormatter/{index.91435984.js → index-Bc2l6GTX.js} +3 -3
- package/components/formatters/DateFormatter/{index.2ef6f261.js → index-CGcRZ8BA.js} +1 -1
- package/components/formatters/PointsFormatter/{index.51cd6774.js → index-C7sR8iqk.js} +1 -1
- package/components/formatters/PriceFormatter/{index.97f75b4b.js → index-CsvRawmc.js} +1 -1
- package/components/formatters/UncertaintyFormatter/{index.c3ffdebc.js → index-B9ESVEVp.js} +4 -4
- package/components/formatters/{index.64017cc1.js → index-Botdzyt2.js} +13 -19
- package/components/hook-form/HelperError/{index.360f8fb7.js → index-J-C5u9AH.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.089af1b8.js → index-erpzYu8W.js} +20 -20
- package/components/hook-form/RHFAutocompleteAsync/{index.f05b6fe3.js → index-BV0f25eK.js} +5 -3
- package/components/hook-form/RHFCheckbox/{index.4cefbad2.js → index-Duf51-pS.js} +53 -46
- package/components/hook-form/RHFCheckbox/styles.d.ts +1 -1
- package/components/hook-form/RHFColorPicker/{index.ed380b30.js → index-C-tITRAx.js} +8 -6
- package/components/hook-form/RHFDateTime/{index.118ebe6d.js → index-OdXKdhJS.js} +7 -5
- package/components/hook-form/RHFInputNumberSpinner/constants.d.ts +1 -0
- package/components/hook-form/RHFInputNumberSpinner/slots/RHFInputNumberSpinnnerEnum.d.ts +9 -0
- package/components/hook-form/RHFInputNumberSpinner/types.d.ts +21 -0
- package/components/hook-form/RHFPeriod/{index.404ba4c6.js → index-CjkIGYUY.js} +6 -4
- package/components/hook-form/RHFRadioGroup/{index.591f779d.js → index-Da_2zFu3.js} +1 -1
- package/components/hook-form/RHFTextField/index-BWZWPFn5.js +337 -0
- package/components/hook-form/RHFUpload/{index.7b7ee732.js → index-D4nrnFFT.js} +10 -8
- package/components/maps/components/GpsTools/{index.c1198f79.js → index-DPY-BjB8.js} +102 -32
- package/components/maps/components/Map/{index.8c947175.js → index-BRrVIyA-.js} +263 -73
- package/components/modal/{WindowBase.00b9e5f1.js → WindowBase-Ce6yRLcN.js} +4 -4
- package/components/modal/{WindowConfirm.abf49573.js → WindowConfirm-BaB3Ojgu.js} +8 -7
- package/components/modal/{index.81eb6def.js → index-CydPIpKZ.js} +2 -0
- package/components/mui_extended/Accordion/{index.26524ecd.js → index-D1775s1J.js} +8 -6
- package/components/mui_extended/Avatar/{index.e7bcc850.js → index-n5hK7nJD.js} +5 -2
- package/components/mui_extended/Badge/{index.48948839.js → index-Dfdw5Iaq.js} +4 -2
- package/components/mui_extended/Breadcrumbs/{index.4a44883c.js → index-DTS7rOZH.js} +1 -2
- package/components/mui_extended/Button/{index.3d14e3e9.js → index-CksGG1B8.js} +33 -13
- package/components/mui_extended/Button/styles.d.ts +1 -1
- package/components/mui_extended/{CheckBox.5dc01b37.js → CheckBox-CjxjIrmN.js} +4 -2
- package/components/mui_extended/IconButton/{index.7b6c1ee3.js → index-OMq0pPK0.js} +42 -22
- package/components/mui_extended/IconButton/types.d.ts +18 -0
- package/components/mui_extended/MenuActions/MenuActions.d.ts +5 -0
- package/components/mui_extended/MenuActions/constant.d.ts +5 -0
- package/components/mui_extended/MenuActions/dictionary.d.ts +7 -0
- package/components/mui_extended/MenuActions/index-De7dpdBH.js +202 -0
- package/components/mui_extended/MenuActions/index.d.ts +2 -5
- package/components/mui_extended/MenuActions/slots/MenuActionsEnum.d.ts +9 -0
- package/components/mui_extended/MenuActions/slots/MenuActionsSlots.d.ts +24 -0
- package/components/mui_extended/MenuActions/slots/index.d.ts +2 -0
- package/components/mui_extended/MenuActions/types.d.ts +11 -2
- package/components/mui_extended/Pager/{index.b28a2103.js → index-k7SRq6Jo.js} +8 -5
- package/components/mui_extended/Popover/{index.a7da93f1.js → index-BnKsmvtw.js} +39 -27
- package/components/mui_extended/Stack/{index.99de8138.js → index-C9YEChZB.js} +3 -1
- package/components/mui_extended/Tab/{index.5c6a6801.js → index-CpdHav0V.js} +9 -3
- package/components/mui_extended/Tabs/styles.d.ts +1 -1
- package/components/mui_extended/ToggleButton/{index.86098567.js → index-CS1mz-lH.js} +2 -2
- package/components/mui_extended/ToggleIconButton/{index.cbfe1cad.js → index-BNQrQ6-b.js} +3 -2
- package/components/mui_extended/Tooltip/{index.49bb5ee1.js → index-B8QUytCK.js} +2 -0
- package/components/mui_extended/Typography/{index.8c0801e4.js → index-W88rbpsJ.js} +4 -2
- package/components/popups/PopupsProvider/{index.9a23e1d0.js → index-DhSxmtfJ.js} +1 -2
- package/components/popups/PopupsViewer/{index.52653047.js → index-Dn0XOI6q.js} +10 -7
- package/components/popups/PopupsViewer/slots/{popupsViewerSlots.69dd2614.js → popupsViewerSlots-Db8QAmEE.js} +4 -4
- package/contexts/ModalContext/{index.799110fe.js → index-DkUBXDpR.js} +1 -1
- package/contexts/RHFormContext/{index.f9d41b99.js → index-Ct48jRjb.js} +3 -1
- package/hooks/index.d.ts +1 -0
- package/hooks/useFormAddEdit/{index.8947ee59.js → index-BkBJNq8b.js} +2 -2
- package/hooks/useInterval/index.d.ts +7 -0
- package/hooks/useModal/{index.eb857f6e.js → index-CTAwKk5D.js} +2 -3
- package/hooks/useSizeContainer/{index.3c48670c.js → index-D4hDjM1P.js} +2 -0
- package/hooks/useTab/{index.9ad15247.js → index-PXnpiLMx.js} +1 -1
- package/index.js +153 -244
- package/package.json +1 -1
- package/{react-data-grid.c5377916.js → react-data-grid-BfYuZ6AK.js} +59 -110
- package/{react-draggable.079122b0.js → react-draggable-DsCPdgQP.js} +238 -57
- package/{react-json-view.57125fcf.js → react-json-view-bhqIAaNg.js} +277 -467
- package/{react-resizable.330f1499.js → react-resizable-eBbFl2dX.js} +75 -37
- package/{react-spinners.342a6578.js → react-spinners-TpKN9lZg.js} +6 -8
- package/{react-splitter-layout.8b1655c8.js → react-splitter-layout-C-JTsNGs.js} +14 -23
- package/style.css +1 -65
- package/styles/{DynamicFilter.0713a406.js → DynamicFilter-CJFsIegc.js} +1 -1
- package/styles/MenuActions.styles.d.ts +2 -0
- package/styles/{index.db9e7ddb.js → index-C-MsxWtr.js} +90 -25
- package/utils/{index.f77cc2ab.js → index-DiMrtgIu.js} +26 -51
- package/components/LanguagePopover/index.2a7e40fc.js +0 -168
- package/components/hook-form/RHFTextField/index.80b98b98.js +0 -296
- package/components/mui_extended/MenuActions/classes/constants.d.ts +0 -1
- package/components/mui_extended/MenuActions/classes/index.d.ts +0 -7
- package/components/mui_extended/MenuActions/classes/types.d.ts +0 -7
- package/components/mui_extended/MenuActions/icons.d.ts +0 -3
- package/components/mui_extended/MenuActions/index.11d777bb.js +0 -167
- package/components/mui_extended/MenuActions/styles.d.ts +0 -5
- /package/{commonjs.565e6834.js → commonjs-BfYxJMv3.js} +0 -0
- /package/components/DataGrid/{constants.e334cd50.js → constants-8L7QgBKi.js} +0 -0
- /package/components/DynamicFilter/{constants.095f1dbb.js → constants-ByqmFATV.js} +0 -0
- /package/components/DynamicFilter/slots/{SlotsEnum.104a03d4.js → SlotsEnum-cawFeNzx.js} +0 -0
- /package/components/DynamicFilter/slots/{index.36b12be1.js → index-l0sNRNKZ.js} +0 -0
- /package/components/ScrollToTop/{index.e06f98f6.js → index-TxORk5dB.js} +0 -0
- /package/components/WrapperComponent/{index.57964195.js → index-BHV-CsDU.js} +0 -0
- /package/components/animate/{features.0fbf41e1.js → features-BbnE33u3.js} +0 -0
- /package/components/animate/variants/{container.11f82b76.js → container-Dmpr6tg5.js} +0 -0
- /package/components/animate/variants/{index.7a912140.js → index-l0sNRNKZ.js} +0 -0
- /package/components/animate/variants/{transition.bd46b9ce.js → transition-B9W5SWTa.js} +0 -0
- /package/components/areas/components/{index.558684b3.js → index-l0sNRNKZ.js} +0 -0
- /package/components/areas/{constants.66529246.js → constants-rqODZNZe.js} +0 -0
- /package/components/areas/contexts/DynamicMFParmsContext/{index.3d9ad0ad.js → index-22c6E7vK.js} +0 -0
- /package/components/areas/contexts/WindowToolsMFContext/{index.992ae7a3.js → index-DkE30fhm.js} +0 -0
- /package/components/areas/contexts/{index.24025b97.js → index-l0sNRNKZ.js} +0 -0
- /package/components/areas/{dictionary.08cfc4c9.js → dictionary-YUsP9beq.js} +0 -0
- /package/components/areas/hooks/{index.d9dc1e21.js → index-l0sNRNKZ.js} +0 -0
- /package/components/areas/{icons.01fa3bcc.js → icons-CwFr-alN.js} +0 -0
- /package/components/areas/{index.4cc6a221.js → index-B_Odny9h.js} +0 -0
- /package/components/hook-form/RHFMultiCheckbox/{index.437e6ba3.js → index-BARudV1A.js} +0 -0
- /package/components/hook-form/RHFSelect/{index.c6c60ecc.js → index-LdwRuFz-.js} +0 -0
- /package/components/maps/{index.13bb982c.js → index-Ci-7-FHg.js} +0 -0
- /package/components/mui_extended/BoxIcon/{index.d61e7ac5.js → index-BUTJ2tKw.js} +0 -0
- /package/components/mui_extended/CircularProgress/{index.967e70b7.js → index-Bnnti_G6.js} +0 -0
- /package/components/mui_extended/LinearProgress/{index.4092bb69.js → index-CGgW8jq2.js} +0 -0
- /package/components/mui_extended/LinkWithRoute/{index.288c51f3.js → index-BC2miUjR.js} +0 -0
- /package/components/mui_extended/{index.b606cd9d.js → index-l0sNRNKZ.js} +0 -0
- /package/components/popups/PopupsViewer/{constants.29247547.js → constants-DuyD7aCn.js} +0 -0
- /package/components/popups/PopupsViewer/{icons.066abd43.js → icons-BUujqqbu.js} +0 -0
- /package/components/popups/PopupsViewer/slots/{index.37ef2263.js → index-B98CiRLa.js} +0 -0
- /package/components/popups/{index.c5eae682.js → index-l0sNRNKZ.js} +0 -0
- /package/hocs/withToggle/{index.548aeace.js → index-C1_DMZD3.js} +0 -0
- /package/hooks/useFormReadyForUpdate/{index.f60f500e.js → index-B3HygFCM.js} +0 -0
- /package/hooks/useStateRef/{index.538edb89.js → index-C3P6ZK3m.js} +0 -0
- /package/test/{constants_no_mock.86c553a9.js → constants_no_mock-CF-669v-.js} +0 -0
- /package/test/{getNameDataTestId.0faeade8.js → getNameDataTestId-BaBTWhBr.js} +0 -0
package/@types/types.d.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { ComponentsOverrides, ComponentsVariants, Theme as MuiTheme } from '@mui/material/styles';
|
|
2
2
|
|
|
3
3
|
import { DynamicFilterSlotsType, DynamicFilterOwnerState } from '../components/DynamicFilter/types';
|
|
4
|
+
import {
|
|
5
|
+
MenuActionsOwnerState,
|
|
6
|
+
MenuActionsSlotsType,
|
|
7
|
+
} from '../components/mui_extended/MenuActions/types';
|
|
8
|
+
import {
|
|
9
|
+
RHFInputNumberSpinnerOwnerState,
|
|
10
|
+
RHFInputNumberSpinnerSlotsType,
|
|
11
|
+
} from '../components/hook-form/RHFInputNumberSpinner/types';
|
|
12
|
+
|
|
4
13
|
import {
|
|
5
14
|
PopupViewerSlotsType,
|
|
6
15
|
PopupsViewerOwnerState,
|
|
@@ -16,6 +25,8 @@ declare module '@mui/material/styles' {
|
|
|
16
25
|
// Define the slots in the theme
|
|
17
26
|
interface ComponentNameToClassKey {
|
|
18
27
|
M4LDynamicFilter: DynamicFilterSlotsType;
|
|
28
|
+
M4LMenuActions: MenuActionsSlotsType;
|
|
29
|
+
M4LRHFInputNumberSpinner: RHFInputNumberSpinnerSlotsType;
|
|
19
30
|
M4LPopupsViewer: PopupViewerSlotsType;
|
|
20
31
|
M4LToastContainer: ToastContainerSlotsType;
|
|
21
32
|
}
|
|
@@ -23,6 +34,8 @@ declare module '@mui/material/styles' {
|
|
|
23
34
|
interface ComponentsPropsList {
|
|
24
35
|
// Extend ComponentsProps or ComponentsOwnerState(this extend ComponentProps)
|
|
25
36
|
M4LDynamicFilter: Partial<DynamicFilterOwnerState>;
|
|
37
|
+
M4LMenuActions: Partial<MenuActionsOwnerState>;
|
|
38
|
+
M4LRHFInputNumberSpinner: Partial<RHFInputNumberSpinnerOwnerState>;
|
|
26
39
|
M4LPopupsViewer: Partial<PopupsViewerOwnerState>;
|
|
27
40
|
M4LToastContainer: Partial<ToastContainerOwnerState>;
|
|
28
41
|
}
|
|
@@ -33,15 +46,25 @@ declare module '@mui/material/styles' {
|
|
|
33
46
|
styleOverrides?: ComponentsOverrides<Theme>['M4LDynamicFilter'];
|
|
34
47
|
variants?: ComponentsVariants['M4LDynamicFilter'];
|
|
35
48
|
};
|
|
36
|
-
|
|
37
|
-
defaultProps?: ComponentsPropsList['
|
|
38
|
-
styleOverrides?: ComponentsOverrides<Theme>['
|
|
39
|
-
variants?: ComponentsVariants['
|
|
49
|
+
M4LMenuActions?: {
|
|
50
|
+
defaultProps?: ComponentsPropsList['M4LMenuActions'];
|
|
51
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LMenuActions'];
|
|
52
|
+
variants?: ComponentsVariants['M4LMenuActions'];
|
|
40
53
|
};
|
|
41
|
-
|
|
42
|
-
defaultProps?: ComponentsPropsList['
|
|
43
|
-
styleOverrides?: ComponentsOverrides<Theme>['
|
|
44
|
-
variants?: ComponentsVariants['
|
|
54
|
+
M4LRHFInputNumberSpinner?: {
|
|
55
|
+
defaultProps?: ComponentsPropsList['M4LRHFInputNumberSpinner'];
|
|
56
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LRHFInputNumberSpinner'];
|
|
57
|
+
variants?: ComponentsVariants['M4LRHFInputNumberSpinner'];
|
|
58
|
+
M4LPopupsViewer?: {
|
|
59
|
+
defaultProps?: ComponentsPropsList['M4LPopupsViewer'];
|
|
60
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LPopupsViewer'];
|
|
61
|
+
variants?: ComponentsVariants['M4LPopupsViewer'];
|
|
62
|
+
};
|
|
63
|
+
M4LToastContainer?: {
|
|
64
|
+
defaultProps?: ComponentsPropsList['M4LToastContainer'];
|
|
65
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LToastContainer'];
|
|
66
|
+
variants?: ComponentsVariants['M4LToastContainer'];
|
|
67
|
+
};
|
|
45
68
|
};
|
|
46
69
|
}
|
|
47
70
|
}
|
|
@@ -3,16 +3,17 @@ import { useEnvironment, useModuleDictionary, useNetwork } from "@m4l/core";
|
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass, styled, useTheme, ButtonBase } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { T as TEST_PROP_ID } from "../../test/constants_no_mock
|
|
7
|
-
import { A as Avatar } from "../mui_extended/Avatar/index.
|
|
8
|
-
import { C as CircularProgress } from "../mui_extended/CircularProgress/index.
|
|
9
|
-
import { P as Popover } from "../mui_extended/Popover/index.
|
|
10
|
-
import { I as Icon } from "../Icon/index.
|
|
6
|
+
import { T as TEST_PROP_ID } from "../../test/constants_no_mock-CF-669v-.js";
|
|
7
|
+
import { A as Avatar } from "../mui_extended/Avatar/index-n5hK7nJD.js";
|
|
8
|
+
import { C as CircularProgress } from "../mui_extended/CircularProgress/index-Bnnti_G6.js";
|
|
9
|
+
import { P as Popover } from "../mui_extended/Popover/index-BnKsmvtw.js";
|
|
10
|
+
import { I as Icon } from "../Icon/index-CueLDD9j.js";
|
|
11
11
|
import clsx from "clsx";
|
|
12
12
|
const componentName = "M4LAccountPopover";
|
|
13
13
|
generateUtilityClasses(
|
|
14
14
|
componentName,
|
|
15
15
|
[
|
|
16
|
+
/* elements */
|
|
16
17
|
"root",
|
|
17
18
|
"containerUserName",
|
|
18
19
|
"containerUserEmail",
|
|
@@ -30,6 +31,7 @@ generateUtilityClasses(
|
|
|
30
31
|
"containerProgress",
|
|
31
32
|
"logOut",
|
|
32
33
|
"menuItem"
|
|
34
|
+
/* states or variants of elements */
|
|
33
35
|
]
|
|
34
36
|
);
|
|
35
37
|
function getAccountPopoverClassesUtilityClass(slot) {
|
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { A as AppBarRoot } from "../../styles/index.
|
|
2
|
+
import { A as AppBarRoot } from "../../styles/index-C-MsxWtr.js";
|
|
3
3
|
import { useResponsiveContainerStore } from "@m4l/graphics";
|
|
4
4
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
5
|
-
import { T as TEST_PROP_ID } from "../../test/constants_no_mock
|
|
5
|
+
import { T as TEST_PROP_ID } from "../../test/constants_no_mock-CF-669v-.js";
|
|
6
6
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
|
-
import { I as Image } from "../Image/index.
|
|
9
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
10
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
8
|
+
import { I as Image } from "../Image/index-By5vsRzf.js";
|
|
9
|
+
import { T as Typography } from "../mui_extended/Typography/index-W88rbpsJ.js";
|
|
10
|
+
import { I as IconButton } from "../mui_extended/IconButton/index-OMq0pPK0.js";
|
|
11
11
|
const APPBAR_PREFIX = "M4LAppBar";
|
|
12
12
|
const getNameDataTestId = (KEY) => {
|
|
13
13
|
return `${APPBAR_PREFIX}-${KEY}`;
|
|
14
14
|
};
|
|
15
15
|
const componentName = "M4LAppBar";
|
|
16
16
|
generateUtilityClasses(componentName, [
|
|
17
|
+
/* elements */
|
|
17
18
|
"root",
|
|
18
19
|
"containerChilds",
|
|
19
20
|
"containerIconMenuToggle",
|
|
20
21
|
"iconMenuToggle",
|
|
21
22
|
"containerLogo",
|
|
22
23
|
"containerImageTypography"
|
|
24
|
+
/* states or variants of elements */
|
|
23
25
|
]);
|
|
24
26
|
function getAppBarClassesUtilityClass(slot) {
|
|
25
27
|
return generateUtilityClass(componentName, slot);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { FlagsProvider, ModuleDictionaryProvider, ModuleSkeletonProvider, ModulePrivilegesProvider } from "@m4l/core";
|
|
3
3
|
import { useLocales } from "@m4l/graphics";
|
|
4
|
-
import { M as ModalProvider } from "../../contexts/ModalContext/index.
|
|
4
|
+
import { M as ModalProvider } from "../../contexts/ModalContext/index-DkUBXDpR.js";
|
|
5
5
|
function BaseModule(props) {
|
|
6
6
|
const {
|
|
7
7
|
children,
|
package/components/CommonActions/components/ActionCancel/{index.e67885bc.js → index-D_42VfUR.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useModuleDictionary } from "@m4l/core";
|
|
3
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
4
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index.
|
|
3
|
+
import { B as Button } from "../../../mui_extended/Button/index-CksGG1B8.js";
|
|
4
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index-ChW1FuFf.js";
|
|
5
5
|
const ActionCancel = (props) => {
|
|
6
6
|
const { getLabel } = useModuleDictionary();
|
|
7
7
|
const classes = useCommonActionsUtilityClasses();
|
package/components/CommonActions/components/ActionFormCancel/{index.92988013.js → index-DL7fDBi6.js}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useFormContext, useFormState } from "react-hook-form";
|
|
3
3
|
import { useModuleDictionary } from "@m4l/core";
|
|
4
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
4
|
+
import { B as Button } from "../../../mui_extended/Button/index-CksGG1B8.js";
|
|
5
5
|
import { useCallback, useEffect } from "react";
|
|
6
|
-
import { u as useModal } from "../../../../hooks/useModal/index.
|
|
7
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index.
|
|
8
|
-
import { u as useWindowToolsMF } from "../../../areas/hooks/useWindowToolsMF/index.
|
|
9
|
-
import { W as WindowConfirm } from "../../../modal/WindowConfirm.
|
|
6
|
+
import { u as useModal } from "../../../../hooks/useModal/index-CTAwKk5D.js";
|
|
7
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index-ChW1FuFf.js";
|
|
8
|
+
import { u as useWindowToolsMF } from "../../../areas/hooks/useWindowToolsMF/index-BECQfhbC.js";
|
|
9
|
+
import { W as WindowConfirm } from "../../../modal/WindowConfirm-BaB3Ojgu.js";
|
|
10
10
|
function ActionFormCancel() {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const { openModal } = useModal();
|
package/components/CommonActions/components/ActionFormIntro/{index.f8867ae9.js → index-i3HmOpoU.js}
RENAMED
|
@@ -2,8 +2,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useFormContext, useFormState } from "react-hook-form";
|
|
3
3
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
4
4
|
import { Skeleton } from "@mui/material";
|
|
5
|
-
import { L as LoadingButton } from "../../../mui_extended/Button/index.
|
|
6
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index.
|
|
5
|
+
import { L as LoadingButton } from "../../../mui_extended/Button/index-CksGG1B8.js";
|
|
6
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index-ChW1FuFf.js";
|
|
7
7
|
function ActionFormIntro(props) {
|
|
8
8
|
const { getLabel } = useModuleDictionary();
|
|
9
9
|
const isSkeleton = useModuleSkeleton();
|
package/components/CommonActions/components/ActionIntro/{index.e58eb0c4.js → index-i5875EXe.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useModuleDictionary } from "@m4l/core";
|
|
3
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
4
|
-
import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock
|
|
5
|
-
import { u as useCommonActionsUtilityClasses } from "../Actions/index.
|
|
3
|
+
import { B as Button } from "../../../mui_extended/Button/index-CksGG1B8.js";
|
|
4
|
+
import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock-CF-669v-.js";
|
|
5
|
+
import { u as useCommonActionsUtilityClasses } from "../Actions/index-ChW1FuFf.js";
|
|
6
6
|
const ACTIONINTRO_TEST_ID = "m4lactions";
|
|
7
7
|
const ActionIntro = (props) => {
|
|
8
8
|
const { getLabel } = useModuleDictionary();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock
|
|
4
|
+
import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock-CF-669v-.js";
|
|
5
5
|
import { generateUtilityClasses } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
-
import { g as getComponentUtilityClass } from "../../../../utils/index.
|
|
8
|
-
import { W as WrapperStandarActions } from "../../../../styles/index.
|
|
7
|
+
import { g as getComponentUtilityClass } from "../../../../utils/index-DiMrtgIu.js";
|
|
8
|
+
import { W as WrapperStandarActions } from "../../../../styles/index-C-MsxWtr.js";
|
|
9
9
|
function getCommonActionsDictionary() {
|
|
10
10
|
return ["common_actions"];
|
|
11
11
|
}
|
|
@@ -21,6 +21,7 @@ const componentName = "M4LCommonActions";
|
|
|
21
21
|
generateUtilityClasses(
|
|
22
22
|
componentName,
|
|
23
23
|
[
|
|
24
|
+
/* elements */
|
|
24
25
|
"root",
|
|
25
26
|
"skeleton",
|
|
26
27
|
"actionCancel",
|
|
@@ -28,6 +29,7 @@ generateUtilityClasses(
|
|
|
28
29
|
"actionFormIntro",
|
|
29
30
|
"actionIntro",
|
|
30
31
|
"wrapperActions"
|
|
32
|
+
/* states or variants of elements */
|
|
31
33
|
]
|
|
32
34
|
);
|
|
33
35
|
const useCommonActionsUtilityClasses = () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { getPropertyByString } from "@m4l/core";
|
|
3
|
-
import { B as BooleanFormatter } from "../../../formatters/BooleanFormatter/index.
|
|
3
|
+
import { B as BooleanFormatter } from "../../../formatters/BooleanFormatter/index-Bc2l6GTX.js";
|
|
4
4
|
function ColumnBooleanFormatter(props) {
|
|
5
5
|
const { fieldValue, presentationType, Component } = props;
|
|
6
6
|
return (obProps) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { getPropertyByString } from "@m4l/core";
|
|
3
|
-
import { C as ConcatenatedFormatter } from "../../../formatters/index.
|
|
3
|
+
import { C as ConcatenatedFormatter } from "../../../formatters/index-Botdzyt2.js";
|
|
4
4
|
function ColumnConcatenatedValueFormatter(props) {
|
|
5
5
|
const { fieldValue, fieldSeparator, Component } = props;
|
|
6
6
|
return (obProps) => {
|
package/components/DataGrid/formatters/ColumnDateFormatter/{index.e00d0cf2.js → index-CKg8CJ6A.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { getPropertyByString } from "@m4l/core";
|
|
3
|
-
import { D as DateFormatter } from "../../../formatters/DateFormatter/index.
|
|
3
|
+
import { D as DateFormatter } from "../../../formatters/DateFormatter/index-CGcRZ8BA.js";
|
|
4
4
|
function ColumnDateFormatter(props) {
|
|
5
5
|
const { fieldValue, presentationType, Component } = props;
|
|
6
6
|
return (obProps) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Checkbox } from "@mui/material";
|
|
3
|
-
import { d as dataGridClasses } from "../../index.
|
|
3
|
+
import { d as dataGridClasses } from "../../index-EgaRUtbL.js";
|
|
4
4
|
function ColumnInteractiveCheckFormatter(props) {
|
|
5
5
|
const { row, onRowChange, column } = props;
|
|
6
6
|
const handleChange = () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { getPropertyByString } from "@m4l/core";
|
|
3
|
-
import { W as WrapperComponent } from "../../../WrapperComponent/index.
|
|
3
|
+
import { W as WrapperComponent } from "../../../WrapperComponent/index-BHV-CsDU.js";
|
|
4
4
|
function ColumnNestedValueFormatter(props) {
|
|
5
5
|
const { fieldValue, Component = WrapperComponent } = props;
|
|
6
6
|
return (obProps) => {
|
package/components/DataGrid/formatters/ColumnPointsFormatter/{index.ab152484.js → index-BXGW2CsK.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { P as PointsFormatter } from "../../../formatters/PointsFormatter/index.
|
|
2
|
+
import { P as PointsFormatter } from "../../../formatters/PointsFormatter/index-C7sR8iqk.js";
|
|
3
3
|
function ColumnPointsFormatter(props) {
|
|
4
4
|
return (obProps) => {
|
|
5
5
|
return /* @__PURE__ */ jsx(PointsFormatter, { obProps, ...props });
|
package/components/DataGrid/formatters/ColumnPriceFormatter/{index.bf9d9e60.js → index-O11tBykn.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { P as PriceFormatter } from "../../../formatters/PriceFormatter/index.
|
|
2
|
+
import { P as PriceFormatter } from "../../../formatters/PriceFormatter/index-CsvRawmc.js";
|
|
3
3
|
function ColumnPriceFormatter(props) {
|
|
4
4
|
return (obProps) => {
|
|
5
5
|
return /* @__PURE__ */ jsx(PriceFormatter, { obProps, ...props });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { S as SelectCellFormatter } from "../../../../react-data-grid.
|
|
2
|
+
import { S as SelectCellFormatter } from "../../../../react-data-grid-BfYuZ6AK.js";
|
|
3
3
|
function ColumnSetCheckFormatter(parameters) {
|
|
4
4
|
const { field, disabledGetter, rowKeyGetter, useHook } = parameters;
|
|
5
5
|
const formatter = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { U as UncertaintyFormatter } from "../../../formatters/UncertaintyFormatter/index.
|
|
2
|
+
import { U as UncertaintyFormatter } from "../../../formatters/UncertaintyFormatter/index-B9ESVEVp.js";
|
|
3
3
|
function ColumnUncertaintyFormatter(props) {
|
|
4
4
|
return (obProps) => {
|
|
5
5
|
return /* @__PURE__ */ jsx(UncertaintyFormatter, { obProps, ...props });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { d as dataGridClasses } from "../index.
|
|
3
|
-
import { I as Icon } from "../../Icon/index.
|
|
2
|
+
import { d as dataGridClasses } from "../index-EgaRUtbL.js";
|
|
3
|
+
import { I as Icon } from "../../Icon/index-CueLDD9j.js";
|
|
4
4
|
function ColumnIconFormatter(props) {
|
|
5
5
|
const { getIconUrl } = props;
|
|
6
6
|
return (obProps) => {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index.
|
|
2
|
-
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.
|
|
1
|
+
import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index-KryIxH_j.js";
|
|
2
|
+
import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index-k7SRq6Jo.js";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import { a as WrapperSkeleton, D as DataGridRoot } from "../../styles/index.
|
|
4
|
+
import { a as WrapperSkeleton, D as DataGridRoot } from "../../styles/index-C-MsxWtr.js";
|
|
5
5
|
import { forwardRef, createContext, useState, useMemo, useEffect, useCallback, useContext, useRef, useLayoutEffect } from "react";
|
|
6
|
-
import { u as useRowSelection, S as SelectCellFormatter, H as HeaderRenderer, D as DataGrid$1 } from "../../react-data-grid.
|
|
6
|
+
import { u as useRowSelection, S as SelectCellFormatter, H as HeaderRenderer, D as DataGrid$1 } from "../../react-data-grid-BfYuZ6AK.js";
|
|
7
7
|
import { useDrag, useDrop, DndProvider } from "react-dnd";
|
|
8
8
|
import { HTML5Backend } from "react-dnd-html5-backend";
|
|
9
9
|
import { SvgIcon, Checkbox, InputBase, Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
10
|
-
import { D as DATAGRID_SELECT_COLUMN_KEY, c as componentName, a as DATAGRID_PREFIX_NAME } from "./constants.
|
|
10
|
+
import { D as DATAGRID_SELECT_COLUMN_KEY, c as componentName, a as DATAGRID_PREFIX_NAME } from "./constants-8L7QgBKi.js";
|
|
11
11
|
import { voidFunction, useModuleDictionary, useModuleSkeleton, getPropertyByString } from "@m4l/core";
|
|
12
|
-
import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.
|
|
12
|
+
import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index-BF4pV_-K.js";
|
|
13
13
|
import { unstable_composeClasses } from "@mui/base";
|
|
14
|
-
import { T as TEST_PROP_ID } from "../../test/constants_no_mock
|
|
15
|
-
import { g as getNameDataTestId } from "../../test/getNameDataTestId.
|
|
14
|
+
import { T as TEST_PROP_ID } from "../../test/constants_no_mock-CF-669v-.js";
|
|
15
|
+
import { g as getNameDataTestId } from "../../test/getNameDataTestId-BaBTWhBr.js";
|
|
16
16
|
function CheckboxIcon(props) {
|
|
17
17
|
return /* @__PURE__ */ jsx(SvgIcon, { ...props, children: /* @__PURE__ */ jsx("path", { d: "M17 3a4 4 0 014 4v10a4 4 0 01-4 4H7a4 4 0 01-4-4V7a4 4 0 014-4h10zm0 2H7a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2z" }) });
|
|
18
18
|
}
|
|
@@ -23,6 +23,7 @@ function CheckboxIndeterminateIcon(props) {
|
|
|
23
23
|
return /* @__PURE__ */ jsx(SvgIcon, { ...props, children: /* @__PURE__ */ jsx("path", { d: "M17 3a4 4 0 014 4v10a4 4 0 01-4 4H7a4 4 0 01-4-4V7a4 4 0 014-4h10zm-1.75 8h-6.5a.75.75 0 00-.75.75v.5c0 .414.336.75.75.75h6.5a.75.75 0 00.75-.75v-.5a.75.75 0 00-.75-.75z" }) });
|
|
24
24
|
}
|
|
25
25
|
const CheckboxFormatter = forwardRef(
|
|
26
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
26
27
|
function CheckboxFormatter2({ onChange, checked, ...props }, _ref) {
|
|
27
28
|
function handleChange(e) {
|
|
28
29
|
onChange(e.target.checked, e.nativeEvent.shiftKey);
|
|
@@ -149,7 +150,10 @@ function DataGridProvider(props) {
|
|
|
149
150
|
/* @__PURE__ */ new Map()
|
|
150
151
|
);
|
|
151
152
|
const [columnsConfig, setColumnsConfigOptions] = useState(
|
|
152
|
-
() =>
|
|
153
|
+
() => (
|
|
154
|
+
//
|
|
155
|
+
[]
|
|
156
|
+
)
|
|
153
157
|
);
|
|
154
158
|
const [rowsFilterCount, setRowFilterCount] = useState(rowsCount);
|
|
155
159
|
const [currentRowHeightVariant, setCurrentRowHeightVariant] = useState(() => {
|
|
@@ -192,8 +196,7 @@ function DataGridProvider(props) {
|
|
|
192
196
|
);
|
|
193
197
|
const onChangeColumnsOrder = useCallback(
|
|
194
198
|
(sourceKey, targetKey) => {
|
|
195
|
-
if (sourceKey === targetKey)
|
|
196
|
-
return;
|
|
199
|
+
if (sourceKey === targetKey) return;
|
|
197
200
|
const sourceColumnIndex = columnsConfig.findIndex((c) => c.key === sourceKey);
|
|
198
201
|
const targetColumnIndex = columnsConfig.findIndex((c) => c.key === targetKey);
|
|
199
202
|
const reorderedColumnsConfig = [...columnsConfig];
|
|
@@ -263,8 +266,7 @@ function DataGridProvider(props) {
|
|
|
263
266
|
}
|
|
264
267
|
function useDataGrid() {
|
|
265
268
|
const context = useContext(DataGridContext);
|
|
266
|
-
if (!context)
|
|
267
|
-
throw new Error("useDataGrid context must be use inside DataGridContext");
|
|
269
|
+
if (!context) throw new Error("useDataGrid context must be use inside DataGridContext");
|
|
268
270
|
return context;
|
|
269
271
|
}
|
|
270
272
|
const filterColumnClassName = "filter-cell";
|
|
@@ -306,8 +308,7 @@ function SelectFormatter(props) {
|
|
|
306
308
|
const SelectColumnHeaderRenderer = (props) => {
|
|
307
309
|
const { rows, rowKeyGetter, onCheckedRowsChange, checkedRows } = useDataGrid();
|
|
308
310
|
const onAllRowsCheckedChange = (checked) => {
|
|
309
|
-
if (!onCheckedRowsChange)
|
|
310
|
-
return;
|
|
311
|
+
if (!onCheckedRowsChange) return;
|
|
311
312
|
if (checked) {
|
|
312
313
|
onCheckedRowsChange(new Set(rows.map((r) => rowKeyGetter(r))));
|
|
313
314
|
} else {
|
|
@@ -339,8 +340,7 @@ const SelectColumn = {
|
|
|
339
340
|
function useFocusRef(isSelected) {
|
|
340
341
|
const ref = useRef(null);
|
|
341
342
|
useLayoutEffect(() => {
|
|
342
|
-
if (!isSelected)
|
|
343
|
-
return;
|
|
343
|
+
if (!isSelected) return;
|
|
344
344
|
ref.current?.focus({ preventScroll: true });
|
|
345
345
|
}, [isSelected]);
|
|
346
346
|
return {
|
|
@@ -414,14 +414,12 @@ function DraggableHeaderRenderer(props) {
|
|
|
414
414
|
});
|
|
415
415
|
const handleChange = (e) => {
|
|
416
416
|
if (activeFilters) {
|
|
417
|
-
if (onChangeFilter)
|
|
418
|
-
onChangeFilter(column, e.target.value);
|
|
417
|
+
if (onChangeFilter) onChangeFilter(column, e.target.value);
|
|
419
418
|
}
|
|
420
419
|
setFilter(e.target.value);
|
|
421
420
|
};
|
|
422
421
|
useEffect(() => {
|
|
423
|
-
if (!activeFilters)
|
|
424
|
-
setFilter("");
|
|
422
|
+
if (!activeFilters) setFilter("");
|
|
425
423
|
}, [activeFilters]);
|
|
426
424
|
const newColumn = { ...column };
|
|
427
425
|
if (newColumn.withinHeaderRenderer) {
|
|
@@ -441,9 +439,12 @@ function DraggableHeaderRenderer(props) {
|
|
|
441
439
|
display: "flex",
|
|
442
440
|
flexDirection: "column",
|
|
443
441
|
lineHeight: "1",
|
|
442
|
+
// activeFilters && column.withFilter ? '30px' : '60px',
|
|
444
443
|
height: "100%",
|
|
445
444
|
justifyContent: "center",
|
|
446
445
|
textAlign: "center"
|
|
446
|
+
// alignItems: 'center',
|
|
447
|
+
// justifyContent: 'space-evenly'
|
|
447
448
|
},
|
|
448
449
|
children: [
|
|
449
450
|
/* @__PURE__ */ jsx(HeaderRenderer, { column: newColumn, isCellSelected, ...others }),
|
|
@@ -456,7 +457,9 @@ function DraggableHeaderRenderer(props) {
|
|
|
456
457
|
width: "100%",
|
|
457
458
|
display: "flex",
|
|
458
459
|
alignItems: "center",
|
|
460
|
+
// flexGrow: 1,
|
|
459
461
|
height: `${filterHeight}px`
|
|
462
|
+
// paddingLeft: '2px', paddingRight: '2px'
|
|
460
463
|
},
|
|
461
464
|
children: /* @__PURE__ */ jsx(
|
|
462
465
|
InputBase,
|
|
@@ -522,7 +525,10 @@ const getInOrderColumns = (columns, hasCheckedRows, columnsConfig, columnsWidths
|
|
|
522
525
|
const visible = columnConfigIndex > -1 ? columnsConfig[columnConfigIndex].visible : true;
|
|
523
526
|
return !column.hidden && visible;
|
|
524
527
|
}).sort(
|
|
525
|
-
(a, b) =>
|
|
528
|
+
(a, b) => (
|
|
529
|
+
// Sort for index
|
|
530
|
+
getColumIndex(a.key, columnsConfig) - getColumIndex(b.key, columnsConfig)
|
|
531
|
+
)
|
|
526
532
|
).map((columnSorted) => {
|
|
527
533
|
const columnConfigIndex = getColumIndex(columnSorted.key, columnsConfig);
|
|
528
534
|
return {
|
|
@@ -577,6 +583,7 @@ const useSortColumnsRows = (sourceColumns, sourceRows) => {
|
|
|
577
583
|
getInOrderColumns(
|
|
578
584
|
sourceColumns,
|
|
579
585
|
!!checkedRows && !!onCheckedRowsChange,
|
|
586
|
+
//Si están seteados se habilita el múltipe
|
|
580
587
|
columnsConfig,
|
|
581
588
|
columnsWidths,
|
|
582
589
|
rowActionsGetter
|
|
@@ -615,8 +622,7 @@ const useSortColumnsRows = (sourceColumns, sourceRows) => {
|
|
|
615
622
|
}, [isSkeleton, columns, activeFilters, onChangeColumnsOrder]);
|
|
616
623
|
const finalRows = useMemo(() => {
|
|
617
624
|
const nextRows = sourceRows.filter((r) => {
|
|
618
|
-
if (!filters || filters.size === 0)
|
|
619
|
-
return true;
|
|
625
|
+
if (!filters || filters.size === 0) return true;
|
|
620
626
|
const iterator = filters.entries();
|
|
621
627
|
let valReturn = true;
|
|
622
628
|
for (let i = 0; i < filters.size; i++) {
|
|
@@ -641,8 +647,7 @@ const useSortColumnsRows = (sourceColumns, sourceRows) => {
|
|
|
641
647
|
} catch (error) {
|
|
642
648
|
continue;
|
|
643
649
|
}
|
|
644
|
-
if (!valReturn)
|
|
645
|
-
break;
|
|
650
|
+
if (!valReturn) break;
|
|
646
651
|
}
|
|
647
652
|
return valReturn;
|
|
648
653
|
});
|
|
@@ -728,6 +733,7 @@ function Table(props) {
|
|
|
728
733
|
) }) }) });
|
|
729
734
|
}
|
|
730
735
|
const dataGridClasses = generateUtilityClasses(componentName, [
|
|
736
|
+
/* elements */
|
|
731
737
|
"root",
|
|
732
738
|
"actions",
|
|
733
739
|
"withPager",
|
|
@@ -752,6 +758,7 @@ const dataGridClasses = generateUtilityClasses(componentName, [
|
|
|
752
758
|
"actionsConfigContainer",
|
|
753
759
|
"booleanFormatter",
|
|
754
760
|
"iconFormatter",
|
|
761
|
+
/* states or variants of elements */
|
|
755
762
|
"withActions"
|
|
756
763
|
]);
|
|
757
764
|
function getDataGridUtilityClass(slot) {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { u as useDataGrid, a as useFilters, b as dictionary } from "../../index.b37d6cab.js";
|
|
2
|
+
import { u as useDataGrid, a as useFilters, b as dictionary } from "../../index-EgaRUtbL.js";
|
|
4
3
|
import { useTheme, Skeleton } from "@mui/material";
|
|
5
|
-
import { b as DATAGRID_ACTIONS_COLUMN_KEY } from "../../constants.
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { b as DATAGRID_ACTIONS_COLUMN_KEY } from "../../constants-8L7QgBKi.js";
|
|
5
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index-De7dpdBH.js";
|
|
6
|
+
import { P as Pager } from "../../../mui_extended/Pager/index-k7SRq6Jo.js";
|
|
7
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index-OMq0pPK0.js";
|
|
8
8
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
9
9
|
import { useIsMobile, useResponsiveContainerStore } from "@m4l/graphics";
|
|
10
10
|
import { forwardRef, useRef, useState, useImperativeHandle, useMemo, useEffect, useCallback } from "react";
|
|
11
|
-
import { b as WrapperColumnsConfig, c as DivSelColumns, d as WrapperDataGrid, C as ColumnActions, D as DataGridRoot } from "../../../../styles/index.
|
|
12
|
-
import { D as DataGrid$1 } from "../../../../react-data-grid.
|
|
13
|
-
import { C as ColumnInteractiveCheckFormatter } from "../../formatters/ColumnInteractiveCheckFormatter/index.
|
|
14
|
-
import { u as useModal } from "../../../../hooks/useModal/index.
|
|
15
|
-
import { W as WindowBase } from "../../../modal/WindowBase.
|
|
16
|
-
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.
|
|
17
|
-
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.
|
|
18
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.
|
|
11
|
+
import { b as WrapperColumnsConfig, c as DivSelColumns, d as WrapperDataGrid, C as ColumnActions, D as DataGridRoot } from "../../../../styles/index-C-MsxWtr.js";
|
|
12
|
+
import { D as DataGrid$1 } from "../../../../react-data-grid-BfYuZ6AK.js";
|
|
13
|
+
import { C as ColumnInteractiveCheckFormatter } from "../../formatters/ColumnInteractiveCheckFormatter/index-DggW8-4n.js";
|
|
14
|
+
import { u as useModal } from "../../../../hooks/useModal/index-CTAwKk5D.js";
|
|
15
|
+
import { W as WindowBase } from "../../../modal/WindowBase-Ce6yRLcN.js";
|
|
16
|
+
import { A as Actions$1 } from "../../../CommonActions/components/Actions/index-ChW1FuFf.js";
|
|
17
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index-D_42VfUR.js";
|
|
18
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index-i5875EXe.js";
|
|
19
19
|
import { shallow } from "zustand/shallow";
|
|
20
20
|
function ActionsFormatter(props) {
|
|
21
21
|
const { rowActionsGetter, classes } = useDataGrid();
|
|
@@ -40,6 +40,7 @@ function ActionsFormatter(props) {
|
|
|
40
40
|
}
|
|
41
41
|
const ActionsColumn = {
|
|
42
42
|
key: DATAGRID_ACTIONS_COLUMN_KEY,
|
|
43
|
+
// name: getLabel(dictionary.LABEL_ACTIONS),
|
|
43
44
|
name: getActionLabel(),
|
|
44
45
|
width: 32,
|
|
45
46
|
minWidth: 32,
|
|
@@ -157,16 +158,14 @@ const ColumnsConfig = forwardRef((props, ref) => {
|
|
|
157
158
|
}, [columnsConfig]);
|
|
158
159
|
const rowSelectedIndex = useMemo(() => {
|
|
159
160
|
let rowIndex = -1;
|
|
160
|
-
if (selRows.size !== 1)
|
|
161
|
-
return rowIndex;
|
|
161
|
+
if (selRows.size !== 1) return rowIndex;
|
|
162
162
|
const iterator = selRows.entries();
|
|
163
163
|
const entry = iterator.next().value[1];
|
|
164
164
|
rowIndex = rows.findIndex((row) => row.key === entry);
|
|
165
165
|
return rowIndex;
|
|
166
166
|
}, [rows, selRows]);
|
|
167
167
|
const handleMoveFirst = () => {
|
|
168
|
-
if (rowSelectedIndex === -1)
|
|
169
|
-
return -1;
|
|
168
|
+
if (rowSelectedIndex === -1) return -1;
|
|
170
169
|
const newRows = [...rows];
|
|
171
170
|
newRows.splice(rowSelectedIndex, 1);
|
|
172
171
|
newRows.splice(0, 0, rows[rowSelectedIndex]);
|
|
@@ -174,8 +173,7 @@ const ColumnsConfig = forwardRef((props, ref) => {
|
|
|
174
173
|
setRows(newRows);
|
|
175
174
|
};
|
|
176
175
|
const handleMoveLast = () => {
|
|
177
|
-
if (rowSelectedIndex === -1)
|
|
178
|
-
return -1;
|
|
176
|
+
if (rowSelectedIndex === -1) return -1;
|
|
179
177
|
const newRows = [...rows];
|
|
180
178
|
newRows.splice(rowSelectedIndex, 1);
|
|
181
179
|
newRows.splice(newRows.length, 0, rows[rowSelectedIndex]);
|
|
@@ -183,8 +181,7 @@ const ColumnsConfig = forwardRef((props, ref) => {
|
|
|
183
181
|
setRows(newRows);
|
|
184
182
|
};
|
|
185
183
|
const handleMoveUpDownd = (position) => {
|
|
186
|
-
if (rowSelectedIndex === -1)
|
|
187
|
-
return -1;
|
|
184
|
+
if (rowSelectedIndex === -1) return -1;
|
|
188
185
|
const newRows = [...rows];
|
|
189
186
|
const element = newRows[rowSelectedIndex];
|
|
190
187
|
newRows.splice(rowSelectedIndex, 1);
|
|
@@ -198,6 +195,7 @@ const ColumnsConfig = forwardRef((props, ref) => {
|
|
|
198
195
|
return {
|
|
199
196
|
visible: rows[rowIndexFinded].visible,
|
|
200
197
|
frozen: rows[rowIndexFinded].frozen
|
|
198
|
+
// index: rowIndexFinded,
|
|
201
199
|
};
|
|
202
200
|
}
|
|
203
201
|
return void 0;
|
|
@@ -230,8 +228,7 @@ const ColumnsConfig = forwardRef((props, ref) => {
|
|
|
230
228
|
setRows(newRows);
|
|
231
229
|
};
|
|
232
230
|
const onRowClick = (row) => {
|
|
233
|
-
if (selRows.has(row.key))
|
|
234
|
-
return;
|
|
231
|
+
if (selRows.has(row.key)) return;
|
|
235
232
|
const mySet = /* @__PURE__ */ new Set([row.key]);
|
|
236
233
|
setSelRows(mySet);
|
|
237
234
|
};
|
|
@@ -374,11 +371,10 @@ const useModalSettings = () => {
|
|
|
374
371
|
};
|
|
375
372
|
return onClickSettings;
|
|
376
373
|
};
|
|
377
|
-
const useModalSettings$1 = useModalSettings;
|
|
378
374
|
function Settings() {
|
|
379
375
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
380
376
|
const { classes } = useDataGrid();
|
|
381
|
-
const modalSettings = useModalSettings
|
|
377
|
+
const modalSettings = useModalSettings();
|
|
382
378
|
return /* @__PURE__ */ jsx(
|
|
383
379
|
IconButton,
|
|
384
380
|
{
|
|
@@ -468,7 +464,7 @@ const MobileMenuActions = () => {
|
|
|
468
464
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
469
465
|
const { currentRowHeightVariant, setRowHeightVariant } = useDataGrid();
|
|
470
466
|
const { activeFilters, setActiveFilters } = useFilters();
|
|
471
|
-
const modalSettings = useModalSettings
|
|
467
|
+
const modalSettings = useModalSettings();
|
|
472
468
|
const toggleIcon = () => {
|
|
473
469
|
setActiveFilters(!activeFilters);
|
|
474
470
|
};
|
package/components/DataGrid/subcomponents/editors/TextEditor/{index.3f0d9e28.js → index-BIFm8akr.js}
RENAMED
|
@@ -6,12 +6,16 @@ const Input = styled("input")(() => ({
|
|
|
6
6
|
inlineSize: "100%",
|
|
7
7
|
blockSize: "100%",
|
|
8
8
|
paddingBlock: "0",
|
|
9
|
+
/* padding-inline: 6px; */
|
|
10
|
+
/* border: 2px solid #ccc; */
|
|
9
11
|
verticalAlign: "top",
|
|
10
12
|
textAlign: "right",
|
|
11
13
|
color: "var(--rdg-color)",
|
|
12
14
|
backgroundColor: "var(--rdg-background-color)",
|
|
13
15
|
fontFamily: "inherit",
|
|
16
|
+
// fontSize: 'var(--rdg-font-size)',
|
|
14
17
|
"&:focus": {
|
|
18
|
+
// borderColor: 'var(--rdg-selection-color)',
|
|
15
19
|
outline: "none"
|
|
16
20
|
},
|
|
17
21
|
"&::placeholder": {
|