@m4l/components 1.0.18 → 1.0.19
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/components/AccountPopover/{index.f2226cb9.js → index.9b044daa.js} +3 -3
- package/components/AppBar/{index.50d090b7.js → index.a0029a89.js} +4 -7
- package/components/CommonActions/components/ActionCancel/{index.609a78ca.js → index.cc077569.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.03a5915a.js → index.a446a103.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.34d569d1.js → index.a4d872e3.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.ebac0bc1.js → index.995a344b.js} +2 -2
- package/components/CommonActions/components/Actions/{index.258bf919.js → index.494c618b.js} +1 -4
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.e0dbec18.js → index.dca86907.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.671116f2.js → index.e86a7f66.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.f7b20493.js → index.373b1880.js} +1 -1
- package/components/DataGrid/{index.447c4e44.js → index.7524b3f5.js} +7 -23
- package/components/DataGrid/subcomponents/Actions/{index.aff74341.js → index.f5288cc6.js} +11 -54
- package/components/DragResizeWindow/{index.132406ef.js → index.04160a98.js} +2 -2
- package/components/DynamicFilter/{dictionary.80fc7baf.js → dictionary.ca734fa9.js} +2 -2
- package/components/DynamicFilter/index.0ec944c8.js +117 -0
- package/components/DynamicFilter/slots/{index.e2218307.js → index.bba3ba1e.js} +6 -6
- package/components/DynamicFilter/store/{index.b9c2fe0b.js → index.0cc464be.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.f0fe22f7.js → index.de673d55.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.30d89b6c.js → index.9c6bc54f.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.edd7ed6f.js → index.fc514b86.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.f926af49.js → index.db00ecae.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.2382297a.js → index.2a77b273.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.7b4dccf7.js → index.840bfab2.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.2258fceb.js → index.dfacda9b.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.82ca3e32.js → index.125b714c.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.f4457f31.js → index.9e2e9be9.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.ba70cf6a.js → index.fa9a7fa8.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.c7d72fb4.js → index.8d6b2af3.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.c2014303.js → index.3c2d4a23.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.895fbe45.js → index.89f18def.js} +2 -2
- package/components/FieldLabel/{index.9fd6697a.js → index.8dec5531.js} +4 -6
- package/components/GridLayout/{index.68d907d4.js → index.932b1f7a.js} +2 -160
- package/components/GridLayout/subcomponents/Griditem/{index.8955a794.js → index.27677da0.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.45cecca2.js → index.2bbbfe01.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.7050ac4f.js → index.0af78226.js} +1 -1
- package/components/HelperText/{index.09e80920.js → index.4934c100.js} +2 -5
- package/components/Icon/{index.5cf594aa.js → index.997ca9db.js} +4 -26
- package/components/Image/{index.19aa7ff5.js → index.54e91742.js} +2 -5
- package/components/LanguagePopover/{index.921efd11.js → index.4875286a.js} +4 -24
- package/components/LinearProgressIndeterminate/{index.ea9c8518.js → index.429c171a.js} +2 -4
- package/components/LoadingError/{index.427a569c.js → index.f9be29f1.js} +5 -8
- package/components/MFLoader/{index.12ccba1a.js → index.84bfb72b.js} +3 -5
- package/components/ModalDialog/{index.0dd5af28.js → index.c740247e.js} +3 -3
- package/components/NavLink/{index.ad039baf.js → index.7da464f6.js} +2 -5
- package/components/NoItemSelected/index.8267dd2b.js +52 -0
- package/components/ObjectLogs/{index.a3ed9816.js → index.d3c24da1.js} +9 -38
- package/components/PDFViewer/{index.35f68e67.js → index.ab3cfe38.js} +3 -5
- package/components/Page/{index.f4755eba.js → index.a2d2b98f.js} +1 -1
- package/components/PaperForm/{index.9ed65352.js → index.9d886148.js} +2 -41
- package/components/Period/{index.78867b45.js → index.d860a3be.js} +4 -45
- package/components/PrintingSystem/{index.a69a9d85.js → index.7fd5ffcf.js} +14 -16
- package/components/PrintingSystem/subcomponents/BodyNode/{index.528fcfbf.js → index.8389d56b.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.fbe87257.js → index.2b375c6a.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.f5adab1d.js → index.43e2ab84.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.f42ca7dc.js → index.34950c99.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.041b9cff.js → index.be0aabc4.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.a8140332.js → index.1149d198.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.aabde2bb.js → index.5c60d9fe.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.7f75ca46.js → index.c5d095bb.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.61babb47.js → index.bee3139e.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.4d0e67a3.js → index.8af6a690.js} +1 -1
- package/components/PropertyValue/{index.4f0da54d.js → index.9ad8e8f9.js} +4 -6
- package/components/Resizeable/index.6e2eff97.js +20 -0
- package/components/ScrollBar/index.8de83634.js +33 -0
- package/components/SideBar/{index.0298ead4.js → index.49ad5aaa.js} +6 -128
- package/components/SplitLayout/{index.15756f0f.js → index.ec8d1a77.js} +2 -24
- package/components/ToastContainer/{index.e6d48658.js → index.193d0169.js} +3 -5
- package/components/animate/LoadingScreen/{index.779690a7.js → index.ff08276e.js} +2 -19
- package/components/animate/{index.b8497385.js → index.4edabfc2.js} +2 -39
- package/components/areas/components/AreasAdmin/{index.5af510af.js → index.af6a6611.js} +16 -52
- package/components/areas/components/AreasViewer/{index.343f0452.js → index.0527c2be.js} +18 -247
- package/components/areas/contexts/AreasContext/{index.91e1acfc.js → index.07a979ba.js} +4 -4
- package/components/areas/hooks/useAreas/{index.98ea6788.js → index.d27f97ee.js} +1 -1
- package/components/commercial/AppBarCommercial/{index.cbd55cf8.js → index.7685e1d4.js} +2 -4
- package/components/commercial/SectionCommercial/{index.d22ebbd5.js → index.e9a04cb5.js} +2 -5
- package/components/commercial/TopBar/{index.df994f5f.js → index.e1f7f962.js} +6 -10
- package/components/commercial/{index.73cf794c.js → index.302b64c1.js} +3 -6
- package/components/formatters/BooleanFormatter/{index.699e0aee.js → index.1b4ca0c5.js} +2 -2
- package/components/formatters/{index.8abccc30.js → index.b317b35a.js} +3 -5
- package/components/hook-form/HelperError/{index.c0109d5b.js → index.ab4c23c3.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.1efaddc9.js → index.1a95aa1d.js} +6 -14
- package/components/hook-form/RHFAutocompleteAsync/{index.2f123535.js → index.4d327235.js} +2 -32
- package/components/hook-form/RHFCheckbox/{index.a9cf6faf.js → index.b79256e3.js} +4 -22
- package/components/hook-form/RHFColorPicker/{index.963323e4.js → index.84b77d99.js} +7 -9
- package/components/hook-form/RHFDateTime/{index.b3d0b2de.js → index.ef88c356.js} +5 -7
- package/components/hook-form/RHFPeriod/{index.d1f45273.js → index.7017b940.js} +4 -13
- package/components/hook-form/RHFTextField/{index.97ba17ae.js → index.b959b63e.js} +4 -34
- package/components/hook-form/RHFUpload/{index.7fd23b2a.js → index.2aa4dcee.js} +6 -14
- package/components/maps/components/GpsTools/{index.0c6dff10.js → index.c825dd0d.js} +21 -75
- package/components/maps/components/Map/{index.50447504.js → index.b9c876b4.js} +13 -13
- package/components/modal/{WindowBase.bf119f28.js → WindowBase.5de22950.js} +3 -3
- package/components/modal/{WindowConfirm.b70c4b0f.js → WindowConfirm.7059a58b.js} +6 -6
- package/components/mui_extended/Accordion/{index.427d380a.js → index.b7f847a7.js} +4 -25
- package/components/mui_extended/Avatar/{index.fb9ad158.js → index.8d873242.js} +2 -4
- package/components/mui_extended/Badge/{index.8beaeefc.js → index.1729018e.js} +1 -5
- package/components/mui_extended/Button/{index.d742e9ee.js → index.86ad58f1.js} +4 -16
- package/components/mui_extended/{CheckBox.84c57702.js → CheckBox.bc4e775d.js} +3 -5
- package/components/mui_extended/IconButton/{index.ee45bba2.js → index.6e48e3fc.js} +2 -5
- package/components/mui_extended/MenuActions/{index.06aaa091.js → index.3979e313.js} +8 -17
- package/components/mui_extended/Pager/{index.c77a7694.js → index.509c6c23.js} +4 -7
- package/components/mui_extended/Popover/{index.2348fc4f.js → index.bc28f6d4.js} +3 -5
- package/components/mui_extended/Stack/{index.fe363ca5.js → index.ea662d2e.js} +2 -4
- package/components/mui_extended/Tab/{index.e911930f.js → index.6dce21fc.js} +2 -14
- package/components/mui_extended/ToggleButton/{index.b834f5f0.js → index.eb60a2ff.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.50ce11e4.js → index.c34eeb98.js} +1 -1
- package/components/mui_extended/Typography/{index.642798f1.js → index.116902dc.js} +1 -4
- package/components/popups/PopupsProvider/{index.7ed83556.js → index.28a77d4f.js} +1 -1
- package/components/popups/PopupsViewer/{index.9b734a0a.js → index.237e7f33.js} +4 -4
- package/contexts/ModalContext/{index.ad1fb73b.js → index.f8d78543.js} +1 -1
- package/contexts/RHFormContext/{index.bf3a2812.js → index.78938329.js} +2 -4
- package/hooks/useFormAddEdit/{index.3468c18c.js → index.cb45a92c.js} +2 -2
- package/hooks/useModal/{index.2003c854.js → index.81061efe.js} +1 -1
- package/hooks/useTab/{index.8d1a6e63.js → index.05151df5.js} +1 -1
- package/index.js +135 -133
- package/package.json +1 -1
- package/{components/DynamicFilter/index.a7cb7710.js → styles/DynamicFilter.c74cdedd.js} +2 -117
- package/styles/index.2e92ddf7.js +1444 -0
- package/components/NoItemSelected/index.d10603d7.js +0 -71
- package/components/Resizeable/index.4f75c0b5.js +0 -124
- package/components/ScrollBar/index.21bc5025.js +0 -104
package/index.js
CHANGED
|
@@ -1,133 +1,140 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { D, c, g } from "./components/DataGrid/index.7524b3f5.js";
|
|
2
2
|
import { N, T } from "./components/DataGrid/subcomponents/editors/TextEditor/index.3f0d9e28.js";
|
|
3
|
-
import { N as N2 } from "./components/NavLink/index.
|
|
3
|
+
import { N as N2 } from "./components/NavLink/index.7da464f6.js";
|
|
4
4
|
import { S } from "./components/ScrollToTop/index.e06f98f6.js";
|
|
5
|
-
import { A, I } from "./components/animate/index.
|
|
5
|
+
import { A, I } from "./components/animate/index.4edabfc2.js";
|
|
6
6
|
import { M } from "./components/animate/MotionContainer/index.3032bd8f.js";
|
|
7
7
|
import { M as M2 } from "./components/animate/MotionLazyContainer/index.d2902a6c.js";
|
|
8
|
-
import { L } from "./components/animate/LoadingScreen/index.
|
|
8
|
+
import { L } from "./components/animate/LoadingScreen/index.ff08276e.js";
|
|
9
9
|
import { P } from "./components/animate/PropagateLoader/index.a9da8d00.js";
|
|
10
10
|
import { v } from "./components/animate/variants/fade.b561c0fc.js";
|
|
11
11
|
import { v as v2 } from "./components/animate/variants/bounce.784aaaaa.js";
|
|
12
12
|
import { v as v3 } from "./components/animate/variants/container.11f82b76.js";
|
|
13
13
|
import { v as v4, a, b } from "./components/animate/variants/transition.bd46b9ce.js";
|
|
14
|
-
import { A as A2 } from "./components/areas/components/AreasAdmin/index.
|
|
15
|
-
import { A as A3 } from "./components/areas/components/AreasViewer/index.
|
|
14
|
+
import { A as A2 } from "./components/areas/components/AreasAdmin/index.af6a6611.js";
|
|
15
|
+
import { A as A3 } from "./components/areas/components/AreasViewer/index.0527c2be.js";
|
|
16
16
|
import { a as a2, W } from "./components/areas/contexts/WindowToolsMFContext/index.992ae7a3.js";
|
|
17
|
-
import { a as a3, D, M as M3, c as c2 } from "./components/areas/contexts/DynamicMFParmsContext/index.3d9ad0ad.js";
|
|
18
|
-
import { A as A4, b as b2 } from "./components/areas/contexts/AreasContext/index.
|
|
17
|
+
import { a as a3, D as D2, M as M3, c as c2 } from "./components/areas/contexts/DynamicMFParmsContext/index.3d9ad0ad.js";
|
|
18
|
+
import { A as A4, b as b2 } from "./components/areas/contexts/AreasContext/index.07a979ba.js";
|
|
19
19
|
import { u } from "./components/areas/hooks/useDynamicMFParameters/index.9e09e1e3.js";
|
|
20
20
|
import { u as u2 } from "./components/areas/hooks/useWindowToolsMF/index.2fbae9dc.js";
|
|
21
|
-
import { A as A5, D as
|
|
22
|
-
import { R, g as g3 } from "./components/hook-form/RHFAutocomplete/index.
|
|
23
|
-
import { R as R2, g as g4 } from "./components/hook-form/RHFAutocompleteAsync/index.
|
|
24
|
-
import { R as R3 } from "./components/hook-form/RHFDateTime/index.
|
|
21
|
+
import { A as A5, D as D3, L as L2, a as a4, g as g2 } from "./components/areas/dictionary.08cfc4c9.js";
|
|
22
|
+
import { R, g as g3 } from "./components/hook-form/RHFAutocomplete/index.1a95aa1d.js";
|
|
23
|
+
import { R as R2, g as g4 } from "./components/hook-form/RHFAutocompleteAsync/index.4d327235.js";
|
|
24
|
+
import { R as R3 } from "./components/hook-form/RHFDateTime/index.ef88c356.js";
|
|
25
25
|
import { R as R4 } from "./components/hook-form/RHFMultiCheckbox/index.437e6ba3.js";
|
|
26
26
|
import { R as R5 } from "./components/hook-form/RHFSelect/index.c6c60ecc.js";
|
|
27
|
-
import { R as R6 } from "./components/hook-form/RHFPeriod/index.
|
|
28
|
-
import { P as P2, g as g5 } from "./components/Period/index.
|
|
27
|
+
import { R as R6 } from "./components/hook-form/RHFPeriod/index.7017b940.js";
|
|
28
|
+
import { P as P2, g as g5 } from "./components/Period/index.d860a3be.js";
|
|
29
29
|
import { R as R7 } from "./components/hook-form/RHFRadioGroup/index.11c0add8.js";
|
|
30
|
-
import { R as R8, g as g6 } from "./components/hook-form/RHFColorPicker/index.
|
|
31
|
-
import { R as R9 } from "./components/hook-form/RHFCheckbox/index.
|
|
32
|
-
import { b as b3, c as c3, a as a5, R as R10, d } from "./components/hook-form/RHFTextField/index.
|
|
33
|
-
import { R as R11 } from "./components/hook-form/RHFUpload/index.
|
|
34
|
-
import { A as A6 } from "./components/mui_extended/Accordion/index.
|
|
35
|
-
import { A as A7 } from "./components/mui_extended/Avatar/index.
|
|
30
|
+
import { R as R8, g as g6 } from "./components/hook-form/RHFColorPicker/index.84b77d99.js";
|
|
31
|
+
import { R as R9 } from "./components/hook-form/RHFCheckbox/index.b79256e3.js";
|
|
32
|
+
import { b as b3, c as c3, a as a5, R as R10, d } from "./components/hook-form/RHFTextField/index.b959b63e.js";
|
|
33
|
+
import { R as R11 } from "./components/hook-form/RHFUpload/index.2aa4dcee.js";
|
|
34
|
+
import { A as A6 } from "./components/mui_extended/Accordion/index.b7f847a7.js";
|
|
35
|
+
import { A as A7 } from "./components/mui_extended/Avatar/index.8d873242.js";
|
|
36
36
|
import { B } from "./components/mui_extended/BoxIcon/index.d61e7ac5.js";
|
|
37
37
|
import { B as B2 } from "./components/mui_extended/Breadcrumbs/index.4a44883c.js";
|
|
38
38
|
import { C } from "./components/mui_extended/CircularProgress/index.967e70b7.js";
|
|
39
|
-
import { B as B3 } from "./components/mui_extended/Badge/index.
|
|
39
|
+
import { B as B3 } from "./components/mui_extended/Badge/index.1729018e.js";
|
|
40
40
|
import { L as L3 } from "./components/mui_extended/LinearProgress/index.4092bb69.js";
|
|
41
41
|
import { L as L4 } from "./components/mui_extended/LinkWithRoute/index.288c51f3.js";
|
|
42
|
-
import { B as B4, I as I2, L as L5 } from "./components/mui_extended/Button/index.
|
|
43
|
-
import { M as M4 } from "./components/mui_extended/MenuActions/index.
|
|
44
|
-
import { P as P3, g as g7 } from "./components/mui_extended/Pager/index.
|
|
45
|
-
import { a as a6, b as b4, d as d2, c as c4, T as T2 } from "./components/mui_extended/Tab/index.
|
|
46
|
-
import { C as C2 } from "./components/mui_extended/CheckBox.
|
|
47
|
-
import { I as I3 } from "./components/mui_extended/IconButton/index.
|
|
48
|
-
import { P as P4 } from "./components/mui_extended/Popover/index.
|
|
49
|
-
import { S as S2 } from "./components/mui_extended/Stack/index.
|
|
42
|
+
import { B as B4, I as I2, L as L5 } from "./components/mui_extended/Button/index.86ad58f1.js";
|
|
43
|
+
import { M as M4 } from "./components/mui_extended/MenuActions/index.3979e313.js";
|
|
44
|
+
import { P as P3, g as g7 } from "./components/mui_extended/Pager/index.509c6c23.js";
|
|
45
|
+
import { a as a6, b as b4, d as d2, c as c4, T as T2 } from "./components/mui_extended/Tab/index.6dce21fc.js";
|
|
46
|
+
import { C as C2 } from "./components/mui_extended/CheckBox.bc4e775d.js";
|
|
47
|
+
import { I as I3 } from "./components/mui_extended/IconButton/index.6e48e3fc.js";
|
|
48
|
+
import { P as P4 } from "./components/mui_extended/Popover/index.bc28f6d4.js";
|
|
49
|
+
import { S as S2 } from "./components/mui_extended/Stack/index.ea662d2e.js";
|
|
50
50
|
import { T as T3 } from "./components/mui_extended/Tooltip/index.49bb5ee1.js";
|
|
51
|
-
import { T as T4 } from "./components/mui_extended/Typography/index.
|
|
52
|
-
import { T as T5 } from "./components/mui_extended/ToggleButton/index.
|
|
53
|
-
import { T as T6 } from "./components/mui_extended/ToggleIconButton/index.
|
|
54
|
-
import { B as B5 } from "./components/formatters/BooleanFormatter/index.
|
|
55
|
-
import { D as
|
|
51
|
+
import { T as T4 } from "./components/mui_extended/Typography/index.116902dc.js";
|
|
52
|
+
import { T as T5 } from "./components/mui_extended/ToggleButton/index.eb60a2ff.js";
|
|
53
|
+
import { T as T6 } from "./components/mui_extended/ToggleIconButton/index.c34eeb98.js";
|
|
54
|
+
import { B as B5 } from "./components/formatters/BooleanFormatter/index.1b4ca0c5.js";
|
|
55
|
+
import { D as D4, g as g8 } from "./components/formatters/DateFormatter/index.2ef6f261.js";
|
|
56
56
|
import { U, g as g9 } from "./components/formatters/UncertaintyFormatter/index.c3ffdebc.js";
|
|
57
57
|
import { P as P5, g as g10 } from "./components/formatters/PointsFormatter/index.d8a4ee54.js";
|
|
58
|
-
import { C as C3, P as P6, g as g11, a as a7, b as b5 } from "./components/formatters/index.
|
|
58
|
+
import { C as C3, P as P6, g as g11, a as a7, b as b5 } from "./components/formatters/index.b317b35a.js";
|
|
59
59
|
import { P as P7, g as g12 } from "./components/formatters/PriceFormatter/index.97f75b4b.js";
|
|
60
60
|
import { C as C4 } from "./components/DataGrid/formatters/ColumnUncertaintyFormatter/index.a87302d1.js";
|
|
61
61
|
import { C as C5 } from "./components/DataGrid/formatters/ColumnPointsFormatter/index.226cc583.js";
|
|
62
62
|
import { C as C6 } from "./components/DataGrid/formatters/ColumnNestedValueFormatter/index.880e743b.js";
|
|
63
|
-
import { C as C7 } from "./components/DataGrid/formatters/ColumnBooleanFormatter/index.
|
|
63
|
+
import { C as C7 } from "./components/DataGrid/formatters/ColumnBooleanFormatter/index.dca86907.js";
|
|
64
64
|
import { C as C8 } from "./components/DataGrid/formatters/ColumnDateFormatter/index.e00d0cf2.js";
|
|
65
|
-
import { C as C9 } from "./components/DataGrid/formatters/ColumnConcatenatedValueFormatter/index.
|
|
65
|
+
import { C as C9 } from "./components/DataGrid/formatters/ColumnConcatenatedValueFormatter/index.e86a7f66.js";
|
|
66
66
|
import { C as C10 } from "./components/DataGrid/formatters/ColumnPriceFormatter/index.bf9d9e60.js";
|
|
67
|
-
import { C as C11 } from "./components/DataGrid/formatters/ColumnInteractiveCheckFormatter/index.
|
|
67
|
+
import { C as C11 } from "./components/DataGrid/formatters/ColumnInteractiveCheckFormatter/index.373b1880.js";
|
|
68
68
|
import { C as C12 } from "./components/DataGrid/formatters/ColumnSetCheckFormatter/index.4045b2f2.js";
|
|
69
|
-
import { a as a8 } from "./components/DynamicFilter/dictionary.
|
|
70
|
-
import { D as
|
|
71
|
-
import { F } from "./components/FieldLabel/index.
|
|
72
|
-
import { H, e
|
|
73
|
-
import { A as A8, d as d3, g as g13 } from "./components/CommonActions/components/Actions/index.
|
|
74
|
-
import { A as A9 } from "./components/CommonActions/components/ActionCancel/index.
|
|
75
|
-
import { A as A10 } from "./components/CommonActions/components/ActionIntro/index.
|
|
76
|
-
import { A as A11 } from "./components/CommonActions/components/ActionFormCancel/index.
|
|
77
|
-
import { A as A12 } from "./components/CommonActions/components/ActionFormIntro/index.
|
|
78
|
-
import { D as
|
|
79
|
-
import { G, w, A as A13 } from "./components/GridLayout/index.
|
|
80
|
-
import { R as R12, a as a9, b as b6, c as c5 } from "./components/GridLayout/subcomponents/Responsive/index.
|
|
81
|
-
import { w as w2 } from "./components/GridLayout/subcomponents/SizeProvider/index.
|
|
82
|
-
import { P as P8 } from "./components/PrintingSystem/index.
|
|
83
|
-
import { I as I4 } from "./components/Icon/index.
|
|
84
|
-
import { L as L6 } from "./components/LanguagePopover/index.
|
|
85
|
-
import { L as L7 } from "./components/LinearProgressIndeterminate/index.
|
|
86
|
-
import { I as I5 } from "./components/Image/index.
|
|
69
|
+
import { a as a8 } from "./components/DynamicFilter/dictionary.ca734fa9.js";
|
|
70
|
+
import { D as D5 } from "./components/DynamicFilter/index.0ec944c8.js";
|
|
71
|
+
import { F } from "./components/FieldLabel/index.8dec5531.js";
|
|
72
|
+
import { H, e } from "./components/HelperText/index.4934c100.js";
|
|
73
|
+
import { A as A8, d as d3, g as g13 } from "./components/CommonActions/components/Actions/index.494c618b.js";
|
|
74
|
+
import { A as A9 } from "./components/CommonActions/components/ActionCancel/index.cc077569.js";
|
|
75
|
+
import { A as A10 } from "./components/CommonActions/components/ActionIntro/index.995a344b.js";
|
|
76
|
+
import { A as A11 } from "./components/CommonActions/components/ActionFormCancel/index.a446a103.js";
|
|
77
|
+
import { A as A12 } from "./components/CommonActions/components/ActionFormIntro/index.a4d872e3.js";
|
|
78
|
+
import { D as D6, d as d4 } from "./components/DragResizeWindow/index.04160a98.js";
|
|
79
|
+
import { G, w, A as A13 } from "./components/GridLayout/index.932b1f7a.js";
|
|
80
|
+
import { R as R12, a as a9, b as b6, c as c5 } from "./components/GridLayout/subcomponents/Responsive/index.2bbbfe01.js";
|
|
81
|
+
import { w as w2 } from "./components/GridLayout/subcomponents/SizeProvider/index.0af78226.js";
|
|
82
|
+
import { P as P8 } from "./components/PrintingSystem/index.7fd5ffcf.js";
|
|
83
|
+
import { I as I4 } from "./components/Icon/index.997ca9db.js";
|
|
84
|
+
import { L as L6 } from "./components/LanguagePopover/index.4875286a.js";
|
|
85
|
+
import { L as L7 } from "./components/LinearProgressIndeterminate/index.429c171a.js";
|
|
86
|
+
import { I as I5 } from "./components/Image/index.54e91742.js";
|
|
87
87
|
import { L as L8 } from "./components/Loadable/index.e83cdb4e.js";
|
|
88
|
-
import { C as C13, c as c6, e as
|
|
89
|
-
import { G as G2, a as a10, u as u4 } from "./components/maps/components/GpsTools/index.
|
|
90
|
-
import { M as M5, d as d6, g as g14 } from "./components/ModalDialog/index.
|
|
88
|
+
import { C as C13, c as c6, e as e2, d as d5, f, u as u3 } from "./components/maps/components/Map/index.b9c876b4.js";
|
|
89
|
+
import { G as G2, a as a10, u as u4 } from "./components/maps/components/GpsTools/index.c825dd0d.js";
|
|
90
|
+
import { M as M5, d as d6, g as g14 } from "./components/ModalDialog/index.c740247e.js";
|
|
91
91
|
import { g as g15 } from "./components/modal/index.81eb6def.js";
|
|
92
|
-
import { W as W2 } from "./components/modal/WindowConfirm.
|
|
93
|
-
import { W as W3 } from "./components/modal/WindowBase.
|
|
94
|
-
import { L as L9, g as g16 } from "./components/LoadingError/index.
|
|
95
|
-
import { M as M6, g as g17 } from "./components/MFLoader/index.
|
|
96
|
-
import { N as N3, d as d7, g as g18 } from "./components/NoItemSelected/index.
|
|
97
|
-
import { O, d as d8, g as g19 } from "./components/ObjectLogs/index.
|
|
98
|
-
import { P as P9 } from "./components/PaperForm/index.
|
|
99
|
-
import { P as P10 } from "./components/PDFViewer/index.
|
|
100
|
-
import { H as H2 } from "./components/Page/index.
|
|
101
|
-
import { P as P11 } from "./components/PropertyValue/index.
|
|
102
|
-
import { R as R13 } from "./components/Resizeable/index.
|
|
103
|
-
import { S as S3 } from "./components/ScrollBar/index.
|
|
104
|
-
import { S as S4 } from "./components/SplitLayout/index.
|
|
105
|
-
import { T as T7, a as a11 } from "./components/ToastContainer/index.
|
|
106
|
-
import { S as S5 } from "./components/SideBar/index.
|
|
107
|
-
import { A as A14, g as g20 } from "./components/AppBar/index.
|
|
108
|
-
import { A as A15, g as g21 } from "./components/AccountPopover/index.
|
|
109
|
-
import { a as a12, P as P12, u as u5 } from "./components/popups/PopupsProvider/index.
|
|
110
|
-
import { P as P13 } from "./components/popups/PopupsViewer/index.
|
|
111
|
-
import { A as A16 } from "./components/commercial/AppBarCommercial/index.
|
|
112
|
-
import { H as H3 } from "./components/commercial/index.
|
|
113
|
-
import { T as T8 } from "./components/commercial/TopBar/index.
|
|
114
|
-
import { S as S6 } from "./components/commercial/SectionCommercial/index.
|
|
115
|
-
import { R as R14, g as g22 } from "./contexts/RHFormContext/index.
|
|
116
|
-
import { M as M7, a as a13 } from "./contexts/ModalContext/index.
|
|
117
|
-
import { g as g23, u as u6 } from "./hooks/useFormAddEdit/index.
|
|
118
|
-
import { u as u7 } from "./hooks/useModal/index.
|
|
119
|
-
import { u as u8 } from "./hooks/useTab/index.
|
|
92
|
+
import { W as W2 } from "./components/modal/WindowConfirm.7059a58b.js";
|
|
93
|
+
import { W as W3 } from "./components/modal/WindowBase.5de22950.js";
|
|
94
|
+
import { L as L9, g as g16 } from "./components/LoadingError/index.f9be29f1.js";
|
|
95
|
+
import { M as M6, g as g17 } from "./components/MFLoader/index.84bfb72b.js";
|
|
96
|
+
import { N as N3, d as d7, g as g18 } from "./components/NoItemSelected/index.8267dd2b.js";
|
|
97
|
+
import { O, d as d8, g as g19 } from "./components/ObjectLogs/index.d3c24da1.js";
|
|
98
|
+
import { P as P9 } from "./components/PaperForm/index.9d886148.js";
|
|
99
|
+
import { P as P10 } from "./components/PDFViewer/index.ab3cfe38.js";
|
|
100
|
+
import { H as H2 } from "./components/Page/index.a2d2b98f.js";
|
|
101
|
+
import { P as P11 } from "./components/PropertyValue/index.9ad8e8f9.js";
|
|
102
|
+
import { R as R13 } from "./components/Resizeable/index.6e2eff97.js";
|
|
103
|
+
import { S as S3 } from "./components/ScrollBar/index.8de83634.js";
|
|
104
|
+
import { S as S4 } from "./components/SplitLayout/index.ec8d1a77.js";
|
|
105
|
+
import { T as T7, a as a11 } from "./components/ToastContainer/index.193d0169.js";
|
|
106
|
+
import { S as S5 } from "./components/SideBar/index.49ad5aaa.js";
|
|
107
|
+
import { A as A14, g as g20 } from "./components/AppBar/index.a0029a89.js";
|
|
108
|
+
import { A as A15, g as g21 } from "./components/AccountPopover/index.9b044daa.js";
|
|
109
|
+
import { a as a12, P as P12, u as u5 } from "./components/popups/PopupsProvider/index.28a77d4f.js";
|
|
110
|
+
import { P as P13 } from "./components/popups/PopupsViewer/index.237e7f33.js";
|
|
111
|
+
import { A as A16 } from "./components/commercial/AppBarCommercial/index.7685e1d4.js";
|
|
112
|
+
import { H as H3 } from "./components/commercial/index.302b64c1.js";
|
|
113
|
+
import { T as T8 } from "./components/commercial/TopBar/index.e1f7f962.js";
|
|
114
|
+
import { S as S6 } from "./components/commercial/SectionCommercial/index.e9a04cb5.js";
|
|
115
|
+
import { R as R14, g as g22 } from "./contexts/RHFormContext/index.78938329.js";
|
|
116
|
+
import { M as M7, a as a13 } from "./contexts/ModalContext/index.f8d78543.js";
|
|
117
|
+
import { g as g23, u as u6 } from "./hooks/useFormAddEdit/index.cb45a92c.js";
|
|
118
|
+
import { u as u7 } from "./hooks/useModal/index.81061efe.js";
|
|
119
|
+
import { u as u8 } from "./hooks/useTab/index.05151df5.js";
|
|
120
120
|
import { useState } from "react";
|
|
121
121
|
import "react/jsx-runtime";
|
|
122
|
+
import "./styles/index.2e92ddf7.js";
|
|
123
|
+
import "@mui/material";
|
|
122
124
|
import "@mui/material/styles";
|
|
123
|
-
import "
|
|
125
|
+
import "simplebar-react";
|
|
126
|
+
import "./react-resizable.a59c14f4.js";
|
|
127
|
+
import "./react-draggable.1c1ba224.js";
|
|
128
|
+
import "prop-types";
|
|
129
|
+
import "react-dom";
|
|
124
130
|
import "clsx";
|
|
131
|
+
import "./utils/index.14912462.js";
|
|
132
|
+
import "./react-data-grid.c5377916.js";
|
|
125
133
|
import "react-dnd";
|
|
126
134
|
import "react-dnd-html5-backend";
|
|
127
|
-
import "@mui/material";
|
|
128
135
|
import "./components/DataGrid/constants.e334cd50.js";
|
|
129
136
|
import "@m4l/core";
|
|
130
|
-
import "./components/DataGrid/subcomponents/Actions/index.
|
|
137
|
+
import "./components/DataGrid/subcomponents/Actions/index.f5288cc6.js";
|
|
131
138
|
import "@m4l/graphics";
|
|
132
139
|
import "zustand/shallow";
|
|
133
140
|
import "@mui/base";
|
|
@@ -135,19 +142,14 @@ import "./test/constants_no_mock.86c553a9.js";
|
|
|
135
142
|
import "./test/getNameDataTestId.0faeade8.js";
|
|
136
143
|
import "react-router-dom";
|
|
137
144
|
import "framer-motion";
|
|
138
|
-
import "simplebar-react";
|
|
139
145
|
import "./react-spinners.342a6578.js";
|
|
140
|
-
import "./components/areas/hooks/useAreas/index.
|
|
146
|
+
import "./components/areas/hooks/useAreas/index.d27f97ee.js";
|
|
141
147
|
import "zustand";
|
|
142
148
|
import "yup";
|
|
143
|
-
import "./utils/index.14912462.js";
|
|
144
149
|
import "./components/areas/constants.66529246.js";
|
|
145
150
|
import "./components/areas/icons.8266ccc8.js";
|
|
146
151
|
import "@mui/material/ButtonBase/TouchRipple";
|
|
147
152
|
import "./components/areas/index.4cc6a221.js";
|
|
148
|
-
import "./react-draggable.1c1ba224.js";
|
|
149
|
-
import "prop-types";
|
|
150
|
-
import "react-dom";
|
|
151
153
|
import "zustand/middleware/immer";
|
|
152
154
|
import "zustand/middleware";
|
|
153
155
|
import "lodash";
|
|
@@ -162,36 +164,36 @@ import "@mui/material/Button";
|
|
|
162
164
|
import "@mui/lab";
|
|
163
165
|
import "./hocs/withToggle/index.548aeace.js";
|
|
164
166
|
import "./components/WrapperComponent/index.57964195.js";
|
|
165
|
-
import "./components/DynamicFilter/subcomponents/FieldTypes/index.
|
|
166
|
-
import "./components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/index.
|
|
167
|
+
import "./components/DynamicFilter/subcomponents/FieldTypes/index.9e2e9be9.js";
|
|
168
|
+
import "./components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/index.db00ecae.js";
|
|
167
169
|
import "./components/DynamicFilter/constants.095f1dbb.js";
|
|
168
|
-
import "./components/DynamicFilter/subcomponents/FieldTypes/StringFilter/index.
|
|
169
|
-
import "./components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/index.
|
|
170
|
-
import "./components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/index.
|
|
171
|
-
import "./components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/index.
|
|
172
|
-
import "./components/DynamicFilter/store/index.
|
|
173
|
-
import "./components/DynamicFilter/subcomponents/DynamicFilterBase/index.
|
|
174
|
-
import "./components/DynamicFilter/slots/index.
|
|
170
|
+
import "./components/DynamicFilter/subcomponents/FieldTypes/StringFilter/index.125b714c.js";
|
|
171
|
+
import "./components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/index.2a77b273.js";
|
|
172
|
+
import "./components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/index.840bfab2.js";
|
|
173
|
+
import "./components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/index.dfacda9b.js";
|
|
174
|
+
import "./components/DynamicFilter/store/index.0cc464be.js";
|
|
175
|
+
import "./components/DynamicFilter/subcomponents/DynamicFilterBase/index.fc514b86.js";
|
|
176
|
+
import "./components/DynamicFilter/slots/index.bba3ba1e.js";
|
|
175
177
|
import "./components/DynamicFilter/slots/constants.13968194.js";
|
|
176
|
-
import "./
|
|
177
|
-
import "./components/DynamicFilter/subcomponents/
|
|
178
|
-
import "./components/DynamicFilter/subcomponents/
|
|
179
|
-
import "./components/DynamicFilter/subcomponents/
|
|
180
|
-
import "./components/DynamicFilter/subcomponents/
|
|
181
|
-
import "./components/DynamicFilter/subcomponents/
|
|
182
|
-
import "./
|
|
183
|
-
import "./components/GridLayout/subcomponents/Griditem/index.
|
|
178
|
+
import "./styles/DynamicFilter.c74cdedd.js";
|
|
179
|
+
import "./components/DynamicFilter/subcomponents/InputFilter/index.8d6b2af3.js";
|
|
180
|
+
import "./components/DynamicFilter/subcomponents/PopoverMenuFields/index.89f18def.js";
|
|
181
|
+
import "./components/DynamicFilter/subcomponents/AppliedFilters/index.9c6bc54f.js";
|
|
182
|
+
import "./components/DynamicFilter/subcomponents/AppliedFilterChip/index.de673d55.js";
|
|
183
|
+
import "./components/DynamicFilter/subcomponents/FilterActions/index.fa9a7fa8.js";
|
|
184
|
+
import "./components/DynamicFilter/subcomponents/PopoverFilter/index.3c2d4a23.js";
|
|
185
|
+
import "./components/GridLayout/subcomponents/Griditem/index.27677da0.js";
|
|
184
186
|
import "fast-equals";
|
|
185
|
-
import "./components/PrintingSystem/subcomponents/DividerNode/index.
|
|
186
|
-
import "./components/PrintingSystem/subcomponents/SectionNode/index.
|
|
187
|
-
import "./components/PrintingSystem/subcomponents/TextBoxNode/index.
|
|
188
|
-
import "./components/PrintingSystem/subcomponents/HeaderNode/index.
|
|
189
|
-
import "./components/PrintingSystem/subcomponents/BodyNode/index.
|
|
190
|
-
import "./components/PrintingSystem/subcomponents/FooterNode/index.
|
|
191
|
-
import "./components/PrintingSystem/subcomponents/PaperNode/index.
|
|
192
|
-
import "./components/PrintingSystem/subcomponents/PropertyValueNode/index.
|
|
193
|
-
import "./components/PrintingSystem/subcomponents/GridNode/index.
|
|
194
|
-
import "./components/PrintingSystem/subcomponents/ChartNode/index.
|
|
187
|
+
import "./components/PrintingSystem/subcomponents/DividerNode/index.43e2ab84.js";
|
|
188
|
+
import "./components/PrintingSystem/subcomponents/SectionNode/index.bee3139e.js";
|
|
189
|
+
import "./components/PrintingSystem/subcomponents/TextBoxNode/index.8af6a690.js";
|
|
190
|
+
import "./components/PrintingSystem/subcomponents/HeaderNode/index.1149d198.js";
|
|
191
|
+
import "./components/PrintingSystem/subcomponents/BodyNode/index.8389d56b.js";
|
|
192
|
+
import "./components/PrintingSystem/subcomponents/FooterNode/index.34950c99.js";
|
|
193
|
+
import "./components/PrintingSystem/subcomponents/PaperNode/index.5c60d9fe.js";
|
|
194
|
+
import "./components/PrintingSystem/subcomponents/PropertyValueNode/index.c5d095bb.js";
|
|
195
|
+
import "./components/PrintingSystem/subcomponents/GridNode/index.be0aabc4.js";
|
|
196
|
+
import "./components/PrintingSystem/subcomponents/ChartNode/index.2b375c6a.js";
|
|
195
197
|
import "chart.js";
|
|
196
198
|
import "chartjs-chart-error-bars";
|
|
197
199
|
import "react-leaflet";
|
|
@@ -208,7 +210,7 @@ import "leaflet-polylinedecorator";
|
|
|
208
210
|
import "immer";
|
|
209
211
|
import "@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css";
|
|
210
212
|
import "@geoman-io/leaflet-geoman-free";
|
|
211
|
-
import "./components/hook-form/HelperError/index.
|
|
213
|
+
import "./components/hook-form/HelperError/index.ab4c23c3.js";
|
|
212
214
|
import "./react-json-view.57125fcf.js";
|
|
213
215
|
import "./commonjs.565e6834.js";
|
|
214
216
|
import "react-helmet-async";
|
|
@@ -270,13 +272,13 @@ export {
|
|
|
270
272
|
C4 as ColumnUncertaintyFormatter,
|
|
271
273
|
C13 as CommonFeatureRender,
|
|
272
274
|
C3 as ConcatenatedFormatter,
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
275
|
+
D3 as DICCTIONARY,
|
|
276
|
+
D as DataGrid,
|
|
277
|
+
D4 as DateFormatter,
|
|
278
|
+
D6 as DragResizeWindow,
|
|
279
|
+
D5 as DynamicFilter,
|
|
278
280
|
a3 as DynamicMFParmsContext,
|
|
279
|
-
|
|
281
|
+
D2 as DynamicMFParmsProvider,
|
|
280
282
|
F as FieldLabel,
|
|
281
283
|
G2 as GpsTools,
|
|
282
284
|
a10 as GpsToolsProvider,
|
|
@@ -300,7 +302,7 @@ export {
|
|
|
300
302
|
L as LoadingScreen,
|
|
301
303
|
M6 as MFLoader,
|
|
302
304
|
c6 as Map,
|
|
303
|
-
|
|
305
|
+
e2 as MapContext,
|
|
304
306
|
d5 as MapProvider,
|
|
305
307
|
f as MarkerFeatureRender,
|
|
306
308
|
M3 as MemonizedDynamicMFParmsProvider,
|
|
@@ -379,13 +381,13 @@ export {
|
|
|
379
381
|
d7 as defaultNoItemSelectedDictionary,
|
|
380
382
|
d8 as defaultObjectLogDictionary,
|
|
381
383
|
d4 as draggableWindowClasses,
|
|
382
|
-
|
|
384
|
+
e as errorLabelClasses,
|
|
383
385
|
g21 as getAccountPopoverDictionary,
|
|
384
386
|
g20 as getAppBarDictionary,
|
|
385
387
|
a4 as getAreasComponentsDictionary,
|
|
386
388
|
g2 as getAreasDictionary,
|
|
387
389
|
g13 as getCommonActionsDictionary,
|
|
388
|
-
|
|
390
|
+
c as getDataGridRowsFromSet,
|
|
389
391
|
a8 as getDynamicFilterComponentsDictionary,
|
|
390
392
|
g22 as getFormComponentsDictionary,
|
|
391
393
|
g11 as getFormatConcatenated,
|
package/package.json
CHANGED
|
@@ -1,109 +1,5 @@
|
|
|
1
|
-
import { f as fieldFactory } from "./subcomponents/FieldTypes/index.f4457f31.js";
|
|
2
|
-
import { f as filterValidOperandsArraySelect } from "./subcomponents/FieldTypes/SelectFilter/index.2258fceb.js";
|
|
3
1
|
import { alpha } from "@mui/material";
|
|
4
|
-
import { c as containerQuery } from "
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
import { useFlagsPresent, CommonFlags } from "@m4l/core";
|
|
7
|
-
import { D as DynamicFilterProvider } from "./store/index.b9c2fe0b.js";
|
|
8
|
-
import { D as DynamicFilterBase } from "./subcomponents/DynamicFilterBase/index.edd7ed6f.js";
|
|
9
|
-
function getPurgedInitialFiltersApplied(fields, initialFilters, getFieldByName) {
|
|
10
|
-
const newFilters = [];
|
|
11
|
-
const fixedFields = [];
|
|
12
|
-
for (let index = 0; index < initialFilters.length; index++) {
|
|
13
|
-
try {
|
|
14
|
-
const initialFilter = initialFilters[index];
|
|
15
|
-
const field = getFieldByName(initialFilter.name);
|
|
16
|
-
const filter = {
|
|
17
|
-
id: 0,
|
|
18
|
-
isSet: true,
|
|
19
|
-
fixed: false,
|
|
20
|
-
field,
|
|
21
|
-
fieldType: field.type,
|
|
22
|
-
operator: initialFilters[index].operator,
|
|
23
|
-
operand1: initialFilters[index].operand1,
|
|
24
|
-
operand2: initialFilters[index].operand2,
|
|
25
|
-
operandsArray: initialFilters[index].operandsArray
|
|
26
|
-
};
|
|
27
|
-
if (!field)
|
|
28
|
-
continue;
|
|
29
|
-
const canAddField = fieldFactory(field.type).verifyFilter(initialFilter, field);
|
|
30
|
-
if (canAddField) {
|
|
31
|
-
if (filter.fieldType === "datetime") {
|
|
32
|
-
filter.operand1 = new Date(filter.operand1 + "");
|
|
33
|
-
filter.operand2 = new Date(filter.operand2 + "");
|
|
34
|
-
}
|
|
35
|
-
if (field.presence === "fixed") {
|
|
36
|
-
if (fixedFields.findIndex((f) => f === field.name) === -1) {
|
|
37
|
-
filter.fixed = true;
|
|
38
|
-
fixedFields.push(field.name);
|
|
39
|
-
} else {
|
|
40
|
-
filter.fixed = false;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
filter.isSet = true;
|
|
44
|
-
filter.id = newFilters.length + 1;
|
|
45
|
-
newFilters.push(filter);
|
|
46
|
-
}
|
|
47
|
-
} catch (error) {
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
for (let index = 0; index < fields.length; index++) {
|
|
51
|
-
const field = fields[index];
|
|
52
|
-
if (field.presence === "initialized" || field.presence === "fixed") {
|
|
53
|
-
if (!initialFilters.find((f) => f.name === field.name)) {
|
|
54
|
-
const newFilter = fieldFactory(field.type).getDefaultFilter(
|
|
55
|
-
field,
|
|
56
|
-
field.presence === "fixed"
|
|
57
|
-
);
|
|
58
|
-
newFilter.id = newFilters.length + 1;
|
|
59
|
-
newFilters.push(newFilter);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
return newFilters;
|
|
64
|
-
}
|
|
65
|
-
const formatToRawFilter = (appliedFilters) => {
|
|
66
|
-
return appliedFilters.map((af) => {
|
|
67
|
-
let oa = void 0;
|
|
68
|
-
if (af.field.type === "select" && af.operandsArray) {
|
|
69
|
-
oa = Array.isArray(af.operandsArray) ? af.operandsArray.map(af.field.selectOptions.getOptionId) : [af.field.selectOptions.getOptionId(af.operandsArray)];
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
n: af.field.name,
|
|
73
|
-
o: af.operator,
|
|
74
|
-
o1: af.operand1,
|
|
75
|
-
o2: af.operator === "b" ? af.operand2 : void 0,
|
|
76
|
-
oa
|
|
77
|
-
};
|
|
78
|
-
});
|
|
79
|
-
};
|
|
80
|
-
function formatToInitialFilters(appliedFilters) {
|
|
81
|
-
return appliedFilters.map((appliedFilter) => {
|
|
82
|
-
const ret = {
|
|
83
|
-
name: appliedFilter.field.name,
|
|
84
|
-
operator: appliedFilter.operator,
|
|
85
|
-
operand1: appliedFilter.operand1,
|
|
86
|
-
operand2: appliedFilter.operator === "b" ? appliedFilter.operand2 : void 0
|
|
87
|
-
};
|
|
88
|
-
if (appliedFilter.fieldType === "datetime") {
|
|
89
|
-
ret.operand1 = appliedFilter.operand1.toISOString();
|
|
90
|
-
ret.operand2 = appliedFilter.operator === "b" ? appliedFilter.operand2.toISOString() : void 0;
|
|
91
|
-
}
|
|
92
|
-
if (appliedFilter.fieldType === "select") {
|
|
93
|
-
const validOperandsArray = filterValidOperandsArraySelect(
|
|
94
|
-
appliedFilter.operandsArray,
|
|
95
|
-
appliedFilter.field
|
|
96
|
-
);
|
|
97
|
-
if (validOperandsArray && validOperandsArray?.length > 0) {
|
|
98
|
-
ret.operandsArray = validOperandsArray;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
if (ret.operand2 === void 0) {
|
|
102
|
-
delete ret.operand2;
|
|
103
|
-
}
|
|
104
|
-
return ret;
|
|
105
|
-
});
|
|
106
|
-
}
|
|
2
|
+
import { c as containerQuery } from "../utils/index.14912462.js";
|
|
107
3
|
const CONTAINER_QUERY_NAME = "dynamic";
|
|
108
4
|
const dynamicFilterStyles = {
|
|
109
5
|
root: {
|
|
@@ -418,17 +314,6 @@ const dynamicFilterStyles = {
|
|
|
418
314
|
}
|
|
419
315
|
})
|
|
420
316
|
};
|
|
421
|
-
function DynamicFilter(props) {
|
|
422
|
-
const hasPresentFlags = useFlagsPresent([CommonFlags.FLAG_DICTIONARY_LOADED]);
|
|
423
|
-
if (!hasPresentFlags) {
|
|
424
|
-
return null;
|
|
425
|
-
}
|
|
426
|
-
return /* @__PURE__ */ jsx(DynamicFilterProvider, { ...props, children: /* @__PURE__ */ jsx(DynamicFilterBase, {}) });
|
|
427
|
-
}
|
|
428
317
|
export {
|
|
429
|
-
|
|
430
|
-
formatToRawFilter as a,
|
|
431
|
-
dynamicFilterStyles as d,
|
|
432
|
-
formatToInitialFilters as f,
|
|
433
|
-
getPurgedInitialFiltersApplied as g
|
|
318
|
+
dynamicFilterStyles as d
|
|
434
319
|
};
|