@m4l/components 0.1.98 → 0.2.0

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 (60) hide show
  1. package/components/AccountPopover/{index.252cc907.js → index.e46bc062.js} +1 -1
  2. package/components/AppBar/{index.f1a995c7.js → index.a5905d67.js} +2 -2
  3. package/components/CommonActions/components/ActionCancel/{index.918fe98b.js → index.216f9fe7.js} +1 -1
  4. package/components/CommonActions/components/ActionFormCancel/{index.8b12f4b2.js → index.db05877b.js} +2 -2
  5. package/components/CommonActions/components/ActionFormIntro/{index.c2e8b360.js → index.464f38f1.js} +1 -1
  6. package/components/CommonActions/components/ActionIntro/{index.ee716861.js → index.0ffdd593.js} +1 -1
  7. package/components/DataGrid/{index.f0b0a02a.js → index.5fa325e6.js} +7 -7
  8. package/components/DataGrid/subcomponents/Actions/{index.b9ec13b6.js → index.aa37730a.js} +7 -7
  9. package/components/DynamicFilter/{index.82706b14.js → index.17f329cf.js} +9 -9
  10. package/components/Icon/{index.4e424a81.js → index.3c683ca2.js} +1 -1
  11. package/components/Image/{index.8b134b95.js → index.0f2d452d.js} +4 -4
  12. package/components/LanguagePopover/{index.c5eb0191.js → index.5848a2e4.js} +2 -2
  13. package/components/LoadingError/{index.536db030.js → index.9bbd1c8b.js} +2 -2
  14. package/components/MFLoader/{index.3ba9d320.js → index.d8f0ac90.js} +1 -1
  15. package/components/NoItemSelected/{index.216d87c8.js → index.89b39154.js} +1 -1
  16. package/components/ObjectLogs/{index.b0e5cdd9.js → index.1d4a4525.js} +4 -4
  17. package/components/PDFViewer/{index.a1b199d5.js → index.a5aa165a.js} +1 -1
  18. package/components/Page/{index.c100afa4.js → index.9ea214e4.js} +1 -1
  19. package/components/PaperForm/{index.b7918854.js → index.4f26bcc8.js} +1 -1
  20. package/components/Period/{index.5f3af84b.js → index.bced09b5.js} +1 -1
  21. package/components/PrintingSystem/{index.2147b2c3.js → index.479a6ab2.js} +13 -42
  22. package/components/PrintingSystem/subcomponents/BodyNode/{index.7bed0f05.js → index.190343cb.js} +1 -1
  23. package/components/PrintingSystem/subcomponents/ChartNode/{index.c552eb03.js → index.0f5ac0b4.js} +4 -4
  24. package/components/PrintingSystem/subcomponents/DividerNode/{index.007d01ab.js → index.341565d7.js} +1 -1
  25. package/components/PrintingSystem/subcomponents/FooterNode/{index.72ef9241.js → index.3b3b7f76.js} +1 -1
  26. package/components/PrintingSystem/subcomponents/GridNode/{index.2fac7376.js → index.1de3dfb0.js} +4 -4
  27. package/components/PrintingSystem/subcomponents/HeaderNode/{index.01ae9ede.js → index.171e3487.js} +1 -1
  28. package/components/PrintingSystem/subcomponents/PaperNode/{index.cfd86519.js → index.ac033f38.js} +4 -4
  29. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.c4fa3813.js → index.0d994547.js} +1 -1
  30. package/components/PrintingSystem/subcomponents/SectionNode/{index.13e656ad.js → index.a63aec5a.js} +1 -1
  31. package/components/PrintingSystem/subcomponents/TextBoxNode/{index.0c3db261.js → index.2046fa9f.js} +3 -3
  32. package/components/PropertyValue/{index.68df9d83.js → index.6cf82fc6.js} +2 -2
  33. package/components/SideBar/{index.ed0211ba.js → index.5d122e04.js} +3 -3
  34. package/components/ToastContainer/{index.2141b7ab.js → index.664b5fc1.js} +2 -2
  35. package/components/areas/components/AreasAdmin/{index.b34c5738.js → index.771d076d.js} +8 -8
  36. package/components/areas/components/AreasViewer/{index.465bc2e6.js → index.86ac5ce8.js} +8 -8
  37. package/components/areas/contexts/AreasContext/{index.1d57a068.js → index.166bbc69.js} +2 -2
  38. package/components/areas/hooks/useAreas/{index.38fd0c5b.js → index.93e1edb5.js} +1 -1
  39. package/components/formatters/BooleanFormatter/{index.35005602.js → index.a9685a81.js} +2 -2
  40. package/components/formatters/{index.e8bd78a5.js → index.024babbc.js} +1 -1
  41. package/components/hook-form/RHFAutocomplete/{index.b01b97e3.js → index.84a8c45e.js} +2 -2
  42. package/components/hook-form/RHFAutocompleteAsync/{index.8241ce18.js → index.f9c2fc85.js} +1 -1
  43. package/components/hook-form/RHFDateTime/{index.e8ea2555.js → index.fe57bb23.js} +1 -1
  44. package/components/hook-form/RHFPeriod/{index.584f515c.js → index.da670c5b.js} +1 -1
  45. package/components/hook-form/RHFTextField/{index.87c99323.js → index.8fb6656b.js} +1 -1
  46. package/components/hook-form/RHFUpload/{index.f2983d70.js → index.c81dab7e.js} +2 -2
  47. package/components/modal/{WindowBase.b1f12376.js → WindowBase.e9e39384.js} +2 -2
  48. package/components/modal/{WindowConfirm.481ef7a0.js → WindowConfirm.3aa32f2e.js} +4 -4
  49. package/components/mui_extended/Accordion/{index.7a77f5b4.js → index.81054118.js} +3 -3
  50. package/components/mui_extended/Button/{index.158a9a65.js → index.e6f08a67.js} +1 -1
  51. package/components/mui_extended/IconButton/{index.3c568901.js → index.1b14d57b.js} +1 -1
  52. package/components/mui_extended/MenuActions/{index.4817512a.js → index.b6b0eb40.js} +2 -2
  53. package/components/mui_extended/Pager/{index.ba2163c2.js → index.a7a43e61.js} +1 -1
  54. package/components/mui_extended/Tab/{index.d8cf48a2.js → index.3fb21cff.js} +1 -1
  55. package/hooks/useFormAddEdit/{index.6929cc88.js → index.67083c9e.js} +1 -1
  56. package/index.js +57 -57
  57. package/{node_modules.a40403af.js → node_modules.0500a400.js} +1 -1
  58. package/package.json +2 -3
  59. package/{vendor.dfd22660.js → vendor.7a173698.js} +44 -44
  60. package/components/PrintingSystem/utils/getEvalValue/index.d.ts +0 -1
