@m4l/components 1.1.2 → 2.0.1

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.
Files changed (146) hide show
  1. package/@types/export.d.ts +269 -269
  2. package/@types/types.d.ts +34 -34
  3. package/components/AccountPopover/{index.84049a50.js → index.68a8c117.js} +3 -3
  4. package/components/AppBar/{index.22ed1a0e.js → index.09ac84de.js} +4 -4
  5. package/components/BaseModule/{index.0fc648c5.js → index.51f3fd59.js} +1 -1
  6. package/components/CommonActions/components/ActionCancel/{index.33cf608e.js → index.f6c15443.js} +2 -2
  7. package/components/CommonActions/components/ActionFormCancel/{index.d1359a38.js → index.33d49d50.js} +4 -4
  8. package/components/CommonActions/components/ActionFormIntro/{index.415de2bb.js → index.0e78a223.js} +2 -2
  9. package/components/CommonActions/components/ActionIntro/{index.0893587b.js → index.73b33789.js} +2 -2
  10. package/components/CommonActions/components/Actions/{index.2342a37e.js → index.c7fab394.js} +2 -2
  11. package/components/DataGrid/assets/icons/datagrid.svg +4 -4
  12. package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.9d6f8597.js → index.0a1b3610.js} +1 -1
  13. package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.9bcaba12.js → index.30890ddd.js} +1 -1
  14. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.a58a8712.js → index.9aa14799.js} +1 -1
  15. package/components/DataGrid/formatters/{index.6698b419.js → index.90ed715b.js} +2 -2
  16. package/components/DataGrid/{index.b1cac6af.js → index.58b8d903.js} +4 -4
  17. package/components/DataGrid/subcomponents/Actions/{index.a60b17d5.js → index.ea70129c.js} +11 -11
  18. package/components/DragResizeWindow/DragResizeWindow.d.ts +1 -1
  19. package/components/DragResizeWindow/{index.46048367.js → index.8c51fb79.js} +3 -3
  20. package/components/DynamicFilter/{dictionary.da256925.js → dictionary.10bebb21.js} +2 -2
  21. package/components/DynamicFilter/{index.08abfc2c.js → index.a978aea9.js} +4 -4
  22. package/components/DynamicFilter/slots/{dynamicFilterSlots.b02bff6a.js → dynamicFilterSlots.26eaa1b1.js} +6 -6
  23. package/components/DynamicFilter/store/{index.1e4af8b4.js → index.81a5dd49.js} +1 -1
  24. package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.37bcd016.js → index.bc09a76f.js} +3 -3
  25. package/components/DynamicFilter/subcomponents/AppliedFilters/{index.2740f285.js → index.891b913a.js} +4 -4
  26. package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.63102514.js → index.8fbcaf0f.js} +6 -6
  27. package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.3824d701.js → index.699a1d82.js} +4 -2
  28. package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.57ddf344.js → index.59293b05.js} +5 -4
  29. package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.7beac9f0.js → index.ca652641.js} +4 -3
  30. package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.e9e1af93.js → index.22eac312.js} +5 -4
  31. package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.d27a8bcc.js → index.3e2ae583.js} +4 -3
  32. package/components/DynamicFilter/subcomponents/FieldTypes/{index.e8f1d8e5.js → index.0abab72e.js} +5 -5
  33. package/components/DynamicFilter/subcomponents/FilterActions/{index.35014c15.js → index.06e8baff.js} +3 -3
  34. package/components/DynamicFilter/subcomponents/InputFilter/{index.f42e9571.js → index.b312fd70.js} +4 -4
  35. package/components/DynamicFilter/subcomponents/PopoverFilter/{index.ada7eb0c.js → index.eeb15b54.js} +6 -6
  36. package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.144885cf.js → index.43857f7a.js} +2 -2
  37. package/components/DynamicFilter/types.d.ts +1 -1
  38. package/components/FieldLabel/{index.59b9b63a.js → index.2aaaac6f.js} +4 -4
  39. package/components/GridLayout/{index.56c3f4fa.js → index.2f9a1cff.js} +2 -2
  40. package/components/GridLayout/subcomponents/Griditem/{index.02bcb3b3.js → index.f904e69e.js} +3 -3
  41. package/components/GridLayout/subcomponents/Responsive/{index.65aeef5e.js → index.ef62bea3.js} +1 -1
  42. package/components/GridLayout/subcomponents/SizeProvider/{index.0aad6f90.js → index.2707f196.js} +1 -1
  43. package/components/HelperText/{index.5c72277a.js → index.25891eda.js} +2 -2
  44. package/components/Icon/{index.13aaae3c.js → index.89dba21c.js} +3 -3
  45. package/components/Image/{index.4b51d4ba.js → index.94949e55.js} +2 -2
  46. package/components/LanguagePopover/{index.7605fda8.js → index.54aff144.js} +4 -4
  47. package/components/LinearProgressIndeterminate/{index.292a4af8.js → index.e25f9201.js} +2 -2
  48. package/components/LoadingError/{index.b129b573.js → index.ef15a461.js} +5 -5
  49. package/components/MFIsolationApp/{index.9f718621.js → index.083fad1c.js} +2 -2
  50. package/components/MFLoader/{index.5d340e32.js → index.342598a8.js} +2 -2
  51. package/components/ModalDialog/{index.ff275011.js → index.545ef5eb.js} +4 -4
  52. package/components/NavLink/{index.506c7827.js → index.6a6f3671.js} +2 -2
  53. package/components/NoItemSelected/{index.1d7d5a9d.js → index.0d1e8d29.js} +1 -1
  54. package/components/ObjectLogs/{index.473ebd65.js → index.32555956.js} +9 -9
  55. package/components/PDFViewer/{index.4e7ffac8.js → index.e909be56.js} +2 -2
  56. package/components/Page/{index.b75c74e3.js → index.d42de29f.js} +1 -1
  57. package/components/PaperForm/{index.8289409f.js → index.dbcbd677.js} +2 -2
  58. package/components/Period/{index.13e4c351.js → index.76c4e428.js} +4 -4
  59. package/components/PrintingSystem/{index.e1535b80.js → index.3381ece1.js} +14 -14
  60. package/components/PrintingSystem/subcomponents/BodyNode/{index.6b36842d.js → index.da4c231c.js} +1 -1
  61. package/components/PrintingSystem/subcomponents/ChartNode/{index.4aab9d2c.js → index.4871c76e.js} +1 -1
  62. package/components/PrintingSystem/subcomponents/DividerNode/{index.23a9dc95.js → index.f768c90f.js} +1 -1
  63. package/components/PrintingSystem/subcomponents/FooterNode/{index.d0e8fd15.js → index.725664fd.js} +1 -1
  64. package/components/PrintingSystem/subcomponents/GridNode/{index.35ff7dab.js → index.caebf8e6.js} +1 -1
  65. package/components/PrintingSystem/subcomponents/HeaderNode/{index.9547c826.js → index.a5f20406.js} +1 -1
  66. package/components/PrintingSystem/subcomponents/PaperNode/{index.71afe03e.js → index.6d2ed690.js} +1 -1
  67. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.abbb154c.js → index.ec9d332c.js} +1 -1
  68. package/components/PrintingSystem/subcomponents/SectionNode/{index.b3f2ba6c.js → index.e9449a3f.js} +1 -1
  69. package/components/PrintingSystem/subcomponents/TextBoxNode/{index.809aaad2.js → index.bf55f5a7.js} +1 -1
  70. package/components/PropertyValue/{index.36555931.js → index.9dd592cd.js} +3 -3
  71. package/components/Resizeable/{index.57363836.js → index.6cbe80f0.js} +1 -1
  72. package/components/ScrollBar/{index.236e2aa3.js → index.aedb43d9.js} +1 -1
  73. package/components/SideBar/{index.bb6c2c7b.js → index.edd76204.js} +6 -6
  74. package/components/SplitLayout/{index.75953afb.js → index.5289a660.js} +1 -1
  75. package/components/ToastContainer/{index.bb972338.js → index.8f9f75e9.js} +3 -3
  76. package/components/animate/LoadingScreen/{index.09915798.js → index.c5cf3b93.js} +1 -1
  77. package/components/animate/{index.5c545243.js → index.9c9ee071.js} +1 -1
  78. package/components/areas/components/AreasAdmin/{index.42d40964.js → index.a52bb40d.js} +15 -15
  79. package/components/areas/components/AreasViewer/{index.266a3815.js → index.de8df5d3.js} +15 -15
  80. package/components/areas/contexts/AreasContext/{index.c2289888.js → index.514df5ff.js} +4 -13
  81. package/components/areas/contexts/AreasContext/types.d.ts +1 -6
  82. package/components/areas/hooks/useAreas/{index.509c1703.js → index.6c943645.js} +1 -1
  83. package/components/areas/types.d.ts +1 -1
  84. package/components/commercial/AppBarCommercial/{index.3fd10868.js → index.cac50795.js} +2 -2
  85. package/components/commercial/SectionCommercial/{index.bd45c64e.js → index.c967ba14.js} +2 -2
  86. package/components/commercial/TopBar/{index.4e55cffa.js → index.85568231.js} +6 -6
  87. package/components/commercial/{index.4bdbb8fe.js → index.d872094e.js} +3 -3
  88. package/components/formatters/BooleanFormatter/{index.ac870381.js → index.1da1e6b0.js} +2 -2
  89. package/components/formatters/{index.53ad2f51.js → index.ac081b3a.js} +2 -2
  90. package/components/hook-form/HelperError/{index.9f93c627.js → index.296a4c82.js} +1 -1
  91. package/components/hook-form/RHFAutocomplete/RHFAutocomplete.d.ts +1 -1
  92. package/components/hook-form/RHFAutocomplete/classes/index.d.ts +1 -2
  93. package/components/hook-form/RHFAutocomplete/classes/types.d.ts +0 -1
  94. package/components/hook-form/RHFAutocomplete/{index.b8347185.js → index.b1c29dd0.js} +302 -70
  95. package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeImage/index.d.ts +2 -0
  96. package/components/hook-form/RHFAutocomplete/subcomponents/ComponentTypeText/index.d.ts +2 -0
  97. package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/index.d.ts +1 -1
  98. package/components/hook-form/RHFAutocomplete/subcomponents/Skeleton/types.d.ts +1 -1
  99. package/components/hook-form/RHFAutocomplete/types.d.ts +17 -9
  100. package/components/hook-form/RHFAutocompleteAsync/{index.aeb3bf66.js → index.fb434e68.js} +102 -5
  101. package/components/hook-form/RHFAutocompleteAsync/subcomponents/ComponentTypeImage/index.d.ts +3 -0
  102. package/components/hook-form/RHFAutocompleteAsync/subcomponents/ComponentTypeText/index.d.ts +2 -0
  103. package/components/hook-form/RHFAutocompleteAsync/types.d.ts +6 -3
  104. package/components/hook-form/RHFCheckbox/{index.c3b7ce0f.js → index.140d872f.js} +3 -3
  105. package/components/hook-form/RHFColorPicker/{index.c259b8ac.js → index.3eb719ac.js} +6 -6
  106. package/components/hook-form/RHFDateTime/{index.4efe48ce.js → index.54f97b37.js} +4 -4
  107. package/components/hook-form/RHFPeriod/{index.0f912e3e.js → index.c8238ea4.js} +4 -4
  108. package/components/hook-form/RHFRadioGroup/{index.96c94958.js → index.78ec0e22.js} +1 -1
  109. package/components/hook-form/RHFTextField/{index.828b30f5.js → index.984a4dba.js} +5 -5
  110. package/components/hook-form/RHFUpload/{index.b664c68b.js → index.0516dc8f.js} +5 -5
  111. package/components/maps/components/GpsTools/{index.e759163d.js → index.779e5b17.js} +27 -24
  112. package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -159
  113. package/components/maps/components/Map/{index.c568e68d.js → index.14ce256b.js} +14 -13
  114. package/components/maps/leaflet-geoman.d.ts +1476 -1476
  115. package/components/modal/{WindowBase.58f9e2b0.js → WindowBase.a6654e8c.js} +3 -3
  116. package/components/modal/{WindowConfirm.60955735.js → WindowConfirm.38a79eee.js} +6 -6
  117. package/components/mui_extended/Accordion/{index.e6971e30.js → index.0e62423b.js} +4 -4
  118. package/components/mui_extended/Avatar/{index.8cc99f13.js → index.edcf899d.js} +1 -1
  119. package/components/mui_extended/Badge/{index.07fb40c0.js → index.a6dceff2.js} +1 -1
  120. package/components/mui_extended/Button/{index.111f830e.js → index.9c6c173c.js} +3 -3
  121. package/components/mui_extended/{CheckBox.a8958eb8.js → CheckBox.9d43398b.js} +2 -2
  122. package/components/mui_extended/IconButton/{index.9425bdc5.js → index.42efd85d.js} +2 -2
  123. package/components/mui_extended/MenuActions/{index.8b0d69b7.js → index.b1f8a1be.js} +5 -5
  124. package/components/mui_extended/Pager/classes/index.d.ts +1 -1
  125. package/components/mui_extended/Pager/{index.cb749e65.js → index.3687d8b6.js} +4 -4
  126. package/components/mui_extended/Popover/{index.5e78a637.js → index.58f8522b.js} +1 -1
  127. package/components/mui_extended/Stack/{index.3674daf7.js → index.b0690398.js} +1 -1
  128. package/components/mui_extended/Tab/{index.a94a92c1.js → index.8a0bd49c.js} +1 -1
  129. package/components/mui_extended/ToggleButton/{index.a55def3b.js → index.c4e62f10.js} +1 -1
  130. package/components/mui_extended/ToggleIconButton/{index.cd20de81.js → index.7635e223.js} +1 -1
  131. package/components/mui_extended/Typography/{index.45e97bdd.js → index.24a872e2.js} +1 -1
  132. package/components/popups/PopupsViewer/{index.8fe4aa5d.js → index.eaa54c6c.js} +4 -4
  133. package/components/popups/PopupsViewer/slots/{popupsViewerSlots.aaf546e2.js → popupsViewerSlots.45032030.js} +2 -2
  134. package/contexts/ModalContext/{index.a5c622d6.js → index.7f4d2b18.js} +1 -1
  135. package/contexts/RHFormContext/{index.40a9547e.js → index.19edaacb.js} +1 -1
  136. package/hooks/useFormAddEdit/{index.b6a3cf63.js → index.aa9cc210.js} +2 -2
  137. package/hooks/useModal/{index.3ad1e014.js → index.a2a50f01.js} +1 -1
  138. package/hooks/useTab/{index.4081b113.js → index.c0a8f413.js} +1 -1
  139. package/index.js +123 -123
  140. package/package.json +1 -1
  141. package/{react-draggable.310e3387.js → react-draggable.1c1ba224.js} +1 -1
  142. package/{react-resizable.3755959b.js → react-resizable.a59c14f4.js} +2 -2
  143. package/styles/{DynamicFilter.557ee3a7.js → DynamicFilter.27c16026.js} +1 -1
  144. package/styles/{index.239f949e.js → index.59da2f54.js} +11 -11
  145. package/vite-env.d.ts +4 -4
  146. /package/utils/{index.78d1638f.js → index.14912462.js} +0 -0
