@m4l/components 0.1.76 → 0.1.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/export.d.ts +19 -0
- package/components/AccountPopover/{index.47cf6c43.js → index.3a79c395.js} +7 -6
- package/components/AppBar/{index.f04f5e45.js → index.71b38ee9.js} +7 -6
- package/components/CommonActions/components/ActionCancel/{index.453c2d24.js → index.b748a38e.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.c2a2fd55.js → index.27ad09e1.js} +18 -18
- package/components/CommonActions/components/ActionFormIntro/{index.25d33912.js → index.2556f054.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.c653a266.js → index.a7d92e66.js} +2 -2
- package/components/CommonActions/components/Actions/{index.e376a68e.js → index.3eba9d91.js} +16 -17
- package/components/DataGrid/{index.ffaf000e.js → index.545b492f.js} +42 -30
- package/components/DataGrid/types.d.ts +5 -1
- package/components/DraggableWindow/{index.b08af1dc.js → index.c702d3f2.js} +1 -1
- package/components/DynamicFilter/{index.d7c03a61.js → index.d7be0f37.js} +40 -33
- package/components/DynamicFilter/subcomponents/InnerForHooks/index.d.ts +2 -1
- package/components/DynamicFilter/subcomponents/InnerForHooks/types.d.ts +2 -0
- package/components/DynamicFilter/tests/contants.d.ts +1 -1
- package/components/DynamicFilter/types.d.ts +4 -0
- package/components/GridLayout/GridLayout.d.ts +6 -0
- package/components/GridLayout/Responsive/index.a12a8cec.js +335 -0
- package/components/GridLayout/WidthProvider/index.8ff65909.js +67 -0
- package/components/GridLayout/calculateUtils.d.ts +42 -0
- package/components/GridLayout/index.4ba3767a.js +1400 -0
- package/components/GridLayout/index.d.ts +6 -0
- package/components/GridLayout/subcomponents/GridItem/index.d.ts +25 -0
- package/components/GridLayout/subcomponents/GridItem/types.d.ts +76 -0
- package/components/GridLayout/subcomponents/Responsive/index.d.ts +3 -0
- package/components/GridLayout/subcomponents/Responsive/responsiveUtils.d.ts +61 -0
- package/components/GridLayout/subcomponents/Responsive/types.d.ts +71 -0
- package/components/GridLayout/subcomponents/WidthProvider/index.d.ts +16 -0
- package/components/GridLayout/types.d.ts +355 -0
- package/components/GridLayout/utils.d.ts +123 -0
- package/components/HelperText/{index.9864f773.js → index.ef31df1f.js} +7 -6
- package/components/Icon/{index.9dae8337.js → index.ecb63e65.js} +1 -1
- package/components/LanguagePopover/{index.938c6675.js → index.0023d069.js} +7 -6
- package/components/LinearProgressIndeterminate/{index.d34d398f.js → index.60dabc06.js} +1 -1
- package/components/ModalDialog/{index.d9c5d400.js → index.d880e685.js} +8 -56
- package/components/NavLink/{index.21c8fd90.js → index.cd92eceb.js} +7 -6
- package/components/ObjectLogs/{index.a2709fc2.js → index.f174c542.js} +19 -19
- package/components/PaperForm/{index.5e1bc99f.js → index.1bd86ee5.js} +1 -1
- package/components/Period/{index.526791a3.js → index.711db043.js} +21 -22
- package/components/Resizeable/{index.f6e48e56.js → index.9a9c79a4.js} +1 -1
- package/components/SideBar/{index.9e1a5b96.js → index.c5ce0bad.js} +5 -5
- package/components/areas/components/AreasAdmin/classes/index.d.ts +1 -1
- package/components/areas/components/AreasAdmin/classes/types.d.ts +2 -0
- package/components/areas/components/AreasAdmin/{index.946eebb9.js → index.cc4cbf56.js} +120 -46
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/types.d.ts +0 -1
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/PanelWindowPopUp/index.d.ts +3 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/PanelWindowPopUp/types.d.ts +3 -0
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +2 -0
- package/components/areas/components/AreasViewer/{index.bf4191ea.js → index.9c2aaaeb.js} +258 -259
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/{GridLayout → AreaGridLayout}/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/index.d.ts +2 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/index.d.ts +1 -7
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowPopUpsList/index.d.ts +3 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowPopUpsList/types.d.ts +2 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/types.d.ts +6 -0
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/types.d.ts +1 -1
- package/components/areas/components/{index.2bb534cb.js → index.0f7ac464.js} +11 -10
- package/components/areas/contexts/AreasContext/helper.d.ts +6 -16
- package/components/areas/contexts/AreasContext/{index.f0397b7c.js → index.c8147e8e.js} +244 -339
- package/components/areas/contexts/AreasContext/types.d.ts +23 -20
- package/components/areas/contexts/{index.1809650a.js → index.02336412.js} +1 -1
- package/components/areas/{dictionary.3fabae50.js → dictionary.afb7e3d9.js} +5 -2
- package/components/areas/dictionary.d.ts +4 -1
- package/components/areas/hooks/useAreas/{index.40917e99.js → index.3406a6cb.js} +1 -1
- package/components/areas/{icons.19cde4b4.js → icons.8266ccc8.js} +5 -1
- package/components/areas/icons.d.ts +4 -0
- package/components/areas/{index.9bd48013.js → index.6f2e5dab.js} +11 -10
- package/components/areas/types.d.ts +30 -22
- package/components/formatters/BooleanFormatter/{index.431dc923.js → index.5268b024.js} +1 -1
- package/components/formatters/{index.e1af75e6.js → index.137169d8.js} +2 -2
- package/components/hook-form/RHFAutocomplete/{index.a063dc44.js → index.ac2b1fae.js} +8 -7
- package/components/hook-form/RHFAutocompleteAsync/{index.ddfd9cc9.js → index.8b4ccc8d.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.7e7f220b.js → index.acef119c.js} +1 -1
- package/components/hook-form/RHFDateTime/{index.d330709b.js → index.5b080342.js} +9 -8
- package/components/hook-form/RHFPeriod/{index.e2b1293b.js → index.5304e3bd.js} +2 -2
- package/components/hook-form/RHFTextField/{index.e5336d09.js → index.e751dca7.js} +5 -5
- package/components/hook-form/RHFUpload/{index.17e7f9eb.js → index.25db0511.js} +8 -7
- package/components/index.d.ts +1 -0
- package/components/modal/{WindowBase.7acb9f1d.js → WindowBase.850ea31a.js} +9 -8
- package/components/modal/{WindowConfirm.9b829837.js → WindowConfirm.cb37bc58.js} +18 -18
- package/components/modal/classes/index.d.ts +1 -0
- package/components/modal/classes/types.d.ts +1 -0
- package/components/modal/{index.1b25b61d.js → index.a0978193.js} +18 -16
- package/components/mui_extended/Accordion/{index.3faafd8b.js → index.12b1339a.js} +2 -2
- package/components/mui_extended/Badge/Badge.d.ts +3 -0
- package/components/mui_extended/Badge/classes/constants.d.ts +1 -0
- package/components/mui_extended/Badge/classes/index.d.ts +6 -0
- package/components/mui_extended/Badge/classes/types.d.ts +6 -0
- package/components/mui_extended/Badge/index.8c2b8b66.js +36 -0
- package/components/mui_extended/Badge/index.d.ts +2 -0
- package/components/mui_extended/Badge/tests/constants.d.ts +1 -0
- package/components/mui_extended/Badge/tests/utils.d.ts +2 -0
- package/components/mui_extended/Badge/types.d.ts +4 -0
- package/components/mui_extended/Button/{index.fdb5dcbd.js → index.4288f9fc.js} +8 -3
- package/components/mui_extended/IconButton/{index.1a9d4fa5.js → index.fc5b7c2d.js} +1 -1
- package/components/mui_extended/MenuActions/{index.ba1da3b3.js → index.f5b1c022.js} +28 -9
- package/components/mui_extended/MenuActions/types.d.ts +8 -0
- package/components/mui_extended/Pager/{index.67bda2c5.js → index.435af0df.js} +1 -1
- package/components/mui_extended/{index.73e536de.js → index.83979b6a.js} +7 -6
- package/components/mui_extended/index.d.ts +1 -0
- package/contexts/ModalContext/{index.699f95fa.js → index.dee85a61.js} +1 -1
- package/hooks/useModal/{index.7b7d26ba.js → index.de522a10.js} +1 -1
- package/index.js +94 -83
- package/node_modules.d73a220d.js +363 -0
- package/package.json +4 -3
- package/{react-draggable.6d7949a3.js → react-draggable.7abb5d0a.js} +3 -2
- package/{react-resizable.b6f8e04a.js → react-resizable.ba08699a.js} +13 -12
- package/utils/{index.008b4c2a.js → index.c43a95f4.js} +0 -15
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowPopUp/index.d.ts +0 -4
- package/components/modal/ModalDialog/types.d.ts +0 -7
- /package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/{GridLayout → AreaGridLayout}/types.d.ts +0 -0
package/index.js
CHANGED
|
@@ -1,134 +1,138 @@
|
|
|
1
1
|
import { a, D, M } from "./components/areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
2
|
-
import { M as M2, a as a2 } from "./contexts/ModalContext/index.
|
|
2
|
+
import { M as M2, a as a2 } from "./contexts/ModalContext/index.dee85a61.js";
|
|
3
3
|
import { R } from "./contexts/RHFormContext/index.fe175bab.js";
|
|
4
4
|
import "@m4l/core";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-hook-form";
|
|
7
7
|
import "@mui/material";
|
|
8
|
-
import { R as R2, g } from "./components/hook-form/RHFAutocomplete/index.
|
|
8
|
+
import { R as R2, g } from "./components/hook-form/RHFAutocomplete/index.ac2b1fae.js";
|
|
9
9
|
import { I } from "./components/Image/index.c18ebf5a.js";
|
|
10
10
|
import "react/jsx-runtime";
|
|
11
11
|
import "clsx";
|
|
12
12
|
import { T } from "./components/mui_extended/Typography/index.443590d6.js";
|
|
13
|
-
import { I as I2 } from "./components/Icon/index.
|
|
14
|
-
import { I as I3 } from "./components/mui_extended/IconButton/index.
|
|
13
|
+
import { I as I2 } from "./components/Icon/index.ecb63e65.js";
|
|
14
|
+
import { I as I3 } from "./components/mui_extended/IconButton/index.fc5b7c2d.js";
|
|
15
15
|
import "@m4l/graphics";
|
|
16
|
-
import { A } from "./components/mui_extended/Accordion/index.
|
|
16
|
+
import { A } from "./components/mui_extended/Accordion/index.12b1339a.js";
|
|
17
17
|
import { A as A2 } from "./components/mui_extended/Avatar/index.75e6ed57.js";
|
|
18
18
|
import "react-router-dom";
|
|
19
19
|
import "@mui/material/Button";
|
|
20
|
-
import { B, I as I4, L } from "./components/mui_extended/Button/index.
|
|
20
|
+
import { B, I as I4, L } from "./components/mui_extended/Button/index.4288f9fc.js";
|
|
21
|
+
import { B as B2 } from "./components/mui_extended/Badge/index.8c2b8b66.js";
|
|
21
22
|
import "@mui/lab";
|
|
22
23
|
import { P } from "./components/mui_extended/Popover/index.9f35d0eb.js";
|
|
23
|
-
import { M as M3 } from "./components/mui_extended/MenuActions/index.
|
|
24
|
-
import { P as P2, g as g2 } from "./components/mui_extended/Pager/index.
|
|
24
|
+
import { M as M3 } from "./components/mui_extended/MenuActions/index.f5b1c022.js";
|
|
25
|
+
import { P as P2, g as g2 } from "./components/mui_extended/Pager/index.435af0df.js";
|
|
25
26
|
import { T as T2 } from "./components/mui_extended/Tab/index.9e2f6e34.js";
|
|
26
27
|
import { T as T3 } from "./components/mui_extended/Tooltip/index.5a795dcd.js";
|
|
27
|
-
import { H, e } from "./components/HelperText/index.
|
|
28
|
+
import { H, e } from "./components/HelperText/index.ef31df1f.js";
|
|
28
29
|
import "lodash/debounce";
|
|
29
|
-
import { R as R3, g as g3 } from "./components/hook-form/RHFAutocompleteAsync/index.
|
|
30
|
-
import { R as R4 } from "./components/hook-form/RHFCheckbox/index.
|
|
30
|
+
import { R as R3, g as g3 } from "./components/hook-form/RHFAutocompleteAsync/index.8b4ccc8d.js";
|
|
31
|
+
import { R as R4 } from "./components/hook-form/RHFCheckbox/index.acef119c.js";
|
|
31
32
|
import "@mui/x-date-pickers";
|
|
32
|
-
import { R as R5 } from "./components/hook-form/RHFDateTime/index.
|
|
33
|
-
import { b, c, a as a3, R as R6, d } from "./components/hook-form/RHFTextField/index.
|
|
34
|
-
import { R as R7 } from "./components/hook-form/RHFPeriod/index.
|
|
35
|
-
import { P as P3, g as g4 } from "./components/Period/index.
|
|
36
|
-
import { A as A3, d as d2, g as g5 } from "./components/CommonActions/components/Actions/index.
|
|
37
|
-
import "./react-draggable.
|
|
38
|
-
import {
|
|
39
|
-
import
|
|
40
|
-
import "./components/modal/index.1b25b61d.js";
|
|
33
|
+
import { R as R5 } from "./components/hook-form/RHFDateTime/index.5b080342.js";
|
|
34
|
+
import { b, c, a as a3, R as R6, d } from "./components/hook-form/RHFTextField/index.e751dca7.js";
|
|
35
|
+
import { R as R7 } from "./components/hook-form/RHFPeriod/index.5304e3bd.js";
|
|
36
|
+
import { P as P3, g as g4 } from "./components/Period/index.711db043.js";
|
|
37
|
+
import { A as A3, d as d2, g as g5 } from "./components/CommonActions/components/Actions/index.3eba9d91.js";
|
|
38
|
+
import "./react-draggable.7abb5d0a.js";
|
|
39
|
+
import { R as R8 } from "./components/Resizeable/index.9a9c79a4.js";
|
|
40
|
+
import "./components/modal/index.a0978193.js";
|
|
41
41
|
import "zustand";
|
|
42
|
-
import { A as A4, a as a4 } from "./components/areas/contexts/AreasContext/index.
|
|
43
|
-
import { A as A5 } from "./components/areas/components/AreasAdmin/index.
|
|
42
|
+
import { A as A4, a as a4 } from "./components/areas/contexts/AreasContext/index.c8147e8e.js";
|
|
43
|
+
import { A as A5 } from "./components/areas/components/AreasAdmin/index.cc4cbf56.js";
|
|
44
44
|
import "zustand/shallow";
|
|
45
45
|
import { S } from "./components/ScrollBar/index.bbe48f4d.js";
|
|
46
|
-
import { A as A6 } from "./components/areas/components/AreasViewer/index.
|
|
47
|
-
import { L as L2 } from "./components/LinearProgressIndeterminate/index.
|
|
46
|
+
import { A as A6 } from "./components/areas/components/AreasViewer/index.9c2aaaeb.js";
|
|
47
|
+
import { L as L2 } from "./components/LinearProgressIndeterminate/index.60dabc06.js";
|
|
48
48
|
import { a as a5, W } from "./components/areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
49
49
|
import "lodash/isString";
|
|
50
50
|
import "react-dropzone";
|
|
51
|
-
import { R as R9 } from "./components/hook-form/RHFUpload/index.
|
|
51
|
+
import { R as R9 } from "./components/hook-form/RHFUpload/index.25db0511.js";
|
|
52
52
|
import { I as I5 } from "./components/animate/index.1f8eadd4.js";
|
|
53
53
|
import "framer-motion";
|
|
54
54
|
import "@mui/material/styles";
|
|
55
55
|
import { L as L3 } from "./components/animate/LoadingScreen/index.1d0c4307.js";
|
|
56
56
|
import { P as P4 } from "./components/animate/PropagateLoader/index.7fab43c8.js";
|
|
57
|
-
import { D as D2, N, T as T4, c as c2, d as
|
|
57
|
+
import { D as D2, N, T as T4, c as c2, d as d3, b as b2, a as a6, g as g6 } from "./components/DataGrid/index.545b492f.js";
|
|
58
58
|
import "react-dnd";
|
|
59
59
|
import "react-dnd-html5-backend";
|
|
60
|
-
import { D as D3, g as
|
|
60
|
+
import { D as D3, g as g7 } from "./components/DynamicFilter/index.d7be0f37.js";
|
|
61
61
|
import "yup";
|
|
62
|
-
import {
|
|
63
|
-
import
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
62
|
+
import { G } from "./components/GridLayout/index.4ba3767a.js";
|
|
63
|
+
import "lodash";
|
|
64
|
+
import { L as L4 } from "./components/LanguagePopover/index.0023d069.js";
|
|
65
|
+
import { N as N2 } from "./components/NavLink/index.cd92eceb.js";
|
|
66
|
+
import { N as N3, d as d4, g as g8 } from "./components/NoItemSelected/index.23dfc897.js";
|
|
67
|
+
import { O, d as d5, g as g9 } from "./components/ObjectLogs/index.f174c542.js";
|
|
66
68
|
import "./react-json-view.57125fcf.js";
|
|
67
|
-
import { P as P5 } from "./components/PaperForm/index.
|
|
69
|
+
import { P as P5 } from "./components/PaperForm/index.1bd86ee5.js";
|
|
68
70
|
import { H as H2 } from "./components/Page/index.4237c241.js";
|
|
69
71
|
import { P as P6 } from "./components/PropertyValue/index.8a1adf3e.js";
|
|
70
72
|
import { S as S2 } from "./components/SplitLayout/index.9ef430f6.js";
|
|
71
73
|
import "./react-splitter-layout.8b1655c8.js";
|
|
72
|
-
import { S as S3 } from "./components/SideBar/index.
|
|
73
|
-
import { A as A7 } from "./components/AppBar/index.
|
|
74
|
-
import { A as A8 } from "./components/AccountPopover/index.
|
|
74
|
+
import { S as S3 } from "./components/SideBar/index.c5ce0bad.js";
|
|
75
|
+
import { A as A7 } from "./components/AppBar/index.71b38ee9.js";
|
|
76
|
+
import { A as A8 } from "./components/AccountPopover/index.3a79c395.js";
|
|
75
77
|
import { v } from "./components/animate/variants/fade.b561c0fc.js";
|
|
76
78
|
import { v as v2 } from "./components/animate/variants/bounce.784aaaaa.js";
|
|
77
79
|
import { v as v3 } from "./components/animate/variants/container.11f82b76.js";
|
|
78
80
|
import { v as v4, a as a7, b as b3 } from "./components/animate/variants/transition.bd46b9ce.js";
|
|
79
|
-
import { M as
|
|
80
|
-
import { M as
|
|
81
|
+
import { M as M4 } from "./components/animate/MotionContainer/index.8d9f9d80.js";
|
|
82
|
+
import { M as M5 } from "./components/animate/MotionLazyContainer/index.572dd012.js";
|
|
81
83
|
import { u } from "./components/areas/hooks/useDynamicMFParameters/index.e52c5392.js";
|
|
82
84
|
import { u as u2 } from "./components/areas/hooks/useWindowToolsMF/index.b7afaf88.js";
|
|
83
|
-
import { A as A9, D as D4, L as L5, a as a8, g as
|
|
85
|
+
import { A as A9, D as D4, L as L5, a as a8, g as g10 } from "./components/areas/dictionary.afb7e3d9.js";
|
|
84
86
|
import { R as R10 } from "./components/hook-form/RHFMultiCheckbox/index.2680b3b6.js";
|
|
85
87
|
import { R as R11 } from "./components/hook-form/RHFSelect/index.b6ca8bb2.js";
|
|
86
88
|
import { R as R12 } from "./components/hook-form/RHFRadioGroup/index.b3335e13.js";
|
|
87
|
-
import { B as
|
|
88
|
-
import { B as
|
|
89
|
+
import { B as B3 } from "./components/mui_extended/BoxIcon/index.e638ecc8.js";
|
|
90
|
+
import { B as B4 } from "./components/mui_extended/Breadcrumbs/index.5e37d903.js";
|
|
89
91
|
import { C } from "./components/mui_extended/CircularProgress/index.ad569afd.js";
|
|
90
92
|
import { L as L6 } from "./components/mui_extended/LinearProgress/index.c92b9ba9.js";
|
|
91
93
|
import { L as L7 } from "./components/mui_extended/LinkWithRoute/index.16436ab8.js";
|
|
92
|
-
import { B as
|
|
93
|
-
import { D as D5, g as
|
|
94
|
-
import { U, g as
|
|
95
|
-
import { P as P7, g as
|
|
96
|
-
import { C as C2, F, P as P8, g as
|
|
97
|
-
import { P as P9, g as
|
|
94
|
+
import { B as B5 } from "./components/formatters/BooleanFormatter/index.5268b024.js";
|
|
95
|
+
import { D as D5, g as g11 } from "./components/formatters/DateFormatter/index.578a9f53.js";
|
|
96
|
+
import { U, g as g12 } from "./components/formatters/UncertaintyFormatter/index.08e1b79f.js";
|
|
97
|
+
import { P as P7, g as g13 } from "./components/formatters/PointsFormatter/index.80a4e414.js";
|
|
98
|
+
import { C as C2, F, P as P8, g as g14, a as a9, b as b4 } from "./components/formatters/index.137169d8.js";
|
|
99
|
+
import { P as P9, g as g15 } from "./components/formatters/PriceFormatter/index.83cbe7be.js";
|
|
98
100
|
import { c as c3 } from "./components/DataGrid/formatters/columnUncertaintyFormatter/index.cae2057a.js";
|
|
99
101
|
import { c as c4 } from "./components/DataGrid/formatters/columnPointsFormatter/index.5e645334.js";
|
|
100
102
|
import { c as c5 } from "./components/DataGrid/formatters/columnNestedValueFormatter/index.f68ef4e1.js";
|
|
101
103
|
import { c as c6 } from "./components/DataGrid/formatters/columnPriceFormatter/index.e612fda3.js";
|
|
102
|
-
import { A as A10 } from "./components/CommonActions/components/ActionCancel/index.
|
|
103
|
-
import { A as A11 } from "./components/CommonActions/components/ActionIntro/index.
|
|
104
|
-
import { A as A12 } from "./components/CommonActions/components/ActionFormCancel/index.
|
|
105
|
-
import { A as A13 } from "./components/CommonActions/components/ActionFormIntro/index.
|
|
106
|
-
import { D as D6 } from "./components/DraggableWindow/index.
|
|
104
|
+
import { A as A10 } from "./components/CommonActions/components/ActionCancel/index.b748a38e.js";
|
|
105
|
+
import { A as A11 } from "./components/CommonActions/components/ActionIntro/index.a7d92e66.js";
|
|
106
|
+
import { A as A12 } from "./components/CommonActions/components/ActionFormCancel/index.27ad09e1.js";
|
|
107
|
+
import { A as A13 } from "./components/CommonActions/components/ActionFormIntro/index.2556f054.js";
|
|
108
|
+
import { D as D6 } from "./components/DraggableWindow/index.c702d3f2.js";
|
|
109
|
+
import { R as R13, a as a10, b as b5, c as c7 } from "./components/GridLayout/Responsive/index.a12a8cec.js";
|
|
110
|
+
import { W as W2 } from "./components/GridLayout/WidthProvider/index.8ff65909.js";
|
|
107
111
|
import { L as L8 } from "./components/Loadable/index.e994fc3e.js";
|
|
108
|
-
import {
|
|
109
|
-
import { W as W3 } from "./components/modal/
|
|
112
|
+
import { M as M6, d as d6, g as g16 } from "./components/ModalDialog/index.d880e685.js";
|
|
113
|
+
import { W as W3 } from "./components/modal/WindowConfirm.cb37bc58.js";
|
|
114
|
+
import { W as W4 } from "./components/modal/WindowBase.850ea31a.js";
|
|
110
115
|
import { S as S4 } from "./components/ScrollToTop/index.e06f98f6.js";
|
|
111
116
|
import { u as u3 } from "./hooks/useFormAddEdit/index.15de3ba8.js";
|
|
112
|
-
import { u as u4 } from "./hooks/useModal/index.
|
|
117
|
+
import { u as u4 } from "./hooks/useModal/index.de522a10.js";
|
|
113
118
|
import { L as L9 } from "./assets/Logo/index.228dcb5a.js";
|
|
114
119
|
import "zustand/middleware/immer";
|
|
115
120
|
import "@hookform/resolvers/yup";
|
|
116
121
|
import "@mui/base";
|
|
117
122
|
import "./test/constants_no_mock.86c553a9.js";
|
|
118
|
-
import "./utils/index.
|
|
123
|
+
import "./utils/index.c43a95f4.js";
|
|
119
124
|
import "prop-types";
|
|
120
125
|
import "react-dom";
|
|
121
|
-
import "./
|
|
122
|
-
import "./react-resizable.b6f8e04a.js";
|
|
126
|
+
import "./react-resizable.ba08699a.js";
|
|
123
127
|
import "zustand/middleware";
|
|
124
|
-
import "
|
|
125
|
-
import "./components/areas/hooks/useAreas/index.40917e99.js";
|
|
128
|
+
import "./components/areas/hooks/useAreas/index.3406a6cb.js";
|
|
126
129
|
import "./components/areas/constants.66529246.js";
|
|
130
|
+
import "./components/areas/icons.8266ccc8.js";
|
|
127
131
|
import "simplebar-react";
|
|
128
132
|
import "simplebar/dist/simplebar.min.css?used";
|
|
129
|
-
import "react-grid-layout";
|
|
130
133
|
import "./react-spinners.342a6578.js";
|
|
131
134
|
import "./react-data-grid.d46d625e.js";
|
|
135
|
+
import "./node_modules.d73a220d.js";
|
|
132
136
|
import "./commonjs.565e6834.js";
|
|
133
137
|
import "react-helmet-async";
|
|
134
138
|
import "./components/WrapperComponent/index.5e872594.js";
|
|
@@ -147,9 +151,10 @@ export {
|
|
|
147
151
|
a4 as AreasProvider,
|
|
148
152
|
A6 as AreasViewer,
|
|
149
153
|
A2 as Avatar,
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
B3 as
|
|
154
|
+
B2 as Badge,
|
|
155
|
+
B5 as BooleanFormatter,
|
|
156
|
+
B3 as BoxIcon,
|
|
157
|
+
B4 as Breadcrumbs,
|
|
153
158
|
B as Button,
|
|
154
159
|
C as CircularProgress,
|
|
155
160
|
C2 as ConcatenatedFormatter,
|
|
@@ -161,6 +166,7 @@ export {
|
|
|
161
166
|
a as DynamicMFParmsContext,
|
|
162
167
|
D as DynamicMFParmsProvider,
|
|
163
168
|
F as FORMATTER_DICTIONARY,
|
|
169
|
+
G as GridLayout,
|
|
164
170
|
H2 as HelmetPage,
|
|
165
171
|
H as HelperText,
|
|
166
172
|
I2 as Icon,
|
|
@@ -180,10 +186,10 @@ export {
|
|
|
180
186
|
M as MemonizedDynamicMFParmsProvider,
|
|
181
187
|
M3 as MenuActions,
|
|
182
188
|
M2 as ModalContext,
|
|
183
|
-
|
|
189
|
+
M6 as ModalDialog,
|
|
184
190
|
a2 as ModalProvider,
|
|
185
|
-
|
|
186
|
-
|
|
191
|
+
M4 as MotionContainer,
|
|
192
|
+
M5 as MotionLazyContainer,
|
|
187
193
|
N2 as NavLink,
|
|
188
194
|
N3 as NoItemSelected,
|
|
189
195
|
N as NumberEditor,
|
|
@@ -213,6 +219,7 @@ export {
|
|
|
213
219
|
R9 as RHFUploadImage,
|
|
214
220
|
R as RHFormProvider,
|
|
215
221
|
R8 as ResizeableWindow,
|
|
222
|
+
R13 as Responsive,
|
|
216
223
|
S as ScrollBar,
|
|
217
224
|
S4 as ScrollToTop,
|
|
218
225
|
S3 as SideBar,
|
|
@@ -222,42 +229,46 @@ export {
|
|
|
222
229
|
T3 as Tooltip,
|
|
223
230
|
T as Typography,
|
|
224
231
|
U as UncertaintyFormatter,
|
|
225
|
-
|
|
226
|
-
|
|
232
|
+
W2 as WidthProvider,
|
|
233
|
+
W4 as WindowBase,
|
|
234
|
+
W3 as WindowConfirm,
|
|
227
235
|
a5 as WindowToolsMFContext,
|
|
228
236
|
W as WindowToolsMFProvider,
|
|
237
|
+
a10 as addLayoutItemToBreakPointIfNoExists,
|
|
238
|
+
b5 as addLayoutItemToBreakPoints,
|
|
239
|
+
c7 as cloneLayouts,
|
|
229
240
|
c2 as columnBooleanFormatter,
|
|
230
|
-
|
|
241
|
+
d3 as columnConcatenatedValuesFormatter,
|
|
231
242
|
b2 as columnDateFormatter,
|
|
232
243
|
c5 as columnNestedValueFormatter,
|
|
233
244
|
c4 as columnPointsFormatter,
|
|
234
245
|
c6 as columnPriceFormatter,
|
|
235
246
|
c3 as columnUncertaintyFormatter,
|
|
236
247
|
d2 as defaultCommonActionsDictionary,
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
248
|
+
d6 as defaultModalDialogDictionary,
|
|
249
|
+
d4 as defaultNoItemSelectedDictionary,
|
|
250
|
+
d5 as defaultObjectLogDictionary,
|
|
240
251
|
e as errorLabelClasses,
|
|
241
252
|
a8 as getAreasComponentsDictionary,
|
|
242
|
-
|
|
253
|
+
g10 as getAreasDictionary,
|
|
243
254
|
g5 as getCommonActionsDictionary,
|
|
244
255
|
a6 as getDataGridRowsFromSet,
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
256
|
+
g7 as getDynamicFilterComponentsDictionary,
|
|
257
|
+
g14 as getFormatConcatenated,
|
|
258
|
+
g11 as getFormatDate,
|
|
248
259
|
a9 as getFormatPeriod,
|
|
249
|
-
|
|
250
|
-
|
|
260
|
+
g13 as getFormatPoints,
|
|
261
|
+
g15 as getFormatPrice,
|
|
251
262
|
b4 as getFormattersComponentsDictionary,
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
263
|
+
g6 as getGridComponentsDictionary,
|
|
264
|
+
g16 as getModalDialogComponentsDictionary,
|
|
265
|
+
g8 as getNoItemSelectedComponentsDictionary,
|
|
266
|
+
g9 as getObjectLogsComponentsDictionary,
|
|
256
267
|
g2 as getPagerComponentsDictionary,
|
|
257
268
|
g4 as getPeriodComponetsDictionary,
|
|
258
269
|
g3 as getRHFAutocompleteAsyncComponentsDictionary,
|
|
259
270
|
g as getRHFAutocompleteComponentsDictionary,
|
|
260
|
-
|
|
271
|
+
g12 as getUncertaintyFormat,
|
|
261
272
|
u as useDynamicMFParametersStore,
|
|
262
273
|
u3 as useFormAddEdit,
|
|
263
274
|
u4 as useModal,
|
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
var getOwnPropertyNames = Object.getOwnPropertyNames, getOwnPropertySymbols = Object.getOwnPropertySymbols;
|
|
2
|
+
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
3
|
+
function combineComparators(comparatorA, comparatorB) {
|
|
4
|
+
return function isEqual(a, b, state) {
|
|
5
|
+
return comparatorA(a, b, state) && comparatorB(a, b, state);
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
function createIsCircular(areItemsEqual) {
|
|
9
|
+
return function isCircular(a, b, state) {
|
|
10
|
+
if (!a || !b || typeof a !== "object" || typeof b !== "object") {
|
|
11
|
+
return areItemsEqual(a, b, state);
|
|
12
|
+
}
|
|
13
|
+
var cache = state.cache;
|
|
14
|
+
var cachedA = cache.get(a);
|
|
15
|
+
var cachedB = cache.get(b);
|
|
16
|
+
if (cachedA && cachedB) {
|
|
17
|
+
return cachedA === b && cachedB === a;
|
|
18
|
+
}
|
|
19
|
+
cache.set(a, b);
|
|
20
|
+
cache.set(b, a);
|
|
21
|
+
var result = areItemsEqual(a, b, state);
|
|
22
|
+
cache.delete(a);
|
|
23
|
+
cache.delete(b);
|
|
24
|
+
return result;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function getStrictProperties(object) {
|
|
28
|
+
return getOwnPropertyNames(object).concat(getOwnPropertySymbols(object));
|
|
29
|
+
}
|
|
30
|
+
var hasOwn = Object.hasOwn || function(object, property) {
|
|
31
|
+
return hasOwnProperty.call(object, property);
|
|
32
|
+
};
|
|
33
|
+
function sameValueZeroEqual(a, b) {
|
|
34
|
+
return a || b ? a === b : a === b || a !== a && b !== b;
|
|
35
|
+
}
|
|
36
|
+
var OWNER = "_owner";
|
|
37
|
+
var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor, keys = Object.keys;
|
|
38
|
+
function areArraysEqual(a, b, state) {
|
|
39
|
+
var index = a.length;
|
|
40
|
+
if (b.length !== index) {
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
while (index-- > 0) {
|
|
44
|
+
if (!state.equals(a[index], b[index], index, index, a, b, state)) {
|
|
45
|
+
return false;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
function areDatesEqual(a, b) {
|
|
51
|
+
return sameValueZeroEqual(a.getTime(), b.getTime());
|
|
52
|
+
}
|
|
53
|
+
function areMapsEqual(a, b, state) {
|
|
54
|
+
if (a.size !== b.size) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
var matchedIndices = {};
|
|
58
|
+
var aIterable = a.entries();
|
|
59
|
+
var index = 0;
|
|
60
|
+
var aResult;
|
|
61
|
+
var bResult;
|
|
62
|
+
while (aResult = aIterable.next()) {
|
|
63
|
+
if (aResult.done) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
var bIterable = b.entries();
|
|
67
|
+
var hasMatch = false;
|
|
68
|
+
var matchIndex = 0;
|
|
69
|
+
while (bResult = bIterable.next()) {
|
|
70
|
+
if (bResult.done) {
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
var _a = aResult.value, aKey = _a[0], aValue = _a[1];
|
|
74
|
+
var _b = bResult.value, bKey = _b[0], bValue = _b[1];
|
|
75
|
+
if (!hasMatch && !matchedIndices[matchIndex] && (hasMatch = state.equals(aKey, bKey, index, matchIndex, a, b, state) && state.equals(aValue, bValue, aKey, bKey, a, b, state))) {
|
|
76
|
+
matchedIndices[matchIndex] = true;
|
|
77
|
+
}
|
|
78
|
+
matchIndex++;
|
|
79
|
+
}
|
|
80
|
+
if (!hasMatch) {
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
index++;
|
|
84
|
+
}
|
|
85
|
+
return true;
|
|
86
|
+
}
|
|
87
|
+
function areObjectsEqual(a, b, state) {
|
|
88
|
+
var properties = keys(a);
|
|
89
|
+
var index = properties.length;
|
|
90
|
+
if (keys(b).length !== index) {
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
var property;
|
|
94
|
+
while (index-- > 0) {
|
|
95
|
+
property = properties[index];
|
|
96
|
+
if (property === OWNER && (a.$$typeof || b.$$typeof) && a.$$typeof !== b.$$typeof) {
|
|
97
|
+
return false;
|
|
98
|
+
}
|
|
99
|
+
if (!hasOwn(b, property) || !state.equals(a[property], b[property], property, property, a, b, state)) {
|
|
100
|
+
return false;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
return true;
|
|
104
|
+
}
|
|
105
|
+
function areObjectsEqualStrict(a, b, state) {
|
|
106
|
+
var properties = getStrictProperties(a);
|
|
107
|
+
var index = properties.length;
|
|
108
|
+
if (getStrictProperties(b).length !== index) {
|
|
109
|
+
return false;
|
|
110
|
+
}
|
|
111
|
+
var property;
|
|
112
|
+
var descriptorA;
|
|
113
|
+
var descriptorB;
|
|
114
|
+
while (index-- > 0) {
|
|
115
|
+
property = properties[index];
|
|
116
|
+
if (property === OWNER && (a.$$typeof || b.$$typeof) && a.$$typeof !== b.$$typeof) {
|
|
117
|
+
return false;
|
|
118
|
+
}
|
|
119
|
+
if (!hasOwn(b, property)) {
|
|
120
|
+
return false;
|
|
121
|
+
}
|
|
122
|
+
if (!state.equals(a[property], b[property], property, property, a, b, state)) {
|
|
123
|
+
return false;
|
|
124
|
+
}
|
|
125
|
+
descriptorA = getOwnPropertyDescriptor(a, property);
|
|
126
|
+
descriptorB = getOwnPropertyDescriptor(b, property);
|
|
127
|
+
if ((descriptorA || descriptorB) && (!descriptorA || !descriptorB || descriptorA.configurable !== descriptorB.configurable || descriptorA.enumerable !== descriptorB.enumerable || descriptorA.writable !== descriptorB.writable)) {
|
|
128
|
+
return false;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
return true;
|
|
132
|
+
}
|
|
133
|
+
function arePrimitiveWrappersEqual(a, b) {
|
|
134
|
+
return sameValueZeroEqual(a.valueOf(), b.valueOf());
|
|
135
|
+
}
|
|
136
|
+
function areRegExpsEqual(a, b) {
|
|
137
|
+
return a.source === b.source && a.flags === b.flags;
|
|
138
|
+
}
|
|
139
|
+
function areSetsEqual(a, b, state) {
|
|
140
|
+
if (a.size !== b.size) {
|
|
141
|
+
return false;
|
|
142
|
+
}
|
|
143
|
+
var matchedIndices = {};
|
|
144
|
+
var aIterable = a.values();
|
|
145
|
+
var aResult;
|
|
146
|
+
var bResult;
|
|
147
|
+
while (aResult = aIterable.next()) {
|
|
148
|
+
if (aResult.done) {
|
|
149
|
+
break;
|
|
150
|
+
}
|
|
151
|
+
var bIterable = b.values();
|
|
152
|
+
var hasMatch = false;
|
|
153
|
+
var matchIndex = 0;
|
|
154
|
+
while (bResult = bIterable.next()) {
|
|
155
|
+
if (bResult.done) {
|
|
156
|
+
break;
|
|
157
|
+
}
|
|
158
|
+
if (!hasMatch && !matchedIndices[matchIndex] && (hasMatch = state.equals(aResult.value, bResult.value, aResult.value, bResult.value, a, b, state))) {
|
|
159
|
+
matchedIndices[matchIndex] = true;
|
|
160
|
+
}
|
|
161
|
+
matchIndex++;
|
|
162
|
+
}
|
|
163
|
+
if (!hasMatch) {
|
|
164
|
+
return false;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
return true;
|
|
168
|
+
}
|
|
169
|
+
function areTypedArraysEqual(a, b) {
|
|
170
|
+
var index = a.length;
|
|
171
|
+
if (b.length !== index) {
|
|
172
|
+
return false;
|
|
173
|
+
}
|
|
174
|
+
while (index-- > 0) {
|
|
175
|
+
if (a[index] !== b[index]) {
|
|
176
|
+
return false;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
return true;
|
|
180
|
+
}
|
|
181
|
+
var ARGUMENTS_TAG = "[object Arguments]";
|
|
182
|
+
var BOOLEAN_TAG = "[object Boolean]";
|
|
183
|
+
var DATE_TAG = "[object Date]";
|
|
184
|
+
var MAP_TAG = "[object Map]";
|
|
185
|
+
var NUMBER_TAG = "[object Number]";
|
|
186
|
+
var OBJECT_TAG = "[object Object]";
|
|
187
|
+
var REG_EXP_TAG = "[object RegExp]";
|
|
188
|
+
var SET_TAG = "[object Set]";
|
|
189
|
+
var STRING_TAG = "[object String]";
|
|
190
|
+
var isArray = Array.isArray;
|
|
191
|
+
var isTypedArray = typeof ArrayBuffer === "function" && ArrayBuffer.isView ? ArrayBuffer.isView : null;
|
|
192
|
+
var assign = Object.assign;
|
|
193
|
+
var getTag = Object.prototype.toString.call.bind(Object.prototype.toString);
|
|
194
|
+
function createEqualityComparator(_a) {
|
|
195
|
+
var areArraysEqual2 = _a.areArraysEqual, areDatesEqual2 = _a.areDatesEqual, areMapsEqual2 = _a.areMapsEqual, areObjectsEqual2 = _a.areObjectsEqual, arePrimitiveWrappersEqual2 = _a.arePrimitiveWrappersEqual, areRegExpsEqual2 = _a.areRegExpsEqual, areSetsEqual2 = _a.areSetsEqual, areTypedArraysEqual2 = _a.areTypedArraysEqual;
|
|
196
|
+
return function comparator(a, b, state) {
|
|
197
|
+
if (a === b) {
|
|
198
|
+
return true;
|
|
199
|
+
}
|
|
200
|
+
if (a == null || b == null || typeof a !== "object" || typeof b !== "object") {
|
|
201
|
+
return a !== a && b !== b;
|
|
202
|
+
}
|
|
203
|
+
var constructor = a.constructor;
|
|
204
|
+
if (constructor !== b.constructor) {
|
|
205
|
+
return false;
|
|
206
|
+
}
|
|
207
|
+
if (constructor === Object) {
|
|
208
|
+
return areObjectsEqual2(a, b, state);
|
|
209
|
+
}
|
|
210
|
+
if (isArray(a)) {
|
|
211
|
+
return areArraysEqual2(a, b, state);
|
|
212
|
+
}
|
|
213
|
+
if (isTypedArray != null && isTypedArray(a)) {
|
|
214
|
+
return areTypedArraysEqual2(a, b, state);
|
|
215
|
+
}
|
|
216
|
+
if (constructor === Date) {
|
|
217
|
+
return areDatesEqual2(a, b, state);
|
|
218
|
+
}
|
|
219
|
+
if (constructor === RegExp) {
|
|
220
|
+
return areRegExpsEqual2(a, b, state);
|
|
221
|
+
}
|
|
222
|
+
if (constructor === Map) {
|
|
223
|
+
return areMapsEqual2(a, b, state);
|
|
224
|
+
}
|
|
225
|
+
if (constructor === Set) {
|
|
226
|
+
return areSetsEqual2(a, b, state);
|
|
227
|
+
}
|
|
228
|
+
var tag = getTag(a);
|
|
229
|
+
if (tag === DATE_TAG) {
|
|
230
|
+
return areDatesEqual2(a, b, state);
|
|
231
|
+
}
|
|
232
|
+
if (tag === REG_EXP_TAG) {
|
|
233
|
+
return areRegExpsEqual2(a, b, state);
|
|
234
|
+
}
|
|
235
|
+
if (tag === MAP_TAG) {
|
|
236
|
+
return areMapsEqual2(a, b, state);
|
|
237
|
+
}
|
|
238
|
+
if (tag === SET_TAG) {
|
|
239
|
+
return areSetsEqual2(a, b, state);
|
|
240
|
+
}
|
|
241
|
+
if (tag === OBJECT_TAG) {
|
|
242
|
+
return typeof a.then !== "function" && typeof b.then !== "function" && areObjectsEqual2(a, b, state);
|
|
243
|
+
}
|
|
244
|
+
if (tag === ARGUMENTS_TAG) {
|
|
245
|
+
return areObjectsEqual2(a, b, state);
|
|
246
|
+
}
|
|
247
|
+
if (tag === BOOLEAN_TAG || tag === NUMBER_TAG || tag === STRING_TAG) {
|
|
248
|
+
return arePrimitiveWrappersEqual2(a, b, state);
|
|
249
|
+
}
|
|
250
|
+
return false;
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
function createEqualityComparatorConfig(_a) {
|
|
254
|
+
var circular = _a.circular, createCustomConfig = _a.createCustomConfig, strict = _a.strict;
|
|
255
|
+
var config = {
|
|
256
|
+
areArraysEqual: strict ? areObjectsEqualStrict : areArraysEqual,
|
|
257
|
+
areDatesEqual,
|
|
258
|
+
areMapsEqual: strict ? combineComparators(areMapsEqual, areObjectsEqualStrict) : areMapsEqual,
|
|
259
|
+
areObjectsEqual: strict ? areObjectsEqualStrict : areObjectsEqual,
|
|
260
|
+
arePrimitiveWrappersEqual,
|
|
261
|
+
areRegExpsEqual,
|
|
262
|
+
areSetsEqual: strict ? combineComparators(areSetsEqual, areObjectsEqualStrict) : areSetsEqual,
|
|
263
|
+
areTypedArraysEqual: strict ? areObjectsEqualStrict : areTypedArraysEqual
|
|
264
|
+
};
|
|
265
|
+
if (createCustomConfig) {
|
|
266
|
+
config = assign({}, config, createCustomConfig(config));
|
|
267
|
+
}
|
|
268
|
+
if (circular) {
|
|
269
|
+
var areArraysEqual$1 = createIsCircular(config.areArraysEqual);
|
|
270
|
+
var areMapsEqual$1 = createIsCircular(config.areMapsEqual);
|
|
271
|
+
var areObjectsEqual$1 = createIsCircular(config.areObjectsEqual);
|
|
272
|
+
var areSetsEqual$1 = createIsCircular(config.areSetsEqual);
|
|
273
|
+
config = assign({}, config, {
|
|
274
|
+
areArraysEqual: areArraysEqual$1,
|
|
275
|
+
areMapsEqual: areMapsEqual$1,
|
|
276
|
+
areObjectsEqual: areObjectsEqual$1,
|
|
277
|
+
areSetsEqual: areSetsEqual$1
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
return config;
|
|
281
|
+
}
|
|
282
|
+
function createInternalEqualityComparator(compare) {
|
|
283
|
+
return function(a, b, _indexOrKeyA, _indexOrKeyB, _parentA, _parentB, state) {
|
|
284
|
+
return compare(a, b, state);
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
function createIsEqual(_a) {
|
|
288
|
+
var circular = _a.circular, comparator = _a.comparator, createState = _a.createState, equals = _a.equals, strict = _a.strict;
|
|
289
|
+
if (createState) {
|
|
290
|
+
return function isEqual(a, b) {
|
|
291
|
+
var _a2 = createState(), _b = _a2.cache, cache = _b === void 0 ? circular ? /* @__PURE__ */ new WeakMap() : void 0 : _b, meta = _a2.meta;
|
|
292
|
+
return comparator(a, b, {
|
|
293
|
+
cache,
|
|
294
|
+
equals,
|
|
295
|
+
meta,
|
|
296
|
+
strict
|
|
297
|
+
});
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
if (circular) {
|
|
301
|
+
return function isEqual(a, b) {
|
|
302
|
+
return comparator(a, b, {
|
|
303
|
+
cache: /* @__PURE__ */ new WeakMap(),
|
|
304
|
+
equals,
|
|
305
|
+
meta: void 0,
|
|
306
|
+
strict
|
|
307
|
+
});
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
var state = {
|
|
311
|
+
cache: void 0,
|
|
312
|
+
equals,
|
|
313
|
+
meta: void 0,
|
|
314
|
+
strict
|
|
315
|
+
};
|
|
316
|
+
return function isEqual(a, b) {
|
|
317
|
+
return comparator(a, b, state);
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
var deepEqual = createCustomEqual();
|
|
321
|
+
createCustomEqual({ strict: true });
|
|
322
|
+
createCustomEqual({ circular: true });
|
|
323
|
+
createCustomEqual({
|
|
324
|
+
circular: true,
|
|
325
|
+
strict: true
|
|
326
|
+
});
|
|
327
|
+
createCustomEqual({
|
|
328
|
+
createInternalComparator: function() {
|
|
329
|
+
return sameValueZeroEqual;
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
createCustomEqual({
|
|
333
|
+
strict: true,
|
|
334
|
+
createInternalComparator: function() {
|
|
335
|
+
return sameValueZeroEqual;
|
|
336
|
+
}
|
|
337
|
+
});
|
|
338
|
+
createCustomEqual({
|
|
339
|
+
circular: true,
|
|
340
|
+
createInternalComparator: function() {
|
|
341
|
+
return sameValueZeroEqual;
|
|
342
|
+
}
|
|
343
|
+
});
|
|
344
|
+
createCustomEqual({
|
|
345
|
+
circular: true,
|
|
346
|
+
createInternalComparator: function() {
|
|
347
|
+
return sameValueZeroEqual;
|
|
348
|
+
},
|
|
349
|
+
strict: true
|
|
350
|
+
});
|
|
351
|
+
function createCustomEqual(options) {
|
|
352
|
+
if (options === void 0) {
|
|
353
|
+
options = {};
|
|
354
|
+
}
|
|
355
|
+
var _a = options.circular, circular = _a === void 0 ? false : _a, createCustomInternalComparator = options.createInternalComparator, createState = options.createState, _b = options.strict, strict = _b === void 0 ? false : _b;
|
|
356
|
+
var config = createEqualityComparatorConfig(options);
|
|
357
|
+
var comparator = createEqualityComparator(config);
|
|
358
|
+
var equals = createCustomInternalComparator ? createCustomInternalComparator(comparator) : createInternalEqualityComparator(comparator);
|
|
359
|
+
return createIsEqual({ circular, comparator, createState, equals, strict });
|
|
360
|
+
}
|
|
361
|
+
export {
|
|
362
|
+
deepEqual as d
|
|
363
|
+
};
|