@m4l/components 0.1.48 → 0.1.49

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 (41) hide show
  1. package/components/CommonActions/components/ActionFormCancel/{index.b57b4b76.js → index.d6875fe6.js} +10 -10
  2. package/components/CommonActions/components/Actions/{index.9ed13e2f.js → index.4e56715e.js} +9 -9
  3. package/components/DataGrid/formatters/columnConcatenatedValueFormatter/index.d.ts +5 -0
  4. package/components/DataGrid/{index.813a743b.js → index.4baf5552.js} +42 -13
  5. package/components/DynamicFilter/{index.03cdba29.js → index.b4fc6428.js} +15 -15
  6. package/components/ErrorLabel/{index.78553a1e.js → index.73f9362c.js} +1 -1
  7. package/components/LanguagePopover/{index.5047b444.js → index.26b694ef.js} +1 -1
  8. package/components/ModalDialog/{index.82339e99.js → index.58a21edf.js} +2 -2
  9. package/components/ObjectLogs/{index.77b127ee.js → index.9e362091.js} +13 -13
  10. package/components/Period/{index.13633c02.js → index.2841388b.js} +10 -10
  11. package/components/areas/components/AreasAdmin/{index.8dd6bdc9.js → index.5f46d742.js} +2 -2
  12. package/components/areas/components/AreasContainer/{index.109591c0.js → index.c99b3cca.js} +2 -2
  13. package/components/areas/components/GridLayout/{index.b3937981.js → index.7cca9a94.js} +3 -3
  14. package/components/areas/components/Window/{index.f6f0de4e.js → index.d3ccc192.js} +5 -5
  15. package/components/areas/components/WindowPopUp/{index.fdb94c9e.js → index.7183a2e5.js} +21 -21
  16. package/components/areas/components/{index.08eac399.js → index.9f1b8516.js} +6 -6
  17. package/components/areas/contexts/AreaContext/{index.597d370d.js → index.2f35327c.js} +3 -3
  18. package/components/areas/contexts/AreasContext/{index.76307499.js → index.82659d93.js} +1 -1
  19. package/components/areas/contexts/{index.28b9cd33.js → index.1edc1f88.js} +1 -1
  20. package/components/areas/hooks/{index.a8a6ec7e.js → index.3326476e.js} +1 -1
  21. package/components/areas/hooks/useArea/{index.4fe91ee7.js → index.061d19d5.js} +2 -2
  22. package/components/areas/{index.ee441298.js → index.ae311948.js} +5 -5
  23. package/components/formatters/ConcatenatedFormatter/index.d.ts +8 -1
  24. package/components/formatters/ConcatenatedFormatter/types.d.ts +2 -2
  25. package/components/formatters/DateFormatter/{index.80522f69.js → index.578a9f53.js} +17 -14
  26. package/components/formatters/DateFormatter/index.d.ts +16 -1
  27. package/components/formatters/DateFormatter/types.d.ts +1 -0
  28. package/components/formatters/PeriodFormatter/index.d.ts +9 -1
  29. package/components/formatters/{index.0368bab3.js → index.90a19f9f.js} +36 -33
  30. package/components/formatters/index.d.ts +3 -3
  31. package/components/hook-form/RHFCheckbox/{index.ca94a050.js → index.ebfe1e3c.js} +1 -1
  32. package/components/hook-form/RHFPeriod/{index.2544874d.js → index.3470638a.js} +2 -2
  33. package/components/modal/{WindowBase.a8f6757c.js → WindowBase.52e21822.js} +1 -1
  34. package/components/modal/{WindowConfirm.f214a961.js → WindowConfirm.2fc8ed8f.js} +9 -9
  35. package/components/modal/{index.b5debdb7.js → index.4a20488c.js} +10 -10
  36. package/components/mui_extended/Pager/{index.984aac44.js → index.80ccec47.js} +10 -0
  37. package/components/mui_extended/{index.cb9d48d2.js → index.3106c913.js} +1 -1
  38. package/contexts/ModalContext/{index.4b0094e1.js → index.a6faf940.js} +1 -1
  39. package/hooks/useModal/{index.df40bf77.js → index.54a1887f.js} +1 -1
  40. package/index.js +45 -42
  41. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { useContext } from "react";
2
2
  import { useStore } from "zustand";