@@ -1,9 +1,12 @@
1
- import { RHFAutocompleteProps } from '../RHFAutocomplete/types';
2
- export declare type RHFAutocompleteAsyncProps<T> = {
1
+ import { ImageProps, RHFAutocompleteBaseProps, RHFAutocompleteTypeTextProps } from '../RHFAutocomplete/types';
2
+ export interface RHFAutocompleteAsyncBaseProps {
3
3
  endPoint: string;
4
4
  timeout?: number;
5
5
  parms?: Record<string, any>;
6
6
  resultField?: string;
7
7
  isRemote?: boolean;
8
8
  onChangeFilterParms?: (newValue: string) => Record<string, any>;
9
- } & Omit<RHFAutocompleteProps<T>, 'options' | 'onChangeSearchInput'>;
9
+ }
10
+ export declare type RHFAutocompleteAsyncProps<T> = (Omit<RHFAutocompleteBaseProps<T>, 'options' | 'onChangeSearchInput'> & ImageProps<T> & RHFAutocompleteAsyncBaseProps) | (Omit<RHFAutocompleteBaseProps<T>, 'options' | 'onChangeSearchInput'> & RHFAutocompleteTypeTextProps & RHFAutocompleteAsyncBaseProps);
11
+ export declare type ComponentImageProps<T> = RHFAutocompleteAsyncBaseProps & Omit<RHFAutocompleteBaseProps<T>, 'options' | 'onChangeSearchInput'> & ImageProps<T>;
12
+ export declare type ComponentTextProps<T> = RHFAutocompleteAsyncBaseProps & Omit<RHFAutocompleteBaseProps<T>, 'options' | 'onChangeSearchInput'> & RHFAutocompleteTypeTextProps;
@@ -1,14 +1,14 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { useFormContext, Controller } from "react-hook-form";
3
- import { aj as RHFCheckboxRoot, ak as ContainerCheckTypography } from "../../../styles/index.239f949e.js";
3
+ import { aj as RHFCheckboxRoot, ak as ContainerCheckTypography } from "../../../styles/index.59da2f54.js";
4
4
  import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
