@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
|
@@ -1,296 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
3
|
-
import { Skeleton, generateUtilityClasses, TextField, InputAdornment, generateUtilityClass } from "@mui/material";
|
|
4
|
-
import { forwardRef, useState, useEffect } from "react";
|
|
5
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.7b6c1ee3.js";
|
|
6
|
-
import { useFormContext, Controller } from "react-hook-form";
|
|
7
|
-
import { ao as SkeletonTextFieldRoot, ap as WrapperSkeletonRHFTextField, aq as RHFTextFieldRoot, ar as RHFTextFieldPasswordRoot } from "../../../styles/index.db9e7ddb.js";
|
|
8
|
-
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
9
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
10
|
-
import { g as getComponentUtilityClass } from "../../../utils/index.f77cc2ab.js";
|
|
11
|
-
import { H as HelperText } from "../../HelperText/index.6818980e.js";
|
|
12
|
-
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
13
|
-
import { useFormFocus } from "../../../index.js";
|
|
14
|
-
import { F as FieldLabel } from "../../FieldLabel/index.9a979def.js";
|
|
15
|
-
const RHFTEXTFIELD_ROOT_TEST_ID = "RHFTextFieldRoot";
|
|
16
|
-
const RHFTEXTFIELD_INPUT_TEST_ID = "RHFTextFieldInput";
|
|
17
|
-
const RHFTEXTFIELD_PREFIX = "RHFTextField";
|
|
18
|
-
const getNameDataTestId$1 = (KEY) => {
|
|
19
|
-
return `${RHFTEXTFIELD_PREFIX}-${KEY}`;
|
|
20
|
-
};
|
|
21
|
-
const SkeletonTextField = (props) => {
|
|
22
|
-
const { skeletonWidth, skeletonHeight, ownerState, classes, hasLabel } = props;
|
|
23
|
-
const { type: variant } = ownerState;
|
|
24
|
-
return /* @__PURE__ */ jsxs(SkeletonTextFieldRoot, { children: [
|
|
25
|
-
(hasLabel || hasLabel?.length === 0) && /* @__PURE__ */ jsx(Skeleton, { variant: "text", width: "30%", height: "16px" }),
|
|
26
|
-
/* @__PURE__ */ jsx(
|
|
27
|
-
WrapperSkeletonRHFTextField,
|
|
28
|
-
{
|
|
29
|
-
className: classes.skeleton,
|
|
30
|
-
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId$1("skeleton") } : {},
|
|
31
|
-
children: variant === "text" ? /* @__PURE__ */ jsx(Skeleton, { variant: "text", width: skeletonWidth, height: skeletonHeight }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
32
|
-
/* @__PURE__ */ jsx(Skeleton, { variant: "text", width: skeletonWidth, height: skeletonHeight }),
|
|
33
|
-
/* @__PURE__ */ jsx(Skeleton, { variant: "circular", width: "16px", height: "16px" })
|
|
34
|
-
] })
|
|
35
|
-
}
|
|
36
|
-
)
|
|
37
|
-
] });
|
|
38
|
-
};
|
|
39
|
-
const componentName = "M4LRHFTextField";
|
|
40
|
-
generateUtilityClasses(
|
|
41
|
-
componentName,
|
|
42
|
-
[
|
|
43
|
-
"root",
|
|
44
|
-
"label",
|
|
45
|
-
"skeleton",
|
|
46
|
-
"variantText",
|
|
47
|
-
"variantPassword",
|
|
48
|
-
"variantInfo",
|
|
49
|
-
"isDisabled",
|
|
50
|
-
"variantSuccess",
|
|
51
|
-
"variantWarning",
|
|
52
|
-
"variantError",
|
|
53
|
-
"sizeSmall",
|
|
54
|
-
"sizeMedium",
|
|
55
|
-
"isFocus",
|
|
56
|
-
"isTabSelected"
|
|
57
|
-
]
|
|
58
|
-
);
|
|
59
|
-
const getRHFTextFieldClassesByState = (ownerState) => {
|
|
60
|
-
const slots = {
|
|
61
|
-
root: [
|
|
62
|
-
"root",
|
|
63
|
-
ownerState.type === "password" ? "variantPassword" : "variantText",
|
|
64
|
-
ownerState.size === "small" && "sizeSmall",
|
|
65
|
-
ownerState.size === "medium" && "sizeMedium",
|
|
66
|
-
ownerState.isFocus && "isFocus",
|
|
67
|
-
ownerState.isTabSelected && "isTabSelected",
|
|
68
|
-
ownerState.disabled && "isDisabled",
|
|
69
|
-
ownerState.variant === "info" && "variantInfo",
|
|
70
|
-
ownerState.variant === "success" && "variantSuccess",
|
|
71
|
-
ownerState.variant === "warning" && "variantWarning",
|
|
72
|
-
ownerState.variant === "error" && "variantError"
|
|
73
|
-
],
|
|
74
|
-
label: ["label"],
|
|
75
|
-
skeleton: ["skeleton"]
|
|
76
|
-
};
|
|
77
|
-
const composedClasses = unstable_composeClasses(slots, getComponentUtilityClass(componentName), {});
|
|
78
|
-
return {
|
|
79
|
-
...composedClasses
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
const RHFTextField = forwardRef((props, ref) => {
|
|
83
|
-
const {
|
|
84
|
-
name: nameRHF,
|
|
85
|
-
autoComplete = "off",
|
|
86
|
-
skeletonWidth = "100%",
|
|
87
|
-
skeletonHeight = "18px",
|
|
88
|
-
type,
|
|
89
|
-
label,
|
|
90
|
-
size = "small",
|
|
91
|
-
startIcon,
|
|
92
|
-
endIcon,
|
|
93
|
-
variant,
|
|
94
|
-
helperMessage = "",
|
|
95
|
-
disabled,
|
|
96
|
-
mandatory,
|
|
97
|
-
mandatoryMessage,
|
|
98
|
-
helperText,
|
|
99
|
-
...other
|
|
100
|
-
} = props;
|
|
101
|
-
const {
|
|
102
|
-
control,
|
|
103
|
-
formState: { errors }
|
|
104
|
-
} = useFormContext();
|
|
105
|
-
const [currentVariant, setCurrentVariant] = useState(null);
|
|
106
|
-
const { isFocus, isTabSelected, handlerFocus, handlerOnKeyUp, handlerOnBlur } = useFormFocus();
|
|
107
|
-
const isDesktop = useResponsiveDesktop();
|
|
108
|
-
const isSkeleton = useModuleSkeleton();
|
|
109
|
-
useEffect(() => {
|
|
110
|
-
if (errors[nameRHF]) {
|
|
111
|
-
setCurrentVariant("error");
|
|
112
|
-
} else if (variant) {
|
|
113
|
-
setCurrentVariant(variant);
|
|
114
|
-
} else {
|
|
115
|
-
setCurrentVariant(null);
|
|
116
|
-
}
|
|
117
|
-
}, [errors[nameRHF], variant, control]);
|
|
118
|
-
const ownerState = {
|
|
119
|
-
type: type === "password" ? "password" : "text",
|
|
120
|
-
size: !isDesktop ? "medium" : size,
|
|
121
|
-
isFocus: !isSkeleton ? isFocus : false,
|
|
122
|
-
isTabSelected: !isSkeleton ? isTabSelected : false,
|
|
123
|
-
variant: currentVariant,
|
|
124
|
-
disabled
|
|
125
|
-
};
|
|
126
|
-
const classes = getRHFTextFieldClassesByState(ownerState);
|
|
127
|
-
return /* @__PURE__ */ jsx(
|
|
128
|
-
RHFTextFieldRoot,
|
|
129
|
-
{
|
|
130
|
-
className: classes.root,
|
|
131
|
-
tabIndex: 0,
|
|
132
|
-
onFocus: handlerFocus,
|
|
133
|
-
onBlur: handlerOnBlur,
|
|
134
|
-
onKeyUp: handlerOnKeyUp,
|
|
135
|
-
role: "textbox",
|
|
136
|
-
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: `${RHFTEXTFIELD_ROOT_TEST_ID}_${nameRHF}` } : {},
|
|
137
|
-
children: !isSkeleton ? /* @__PURE__ */ jsx(
|
|
138
|
-
Controller,
|
|
139
|
-
{
|
|
140
|
-
name: nameRHF,
|
|
141
|
-
control,
|
|
142
|
-
render: ({ field: { onChange, value, name, ref: inputRef }, fieldState: { error } }) => {
|
|
143
|
-
const onInternalChange = (event) => {
|
|
144
|
-
if (type === "number") {
|
|
145
|
-
if (event.target.value) {
|
|
146
|
-
onChange(Number(event.target.value));
|
|
147
|
-
return;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
onChange(event);
|
|
151
|
-
};
|
|
152
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
153
|
-
label && /* @__PURE__ */ jsx(
|
|
154
|
-
FieldLabel,
|
|
155
|
-
{
|
|
156
|
-
label,
|
|
157
|
-
mandatory,
|
|
158
|
-
mandatoryMessage,
|
|
159
|
-
helperMessage
|
|
160
|
-
}
|
|
161
|
-
),
|
|
162
|
-
/* @__PURE__ */ jsx(
|
|
163
|
-
TextField,
|
|
164
|
-
{
|
|
165
|
-
variant: "outlined",
|
|
166
|
-
disabled,
|
|
167
|
-
ref,
|
|
168
|
-
inputRef,
|
|
169
|
-
InputLabelProps: { shrink: true },
|
|
170
|
-
autoComplete,
|
|
171
|
-
onChange: onInternalChange,
|
|
172
|
-
value: type === "number" ? isNaN(value) ? 0 : value : value || "",
|
|
173
|
-
name,
|
|
174
|
-
inputProps: {
|
|
175
|
-
...process.env.NODE_ENV !== "production" ? {
|
|
176
|
-
[TEST_PROP_ID]: `${RHFTEXTFIELD_INPUT_TEST_ID}_${name}`
|
|
177
|
-
} : {}
|
|
178
|
-
},
|
|
179
|
-
fullWidth: true,
|
|
180
|
-
error: !!error,
|
|
181
|
-
type,
|
|
182
|
-
...startIcon || endIcon ? {
|
|
183
|
-
InputProps: {
|
|
184
|
-
...{
|
|
185
|
-
...startIcon ? {
|
|
186
|
-
startAdornment: /* @__PURE__ */ jsx(InputAdornment, { position: "start", children: startIcon })
|
|
187
|
-
} : {},
|
|
188
|
-
...endIcon ? {
|
|
189
|
-
endAdornment: /* @__PURE__ */ jsx(InputAdornment, { position: "end", children: endIcon })
|
|
190
|
-
} : {}
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
} : {},
|
|
194
|
-
...other
|
|
195
|
-
}
|
|
196
|
-
),
|
|
197
|
-
currentVariant ? /* @__PURE__ */ jsx(
|
|
198
|
-
HelperText,
|
|
199
|
-
{
|
|
200
|
-
variant: currentVariant,
|
|
201
|
-
message: currentVariant !== "error" ? helperMessage : error?.message
|
|
202
|
-
}
|
|
203
|
-
) : null
|
|
204
|
-
] });
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
) : /* @__PURE__ */ jsx(
|
|
208
|
-
SkeletonTextField,
|
|
209
|
-
{
|
|
210
|
-
classes,
|
|
211
|
-
skeletonWidth,
|
|
212
|
-
skeletonHeight,
|
|
213
|
-
ownerState,
|
|
214
|
-
hasLabel: label
|
|
215
|
-
}
|
|
216
|
-
)
|
|
217
|
-
}
|
|
218
|
-
);
|
|
219
|
-
});
|
|
220
|
-
RHFTextField.displayName = "RHFTextField";
|
|
221
|
-
generateUtilityClasses(
|
|
222
|
-
"M4LRHFTextFieldPassword",
|
|
223
|
-
[
|
|
224
|
-
"root"
|
|
225
|
-
]
|
|
226
|
-
);
|
|
227
|
-
function getRHFTextFieldPasswordUtilityClass(slot) {
|
|
228
|
-
return generateUtilityClass("M4LRHFTextFieldPassword", slot);
|
|
229
|
-
}
|
|
230
|
-
const useUtilityClasses = () => {
|
|
231
|
-
const slots = {
|
|
232
|
-
root: ["root"]
|
|
233
|
-
};
|
|
234
|
-
const composedClasses = unstable_composeClasses(slots, getRHFTextFieldPasswordUtilityClass, {});
|
|
235
|
-
return {
|
|
236
|
-
...composedClasses
|
|
237
|
-
};
|
|
238
|
-
};
|
|
239
|
-
const RHFTEXTFIELDPASSWORD_PREFIX = "RHFTextFieldPassword";
|
|
240
|
-
const getNameDataTestId = (KEY) => {
|
|
241
|
-
return `${RHFTEXTFIELDPASSWORD_PREFIX}-${KEY}`;
|
|
242
|
-
};
|
|
243
|
-
const RHFTextFieldPassword = (props) => {
|
|
244
|
-
const {
|
|
245
|
-
name,
|
|
246
|
-
label,
|
|
247
|
-
skeletonWidth,
|
|
248
|
-
skeletonHeight,
|
|
249
|
-
size,
|
|
250
|
-
mandatory,
|
|
251
|
-
mandatoryMessage,
|
|
252
|
-
helperMessage
|
|
253
|
-
} = props;
|
|
254
|
-
const [showPassword, setShowPassword] = useState(false);
|
|
255
|
-
const { host_static_assets, environment_assets } = useEnvironment();
|
|
256
|
-
const classes = useUtilityClasses();
|
|
257
|
-
return /* @__PURE__ */ jsx(
|
|
258
|
-
RHFTextFieldPasswordRoot,
|
|
259
|
-
{
|
|
260
|
-
className: classes.root,
|
|
261
|
-
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId("root") } : {},
|
|
262
|
-
children: /* @__PURE__ */ jsx(
|
|
263
|
-
RHFTextField,
|
|
264
|
-
{
|
|
265
|
-
name,
|
|
266
|
-
label,
|
|
267
|
-
type: showPassword ? "text" : "password",
|
|
268
|
-
autoComplete: "on",
|
|
269
|
-
skeletonWidth,
|
|
270
|
-
skeletonHeight,
|
|
271
|
-
size,
|
|
272
|
-
mandatory,
|
|
273
|
-
mandatoryMessage,
|
|
274
|
-
helperMessage,
|
|
275
|
-
InputProps: {
|
|
276
|
-
endAdornment: /* @__PURE__ */ jsx(InputAdornment, { position: "end", children: /* @__PURE__ */ jsx(
|
|
277
|
-
IconButton,
|
|
278
|
-
{
|
|
279
|
-
onClick: () => setShowPassword(!showPassword),
|
|
280
|
-
variant: "line",
|
|
281
|
-
src: showPassword ? `${host_static_assets}/${environment_assets}/frontend/domain/host/login/assets/icons/eye.svg` : `${host_static_assets}/${environment_assets}/frontend/domain/host/login/assets/icons/eye_off.svg`
|
|
282
|
-
}
|
|
283
|
-
) })
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
)
|
|
287
|
-
}
|
|
288
|
-
);
|
|
289
|
-
};
|
|
290
|
-
export {
|
|
291
|
-
RHFTextField as R,
|
|
292
|
-
RHFTEXTFIELD_ROOT_TEST_ID as a,
|
|
293
|
-
RHFTEXTFIELD_INPUT_TEST_ID as b,
|
|
294
|
-
RHFTEXTFIELD_PREFIX as c,
|
|
295
|
-
RHFTextFieldPassword as d
|
|
296
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const componentName = "M4LMenuActions";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { MenuActionsClassesType } from './types';
|
|
2
|
-
export declare const menuActionsClasses: MenuActionsClassesType;
|
|
3
|
-
export declare function getMenuActionsUtilityClass(slot: string): string;
|
|
4
|
-
export declare const useMenuActionsUtilityClasses: () => {
|
|
5
|
-
root: string;
|
|
6
|
-
itemDelete: string;
|
|
7
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { useMenuActionsUtilityClasses } from '.';
|
|
2
|
-
export interface MenuActionsClassesType {
|
|
3
|
-
root: string;
|
|
4
|
-
itemDelete: string;
|
|
5
|
-
}
|
|
6
|
-
export declare type StackClassesKey = keyof MenuActionsClassesType;
|
|
7
|
-
export declare type Classes = ReturnType<typeof useMenuActionsUtilityClasses>;
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
-
import React__default, { useState, useEffect, useMemo } from "react";
|
|
3
|
-
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
4
|
-
import { generateUtilityClasses, generateUtilityClass, useTheme, MenuItem } from "@mui/material";
|
|
5
|
-
import { P as Popover } from "../Popover/index.a7da93f1.js";
|
|
6
|
-
import { aF as LabelMemuItem } from "../../../styles/index.db9e7ddb.js";
|
|
7
|
-
import { I as Icon } from "../../Icon/index.c06685f4.js";
|
|
8
|
-
import clsx from "clsx";
|
|
9
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
10
|
-
import { B as Badge } from "../Badge/index.48948839.js";
|
|
11
|
-
import { I as IconButton } from "../IconButton/index.7b6c1ee3.js";
|
|
12
|
-
const ICONS = {
|
|
13
|
-
MENU: "menu.svg"
|
|
14
|
-
};
|
|
15
|
-
const componentName = "M4LMenuActions";
|
|
16
|
-
generateUtilityClasses(componentName, [
|
|
17
|
-
"root",
|
|
18
|
-
"itemDelete"
|
|
19
|
-
]);
|
|
20
|
-
function getMenuActionsUtilityClass(slot) {
|
|
21
|
-
return generateUtilityClass(componentName, slot);
|
|
22
|
-
}
|
|
23
|
-
const useMenuActionsUtilityClasses = () => {
|
|
24
|
-
const slots = {
|
|
25
|
-
root: ["root"],
|
|
26
|
-
itemDelete: ["itemDelete"]
|
|
27
|
-
};
|
|
28
|
-
const composedClasses = unstable_composeClasses(slots, getMenuActionsUtilityClass, {});
|
|
29
|
-
return {
|
|
30
|
-
...composedClasses
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
function MenuActions(props) {
|
|
34
|
-
const {
|
|
35
|
-
menuActions,
|
|
36
|
-
endListElement,
|
|
37
|
-
menuActionSx,
|
|
38
|
-
className,
|
|
39
|
-
iconButtonClassName = "",
|
|
40
|
-
objItem = {},
|
|
41
|
-
urlIcon,
|
|
42
|
-
toolTip = "",
|
|
43
|
-
marginTop = -1,
|
|
44
|
-
marginBottom,
|
|
45
|
-
marginLeft,
|
|
46
|
-
marginRight,
|
|
47
|
-
width = 200,
|
|
48
|
-
withBadge = false,
|
|
49
|
-
badgeContent,
|
|
50
|
-
arrowType = "right-top",
|
|
51
|
-
externalOpen = null,
|
|
52
|
-
externalClose,
|
|
53
|
-
...other
|
|
54
|
-
} = props;
|
|
55
|
-
const { host_static_assets, environment_assets } = useEnvironment();
|
|
56
|
-
const { getLabel } = useModuleDictionary();
|
|
57
|
-
const [open, setOpen] = useState(null);
|
|
58
|
-
const handleOpen = (event) => {
|
|
59
|
-
setOpen(event.currentTarget);
|
|
60
|
-
};
|
|
61
|
-
const theme = useTheme();
|
|
62
|
-
const classes = useMenuActionsUtilityClasses();
|
|
63
|
-
useEffect(() => {
|
|
64
|
-
let mounted = true;
|
|
65
|
-
if (mounted) {
|
|
66
|
-
setOpen(externalOpen);
|
|
67
|
-
}
|
|
68
|
-
return function cleanUp() {
|
|
69
|
-
mounted = false;
|
|
70
|
-
};
|
|
71
|
-
}, [externalOpen]);
|
|
72
|
-
const urlFinalIcon = useMemo(() => {
|
|
73
|
-
if (urlIcon)
|
|
74
|
-
return urlIcon;
|
|
75
|
-
return `${host_static_assets}/${environment_assets}/frontend/components/menu_actions/assets/icons/${ICONS.MENU}`;
|
|
76
|
-
}, [urlIcon, host_static_assets, environment_assets]);
|
|
77
|
-
const handleClose = (e) => {
|
|
78
|
-
e.stopPropagation();
|
|
79
|
-
setOpen(null);
|
|
80
|
-
externalClose && externalClose(null);
|
|
81
|
-
};
|
|
82
|
-
const handleClick = (e, menuAction) => {
|
|
83
|
-
e.stopPropagation();
|
|
84
|
-
setOpen(null);
|
|
85
|
-
menuAction.onClick();
|
|
86
|
-
};
|
|
87
|
-
const finalActions = useMemo(() => {
|
|
88
|
-
let ret;
|
|
89
|
-
if (typeof menuActions !== "function") {
|
|
90
|
-
ret = menuActions;
|
|
91
|
-
} else {
|
|
92
|
-
ret = menuActions(objItem);
|
|
93
|
-
}
|
|
94
|
-
return ret;
|
|
95
|
-
}, [menuActions, objItem]);
|
|
96
|
-
const IconButtonElement = /* @__PURE__ */ jsx(Fragment, { children: withBadge ? /* @__PURE__ */ jsx(Badge, { badgeContent, children: /* @__PURE__ */ jsx(
|
|
97
|
-
IconButton,
|
|
98
|
-
{
|
|
99
|
-
src: urlFinalIcon,
|
|
100
|
-
onClick: handleOpen,
|
|
101
|
-
tooltip: toolTip,
|
|
102
|
-
className: iconButtonClassName
|
|
103
|
-
}
|
|
104
|
-
) }) : /* @__PURE__ */ jsx(
|
|
105
|
-
IconButton,
|
|
106
|
-
{
|
|
107
|
-
src: urlFinalIcon,
|
|
108
|
-
onClick: handleOpen,
|
|
109
|
-
tooltip: toolTip,
|
|
110
|
-
className: iconButtonClassName
|
|
111
|
-
}
|
|
112
|
-
) });
|
|
113
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
114
|
-
IconButtonElement,
|
|
115
|
-
/* @__PURE__ */ jsxs(
|
|
116
|
-
Popover,
|
|
117
|
-
{
|
|
118
|
-
id: "Popover",
|
|
119
|
-
open: Boolean(open),
|
|
120
|
-
anchorEl: open,
|
|
121
|
-
onClose: handleClose,
|
|
122
|
-
arrowType,
|
|
123
|
-
className: clsx(classes.root, className),
|
|
124
|
-
sx: {
|
|
125
|
-
marginTop,
|
|
126
|
-
marginBottom,
|
|
127
|
-
marginLeft,
|
|
128
|
-
marginRight,
|
|
129
|
-
width,
|
|
130
|
-
maxWidth: 300,
|
|
131
|
-
"& .MuiMenuItem-root": { px: 1, typography: "body2", borderRadius: 0.75 },
|
|
132
|
-
...theme.components?.M4LMenuActions?.styleOverrides,
|
|
133
|
-
...menuActionSx
|
|
134
|
-
},
|
|
135
|
-
...other,
|
|
136
|
-
children: [
|
|
137
|
-
finalActions.map((menuAction, index) => /* @__PURE__ */ jsxs(
|
|
138
|
-
MenuItem,
|
|
139
|
-
{
|
|
140
|
-
dense: true,
|
|
141
|
-
onClick: (e) => {
|
|
142
|
-
handleClick(e, menuAction);
|
|
143
|
-
},
|
|
144
|
-
sx: { color: menuAction.color ?? "text.main" },
|
|
145
|
-
disabled: menuAction.disabled,
|
|
146
|
-
className: clsx(
|
|
147
|
-
menuAction?.className,
|
|
148
|
-
menuAction.variant === "delete" && classes.itemDelete
|
|
149
|
-
),
|
|
150
|
-
children: [
|
|
151
|
-
menuAction.urlIcon ? /* @__PURE__ */ jsx(Icon, { src: menuAction.urlIcon }) : null,
|
|
152
|
-
/* @__PURE__ */ jsx(LabelMemuItem, { children: menuAction.label || menuAction.dictionaryId && getLabel(menuAction.dictionaryId) })
|
|
153
|
-
]
|
|
154
|
-
},
|
|
155
|
-
`menu_action_${index}`
|
|
156
|
-
)),
|
|
157
|
-
endListElement ? endListElement : null
|
|
158
|
-
]
|
|
159
|
-
}
|
|
160
|
-
)
|
|
161
|
-
] });
|
|
162
|
-
}
|
|
163
|
-
const MemonizedMenuActions = React__default.memo(MenuActions);
|
|
164
|
-
export {
|
|
165
|
-
MenuActions as M,
|
|
166
|
-
MemonizedMenuActions as a
|
|
167
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const WrapperMenuActions: import("@emotion/styled").StyledComponent<import("@mui/material").IconButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
3
|
-
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
4
|
-
}, "style" | "disabled" | "children" | "tabIndex" | "className" | "color" | "size" | "action" | "sx" | "classes" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
5
|
-
export declare const LabelMemuItem: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/components/areas/contexts/DynamicMFParmsContext/{index.3d9ad0ad.js → index-22c6E7vK.js}
RENAMED
|
File without changes
|
/package/components/areas/contexts/WindowToolsMFContext/{index.992ae7a3.js → index-DkE30fhm.js}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|