@m4l/components 3.1.7 → 3.1.8
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/index.js +183 -340
- package/node_modules-CQtkw0uG.js +7350 -0
- package/package.json +1 -1
- package/vendor-AfIOyqRr.js +24636 -0
- package/components/AccountPopover/index-Dm2-k-Mv.js +0 -334
- package/components/AppBar/index-i0rhG3J1.js +0 -93
- package/components/BaseModule/index-CiNNlxzS.js +0 -30
- package/components/CommonActions/components/ActionCancel/index-CIdpDXkr.js +0 -12
- package/components/CommonActions/components/ActionFormCancel/index-CpyASN3q.js +0 -56
- package/components/CommonActions/components/ActionFormIntro/index-7KKtcUra.js +0 -33
- package/components/CommonActions/components/ActionIntro/index-CqqDZZcG.js +0 -25
- package/components/CommonActions/components/Actions/index-CuG1pnXW.js +0 -70
- package/components/DataGrid/constants-8L7QgBKi.js +0 -10
- package/components/DataGrid/formatters/ColumnBooleanFormatter/index-CveSCbq_.js +0 -26
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/index-CHqvieM2.js +0 -22
- package/components/DataGrid/formatters/ColumnDateFormatter/index-CKg8CJ6A.js +0 -19
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/index-DE6bwaKP.js +0 -23
- package/components/DataGrid/formatters/ColumnNestedValueFormatter/index-BslXGK-A.js +0 -14
- package/components/DataGrid/formatters/ColumnPointsFormatter/index-BXGW2CsK.js +0 -10
- package/components/DataGrid/formatters/ColumnPriceFormatter/index-O11tBykn.js +0 -10
- package/components/DataGrid/formatters/ColumnSetCheckFormatter/index-BaCawLr1.js +0 -36
- package/components/DataGrid/formatters/ColumnUncertaintyFormatter/index-Cq7a-jnE.js +0 -10
- package/components/DataGrid/formatters/index-CrZXPa0e.js +0 -13
- package/components/DataGrid/index-BZ-lbmuU.js +0 -908
- package/components/DataGrid/subcomponents/Actions/index-CHvPZ4Ru.js +0 -549
- package/components/DataGrid/subcomponents/editors/TextEditor/index-BIFm8akr.js +0 -80
- package/components/DragResizeWindow/index-D2jLYExo.js +0 -505
- package/components/DynamicFilter/constants-ByqmFATV.js +0 -31
- package/components/DynamicFilter/dictionary-PrbXU3VZ.js +0 -51
- package/components/DynamicFilter/index-DZiJc9h7.js +0 -116
- package/components/DynamicFilter/slots/SlotsEnum-cawFeNzx.js +0 -34
- package/components/DynamicFilter/slots/dynamicFilterSlots-DHxelhXP.js +0 -151
- package/components/DynamicFilter/slots/index-l0sNRNKZ.js +0 -1
- package/components/DynamicFilter/store/index-BT-eWVnJ.js +0 -254
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/index-B32bAzi-.js +0 -60
- package/components/DynamicFilter/subcomponents/AppliedFilters/index-Bha19drV.js +0 -26
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/index-BmvzoHit.js +0 -40
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/index-BcO3SlP5.js +0 -129
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/index-BCJhpNS8.js +0 -171
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/index-DCNhz68u.js +0 -153
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/index-BdypjM1Y.js +0 -146
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/index-D-NFIVnK.js +0 -114
- package/components/DynamicFilter/subcomponents/FieldTypes/index-BwQHJqk9.js +0 -38
- package/components/DynamicFilter/subcomponents/FilterActions/index-B9UWmk07.js +0 -88
- package/components/DynamicFilter/subcomponents/InputFilter/index-CfGb1TfV.js +0 -188
- package/components/DynamicFilter/subcomponents/PopoverFilter/index-DkfRGrlO.js +0 -158
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/index-DSegwAm2.js +0 -63
- package/components/FieldLabel/index-CI57EizR.js +0 -54
- package/components/GridLayout/index-C4HyxNYX.js +0 -1044
- package/components/GridLayout/subcomponents/Griditem/index-C7jT4s8t.js +0 -395
- package/components/GridLayout/subcomponents/Responsive/index-BKcU2OnF.js +0 -348
- package/components/GridLayout/subcomponents/SizeProvider/index-1aJ-e_54.js +0 -71
- package/components/HelperText/index-Crn_XIPF.js +0 -50
- package/components/Icon/index-C89MAkeH.js +0 -176
- package/components/Image/index-COp8vP0X.js +0 -175
- package/components/LanguagePopover/index-BA2Igs9L.js +0 -179
- package/components/LinearProgressIndeterminate/index-BwI756Mb.js +0 -55
- package/components/Loadable/index-BMbi9ISF.js +0 -9
- package/components/LoadingError/index-Cf0oGUrL.js +0 -89
- package/components/MFIsolationApp/index-V4R55hNU.js +0 -169
- package/components/MFLoader/index-BI8vQZSH.js +0 -299
- package/components/ModalDialog/index-CEVQBQ7W.js +0 -77
- package/components/NavLink/index-D1S_vtFO.js +0 -55
- package/components/NoItemSelected/index-B9oM26AX.js +0 -54
- package/components/ObjectLogs/index-CiXOJpS4.js +0 -233
- package/components/PDFViewer/index-GVN2rfd6.js +0 -51
- package/components/Page/index-DZMkYmr4.js +0 -117
- package/components/PaperForm/index-DwgAfjci.js +0 -59
- package/components/Period/index-2pJG3VmY.js +0 -238
- package/components/PrintingSystem/index-B2qcnfw0.js +0 -187
- package/components/PrintingSystem/subcomponents/BodyNode/index-Cv2aoy8S.js +0 -49
- package/components/PrintingSystem/subcomponents/ChartNode/index-BmJm8v_C.js +0 -105
- package/components/PrintingSystem/subcomponents/DividerNode/index-MpFhE-H0.js +0 -20
- package/components/PrintingSystem/subcomponents/FooterNode/index-ZEcWdMSM.js +0 -49
- package/components/PrintingSystem/subcomponents/GridNode/index-SsKax2xu.js +0 -74
- package/components/PrintingSystem/subcomponents/HeaderNode/index-Cs8TOOBL.js +0 -49
- package/components/PrintingSystem/subcomponents/PaperNode/index-DBb25Ecg.js +0 -30
- package/components/PrintingSystem/subcomponents/PropertyValueNode/index-CTVn7J9Q.js +0 -47
- package/components/PrintingSystem/subcomponents/SectionNode/index-iYPM3EaS.js +0 -49
- package/components/PrintingSystem/subcomponents/TextBoxNode/index-DGjXCFKJ.js +0 -24
- package/components/PropertyValue/index-Bh-Jnrte.js +0 -264
- package/components/Resizeable/index-DdP1xfE9.js +0 -20
- package/components/ScrollBar/index-f2URPPE2.js +0 -35
- package/components/ScrollToTop/index-TxORk5dB.js +0 -12
- package/components/SideBar/index-PUBBe0yH.js +0 -758
- package/components/SplitLayout/index-Bu1hcO6G.js +0 -89
- package/components/ToastContainer/index-DK1d8NNd.js +0 -191
- package/components/WrapperComponent/index-BHV-CsDU.js +0 -14
- package/components/animate/LoadingScreen/index-CkVLOrMz.js +0 -70
- package/components/animate/MotionContainer/index-eartnWyO.js +0 -34
- package/components/animate/MotionLazyContainer/index-Be8osTiG.js +0 -9
- package/components/animate/PropagateLoader/index-Bkq8V2SN.js +0 -23
- package/components/animate/features-BbnE33u3.js +0 -5
- package/components/animate/index-BsWiJfzp.js +0 -89
- package/components/animate/variants/bounce-DanQqHAX.js +0 -101
- package/components/animate/variants/container-Dmpr6tg5.js +0 -22
- package/components/animate/variants/fade-CAOJNn06.js +0 -65
- package/components/animate/variants/index-l0sNRNKZ.js +0 -1
- package/components/animate/variants/transition-B9W5SWTa.js +0 -20
- package/components/areas/components/AreasAdmin/index-OxQU3P8Y.js +0 -699
- package/components/areas/components/AreasViewer/index-DQ0aPioP.js +0 -805
- package/components/areas/components/index-l0sNRNKZ.js +0 -1
- package/components/areas/constants-rqODZNZe.js +0 -6
- package/components/areas/contexts/AreasContext/index-BqRlA7JA.js +0 -1110
- package/components/areas/contexts/DynamicMFParmsContext/index-22c6E7vK.js +0 -36
- package/components/areas/contexts/WindowToolsMFContext/index-DkE30fhm.js +0 -12
- package/components/areas/contexts/index-l0sNRNKZ.js +0 -1
- package/components/areas/dictionary-YUsP9beq.js +0 -36
- package/components/areas/hooks/index-l0sNRNKZ.js +0 -1
- package/components/areas/hooks/useAreas/index-BSbwbJLS.js +0 -11
- package/components/areas/hooks/useDynamicMFParameters/index-DhbcZPs9.js +0 -12
- package/components/areas/hooks/useSetWindowsTitle/useSetWindowsTitle-BzPD-miW.js +0 -31
- package/components/areas/hooks/useWindowToolsMF/index-BECQfhbC.js +0 -10
- package/components/areas/icons-CwFr-alN.js +0 -24
- package/components/areas/index-B_Odny9h.js +0 -22
- package/components/commercial/AppBarCommercial/index-CHq3P3GY.js +0 -28
- package/components/commercial/SectionCommercial/index-BeABGtdr.js +0 -56
- package/components/commercial/TopBar/index-F1repmti.js +0 -232
- package/components/commercial/index-CxDzs6Ax.js +0 -81
- package/components/formatters/BooleanFormatter/index-DktIidqW.js +0 -44
- package/components/formatters/DateFormatter/index-CGcRZ8BA.js +0 -43
- package/components/formatters/PointsFormatter/index-C7sR8iqk.js +0 -25
- package/components/formatters/PriceFormatter/index-CsvRawmc.js +0 -35
- package/components/formatters/UncertaintyFormatter/index-B9ESVEVp.js +0 -29
- package/components/formatters/index-pnJhDYKe.js +0 -109
- package/components/hook-form/HelperError/index-BVnmUazV.js +0 -19
- package/components/hook-form/RHFAutocomplete/index-BtPL16HR.js +0 -657
- package/components/hook-form/RHFAutocompleteAsync/index-BfzjLHG8.js +0 -226
- package/components/hook-form/RHFCheckbox/index-Vyttu8Vx.js +0 -132
- package/components/hook-form/RHFColorPicker/index-Cxxb5Wa_.js +0 -191
- package/components/hook-form/RHFDateTime/index-CW1Slb-f.js +0 -190
- package/components/hook-form/RHFMultiCheckbox/index-BARudV1A.js +0 -34
- package/components/hook-form/RHFPeriod/index-r-HeIOoZ.js +0 -98
- package/components/hook-form/RHFRadioGroup/index-CTD-0zKo.js +0 -52
- package/components/hook-form/RHFSelect/index-LdwRuFz-.js +0 -29
- package/components/hook-form/RHFTextField/index-B6ufruSB.js +0 -337
- package/components/hook-form/RHFUpload/index-CDPbm8NR.js +0 -253
- package/components/maps/components/GpsTools/index-5MXlhIEt.js +0 -1948
- package/components/maps/components/Map/index-2Lx5ARXa.js +0 -2546
- package/components/maps/index-Ci-7-FHg.js +0 -7
- package/components/modal/WindowBase-Gd27v5FU.js +0 -44
- package/components/modal/WindowConfirm-u6vAMFo7.js +0 -73
- package/components/modal/index-CydPIpKZ.js +0 -65
- package/components/mui_extended/Accordion/index-DMLYJL7o.js +0 -124
- package/components/mui_extended/Avatar/index-ClBa-6eF.js +0 -64
- package/components/mui_extended/Badge/index-zI-F_Qkq.js +0 -29
- package/components/mui_extended/BoxIcon/index-BUTJ2tKw.js +0 -22
- package/components/mui_extended/Breadcrumbs/index-DTS7rOZH.js +0 -86
- package/components/mui_extended/Button/index-CGfZbaea.js +0 -222
- package/components/mui_extended/CheckBox-BXUrbonB.js +0 -76
- package/components/mui_extended/CircularProgress/index-Bnnti_G6.js +0 -8
- package/components/mui_extended/IconButton/classes/constants-ChY2jKkp.js +0 -4
- package/components/mui_extended/IconButton/classes/index-BxjJGAqZ.js +0 -45
- package/components/mui_extended/IconButton/index-CusYFjie.js +0 -97
- package/components/mui_extended/IconButton/styledIconButton-fAsbGoFS.js +0 -7
- package/components/mui_extended/LinearProgress/index-CGgW8jq2.js +0 -9
- package/components/mui_extended/LinkWithRoute/index-BC2miUjR.js +0 -15
- package/components/mui_extended/MenuActions/MenuActions-C6CjSU6C.js +0 -149
- package/components/mui_extended/MenuActions/constants-BwsU9chA.js +0 -10
- package/components/mui_extended/MenuActions/dictionary-Dj_07puT.js +0 -11
- package/components/mui_extended/MenuActions/slots/MenuActionsEnum-Bu-L6eWU.js +0 -13
- package/components/mui_extended/MenuActions/slots/MenuActionsSlots-D65KZAKF.js +0 -46
- package/components/mui_extended/Pager/index-DCbxiTZA.js +0 -257
- package/components/mui_extended/Popover/index-DfrJAQkV.js +0 -153
- package/components/mui_extended/Stack/index-DzEeCYfp.js +0 -31
- package/components/mui_extended/Tab/index-Bu3dPidV.js +0 -129
- package/components/mui_extended/ToggleButton/index-C9cBkT1V.js +0 -18
- package/components/mui_extended/ToggleIconButton/index--0b3Td6C.js +0 -26
- package/components/mui_extended/Tooltip/index-B8QUytCK.js +0 -42
- package/components/mui_extended/Typography/index-Cf_4Zw8f.js +0 -54
- package/components/mui_extended/index-l0sNRNKZ.js +0 -1
- package/components/popups/PopupsProvider/index-DhSxmtfJ.js +0 -172
- package/components/popups/PopupsViewer/constants-DuyD7aCn.js +0 -4
- package/components/popups/PopupsViewer/icons-BUujqqbu.js +0 -7
- package/components/popups/PopupsViewer/index-BecevSns.js +0 -172
- package/components/popups/PopupsViewer/slots/index-B98CiRLa.js +0 -14
- package/components/popups/PopupsViewer/slots/popupsViewerSlots-BXH77nCF.js +0 -46
- package/components/popups/index-l0sNRNKZ.js +0 -1
- package/contexts/ModalContext/index-CPfNnfTL.js +0 -39
- package/contexts/RHFormContext/index-D_nK759o.js +0 -78
- package/hocs/withToggle/index-C1_DMZD3.js +0 -14
- package/hooks/useFormAddEdit/index-D9oSjUn1.js +0 -90
- package/hooks/useFormReadyForUpdate/index-B3HygFCM.js +0 -20
- package/hooks/useModal/index-BJSQOX3U.js +0 -10
- package/hooks/useSizeContainer/index-D4hDjM1P.js +0 -37
- package/hooks/useStateRef/index-C3P6ZK3m.js +0 -15
- package/hooks/useTab/index-B_GEQFOP.js +0 -12
- package/react-data-grid-BfYuZ6AK.js +0 -2606
- package/react-draggable-DsCPdgQP.js +0 -811
- package/react-json-view-bhqIAaNg.js +0 -2576
- package/react-resizable-eBbFl2dX.js +0 -618
- package/react-spinners-TpKN9lZg.js +0 -123
- package/react-splitter-layout-C-JTsNGs.js +0 -158
- package/styles/DynamicFilter-CJFsIegc.js +0 -319
- package/styles/MenuActions-lTi-ynPM.js +0 -42
- package/styles/index-DKj6m8SL.js +0 -1691
- package/test/constants_no_mock-CF-669v-.js +0 -4
- package/test/getNameDataTestId-BaBTWhBr.js +0 -10
- package/utils/index-DiMrtgIu.js +0 -502
- /package/components/GridLayout/subcomponents/{Griditem → GridItem}/index.d.ts +0 -0
- /package/components/GridLayout/subcomponents/{Griditem → GridItem}/types.d.ts +0 -0
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
var cssUnit = {
|
|
3
|
-
cm: true,
|
|
4
|
-
mm: true,
|
|
5
|
-
in: true,
|
|
6
|
-
px: true,
|
|
7
|
-
pt: true,
|
|
8
|
-
pc: true,
|
|
9
|
-
em: true,
|
|
10
|
-
ex: true,
|
|
11
|
-
ch: true,
|
|
12
|
-
rem: true,
|
|
13
|
-
vw: true,
|
|
14
|
-
vh: true,
|
|
15
|
-
vmin: true,
|
|
16
|
-
vmax: true,
|
|
17
|
-
"%": true
|
|
18
|
-
};
|
|
19
|
-
function parseLengthAndUnit(size) {
|
|
20
|
-
if (typeof size === "number") {
|
|
21
|
-
return {
|
|
22
|
-
value: size,
|
|
23
|
-
unit: "px"
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
var value;
|
|
27
|
-
var valueString = (size.match(/^[0-9.]*/) || "").toString();
|
|
28
|
-
if (valueString.includes(".")) {
|
|
29
|
-
value = parseFloat(valueString);
|
|
30
|
-
} else {
|
|
31
|
-
value = parseInt(valueString, 10);
|
|
32
|
-
}
|
|
33
|
-
var unit = (size.match(/[^0-9]*$/) || "").toString();
|
|
34
|
-
if (cssUnit[unit]) {
|
|
35
|
-
return {
|
|
36
|
-
value,
|
|
37
|
-
unit
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
console.warn("React Spinners: ".concat(size, " is not a valid css value. Defaulting to ").concat(value, "px."));
|
|
41
|
-
return {
|
|
42
|
-
value,
|
|
43
|
-
unit: "px"
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
var createAnimation = function(loaderName, frames, suffix) {
|
|
47
|
-
var animationName = "react-spinners-".concat(loaderName, "-").concat(suffix);
|
|
48
|
-
if (typeof window == "undefined" || !window.document) {
|
|
49
|
-
return animationName;
|
|
50
|
-
}
|
|
51
|
-
var styleEl = document.createElement("style");
|
|
52
|
-
document.head.appendChild(styleEl);
|
|
53
|
-
var styleSheet = styleEl.sheet;
|
|
54
|
-
var keyFrames = "\n @keyframes ".concat(animationName, " {\n ").concat(frames, "\n }\n ");
|
|
55
|
-
if (styleSheet) {
|
|
56
|
-
styleSheet.insertRule(keyFrames, 0);
|
|
57
|
-
}
|
|
58
|
-
return animationName;
|
|
59
|
-
};
|
|
60
|
-
var __assign = function() {
|
|
61
|
-
__assign = Object.assign || function(t) {
|
|
62
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
63
|
-
s = arguments[i];
|
|
64
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
65
|
-
t[p] = s[p];
|
|
66
|
-
}
|
|
67
|
-
return t;
|
|
68
|
-
};
|
|
69
|
-
return __assign.apply(this, arguments);
|
|
70
|
-
};
|
|
71
|
-
var __rest = function(s, e) {
|
|
72
|
-
var t = {};
|
|
73
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
74
|
-
t[p] = s[p];
|
|
75
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
76
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
77
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
78
|
-
t[p[i]] = s[p[i]];
|
|
79
|
-
}
|
|
80
|
-
return t;
|
|
81
|
-
};
|
|
82
|
-
var distance = [1, 3, 5];
|
|
83
|
-
var propagate = [
|
|
84
|
-
createAnimation("PropagateLoader", "25% {transform: translateX(-".concat(distance[0], "rem) scale(0.75)}\n 50% {transform: translateX(-").concat(distance[1], "rem) scale(0.6)}\n 75% {transform: translateX(-").concat(distance[2], "rem) scale(0.5)}\n 95% {transform: translateX(0rem) scale(1)}"), "propogate-0"),
|
|
85
|
-
createAnimation("PropagateLoader", "25% {transform: translateX(-".concat(distance[0], "rem) scale(0.75)}\n 50% {transform: translateX(-").concat(distance[1], "rem) scale(0.6)}\n 75% {transform: translateX(-").concat(distance[1], "rem) scale(0.6)}\n 95% {transform: translateX(0rem) scale(1)}"), "propogate-1"),
|
|
86
|
-
createAnimation("PropagateLoader", "25% {transform: translateX(-".concat(distance[0], "rem) scale(0.75)}\n 75% {transform: translateX(-").concat(distance[0], "rem) scale(0.75)}\n 95% {transform: translateX(0rem) scale(1)}"), "propogate-2"),
|
|
87
|
-
createAnimation("PropagateLoader", "25% {transform: translateX(".concat(distance[0], "rem) scale(0.75)}\n 75% {transform: translateX(").concat(distance[0], "rem) scale(0.75)}\n 95% {transform: translateX(0rem) scale(1)}"), "propogate-3"),
|
|
88
|
-
createAnimation("PropagateLoader", "25% {transform: translateX(".concat(distance[0], "rem) scale(0.75)}\n 50% {transform: translateX(").concat(distance[1], "rem) scale(0.6)}\n 75% {transform: translateX(").concat(distance[1], "rem) scale(0.6)}\n 95% {transform: translateX(0rem) scale(1)}"), "propogate-4"),
|
|
89
|
-
createAnimation("PropagateLoader", "25% {transform: translateX(".concat(distance[0], "rem) scale(0.75)}\n 50% {transform: translateX(").concat(distance[1], "rem) scale(0.6)}\n 75% {transform: translateX(").concat(distance[2], "rem) scale(0.5)}\n 95% {transform: translateX(0rem) scale(1)}"), "propogate-5")
|
|
90
|
-
];
|
|
91
|
-
function PropagateLoader(_a) {
|
|
92
|
-
var _b = _a.loading, loading = _b === void 0 ? true : _b, _c = _a.color, color = _c === void 0 ? "#000000" : _c, _d = _a.speedMultiplier, speedMultiplier = _d === void 0 ? 1 : _d, _e = _a.cssOverride, cssOverride = _e === void 0 ? {} : _e, _f = _a.size, size = _f === void 0 ? 15 : _f, additionalprops = __rest(_a, ["loading", "color", "speedMultiplier", "cssOverride", "size"]);
|
|
93
|
-
var _g = parseLengthAndUnit(size), value = _g.value, unit = _g.unit;
|
|
94
|
-
var wrapper = __assign({ display: "inherit", position: "relative" }, cssOverride);
|
|
95
|
-
var style = function(i) {
|
|
96
|
-
return {
|
|
97
|
-
position: "absolute",
|
|
98
|
-
fontSize: "".concat(value / 3).concat(unit),
|
|
99
|
-
width: "".concat(value).concat(unit),
|
|
100
|
-
height: "".concat(value).concat(unit),
|
|
101
|
-
background: color,
|
|
102
|
-
borderRadius: "50%",
|
|
103
|
-
animation: "".concat(propagate[i], " ").concat(1.5 / speedMultiplier, "s infinite"),
|
|
104
|
-
animationFillMode: "forwards"
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
if (!loading) {
|
|
108
|
-
return null;
|
|
109
|
-
}
|
|
110
|
-
return React.createElement(
|
|
111
|
-
"span",
|
|
112
|
-
__assign({ style: wrapper }, additionalprops),
|
|
113
|
-
React.createElement("span", { style: style(0) }),
|
|
114
|
-
React.createElement("span", { style: style(1) }),
|
|
115
|
-
React.createElement("span", { style: style(2) }),
|
|
116
|
-
React.createElement("span", { style: style(3) }),
|
|
117
|
-
React.createElement("span", { style: style(4) }),
|
|
118
|
-
React.createElement("span", { style: style(5) })
|
|
119
|
-
);
|
|
120
|
-
}
|
|
121
|
-
export {
|
|
122
|
-
PropagateLoader as P
|
|
123
|
-
};
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
import { g as getDefaultExportFromCjs } from "./commonjs-BfYxJMv3.js";
|
|
2
|
-
import require$$1 from "prop-types";
|
|
3
|
-
import React__default from "react";
|
|
4
|
-
var lib = { exports: {} };
|
|
5
|
-
(function(module, exports) {
|
|
6
|
-
!function(e, t) {
|
|
7
|
-
module.exports = t(require$$1, React__default);
|
|
8
|
-
}(window, function(e, t) {
|
|
9
|
-
return function(e2) {
|
|
10
|
-
var t2 = {};
|
|
11
|
-
function n(o) {
|
|
12
|
-
if (t2[o]) return t2[o].exports;
|
|
13
|
-
var r = t2[o] = { i: o, l: false, exports: {} };
|
|
14
|
-
return e2[o].call(r.exports, r, r.exports, n), r.l = true, r.exports;
|
|
15
|
-
}
|
|
16
|
-
return n.m = e2, n.c = t2, n.d = function(e3, t3, o) {
|
|
17
|
-
n.o(e3, t3) || Object.defineProperty(e3, t3, { enumerable: true, get: o });
|
|
18
|
-
}, n.r = function(e3) {
|
|
19
|
-
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e3, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e3, "__esModule", { value: true });
|
|
20
|
-
}, n.t = function(e3, t3) {
|
|
21
|
-
if (1 & t3 && (e3 = n(e3)), 8 & t3) return e3;
|
|
22
|
-
if (4 & t3 && "object" == typeof e3 && e3 && e3.__esModule) return e3;
|
|
23
|
-
var o = /* @__PURE__ */ Object.create(null);
|
|
24
|
-
if (n.r(o), Object.defineProperty(o, "default", { enumerable: true, value: e3 }), 2 & t3 && "string" != typeof e3) for (var r in e3) n.d(o, r, function(t4) {
|
|
25
|
-
return e3[t4];
|
|
26
|
-
}.bind(null, r));
|
|
27
|
-
return o;
|
|
28
|
-
}, n.n = function(e3) {
|
|
29
|
-
var t3 = e3 && e3.__esModule ? function() {
|
|
30
|
-
return e3.default;
|
|
31
|
-
} : function() {
|
|
32
|
-
return e3;
|
|
33
|
-
};
|
|
34
|
-
return n.d(t3, "a", t3), t3;
|
|
35
|
-
}, n.o = function(e3, t3) {
|
|
36
|
-
return Object.prototype.hasOwnProperty.call(e3, t3);
|
|
37
|
-
}, n.p = "", n(n.s = 2);
|
|
38
|
-
}([function(t2, n) {
|
|
39
|
-
t2.exports = e;
|
|
40
|
-
}, function(e2, n) {
|
|
41
|
-
e2.exports = t;
|
|
42
|
-
}, function(e2, t2, n) {
|
|
43
|
-
e2.exports = n(3);
|
|
44
|
-
}, function(e2, t2, n) {
|
|
45
|
-
n.r(t2);
|
|
46
|
-
var o = n(1), r = n.n(o), i = n(0), a = n.n(i);
|
|
47
|
-
function s(e3) {
|
|
48
|
-
var t3 = e3.size || 0, n2 = e3.percentage ? "%" : "px", o2 = "layout-pane", i2 = {};
|
|
49
|
-
return e3.primary ? o2 += " layout-pane-primary" : e3.vertical ? i2.height = "".concat(t3).concat(n2) : i2.width = "".concat(t3).concat(n2), r.a.createElement("div", { className: o2, style: i2 }, e3.children);
|
|
50
|
-
}
|
|
51
|
-
s.propTypes = { vertical: a.a.bool, primary: a.a.bool, size: a.a.number, percentage: a.a.bool, children: a.a.oneOfType([a.a.arrayOf(a.a.node), a.a.node]) }, s.defaultProps = { vertical: false, primary: false, size: 0, percentage: false, children: [] };
|
|
52
|
-
var c = s;
|
|
53
|
-
function l(e3) {
|
|
54
|
-
return (l = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e4) {
|
|
55
|
-
return typeof e4;
|
|
56
|
-
} : function(e4) {
|
|
57
|
-
return e4 && "function" == typeof Symbol && e4.constructor === Symbol && e4 !== Symbol.prototype ? "symbol" : typeof e4;
|
|
58
|
-
})(e3);
|
|
59
|
-
}
|
|
60
|
-
function u(e3, t3) {
|
|
61
|
-
for (var n2 = 0; n2 < t3.length; n2++) {
|
|
62
|
-
var o2 = t3[n2];
|
|
63
|
-
o2.enumerable = o2.enumerable || false, o2.configurable = true, "value" in o2 && (o2.writable = true), Object.defineProperty(e3, o2.key, o2);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
function p(e3) {
|
|
67
|
-
return (p = Object.setPrototypeOf ? Object.getPrototypeOf : function(e4) {
|
|
68
|
-
return e4.__proto__ || Object.getPrototypeOf(e4);
|
|
69
|
-
})(e3);
|
|
70
|
-
}
|
|
71
|
-
function d(e3, t3) {
|
|
72
|
-
return (d = Object.setPrototypeOf || function(e4, t4) {
|
|
73
|
-
return e4.__proto__ = t4, e4;
|
|
74
|
-
})(e3, t3);
|
|
75
|
-
}
|
|
76
|
-
function h(e3) {
|
|
77
|
-
if (void 0 === e3) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
78
|
-
return e3;
|
|
79
|
-
}
|
|
80
|
-
function f() {
|
|
81
|
-
if (document.body.createTextRange) {
|
|
82
|
-
var e3 = document.body.createTextRange();
|
|
83
|
-
e3.collapse(), e3.select();
|
|
84
|
-
} else window.getSelection ? window.getSelection().empty ? window.getSelection().empty() : window.getSelection().removeAllRanges && window.getSelection().removeAllRanges() : document.selection && document.selection.empty();
|
|
85
|
-
}
|
|
86
|
-
var y = function(e3) {
|
|
87
|
-
function t3(e4) {
|
|
88
|
-
var n3, o3, r2;
|
|
89
|
-
return function(e5, t4) {
|
|
90
|
-
if (!(e5 instanceof t4)) throw new TypeError("Cannot call a class as a function");
|
|
91
|
-
}(this, t3), o3 = this, (n3 = !(r2 = p(t3).call(this, e4)) || "object" !== l(r2) && "function" != typeof r2 ? h(o3) : r2).handleResize = n3.handleResize.bind(h(h(n3))), n3.handleMouseMove = n3.handleMouseMove.bind(h(h(n3))), n3.handleMouseUp = n3.handleMouseUp.bind(h(h(n3))), n3.handleTouchMove = n3.handleTouchMove.bind(h(h(n3))), n3.handleSplitterMouseDown = n3.handleSplitterMouseDown.bind(h(h(n3))), n3.state = { secondaryPaneSize: 0, resizing: false }, n3;
|
|
92
|
-
}
|
|
93
|
-
var n2, o2;
|
|
94
|
-
return function(e4, t4) {
|
|
95
|
-
if ("function" != typeof t4 && null !== t4) throw new TypeError("Super expression must either be null or a function");
|
|
96
|
-
e4.prototype = Object.create(t4 && t4.prototype, { constructor: { value: e4, writable: true, configurable: true } }), t4 && d(e4, t4);
|
|
97
|
-
}(t3, r.a.Component), n2 = t3, (o2 = [{ key: "componentDidMount", value: function() {
|
|
98
|
-
var e4;
|
|
99
|
-
if (window.addEventListener("resize", this.handleResize), document.addEventListener("mouseup", this.handleMouseUp), document.addEventListener("mousemove", this.handleMouseMove), document.addEventListener("touchend", this.handleMouseUp), document.addEventListener("touchmove", this.handleTouchMove), void 0 !== this.props.secondaryInitialSize) e4 = this.props.secondaryInitialSize;
|
|
100
|
-
else {
|
|
101
|
-
var t4, n3 = this.container.getBoundingClientRect();
|
|
102
|
-
t4 = this.splitter ? this.splitter.getBoundingClientRect() : { width: 4, height: 4 }, e4 = this.getSecondaryPaneSize(n3, t4, { left: n3.left + (n3.width - t4.width) / 2, top: n3.top + (n3.height - t4.height) / 2 }, false);
|
|
103
|
-
}
|
|
104
|
-
this.setState({ secondaryPaneSize: e4 });
|
|
105
|
-
} }, { key: "componentDidUpdate", value: function(e4, t4) {
|
|
106
|
-
t4.secondaryPaneSize !== this.state.secondaryPaneSize && this.props.onSecondaryPaneSizeChange && this.props.onSecondaryPaneSizeChange(this.state.secondaryPaneSize), t4.resizing !== this.state.resizing && (this.state.resizing ? this.props.onDragStart && this.props.onDragStart() : this.props.onDragEnd && this.props.onDragEnd());
|
|
107
|
-
} }, { key: "componentWillUnmount", value: function() {
|
|
108
|
-
window.removeEventListener("resize", this.handleResize), document.removeEventListener("mouseup", this.handleMouseUp), document.removeEventListener("mousemove", this.handleMouseMove), document.removeEventListener("touchend", this.handleMouseUp), document.removeEventListener("touchmove", this.handleTouchMove);
|
|
109
|
-
} }, { key: "getSecondaryPaneSize", value: function(e4, t4, n3, o3) {
|
|
110
|
-
var r2, i2, a2, s2;
|
|
111
|
-
this.props.vertical ? (r2 = e4.height, i2 = t4.height, a2 = n3.top - e4.top) : (r2 = e4.width, i2 = t4.width, a2 = n3.left - e4.left), o3 && (a2 -= i2 / 2), a2 < 0 ? a2 = 0 : a2 > r2 - i2 && (a2 = r2 - i2);
|
|
112
|
-
var c2 = r2 - i2 - (s2 = 1 === this.props.primaryIndex ? a2 : r2 - i2 - a2);
|
|
113
|
-
return this.props.percentage && (s2 = 100 * s2 / r2, c2 = 100 * c2 / r2, i2 = 100 * i2 / r2, r2 = 100), c2 < this.props.primaryMinSize ? s2 = Math.max(s2 - (this.props.primaryMinSize - c2), 0) : s2 < this.props.secondaryMinSize && (s2 = Math.min(r2 - i2 - this.props.primaryMinSize, this.props.secondaryMinSize)), s2;
|
|
114
|
-
} }, { key: "handleResize", value: function() {
|
|
115
|
-
if (this.splitter && !this.props.percentage) {
|
|
116
|
-
var e4 = this.container.getBoundingClientRect(), t4 = this.splitter.getBoundingClientRect(), n3 = this.getSecondaryPaneSize(e4, t4, { left: t4.left, top: t4.top }, false);
|
|
117
|
-
this.setState({ secondaryPaneSize: n3 });
|
|
118
|
-
}
|
|
119
|
-
} }, { key: "handleMouseMove", value: function(e4) {
|
|
120
|
-
if (this.state.resizing) {
|
|
121
|
-
var t4 = this.container.getBoundingClientRect(), n3 = this.splitter.getBoundingClientRect(), o3 = this.getSecondaryPaneSize(t4, n3, { left: e4.clientX, top: e4.clientY }, true);
|
|
122
|
-
f(), this.setState({ secondaryPaneSize: o3 });
|
|
123
|
-
}
|
|
124
|
-
} }, { key: "handleTouchMove", value: function(e4) {
|
|
125
|
-
this.handleMouseMove(e4.changedTouches[0]);
|
|
126
|
-
} }, { key: "handleSplitterMouseDown", value: function() {
|
|
127
|
-
f(), this.setState({ resizing: true });
|
|
128
|
-
} }, { key: "handleMouseUp", value: function() {
|
|
129
|
-
this.setState(function(e4) {
|
|
130
|
-
return e4.resizing ? { resizing: false } : null;
|
|
131
|
-
});
|
|
132
|
-
} }, { key: "render", value: function() {
|
|
133
|
-
var e4 = this, t4 = "splitter-layout";
|
|
134
|
-
this.props.customClassName && (t4 += " ".concat(this.props.customClassName)), this.props.vertical && (t4 += " splitter-layout-vertical"), this.state.resizing && (t4 += " layout-changing");
|
|
135
|
-
var n3 = r.a.Children.toArray(this.props.children).slice(0, 2);
|
|
136
|
-
0 === n3.length && n3.push(r.a.createElement("div", null));
|
|
137
|
-
for (var o3 = [], i2 = 0 !== this.props.primaryIndex && 1 !== this.props.primaryIndex ? 0 : this.props.primaryIndex, a2 = 0; a2 < n3.length; ++a2) {
|
|
138
|
-
var s2 = true, l2 = null;
|
|
139
|
-
n3.length > 1 && a2 !== i2 && (s2 = false, l2 = this.state.secondaryPaneSize), o3.push(r.a.createElement(c, { vertical: this.props.vertical, percentage: this.props.percentage, primary: s2, size: l2 }, n3[a2]));
|
|
140
|
-
}
|
|
141
|
-
return r.a.createElement("div", { className: t4, ref: function(t5) {
|
|
142
|
-
e4.container = t5;
|
|
143
|
-
} }, o3[0], o3.length > 1 && r.a.createElement("div", { role: "separator", className: "layout-splitter", ref: function(t5) {
|
|
144
|
-
e4.splitter = t5;
|
|
145
|
-
}, onMouseDown: this.handleSplitterMouseDown, onTouchStart: this.handleSplitterMouseDown }), o3.length > 1 && o3[1]);
|
|
146
|
-
} }]) && u(n2.prototype, o2), t3;
|
|
147
|
-
}();
|
|
148
|
-
y.propTypes = { customClassName: a.a.string, vertical: a.a.bool, percentage: a.a.bool, primaryIndex: a.a.number, primaryMinSize: a.a.number, secondaryInitialSize: a.a.number, secondaryMinSize: a.a.number, onDragStart: a.a.func, onDragEnd: a.a.func, onSecondaryPaneSizeChange: a.a.func, children: a.a.arrayOf(a.a.node) }, y.defaultProps = { customClassName: "", vertical: false, percentage: false, primaryIndex: 0, primaryMinSize: 0, secondaryInitialSize: void 0, secondaryMinSize: 0, onDragStart: null, onDragEnd: null, onSecondaryPaneSizeChange: null, children: [] };
|
|
149
|
-
var m = y;
|
|
150
|
-
t2.default = m;
|
|
151
|
-
}]);
|
|
152
|
-
});
|
|
153
|
-
})(lib);
|
|
154
|
-
var libExports = lib.exports;
|
|
155
|
-
const SplitterLayout = /* @__PURE__ */ getDefaultExportFromCjs(libExports);
|
|
156
|
-
export {
|
|
157
|
-
SplitterLayout as S
|
|
158
|
-
};
|
|
@@ -1,319 +0,0 @@
|
|
|
1
|
-
import { alpha } from "@mui/material";
|
|
2
|
-
import { c as containerQuery } from "../utils/index-DiMrtgIu.js";
|
|
3
|
-
const CONTAINER_QUERY_NAME = "dynamic";
|
|
4
|
-
const dynamicFilterStyles = {
|
|
5
|
-
root: {
|
|
6
|
-
containerName: CONTAINER_QUERY_NAME,
|
|
7
|
-
containerType: "inline-size",
|
|
8
|
-
width: "100%",
|
|
9
|
-
height: "auto",
|
|
10
|
-
padding: 0
|
|
11
|
-
},
|
|
12
|
-
innerContainer: ({ theme, ownerState }) => ({
|
|
13
|
-
display: "grid",
|
|
14
|
-
gridTemplateColumns: "auto 1fr auto",
|
|
15
|
-
gridTemplateAreas: '"input-filter applied-filters actions-filter"',
|
|
16
|
-
alignItems: "center",
|
|
17
|
-
justifyContent: "flex-start",
|
|
18
|
-
width: "100%",
|
|
19
|
-
height: "fit-content",
|
|
20
|
-
border: "1px solid",
|
|
21
|
-
borderRadius: "4px",
|
|
22
|
-
borderColor: theme.vars.palette.state?.borderPrimary,
|
|
23
|
-
background: theme.vars.palette.background.default,
|
|
24
|
-
[containerQuery(theme.breakpoints, CONTAINER_QUERY_NAME)]: {
|
|
25
|
-
minHeight: "auto",
|
|
26
|
-
height: "auto",
|
|
27
|
-
gridTemplateColumns: "1fr auto",
|
|
28
|
-
gridTemplateAreas: `"input-filter actions-filter"
|
|
29
|
-
"applied-filters applied-filters"`
|
|
30
|
-
},
|
|
31
|
-
"&:focus-within": {
|
|
32
|
-
borderColor: !ownerState.isValid ? theme.vars.palette.state.error.normal : theme.vars.palette.state?.focus
|
|
33
|
-
},
|
|
34
|
-
...ownerState.isValid === false ? {
|
|
35
|
-
borderColor: theme.vars.palette.state.error.normal
|
|
36
|
-
} : {}
|
|
37
|
-
}),
|
|
38
|
-
inputFilter: ({ theme }) => ({
|
|
39
|
-
gridArea: "input-filter",
|
|
40
|
-
display: "flex",
|
|
41
|
-
flexDirection: "row",
|
|
42
|
-
gap: "8px",
|
|
43
|
-
padding: "4px 6px 4px 4px",
|
|
44
|
-
height: "100%",
|
|
45
|
-
maxWidth: "135px",
|
|
46
|
-
width: "100%",
|
|
47
|
-
alignItems: "center",
|
|
48
|
-
borderTopLeftRadius: "4px",
|
|
49
|
-
borderBottomLeftRadius: "4px",
|
|
50
|
-
borderRight: "1px solid",
|
|
51
|
-
borderColor: theme.vars.palette.state?.borderPrimary,
|
|
52
|
-
[containerQuery(theme.breakpoints, CONTAINER_QUERY_NAME)]: {
|
|
53
|
-
height: "32px",
|
|
54
|
-
width: "100%",
|
|
55
|
-
maxWidth: "100%",
|
|
56
|
-
borderRight: "none"
|
|
57
|
-
},
|
|
58
|
-
[theme.breakpoints.down("sm")]: {
|
|
59
|
-
height: "44px",
|
|
60
|
-
justifyContent: "center"
|
|
61
|
-
}
|
|
62
|
-
}),
|
|
63
|
-
inputFilterInput: ({ theme }) => ({
|
|
64
|
-
...theme.typography.body,
|
|
65
|
-
background: theme.vars.palette.background.default,
|
|
66
|
-
color: theme.vars.palette.text.secondary,
|
|
67
|
-
border: "1px solid",
|
|
68
|
-
borderColor: "transparent",
|
|
69
|
-
padding: "4px 8px",
|
|
70
|
-
width: "100%",
|
|
71
|
-
height: "100%",
|
|
72
|
-
"&::placeholder": {
|
|
73
|
-
color: theme.vars.palette.text.secondary
|
|
74
|
-
},
|
|
75
|
-
"&:focus-visible": {
|
|
76
|
-
color: theme.vars.palette.text.secondary,
|
|
77
|
-
border: "1px solid",
|
|
78
|
-
borderColor: theme.vars.palette.state?.active12,
|
|
79
|
-
background: theme.vars.palette.state?.active12,
|
|
80
|
-
BorderRadius: "2px",
|
|
81
|
-
outline: "none!important"
|
|
82
|
-
},
|
|
83
|
-
"&:hover": {
|
|
84
|
-
borderColor: theme.vars.palette.state?.toneOp,
|
|
85
|
-
background: theme.vars.palette.state?.hoverDefault
|
|
86
|
-
}
|
|
87
|
-
}),
|
|
88
|
-
inputFilterIcon: {
|
|
89
|
-
visibility: "visible"
|
|
90
|
-
},
|
|
91
|
-
appliedFilters: ({ theme }) => ({
|
|
92
|
-
gridArea: "applied-filters",
|
|
93
|
-
width: "100%",
|
|
94
|
-
height: "fit-content",
|
|
95
|
-
paddingLeft: theme.spacing(1),
|
|
96
|
-
borderLeft: "none",
|
|
97
|
-
margin: "0px",
|
|
98
|
-
padding: "0px 4px",
|
|
99
|
-
[containerQuery(theme.breakpoints, CONTAINER_QUERY_NAME)]: {
|
|
100
|
-
height: "auto",
|
|
101
|
-
padding: "4px",
|
|
102
|
-
display: "flex",
|
|
103
|
-
borderTop: "1px solid ",
|
|
104
|
-
borderColor: theme.vars.palette.state?.borderSecondary,
|
|
105
|
-
"&:has(div[class*=appliedFilterInnerContainer]:empty), &:empty": {
|
|
106
|
-
display: "none"
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}),
|
|
110
|
-
appliedFilterInnerContainer: ({ theme }) => ({
|
|
111
|
-
padding: "2px",
|
|
112
|
-
gap: "4px",
|
|
113
|
-
height: "fit-content",
|
|
114
|
-
display: "flex",
|
|
115
|
-
flexWrap: "nowrap",
|
|
116
|
-
width: "100%",
|
|
117
|
-
justifyContent: "flex-start",
|
|
118
|
-
alignItems: "center",
|
|
119
|
-
[containerQuery(theme.breakpoints, CONTAINER_QUERY_NAME)]: {
|
|
120
|
-
height: "32px",
|
|
121
|
-
padding: 0,
|
|
122
|
-
margin: 0,
|
|
123
|
-
border: 0
|
|
124
|
-
},
|
|
125
|
-
[theme.breakpoints.down("sm")]: {
|
|
126
|
-
padding: 0,
|
|
127
|
-
height: "44px"
|
|
128
|
-
}
|
|
129
|
-
}),
|
|
130
|
-
appliedFilterChip: ({ theme }) => ({
|
|
131
|
-
display: "flex",
|
|
132
|
-
justifyContent: "center",
|
|
133
|
-
alignItems: "center",
|
|
134
|
-
overflow: "visible",
|
|
135
|
-
width: "auto",
|
|
136
|
-
height: "24px",
|
|
137
|
-
minHeight: theme.spacing(3),
|
|
138
|
-
paddingLeft: theme.spacing(1),
|
|
139
|
-
borderColor: alpha(`${theme.colorSchemes.finalTheme.palette.divider}`, 0.1),
|
|
140
|
-
border: "none",
|
|
141
|
-
borderRadius: "4px",
|
|
142
|
-
backgroundColor: theme.vars.palette.state?.default,
|
|
143
|
-
color: theme.vars.palette.text.secondary,
|
|
144
|
-
...theme.typography.body,
|
|
145
|
-
[theme.breakpoints.down("sm")]: {
|
|
146
|
-
height: "fit-content"
|
|
147
|
-
}
|
|
148
|
-
}),
|
|
149
|
-
appliedFilterChipIcon: {
|
|
150
|
-
visibility: "visible"
|
|
151
|
-
},
|
|
152
|
-
appliedFilterChipInfo: ({ theme }) => ({
|
|
153
|
-
...theme.typography.body2,
|
|
154
|
-
display: "flex",
|
|
155
|
-
justifyContent: "center",
|
|
156
|
-
alignItems: "center",
|
|
157
|
-
width: "auto",
|
|
158
|
-
height: "100%",
|
|
159
|
-
marginRight: theme.spacing(1),
|
|
160
|
-
marginLeft: theme.spacing(1),
|
|
161
|
-
whiteSpace: "nowrap",
|
|
162
|
-
border: "none",
|
|
163
|
-
backgroundColor: "transparent"
|
|
164
|
-
}),
|
|
165
|
-
appliedFilterChipInfoFieldName: ({ theme }) => ({
|
|
166
|
-
...theme.typography.subtitle2,
|
|
167
|
-
color: theme.vars.palette.text.secondary
|
|
168
|
-
}),
|
|
169
|
-
appliedFilterChipInfoOperator: ({ theme }) => ({
|
|
170
|
-
...theme.typography.body2,
|
|
171
|
-
marginLeft: theme.spacing(1.5),
|
|
172
|
-
fontStyle: "italic",
|
|
173
|
-
color: theme.vars.palette.text.secondary
|
|
174
|
-
}),
|
|
175
|
-
appliedFilterChipInfoOperands: ({ theme }) => ({
|
|
176
|
-
...theme.typography.body2,
|
|
177
|
-
marginLeft: theme.spacing(1.5),
|
|
178
|
-
color: theme.vars.palette.text.secondary
|
|
179
|
-
}),
|
|
180
|
-
appliedFilterChipRemoveButton: {
|
|
181
|
-
visibility: "visible"
|
|
182
|
-
},
|
|
183
|
-
actions: ({ theme }) => ({
|
|
184
|
-
gridArea: "actions-filter",
|
|
185
|
-
display: "flex",
|
|
186
|
-
flexDirection: "row",
|
|
187
|
-
gap: "8px",
|
|
188
|
-
padding: "4px",
|
|
189
|
-
height: "100%",
|
|
190
|
-
alignItems: "center",
|
|
191
|
-
borderTopRightRadius: "4px",
|
|
192
|
-
borderBottomRightRadius: "4px",
|
|
193
|
-
borderLeft: "1px solid",
|
|
194
|
-
borderColor: theme.vars.palette.state?.borderPrimary
|
|
195
|
-
}),
|
|
196
|
-
actionsSkeletonButton: {
|
|
197
|
-
display: "flex",
|
|
198
|
-
justifyContent: "center",
|
|
199
|
-
alignItems: "center",
|
|
200
|
-
width: "24px",
|
|
201
|
-
height: "24px"
|
|
202
|
-
},
|
|
203
|
-
actionsClearButton: {
|
|
204
|
-
visibility: "visible"
|
|
205
|
-
},
|
|
206
|
-
actionsSubmitButton: ({ theme, ownerState }) => ({
|
|
207
|
-
...ownerState.isValid === false ? { border: `1px dashed ${theme.vars.palette.error.main}` } : {
|
|
208
|
-
visibility: "visible"
|
|
209
|
-
}
|
|
210
|
-
}),
|
|
211
|
-
popoverMenu: ({ theme }) => ({
|
|
212
|
-
"& .MuiPaper-root": {
|
|
213
|
-
display: "flex",
|
|
214
|
-
flexDirection: "column",
|
|
215
|
-
padding: "8px !important",
|
|
216
|
-
gap: "4px",
|
|
217
|
-
borderRadius: "6px",
|
|
218
|
-
[theme.breakpoints.down("md")]: {
|
|
219
|
-
gap: "4px"
|
|
220
|
-
},
|
|
221
|
-
"& .M4LPopover-arrowStyle": {
|
|
222
|
-
display: "none"
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}),
|
|
226
|
-
popoverMenuItem: ({ theme }) => ({
|
|
227
|
-
paddingLeft: "4px",
|
|
228
|
-
paddingRight: "4px",
|
|
229
|
-
borderRadius: "4px",
|
|
230
|
-
"&:hover": {
|
|
231
|
-
...theme.typography.body,
|
|
232
|
-
color: theme.vars.palette.state?.hover,
|
|
233
|
-
background: theme.vars.palette.state?.default,
|
|
234
|
-
borderRadius: "4px",
|
|
235
|
-
padding: "4px 12px 4px 8px"
|
|
236
|
-
}
|
|
237
|
-
}),
|
|
238
|
-
popoverMenuItemLabel: ({ theme }) => ({
|
|
239
|
-
...theme.typography.body,
|
|
240
|
-
color: theme.vars.palette.text.primary
|
|
241
|
-
}),
|
|
242
|
-
popoverMenuItemIcon: {
|
|
243
|
-
visibility: "visible"
|
|
244
|
-
},
|
|
245
|
-
popoverFilter: ({ theme }) => ({
|
|
246
|
-
width: "auto",
|
|
247
|
-
"& .MuiPaper-root": {
|
|
248
|
-
padding: "0 !important",
|
|
249
|
-
minWidth: "220px",
|
|
250
|
-
maxWidth: "100%",
|
|
251
|
-
minHeight: "auto",
|
|
252
|
-
boxShadow: theme.vars.customShadows?.z3,
|
|
253
|
-
"& .M4LPopover-arrowStyle": {
|
|
254
|
-
display: "none"
|
|
255
|
-
},
|
|
256
|
-
"& .M4LRHFormProvider-root": {
|
|
257
|
-
gap: "0px",
|
|
258
|
-
width: "max-content",
|
|
259
|
-
minWidth: "220px",
|
|
260
|
-
maxWidth: "420px",
|
|
261
|
-
height: "fit-content"
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
|
-
}),
|
|
265
|
-
popoverFilterHeader: ({ theme }) => ({
|
|
266
|
-
backgroundColor: theme.vars.palette.state?.default,
|
|
267
|
-
display: "flex",
|
|
268
|
-
alignItems: "center",
|
|
269
|
-
gap: "8px",
|
|
270
|
-
padding: "4px 4px 4px 8px",
|
|
271
|
-
borderTopLeftRadius: "4px",
|
|
272
|
-
borderTopRightRadius: "4px",
|
|
273
|
-
borderBottom: "0px",
|
|
274
|
-
height: "28px",
|
|
275
|
-
[theme.breakpoints.down("sm")]: {
|
|
276
|
-
height: "36px"
|
|
277
|
-
}
|
|
278
|
-
}),
|
|
279
|
-
popoverFilterHeaderIcon: {
|
|
280
|
-
visibility: "visible"
|
|
281
|
-
},
|
|
282
|
-
popoverFilterHeaderTitle: ({ theme }) => ({
|
|
283
|
-
...theme.typography.paragraphDens,
|
|
284
|
-
color: theme.vars.palette.text.primary
|
|
285
|
-
}),
|
|
286
|
-
popoverFilterContainerFields: ({ theme }) => ({
|
|
287
|
-
height: "fit-content",
|
|
288
|
-
"& > div": {
|
|
289
|
-
display: "flex",
|
|
290
|
-
height: "auto",
|
|
291
|
-
flexDirection: "column",
|
|
292
|
-
padding: "12px 12px 0 12px",
|
|
293
|
-
gap: "8px",
|
|
294
|
-
[theme.breakpoints.down("sm")]: {
|
|
295
|
-
padding: "16px 16px 0 16px",
|
|
296
|
-
gap: "12px"
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
}),
|
|
300
|
-
popoverFilterActions: ({ theme }) => ({
|
|
301
|
-
display: "flex",
|
|
302
|
-
flexDirection: "row",
|
|
303
|
-
gap: "16px",
|
|
304
|
-
padding: "16px 12px 12px 12px !important",
|
|
305
|
-
[theme.breakpoints.down("sm")]: {
|
|
306
|
-
padding: "24px 16px 16px 16px !important"
|
|
307
|
-
},
|
|
308
|
-
"& > .M4LButton-root": {
|
|
309
|
-
height: "24px",
|
|
310
|
-
minHeight: "24px",
|
|
311
|
-
[theme.breakpoints.down("sm")]: {
|
|
312
|
-
height: "36px"
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
})
|
|
316
|
-
};
|
|
317
|
-
export {
|
|
318
|
-
dynamicFilterStyles as d
|
|
319
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
const CONTAINER_QUERY_NAME = "menuActions";
|
|
2
|
-
const menuActionsStyles = {
|
|
3
|
-
root: ({ theme }) => ({
|
|
4
|
-
containerName: CONTAINER_QUERY_NAME,
|
|
5
|
-
"& .MuiPaper-root": {
|
|
6
|
-
display: "flex",
|
|
7
|
-
flexDirection: "column",
|
|
8
|
-
background: theme.palette.background.default,
|
|
9
|
-
gap: "8px",
|
|
10
|
-
maxWidth: 300
|
|
11
|
-
}
|
|
12
|
-
}),
|
|
13
|
-
badge: {},
|
|
14
|
-
iconButton: {},
|
|
15
|
-
menuItem: ({ theme, ownerState }) => ({
|
|
16
|
-
display: "flex",
|
|
17
|
-
justifyContent: "center",
|
|
18
|
-
minHeight: "24px",
|
|
19
|
-
minWidth: "24px",
|
|
20
|
-
padding: "0",
|
|
21
|
-
gap: "0px",
|
|
22
|
-
...ownerState.variant === "delete" ? {
|
|
23
|
-
color: theme.palette.state.error.normal
|
|
24
|
-
} : {}
|
|
25
|
-
}),
|
|
26
|
-
menuItemLabel: {},
|
|
27
|
-
menuItemIcon: ({ theme, ownerState }) => ({
|
|
28
|
-
"&.M4LIcon-root": {
|
|
29
|
-
minHeight: "24px",
|
|
30
|
-
minWidth: "24px",
|
|
31
|
-
"& > .M4LIcon-icon": {
|
|
32
|
-
backgroundColor: ownerState.variant === "delete" ? theme.palette.state.error.normal : ""
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}),
|
|
36
|
-
labelEmpty: () => ({
|
|
37
|
-
zIndex: 1
|
|
38
|
-
})
|
|
39
|
-
};
|
|
40
|
-
export {
|
|
41
|
-
menuActionsStyles as m
|
|
42
|
-
};
|