@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.
Files changed (201) hide show
  1. package/index.js +183 -340
  2. package/node_modules-CQtkw0uG.js +7350 -0
  3. package/package.json +1 -1
  4. package/vendor-AfIOyqRr.js +24636 -0
  5. package/components/AccountPopover/index-Dm2-k-Mv.js +0 -334
  6. package/components/AppBar/index-i0rhG3J1.js +0 -93
  7. package/components/BaseModule/index-CiNNlxzS.js +0 -30
  8. package/components/CommonActions/components/ActionCancel/index-CIdpDXkr.js +0 -12
  9. package/components/CommonActions/components/ActionFormCancel/index-CpyASN3q.js +0 -56
  10. package/components/CommonActions/components/ActionFormIntro/index-7KKtcUra.js +0 -33
  11. package/components/CommonActions/components/ActionIntro/index-CqqDZZcG.js +0 -25
  12. package/components/CommonActions/components/Actions/index-CuG1pnXW.js +0 -70
  13. package/components/DataGrid/constants-8L7QgBKi.js +0 -10
  14. package/components/DataGrid/formatters/ColumnBooleanFormatter/index-CveSCbq_.js +0 -26
  15. package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/index-CHqvieM2.js +0 -22
  16. package/components/DataGrid/formatters/ColumnDateFormatter/index-CKg8CJ6A.js +0 -19
  17. package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/index-DE6bwaKP.js +0 -23
  18. package/components/DataGrid/formatters/ColumnNestedValueFormatter/index-BslXGK-A.js +0 -14
  19. package/components/DataGrid/formatters/ColumnPointsFormatter/index-BXGW2CsK.js +0 -10
  20. package/components/DataGrid/formatters/ColumnPriceFormatter/index-O11tBykn.js +0 -10
  21. package/components/DataGrid/formatters/ColumnSetCheckFormatter/index-BaCawLr1.js +0 -36
  22. package/components/DataGrid/formatters/ColumnUncertaintyFormatter/index-Cq7a-jnE.js +0 -10
  23. package/components/DataGrid/formatters/index-CrZXPa0e.js +0 -13
  24. package/components/DataGrid/index-BZ-lbmuU.js +0 -908
  25. package/components/DataGrid/subcomponents/Actions/index-CHvPZ4Ru.js +0 -549
  26. package/components/DataGrid/subcomponents/editors/TextEditor/index-BIFm8akr.js +0 -80
  27. package/components/DragResizeWindow/index-D2jLYExo.js +0 -505
  28. package/components/DynamicFilter/constants-ByqmFATV.js +0 -31
  29. package/components/DynamicFilter/dictionary-PrbXU3VZ.js +0 -51
  30. package/components/DynamicFilter/index-DZiJc9h7.js +0 -116
  31. package/components/DynamicFilter/slots/SlotsEnum-cawFeNzx.js +0 -34
  32. package/components/DynamicFilter/slots/dynamicFilterSlots-DHxelhXP.js +0 -151
  33. package/components/DynamicFilter/slots/index-l0sNRNKZ.js +0 -1
  34. package/components/DynamicFilter/store/index-BT-eWVnJ.js +0 -254
  35. package/components/DynamicFilter/subcomponents/AppliedFilterChip/index-B32bAzi-.js +0 -60
  36. package/components/DynamicFilter/subcomponents/AppliedFilters/index-Bha19drV.js +0 -26
  37. package/components/DynamicFilter/subcomponents/DynamicFilterBase/index-BmvzoHit.js +0 -40
  38. package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/index-BcO3SlP5.js +0 -129
  39. package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/index-BCJhpNS8.js +0 -171
  40. package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/index-DCNhz68u.js +0 -153
  41. package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/index-BdypjM1Y.js +0 -146
  42. package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/index-D-NFIVnK.js +0 -114
  43. package/components/DynamicFilter/subcomponents/FieldTypes/index-BwQHJqk9.js +0 -38
  44. package/components/DynamicFilter/subcomponents/FilterActions/index-B9UWmk07.js +0 -88
  45. package/components/DynamicFilter/subcomponents/InputFilter/index-CfGb1TfV.js +0 -188
  46. package/components/DynamicFilter/subcomponents/PopoverFilter/index-DkfRGrlO.js +0 -158
  47. package/components/DynamicFilter/subcomponents/PopoverMenuFields/index-DSegwAm2.js +0 -63
  48. package/components/FieldLabel/index-CI57EizR.js +0 -54
  49. package/components/GridLayout/index-C4HyxNYX.js +0 -1044
  50. package/components/GridLayout/subcomponents/Griditem/index-C7jT4s8t.js +0 -395
  51. package/components/GridLayout/subcomponents/Responsive/index-BKcU2OnF.js +0 -348
  52. package/components/GridLayout/subcomponents/SizeProvider/index-1aJ-e_54.js +0 -71
  53. package/components/HelperText/index-Crn_XIPF.js +0 -50
  54. package/components/Icon/index-C89MAkeH.js +0 -176
  55. package/components/Image/index-COp8vP0X.js +0 -175
  56. package/components/LanguagePopover/index-BA2Igs9L.js +0 -179
  57. package/components/LinearProgressIndeterminate/index-BwI756Mb.js +0 -55
  58. package/components/Loadable/index-BMbi9ISF.js +0 -9
  59. package/components/LoadingError/index-Cf0oGUrL.js +0 -89
  60. package/components/MFIsolationApp/index-V4R55hNU.js +0 -169
  61. package/components/MFLoader/index-BI8vQZSH.js +0 -299
  62. package/components/ModalDialog/index-CEVQBQ7W.js +0 -77
  63. package/components/NavLink/index-D1S_vtFO.js +0 -55
  64. package/components/NoItemSelected/index-B9oM26AX.js +0 -54
  65. package/components/ObjectLogs/index-CiXOJpS4.js +0 -233
  66. package/components/PDFViewer/index-GVN2rfd6.js +0 -51
  67. package/components/Page/index-DZMkYmr4.js +0 -117
  68. package/components/PaperForm/index-DwgAfjci.js +0 -59
  69. package/components/Period/index-2pJG3VmY.js +0 -238
  70. package/components/PrintingSystem/index-B2qcnfw0.js +0 -187
  71. package/components/PrintingSystem/subcomponents/BodyNode/index-Cv2aoy8S.js +0 -49
  72. package/components/PrintingSystem/subcomponents/ChartNode/index-BmJm8v_C.js +0 -105
  73. package/components/PrintingSystem/subcomponents/DividerNode/index-MpFhE-H0.js +0 -20
  74. package/components/PrintingSystem/subcomponents/FooterNode/index-ZEcWdMSM.js +0 -49
  75. package/components/PrintingSystem/subcomponents/GridNode/index-SsKax2xu.js +0 -74
  76. package/components/PrintingSystem/subcomponents/HeaderNode/index-Cs8TOOBL.js +0 -49
  77. package/components/PrintingSystem/subcomponents/PaperNode/index-DBb25Ecg.js +0 -30
  78. package/components/PrintingSystem/subcomponents/PropertyValueNode/index-CTVn7J9Q.js +0 -47
  79. package/components/PrintingSystem/subcomponents/SectionNode/index-iYPM3EaS.js +0 -49
  80. package/components/PrintingSystem/subcomponents/TextBoxNode/index-DGjXCFKJ.js +0 -24
  81. package/components/PropertyValue/index-Bh-Jnrte.js +0 -264
  82. package/components/Resizeable/index-DdP1xfE9.js +0 -20
  83. package/components/ScrollBar/index-f2URPPE2.js +0 -35
  84. package/components/ScrollToTop/index-TxORk5dB.js +0 -12
  85. package/components/SideBar/index-PUBBe0yH.js +0 -758
  86. package/components/SplitLayout/index-Bu1hcO6G.js +0 -89
  87. package/components/ToastContainer/index-DK1d8NNd.js +0 -191
  88. package/components/WrapperComponent/index-BHV-CsDU.js +0 -14
  89. package/components/animate/LoadingScreen/index-CkVLOrMz.js +0 -70
  90. package/components/animate/MotionContainer/index-eartnWyO.js +0 -34
  91. package/components/animate/MotionLazyContainer/index-Be8osTiG.js +0 -9
  92. package/components/animate/PropagateLoader/index-Bkq8V2SN.js +0 -23
  93. package/components/animate/features-BbnE33u3.js +0 -5
  94. package/components/animate/index-BsWiJfzp.js +0 -89
  95. package/components/animate/variants/bounce-DanQqHAX.js +0 -101
  96. package/components/animate/variants/container-Dmpr6tg5.js +0 -22
  97. package/components/animate/variants/fade-CAOJNn06.js +0 -65
  98. package/components/animate/variants/index-l0sNRNKZ.js +0 -1
  99. package/components/animate/variants/transition-B9W5SWTa.js +0 -20
  100. package/components/areas/components/AreasAdmin/index-OxQU3P8Y.js +0 -699
  101. package/components/areas/components/AreasViewer/index-DQ0aPioP.js +0 -805
  102. package/components/areas/components/index-l0sNRNKZ.js +0 -1
  103. package/components/areas/constants-rqODZNZe.js +0 -6
  104. package/components/areas/contexts/AreasContext/index-BqRlA7JA.js +0 -1110
  105. package/components/areas/contexts/DynamicMFParmsContext/index-22c6E7vK.js +0 -36
  106. package/components/areas/contexts/WindowToolsMFContext/index-DkE30fhm.js +0 -12
  107. package/components/areas/contexts/index-l0sNRNKZ.js +0 -1
  108. package/components/areas/dictionary-YUsP9beq.js +0 -36
  109. package/components/areas/hooks/index-l0sNRNKZ.js +0 -1
  110. package/components/areas/hooks/useAreas/index-BSbwbJLS.js +0 -11
  111. package/components/areas/hooks/useDynamicMFParameters/index-DhbcZPs9.js +0 -12
  112. package/components/areas/hooks/useSetWindowsTitle/useSetWindowsTitle-BzPD-miW.js +0 -31
  113. package/components/areas/hooks/useWindowToolsMF/index-BECQfhbC.js +0 -10
  114. package/components/areas/icons-CwFr-alN.js +0 -24
  115. package/components/areas/index-B_Odny9h.js +0 -22
  116. package/components/commercial/AppBarCommercial/index-CHq3P3GY.js +0 -28
  117. package/components/commercial/SectionCommercial/index-BeABGtdr.js +0 -56
  118. package/components/commercial/TopBar/index-F1repmti.js +0 -232
  119. package/components/commercial/index-CxDzs6Ax.js +0 -81
  120. package/components/formatters/BooleanFormatter/index-DktIidqW.js +0 -44
  121. package/components/formatters/DateFormatter/index-CGcRZ8BA.js +0 -43
  122. package/components/formatters/PointsFormatter/index-C7sR8iqk.js +0 -25
  123. package/components/formatters/PriceFormatter/index-CsvRawmc.js +0 -35
  124. package/components/formatters/UncertaintyFormatter/index-B9ESVEVp.js +0 -29
  125. package/components/formatters/index-pnJhDYKe.js +0 -109
  126. package/components/hook-form/HelperError/index-BVnmUazV.js +0 -19
  127. package/components/hook-form/RHFAutocomplete/index-BtPL16HR.js +0 -657
  128. package/components/hook-form/RHFAutocompleteAsync/index-BfzjLHG8.js +0 -226
  129. package/components/hook-form/RHFCheckbox/index-Vyttu8Vx.js +0 -132
  130. package/components/hook-form/RHFColorPicker/index-Cxxb5Wa_.js +0 -191
  131. package/components/hook-form/RHFDateTime/index-CW1Slb-f.js +0 -190
  132. package/components/hook-form/RHFMultiCheckbox/index-BARudV1A.js +0 -34
  133. package/components/hook-form/RHFPeriod/index-r-HeIOoZ.js +0 -98
  134. package/components/hook-form/RHFRadioGroup/index-CTD-0zKo.js +0 -52
  135. package/components/hook-form/RHFSelect/index-LdwRuFz-.js +0 -29
  136. package/components/hook-form/RHFTextField/index-B6ufruSB.js +0 -337
  137. package/components/hook-form/RHFUpload/index-CDPbm8NR.js +0 -253
  138. package/components/maps/components/GpsTools/index-5MXlhIEt.js +0 -1948
  139. package/components/maps/components/Map/index-2Lx5ARXa.js +0 -2546
  140. package/components/maps/index-Ci-7-FHg.js +0 -7
  141. package/components/modal/WindowBase-Gd27v5FU.js +0 -44
  142. package/components/modal/WindowConfirm-u6vAMFo7.js +0 -73
  143. package/components/modal/index-CydPIpKZ.js +0 -65
  144. package/components/mui_extended/Accordion/index-DMLYJL7o.js +0 -124
  145. package/components/mui_extended/Avatar/index-ClBa-6eF.js +0 -64
  146. package/components/mui_extended/Badge/index-zI-F_Qkq.js +0 -29
  147. package/components/mui_extended/BoxIcon/index-BUTJ2tKw.js +0 -22
  148. package/components/mui_extended/Breadcrumbs/index-DTS7rOZH.js +0 -86
  149. package/components/mui_extended/Button/index-CGfZbaea.js +0 -222
  150. package/components/mui_extended/CheckBox-BXUrbonB.js +0 -76
  151. package/components/mui_extended/CircularProgress/index-Bnnti_G6.js +0 -8
  152. package/components/mui_extended/IconButton/classes/constants-ChY2jKkp.js +0 -4
  153. package/components/mui_extended/IconButton/classes/index-BxjJGAqZ.js +0 -45
  154. package/components/mui_extended/IconButton/index-CusYFjie.js +0 -97
  155. package/components/mui_extended/IconButton/styledIconButton-fAsbGoFS.js +0 -7
  156. package/components/mui_extended/LinearProgress/index-CGgW8jq2.js +0 -9
  157. package/components/mui_extended/LinkWithRoute/index-BC2miUjR.js +0 -15
  158. package/components/mui_extended/MenuActions/MenuActions-C6CjSU6C.js +0 -149
  159. package/components/mui_extended/MenuActions/constants-BwsU9chA.js +0 -10
  160. package/components/mui_extended/MenuActions/dictionary-Dj_07puT.js +0 -11
  161. package/components/mui_extended/MenuActions/slots/MenuActionsEnum-Bu-L6eWU.js +0 -13
  162. package/components/mui_extended/MenuActions/slots/MenuActionsSlots-D65KZAKF.js +0 -46
  163. package/components/mui_extended/Pager/index-DCbxiTZA.js +0 -257
  164. package/components/mui_extended/Popover/index-DfrJAQkV.js +0 -153
  165. package/components/mui_extended/Stack/index-DzEeCYfp.js +0 -31
  166. package/components/mui_extended/Tab/index-Bu3dPidV.js +0 -129
  167. package/components/mui_extended/ToggleButton/index-C9cBkT1V.js +0 -18
  168. package/components/mui_extended/ToggleIconButton/index--0b3Td6C.js +0 -26
  169. package/components/mui_extended/Tooltip/index-B8QUytCK.js +0 -42
  170. package/components/mui_extended/Typography/index-Cf_4Zw8f.js +0 -54
  171. package/components/mui_extended/index-l0sNRNKZ.js +0 -1
  172. package/components/popups/PopupsProvider/index-DhSxmtfJ.js +0 -172
  173. package/components/popups/PopupsViewer/constants-DuyD7aCn.js +0 -4
  174. package/components/popups/PopupsViewer/icons-BUujqqbu.js +0 -7
  175. package/components/popups/PopupsViewer/index-BecevSns.js +0 -172
  176. package/components/popups/PopupsViewer/slots/index-B98CiRLa.js +0 -14
  177. package/components/popups/PopupsViewer/slots/popupsViewerSlots-BXH77nCF.js +0 -46
  178. package/components/popups/index-l0sNRNKZ.js +0 -1
  179. package/contexts/ModalContext/index-CPfNnfTL.js +0 -39
  180. package/contexts/RHFormContext/index-D_nK759o.js +0 -78
  181. package/hocs/withToggle/index-C1_DMZD3.js +0 -14
  182. package/hooks/useFormAddEdit/index-D9oSjUn1.js +0 -90
  183. package/hooks/useFormReadyForUpdate/index-B3HygFCM.js +0 -20
  184. package/hooks/useModal/index-BJSQOX3U.js +0 -10
  185. package/hooks/useSizeContainer/index-D4hDjM1P.js +0 -37
  186. package/hooks/useStateRef/index-C3P6ZK3m.js +0 -15
  187. package/hooks/useTab/index-B_GEQFOP.js +0 -12
  188. package/react-data-grid-BfYuZ6AK.js +0 -2606
  189. package/react-draggable-DsCPdgQP.js +0 -811
  190. package/react-json-view-bhqIAaNg.js +0 -2576
  191. package/react-resizable-eBbFl2dX.js +0 -618
  192. package/react-spinners-TpKN9lZg.js +0 -123
  193. package/react-splitter-layout-C-JTsNGs.js +0 -158
  194. package/styles/DynamicFilter-CJFsIegc.js +0 -319
  195. package/styles/MenuActions-lTi-ynPM.js +0 -42
  196. package/styles/index-DKj6m8SL.js +0 -1691
  197. package/test/constants_no_mock-CF-669v-.js +0 -4
  198. package/test/getNameDataTestId-BaBTWhBr.js +0 -10
  199. package/utils/index-DiMrtgIu.js +0 -502
  200. /package/components/GridLayout/subcomponents/{Griditem → GridItem}/index.d.ts +0 -0
  201. /package/components/GridLayout/subcomponents/{Griditem → GridItem}/types.d.ts +0 -0
