@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,13 +1,15 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses } from "@mui/material";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
|
-
import { g as getComponentUtilityClass } from "../../../utils/index.
|
|
5
|
-
import { ab as AppBarComercialRoot } from "../../../styles/index.
|
|
4
|
+
import { g as getComponentUtilityClass } from "../../../utils/index-DiMrtgIu.js";
|
|
5
|
+
import { ab as AppBarComercialRoot } from "../../../styles/index-C-MsxWtr.js";
|
|
6
6
|
const componentName = "M4LAppBarCommercial";
|
|
7
7
|
generateUtilityClasses(
|
|
8
8
|
componentName,
|
|
9
9
|
[
|
|
10
|
+
/* elements */
|
|
10
11
|
"root"
|
|
12
|
+
/* states or variants of elements */
|
|
11
13
|
]
|
|
12
14
|
);
|
|
13
15
|
const useAppBarComercialUtilityClasses = () => {
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses } from "@mui/material";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
|
-
import { g as getComponentUtilityClass } from "../../../utils/index.
|
|
5
|
-
import { ac as SectionCommercialRoot } from "../../../styles/index.
|
|
4
|
+
import { g as getComponentUtilityClass } from "../../../utils/index-DiMrtgIu.js";
|
|
5
|
+
import { ac as SectionCommercialRoot } from "../../../styles/index-C-MsxWtr.js";
|
|
6
6
|
const componentName = "M4LSectionCommercial";
|
|
7
7
|
generateUtilityClasses(
|
|
8
8
|
componentName,
|
|
9
9
|
[
|
|
10
|
+
/* elements */
|
|
10
11
|
"root",
|
|
12
|
+
/* states or variants of elements */
|
|
11
13
|
"fullWidth",
|
|
12
14
|
"boxed",
|
|
13
15
|
"columnReverse"
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock
|
|
2
|
+
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
3
3
|
import { generateUtilityClasses, useTheme, Box, Grid, styled } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { g as getComponentUtilityClass } from "../../../utils/index.
|
|
5
|
+
import { g as getComponentUtilityClass } from "../../../utils/index-DiMrtgIu.js";
|
|
6
6
|
import { createContext, useContext, useState } from "react";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
|
-
import { ad as ArrowIconRoot } from "../../../styles/index.
|
|
9
|
-
import { I as Icon } from "../../Icon/index.
|
|
8
|
+
import { ad as ArrowIconRoot } from "../../../styles/index-C-MsxWtr.js";
|
|
9
|
+
import { I as Icon } from "../../Icon/index-CueLDD9j.js";
|
|
10
10
|
import clsx from "clsx";
|
|
11
|
-
import { g as getNameDataTestId } from "../../../test/getNameDataTestId.
|
|
12
|
-
import { A as Accordion } from "../../mui_extended/Accordion/index.
|
|
13
|
-
import { B as Button } from "../../mui_extended/Button/index.
|
|
14
|
-
import { P as Popover } from "../../mui_extended/Popover/index.
|
|
11
|
+
import { g as getNameDataTestId } from "../../../test/getNameDataTestId-BaBTWhBr.js";
|
|
12
|
+
import { A as Accordion } from "../../mui_extended/Accordion/index-D1775s1J.js";
|
|
13
|
+
import { B as Button } from "../../mui_extended/Button/index-CksGG1B8.js";
|
|
14
|
+
import { P as Popover } from "../../mui_extended/Popover/index-BnKsmvtw.js";
|
|
15
15
|
const componentName = "M4LTopBar";
|
|
16
16
|
const TopBarClasses = generateUtilityClasses(componentName, [
|
|
17
|
+
/* elements */
|
|
17
18
|
"root",
|
|
18
19
|
"ContainerImageComercial",
|
|
19
20
|
"SimplebarComercial",
|
|
@@ -22,6 +23,7 @@ const TopBarClasses = generateUtilityClasses(componentName, [
|
|
|
22
23
|
"ContainerAccordion",
|
|
23
24
|
"ContainerAccordionCase1",
|
|
24
25
|
"IconAndButton",
|
|
26
|
+
/* states or variants of elements */
|
|
25
27
|
"IsActive"
|
|
26
28
|
]);
|
|
27
29
|
function getTopBarClassesUtilityClass() {
|
|
@@ -58,7 +60,6 @@ const TopBarProvider = (props) => {
|
|
|
58
60
|
);
|
|
59
61
|
};
|
|
60
62
|
const useTopBar = () => useContext(TopBarContext);
|
|
61
|
-
const useTopBar$1 = useTopBar;
|
|
62
63
|
function ArrowIcon(props) {
|
|
63
64
|
const { openState } = props;
|
|
64
65
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
@@ -83,7 +84,7 @@ const isActive = (data) => {
|
|
|
83
84
|
};
|
|
84
85
|
const NavItemRoot = (props) => {
|
|
85
86
|
const theme = useTheme();
|
|
86
|
-
const { classes, dataTestId } = useTopBar
|
|
87
|
+
const { classes, dataTestId } = useTopBar();
|
|
87
88
|
const { itemRootData } = props;
|
|
88
89
|
const { title, children, module_id } = itemRootData;
|
|
89
90
|
const [anchorEl, setAnchorEl] = useState(null);
|
|
@@ -200,12 +201,13 @@ const NavItemRoot = (props) => {
|
|
|
200
201
|
);
|
|
201
202
|
};
|
|
202
203
|
const ConteinItem = () => {
|
|
203
|
-
const { dataMenu: DataMenu, classes, dataTestId } = useTopBar
|
|
204
|
+
const { dataMenu: DataMenu, classes, dataTestId } = useTopBar();
|
|
204
205
|
return /* @__PURE__ */ jsx(
|
|
205
206
|
"div",
|
|
206
207
|
{
|
|
207
208
|
className: classes.SimplebarComercial,
|
|
208
209
|
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId(componentName, "SimplebarComercial", dataTestId) } : {},
|
|
210
|
+
//Map que se encarga de cargar el iNavItemRoot
|
|
209
211
|
children: DataMenu.map((group) => /* @__PURE__ */ jsx(NavItemRoot, { itemRootData: group }, group.module_id))
|
|
210
212
|
}
|
|
211
213
|
);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
|
-
import { ae as HamburgerMenuRoot } from "../../styles/index.
|
|
3
|
+
import { ae as HamburgerMenuRoot } from "../../styles/index-C-MsxWtr.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { T as TEST_PROP_ID } from "../../test/constants_no_mock
|
|
6
|
+
import { T as TEST_PROP_ID } from "../../test/constants_no_mock-CF-669v-.js";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
|
-
import { S as SideBar } from "../SideBar/index.
|
|
9
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
8
|
+
import { S as SideBar } from "../SideBar/index-Ddxe1VvL.js";
|
|
9
|
+
import { I as IconButton } from "../mui_extended/IconButton/index-OMq0pPK0.js";
|
|
10
10
|
const componentName = "M4LHamburgerMenuCommercial";
|
|
11
11
|
generateUtilityClasses(componentName, ["root", "ImageLogo"]);
|
|
12
12
|
function getHamburgerMenuComercialClassesUtilityClass(slot) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
4
|
-
import { I as Icon } from "../../Icon/index.
|
|
5
|
-
import { W as WrapperComponent } from "../../WrapperComponent/index.
|
|
6
|
-
import { F as FormatterRoot, f as formatterClasses } from "../index.
|
|
4
|
+
import { I as Icon } from "../../Icon/index-CueLDD9j.js";
|
|
5
|
+
import { W as WrapperComponent } from "../../WrapperComponent/index-BHV-CsDU.js";
|
|
6
|
+
import { F as FormatterRoot, f as formatterClasses } from "../index-Botdzyt2.js";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
const BOOLEAN_FORMATTER_DICTIONARY_KEY = `boolean_formatter`;
|
|
9
9
|
const LABEL_BOOLEAN_YES = `${BOOLEAN_FORMATTER_DICTIONARY_KEY}.boolean_yes`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useFormatter } from "@m4l/graphics";
|
|
3
|
-
import { W as WrapperComponent } from "../../WrapperComponent/index.
|
|
3
|
+
import { W as WrapperComponent } from "../../WrapperComponent/index-BHV-CsDU.js";
|
|
4
4
|
function getFormatDate(presentationType, value, format) {
|
|
5
5
|
const { dateFormatter } = useFormatter();
|
|
6
6
|
let finalFormat = format || dateFormatter.datetimeFormat;
|
|
@@ -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 getFormatPoints(obProps, fieldValue, fieldUnit, chainPoint) {
|
|
5
5
|
let result = "";
|
|
6
6
|
const points = getPropertyByString(obProps, fieldValue);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { getPropertyByString } from "@m4l/core";
|
|
3
3
|
import { useFormatter } from "@m4l/graphics";
|
|
4
|
-
import { W as WrapperComponent } from "../../WrapperComponent/index.
|
|
4
|
+
import { W as WrapperComponent } from "../../WrapperComponent/index-BHV-CsDU.js";
|
|
5
5
|
function getFormatPrice(obProps, fieldValue, currency, decimalDigits) {
|
|
6
6
|
let result = "";
|
|
7
7
|
const value = getPropertyByString(obProps, fieldValue);
|
|
@@ -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 getUncertaintyFormat(obProps, fieldValue, fieldSymbol, fieldUnit) {
|
|
5
5
|
let result = "";
|
|
6
6
|
const ranges = getPropertyByString(obProps, fieldValue);
|
|
@@ -10,11 +10,11 @@ function getUncertaintyFormat(obProps, fieldValue, fieldSymbol, fieldUnit) {
|
|
|
10
10
|
return "[]";
|
|
11
11
|
}
|
|
12
12
|
ranges.map((obj, idx) => {
|
|
13
|
-
const cmc_min_closed = obj.cmc_min_closed != true ? "<" : "
|
|
14
|
-
const cmc_max_closed = obj.cmc_max_closed != true ? "<" : "
|
|
13
|
+
const cmc_min_closed = obj.cmc_min_closed != true ? "<" : "≤";
|
|
14
|
+
const cmc_max_closed = obj.cmc_max_closed != true ? "<" : "≤";
|
|
15
15
|
result = result.concat(
|
|
16
16
|
`${idx > 0 ? " " : ""}`,
|
|
17
|
-
obj.cmc_min !== obj.cmc_max ? `[${obj.cmc_min}${unit} ${cmc_min_closed} ${symbol} ${cmc_max_closed} ${obj.cmc_max}${unit}
|
|
17
|
+
obj.cmc_min !== obj.cmc_max ? `[${obj.cmc_min}${unit} ${cmc_min_closed} ${symbol} ${cmc_max_closed} ${obj.cmc_max}${unit} ± ${obj.cmc_uncertainty}]` : `[${obj.cmc_min}${unit} ± ${obj.cmc_uncertainty}]`
|
|
18
18
|
);
|
|
19
19
|
});
|
|
20
20
|
return result;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses } from "@mui/material";
|
|
3
3
|
import "@mui/base";
|
|
4
|
-
import { af as FormatterRootContainer } from "../../styles/index.
|
|
5
|
-
import { W as WrapperComponent } from "../WrapperComponent/index.
|
|
4
|
+
import { af as FormatterRootContainer } from "../../styles/index-C-MsxWtr.js";
|
|
5
|
+
import { W as WrapperComponent } from "../WrapperComponent/index-BHV-CsDU.js";
|
|
6
6
|
import { useModuleDictionary } from "@m4l/core";
|
|
7
|
-
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index.
|
|
7
|
+
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index-Bc2l6GTX.js";
|
|
8
8
|
const COMPONENT_CLASS_NAME = "M4LFormatter";
|
|
9
9
|
const formatterClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
10
|
+
/* elements */
|
|
10
11
|
"root",
|
|
11
12
|
"booleanFormatterIcon",
|
|
12
13
|
"booleanFormatterCheck"
|
|
14
|
+
/* states or variants of elements */
|
|
13
15
|
]);
|
|
14
16
|
const FormatterRoot = (props) => {
|
|
15
17
|
const { children } = props;
|
|
@@ -17,17 +19,14 @@ const FormatterRoot = (props) => {
|
|
|
17
19
|
};
|
|
18
20
|
function getFormatConcatenated(values, separator) {
|
|
19
21
|
const returnSymbol = "";
|
|
20
|
-
if (values === null)
|
|
21
|
-
return returnSymbol;
|
|
22
|
+
if (values === null) return returnSymbol;
|
|
22
23
|
if (!Array.isArray(values)) {
|
|
23
24
|
return values.toString();
|
|
24
25
|
} else {
|
|
25
|
-
if (values.length == 0)
|
|
26
|
-
return returnSymbol;
|
|
26
|
+
if (values.length == 0) return returnSymbol;
|
|
27
27
|
else {
|
|
28
28
|
const result = values.map((value) => {
|
|
29
|
-
if (value === null || value === void 0)
|
|
30
|
-
return returnSymbol;
|
|
29
|
+
if (value === null || value === void 0) return returnSymbol;
|
|
31
30
|
else {
|
|
32
31
|
if (typeof value === "string" || typeof value === "number") {
|
|
33
32
|
return value.toString();
|
|
@@ -71,30 +70,25 @@ function getFormatPeriod(years, months, days) {
|
|
|
71
70
|
case 0:
|
|
72
71
|
break;
|
|
73
72
|
case 1:
|
|
74
|
-
if (years > 0)
|
|
75
|
-
period += separator;
|
|
73
|
+
if (years > 0) period += separator;
|
|
76
74
|
period += "1 " + getLabel(dictionary.LABEL_MONTH);
|
|
77
75
|
break;
|
|
78
76
|
default:
|
|
79
|
-
if (years > 0)
|
|
80
|
-
period += separator;
|
|
77
|
+
if (years > 0) period += separator;
|
|
81
78
|
period += months.toString() + " " + getLabel(dictionary.LABEL_MONTHS);
|
|
82
79
|
}
|
|
83
80
|
switch (days) {
|
|
84
81
|
case 0:
|
|
85
82
|
break;
|
|
86
83
|
case 1:
|
|
87
|
-
if (years > 0 || months > 0)
|
|
88
|
-
period += separator;
|
|
84
|
+
if (years > 0 || months > 0) period += separator;
|
|
89
85
|
period += "1 " + getLabel(dictionary.LABEL_DAY);
|
|
90
86
|
break;
|
|
91
87
|
default:
|
|
92
|
-
if (years > 0 || months > 0)
|
|
93
|
-
period += separator;
|
|
88
|
+
if (years > 0 || months > 0) period += separator;
|
|
94
89
|
period += days.toString() + " " + getLabel(dictionary.LABEL_DAYS);
|
|
95
90
|
}
|
|
96
|
-
if (period == "")
|
|
97
|
-
period = "-";
|
|
91
|
+
if (period == "") period = "-";
|
|
98
92
|
return period;
|
|
99
93
|
}
|
|
100
94
|
function PeriodFormatter(props) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useFormContext, useController } from "react-hook-form";
|
|
3
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
3
|
+
import { H as HelperText } from "../../HelperText/index-DVV5Jfc8.js";
|
|
4
4
|
function HelperError(props) {
|
|
5
5
|
const { name } = props;
|
|
6
6
|
const { control } = useFormContext();
|
|
@@ -6,18 +6,19 @@ import { generateUtilityClasses, generateUtilityClass, Skeleton, useTheme, Autoc
|
|
|
6
6
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
7
7
|
import { useFormContext, Controller } from "react-hook-form";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
|
-
import { ag as WrapperOption, ah as AutocompleteRoot } from "../../../styles/index.
|
|
10
|
-
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock
|
|
11
|
-
import { I as Image } from "../../Image/index.
|
|
12
|
-
import { T as Typography } from "../../mui_extended/Typography/index.
|
|
13
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
14
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
15
|
-
import { C as CircularProgress } from "../../mui_extended/CircularProgress/index.
|
|
16
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
9
|
+
import { ag as WrapperOption, ah as AutocompleteRoot } from "../../../styles/index-C-MsxWtr.js";
|
|
10
|
+
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
11
|
+
import { I as Image } from "../../Image/index-By5vsRzf.js";
|
|
12
|
+
import { T as Typography } from "../../mui_extended/Typography/index-W88rbpsJ.js";
|
|
13
|
+
import { H as HelperText } from "../../HelperText/index-DVV5Jfc8.js";
|
|
14
|
+
import { F as FieldLabel } from "../../FieldLabel/index-DCAMDJoJ.js";
|
|
15
|
+
import { C as CircularProgress } from "../../mui_extended/CircularProgress/index-Bnnti_G6.js";
|
|
16
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index-OMq0pPK0.js";
|
|
17
17
|
const componentName = "M4LRHFAutocomplete";
|
|
18
18
|
generateUtilityClasses(
|
|
19
19
|
componentName,
|
|
20
20
|
[
|
|
21
|
+
/* elements */
|
|
21
22
|
"root",
|
|
22
23
|
"withImage",
|
|
23
24
|
"skeleton",
|
|
@@ -28,6 +29,7 @@ generateUtilityClasses(
|
|
|
28
29
|
"containerRefreshDown",
|
|
29
30
|
"iconRefresh",
|
|
30
31
|
"iconDown",
|
|
32
|
+
/* states or variants of elements */
|
|
31
33
|
"variantInfo",
|
|
32
34
|
"isDisabled",
|
|
33
35
|
"imageWidthDefined",
|
|
@@ -131,7 +133,9 @@ function ComponentTypeImage(props) {
|
|
|
131
133
|
getOptionLabel,
|
|
132
134
|
isOptionEqualToValue,
|
|
133
135
|
label,
|
|
136
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
134
137
|
skeletonWidth = 100,
|
|
138
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
135
139
|
skeletonHeight = "18px",
|
|
136
140
|
options,
|
|
137
141
|
disabled,
|
|
@@ -161,13 +165,11 @@ function ComponentTypeImage(props) {
|
|
|
161
165
|
const isDesktop = useResponsiveDesktop();
|
|
162
166
|
const onCloseLocal = (event, reason) => {
|
|
163
167
|
setOpen(false);
|
|
164
|
-
if (onClose)
|
|
165
|
-
onClose(event, reason);
|
|
168
|
+
if (onClose) onClose(event, reason);
|
|
166
169
|
};
|
|
167
170
|
const onOpenLocal = (event) => {
|
|
168
171
|
setOpen((currentState) => !currentState);
|
|
169
|
-
if (onOpen)
|
|
170
|
-
onOpen(event);
|
|
172
|
+
if (onOpen) onOpen(event);
|
|
171
173
|
};
|
|
172
174
|
const getOptionLabelLocal = (option) => {
|
|
173
175
|
if (option === void 0 || option === null) {
|
|
@@ -240,8 +242,7 @@ function ComponentTypeImage(props) {
|
|
|
240
242
|
}
|
|
241
243
|
}, [value]);
|
|
242
244
|
const checkKeyDown = (e) => {
|
|
243
|
-
if (e.code === "Enter")
|
|
244
|
-
e.preventDefault();
|
|
245
|
+
if (e.code === "Enter") e.preventDefault();
|
|
245
246
|
};
|
|
246
247
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
247
248
|
label && /* @__PURE__ */ jsx(
|
|
@@ -404,7 +405,9 @@ function ComponentTypeText(props) {
|
|
|
404
405
|
getOptionLabel,
|
|
405
406
|
isOptionEqualToValue,
|
|
406
407
|
label,
|
|
408
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
407
409
|
skeletonWidth = 100,
|
|
410
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
408
411
|
skeletonHeight = "18px",
|
|
409
412
|
options,
|
|
410
413
|
disabled,
|
|
@@ -430,13 +433,11 @@ function ComponentTypeText(props) {
|
|
|
430
433
|
const isDesktop = useResponsiveDesktop();
|
|
431
434
|
const onCloseLocal = (event, reason) => {
|
|
432
435
|
setOpen(false);
|
|
433
|
-
if (onClose)
|
|
434
|
-
onClose(event, reason);
|
|
436
|
+
if (onClose) onClose(event, reason);
|
|
435
437
|
};
|
|
436
438
|
const onOpenLocal = (event) => {
|
|
437
439
|
setOpen((currentState) => !currentState);
|
|
438
|
-
if (onOpen)
|
|
439
|
-
onOpen(event);
|
|
440
|
+
if (onOpen) onOpen(event);
|
|
440
441
|
};
|
|
441
442
|
const getOptionLabelLocal = (option) => {
|
|
442
443
|
if (option === void 0 || option === null) {
|
|
@@ -501,8 +502,7 @@ function ComponentTypeText(props) {
|
|
|
501
502
|
}
|
|
502
503
|
}, [value]);
|
|
503
504
|
const checkKeyDown = (e) => {
|
|
504
|
-
if (e.code === "Enter")
|
|
505
|
-
e.preventDefault();
|
|
505
|
+
if (e.code === "Enter") e.preventDefault();
|
|
506
506
|
};
|
|
507
507
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
508
508
|
label && /* @__PURE__ */ jsx(
|
|
@@ -4,14 +4,16 @@ import { useState, useCallback, useEffect } from "react";
|
|
|
4
4
|
import debounce from "lodash/debounce";
|
|
5
5
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
-
import { ai as RHFAutocompleteAsyncRoot } from "../../../styles/index.
|
|
8
|
-
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock
|
|
9
|
-
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.
|
|
7
|
+
import { ai as RHFAutocompleteAsyncRoot } from "../../../styles/index-C-MsxWtr.js";
|
|
8
|
+
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
9
|
+
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index-erpzYu8W.js";
|
|
10
10
|
const componentName = "M4LRHFAutocompleteAsync";
|
|
11
11
|
generateUtilityClasses(
|
|
12
12
|
componentName,
|
|
13
13
|
[
|
|
14
|
+
/* elements */
|
|
14
15
|
"root"
|
|
16
|
+
/* states or variants of elements */
|
|
15
17
|
]
|
|
16
18
|
);
|
|
17
19
|
function getRHFAutocompleteAsyncClassesUtilityClass(slot) {
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
|
-
import { aj as RHFCheckboxRoot, ak as ContainerCheckTypography } from "../../../styles/index.
|
|
3
|
+
import { aj as RHFCheckboxRoot, ak as ContainerCheckTypography } from "../../../styles/index-C-MsxWtr.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
7
|
-
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock
|
|
6
|
+
import { H as HelperText } from "../../HelperText/index-DVV5Jfc8.js";
|
|
7
|
+
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
8
8
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
9
9
|
import { useModuleSkeleton } from "@m4l/core";
|
|
10
10
|
import { useFormFocus } from "../../../index.js";
|
|
11
|
-
import { C as CheckBox } from "../../mui_extended/CheckBox.
|
|
11
|
+
import { C as CheckBox } from "../../mui_extended/CheckBox-CjxjIrmN.js";
|
|
12
12
|
generateUtilityClasses("M4LRHFCheckbox", [
|
|
13
|
+
/* elements */
|
|
13
14
|
"root",
|
|
14
15
|
"checkTypography",
|
|
15
16
|
"skeleton",
|
|
17
|
+
/* states or variants of elements */
|
|
16
18
|
"small",
|
|
17
19
|
"medium",
|
|
18
20
|
"stateDisabled",
|
|
@@ -75,49 +77,54 @@ function RHFCheckbox(props) {
|
|
|
75
77
|
error: errors[name] ? true : false
|
|
76
78
|
};
|
|
77
79
|
const classes = useUtilityClasses(ownerState);
|
|
78
|
-
return
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
80
|
+
return (
|
|
81
|
+
/* ImageRoot: Contenedor principal del componente, es usado para aplicar los estilos css de los overrides que
|
|
82
|
+
provienen del objeto del tema. Se usa para garantizar de que estos estilos no se propaguen a otros componentes
|
|
83
|
+
de la plataforna web. */
|
|
84
|
+
/* @__PURE__ */ jsx(
|
|
85
|
+
RHFCheckboxRoot,
|
|
86
|
+
{
|
|
87
|
+
className: classes.root,
|
|
88
|
+
onFocus: handlerFocus,
|
|
89
|
+
onBlur: handlerOnBlur,
|
|
90
|
+
onKeyUp: handlerOnKeyUp,
|
|
91
|
+
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId("root", name) } : {},
|
|
92
|
+
children: /* @__PURE__ */ jsx(
|
|
93
|
+
Controller,
|
|
94
|
+
{
|
|
95
|
+
name,
|
|
96
|
+
control,
|
|
97
|
+
render: ({ field: { onChange, value }, fieldState: { error } }) => {
|
|
98
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
99
|
+
/* @__PURE__ */ jsx(
|
|
100
|
+
ContainerCheckTypography,
|
|
101
|
+
{
|
|
102
|
+
className: classes.checkTypography,
|
|
103
|
+
...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameDataTestId("checkTypography", name) } : {},
|
|
104
|
+
children: /* @__PURE__ */ jsx(
|
|
105
|
+
CheckBox,
|
|
106
|
+
{
|
|
107
|
+
size: sizeCheck,
|
|
108
|
+
onChange,
|
|
109
|
+
checked: value,
|
|
110
|
+
disabled: disabled ? true : false,
|
|
111
|
+
disableRipple: true,
|
|
112
|
+
label,
|
|
113
|
+
mandatory,
|
|
114
|
+
mandatoryMessage,
|
|
115
|
+
helperMessage,
|
|
116
|
+
htmlFor: name
|
|
117
|
+
}
|
|
118
|
+
)
|
|
119
|
+
}
|
|
120
|
+
),
|
|
121
|
+
error?.message && /* @__PURE__ */ jsx(HelperText, { variant: "error", message: error?.message + "" })
|
|
122
|
+
] });
|
|
123
|
+
}
|
|
117
124
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
125
|
+
)
|
|
126
|
+
}
|
|
127
|
+
)
|
|
121
128
|
);
|
|
122
129
|
}
|
|
123
130
|
export {
|
|
@@ -3,5 +3,5 @@ export declare const RHFCheckboxRoot: import("@emotion/styled").StyledComponent<
|
|
|
3
3
|
export declare const WrapperSKTRHFCheckbox: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
4
|
export declare const SKTCheckSkeleton: import("@emotion/styled").StyledComponent<import("@mui/material").SkeletonOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
5
5
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
6
|
-
}, "style" | "children" | "width" | "className" | "height" | "animation" | "
|
|
6
|
+
}, "style" | "children" | "width" | "className" | "height" | "animation" | "sx" | "classes" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
7
7
|
export declare const ContainerCheckTypography: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -3,25 +3,27 @@ import { useState } from "react";
|
|
|
3
3
|
import { useFormContext, useWatch, Controller } from "react-hook-form";
|
|
4
4
|
import { useModuleSkeleton, useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
5
5
|
import { SketchPicker } from "react-color";
|
|
6
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
6
|
+
import { H as HelperText } from "../../HelperText/index-DVV5Jfc8.js";
|
|
7
7
|
import { generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
|
-
import { al as RHFColorPickerRoot } from "../../../styles/index.
|
|
9
|
+
import { al as RHFColorPickerRoot } from "../../../styles/index-C-MsxWtr.js";
|
|
10
10
|
import { useTheme } from "@mui/material/styles";
|
|
11
11
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
12
12
|
import { useFormFocus } from "../../../index.js";
|
|
13
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { B as Button } from "../../mui_extended/Button/index.
|
|
13
|
+
import { F as FieldLabel } from "../../FieldLabel/index-DCAMDJoJ.js";
|
|
14
|
+
import { I as Icon } from "../../Icon/index-CueLDD9j.js";
|
|
15
|
+
import { P as Popover } from "../../mui_extended/Popover/index-BnKsmvtw.js";
|
|
16
|
+
import { B as Button } from "../../mui_extended/Button/index-CksGG1B8.js";
|
|
17
17
|
const componentName = "M4LRHFColorPicker";
|
|
18
18
|
const colorPickerClasses = generateUtilityClasses(componentName, [
|
|
19
|
+
/* elements */
|
|
19
20
|
"root",
|
|
20
21
|
"popoverRoot",
|
|
21
22
|
"containerFieldColor",
|
|
22
23
|
"fieldColor",
|
|
23
24
|
"containerPicker",
|
|
24
25
|
"skeleton",
|
|
26
|
+
/* states or variants of elements */
|
|
25
27
|
"sizeSmall",
|
|
26
28
|
"sizeMedium",
|
|
27
29
|
"isFocus",
|
|
@@ -7,12 +7,12 @@ import { useFormatter, useResponsiveDesktop } from "@m4l/graphics";
|
|
|
7
7
|
import { useState, useEffect } from "react";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
9
|
import clsx from "clsx";
|
|
10
|
-
import { am as RHFDateTimeRoot } from "../../../styles/index.
|
|
11
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
12
|
-
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock
|
|
10
|
+
import { am as RHFDateTimeRoot } from "../../../styles/index-C-MsxWtr.js";
|
|
11
|
+
import { H as HelperText } from "../../HelperText/index-DVV5Jfc8.js";
|
|
12
|
+
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock-CF-669v-.js";
|
|
13
13
|
import { useFormFocus } from "../../../index.js";
|
|
14
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
15
|
-
import { I as Icon } from "../../Icon/index.
|
|
14
|
+
import { F as FieldLabel } from "../../FieldLabel/index-DCAMDJoJ.js";
|
|
15
|
+
import { I as Icon } from "../../Icon/index-CueLDD9j.js";
|
|
16
16
|
const SkeletonRHFDateTime = (props) => {
|
|
17
17
|
const { skeletonWidth, skeletonHeight, className, label } = props;
|
|
18
18
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -25,8 +25,10 @@ const SkeletonRHFDateTime = (props) => {
|
|
|
25
25
|
};
|
|
26
26
|
const componentName = "M4LRHFDateTime";
|
|
27
27
|
generateUtilityClasses(componentName, [
|
|
28
|
+
/* elements */
|
|
28
29
|
"root",
|
|
29
30
|
"skeleton",
|
|
31
|
+
/* states or variants of elements */
|
|
30
32
|
"small",
|
|
31
33
|
"medium",
|
|
32
34
|
"isFocus",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const RHF_INPUTNUMBER_SPINNER_KEY_COMPONENT = "M4LRHFInputNumberSpinner";
|