@m4l/components 1.0.7 → 1.0.9

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 (92) hide show
  1. package/components/AccountPopover/{index.97e53037.js → index.85964263.js} +4 -4
  2. package/components/AppBar/{index.1cd669e2.js → index.233917e6.js} +4 -4
  3. package/components/CommonActions/index.5f5362d4.js +170 -0
  4. package/components/DragResizeWindow/{index.5e316291.js → index.8b3e79f7.js} +3 -3
  5. package/components/DynamicFilter/{index.b56ee9d3.js → index.d698a952.js} +15 -135
  6. package/components/DynamicFilter/slots/index.79811999.js +150 -0
  7. package/components/DynamicFilter/{dynamicFilterSlots.d.ts → slots/index.d.ts} +64 -64
  8. package/components/FieldLabel/{index.b4e9c18c.js → index.61450047.js} +4 -4
  9. package/components/GridLayout/{index.7156fbc9.js → index.656840a5.js} +2 -2
  10. package/components/GridLayout/subcomponents/Griditem/{index.8946f18e.js → index.b23625d7.js} +4 -4
  11. package/components/GridLayout/subcomponents/Responsive/{index.3c68f0cb.js → index.97505a31.js} +2 -2
  12. package/components/GridLayout/subcomponents/SizeProvider/{index.a5b2190d.js → index.36cb4139.js} +1 -1
  13. package/components/HamburgerMenu/{index.ead6996d.js → index.6da952c3.js} +3 -3
  14. package/components/HelperText/{index.651a9b4b.js → index.ebb53dac.js} +1 -1
  15. package/components/Icon/{index.0e4bc1c2.js → index.0d591435.js} +3 -3
  16. package/components/Image/{index.a3e64dcd.js → index.7b1ce7d6.js} +2 -2
  17. package/components/LoadingError/{index.12973823.js → index.5b8a819d.js} +5 -5
  18. package/components/MFLoader/{index.bf9ffe58.js → index.6f690259.js} +3 -3
  19. package/components/ModalDialog/{index.7e584b4c.js → index.bdae9c06.js} +4 -4
  20. package/components/NavLink/{index.badec599.js → index.9f5d5670.js} +2 -2
  21. package/components/NoItemSelected/{index.71be932c.js → index.71727588.js} +2 -2
  22. package/components/ObjectLogs/{index.a7df0772.js → index.5e18c08e.js} +7 -7
  23. package/components/PDFViewer/{index.c856f823.js → index.e5b7b58c.js} +2 -2
  24. package/components/Page/{index.f9995356.js → index.bf61755b.js} +1 -1
  25. package/components/PaperForm/{index.ca9e19ab.js → index.2c5d1c14.js} +2 -2
  26. package/components/Period/{index.2c78168c.js → index.9f3a2531.js} +4 -4
  27. package/components/PrintingSystem/{index.8bfc836d.js → index.e166c8d5.js} +15 -15
  28. package/components/PrintingSystem/subcomponents/BodyNode/{index.f37aeaea.js → index.ff5bd9ba.js} +1 -1
  29. package/components/PrintingSystem/subcomponents/ChartNode/{index.602fb570.js → index.e78e9c90.js} +1 -1
  30. package/components/PrintingSystem/subcomponents/DividerNode/{index.2278f796.js → index.1ff8a100.js} +1 -1
  31. package/components/PrintingSystem/subcomponents/FooterNode/{index.8d76df3f.js → index.7078b267.js} +1 -1
  32. package/components/PrintingSystem/subcomponents/GridNode/{index.1e3c435e.js → index.45007400.js} +1 -1
  33. package/components/PrintingSystem/subcomponents/HeaderNode/{index.3f0ab738.js → index.c19c37d6.js} +1 -1
  34. package/components/PrintingSystem/subcomponents/PaperNode/{index.f444cad7.js → index.3a620060.js} +1 -1
  35. package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.592f3293.js → index.c158a2b6.js} +1 -1
  36. package/components/PrintingSystem/subcomponents/SectionNode/{index.41fb608c.js → index.cc08a0f8.js} +1 -1
  37. package/components/PrintingSystem/subcomponents/TextBoxNode/{index.d378b833.js → index.a37d8efa.js} +1 -1
  38. package/components/PropertyValue/{index.7e4bce22.js → index.2e61bd86.js} +3 -3
  39. package/components/Resizeable/{index.8c72e36a.js → index.414ff687.js} +1 -1
  40. package/components/ScrollBar/{index.9bfcc74f.js → index.1e89bb44.js} +1 -1
  41. package/components/SideBar/{index.a0a2ae27.js → index.a645fbb3.js} +7 -7
  42. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +1 -1
  43. package/components/SplitLayout/{index.aed78a1f.js → index.7d9edf4e.js} +1 -1
  44. package/components/ToastContainer/{index.5fe6b0f7.js → index.c1ae5efc.js} +3 -3
  45. package/components/areas/{constants.630a4f42.js → constants.0d3ba950.js} +19 -23
  46. package/components/areas/contexts/AreasContext/{index.f0aa2770.js → index.ed31c72d.js} +4 -4
  47. package/components/areas/{dictionary.f7ba553d.js → dictionary.ffe082b0.js} +13 -25
  48. package/components/areas/hooks/useAreas/{index.e80b5f68.js → index.dca83673.js} +1 -1
  49. package/components/hook-form/HelperError/{index.fd10c3ab.js → index.2ed03a3c.js} +1 -1
  50. package/components/hook-form/RHFAutocompleteAsync/{index.0aa27d6f.js → index.58439d31.js} +3 -3
  51. package/components/hook-form/RHFCheckbox/{index.fe5a2e61.js → index.52645cbc.js} +4 -4
  52. package/components/hook-form/RHFColorPicker/{index.2891deae.js → index.ad3a7448.js} +6 -6
  53. package/components/hook-form/RHFDateTime/{index.fc07eaa6.js → index.0bb4279e.js} +5 -5
  54. package/components/hook-form/RHFPeriod/{index.34a5f497.js → index.8075a132.js} +4 -4
  55. package/components/hook-form/RHFTextField/{index.51fca2b2.js → index.8d9e389c.js} +6 -6
  56. package/components/hook-form/RHFUpload/{index.1c48cd8d.js → index.bb7f617e.js} +5 -5
  57. package/components/maps/components/GpsTools/{index.50942c36.js → index.a32b12b7.js} +3 -3
  58. package/components/maps/{index.b4317695.js → index.595f5894.js} +12 -12
  59. package/components/modal/{WindowBase.27baa3c5.js → WindowBase.57f82667.js} +4 -4
  60. package/components/modal/{WindowConfirm.4ef45869.js → WindowConfirm.21342f0a.js} +6 -6
  61. package/components/modal/{index.7ca17f55.js → index.5bce430d.js} +1 -1
  62. package/components/mui_extended/Accordion/{index.c50787bf.js → index.232b14c4.js} +4 -4
  63. package/components/mui_extended/Avatar/{index.3ba36655.js → index.12b96914.js} +1 -1
  64. package/components/mui_extended/Badge/{index.3465d7fb.js → index.4737c113.js} +1 -1
  65. package/components/mui_extended/Button/{index.9c53e7ad.js → index.6276c580.js} +6 -6
  66. package/components/mui_extended/CheckBox/{index.902aff74.js → index.2bf3b459.js} +1 -1
  67. package/components/mui_extended/IconButton/{index.d6e94af1.js → index.20a5a0be.js} +1 -1
  68. package/components/mui_extended/IconButton/index.d.ts +0 -1
  69. package/components/mui_extended/LinearProgress/{index.52edc848.js → index.e9455b2e.js} +2 -2
  70. package/components/mui_extended/Pager/{index.9293ab27.js → index.2a5203df.js} +4 -4
  71. package/components/mui_extended/Popover/index.d.ts +1 -0
  72. package/components/mui_extended/Popover/{index.99fe777c.js → index.fda32ba1.js} +15 -13
  73. package/components/mui_extended/Popover/subcomponts/ArrowIcon/index.d.ts +1 -1
  74. package/components/mui_extended/Tab/{index.14641316.js → index.03742bb6.js} +18 -17
  75. package/components/mui_extended/ToggleButton/{index.393e624f.js → index.7a4779c7.js} +1 -1
  76. package/components/mui_extended/ToggleIconButton/{index.540a46b2.js → index.29fdefaa.js} +1 -1
  77. package/components/mui_extended/ToggleIconButton/types.d.ts +1 -1
  78. package/components/mui_extended/Typography/{index.2a1c68f8.js → index.463f613f.js} +1 -1
  79. package/components/mui_extended/index.d.ts +2 -2
  80. package/components/popups/PopupsProvider/{index.e3f8ce5d.js → index.6b5befba.js} +1 -1
  81. package/components/popups/PopupsViewer/{index.077e47cd.js → index.c7940ab0.js} +5 -5
  82. package/contexts/ModalContext/{index.4956950f.js → index.e126d383.js} +1 -1
  83. package/contexts/RHFormContext/{index.e942a298.js → index.95ebabc9.js} +1 -1
  84. package/hooks/useFormAddEdit/{index.3cd8d179.js → index.42356b18.js} +2 -2
  85. package/hooks/useModal/{index.898c7559.js → index.20c3f2be.js} +4 -3
  86. package/index.js +153 -152
  87. package/package.json +1 -1
  88. package/{react-draggable.2df3b71a.js → react-draggable.0cc9b257.js} +1 -1
  89. package/{react-resizable.c60f3843.js → react-resizable.837c446d.js} +2 -2
  90. package/utils/{index.0660ee9c.js → index.c64c2dd1.js} +4 -8
  91. package/{vendor.fc11ba1a.js → vendor.e16cc0cc.js} +106 -241
  92. package/test/index.6d4b98b9.js +0 -4
