@m4l/components 0.1.75 → 0.1.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. package/@types/export.d.ts +97 -1
  2. package/components/AccountPopover/classes/index.d.ts +5 -0
  3. package/components/AccountPopover/classes/types.d.ts +5 -0
  4. package/components/AccountPopover/{index.93aefccd.js → index.3a79c395.js} +151 -142
  5. package/components/AccountPopover/subcomponents/MyAvatar/createAvatar.d.ts +1 -1
  6. package/components/AccountPopover/subcomponents/PopOver/types.d.ts +0 -4
  7. package/components/AppBar/classes/index.d.ts +1 -0
  8. package/components/AppBar/classes/types.d.ts +1 -0
  9. package/components/AppBar/{index.cc974d56.js → index.71b38ee9.js} +25 -15
  10. package/components/CommonActions/components/ActionCancel/{index.574ea031.js → index.b748a38e.js} +2 -2
  11. package/components/CommonActions/components/ActionFormCancel/{index.e62db5d3.js → index.27ad09e1.js} +25 -22
  12. package/components/CommonActions/components/ActionFormIntro/{index.304da410.js → index.2556f054.js} +2 -2
  13. package/components/CommonActions/components/ActionIntro/{index.d635cbc4.js → index.a7d92e66.js} +2 -2
  14. package/components/CommonActions/components/Actions/{index.37ffde59.js → index.3eba9d91.js} +20 -20
  15. package/components/DataGrid/{index.c0c626cd.js → index.545b492f.js} +50 -30
  16. package/components/DataGrid/types.d.ts +5 -1
  17. package/components/DraggableWindow/{index.b95a678e.js → index.c702d3f2.js} +1 -1
  18. package/components/DynamicFilter/{index.3034c6ba.js → index.d7be0f37.js} +46 -39
  19. package/components/DynamicFilter/subcomponents/InnerForHooks/index.d.ts +2 -1
  20. package/components/DynamicFilter/subcomponents/InnerForHooks/types.d.ts +2 -0
  21. package/components/DynamicFilter/tests/contants.d.ts +1 -1
  22. package/components/DynamicFilter/types.d.ts +4 -0
  23. package/components/GridLayout/GridLayout.d.ts +6 -0
  24. package/components/GridLayout/Responsive/index.a12a8cec.js +335 -0
  25. package/components/GridLayout/WidthProvider/index.8ff65909.js +67 -0
  26. package/components/GridLayout/calculateUtils.d.ts +42 -0
  27. package/components/GridLayout/index.4ba3767a.js +1400 -0
  28. package/components/GridLayout/index.d.ts +6 -0
  29. package/components/GridLayout/subcomponents/GridItem/index.d.ts +25 -0
  30. package/components/GridLayout/subcomponents/GridItem/types.d.ts +76 -0
  31. package/components/GridLayout/subcomponents/Responsive/index.d.ts +3 -0
  32. package/components/GridLayout/subcomponents/Responsive/responsiveUtils.d.ts +61 -0
  33. package/components/GridLayout/subcomponents/Responsive/types.d.ts +71 -0
  34. package/components/GridLayout/subcomponents/WidthProvider/index.d.ts +16 -0
  35. package/components/GridLayout/types.d.ts +355 -0
  36. package/components/GridLayout/utils.d.ts +123 -0
  37. package/components/HelperText/{index.ec9b3e6a.js → index.ef31df1f.js} +12 -10
  38. package/components/Icon/{index.f9119f5e.js → index.ecb63e65.js} +1 -1
  39. package/components/Image/{index.8aae9322.js → index.c18ebf5a.js} +6 -7
  40. package/components/Image/types.d.ts +1 -4
  41. package/components/LanguagePopover/{index.491e1306.js → index.0023d069.js} +12 -10
  42. package/components/LinearProgressIndeterminate/LinearProgressIndeterminate.d.ts +2 -0
  43. package/components/LinearProgressIndeterminate/classes/constants.d.ts +1 -0
  44. package/components/LinearProgressIndeterminate/classes/index.d.ts +3 -0
  45. package/components/LinearProgressIndeterminate/classes/types.d.ts +7 -0
  46. package/components/LinearProgressIndeterminate/index.60dabc06.js +43 -0
  47. package/components/LinearProgressIndeterminate/index.d.ts +1 -0
  48. package/components/LinearProgressIndeterminate/tests/constants.d.ts +1 -0
  49. package/components/LinearProgressIndeterminate/tests/utils.d.ts +2 -0
  50. package/components/ModalDialog/{index.f652ea12.js → index.d880e685.js} +21 -60
  51. package/components/NavLink/{index.f8aee9f4.js → index.cd92eceb.js} +12 -10
  52. package/components/NoItemSelected/{index.cce86db4.js → index.23dfc897.js} +1 -1
  53. package/components/ObjectLogs/{index.c31b3f8b.js → index.f174c542.js} +31 -21
  54. package/components/PaperForm/classes/constants.d.ts +1 -0
  55. package/components/PaperForm/classes/index.d.ts +11 -0
  56. package/components/PaperForm/classes/types.d.ts +10 -0
  57. package/components/PaperForm/{index.d79c6f76.js → index.1bd86ee5.js} +58 -25
  58. package/components/PaperForm/types.d.ts +5 -2
  59. package/components/Period/Period.d.ts +3 -0
  60. package/components/Period/classes/constants.d.ts +1 -0
  61. package/components/Period/classes/index.d.ts +10 -0
  62. package/components/Period/classes/types.d.ts +13 -0
  63. package/components/Period/index.711db043.js +321 -0
  64. package/components/Period/index.d.ts +2 -3
  65. package/components/Period/tests/constants.d.ts +1 -0
  66. package/components/Period/tests/utils.d.ts +2 -0
  67. package/components/Period/types.d.ts +3 -4
  68. package/components/PropertyValue/classes/constants.d.ts +1 -0
  69. package/components/PropertyValue/classes/index.d.ts +9 -0
  70. package/components/PropertyValue/classes/types.d.ts +9 -0
  71. package/components/PropertyValue/{index.dfcfe1ba.js → index.8a1adf3e.js} +60 -10
  72. package/components/PropertyValue/skeleton.d.ts +2 -1
  73. package/components/PropertyValue/tests/constants.d.ts +1 -0
  74. package/components/PropertyValue/tests/utils.d.ts +2 -0
  75. package/components/PropertyValue/types.d.ts +4 -0
  76. package/components/Resizeable/{index.41a8048b.js → index.9a9c79a4.js} +1 -1
  77. package/components/SideBar/{index.1ae13a73.js → index.c5ce0bad.js} +6 -6
  78. package/components/areas/components/AreasAdmin/classes/index.d.ts +1 -1
  79. package/components/areas/components/AreasAdmin/classes/types.d.ts +6 -0
  80. package/components/areas/components/AreasAdmin/index.cc4cbf56.js +463 -0
  81. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/index.d.ts +3 -0
  82. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/types.d.ts +4 -0
  83. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/types.d.ts +0 -1
  84. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/index.d.ts +2 -0
  85. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/PanelWindowPopUp/index.d.ts +3 -0
  86. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/subcomponents/PanelWindowPopUp/types.d.ts +3 -0
  87. package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
  88. package/components/areas/components/AreasViewer/classes/types.d.ts +15 -0
  89. package/components/areas/components/AreasViewer/{index.621c0de4.js → index.9c2aaaeb.js} +611 -541
  90. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/{GridLayout → AreaGridLayout}/index.d.ts +1 -1
  91. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/index.d.ts +2 -2
  92. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/helper.d.ts +13 -2
  93. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/index.d.ts +1 -7
  94. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowPopUpsList/index.d.ts +3 -0
  95. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/subcomponents/WindowPopUpsList/types.d.ts +2 -0
  96. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/types.d.ts +6 -0
  97. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/helper.d.ts +18 -0
  98. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/ProggessLoadingMF/index.d.ts +3 -0
  99. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/ProggessLoadingMF/types.d.ts +4 -0
  100. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/types.d.ts +1 -1
  101. package/components/areas/components/AreasViewer/subcomponents/AreasLoadingError/index.d.ts +3 -0
  102. package/components/areas/components/AreasViewer/subcomponents/AreasLoadingError/types.d.ts +5 -0
  103. package/components/areas/components/index.0f7ac464.js +29 -0
  104. package/components/areas/contexts/AreasContext/helper.d.ts +6 -16
  105. package/components/areas/contexts/AreasContext/{index.d98b89fc.js → index.c8147e8e.js} +282 -352
  106. package/components/areas/contexts/AreasContext/types.d.ts +28 -24
  107. package/components/areas/contexts/WindowToolsMFContext/types.d.ts +3 -2
  108. package/components/areas/contexts/{index.79d1912d.js → index.02336412.js} +1 -1
  109. package/components/areas/{dictionary.e72db809.js → dictionary.afb7e3d9.js} +10 -2
  110. package/components/areas/dictionary.d.ts +9 -1
  111. package/components/areas/hooks/useAreas/{index.a7b597fb.js → index.3406a6cb.js} +1 -1
  112. package/components/areas/{icons.3ec589d3.js → icons.8266ccc8.js} +8 -1
  113. package/components/areas/icons.d.ts +7 -0
  114. package/components/areas/index.6f2e5dab.js +31 -0
  115. package/components/areas/types.d.ts +34 -22
  116. package/components/formatters/BooleanFormatter/{index.60aa1c9d.js → index.5268b024.js} +1 -1
  117. package/components/formatters/{index.1f0efb32.js → index.137169d8.js} +2 -2
  118. package/components/hook-form/RHFAutocomplete/{index.af3296ac.js → index.ac2b1fae.js} +13 -11
  119. package/components/hook-form/RHFAutocompleteAsync/{index.76864056.js → index.8b4ccc8d.js} +1 -1
  120. package/components/hook-form/RHFCheckbox/classes/types.d.ts +1 -0
  121. package/components/hook-form/RHFCheckbox/{index.865ba239.js → index.acef119c.js} +20 -13
  122. package/components/hook-form/RHFCheckbox/subcomponents/Skeleton/types.d.ts +1 -0
  123. package/components/hook-form/RHFCheckbox/test/utils.d.ts +1 -1
  124. package/components/hook-form/RHFCheckbox/types.d.ts +3 -1
  125. package/components/hook-form/RHFDateTime/{index.fd9c5aca.js → index.5b080342.js} +14 -12
  126. package/components/hook-form/RHFPeriod/classes/constants.d.ts +1 -0
  127. package/components/hook-form/RHFPeriod/classes/index.d.ts +6 -0
  128. package/components/hook-form/RHFPeriod/classes/types.d.ts +6 -0
  129. package/components/hook-form/RHFPeriod/index.5304e3bd.js +77 -0
  130. package/components/hook-form/RHFPeriod/types.d.ts +2 -1
  131. package/components/hook-form/RHFTextField/index.d.ts +1 -0
  132. package/components/hook-form/RHFTextField/{index.abcbc2d3.js → index.e751dca7.js} +9 -6
  133. package/components/hook-form/RHFUpload/RHFUploadImage/classes/constants.d.ts +1 -0
  134. package/components/hook-form/RHFUpload/RHFUploadImage/classes/index.d.ts +19 -0
  135. package/components/hook-form/RHFUpload/RHFUploadImage/classes/types.d.ts +18 -0
  136. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/subcomponents/Skeleton/index.d.ts +2 -1
  137. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/subcomponents/Skeleton/types.d.ts +3 -0
  138. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/types.d.ts +5 -0
  139. package/components/hook-form/RHFUpload/RHFUploadImage/tests/constants.d.ts +1 -0
  140. package/components/hook-form/RHFUpload/RHFUploadImage/tests/utils.d.ts +2 -0
  141. package/components/hook-form/RHFUpload/index.25db0511.js +261 -0
  142. package/components/hook-form/RHFUpload/index.d.ts +1 -1
  143. package/components/index.d.ts +4 -3
  144. package/components/modal/WindowBase/subcomponents/Header/types.d.ts +4 -1
  145. package/components/modal/WindowBase/types.d.ts +0 -3
  146. package/components/modal/WindowBase.850ea31a.js +82 -0
  147. package/components/modal/WindowConfirm/subcomponents/MessageIlustration/types.d.ts +3 -5
  148. package/components/modal/WindowConfirm/types.d.ts +3 -2
  149. package/components/modal/WindowConfirm.cb37bc58.js +122 -0
  150. package/components/modal/classes/constants.d.ts +1 -0
  151. package/components/modal/classes/index.d.ts +19 -0
  152. package/components/modal/classes/types.d.ts +22 -0
  153. package/components/modal/index.a0978193.js +84 -0
  154. package/components/modal/index.d.ts +2 -1
  155. package/components/mui_extended/Accordion/classes/constants.d.ts +1 -0
  156. package/components/mui_extended/Accordion/classes/index.d.ts +10 -0
  157. package/components/mui_extended/Accordion/classes/types.d.ts +10 -0
  158. package/components/mui_extended/Accordion/index.12b1339a.js +127 -0
  159. package/components/mui_extended/Accordion/tests/constants.d.ts +1 -0
  160. package/components/mui_extended/Accordion/tests/utils.d.ts +2 -0
  161. package/components/mui_extended/Accordion/types.d.ts +2 -1
  162. package/components/mui_extended/Avatar/{index.1e1a91a3.js → index.75e6ed57.js} +3 -1
  163. package/components/mui_extended/Badge/Badge.d.ts +3 -0
  164. package/components/mui_extended/Badge/classes/constants.d.ts +1 -0
  165. package/components/mui_extended/Badge/classes/index.d.ts +6 -0
  166. package/components/mui_extended/Badge/classes/types.d.ts +6 -0
  167. package/components/mui_extended/Badge/index.8c2b8b66.js +36 -0
  168. package/components/mui_extended/Badge/index.d.ts +2 -0
  169. package/components/mui_extended/Badge/tests/constants.d.ts +1 -0
  170. package/components/mui_extended/Badge/tests/utils.d.ts +2 -0
  171. package/components/mui_extended/Badge/types.d.ts +4 -0
  172. package/components/mui_extended/Button/{index.aebbab34.js → index.4288f9fc.js} +10 -5
  173. package/components/mui_extended/IconButton/{index.3b05af71.js → index.fc5b7c2d.js} +1 -1
  174. package/components/mui_extended/LoadingButton/tests/constants.d.ts +1 -1
  175. package/components/mui_extended/MenuActions/{index.ca5ce35a.js → index.f5b1c022.js} +30 -11
  176. package/components/mui_extended/MenuActions/types.d.ts +10 -2
  177. package/components/mui_extended/Pager/{index.80ec975a.js → index.435af0df.js} +1 -1
  178. package/components/mui_extended/Tab/classes/constants.d.ts +1 -0
  179. package/components/mui_extended/Tab/classes/index.d.ts +7 -0
  180. package/components/mui_extended/Tab/classes/types.d.ts +7 -0
  181. package/components/mui_extended/Tab/index.9e2f6e34.js +71 -0
  182. package/components/mui_extended/Tab/tests/constants.d.ts +1 -0
  183. package/components/mui_extended/Tab/tests/utils.d.ts +2 -0
  184. package/components/mui_extended/Tooltip/Tooltip.d.ts +3 -0
  185. package/components/mui_extended/Tooltip/classes/constants.d.ts +1 -0
  186. package/components/mui_extended/Tooltip/classes/index.d.ts +6 -0
  187. package/components/mui_extended/Tooltip/classes/types.d.ts +6 -0
  188. package/components/mui_extended/Tooltip/index.5a795dcd.js +43 -0
  189. package/components/mui_extended/Tooltip/index.d.ts +2 -0
  190. package/components/mui_extended/Tooltip/types.d.ts +6 -0
  191. package/components/mui_extended/index.83979b6a.js +22 -0
  192. package/components/mui_extended/index.d.ts +3 -1
  193. package/contexts/ModalContext/{index.a0de81f0.js → index.dee85a61.js} +1 -1
  194. package/contexts/ModalContext/types.d.ts +2 -0
  195. package/contexts/RHFormContext/classes/constants.d.ts +1 -0
  196. package/contexts/RHFormContext/classes/index.d.ts +9 -0
  197. package/contexts/RHFormContext/classes/types.d.ts +6 -0
  198. package/contexts/RHFormContext/{index.a7511399.js → index.fe175bab.js} +33 -9
  199. package/hooks/useModal/{index.26075cdd.js → index.de522a10.js} +1 -1
  200. package/index.js +138 -119
  201. package/node_modules.d73a220d.js +363 -0
  202. package/package.json +4 -3
  203. package/{react-draggable.e625b0d1.js → react-draggable.7abb5d0a.js} +3 -2
  204. package/{react-resizable.24367d77.js → react-resizable.ba08699a.js} +13 -12
  205. package/utils/{index.b61dccbe.js → index.c43a95f4.js} +0 -27
  206. package/utils/types.d.ts +1 -1
  207. package/components/AccountPopover/style.d.ts +0 -2
  208. package/components/AppBar/styles.d.ts +0 -2
  209. package/components/CommonActions/components/Actions/styles.d.ts +0 -2
  210. package/components/DataGrid/styles.d.ts +0 -3
  211. package/components/DataGrid/subcomponents/Actions/styles.d.ts +0 -2
  212. package/components/DataGrid/subcomponents/Actions/subcomponents/Density/styles.d.ts +0 -3
  213. package/components/DataGrid/subcomponents/Actions/subcomponents/Filter/styles.d.ts +0 -2
  214. package/components/DataGrid/subcomponents/Actions/subcomponents/RowsCount/styles.d.ts +0 -4
  215. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/styles.d.ts +0 -2
  216. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/styles.d.ts +0 -8
  217. package/components/DataGrid/subcomponents/Table/styles.d.ts +0 -3
  218. package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/styles.d.ts +0 -2
  219. package/components/DataGrid/subcomponents/editors/TextEditor/index.d.ts +0 -6
  220. package/components/DynamicFilter/subcomponents/ApplyedFilters/styles.d.ts +0 -3
  221. package/components/DynamicFilter/subcomponents/ApplyedFilters/subcomponents/ApplyedFilter/styles.d.ts +0 -6
  222. package/components/DynamicFilter/subcomponents/ClearFilters/styles.d.ts +0 -3
  223. package/components/DynamicFilter/subcomponents/FilterButton/styles.d.ts +0 -3
  224. package/components/DynamicFilter/subcomponents/InnerForHooks/styles.d.ts +0 -3
  225. package/components/DynamicFilter/subcomponents/PopoverFilter/styles.d.ts +0 -2
  226. package/components/HelperText/styles.d.ts +0 -2
  227. package/components/Icon/styles.d.ts +0 -4
  228. package/components/Image/styles.d.ts +0 -3
  229. package/components/Image/subcomponents/LazyLoadComponent/styles.d.ts +0 -2
  230. package/components/Image/subcomponents/Skeleton/styles.d.ts +0 -2
  231. package/components/LanguagePopover/styles.d.ts +0 -6
  232. package/components/NavLink/styles.d.ts +0 -2
  233. package/components/NoItemSelected/styles.d.ts +0 -5
  234. package/components/ObjectLogs/components/DetailDialog/styles.d.ts +0 -3
  235. package/components/ObjectLogs/styles.d.ts +0 -4
  236. package/components/PaperForm/styles.d.ts +0 -7
  237. package/components/Period/index.ff110093.js +0 -280
  238. package/components/Period/styles.d.ts +0 -7
  239. package/components/PropertyValue/styles.d.ts +0 -6
  240. package/components/ResizeableWindow/styles.d.ts +0 -5
  241. package/components/ScrollBar/styles.d.ts +0 -8
  242. package/components/SideBar/styles.d.ts +0 -5
  243. package/components/SideBar/subcomponents/ContentDesktop/style.d.ts +0 -2
  244. package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/styles.d.ts +0 -3
  245. package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +0 -5
  246. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/styles.d.ts +0 -2
  247. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/styles.d.ts +0 -2
  248. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/styles.d.ts +0 -9
  249. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/subcomponents/NavItemRootContent/styles.d.ts +0 -3
  250. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/styles.d.ts +0 -2
  251. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +0 -22
  252. package/components/SideBar/subcomponents/ContentGroups/subcomponents/Skeleton/styles.d.ts +0 -6
  253. package/components/SideBar/subcomponents/ContentMobile/styles.d.ts +0 -3
  254. package/components/SplitLayout/styles.d.ts +0 -4
  255. package/components/animate/LoadingScreen/styles.d.ts +0 -3
  256. package/components/animate/PropagateLoader/syles.d.ts +0 -2
  257. package/components/areas/components/AreasAdmin/index.158621e0.js +0 -289
  258. package/components/areas/components/AreasAdmin/styles.d.ts +0 -2
  259. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/styles.d.ts +0 -4
  260. package/components/areas/components/AreasViewer/styles.d.ts +0 -2
  261. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/styles.d.ts +0 -2
  262. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/styles.d.ts +0 -9
  263. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/index.d.ts +0 -3
  264. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/styles.d.ts +0 -2
  265. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/subcomponents/NotFound/index.d.ts +0 -3
  266. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/subcomponents/NotFound/styles.d.ts +0 -2
  267. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/subcomponents/NotFound/types.d.ts +0 -2
  268. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/types.d.ts +0 -6
  269. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/styles.d.ts +0 -3
  270. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowPopUp/index.d.ts +0 -4
  271. package/components/areas/components/index.2ed9d60b.js +0 -14
  272. package/components/areas/index.d6b8e205.js +0 -16
  273. package/components/hook-form/RHFAutocomplete/styles.d.ts +0 -2
  274. package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/styles.d.ts +0 -2
  275. package/components/hook-form/RHFAutocomplete/subcomponents/Skeleton/styles.d.ts +0 -4
  276. package/components/hook-form/RHFAutocompleteAsync/styles.d.ts +0 -5
  277. package/components/hook-form/RHFCheckbox/styles.d.ts +0 -15
  278. package/components/hook-form/RHFCheckbox/subcomponents/Skeleton/styles.d.ts +0 -3
  279. package/components/hook-form/RHFDateTime/styles.d.ts +0 -2
  280. package/components/hook-form/RHFDateTime/subcomponents/Skeleton/styles.d.ts +0 -2
  281. package/components/hook-form/RHFPeriod/index.77486f61.js +0 -55
  282. package/components/hook-form/RHFPeriod/styles.d.ts +0 -2
  283. package/components/hook-form/RHFTextField/styles.d.ts +0 -3
  284. package/components/hook-form/RHFTextField/subcomponents/Skeleton/styles.d.ts +0 -3
  285. package/components/hook-form/RHFTextFieldPassword/styles.d.ts +0 -2
  286. package/components/hook-form/RHFUpload/RHFUploadImage/styles.d.ts +0 -2
  287. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/styles.d.ts +0 -12
  288. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/subcomponents/Skeleton/styles.d.ts +0 -2
  289. package/components/hook-form/RHFUpload/index.522bcad5.js +0 -283
  290. package/components/modal/ModalDialog/styles.d.ts +0 -9
  291. package/components/modal/ModalDialog/types.d.ts +0 -7
  292. package/components/modal/WindowBase/styles.d.ts +0 -2
  293. package/components/modal/WindowBase/subcomponents/Header/styles.d.ts +0 -6
  294. package/components/modal/WindowBase.c223e4da.js +0 -126
  295. package/components/modal/WindowConfirm/subcomponents/MessageIlustration/styles.d.ts +0 -6
  296. package/components/modal/WindowConfirm.023e293f.js +0 -132
  297. package/components/modal/index.dbce0cab.js +0 -36
  298. package/components/mui_extended/Accordion/components/AccordionLabel.d.ts +0 -3
  299. package/components/mui_extended/Accordion/index.03bd0e2a.js +0 -107
  300. package/components/mui_extended/Accordion/styles.d.ts +0 -4
  301. package/components/mui_extended/Avatar/styles.d.ts +0 -2
  302. package/components/mui_extended/Button/styles.d.ts +0 -13
  303. package/components/mui_extended/IconButton/styles.d.ts +0 -2
  304. package/components/mui_extended/ImageButton/styles.d.ts +0 -2
  305. package/components/mui_extended/LoadingButton/styles.d.ts +0 -2
  306. package/components/mui_extended/MenuActions/styles.d.ts +0 -30
  307. package/components/mui_extended/Pager/components/PagerActions/styles.d.ts +0 -2
  308. package/components/mui_extended/Pager/styles.d.ts +0 -6
  309. package/components/mui_extended/Popover/styles.d.ts +0 -1
  310. package/components/mui_extended/Popover/subcomponts/ArrowIcon/index.d.ts +0 -3
  311. package/components/mui_extended/Tab/index.e0653a0a.js +0 -32
  312. package/components/mui_extended/Tab/styles.d.ts +0 -2
  313. package/components/mui_extended/Typography/styles.d.ts +0 -2
  314. package/components/mui_extended/index.6dcdbb1f.js +0 -20
  315. package/contexts/RHFormContext/styles.d.ts +0 -2
  316. /package/components/PaperForm/{index.d.ts → PaperForm.d.ts} +0 -0
  317. /package/components/PropertyValue/{index.d.ts → PropertyValue.d.ts} +0 -0
  318. /package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/{GridLayout → AreaGridLayout}/types.d.ts +0 -0
  319. /package/components/hook-form/RHFUpload/RHFUploadImage/{index.d.ts → RHFUploadImage.d.ts} +0 -0
  320. /package/components/mui_extended/Accordion/{index.d.ts → Accordion.d.ts} +0 -0
