@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState } from "react";
|
|
2
|
-
import { useFormContext, Controller } from "react-hook-form";
|
|
2
|
+
import { useFormContext, useWatch, Controller } from "react-hook-form";
|
|
3
3
|
import { useModuleSkeleton, useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
4
|
-
import { S as SketchPicker } from "../../../node_modules.
|
|
4
|
+
import { S as SketchPicker } from "../../../node_modules.448153f1.js";
|
|
5
5
|
import "lodash-es/debounce";
|
|
6
6
|
import "lodash-es/each";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -10,8 +10,8 @@ import { generateUtilityClasses, generateUtilityClass, styled, Skeleton as Skele
|
|
|
10
10
|
import { unstable_composeClasses } from "@mui/base";
|
|
11
11
|
import { useTheme } from "@mui/material/styles";
|
|
12
12
|
import { P as Popover } from "../../mui_extended/Popover/index.b3eca6b1.js";
|
|
13
|
-
import { I as Icon } from "../../Icon/index.
|
|
14
|
-
import { B as Button } from "../../mui_extended/Button/index.
|
|
13
|
+
import { I as Icon } from "../../Icon/index.770f86ae.js";
|
|
14
|
+
import { B as Button } from "../../mui_extended/Button/index.928f05b7.js";
|
|
15
15
|
const componentName = "M4LRHFColorPicker";
|
|
16
16
|
const colorPickerClasses = generateUtilityClasses(componentName, [
|
|
17
17
|
"root",
|
|
@@ -55,8 +55,7 @@ const RHFColorPicker = (props) => {
|
|
|
55
55
|
} = props;
|
|
56
56
|
const {
|
|
57
57
|
control,
|
|
58
|
-
setValue
|
|
59
|
-
getValues
|
|
58
|
+
setValue
|
|
60
59
|
} = useFormContext();
|
|
61
60
|
const isSkeleton = useModuleSkeleton();
|
|
62
61
|
const {
|
|
@@ -64,13 +63,17 @@ const RHFColorPicker = (props) => {
|
|
|
64
63
|
environment_assets
|
|
65
64
|
} = useEnvironment();
|
|
66
65
|
const theme = useTheme();
|
|
67
|
-
const currentColor =
|
|
66
|
+
const currentColor = useWatch({
|
|
67
|
+
name,
|
|
68
|
+
control
|
|
69
|
+
});
|
|
68
70
|
const [tempColor, setTempColor] = useState(() => currentColor || "#ffffff");
|
|
69
71
|
const [anchorEl, setAnchorEl] = useState(null);
|
|
70
72
|
const {
|
|
71
73
|
getLabel
|
|
72
74
|
} = useModuleDictionary();
|
|
73
75
|
const handleColorChange = (color) => {
|
|
76
|
+
console.log("react color pick", color.hex);
|
|
74
77
|
setTempColor(color.hex);
|
|
75
78
|
};
|
|
76
79
|
const handleApprove = () => {
|
|
@@ -11,7 +11,7 @@ import clsx from "clsx";
|
|
|
11
11
|
import { H as HelperText } from "../../HelperText/index.7d2afdb3.js";
|
|
12
12
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
13
13
|
import { T as Typography } from "../../mui_extended/Typography/index.379dd374.js";
|
|
14
|
-
import { I as Icon } from "../../Icon/index.
|
|
14
|
+
import { I as Icon } from "../../Icon/index.770f86ae.js";
|
|
15
15
|
const SKTRHFWrapperTextField = styled("div")(({
|
|
16
16
|
theme
|
|
17
17
|
}) => ({
|
|
@@ -3,7 +3,7 @@ import { useFormContext, Controller } from "react-hook-form";
|
|
|
3
3
|
import { H as HelperText } from "../../HelperText/index.7d2afdb3.js";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { P as Period } from "../../Period/index.
|
|
6
|
+
import { P as Period } from "../../Period/index.3c7e8590.js";
|
|
7
7
|
const RHFPeriodRoot = styled("div")(({
|
|
8
8
|
theme
|
|
9
9
|
}) => ({
|
|
@@ -55,7 +55,6 @@ const RHFPeriod = (props) => {
|
|
|
55
55
|
error
|
|
56
56
|
}
|
|
57
57
|
}) => {
|
|
58
|
-
console.log("value RHFPeriod", value);
|
|
59
58
|
return /* @__PURE__ */ jsxs(RHFPeriodRoot, {
|
|
60
59
|
className: classes.root,
|
|
61
60
|
children: [/* @__PURE__ */ jsx(Period, {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { styled, Skeleton, generateUtilityClasses, TextField, InputAdornment, generateUtilityClass } from "@mui/material";
|
|
3
3
|
import { forwardRef, useState, useEffect } from "react";
|
|
4
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
4
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.023c369f.js";
|
|
5
5
|
import { useFormContext, Controller } from "react-hook-form";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
7
7
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
8
8
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
9
9
|
import { unstable_composeClasses } from "@mui/base";
|
|
10
|
-
import { g as getComponentUtilityClass } from "../../../utils/index.
|
|
10
|
+
import { g as getComponentUtilityClass } from "../../../utils/index.79b6a2c1.js";
|
|
11
11
|
import { T as Typography } from "../../mui_extended/Typography/index.379dd374.js";
|
|
12
12
|
import { H as HelperText } from "../../HelperText/index.7d2afdb3.js";
|
|
13
13
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
@@ -2,7 +2,7 @@ import { useCallback } from "react";
|
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
3
|
import require$$0 from "lodash/isString";
|
|
4
4
|
import { useDropzone } from "react-dropzone";
|
|
5
|
-
import { I as Image } from "../../Image/index.
|
|
5
|
+
import { I as Image } from "../../Image/index.6dd3b128.js";
|
|
6
6
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
7
7
|
import { styled } from "@mui/material/styles";
|
|
8
8
|
import { Skeleton, generateUtilityClasses, generateUtilityClass, styled as styled$1 } from "@mui/material";
|
|
@@ -10,7 +10,7 @@ import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
|
10
10
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
11
11
|
import { unstable_composeClasses } from "@mui/base";
|
|
12
12
|
import { T as Typography } from "../../mui_extended/Typography/index.379dd374.js";
|
|
13
|
-
import { B as Button } from "../../mui_extended/Button/index.
|
|
13
|
+
import { B as Button } from "../../mui_extended/Button/index.928f05b7.js";
|
|
14
14
|
import { H as HelperText } from "../../HelperText/index.7d2afdb3.js";
|
|
15
15
|
const UploadImageRoot = styled("div")(({
|
|
16
16
|
theme
|
package/components/index.d.ts
CHANGED
|
@@ -24,7 +24,6 @@ export * from './LanguagePopover';
|
|
|
24
24
|
export * from './LinearProgressIndeterminate';
|
|
25
25
|
export * from './Image/Image';
|
|
26
26
|
export * from './Loadable';
|
|
27
|
-
export * from './maps';
|
|
28
27
|
export * from './modal';
|
|
29
28
|
export * from './LoadingError';
|
|
30
29
|
export * from './MFLoader';
|
|
@@ -2,9 +2,9 @@ import { m as modalUtilityClasses } from "./index.61389369.js";
|
|
|
2
2
|
import { useEnvironment } from "@m4l/core";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
6
|
-
import { I as Icon } from "../Icon/index.
|
|
7
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
5
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.023c369f.js";
|
|
6
|
+
import { I as Icon } from "../Icon/index.770f86ae.js";
|
|
7
|
+
import { u as useModal } from "../../hooks/useModal/index.50b23c06.js";
|
|
8
8
|
const Header = (props) => {
|
|
9
9
|
const {
|
|
10
10
|
title,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { A as Actions } from "../CommonActions/components/Actions/index.
|
|
1
|
+
import { A as Actions } from "../CommonActions/components/Actions/index.b8a1d42a.js";
|
|
2
2
|
import { Typography } from "@mui/material";
|
|
3
3
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
4
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
4
|
+
import { u as useModal } from "../../hooks/useModal/index.50b23c06.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { I as Image } from "../Image/index.
|
|
6
|
+
import { I as Image } from "../Image/index.6dd3b128.js";
|
|
7
7
|
import { m as modalUtilityClasses } from "./index.61389369.js";
|
|
8
|
-
import { W as WindowBase } from "./WindowBase.
|
|
9
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.
|
|
10
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.
|
|
8
|
+
import { W as WindowBase } from "./WindowBase.14255209.js";
|
|
9
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.bd595785.js";
|
|
10
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.64498081.js";
|
|
11
11
|
const dictionary = {
|
|
12
12
|
MESSAGE: "common_actions.confirm_quit_msg"
|
|
13
13
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { generateUtilityClasses, generateUtilityClass, styled, Accordion as Accordion$1, AccordionSummary, AccordionDetails } from "@mui/material";
|
|
2
|
-
import { I as IconButton } from "../IconButton/index.
|
|
2
|
+
import { I as IconButton } from "../IconButton/index.023c369f.js";
|
|
3
3
|
import { useEnvironment } from "@m4l/core";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
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 { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
import { I as Icon } from "../../Icon/index.
|
|
9
|
+
import { I as Icon } from "../../Icon/index.770f86ae.js";
|
|
10
10
|
import { T as Typography } from "../Typography/index.379dd374.js";
|
|
11
11
|
const componentName = "M4LAccordion";
|
|
12
12
|
generateUtilityClasses(componentName, [
|
|
@@ -5,7 +5,7 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
import { useMemo } from "react";
|
|
8
|
-
import { I as Image } from "../../Image/index.
|
|
8
|
+
import { I as Image } from "../../Image/index.6dd3b128.js";
|
|
9
9
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
10
10
|
import { LoadingButton as LoadingButton$1 } from "@mui/lab";
|
|
11
11
|
import { T as Typography } from "../Typography/index.379dd374.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useMemo, useState } from "react";
|
|
2
2
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton, styled, generateUtilityClasses, generateUtilityClass, Tooltip, IconButton as IconButton$1 } from "@mui/material";
|
|
4
|
-
import { I as Icon } from "../../Icon/index.
|
|
4
|
+
import { I as Icon } from "../../Icon/index.770f86ae.js";
|
|
5
5
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import clsx from "clsx";
|
|
@@ -3,12 +3,12 @@ import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
|
3
3
|
import { IconButton, generateUtilityClasses, generateUtilityClass, useTheme, MenuItem } from "@mui/material";
|
|
4
4
|
import { P as Popover } from "../Popover/index.b3eca6b1.js";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
6
|
-
import { I as Icon } from "../../Icon/index.
|
|
6
|
+
import { I as Icon } from "../../Icon/index.770f86ae.js";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
9
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
10
10
|
import { B as Badge } from "../Badge/index.09f5aee5.js";
|
|
11
|
-
import { I as IconButton$1 } from "../IconButton/index.
|
|
11
|
+
import { I as IconButton$1 } from "../IconButton/index.023c369f.js";
|
|
12
12
|
styled(IconButton)(() => ({}));
|
|
13
13
|
const LabelMemuItem = styled("div")(({
|
|
14
14
|
theme
|
|
@@ -2,7 +2,7 @@ import { useMemo } from "react";
|
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass, useTheme, Select, InputBase, MenuItem } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { I as IconButton } from "../IconButton/index.
|
|
5
|
+
import { I as IconButton } from "../IconButton/index.023c369f.js";
|
|
6
6
|
import { useEnvironment } from "@m4l/core";
|
|
7
7
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
8
8
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
@@ -126,7 +126,6 @@ function PagerActions(props) {
|
|
|
126
126
|
return /* @__PURE__ */ jsxs(WrapperPagerActions, {
|
|
127
127
|
className: classes.pagerActions,
|
|
128
128
|
children: [/* @__PURE__ */ jsx(IconButton, {
|
|
129
|
-
id: "test_bruce",
|
|
130
129
|
dictionaryTooltipId: "pager.first",
|
|
131
130
|
onClick: handleFirstPageButtonClick,
|
|
132
131
|
disabled: page === 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import clsx from "clsx";
|
|
2
|
-
import { B as Button, b as buttonClasses } from "../Button/index.
|
|
2
|
+
import { B as Button, b as buttonClasses } from "../Button/index.928f05b7.js";
|
|
3
3
|
import { w as withToggle } from "../../../hocs/withToggle/index.e44eb0da.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const ToggleAbleButton = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import clsx from "clsx";
|
|
2
|
-
import { I as IconButton, i as iconButtonClasses } from "../IconButton/index.
|
|
2
|
+
import { I as IconButton, i as iconButtonClasses } from "../IconButton/index.023c369f.js";
|
|
3
3
|
import { w as withToggle } from "../../../hocs/withToggle/index.e44eb0da.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
const ToggleAbleIconButton = ({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createContext, useState } from "react";
|
|
2
|
-
import { M as ModalDialog } from "../../components/ModalDialog/index.
|
|
2
|
+
import { M as ModalDialog } from "../../components/ModalDialog/index.9ac45602.js";
|
|
3
3
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
4
4
|
const ModalContext = createContext(null);
|
|
5
5
|
function ModalProvider({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useNetwork, useFlags, useModuleDictionary } from "@m4l/core";
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
|
-
import { u as useModal } from "../useModal/index.
|
|
3
|
+
import { u as useModal } from "../useModal/index.50b23c06.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import { W as WindowConfirm } from "../../components/modal/WindowConfirm.
|
|
5
|
+
import { W as WindowConfirm } from "../../components/modal/WindowConfirm.f79ee169.js";
|
|
6
6
|
function useFormAddEdit(props) {
|
|
7
7
|
const {
|
|
8
8
|
initialValues,
|
|
@@ -27,11 +27,9 @@ function useFormAddEdit(props) {
|
|
|
27
27
|
const {
|
|
28
28
|
getLabel
|
|
29
29
|
} = useModuleDictionary();
|
|
30
|
-
console.log("statusLoad", statusLoad);
|
|
31
30
|
const setRefresh = () => {
|
|
32
31
|
if (statusLoad === "ready") {
|
|
33
32
|
setStatusLoad("edit");
|
|
34
|
-
console.log("useFormAddEdit statusLoad", statusLoad);
|
|
35
33
|
}
|
|
36
34
|
};
|
|
37
35
|
useEffect(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { M as ModalContext } from "../../contexts/ModalContext/index.
|
|
2
|
+
import { M as ModalContext } from "../../contexts/ModalContext/index.e8f5ad3e.js";
|
|
3
3
|
function useModal() {
|
|
4
4
|
const context = useContext(ModalContext);
|
|
5
5
|
if (!context)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { T as TabContext } from "../../components/mui_extended/Tab/index.409b9c74.js";
|
|
3
3
|
const useTab = () => {
|
|
4
4
|
const context = useContext(TabContext);
|
|
5
5
|
if (context === null) {
|