@@ -3,11 +3,11 @@ import { useEnvironment, useModuleDictionary, useNetwork } from "@m4l/core";
3
3
  import { useState, useEffect } from "react";
4
4
  import { generateUtilityClasses, generateUtilityClass, styled, useTheme, ButtonBase } from "@mui/material";
5
5
  import { unstable_composeClasses } from "@mui/base";
6
- import { T as TEST_PROP_ID } from "../areas/constants.630a4f42.js";
7
- import { A as Avatar } from "../mui_extended/Avatar/index.3ba36655.js";
6
+ import { T as TEST_PROP_ID } from "../areas/constants.0d3ba950.js";
7
+ import { A as Avatar } from "../mui_extended/Avatar/index.12b96914.js";
8
8
  import { C as CircularProgress } from "../mui_extended/CircularProgress/index.967e70b7.js";
9
- import { P as Popover } from "../mui_extended/Popover/index.99fe777c.js";
10
- import { I as Icon } from "../Icon/index.0e4bc1c2.js";
9
+ import { P as Popover } from "../mui_extended/Popover/index.fda32ba1.js";
10
+ import { I as Icon } from "../Icon/index.0d591435.js";
11
11
  import clsx from "clsx";
12
12
  const componentName = "M4LAccountPopover";
13
13
  generateUtilityClasses(
@@ -2,12 +2,12 @@ import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { styled } from "@mui/material/styles";
3
3
  import { useResponsiveContainerStore } from "@m4l/graphics";
4
4
  import { useEnvironment, useModuleDictionary } from "@m4l/core";
5
- import { T as TEST_PROP_ID } from "../areas/constants.630a4f42.js";
5
+ import { T as TEST_PROP_ID } from "../areas/constants.0d3ba950.js";
6
6
  import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
7
7
  import { unstable_composeClasses } from "@mui/base";
8
- import { I as Image } from "../Image/index.a3e64dcd.js";
9
- import { T as Typography } from "../mui_extended/Typography/index.2a1c68f8.js";
10
- import { I as IconButton } from "../mui_extended/IconButton/index.d6e94af1.js";
8
+ import { I as Image } from "../Image/index.7b1ce7d6.js";
9
+ import { T as Typography } from "../mui_extended/Typography/index.463f613f.js";
10
+ import { I as IconButton } from "../mui_extended/IconButton/index.20a5a0be.js";
11
11
  const AppBarRoot = styled("header")(({ theme }) => ({
12
12
  ...theme.components?.M4LAppBar?.styleOverrides
13
13
  }));
@@ -0,0 +1,170 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { forwardRef, useCallback, useEffect } from "react";
3
+ import clsx from "clsx";
4
+ import { T as TEST_PROP_ID } from "../areas/constants.0d3ba950.js";
5
+ import { styled } from "@mui/material/styles";
6
+ import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
7
+ import { B as Button, L as LoadingButton } from "../mui_extended/Button/index.6276c580.js";
8
+ import { useFormContext, useFormState } from "react-hook-form";
9
+ import { u as useModal } from "../../hooks/useModal/index.20c3f2be.js";
10
+ import { u as useWindowToolsMF } from "../areas/hooks/useWindowToolsMF/index.09801b66.js";
11
+ import { W as WindowConfirm } from "../modal/WindowConfirm.21342f0a.js";
12
+ import { generateUtilityClasses, Skeleton } from "@mui/material";
13
+ import { unstable_composeClasses } from "@mui/base";
14
+ import { g as getComponentUtilityClass } from "../../utils/index.c64c2dd1.js";
15
+ function getCommonActionsDictionary() {
16
+ return ["common_actions"];
17
+ }
18
+ const defaultCommonActionsDictionary = {
19
+ common_actions: {
20
+ cancel: "Cancel",
21
+ intro: "Intro",
22
+ confirm_quit_title: "Confirm",
23
+ confirm_quit_msg: "Are your sure exit?"
24
+ }
25
+ };
26
+ const componentName = "M4LCommonActions";
27
+ generateUtilityClasses(
28
+ componentName,
29
+ [
30
+ "root",
31
+ "skeleton",
32
+ "actionCancel",
33
+ "actionFormCancel",
34
+ "actionFormIntro",
35
+ "actionIntro",
36
+ "wrapperActions"
37
+ ]
38
+ );
39
+ const useCommonActionsUtilityClasses = () => {
40
+ const slots = {
41
+ root: ["root"],
42
+ skeleton: ["skeleton"],
43
+ actionCancel: ["actionCancel"],
44
+ actionFormCancel: ["actionFormCancel"],
45
+ actionFormIntro: ["actionFormIntro"],
46
+ actionIntro: ["actionIntro"],
47
+ wrapperActions: ["wrapperActions"]
48
+ };
49
+ return unstable_composeClasses(slots, getComponentUtilityClass(componentName), {});
50
+ };
51
+ const WrapperStandarActions = styled("div")(({ theme }) => ({
52
+ ...theme.components?.M4LCommonActions?.styleOverrides
53
+ }));
54
+ const COMMONACTIONS_PREFIX = "M4LCommonActions";
55
+ const getNameCommonActionsDataTestId = (KEY) => {
56
+ return `${COMMONACTIONS_PREFIX}-${KEY}`;
57
+ };
58
+ const Actions = forwardRef(function ActionsForwarded(props, ref) {
59
+ const { children, ...restProps } = props;
60
+ const classes = useCommonActionsUtilityClasses();
61
+ return /* @__PURE__ */ jsx(
62
+ WrapperStandarActions,
63
+ {
64
+ ...restProps,
65
+ ref,
66
+ className: clsx(classes.root, restProps?.className),
67
+ ...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: getNameCommonActionsDataTestId("root") } : {},
68
+ children
69
+ }
70
+ );
71
+ });
72
+ const ActionCancel = (props) => {
73
+ const { getLabel } = useModuleDictionary();
74
+ const classes = useCommonActionsUtilityClasses();
75
+ return /* @__PURE__ */ jsx(Button, { variant: "outlined", color: "inherit", ...props, className: classes.actionCancel, children: getLabel("common_actions.cancel") });
76
+ };
77
+ const ACTIONINTRO_TEST_ID = "m4lactions";
78
+ const ActionIntro = (props) => {
79
+ const { getLabel } = useModuleDictionary();
80
+ const classes = useCommonActionsUtilityClasses();
81
+ return /* @__PURE__ */ jsx(
82
+ Button,
83
+ {
84
+ ...process.env.NODE_ENV !== "production" ? { [TEST_PROP_ID]: ACTIONINTRO_TEST_ID } : {},
85
+ variant: "contained",
86
+ type: "submit",
87
+ color: "primary",
88
+ className: classes.actionIntro,
89
+ ...props,
90
+ children: getLabel("common_actions.intro")
91
+ }
92
+ );
93
+ };
94
+ function ActionFormCancel() {
95
+ const { getLabel } = useModuleDictionary();
96
+ const { openModal } = useModal();
97
+ const { close: closeWindow, setFnQueryClose: setQueryClose } = useWindowToolsMF();
98
+ const { control } = useFormContext();
99
+ const { isDirty } = useFormState({
100
+ control
101
+ });
102
+ const onConfirmQuit = useCallback(() => {
103
+ closeWindow();
104
+ }, []);
105
+ const onClickCancel = useCallback(() => {
106
+ if (isDirty) {
107
+ openModal({
108
+ window: /* @__PURE__ */ jsx(
109
+ WindowConfirm,
110
+ {
111
+ variant: "warning",
112
+ title: getLabel("common_actions.confirm_quit_title"),
113
+ msg: getLabel("common_actions.confirm_quit_msg"),
114
+ onClickIntro: onConfirmQuit
115
+ }
116
+ ),
117
+ variant: "warning"
118
+ });
119
+ } else {
120
+ onConfirmQuit();
121
+ }
122
+ }, [getLabel, isDirty, openModal]);
123
+ useEffect(() => {
124
+ setQueryClose(onClickCancel);
125
+ }, [onClickCancel]);
126
+ const classes = useCommonActionsUtilityClasses();
127
+ return /* @__PURE__ */ jsx(
128
+ Button,
129
+ {
130
+ variant: "outlined",
131
+ color: "inherit",
132
+ onClick: onClickCancel,
133
+ className: classes.actionFormCancel,
134
+ children: getLabel("common_actions.cancel")
135
+ }
136
+ );
137
+ }
138
+ function ActionFormIntro(props) {
139
+ const { getLabel } = useModuleDictionary();
140
+ const isSkeleton = useModuleSkeleton();
141
+ const { control } = useFormContext();
142
+ const { isSubmitting } = useFormState({
143
+ control
144
+ });
145
+ const classes = useCommonActionsUtilityClasses();
146
+ if (isSkeleton) {
147
+ return /* @__PURE__ */ jsx(Skeleton, { variant: "text", width: 57, height: 30 });
148
+ }
149
+ return /* @__PURE__ */ jsx(
150
+ LoadingButton,
151
+ {
152
+ variant: "contained",
153
+ type: "submit",
154
+ color: "primary",
155
+ loading: isSubmitting,
156
+ className: classes.actionFormIntro,
157
+ ...props,
158
+ children: getLabel("common_actions.intro")
159
+ }
160
+ );
161
+ }
162
+ export {
163
+ Actions as A,
164
+ ActionCancel as a,
165
+ ActionIntro as b,
166
+ ActionFormIntro as c,
167
+ ActionFormCancel as d,
168
+ defaultCommonActionsDictionary as e,
169
+ getCommonActionsDictionary as g
170
+ };
@@ -1,11 +1,11 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { forwardRef, useState, useRef, useImperativeHandle, useCallback, useEffect, useMemo } from "react";
3
- import { D as DraggableCore_1 } from "../../react-draggable.2df3b71a.js";
3
+ import { D as DraggableCore_1 } from "../../react-draggable.0cc9b257.js";
4
4
  import clsx from "clsx";