3
- import { a as AreaContext } from "../../contexts/AreaContext/index.597d370d.js";
4
- import { A as AreasContext } from "../../contexts/AreasContext/index.76307499.js";
3
+ import { a as AreaContext } from "../../contexts/AreaContext/index.2f35327c.js";
4
+ import { A as AreasContext } from "../../contexts/AreasContext/index.82659d93.js";
5
5
  function useAreaStore(selector, equalityFn) {
6
6
  const context = useContext(AreaContext);
7
7
  if (!context)
@@ -1,5 +1,5 @@
1
- import "./components/index.08eac399.js";
2
- import "./components/AreasAdmin/index.8dd6bdc9.js";
1
+ import "./components/index.9f1b8516.js";
2
+ import "./components/AreasAdmin/index.5f46d742.js";
3
3
  import "react";
4
4
  import "@m4l/core";
5
5
  import "@mui/material";
@@ -8,12 +8,12 @@ import "@mui/material/styles";
8
8
  import "react/jsx-runtime";
9
9
  import "../mui_extended/IconButton/index.1318a283.js";
10
10
  import "zustand";
11
- import "./contexts/AreasContext/index.76307499.js";
11
+ import "./contexts/AreasContext/index.82659d93.js";
12
12
  import "zustand/shallow";
13
- import "./components/AreasContainer/index.109591c0.js";
13
+ import "./components/AreasContainer/index.c99b3cca.js";
14
14
  import "react-grid-layout/css/styles.css";
15
15
  import "../../react-resizable.bb58c8fc.js";
16
- import "./contexts/index.28b9cd33.js";
16
+ import "./contexts/index.1edc1f88.js";
17
17
  import "./contexts/DynamicMFParmsContext/index.c19cb8cc.js";
18
18
  const LABEL_NEW_AREA = "label_new_area";
19
19
  export {
@@ -1,7 +1,14 @@
1
1
  /// <reference types="react" />
2
2
  import { ConcatenatedFormatterProps } from './types';
3
3
  /**
4
- * Concatena un arrays de strings y/o numbers
4
+ * Concatena un arrays de strings y/o numbers. Retorna un string
5
+ * @param values Array de strings o numnbers a concatenar
6
+ * @param separator String utilizado como separador entre componentes del array
7
+ * @returns string
8
+ */
9
+ export declare function getFormatConcatenated(values: Array<string | number>, separator: string | number): string;
10
+ /**
11
+ * Concatena un arrays de strings y/o numbers. Retorna un JSX
5
12
  * @param props {values: Array<string> Valores a concatenar, separator: string Separador entre valores concatenados, Component: ElementType Componente que abraza la respuesta}
6
13
  * @returns
7
14
  */
@@ -1,8 +1,8 @@
1
1
  import { ElementType } from 'react';
2
2
  /**
3
+ * values: Array de strings a concatenar
4
+ * separator: String usado para concatenar el array de strings
3
5
  * Component: Tipo de componente HTML que "abraza" el resultado
4
- * Values: Array de strings a concatenar
5
- * Separator: String usado para concatenar el array de strings
6
6
  */
7
7
  export interface ConcatenatedFormatterProps {
8
8
  values: Array<string | number>;
@@ -1,13 +1,7 @@
1
1
  import { useFormatter } from "@m4l/graphics";
2
2
  import { W as WrapperComponent } from "../../WrapperComponent/index.5e872594.js";
3
- import { jsx, Fragment } from "react/jsx-runtime";
4
- function DateFormatter(props) {
5
- const {
6
- presentationType,
7
- value,
8
- format,
9
- Component = WrapperComponent
10
- } = props;
3
+ import { jsx } from "react/jsx-runtime";
4
+ function getFormatDate(presentationType, value, format) {
11
5
  const {
12
6
  dateFormatter
13
7
  } = useFormatter();
@@ -15,9 +9,7 @@ function DateFormatter(props) {
15
9
  let result;
16
10
  let resultDate;
17
11
  if (value === void 0 || value === null) {
18
- return /* @__PURE__ */ jsx(Fragment, {
19
- children: "-"
20
- });
12
+ return "-";
21
13
  }
22
14
  switch (presentationType) {
23
15
  case "datetime":
@@ -37,13 +29,24 @@ function DateFormatter(props) {
37
29
  resultDate = value;
38
30
  }
39
31
  result = dateFormatter.formatDate(resultDate, finalFormat);
32
+ return result;
40
33
  } catch (e) {
41
- result = "err_typing";
34
+ result = "-";
35
+ return result;
42
36
  }
37
+ }
38
+ function DateFormatter(props) {
39
+ const {
40
+ presentationType,
41
+ value,
42
+ format,
43
+ Component = WrapperComponent
44
+ } = props;
43
45
  return /* @__PURE__ */ jsx(Component, {
44
- children: result
46
+ children: getFormatDate(presentationType, value, format)
45
47
  });
46
48
  }
47
49
  export {
48
- DateFormatter as D
50
+ DateFormatter as D,
51
+ getFormatDate as g
49
52
  };
@@ -1,3 +1,18 @@
1
1
  /// <reference types="react" />
2
- import { DateFormatterProps } from './types';
2
+ import { DateFormatterProps, PresentationType } from './types';
3
+ declare type Maybe<T> = T | undefined | null;
4
+ /**
5
+ * Formatea un valor de fecha en formato UTC, a un formato legible para humanos. Retorna un string
6
+ * @param presentationType Fecha, fecha-hora u hora
7
+ * @param value Valor a convertir
8
+ * @param format Formato
9
+ * @returns string
10
+ */
11
+ export declare function getFormatDate(presentationType: PresentationType, value: Maybe<Date | string | number>, format?: string): string;
12
+ /**
13
+ * Formatea un valor de fecha en formato UTC, a un formato legible para humanos. Retorna un JSX
14
+ * @param props DateFormatterProps
15
+ * @returns
16
+ */
3
17
  export declare function DateFormatter(props: DateFormatterProps): JSX.Element;
18
+ export {};
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { Maybe } from '@m4l/core';
3
3
  export declare type PresentationType = 'date' | 'datetime' | 'time';
4
+ export declare type valueType = Date | string | number;
4
5
  export interface DateFormatterProps {
5
6
  Component?: React.ElementType;
6
7
  presentationType: PresentationType;
@@ -1,7 +1,15 @@
1
1
  /// <reference types="react" />
2
2
  import { PeriodFormatterProps } from './types';
3
3
  /**
4
- * Muestra un periodo de tiempo en años, meses y días
4
+ * Muestra un periodo de tiempo en años, meses y días. Retorna un string
5
+ * @param years Cantidad de años
6
+ * @param months Cantidad de meses
7
+ * @param days Cantidad de días
8
+ * @returns string
9
+ */
10
+ export declare function getFormatPeriod(years: number, months: number, days: number): string;
11
+ /**
12
+ * Muestra un periodo de tiempo en años, meses y días. Retorna un JSX
5
13
  * @param props
6
14
  * @returns
7
15
  */
@@ -5,26 +5,15 @@ import "react";
5
5
  import "../Icon/index.f6e8d810.js";
6
6
  import "@mui/material/styles";
7
7
  import "@m4l/graphics";
8
- function ConcatenatedFormatter(props) {
9
- const {
10
- values = "",
11
- separator = " ",
12
- Component = WrapperComponent
13
- } = props;
14
- const returnSymbol = "-";
8
+ function getFormatConcatenated(values, separator) {
9
+ const returnSymbol = "";
15
10
  if (values === null)
16
- return /* @__PURE__ */ jsx(Component, {
17
- children: returnSymbol
18
- });
11
+ return returnSymbol;
19
12
  if (!Array.isArray(values)) {
20
- return /* @__PURE__ */ jsx(Component, {
21
- children: values.toString()
22
- });
13
+ return values.toString();
23
14
  } else {
24
15
  if (values.length == 0)
25
- return /* @__PURE__ */ jsx(Component, {
26
- children: returnSymbol
27
- });
16
+ return returnSymbol;
28
17
  else {
29
18
  const result = values.map((value) => {
30
19
  if (value === null || value === void 0)
@@ -37,12 +26,21 @@ function ConcatenatedFormatter(props) {
37
26
  }
38
27
  }
39
28
  });
40
- return /* @__PURE__ */ jsx(Component, {
41
- children: result.join(separator.toString())
42
- });
29
+ const output = result.join(separator.toString());
30
+ return output.trim();
43
31
  }
44
32
  }
45
33
  }
34
+ function ConcatenatedFormatter(props) {
35
+ const {
36
+ values = [],
37
+ separator = " ",
38
+ Component = WrapperComponent
39
+ } = props;
40
+ return /* @__PURE__ */ jsx(Component, {
41
+ children: getFormatConcatenated(values, separator)
42
+ });
43
+ }
46
44
  function getFormattersComponentsDictionary() {
47
45
  return ["formatters"];
48
46
  }
@@ -60,16 +58,10 @@ const LABEL_MONTHS = "formatters.label_months";
60
58
  const LABEL_MONTH = "formatters.label_month";
61
59
  const LABEL_DAYS = "formatters.label_days";
62
60
  const LABEL_DAY = "formatters.label_day";
63
- function PeriodFormatter(props) {
61
+ function getFormatPeriod(years, months, days) {
64
62
  const {
65
63
  getLabel
66
64
  } = useModuleDictionary();
67
- const {
68
- years = 0,
69
- months = 0,
70
- days = 0,
71
- Component = WrapperComponent
72
- } = props;
73
65
  let period = "";
74
66
  const separator = ", ";
75
67
  switch (years) {
@@ -109,19 +101,30 @@ function PeriodFormatter(props) {
109
101
  }
110
102
  if (period == "")
111
103
  period = "-";
104
+ return period;
105
+ }
106
+ function PeriodFormatter(props) {
107
+ const {
108
+ years = 0,
109
+ months = 0,
110
+ days = 0,
111
+ Component = WrapperComponent
112
+ } = props;
112
113
  return /* @__PURE__ */ jsx(Component, {
113
- children: period
114
+ children: getFormatPeriod(years, months, days)
114
115
  });
115
116
  }
116
117
  export {
117
118
  ConcatenatedFormatter as C,
118
119
  LABEL_YEARS as L,
119
120
  PeriodFormatter as P,
120
- LABEL_YEAR as a,
121
- LABEL_MONTHS as b,
122
- LABEL_MONTH as c,
121
+ getFormatPeriod as a,
122
+ getFormattersComponentsDictionary as b,
123
+ LABEL_YEAR as c,
123
124
  defaultFormattersDictionary as d,
124
- LABEL_DAYS as e,
125
- LABEL_DAY as f,
126
- getFormattersComponentsDictionary as g
125
+ LABEL_MONTHS as e,
126
+ LABEL_MONTH as f,
127
+ getFormatConcatenated as g,
128
+ LABEL_DAYS as h,
129
+ LABEL_DAY as i
127
130
  };
@@ -1,8 +1,8 @@
1
1
  export { BooleanFormatter } from './BooleanFormatter';
2
- export { DateFormatter } from './DateFormatter';
2
+ export { getFormatDate, DateFormatter } from './DateFormatter';
3
3
  export { UncertaintyFormatter, getUncertaintyFormat } from './UncertaintyFormatter';
4
4
  export { PointsFormatter, getFormatPoints } from './PointsFormatter';
5
- export { ConcatenatedFormatter } from './ConcatenatedFormatter';
6
- export { PeriodFormatter } from './PeriodFormatter';
5
+ export { getFormatConcatenated, ConcatenatedFormatter } from './ConcatenatedFormatter';
6
+ export { getFormatPeriod, PeriodFormatter } from './PeriodFormatter';
7
7
  export { PriceFormatter, getFormatPrice } from './PriceFormatter';
8
8
  export type { UncertaintyRange } from './UncertaintyFormatter/types';
@@ -4,7 +4,7 @@ import { useModuleSkeleton } from "@m4l/core";
4
4
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
5
5
  import { styled as styled$1 } from "@mui/material/styles";
6
6
  import { unstable_composeClasses } from "@mui/base";
7
- import { E as ErrorLabel } from "../../ErrorLabel/index.78553a1e.js";
7
+ import { E as ErrorLabel } from "../../ErrorLabel/index.73f9362c.js";
8
8
  import { T as Typography } from "../../mui_extended/Typography/index.be3a279a.js";
9
9
  const WrapperSkeletonCheckBox = styled("div")(() => ({
10
10
  display: "flex",
@@ -1,7 +1,7 @@
1
1
  import { styled } from "@mui/material";
2
2
  import { useFormContext, Controller } from "react-hook-form";
3
- import { E as ErrorLabel } from "../../ErrorLabel/index.78553a1e.js";
4
- import { P as Period } from "../../Period/index.13633c02.js";
3
+ import { E as ErrorLabel } from "../../ErrorLabel/index.73f9362c.js";
4
+ import { P as Period } from "../../Period/index.2841388b.js";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  const Wrapper = styled("div")(({
7
7
  theme
@@ -1,6 +1,6 @@
1
1
  import { useEnvironment } from "@m4l/core";
2
2
  import "react";
3
- import { u as useModal } from "../../hooks/useModal/index.df40bf77.js";
3
+ import { u as useModal } from "../../hooks/useModal/index.54a1887f.js";
4
4
  import { styled } from "@mui/material/styles";
5
5
  import { a as getThemeVariantColor } from "../../utils/index.e882b264.js";
6
6
  import { IconButton } from "@mui/material";
@@ -1,7 +1,7 @@
1
1
  import { useEnvironment } from "@m4l/core";
2
2
  import "react";
3
- import { u as useModal } from "../../hooks/useModal/index.df40bf77.js";
4
- import { A as Actions } from "../CommonActions/components/Actions/index.9ed13e2f.js";
3
+ import { u as useModal } from "../../hooks/useModal/index.54a1887f.js";
4
+ import { A as Actions } from "../CommonActions/components/Actions/index.4e56715e.js";
5
5
  import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.a81752ef.js";
6
6
  import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.d567aebb.js";
7
7
  import "react-hook-form";
@@ -10,23 +10,23 @@ import "@mui/material/Button";
10
10
  import "../mui_extended/Button/index.8406ed5b.js";
11
11
  import { jsx, jsxs } from "react/jsx-runtime";
12
12
  import "../../react-draggable.0eef011c.js";
13
- import "../ModalDialog/index.82339e99.js";
13
+ import "../ModalDialog/index.58a21edf.js";
14
14
  import "../Resizeable/index.8a442a8b.js";
15
15
  import "@m4l/graphics";
16
16
  import { styled } from "@mui/material/styles";
17
17
  import { I as Icon } from "../Icon/index.f6e8d810.js";
18
18
  import { b as getVariantColor } from "../../utils/index.e882b264.js";
19
- import { W as WindowBase } from "./WindowBase.a8f6757c.js";
20
- import "../areas/components/index.08eac399.js";
21
- import "../areas/components/AreasAdmin/index.8dd6bdc9.js";
19
+ import { W as WindowBase } from "./WindowBase.52e21822.js";
20
+ import "../areas/components/index.9f1b8516.js";
21
+ import "../areas/components/AreasAdmin/index.5f46d742.js";
22
22
  import "../mui_extended/IconButton/index.1318a283.js";
23
23
  import "zustand";
24
- import "../areas/contexts/AreasContext/index.76307499.js";
24
+ import "../areas/contexts/AreasContext/index.82659d93.js";
25
25
  import "zustand/shallow";
26
- import "../areas/components/AreasContainer/index.109591c0.js";
26
+ import "../areas/components/AreasContainer/index.c99b3cca.js";
27
27
  import "react-grid-layout/css/styles.css";
28
28
  import "../../react-resizable.bb58c8fc.js";
29
- import "../areas/contexts/index.28b9cd33.js";
29
+ import "../areas/contexts/index.1edc1f88.js";
30
30
  import "../areas/contexts/DynamicMFParmsContext/index.c19cb8cc.js";
31
31
  import "@mui/lab";
32
32
  const WrapperMessageIlustration = styled("div")(() => ({
@@ -1,29 +1,29 @@
1
1
  import "@mui/material";
2
2
  import "../../react-draggable.0eef011c.js";
3
3
  import "react";
4
- import "../../contexts/ModalContext/index.4b0094e1.js";
5
- import "../ModalDialog/index.82339e99.js";
4
+ import "../../contexts/ModalContext/index.a6faf940.js";
5
+ import "../ModalDialog/index.58a21edf.js";
6
6
  import "../Resizeable/index.8a442a8b.js";
7
7
  import "react/jsx-runtime";
8
8
  import "@m4l/graphics";
9
9
  import "@m4l/core";
10
- import "../CommonActions/components/Actions/index.9ed13e2f.js";
10
+ import "../CommonActions/components/Actions/index.4e56715e.js";
11
11
  import "@mui/material/Button";
12
12
  import "../mui_extended/Button/index.8406ed5b.js";
13
13
  import "react-hook-form";
14
- import "./WindowBase.a8f6757c.js";
14
+ import "./WindowBase.52e21822.js";
15
15
  import "../Icon/index.f6e8d810.js";
16
16
  import "@mui/material/styles";
17
- import "../areas/components/index.08eac399.js";
18
- import "../areas/components/AreasAdmin/index.8dd6bdc9.js";
17
+ import "../areas/components/index.9f1b8516.js";
18
+ import "../areas/components/AreasAdmin/index.5f46d742.js";
19
19
  import "../mui_extended/IconButton/index.1318a283.js";
20
20
  import "zustand";
21
- import "../areas/contexts/AreasContext/index.76307499.js";
21
+ import "../areas/contexts/AreasContext/index.82659d93.js";
22
22
  import "zustand/shallow";
23
- import "../areas/components/AreasContainer/index.109591c0.js";
23
+ import "../areas/components/AreasContainer/index.c99b3cca.js";
24
24
  import "react-grid-layout/css/styles.css";
25
25
  import "../../react-resizable.bb58c8fc.js";
26
- import "../areas/contexts/index.28b9cd33.js";
26
+ import "../areas/contexts/index.1edc1f88.js";
27
27
  import "../areas/contexts/DynamicMFParmsContext/index.c19cb8cc.js";
28
28
  import "@mui/lab";
29
- import "./WindowConfirm.f214a961.js";
29
+ import "./WindowConfirm.2fc8ed8f.js";
@@ -190,7 +190,17 @@ function Pager(props) {
190
190
  function getPagerComponentsDictionary() {
191
191
  return ["pager"];
192
192
  }
193
+ const defaultPagerDictionary = {
194
+ pager: {
195
+ first: "First",
196
+ previous: "Previous",
197
+ before: "Before",
198
+ last: "Last",
199
+ of: "of"
200
+ }
201
+ };
193
202
  export {
194
203
  Pager as P,
204
+ defaultPagerDictionary as d,
195
205
  getPagerComponentsDictionary as g
196
206
  };
@@ -14,6 +14,6 @@ import "../Image/index.aa24e982.js";
14
14
  import "@mui/lab";
15
15
  import "./Popover/index.58c49cc0.js";
16
16
  import "./MenuActions/index.1261168c.js";
17
- import "./Pager/index.984aac44.js";
17
+ import "./Pager/index.80ccec47.js";
18
18
  import "./Tab/index.e0653a0a.js";
19
19
  import "./Typography/index.be3a279a.js";
@@ -1,5 +1,5 @@
1
1
  import { createContext, useState } from "react";
2
- import { M as ModalDialog } from "../../components/ModalDialog/index.82339e99.js";
2
+ import { M as ModalDialog } from "../../components/ModalDialog/index.58a21edf.js";
3
3
  import { jsxs, jsx } from "react/jsx-runtime";
4
4
  const ModalContext = createContext(null);
5
5
  function ModalProvider({
@@ -1,5 +1,5 @@
1
1
  import { useContext } from "react";
2
- import { M as ModalContext } from "../../contexts/ModalContext/index.4b0094e1.js";
2
+ import { M as ModalContext } from "../../contexts/ModalContext/index.a6faf940.js";
3
3
  function useModal() {
4
4
  const context = useContext(ModalContext);
5
5
  if (!context)
package/index.js CHANGED
@@ -7,7 +7,7 @@ import "react-router-dom";
7
7
  import { L } from "./components/animate/LoadingScreen/index.1d0c4307.js";
8
8
  import { P } from "./components/animate/PropagateLoader/index.be5b02c3.js";
9
9
  import { a as a2, D, M } from "./components/areas/contexts/DynamicMFParmsContext/index.c19cb8cc.js";
10
- import { M as M2, a as a3 } from "./contexts/ModalContext/index.4b0094e1.js";
10
+ import { M as M2, a as a3 } from "./contexts/ModalContext/index.a6faf940.js";
11
11
  import { useState } from "react";
12
12
  import "react-hook-form";
13
13
  import "@hookform/resolvers/yup";
@@ -16,7 +16,7 @@ import "@m4l/core";
16
16
  import { R as R2, g } from "./components/hook-form/RHFAutocomplete/index.74add0d0.js";
17
17
  import { I as I2 } from "./components/Image/index.aa24e982.js";
18
18
  import "lodash/debounce";
19
- import { R as R3 } from "./components/hook-form/RHFCheckbox/index.ca94a050.js";
19
+ import { R as R3 } from "./components/hook-form/RHFCheckbox/index.ebfe1e3c.js";
20
20
  import { I as I3 } from "./components/mui_extended/IconButton/index.1318a283.js";
21
21
  import { A } from "./components/mui_extended/Accordion/index.1d513477.js";
22
22
  import { A as A2 } from "./components/mui_extended/Avatar/index.fe06afd7.js";
@@ -25,46 +25,46 @@ import { B, I as I4, L as L2, i } from "./components/mui_extended/Button/index.8
25
25
  import "@mui/lab";
26
26
  import { P as P2 } from "./components/mui_extended/Popover/index.58c49cc0.js";
27
27
  import { M as M3 } from "./components/mui_extended/MenuActions/index.1261168c.js";
28
- import { P as P3, g as g2 } from "./components/mui_extended/Pager/index.984aac44.js";
28
+ import { P as P3, g as g2 } from "./components/mui_extended/Pager/index.80ccec47.js";
29
29
  import { T } from "./components/mui_extended/Tab/index.e0653a0a.js";
30
30
  import { T as T2, t } from "./components/mui_extended/Typography/index.be3a279a.js";
31
- import { E, e } from "./components/ErrorLabel/index.78553a1e.js";
31
+ import { E, e } from "./components/ErrorLabel/index.73f9362c.js";
32
32
  import "@mui/x-date-pickers";
33
33
  import { R as R4 } from "./components/hook-form/RHFDateTime/index.7f1cbd85.js";
34
34
  import "@m4l/graphics";
35
35
  import { R as R5, a as a4 } from "./components/hook-form/RHFTextField/index.57f138f7.js";
36
- import { R as R6 } from "./components/hook-form/RHFPeriod/index.2544874d.js";
37
- import { P as P4, g as g3 } from "./components/Period/index.13633c02.js";
38
- import { A as A3, d, g as g4 } from "./components/CommonActions/components/Actions/index.9ed13e2f.js";
36
+ import { R as R6 } from "./components/hook-form/RHFPeriod/index.3470638a.js";
37
+ import { P as P4, g as g3 } from "./components/Period/index.2841388b.js";
38
+ import { A as A3, d, g as g4 } from "./components/CommonActions/components/Actions/index.4e56715e.js";
39
39
  import { c as cjs } from "./react-draggable.0eef011c.js";
40
- import { M as M4, d as d2, g as g5 } from "./components/ModalDialog/index.82339e99.js";
40
+ import { M as M4, d as d2, g as g5 } from "./components/ModalDialog/index.58a21edf.js";
41
41
  import { R as R7 } from "./components/Resizeable/index.8a442a8b.js";
42
- import { W } from "./components/modal/WindowConfirm.f214a961.js";
43
- import { W as W2 } from "./components/modal/WindowBase.a8f6757c.js";
44
- import { A as A4 } from "./components/areas/components/index.08eac399.js";
45
- import { A as A5 } from "./components/areas/components/AreasAdmin/index.8dd6bdc9.js";
42
+ import { W } from "./components/modal/WindowConfirm.2fc8ed8f.js";
43
+ import { W as W2 } from "./components/modal/WindowBase.52e21822.js";
44
+ import { A as A4 } from "./components/areas/components/index.9f1b8516.js";
45
+ import { A as A5 } from "./components/areas/components/AreasAdmin/index.5f46d742.js";
46
46
  import "zustand";
47
- import { A as A6, a as a5 } from "./components/areas/contexts/AreasContext/index.76307499.js";
47
+ import { A as A6, a as a5 } from "./components/areas/contexts/AreasContext/index.82659d93.js";
48
48
  import "zustand/shallow";
49
- import { A as A7 } from "./components/areas/components/AreasContainer/index.109591c0.js";
49
+ import { A as A7 } from "./components/areas/components/AreasContainer/index.c99b3cca.js";
50
50
  import "react-grid-layout/css/styles.css";
51
51
  import "./react-resizable.bb58c8fc.js";
52
- import { c, W as W3 } from "./components/areas/contexts/index.28b9cd33.js";
52
+ import { c, W as W3 } from "./components/areas/contexts/index.1edc1f88.js";
53
53
  import "lodash/isString";
54
54
  import "react-dropzone";
55
55
  import { R as R8 } from "./components/hook-form/RHFUpload/index.7fdff30f.js";
56
- import { D as D2, N, T as T3, c as c2, d as d3, b, a as a6, g as g6 } from "./components/DataGrid/index.813a743b.js";
56
+ import { D as D2, N, T as T3, c as c2, d as d3, b, a as a6, g as g6 } from "./components/DataGrid/index.4baf5552.js";
57
57
  import "react-dnd";
58
58
  import "react-dnd-html5-backend";
59
59
  import { S } from "./components/ScrollBar/index.39eeb2de.js";
60
- import { D as D3, a as a7, d as d4, g as g7 } from "./components/DynamicFilter/index.03cdba29.js";
60
+ import { D as D3, a as a7, d as d4, g as g7 } from "./components/DynamicFilter/index.b4fc6428.js";
61
61
  import "clsx";
62
62
  import "simplebar/dist/simplebar.min.css";
63
63
  import "yup";
64
64
  import { unstable_composeClasses } from "@mui/base";
65
- import { L as L3 } from "./components/LanguagePopover/index.5047b444.js";
65
+ import { L as L3 } from "./components/LanguagePopover/index.26b694ef.js";
66
66
  import { N as N2, d as d5, g as g8 } from "./components/NoItemSelected/index.9636ec8a.js";
67
- import { O, d as d6, g as g9 } from "./components/ObjectLogs/index.77b127ee.js";
67
+ import { O, d as d6, g as g9 } from "./components/ObjectLogs/index.9e362091.js";
68
68
  import "./react-json-view.57125fcf.js";
69
69
  import { P as P5 } from "./components/PaperForm/index.0114aa9b.js";
70
70
  import { H } from "./components/Page/index.4237c241.js";
@@ -78,7 +78,7 @@ import { v as v4, a as a8, b as b2 } from "./components/animate/variants/transit
78
78
  import { M as M5 } from "./components/animate/MotionContainer/index.8d9f9d80.js";
79
79
  import { M as M6 } from "./components/animate/MotionLazyContainer/index.572dd012.js";
80
80
  import { u } from "./components/areas/hooks/useDynamicMFParameters/index.041a666b.js";
81
- import { u as u2 } from "./components/areas/hooks/index.a8a6ec7e.js";
81
+ import { u as u2 } from "./components/areas/hooks/index.3326476e.js";
82
82
  import { R as R9, g as g10 } from "./components/hook-form/RHFAutocompleteAsync/index.0aa3c224.js";
83
83
  import { R as R10 } from "./components/hook-form/RHFMultiCheckbox/index.2680b3b6.js";
84
84
  import { R as R11 } from "./components/hook-form/RHFSelect/index.b6ca8bb2.js";
@@ -89,23 +89,23 @@ import { C } from "./components/mui_extended/CircularProgress/index.ad569afd.js"
89
89
  import { L as L4 } from "./components/mui_extended/LinearProgress/index.c92b9ba9.js";
90
90
  import { L as L5 } from "./components/mui_extended/LinkWithRoute/index.16436ab8.js";
91
91
  import { B as B4 } from "./components/formatters/BooleanFormatter/index.b3fb8a75.js";
92
- import { D as D4 } from "./components/formatters/DateFormatter/index.80522f69.js";
93
- import { U, g as g11 } from "./components/formatters/UncertaintyFormatter/index.08e1b79f.js";
94
- import { P as P7, g as g12 } from "./components/formatters/PointsFormatter/index.80a4e414.js";
95
- import { C as C2, f, e as e2, c as c3, b as b3, a as a9, L as L6, P as P8, d as d7, g as g13 } from "./components/formatters/index.0368bab3.js";
96
- import { P as P9, g as g14 } from "./components/formatters/PriceFormatter/index.83cbe7be.js";
92
+ import { D as D4, g as g11 } from "./components/formatters/DateFormatter/index.578a9f53.js";
93
+ import { U, g as g12 } from "./components/formatters/UncertaintyFormatter/index.08e1b79f.js";
94
+ import { P as P7, g as g13 } from "./components/formatters/PointsFormatter/index.80a4e414.js";
95
+ import { C as C2, i as i2, h, f, e as e2, c as c3, L as L6, P as P8, d as d7, g as g14, a as a9, b as b3 } from "./components/formatters/index.90a19f9f.js";
96
+ import { P as P9, g as g15 } from "./components/formatters/PriceFormatter/index.83cbe7be.js";
97
97
  import { c as c4 } from "./components/DataGrid/formatters/columnUncertaintyFormatter/index.cae2057a.js";
98
98
  import { c as c5 } from "./components/DataGrid/formatters/columnPointsFormatter/index.5e645334.js";
99
99
  import { c as c6 } from "./components/DataGrid/formatters/columnNestedValueFormatter/index.f68ef4e1.js";
100
100
  import { c as c7 } from "./components/DataGrid/formatters/columnPriceFormatter/index.e612fda3.js";
101
101
  import { A as A8 } from "./components/CommonActions/components/ActionCancel/index.a81752ef.js";
102
102
  import { A as A9 } from "./components/CommonActions/components/ActionIntro/index.d567aebb.js";
103
- import { A as A10 } from "./components/CommonActions/components/ActionFormCancel/index.b57b4b76.js";
103
+ import { A as A10 } from "./components/CommonActions/components/ActionFormCancel/index.d6875fe6.js";
104
104
  import { A as A11 } from "./components/CommonActions/components/ActionFormIntro/index.ca4d2674.js";
105
105
  import { L as L7 } from "./components/Loadable/index.117eaced.js";
106
106
  import { S as S3 } from "./components/ScrollToTop/index.e06f98f6.js";
107
107
  import { u as u3 } from "./hooks/useFormAddEdit/index.15de3ba8.js";
108
- import { u as u4 } from "./hooks/useModal/index.df40bf77.js";
108
+ import { u as u4 } from "./hooks/useModal/index.54a1887f.js";
109
109
  import { L as L8 } from "./assets/Logo/index.228dcb5a.js";
110
110
  import "./utils/index.e882b264.js";
111
111
  import "./node_modules.416f1da3.js";
@@ -113,14 +113,14 @@ import "zustand/middleware";
113
113
  import "zustand/middleware/immer";
114
114
  import "prop-types";
115
115
  import "react-dom";
116
- import "./components/areas/contexts/AreaContext/index.597d370d.js";
117
- import "./components/areas/components/Window/index.f6f0de4e.js";
118
- import "./components/areas/hooks/useArea/index.4fe91ee7.js";
119
- import "./components/areas/components/GridLayout/index.b3937981.js";
116
+ import "./components/areas/contexts/AreaContext/index.2f35327c.js";
117
+ import "./components/areas/components/Window/index.d3ccc192.js";
118
+ import "./components/areas/hooks/useArea/index.061d19d5.js";
119
+ import "./components/areas/components/GridLayout/index.7cca9a94.js";
120
120
  import "react-grid-layout";
121
- import "./components/areas/components/WindowPopUp/index.fdb94c9e.js";
121
+ import "./components/areas/components/WindowPopUp/index.7183a2e5.js";
122
122
  import "./index.js";
123
- import "./components/areas/index.ee441298.js";
123
+ import "./components/areas/index.ae311948.js";
124
124
  import "lodash.clonedeep";
125
125
  import "./react-data-grid.d46d625e.js";
126
126
  import "simplebar-react";
@@ -224,11 +224,11 @@ export {
224
224
  a as IconButtonAnimate,
225
225
  I2 as Image,
226
226
  I4 as ImageButton,
227
- f as LABEL_DAY,
228
- e2 as LABEL_DAYS,
229
- c3 as LABEL_MONTH,
230
- b3 as LABEL_MONTHS,
231
- a9 as LABEL_YEAR,
227
+ i2 as LABEL_DAY,
228
+ h as LABEL_DAYS,
229
+ f as LABEL_MONTH,
230
+ e2 as LABEL_MONTHS,
231
+ c3 as LABEL_YEAR,
232
232
  L6 as LABEL_YEARS,
233
233
  L3 as LanguagePopover,
234
234
  L4 as LinearProgress,
@@ -297,9 +297,12 @@ export {
297
297
  g4 as getCommonActionsDictionary,
298
298
  a6 as getDataGridRowsFromSet,
299
299
  g7 as getDynamicFilterComponentsDictionary,
300
- g12 as getFormatPoints,
301
- g14 as getFormatPrice,
302
- g13 as getFormattersComponentsDictionary,
300
+ g14 as getFormatConcatenated,
301
+ g11 as getFormatDate,
302
+ a9 as getFormatPeriod,
303
+ g13 as getFormatPoints,
304
+ g15 as getFormatPrice,
305
+ b3 as getFormattersComponentsDictionary,
303
306
  g6 as getGridComponentsDictionary,
304
307
  g5 as getModalDialogComponentsDictionary,
305
308
  g8 as getNoItemSelectedComponentsDictionary,
@@ -308,7 +311,7 @@ export {
308
311
  g3 as getPeriodComponetsDictionary,
309
312
  g10 as getRHFAutocompleteAsyncComponentsDictionary,
310
313
  g as getRHFAutocompleteComponentsDictionary,
311
- g11 as getUncertaintyFormat,
314
+ g12 as getUncertaintyFormat,
312
315
  i as imageButtonClasses,
313
316
  t as typographyClasses,
314
317
  u as useDynamicMFParametersStore,