@@ -1,283 +0,0 @@
1
- import { styled as styled$1, Skeleton, FormHelperText } from "@mui/material";
2
- import { useCallback } from "react";
3
- import { useFormContext, Controller } from "react-hook-form";
4
- import isString from "lodash/isString";
5
- import { useDropzone } from "react-dropzone";
6
- import { styled, alpha } from "@mui/material/styles";
7
- import { I as Image } from "../../Image/index.8aae9322.js";
8
- import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
9
- import { jsx, jsxs, Fragment } from "react/jsx-runtime";
10
- const WrapperUploadImage = styled("div")(({
11
- theme
12
- }) => ({
13
- width: "inherit",
14
- height: "100%",
15
- minHeight: "200px",
16
- minWidth: theme.spacing(20),
17
- margin: "auto",
18
- borderRadius: theme.spacing(1),
19
- padding: theme.spacing(1),
20
- border: `1px dashed ${theme.palette.divider}`
21
- }));
22
- const DropZoneStyle = styled("div")(({
23
- theme
24
- }) => ({
25
- zIndex: 0,
26
- width: "100%",
27
- height: "100%",
28
- outline: "none",
29
- display: "flex",
30
- overflow: "hidden",
31
- borderRadius: theme.spacing(1),
32
- position: "relative",
33
- alignItems: "center",
34
- justifyContent: "center",
35
- "& > *": {
36
- width: "100%",
37
- height: "100%"
38
- },
39
- "&:hover": {
40
- cursor: "pointer",
41
- "& .placeholder": {
42
- zIndex: 9
43
- }
44
- }
45
- }));
46
- const PlaceholderStyle = styled("div")(({
47
- theme
48
- }) => ({
49
- "&:hover": {
50
- opacity: 1
51
- },
52
- display: "flex",
53
- justifyContent: "center",
54
- position: "absolute",
55
- zIndex: "2",
56
- inset: "0",
57
- transition: theme.transitions.create("opacity", {
58
- easing: theme.transitions.easing.easeInOut,
59
- duration: theme.transitions.duration.shorter
60
- }),
61
- overflow: "auto"
62
- }));
63
- const ContainerUploadBody = styled("div")(({
64
- theme
65
- }) => ({
66
- padding: theme.spacing(3, 5),
67
- display: "flex",
68
- flexDirection: "column",
69
- justifyContent: "center",
70
- width: "100%",
71
- height: "100%",
72
- gap: theme.spacing(3)
73
- }));
74
- const Containermessage = styled("div")(({
75
- theme
76
- }) => ({
77
- display: "flex",
78
- justifyContent: "center",
79
- flexDirection: "column",
80
- gap: theme.spacing(1)
81
- }));
82
- const ContainerTitle = styled("div")(({
83
- theme
84
- }) => ({
85
- ...theme.typography.subtitle1,
86
- textAlign: "center"
87
- }));
88
- const ContainerDescription = styled("div")(({
89
- theme
90
- }) => ({
91
- ...theme.typography.body2,
92
- textAlign: "center"
93
- }));
94
- const ContainerConditions = styled("div")(({
95
- theme
96
- }) => ({
97
- ...theme.typography.caption,
98
- textAlign: "center"
99
- }));
100
- const WrapperImage = styled("div")(() => ({
101
- display: "flex",
102
- justifyContent: "center"
103
- }));
104
- styled("div")(() => ({
105
- width: "100%",
106
- height: "100%",
107
- position: "absolute",
108
- inset: "0",
109
- display: "flex",
110
- justifyContent: "center",
111
- alignItems: "center"
112
- }));
113
- const WrapperFileImage = styled("div")(() => ({
114
- "& .m4l_image > img": {
115
- objectFit: "cover",
116
- width: "auto",
117
- margin: "0 auto"
118
- }
119
- }));
120
- const MaskSkeletonUploadImage = styled$1("div")(({
121
- theme
122
- }) => ({
123
- maskPosition: "center!important",
124
- maskRepeat: "no-repeat!important",
125
- WebkitMaskRepeat: "no-repeat!important",
126
- border: `1px dashed ${theme.palette.divider}`,
127
- width: "100%",
128
- height: "100%",
129
- mask: `url('data:image/svg+xml;base64, PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDcwIDcwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA3MCA3MDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiM2MzczODE7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00NSw4LjdjMS40LTEuNSwzLjQtMi4zLDUuNC0yLjNzMy45LDAuOCw1LjQsMi4zczIuNCwzLjUsMi41LDUuN2MwLDIuMi0wLjksNC4yLTIuNCw1LjdzLTMuNSwyLjMtNS41LDIuMgoJCWMtMi4xLDAuMS00LTAuNy01LjUtMi4yYy0xLjQtMS41LTIuMy0zLjUtMi40LTUuN0M0Mi42LDEyLjIsNDMuNSwxMC4yLDQ1LDguN3oiLz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik02OC40LDYyLjFjLTAuMywwLjUtMC43LDAuOC0xLjIsMS4xcy0xLDAuNC0xLjYsMC40SDQuM2MtMC42LDAtMS4xLTAuMS0xLjYtMC40cy0wLjktMC42LTEuMi0xLjEKCQljLTAuMi0wLjUtMC40LTEtMC40LTEuNXMwLjEtMS4xLDAuNC0xLjVsMjMtMzYuNGMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNHMwLjksMC42LDEuMiwxLjEKCQlsMTEuNSwxOC4yYzAuMiwwLjMsMC41LDAuNSwwLjgsMC43czAuNiwwLjMsMSwwLjNjMC4zLDAsMC43LTAuMSwxLTAuM3MwLjYtMC40LDAuOC0wLjdsMy4xLTQuOWMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMQoJCXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNGMwLjUsMC4zLDAuOSwwLjYsMS4yLDEuMWwxNC42LDIzLjFjMC4zLDAuNSwwLjMsMSwwLjMsMS41UzY4LjcsNjEuNyw2OC40LDYyLjF6Ii8+CjwvZz4KPC9zdmc+Cg==')`,
130
- WebkitMask: `url('data:image/svg+xml;base64, PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI2LjMuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkNhcGFfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiCgkgdmlld0JveD0iMCAwIDcwIDcwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA3MCA3MDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgoJLnN0MHtmaWxsOiM2MzczODE7fQo8L3N0eWxlPgo8Zz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00NSw4LjdjMS40LTEuNSwzLjQtMi4zLDUuNC0yLjNzMy45LDAuOCw1LjQsMi4zczIuNCwzLjUsMi41LDUuN2MwLDIuMi0wLjksNC4yLTIuNCw1LjdzLTMuNSwyLjMtNS41LDIuMgoJCWMtMi4xLDAuMS00LTAuNy01LjUtMi4yYy0xLjQtMS41LTIuMy0zLjUtMi40LTUuN0M0Mi42LDEyLjIsNDMuNSwxMC4yLDQ1LDguN3oiLz4KCTxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik02OC40LDYyLjFjLTAuMywwLjUtMC43LDAuOC0xLjIsMS4xcy0xLDAuNC0xLjYsMC40SDQuM2MtMC42LDAtMS4xLTAuMS0xLjYtMC40cy0wLjktMC42LTEuMi0xLjEKCQljLTAuMi0wLjUtMC40LTEtMC40LTEuNXMwLjEtMS4xLDAuNC0xLjVsMjMtMzYuNGMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNHMwLjksMC42LDEuMiwxLjEKCQlsMTEuNSwxOC4yYzAuMiwwLjMsMC41LDAuNSwwLjgsMC43czAuNiwwLjMsMSwwLjNjMC4zLDAsMC43LTAuMSwxLTAuM3MwLjYtMC40LDAuOC0wLjdsMy4xLTQuOWMwLjMtMC41LDAuNy0wLjgsMS4yLTEuMQoJCXMxLTAuNCwxLjYtMC40czEuMSwwLjEsMS42LDAuNGMwLjUsMC4zLDAuOSwwLjYsMS4yLDEuMWwxNC42LDIzLjFjMC4zLDAuNSwwLjMsMSwwLjMsMS41UzY4LjcsNjEuNyw2OC40LDYyLjF6Ii8+CjwvZz4KPC9zdmc+Cg==')`
131
- }));
132
- const SkeletonUploadImage = () => {
133
- return /* @__PURE__ */ jsx(WrapperUploadImage, {
134
- children: /* @__PURE__ */ jsx(MaskSkeletonUploadImage, {
135
- children: /* @__PURE__ */ jsx(Skeleton, {
136
- variant: "rectangular",
137
- width: "100%",
138
- height: "100%"
139
- })
140
- })
141
- });
142
- };
143
- function UploadImage({
144
- error,
145
- file,
146
- helperText,
147
- sx,
148
- ...other
149
- }) {
150
- const {
151
- getRootProps,
152
- getInputProps,
153
- isDragActive,
154
- isDragReject
155
- } = useDropzone({
156
- multiple: false,
157
- ...other
158
- });
159
- const {
160
- host_static_assets,
161
- environment_assets
162
- } = useEnvironment();
163
- const {
164
- getLabel
165
- } = useModuleDictionary();
166
- const isSkeleton = useModuleSkeleton();
167
- if (isSkeleton) {
168
- return /* @__PURE__ */ jsx(SkeletonUploadImage, {});
169
- }
170
- return /* @__PURE__ */ jsxs(Fragment, {
171
- children: [/* @__PURE__ */ jsx(WrapperUploadImage, {
172
- sx: {
173
- ...(isDragReject || error) && {
174
- borderColor: "error.light"
175
- },
176
- ...sx
177
- },
178
- children: /* @__PURE__ */ jsxs(DropZoneStyle, {
179
- ...getRootProps(),
180
- sx: {
181
- ...isDragActive && {
182
- opacity: 0.72
183
- }
184
- },
185
- children: [/* @__PURE__ */ jsx("input", {
186
- ...getInputProps()
187
- }), file && /* @__PURE__ */ jsx(WrapperFileImage, {
188
- children: /* @__PURE__ */ jsx(Image, {
189
- alt: "avatar",
190
- src: isString(file) ? file : file.preview || "",
191
- ratio: "1:1"
192
- })
193
- }), /* @__PURE__ */ jsx(PlaceholderStyle, {
194
- id: "PlaceholderStyle",
195
- className: "placeholder",
196
- sx: {
197
- ...file ? {
198
- bgcolor: alpha("#161C24", 0.72),
199
- color: "common.white",
200
- opacity: 0
201
- } : {
202
- opacity: 1
203
- },
204
- ...(isDragReject || error) && {
205
- bgcolor: "error.lighter",
206
- borderColor: "error.light",
207
- color: "error.main"
208
- }
209
- },
210
- children: /* @__PURE__ */ jsxs(ContainerUploadBody, {
211
- className: "ContainerUploadBody",
212
- children: [/* @__PURE__ */ jsx(WrapperImage, {
213
- children: /* @__PURE__ */ jsx(Image, {
214
- src: `${host_static_assets}/${environment_assets}/frontend/components/upload_image/assets/img/upload_image_illustration.svg`,
215
- ratio: "1:1"
216
- })
217
- }), /* @__PURE__ */ jsxs(Containermessage, {
218
- children: [/* @__PURE__ */ jsx(ContainerTitle, {
219
- children: getLabel("upload_image.title_upload")
220
- }), /* @__PURE__ */ jsx(ContainerDescription, {
221
- children: getLabel("upload_image.description")
222
- }), /* @__PURE__ */ jsx(ContainerConditions, {
223
- children: getLabel("upload_image.conditions")
224
- })]
225
- })]
226
- })
227
- })]
228
- })
229
- }), helperText && helperText]
230
- });
231
- }
232
- const WrapperRHFUploadImage = styled$1("div")(() => ({
233
- width: "inherit",
234
- height: "inherit",
235
- padding: "1px"
236
- }));
237
- function RHFUploadImage({
238
- name,
239
- ...other
240
- }) {
241
- const {
242
- control,
243
- setValue
244
- } = useFormContext();
245
- const handleDrop = useCallback((acceptedFiles) => {
246
- const file = acceptedFiles[0];
247
- if (file) {
248
- setValue(name, Object.assign(file, {
249
- preview: URL.createObjectURL(file)
250
- }));
251
- }
252
- }, [setValue]);
253
- return /* @__PURE__ */ jsx(Controller, {
254
- name,
255
- control,
256
- render: ({
257
- field,
258
- fieldState: {
259
- error
260
- }
261
- }) => {
262
- const checkError = !!error && !field.value;
263
- return /* @__PURE__ */ jsxs(WrapperRHFUploadImage, {
264
- children: [/* @__PURE__ */ jsx(UploadImage, {
265
- onDrop: handleDrop,
266
- error: checkError,
267
- ...other,
268
- file: field.value
269
- }), checkError && /* @__PURE__ */ jsx(FormHelperText, {
270
- error: true,
271
- sx: {
272
- px: 2,
273
- textAlign: "center"
274
- },
275
- children: error.message
276
- })]
277
- });
278
- }
279
- });
280
- }
281
- export {
282
- RHFUploadImage as R
283
- };
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { VariantProps } from './types';
3
- export declare const WrapperDialog: import("@emotion/styled").StyledComponent<import("@mui/material").DialogProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
4
- export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
- export declare const Header: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
- export declare const IconTitleContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
- export declare const IconHeader: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & VariantProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
- export declare const Content: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
- export declare const ModalTitle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & VariantProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,7 +0,0 @@
1
- import { ModalOpenOptions } from '../../../contexts';
2
- import { VariantColor } from '../../../utils/types';
3
- export interface ModalDialogProps extends ModalOpenOptions {
4
- }
5
- export interface VariantProps {
6
- variant?: VariantColor;
7
- }
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const WrapperWindowBase: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { VariantProps } from '../../types';
3
- export declare const WrapperHeader: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
- export declare const IconTitleContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
- export declare const IconHeader: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & VariantProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
- export declare const ModalTitle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & VariantProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,126 +0,0 @@
1
- import { useEnvironment } from "@m4l/core";
2
- import "react";
3
- import { u as useModal } from "../../hooks/useModal/index.26075cdd.js";
4
- import { styled } from "@mui/material/styles";
5
- import { a as getThemeVariantColor } from "../../utils/index.b61dccbe.js";
6
- import { I as Icon } from "../Icon/index.f9119f5e.js";
7
- import "@mui/material";
8
- import { I as IconButton } from "../mui_extended/IconButton/index.3b05af71.js";
9
- import "../mui_extended/Accordion/index.03bd0e2a.js";
10
- import { jsxs, jsx } from "react/jsx-runtime";
11
- import "../mui_extended/Avatar/index.1e1a91a3.js";
12
- import "react-router-dom";
13
- import "@mui/material/Button";
14
- import "../mui_extended/Button/index.aebbab34.js";
15
- import "clsx";
16
- import "../Image/index.8aae9322.js";
17
- import "@mui/lab";
18
- import "../mui_extended/Typography/index.443590d6.js";
19
- import "../mui_extended/Popover/index.9f35d0eb.js";
20
- import "../mui_extended/MenuActions/index.ca5ce35a.js";
21
- import "../mui_extended/Pager/index.80ec975a.js";
22
- import "../mui_extended/Tab/index.e0653a0a.js";
23
- const WrapperWindowBase = styled("div")(({ theme }) => ({
24
- display: "flex",
25
- flexDirection: "column",
26
- height: "100%",
27
- overflow: "hidden",
28
- padding: theme.spacing(0.5)
29
- }));
30
- const WrapperHeader = styled("div")(({
31
- theme
32
- }) => ({
33
- display: "flex",
34
- alignItems: "center",
35
- justifyContent: "space-between",
36
- minHeight: theme.spacing(5),
37
- borderBottom: `1px solid ${theme.palette.divider}`,
38
- overflow: "hidden"
39
- }));
40
- styled("div")(({
41
- theme
42
- }) => ({
43
- display: "flex",
44
- flexDirection: "row",
45
- flexGrow: 1,
46
- alignItems: "center",
47
- cursor: "move",
48
- ...theme.typography.subtitle1,
49
- color: theme.palette.text.primary
50
- }));
51
- const IconHeader = styled("div")(({
52
- theme,
53
- variant
54
- }) => ({
55
- display: "flex",
56
- alignItems: "center",
57
- justifyContent: "center",
58
- marginRight: theme.spacing(1.5),
59
- "& > span": {
60
- background: getThemeVariantColor(theme, variant)
61
- }
62
- }));
63
- const ModalTitle = styled("div")(({
64
- theme,
65
- variant
66
- }) => ({
67
- ...theme.typography.subtitle1,
68
- color: getThemeVariantColor(theme, variant),
69
- width: "100%",
70
- whiteSpace: "nowrap",
71
- textOverflow: "ellipsis",
72
- overflow: "hidden"
73
- }));
74
- const Header = (props) => {
75
- const {
76
- host_static_assets,
77
- environment_assets
78
- } = useEnvironment();
79
- const {
80
- variant,
81
- title,
82
- onClickCancel,
83
- urlIcon
84
- } = props;
85
- return /* @__PURE__ */ jsxs(WrapperHeader, {
86
- id: "Header",
87
- className: "m4l_draggable_handle",
88
- children: [urlIcon && /* @__PURE__ */ jsx(IconHeader, {
89
- variant,
90
- children: /* @__PURE__ */ jsx(Icon, {
91
- src: urlIcon
92
- })
93
- }), /* @__PURE__ */ jsx(ModalTitle, {
94
- variant,
95
- children: title
96
- }), /* @__PURE__ */ jsx(IconButton, {
97
- src: `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/close.svg`,
98
- onClick: onClickCancel,
99
- "aria-label": "click"
100
- })]
101
- });
102
- };
103
- const WindowBase = (props) => {
104
- const {
105
- children,
106
- onClickCancel,
107
- ...other
108
- } = props;
109
- const {
110
- closeModal
111
- } = useModal();
112
- const onCloseCancel = () => {
113
- onClickCancel && onClickCancel();
114
- closeModal();
115
- };
116
- return /* @__PURE__ */ jsxs(WrapperWindowBase, {
117
- id: "WrapperWindowBase",
118
- children: [/* @__PURE__ */ jsx(Header, {
119
- ...other,
120
- onClickCancel: onCloseCancel
121
- }), children]
122
- });
123
- };
124
- export {
125
- WindowBase as W
126
- };
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { VariantProps } from './types';
3
- export declare const WrapperMessageIlustration: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
- export declare const ModalContent: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
- export declare const IllustrationContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & VariantProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
- export declare const MessageContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & VariantProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -1,132 +0,0 @@
1
- import { useModuleDictionary, useEnvironment } from "@m4l/core";
2
- import "react";
3
- import { u as useModal } from "../../hooks/useModal/index.26075cdd.js";
4
- import { A as Actions } from "../CommonActions/components/Actions/index.37ffde59.js";
5
- import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.574ea031.js";
6
- import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.d635cbc4.js";
7
- import "react-hook-form";
8
- import { Typography } from "@mui/material";
9
- import "@mui/material/Button";
10
- import "../mui_extended/Button/index.aebbab34.js";
11
- import "clsx";
12
- import { jsx, jsxs } from "react/jsx-runtime";
13
- import "../../react-draggable.e625b0d1.js";
14
- import "../ModalDialog/index.f652ea12.js";
15
- import "../Resizeable/index.41a8048b.js";
16
- import "@m4l/graphics";
17
- import { I as Icon } from "../Icon/index.f9119f5e.js";
18
- import { styled } from "@mui/material/styles";
19
- import { b as getVariantColor } from "../../utils/index.b61dccbe.js";
20
- import { W as WindowBase } from "./WindowBase.c223e4da.js";
21
- import "../mui_extended/IconButton/index.3b05af71.js";
22
- import "zustand";
23
- import "../areas/contexts/AreasContext/index.d98b89fc.js";
24
- import "../areas/components/AreasAdmin/index.158621e0.js";
25
- import "zustand/shallow";
26
- import "../ScrollBar/index.bbe48f4d.js";
27
- import "../areas/components/AreasViewer/index.621c0de4.js";
28
- import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
29
- import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
30
- import "@mui/lab";
31
- import "../mui_extended/Typography/index.443590d6.js";
32
- const WrapperMessageIlustration = styled("div")(() => ({
33
- display: "flex",
34
- flexDirection: "column",
35
- height: "100%"
36
- }));
37
- const ModalContent = styled("div")(({
38
- theme
39
- }) => ({
40
- display: "flex",
41
- flexDirection: "column",
42
- justifyContent: "center",
43
- alignItems: "center",
44
- gridGap: theme.spacing(5),
45
- flexGrow: 1,
46
- [theme.breakpoints.up("sm")]: {
47
- display: "grid",
48
- flexDirection: "row",
49
- gridTemplateColumns: "1fr 1fr"
50
- }
51
- }));
52
- const IllustrationContainer = styled("div")(({
53
- theme,
54
- variant
55
- }) => ({
56
- display: "flex",
57
- justifyContent: "center",
58
- alignItems: "center",
59
- "& > span": {
60
- background: variant === "warning" ? theme.palette.warning.main : variant === "delete" ? theme.palette.error.main : variant === "info" ? theme.palette.info.main : "theme.palette.text.primary"
61
- }
62
- }));
63
- const MessageContainer = styled("div")(() => ({
64
- display: "flex",
65
- alignItems: "center"
66
- }));
67
- const dictionary = {
68
- MESSAGE: "common_actions.confirm_quit_msg"
69
- };
70
- const MessageIlustration = (props) => {
71
- const {
72
- getLabel
73
- } = useModuleDictionary();
74
- const {
75
- variant = "info",
76
- msg = getLabel(dictionary.MESSAGE)
77
- } = props;
78
- const {
79
- host_static_assets,
80
- environment_assets
81
- } = useEnvironment();
82
- const illustrationWarning = `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/illustration_confirm_warning.svg`;
83
- const illustrationError = `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/illustration_confirm_danger.svg`;
84
- const illustrationInfo = `${host_static_assets}/${environment_assets}/frontend/components/dialog/assets/icons/illustration_confirm_info.svg`;
85
- return /* @__PURE__ */ jsx(WrapperMessageIlustration, {
86
- children: /* @__PURE__ */ jsxs(ModalContent, {
87
- children: [/* @__PURE__ */ jsx(IllustrationContainer, {
88
- variant,
89
- children: /* @__PURE__ */ jsx(Icon, {
90
- src: variant === "warning" ? illustrationWarning : variant === "delete" ? illustrationError : illustrationInfo,
91
- size: "small"
92
- })
93
- }), /* @__PURE__ */ jsx(MessageContainer, {
94
- children: /* @__PURE__ */ jsx(Typography, {
95
- variant: "body1",
96
- children: msg
97
- })
98
- })]
99
- })
100
- });
101
- };
102
- const WindowConfirm = (props) => {
103
- const {
104
- variant,
105
- title,
106
- onClickCancel,
107
- onClickIntro
108
- } = props;
109
- const {
110
- closeModal
111
- } = useModal();
112
- const onCloseCancel = () => {
113
- onClickCancel && onClickCancel();
114
- closeModal();
115
- };
116
- return /* @__PURE__ */ jsxs(WindowBase, {
117
- title,
118
- variant,
119
- onClickCancel,
120
- children: [/* @__PURE__ */ jsx(MessageIlustration, {}), /* @__PURE__ */ jsxs(Actions, {
121
- children: [/* @__PURE__ */ jsx(ActionCancel, {
122
- onClick: onCloseCancel
123
- }), " ", /* @__PURE__ */ jsx(ActionIntro, {
124
- onClick: onClickIntro,
125
- color: getVariantColor(variant)
126
- })]
127
- })]
128
- });
129
- };
130
- export {
131
- WindowConfirm as W
132
- };
@@ -1,36 +0,0 @@
1
- import "@mui/material";
2
- import "../../react-draggable.e625b0d1.js";
3
- import "react";
4
- import "../../contexts/ModalContext/index.a0de81f0.js";
5
- import "../ModalDialog/index.f652ea12.js";
6
- import "../Resizeable/index.41a8048b.js";
7
- import "react/jsx-runtime";
8
- import "@m4l/graphics";
9
- import "../Icon/index.f9119f5e.js";
10
- import "clsx";
11
- import "@m4l/core";
12
- import "../CommonActions/components/Actions/index.37ffde59.js";
13
- import "@mui/material/Button";
14
- import "../mui_extended/Button/index.aebbab34.js";
15
- import "react-hook-form";
16
- import "./WindowBase.c223e4da.js";
17
- import "../mui_extended/IconButton/index.3b05af71.js";
18
- import "../mui_extended/Accordion/index.03bd0e2a.js";
19
- import "../mui_extended/Avatar/index.1e1a91a3.js";
20
- import "react-router-dom";
21
- import "../Image/index.8aae9322.js";
22
- import "@mui/lab";
23
- import "../mui_extended/Typography/index.443590d6.js";
24
- import "../mui_extended/Popover/index.9f35d0eb.js";
25
- import "../mui_extended/MenuActions/index.ca5ce35a.js";
26
- import "../mui_extended/Pager/index.80ec975a.js";
27
- import "../mui_extended/Tab/index.e0653a0a.js";
28
- import "zustand";
29
- import "../areas/contexts/AreasContext/index.d98b89fc.js";
30
- import "../areas/components/AreasAdmin/index.158621e0.js";
31
- import "zustand/shallow";
32
- import "../ScrollBar/index.bbe48f4d.js";
33
- import "../areas/components/AreasViewer/index.621c0de4.js";
34
- import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
35
- import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
36
- import "./WindowConfirm.023e293f.js";
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- import { AccordionLabelProps } from '../types';
3
- export declare const AccordionLabel: (props: AccordionLabelProps) => import("react").JSX.Element;