@@ -1,1691 +0,0 @@
1
- import { styled, alpha, Skeleton, Popover, Stack, Tabs, Dialog, ListItemText, ListItemButton } from "@mui/material";
2
- import { styled as styled$1, alpha as alpha$1 } from "@mui/material/styles";
3
- import SimpleBarReact from "simplebar-react";
4
- import { h as gridLayoutClasses } from "../components/GridLayout/index-C4HyxNYX.js";
5
- import { a as ResizableBox } from "../react-resizable-eBbFl2dX.js";
6
- import { a as areasAdminClasses } from "../components/areas/components/AreasAdmin/index-OxQU3P8Y.js";
7
- import { a as areasViewerClasses } from "../components/areas/components/AreasViewer/index-DQ0aPioP.js";
8
- import { g as gpsToolsClasses } from "../components/maps/components/GpsTools/index-5MXlhIEt.js";
9
- import { R as RHFormProvider } from "../contexts/RHFormContext/index-D_nK759o.js";
10
- import { S as Stack$1 } from "../components/mui_extended/Stack/index-DzEeCYfp.js";
11
- import { I as Image } from "../components/Image/index-COp8vP0X.js";
12
- const RootStyle$1 = styled("div", {
13
- shouldForwardProp: (props) => props !== "variant"
14
- })(({ theme, variant }) => ({
15
- right: 0,
16
- bottom: 0,
17
- zIndex: 99999,
18
- width: "100%",
19
- height: "100%",
20
- position: "fixed",
21
- display: "flex",
22
- alignItems: "center",
23
- justifyContent: "center",
24
- backgroundColor: theme.vars.palette.background.default,
25
- ...variant === "microfrontend" && {
26
- position: "relative",
27
- zIndex: 0
28
- }
29
- }));
30
- styled$1(SimpleBarReact)(({ theme }) => ({
31
- height: "100%",
32
- "& .simplebar-scrollbar": {
33
- "&:before": {
34
- backgroundColor: alpha(theme.colorSchemes.finalTheme.palette.grey[600], 0.48)
35
- },
36
- "&.simplebar-visible:before": {
37
- opacity: 1
38
- }
39
- },
40
- "& .simplebar-track.simplebar-vertical": {
41
- width: 10
42
- },
43
- "& .simplebar-track.simplebar-horizontal .simplebar-scrollbar": {
44
- height: 6
45
- },
46
- "& .simplebar-mask": {
47
- zIndex: "inherit"
48
- },
49
- "& .simplebar-content": {
50
- display: "flex",
51
- height: "100%"
52
- }
53
- }));
54
- const AnimatedScrollRoot = styled$1("div")(() => ({
55
- width: "100%",
56
- height: "100%",
57
- overflowX: "auto",
58
- overflowY: "hidden",
59
- transition: "scroll-behavior 0.5s",
60
- /* Otras propiedades CSS aquí */
61
- scrollbarWidth: "none",
62
- msOverflowStyle: "none",
63
- "&::-webkit-scrollbar": {
64
- width: 0
65
- }
66
- }));
67
- const IconRoot = styled$1("div")(({ theme }) => ({
68
- ...theme.components?.M4LIcon?.styleOverrides
69
- }));
70
- const DivIcon = styled$1("div", {
71
- shouldForwardProp: (props) => props !== "src" && props !== "rotationAngle"
72
- })(({ src, rotationAngle }) => ({
73
- maskPosition: "center",
74
- maskRepeat: "no-repeat",
75
- maskSize: "cover",
76
- WebkitMaskRepeat: "no-repeat",
77
- mask: `url(${src})`,
78
- WebkitMask: `url(${src})`,
79
- WebkitMaskSize: "cover",
80
- ...rotationAngle && {
81
- transform: `rotate(${rotationAngle}deg)`
82
- }
83
- /* ...(angleTransition &&
84
- rotationAngle && {
85
- transition: `transform ${angleTransition}s ease-in-out`,
86
- }), */
87
- }));
88
- const react_resizable_css = {};
89
- const GridLayoutRoot = styled$1("div")`
90
- overflow: auto;
91
- position: relative;
92
- transition: height 200ms ease;
93
-
94
- .${gridLayoutClasses.gridItemRoot} {
95
- transition: all 200ms ease;
96
- transition-property: left, top;
97
- }
98
- .${gridLayoutClasses.gridItemRoot} img {
99
- pointer-events: none;
100
- user-select: none;
101
- }
102
- .${gridLayoutClasses.gridItemRoot}.${gridLayoutClasses.cssTransforms} {
103
- transition-property: transform;
104
- transition: left 0.1s ease, top 0.1s ease;
105
- }
106
- .${gridLayoutClasses.gridItemRoot}.${gridLayoutClasses.maximizeOther} {
107
- display: none;
108
- }
109
-
110
- .${gridLayoutClasses.gridItemRoot}.${gridLayoutClasses.gridItemFreeMove} {
111
- z-index: 1;
112
- will-change: width, height;
113
- }
114
- .${gridLayoutClasses.gridItemRoot}.${gridLayoutClasses.resizing} {
115
- z-index: 2000;
116
- will-change: width, height;
117
- }
118
-
119
- .${gridLayoutClasses.gridItemRoot}.${gridLayoutClasses.dragging} {
120
- transition: none;
121
- z-index: 4000;
122
- will-change: transform;
123
- }
124
-
125
- .${gridLayoutClasses.gridItemRoot}.dropping {
126
- visibility: hidden;
127
- }
128
-
129
- .${gridLayoutClasses.gridItemRoot}.${gridLayoutClasses.gridItemPlaceholder} {
130
- background: ${(props) => props.theme.vars.palette.state?.toneOp};
131
- opacity: 0.5;
132
- transition-duration: 100ms;
133
- z-index: 3000;
134
- -webkit-user-select: none;
135
- -moz-user-select: none;
136
- -ms-user-select: none;
137
- -o-user-select: none;
138
- user-select: none;
139
- }
140
-
141
- .${gridLayoutClasses.gridItemRoot} > .react-resizable-handle {
142
- position: absolute;
143
- width: 7px;
144
- height: 7px;
145
- background-image: unset;
146
-
147
- & .M4LIcon-icon {
148
- width: 10px;
149
- height: 10px;
150
- min-width: 10px;
151
- min-height: 10px;
152
- background-color: ${(props) => alpha$1(props.theme.colorSchemes.finalTheme.palette.text.primary, 0.3)};
153
- }
154
- }
155
-
156
- /* .${gridLayoutClasses.gridItemRoot} > .react-resizable-handle::after {
157
- content: '';
158
- position: absolute;
159
- right: 3px;
160
- bottom: 3px;
161
- width: 5px;
162
- height: 5px;
163
- border-right: 2px solid rgba(0, 0, 0, 0.4);
164
- border-bottom: 2px solid rgba(0, 0, 0, 0.4);
165
- } */
166
-
167
- .react-resizable-hide > .react-resizable-handle {
168
- display: none;
169
- border-color: ${(props) => `2px solid ${props.theme.vars.palette.text.disabled}`};
170
- }
171
-
172
- .${gridLayoutClasses.gridItemRoot} > .react-resizable-handle.react-resizable-handle-sw {
173
- bottom: 3px;
174
- left: 3px;
175
- cursor: sw-resize;
176
- transform: rotate(90deg);
177
- border-right: ${(props) => `2px solid ${props.theme.vars.palette.text.disabled}`};
178
- border-bottom: ${(props) => `2px solid ${props.theme.vars.palette.text.disabled}`};
179
- border-bottom-right-radius: 15%;
180
- }
181
- .${gridLayoutClasses.gridItemRoot} > .react-resizable-handle.react-resizable-handle-se {
182
- bottom: 3px;
183
- right: 3px;
184
- cursor: se-resize;
185
- border-right: ${(props) => `2px solid ${props.theme.vars.palette.text.disabled}`};
186
- border-bottom: ${(props) => `2px solid ${props.theme.vars.palette.text.disabled}`};
187
- border-bottom-right-radius: 15%;
188
- }
189
- .${gridLayoutClasses.gridItemRoot} > .react-resizable-handle.react-resizable-handle-nw {
190
- top: 3px;
191
- left: 3px;
192
- cursor: nw-resize;
193
- transform: rotate(180deg);
194
- border-right: ${(props) => `2px solid ${props.theme.vars.palette.text.disabled}`};
195
- border-bottom: ${(props) => `2px solid ${props.theme.vars.palette.text.disabled}`};
196
- border-bottom-right-radius: 15%;
197
- }
198
- .${gridLayoutClasses.gridItemRoot} > .react-resizable-handle.react-resizable-handle-ne {
199
- top: 3px;
200
- right: 3px;
201
- cursor: ne-resize;
202
- transform: rotate(270deg);
203
- border-right: ${(props) => `2px solid ${props.theme.vars.palette.text.disabled}`};
204
- border-bottom: ${(props) => `2px solid ${props.theme.vars.palette.text.disabled}`};
205
- border-bottom-right-radius: 15%;
206
- }
207
- .${gridLayoutClasses.gridItemRoot} > .react-resizable-handle.react-resizable-handle-w,
208
- .${gridLayoutClasses.gridItemRoot} > .react-resizable-handle.react-resizable-handle-e {
209
- top: 50%;
210
- margin-top: -10px;
211
- cursor: ew-resize;
212
- }
213
- .${gridLayoutClasses.gridItemRoot} > .react-resizable-handle.react-resizable-handle-w {
214
- left: 0;
215
- transform: rotate(135deg);
216
- }
217
- .${gridLayoutClasses.gridItemRoot} > .react-resizable-handle.react-resizable-handle-e {
218
- right: 0;
219
- transform: rotate(315deg);
220
- }
221
- .${gridLayoutClasses.gridItemRoot} > .react-resizable-handle.react-resizable-handle-n,
222
- .${gridLayoutClasses.gridItemRoot} > .react-resizable-handle.react-resizable-handle-s {
223
- left: 50%;
224
- margin-left: -10px;
225
- cursor: ns-resize;
226
- }
227
- .${gridLayoutClasses.gridItemRoot} > .react-resizable-handle.react-resizable-handle-n {
228
- top: 0;
229
- transform: rotate(225deg);
230
- }
231
- .${gridLayoutClasses.gridItemRoot} > .react-resizable-handle.react-resizable-handle-s {
232
- bottom: 0;
233
- transform: rotate(45deg);
234
- }
235
- .${gridLayoutClasses.gridItemRoot}.${gridLayoutClasses.maximizeMe} > .react-resizable-handle,
236
- .${gridLayoutClasses.gridItemRoot}.${gridLayoutClasses.resizeHide} > .react-resizable-handle {
237
- display: none;
238
- }
239
- .${gridLayoutClasses.gridItemRoot}.${gridLayoutClasses.invisible} {
240
- display: none;
241
- }
242
-
243
- ${react_resizable_css}
244
- ${(props) => props.theme.components?.M4LGridLayout?.styleOverrides}
245
- `;
246
- styled$1("div")(({ theme }) => ({
247
- display: "flex",
248
- justifyContent: "space-between",
249
- alignItems: "center",
250
- borderRadius: theme.spacing(0.5),
251
- height: theme.spacing(4.5),
252
- minHeight: theme.spacing(4.5),
253
- backgroundColor: theme.vars.palette.background.header,
254
- paddingLeft: theme.spacing(2),
255
- paddingRight: theme.spacing(2),
256
- marginBottom: "0px"
257
- }));
258
- styled$1("div")(({ theme }) => ({
259
- display: "flex",
260
- justifyContent: "flex-start",
261
- alignItems: "center",
262
- gap: theme.spacing(2)
263
- }));
264
- const AccordionRoot = styled$1("div")(({ theme }) => ({
265
- ...theme.components?.M4LAccordion?.styleOverrides
266
- }));
267
- const WarpperTypography = styled$1("div")(({ theme }) => ({
268
- ...theme.components?.M4LTypography?.styleOverrides
269
- }));
270
- const AvatarRoot = styled("div")(({ theme }) => ({
271
- ...theme.components?.M4LAvatar?.styleOverrides
272
- }));
273
- const ButtonRoot = styled$1("div")(({ theme }) => ({
274
- /* Styles overrides of m4l_styles */
275
- ...theme.components?.M4LButton?.styleOverrides
276
- }));
277
- styled$1(Skeleton)(({ theme }) => ({
278
- borderRadius: theme.spacing(0.5)
279
- }));
280
- const FieldLabelRoot = styled("label")(({ theme }) => ({
281
- ...theme.components?.M4LFieldLabel?.styleOverrides
282
- }));
283
- const CheckBoxRoot = styled("div")(({ theme }) => ({
284
- ...theme.components?.M4LCheckBox?.styleOverrides
285
- }));
286
- const BadgeRoot = styled$1("div")(({ theme }) => ({
287
- display: "flex",
288
- ...theme.components?.M4LBadge?.styleOverrides
289
- }));
290
- const ImageRoot = styled$1("div")(({ theme }) => ({
291
- ...theme.components?.M4LImage?.styleOverrides
292
- }));
293
- const WrapperImageButton = styled$1("div")(({ theme }) => ({
294
- ...theme.components?.M4LImageButton?.styleOverrides
295
- }));
296
- const LoadingButtonRoot = styled("div")(({ theme }) => ({
297
- /* Styles overrides of m4l_styles */
298
- ...theme.components?.M4LLoadingButton?.styleOverrides
299
- }));
300
- const PopoverRoot = styled$1(Popover)(({ theme }) => ({
301
- ...theme.components?.M4LPopover?.styleOverrides
302
- }));
303
- const MUISTack = styled(Stack)(({ theme }) => ({
304
- ...theme.components?.M4LStack?.styleOverrides
305
- }));
306
- const MUITabs = styled(Tabs)(({ theme }) => ({
307
- ...theme.components?.M4LTabs?.styleOverrides
308
- }));
309
- const TabContentRoot = styled("div")(({ theme }) => ({
310
- ...theme.components?.M4LTabContent?.styleOverrides
311
- }));
312
- const PagerRoot = styled$1("div")(({ theme }) => ({
313
- ...theme.components?.M4LPager?.styleOverrides
314
- }));
315
- const TabRoot = styled$1("div")(({ theme }) => ({
316
- ...theme.components?.M4LTab?.styleOverrides
317
- }));
318
- const SKTTabWrapper = styled$1("div")(({ theme }) => ({
319
- padding: theme.spacing(1.5, 2)
320
- }));
321
- const WrapperResizeable = styled$1(ResizableBox)(({ theme }) => ({
322
- // variante desktop
323
- "&.react-resizable": {
324
- position: "relative",
325
- width: "100%",
326
- height: "100%"
327
- },
328
- "& .custom-handle-se": {
329
- width: "7px",
330
- height: "7px",
331
- position: "absolute",
332
- bottom: "3px",
333
- right: "3px",
334
- cursor: "se-resize",
335
- borderRight: `2px solid ${theme.vars.palette.text.disabled}`,
336
- borderBottom: `2px solid ${theme.vars.palette.text.disabled}`,
337
- borderBottomRightRadius: "15%"
338
- },
339
- "& .custom-handle-nw": {
340
- width: "7px",
341
- height: "7px",
342
- position: "absolute",
343
- top: "3px",
344
- left: "3px",
345
- cursor: "se-resize",
346
- transform: "rotate(180deg)",
347
- borderRight: `2px solid ${theme.vars.palette.text.disabled}`,
348
- borderBottom: `2px solid ${theme.vars.palette.text.disabled}`,
349
- borderBottomRightRadius: "15%"
350
- },
351
- "& .react-resizable-handle": {
352
- position: "absolute",
353
- width: "20px",
354
- height: "20px",
355
- margin: "4px",
356
- backgroundRepeat: "no-repeat",
357
- backgroundOrigin: "content-box",
358
- boxSizing: "border-box",
359
- /* background-image: url('data:image/svg+xml',base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+')', */
360
- backgroundColor: theme.vars.palette.action.active,
361
- mask: `url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 26.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Capa_1' focusable='false' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 24 24' style='enable-background:new 0 0 24 24;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:none;%7D%0A%3C/style%3E%3Cg id='Grupo_5256'%3E%3C/g%3E%3Cpath class='st0' d='z'/%3E%3Cg%3E%3Cpolygon points='21.9,21.9 15.8,21.9 15.8,19.9 19.9,19.9 19.9,15.9 21.9,15.9 '/%3E%3C/g%3E%3C/svg%3E%0A")`,
362
- backgroundImage: `url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3C!-- Generator: Adobe Illustrator 26.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --%3E%3Csvg version='1.1' id='Capa_1' focusable='false' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 24 24' style='enable-background:new 0 0 24 24;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:none;%7D%0A%3C/style%3E%3Cg id='Grupo_5256'%3E%3C/g%3E%3Cpath class='st0' d='z'/%3E%3Cg%3E%3Cpolygon points='21.9,21.9 15.8,21.9 15.8,19.9 19.9,19.9 19.9,15.9 21.9,15.9 '/%3E%3C/g%3E%3C/svg%3E%0A")`,
363
- backgroundPosition: "bottom right",
364
- padding: "0 3px 3px 0"
365
- },
366
- "& .react-resizable-handle-sw": {
367
- bottom: "0",
368
- left: "0",
369
- cursor: "sw-resize",
370
- transform: "rotate(90deg)",
371
- position: "absolute"
372
- },
373
- ".M4LImage-root.custom-handle.custom-handle-se": {
374
- bottom: "0",
375
- right: "0",
376
- cursor: "se-resize",
377
- position: "absolute",
378
- "& .M4LImage-img": {
379
- opacity: "0.5",
380
- filter: "invert(0.4) hue-rotate(20deg) saturate(1000%)"
381
- // '-webkitUserDrag': 'none',
382
- }
383
- },
384
- "& .M4LImage-root.custom-handle.custom-handle-nw": {
385
- top: "0",
386
- left: "0",
387
- cursor: "nw-resize",
388
- transform: "rotate(180deg)",
389
- "& .M4LImage-img": {
390
- opacity: "0.5",
391
- filter: "invert(0.4) hue-rotate(20deg) saturate(1000%)"
392
- // '-webkitUserDrag': 'none',
393
- }
394
- },
395
- "& .react-resizable-handle-ne": {
396
- top: "0",
397
- right: "0",
398
- cursor: "ne-resize",
399
- transform: "rotate(270deg)"
400
- },
401
- "& .react-resizable-handle-w, .react-resizable-handle-e": {
402
- top: "50%",
403
- marginTop: "-10px",
404
- cursor: "ew-resize"
405
- },
406
- "& .react-resizable-handle-w": {
407
- left: "0",
408
- transform: "rotate(135deg)"
409
- },
410
- "& .react-resizable-handle-e": {
411
- right: "0",
412
- transform: "rotate(315deg) "
413
- },
414
- "& .react-resizable-handle-n,.react-resizable-handle-s": {
415
- left: "50%",
416
- marginLeft: "-10px",
417
- cursor: "ns-resize"
418
- },
419
- "& .react-resizable-handle-n": {
420
- top: "0",
421
- transform: "rotate(225deg)"
422
- },
423
- "& .react-resizable-handle-s": {
424
- bottom: "0",
425
- transform: "rotate(45deg)"
426
- }
427
- }));
428
- const FormProviderRoot = styled("form")(({ theme }) => ({
429
- ...theme.components?.M4LRHFormProvider?.styleOverrides
430
- }));
431
- const AutocompleteRoot = styled$1("div")(({ theme }) => ({
432
- ...theme.components?.M4LRHFAutocomplete?.styleOverrides
433
- }));
434
- const WrapperOption = styled$1("li")(({ theme }) => ({
435
- "& .m4l_image": {
436
- marginRight: theme.spacing(1.5)
437
- }
438
- }));
439
- const HelperTextRoot = styled$1("div")(({ theme }) => ({
440
- ...theme.components?.M4LErrorLabel?.styleOverrides
441
- }));
442
- const RHFColorPickerRoot = styled("div")(({ theme }) => ({
443
- ...theme.components?.M4LRHFColorPicker?.styleOverrides
444
- }));
445
- styled$1("div")(() => ({
446
- display: "flex",
447
- width: "100%",
448
- flexDirection: "column"
449
- }));
450
- styled$1("div")(({ theme }) => ({
451
- display: "flex",
452
- justifyContent: "flex-end",
453
- paddingRight: `${theme.spacing(2)}`,
454
- [theme.breakpoints.down("md")]: {
455
- justifyContent: "flex-start"
456
- }
457
- }));
458
- styled$1("div")(({ theme }) => ({
459
- width: "100%",
460
- display: "grid",
461
- gridTemplateColumns: "1fr auto",
462
- gridGap: theme.spacing(2),
463
- alignItems: "center",
464
- height: `${theme.spacing(4.5)}`,
465
- border: `1px solid ${theme.vars.palette.divider}`,
466
- borderRadius: `${theme.spacing(1)}`,
467
- padding: `0 ${theme.spacing(2)}`,
468
- [theme.breakpoints.down("md")]: {
469
- width: "100%"
470
- }
471
- }));
472
- const RHFAutocompleteAsyncRoot = styled$1("div")(({ theme }) => ({
473
- ...theme.components?.M4LRHFAutocompleteAsync?.styleOverrides
474
- }));
475
- const RHFCheckboxRoot = styled$1("div")(({ theme }) => ({
476
- ...theme.components?.M4LRHFCheckbox?.styleOverrides
477
- }));
478
- styled$1("div")(() => ({
479
- display: "flex",
480
- justifyContent: "center",
481
- alignItems: "center",
482
- padding: "8px"
483
- }));
484
- styled$1(Skeleton)(() => ({
485
- width: "20px",
486
- height: "20px",
487
- borderRadius: "4px"
488
- }));
489
- const ContainerCheckTypography = styled$1("div")(() => ({
490
- display: "flex",
491
- alignItems: "center"
492
- }));
493
- const WrapperStandarActions = styled$1("div")(({ theme }) => ({
494
- // paddingTop: theme.spacing(3),
495
- // display: 'flex',
496
- // flexDirection: 'row',
497
- // justifyContent: 'flex-end',
498
- // '& > button': {
499
- // marginLeft: '10px',
500
- // },
501
- ...theme.components?.M4LCommonActions?.styleOverrides
502
- }));
503
- const RHFDateTimeRoot = styled("div")(({ theme }) => ({
504
- ...theme.components?.M4LRHFDateTime?.styleOverrides
505
- }));
506
- const SkeletonTextFieldRoot = styled$1("div")(() => ({
507
- display: "flex",
508
- flexDirection: "column",
509
- width: "100%",
510
- gap: "4px"
511
- }));
512
- const WrapperSkeletonRHFTextField = styled$1("div")(({ theme }) => ({
513
- display: "flex",
514
- width: "100%",
515
- alignItems: "center",
516
- justifyContent: "space-between",
517
- border: `1px solid ${theme.vars.palette.divider}`,
518
- padding: "12px 14px",
519
- borderRadius: theme.spacing(1),
520
- gap: "4px"
521
- }));
522
- const RHFTextFieldRoot = styled$1("div")(({ theme }) => ({
523
- /* Styles overrides of m4l_styles */
524
- ...theme.components?.M4LRHFTextField?.styleOverrides
525
- }));
526
- styled$1("div")(({ theme }) => ({
527
- display: "flex",
528
- width: "100%",
529
- alignItems: "center",
530
- border: `1px solid ${theme.vars.palette.divider}`,
531
- padding: "12px 14px",
532
- borderRadius: theme.spacing(1)
533
- }));
534
- const RHFTextFieldPasswordRoot = styled$1("div")(({ theme }) => ({
535
- ...theme.components?.M4LRHFTextFieldPassword?.styleOverrides
536
- }));
537
- const RHFPeriodRoot = styled$1("div")(({ theme }) => ({
538
- width: "100%",
539
- display: "flex",
540
- flexDirection: "column",
541
- justifyContent: "center",
542
- alignItems: "flex-start",
543
- gap: theme.spacing(1),
544
- ...theme.components?.M4LRHFPeriod?.styleOverrides
545
- }));
546
- const ContainerPeriod = styled$1("div")(({ theme }) => ({
547
- ...theme.components?.M4LPeriod?.styleOverrides
548
- }));
549
- styled$1("div")(({ theme }) => ({
550
- width: "1px",
551
- height: "20px",
552
- backgroundColor: theme.vars.palette.divider
553
- }));
554
- styled$1("div", {
555
- shouldForwardProp: (props) => props !== "readOnly"
556
- })(({ theme, readOnly }) => ({
557
- display: "flex",
558
- width: "100%",
559
- height: "37.5px",
560
- alignItems: "center",
561
- gap: theme.spacing(1),
562
- border: `1px solid ${theme.vars.palette.divider}`,
563
- ...readOnly && {
564
- border: "0px"
565
- },
566
- padding: theme.spacing(0.5, 1),
567
- borderRadius: "4px"
568
- }));
569
- styled$1("div")(({ theme }) => ({
570
- ...theme.colorSchemes.finalTheme.typography.body2,
571
- width: "100%",
572
- display: "flex",
573
- textOverflow: "elipsis",
574
- overflow: "hidden",
575
- padding: "5px",
576
- textAlign: "left"
577
- }));
578
- styled$1("div")(({ theme }) => ({
579
- ...theme.colorSchemes.finalTheme.typography.body2,
580
- width: "70px",
581
- display: "flex",
582
- textOverflow: "elipsis",
583
- overflow: "hidden",
584
- padding: "5px",
585
- textAlign: "left"
586
- }));
587
- const UploadImageRoot = styled$1("div")(({ theme }) => ({
588
- ...theme.components?.M4LRHFUploadImage?.styleOverrides
589
- }));
590
- const WrapperRHFUploadImage = styled("div")(() => ({
591
- width: "inherit",
592
- height: "inherit",
593
- padding: "1px"
594
- }));
595
- styled$1("div")(() => ({
596
- display: "flex",
597
- flexDirection: "row",
598
- border: "1px solid gray",
599
- "&.active": {
600
- border: "1px solid red"
601
- }
602
- }));
603
- styled$1("div")(({ theme }) => ({
604
- height: "100%",
605
- width: theme.spacing(1),
606
- backgroundColor: theme.vars.palette.background.default,
607
- "&.active": {
608
- backgroundColor: theme.vars.palette.primary.main
609
- }
610
- }));
611
- const EditAreaHeader = styled$1("div")(({ theme }) => ({
612
- display: "flex",
613
- width: "100%",
614
- height: "25px",
615
- borderBottom: "1px solid",
616
- borderColor: theme.vars.palette.state.default,
617
- justifyContent: "space-between",
618
- alignItems: "center"
619
- }));
620
- const AreasAdminRoot = styled("div")`
621
- display: flex;
622
- position: relative;
623
- background-color: transparent;
624
-
625
- //areaRoot
626
- & .${areasAdminClasses.areaChipRoot} {
627
- display: flex;
628
- }
629
-
630
- ${(props) => props.theme.components?.M4LAreasAdmin?.styleOverrides}
631
- `;
632
- const RootStyle = styled$1("div")(({ theme }) => ({
633
- flexGrow: "1",
634
- height: "100%",
635
- overflow: "hidden",
636
- ...theme.components?.M4LScrollBar?.styleOverrides
637
- }));
638
- const SimpleBarStyle = styled$1(SimpleBarReact)`
639
- /* flex-grow: 1;
640
- height: 100%;
641
- overflow: hidden; */
642
- height: 100%;
643
-
644
- .simplebar-scrollbar {
645
- .simplebar-visible:before {
646
- opacity: 1;
647
- }
648
- }
649
- .simplebar-track.simplebar-vertical {
650
- width: 30;
651
- }
652
- .simplebar-track.simplebar-horizontal .simplebar-scrollbar {
653
- height: 6;
654
- }
655
-
656
- .simplebar-mask {
657
- z-index: 'inherit';
658
- }
659
-
660
- .simplebar-content {
661
- // display: 'flex',
662
- // flexDirection: 'column',
663
- // height: '100%',
664
- }
665
-
666
- .simplebar-content-wrapper[style*='overflow: hidden scroll;'] {
667
- .simplebar-content {
668
- margin-right: 16px;
669
- }
670
- }
671
- `;
672
- styled$1(SimpleBarReact)(({ theme }) => ({
673
- height: "100%",
674
- "& .simplebar-scrollbar": {
675
- "&:before": {
676
- backgroundColor: alpha$1(theme.colorSchemes.finalTheme.palette.grey[600], 0.48)
677
- },
678
- "&.simplebar-visible:before": {
679
- opacity: 1
680
- }
681
- },
682
- "& .simplebar-track.simplebar-vertical": {
683
- width: 10
684
- },
685
- "& .simplebar-track.simplebar-horizontal .simplebar-scrollbar": {
686
- height: 6
687
- },
688
- "& .simplebar-mask": {
689
- zIndex: "inherit"
690
- },
691
- "& .simplebar-content": {
692
- display: "flex",
693
- flexDirection: "column",
694
- height: "100%"
695
- },
696
- '& .simplebar-content-wrapper[style*="overflow: hidden scroll;"] ': {
697
- "& .simplebar-content": {
698
- marginRight: "12px"
699
- }
700
- }
701
- }));
702
- const AreasViewerRoot = styled$1("div")`
703
- /* display: flex; */
704
- width: 100%;
705
- height: 100%;
706
- overflow: hidden;
707
- /* flex-grow: 1; */
708
- position: relative;
709
-
710
- //areaRoot
711
- & .${areasViewerClasses.areaRoot} {
712
- display: none;
713
- position: absolute;
714
- /* flex-grow: 1; */
715
- flex-direction: row;
716
- inset: 0;
717
- /* width: 100%; */
718
- overflow: hidden;
719
- justify-content: top;
720
- align-items: flex-start;
721
-
722
- visibility: hidden;
723
- }
724
-
725
- & .${areasViewerClasses.areaRoot}.${areasViewerClasses.selected} {
726
- display: block;
727
- visibility: visible;
728
- }
729
-
730
- &.${areasViewerClasses.isMobile} .${areasViewerClasses.areaRoot} {
731
- }
732
-
733
- // areaGridLayoutPanelContainer
734
- & .${areasViewerClasses.areaGridLayoutPanelContainer} {
735
- display: flex;
736
- flex-direction: row;
737
- height: 100%;
738
- width: 100%;
739
- overflow: hidden;
740
- }
741
- &.${areasViewerClasses.isMobile} .${areasViewerClasses.areaGridLayoutPanelContainer} {
742
- flex-direction: column-reverse;
743
- }
744
- // areaGridLayout
745
- & .${areasViewerClasses.areaGridLayout} {
746
- height: 100% !important;
747
- overflow: auto;
748
- flex-grow: 1;
749
- }
750
- &.${areasViewerClasses.isMobile} .${areasViewerClasses.areaGridLayout} {
751
- flex-direction: column-reverse;
752
- height: unset;
753
- width: 100%;
754
- }
755
- // areaGridLayoutPopupsContainer
756
- & .${areasViewerClasses.areaGridLayoutPopupsContainer} {
757
- z-index: 1; //Garantizar q el contenedor de los popus este por encima de los layouts
758
- // // ' .react-draggable': {
759
- // // position: 'absolute',
760
- // // },
761
- }
762
-
763
- // PanelWindowsRoot
764
- & .${areasViewerClasses.panelWindowsRoot} {
765
- display: flex;
766
- flex-direction: column;
767
- position: relative;
768
- }
769
- &.${areasViewerClasses.isMobile} .${areasViewerClasses.panelWindowsRoot} {
770
- flex-direction: row;
771
- }
772
-
773
- // windowRoot
774
- & .${areasViewerClasses.windowRoot} {
775
- inset: 0;
776
- position: absolute;
777
- display: flex;
778
- flex-direction: column;
779
- /* height: 100%; */
780
- /* width: 100%; */
781
- overflow: hidden;
782
- border: 1px solid gray;
783
-
784
- background-color: ${(props) => props.theme.vars.palette.background.default};
785
- padding: ${(props) => props.theme.spacing(0)};
786
- }
787
-
788
- & .${areasViewerClasses.windowRoot}.${areasViewerClasses.selected} {
789
- border-top: 1px solid green;
790
- }
791
- // windowHeaderTitle
792
- & .${areasViewerClasses.windowHeaderTitle} {
793
- width: 100%;
794
- max-width: 100%;
795
- overflow: hidden;
796
- white-space: nowrap;
797
- color: ${(props) => props.theme.vars.palette.text.primary};
798
- text-overflow: ellipsis;
799
- }
800
- // windowHeaderMainActions
801
- & .${areasViewerClasses.windowHeaderMainActions} {
802
- display: flex;
803
-
804
- gap: 4px;
805
- }
806
-
807
- // windowHeaderMainActions
808
- & .${areasViewerClasses.windowContent} {
809
- flex-grow: 1;
810
- position: relative;
811
- }
812
-
813
- // windowModalRoot
814
- & .${areasViewerClasses.windowModalRoot} {
815
- padding: 16px;
816
- }
817
-
818
- ${(props) => props.theme.components?.M4LAreasViewer?.styleOverrides}
819
- `;
820
- const LinearProgressIndeterminateRoot = styled("div")(({ theme }) => ({
821
- ...theme.components?.M4LinearProgressIndeterminate?.styleOverrides
822
- }));
823
- const LoadingErrorRoot = styled$1("div")(({ theme }) => ({
824
- ...theme?.components?.M4LoadingError?.styleOverrides
825
- }));
826
- const MFLoaderRoot = styled("div")(({ theme }) => ({
827
- ...theme.components?.M4LMFLoader?.styleOverrides
828
- }));
829
- const WindowRoot = styled("div")`
830
- inset: 0;
831
- position: absolute;
832
- display: flex;
833
- flex-direction: column;
834
- /* height: 100%; */
835
- /* width: 100%; */
836
- overflow: hidden;
837
- border: 1px solid gray;
838
-
839
- background-color: ${(props) => props.theme.vars.palette.background.default};
840
- padding: ${(props) => props.theme.spacing(0)};
841
- &.${areasViewerClasses.selected} {
842
- border-top: 1px solid green;
843
- }
844
-
845
- // windowHeader
846
- /*
847
- &.${areasViewerClasses.loading} .${areasViewerClasses.windowHeader} {
848
- border-bottom: 2px solid red !important;
849
- }
850
- */
851
- // windowHeaderTitle
852
- & .${areasViewerClasses.windowHeaderTitle} {
853
- width: 100%;
854
- max-width: 100%;
855
- overflow: hidden;
856
- white-space: nowrap;
857
- color: ${(props) => props.theme.vars.palette.text.primary};
858
- text-overflow: ellipsis;
859
- }
860
-
861
- & .${areasViewerClasses.windowHeaderCancelHandle} {
862
- display: flex;
863
- cursor: default;
864
- }
865
-
866
- // windowHeaderMainActions
867
- & .${areasViewerClasses.windowHeaderMainActions} {
868
- display: flex;
869
-
870
- gap: 4px;
871
- }
872
-
873
- // windowHeaderMainActions
874
- & .${areasViewerClasses.windowContent} {
875
- flex-grow: 1;
876
- position: relative;
877
- }
878
-
879
- & .${areasViewerClasses.windowContent}.${areasViewerClasses.colapsed} {
880
- display: none !important;
881
- }
882
- // windowModalRoot
883
- & .${areasViewerClasses.windowModalRoot} {
884
- padding: 16px;
885
- }
886
-
887
- & .MuiLinearProgress-root {
888
- width: 100%;
889
- }
890
-
891
- ${(props) => props.theme.components?.M4LAreasViewerWindow?.styleOverrides}
892
- `;
893
- const toastStyles = {
894
- root: ({ theme, ownerState }) => ({
895
- "--toastify-color-light": theme.vars.palette.background.default,
896
- "--toastify-color-dark": theme.vars.palette.background.default,
897
- "--toastify-color-info": theme.vars.palette.info.main,
898
- "--toastify-color-success": theme.vars.palette.success.main,
899
- "--toastify-color-warning": theme.vars.palette.warning.main,
900
- "--toastify-color-error": theme.vars.palette.error.main,
901
- "--toastify-color-transparent": "rgba(255, 255, 255, 0.7)",
902
- "--toastify-icon-color-info": "var(--toastify-color-info)",
903
- "--toastify-icon-color-success": "var(--toastify-color-success)",
904
- "--toastify-icon-color-warning": "var(--toastify-color-warning)",
905
- "--toastify-icon-color-error": "var(--toastify-color-error)",
906
- "--toastify-toast-width": "320px",
907
- "--toastify-toast-background": "#fff",
908
- "--toastify-toast-min-height": "64px",
909
- "--toastify-toast-max-height": "800px",
910
- "--toastify-font-family": "sans-serif",
911
- "--toastify-z-index": "9999",
912
- "--toastify-text-color-light": "#757575",
913
- "--toastify-text-color-dark": "#fff",
914
- "--toastify-text-color-info": "#fff",
915
- "--toastify-text-color-success": "#fff",
916
- "--toastify-text-color-warning": "#fff",
917
- "--toastify-text-color-error": "#fff",
918
- "--toastify-spinner-color": "#616161",
919
- "--toastify-spinner-color-empty-area": "#e0e0e0",
920
- "--toastify-color-progress-light": "var(--toastify-color-info)",
921
- "--toastify-color-progress-dark": "var(--toastify-color-info)",
922
- "--toastify-color-progress-info": "var(--toastify-color-info)",
923
- "--toastify-color-progress-success": "var(--toastify-color-success)",
924
- "--toastify-color-progress-warning": "var(--toastify-color-warning)",
925
- "--toastify-color-progress-error": "var(--toastify-color-error)",
926
- "--toastify-toast-bd-radius": "8px",
927
- "--toastify-color-progress-bgo": ".2",
928
- // Aplicar estilos del CSS Module directamente
929
- /* ...Object.keys(styles).reduce(
930
- (acc, key) => ({
931
- ...acc,
932
- [`.${styles[key]}`]: {
933
- // Aquí puedes añadir estilos específicos si es necesario
934
- },
935
- }),
936
- {},
937
- ),
938
- */
939
- ...ownerState?.fixed === false ? {
940
- top: 0,
941
- position: "absolute",
942
- zIndex: theme.vars.zIndex.snackbar,
943
- "@supports (position: sticky)": {
944
- position: "sticky"
945
- }
946
- } : {},
947
- "& .Toastify": {
948
- margin: 0,
949
- padding: 0,
950
- height: 0
951
- },
952
- "& .Toastify__toast-container": {
953
- display: "flex",
954
- flexDirection: "column",
955
- gap: "16px",
956
- ...ownerState?.fixed === false ? {
957
- top: "4px",
958
- position: "absolute"
959
- } : {},
960
- [theme.breakpoints.down(480)]: {
961
- width: "100%",
962
- minWidth: "100%",
963
- padding: "0"
964
- }
965
- },
966
- ".Toastify__toast-container--top-left": {},
967
- ".Toastify__toast-container--top-center": {},
968
- ".Toastify__toast-container--top-right": {},
969
- ".Toastify__toast-container--bottom-left": {},
970
- ".Toastify__toast-container--bottom-center": {},
971
- ".Toastify__toast-container--bottom-right": {},
972
- "& .Toastify__toast--stacked[data-collapsed=true]:not(:last-child) > *": {
973
- opacity: 0.2
974
- },
975
- "& .Toastify__toast": {
976
- minHeight: "min-content",
977
- margin: "0",
978
- padding: "0",
979
- backgroundColor: theme.vars.palette.background.default,
980
- boxShadow: theme.customShadows?.z3,
981
- borderRadius: "4px",
982
- [theme.breakpoints.down(480)]: {
983
- margin: "1%",
984
- width: "98% !important"
985
- }
986
- },
987
- ".Toastify__toast--rtl": {},
988
- "& .Toastify__toast-body": {
989
- margin: "0px",
990
- padding: "0px"
991
- },
992
- "& .Toastify__toast-icon": {},
993
- "& .Toastify__toast-theme--dark": {},
994
- "& .Toastify__toast-theme--light": {},
995
- "& .Toastify__toast-theme--colored.Toastify__toast--default": {},
996
- "& .Toastify__toast-theme--colored.Toastify__toast--info": {},
997
- "& .Toastify__toast-theme--colored.Toastify__toast--success": {},
998
- "& .Toastify__toast-theme--colored.Toastify__toast--warning": {},
999
- "& .Toastify__toast-theme--colored.Toastify__toast--error": {},
1000
- "& .Toastify__progress-bar--wrp": {
1001
- position: "absolute",
1002
- top: 0,
1003
- height: "2px",
1004
- borderTopLeftRadius: "2px",
1005
- borderTopRightRadius: "2px",
1006
- borderBottomLeftRadius: "0",
1007
- borderBottomRightRadius: "0",
1008
- overflow: "hidden"
1009
- },
1010
- "& .Toastify__progress-bar": {
1011
- borderTopLeftRadius: "2px",
1012
- borderBottomLeftRadius: "0",
1013
- borderBottomRightRadius: "0"
1014
- },
1015
- "& .Toastify__progress-bar--rtl": {},
1016
- "& .Toastify__progress-bar-theme--light": {},
1017
- "& .Toastify__progress-bar-theme--dark": {},
1018
- "& .Toastify__progress-bar--info": {},
1019
- "& .Toastify__progress-bar--success": {},
1020
- "& .Toastify__progress-bar--warning": {},
1021
- "& .Toastify__progress-bar--error": {}
1022
- }),
1023
- messageRoot: {
1024
- display: "flex",
1025
- flexDirection: "column",
1026
- width: "100%",
1027
- padding: "4px"
1028
- },
1029
- messageHeader: {
1030
- width: "100%",
1031
- display: "flex",
1032
- justifyContent: "space-between",
1033
- alignItems: "center",
1034
- height: "24px",
1035
- minHeight: "24px",
1036
- gap: "4px"
1037
- },
1038
- messageIconRoot: {},
1039
- messageIcon: ({ theme, ownerState }) => ({
1040
- "&.M4LIcon-root": {
1041
- height: "24px",
1042
- width: "24px",
1043
- "& > .M4LIcon-icon": {
1044
- backgroundColor: ownerState?.type === "info" ? theme.vars.palette.info.main : ownerState?.type === "success" ? theme.vars.palette.success.main : ownerState?.type === "warning" ? theme.vars.palette.warning.main : ownerState?.type === "error" ? theme.vars.palette.error.main : theme.vars.palette.info.main
1045
- }
1046
- }
1047
- }),
1048
- messageTitle: ({ theme }) => ({
1049
- flex: 1,
1050
- paddingLeft: "4px",
1051
- ...theme.colorSchemes.finalTheme.typography.bodyDens,
1052
- fontWeight: theme.colorSchemes.finalTheme.typography.fontWeightMedium,
1053
- color: theme.vars.palette.text.primary
1054
- }),
1055
- messageDescription: ({ theme }) => ({
1056
- ...theme.colorSchemes.finalTheme.typography.bodyDens,
1057
- fontWeight: theme.colorSchemes.finalTheme.typography.fontWeightRegular,
1058
- color: theme.vars.palette.text.primary,
1059
- padding: "0 4px 4px 30px"
1060
- }),
1061
- messageCloseButton: {
1062
- border: "none",
1063
- backgroundColor: "transparent",
1064
- margin: 0,
1065
- padding: 0
1066
- },
1067
- messageCloseButtonIcon: ({ theme }) => ({
1068
- "&.M4LIcon-root": {
1069
- height: "24px",
1070
- width: "24px",
1071
- "& > .M4LIcon-icon": {
1072
- backgroundColor: theme.vars.palette.text.primary,
1073
- fontsize: "16px"
1074
- }
1075
- }
1076
- }),
1077
- messagePinButton: {
1078
- border: "none",
1079
- backgroundColor: "transparent",
1080
- margin: 0,
1081
- padding: 0
1082
- },
1083
- messagePinButtonIcon: ({ theme }) => ({
1084
- "&.M4LIcon-root": {
1085
- height: "24px",
1086
- width: "24px",
1087
- "& > .M4LIcon-icon": {
1088
- backgroundColor: theme.vars.palette.text.primary,
1089
- fontsize: "16px"
1090
- }
1091
- }
1092
- })
1093
- };
1094
- styled$1("div")(({ theme }) => ({
1095
- display: "flex",
1096
- flexDirection: "column",
1097
- height: "100%",
1098
- overflow: "hidden",
1099
- padding: theme.spacing(3)
1100
- }));
1101
- const WrapperWindowModal = styled$1(Dialog)(({ theme }) => ({
1102
- // height: '100%',
1103
- hola: 1,
1104
- backgroundColor: theme.vars.palette.background.paper,
1105
- "& .MuiDialog-container": {
1106
- // justifyContent: 'start',
1107
- // alignItems: 'start',
1108
- },
1109
- // position: 'absolute',
1110
- "&.m4l_selected": {
1111
- borderTop: "1px solid green"
1112
- },
1113
- ...theme.components?.M4LAreasViewerModal?.styleOverrides
1114
- }));
1115
- const FormatterRootContainer = styled("div")(({ theme }) => ({
1116
- ...theme.components?.M4LFormatter?.styleOverrides
1117
- }));
1118
- const DataGridRoot = styled$1("div")(({ theme }) => ({
1119
- display: "flex",
1120
- flexDirection: "column",
1121
- position: "absolute",
1122
- padding: "0px",
1123
- inset: "0px",
1124
- overflow: "hidden",
1125
- ...theme.components?.M4LDataGrid?.styleOverrides
1126
- }));
1127
- const WrapperSkeleton = styled("div")(() => ({
1128
- display: "flex",
1129
- width: "100%",
1130
- height: "100%",
1131
- alignItems: "center"
1132
- }));
1133
- const WrapperColumnsConfig = styled$1("div")(({ theme }) => ({
1134
- color: theme.vars.palette.text.primary,
1135
- position: "relative",
1136
- display: "flex",
1137
- flexDirection: "column",
1138
- height: "100%",
1139
- width: "100%"
1140
- }));
1141
- styled$1("div")(({ theme }) => ({
1142
- color: theme.vars.palette.text.primary,
1143
- fontSize: theme.typography.h4.fontSize
1144
- }));
1145
- const DivSelColumns = styled$1("div")(({ theme }) => ({
1146
- ...theme.colorSchemes.finalTheme.typography.bodyDens,
1147
- color: theme.vars.palette.text.primary,
1148
- padding: `16px 8px`
1149
- }));
1150
- const WrapperDataGrid = styled$1("div")(() => ({
1151
- position: "relative",
1152
- display: "flex",
1153
- flexDirection: "column",
1154
- flexGrow: 1,
1155
- overflow: "auto"
1156
- }));
1157
- styled$1("div")(() => ({
1158
- display: "flex",
1159
- flexDirection: "row"
1160
- }));
1161
- const ColumnActions = styled$1("div")(() => ({
1162
- paddingTop: "16px",
1163
- paddingBottom: "8px",
1164
- display: "flex",
1165
- flexDirection: "row"
1166
- }));
1167
- styled$1("div")(({ theme }) => ({
1168
- paddingTop: theme.spacing(3),
1169
- display: "flex",
1170
- flexDirection: "row",
1171
- justifyContent: "flex-end",
1172
- "& > button": {
1173
- marginLeft: "10px"
1174
- }
1175
- }));
1176
- const PrintingSystemRoot = styled("div")(({ theme }) => ({
1177
- ...theme.components?.M4LPrintingSystem?.styleOverrides
1178
- }));
1179
- const LanguagePopoverRoot = styled$1("div")(({ theme }) => ({
1180
- ...theme.components?.M4LanguagePopover?.styleOverrides
1181
- }));
1182
- const LabelItem = styled$1("div")(({ theme }) => ({
1183
- marginLeft: theme.spacing(1)
1184
- }));
1185
- const ContainerProgress = styled$1("div")(({ theme }) => ({
1186
- padding: theme.spacing(0.75, 0),
1187
- margin: theme.spacing(0, 1.25)
1188
- }));
1189
- const ContainerMenuItems = styled$1("div")(() => ({
1190
- display: "flex",
1191
- flexDirection: "column"
1192
- // marginBottom: theme.spacing(1),
1193
- // paddingBottom: theme.spacing(1),
1194
- }));
1195
- const ContainerImage = styled$1("div")(() => ({
1196
- display: "flex",
1197
- gap: "4px",
1198
- width: "16px",
1199
- height: "16px"
1200
- }));
1201
- const CONTAINER_QUERY_NAME = "poupup_root";
1202
- const popupsViewerStyles = {
1203
- root: ({ ownerState }) => ({
1204
- containerName: CONTAINER_QUERY_NAME,
1205
- containerType: "inline-size",
1206
- position: "absolute",
1207
- left: "0px",
1208
- top: "0px",
1209
- width: "0px",
1210
- height: "0px",
1211
- cursor: "default",
1212
- zIndex: ownerState.baseZindex || 0
1213
- }),
1214
- popupDragWindowRoot: ({ theme, ownerState }) => ({
1215
- display: "flex",
1216
- flexDirection: "column",
1217
- position: "relative",
1218
- width: "100%",
1219
- height: "100%",
1220
- backgroundColor: theme.vars.palette.background.default,
1221
- zIndex: ownerState.zIndex || 0,
1222
- "&.fade-enter": {
1223
- opacity: 0
1224
- },
1225
- "&.fade-enter-active": {
1226
- opacity: 1,
1227
- transition: "opacity 300ms"
1228
- },
1229
- "&.fade-enter-done": {
1230
- opacity: 1
1231
- },
1232
- "& .fade-exit": {
1233
- opacity: 1
1234
- },
1235
- "& .fade-exit-active": {
1236
- opacity: 0
1237
- //transition: 'opacity 10ms',
1238
- },
1239
- ...ownerState?.status === "hidden" ? {
1240
- visibility: "hidden",
1241
- pointerEvents: "none"
1242
- } : {},
1243
- ...ownerState?.variant === "small" ? {
1244
- border: "1px solid red"
1245
- } : {}
1246
- }),
1247
- pDWHeaderContainer: ({ ownerState }) => ({
1248
- display: "flex",
1249
- position: "relative",
1250
- margin: "6px",
1251
- gap: "8px",
1252
- marginLeft: "8px",
1253
- borderBottom: "2px solid blue",
1254
- cursor: "move",
1255
- ...ownerState?.variant === "small" ? {
1256
- border: "1px solid green"
1257
- } : {}
1258
- }),
1259
- pDWHeaderTitle: ({ ownerState }) => ({
1260
- flexGrow: 1,
1261
- fontWeight: "bold",
1262
- ...ownerState?.subTitle ? {
1263
- flexGrow: "unset",
1264
- "&:after": {
1265
- content: '"*"',
1266
- color: "red",
1267
- fontSize: "22px",
1268
- top: "0px",
1269
- bottom: "0px",
1270
- position: "absolute"
1271
- }
1272
- } : {}
1273
- }),
1274
- pDWHeaderSubTitle: ({}) => ({
1275
- flexGrow: 1
1276
- }),
1277
- pDWContentRoot: ({}) => ({
1278
- display: "flex",
1279
- padding: "12px",
1280
- position: "relative",
1281
- flexGrow: 1,
1282
- flexDirection: "column",
1283
- overflow: "hidden"
1284
- }),
1285
- pDWContentEditionInfo: ({}) => ({
1286
- display: "flex",
1287
- justifyContent: "flex-end",
1288
- "& .M4LIcon-root": {
1289
- paddingRight: "8px"
1290
- }
1291
- }),
1292
- pDWContentWrapper: ({}) => ({
1293
- flexGrow: 1,
1294
- display: "flex",
1295
- position: "relative",
1296
- overflow: "auto"
1297
- })
1298
- };
1299
- const DivTabGpsToolsRoot = styled$1("div")`
1300
- .${gpsToolsClasses.gpsToolsTabContent}.${gpsToolsClasses.hidden} {
1301
- display: none;
1302
- }
1303
-
1304
- .${gpsToolsClasses.gpsToolsGeofencesList} .M4LDataGrid-root {
1305
- height: unset !important;
1306
- flex-grow: 1;
1307
- }
1308
-
1309
- .${gpsToolsClasses.toolGeofencesAddEditGeneral} {
1310
- flex-grow: 1;
1311
- }
1312
-
1313
- ${(props) => props.theme.components?.M4LMapGpsTools?.styleOverrides}
1314
- `;
1315
- const RHFormProviderStyled = styled$1(RHFormProvider)`
1316
- ${(props) => props.theme.components?.M4LMapGpsToolsGeofencesAddEdit?.styleOverrides}
1317
- `;
1318
- const StackGeofenceListRoot = styled$1(Stack$1)`
1319
- ${(props) => props.theme.components?.M4LMapGpsToolsGeofencesList?.styleOverrides}
1320
- `;
1321
- const NavLinkRoot = styled$1("div")(({ theme }) => ({
1322
- ...theme.components?.M4LNavLink?.styleOverrides
1323
- }));
1324
- const WrapperNoItemSelected = styled$1("div")(({ theme }) => ({
1325
- ...theme.components?.M4LNoItemSelected?.styleOverrides
1326
- }));
1327
- const Img = styled$1(Image)(() => ({
1328
- display: "flex"
1329
- }));
1330
- const Label = styled$1("span")(({ theme }) => ({
1331
- ...theme.colorSchemes.finalTheme.typography.body,
1332
- padding: `${theme.spacing(1.5)} ${theme.spacing(1)} ${theme.spacing(1)} ${theme.spacing(1)}`
1333
- }));
1334
- const WrapperSKTNoItemSelected = styled$1("div")(() => ({
1335
- display: "flex",
1336
- width: "100%",
1337
- minWidth: "100%",
1338
- minHeight: "230px",
1339
- mask: `url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 70 70' style='enable-background:new 0 0 70 70%3B' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M45 8.7c1.4-1.5 3.4-2.3 5.4-2.3s3.9 0.8 5.4 2.3s2.4 3.5 2.5 5.7c0 2.2-0.9 4.2-2.4 5.7s-3.5 2.3-5.5 2.2c-2.1 0.1-4-0.7-5.5-2.2c-1.4-1.5-2.3-3.5-2.4-5.7C42.6 12.2 43.5 10.2 45 8.7z'/%3E%3Cpath d='M68.4 62.1c-0.3 0.5-0.7 0.8-1.2 1.1s-1 0.4-1.6 0.4H4.3c-0.6 0-1.1-0.1-1.6-0.4s-0.9-0.6-1.2-1.1c-0.2-0.5-0.4-1-0.4-1.5s0.1-1.1 0.4-1.5l23-36.4c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l11.5 18.2c0.2 0.3 0.5 0.5 0.8 0.7c0.3 0.2 0.6 0.3 1 0.3c0.3 0 0.7-0.1 1-0.3c0.3-0.2 0.6-0.4 0.8-0.7l3.1-4.9c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l14.6 23.1c0.3 0.5 0.3 1 0.3 1.5S68.7 61.7 68.4 62.1z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain`,
1340
- WebkitMask: `url("data:image/svg+xml,%3Csvg version='1.1' id='Capa_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 70 70' style='enable-background:new 0 0 70 70%3B' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M45 8.7c1.4-1.5 3.4-2.3 5.4-2.3s3.9 0.8 5.4 2.3s2.4 3.5 2.5 5.7c0 2.2-0.9 4.2-2.4 5.7s-3.5 2.3-5.5 2.2c-2.1 0.1-4-0.7-5.5-2.2c-1.4-1.5-2.3-3.5-2.4-5.7C42.6 12.2 43.5 10.2 45 8.7z'/%3E%3Cpath d='M68.4 62.1c-0.3 0.5-0.7 0.8-1.2 1.1s-1 0.4-1.6 0.4H4.3c-0.6 0-1.1-0.1-1.6-0.4s-0.9-0.6-1.2-1.1c-0.2-0.5-0.4-1-0.4-1.5s0.1-1.1 0.4-1.5l23-36.4c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l11.5 18.2c0.2 0.3 0.5 0.5 0.8 0.7c0.3 0.2 0.6 0.3 1 0.3c0.3 0 0.7-0.1 1-0.3c0.3-0.2 0.6-0.4 0.8-0.7l3.1-4.9c0.3-0.5 0.7-0.8 1.2-1.1c0.5-0.3 1-0.4 1.6-0.4c0.6 0 1.1 0.1 1.6 0.4c0.5 0.3 0.9 0.6 1.2 1.1l14.6 23.1c0.3 0.5 0.3 1 0.3 1.5S68.7 61.7 68.4 62.1z'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain`
1341
- }));
1342
- const Container = styled$1("div")(() => ({
1343
- height: "100%",
1344
- width: "100%",
1345
- display: "flex",
1346
- flexDirection: "column",
1347
- justifyContent: "flex-start",
1348
- gap: "4px"
1349
- }));
1350
- const Actions = styled$1("div")(({ theme }) => ({
1351
- position: "relative",
1352
- height: "auto",
1353
- display: "flex",
1354
- flexDirection: "row",
1355
- justifyContent: "flex-start",
1356
- alignItems: "center",
1357
- "& .MuiFormControl-root": {
1358
- flexGrow: 1
1359
- },
1360
- [theme.breakpoints.up("sm")]: {
1361
- "& .MuiFormControl-root:nth-of-type(1)": {
1362
- marginRight: theme.spacing(3)
1363
- }
1364
- }
1365
- }));
1366
- const GridWrapper = styled$1("div")(() => ({
1367
- position: "relative",
1368
- flexGrow: "1",
1369
- width: "100%"
1370
- }));
1371
- const PaperFormRoot = styled$1("div")(({ theme }) => ({
1372
- ...theme.components?.M4LPaperForm?.styleOverrides
1373
- }));
1374
- const HeaderContainer = styled$1("div")(({ theme }) => ({
1375
- display: "flex",
1376
- flexDirection: "row",
1377
- alignItems: "center",
1378
- // height: theme.spacing(5),
1379
- borderBottom: `1px solid ${theme.vars.palette.divider}`,
1380
- paddingBottom: theme.spacing(3),
1381
- marginBottom: theme.spacing(2),
1382
- overflow: "hidden"
1383
- }));
1384
- const IconTitleContainer = styled$1("div")(({ theme }) => ({
1385
- display: "flex",
1386
- flexDirection: "row",
1387
- flexGrow: 1,
1388
- alignItems: "center",
1389
- color: theme.vars.palette.text.primary,
1390
- ...theme.colorSchemes.finalTheme.typography.subtitle1
1391
- }));
1392
- const IconHeader = styled$1("div")(({ theme }) => ({
1393
- // width: "24px",
1394
- // height: "24px",
1395
- display: "flex",
1396
- alignItems: "center",
1397
- justifyContent: "center",
1398
- marginRight: theme.spacing(1.5)
1399
- }));
1400
- const Content = styled$1("div")(() => ({
1401
- flexGrow: 1,
1402
- position: "relative"
1403
- }));
1404
- const SkTPaperFormHeader = styled$1("div")(({ theme }) => ({
1405
- width: "auto",
1406
- display: "grid",
1407
- gridTemplateColumns: `${theme.spacing(2)} auto`,
1408
- gridGap: `${theme.spacing(1.5)}`,
1409
- paddingBottom: `${theme.spacing(3)}`,
1410
- borderBottom: `1px solid ${theme.vars.palette.divider}`,
1411
- marginBottom: `${theme.spacing(3)}`
1412
- }));
1413
- const PDFVeiwerRoot = styled("div")(({ theme }) => ({
1414
- ...theme.components?.M4LPDFViewer?.styleOverrides
1415
- }));
1416
- const PropertyValueRoot = styled("div")(({ theme }) => ({
1417
- ...theme.components?.M4LPropertyValue?.styleOverrides
1418
- }));
1419
- const SplitLayoutRoot = styled("div")(({ theme }) => ({
1420
- ...theme.components?.M4LSplitLayout?.styleOverrides
1421
- }));
1422
- const SplitMaster = styled("div")(() => ({
1423
- display: "flex",
1424
- flexDirection: "column",
1425
- position: "relative",
1426
- width: "100%",
1427
- height: "100%",
1428
- overflow: "hidden"
1429
- }));
1430
- const SplitDetail = styled("div")(() => ({
1431
- display: "flex",
1432
- flexDirection: "column",
1433
- justifyContent: "center",
1434
- alignItems: "center",
1435
- overflow: "hidden",
1436
- position: "absolute",
1437
- left: "0px",
1438
- right: "0px",
1439
- top: "0px",
1440
- bottom: "0px"
1441
- }));
1442
- const SideBarRoot = styled$1("div")(({ theme }) => ({
1443
- ...theme.components?.M4LSideBar?.styleOverrides
1444
- }));
1445
- styled$1("div", {
1446
- shouldForwardProp: (props) => props !== "collapsed"
1447
- })((props) => ({
1448
- display: "flex",
1449
- flexDirection: "row",
1450
- justifyContent: "center",
1451
- alignItems: props.collapsed ? "center" : "normal",
1452
- padding: props.theme.spacing(3, 2.5, 2, 2.5)
1453
- }));
1454
- const WrapperGroup = styled$1("ul")(({ theme }) => ({
1455
- display: "flex",
1456
- width: "100%",
1457
- flexDirection: "column",
1458
- gap: theme.spacing(0.5),
1459
- listStyle: "none",
1460
- padding: "0px"
1461
- }));
1462
- const ContentGroupsRoot = styled$1("ul")(() => ({
1463
- display: "flex",
1464
- width: "100%",
1465
- height: "100%"
1466
- }));
1467
- const WrapperGroupTitle = styled$1("li")(({ theme }) => ({
1468
- ...theme.colorSchemes.finalTheme.typography.overline,
1469
- paddingTop: theme.spacing(3),
1470
- paddingLeft: theme.spacing(2),
1471
- paddingBottom: theme.spacing(1),
1472
- color: theme.vars.palette.text.primary,
1473
- transition: theme.transitions.create("opacity", {
1474
- duration: theme.transitions.duration.shorter
1475
- })
1476
- }));
1477
- const NavItemMainRoot = styled$1("div", {
1478
- shouldForwardProp: (prop) => prop !== "activeRoot"
1479
- })(({ activeRoot, theme }) => ({
1480
- ...activeRoot && {
1481
- ...theme.colorSchemes.finalTheme.typography.subtitle2,
1482
- color: theme.vars.palette.primary.main,
1483
- backgroundColor: alpha$1(
1484
- theme.colorSchemes.finalTheme.palette.primary.main,
1485
- theme.vars.palette.action.selectedOpacity
1486
- )
1487
- }
1488
- }));
1489
- styled$1(ListItemText, {
1490
- shouldForwardProp: (prop) => prop !== "isCollapse"
1491
- })(({ isCollapse, theme }) => ({
1492
- whiteSpace: "nowrap",
1493
- transition: theme.transitions.create(["width", "opacity"], {
1494
- duration: theme.transitions.duration.shorter
1495
- }),
1496
- ...isCollapse && {
1497
- width: 0,
1498
- opacity: 0
1499
- }
1500
- }));
1501
- const ArrowIconRoot$1 = styled("div")(() => ({
1502
- display: "flex",
1503
- alignSelf: "center",
1504
- lineHeight: 0
1505
- }));
1506
- const ContainerListSubItem = styled$1("div")(({ theme }) => ({
1507
- width: "100%",
1508
- height: "auto",
1509
- paddingLeft: theme.spacing(2.75)
1510
- }));
1511
- const NavListSubItemRoot = styled("div")(() => ({
1512
- display: "flex",
1513
- flexDirection: "column"
1514
- }));
1515
- const NavSubItemContentRoot = styled$1(ListItemButton)(({ theme }) => ({
1516
- display: "flex",
1517
- padding: theme.spacing(0, 2),
1518
- alignItems: "center",
1519
- height: theme.spacing(6),
1520
- borderRadius: theme.spacing(1),
1521
- "& .m4l_icon": {
1522
- marginRight: theme.spacing(1)
1523
- }
1524
- }));
1525
- styled$1("span", {
1526
- shouldForwardProp: (props) => props !== "active"
1527
- })(({ theme, active }) => ({
1528
- width: "22px",
1529
- height: "22px",
1530
- display: "flex",
1531
- justifyContent: "center",
1532
- alignItems: "center",
1533
- borderRadius: "50%",
1534
- transition: theme.transitions.create("transform", {
1535
- duration: theme.transitions.duration.shorter
1536
- }),
1537
- "&::before": {
1538
- content: '""',
1539
- width: "4px",
1540
- height: "4px",
1541
- borderRadius: "50%",
1542
- backgroundColor: theme.vars.palette.text.disabled,
1543
- ...active && {
1544
- transform: "scale(1.5)",
1545
- backgroundColor: theme.vars.palette.primary.main
1546
- }
1547
- }
1548
- }));
1549
- const CollapseButtonRoot = styled("div")(() => ({
1550
- display: "flex"
1551
- }));
1552
- styled("div")(() => ({
1553
- display: "flex"
1554
- }));
1555
- const WrapperContentMobile = styled("div")(({ theme }) => ({
1556
- "& .m4l_image": {
1557
- display: "flex",
1558
- gap: theme.spacing(3),
1559
- alignItems: "center",
1560
- justifyContent: "center",
1561
- flexShrink: 0
1562
- }
1563
- }));
1564
- styled("div")(({ theme }) => ({
1565
- width: "100%",
1566
- height: "auto",
1567
- padding: theme.spacing(0, 2)
1568
- }));
1569
- const AppBarRoot = styled$1("header")(({ theme }) => ({
1570
- ...theme.components?.M4LAppBar?.styleOverrides
1571
- }));
1572
- const AppBarComercialRoot = styled("div")(({ theme }) => ({
1573
- ...theme.components?.M4LAppBarCommercial?.styleOverrides
1574
- }));
1575
- const HamburgerMenuRoot = styled$1("header")(({ theme }) => ({
1576
- ...theme.components?.M4LHamburgerMenuCommercial?.styleOverrides
1577
- }));
1578
- const ArrowIconRoot = styled("div")(() => ({
1579
- display: "flex",
1580
- alignSelf: "center",
1581
- lineHeight: 0
1582
- }));
1583
- const SectionCommercialRoot = styled(Stack$1)(({ theme }) => ({
1584
- ...theme.components?.M4LSectionCommercial?.styleOverrides
1585
- }));
1586
- export {
1587
- SideBarRoot as $,
1588
- AppBarRoot as A,
1589
- PrintingSystemRoot as B,
1590
- ColumnActions as C,
1591
- DataGridRoot as D,
1592
- PropertyValueRoot as E,
1593
- FieldLabelRoot as F,
1594
- GridLayoutRoot as G,
1595
- HelperTextRoot as H,
1596
- IconRoot as I,
1597
- WrapperResizeable as J,
1598
- SimpleBarStyle as K,
1599
- LanguagePopoverRoot as L,
1600
- MFLoaderRoot as M,
1601
- NavLinkRoot as N,
1602
- NavItemMainRoot as O,
1603
- PDFVeiwerRoot as P,
1604
- NavSubItemContentRoot as Q,
1605
- RootStyle as R,
1606
- SkTPaperFormHeader as S,
1607
- NavListSubItemRoot as T,
1608
- ContainerListSubItem as U,
1609
- ContentGroupsRoot as V,
1610
- WrapperStandarActions as W,
1611
- WrapperGroup as X,
1612
- WrapperGroupTitle as Y,
1613
- CollapseButtonRoot as Z,
1614
- WrapperContentMobile as _,
1615
- WrapperSkeleton as a,
1616
- SplitLayoutRoot as a0,
1617
- SplitMaster as a1,
1618
- SplitDetail as a2,
1619
- toastStyles as a3,
1620
- RootStyle$1 as a4,
1621
- AnimatedScrollRoot as a5,
1622
- EditAreaHeader as a6,
1623
- AreasAdminRoot as a7,
1624
- WindowRoot as a8,
1625
- WrapperWindowModal as a9,
1626
- ButtonRoot as aA,
1627
- WrapperImageButton as aB,
1628
- LoadingButtonRoot as aC,
1629
- CheckBoxRoot as aD,
1630
- PagerRoot as aE,
1631
- PopoverRoot as aF,
1632
- MUISTack as aG,
1633
- MUITabs as aH,
1634
- TabContentRoot as aI,
1635
- TabRoot as aJ,
1636
- SKTTabWrapper as aK,
1637
- WarpperTypography as aL,
1638
- popupsViewerStyles as aM,
1639
- FormProviderRoot as aN,
1640
- AreasViewerRoot as aa,
1641
- AppBarComercialRoot as ab,
1642
- SectionCommercialRoot as ac,
1643
- ArrowIconRoot as ad,
1644
- HamburgerMenuRoot as ae,
1645
- FormatterRootContainer as af,
1646
- WrapperOption as ag,
1647
- AutocompleteRoot as ah,
1648
- RHFAutocompleteAsyncRoot as ai,
1649
- RHFCheckboxRoot as aj,
1650
- ContainerCheckTypography as ak,
1651
- RHFColorPickerRoot as al,
1652
- RHFDateTimeRoot as am,
1653
- RHFPeriodRoot as an,
1654
- SkeletonTextFieldRoot as ao,
1655
- WrapperSkeletonRHFTextField as ap,
1656
- RHFTextFieldRoot as aq,
1657
- RHFTextFieldPasswordRoot as ar,
1658
- UploadImageRoot as as,
1659
- WrapperRHFUploadImage as at,
1660
- RHFormProviderStyled as au,
1661
- StackGeofenceListRoot as av,
1662
- DivTabGpsToolsRoot as aw,
1663
- AccordionRoot as ax,
1664
- AvatarRoot as ay,
1665
- BadgeRoot as az,
1666
- WrapperColumnsConfig as b,
1667
- DivSelColumns as c,
1668
- WrapperDataGrid as d,
1669
- DivIcon as e,
1670
- ArrowIconRoot$1 as f,
1671
- ImageRoot as g,
1672
- ContainerMenuItems as h,
1673
- ContainerProgress as i,
1674
- ContainerImage as j,
1675
- LabelItem as k,
1676
- LinearProgressIndeterminateRoot as l,
1677
- LoadingErrorRoot as m,
1678
- WrapperNoItemSelected as n,
1679
- Label as o,
1680
- Img as p,
1681
- WrapperSKTNoItemSelected as q,
1682
- Container as r,
1683
- Actions as s,
1684
- GridWrapper as t,
1685
- HeaderContainer as u,
1686
- IconTitleContainer as v,
1687
- IconHeader as w,
1688
- PaperFormRoot as x,
1689
- Content as y,
1690
- ContainerPeriod as z
1691
- };