@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
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const RootStyled: import("@emotion/styled").StyledComponent<Pick<import("../../Popover/types").PopoverProps, keyof import("../../Popover/types").PopoverProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown> & {
|
|
3
|
+
ownerState: Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown>;
|
|
4
|
+
}, {}, {}>;
|
|
5
|
+
export declare const BadgeStyled: import("@emotion/styled").StyledComponent<Pick<import("../../Badge").BadgeProps, keyof import("../../Badge").BadgeProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown> & {
|
|
6
|
+
ownerState: Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown>;
|
|
7
|
+
}, {}, {}>;
|
|
8
|
+
export declare const IconButtonStyled: import("@emotion/styled").StyledComponent<Pick<import("../../IconButton/types").IconButtonProps, keyof import("../../IconButton/types").IconButtonProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown> & {
|
|
9
|
+
ownerState: Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown>;
|
|
10
|
+
}, {}, {}>;
|
|
11
|
+
export declare const MenuItemStyled: import("@emotion/styled").StyledComponent<Pick<import("@mui/material").MenuItemOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
|
12
|
+
ref?: ((instance: HTMLLIElement | null) => void) | import("react").RefObject<HTMLLIElement> | null | undefined;
|
|
13
|
+
}, "style" | "disabled" | "children" | "tabIndex" | "className" | "action" | "divider" | "dense" | "sx" | "classes" | "autoFocus" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "selected" | "disableGutters">, "value" | "dir" | "slot" | "style" | "title" | "onChange" | "disabled" | "ref" | "children" | "aria-label" | "aria-labelledby" | "tabIndex" | "key" | "onFocus" | "className" | "onMouseEnter" | "id" | "aria-rowindex" | "onScroll" | "onCopy" | "onPaste" | "aria-describedby" | "onResize" | "color" | "hidden" | "action" | "aria-hidden" | "onDragStart" | "onDrag" | "onMouseDown" | "onMouseUp" | "onTouchStart" | "onTouchEnd" | "content" | "translate" | "divider" | "dense" | "sx" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "lang" | "nonce" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDownCapture" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "selected" | "disableGutters"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown> & {
|
|
14
|
+
ownerState: Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown>;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
export declare const LabelMenuItemStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown> & {
|
|
17
|
+
ownerState: Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown>;
|
|
18
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
19
|
+
export declare const IconButtonUrlStyled: import("@emotion/styled").StyledComponent<Pick<import("../../../Icon").IconProps, keyof import("../../../Icon").IconProps> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown> & {
|
|
20
|
+
ownerState: Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown>;
|
|
21
|
+
}, {}, {}>;
|
|
22
|
+
export declare const LabelEmptyStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown> & {
|
|
23
|
+
ownerState: Partial<import("../types").MenuActionsOwnerState> & Record<string, unknown>;
|
|
24
|
+
}, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("react").ClassAttributes<HTMLDivElement> | keyof import("react").HTMLAttributes<HTMLDivElement>>, {}>;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { PopoverProps } from '../Popover/types';
|
|
3
2
|
import { ComponentNameToClassKey, SxProps } from '@mui/material';
|
|
4
|
-
import { Theme } from '@mui/material';
|
|
5
3
|
import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
4
|
+
import { Theme } from '@mui/material/styles';
|
|
5
|
+
import { PopoverProps } from '../Popover/types';
|
|
6
|
+
import { MenuActionsSlots } from './slots';
|
|
7
|
+
import { MENU_ACTIONS_KEY_COMPONENT } from './constant';
|
|
6
8
|
export interface ComponentActionProps {
|
|
7
9
|
description?: string;
|
|
8
10
|
onClick: (props?: any) => void;
|
|
@@ -38,3 +40,10 @@ export interface MenuActionsProps extends Omit<PopoverProps, 'open'> {
|
|
|
38
40
|
externalOpen?: HTMLDivElement | null;
|
|
39
41
|
externalClose?: (element: null | HTMLDivElement) => void;
|
|
40
42
|
}
|
|
43
|
+
export interface OwnerState {
|
|
44
|
+
variant: string;
|
|
45
|
+
}
|
|
46
|
+
export interface MenuActionsOwnerState extends MenuActionsProps, OwnerState {
|
|
47
|
+
}
|
|
48
|
+
export declare type MenuActionsSlotsType = keyof typeof MenuActionsSlots;
|
|
49
|
+
export declare type MenuActionsStyles = Partial<OverridesStyleRules<MenuActionsSlots, typeof MENU_ACTIONS_KEY_COMPONENT, Theme> | undefined> | undefined;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
|
-
import { aG as PagerRoot } from "../../../styles/index.
|
|
3
|
+
import { aG as PagerRoot } from "../../../styles/index-C-MsxWtr.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass, useTheme, Select, InputBase, MenuItem } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { I as IconButton } from "../IconButton/index.
|
|
6
|
+
import { I as IconButton } from "../IconButton/index-OMq0pPK0.js";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
8
|
import { useResponsiveContainerStore } from "@m4l/graphics";
|
|
9
9
|
import { shallow } from "zustand/shallow";
|
|
10
|
-
import { T as Typography } from "../Typography/index.
|
|
11
|
-
import { I as Icon } from "../../Icon/index.
|
|
10
|
+
import { T as Typography } from "../Typography/index-W88rbpsJ.js";
|
|
11
|
+
import { I as Icon } from "../../Icon/index-CueLDD9j.js";
|
|
12
12
|
const componentName = "M4LPager";
|
|
13
13
|
generateUtilityClasses(componentName, [
|
|
14
|
+
/* elements */
|
|
14
15
|
"root",
|
|
15
16
|
"labelRowsPerPageContainer",
|
|
16
17
|
"labelRowsPager",
|
|
@@ -28,6 +29,7 @@ generateUtilityClasses(componentName, [
|
|
|
28
29
|
"actionIconPrevious",
|
|
29
30
|
"actionIconNextPage",
|
|
30
31
|
"actionIconLastPage"
|
|
32
|
+
/* states or variants of elements */
|
|
31
33
|
]);
|
|
32
34
|
function getPagerUtilityClass(slot) {
|
|
33
35
|
return generateUtilityClass(componentName, slot);
|
|
@@ -138,9 +140,10 @@ const CustomTablePagination = (props) => {
|
|
|
138
140
|
function defaultLabelDisplayedRows({
|
|
139
141
|
from,
|
|
140
142
|
to,
|
|
143
|
+
// eslint-disable-next-line @typescript-eslint/no-shadow
|
|
141
144
|
count: count2
|
|
142
145
|
}) {
|
|
143
|
-
return `${from}
|
|
146
|
+
return `${from}–${to} of ${count2 !== -1 ? count2 : `more than ${to}`}`;
|
|
144
147
|
}
|
|
145
148
|
const getLabelDisplayedRowsTo = () => {
|
|
146
149
|
if (count === -1) {
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { aH as PopoverRoot } from "../../../styles/index.
|
|
2
|
+
import { aH as PopoverRoot } from "../../../styles/index-C-MsxWtr.js";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
generateUtilityClasses("M4LPopover", [
|
|
8
|
+
/* elements */
|
|
8
9
|
"root",
|
|
9
10
|
"arrowStyle",
|
|
11
|
+
/* states or variants of elements */
|
|
10
12
|
"noArrow",
|
|
11
13
|
"topLeft",
|
|
12
14
|
"topCenter",
|
|
@@ -87,15 +89,19 @@ const ArrowStyle = styled("span")(({ arrowType, theme }) => {
|
|
|
87
89
|
transform: "rotate(-135deg)",
|
|
88
90
|
background: theme.vars.palette.background.default
|
|
89
91
|
},
|
|
92
|
+
// Top
|
|
90
93
|
...arrowType === "top-left" && { ...topStyle, left: 20 },
|
|
91
94
|
...arrowType === "top-center" && { ...topStyle, left: 0, right: 0, margin: "auto" },
|
|
92
95
|
...arrowType === "top-right" && { ...topStyle, right: 20 },
|
|
96
|
+
// Bottom
|
|
93
97
|
...arrowType === "bottom-left" && { ...bottomStyle, left: 20 },
|
|
94
98
|
...arrowType === "bottom-center" && { ...bottomStyle, left: 0, right: 0, margin: "auto" },
|
|
95
99
|
...arrowType === "bottom-right" && { ...bottomStyle, right: 20 },
|
|
100
|
+
// Left
|
|
96
101
|
...arrowType === "left-top" && { ...leftStyle, top: 20 },
|
|
97
102
|
...arrowType === "left-center" && { ...leftStyle, top: 0, bottom: 0, margin: "auto" },
|
|
98
103
|
...arrowType === "left-bottom" && { ...leftStyle, bottom: 20 },
|
|
104
|
+
// Right
|
|
99
105
|
...arrowType === "right-top" && { ...rightStyle, top: 20 },
|
|
100
106
|
...arrowType === "right-center" && { ...rightStyle, top: 0, bottom: 0, margin: "auto" },
|
|
101
107
|
...arrowType === "right-bottom" && { ...rightStyle, bottom: 20 }
|
|
@@ -107,33 +113,39 @@ const Popover = (props) => {
|
|
|
107
113
|
arrowType
|
|
108
114
|
};
|
|
109
115
|
const classes = useUtilityClasses(ownerState);
|
|
110
|
-
return
|
|
111
|
-
PopoverRoot,
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
arrowType !== "no-arrow" && /* @__PURE__ */ jsx(
|
|
127
|
-
ArrowStyle,
|
|
128
|
-
{
|
|
129
|
-
className: classes.arrowStyle,
|
|
130
|
-
"data-testid": "ArrowStyle",
|
|
131
|
-
arrowType
|
|
116
|
+
return (
|
|
117
|
+
/* PopoverRoot: Contenedor principal del componente, es usado para aplicar los estilos css de los
|
|
118
|
+
overrides que provienen del objeto del tema. Se usa para garantizar de que estos estilos no se
|
|
119
|
+
propaguen a otros componentes de la plataforna web. */
|
|
120
|
+
/* @__PURE__ */ jsxs(
|
|
121
|
+
PopoverRoot,
|
|
122
|
+
{
|
|
123
|
+
className: clsx(classes.root, className),
|
|
124
|
+
"data-testid": "PopoverRoot",
|
|
125
|
+
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
126
|
+
transformOrigin: { vertical: "top", horizontal: "right" },
|
|
127
|
+
transitionDuration: 0,
|
|
128
|
+
PaperProps: {
|
|
129
|
+
sx: {
|
|
130
|
+
p: 1,
|
|
131
|
+
overflow: "inherit"
|
|
132
132
|
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
133
|
+
},
|
|
134
|
+
...other,
|
|
135
|
+
children: [
|
|
136
|
+
arrowType !== "no-arrow" && /* ArrowStyle: Subcomponente que posiciona una flecha de dialogo en el área del Popover. */
|
|
137
|
+
/* @__PURE__ */ jsx(
|
|
138
|
+
ArrowStyle,
|
|
139
|
+
{
|
|
140
|
+
className: classes.arrowStyle,
|
|
141
|
+
"data-testid": "ArrowStyle",
|
|
142
|
+
arrowType
|
|
143
|
+
}
|
|
144
|
+
),
|
|
145
|
+
children
|
|
146
|
+
]
|
|
147
|
+
}
|
|
148
|
+
)
|
|
137
149
|
);
|
|
138
150
|
};
|
|
139
151
|
export {
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
|
-
import { aI as MUISTack } from "../../../styles/index.
|
|
4
|
+
import { aI as MUISTack } from "../../../styles/index-C-MsxWtr.js";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
const componentName = "M4LStack";
|
|
7
7
|
generateUtilityClasses(componentName, [
|
|
8
|
+
/* elements */
|
|
8
9
|
"root"
|
|
10
|
+
/* states or variants of elements */
|
|
9
11
|
]);
|
|
10
12
|
function getStackUtilityClass(slot) {
|
|
11
13
|
return generateUtilityClass(componentName, slot);
|
|
@@ -2,14 +2,16 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass, Tab as Tab$1, Skeleton } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { aJ as MUITabs, aK as TabContentRoot, aL as TabRoot, aM as SKTTabWrapper } from "../../../styles/index.
|
|
5
|
+
import { aJ as MUITabs, aK as TabContentRoot, aL as TabRoot, aM as SKTTabWrapper } from "../../../styles/index-C-MsxWtr.js";
|
|
6
6
|
import { useModuleSkeleton } from "@m4l/core";
|
|
7
|
-
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock
|
|
8
|
-
import { g as getNameDataTestId } from "../../../test/getNameDataTestId.
|
|
7
|
+
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
8
|
+
import { g as getNameDataTestId } from "../../../test/getNameDataTestId-BaBTWhBr.js";
|
|
9
9
|
import { createContext, useState } from "react";
|
|
10
10
|
const componentName$2 = "M4LTabs";
|
|
11
11
|
generateUtilityClasses(componentName$2, [
|
|
12
|
+
/* elements */
|
|
12
13
|
"root"
|
|
14
|
+
/* states or variants of elements */
|
|
13
15
|
]);
|
|
14
16
|
function getTabsUtilityClass(slot) {
|
|
15
17
|
return generateUtilityClass(componentName$2, slot);
|
|
@@ -30,7 +32,9 @@ const Tabs = (props) => {
|
|
|
30
32
|
};
|
|
31
33
|
const componentName$1 = "M4LTabContent";
|
|
32
34
|
generateUtilityClasses(componentName$1, [
|
|
35
|
+
/* elements */
|
|
33
36
|
"root"
|
|
37
|
+
/* states or variants of elements */
|
|
34
38
|
]);
|
|
35
39
|
function getTabContentUtilityClass(slot) {
|
|
36
40
|
return generateUtilityClass(componentName$1, slot);
|
|
@@ -51,8 +55,10 @@ const TabContent = (props) => {
|
|
|
51
55
|
};
|
|
52
56
|
const componentName = "M4LTab";
|
|
53
57
|
generateUtilityClasses(componentName, [
|
|
58
|
+
/* elements */
|
|
54
59
|
"root",
|
|
55
60
|
"skeleton"
|
|
61
|
+
/* states or variants of elements */
|
|
56
62
|
]);
|
|
57
63
|
function getTabUtilityClass(slot) {
|
|
58
64
|
return generateUtilityClass(componentName, slot);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const MUITabs: import("@emotion/styled").StyledComponent<import("@mui/material").TabsOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
3
3
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
-
}, "value" | "style" | "onChange" | "children" | "aria-label" | "aria-labelledby" | "className" | "action" | "
|
|
4
|
+
}, "value" | "style" | "onChange" | "children" | "aria-label" | "aria-labelledby" | "className" | "action" | "sx" | "classes" | "slots" | "slotProps" | "variant" | "orientation" | "allowScrollButtonsMobile" | "centered" | "indicatorColor" | "ScrollButtonComponent" | "scrollButtons" | "selectionFollowsFocus" | "TabIndicatorProps" | "TabScrollButtonProps" | "textColor" | "visibleScrollbar"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { B as Button, b as buttonClasses } from "../Button/index.
|
|
4
|
-
import { w as withToggle } from "../../../hocs/withToggle/index.
|
|
3
|
+
import { B as Button, b as buttonClasses } from "../Button/index-CksGG1B8.js";
|
|
4
|
+
import { w as withToggle } from "../../../hocs/withToggle/index-C1_DMZD3.js";
|
|
5
5
|
const ToggleAbleButton = ({ onToggle, isToggled, ...props }) => {
|
|
6
6
|
return /* @__PURE__ */ jsx(
|
|
7
7
|
Button,
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { I as IconButton, i as iconButtonClasses } from "../IconButton/index.
|
|
4
|
-
import { w as withToggle } from "../../../hocs/withToggle/index.
|
|
3
|
+
import { I as IconButton, i as iconButtonClasses } from "../IconButton/index-OMq0pPK0.js";
|
|
4
|
+
import { w as withToggle } from "../../../hocs/withToggle/index-C1_DMZD3.js";
|
|
5
5
|
const ToggleAbleIconButton = ({
|
|
6
6
|
onToggle,
|
|
7
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
7
8
|
isToggled,
|
|
8
9
|
...props
|
|
9
10
|
}) => {
|
|
@@ -4,7 +4,9 @@ import clsx from "clsx";
|
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
const componentName = "M4LTooltip";
|
|
6
6
|
generateUtilityClasses(componentName, [
|
|
7
|
+
/* elements */
|
|
7
8
|
"root"
|
|
9
|
+
/* states or variants of elements */
|
|
8
10
|
]);
|
|
9
11
|
function getTooltipUtilityClass(slot) {
|
|
10
12
|
return generateUtilityClass(componentName, slot);
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton, generateUtilityClasses, generateUtilityClass, Typography as Typography$1 } from "@mui/material";
|
|
4
|
-
import { aN as WarpperTypography } from "../../../styles/index.
|
|
4
|
+
import { aN as WarpperTypography } from "../../../styles/index-C-MsxWtr.js";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import clsx from "clsx";
|
|
7
|
-
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock
|
|
7
|
+
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
8
8
|
const SkeletonTypography = (props) => {
|
|
9
9
|
const { skeletonWidth, skeletongHeight } = props;
|
|
10
10
|
return /* @__PURE__ */ jsx(Skeleton, { variant: "text", width: skeletonWidth, height: skeletongHeight });
|
|
11
11
|
};
|
|
12
12
|
generateUtilityClasses("M4LTypography", [
|
|
13
|
+
/* elements */
|
|
13
14
|
"root"
|
|
15
|
+
/* states or variants of elements */
|
|
14
16
|
]);
|
|
15
17
|
function getTypographyClassesUtilityClass(slot) {
|
|
16
18
|
return generateUtilityClass("M4LTypography", slot);
|
|
@@ -162,8 +162,7 @@ function PopupsProvider(props) {
|
|
|
162
162
|
}
|
|
163
163
|
function usePopupsStore(selector, equalityFn) {
|
|
164
164
|
const context = useContext(PopupsContext);
|
|
165
|
-
if (!context)
|
|
166
|
-
throw new Error("usePopupsStore context must be use inside PopupsContext");
|
|
165
|
+
if (!context) throw new Error("usePopupsStore context must be use inside PopupsContext");
|
|
167
166
|
return useStore(context, selector, equalityFn);
|
|
168
167
|
}
|
|
169
168
|
export {
|
|
@@ -3,13 +3,13 @@ import { TransitionGroup, CSSTransition } from "react-transition-group";
|
|
|
3
3
|
import { shallow } from "zustand/shallow";
|
|
4
4
|
import { forwardRef } from "react";
|
|
5
5
|
import { useEnvironment } from "@m4l/core";
|
|
6
|
-
import { u as usePopupsStore } from "../PopupsProvider/index.
|
|
7
|
-
import { P as POPUPS_ICONS } from "./icons.
|
|
8
|
-
import { P as PopupHeaderContainerStyled, a as PopupHeaderTitleStyled, b as PopupHeaderSubTitleStyled, c as PopupContentEditionInfoStyled, d as PopupDragWindowRootStyled, e as PopupContentRootStyled, f as PopupContentWrapperStyled, R as RootStyled } from "./slots/popupsViewerSlots.
|
|
9
|
-
import { d as draggableWindowClasses } from "../../DragResizeWindow/index.
|
|
10
|
-
import { I as Icon } from "../../Icon/index.
|
|
11
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
12
|
-
import { u as useSizeContainer } from "../../../hooks/useSizeContainer/index.
|
|
6
|
+
import { u as usePopupsStore } from "../PopupsProvider/index-DhSxmtfJ.js";
|
|
7
|
+
import { P as POPUPS_ICONS } from "./icons-BUujqqbu.js";
|
|
8
|
+
import { P as PopupHeaderContainerStyled, a as PopupHeaderTitleStyled, b as PopupHeaderSubTitleStyled, c as PopupContentEditionInfoStyled, d as PopupDragWindowRootStyled, e as PopupContentRootStyled, f as PopupContentWrapperStyled, R as RootStyled } from "./slots/popupsViewerSlots-Db8QAmEE.js";
|
|
9
|
+
import { d as draggableWindowClasses } from "../../DragResizeWindow/index-D2jLYExo.js";
|
|
10
|
+
import { I as Icon } from "../../Icon/index-CueLDD9j.js";
|
|
11
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index-OMq0pPK0.js";
|
|
12
|
+
import { u as useSizeContainer } from "../../../hooks/useSizeContainer/index-D4hDjM1P.js";
|
|
13
13
|
const Header = (props) => {
|
|
14
14
|
const { popupId } = props;
|
|
15
15
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
@@ -146,7 +146,10 @@ const PopupsViewer = () => {
|
|
|
146
146
|
removePopup(id);
|
|
147
147
|
},
|
|
148
148
|
classNames: {
|
|
149
|
+
// appear: 'fade-appear', // Clases para la animación de aparición
|
|
150
|
+
// appearActive: 'fade-appear-active',
|
|
149
151
|
enter: "fade-enter",
|
|
152
|
+
// Clases para la animación de entrada
|
|
150
153
|
enterActive: "fade-enter-active",
|
|
151
154
|
enterDone: "fade-enter-done"
|
|
152
155
|
},
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
|
-
import { P as POPUPS_VIEWER_KEY_COMPONENT } from "../constants.
|
|
3
|
-
import { aO as popupsViewerStyles } from "../../../../styles/index.
|
|
4
|
-
import { P as PopupViewerSlots } from "./index.
|
|
5
|
-
import { D as DragResizeWindow } from "../../../DragResizeWindow/index.
|
|
2
|
+
import { P as POPUPS_VIEWER_KEY_COMPONENT } from "../constants-DuyD7aCn.js";
|
|
3
|
+
import { aO as popupsViewerStyles } from "../../../../styles/index-C-MsxWtr.js";
|
|
4
|
+
import { P as PopupViewerSlots } from "./index-B98CiRLa.js";
|
|
5
|
+
import { D as DragResizeWindow } from "../../../DragResizeWindow/index-D2jLYExo.js";
|
|
6
6
|
const RootStyled = styled("div", { name: POPUPS_VIEWER_KEY_COMPONENT, slot: PopupViewerSlots.root })(
|
|
7
7
|
popupsViewerStyles?.root
|
|
8
8
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { createContext, useState } from "react";
|
|
3
|
-
import { M as ModalDialog } from "../../components/ModalDialog/index.
|
|
3
|
+
import { M as ModalDialog } from "../../components/ModalDialog/index-KryIxH_j.js";
|
|
4
4
|
const ModalContext = createContext(null);
|
|
5
5
|
function ModalProvider({ children }) {
|
|
6
6
|
const [modalOptions, setModalOptions] = useState({
|
|
@@ -3,14 +3,16 @@ import { useEffect } from "react";
|
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { useForm, FormProvider } from "react-hook-form";
|
|
5
5
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
6
|
-
import { aP as FormProviderRoot } from "../../styles/index.
|
|
6
|
+
import { aP as FormProviderRoot } from "../../styles/index-C-MsxWtr.js";
|
|
7
7
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
9
|
const componentName = "M4LRHFormProvider";
|
|
10
10
|
generateUtilityClasses(
|
|
11
11
|
componentName,
|
|
12
12
|
[
|
|
13
|
+
/* elements */
|
|
13
14
|
"root"
|
|
15
|
+
/* states or variants of elements */
|
|
14
16
|
]
|
|
15
17
|
);
|
|
16
18
|
function getRHFormProviderUtilityClass(slot) {
|
package/hooks/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useNetwork, useFlagsStore, useModuleDictionary } from "@m4l/core";
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
|
-
import { u as useModal } from "../useModal/index.
|
|
5
|
-
import { W as WindowConfirm } from "../../components/modal/WindowConfirm.
|
|
4
|
+
import { u as useModal } from "../useModal/index-CTAwKk5D.js";
|
|
5
|
+
import { W as WindowConfirm } from "../../components/modal/WindowConfirm-BaB3Ojgu.js";
|
|
6
6
|
function useFormAddEdit(props) {
|
|
7
7
|
const {
|
|
8
8
|
initialValues,
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { a as ModalContext } from "../../contexts/ModalContext/index.
|
|
2
|
+
import { a as ModalContext } from "../../contexts/ModalContext/index-DkUBXDpR.js";
|
|
3
3
|
function useModal() {
|
|
4
4
|
const context = useContext(ModalContext);
|
|
5
|
-
if (!context)
|
|
6
|
-
throw new Error("useModal context must be use inside ModalContext");
|
|
5
|
+
if (!context) throw new Error("useModal context must be use inside ModalContext");
|
|
7
6
|
return context;
|
|
8
7
|
}
|
|
9
8
|
export {
|
|
@@ -9,7 +9,9 @@ function useSizeContainer(containerElement) {
|
|
|
9
9
|
}
|
|
10
10
|
const throttleResize = throttle(setCurrentState, THROTTLE_RESIZE_TIMEOUT, {
|
|
11
11
|
leading: false,
|
|
12
|
+
// No enviar el primer evento de resizing
|
|
12
13
|
trailing: true
|
|
14
|
+
// Incluir siempre el ultimo evento en la cola, para que no quede se quedee a la mitad de resizing
|
|
13
15
|
});
|
|
14
16
|
const resizeObserver = new ResizeObserver((entries) => {
|
|
15
17
|
for (const entry of entries) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { d as TabContext } from "../../components/mui_extended/Tab/index.
|
|
2
|
+
import { d as TabContext } from "../../components/mui_extended/Tab/index-CpdHav0V.js";
|
|
3
3
|
const useTab = () => {
|
|
4
4
|
const context = useContext(TabContext);
|
|
5
5
|
if (context === null) {
|