5
5
  import { unstable_composeClasses } from "@mui/base";
6
- import { H as HelperText } from "../../HelperText/index.5c72277a.js";
6
+ import { H as HelperText } from "../../HelperText/index.25891eda.js";
7
7
  import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
8
8
  import { useResponsiveDesktop } from "@m4l/graphics";
9
9
  import { useModuleSkeleton } from "@m4l/core";
10
10
  import { useFormFocus } from "../../../index.js";
11
- import { C as CheckBox } from "../../mui_extended/CheckBox.a8958eb8.js";
11
+ import { C as CheckBox } from "../../mui_extended/CheckBox.9d43398b.js";
12
12
  generateUtilityClasses("M4LRHFCheckbox", [
13
13
  "root",
14
14
  "checkTypography",
@@ -3,17 +3,17 @@ import { useState } from "react";
3
3
  import { useFormContext, useWatch, Controller } from "react-hook-form";
4
4
  import { useModuleSkeleton, useEnvironment, useModuleDictionary } from "@m4l/core";
5
5
  import { SketchPicker } from "react-color";
6
- import { H as HelperText } from "../../HelperText/index.5c72277a.js";
6
+ import { H as HelperText } from "../../HelperText/index.25891eda.js";
7
7
  import { generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
8
8
  import { unstable_composeClasses } from "@mui/base";
9
- import { al as RHFColorPickerRoot } from "../../../styles/index.239f949e.js";
9
+ import { al as RHFColorPickerRoot } from "../../../styles/index.59da2f54.js";
10
10
  import { useTheme } from "@mui/material/styles";
11
11
  import { useResponsiveDesktop } from "@m4l/graphics";
12
12
  import { useFormFocus } from "../../../index.js";
13
- import { F as FieldLabel } from "../../FieldLabel/index.59b9b63a.js";
14
- import { P as Popover } from "../../mui_extended/Popover/index.5e78a637.js";
15
- import { I as Icon } from "../../Icon/index.13aaae3c.js";
16
- import { B as Button } from "../../mui_extended/Button/index.111f830e.js";
13
+ import { F as FieldLabel } from "../../FieldLabel/index.2aaaac6f.js";
14
+ import { P as Popover } from "../../mui_extended/Popover/index.58f8522b.js";
15
+ import { I as Icon } from "../../Icon/index.89dba21c.js";
16
+ import { B as Button } from "../../mui_extended/Button/index.9c6c173c.js";
17
17
  const componentName = "M4LRHFColorPicker";
18
18
  const colorPickerClasses = generateUtilityClasses(componentName, [
19
19
  "root",
@@ -7,12 +7,12 @@ import { useFormatter, useResponsiveDesktop } from "@m4l/graphics";
7
7
  import { useState, useEffect } from "react";
8
8
  import { unstable_composeClasses } from "@mui/base";
9
9
  import clsx from "clsx";
10
- import { am as RHFDateTimeRoot } from "../../../styles/index.239f949e.js";
11
- import { H as HelperText } from "../../HelperText/index.5c72277a.js";
10
+ import { am as RHFDateTimeRoot } from "../../../styles/index.59da2f54.js";
11
+ import { H as HelperText } from "../../HelperText/index.25891eda.js";
12
12
  import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
13
13
  import { useFormFocus } from "../../../index.js";
14
- import { F as FieldLabel } from "../../FieldLabel/index.59b9b63a.js";
15
- import { I as Icon } from "../../Icon/index.13aaae3c.js";
14
+ import { F as FieldLabel } from "../../FieldLabel/index.2aaaac6f.js";
15
+ import { I as Icon } from "../../Icon/index.89dba21c.js";
16
16
  const SkeletonRHFDateTime = (props) => {
17
17
  const { skeletonWidth, skeletonHeight, className, label } = props;
18
18
  return /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -1,13 +1,13 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import { an as RHFPeriodRoot } from "../../../styles/index.239f949e.js";
2
+ import { an as RHFPeriodRoot } from "../../../styles/index.59da2f54.js";
3
3
  import { useFormContext, Controller } from "react-hook-form";
4
- import { H as HelperText } from "../../HelperText/index.5c72277a.js";
4
+ import { H as HelperText } from "../../HelperText/index.25891eda.js";
5
5
  import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
6
6
  import { unstable_composeClasses } from "@mui/base";
7
7
  import { useModuleSkeleton } from "@m4l/core";
8
8
  import { useFormFocus } from "../../../index.js";
9
- import { F as FieldLabel } from "../../FieldLabel/index.59b9b63a.js";
10
- import { P as Period } from "../../Period/index.13e4c351.js";
9
+ import { F as FieldLabel } from "../../FieldLabel/index.2aaaac6f.js";
10
+ import { P as Period } from "../../Period/index.76c4e428.js";
11
11
  const componentName = "M4LRHFPeriod";
12
12
  generateUtilityClasses(componentName, [
13
13
  "root",
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { useFormContext, Controller } from "react-hook-form";
3
3
  import { RadioGroup, FormControlLabel, FormHelperText, Radio } from "@mui/material";
4
- import { I as Icon } from "../../Icon/index.13aaae3c.js";
4
+ import { I as Icon } from "../../Icon/index.89dba21c.js";
5
5
  function OptionIconLabelFormatter(option, getOptionLabel, getOptionIconUrl) {
6
6
  return /* @__PURE__ */ jsxs("div", { children: [
7
7
  /* @__PURE__ */ jsx(
@@ -2,16 +2,16 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { useModuleSkeleton, useEnvironment } from "@m4l/core";
3
3
  import { Skeleton, generateUtilityClasses, TextField, InputAdornment, generateUtilityClass } from "@mui/material";
4
4
  import { forwardRef, useState, useEffect } from "react";
5
- import { I as IconButton } from "../../mui_extended/IconButton/index.9425bdc5.js";
5
+ import { I as IconButton } from "../../mui_extended/IconButton/index.42efd85d.js";
6
6
  import { useFormContext, Controller } from "react-hook-form";
7
- import { ao as SkeletonTextFieldRoot, ap as WrapperSkeletonRHFTextField, aq as RHFTextFieldRoot, ar as RHFTextFieldPasswordRoot } from "../../../styles/index.239f949e.js";
7
+ import { ao as SkeletonTextFieldRoot, ap as WrapperSkeletonRHFTextField, aq as RHFTextFieldRoot, ar as RHFTextFieldPasswordRoot } from "../../../styles/index.59da2f54.js";
8
8
  import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
9
9
  import { unstable_composeClasses } from "@mui/base";
10
- import { g as getComponentUtilityClass } from "../../../utils/index.78d1638f.js";
11
- import { H as HelperText } from "../../HelperText/index.5c72277a.js";
10
+ import { g as getComponentUtilityClass } from "../../../utils/index.14912462.js";
11
+ import { H as HelperText } from "../../HelperText/index.25891eda.js";
12
12
  import { useResponsiveDesktop } from "@m4l/graphics";
13
13
  import { useFormFocus } from "../../../index.js";
14
- import { F as FieldLabel } from "../../FieldLabel/index.59b9b63a.js";
14
+ import { F as FieldLabel } from "../../FieldLabel/index.2aaaac6f.js";
15
15
  const RHFTEXTFIELD_ROOT_TEST_ID = "RHFTextFieldRoot";
16
16
  const RHFTEXTFIELD_INPUT_TEST_ID = "RHFTextFieldInput";
17
17
  const RHFTEXTFIELD_PREFIX = "RHFTextField";
@@ -3,15 +3,15 @@ import { useCallback } from "react";
3
3
  import { useFormContext, Controller } from "react-hook-form";
4
4
  import isString from "lodash/isString";
5
5
  import { useDropzone } from "react-dropzone";
6
- import { I as Image } from "../../Image/index.4b51d4ba.js";
6
+ import { I as Image } from "../../Image/index.94949e55.js";
7
7
  import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
8
- import { as as UploadImageRoot, at as WrapperRHFUploadImage } from "../../../styles/index.239f949e.js";
8
+ import { as as UploadImageRoot, at as WrapperRHFUploadImage } from "../../../styles/index.59da2f54.js";
9
9
  import { Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
10
10
  import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
11
11
  import { unstable_composeClasses } from "@mui/base";
12
- import { T as Typography } from "../../mui_extended/Typography/index.45e97bdd.js";
13
- import { B as Button } from "../../mui_extended/Button/index.111f830e.js";
14
- import { H as HelperText } from "../../HelperText/index.5c72277a.js";
12
+ import { T as Typography } from "../../mui_extended/Typography/index.24a872e2.js";
13
+ import { B as Button } from "../../mui_extended/Button/index.9c6c173c.js";
14
+ import { H as HelperText } from "../../HelperText/index.25891eda.js";
15
15
  const ICON_PREFIX = "M4LRHFUploadImage";
16
16
  const getNameRHFUploadImageDataTestId = (KEY) => {
17
17
  return `${ICON_PREFIX}-${KEY}`;
@@ -5,42 +5,42 @@ import { shallow } from "zustand/shallow";
5
5
  import "@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css";
6
6
  import "@geoman-io/leaflet-geoman-free";
7
7
  import clsx from "clsx";
8
- import { au as RHFormProviderStyled, av as StackGeofenceListRoot, aw as DivTabGpsToolsRoot } from "../../../../styles/index.239f949e.js";
9
- import { D as DynamicFilter } from "../../../DynamicFilter/index.08abfc2c.js";
10
- import { C as ColumnIconFormatter } from "../../../DataGrid/formatters/index.6698b419.js";
8
+ import { au as RHFormProviderStyled, av as StackGeofenceListRoot, aw as DivTabGpsToolsRoot } from "../../../../styles/index.59da2f54.js";
9
+ import { D as DynamicFilter } from "../../../DynamicFilter/index.a978aea9.js";
10
+ import { C as ColumnIconFormatter } from "../../../DataGrid/formatters/index.90ed715b.js";
11
11
  import { C as ColumnDateFormatter } from "../../../DataGrid/formatters/ColumnDateFormatter/index.e00d0cf2.js";
12
12
  import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
13
13
  import { useFormContext, useWatch, useFormState } from "react-hook-form";
14
- import { H as HelperError } from "../../../hook-form/HelperError/index.9f93c627.js";
15
- import { u as useModal } from "../../../../hooks/useModal/index.3ad1e014.js";
14
+ import { H as HelperError } from "../../../hook-form/HelperError/index.296a4c82.js";
15
+ import { u as useModal } from "../../../../hooks/useModal/index.a2a50f01.js";
16
16
  import { u as usePopupsStore } from "../../../popups/PopupsProvider/index.776c62e7.js";
17
17
  import { createStore, useStore } from "zustand";
18
18
  import { devtools } from "zustand/middleware";
19
19
  import { immer } from "zustand/middleware/immer";
20
20
  import { enableMapSet } from "immer";
21
- import { A as ActionFormIntro } from "../../../CommonActions/components/ActionFormIntro/index.415de2bb.js";
22
- import { W as WindowConfirm } from "../../../modal/WindowConfirm.60955735.js";
23
- import { A as Actions } from "../../../CommonActions/components/Actions/index.2342a37e.js";
24
- import { B as Button } from "../../../mui_extended/Button/index.111f830e.js";
21
+ import { A as ActionFormIntro } from "../../../CommonActions/components/ActionFormIntro/index.0e78a223.js";
22
+ import { W as WindowConfirm } from "../../../modal/WindowConfirm.38a79eee.js";
23
+ import { A as Actions } from "../../../CommonActions/components/Actions/index.c7fab394.js";
24
+ import { B as Button } from "../../../mui_extended/Button/index.9c6c173c.js";
25
25
  import { useMap } from "react-leaflet";
26
26
  import * as L from "leaflet";
27
27
  import { u as useFormReadyForUpdate } from "../../../../hooks/useFormReadyForUpdate/index.f60f500e.js";
28
- import { u as useTab } from "../../../../hooks/useTab/index.4081b113.js";
28
+ import { u as useTab } from "../../../../hooks/useTab/index.c0a8f413.js";
29
29
  import { generateUtilityClasses } from "@mui/material";
30
30
  import "@mui/base";
31
- import { P as PaperForm } from "../../../PaperForm/index.8289409f.js";
32
- import { R as RHFAutocomplete } from "../../../hook-form/RHFAutocomplete/index.b8347185.js";
33
- import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.828b30f5.js";
34
- import { S as Stack } from "../../../mui_extended/Stack/index.3674daf7.js";
35
- import { I as IconButton } from "../../../mui_extended/IconButton/index.9425bdc5.js";
36
- import { P as PropertyValue } from "../../../PropertyValue/index.36555931.js";
37
- import { R as RHFColorPicker } from "../../../hook-form/RHFColorPicker/index.c259b8ac.js";
38
- import { T as Tabs, a as Tab, b as TabContent, c as TabProvider } from "../../../mui_extended/Tab/index.a94a92c1.js";
39
- import { I as Icon } from "../../../Icon/index.13aaae3c.js";
31
+ import { P as PaperForm } from "../../../PaperForm/index.dbcbd677.js";
32
+ import { R as RHFAutocomplete } from "../../../hook-form/RHFAutocomplete/index.b1c29dd0.js";
33
+ import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.984a4dba.js";
34
+ import { S as Stack } from "../../../mui_extended/Stack/index.b0690398.js";
35
+ import { I as IconButton } from "../../../mui_extended/IconButton/index.42efd85d.js";
36
+ import { P as PropertyValue } from "../../../PropertyValue/index.9dd592cd.js";
37
+ import { R as RHFColorPicker } from "../../../hook-form/RHFColorPicker/index.3eb719ac.js";
38
+ import { T as Tabs, a as Tab, b as TabContent, c as TabProvider } from "../../../mui_extended/Tab/index.8a0bd49c.js";
39
+ import { I as Icon } from "../../../Icon/index.89dba21c.js";
40
40
  import * as Yup from "yup";
41
- import { u as useFormAddEdit } from "../../../../hooks/useFormAddEdit/index.b6a3cf63.js";
42
- import { u as useMapStore, C as CommonFeatureRender, G as GPS_TOOLS_POPUP_ID } from "../Map/index.c568e68d.js";
43
- import { D as DataGrid } from "../../../DataGrid/index.b1cac6af.js";
41
+ import { u as useFormAddEdit } from "../../../../hooks/useFormAddEdit/index.aa9cc210.js";
42
+ import { u as useMapStore, C as CommonFeatureRender, G as GPS_TOOLS_POPUP_ID } from "../Map/index.14ce256b.js";
43
+ import { D as DataGrid } from "../../../DataGrid/index.58b8d903.js";
44
44
  const COMPONENT_CLASS_NAME = "M4LMapGpsTools";
45
45
  const COMPONENT_MAP_TOOLS_ID = "gps_tools";
46
46
  const STYLE_OPACITIES = [
@@ -715,14 +715,13 @@ function GeneralData() {
715
715
  /* @__PURE__ */ jsx(
716
716
  RHFAutocomplete,
717
717
  {
718
+ type: "image",
718
719
  name: "geofenceType",
719
720
  autoComplete: "off",
720
721
  options: geofencesTypes,
721
722
  getOptionLabel: (option) => option.name,
722
723
  isOptionEqualToValue: (option, value) => option.id === value.id,
723
724
  getOptionUrlImage: (option) => option.url,
724
- imageHeight: "12px",
725
- imageWidth: "12px",
726
725
  label: getLabel(MAP_GPSTOOLS_DICCTIONARY.LABEL_GEOMETRY_TYPE)
727
726
  }
728
727
  ),
@@ -866,6 +865,7 @@ function FillData() {
866
865
  value: /* @__PURE__ */ jsx(
867
866
  RHFAutocomplete,
868
867
  {
868
+ type: "text",
869
869
  name: "properties.fillOpacity",
870
870
  autoComplete: "off",
871
871
  options: STYLE_OPACITIES,
@@ -902,6 +902,7 @@ function StrokeData() {
902
902
  value: /* @__PURE__ */ jsx(
903
903
  RHFAutocomplete,
904
904
  {
905
+ type: "text",
905
906
  name: "properties.strokeOpacity",
906
907
  autoComplete: "off",
907
908
  options: STYLE_OPACITIES,
@@ -921,6 +922,7 @@ function StrokeData() {
921
922
  value: /* @__PURE__ */ jsx(
922
923
  RHFAutocomplete,
923
924
  {
925
+ type: "text",
924
926
  name: "properties.strokeWeight",
925
927
  autoComplete: "off",
926
928
  options: STYLE_WHEIGHTS,
@@ -940,6 +942,7 @@ function StrokeData() {
940
942
  value: /* @__PURE__ */ jsx(
941
943
  RHFAutocomplete,
942
944
  {
945
+ type: "text",
943
946
  name: "properties.strokeDashArray",
944
947
  autoComplete: "off",
945
948
  options: STYLE_PATTERNS,
@@ -1,159 +1,159 @@
1
- import 'leaflet';
2
-
3
- declare module 'leaflet' {
4
- namespace gridLayer {
5
- interface GoogleMutant extends GridLayer {
6
- setElementSize(e: HTMLElement, size: Point): void;
7
-
8
- /**
9
- * Add additional Google Maps layer.
10
- *
11
- * https://developers.google.com/maps/documentation/javascript/trafficlayer
12
- *
13
- * @param googleLayerName such as BicyclingLayer, TrafficLayer, or TransitLayer.
14
- * @param options? constructor arguments to pass through to the google layer.
15
- * @returns Promise for the native Google Maps Layer instance.
16
- */
17
- addGoogleLayer(googleLayerName: string, options?: object): Promise<object>;
18
-
19
- /**
20
- * Removes Google Maps layer.
21
- *
22
- * https://developers.google.com/maps/documentation/javascript/trafficlayer
23
- *
24
- * @param googleLayerName such as BicyclingLayer, TrafficLayer, or TransitLayer.
25
- */
26
- removeGoogleLayer(googleLayerName: string): void;
27
- }
28
-
29
- type GoogleMutantType = 'roadmap' | 'satellite' | 'terrain' | 'hybrid';
30
-
31
- interface GoogleMutantStyler {
32
- hue?: string | undefined;
33
- lightness?: number | undefined;
34
- saturation?: number | undefined;
35
- gamma?: number | undefined;
36
- invert_lightness?: boolean | undefined;
37
- visibility?: string | undefined;
38
- color?: string | undefined;
39
- weight?: number | undefined;
40
- }
41
-
42
- /**
43
- * Google's map style.
44
- *
45
- * https://developers.google.com/maps/documentation/javascript/style-reference
46
- */
47
- interface GoogleMutantStyle {
48
- /**
49
- * https://developers.google.com/maps/documentation/javascript/style-reference#style-features
50
- */
51
- featureType?: string | undefined;
52
-
53
- /**
54
- * https://developers.google.com/maps/documentation/javascript/style-reference#style-elements
55
- */
56
- elementType?: string | undefined;
57
-
58
- /**
59
- * https://developers.google.com/maps/documentation/javascript/style-reference#stylers
60
- */
61
- stylers?: GoogleMutantStyler[] | undefined;
62
- }
63
-
64
- interface GoogleMutantOptions extends TileLayerOptions {
65
- minZoom?: number | undefined;
66
- maxZoom?: number | undefined;
67
- maxNativeZoom?: number | undefined;
68
- tileSize?: number | Point | undefined;
69
- subdomains?: string | string[] | undefined;
70
- errorTileUrl?: string | undefined;
71
-
72
- /**
73
- * The mutant container will add its own attribution anyways.
74
- */
75
- attribution?: string | undefined;
76
-
77
- opacity?: number | undefined;
78
- continuousWorld?: boolean | undefined;
79
- noWrap?: boolean | undefined;
80
-
81
- /**
82
- * Google's map type. 'hybrid' is not really supported.
83
- */
84
- type?: GoogleMutantType | undefined;
85
-
86
- /**
87
- * Google's map styles.
88
- */
89
- styles?: GoogleMutantStyle[] | undefined;
90
- }
91
-
92
- function googleMutant(options?: GoogleMutantOptions): GoogleMutant;
93
-
94
- // Remove the duplicate declaration of GoogleMutantType
95
-
96
- interface GoogleMutantStyler {
97
- hue?: string | undefined;
98
- lightness?: number | undefined;
99
- saturation?: number | undefined;
100
- gamma?: number | undefined;
101
- invert_lightness?: boolean | undefined;
102
- visibility?: string | undefined;
103
- color?: string | undefined;
104
- weight?: number | undefined;
105
- }
106
-
107
- /**
108
- * Google's map style.
109
- *
110
- * https://developers.google.com/maps/documentation/javascript/style-reference
111
- */
112
- interface GoogleMutantStyle {
113
- /**
114
- * https://developers.google.com/maps/documentation/javascript/style-reference#style-features
115
- */
116
- featureType?: string | undefined;
117
-
118
- /**
119
- * https://developers.google.com/maps/documentation/javascript/style-reference#style-elements
120
- */
121
- elementType?: string | undefined;
122
-
123
- /**
124
- * https://developers.google.com/maps/documentation/javascript/style-reference#stylers
125
- */
126
- stylers?: GoogleMutantStyler[] | undefined;
127
- }
128
-
129
- interface GoogleMutantOptions extends TileLayerOptions {
130
- minZoom?: number | undefined;
131
- maxZoom?: number | undefined;
132
- maxNativeZoom?: number | undefined;
133
- tileSize?: number | Point | undefined;
134
- subdomains?: string | string[] | undefined;
135
- errorTileUrl?: string | undefined;
136
-
137
- /**
138
- * The mutant container will add its own attribution anyways.
139
- */
140
- attribution?: string | undefined;
141
-
142
- opacity?: number | undefined;
143
- continuousWorld?: boolean | undefined;
144
- noWrap?: boolean | undefined;
145
-
146
- /**
147
- * Google's map type. 'hybrid' is not really supported.
148
- */
149
- type?: GoogleMutantType | undefined;
150
-
151
- /**
152
- * Google's map styles.
153
- */
154
- styles?: GoogleMutantStyle[] | undefined;
155
- }
156
-
157
- function googleMutant(options?: GoogleMutantOptions): GoogleMutant;
158
- }
159
- }
1
+ import 'leaflet';
2
+
3
+ declare module 'leaflet' {
4
+ namespace gridLayer {
5
+ interface GoogleMutant extends GridLayer {
6
+ setElementSize(e: HTMLElement, size: Point): void;
7
+
8
+ /**
9
+ * Add additional Google Maps layer.
10
+ *
11
+ * https://developers.google.com/maps/documentation/javascript/trafficlayer
12
+ *
13
+ * @param googleLayerName such as BicyclingLayer, TrafficLayer, or TransitLayer.
14
+ * @param options? constructor arguments to pass through to the google layer.
15
+ * @returns Promise for the native Google Maps Layer instance.
16
+ */
17
+ addGoogleLayer(googleLayerName: string, options?: object): Promise<object>;
18
+
19
+ /**
20
+ * Removes Google Maps layer.
21
+ *
22
+ * https://developers.google.com/maps/documentation/javascript/trafficlayer
23
+ *
24
+ * @param googleLayerName such as BicyclingLayer, TrafficLayer, or TransitLayer.
25
+ */
26
+ removeGoogleLayer(googleLayerName: string): void;
27
+ }
28
+
29
+ type GoogleMutantType = 'roadmap' | 'satellite' | 'terrain' | 'hybrid';
30
+
31
+ interface GoogleMutantStyler {
32
+ hue?: string | undefined;
33
+ lightness?: number | undefined;
34
+ saturation?: number | undefined;
35
+ gamma?: number | undefined;
36
+ invert_lightness?: boolean | undefined;
37
+ visibility?: string | undefined;
38
+ color?: string | undefined;
39
+ weight?: number | undefined;
40
+ }
41
+
42
+ /**
43
+ * Google's map style.
44
+ *
45
+ * https://developers.google.com/maps/documentation/javascript/style-reference
46
+ */
47
+ interface GoogleMutantStyle {
48
+ /**
49
+ * https://developers.google.com/maps/documentation/javascript/style-reference#style-features
50
+ */
51
+ featureType?: string | undefined;
52
+
53
+ /**
54
+ * https://developers.google.com/maps/documentation/javascript/style-reference#style-elements
55
+ */
56
+ elementType?: string | undefined;
57
+
58
+ /**
59
+ * https://developers.google.com/maps/documentation/javascript/style-reference#stylers
60
+ */
61
+ stylers?: GoogleMutantStyler[] | undefined;
62
+ }
63
+
64
+ interface GoogleMutantOptions extends TileLayerOptions {
65
+ minZoom?: number | undefined;
66
+ maxZoom?: number | undefined;
67
+ maxNativeZoom?: number | undefined;
68
+ tileSize?: number | Point | undefined;
69
+ subdomains?: string | string[] | undefined;
70
+ errorTileUrl?: string | undefined;
71
+
72
+ /**
73
+ * The mutant container will add its own attribution anyways.
74
+ */
75
+ attribution?: string | undefined;
76
+
77
+ opacity?: number | undefined;
78
+ continuousWorld?: boolean | undefined;
79
+ noWrap?: boolean | undefined;
80
+
81
+ /**
82
+ * Google's map type. 'hybrid' is not really supported.
83
+ */
84
+ type?: GoogleMutantType | undefined;
85
+
86
+ /**
87
+ * Google's map styles.
88
+ */
89
+ styles?: GoogleMutantStyle[] | undefined;
90
+ }
91
+
92
+ function googleMutant(options?: GoogleMutantOptions): GoogleMutant;
93
+
94
+ // Remove the duplicate declaration of GoogleMutantType
95
+
96
+ interface GoogleMutantStyler {
97
+ hue?: string | undefined;
98
+ lightness?: number | undefined;
99
+ saturation?: number | undefined;
100
+ gamma?: number | undefined;
101
+ invert_lightness?: boolean | undefined;
102
+ visibility?: string | undefined;
103
+ color?: string | undefined;
104
+ weight?: number | undefined;
105
+ }
106
+
107
+ /**
108
+ * Google's map style.
109
+ *
110
+ * https://developers.google.com/maps/documentation/javascript/style-reference
111
+ */
112
+ interface GoogleMutantStyle {
113
+ /**
114
+ * https://developers.google.com/maps/documentation/javascript/style-reference#style-features
115
+ */
116
+ featureType?: string | undefined;
117
+
118
+ /**
119
+ * https://developers.google.com/maps/documentation/javascript/style-reference#style-elements
120
+ */
121
+ elementType?: string | undefined;
122
+
123
+ /**
124
+ * https://developers.google.com/maps/documentation/javascript/style-reference#stylers
125
+ */
126
+ stylers?: GoogleMutantStyler[] | undefined;
127
+ }
128
+
129
+ interface GoogleMutantOptions extends TileLayerOptions {
130
+ minZoom?: number | undefined;
131
+ maxZoom?: number | undefined;
132
+ maxNativeZoom?: number | undefined;
133
+ tileSize?: number | Point | undefined;
134
+ subdomains?: string | string[] | undefined;
135
+ errorTileUrl?: string | undefined;
136
+
137
+ /**
138
+ * The mutant container will add its own attribution anyways.
139
+ */
140
+ attribution?: string | undefined;
141
+
142
+ opacity?: number | undefined;
143
+ continuousWorld?: boolean | undefined;
144
+ noWrap?: boolean | undefined;
145
+
146
+ /**
147
+ * Google's map type. 'hybrid' is not really supported.
148
+ */
149
+ type?: GoogleMutantType | undefined;
150
+
151
+ /**
152
+ * Google's map styles.
153
+ */
154
+ styles?: GoogleMutantStyle[] | undefined;
155
+ }
156
+
157
+ function googleMutant(options?: GoogleMutantOptions): GoogleMutant;
158
+ }
159
+ }