@m4l/components 0.2.19 → 0.2.21
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/components/AccountPopover/{index.34362031.js → index.b00671fa.js} +1 -5
- package/components/AppBar/{index.c64b66ee.js → index.3a694645.js} +2 -2
- package/components/CommonActions/components/ActionCancel/{index.106c5327.js → index.bd595785.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.6d00f737.js → index.6fd990b7.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.9ee7df17.js → index.798cb977.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.bd2a14b2.js → index.64498081.js} +2 -2
- package/components/CommonActions/components/Actions/{index.8368ac0f.js → index.b8a1d42a.js} +1 -1
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.6924642b.js → index.6faecd3c.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.17a5c379.js → index.3cabb920.js} +3 -3
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/index.d.ts +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/index.d.ts +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.60ddc1d2.js → index.fd1bea19.js} +3 -3
- package/components/DataGrid/formatters/index.d.ts +3 -1
- package/components/DataGrid/{index.37ce6054.js → index.660a6e7b.js} +3 -3
- package/components/DataGrid/subcomponents/Actions/{index.a39b31d8.js → index.e07a52bf.js} +12 -12
- package/components/DataGrid/types.d.ts +1 -1
- package/components/DragResizeWindow/{index.cb3d34e7.js → index.7c402375.js} +4 -4
- package/components/DynamicFilter/{index.73258cb8.js → index.0d1fcfa7.js} +10 -10
- package/components/GridLayout/{index.4d26c328.js → index.88b62a5d.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.25e9f332.js → index.5256b153.js} +3 -3
- package/components/GridLayout/subcomponents/Responsive/{index.3839890b.js → index.dfed4e68.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.a751962f.js → index.6b5de802.js} +1 -1
- package/components/Icon/{index.282c5b58.js → index.770f86ae.js} +1 -1
- package/components/Image/{index.8915f577.js → index.6dd3b128.js} +2 -2
- package/components/LanguagePopover/{index.5e1d85a9.js → index.b7f2816d.js} +2 -2
- package/components/LinearProgressIndeterminate/{index.2d53ade4.js → index.32caeee2.js} +1 -1
- package/components/LoadingError/{index.d95e6efb.js → index.3a86956f.js} +3 -3
- package/components/MFLoader/{index.cc563716.js → index.544940c7.js} +1 -4
- package/components/ModalDialog/{index.690c82a4.js → index.9ac45602.js} +4 -4
- package/components/NoItemSelected/{index.5246b204.js → index.08ec6c48.js} +1 -1
- package/components/ObjectLogs/{index.ad5284ce.js → index.0d263f80.js} +5 -5
- package/components/PDFViewer/{index.51e4f1b2.js → index.de51408a.js} +1 -2
- package/components/Page/{index.f4aedd2d.js → index.09e28ba1.js} +1 -1
- package/components/PaperForm/classes/index.d.ts +2 -1
- package/components/PaperForm/classes/types.d.ts +1 -0
- package/components/PaperForm/{index.30f68f0f.js → index.130ce6ad.js} +11 -6
- package/components/PaperForm/types.d.ts +4 -1
- package/components/Period/{index.8e118051.js → index.3c7e8590.js} +2 -2
- package/components/PopupsProvider/index.3d5ad0ee.js +4 -0
- package/components/PrintingSystem/{index.9dc25af9.js → index.9dcfb35d.js} +18 -14
- package/components/PrintingSystem/subcomponents/BodyNode/{index.6c1cf8f5.js → index.a3897785.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.fdb01c74.js → index.ecd5e809.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.46c5eb9e.js → index.6e177f94.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.18aa1ddd.js → index.82f1e38f.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.f4b4ffca.js → index.2b8fef69.js} +2 -6
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.9afcd686.js → index.a5d48adf.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.a3967d23.js → index.a4c5c3e6.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.e1c05641.js → index.3764b312.js} +3 -5
- package/components/PrintingSystem/subcomponents/SectionNode/{index.c5588090.js → index.4941ecf4.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.7792384b.js → index.9cc3b262.js} +1 -1
- package/components/PrintingSystem/types.d.ts +2 -2
- package/components/PropertyValue/{index.d61c943c.js → index.d975c7f3.js} +1 -2
- package/components/Resizeable/{index.18c86aff.js → index.14ab4804.js} +1 -1
- package/components/SideBar/{index.f5aecd41.js → index.e55c9b7c.js} +4 -4
- package/components/ToastContainer/{index.83304f62.js → index.b5f27f85.js} +3 -3
- package/components/areas/components/AreasAdmin/{index.c55d5c24.js → index.c802bb2f.js} +18 -20
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/{index.2bec316e.js → index.214d8c7d.js} +15 -19
- package/components/areas/contexts/AreasContext/helper.d.ts +2 -2
- package/components/areas/contexts/AreasContext/{index.827ee1e5.js → index.055ab6e2.js} +6 -16
- package/components/areas/hooks/useAreas/{index.71bc8f19.js → index.5da0bc90.js} +1 -1
- package/components/formatters/BooleanFormatter/{index.b21353a5.js → index.7a463493.js} +2 -3
- package/components/formatters/{index.7b216229.js → index.648cf3b0.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.210ee73f.js → index.d05ae217.js} +2 -3
- package/components/hook-form/RHFAutocompleteAsync/{index.e5935f63.js → index.699b8aaf.js} +1 -1
- package/components/hook-form/RHFColorPicker/{index.bcc1eced.js → index.c069ef4d.js} +10 -7
- package/components/hook-form/RHFDateTime/{index.fa80a8cb.js → index.97bd36d7.js} +1 -1
- package/components/hook-form/RHFPeriod/{index.d320e56f.js → index.4e10efa3.js} +1 -2
- package/components/hook-form/RHFTextField/{index.ab689d7d.js → index.78934e84.js} +2 -2
- package/components/hook-form/RHFUpload/{index.e251c9b6.js → index.7178a50b.js} +2 -2
- package/components/index.d.ts +0 -1
- package/components/modal/{WindowBase.779aa7a5.js → WindowBase.14255209.js} +3 -3
- package/components/modal/{WindowConfirm.ec73ba4f.js → WindowConfirm.f79ee169.js} +6 -6
- package/components/mui_extended/Accordion/{index.e15e10d9.js → index.fb6849e8.js} +2 -2
- package/components/mui_extended/Button/{index.5c68764a.js → index.928f05b7.js} +1 -1
- package/components/mui_extended/IconButton/{index.a719445f.js → index.023c369f.js} +1 -1
- package/components/mui_extended/MenuActions/{index.62359120.js → index.34293162.js} +2 -2
- package/components/mui_extended/Pager/{index.fa5f5ded.js → index.212ee603.js} +1 -2
- package/components/mui_extended/Tab/{index.cefe27e7.js → index.409b9c74.js} +4 -4
- package/components/mui_extended/ToggleButton/{index.5aa6ea58.js → index.cb0fb441.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.47ddefd4.js → index.49390b68.js} +1 -1
- package/contexts/ModalContext/{index.6085b148.js → index.e8f5ad3e.js} +1 -1
- package/hooks/useFormAddEdit/{index.59821a33.js → index.5e748884.js} +2 -4
- package/hooks/useModal/{index.1c88654a.js → index.50b23c06.js} +1 -1
- package/hooks/useTab/{index.500c048b.js → index.eee18a49.js} +1 -1
- package/index.js +94 -113
- package/{node_modules.bb836860.js → node_modules.448153f1.js} +1 -1
- package/package.json +1 -1
- package/react-data-grid.c5377916.js +2 -2
- package/{react-draggable.312ab17d.js → react-draggable.38b6012b.js} +1 -1
- package/{react-resizable.f2c58a4c.js → react-resizable.3cdda6a7.js} +2 -2
- package/vendor.daffbfe5.js +114 -0
- package/components/PopupsProvider/classes/index.d.ts +0 -11
- package/components/PopupsProvider/classes/types.d.ts +0 -9
- package/components/PopupsProvider/contexts/PopupsContext/PopupsContext.d.ts +0 -19
- package/components/PopupsProvider/contexts/PopupsContext/helper.d.ts +0 -7
- package/components/PopupsProvider/contexts/PopupsContext/index.d.ts +0 -1
- package/components/PopupsProvider/contexts/PopupsContext/store.d.ts +0 -16
- package/components/PopupsProvider/contexts/PopupsContext/types.d.ts +0 -117
- package/components/PopupsProvider/hooks/usePopupsStore/index.d.ts +0 -3
- package/components/PopupsProvider/index.81460070.js +0 -247
- package/components/PopupsProvider/index.d.ts +0 -2
- package/components/PopupsProvider/subcomponents/Popup/index.d.ts +0 -8
- package/components/PopupsProvider/subcomponents/Popup/types.d.ts +0 -16
- package/components/PopupsProvider/subcomponents/PopupsContainer/index.d.ts +0 -2
- package/components/PopupsProvider/subcomponents/PopupsContainer/types.d.ts +0 -1
- package/components/hook-form/HelperError/index.66bbcac3.js +0 -30
- package/components/hook-form/RHFHelperError/index.d.ts +0 -4
- package/components/maps/components/GpsTools/GpsTools.d.ts +0 -1
- package/components/maps/components/GpsTools/classes/index.d.ts +0 -4
- package/components/maps/components/GpsTools/classes/types.d.ts +0 -20
- package/components/maps/components/GpsTools/constants.d.ts +0 -8
- package/components/maps/components/GpsTools/contexts/GpsToolsContext/index.d.ts +0 -19
- package/components/maps/components/GpsTools/contexts/GpsToolsContext/store.d.ts +0 -16
- package/components/maps/components/GpsTools/contexts/GpsToolsContext/types.d.ts +0 -173
- package/components/maps/components/GpsTools/hooks/useGpsToolsStore/index.d.ts +0 -2
- package/components/maps/components/GpsTools/hooks/useLayers/index.d.ts +0 -1
- package/components/maps/components/GpsTools/icons.d.ts +0 -15
- package/components/maps/components/GpsTools/index.d.ts +0 -2
- package/components/maps/components/GpsTools/index.dfa96cdf.js +0 -2092
- package/components/maps/components/GpsTools/subcomponents/TabTools/index.d.ts +0 -9
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/constants.d.ts +0 -7
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/index.d.ts +0 -1
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/model.d.ts +0 -122
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/constants.d.ts +0 -20
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/helpers.d.ts +0 -7
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useDrawing.d.ts +0 -11
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useSubmit.d.ts +0 -8
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useSumbitErrorsFocus.d.ts +0 -5
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/hooks/useValidation.d.ts +0 -22
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/index.d.ts +0 -1
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/index.d.ts +0 -1
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/types.d.ts +0 -6
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/ConfigData/validations.d.ts +0 -5
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/index.d.ts +0 -1
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/types.d.ts +0 -7
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/GeneralData/validations.d.ts +0 -6
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyActions/index.d.ts +0 -1
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/MyTabs/index.d.ts +0 -1
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/index.d.ts +0 -1
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/FillData/index.d.ts +0 -1
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/subcomponents/StrokeData/index.d.ts +0 -1
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/subcomponents/StyleData/types.d.ts +0 -10
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofenceAddEdit/types.d.ts +0 -25
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useCheckedFeatures.d.ts +0 -9
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useCheckedGeofences.d.ts +0 -4
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useColumns.d.ts +0 -9
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useMaster.d.ts +0 -20
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/hooks/useRowActionsGetter.d.ts +0 -9
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/index.d.ts +0 -1
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/GeofencesTool/subcomponents/GeofencesList/subcomponents/Filter/index.d.ts +0 -7
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/constants.d.ts +0 -30
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/hooks/useMeasure.d.ts +0 -31
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/hooks/useValidation.d.ts +0 -10
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/index.d.ts +0 -1
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/index.d.ts +0 -1
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/types.d.ts +0 -6
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MeasureData/validations.d.ts +0 -2
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/subcomponents/MyActions/index.d.ts +0 -1
- package/components/maps/components/GpsTools/subcomponents/TabTools/subcomponents/MeasureTool/types.d.ts +0 -9
- package/components/maps/components/GpsTools/types.d.ts +0 -34
- package/components/maps/components/Map/Map.d.ts +0 -2
- package/components/maps/components/Map/classes/index.d.ts +0 -5
- package/components/maps/components/Map/classes/types.d.ts +0 -19
- package/components/maps/components/Map/contexts/MapContext/MapContext.d.ts +0 -19
- package/components/maps/components/Map/contexts/MapContext/helper.d.ts +0 -8
- package/components/maps/components/Map/contexts/MapContext/index.d.ts +0 -2
- package/components/maps/components/Map/contexts/MapContext/store.d.ts +0 -16
- package/components/maps/components/Map/contexts/MapContext/types.d.ts +0 -414
- package/components/maps/components/Map/dictionary.d.ts +0 -70
- package/components/maps/components/Map/featureRenders/CommonFeatureRender/index.d.ts +0 -8
- package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarker.d.ts +0 -6
- package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarkerGrua.d.ts +0 -1
- package/components/maps/components/Map/featureRenders/MarkerFeatureRender/IconMarkerTaxi.d.ts +0 -1
- package/components/maps/components/Map/featureRenders/MarkerFeatureRender/index.d.ts +0 -2
- package/components/maps/components/Map/featureRenders/index.d.ts +0 -1
- package/components/maps/components/Map/hooks/useAutoFocus/index.d.ts +0 -8
- package/components/maps/components/Map/hooks/useAutoFocus/types.d.ts +0 -15
- package/components/maps/components/Map/hooks/useDisableZoomEvents/index.d.ts +0 -1
- package/components/maps/components/Map/hooks/useMapStore/index.d.ts +0 -3
- package/components/maps/components/Map/index.040c05a5.js +0 -1339
- package/components/maps/components/Map/index.d.ts +0 -7
- package/components/maps/components/Map/pluginLayers/PolylineWithArrows/index.d.ts +0 -9
- package/components/maps/components/Map/pluginLayers/index.d.ts +0 -1
- package/components/maps/components/Map/subcomponents/LayersContainer/index.d.ts +0 -2
- package/components/maps/components/Map/subcomponents/LayersTool/hooks/useCheckedLayers.d.ts +0 -9
- package/components/maps/components/Map/subcomponents/LayersTool/hooks/useColumns.d.ts +0 -15
- package/components/maps/components/Map/subcomponents/LayersTool/hooks/useMaster.d.ts +0 -12
- package/components/maps/components/Map/subcomponents/LayersTool/index.d.ts +0 -1
- package/components/maps/components/Map/subcomponents/LayersTool/model.d.ts +0 -19
- package/components/maps/components/Map/subcomponents/MainTools/index.d.ts +0 -2
- package/components/maps/components/Map/subcomponents/MainTools/types.d.ts +0 -5
- package/components/maps/components/Map/subcomponents/MyLayer/index.d.ts +0 -17
- package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/index.d.ts +0 -20
- package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/MarkerClusterGroup/types.d.ts +0 -11
- package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/index.d.ts +0 -12
- package/components/maps/components/Map/subcomponents/MyLayer/subcomponents/RenderByEachFeatureComponent/types.d.ts +0 -5
- package/components/maps/components/Map/subcomponents/MyLayer/types.d.ts +0 -2
- package/components/maps/components/Map/types.d.ts +0 -28
- package/components/maps/index.d.ts +0 -3
- package/hooks/useFormReadyForUpdate/index.d.ts +0 -6
- package/hooks/useFormReadyForUpdate/index.f60f500e.js +0 -20
- package/hooks/useSizeContainer/contants.d.ts +0 -1
- package/hooks/useSizeContainer/index.62b4e0c4.js +0 -35
- package/hooks/useSizeContainer/index.d.ts +0 -8
- package/hooks/useStateRef/index.538edb89.js +0 -15
- package/hooks/useStateRef/index.d.ts +0 -8
- package/components/DataGrid/formatters/ColumnUncertaintyFormatter/{index.084ce3ef.js → index.aeea65aa.js} +1 -1
- /package/components/GridLayout/subcomponents/{Griditem → GridItem}/index.d.ts +0 -0
- /package/components/GridLayout/subcomponents/{Griditem → GridItem}/types.d.ts +0 -0
- /package/utils/{index.9ad3909a.js → index.79b6a2c1.js} +0 -0
|
@@ -4,7 +4,10 @@ export interface PaperFormProps {
|
|
|
4
4
|
urlIcon?: string;
|
|
5
5
|
title: string;
|
|
6
6
|
children: ReactNode;
|
|
7
|
+
isForm?: boolean;
|
|
7
8
|
}
|
|
8
|
-
export interface HeaderProps extends Omit<PaperFormProps, 'children'> {
|
|
9
|
+
export interface HeaderProps extends Omit<PaperFormProps, 'children' | 'isForm'> {
|
|
9
10
|
classes: Classes;
|
|
10
11
|
}
|
|
12
|
+
export interface OwnerState extends Pick<PaperFormProps, 'isForm'> {
|
|
13
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { styled, generateUtilityClasses, generateUtilityClass, Autocomplete, TextField, Skeleton } from "@mui/material";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
|
-
import { I as Icon } from "../Icon/index.
|
|
5
|
-
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.
|
|
4
|
+
import { I as Icon } from "../Icon/index.770f86ae.js";
|
|
5
|
+
import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.b8a1d42a.js";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
8
8
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { generateUtilityClasses } from "@mui/material";
|
|
2
2
|
import { unstable_composeClasses } from "@mui/base";
|
|
3
|
-
import { g as getComponentUtilityClass } from "../../utils/index.
|
|
3
|
+
import { g as getComponentUtilityClass } from "../../utils/index.79b6a2c1.js";
|
|
4
4
|
import { styled, useTheme } from "@mui/material/styles";
|
|
5
5
|
import clsx from "clsx";
|
|
6
|
-
import { D as DividerNode } from "./subcomponents/DividerNode/index.
|
|
7
|
-
import { S as SectionNode } from "./subcomponents/SectionNode/index.
|
|
8
|
-
import { T as TextBoxNode } from "./subcomponents/TextBoxNode/index.
|
|
9
|
-
import { H as HeaderNode } from "./subcomponents/HeaderNode/index.
|
|
10
|
-
import { a as ImageNode, Q as QRImageNode } from "../Image/index.
|
|
11
|
-
import { B as BodyNode } from "./subcomponents/BodyNode/index.
|
|
12
|
-
import { F as FooterNode } from "./subcomponents/FooterNode/index.
|
|
13
|
-
import { P as PaperNode } from "./subcomponents/PaperNode/index.
|
|
14
|
-
import { P as PropertyValueNode } from "./subcomponents/PropertyValueNode/index.
|
|
15
|
-
import { G as GridNode } from "./subcomponents/GridNode/index.
|
|
16
|
-
import { C as ChartNode } from "./subcomponents/ChartNode/index.
|
|
17
|
-
import { P as PagerNode, a as PageRender } from "../Page/index.
|
|
6
|
+
import { D as DividerNode } from "./subcomponents/DividerNode/index.6e177f94.js";
|
|
7
|
+
import { S as SectionNode } from "./subcomponents/SectionNode/index.4941ecf4.js";
|
|
8
|
+
import { T as TextBoxNode } from "./subcomponents/TextBoxNode/index.9cc3b262.js";
|
|
9
|
+
import { H as HeaderNode } from "./subcomponents/HeaderNode/index.a5d48adf.js";
|
|
10
|
+
import { a as ImageNode, Q as QRImageNode } from "../Image/index.6dd3b128.js";
|
|
11
|
+
import { B as BodyNode } from "./subcomponents/BodyNode/index.a3897785.js";
|
|
12
|
+
import { F as FooterNode } from "./subcomponents/FooterNode/index.82f1e38f.js";
|
|
13
|
+
import { P as PaperNode } from "./subcomponents/PaperNode/index.a4c5c3e6.js";
|
|
14
|
+
import { P as PropertyValueNode } from "./subcomponents/PropertyValueNode/index.3764b312.js";
|
|
15
|
+
import { G as GridNode } from "./subcomponents/GridNode/index.2b8fef69.js";
|
|
16
|
+
import { C as ChartNode } from "./subcomponents/ChartNode/index.ecd5e809.js";
|
|
17
|
+
import { P as PagerNode, a as PageRender } from "../Page/index.09e28ba1.js";
|
|
18
|
+
import { useBase, evaluateWithContext } from "@m4l/core";
|
|
18
19
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
19
20
|
import { forwardRef, useRef, useImperativeHandle } from "react";
|
|
20
21
|
const componentName = "M4LPrintingSystem";
|
|
@@ -104,6 +105,9 @@ const FactoryRender = (props) => {
|
|
|
104
105
|
children,
|
|
105
106
|
...otherProps
|
|
106
107
|
} = parent || {};
|
|
108
|
+
const {
|
|
109
|
+
sourceData
|
|
110
|
+
} = useBase();
|
|
107
111
|
const strategiesComponents = {
|
|
108
112
|
section: SectionNode,
|
|
109
113
|
textBox: TextBoxNode,
|
|
@@ -129,7 +133,7 @@ const FactoryRender = (props) => {
|
|
|
129
133
|
return /* @__PURE__ */ jsx(FactoryRender, {
|
|
130
134
|
data: subComponent
|
|
131
135
|
}, `${subComponent.key}-${Math.random().toString(36).substring(7)}`);
|
|
132
|
-
}) : null, typeof children === "string" ? children : null]
|
|
136
|
+
}) : null, typeof children === "string" ? evaluateWithContext(sourceData, children) : null]
|
|
133
137
|
});
|
|
134
138
|
};
|
|
135
139
|
const PrintingSystem = forwardRef((props, ref) => {
|
package/components/PrintingSystem/subcomponents/BodyNode/{index.6c1cf8f5.js → index.a3897785.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize } from "../../index.
|
|
2
|
+
import { c as classes, g as getSize } from "../../index.9dcfb35d.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const BodyNode = (props) => {
|
package/components/PrintingSystem/subcomponents/FooterNode/{index.18aa1ddd.js → index.82f1e38f.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize } from "../../index.
|
|
2
|
+
import { c as classes, g as getSize } from "../../index.9dcfb35d.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const FooterNode = (props) => {
|
package/components/PrintingSystem/subcomponents/GridNode/{index.f4b4ffca.js → index.2b8fef69.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase, getPropertyByString, evaluateWithContext } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize } from "../../index.
|
|
2
|
+
import { c as classes, g as getSize } from "../../index.9dcfb35d.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
const GridNode = (props) => {
|
|
@@ -17,13 +17,9 @@ const GridNode = (props) => {
|
|
|
17
17
|
sourceData
|
|
18
18
|
} = useBase();
|
|
19
19
|
const result = getPropertyByString(sourceData, typeof rows === "string" ? rowMaybeString[1] : "");
|
|
20
|
-
console.log("rows", rows);
|
|
21
|
-
console.log("result", result);
|
|
22
20
|
const rowEval = Array.isArray(result) ? result : typeof result === "object" ? [{
|
|
23
21
|
...result
|
|
24
22
|
}] : [];
|
|
25
|
-
console.log("rows", rows);
|
|
26
|
-
console.log("rowEval", rowEval);
|
|
27
23
|
const rowsFormated = typeof rows === "string" ? rowEval : rows;
|
|
28
24
|
if (dataColumns.length > 0) {
|
|
29
25
|
return /* @__PURE__ */ jsxs("table", {
|
|
@@ -58,7 +54,7 @@ const GridNode = (props) => {
|
|
|
58
54
|
minWidth: getSize(dataColumns[id].width || "auto", unitSize),
|
|
59
55
|
justifyContent: cell.alignX ? cell.alignX : "center"
|
|
60
56
|
},
|
|
61
|
-
children: isNested ?
|
|
57
|
+
children: isNested ? getPropertyByString(row, dataColumns[id].nestedValue || "") : row[dataColumns[id].key]
|
|
62
58
|
}, `td-${Math.random().toString(36).substring(7)}`);
|
|
63
59
|
})
|
|
64
60
|
}, `tr-${Math.random().toString(36).substring(7)}`);
|
package/components/PrintingSystem/subcomponents/HeaderNode/{index.9afcd686.js → index.a5d48adf.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize } from "../../index.
|
|
2
|
+
import { c as classes, g as getSize } from "../../index.9dcfb35d.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const HeaderNode = (props) => {
|
package/components/PrintingSystem/subcomponents/PaperNode/{index.a3967d23.js → index.a4c5c3e6.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase, evaluateWithContext } from "@m4l/core";
|
|
2
|
-
import { c as classes } from "../../index.
|
|
2
|
+
import { c as classes } from "../../index.9dcfb35d.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
const PaperNode = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase, evaluateWithContext } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize } from "../../index.
|
|
2
|
+
import { c as classes, g as getSize } from "../../index.9dcfb35d.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
5
|
const PropertyValueNode = (props) => {
|
|
@@ -7,18 +7,16 @@ const PropertyValueNode = (props) => {
|
|
|
7
7
|
style = {},
|
|
8
8
|
className = "",
|
|
9
9
|
property,
|
|
10
|
-
|
|
10
|
+
children,
|
|
11
11
|
direction,
|
|
12
12
|
propertyWidth = "auto"
|
|
13
13
|
} = props;
|
|
14
|
-
console.log();
|
|
15
14
|
const {
|
|
16
15
|
unitSize,
|
|
17
16
|
mainColor,
|
|
18
17
|
sourceData
|
|
19
18
|
} = useBase();
|
|
20
19
|
const propertyFormated = evaluateWithContext(sourceData, property);
|
|
21
|
-
const valueFormated = evaluateWithContext(sourceData, value);
|
|
22
20
|
return /* @__PURE__ */ jsxs("div", {
|
|
23
21
|
className: clsx(classes.propertyValueNodeRoot, direction === "column" ? classes.propertyValueNodeHorizontal : classes.propertyValueNodeVertical, className),
|
|
24
22
|
style: {
|
|
@@ -34,7 +32,7 @@ const PropertyValueNode = (props) => {
|
|
|
34
32
|
children: propertyFormated
|
|
35
33
|
}), /* @__PURE__ */ jsx("div", {
|
|
36
34
|
className: classes.propertyValueNodeContent,
|
|
37
|
-
children
|
|
35
|
+
children
|
|
38
36
|
})]
|
|
39
37
|
});
|
|
40
38
|
};
|
package/components/PrintingSystem/subcomponents/SectionNode/{index.c5588090.js → index.4941ecf4.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase } from "@m4l/core";
|
|
2
|
-
import { c as classes, g as getSize } from "../../index.
|
|
2
|
+
import { c as classes, g as getSize } from "../../index.9dcfb35d.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const SectionNode = (props) => {
|
package/components/PrintingSystem/subcomponents/TextBoxNode/{index.7792384b.js → index.9cc3b262.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useBase, evaluateWithContext } from "@m4l/core";
|
|
2
|
-
import { c as classes } from "../../index.
|
|
2
|
+
import { c as classes } from "../../index.9dcfb35d.js";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const TextBoxNode = (props) => {
|
|
@@ -163,10 +163,10 @@ export interface PropertyValue extends Omit<BaseNode, 'children'> {
|
|
|
163
163
|
type: 'propertyValue';
|
|
164
164
|
property: string;
|
|
165
165
|
propertyWidth?: number | string;
|
|
166
|
-
|
|
166
|
+
children: string | NodePrintPropertyValue[];
|
|
167
167
|
direction: Direction;
|
|
168
|
-
children?: string;
|
|
169
168
|
}
|
|
169
|
+
export declare type NodePrintPropertyValue = SectionNode | TextBoxNode | ImageNode | FooterNode | PaperNode | DividerNode | GridNode | ChartNode | PagerNode | QRImageNode;
|
|
170
170
|
/**
|
|
171
171
|
* DividerNode: Componente que aporta una división gráfica.
|
|
172
172
|
*/
|
|
@@ -7,7 +7,7 @@ import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
|
7
7
|
import { g as getNameDataTestId } from "../../test/getNameDataTestId.14875ec7.js";
|
|
8
8
|
import { useState } from "react";
|
|
9
9
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
10
|
-
import { I as Icon } from "../Icon/index.
|
|
10
|
+
import { I as Icon } from "../Icon/index.770f86ae.js";
|
|
11
11
|
import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
|
|
12
12
|
const PropertyValueRoot = styled("div")(({
|
|
13
13
|
theme
|
|
@@ -90,7 +90,6 @@ function PropertyValue(props) {
|
|
|
90
90
|
};
|
|
91
91
|
const handlerKeyUp = (event) => {
|
|
92
92
|
if (event.key === "Tab") {
|
|
93
|
-
console.log("handlerKeyDown condition ok");
|
|
94
93
|
setIsTabSelected(true);
|
|
95
94
|
}
|
|
96
95
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
|
-
import { a as ResizableBox } from "../../react-resizable.
|
|
2
|
+
import { a as ResizableBox } from "../../react-resizable.3cdda6a7.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
const WrapperResizeable = styled(ResizableBox)(({
|
|
5
5
|
theme
|
|
@@ -4,12 +4,12 @@ import { styled as styled$1, generateUtilityClasses, ListItemText, Tooltip, List
|
|
|
4
4
|
import { useEnvironment, useBase, BaseProvider } from "@m4l/core";
|
|
5
5
|
import { createContext, useContext, useState, useEffect } from "react";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
-
import { g as getComponentUtilityClass } from "../../utils/index.
|
|
7
|
+
import { g as getComponentUtilityClass } from "../../utils/index.79b6a2c1.js";
|
|
8
8
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
9
9
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
10
|
-
import { I as Image } from "../Image/index.
|
|
11
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
12
|
-
import { I as Icon, A as ArrowIcon } from "../Icon/index.
|
|
10
|
+
import { I as Image } from "../Image/index.6dd3b128.js";
|
|
11
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.023c369f.js";
|
|
12
|
+
import { I as Icon, A as ArrowIcon } from "../Icon/index.770f86ae.js";
|
|
13
13
|
import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
|
|
14
14
|
import clsx from "clsx";
|
|
15
15
|
import { useLocation } from "react-router-dom";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { styled, generateUtilityClasses } from "@mui/material";
|
|
2
|
-
import { A } from "../../node_modules.
|
|
2
|
+
import { A } from "../../node_modules.448153f1.js";
|
|
3
3
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { g as getComponentUtilityClass } from "../../utils/index.
|
|
5
|
+
import { g as getComponentUtilityClass } from "../../utils/index.79b6a2c1.js";
|
|
6
6
|
import { useEnvironment } from "@m4l/core";
|
|
7
7
|
import { useMemo } from "react";
|
|
8
|
-
import { I as Icon } from "../Icon/index.
|
|
8
|
+
import { I as Icon } from "../Icon/index.770f86ae.js";
|
|
9
9
|
const ToastContainerRoot = styled("div")(({ theme }) => ({
|
|
10
10
|
...theme.components?.M4LToastContainer?.styleOverrides
|
|
11
11
|
}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
1
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.5da0bc90.js";
|
|
2
2
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
3
3
|
import { useState, useRef, useMemo } from "react";
|
|
4
4
|
import * as Yup from "yup";
|
|
@@ -6,26 +6,26 @@ import clsx from "clsx";
|
|
|
6
6
|
import { generateUtilityClasses, useTheme } from "@mui/material";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
8
|
import { A as AREAS_ADMIN_CLASS_NAME } from "../../constants.66529246.js";
|
|
9
|
-
import { g as getComponentUtilityClass } from "../../../../utils/index.
|
|
9
|
+
import { g as getComponentUtilityClass } from "../../../../utils/index.79b6a2c1.js";
|
|
10
10
|
import { I as ICONS } from "../../icons.8266ccc8.js";
|
|
11
11
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
12
12
|
import { styled } from "@mui/material/styles";
|
|
13
13
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
14
14
|
import { shallow } from "zustand/shallow";
|
|
15
15
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
16
|
-
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.
|
|
16
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.34293162.js";
|
|
17
17
|
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.7769076a.js";
|
|
18
|
-
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.
|
|
19
|
-
import { A as Actions } from "../../../CommonActions/components/Actions/index.
|
|
20
|
-
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.
|
|
21
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.
|
|
22
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
18
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.78934e84.js";
|
|
19
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.b8a1d42a.js";
|
|
20
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.bd595785.js";
|
|
21
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.64498081.js";
|
|
22
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.023c369f.js";
|
|
23
23
|
import { P as Popover } from "../../../mui_extended/Popover/index.b3eca6b1.js";
|
|
24
24
|
import { T as Typography } from "../../../mui_extended/Typography/index.379dd374.js";
|
|
25
25
|
import { S as ScrollBar } from "../../../ScrollBar/index.010f1b9d.js";
|
|
26
26
|
import TouchRipple from "@mui/material/ButtonBase/TouchRipple";
|
|
27
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
28
|
-
import { I as Icon } from "../../../Icon/index.
|
|
27
|
+
import { B as Button } from "../../../mui_extended/Button/index.928f05b7.js";
|
|
28
|
+
import { I as Icon } from "../../../Icon/index.770f86ae.js";
|
|
29
29
|
import { u as useOnClickOutside } from "../../index.4cc6a221.js";
|
|
30
30
|
const areasAdminClasses = generateUtilityClasses(AREAS_ADMIN_CLASS_NAME, [
|
|
31
31
|
"root",
|
|
@@ -650,21 +650,19 @@ const PanelWindowPopUp = (props) => {
|
|
|
650
650
|
});
|
|
651
651
|
};
|
|
652
652
|
function AreasAdmin() {
|
|
653
|
-
const areas = useAreasStore((
|
|
654
|
-
const currentArea = useAreasStore((
|
|
655
|
-
const status = useAreasStore((
|
|
653
|
+
const areas = useAreasStore((state) => state.areasIds, shallow);
|
|
654
|
+
const currentArea = useAreasStore((state) => state.currentAreaId, shallow);
|
|
655
|
+
const status = useAreasStore((state) => state.ownerState.status);
|
|
656
656
|
const {
|
|
657
657
|
setFocus
|
|
658
|
-
} = useAreasStore((
|
|
659
|
-
const classesRoot = useAreasStore((
|
|
660
|
-
const areasLength = useAreasStore((
|
|
658
|
+
} = useAreasStore((state) => state.areaAdminActions, shallow);
|
|
659
|
+
const classesRoot = useAreasStore((state) => state.adminClasses.root);
|
|
660
|
+
const areasLength = useAreasStore((state) => state.areasIds.length);
|
|
661
661
|
const isDesktop = useResponsiveDesktop();
|
|
662
662
|
const {
|
|
663
663
|
addArea
|
|
664
|
-
} = useAreasStore((
|
|
665
|
-
const maximizedId = useAreasStore((
|
|
666
|
-
const state = useAreasStore((state2) => state2, shallow);
|
|
667
|
-
console.log("store state", state);
|
|
664
|
+
} = useAreasStore((state) => state.areasActions, shallow);
|
|
665
|
+
const maximizedId = useAreasStore((state) => state.hashAreas[currentArea] ? state.hashAreas[currentArea].maximizedId : false, shallow);
|
|
668
666
|
const {
|
|
669
667
|
host_static_assets,
|
|
670
668
|
environment_assets
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AreasViewerClasses } from './types';
|
|
2
2
|
import { OwnerState } from '../../../contexts/AreasContext/types';
|
|
3
3
|
export declare const areasViewerClasses: AreasViewerClasses;
|
|
4
|
-
export declare const useAreasViewerUtilityClasses: (ownerState: OwnerState) => Record<"root" | "resizeHandle" | "windowLinearProgressBar" | "windowContent" | "
|
|
4
|
+
export declare const useAreasViewerUtilityClasses: (ownerState: OwnerState) => Record<"root" | "resizeHandle" | "windowLinearProgressBar" | "windowContent" | "areaRoot" | "areasLoadingErrorRoot" | "areasLoadingErrorLoading" | "areasLoadingError" | "areasLoadingErrorIcon" | "areasLoadingErrorTitle" | "areasLoadingErrorDescription" | "areasLoadingErrorDivider" | "areaGridLayoutPanelContainer" | "areaGridLayout" | "areaGridLayoutPopupsContainer" | "areasWindowPopUpList" | "windowRoot" | "windowRootContainer" | "windowHeader" | "windowHeaderTitle" | "windowHeaderMainActions" | "windowHeaderCancelHandle" | "windowLinearProgressRoot" | "windowPopupRoot" | "windowModalRoot" | "selectedWindow" | "windowToastiesContainer" | "windowToastiesContainerTostys" | "windowToastyMeesageButtonsContainer" | "windowToastyMessage" | "windowToastyButtonsContainer" | "windowToastyPin" | "windowToastyClose" | "panelWindowsRoot" | "panelWindowsButtonContainer" | "loaderContainer" | "containerComponent" | "windowToastyContainer", string>;
|
|
5
5
|
export declare type ViwerClasses = ReturnType<typeof useAreasViewerUtilityClasses>;
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
|
-
import { r as react_resizable_css } from "../../../../react-resizable.
|
|
2
|
+
import { r as react_resizable_css } from "../../../../react-resizable.3cdda6a7.js";
|
|
3
3
|
import { generateUtilityClasses, Skeleton, Dialog } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import { a as AREAS_VIEWER_CLASS_NAME } from "../../constants.66529246.js";
|
|
6
|
-
import { g as getComponentUtilityClass } from "../../../../utils/index.
|
|
6
|
+
import { g as getComponentUtilityClass } from "../../../../utils/index.79b6a2c1.js";
|
|
7
7
|
import { shallow } from "zustand/shallow";
|
|
8
8
|
import React__default, { useMemo, useEffect } from "react";
|
|
9
9
|
import clsx from "clsx";
|
|
10
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
10
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.5da0bc90.js";
|
|
11
11
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
12
|
-
import { a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.
|
|
12
|
+
import { a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.34293162.js";
|
|
13
13
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
14
14
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
15
15
|
import { I as ICONS } from "../../icons.8266ccc8.js";
|
|
16
16
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
17
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
18
|
-
import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.
|
|
19
|
-
import { I as Icon } from "../../../Icon/index.
|
|
17
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.023c369f.js";
|
|
18
|
+
import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.32caeee2.js";
|
|
19
|
+
import { I as Icon } from "../../../Icon/index.770f86ae.js";
|
|
20
20
|
import { T as Typography } from "../../../mui_extended/Typography/index.379dd374.js";
|
|
21
|
-
import { M as MFLoader } from "../../../MFLoader/index.
|
|
21
|
+
import { M as MFLoader } from "../../../MFLoader/index.544940c7.js";
|
|
22
22
|
import { W as WindowToolsMFProvider } from "../../contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
23
23
|
import { D as DynamicMFParmsProvider } from "../../contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
24
24
|
import { L as LinearProgress } from "../../../mui_extended/LinearProgress/index.c92b9ba9.js";
|
|
25
25
|
import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
|
|
26
26
|
import { g as getNameDataTestId } from "../../../../test/getNameDataTestId.14875ec7.js";
|
|
27
|
-
import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.
|
|
28
|
-
import { w as withSizeProvider } from "../../../GridLayout/subcomponents/SizeProvider/index.
|
|
29
|
-
import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.
|
|
27
|
+
import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.055ab6e2.js";
|
|
28
|
+
import { w as withSizeProvider } from "../../../GridLayout/subcomponents/SizeProvider/index.6b5de802.js";
|
|
29
|
+
import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.dfed4e68.js";
|
|
30
30
|
import { useLocation } from "react-router-dom";
|
|
31
|
-
import { L as LoadingError } from "../../../LoadingError/index.
|
|
32
|
-
import { c as cjs } from "../../../../react-draggable.
|
|
33
|
-
import { R as ResizeableWindow } from "../../../Resizeable/index.
|
|
31
|
+
import { L as LoadingError } from "../../../LoadingError/index.3a86956f.js";
|
|
32
|
+
import { c as cjs } from "../../../../react-draggable.38b6012b.js";
|
|
33
|
+
import { R as ResizeableWindow } from "../../../Resizeable/index.14ab4804.js";
|
|
34
34
|
const areasViewerClasses = generateUtilityClasses(AREAS_VIEWER_CLASS_NAME, [
|
|
35
35
|
"root",
|
|
36
36
|
"areaRoot",
|
|
@@ -846,8 +846,6 @@ const Window = (props) => {
|
|
|
846
846
|
return emergeType === "layout" ? state.hashAreas[areaId]?.currentLayoutId : state.hashAreas[areaId]?.currentPopUpId;
|
|
847
847
|
}) === windowId;
|
|
848
848
|
const mfProps = useAreasStore((state) => state.hashWindows[windowId]?.mfProps, shallow);
|
|
849
|
-
const areaStore = useAreasStore((state) => state, shallow);
|
|
850
|
-
console.log("areaStore", areaStore);
|
|
851
849
|
const component = useAreasStore((state) => state.hashWindows[windowId]?.component, shallow);
|
|
852
850
|
const loading = useAreasStore((state) => state.hashWindows[windowId]?.loading, shallow);
|
|
853
851
|
const status = useAreasStore((state) => state.hashWindows[windowId]?.status, shallow);
|
|
@@ -922,7 +920,7 @@ const Window = (props) => {
|
|
|
922
920
|
areasViewerClasses.windowContent
|
|
923
921
|
),
|
|
924
922
|
children: [status === "init" ? /* @__PURE__ */ jsx(Fragment, {
|
|
925
|
-
children: "...
|
|
923
|
+
children: "Cargando..."
|
|
926
924
|
}) : null, status === "loaded" ? winType === "microfrontend" ? /* @__PURE__ */ jsx(MemonizedMicroFrontend, {
|
|
927
925
|
moduleId,
|
|
928
926
|
dynamicMFStore,
|
|
@@ -984,8 +982,6 @@ const AreaGridLayout = (props) => {
|
|
|
984
982
|
if (p.type === "placeholder") {
|
|
985
983
|
return /* @__PURE__ */ jsx("div", {});
|
|
986
984
|
}
|
|
987
|
-
console.log("layoutItemRender window", hashLayoutItems, p.i, p.type);
|
|
988
|
-
console.log("layoutItemRender window value p argument", p);
|
|
989
985
|
return /* @__PURE__ */ jsx(Window, {
|
|
990
986
|
windowId: p.i,
|
|
991
987
|
areaId
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { WritableDraft } from 'immer/dist/internal';
|
|
2
2
|
import type { Area, AreasStateWithActions } from './types';
|
|
3
3
|
import type { WindowState, WindowStateProps } from '../../types';
|
|
4
|
-
export declare const PADDING_GRIDLAYOUT =
|
|
5
|
-
export declare const MARGIN_GRIDLAYOUT =
|
|
4
|
+
export declare const PADDING_GRIDLAYOUT = 8;
|
|
5
|
+
export declare const MARGIN_GRIDLAYOUT = 8;
|
|
6
6
|
export declare const DEBOUCED_SAVE_TIME = 500;
|
|
7
7
|
export declare const THROTTLE_RESIZE_TIME = 300;
|
|
8
8
|
export declare const COOKIE_BREAKPOINT_LAYOUTS = "layoutPros";
|
|
@@ -5,17 +5,17 @@ import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
|
5
5
|
import { useHostTools, useModuleDictionary, useNetwork, useModuleSkeleton, EmitEvents } from "@m4l/core";
|
|
6
6
|
import { devtools } from "zustand/middleware";
|
|
7
7
|
import { immer } from "zustand/middleware/immer";
|
|
8
|
-
import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.
|
|
9
|
-
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.
|
|
8
|
+
import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.214d8c7d.js";
|
|
9
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.c802bb2f.js";
|
|
10
10
|
import { c as createDynamicMFStore } from "../DynamicMFParmsContext/index.1607c78e.js";
|
|
11
11
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
12
|
-
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.
|
|
12
|
+
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.dfed4e68.js";
|
|
13
13
|
import { debounce, cloneDeep } from "lodash";
|
|
14
|
-
import { A as isEqualLayouts } from "../../../GridLayout/index.
|
|
14
|
+
import { A as isEqualLayouts } from "../../../GridLayout/index.88b62a5d.js";
|
|
15
15
|
import { useNavigate } from "react-router-dom";
|
|
16
16
|
import { jsx } from "react/jsx-runtime";
|
|
17
|
-
const PADDING_GRIDLAYOUT =
|
|
18
|
-
const MARGIN_GRIDLAYOUT =
|
|
17
|
+
const PADDING_GRIDLAYOUT = 8;
|
|
18
|
+
const MARGIN_GRIDLAYOUT = 8;
|
|
19
19
|
const DEBOUCED_SAVE_TIME = 500;
|
|
20
20
|
const COOKIE_BREAKPOINT_LAYOUTS = "layoutPros";
|
|
21
21
|
const COOKIE_WINDOWS = "windows";
|
|
@@ -398,7 +398,6 @@ const createAreasStore = (initProps) => {
|
|
|
398
398
|
},
|
|
399
399
|
areaActions: {
|
|
400
400
|
addWindow: (newWindowProps) => {
|
|
401
|
-
console.log("se ejecut\xF3 addWindow");
|
|
402
401
|
const windowId = `${get().currentAreaId}_window_${new Date().getTime()}_${(Math.random() * 1e3).toFixed(0)}`;
|
|
403
402
|
if (newWindowProps.emergeType === "layout" || newWindowProps.emergeType === "popup") {
|
|
404
403
|
get().areaActions.addLayout(
|
|
@@ -429,8 +428,6 @@ const createAreasStore = (initProps) => {
|
|
|
429
428
|
if (!area) {
|
|
430
429
|
return;
|
|
431
430
|
}
|
|
432
|
-
console.log("state data", state);
|
|
433
|
-
console.log("area data", area.layoutItemsIds);
|
|
434
431
|
if (newWindowProps.replaceMeId) {
|
|
435
432
|
for (let index = 0; index < area.layoutItemsIds.length; index++) {
|
|
436
433
|
const key = area.layoutItemsIds[index];
|
|
@@ -640,11 +637,6 @@ const createAreasStore = (initProps) => {
|
|
|
640
637
|
}
|
|
641
638
|
},
|
|
642
639
|
onContainerChange: (areaId, e) => {
|
|
643
|
-
console.log(
|
|
644
|
-
`onContainerChange [${e.containerWidth}, ${e.containerHeight}] Store`,
|
|
645
|
-
areaId,
|
|
646
|
-
e.breakpoint
|
|
647
|
-
);
|
|
648
640
|
set((state) => {
|
|
649
641
|
state.hashAreas[areaId].containerHeight = e.containerHeight;
|
|
650
642
|
state.hashAreas[areaId].currentBreakpoint = e.breakpoint;
|
|
@@ -937,7 +929,6 @@ const createAreasStore = (initProps) => {
|
|
|
937
929
|
hw2.timeStart = new Date().getTime();
|
|
938
930
|
hw2.percentExecuted = 0;
|
|
939
931
|
hw2.timer = setInterval(() => {
|
|
940
|
-
console.log("toast timer edit tick");
|
|
941
932
|
set((state3) => {
|
|
942
933
|
verifyRemoveToasty(
|
|
943
934
|
state3.hashWindows[windowId],
|
|
@@ -1071,7 +1062,6 @@ function AreasProvider(props) {
|
|
|
1071
1062
|
const addWindow = useCallback((newWindow) => {
|
|
1072
1063
|
const currentAreaId = areasStoreRef.current?.getState().currentAreaId;
|
|
1073
1064
|
const areas = areasStoreRef.current?.getState().areasIds;
|
|
1074
|
-
console.log("newWindow argument", newWindow);
|
|
1075
1065
|
if (currentAreaId && areas) {
|
|
1076
1066
|
areasStoreRef.current?.getState().areaActions.addWindow(newWindow);
|
|
1077
1067
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
2
|
import { useStore } from "zustand";
|
|
3
|
-
import { A as AreasContext } from "../../contexts/AreasContext/index.
|
|
3
|
+
import { A as AreasContext } from "../../contexts/AreasContext/index.055ab6e2.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
2
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
3
|
-
import { I as Icon } from "../../Icon/index.
|
|
3
|
+
import { I as Icon } from "../../Icon/index.770f86ae.js";
|
|
4
4
|
import { W as WrapperComponent } from "../../WrapperComponent/index.5e872594.js";
|
|
5
|
-
import { F as FormatterRoot, f as formatterClasses } from "../index.
|
|
5
|
+
import { F as FormatterRoot, f as formatterClasses } from "../index.648cf3b0.js";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
const BOOLEAN_FORMATTER_DICTIONARY_KEY = `boolean_formatter`;
|
|
@@ -26,7 +26,6 @@ function BooleanFormatter(props) {
|
|
|
26
26
|
const final_value = value ?? false;
|
|
27
27
|
const srcCheckTrue = `${host_static_assets}/${environment_assets}/frontend/components/data_grid/components/boolean_formatter/assets/icons/check_true.svg`;
|
|
28
28
|
const srcCheckFalse = `${host_static_assets}/${environment_assets}/frontend/components/data_grid/components/boolean_formatter/assets/icons/check_false.svg`;
|
|
29
|
-
console.log("srcCheckTrue", srcCheckTrue);
|
|
30
29
|
const memoComponent = useMemo(() => {
|
|
31
30
|
if (presentationType === "string_yes_no") {
|
|
32
31
|
return /* @__PURE__ */ jsx(Component, {
|
|
@@ -3,7 +3,7 @@ import "@mui/base";
|
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { W as WrapperComponent } from "../WrapperComponent/index.5e872594.js";
|
|
5
5
|
import { useModuleDictionary } from "@m4l/core";
|
|
6
|
-
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index.
|
|
6
|
+
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index.7a463493.js";
|
|
7
7
|
const COMPONENT_CLASS_NAME = "M4LFormatter";
|
|
8
8
|
const formatterClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
9
9
|
"root",
|
|
@@ -2,7 +2,7 @@ import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/cor
|
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
3
|
import { Skeleton, generateUtilityClasses, generateUtilityClass, useTheme, Autocomplete, Popper, TextField, CircularProgress } from "@mui/material";
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
|
-
import { I as Image } from "../../Image/index.
|
|
5
|
+
import { I as Image } from "../../Image/index.6dd3b128.js";
|
|
6
6
|
import { useMemo, useRef, useState, useEffect } from "react";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
8
8
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
@@ -10,7 +10,7 @@ import { T as Typography } from "../../mui_extended/Typography/index.379dd374.js
|
|
|
10
10
|
import { unstable_composeClasses } from "@mui/base";
|
|
11
11
|
import { H as HelperText } from "../../HelperText/index.7d2afdb3.js";
|
|
12
12
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
13
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
13
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.023c369f.js";
|
|
14
14
|
const AutocompleteRoot = styled("div")(({
|
|
15
15
|
theme
|
|
16
16
|
}) => ({
|
|
@@ -279,7 +279,6 @@ function RHFAutocomplete(props) {
|
|
|
279
279
|
inputValue,
|
|
280
280
|
clearOnBlur: false,
|
|
281
281
|
PopperComponent: (props2) => {
|
|
282
|
-
console.log("Autocomplete open Popover");
|
|
283
282
|
return /* @__PURE__ */ jsx(Popper, {
|
|
284
283
|
...props2,
|
|
285
284
|
className: classes.popper,
|
|
@@ -6,7 +6,7 @@ import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
|
-
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.
|
|
9
|
+
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.d05ae217.js";
|
|
10
10
|
styled("div")(() => ({
|
|
11
11
|
display: "flex",
|
|
12
12
|
width: "100%",
|