@m4l/components 0.1.74 → 0.1.76

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 (317) hide show
  1. package/@types/export.d.ts +123 -1
  2. package/components/AccountPopover/classes/constants.d.ts +1 -1
  3. package/components/AccountPopover/classes/index.d.ts +12 -1
  4. package/components/AccountPopover/classes/types.d.ts +14 -1
  5. package/components/AccountPopover/index.47cf6c43.js +273 -0
  6. package/components/{AppBar → AccountPopover}/subcomponents/MyAvatar/createAvatar.d.ts +1 -1
  7. package/components/AccountPopover/subcomponents/PopOver/types.d.ts +2 -5
  8. package/components/AccountPopover/types.d.ts +13 -0
  9. package/components/AppBar/classes/index.d.ts +4 -1
  10. package/components/AppBar/classes/types.d.ts +5 -0
  11. package/components/AppBar/index.f04f5e45.js +94 -0
  12. package/components/AppBar/tests/constants.d.ts +1 -1
  13. package/components/AppBar/types.d.ts +3 -2
  14. package/components/CommonActions/classes/index.d.ts +1 -1
  15. package/components/CommonActions/classes/types.d.ts +3 -2
  16. package/components/CommonActions/components/ActionCancel/{index.fad4a0dc.js → index.453c2d24.js} +3 -3
  17. package/components/CommonActions/components/ActionFormCancel/{index.a26820a9.js → index.c2a2fd55.js} +25 -22
  18. package/components/CommonActions/components/ActionFormIntro/{index.403d8952.js → index.25d33912.js} +4 -4
  19. package/components/CommonActions/components/ActionIntro/{index.0fb6efbe.js → index.c653a266.js} +4 -4
  20. package/components/CommonActions/components/Actions/{index.51b9c92a.js → index.e376a68e.js} +37 -26
  21. package/components/CommonActions/tests/constants.d.ts +1 -0
  22. package/components/CommonActions/tests/utils.d.ts +2 -0
  23. package/components/DataGrid/{index.dbae54dd.js → index.ffaf000e.js} +29 -21
  24. package/components/DraggableWindow/index.b08af1dc.js +39 -0
  25. package/components/DynamicFilter/{index.cb7fd1b6.js → index.d7c03a61.js} +35 -35
  26. package/components/HelperText/{index.d449d124.js → index.9864f773.js} +11 -10
  27. package/components/Icon/{index.d214a74d.js → index.9dae8337.js} +6 -63
  28. package/components/Image/{index.1af119da.js → index.c18ebf5a.js} +7 -8
  29. package/components/Image/types.d.ts +1 -4
  30. package/components/LanguagePopover/classes/index.d.ts +1 -1
  31. package/components/LanguagePopover/{index.4fef99ac.js → index.938c6675.js} +12 -11
  32. package/components/LinearProgressIndeterminate/LinearProgressIndeterminate.d.ts +2 -0
  33. package/components/LinearProgressIndeterminate/classes/constants.d.ts +1 -0
  34. package/components/LinearProgressIndeterminate/classes/index.d.ts +3 -0
  35. package/components/LinearProgressIndeterminate/classes/types.d.ts +7 -0
  36. package/components/LinearProgressIndeterminate/index.d.ts +1 -0
  37. package/components/LinearProgressIndeterminate/index.d34d398f.js +43 -0
  38. package/components/LinearProgressIndeterminate/tests/constants.d.ts +1 -0
  39. package/components/LinearProgressIndeterminate/tests/utils.d.ts +2 -0
  40. package/components/Loadable/{index.117eaced.js → index.e994fc3e.js} +1 -1
  41. package/components/ModalDialog/{index.6c35e653.js → index.d9c5d400.js} +21 -12
  42. package/components/NavLink/{index.9e56bcd3.js → index.21c8fd90.js} +12 -11
  43. package/components/NoItemSelected/{index.cd842b62.js → index.23dfc897.js} +1 -1
  44. package/components/ObjectLogs/{index.e1a1b27c.js → index.a2709fc2.js} +31 -21
  45. package/components/PaperForm/classes/constants.d.ts +1 -0
  46. package/components/PaperForm/classes/index.d.ts +11 -0
  47. package/components/PaperForm/classes/types.d.ts +10 -0
  48. package/components/PaperForm/{index.76bd3a6d.js → index.5e1bc99f.js} +58 -25
  49. package/components/PaperForm/types.d.ts +5 -2
  50. package/components/Period/Period.d.ts +3 -0
  51. package/components/Period/classes/constants.d.ts +1 -0
  52. package/components/Period/classes/index.d.ts +10 -0
  53. package/components/Period/classes/types.d.ts +13 -0
  54. package/components/Period/index.526791a3.js +322 -0
  55. package/components/Period/index.d.ts +2 -3
  56. package/components/Period/tests/constants.d.ts +1 -0
  57. package/components/Period/tests/utils.d.ts +2 -0
  58. package/components/Period/types.d.ts +3 -4
  59. package/components/PropertyValue/classes/constants.d.ts +1 -0
  60. package/components/PropertyValue/classes/index.d.ts +9 -0
  61. package/components/PropertyValue/classes/types.d.ts +9 -0
  62. package/components/PropertyValue/{index.dfcfe1ba.js → index.8a1adf3e.js} +60 -10
  63. package/components/PropertyValue/skeleton.d.ts +2 -1
  64. package/components/PropertyValue/tests/constants.d.ts +1 -0
  65. package/components/PropertyValue/tests/utils.d.ts +2 -0
  66. package/components/PropertyValue/types.d.ts +4 -0
  67. package/components/Resizeable/{index.834a9144.js → index.f6e48e56.js} +1 -1
  68. package/components/SideBar/classes/index.d.ts +1 -1
  69. package/components/SideBar/{index.ff7cbe91.js → index.9e1a5b96.js} +6 -6
  70. package/components/SplitLayout/SplitLayout.d.ts +3 -0
  71. package/components/SplitLayout/classes/constants.d.ts +1 -0
  72. package/components/SplitLayout/classes/index.d.ts +9 -0
  73. package/components/SplitLayout/classes/types.d.ts +10 -0
  74. package/components/SplitLayout/index.9ef430f6.js +99 -0
  75. package/components/SplitLayout/index.d.ts +2 -3
  76. package/components/SplitLayout/tests/constants.d.ts +1 -0
  77. package/components/SplitLayout/tests/utils.d.ts +2 -0
  78. package/components/SplitLayout/types.d.ts +2 -0
  79. package/components/animate/PropagateLoader/{index.be5b02c3.js → index.7fab43c8.js} +1 -1
  80. package/components/animate/index.1f8eadd4.js +66 -0
  81. package/components/areas/components/AreasAdmin/classes/index.d.ts +1 -1
  82. package/components/areas/components/AreasAdmin/classes/types.d.ts +4 -0
  83. package/components/areas/components/AreasAdmin/{index.1eda80b9.js → index.946eebb9.js} +147 -47
  84. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/index.d.ts +3 -0
  85. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/subcomponents/ChipActionsMobile/types.d.ts +4 -0
  86. package/components/areas/components/AreasAdmin/subcomponents/AreaChipMobile/index.d.ts +2 -0
  87. package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
  88. package/components/areas/components/AreasViewer/classes/types.d.ts +13 -0
  89. package/components/areas/components/AreasViewer/{index.eddc9945.js → index.bf4191ea.js} +439 -362
  90. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/helper.d.ts +13 -2
  91. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/helper.d.ts +18 -0
  92. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/ProggessLoadingMF/index.d.ts +3 -0
  93. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/ProggessLoadingMF/types.d.ts +4 -0
  94. package/components/areas/components/AreasViewer/subcomponents/AreasLoadingError/index.d.ts +3 -0
  95. package/components/areas/components/AreasViewer/subcomponents/AreasLoadingError/types.d.ts +5 -0
  96. package/components/areas/components/index.2bb534cb.js +28 -0
  97. package/components/areas/contexts/AreasContext/{index.a88b73a6.js → index.f0397b7c.js} +130 -105
  98. package/components/areas/contexts/AreasContext/types.d.ts +5 -4
  99. package/components/areas/contexts/WindowToolsMFContext/types.d.ts +3 -2
  100. package/components/areas/contexts/{index.7dd01403.js → index.1809650a.js} +1 -1
  101. package/components/areas/{dictionary.e72db809.js → dictionary.3fabae50.js} +6 -1
  102. package/components/areas/dictionary.d.ts +5 -0
  103. package/components/areas/hooks/useAreas/{index.7a37ede8.js → index.40917e99.js} +1 -1
  104. package/components/areas/{icons.3ec589d3.js → icons.19cde4b4.js} +3 -0
  105. package/components/areas/icons.d.ts +3 -0
  106. package/components/areas/index.9bd48013.js +30 -0
  107. package/components/areas/types.d.ts +4 -0
  108. package/components/formatters/BooleanFormatter/{index.820a2130.js → index.431dc923.js} +1 -1
  109. package/components/formatters/{index.0c692a4b.js → index.e1af75e6.js} +2 -2
  110. package/components/hook-form/RHFAutocomplete/{index.72437d8a.js → index.a063dc44.js} +14 -13
  111. package/components/hook-form/RHFAutocompleteAsync/{index.2a84f2b2.js → index.ddfd9cc9.js} +2 -2
  112. package/components/hook-form/RHFCheckbox/classes/types.d.ts +1 -0
  113. package/components/hook-form/RHFCheckbox/{index.6e6389e7.js → index.7e7f220b.js} +22 -15
  114. package/components/hook-form/RHFCheckbox/subcomponents/Skeleton/types.d.ts +1 -0
  115. package/components/hook-form/RHFCheckbox/test/utils.d.ts +1 -1
  116. package/components/hook-form/RHFCheckbox/types.d.ts +3 -1
  117. package/components/hook-form/RHFDateTime/classes/index.d.ts +1 -1
  118. package/components/hook-form/RHFDateTime/{index.745b101b.js → index.d330709b.js} +67 -58
  119. package/components/hook-form/RHFDateTime/test/constants.d.ts +1 -0
  120. package/components/hook-form/RHFDateTime/test/utils.d.ts +2 -0
  121. package/components/hook-form/RHFPeriod/classes/constants.d.ts +1 -0
  122. package/components/hook-form/RHFPeriod/classes/index.d.ts +6 -0
  123. package/components/hook-form/RHFPeriod/classes/types.d.ts +6 -0
  124. package/components/hook-form/RHFPeriod/index.e2b1293b.js +77 -0
  125. package/components/hook-form/RHFPeriod/types.d.ts +2 -1
  126. package/components/hook-form/RHFTextField/index.d.ts +1 -0
  127. package/components/hook-form/RHFTextField/{index.ca7393a7.js → index.e5336d09.js} +11 -8
  128. package/components/hook-form/RHFUpload/RHFUploadImage/classes/constants.d.ts +1 -0
  129. package/components/hook-form/RHFUpload/RHFUploadImage/classes/index.d.ts +19 -0
  130. package/components/hook-form/RHFUpload/RHFUploadImage/classes/types.d.ts +18 -0
  131. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/subcomponents/Skeleton/index.d.ts +2 -1
  132. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/subcomponents/Skeleton/types.d.ts +3 -0
  133. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/types.d.ts +5 -0
  134. package/components/hook-form/RHFUpload/RHFUploadImage/tests/constants.d.ts +1 -0
  135. package/components/hook-form/RHFUpload/RHFUploadImage/tests/utils.d.ts +2 -0
  136. package/components/hook-form/RHFUpload/index.17e7f9eb.js +260 -0
  137. package/components/hook-form/RHFUpload/index.d.ts +1 -1
  138. package/components/index.d.ts +4 -4
  139. package/components/modal/WindowBase/subcomponents/Header/types.d.ts +4 -1
  140. package/components/modal/WindowBase/types.d.ts +0 -3
  141. package/components/modal/WindowBase.7acb9f1d.js +81 -0
  142. package/components/modal/WindowConfirm/subcomponents/MessageIlustration/types.d.ts +3 -5
  143. package/components/modal/WindowConfirm/types.d.ts +3 -2
  144. package/components/modal/WindowConfirm.9b829837.js +122 -0
  145. package/components/modal/classes/constants.d.ts +1 -0
  146. package/components/modal/classes/index.d.ts +18 -0
  147. package/components/modal/classes/types.d.ts +21 -0
  148. package/components/modal/index.1b25b61d.js +82 -0
  149. package/components/modal/index.d.ts +2 -1
  150. package/components/mui_extended/Accordion/classes/constants.d.ts +1 -0
  151. package/components/mui_extended/Accordion/classes/index.d.ts +10 -0
  152. package/components/mui_extended/Accordion/classes/types.d.ts +10 -0
  153. package/components/mui_extended/Accordion/index.3faafd8b.js +127 -0
  154. package/components/mui_extended/Accordion/tests/constants.d.ts +1 -0
  155. package/components/mui_extended/Accordion/tests/utils.d.ts +2 -0
  156. package/components/mui_extended/Accordion/types.d.ts +2 -1
  157. package/components/mui_extended/Avatar/{index.d.ts → Avatar.d.ts} +0 -1
  158. package/components/mui_extended/Avatar/classes/constants.d.ts +1 -0
  159. package/components/mui_extended/Avatar/classes/index.d.ts +7 -0
  160. package/components/mui_extended/Avatar/classes/types.d.ts +7 -0
  161. package/components/mui_extended/Avatar/index.75e6ed57.js +71 -0
  162. package/components/mui_extended/Avatar/subcomponents/SkeletonAvatar/index.d.ts +2 -1
  163. package/components/mui_extended/Avatar/subcomponents/SkeletonAvatar/types.d.ts +3 -0
  164. package/components/mui_extended/Avatar/tests/constants.d.ts +1 -0
  165. package/components/mui_extended/Avatar/tests/utils.d.ts +2 -0
  166. package/components/mui_extended/Avatar/types.d.ts +1 -5
  167. package/components/mui_extended/Button/{index.f9d54780.js → index.fdb5dcbd.js} +6 -5
  168. package/components/mui_extended/IconButton/{index.822cdaac.js → index.1a9d4fa5.js} +1 -1
  169. package/components/mui_extended/LoadingButton/tests/constants.d.ts +1 -1
  170. package/components/mui_extended/MenuActions/{index.03403529.js → index.ba1da3b3.js} +4 -4
  171. package/components/mui_extended/MenuActions/types.d.ts +2 -2
  172. package/components/mui_extended/Pager/{index.6428b07c.js → index.67bda2c5.js} +1 -1
  173. package/components/mui_extended/Tab/classes/constants.d.ts +1 -0
  174. package/components/mui_extended/Tab/classes/index.d.ts +7 -0
  175. package/components/mui_extended/Tab/classes/types.d.ts +7 -0
  176. package/components/mui_extended/Tab/index.9e2f6e34.js +71 -0
  177. package/components/mui_extended/Tab/tests/constants.d.ts +1 -0
  178. package/components/mui_extended/Tab/tests/utils.d.ts +2 -0
  179. package/components/mui_extended/Tooltip/Tooltip.d.ts +3 -0
  180. package/components/mui_extended/Tooltip/classes/constants.d.ts +1 -0
  181. package/components/mui_extended/Tooltip/classes/index.d.ts +6 -0
  182. package/components/mui_extended/Tooltip/classes/types.d.ts +6 -0
  183. package/components/mui_extended/Tooltip/index.5a795dcd.js +43 -0
  184. package/components/mui_extended/Tooltip/index.d.ts +2 -0
  185. package/components/mui_extended/Tooltip/types.d.ts +6 -0
  186. package/components/mui_extended/Typography/{index.e2d9e3f2.js → index.443590d6.js} +1 -1
  187. package/components/mui_extended/index.73e536de.js +21 -0
  188. package/components/mui_extended/index.d.ts +3 -2
  189. package/contexts/ModalContext/{index.0484ca54.js → index.699f95fa.js} +1 -1
  190. package/contexts/ModalContext/types.d.ts +2 -0
  191. package/contexts/RHFormContext/classes/constants.d.ts +1 -0
  192. package/contexts/RHFormContext/classes/index.d.ts +9 -0
  193. package/contexts/RHFormContext/classes/types.d.ts +6 -0
  194. package/contexts/RHFormContext/{index.a7511399.js → index.fe175bab.js} +33 -9
  195. package/hooks/useModal/{index.c6069beb.js → index.7b7d26ba.js} +1 -1
  196. package/index.js +219 -207
  197. package/package.json +1 -1
  198. package/{react-draggable.17b4ec8a.js → react-draggable.6d7949a3.js} +1 -1
  199. package/{react-resizable.ffd7c2aa.js → react-resizable.b6f8e04a.js} +2 -2
  200. package/test/constants_no_mock.86c553a9.js +4 -0
  201. package/utils/{index.aca80f3a.js → index.008b4c2a.js} +0 -17
  202. package/utils/types.d.ts +1 -1
  203. package/components/AccountPopover/style.d.ts +0 -2
  204. package/components/AccountPopover/subcomponents/PopOver/styles.d.ts +0 -8
  205. package/components/AppBar/styles.d.ts +0 -2
  206. package/components/CommonActions/components/Actions/styles.d.ts +0 -2
  207. package/components/DataGrid/styles.d.ts +0 -3
  208. package/components/DataGrid/subcomponents/Actions/styles.d.ts +0 -2
  209. package/components/DataGrid/subcomponents/Actions/subcomponents/Density/styles.d.ts +0 -3
  210. package/components/DataGrid/subcomponents/Actions/subcomponents/Filter/styles.d.ts +0 -2
  211. package/components/DataGrid/subcomponents/Actions/subcomponents/RowsCount/styles.d.ts +0 -4
  212. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/styles.d.ts +0 -2
  213. package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/styles.d.ts +0 -8
  214. package/components/DataGrid/subcomponents/Table/styles.d.ts +0 -3
  215. package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/styles.d.ts +0 -2
  216. package/components/DataGrid/subcomponents/editors/TextEditor/index.d.ts +0 -6
  217. package/components/DynamicFilter/subcomponents/ApplyedFilters/styles.d.ts +0 -3
  218. package/components/DynamicFilter/subcomponents/ApplyedFilters/subcomponents/ApplyedFilter/styles.d.ts +0 -6
  219. package/components/DynamicFilter/subcomponents/ClearFilters/styles.d.ts +0 -3
  220. package/components/DynamicFilter/subcomponents/FilterButton/styles.d.ts +0 -3
  221. package/components/DynamicFilter/subcomponents/InnerForHooks/styles.d.ts +0 -3
  222. package/components/DynamicFilter/subcomponents/PopoverFilter/styles.d.ts +0 -2
  223. package/components/HelperText/styles.d.ts +0 -2
  224. package/components/Icon/styles.d.ts +0 -4
  225. package/components/Image/styles.d.ts +0 -3
  226. package/components/Image/subcomponents/LazyLoadComponent/styles.d.ts +0 -2
  227. package/components/Image/subcomponents/Skeleton/styles.d.ts +0 -2
  228. package/components/LanguagePopover/styles.d.ts +0 -6
  229. package/components/NavLink/styles.d.ts +0 -2
  230. package/components/NoItemSelected/styles.d.ts +0 -5
  231. package/components/ObjectLogs/components/DetailDialog/styles.d.ts +0 -3
  232. package/components/ObjectLogs/styles.d.ts +0 -4
  233. package/components/PaperForm/styles.d.ts +0 -7
  234. package/components/Period/index.b93d22fa.js +0 -280
  235. package/components/Period/styles.d.ts +0 -7
  236. package/components/PropertyValue/styles.d.ts +0 -6
  237. package/components/ResizeableWindow/styles.d.ts +0 -5
  238. package/components/ScrollBar/styles.d.ts +0 -8
  239. package/components/SideBar/styles.d.ts +0 -5
  240. package/components/SideBar/subcomponents/ContentDesktop/style.d.ts +0 -2
  241. package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/styles.d.ts +0 -3
  242. package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +0 -5
  243. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/styles.d.ts +0 -2
  244. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/styles.d.ts +0 -2
  245. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/styles.d.ts +0 -9
  246. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/subcomponents/NavItemRootContent/styles.d.ts +0 -3
  247. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/styles.d.ts +0 -2
  248. package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +0 -22
  249. package/components/SideBar/subcomponents/ContentGroups/subcomponents/Skeleton/styles.d.ts +0 -6
  250. package/components/SideBar/subcomponents/ContentMobile/styles.d.ts +0 -3
  251. package/components/SplitLayout/index.5a8355d8.js +0 -133
  252. package/components/SplitLayout/styles.d.ts +0 -4
  253. package/components/animate/LoadingScreen/styles.d.ts +0 -3
  254. package/components/animate/PropagateLoader/syles.d.ts +0 -2
  255. package/components/areas/components/AreasAdmin/styles.d.ts +0 -2
  256. package/components/areas/components/AreasAdmin/subcomponents/AreaChip/styles.d.ts +0 -4
  257. package/components/areas/components/AreasViewer/styles.d.ts +0 -2
  258. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/styles.d.ts +0 -2
  259. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/styles.d.ts +0 -9
  260. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/index.d.ts +0 -3
  261. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/styles.d.ts +0 -2
  262. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/subcomponents/NotFound/index.d.ts +0 -3
  263. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/subcomponents/NotFound/styles.d.ts +0 -2
  264. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/subcomponents/NotFound/types.d.ts +0 -2
  265. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/MicroFrontend/subcomponents/MFLoader/subcomponents/LoadingMF/types.d.ts +0 -6
  266. package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/styles.d.ts +0 -3
  267. package/components/areas/components/index.f3a98b6d.js +0 -14
  268. package/components/areas/index.95c4ed37.js +0 -16
  269. package/components/hook-form/RHFAutocomplete/styles.d.ts +0 -2
  270. package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/styles.d.ts +0 -2
  271. package/components/hook-form/RHFAutocomplete/subcomponents/Skeleton/styles.d.ts +0 -4
  272. package/components/hook-form/RHFAutocompleteAsync/styles.d.ts +0 -5
  273. package/components/hook-form/RHFCheckbox/styles.d.ts +0 -15
  274. package/components/hook-form/RHFCheckbox/subcomponents/Skeleton/styles.d.ts +0 -3
  275. package/components/hook-form/RHFDateTime/styles.d.ts +0 -2
  276. package/components/hook-form/RHFDateTime/subcomponents/Skeleton/styles.d.ts +0 -2
  277. package/components/hook-form/RHFPeriod/index.6969af99.js +0 -55
  278. package/components/hook-form/RHFPeriod/styles.d.ts +0 -2
  279. package/components/hook-form/RHFTextField/styles.d.ts +0 -3
  280. package/components/hook-form/RHFTextField/subcomponents/Skeleton/styles.d.ts +0 -3
  281. package/components/hook-form/RHFTextFieldPassword/styles.d.ts +0 -2
  282. package/components/hook-form/RHFUpload/RHFUploadImage/styles.d.ts +0 -2
  283. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/styles.d.ts +0 -12
  284. package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/subcomponents/Skeleton/styles.d.ts +0 -2
  285. package/components/hook-form/RHFUpload/index.d74ca00d.js +0 -283
  286. package/components/modal/ModalDialog/styles.d.ts +0 -9
  287. package/components/modal/WindowBase/styles.d.ts +0 -2
  288. package/components/modal/WindowBase/subcomponents/Header/styles.d.ts +0 -6
  289. package/components/modal/WindowBase.9b93578e.js +0 -126
  290. package/components/modal/WindowConfirm/subcomponents/MessageIlustration/styles.d.ts +0 -6
  291. package/components/modal/WindowConfirm.7ec9dcd3.js +0 -132
  292. package/components/modal/index.dba72820.js +0 -36
  293. package/components/mui_extended/Accordion/components/AccordionLabel.d.ts +0 -3
  294. package/components/mui_extended/Accordion/index.09a89d3d.js +0 -107
  295. package/components/mui_extended/Accordion/styles.d.ts +0 -4
  296. package/components/mui_extended/Avatar/index.fe06afd7.js +0 -51
  297. package/components/mui_extended/Button/styles.d.ts +0 -13
  298. package/components/mui_extended/IconButton/styles.d.ts +0 -2
  299. package/components/mui_extended/ImageButton/styles.d.ts +0 -2
  300. package/components/mui_extended/LoadingButton/styles.d.ts +0 -2
  301. package/components/mui_extended/MenuActions/styles.d.ts +0 -30
  302. package/components/mui_extended/Pager/components/PagerActions/styles.d.ts +0 -2
  303. package/components/mui_extended/Pager/styles.d.ts +0 -6
  304. package/components/mui_extended/Popover/styles.d.ts +0 -1
  305. package/components/mui_extended/Popover/subcomponts/ArrowIcon/index.d.ts +0 -3
  306. package/components/mui_extended/Tab/index.e0653a0a.js +0 -32
  307. package/components/mui_extended/Tab/styles.d.ts +0 -2
  308. package/components/mui_extended/Typography/styles.d.ts +0 -2
  309. package/components/mui_extended/index.b4ced9e3.js +0 -20
  310. package/contexts/RHFormContext/styles.d.ts +0 -2
  311. package/vendor.99e0c856.js +0 -456
  312. /package/components/{AppBar → AccountPopover}/subcomponents/MyAvatar/index.d.ts +0 -0
  313. /package/components/PaperForm/{index.d.ts → PaperForm.d.ts} +0 -0
  314. /package/components/PropertyValue/{index.d.ts → PropertyValue.d.ts} +0 -0
  315. /package/components/hook-form/RHFUpload/RHFUploadImage/{index.d.ts → RHFUploadImage.d.ts} +0 -0
  316. /package/components/mui_extended/Accordion/{index.d.ts → Accordion.d.ts} +0 -0
  317. /package/{node_modules.416f1da3.js → react-spinners.342a6578.js} +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.1af119da.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,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.c6069beb.js";