5
5
  import { styled, generateUtilityClasses } from "@mui/material";
6
- import { M as MAP_ZINDEX_OVER_MAP, C as COMPONENT_CLASS_NAME, D as DEFAULT_TRANSFORM_SCALE, a as MAP_ZINDEX_OVER_MAP$1 } from "../areas/constants.630a4f42.js";
6
+ import { M as MAP_ZINDEX_OVER_MAP, C as COMPONENT_CLASS_NAME, D as DEFAULT_TRANSFORM_SCALE, a as MAP_ZINDEX_OVER_MAP$1 } from "../areas/constants.0d3ba950.js";
7
7
  import "@mui/base";
8
- import { R as Resizable } from "../../react-resizable.c60f3843.js";
8
+ import { R as Resizable } from "../../react-resizable.837c446d.js";
9
9
  const WrapperWindowRoot = styled("div")`
10
10
  position: absolute;
11
11
  left: 0px;
@@ -1,3 +1,5 @@
1
+ import { Skeleton, alpha } from "@mui/material";
2
+ import { i as isValidDate, c as containerQuery } from "../../utils/index.c64c2dd1.js";
1
3
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
4
  import { useMemo, useContext, createContext, useRef, useEffect, useState } from "react";
3
5
  import { useFormContext, useWatch } from "react-hook-form";
@@ -8,19 +10,16 @@ import { useResponsiveDesktop, useFirstRender, useFormatter } from "@m4l/graphic
8
10
  import { devtools } from "zustand/middleware";
9
11
  import { immer } from "zustand/middleware/immer";
10
12
  import * as Yup from "yup";
11
- import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../areas/dictionary.f7ba553d.js";
12
- import { B as BOOLEAN_OPERATORS, S as STRING_OPERATORS, b as DATE_TIME_OPERATORS, N as NUMBER_OPERATORS, c as SELECT_OPERATORS, A as ALL_FIELD, d as DYNAMIC_FILTER_KEY_COMPONENT } from "../areas/constants.630a4f42.js";
13
- import { R as RHFAutocomplete } from "../../vendor.fc11ba1a.js";
14
- import { R as RHFTextField } from "../hook-form/RHFTextField/index.51fca2b2.js";
15
- import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.fc07eaa6.js";
16
- import { i as isValidDate, c as containerQuery } from "../../utils/index.0660ee9c.js";
17
- import { R as RHFAutocompleteAsync } from "../hook-form/RHFAutocompleteAsync/index.0aa27d6f.js";
18
- import { styled } from "@mui/material/styles";
19
- import { Skeleton, alpha, MenuItem } from "@mui/material";
20
- import { I as Icon } from "../Icon/index.0e4bc1c2.js";
13
+ import { g as getDynamicFilterDictionary, D as DICCTIONARY } from "../areas/dictionary.ffe082b0.js";
14
+ import { B as BOOLEAN_OPERATORS, S as STRING_OPERATORS, b as DATE_TIME_OPERATORS, N as NUMBER_OPERATORS, c as SELECT_OPERATORS, A as ALL_FIELD } from "../areas/constants.0d3ba950.js";
15
+ import { R as RHFAutocomplete } from "../../vendor.e16cc0cc.js";
16
+ import { R as RHFTextField } from "../hook-form/RHFTextField/index.8d9e389c.js";
17
+ import { R as RHFDateTime } from "../hook-form/RHFDateTime/index.0bb4279e.js";
18
+ import { R as RHFAutocompleteAsync } from "../hook-form/RHFAutocompleteAsync/index.58439d31.js";
19
+ import { I as InputFilterStyled, a as InputFilterIconStyled, b as InputFilterInputStyled, A as AppliedFilterChipStyled, c as AppliedFilterChipIconStyled, d as AppliedFilterChipInfoStyled, e as AppliedFilterChipInfoFieldNameStyled, f as AppliedFilterChipInfoOperatorStyled, g as AppliedFilterChipInfoOperandsStyled, h as AppliedFilterChipRemoveButtonStyled, i as AppliedFiltersStyled, j as AppliedFilterInnerContainerStyled, k as ActionsSkeletonButtonStyled, l as ActionsStyled, m as ActionsClearButtonStyled, n as ActionsSubmitButtonStyled, R as RootStyled, o as InnerContainerStyled } from "./slots/index.79811999.js";
21
20
  import { g as getPropDataTestId } from "../../test/getNameDataTestId.aee44365.js";
22
- import { a as PopoverMenuFields, b as PopoverFilter } from "../mui_extended/Popover/index.99fe777c.js";
23
- import { S as ScrollBar } from "../ScrollBar/index.9bfcc74f.js";
21
+ import { a as PopoverMenuFields, b as PopoverFilter } from "../mui_extended/Popover/index.fda32ba1.js";
22
+ import { S as ScrollBar } from "../ScrollBar/index.1e89bb44.js";
24
23
  function BooleanFilter() {
25
24
  const { getLabel } = useModuleDictionary();
26
25
  const operators = useMemo(
@@ -1494,117 +1493,6 @@ const dynamicFilterStyles = {
1494
1493
  }
1495
1494
  })
1496
1495
  };
1497
- const RootStyled = styled("div", { name: DYNAMIC_FILTER_KEY_COMPONENT, slot: DynamicFilterSlots.root })(
1498
- dynamicFilterStyles?.root
1499
- );
1500
- const InnerContainerStyled = styled("div", {
1501
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1502
- slot: DynamicFilterSlots.innerContainer
1503
- })(dynamicFilterStyles?.innerContainer);
1504
- const InputFilterStyled = styled("div", {
1505
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1506
- slot: DynamicFilterSlots.inputFilter
1507
- })(dynamicFilterStyles?.inputFilter);
1508
- const InputFilterInputStyled = styled("input", {
1509
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1510
- slot: DynamicFilterSlots.inputFilterInput
1511
- })(dynamicFilterStyles?.inputFilterInput);
1512
- const InputFilterIconStyled = styled(Icon, {
1513
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1514
- slot: DynamicFilterSlots.inputFilterIcon
1515
- })(dynamicFilterStyles?.inputFilterIcon);
1516
- const AppliedFiltersStyled = styled("div", {
1517
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1518
- slot: DynamicFilterSlots.appliedFilters
1519
- })(dynamicFilterStyles?.appliedFilters);
1520
- const AppliedFilterInnerContainerStyled = styled("div", {
1521
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1522
- slot: DynamicFilterSlots.appliedFilterInnerContainer
1523
- })(dynamicFilterStyles?.appliedFilterInnerContainer);
1524
- const AppliedFilterChipStyled = styled("div", {
1525
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1526
- slot: DynamicFilterSlots.appliedFilterChip
1527
- })(dynamicFilterStyles?.appliedFilterChip);
1528
- const AppliedFilterChipIconStyled = styled("button", {
1529
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1530
- slot: DynamicFilterSlots.appliedFilterChipIcon
1531
- })(dynamicFilterStyles?.appliedFilterChipIcon);
1532
- const AppliedFilterChipInfoStyled = styled("button", {
1533
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1534
- slot: DynamicFilterSlots.appliedFilterChipInfo
1535
- })(dynamicFilterStyles?.appliedFilterChipInfo);
1536
- const AppliedFilterChipInfoFieldNameStyled = styled("span", {
1537
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1538
- slot: DynamicFilterSlots.appliedFilterChipInfoFieldName
1539
- })(dynamicFilterStyles?.appliedFilterChipInfoFieldName);
1540
- const AppliedFilterChipInfoOperatorStyled = styled("span", {
1541
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1542
- slot: DynamicFilterSlots.appliedFilterChipInfoOperator
1543
- })(dynamicFilterStyles?.appliedFilterChipInfoOperator);
1544
- const AppliedFilterChipInfoOperandsStyled = styled("span", {
1545
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1546
- slot: DynamicFilterSlots.appliedFilterChipInfoOperands
1547
- })(dynamicFilterStyles?.appliedFilterChipInfoOperands);
1548
- const AppliedFilterChipRemoveButtonStyled = styled("button", {
1549
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1550
- slot: DynamicFilterSlots.appliedFilterChipRemoveButton
1551
- })(dynamicFilterStyles?.appliedFilterChipRemoveButton);
1552
- const ActionsStyled = styled("div", {
1553
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1554
- slot: DynamicFilterSlots.actions
1555
- })(dynamicFilterStyles?.actions);
1556
- const ActionsSkeletonButtonStyled = styled("div", {
1557
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1558
- slot: DynamicFilterSlots.actionsSkeletonButton
1559
- })(dynamicFilterStyles?.actionsSkeletonButton);
1560
- const ActionsClearButtonStyled = styled("button", {
1561
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1562
- slot: DynamicFilterSlots.actionsClearButton
1563
- })(dynamicFilterStyles?.actionsClearButton);
1564
- const ActionsSubmitButtonStyled = styled("button", {
1565
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1566
- slot: DynamicFilterSlots.actionsSubmitButton
1567
- })(dynamicFilterStyles?.actionsSubmitButton);
1568
- const PopoverMenuStyled = styled("div", {
1569
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1570
- slot: DynamicFilterSlots.popoverMenu
1571
- })(dynamicFilterStyles?.popoverMenu);
1572
- const PopoverMenuItemStyled = styled(MenuItem, {
1573
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1574
- slot: DynamicFilterSlots.popoverMenuItem
1575
- })(dynamicFilterStyles?.popoverMenuItem);
1576
- const PopoverMenuItemIconStyled = styled(Icon, {
1577
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1578
- slot: DynamicFilterSlots.popoverMenuItemIcon
1579
- })(dynamicFilterStyles?.popoverMenuItemIcon);
1580
- const PopoverMenuItemLabelStyled = styled("div", {
1581
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1582
- slot: DynamicFilterSlots.popoverMenuItemLabel
1583
- })(dynamicFilterStyles?.popoverMenuItemLabel);
1584
- const PopoverStyled = styled("div", {
1585
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1586
- slot: DynamicFilterSlots.popoverFilter
1587
- })(dynamicFilterStyles?.popoverFilter);
1588
- const PopoverContainerFieldsStyled = styled("div", {
1589
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1590
- slot: DynamicFilterSlots.popoverFilterContainerFields
1591
- })(dynamicFilterStyles?.popoverFilterContainerFields);
1592
- const PopoverHeaderStyled = styled("div", {
1593
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1594
- slot: DynamicFilterSlots.popoverFilterHeader
1595
- })(dynamicFilterStyles?.popoverFilterHeader);
1596
- const PopoverHeaderIconStyled = styled(Icon, {
1597
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1598
- slot: DynamicFilterSlots.popoverFilterHeaderIcon
1599
- })(dynamicFilterStyles?.popoverFilterHeaderIcon);
1600
- const PopoverHeaderTitleStyled = styled("div", {
1601
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1602
- slot: DynamicFilterSlots.popoverFilterHeaderTitle
1603
- })(dynamicFilterStyles?.popoverFilterHeaderTitle);
1604
- const PopoverHeaderActionsStyled = styled("div", {
1605
- name: DYNAMIC_FILTER_KEY_COMPONENT,
1606
- slot: DynamicFilterSlots.popoverFilterActions
1607
- })(dynamicFilterStyles?.popoverFilterActions);
1608
1496
  const InputFilter = () => {
1609
1497
  const {
1610
1498
  iconUrl,
@@ -1824,18 +1712,10 @@ function DynamicFilter(props) {
1824
1712
  return /* @__PURE__ */ jsx(DynamicFilterProvider, { ...props, children: /* @__PURE__ */ jsx(DynamicFilterBase, {}) });
1825
1713
  }
1826
1714
  export {
1827
- DynamicFilter as D,
1828
- PopoverMenuStyled as P,
1829
- PopoverMenuItemStyled as a,
1830
- PopoverMenuItemIconStyled as b,
1831
- PopoverMenuItemLabelStyled as c,
1832
- PopoverStyled as d,
1833
- PopoverHeaderStyled as e,
1715
+ DynamicFilterSlots as D,
1716
+ DynamicFilter as a,
1717
+ DataTypeComponent as b,
1718
+ dynamicFilterStyles as d,
1834
1719
  fieldFactory as f,
1835
- PopoverHeaderIconStyled as g,
1836
- PopoverHeaderTitleStyled as h,
1837
- PopoverContainerFieldsStyled as i,
1838
- DataTypeComponent as j,
1839
- PopoverHeaderActionsStyled as k,
1840
1720
  useDynamicFilterStore as u
1841
1721
  };
@@ -0,0 +1,150 @@
1
+ import { styled } from "@mui/material/styles";
2
+ import { d as DYNAMIC_FILTER_KEY_COMPONENT } from "../../areas/constants.0d3ba950.js";
3
+ import { D as DynamicFilterSlots, d as dynamicFilterStyles } from "../index.d698a952.js";
4
+ import { MenuItem } from "@mui/material";
5
+ import { A as Actions } from "../../CommonActions/index.5f5362d4.js";
6
+ import { I as Icon } from "../../Icon/index.0d591435.js";
7
+ import { I as IconButton } from "../../mui_extended/IconButton/index.20a5a0be.js";
8
+ import { P as Popover } from "../../mui_extended/Popover/index.fda32ba1.js";
9
+ import { T as Typography } from "../../mui_extended/Typography/index.463f613f.js";
10
+ const RootStyled = styled("div", { name: DYNAMIC_FILTER_KEY_COMPONENT, slot: DynamicFilterSlots.root })(
11
+ dynamicFilterStyles?.root
12
+ );
13
+ const InnerContainerStyled = styled("div", {
14
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
15
+ slot: DynamicFilterSlots.innerContainer
16
+ })(dynamicFilterStyles?.innerContainer);
17
+ const InputFilterStyled = styled("div", {
18
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
19
+ slot: DynamicFilterSlots.inputFilter
20
+ })(dynamicFilterStyles?.inputFilter);
21
+ const InputFilterInputStyled = styled("input", {
22
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
23
+ slot: DynamicFilterSlots.inputFilterInput
24
+ })(dynamicFilterStyles?.inputFilterInput);
25
+ const InputFilterIconStyled = styled(Icon, {
26
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
27
+ slot: DynamicFilterSlots.inputFilterIcon
28
+ })(dynamicFilterStyles?.inputFilterIcon);
29
+ const AppliedFiltersStyled = styled("div", {
30
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
31
+ slot: DynamicFilterSlots.appliedFilters
32
+ })(dynamicFilterStyles?.appliedFilters);
33
+ const AppliedFilterInnerContainerStyled = styled("div", {
34
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
35
+ slot: DynamicFilterSlots.appliedFilterInnerContainer
36
+ })(dynamicFilterStyles?.appliedFilterInnerContainer);
37
+ const AppliedFilterChipStyled = styled("div", {
38
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
39
+ slot: DynamicFilterSlots.appliedFilterChip
40
+ })(dynamicFilterStyles?.appliedFilterChip);
41
+ const AppliedFilterChipIconStyled = styled(IconButton, {
42
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
43
+ slot: DynamicFilterSlots.appliedFilterChipIcon
44
+ })(dynamicFilterStyles?.appliedFilterChipIcon);
45
+ const AppliedFilterChipInfoStyled = styled("button", {
46
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
47
+ slot: DynamicFilterSlots.appliedFilterChipInfo
48
+ })(dynamicFilterStyles?.appliedFilterChipInfo);
49
+ const AppliedFilterChipInfoFieldNameStyled = styled("span", {
50
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
51
+ slot: DynamicFilterSlots.appliedFilterChipInfoFieldName
52
+ })(dynamicFilterStyles?.appliedFilterChipInfoFieldName);
53
+ const AppliedFilterChipInfoOperatorStyled = styled("span", {
54
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
55
+ slot: DynamicFilterSlots.appliedFilterChipInfoOperator
56
+ })(dynamicFilterStyles?.appliedFilterChipInfoOperator);
57
+ const AppliedFilterChipInfoOperandsStyled = styled("span", {
58
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
59
+ slot: DynamicFilterSlots.appliedFilterChipInfoOperands
60
+ })(dynamicFilterStyles?.appliedFilterChipInfoOperands);
61
+ const AppliedFilterChipRemoveButtonStyled = styled(IconButton, {
62
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
63
+ slot: DynamicFilterSlots.appliedFilterChipRemoveButton
64
+ })(dynamicFilterStyles?.appliedFilterChipRemoveButton);
65
+ const ActionsStyled = styled("div", {
66
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
67
+ slot: DynamicFilterSlots.actions
68
+ })(dynamicFilterStyles?.actions);
69
+ const ActionsSkeletonButtonStyled = styled("div", {
70
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
71
+ slot: DynamicFilterSlots.actionsSkeletonButton
72
+ })(dynamicFilterStyles?.actionsSkeletonButton);
73
+ const ActionsClearButtonStyled = styled(IconButton, {
74
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
75
+ slot: DynamicFilterSlots.actionsClearButton
76
+ })(dynamicFilterStyles?.actionsClearButton);
77
+ const ActionsSubmitButtonStyled = styled(IconButton, {
78
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
79
+ slot: DynamicFilterSlots.actionsSubmitButton
80
+ })(dynamicFilterStyles?.actionsSubmitButton);
81
+ const PopoverMenuStyled = styled(Popover, {
82
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
83
+ slot: DynamicFilterSlots.popoverMenu
84
+ })(dynamicFilterStyles?.popoverMenu);
85
+ const PopoverMenuItemStyled = styled(MenuItem, {
86
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
87
+ slot: DynamicFilterSlots.popoverMenuItem
88
+ })(dynamicFilterStyles?.popoverMenuItem);
89
+ const PopoverMenuItemIconStyled = styled(Icon, {
90
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
91
+ slot: DynamicFilterSlots.popoverMenuItemIcon
92
+ })(dynamicFilterStyles?.popoverMenuItemIcon);
93
+ const PopoverMenuItemLabelStyled = styled("div", {
94
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
95
+ slot: DynamicFilterSlots.popoverMenuItemLabel
96
+ })(dynamicFilterStyles?.popoverMenuItemLabel);
97
+ const PopoverStyled = styled(Popover, {
98
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
99
+ slot: DynamicFilterSlots.popoverFilter
100
+ })(dynamicFilterStyles?.popoverFilter);
101
+ const PopoverContainerFieldsStyled = styled("div", {
102
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
103
+ slot: DynamicFilterSlots.popoverFilterContainerFields
104
+ })(dynamicFilterStyles?.popoverFilterContainerFields);
105
+ const PopoverHeaderStyled = styled("div", {
106
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
107
+ slot: DynamicFilterSlots.popoverFilterHeader
108
+ })(dynamicFilterStyles?.popoverFilterHeader);
109
+ const PopoverHeaderIconStyled = styled(Icon, {
110
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
111
+ slot: DynamicFilterSlots.popoverFilterHeaderIcon
112
+ })(dynamicFilterStyles?.popoverFilterHeaderIcon);
113
+ const PopoverHeaderTitleStyled = styled(Typography, {
114
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
115
+ slot: DynamicFilterSlots.popoverFilterHeaderTitle
116
+ })(dynamicFilterStyles?.popoverFilterHeaderTitle);
117
+ const PopoverHeaderActionsStyled = styled(Actions, {
118
+ name: DYNAMIC_FILTER_KEY_COMPONENT,
119
+ slot: DynamicFilterSlots.popoverFilterActions
120
+ })(dynamicFilterStyles?.popoverFilterActions);
121
+ export {
122
+ AppliedFilterChipStyled as A,
123
+ InputFilterStyled as I,
124
+ PopoverMenuStyled as P,
125
+ RootStyled as R,
126
+ InputFilterIconStyled as a,
127
+ InputFilterInputStyled as b,
128
+ AppliedFilterChipIconStyled as c,
129
+ AppliedFilterChipInfoStyled as d,
130
+ AppliedFilterChipInfoFieldNameStyled as e,
131
+ AppliedFilterChipInfoOperatorStyled as f,
132
+ AppliedFilterChipInfoOperandsStyled as g,
133
+ AppliedFilterChipRemoveButtonStyled as h,
134
+ AppliedFiltersStyled as i,
135
+ AppliedFilterInnerContainerStyled as j,
136
+ ActionsSkeletonButtonStyled as k,
137
+ ActionsStyled as l,
138
+ ActionsClearButtonStyled as m,
139
+ ActionsSubmitButtonStyled as n,
140
+ InnerContainerStyled as o,
141
+ PopoverMenuItemStyled as p,
142
+ PopoverMenuItemIconStyled as q,
143
+ PopoverMenuItemLabelStyled as r,
144
+ PopoverStyled as s,
145
+ PopoverHeaderStyled as t,
146
+ PopoverHeaderIconStyled as u,
147
+ PopoverHeaderTitleStyled as v,
148
+ PopoverContainerFieldsStyled as w,
149
+ PopoverHeaderActionsStyled as x
150
+ };