@@ -7,7 +7,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import { A as Avatar } from "../mui_extended/Avatar/index.75e6ed57.js";
8
8
  import { C as CircularProgress } from "../mui_extended/CircularProgress/index.ad569afd.js";
9
9
  import { P as Popover } from "../mui_extended/Popover/index.b3eca6b1.js";
10
- import { I as Icon } from "../Icon/index.4e424a81.js";
10
+ import { I as Icon } from "../Icon/index.3c683ca2.js";
11
11
  import clsx from "clsx";
12
12
  const componentName = "M4LAccountPopover";
13
13
  generateUtilityClasses(componentName, [
@@ -5,9 +5,9 @@ import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
5
5
  import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
6
6
  import { unstable_composeClasses } from "@mui/base";
7
7
  import { jsxs, jsx } from "react/jsx-runtime";
8
- import { I as Image } from "../Image/index.8b134b95.js";
8
+ import { I as Image } from "../Image/index.0f2d452d.js";
9
9
  import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
10
- import { I as IconButton } from "../mui_extended/IconButton/index.3c568901.js";
10
+ import { I as IconButton } from "../mui_extended/IconButton/index.1b14d57b.js";
11
11
  const AppBarRoot = styled("header")(({
12
12
  theme
13
13
  }) => ({
@@ -1,5 +1,5 @@
1
1
  import { useModuleDictionary } from "@m4l/core";
2
- import { B as Button } from "../../../mui_extended/Button/index.158a9a65.js";
2
+ import { B as Button } from "../../../mui_extended/Button/index.e6f08a67.js";
3
3
  import { u as useCommonActionsUtilityClasses } from "../Actions/index.2f6286eb.js";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  const ActionCancel = (props) => {
@@ -1,12 +1,12 @@
1
1
  import { useFormContext, useFormState } from "react-hook-form";
2
2
  import { useModuleDictionary } from "@m4l/core";
3
- import { B as Button } from "../../../mui_extended/Button/index.158a9a65.js";
3
+ import { B as Button } from "../../../mui_extended/Button/index.e6f08a67.js";
4
4
  import { useCallback, useEffect } from "react";
5
5
  import { u as useModal } from "../../../../hooks/useModal/index.abdc0962.js";
6
6
  import { u as useCommonActionsUtilityClasses } from "../Actions/index.2f6286eb.js";
7
7
  import { jsx } from "react/jsx-runtime";
8
8
  import { u as useWindowToolsMF } from "../../../areas/hooks/useWindowToolsMF/index.b7afaf88.js";
9
- import { W as WindowConfirm } from "../../../modal/WindowConfirm.481ef7a0.js";
9
+ import { W as WindowConfirm } from "../../../modal/WindowConfirm.3aa32f2e.js";
10
10
  function ActionFormCancel() {
11
11
  const {
12
12
  getLabel
@@ -1,7 +1,7 @@
1
1
  import { useFormContext, useFormState } from "react-hook-form";
2
2
  import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
3
3
  import { Skeleton } from "@mui/material";
4
- import { L as LoadingButton } from "../../../mui_extended/Button/index.158a9a65.js";
4
+ import { L as LoadingButton } from "../../../mui_extended/Button/index.e6f08a67.js";
5
5
  import { u as useCommonActionsUtilityClasses } from "../Actions/index.2f6286eb.js";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  function ActionFormIntro(props) {
@@ -1,5 +1,5 @@
1
1
  import { useModuleDictionary } from "@m4l/core";
2
- import { B as Button } from "../../../mui_extended/Button/index.158a9a65.js";
2
+ import { B as Button } from "../../../mui_extended/Button/index.e6f08a67.js";
3
3
  import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
4
4
  import { u as useCommonActionsUtilityClasses } from "../Actions/index.2f6286eb.js";
5
5
  import { jsx } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  import { g as getModalDialogComponentsDictionary } from "../ModalDialog/index.89e26413.js";
2
- import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.ba2163c2.js";
2
+ import { g as getPagerComponentsDictionary } from "../mui_extended/Pager/index.a7a43e61.js";
3
3
  import { styled } from "@mui/material/styles";
4
4
  import { forwardRef, createContext, useState, useMemo, useEffect, useCallback, useContext, useRef, useLayoutEffect } from "react";
5
5
  import { S as SELECT_COLUMN_KEY, u as useRowSelection, a as SelectCellFormatter, H as HeaderRenderer, D as DataGrid$1 } from "../../react-data-grid.d46d625e.js";
@@ -8,13 +8,13 @@ import { HTML5Backend } from "react-dnd-html5-backend";
8
8
  import { SvgIcon, Checkbox, InputBase, Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
9
9
  import { jsx, jsxs } from "react/jsx-runtime";
10
10
  import { voidFunction, useModuleDictionary, useModuleSkeleton, getPropertyByString } from "@m4l/core";
11
- import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.b9ec13b6.js";
11
+ import { A as ActionsColumn, a as Actions } from "./subcomponents/Actions/index.aa37730a.js";
12
12
  import { unstable_composeClasses } from "@mui/base";
13
13
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
14
- import { g as getNameDataTestId } from "../../vendor.dfd22660.js";
15
- import { B as BooleanFormatter } from "../formatters/BooleanFormatter/index.35005602.js";
14
+ import { g as getNameDataTestId } from "../../vendor.7a173698.js";
15
+ import { B as BooleanFormatter } from "../formatters/BooleanFormatter/index.a9685a81.js";
16
16
  import { D as DateFormatter } from "../formatters/DateFormatter/index.578a9f53.js";
17
- import { C as ConcatenatedFormatter } from "../formatters/index.e8bd78a5.js";
17
+ import { C as ConcatenatedFormatter } from "../formatters/index.024babbc.js";
18
18
  const DataGridRoot = styled("div")(({
19
19
  theme
20
20
  }) => ({
@@ -162,8 +162,8 @@ function DataGridProvider(props) {
162
162
  rows,
163
163
  rowsCount,
164
164
  rowActionsGetter,
165
- rowHeights = [36, 52, 67],
166
- rowHeaderHeights = [44, 63, 75],
165
+ rowHeights = [28, 32, 36],
166
+ rowHeaderHeights = [28, 32, 36],
167
167
  initialRowHeightVariant = "compact",
168
168
  checkedRows,
169
169
  onCheckedRowsChange,
@@ -1,18 +1,18 @@
1
- import { M as MenuActions } from "../../../mui_extended/MenuActions/index.4817512a.js";
2
- import { u as useDataGrid, a as useFilters, d as dataGridClasses, D as DataGridRoot, b as dictionary } from "../../index.f0b0a02a.js";
1
+ import { M as MenuActions } from "../../../mui_extended/MenuActions/index.b6b0eb40.js";
2
+ import { u as useDataGrid, a as useFilters, d as dataGridClasses, D as DataGridRoot, b as dictionary } from "../../index.5fa325e6.js";
3
3
  import { useTheme, Checkbox, Skeleton } from "@mui/material";
4
4
  import { jsx, Fragment, jsxs } from "react/jsx-runtime";
5
- import { P as Pager } from "../../../mui_extended/Pager/index.ba2163c2.js";
6
- import { I as IconButton } from "../../../mui_extended/IconButton/index.3c568901.js";
5
+ import { P as Pager } from "../../../mui_extended/Pager/index.a7a43e61.js";
6
+ import { I as IconButton } from "../../../mui_extended/IconButton/index.1b14d57b.js";
7
7
  import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
8
8
  import { forwardRef, useRef, useState, useImperativeHandle, useMemo, useEffect, useCallback } from "react";
9
9
  import { D as DataGrid$1 } from "../../../../react-data-grid.d46d625e.js";
10
10
  import { styled } from "@mui/material/styles";
11
11
  import { u as useModal } from "../../../../hooks/useModal/index.abdc0962.js";
12
- import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.918fe98b.js";
13
- import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.ee716861.js";
12
+ import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.216f9fe7.js";
13
+ import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.0ffdd593.js";
14
14
  import { useResponsiveDesktop } from "@m4l/graphics";
15
- import { W as WindowBase } from "../../../modal/WindowBase.b1f12376.js";
15
+ import { W as WindowBase } from "../../../modal/WindowBase.e9e39384.js";
16
16
  import { A as Actions$1 } from "../../../CommonActions/components/Actions/index.2f6286eb.js";
17
17
  const ACTIONS_COLUMN_KEY = "actions-row";
18
18
  function ActionsFormatter(props) {
@@ -8,25 +8,25 @@ import { devtools } from "zustand/middleware";
8
8
  import { immer } from "zustand/middleware/immer";
9
9
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
10
10
  import { g as getCommonActionsDictionary, A as Actions } from "../CommonActions/components/Actions/index.2f6286eb.js";
11
- import { g as getRHFAutocompleteComponentsDictionary, R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.b01b97e3.js";
12
- import { g as getNameDataTestId } from "../../vendor.dfd22660.js";
11
+ import { g as getRHFAutocompleteComponentsDictionary, R as RHFAutocomplete } from "../hook-form/RHFAutocomplete/index.84a8c45e.js";
12
+ import { g as getNameDataTestId } from "../../vendor.7a173698.js";
13
13
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
14
14
  import { useFormContext, useWatch } from "react-hook-form";
15
15
  import { shallow } from "zustand/shallow";
16
- import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.e8ea2555.js";
17
- import { R as RHFTextField } from "../hook-form/RHFTextField/index.87c99323.js";
16
+ import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.fe57bb23.js";
17
+ import { R as RHFTextField } from "../hook-form/RHFTextField/index.8fb6656b.js";
18
18
  import * as Yup from "yup";
19
19
  import { useResponsiveDesktop, useFirstRender, useFormatter } from "@m4l/graphics";
20
20
  import { styled, useTheme } from "@mui/material/styles";
21
21
  import { S as ScrollBar } from "../ScrollBar/index.65bb2930.js";
22
22
  import clsx from "clsx";
23
- import { I as IconButton } from "../mui_extended/IconButton/index.3c568901.js";
24
- import { L as LabelMemuItem } from "../mui_extended/MenuActions/index.4817512a.js";
23
+ import { I as IconButton } from "../mui_extended/IconButton/index.1b14d57b.js";
24
+ import { L as LabelMemuItem } from "../mui_extended/MenuActions/index.b6b0eb40.js";
25
25
  import { P as Popover } from "../mui_extended/Popover/index.b3eca6b1.js";
26
- import { I as Icon } from "../Icon/index.4e424a81.js";
26
+ import { I as Icon } from "../Icon/index.3c683ca2.js";
27
27
  import { R as RHFormProvider } from "../../contexts/RHFormContext/index.1755b324.js";
28
- import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.918fe98b.js";
29
- import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.ee716861.js";
28
+ import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.216f9fe7.js";
29
+ import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.0ffdd593.js";
30
30
  import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
31
31
  const COMPONENT_PREFIX = "M4LDynamicFilter";
32
32
  const COMPONENT_CLASS_NAME = "M4LDynamicFilter";
@@ -1,7 +1,7 @@
1
1
  import React__default, { useState, useEffect } from "react";
2
2
  import { useEnvironment } from "@m4l/core";
3
3
  import { styled, generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
4
- import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.ed0211ba.js";
4
+ import { u as useSideBar, g as getNameDataTestId$1 } from "../SideBar/index.5d122e04.js";
5
5
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  import { unstable_composeClasses } from "@mui/base";
@@ -1,12 +1,12 @@
1
- import { useBase, useModuleSkeleton, BaseProvider, useEnvironment } from "@m4l/core";
1
+ import { useBase, useModuleSkeleton, BaseProvider, useEnvironment, evaluateWithContext } from "@m4l/core";
2
2
  import { forwardRef, useState, useRef, useImperativeHandle, useEffect, useMemo } from "react";
3
3
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
4
4
  import { jsx, Fragment, jsxs } from "react/jsx-runtime";
5
5
  import { styled, Skeleton as Skeleton$1, generateUtilityClasses, generateUtilityClass } from "@mui/material";
6
6
  import { unstable_composeClasses } from "@mui/base";
7
7
  import clsx from "clsx";
8
- import { g as getEvalValue, c as classes, a as getSize } from "../PrintingSystem/index.2147b2c3.js";
9
- import { Q as QRCode } from "../../node_modules.a40403af.js";
8
+ import { c as classes, g as getSize } from "../PrintingSystem/index.479a6ab2.js";
9
+ import { Q as QRCode } from "../../node_modules.0500a400.js";
10
10
  function isIntersectionObserverAvailable() {
11
11
  return typeof window !== "undefined" && "IntersectionObserver" in window && "IntersectionObserverEntry" in window;
12
12
  }
@@ -336,7 +336,7 @@ const ImageNode = (props) => {
336
336
  host_static_assets,
337
337
  environment_assets
338
338
  } = useEnvironment();
339
- const resourceImg = getEvalValue(sourceData, src);
339
+ const resourceImg = evaluateWithContext(sourceData, src);
340
340
  return /* @__PURE__ */ jsx("img", {
341
341
  src: `${host_static_assets}/${environment_assets}/${resourceImg}`,
342
342
  className: clsx(classes.imageNodeRoot, className),
@@ -1,8 +1,8 @@
1
1
  import { useState, useEffect } from "react";
2
2
  import { styled, generateUtilityClasses, generateUtilityClass, Stack, MenuItem } from "@mui/material";
3
- import { I as Image } from "../Image/index.8b134b95.js";
3
+ import { I as Image } from "../Image/index.0f2d452d.js";
4
4
  import { useLocales } from "@m4l/graphics";
5
- import { I as ImageButton } from "../mui_extended/Button/index.158a9a65.js";
5
+ import { I as ImageButton } from "../mui_extended/Button/index.e6f08a67.js";
6
6
  import { useEnvironment, useNetwork } from "@m4l/core";
7
7
  import { unstable_composeClasses } from "@mui/base";
8
8
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
@@ -4,9 +4,9 @@ import { generateUtilityClasses, generateUtilityClass, styled } from "@mui/mater
4
4
  import { unstable_composeClasses } from "@mui/base";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import { L as LinearProgressIndeterminate } from "../LinearProgressIndeterminate/index.a0ad2d9e.js";
7
- import { I as Icon } from "../Icon/index.4e424a81.js";
7
+ import { I as Icon } from "../Icon/index.3c683ca2.js";
8
8
  import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
9
- import { B as Button } from "../mui_extended/Button/index.158a9a65.js";
9
+ import { B as Button } from "../mui_extended/Button/index.e6f08a67.js";
10
10
  const componentName = "M4LoadingError";
11
11
  generateUtilityClasses(componentName, [
12
12
  "root",
@@ -12,7 +12,7 @@ import { generateUtilityClasses, generateUtilityClass, styled } from "@mui/mater
12
12
  import { unstable_composeClasses } from "@mui/base";
13
13
  import { jsx, jsxs } from "react/jsx-runtime";
14
14
  import { L as LinearProgress } from "../mui_extended/LinearProgress/index.c92b9ba9.js";
15
- import { L as LoadingError } from "../LoadingError/index.536db030.js";
15
+ import { L as LoadingError } from "../LoadingError/index.9bbd1c8b.js";
16
16
  const componentName = "M4LMFLoader";
17
17
  const mfLoaderClasses = generateUtilityClasses(componentName, [
18
18
  "root",
@@ -1,6 +1,6 @@
1
1
  import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
2
2
  import { styled } from "@mui/material/styles";
3
- import { I as Image } from "../Image/index.8b134b95.js";
3
+ import { I as Image } from "../Image/index.0f2d452d.js";
4
4
  import { generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
5
5
  import { useMemo } from "react";
6
6
  import { unstable_composeClasses } from "@mui/base";
@@ -1,7 +1,7 @@
1
1
  import { useState, useEffect, useCallback, useMemo } from "react";
2
2
  import { useNetwork, useModuleDictionary, useEnvironment, usePaginate } from "@m4l/core";
3
3
  import { styled } from "@mui/material/styles";
4
- import { c as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.f0b0a02a.js";
4
+ import { c as DataGrid, g as getDataGridComponentsDictionary } from "../DataGrid/index.5fa325e6.js";
5
5
  import { D as DateFormatter } from "../formatters/DateFormatter/index.578a9f53.js";
6
6
  import { Tooltip, IconButton } from "@mui/material";
7
7
  import { useHostTheme, useResponsiveDesktop } from "@m4l/graphics";
@@ -9,10 +9,10 @@ import { R as ReactJson } from "../../react-json-view.5636414a.js";
9
9
  import { S as ScrollBar } from "../ScrollBar/index.65bb2930.js";
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
11
11
  import { u as useModal } from "../../hooks/useModal/index.abdc0962.js";
12
- import { I as Icon } from "../Icon/index.4e424a81.js";
12
+ import { I as Icon } from "../Icon/index.3c683ca2.js";
13
13
  import { S as Stack } from "../mui_extended/Stack/index.0e53197c.js";
14
- import { W as WindowBase } from "../modal/WindowBase.b1f12376.js";
15
- import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.82706b14.js";
14
+ import { W as WindowBase } from "../modal/WindowBase.e9e39384.js";
15
+ import { D as DynamicFilter, g as getDynamicFilterComponentsDictionary } from "../DynamicFilter/index.17f329cf.js";
16
16
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
17
17
  const Container = styled("div")(() => ({
18
18
  height: "100%",
@@ -1,7 +1,7 @@
1
1
  import { styled, generateUtilityClasses, generateUtilityClass } from "@mui/material";
2
2
  import { unstable_composeClasses } from "@mui/base";
3
3
  import { jsxs, jsx } from "react/jsx-runtime";
4
- import { B as Button } from "../mui_extended/Button/index.158a9a65.js";
4
+ import { B as Button } from "../mui_extended/Button/index.e6f08a67.js";
5
5
  const PDFVeiwerRoot = styled("div")(({ theme }) => ({
6
6
  ...theme.components?.M4LPDFViewer?.styleOverrides
7
7
  }));
@@ -1,5 +1,5 @@
1
1
  import { useBase, BaseProvider, useModuleSkeleton } from "@m4l/core";
2
- import { c as classes, a as getSize, F as FactoryRender } from "../PrintingSystem/index.2147b2c3.js";
2
+ import { c as classes, g as getSize, F as FactoryRender } from "../PrintingSystem/index.479a6ab2.js";
3
3
  import clsx from "clsx";
4
4
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
5
5
  import React__default from "react";
@@ -1,7 +1,7 @@
1
1
  import { styled } from "@mui/material/styles";
2
2
  import { useModuleSkeleton } from "@m4l/core";
3
3
  import { Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
4
- import { I as Icon } from "../Icon/index.4e424a81.js";
4
+ import { I as Icon } from "../Icon/index.3c683ca2.js";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import { unstable_composeClasses } from "@mui/base";
7
7
  const PaperFormRoot = styled("div")(({
@@ -1,7 +1,7 @@
1
1
  import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/core";
2
2
  import { styled, generateUtilityClasses, generateUtilityClass, Autocomplete, TextField, Skeleton } from "@mui/material";
3
3
  import { useMemo } from "react";
4
- import { I as Icon } from "../Icon/index.4e424a81.js";
4
+ import { I as Icon } from "../Icon/index.3c683ca2.js";
5
5
  import { g as getCommonActionsDictionary } from "../CommonActions/components/Actions/index.2f6286eb.js";
6
6
  import { unstable_composeClasses } from "@mui/base";
7
7
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
@@ -1,21 +1,20 @@
1
- import { getPropertyByString } from "@m4l/core";
2
1
  import { generateUtilityClasses } from "@mui/material";
3
2
  import { unstable_composeClasses } from "@mui/base";
4
3
  import { g as getComponentUtilityClass } from "../../utils/index.de903261.js";
5
4
  import { styled, useTheme } from "@mui/material/styles";
6
5
  import clsx from "clsx";
7
- import { D as DividerNode } from "./subcomponents/DividerNode/index.007d01ab.js";
8
- import { S as SectionNode } from "./subcomponents/SectionNode/index.13e656ad.js";
9
- import { T as TextBoxNode } from "./subcomponents/TextBoxNode/index.0c3db261.js";
10
- import { H as HeaderNode } from "./subcomponents/HeaderNode/index.01ae9ede.js";
11
- import { a as ImageNode, Q as QRImageNode } from "../Image/index.8b134b95.js";
12
- import { B as BodyNode } from "./subcomponents/BodyNode/index.7bed0f05.js";
13
- import { F as FooterNode } from "./subcomponents/FooterNode/index.72ef9241.js";
14
- import { P as PaperNode } from "./subcomponents/PaperNode/index.cfd86519.js";
15
- import { P as PropertyValueNode } from "./subcomponents/PropertyValueNode/index.c4fa3813.js";
16
- import { G as GridNode } from "./subcomponents/GridNode/index.2fac7376.js";
17
- import { C as ChartNode } from "./subcomponents/ChartNode/index.c552eb03.js";
18
- import { P as PagerNode, a as PageRender } from "../Page/index.c100afa4.js";
6
+ import { D as DividerNode } from "./subcomponents/DividerNode/index.341565d7.js";
7
+ import { S as SectionNode } from "./subcomponents/SectionNode/index.a63aec5a.js";
8
+ import { T as TextBoxNode } from "./subcomponents/TextBoxNode/index.2046fa9f.js";
9
+ import { H as HeaderNode } from "./subcomponents/HeaderNode/index.171e3487.js";
10
+ import { a as ImageNode, Q as QRImageNode } from "../Image/index.0f2d452d.js";
11
+ import { B as BodyNode } from "./subcomponents/BodyNode/index.190343cb.js";
12
+ import { F as FooterNode } from "./subcomponents/FooterNode/index.3b3b7f76.js";
13
+ import { P as PaperNode } from "./subcomponents/PaperNode/index.ac033f38.js";
14
+ import { P as PropertyValueNode } from "./subcomponents/PropertyValueNode/index.0d994547.js";
15
+ import { G as GridNode } from "./subcomponents/GridNode/index.1de3dfb0.js";
16
+ import { C as ChartNode } from "./subcomponents/ChartNode/index.0f5ac0b4.js";
17
+ import { P as PagerNode, a as PageRender } from "../Page/index.9ea214e4.js";
19
18
  import { jsxs, jsx } from "react/jsx-runtime";
20
19
  import { forwardRef, useRef, useImperativeHandle } from "react";
21
20
  const componentName = "M4LPrintingSystem";
@@ -97,33 +96,6 @@ const getSize = (value, unitSize) => {
97
96
  return value;
98
97
  }
99
98
  };
100
- const getEvalValue = (sourceData, key) => {
101
- const regexPattern = /\${([^${}]+(?:\${[^{}]*}[^${}]*)*)}/g;
102
- if (regexPattern.test(key)) {
103
- const matches = [];
104
- let match;
105
- let localRegex = new RegExp(regexPattern);
106
- while ((match = localRegex.exec(key)) !== null) {
107
- matches.push(match[1]);
108
- }
109
- const finalValue = new Array();
110
- matches.map((findMatch) => {
111
- const nestedRegex = /\${([^${}]+(?:\${[^{}]*}[^${}]*)*)}/g;
112
- if (nestedRegex.test(findMatch)) {
113
- const regexKeyReady = /([^ ${]+)/;
114
- let matchKeyReady = regexKeyReady.exec(findMatch) || "";
115
- let nestedKey = findMatch.match(regexPattern) || "";
116
- finalValue.push(getPropertyByString(sourceData, matchKeyReady[1]));
117
- finalValue.push(getEvalValue(sourceData, nestedKey[0]));
118
- } else {
119
- finalValue.push(getPropertyByString(sourceData, findMatch));
120
- }
121
- });
122
- return finalValue.join(" ");
123
- } else {
124
- return key;
125
- }
126
- };
127
99
  const FactoryRender = (props) => {
128
100
  const {
129
101
  data: parent
@@ -218,7 +190,6 @@ const PrintingSystem = forwardRef((props, ref) => {
218
190
  export {
219
191
  FactoryRender as F,
220
192
  PrintingSystem as P,
221
- getSize as a,
222
193
  classes as c,
223
- getEvalValue as g
194
+ getSize as g
224
195
  };
@@ -1,5 +1,5 @@
1
1
  import { useBase } from "@m4l/core";
2
- import { c as classes, a as getSize } from "../../index.2147b2c3.js";
2
+ import { c as classes, g as getSize } from "../../index.479a6ab2.js";
3
3
  import clsx from "clsx";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  const BodyNode = (props) => {
@@ -1,9 +1,9 @@
1
- import { g as getEvalValue, c as classes } from "../../index.2147b2c3.js";
1
+ import { c as classes } from "../../index.479a6ab2.js";
2
2
  import clsx from "clsx";
3
3
  import { createRef, useEffect } from "react";
4
4
  import { Chart, registerables } from "chart.js";
5
5
  import { ScatterWithErrorBarsController, LineWithErrorBarsChart, PointWithErrorBar } from "chartjs-chart-error-bars";
6
- import { useBase, getPropertyByString } from "@m4l/core";
6
+ import { useBase, getPropertyByString, evaluateWithContext } from "@m4l/core";
7
7
  import { jsx } from "react/jsx-runtime";
8
8
  Chart.register(ScatterWithErrorBarsController, LineWithErrorBarsChart, PointWithErrorBar, ...registerables);
9
9
  const ChartNode = (props) => {
@@ -61,13 +61,13 @@ const ChartNode = (props) => {
61
61
  x: {
62
62
  title: {
63
63
  display: true,
64
- text: getEvalValue(sourceData, messageX)
64
+ text: evaluateWithContext(sourceData, messageX)
65
65
  }
66
66
  },
67
67
  y: {
68
68
  title: {
69
69
  display: true,
70
- text: getEvalValue(sourceData, messageY)
70
+ text: evaluateWithContext(sourceData, messageY)
71
71
  }
72
72
  }
73
73
  }
@@ -1,4 +1,4 @@
1
- import { c as classes } from "../../index.2147b2c3.js";
1
+ import { c as classes } from "../../index.479a6ab2.js";
2
2
  import clsx from "clsx";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  const DividerNode = (props) => {
@@ -1,5 +1,5 @@
1
1
  import { useBase } from "@m4l/core";
2
- import { c as classes, a as getSize } from "../../index.2147b2c3.js";
2
+ import { c as classes, g as getSize } from "../../index.479a6ab2.js";
3
3
  import clsx from "clsx";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  const FooterNode = (props) => {
@@ -1,5 +1,5 @@
1
- import { useBase, getPropertyByString } from "@m4l/core";
2
- import { c as classes, a as getSize, g as getEvalValue } from "../../index.2147b2c3.js";
1
+ import { useBase, getPropertyByString, evaluateWithContext } from "@m4l/core";
2
+ import { c as classes, g as getSize } from "../../index.479a6ab2.js";
3
3
  import clsx from "clsx";
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
  const GridNode = (props) => {
@@ -42,7 +42,7 @@ const GridNode = (props) => {
42
42
  maxWidth: column.width ? getSize(column.width, unitSize) : "auto",
43
43
  justifyContent: column.alignX ? column.alignX : "center"
44
44
  },
45
- children: getEvalValue(sourceData, column.title)
45
+ children: evaluateWithContext(sourceData, column.title)
46
46
  }, `th-${Math.random().toString(36).substring(7)}`);
47
47
  })
48
48
  }, `tr-${Math.random().toString(36).substring(7)}`)
@@ -58,7 +58,7 @@ const GridNode = (props) => {
58
58
  minWidth: getSize(dataColumns[id].width || "auto", unitSize),
59
59
  justifyContent: cell.alignX ? cell.alignX : "center"
60
60
  },
61
- children: isNested ? getPropertyByString(row, dataColumns[id].nestedValue || "") : row[dataColumns[id].key]
61
+ children: isNested ? evaluateWithContext(row, dataColumns[id].nestedValue || "") : row[dataColumns[id].key]
62
62
  }, `td-${Math.random().toString(36).substring(7)}`);
63
63
  })
64
64
  }, `tr-${Math.random().toString(36).substring(7)}`);
@@ -1,5 +1,5 @@
1
1
  import { useBase } from "@m4l/core";
2
- import { c as classes, a as getSize } from "../../index.2147b2c3.js";
2
+ import { c as classes, g as getSize } from "../../index.479a6ab2.js";
3
3
  import clsx from "clsx";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  const HeaderNode = (props) => {
@@ -1,5 +1,5 @@
1
- import { useBase } from "@m4l/core";
2
- import { g as getEvalValue, c as classes } from "../../index.2147b2c3.js";
1
+ import { useBase, evaluateWithContext } from "@m4l/core";
2
+ import { c as classes } from "../../index.479a6ab2.js";
3
3
  import clsx from "clsx";
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
  const PaperNode = (props) => {
@@ -16,8 +16,8 @@ const PaperNode = (props) => {
16
16
  const {
17
17
  sourceData
18
18
  } = useBase();
19
- const titleFormated = getEvalValue(sourceData, title);
20
- const titleSecondaryFormated = getEvalValue(sourceData, titleSecondary || "");
19
+ const titleFormated = evaluateWithContext(sourceData, title);
20
+ const titleSecondaryFormated = evaluateWithContext(sourceData, titleSecondary || "");
21
21
  return /* @__PURE__ */ jsxs("div", {
22
22
  className: clsx(classes.paperNodeRoot, className),
23
23
  style: {
@@ -1,5 +1,5 @@
1
1
  import { useBase, evaluateWithContext } from "@m4l/core";
2
- import { c as classes, a as getSize } from "../../index.2147b2c3.js";
2
+ import { c as classes, g as getSize } from "../../index.479a6ab2.js";
3
3
  import clsx from "clsx";
4
4
  import { jsxs, jsx } from "react/jsx-runtime";
5
5
  const PropertyValueNode = (props) => {
@@ -1,5 +1,5 @@
1
1
  import { useBase } from "@m4l/core";
2
- import { c as classes, a as getSize } from "../../index.2147b2c3.js";
2
+ import { c as classes, g as getSize } from "../../index.479a6ab2.js";
3
3
  import clsx from "clsx";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  const SectionNode = (props) => {
@@ -1,5 +1,5 @@
1
- import { useBase } from "@m4l/core";
2
- import { g as getEvalValue, c as classes } from "../../index.2147b2c3.js";
1
+ import { useBase, evaluateWithContext } from "@m4l/core";
2
+ import { c as classes } from "../../index.479a6ab2.js";
3
3
  import clsx from "clsx";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  const TextBoxNode = (props) => {
@@ -13,7 +13,7 @@ const TextBoxNode = (props) => {
13
13
  const {
14
14
  sourceData
15
15
  } = useBase();
16
- const textFormated = getEvalValue(sourceData, children[1]);
16
+ const textFormated = evaluateWithContext(sourceData, children[1]);
17
17
  return /* @__PURE__ */ jsx("span", {
18
18
  className: clsx(classes.textBoxNodeRoot, className, `${classes.textBoxNodeVariant}-${variant}`),
19
19
  style: {
@@ -4,10 +4,10 @@ import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
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
- import { g as getNameDataTestId } from "../../vendor.dfd22660.js";
7
+ import { g as getNameDataTestId } from "../../vendor.7a173698.js";
8
8
  import { useState } from "react";
9
9
  import { jsxs, jsx } from "react/jsx-runtime";
10
- import { I as Icon } from "../Icon/index.4e424a81.js";
10
+ import { I as Icon } from "../Icon/index.3c683ca2.js";
11
11
  import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
12
12
  const PropertyValueRoot = styled("div")(({
13
13
  theme
@@ -7,9 +7,9 @@ import { unstable_composeClasses } from "@mui/base";
7
7
  import { g as getComponentUtilityClass } from "../../utils/index.de903261.js";
8
8
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
9
9
  import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
10
- import { I as Image } from "../Image/index.8b134b95.js";
11
- import { I as IconButton } from "../mui_extended/IconButton/index.3c568901.js";
12
- import { I as Icon, A as ArrowIcon } from "../Icon/index.4e424a81.js";
10
+ import { I as Image } from "../Image/index.0f2d452d.js";
11
+ import { I as IconButton } from "../mui_extended/IconButton/index.1b14d57b.js";
12
+ import { I as Icon, A as ArrowIcon } from "../Icon/index.3c683ca2.js";
13
13
  import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
14
14
  import clsx from "clsx";
15
15
  import { useLocation } from "react-router-dom";
@@ -1,11 +1,11 @@
1
1
  import { styled, generateUtilityClasses } from "@mui/material";
2
- import { A } from "../../node_modules.a40403af.js";
2
+ import { A } from "../../node_modules.0500a400.js";
3
3
  import { jsxs, jsx } from "react/jsx-runtime";
4
4
  import { unstable_composeClasses } from "@mui/base";
5
5
  import { g as getComponentUtilityClass } from "../../utils/index.de903261.js";
6
6
  import { useEnvironment } from "@m4l/core";
7
7
  import { useMemo } from "react";
8
- import { I as Icon } from "../Icon/index.4e424a81.js";
8
+ import { I as Icon } from "../Icon/index.3c683ca2.js";
9
9
  const ToastContainerRoot = styled("div")(({ theme }) => ({
10
10
  ...theme.components?.M4LToastContainer?.styleOverrides
11
11
  }));