4
- import { styled } from "@mui/material/styles";
5
- import { a as getThemeVariantColor } from "../../utils/index.aca80f3a.js";
6
- import { I as Icon } from "../Icon/index.d214a74d.js";
7
- import "@mui/material";
8
- import { I as IconButton } from "../mui_extended/IconButton/index.822cdaac.js";
9
- import "../mui_extended/Accordion/index.09a89d3d.js";
10
- import { jsxs, jsx } from "react/jsx-runtime";
11
- import "../mui_extended/Avatar/index.fe06afd7.js";
12
- import "react-router-dom";
13
- import "@mui/material/Button";
14
- import "../mui_extended/Button/index.f9d54780.js";
15
- import "clsx";
16
- import "../Image/index.1af119da.js";
17
- import "@mui/lab";
18
- import "../mui_extended/Typography/index.e2d9e3f2.js";
19
- import "../mui_extended/Popover/index.9f35d0eb.js";
20
- import "../mui_extended/MenuActions/index.03403529.js";
21
- import "../mui_extended/Pager/index.6428b07c.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.c6069beb.js";
4
- import { A as Actions } from "../CommonActions/components/Actions/index.51b9c92a.js";
5
- import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.fad4a0dc.js";
6
- import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.0fb6efbe.js";
7
- import "react-hook-form";
8
- import { Typography } from "@mui/material";
9
- import "@mui/material/Button";
10
- import "../mui_extended/Button/index.f9d54780.js";
11
- import "clsx";
12
- import { jsx, jsxs } from "react/jsx-runtime";
13
- import "../../react-draggable.17b4ec8a.js";
14
- import "../ModalDialog/index.6c35e653.js";
15
- import "../Resizeable/index.834a9144.js";
16
- import "@m4l/graphics";
17
- import { I as Icon } from "../Icon/index.d214a74d.js";
18
- import { styled } from "@mui/material/styles";
19
- import { b as getVariantColor } from "../../utils/index.aca80f3a.js";
20
- import { W as WindowBase } from "./WindowBase.9b93578e.js";
21
- import "../mui_extended/IconButton/index.822cdaac.js";
22
- import "zustand";
23
- import "../areas/contexts/AreasContext/index.a88b73a6.js";
24
- import "../areas/components/AreasAdmin/index.1eda80b9.js";
25
- import "zustand/shallow";
26
- import "../ScrollBar/index.bbe48f4d.js";
27
- import "../areas/components/AreasViewer/index.eddc9945.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.e2d9e3f2.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.17b4ec8a.js";
3
- import "react";
4
- import "../../contexts/ModalContext/index.0484ca54.js";
5
- import "../ModalDialog/index.6c35e653.js";
6
- import "../Resizeable/index.834a9144.js";
7
- import "react/jsx-runtime";
8
- import "@m4l/graphics";
9
- import "../Icon/index.d214a74d.js";
10
- import "clsx";
11
- import "@m4l/core";
12
- import "../CommonActions/components/Actions/index.51b9c92a.js";
13
- import "@mui/material/Button";
14
- import "../mui_extended/Button/index.f9d54780.js";
15
- import "react-hook-form";
16
- import "./WindowBase.9b93578e.js";
17
- import "../mui_extended/IconButton/index.822cdaac.js";
18
- import "../mui_extended/Accordion/index.09a89d3d.js";
19
- import "../mui_extended/Avatar/index.fe06afd7.js";
20
- import "react-router-dom";
21
- import "../Image/index.1af119da.js";
22
- import "@mui/lab";
23
- import "../mui_extended/Typography/index.e2d9e3f2.js";
24
- import "../mui_extended/Popover/index.9f35d0eb.js";
25
- import "../mui_extended/MenuActions/index.03403529.js";
26
- import "../mui_extended/Pager/index.6428b07c.js";
27
- import "../mui_extended/Tab/index.e0653a0a.js";
28
- import "zustand";
29
- import "../areas/contexts/AreasContext/index.a88b73a6.js";
30
- import "../areas/components/AreasAdmin/index.1eda80b9.js";
31
- import "zustand/shallow";
32
- import "../ScrollBar/index.bbe48f4d.js";
33
- import "../areas/components/AreasViewer/index.eddc9945.js";
34
- import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
35
- import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
36
- import "./WindowConfirm.7ec9dcd3.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;