@erpsquad/common 1.8.47 → 1.8.48

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 (637) hide show
  1. package/dist/_virtual/index/index.esm.js +2 -4
  2. package/dist/_virtual/index/index.esm.js.map +1 -1
  3. package/dist/_virtual/index/index.esm10.js +3 -3
  4. package/dist/_virtual/index/index.esm11.js +3 -3
  5. package/dist/_virtual/index/index.esm2.js +2 -2
  6. package/dist/_virtual/index/index.esm3.js +4 -2
  7. package/dist/_virtual/index/index.esm3.js.map +1 -1
  8. package/dist/_virtual/index/index.esm4.js +1 -1
  9. package/dist/_virtual/index/index.esm5.js +3 -3
  10. package/dist/_virtual/index/index.esm6.js +3 -3
  11. package/dist/_virtual/index/index.esm7.js +3 -3
  12. package/dist/_virtual/index/index.esm8.js +3 -3
  13. package/dist/_virtual/index/index.esm9.js +3 -3
  14. package/dist/_virtual/index/index.js +1 -1
  15. package/dist/_virtual/index/index10.js +1 -1
  16. package/dist/_virtual/index/index11.js +1 -1
  17. package/dist/_virtual/index/index3.js +1 -1
  18. package/dist/_virtual/index/index4.js +1 -1
  19. package/dist/_virtual/index/index5.js +1 -1
  20. package/dist/_virtual/index/index6.js +1 -1
  21. package/dist/_virtual/index/index7.js +1 -1
  22. package/dist/_virtual/index/index8.js +1 -1
  23. package/dist/_virtual/index/index9.js +1 -1
  24. package/dist/components/activity-tag/activity-tag/index.esm.js +154 -0
  25. package/dist/components/activity-tag/activity-tag/index.esm.js.map +1 -0
  26. package/dist/components/activity-tag/activity-tag/index.js +15 -0
  27. package/dist/components/activity-tag/activity-tag/index.js.map +1 -0
  28. package/dist/components/activityLog/activity-log/index.esm.js +104 -0
  29. package/dist/components/activityLog/activity-log/index.esm.js.map +1 -0
  30. package/dist/components/activityLog/activity-log/index.js +14 -0
  31. package/dist/components/activityLog/activity-log/index.js.map +1 -0
  32. package/dist/components/charts/bar-chart/bar-chart/index.esm.js +86 -0
  33. package/dist/components/charts/bar-chart/bar-chart/index.esm.js.map +1 -0
  34. package/dist/components/charts/bar-chart/bar-chart/index.js +2 -0
  35. package/dist/components/charts/bar-chart/bar-chart/index.js.map +1 -0
  36. package/dist/components/charts/barChart/barChart/index.esm.js +148 -0
  37. package/dist/components/charts/barChart/barChart/index.esm.js.map +1 -0
  38. package/dist/components/charts/barChart/barChart/index.js +2 -0
  39. package/dist/components/charts/barChart/barChart/index.js.map +1 -0
  40. package/dist/components/charts/donut-chart/donut-chart/index.esm.js +86 -0
  41. package/dist/components/charts/donut-chart/donut-chart/index.esm.js.map +1 -0
  42. package/dist/components/charts/donut-chart/donut-chart/index.js +6 -0
  43. package/dist/components/charts/donut-chart/donut-chart/index.js.map +1 -0
  44. package/dist/components/charts/donut-chart/donut-chart.d.ts +1 -2
  45. package/dist/components/charts/donutChart/DonutChart/index.esm.js +97 -0
  46. package/dist/components/charts/donutChart/DonutChart/index.esm.js.map +1 -0
  47. package/dist/components/charts/donutChart/DonutChart/index.js +5 -0
  48. package/dist/components/charts/donutChart/DonutChart/index.js.map +1 -0
  49. package/dist/components/charts/index.d.ts +8 -0
  50. package/dist/components/confirm-modal/confirm-modal/index.esm.js.map +1 -1
  51. package/dist/components/confirm-modal/confirm-modal/index.js.map +1 -1
  52. package/dist/components/confirm-modal/confirm-modal.d.ts +1 -2
  53. package/dist/components/confirm-modal/index.d.ts +1 -0
  54. package/dist/components/editor/custom-editor/index.esm.js +96 -67
  55. package/dist/components/editor/custom-editor/index.esm.js.map +1 -1
  56. package/dist/components/editor/custom-editor/index.js +3 -3
  57. package/dist/components/editor/custom-editor/index.js.map +1 -1
  58. package/dist/components/editor/custom-editor.d.ts +12 -8
  59. package/dist/components/footer/footer/index.esm.js +1 -1
  60. package/dist/components/footer/footer/index.js +2 -2
  61. package/dist/components/footer/footer/index.js.map +1 -1
  62. package/dist/components/form-control/form-parser/form-parser/index.esm.js +1 -1
  63. package/dist/components/form-control/form-parser/form-parser/index.js +4 -4
  64. package/dist/components/form-control/form-parser/form-parser/index.js.map +1 -1
  65. package/dist/components/grid/grid-card/grid-card/index.esm.js +4 -2
  66. package/dist/components/grid/grid-card/grid-card/index.esm.js.map +1 -1
  67. package/dist/components/grid/grid-card/grid-card/index.js +10 -11
  68. package/dist/components/grid/grid-card/grid-card/index.js.map +1 -1
  69. package/dist/components/grid/grid-card/grid-card.d.ts +10 -1
  70. package/dist/components/header/redux/reducer/index.esm.js +1 -6
  71. package/dist/components/header/redux/reducer/index.esm.js.map +1 -1
  72. package/dist/components/header/redux/reducer/index.js +1 -1
  73. package/dist/components/header/redux/reducer/index.js.map +1 -1
  74. package/dist/components/index.d.ts +293 -106
  75. package/dist/components/index.esm.js +447 -254
  76. package/dist/components/index.esm.js.map +1 -1
  77. package/dist/components/index.js +1 -1
  78. package/dist/components/inventory-reports-title-bar/component/reportFilter.d.ts +3 -2
  79. package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.esm.js +1 -1
  80. package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.js +1 -1
  81. package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.js.map +1 -1
  82. package/dist/components/inventory-reports-title-bar/redux/reducer/index.esm.js +0 -2
  83. package/dist/components/inventory-reports-title-bar/redux/reducer/index.esm.js.map +1 -1
  84. package/dist/components/inventory-reports-title-bar/redux/reducer/index.js +1 -1
  85. package/dist/components/inventory-reports-title-bar/redux/reducer/index.js.map +1 -1
  86. package/dist/components/list/list/index.esm.js +3 -2
  87. package/dist/components/list/list/index.esm.js.map +1 -1
  88. package/dist/components/list/list/index.js +2 -2
  89. package/dist/components/list/list/index.js.map +1 -1
  90. package/dist/components/list/list.d.ts +2 -1
  91. package/dist/components/listing/listing/index.esm.js +1 -1
  92. package/dist/components/listing/listing/index.js +1 -1
  93. package/dist/components/listing/listing/index.js.map +1 -1
  94. package/dist/components/module-button/module-button/index.esm.js +3 -2
  95. package/dist/components/module-button/module-button/index.esm.js.map +1 -1
  96. package/dist/components/module-button/module-button/index.js +4 -4
  97. package/dist/components/module-button/module-button/index.js.map +1 -1
  98. package/dist/components/module-button/module-button.d.ts +10 -1
  99. package/dist/components/mulitline/multiline/index.esm.js +3 -2
  100. package/dist/components/mulitline/multiline/index.esm.js.map +1 -1
  101. package/dist/components/mulitline/multiline/index.js +9 -9
  102. package/dist/components/mulitline/multiline/index.js.map +1 -1
  103. package/dist/components/mulitline/multiline.d.ts +2 -2
  104. package/dist/components/page-navigator/page-navigator/index.esm.js +4 -3
  105. package/dist/components/page-navigator/page-navigator/index.esm.js.map +1 -1
  106. package/dist/components/page-navigator/page-navigator/index.js +5 -5
  107. package/dist/components/page-navigator/page-navigator/index.js.map +1 -1
  108. package/dist/components/page-navigator/page-navigator.d.ts +3 -3
  109. package/dist/components/parties-modal/parties-modal/index.esm.js +4 -3
  110. package/dist/components/parties-modal/parties-modal/index.esm.js.map +1 -1
  111. package/dist/components/parties-modal/parties-modal/index.js +13 -13
  112. package/dist/components/parties-modal/parties-modal/index.js.map +1 -1
  113. package/dist/components/parties-modal/parties-modal.d.ts +3 -3
  114. package/dist/components/reports-title-bar/redux/reducer/index.esm.js +0 -2
  115. package/dist/components/reports-title-bar/redux/reducer/index.esm.js.map +1 -1
  116. package/dist/components/reports-title-bar/redux/reducer/index.js +1 -1
  117. package/dist/components/reports-title-bar/redux/reducer/index.js.map +1 -1
  118. package/dist/components/reports-title-bar/reports-title-bar/index.esm.js +1 -1
  119. package/dist/components/reports-title-bar/reports-title-bar/index.js +1 -1
  120. package/dist/components/reports-title-bar/reports-title-bar/index.js.map +1 -1
  121. package/dist/components/rfq-response/item-response-details/index.esm.js +40 -48
  122. package/dist/components/rfq-response/item-response-details/index.esm.js.map +1 -1
  123. package/dist/components/rfq-response/item-response-details/index.js +4 -4
  124. package/dist/components/rfq-response/item-response-details/index.js.map +1 -1
  125. package/dist/components/rfq-response/item-response-details.d.ts +2 -1
  126. package/dist/components/schedule-report/utils/common/index.esm.js +1 -1
  127. package/dist/components/share-modal/redux/reducer/index.esm.js +0 -2
  128. package/dist/components/share-modal/redux/reducer/index.esm.js.map +1 -1
  129. package/dist/components/share-modal/redux/reducer/index.js +1 -1
  130. package/dist/components/share-modal/redux/reducer/index.js.map +1 -1
  131. package/dist/components/tab-bar-ui/tab-bar-ui/index.esm.js +4 -10
  132. package/dist/components/tab-bar-ui/tab-bar-ui/index.esm.js.map +1 -1
  133. package/dist/components/tab-bar-ui/tab-bar-ui/index.js +3 -3
  134. package/dist/components/tab-bar-ui/tab-bar-ui/index.js.map +1 -1
  135. package/dist/components/tab-bar-ui/tab-bar-ui.d.ts +3 -3
  136. package/dist/components/tabs/tabs/index.esm.js +3 -2
  137. package/dist/components/tabs/tabs/index.esm.js.map +1 -1
  138. package/dist/components/tabs/tabs/index.js +3 -3
  139. package/dist/components/tabs/tabs/index.js.map +1 -1
  140. package/dist/components/tabs/tabs.d.ts +2 -2
  141. package/dist/hooks/index.esm.js +4 -4
  142. package/dist/hooks/index.js +1 -1
  143. package/dist/hooks/use-translations/index.esm.js +4 -3
  144. package/dist/hooks/use-translations/index.esm.js.map +1 -1
  145. package/dist/hooks/use-translations/index.js +1 -1
  146. package/dist/hooks/use-translations/index.js.map +1 -1
  147. package/dist/hooks/use-translations.d.ts +2 -1
  148. package/dist/hooks/useCheckSkuAndName/index.esm.js +5 -4
  149. package/dist/hooks/useCheckSkuAndName/index.esm.js.map +1 -1
  150. package/dist/hooks/useCheckSkuAndName/index.js +1 -1
  151. package/dist/hooks/useCheckSkuAndName/index.js.map +1 -1
  152. package/dist/hooks/useCheckSkuAndName.d.ts +4 -2
  153. package/dist/index.esm.js +525 -315
  154. package/dist/index.esm.js.map +1 -1
  155. package/dist/index.js +1 -1
  156. package/dist/layout/fullScreen/fullScreen/index.esm.js +5 -3
  157. package/dist/layout/fullScreen/fullScreen/index.esm.js.map +1 -1
  158. package/dist/layout/fullScreen/fullScreen/index.js +3 -3
  159. package/dist/layout/fullScreen/fullScreen/index.js.map +1 -1
  160. package/dist/layout/fullScreen/fullScreen.d.ts +5 -1
  161. package/dist/layout/index.esm.js +4 -4
  162. package/dist/layout/index.js +1 -1
  163. package/dist/layout/sidebarScreen/sidebarScreen/index.esm.js +72 -50
  164. package/dist/layout/sidebarScreen/sidebarScreen/index.esm.js.map +1 -1
  165. package/dist/layout/sidebarScreen/sidebarScreen/index.js +4 -4
  166. package/dist/layout/sidebarScreen/sidebarScreen/index.js.map +1 -1
  167. package/dist/layout/sidebarScreen/sidebarScreen.d.ts +3 -3
  168. package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.esm.js +1 -1
  169. package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.js +1 -1
  170. package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.esm.js +1 -1
  171. package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.js +1 -1
  172. package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.js.map +1 -1
  173. package/dist/node_modules/@mui/lab/Timeline/Timeline/index.esm.js +95 -0
  174. package/dist/node_modules/@mui/lab/Timeline/Timeline/index.esm.js.map +1 -0
  175. package/dist/node_modules/@mui/lab/Timeline/Timeline/index.js +3 -0
  176. package/dist/node_modules/@mui/lab/Timeline/Timeline/index.js.map +1 -0
  177. package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.esm.js +10 -0
  178. package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.esm.js.map +1 -0
  179. package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.js +2 -0
  180. package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.js.map +1 -0
  181. package/dist/node_modules/@mui/lab/Timeline/timelineClasses/index.esm.js +10 -0
  182. package/dist/node_modules/@mui/lab/Timeline/timelineClasses/index.esm.js.map +1 -0
  183. package/dist/node_modules/@mui/lab/Timeline/timelineClasses/index.js +2 -0
  184. package/dist/node_modules/@mui/lab/Timeline/timelineClasses/index.js.map +1 -0
  185. package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.esm.js +76 -0
  186. package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.esm.js.map +1 -0
  187. package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.js +3 -0
  188. package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.js.map +1 -0
  189. package/dist/node_modules/@mui/lab/TimelineConnector/timelineConnectorClasses/index.esm.js +10 -0
  190. package/dist/node_modules/@mui/lab/TimelineConnector/timelineConnectorClasses/index.esm.js.map +1 -0
  191. package/dist/node_modules/@mui/lab/TimelineConnector/timelineConnectorClasses/index.js +2 -0
  192. package/dist/node_modules/@mui/lab/TimelineConnector/timelineConnectorClasses/index.js.map +1 -0
  193. package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.esm.js +91 -0
  194. package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.esm.js.map +1 -0
  195. package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.js +3 -0
  196. package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.js.map +1 -0
  197. package/dist/node_modules/@mui/lab/TimelineContent/timelineContentClasses/index.esm.js +11 -0
  198. package/dist/node_modules/@mui/lab/TimelineContent/timelineContentClasses/index.esm.js.map +1 -0
  199. package/dist/node_modules/@mui/lab/TimelineContent/timelineContentClasses/index.js +2 -0
  200. package/dist/node_modules/@mui/lab/TimelineContent/timelineContentClasses/index.js.map +1 -0
  201. package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.esm.js +118 -0
  202. package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.esm.js.map +1 -0
  203. package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.js +3 -0
  204. package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.js.map +1 -0
  205. package/dist/node_modules/@mui/lab/TimelineDot/timelineDotClasses/index.esm.js +10 -0
  206. package/dist/node_modules/@mui/lab/TimelineDot/timelineDotClasses/index.esm.js.map +1 -0
  207. package/dist/node_modules/@mui/lab/TimelineDot/timelineDotClasses/index.js +2 -0
  208. package/dist/node_modules/@mui/lab/TimelineDot/timelineDotClasses/index.js.map +1 -0
  209. package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.esm.js +128 -0
  210. package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.esm.js.map +1 -0
  211. package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.js +3 -0
  212. package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.js.map +1 -0
  213. package/dist/node_modules/@mui/lab/TimelineItem/timelineItemClasses/index.esm.js +10 -0
  214. package/dist/node_modules/@mui/lab/TimelineItem/timelineItemClasses/index.esm.js.map +1 -0
  215. package/dist/node_modules/@mui/lab/TimelineItem/timelineItemClasses/index.js +2 -0
  216. package/dist/node_modules/@mui/lab/TimelineItem/timelineItemClasses/index.js.map +1 -0
  217. package/dist/node_modules/@mui/lab/TimelineOppositeContent/timelineOppositeContentClasses/index.esm.js +6 -0
  218. package/dist/node_modules/@mui/lab/TimelineOppositeContent/timelineOppositeContentClasses/index.esm.js.map +1 -0
  219. package/dist/node_modules/@mui/lab/TimelineOppositeContent/timelineOppositeContentClasses/index.js +2 -0
  220. package/dist/node_modules/@mui/lab/TimelineOppositeContent/timelineOppositeContentClasses/index.js.map +1 -0
  221. package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.esm.js +73 -0
  222. package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.esm.js.map +1 -0
  223. package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.js +3 -0
  224. package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.js.map +1 -0
  225. package/dist/node_modules/@mui/lab/TimelineSeparator/timelineSeparatorClasses/index.esm.js +10 -0
  226. package/dist/node_modules/@mui/lab/TimelineSeparator/timelineSeparatorClasses/index.esm.js.map +1 -0
  227. package/dist/node_modules/@mui/lab/TimelineSeparator/timelineSeparatorClasses/index.js +2 -0
  228. package/dist/node_modules/@mui/lab/TimelineSeparator/timelineSeparatorClasses/index.js.map +1 -0
  229. package/dist/node_modules/@mui/lab/internal/convertTimelinePositionToClass/index.esm.js +8 -0
  230. package/dist/node_modules/@mui/lab/internal/convertTimelinePositionToClass/index.esm.js.map +1 -0
  231. package/dist/node_modules/@mui/lab/internal/convertTimelinePositionToClass/index.js +2 -0
  232. package/dist/node_modules/@mui/lab/internal/convertTimelinePositionToClass/index.js.map +1 -0
  233. package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.esm.js +95 -0
  234. package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.esm.js.map +1 -0
  235. package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.js +3 -0
  236. package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.js.map +1 -0
  237. package/dist/node_modules/@mui/material/AccordionActions/accordionActionsClasses/index.esm.js +10 -0
  238. package/dist/node_modules/@mui/material/AccordionActions/accordionActionsClasses/index.esm.js.map +1 -0
  239. package/dist/node_modules/@mui/material/AccordionActions/accordionActionsClasses/index.js +2 -0
  240. package/dist/node_modules/@mui/material/AccordionActions/accordionActionsClasses/index.js.map +1 -0
  241. package/dist/node_modules/@mui/material/Avatar/avatarClasses/index.esm.js +3 -2
  242. package/dist/node_modules/@mui/material/Avatar/avatarClasses/index.esm.js.map +1 -1
  243. package/dist/node_modules/@mui/material/Avatar/avatarClasses/index.js +1 -1
  244. package/dist/node_modules/@mui/material/Avatar/avatarClasses/index.js.map +1 -1
  245. package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.esm.js +201 -0
  246. package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.esm.js.map +1 -0
  247. package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.js +3 -0
  248. package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.js.map +1 -0
  249. package/dist/node_modules/@mui/material/AvatarGroup/avatarGroupClasses/index.esm.js +11 -0
  250. package/dist/node_modules/@mui/material/AvatarGroup/avatarGroupClasses/index.esm.js.map +1 -0
  251. package/dist/node_modules/@mui/material/AvatarGroup/avatarGroupClasses/index.js +2 -0
  252. package/dist/node_modules/@mui/material/AvatarGroup/avatarGroupClasses/index.js.map +1 -0
  253. package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.esm.js +125 -0
  254. package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.esm.js.map +1 -0
  255. package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.js +4 -0
  256. package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.js.map +1 -0
  257. package/dist/node_modules/@mui/material/BottomNavigation/bottomNavigationClasses/index.esm.js +10 -0
  258. package/dist/node_modules/@mui/material/BottomNavigation/bottomNavigationClasses/index.esm.js.map +1 -0
  259. package/dist/node_modules/@mui/material/BottomNavigation/bottomNavigationClasses/index.js +2 -0
  260. package/dist/node_modules/@mui/material/BottomNavigation/bottomNavigationClasses/index.js.map +1 -0
  261. package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.esm.js +170 -0
  262. package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.esm.js.map +1 -0
  263. package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.js +3 -0
  264. package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.js.map +1 -0
  265. package/dist/node_modules/@mui/material/BottomNavigationAction/bottomNavigationActionClasses/index.esm.js +11 -0
  266. package/dist/node_modules/@mui/material/BottomNavigationAction/bottomNavigationActionClasses/index.esm.js.map +1 -0
  267. package/dist/node_modules/@mui/material/BottomNavigationAction/bottomNavigationActionClasses/index.js +2 -0
  268. package/dist/node_modules/@mui/material/BottomNavigationAction/bottomNavigationActionClasses/index.js.map +1 -0
  269. package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.esm.js +120 -0
  270. package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.esm.js.map +1 -0
  271. package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.js +3 -0
  272. package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.js.map +1 -0
  273. package/dist/node_modules/@mui/material/CardActionArea/cardActionAreaClasses/index.esm.js +11 -0
  274. package/dist/node_modules/@mui/material/CardActionArea/cardActionAreaClasses/index.esm.js.map +1 -0
  275. package/dist/node_modules/@mui/material/CardActionArea/cardActionAreaClasses/index.js +2 -0
  276. package/dist/node_modules/@mui/material/CardActionArea/cardActionAreaClasses/index.js.map +1 -0
  277. package/dist/node_modules/@mui/material/CardActions/CardActions/index.esm.js +92 -0
  278. package/dist/node_modules/@mui/material/CardActions/CardActions/index.esm.js.map +1 -0
  279. package/dist/node_modules/@mui/material/CardActions/CardActions/index.js +3 -0
  280. package/dist/node_modules/@mui/material/CardActions/CardActions/index.js.map +1 -0
  281. package/dist/node_modules/@mui/material/CardActions/cardActionsClasses/index.esm.js +10 -0
  282. package/dist/node_modules/@mui/material/CardActions/cardActionsClasses/index.esm.js.map +1 -0
  283. package/dist/node_modules/@mui/material/CardActions/cardActionsClasses/index.js +2 -0
  284. package/dist/node_modules/@mui/material/CardActions/cardActionsClasses/index.js.map +1 -0
  285. package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.esm.js +196 -0
  286. package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.esm.js.map +1 -0
  287. package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.js +2 -0
  288. package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.js.map +1 -0
  289. package/dist/node_modules/@mui/material/CardHeader/cardHeaderClasses/index.esm.js +11 -0
  290. package/dist/node_modules/@mui/material/CardHeader/cardHeaderClasses/index.esm.js.map +1 -0
  291. package/dist/node_modules/@mui/material/CardHeader/cardHeaderClasses/index.js +2 -0
  292. package/dist/node_modules/@mui/material/CardHeader/cardHeaderClasses/index.js.map +1 -0
  293. package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.esm.js +76 -0
  294. package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.esm.js.map +1 -0
  295. package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.js +3 -0
  296. package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.js.map +1 -0
  297. package/dist/node_modules/@mui/material/DialogContentText/dialogContentTextClasses/index.esm.js +10 -0
  298. package/dist/node_modules/@mui/material/DialogContentText/dialogContentTextClasses/index.esm.js.map +1 -0
  299. package/dist/node_modules/@mui/material/DialogContentText/dialogContentTextClasses/index.js +2 -0
  300. package/dist/node_modules/@mui/material/DialogContentText/dialogContentTextClasses/index.js.map +1 -0
  301. package/dist/node_modules/@mui/material/Fab/Fab/index.esm.js +231 -0
  302. package/dist/node_modules/@mui/material/Fab/Fab/index.esm.js.map +1 -0
  303. package/dist/node_modules/@mui/material/Fab/Fab/index.js +3 -0
  304. package/dist/node_modules/@mui/material/Fab/Fab/index.js.map +1 -0
  305. package/dist/node_modules/@mui/material/Fab/fabClasses/index.esm.js +11 -0
  306. package/dist/node_modules/@mui/material/Fab/fabClasses/index.esm.js.map +1 -0
  307. package/dist/node_modules/@mui/material/Fab/fabClasses/index.js +2 -0
  308. package/dist/node_modules/@mui/material/Fab/fabClasses/index.js.map +1 -0
  309. package/dist/node_modules/@mui/material/Hidden/Hidden/index.esm.js +135 -0
  310. package/dist/node_modules/@mui/material/Hidden/Hidden/index.esm.js.map +1 -0
  311. package/dist/node_modules/@mui/material/Hidden/Hidden/index.js +2 -0
  312. package/dist/node_modules/@mui/material/Hidden/Hidden/index.js.map +1 -0
  313. package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.esm.js +176 -0
  314. package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.esm.js.map +1 -0
  315. package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.js +3 -0
  316. package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.js.map +1 -0
  317. package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.esm.js +119 -0
  318. package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.esm.js.map +1 -0
  319. package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.js +2 -0
  320. package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.js.map +1 -0
  321. package/dist/node_modules/@mui/material/Hidden/hiddenCssClasses/index.esm.js +10 -0
  322. package/dist/node_modules/@mui/material/Hidden/hiddenCssClasses/index.esm.js.map +1 -0
  323. package/dist/node_modules/@mui/material/Hidden/hiddenCssClasses/index.js +2 -0
  324. package/dist/node_modules/@mui/material/Hidden/hiddenCssClasses/index.js.map +1 -0
  325. package/dist/node_modules/@mui/material/Hidden/withWidth/index.esm.js +92 -0
  326. package/dist/node_modules/@mui/material/Hidden/withWidth/index.esm.js.map +1 -0
  327. package/dist/node_modules/@mui/material/Hidden/withWidth/index.js +2 -0
  328. package/dist/node_modules/@mui/material/Hidden/withWidth/index.js.map +1 -0
  329. package/dist/node_modules/@mui/material/ImageList/ImageList/index.esm.js +156 -0
  330. package/dist/node_modules/@mui/material/ImageList/ImageList/index.esm.js.map +1 -0
  331. package/dist/node_modules/@mui/material/ImageList/ImageList/index.js +3 -0
  332. package/dist/node_modules/@mui/material/ImageList/ImageList/index.js.map +1 -0
  333. package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.esm.js +10 -0
  334. package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.esm.js.map +1 -0
  335. package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.js +2 -0
  336. package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.js.map +1 -0
  337. package/dist/node_modules/@mui/material/ImageList/imageListClasses/index.esm.js +10 -0
  338. package/dist/node_modules/@mui/material/ImageList/imageListClasses/index.esm.js.map +1 -0
  339. package/dist/node_modules/@mui/material/ImageList/imageListClasses/index.js +2 -0
  340. package/dist/node_modules/@mui/material/ImageList/imageListClasses/index.js.map +1 -0
  341. package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.esm.js +173 -0
  342. package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.esm.js.map +1 -0
  343. package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.js +3 -0
  344. package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.js.map +1 -0
  345. package/dist/node_modules/@mui/material/ImageListItem/imageListItemClasses/index.esm.js +11 -0
  346. package/dist/node_modules/@mui/material/ImageListItem/imageListItemClasses/index.esm.js.map +1 -0
  347. package/dist/node_modules/@mui/material/ImageListItem/imageListItemClasses/index.js +2 -0
  348. package/dist/node_modules/@mui/material/ImageListItem/imageListItemClasses/index.js.map +1 -0
  349. package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.esm.js +222 -0
  350. package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.esm.js.map +1 -0
  351. package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.js +3 -0
  352. package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.js.map +1 -0
  353. package/dist/node_modules/@mui/material/ImageListItemBar/imageListItemBarClasses/index.esm.js +10 -0
  354. package/dist/node_modules/@mui/material/ImageListItemBar/imageListItemBarClasses/index.esm.js.map +1 -0
  355. package/dist/node_modules/@mui/material/ImageListItemBar/imageListItemBarClasses/index.js +2 -0
  356. package/dist/node_modules/@mui/material/ImageListItemBar/imageListItemBarClasses/index.js.map +1 -0
  357. package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.esm.js +216 -0
  358. package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.esm.js.map +1 -0
  359. package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.js +3 -0
  360. package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.js.map +1 -0
  361. package/dist/node_modules/@mui/material/MobileStepper/mobileStepperClasses/index.esm.js +10 -0
  362. package/dist/node_modules/@mui/material/MobileStepper/mobileStepperClasses/index.esm.js.map +1 -0
  363. package/dist/node_modules/@mui/material/MobileStepper/mobileStepperClasses/index.js +2 -0
  364. package/dist/node_modules/@mui/material/MobileStepper/mobileStepperClasses/index.js.map +1 -0
  365. package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.esm.js +126 -0
  366. package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.esm.js.map +1 -0
  367. package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.js +3 -0
  368. package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.js.map +1 -0
  369. package/dist/node_modules/@mui/material/NativeSelect/nativeSelectClasses/index.esm.js +1 -1
  370. package/dist/node_modules/@mui/material/NativeSelect/nativeSelectClasses/index.js +1 -1
  371. package/dist/node_modules/@mui/material/NativeSelect/nativeSelectClasses/index.js.map +1 -1
  372. package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.esm.js +55 -0
  373. package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.esm.js.map +1 -0
  374. package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.js +2 -0
  375. package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.js.map +1 -0
  376. package/dist/node_modules/@mui/material/OutlinedInput/outlinedInputClasses/index.esm.js +1 -1
  377. package/dist/node_modules/@mui/material/OutlinedInput/outlinedInputClasses/index.js +1 -1
  378. package/dist/node_modules/@mui/material/Popover/Popover/index.esm.js +1 -1
  379. package/dist/node_modules/@mui/material/Popover/Popover/index.js +1 -1
  380. package/dist/node_modules/@mui/material/Rating/Rating/index.esm.js +638 -0
  381. package/dist/node_modules/@mui/material/Rating/Rating/index.esm.js.map +1 -0
  382. package/dist/node_modules/@mui/material/Rating/Rating/index.js +7 -0
  383. package/dist/node_modules/@mui/material/Rating/Rating/index.js.map +1 -0
  384. package/dist/node_modules/@mui/material/Rating/ratingClasses/index.esm.js +11 -0
  385. package/dist/node_modules/@mui/material/Rating/ratingClasses/index.esm.js.map +1 -0
  386. package/dist/node_modules/@mui/material/Rating/ratingClasses/index.js +2 -0
  387. package/dist/node_modules/@mui/material/Rating/ratingClasses/index.js.map +1 -0
  388. package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.esm.js +105 -0
  389. package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.esm.js.map +1 -0
  390. package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.js +3 -0
  391. package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.js.map +1 -0
  392. package/dist/node_modules/@mui/material/ScopedCssBaseline/scopedCssBaselineClasses/index.esm.js +10 -0
  393. package/dist/node_modules/@mui/material/ScopedCssBaseline/scopedCssBaselineClasses/index.esm.js.map +1 -0
  394. package/dist/node_modules/@mui/material/ScopedCssBaseline/scopedCssBaselineClasses/index.js +2 -0
  395. package/dist/node_modules/@mui/material/ScopedCssBaseline/scopedCssBaselineClasses/index.js.map +1 -0
  396. package/dist/node_modules/@mui/material/Snackbar/Snackbar/index.esm.js +1 -1
  397. package/dist/node_modules/@mui/material/Snackbar/Snackbar/index.js +1 -1
  398. package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.esm.js +453 -0
  399. package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.esm.js.map +1 -0
  400. package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.js +4 -0
  401. package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.js.map +1 -0
  402. package/dist/node_modules/@mui/material/SpeedDial/speedDialClasses/index.esm.js +11 -0
  403. package/dist/node_modules/@mui/material/SpeedDial/speedDialClasses/index.esm.js.map +1 -0
  404. package/dist/node_modules/@mui/material/SpeedDial/speedDialClasses/index.js +2 -0
  405. package/dist/node_modules/@mui/material/SpeedDial/speedDialClasses/index.js.map +1 -0
  406. package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.esm.js +245 -0
  407. package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.esm.js.map +1 -0
  408. package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.js +2 -0
  409. package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.js.map +1 -0
  410. package/dist/node_modules/@mui/material/SpeedDialAction/speedDialActionClasses/index.esm.js +11 -0
  411. package/dist/node_modules/@mui/material/SpeedDialAction/speedDialActionClasses/index.esm.js.map +1 -0
  412. package/dist/node_modules/@mui/material/SpeedDialAction/speedDialActionClasses/index.js +2 -0
  413. package/dist/node_modules/@mui/material/SpeedDialAction/speedDialActionClasses/index.js.map +1 -0
  414. package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.esm.js +137 -0
  415. package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.esm.js.map +1 -0
  416. package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.js +4 -0
  417. package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.js.map +1 -0
  418. package/dist/node_modules/@mui/material/SpeedDialIcon/speedDialIconClasses/index.esm.js +11 -0
  419. package/dist/node_modules/@mui/material/SpeedDialIcon/speedDialIconClasses/index.esm.js.map +1 -0
  420. package/dist/node_modules/@mui/material/SpeedDialIcon/speedDialIconClasses/index.js +2 -0
  421. package/dist/node_modules/@mui/material/SpeedDialIcon/speedDialIconClasses/index.js.map +1 -0
  422. package/dist/node_modules/@mui/material/Step/Step/index.esm.js +169 -0
  423. package/dist/node_modules/@mui/material/Step/Step/index.esm.js.map +1 -0
  424. package/dist/node_modules/@mui/material/Step/Step/index.js +3 -0
  425. package/dist/node_modules/@mui/material/Step/Step/index.js.map +1 -0
  426. package/dist/node_modules/@mui/material/Step/StepContext/index.esm.js +10 -0
  427. package/dist/node_modules/@mui/material/Step/StepContext/index.esm.js.map +1 -0
  428. package/dist/node_modules/@mui/material/Step/StepContext/index.js +2 -0
  429. package/dist/node_modules/@mui/material/Step/StepContext/index.js.map +1 -0
  430. package/dist/node_modules/@mui/material/Step/stepClasses/index.esm.js +10 -0
  431. package/dist/node_modules/@mui/material/Step/stepClasses/index.esm.js.map +1 -0
  432. package/dist/node_modules/@mui/material/Step/stepClasses/index.js +2 -0
  433. package/dist/node_modules/@mui/material/Step/stepClasses/index.js.map +1 -0
  434. package/dist/node_modules/@mui/material/StepButton/StepButton/index.esm.js +132 -0
  435. package/dist/node_modules/@mui/material/StepButton/StepButton/index.esm.js.map +1 -0
  436. package/dist/node_modules/@mui/material/StepButton/StepButton/index.js +3 -0
  437. package/dist/node_modules/@mui/material/StepButton/StepButton/index.js.map +1 -0
  438. package/dist/node_modules/@mui/material/StepButton/stepButtonClasses/index.esm.js +11 -0
  439. package/dist/node_modules/@mui/material/StepButton/stepButtonClasses/index.esm.js.map +1 -0
  440. package/dist/node_modules/@mui/material/StepButton/stepButtonClasses/index.js +2 -0
  441. package/dist/node_modules/@mui/material/StepButton/stepButtonClasses/index.js.map +1 -0
  442. package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.esm.js +136 -0
  443. package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.esm.js.map +1 -0
  444. package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.js +3 -0
  445. package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.js.map +1 -0
  446. package/dist/node_modules/@mui/material/StepConnector/stepConnectorClasses/index.esm.js +10 -0
  447. package/dist/node_modules/@mui/material/StepConnector/stepConnectorClasses/index.esm.js.map +1 -0
  448. package/dist/node_modules/@mui/material/StepConnector/stepConnectorClasses/index.js +2 -0
  449. package/dist/node_modules/@mui/material/StepConnector/stepConnectorClasses/index.js.map +1 -0
  450. package/dist/node_modules/@mui/material/StepContent/StepContent/index.esm.js +152 -0
  451. package/dist/node_modules/@mui/material/StepContent/StepContent/index.esm.js.map +1 -0
  452. package/dist/node_modules/@mui/material/StepContent/StepContent/index.js +2 -0
  453. package/dist/node_modules/@mui/material/StepContent/StepContent/index.js.map +1 -0
  454. package/dist/node_modules/@mui/material/StepContent/stepContentClasses/index.esm.js +10 -0
  455. package/dist/node_modules/@mui/material/StepContent/stepContentClasses/index.esm.js.map +1 -0
  456. package/dist/node_modules/@mui/material/StepContent/stepContentClasses/index.js +2 -0
  457. package/dist/node_modules/@mui/material/StepContent/stepContentClasses/index.js.map +1 -0
  458. package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.esm.js +161 -0
  459. package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.esm.js.map +1 -0
  460. package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.js +2 -0
  461. package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.js.map +1 -0
  462. package/dist/node_modules/@mui/material/StepIcon/stepIconClasses/index.esm.js +11 -0
  463. package/dist/node_modules/@mui/material/StepIcon/stepIconClasses/index.esm.js.map +1 -0
  464. package/dist/node_modules/@mui/material/StepIcon/stepIconClasses/index.js +2 -0
  465. package/dist/node_modules/@mui/material/StepIcon/stepIconClasses/index.js.map +1 -0
  466. package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.esm.js +239 -0
  467. package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.esm.js.map +1 -0
  468. package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.js +3 -0
  469. package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.js.map +1 -0
  470. package/dist/node_modules/@mui/material/StepLabel/stepLabelClasses/index.esm.js +11 -0
  471. package/dist/node_modules/@mui/material/StepLabel/stepLabelClasses/index.esm.js.map +1 -0
  472. package/dist/node_modules/@mui/material/StepLabel/stepLabelClasses/index.js +2 -0
  473. package/dist/node_modules/@mui/material/StepLabel/stepLabelClasses/index.js.map +1 -0
  474. package/dist/node_modules/@mui/material/Stepper/Stepper/index.esm.js +155 -0
  475. package/dist/node_modules/@mui/material/Stepper/Stepper/index.esm.js.map +1 -0
  476. package/dist/node_modules/@mui/material/Stepper/Stepper/index.js +3 -0
  477. package/dist/node_modules/@mui/material/Stepper/Stepper/index.js.map +1 -0
  478. package/dist/node_modules/@mui/material/Stepper/StepperContext/index.esm.js +10 -0
  479. package/dist/node_modules/@mui/material/Stepper/StepperContext/index.esm.js.map +1 -0
  480. package/dist/node_modules/@mui/material/Stepper/StepperContext/index.js +2 -0
  481. package/dist/node_modules/@mui/material/Stepper/StepperContext/index.js.map +1 -0
  482. package/dist/node_modules/@mui/material/Stepper/stepperClasses/index.esm.js +10 -0
  483. package/dist/node_modules/@mui/material/Stepper/stepperClasses/index.esm.js.map +1 -0
  484. package/dist/node_modules/@mui/material/Stepper/stepperClasses/index.js +2 -0
  485. package/dist/node_modules/@mui/material/Stepper/stepperClasses/index.js.map +1 -0
  486. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.esm.js +82 -0
  487. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.esm.js.map +1 -0
  488. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.js +3 -0
  489. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.js.map +1 -0
  490. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.esm.js +538 -0
  491. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.esm.js.map +1 -0
  492. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.js +2 -0
  493. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.js.map +1 -0
  494. package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.esm.js +443 -0
  495. package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.esm.js.map +1 -0
  496. package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.js +3 -0
  497. package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.js.map +1 -0
  498. package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.esm.js +179 -0
  499. package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.esm.js.map +1 -0
  500. package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.js +3 -0
  501. package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.js.map +1 -0
  502. package/dist/node_modules/@mui/material/TablePagination/tablePaginationClasses/index.esm.js +11 -0
  503. package/dist/node_modules/@mui/material/TablePagination/tablePaginationClasses/index.esm.js.map +1 -0
  504. package/dist/node_modules/@mui/material/TablePagination/tablePaginationClasses/index.js +2 -0
  505. package/dist/node_modules/@mui/material/TablePagination/tablePaginationClasses/index.js.map +1 -0
  506. package/dist/node_modules/@mui/material/Tabs/Tabs/index.esm.js +1 -1
  507. package/dist/node_modules/@mui/material/Tabs/Tabs/index.js +1 -1
  508. package/dist/node_modules/@mui/material/Zoom/Zoom/index.esm.js +196 -0
  509. package/dist/node_modules/@mui/material/Zoom/Zoom/index.esm.js.map +1 -0
  510. package/dist/node_modules/@mui/material/Zoom/Zoom/index.js +3 -0
  511. package/dist/node_modules/@mui/material/Zoom/Zoom/index.js.map +1 -0
  512. package/dist/node_modules/@mui/material/internal/svg-icons/Add/index.esm.js +9 -0
  513. package/dist/node_modules/@mui/material/internal/svg-icons/Add/index.esm.js.map +1 -0
  514. package/dist/node_modules/@mui/material/internal/svg-icons/Add/index.js +2 -0
  515. package/dist/node_modules/@mui/material/internal/svg-icons/Add/index.js.map +1 -0
  516. package/dist/node_modules/@mui/material/internal/svg-icons/CheckCircle/index.esm.js +9 -0
  517. package/dist/node_modules/@mui/material/internal/svg-icons/CheckCircle/index.esm.js.map +1 -0
  518. package/dist/node_modules/@mui/material/internal/svg-icons/CheckCircle/index.js +2 -0
  519. package/dist/node_modules/@mui/material/internal/svg-icons/CheckCircle/index.js.map +1 -0
  520. package/dist/node_modules/@mui/material/internal/svg-icons/Star/index.esm.js +9 -0
  521. package/dist/node_modules/@mui/material/internal/svg-icons/Star/index.esm.js.map +1 -0
  522. package/dist/node_modules/@mui/material/internal/svg-icons/Star/index.js +2 -0
  523. package/dist/node_modules/@mui/material/internal/svg-icons/Star/index.js.map +1 -0
  524. package/dist/node_modules/@mui/material/internal/svg-icons/StarBorder/index.esm.js +9 -0
  525. package/dist/node_modules/@mui/material/internal/svg-icons/StarBorder/index.esm.js.map +1 -0
  526. package/dist/node_modules/@mui/material/internal/svg-icons/StarBorder/index.js +2 -0
  527. package/dist/node_modules/@mui/material/internal/svg-icons/StarBorder/index.js.map +1 -0
  528. package/dist/node_modules/@mui/material/internal/svg-icons/Warning/index.esm.js +9 -0
  529. package/dist/node_modules/@mui/material/internal/svg-icons/Warning/index.esm.js.map +1 -0
  530. package/dist/node_modules/@mui/material/internal/svg-icons/Warning/index.js +2 -0
  531. package/dist/node_modules/@mui/material/internal/svg-icons/Warning/index.js.map +1 -0
  532. package/dist/node_modules/@mui/material/useScrollTrigger/useScrollTrigger/index.esm.js +51 -0
  533. package/dist/node_modules/@mui/material/useScrollTrigger/useScrollTrigger/index.esm.js.map +1 -0
  534. package/dist/node_modules/@mui/material/useScrollTrigger/useScrollTrigger/index.js +2 -0
  535. package/dist/node_modules/@mui/material/useScrollTrigger/useScrollTrigger/index.js.map +1 -0
  536. package/dist/node_modules/@mui/system/colorManipulator/index.esm.js +2 -2
  537. package/dist/node_modules/@mui/system/colorManipulator/index.js +1 -1
  538. package/dist/node_modules/@mui/system/colorManipulator/index.js.map +1 -1
  539. package/dist/node_modules/@mui/system/createStyled/index.esm.js +6 -6
  540. package/dist/node_modules/@mui/system/createStyled/index.js +1 -1
  541. package/dist/node_modules/@mui/system/createStyled/index.js.map +1 -1
  542. package/dist/node_modules/@mui/system/esm/Stack/createStack/index.esm.js +1 -1
  543. package/dist/node_modules/@mui/system/esm/Stack/createStack/index.js +2 -2
  544. package/dist/node_modules/@mui/system/useThemeWithoutDefault/index.esm.js +1 -1
  545. package/dist/node_modules/@mui/system/useThemeWithoutDefault/index.js +1 -1
  546. package/dist/node_modules/d3-axis/src/axis/index.esm.js +5 -1
  547. package/dist/node_modules/d3-axis/src/axis/index.esm.js.map +1 -1
  548. package/dist/node_modules/d3-axis/src/axis/index.js +1 -1
  549. package/dist/node_modules/d3-axis/src/axis/index.js.map +1 -1
  550. package/dist/node_modules/d3-shape/src/arc/index.esm.js +134 -0
  551. package/dist/node_modules/d3-shape/src/arc/index.esm.js.map +1 -0
  552. package/dist/node_modules/d3-shape/src/arc/index.js +2 -0
  553. package/dist/node_modules/d3-shape/src/arc/index.js.map +1 -0
  554. package/dist/node_modules/d3-shape/src/descending/index.esm.js +7 -0
  555. package/dist/node_modules/d3-shape/src/descending/index.esm.js.map +1 -0
  556. package/dist/node_modules/d3-shape/src/descending/index.js +2 -0
  557. package/dist/node_modules/d3-shape/src/descending/index.js.map +1 -0
  558. package/dist/node_modules/d3-shape/src/identity/index.esm.js +7 -0
  559. package/dist/node_modules/d3-shape/src/identity/index.esm.js.map +1 -0
  560. package/dist/node_modules/d3-shape/src/identity/index.js +2 -0
  561. package/dist/node_modules/d3-shape/src/identity/index.js.map +1 -0
  562. package/dist/node_modules/d3-shape/src/math/index.esm.js +33 -0
  563. package/dist/node_modules/d3-shape/src/math/index.esm.js.map +1 -0
  564. package/dist/node_modules/d3-shape/src/math/index.js +2 -0
  565. package/dist/node_modules/d3-shape/src/math/index.js.map +1 -0
  566. package/dist/node_modules/d3-shape/src/pie/index.esm.js +56 -0
  567. package/dist/node_modules/d3-shape/src/pie/index.esm.js.map +1 -0
  568. package/dist/node_modules/d3-shape/src/pie/index.js +2 -0
  569. package/dist/node_modules/d3-shape/src/pie/index.js.map +1 -0
  570. package/dist/node_modules/prop-types/index/index.esm.js +1 -1
  571. package/dist/node_modules/prop-types/index/index.js +1 -1
  572. package/dist/node_modules/prop-types/index/index.js.map +1 -1
  573. package/dist/redux/hooks/index.esm.js +1 -1
  574. package/dist/src/components/charts/donut-chart/donut-chart.d.ts +1 -2
  575. package/dist/src/components/charts/index.d.ts +8 -0
  576. package/dist/src/components/confirm-modal/confirm-modal.d.ts +1 -2
  577. package/dist/src/components/confirm-modal/index.d.ts +1 -0
  578. package/dist/src/components/editor/custom-editor.d.ts +12 -8
  579. package/dist/src/components/grid/grid-card/grid-card.d.ts +10 -1
  580. package/dist/src/components/index.d.ts +228 -101
  581. package/dist/src/components/inventory-reports-title-bar/component/reportFilter.d.ts +3 -2
  582. package/dist/src/components/list/list.d.ts +2 -1
  583. package/dist/src/components/module-button/module-button.d.ts +10 -1
  584. package/dist/src/components/mulitline/multiline.d.ts +2 -2
  585. package/dist/src/components/page-navigator/page-navigator.d.ts +3 -3
  586. package/dist/src/components/parties-modal/parties-modal.d.ts +3 -3
  587. package/dist/src/components/rfq-response/item-response-details.d.ts +2 -1
  588. package/dist/src/components/tab-bar-ui/tab-bar-ui.d.ts +3 -3
  589. package/dist/src/components/tabs/tabs.d.ts +2 -2
  590. package/dist/src/hooks/use-translations.d.ts +2 -1
  591. package/dist/src/hooks/useCheckSkuAndName.d.ts +4 -2
  592. package/dist/src/layout/fullScreen/fullScreen.d.ts +5 -1
  593. package/dist/src/layout/sidebarScreen/sidebarScreen.d.ts +3 -3
  594. package/dist/src/views/afterAuth/dashboard/dashboard.d.ts +2 -1
  595. package/dist/src/views/form-builder/element-edit-forms/column-width.d.ts +5 -3
  596. package/dist/style.css +74 -68
  597. package/dist/utils/common/index.esm.js +1 -1
  598. package/dist/views/afterAuth/dashboard/dashboard/index.esm.js +5 -4
  599. package/dist/views/afterAuth/dashboard/dashboard/index.esm.js.map +1 -1
  600. package/dist/views/afterAuth/dashboard/dashboard/index.js +3 -3
  601. package/dist/views/afterAuth/dashboard/dashboard/index.js.map +1 -1
  602. package/dist/views/afterAuth/dashboard/dashboard.d.ts +2 -1
  603. package/dist/views/form-builder/custom-form/index.esm.js +1 -1
  604. package/dist/views/form-builder/custom-form/index.js +5 -5
  605. package/dist/views/form-builder/custom-form/index.js.map +1 -1
  606. package/dist/views/form-builder/element-edit-forms/column-width/index.esm.js +4 -3
  607. package/dist/views/form-builder/element-edit-forms/column-width/index.esm.js.map +1 -1
  608. package/dist/views/form-builder/element-edit-forms/column-width/index.js +3 -3
  609. package/dist/views/form-builder/element-edit-forms/column-width/index.js.map +1 -1
  610. package/dist/views/form-builder/element-edit-forms/column-width.d.ts +5 -3
  611. package/dist/views/index.esm.js +56 -56
  612. package/dist/views/index.js +1 -1
  613. package/package.json +1 -1
  614. package/dist/components/examples/FlexibleReduxExample/index.esm.js +0 -154
  615. package/dist/components/examples/FlexibleReduxExample/index.esm.js.map +0 -1
  616. package/dist/components/examples/FlexibleReduxExample/index.js +0 -19
  617. package/dist/components/examples/FlexibleReduxExample/index.js.map +0 -1
  618. package/dist/components/footer/index.esm.js +0 -71
  619. package/dist/components/footer/index.esm.js.map +0 -1
  620. package/dist/components/footer/index.js +0 -7
  621. package/dist/components/footer/index.js.map +0 -1
  622. package/dist/components/header/header-enhanced/index.esm.js +0 -405
  623. package/dist/components/header/header-enhanced/index.esm.js.map +0 -1
  624. package/dist/components/header/header-enhanced/index.js +0 -33
  625. package/dist/components/header/header-enhanced/index.js.map +0 -1
  626. package/dist/components/header copy/index.esm.js +0 -131
  627. package/dist/components/header copy/index.esm.js.map +0 -1
  628. package/dist/components/header copy/index.js +0 -11
  629. package/dist/components/header copy/index.js.map +0 -1
  630. package/dist/components/inventory-reports-title-bar/component/reportFilter/index.esm.js +0 -400
  631. package/dist/components/inventory-reports-title-bar/component/reportFilter/index.esm.js.map +0 -1
  632. package/dist/components/inventory-reports-title-bar/component/reportFilter/index.js +0 -41
  633. package/dist/components/inventory-reports-title-bar/component/reportFilter/index.js.map +0 -1
  634. package/dist/components/share-modal/share-modal-enhanced/index.esm.js +0 -288
  635. package/dist/components/share-modal/share-modal-enhanced/index.esm.js.map +0 -1
  636. package/dist/components/share-modal/share-modal-enhanced/index.js +0 -24
  637. package/dist/components/share-modal/share-modal-enhanced/index.js.map +0 -1
@@ -1,7 +1,5 @@
1
- import { getAugmentedNamespace } from "../_commonjsHelpers/index.esm.js";
2
- import * as index from "../../node_modules/@mui/material/utils/index/index.esm.js";
3
- var require$$0 = /* @__PURE__ */ getAugmentedNamespace(index);
1
+ var propTypes = { exports: {} };
4
2
  export {
5
- require$$0 as default
3
+ propTypes as __module
6
4
  };
7
5
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
1
+ {"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,7 +1,7 @@
1
1
  import { getAugmentedNamespace } from "../_commonjsHelpers/index.esm.js";
2
- import * as index from "../../node_modules/@mui/utils/esm/formatMuiErrorMessage/index/index.esm.js";
3
- var require$$1 = /* @__PURE__ */ getAugmentedNamespace(index);
2
+ import * as index from "../../node_modules/@mui/system/esm/createTheme/index/index.esm.js";
3
+ var require$$7 = /* @__PURE__ */ getAugmentedNamespace(index);
4
4
  export {
5
- require$$1 as default
5
+ require$$7 as default
6
6
  };
7
7
  //# sourceMappingURL=index.esm10.js.map
@@ -1,7 +1,7 @@
1
1
  import { getAugmentedNamespace } from "../_commonjsHelpers/index.esm.js";
2
- import * as index from "../../node_modules/@mui/utils/esm/clamp/index/index.esm.js";
3
- var require$$2 = /* @__PURE__ */ getAugmentedNamespace(index);
2
+ import * as index from "../../node_modules/@mui/system/esm/styleFunctionSx/index/index.esm.js";
3
+ var require$$8 = /* @__PURE__ */ getAugmentedNamespace(index);
4
4
  export {
5
- require$$2 as default
5
+ require$$8 as default
6
6
  };
7
7
  //# sourceMappingURL=index.esm11.js.map
@@ -1,5 +1,5 @@
1
- var propTypes = { exports: {} };
1
+ var dist = { exports: {} };
2
2
  export {
3
- propTypes as __module
3
+ dist as __module
4
4
  };
5
5
  //# sourceMappingURL=index.esm2.js.map
@@ -1,5 +1,7 @@
1
- var dist = { exports: {} };
1
+ import { getAugmentedNamespace } from "../_commonjsHelpers/index.esm.js";
2
+ import * as index from "../../node_modules/@mui/material/utils/index/index.esm.js";
3
+ var require$$0 = /* @__PURE__ */ getAugmentedNamespace(index);
2
4
  export {
3
- dist as __module
5
+ require$$0 as default
4
6
  };
5
7
  //# sourceMappingURL=index.esm3.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index.esm3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
@@ -1,5 +1,5 @@
1
1
  import { getAugmentedNamespace } from "../_commonjsHelpers/index.esm.js";
2
- import * as index from "../../node_modules/@mui/styled-engine/index/index.esm.js";
2
+ import * as index from "../../node_modules/@mui/utils/esm/formatMuiErrorMessage/index/index.esm.js";
3
3
  var require$$1 = /* @__PURE__ */ getAugmentedNamespace(index);
4
4
  export {
5
5
  require$$1 as default
@@ -1,7 +1,7 @@
1
1
  import { getAugmentedNamespace } from "../_commonjsHelpers/index.esm.js";
2
- import * as index from "../../node_modules/@mui/utils/esm/deepmerge/index/index.esm.js";
3
- var require$$4 = /* @__PURE__ */ getAugmentedNamespace(index);
2
+ import * as index from "../../node_modules/@mui/utils/esm/clamp/index/index.esm.js";
3
+ var require$$2 = /* @__PURE__ */ getAugmentedNamespace(index);
4
4
  export {
5
- require$$4 as default
5
+ require$$2 as default
6
6
  };
7
7
  //# sourceMappingURL=index.esm5.js.map
@@ -1,7 +1,7 @@
1
1
  import { getAugmentedNamespace } from "../_commonjsHelpers/index.esm.js";
2
- import * as index from "../../node_modules/@mui/utils/esm/capitalize/index/index.esm.js";
3
- var require$$5 = /* @__PURE__ */ getAugmentedNamespace(index);
2
+ import * as index from "../../node_modules/@mui/styled-engine/index/index.esm.js";
3
+ var require$$1 = /* @__PURE__ */ getAugmentedNamespace(index);
4
4
  export {
5
- require$$5 as default
5
+ require$$1 as default
6
6
  };
7
7
  //# sourceMappingURL=index.esm6.js.map
@@ -1,7 +1,7 @@
1
1
  import { getAugmentedNamespace } from "../_commonjsHelpers/index.esm.js";
2
- import * as index from "../../node_modules/@mui/utils/esm/getDisplayName/index/index.esm.js";
3
- var require$$6 = /* @__PURE__ */ getAugmentedNamespace(index);
2
+ import * as index from "../../node_modules/@mui/utils/esm/deepmerge/index/index.esm.js";
3
+ var require$$4 = /* @__PURE__ */ getAugmentedNamespace(index);
4
4
  export {
5
- require$$6 as default
5
+ require$$4 as default
6
6
  };
7
7
  //# sourceMappingURL=index.esm7.js.map
@@ -1,7 +1,7 @@
1
1
  import { getAugmentedNamespace } from "../_commonjsHelpers/index.esm.js";
2
- import * as index from "../../node_modules/@mui/system/esm/createTheme/index/index.esm.js";
3
- var require$$7 = /* @__PURE__ */ getAugmentedNamespace(index);
2
+ import * as index from "../../node_modules/@mui/utils/esm/capitalize/index/index.esm.js";
3
+ var require$$5 = /* @__PURE__ */ getAugmentedNamespace(index);
4
4
  export {
5
- require$$7 as default
5
+ require$$5 as default
6
6
  };
7
7
  //# sourceMappingURL=index.esm8.js.map
@@ -1,7 +1,7 @@
1
1
  import { getAugmentedNamespace } from "../_commonjsHelpers/index.esm.js";
2
- import * as index from "../../node_modules/@mui/system/esm/styleFunctionSx/index/index.esm.js";
3
- var require$$8 = /* @__PURE__ */ getAugmentedNamespace(index);
2
+ import * as index from "../../node_modules/@mui/utils/esm/getDisplayName/index/index.esm.js";
3
+ var require$$6 = /* @__PURE__ */ getAugmentedNamespace(index);
4
4
  export {
5
- require$$8 as default
5
+ require$$6 as default
6
6
  };
7
7
  //# sourceMappingURL=index.esm9.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_commonjsHelpers/index.js"),r=require("../../node_modules/@mui/material/utils/index/index.js"),s=/* @__PURE__ */e.getAugmentedNamespace(r);exports.default=s;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.__module={exports:{}};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_commonjsHelpers/index.js"),r=require("../../node_modules/@mui/utils/esm/formatMuiErrorMessage/index/index.js"),s=/* @__PURE__ */e.getAugmentedNamespace(r);exports.default=s;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_commonjsHelpers/index.js"),s=require("../../node_modules/@mui/system/esm/createTheme/index/index.js"),r=/* @__PURE__ */e.getAugmentedNamespace(s);exports.default=r;
2
2
  //# sourceMappingURL=index10.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_commonjsHelpers/index.js"),s=require("../../node_modules/@mui/utils/esm/clamp/index/index.js"),r=/* @__PURE__ */e.getAugmentedNamespace(s);exports.default=r;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_commonjsHelpers/index.js"),s=require("../../node_modules/@mui/system/esm/styleFunctionSx/index/index.js"),t=/* @__PURE__ */e.getAugmentedNamespace(s);exports.default=t;
2
2
  //# sourceMappingURL=index11.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.__module={exports:{}};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_commonjsHelpers/index.js"),r=require("../../node_modules/@mui/material/utils/index/index.js"),s=/* @__PURE__ */e.getAugmentedNamespace(r);exports.default=s;
2
2
  //# sourceMappingURL=index3.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_commonjsHelpers/index.js"),s=require("../../node_modules/@mui/styled-engine/index/index.js"),r=/* @__PURE__ */e.getAugmentedNamespace(s);exports.default=r;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_commonjsHelpers/index.js"),r=require("../../node_modules/@mui/utils/esm/formatMuiErrorMessage/index/index.js"),s=/* @__PURE__ */e.getAugmentedNamespace(r);exports.default=s;
2
2
  //# sourceMappingURL=index4.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_commonjsHelpers/index.js"),s=require("../../node_modules/@mui/utils/esm/deepmerge/index/index.js"),r=/* @__PURE__ */e.getAugmentedNamespace(s);exports.default=r;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_commonjsHelpers/index.js"),s=require("../../node_modules/@mui/utils/esm/clamp/index/index.js"),r=/* @__PURE__ */e.getAugmentedNamespace(s);exports.default=r;
2
2
  //# sourceMappingURL=index5.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_commonjsHelpers/index.js"),s=require("../../node_modules/@mui/utils/esm/capitalize/index/index.js"),i=/* @__PURE__ */e.getAugmentedNamespace(s);exports.default=i;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_commonjsHelpers/index.js"),s=require("../../node_modules/@mui/styled-engine/index/index.js"),r=/* @__PURE__ */e.getAugmentedNamespace(s);exports.default=r;
2
2
  //# sourceMappingURL=index6.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_commonjsHelpers/index.js"),s=require("../../node_modules/@mui/utils/esm/getDisplayName/index/index.js"),r=/* @__PURE__ */e.getAugmentedNamespace(s);exports.default=r;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_commonjsHelpers/index.js"),s=require("../../node_modules/@mui/utils/esm/deepmerge/index/index.js"),r=/* @__PURE__ */e.getAugmentedNamespace(s);exports.default=r;
2
2
  //# sourceMappingURL=index7.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_commonjsHelpers/index.js"),s=require("../../node_modules/@mui/system/esm/createTheme/index/index.js"),r=/* @__PURE__ */e.getAugmentedNamespace(s);exports.default=r;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_commonjsHelpers/index.js"),s=require("../../node_modules/@mui/utils/esm/capitalize/index/index.js"),i=/* @__PURE__ */e.getAugmentedNamespace(s);exports.default=i;
2
2
  //# sourceMappingURL=index8.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_commonjsHelpers/index.js"),s=require("../../node_modules/@mui/system/esm/styleFunctionSx/index/index.js"),t=/* @__PURE__ */e.getAugmentedNamespace(s);exports.default=t;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../_commonjsHelpers/index.js"),s=require("../../node_modules/@mui/utils/esm/getDisplayName/index/index.js"),r=/* @__PURE__ */e.getAugmentedNamespace(s);exports.default=r;
2
2
  //# sourceMappingURL=index9.js.map
@@ -0,0 +1,154 @@
1
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
+ import { useRef, useEffect } from "react";
3
+ /* empty css */
4
+ import { images } from "../../../images/index.esm.js";
5
+ import { Avatar } from "../../avatar/avatar/index.esm.js";
6
+ import { Accordion } from "../../accordion/accordion/index.esm.js";
7
+ import { useAuth } from "../../../hooks/useAuth/index.esm.js";
8
+ import { formatText } from "../../../utils/format-text/index.esm.js";
9
+ import { Typography } from "../../typography/typography/index.esm.js";
10
+ import TimelineItem from "../../../node_modules/@mui/lab/TimelineItem/TimelineItem/index.esm.js";
11
+ import TimelineSeparator from "../../../node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.esm.js";
12
+ import TimelineDot from "../../../node_modules/@mui/lab/TimelineDot/TimelineDot/index.esm.js";
13
+ import TimelineConnector from "../../../node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.esm.js";
14
+ import TimelineContent from "../../../node_modules/@mui/lab/TimelineContent/TimelineContent/index.esm.js";
15
+ import Timeline from "../../../node_modules/@mui/lab/Timeline/Timeline/index.esm.js";
16
+ import styled from "../../../node_modules/@mui/material/styles/styled/index.esm.js";
17
+ import TextField from "../../../node_modules/@mui/material/TextField/TextField/index.esm.js";
18
+ const StyledTextField = styled(TextField)(({ theme: { palette } }) => {
19
+ var _a, _b, _c, _d;
20
+ return {
21
+ width: "100%",
22
+ "& .MuiOutlinedInput-root": {
23
+ height: "2rem",
24
+ "& fieldset": {
25
+ borderColor: (_a = palette.theme) == null ? void 0 : _a.secondary[300],
26
+ borderWidth: 2
27
+ },
28
+ "&:hover fieldset": {
29
+ borderColor: (_b = palette.theme) == null ? void 0 : _b.secondary[300]
30
+ },
31
+ "&.Mui-focused fieldset": {
32
+ // borderWidth: "0.0625rem",
33
+ // borderStyle: "solid",
34
+ borderColor: (_c = palette.theme) == null ? void 0 : _c.primary[700]
35
+ },
36
+ "&.Mui-error fieldset": {
37
+ borderColor: (_d = palette.theme) == null ? void 0 : _d.error[600]
38
+ }
39
+ }
40
+ };
41
+ });
42
+ const ActivityTag = (props) => {
43
+ const {
44
+ type,
45
+ data,
46
+ placeholder,
47
+ error = false,
48
+ textfield,
49
+ textfieldTitle,
50
+ onCommentSubmit,
51
+ onChange,
52
+ containerProps,
53
+ accordion = true,
54
+ ...rest
55
+ } = props;
56
+ const { user } = useAuth();
57
+ const chatRef = useRef(null);
58
+ const scrollToBottom = () => {
59
+ if (chatRef.current) {
60
+ chatRef.current.scrollTop = chatRef.current.scrollHeight;
61
+ }
62
+ };
63
+ useEffect(() => {
64
+ scrollToBottom();
65
+ }, [data]);
66
+ const formatDateTime = (dateTime) => {
67
+ const currentDate = /* @__PURE__ */ new Date();
68
+ const commentDate = new Date(dateTime);
69
+ const timeDifference = currentDate.getTime() - commentDate.getTime();
70
+ const secondsDifference = Math.floor(timeDifference / 1e3);
71
+ const minutesDifference = Math.floor(secondsDifference / 60);
72
+ const hoursDifference = Math.floor(minutesDifference / 60);
73
+ if (secondsDifference < 60) {
74
+ return `${secondsDifference} second${secondsDifference !== 1 ? "s" : ""} ago`;
75
+ } else if (minutesDifference < 60) {
76
+ return `${minutesDifference} minute${minutesDifference !== 1 ? "s" : ""} ago`;
77
+ } else if (hoursDifference < 24) {
78
+ return `${hoursDifference} hour${hoursDifference !== 1 ? "s" : ""} ago`;
79
+ } else {
80
+ const optionsDate = {
81
+ day: "numeric",
82
+ month: "short",
83
+ year: "numeric"
84
+ };
85
+ const optionsTime = {
86
+ hour: "numeric",
87
+ minute: "numeric",
88
+ hour12: false
89
+ };
90
+ const formattedDate = commentDate.toLocaleString("en-US", optionsDate);
91
+ const formattedTime = commentDate.toLocaleString("en-US", optionsTime);
92
+ return `${formattedDate} • ${formattedTime}`;
93
+ }
94
+ };
95
+ const handleKeyPress = (event) => {
96
+ if (event.key === "Enter") {
97
+ const commentValue = event.target.value;
98
+ if (commentValue.trim() !== "") {
99
+ onCommentSubmit(commentValue);
100
+ scrollToBottom();
101
+ }
102
+ }
103
+ };
104
+ const timelineItems = type === "activity" ? data == null ? void 0 : data.map((item, index) => /* @__PURE__ */ jsx("div", { className: "Timeline--Activity", children: /* @__PURE__ */ jsxs(TimelineItem, { children: [
105
+ /* @__PURE__ */ jsxs(TimelineSeparator, { children: [
106
+ /* @__PURE__ */ jsx(TimelineDot, {}),
107
+ data.length - 1 !== index && /* @__PURE__ */ jsx(TimelineConnector, {})
108
+ ] }),
109
+ /* @__PURE__ */ jsx(TimelineContent, { className: "Timeline--Content", children: /* @__PURE__ */ jsxs(Typography, { type: "s4", color: "theme.secondary.800", className: "Timeline--ActivityLogItem", children: [
110
+ item.message,
111
+ " · ",
112
+ formatDateTime(item.created_at)
113
+ ] }) })
114
+ ] }, index) })) : /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("div", { className: "Timeline--Chat", ref: chatRef, children: data.map((item, index) => /* @__PURE__ */ jsxs(TimelineItem, { children: [
115
+ /* @__PURE__ */ jsxs(TimelineSeparator, { children: [
116
+ /* @__PURE__ */ jsx(Avatar, { src: images.chat, size: 17 }),
117
+ /* @__PURE__ */ jsx(TimelineConnector, {})
118
+ ] }),
119
+ /* @__PURE__ */ jsxs(TimelineContent, { children: [
120
+ item.name,
121
+ " commented this · ",
122
+ formatDateTime(item.created_at),
123
+ /* @__PURE__ */ jsx("div", { className: "Timeline--CommentWrap", children: /* @__PURE__ */ jsx("p", { className: "Timeline--Comment", children: item.message }) })
124
+ ] })
125
+ ] }, index)) }) });
126
+ return (
127
+ // <Box position='relative'>
128
+ /* @__PURE__ */ jsx("div", { className: "ActivityContainer", ...containerProps, children: /* @__PURE__ */ jsxs(Timeline, { className: "Timeline", children: [
129
+ accordion ? /* @__PURE__ */ jsx(Accordion, { title: "Activities", accordionProps: { defaultExpanded: true }, children: timelineItems }) : /* @__PURE__ */ jsx("div", { className: "Timeline--ActivityBox", children: timelineItems }),
130
+ textfield && /* @__PURE__ */ jsxs("div", { className: "Timeline--CommentBox", children: [
131
+ textfieldTitle,
132
+ /* @__PURE__ */ jsxs("div", { className: "Timeline--CommentText", children: [
133
+ /* @__PURE__ */ jsx(Avatar, { size: 32, alt: formatText(user == null ? void 0 : user.full_name), className: "avatar-class" }),
134
+ /* @__PURE__ */ jsx(
135
+ StyledTextField,
136
+ {
137
+ error,
138
+ placeholder,
139
+ className: "textfield",
140
+ onKeyDown: handleKeyPress,
141
+ onChange,
142
+ ...rest
143
+ }
144
+ )
145
+ ] })
146
+ ] })
147
+ ] }) })
148
+ );
149
+ };
150
+ export {
151
+ ActivityTag,
152
+ ActivityTag as default
153
+ };
154
+ //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.esm.js","sources":["../../../../src/components/activity-tag/activity-tag.tsx"],"sourcesContent":["import { useRef, useEffect } from \"react\";\nimport { TextField as MUITextField, styled } from \"@mui/material\";\nimport Timeline from \"@mui/lab/Timeline\";\nimport TimelineItem from \"@mui/lab/TimelineItem\";\nimport TimelineSeparator from \"@mui/lab/TimelineSeparator\";\nimport TimelineConnector from \"@mui/lab/TimelineConnector\";\nimport TimelineContent from \"@mui/lab/TimelineContent\";\nimport TimelineDot from \"@mui/lab/TimelineDot\";\nimport \"./activity-tag.scss\";\nimport images from \"../../assets/images\";\nimport Avatar from \"../avatar/avatar\";\nimport Accordion from \"../accordion/accordion\";\nimport { useAuth } from \"../../hooks/useAuth\";\nimport formatText from \"../../utils/format-text\";\nimport Typography from \"../typography/typography\";\n\nconst StyledTextField = styled(MUITextField)(({ theme: { palette } }) => ({\n width: \"100%\",\n \"& .MuiOutlinedInput-root\": {\n height: '2rem',\n \"& fieldset\": {\n borderColor: palette.theme?.secondary[300],\n borderWidth: 2\n },\n \"&:hover fieldset\": {\n borderColor: palette.theme?.secondary[300],\n },\n \"&.Mui-focused fieldset\": {\n // borderWidth: \"0.0625rem\",\n // borderStyle: \"solid\",\n borderColor: palette.theme?.primary[700],\n },\n \"&.Mui-error fieldset\": {\n borderColor: palette.theme?.error[600],\n },\n },\n}));\n\nexport const ActivityTag = (props: any) => {\n const {\n type,\n data,\n placeholder,\n error = false,\n textfield,\n textfieldTitle,\n onCommentSubmit,\n onChange,\n containerProps,\n accordion = true,\n ...rest\n } = props;\n const { user } = useAuth()\n\n const chatRef = useRef<HTMLDivElement>(null);\n\n const scrollToBottom = () => {\n if (chatRef.current) {\n chatRef.current.scrollTop = chatRef.current.scrollHeight;\n }\n };\n\n useEffect(() => {\n scrollToBottom();\n }, [data]);\n\n const formatDateTime = (dateTime: string) => {\n const currentDate = new Date();\n const commentDate = new Date(dateTime);\n const timeDifference = currentDate.getTime() - commentDate.getTime();\n const secondsDifference = Math.floor(timeDifference / 1000);\n const minutesDifference = Math.floor(secondsDifference / 60);\n const hoursDifference = Math.floor(minutesDifference / 60);\n\n if (secondsDifference < 60) {\n return `${secondsDifference} second${secondsDifference !== 1 ? 's' : ''\n } ago`;\n } else if (minutesDifference < 60) {\n return `${minutesDifference} minute${minutesDifference !== 1 ? 's' : ''\n } ago`;\n } else if (hoursDifference < 24) {\n return `${hoursDifference} hour${hoursDifference !== 1 ? 's' : ''} ago`;\n } else {\n // Format the date in the desired format\n const optionsDate: Intl.DateTimeFormatOptions = {\n day: 'numeric',\n month: 'short',\n year: 'numeric'\n };\n\n const optionsTime: Intl.DateTimeFormatOptions = {\n hour: 'numeric',\n minute: 'numeric',\n hour12: false\n };\n\n const formattedDate = commentDate.toLocaleString('en-US', optionsDate);\n const formattedTime = commentDate.toLocaleString('en-US', optionsTime);\n\n return `${formattedDate} • ${formattedTime}`;\n }\n };\n\n const handleKeyPress = (event: any) => {\n if (event.key === 'Enter') {\n const commentValue = (event.target as HTMLInputElement).value;\n if (commentValue.trim() !== '') {\n onCommentSubmit(commentValue);\n scrollToBottom();\n }\n }\n };\n\n const timelineItems =\n type === \"activity\" ? (\n data?.map((item: any, index: number) => (\n <div className=\"Timeline--Activity\">\n <TimelineItem key={index}>\n <TimelineSeparator>\n <TimelineDot />\n {data.length - 1 !== index && <TimelineConnector />}\n </TimelineSeparator>\n <TimelineContent className=\"Timeline--Content\">\n <Typography type=\"s4\" color=\"theme.secondary.800\" className=\"Timeline--ActivityLogItem\">\n {item.message} · {formatDateTime(item.created_at)}\n </Typography>\n </TimelineContent>\n </TimelineItem>\n </div>\n ))\n ) : (\n <>\n <div className=\"Timeline--Chat\" ref={chatRef}>\n {data.map((item: any, index: number) => (\n <TimelineItem key={index}>\n <TimelineSeparator>\n <Avatar src={images.chat} size={17} />\n <TimelineConnector />\n </TimelineSeparator>\n <TimelineContent>\n {item.name} commented this · {formatDateTime(item.created_at)}\n <div className=\"Timeline--CommentWrap\">\n <p className=\"Timeline--Comment\">{item.message}</p>\n </div>\n </TimelineContent>\n </TimelineItem>\n ))}\n </div>\n </>\n );\n\n // const avatarStyle = {\n // borderRadius: '0.5rem',\n // padding: '0.875rem 1.28125rem',\n // textAlign: 'center',\n // backgroundColor: `${randomColor}.200`,\n // color: `${randomColor}.1000`\n // };\n\n return (\n // <Box position='relative'>\n <div className=\"ActivityContainer\" {...containerProps}>\n <Timeline className=\"Timeline\">\n {accordion ? \n <Accordion title='Activities' accordionProps={{ defaultExpanded: true }}>\n {timelineItems}\n </Accordion> : \n <div className=\"Timeline--ActivityBox\">\n {timelineItems}\n </div>\n }\n {textfield && (\n <div className=\"Timeline--CommentBox\">\n {textfieldTitle}\n <div className=\"Timeline--CommentText\">\n <Avatar size={32} alt={formatText(user?.full_name)} className=\"avatar-class\" />\n <StyledTextField\n error={error}\n placeholder={placeholder}\n className=\"textfield\"\n onKeyDown={handleKeyPress}\n onChange={onChange}\n {...rest}\n />\n </div>\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AAAA,UAC7E;AAAA,YAAC;AAAA,YAAA;AAAA,cACC;AAAA,cACA;AAAA,cACA,WAAU;AAAA,cACV,WAAW;AAAA,cACX;AAAA,cACC,GAAG;AAAA,YAAA;AAAA,UAAA;AAAA,QACN,EAAA,CACF;AAAA,MAAA,EAAA,CACF;AAAA,IAAA,EAAA,CAEJ,EAAA,CACF;AAAA;AAGJ;"}
@@ -0,0 +1,15 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),i=require("react");;/* empty css */var r=,/* empty css */t=,/* empty css */n=,/* empty css */l=,/* empty css */s=,/* empty css */a=,/* empty css */o=,/* empty css */d=,/* empty css */m=,/* empty css */u=,/* empty css */c=,/* empty css */x=,/* empty css */h=,/* empty css */j=;/* empty css */const f=h.default(j.default)(({theme:{palette:e}})=>{var i,r,t,n;return{width:"100%","& .MuiOutlinedInput-root":{height:"2rem","& fieldset":{borderColor:null==(i=e.theme)?void 0:i.secondary[300],borderWidth:2},"&:hover fieldset":{borderColor:null==(r=e.theme)?void 0:r.secondary[300]},"&.Mui-focused fieldset":{borderColor:null==(t=e.theme)?void 0:t.primary[700]},"&.Mui-error fieldset":{borderColor:null==(n=e.theme)?void 0:n.error[600]}}}}),v=h=>{const{type:j,data:v,placeholder:T,error:p=!1,textfield:y,textfieldTitle:g,onCommentSubmit:C,onChange:q,containerProps:b,accordion:N=!0,..._}=h,{user:A}=l.useAuth(),$=i.useRef(null),M=()=>{$.current&&($.current.scrollTop=$.current.scrollHeight)};i.useEffect(()=>{M()},[v]);const S=e=>{const i=/* @__PURE__ */new Date,r=new Date(e),t=i.getTime()-r.getTime(),n=Math.floor(t/1e3),l=Math.floor(n/60),s=Math.floor(l/60);if(n<60)return`${n} second${1!==n?"s":""} ago`;if(l<60)return`${l} minute${1!==l?"s":""} ago`;if(s<24)return`${s} hour${1!==s?"s":""} ago`;{const e={day:"numeric",month:"short",year:"numeric"},i={hour:"numeric",minute:"numeric",hour12:!1};return`${r.toLocaleString("en-US",e)} • ${r.toLocaleString("en-US",i)}`}},D="activity"===j?null==v?void 0:v.map((i,r)=>/* @__PURE__ */e.jsx("div",{className:"Timeline--Activity",children:/* @__PURE__ */e.jsxs(o.default,{children:[
2
+ /* @__PURE__ */e.jsxs(d.default,{children:[
3
+ /* @__PURE__ */e.jsx(m.default,{}),v.length-1!==r&&/* @__PURE__ */e.jsx(u.default,{})]}),
4
+ /* @__PURE__ */e.jsx(c.default,{className:"Timeline--Content",children:/* @__PURE__ */e.jsxs(a.Typography,{type:"s4",color:"theme.secondary.800",className:"Timeline--ActivityLogItem",children:[i.message," · ",S(i.created_at)]})})]},r)})):/* @__PURE__ */e.jsx(e.Fragment,{children:/* @__PURE__ */e.jsx("div",{className:"Timeline--Chat",ref:$,children:v.map((i,n)=>/* @__PURE__ */e.jsxs(o.default,{children:[
5
+ /* @__PURE__ */e.jsxs(d.default,{children:[
6
+ /* @__PURE__ */e.jsx(t.Avatar,{src:r.images.chat,size:17}),
7
+ /* @__PURE__ */e.jsx(u.default,{})]}),
8
+ /* @__PURE__ */e.jsxs(c.default,{children:[i.name," commented this · ",S(i.created_at),
9
+ /* @__PURE__ */e.jsx("div",{className:"Timeline--CommentWrap",children:/* @__PURE__ */e.jsx("p",{className:"Timeline--Comment",children:i.message})})]})]},n))})});
10
+ /* @__PURE__ */
11
+ return e.jsx("div",{className:"ActivityContainer",...b,children:/* @__PURE__ */e.jsxs(x.default,{className:"Timeline",children:[N?/* @__PURE__ */e.jsx(n.Accordion,{title:"Activities",accordionProps:{defaultExpanded:!0},children:D}):/* @__PURE__ */e.jsx("div",{className:"Timeline--ActivityBox",children:D}),y&&/* @__PURE__ */e.jsxs("div",{className:"Timeline--CommentBox",children:[g,
12
+ /* @__PURE__ */e.jsxs("div",{className:"Timeline--CommentText",children:[
13
+ /* @__PURE__ */e.jsx(t.Avatar,{size:32,alt:s.formatText(null==A?void 0:A.full_name),className:"avatar-class"}),
14
+ /* @__PURE__ */e.jsx(f,{error:p,placeholder:T,className:"textfield",onKeyDown:e=>{if("Enter"===e.key){const i=e.target.value;""!==i.trim()&&(C(i),M())}},onChange:q,..._})]})]})]})})};exports.ActivityTag=v,exports.default=v;
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/activity-tag/activity-tag.tsx"],"sourcesContent":["import { useRef, useEffect } from \"react\";\nimport { TextField as MUITextField, styled } from \"@mui/material\";\nimport Timeline from \"@mui/lab/Timeline\";\nimport TimelineItem from \"@mui/lab/TimelineItem\";\nimport TimelineSeparator from \"@mui/lab/TimelineSeparator\";\nimport TimelineConnector from \"@mui/lab/TimelineConnector\";\nimport TimelineContent from \"@mui/lab/TimelineContent\";\nimport TimelineDot from \"@mui/lab/TimelineDot\";\nimport \"./activity-tag.scss\";\nimport images from \"../../assets/images\";\nimport Avatar from \"../avatar/avatar\";\nimport Accordion from \"../accordion/accordion\";\nimport { useAuth } from \"../../hooks/useAuth\";\nimport formatText from \"../../utils/format-text\";\nimport Typography from \"../typography/typography\";\n\nconst StyledTextField = styled(MUITextField)(({ theme: { palette } }) => ({\n width: \"100%\",\n \"& .MuiOutlinedInput-root\": {\n height: '2rem',\n \"& fieldset\": {\n borderColor: palette.theme?.secondary[300],\n borderWidth: 2\n },\n \"&:hover fieldset\": {\n borderColor: palette.theme?.secondary[300],\n },\n \"&.Mui-focused fieldset\": {\n // borderWidth: \"0.0625rem\",\n // borderStyle: \"solid\",\n borderColor: palette.theme?.primary[700],\n },\n \"&.Mui-error fieldset\": {\n borderColor: palette.theme?.error[600],\n },\n },\n}));\n\nexport const ActivityTag = (props: any) => {\n const {\n type,\n data,\n placeholder,\n error = false,\n textfield,\n textfieldTitle,\n onCommentSubmit,\n onChange,\n containerProps,\n accordion = true,\n ...rest\n } = props;\n const { user } = useAuth()\n\n const chatRef = useRef<HTMLDivElement>(null);\n\n const scrollToBottom = () => {\n if (chatRef.current) {\n chatRef.current.scrollTop = chatRef.current.scrollHeight;\n }\n };\n\n useEffect(() => {\n scrollToBottom();\n }, [data]);\n\n const formatDateTime = (dateTime: string) => {\n const currentDate = new Date();\n const commentDate = new Date(dateTime);\n const timeDifference = currentDate.getTime() - commentDate.getTime();\n const secondsDifference = Math.floor(timeDifference / 1000);\n const minutesDifference = Math.floor(secondsDifference / 60);\n const hoursDifference = Math.floor(minutesDifference / 60);\n\n if (secondsDifference < 60) {\n return `${secondsDifference} second${secondsDifference !== 1 ? 's' : ''\n } ago`;\n } else if (minutesDifference < 60) {\n return `${minutesDifference} minute${minutesDifference !== 1 ? 's' : ''\n } ago`;\n } else if (hoursDifference < 24) {\n return `${hoursDifference} hour${hoursDifference !== 1 ? 's' : ''} ago`;\n } else {\n // Format the date in the desired format\n const optionsDate: Intl.DateTimeFormatOptions = {\n day: 'numeric',\n month: 'short',\n year: 'numeric'\n };\n\n const optionsTime: Intl.DateTimeFormatOptions = {\n hour: 'numeric',\n minute: 'numeric',\n hour12: false\n };\n\n const formattedDate = commentDate.toLocaleString('en-US', optionsDate);\n const formattedTime = commentDate.toLocaleString('en-US', optionsTime);\n\n return `${formattedDate} • ${formattedTime}`;\n }\n };\n\n const handleKeyPress = (event: any) => {\n if (event.key === 'Enter') {\n const commentValue = (event.target as HTMLInputElement).value;\n if (commentValue.trim() !== '') {\n onCommentSubmit(commentValue);\n scrollToBottom();\n }\n }\n };\n\n const timelineItems =\n type === \"activity\" ? (\n data?.map((item: any, index: number) => (\n <div className=\"Timeline--Activity\">\n <TimelineItem key={index}>\n <TimelineSeparator>\n <TimelineDot />\n {data.length - 1 !== index && <TimelineConnector />}\n </TimelineSeparator>\n <TimelineContent className=\"Timeline--Content\">\n <Typography type=\"s4\" color=\"theme.secondary.800\" className=\"Timeline--ActivityLogItem\">\n {item.message} · {formatDateTime(item.created_at)}\n </Typography>\n </TimelineContent>\n </TimelineItem>\n </div>\n ))\n ) : (\n <>\n <div className=\"Timeline--Chat\" ref={chatRef}>\n {data.map((item: any, index: number) => (\n <TimelineItem key={index}>\n <TimelineSeparator>\n <Avatar src={images.chat} size={17} />\n <TimelineConnector />\n </TimelineSeparator>\n <TimelineContent>\n {item.name} commented this · {formatDateTime(item.created_at)}\n <div className=\"Timeline--CommentWrap\">\n <p className=\"Timeline--Comment\">{item.message}</p>\n </div>\n </TimelineContent>\n </TimelineItem>\n ))}\n </div>\n </>\n );\n\n // const avatarStyle = {\n // borderRadius: '0.5rem',\n // padding: '0.875rem 1.28125rem',\n // textAlign: 'center',\n // backgroundColor: `${randomColor}.200`,\n // color: `${randomColor}.1000`\n // };\n\n return (\n // <Box position='relative'>\n <div className=\"ActivityContainer\" {...containerProps}>\n <Timeline className=\"Timeline\">\n {accordion ? \n <Accordion title='Activities' accordionProps={{ defaultExpanded: true }}>\n {timelineItems}\n </Accordion> : \n <div className=\"Timeline--ActivityBox\">\n {timelineItems}\n </div>\n }\n {textfield && (\n <div className=\"Timeline--CommentBox\">\n {textfieldTitle}\n <div className=\"Timeline--CommentText\">\n <Avatar size={32} alt={formatText(user?.full_name)} className=\"avatar-class\" />\n <StyledTextField\n error={error}\n placeholder={placeholder}\n className=\"textfield\"\n onKeyDown={handleKeyPress}\n onChange={onChange}\n {...rest}\n />\n </div>\n </div>\n )}\n </Timeline>\n </div>\n // </Box>\n );\n};\n\nexport default ActivityTag;\n"],"names":["StyledTextField","styled","MUITextField","theme","palette","width","height","borderColor","_a","secondary","borderWidth","_b","_c","primary","_d","error","ActivityTag","props","type","data","placeholder","textfield","textfieldTitle","onCommentSubmit","onChange","containerProps","accordion","rest","user","useAuth","chatRef","useRef","scrollToBottom","current","scrollTop","scrollHeight","useEffect","formatDateTime","dateTime","currentDate","Date","commentDate","timeDifference","getTime","secondsDifference","Math","floor","minutesDifference","hoursDifference","optionsDate","day","month","year","optionsTime","hour","minute","hour12","toLocaleString","timelineItems","map","item","index","jsx","className","children","TimelineItem","jsxs","TimelineSeparator","TimelineDot","length","TimelineConnector","TimelineContent","Typography","color","message","created_at","Fragment","ref","Avatar","src","images","chat","size","name","Timeline","Accordion","title","accordionProps","defaultExpanded","alt","formatText","full_name","onKeyDown","event","key","commentValue","target","value","trim"],"mappings":"ujCAgBA,MAAMA,EAAkBC,EAAAA,QAAOC,UAAPD,CAAqB,EAAGE,OAASC,2BAAiB,MAAA,CACxEC,MAAO,OACP,2BAA4B,CAC1BC,OAAQ,OACR,aAAc,CACZC,YAAa,OAAAC,EAAAJ,EAAQD,YAAR,EAAAK,EAAeC,UAAU,KACtCC,YAAa,GAEf,mBAAoB,CAClBH,YAAa,OAAAI,EAAAP,EAAQD,YAAR,EAAAQ,EAAeF,UAAU,MAExC,yBAA0B,CAGxBF,YAAa,OAAAK,EAAAR,EAAQD,YAAR,EAAAS,EAAeC,QAAQ,MAEtC,uBAAwB,CACtBN,YAAa,OAAAO,EAAAV,EAAQD,YAAR,EAAAW,EAAeC,MAAM,UAK3BC,EAAeC,IAC1B,MAAMC,KACJA,EAAAC,KACAA,EAAAC,YACAA,EAAAL,MACAA,GAAQ,EAAAM,UACRA,EAAAC,eACAA,EAAAC,gBACAA,EAAAC,SACAA,EAAAC,eACAA,EAAAC,UACAA,GAAY,KACTC,GACDV,GACEW,KAAEA,GAASC,YAEXC,EAAUC,EAAAA,OAAuB,MAEjCC,EAAiB,KACjBF,EAAQG,UACVH,EAAQG,QAAQC,UAAYJ,EAAQG,QAAQE,eAIhDC,EAAAA,UAAU,KACRJ,KACC,CAACb,IAEJ,MAAMkB,EAAkBC,IACtB,MAAMC,qBAAkBC,KAClBC,EAAc,IAAID,KAAKF,GACvBI,EAAiBH,EAAYI,UAAYF,EAAYE,UACrDC,EAAoBC,KAAKC,MAAMJ,EAAiB,KAChDK,EAAoBF,KAAKC,MAAMF,EAAoB,IACnDI,EAAkBH,KAAKC,MAAMC,EAAoB,IAEvD,GAAIH,EAAoB,GACtB,MAAO,GAAGA,WAAiD,IAAtBA,EAA0B,IAAM,SAEvE,GAAWG,EAAoB,GAC7B,MAAO,GAAGA,WAAiD,IAA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BAAqBC,SAAAJ,EAAKc,iBAR1Bb;;AAyB7B,SAEEC,IAAC,OAAIC,UAAU,uBAAwBtC,EACrCuC,wBAAAE,EAAAA,KAACkB,EAAAA,QAAA,CAASrB,UAAU,WACjBC,SAAA,CAAAtC,iBACCoC,EAAAA,IAACuB,EAAAA,UAAA,CAAUC,MAAM,aAAaC,eAAgB,CAAEC,iBAAiB,GAChExB,4BAEHF,EAAAA,IAAC,MAAA,CAAIC,UAAU,wBACZC,SAAAN,IAGFrC,kBACC6C,EAAAA,KAAC,MAAA,CAAIH,UAAU,uBACZC,SAAA,CAAA1C;iBACD4C,KAAC,MAAA,CAAIH,UAAU,wBACbC,SAAA;eAAAF,EAAAA,IAACgB,EAAAA,OAAA,CAAOI,KAAM,GAAIO,IAAKC,aAAW,MAAA9D,OAAA,EAAAA,EAAM+D,WAAY5B,UAAU;eAC9DD,EAAAA,IAAC9D,EAAA,CACCe,QACAK,cACA2C,UAAU,YACV6B,UA7EUC,IACtB,GAAkB,UAAdA,EAAMC,IAAiB,CACzB,MAAMC,EAAgBF,EAAMG,OAA4BC,MAC5B,KAAxBF,EAAaG,SACf3E,EAAgBwE,GAChB/D,IAEJ,GAuEYR,cACIG"}
@@ -0,0 +1,104 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ /* empty css */
3
+ import { Typography } from "../../typography/typography/index.esm.js";
4
+ import dayjs from "dayjs";
5
+ import { formatText } from "../../../utils/format-text/index.esm.js";
6
+ import { useTranslation } from "react-i18next";
7
+ import Box from "../../../node_modules/@mui/material/Box/Box/index.esm.js";
8
+ import Timeline from "../../../node_modules/@mui/lab/Timeline/Timeline/index.esm.js";
9
+ import TimelineItem from "../../../node_modules/@mui/lab/TimelineItem/TimelineItem/index.esm.js";
10
+ import TimelineSeparator from "../../../node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.esm.js";
11
+ import TimelineDot from "../../../node_modules/@mui/lab/TimelineDot/TimelineDot/index.esm.js";
12
+ import TimelineConnector from "../../../node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.esm.js";
13
+ import TimelineContent from "../../../node_modules/@mui/lab/TimelineContent/TimelineContent/index.esm.js";
14
+ const ActivityTag = (props) => {
15
+ const { t } = useTranslation();
16
+ const { data } = props;
17
+ const formatDateTime = (date) => {
18
+ const formattedDate = dayjs(date).format("DD MMM, YYYY");
19
+ const formattedTime = dayjs(date).format("HH:mm");
20
+ return `${formattedDate} • ${formattedTime}`;
21
+ };
22
+ const actions = {
23
+ view: t("common.viewed_text"),
24
+ delete: t("common.deleted_text"),
25
+ create: t("common.created_text"),
26
+ update: t("common.updated_text")
27
+ };
28
+ return (
29
+ // <Box position='relative'>
30
+ /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(Timeline, { className: "Timeline", children: /* @__PURE__ */ jsxs(
31
+ Box,
32
+ {
33
+ sx: {
34
+ display: "flex",
35
+ flexDirection: "column",
36
+ gap: 2,
37
+ padding: "16px"
38
+ },
39
+ className: "box-class",
40
+ children: [
41
+ /* @__PURE__ */ jsx(Typography, { type: "s3", weight: "medium", color: "theme.secondary.800", children: t("common.activities_label") }),
42
+ /* @__PURE__ */ jsx(
43
+ Box,
44
+ {
45
+ sx: {
46
+ height: 400,
47
+ overflowY: "auto",
48
+ gap: 1.5,
49
+ display: "flex",
50
+ flexDirection: "column"
51
+ },
52
+ children: data == null ? void 0 : data.map((item, index) => {
53
+ var _a;
54
+ return /* @__PURE__ */ jsx("div", { className: "Timeline--Activity", children: /* @__PURE__ */ jsxs(TimelineItem, { children: [
55
+ /* @__PURE__ */ jsxs(TimelineSeparator, { children: [
56
+ /* @__PURE__ */ jsx(
57
+ TimelineDot,
58
+ {
59
+ color: "primary",
60
+ sx: { backgroundColor: "#D3D3D4" }
61
+ }
62
+ ),
63
+ data.length - 1 !== index && /* @__PURE__ */ jsx(TimelineConnector, {})
64
+ ] }),
65
+ /* @__PURE__ */ jsxs(TimelineContent, { className: "Timeline--Content", children: [
66
+ /* @__PURE__ */ jsxs(
67
+ Typography,
68
+ {
69
+ type: "s5",
70
+ color: "theme.secondary.800",
71
+ className: "Timeline--ActivityLogItem",
72
+ children: [
73
+ /* @__PURE__ */ jsx("b", { children: formatText(item.username) }),
74
+ " ",
75
+ actions[item.action],
76
+ " ",
77
+ /* @__PURE__ */ jsx("b", { children: formatText((_a = item.resource) == null ? void 0 : _a.replace("_", " ")) })
78
+ ]
79
+ }
80
+ ),
81
+ /* @__PURE__ */ jsx(
82
+ Typography,
83
+ {
84
+ type: "s5",
85
+ color: "theme.secondary.800",
86
+ className: "Timeline--ActivityLogItem",
87
+ children: formatDateTime(item == null ? void 0 : item.created_at)
88
+ }
89
+ )
90
+ ] })
91
+ ] }, index) });
92
+ })
93
+ }
94
+ )
95
+ ]
96
+ }
97
+ ) }) })
98
+ );
99
+ };
100
+ export {
101
+ ActivityTag,
102
+ ActivityTag as default
103
+ };
104
+ //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.esm.js","sources":["../../../../src/components/activityLog/activity-log.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Box } from '@mui/material';\nimport Timeline from '@mui/lab/Timeline';\nimport TimelineItem from '@mui/lab/TimelineItem';\nimport TimelineSeparator from '@mui/lab/TimelineSeparator';\nimport TimelineConnector from '@mui/lab/TimelineConnector';\nimport TimelineContent from '@mui/lab/TimelineContent';\nimport TimelineDot from '@mui/lab/TimelineDot';\nimport './activity-log.scss';\nimport Typography from '../typography/typography';\nimport dayjs from 'dayjs';\nimport formatText from '../../utils/format-text';\nimport { useTranslation } from 'react-i18next';\n\nexport const ActivityTag = (props: any) => {\n\tconst { t } = useTranslation();\n\tconst { data } = props;\n\n\tconst formatDateTime = (date: Date): string => {\n\t\tconst formattedDate = dayjs(date).format('DD MMM, YYYY');\n\t\tconst formattedTime = dayjs(date).format('HH:mm');\n\t\treturn `${formattedDate} • ${formattedTime}`;\n\t};\n\n\tconst actions = {\n\t\tview: t('common.viewed_text'),\n\t\tdelete: t('common.deleted_text'),\n\t\tcreate: t('common.created_text'),\n\t\tupdate: t('common.updated_text')\n\t};\n\treturn (\n\t\t// <Box position='relative'>\n\t\t<Box>\n\t\t\t<Timeline className='Timeline'>\n\t\t\t\t<Box\n\t\t\t\t\tsx={{\n\t\t\t\t\t\tdisplay: 'flex',\n\t\t\t\t\t\tflexDirection: 'column',\n\t\t\t\t\t\tgap: 2,\n\t\t\t\t\t\tpadding: '16px'\n\t\t\t\t\t}}\n\t\t\t\t\tclassName='box-class'>\n\t\t\t\t\t<Typography type='s3' weight='medium' color='theme.secondary.800'>\n\t\t\t\t\t\t{t('common.activities_label')}\n\t\t\t\t\t</Typography>\n\t\t\t\t\t<Box\n\t\t\t\t\t\tsx={{\n\t\t\t\t\t\t\theight: 400,\n\t\t\t\t\t\t\toverflowY: 'auto',\n\t\t\t\t\t\t\tgap: 1.5,\n\t\t\t\t\t\t\tdisplay: 'flex',\n\t\t\t\t\t\t\tflexDirection: 'column'\n\t\t\t\t\t\t}}>\n\t\t\t\t\t\t{data?.map((item: any, index: number) => (\n\t\t\t\t\t\t\t<div className='Timeline--Activity'>\n\t\t\t\t\t\t\t\t<TimelineItem key={index}>\n\t\t\t\t\t\t\t\t\t<TimelineSeparator>\n\t\t\t\t\t\t\t\t\t\t<TimelineDot\n\t\t\t\t\t\t\t\t\t\t\tcolor='primary'\n\t\t\t\t\t\t\t\t\t\t\tsx={{ backgroundColor: '#D3D3D4' }}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t{data.length - 1 !== index && <TimelineConnector />}\n\t\t\t\t\t\t\t\t\t</TimelineSeparator>\n\t\t\t\t\t\t\t\t\t<TimelineContent className='Timeline--Content'>\n\t\t\t\t\t\t\t\t\t\t<Typography\n\t\t\t\t\t\t\t\t\t\t\ttype='s5'\n\t\t\t\t\t\t\t\t\t\t\tcolor='theme.secondary.800'\n\t\t\t\t\t\t\t\t\t\t\tclassName='Timeline--ActivityLogItem'>\n\t\t\t\t\t\t\t\t\t\t\t<b>{formatText(item.username)}</b> {actions[item.action]}{' '}\n\t\t\t\t\t\t\t\t\t\t\t<b>{formatText(item.resource?.replace('_', ' '))}</b>\n\t\t\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t\t\t<Typography\n\t\t\t\t\t\t\t\t\t\t\ttype='s5'\n\t\t\t\t\t\t\t\t\t\t\tcolor='theme.secondary.800'\n\t\t\t\t\t\t\t\t\t\t\tclassName='Timeline--ActivityLogItem'>\n\t\t\t\t\t\t\t\t\t\t\t{formatDateTime(item?.created_at)}\n\t\t\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t\t</TimelineContent>\n\t\t\t\t\t\t\t\t</TimelineItem>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</Box>\n\t\t\t\t</Box>\n\t\t\t</Timeline>\n\t\t</Box>\n\t\t// </Box>\n\t);\n};\n\nexport default ActivityTag;\n"],"names":[],"mappings":";;;;;;;;;;;;;AAeO,MAAM,cAAc,CAAC,UAAe;AAC1C,QAAM,EAAE,EAAA,IAAM,eAAA;AACd,QAAM,EAAE,SAAS;AAEjB,QAAM,iBAAiB,CAAC,SAAuB;AAC9C,UAAM,gBAAgB,MAAM,IAAI,EAAE,OAAO,cAAc;AACvD,UAAM,gBAAgB,MAAM,IAAI,EAAE,OAAO,OAAO;AAChD,WAAO,GAAG,aAAa,MAAM,aAAa;AAAA,EAC3C;AAEA,QAAM,UAAU;AAAA,IACf,MAAM,EAAE,oBAAoB;AAAA,IAC5B,QAAQ,EAAE,qBAAqB;AAAA,IAC/B,QAAQ,EAAE,qBAAqB;AAAA,IAC/B,QAAQ,EAAE,qBAAqB;AAAA,EAAA;AAEhC;AAAA;AAAA,IAEC,oBAAC,KAAA,EACA,UAAA,oBAAC,UAAA,EAAS,WAAU,YACnB,UAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACA,IAAI;AAAA,UACH,SAAS;A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UAAA,eAAe,6BAAM,UAAU;AAAA,sBAAA;AAAA,oBAAA;AAAA,kBACjC,EAAA,CACD;AAAA,gBAAA,EAAA,GAtBkB,KAuBnB,GACD;AAAA;AAAA,YACA;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA,GAEF,EAAA,CACD;AAAA;AAGF;"}
@@ -0,0 +1,14 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");;/* empty css */var i=,/* empty css */t=require("dayjs"),r=,/* empty css */l=require("react-i18next"),n=,/* empty css */o=,/* empty css */a=,/* empty css */s=,/* empty css */d=,/* empty css */m=,/* empty css */u=;/* empty css */function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var x=/* @__PURE__ */c(t);const p=t=>{const{t:c}=l.useTranslation(),{data:p}=t,j={view:c("common.viewed_text"),delete:c("common.deleted_text"),create:c("common.created_text"),update:c("common.updated_text")};
2
+ /* @__PURE__ */
3
+ return e.jsx(n.default,{children:/* @__PURE__ */e.jsx(o.default,{className:"Timeline",children:/* @__PURE__ */e.jsxs(n.default,{sx:{display:"flex",flexDirection:"column",gap:2,padding:"16px"},className:"box-class",children:[
4
+ /* @__PURE__ */e.jsx(i.Typography,{type:"s3",weight:"medium",color:"theme.secondary.800",children:c("common.activities_label")}),
5
+ /* @__PURE__ */e.jsx(n.default,{sx:{height:400,overflowY:"auto",gap:1.5,display:"flex",flexDirection:"column"},children:null==p?void 0:p.map((t,l)=>{var n,o;/* @__PURE__ */
6
+ return e.jsx("div",{className:"Timeline--Activity",children:/* @__PURE__ */e.jsxs(a.default,{children:[
7
+ /* @__PURE__ */e.jsxs(s.default,{children:[
8
+ /* @__PURE__ */e.jsx(d.default,{color:"primary",sx:{backgroundColor:"#D3D3D4"}}),p.length-1!==l&&/* @__PURE__ */e.jsx(m.default,{})]}),
9
+ /* @__PURE__ */e.jsxs(u.default,{className:"Timeline--Content",children:[
10
+ /* @__PURE__ */e.jsxs(i.Typography,{type:"s5",color:"theme.secondary.800",className:"Timeline--ActivityLogItem",children:[
11
+ /* @__PURE__ */e.jsx("b",{children:r.formatText(t.username)})," ",j[t.action]," ",
12
+ /* @__PURE__ */e.jsx("b",{children:r.formatText(null==(n=t.resource)?void 0:n.replace("_"," "))})]}),
13
+ /* @__PURE__ */e.jsx(i.Typography,{type:"s5",color:"theme.secondary.800",className:"Timeline--ActivityLogItem",children:(o=null==t?void 0:t.created_at,`${x.default(o).format("DD MMM, YYYY")} • ${x.default(o).format("HH:mm")}`)})]})]},l)})})})]})})})};exports.ActivityTag=p,exports.default=p;
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/activityLog/activity-log.tsx"],"sourcesContent":["import React from 'react';\n\nimport { Box } from '@mui/material';\nimport Timeline from '@mui/lab/Timeline';\nimport TimelineItem from '@mui/lab/TimelineItem';\nimport TimelineSeparator from '@mui/lab/TimelineSeparator';\nimport TimelineConnector from '@mui/lab/TimelineConnector';\nimport TimelineContent from '@mui/lab/TimelineContent';\nimport TimelineDot from '@mui/lab/TimelineDot';\nimport './activity-log.scss';\nimport Typography from '../typography/typography';\nimport dayjs from 'dayjs';\nimport formatText from '../../utils/format-text';\nimport { useTranslation } from 'react-i18next';\n\nexport const ActivityTag = (props: any) => {\n\tconst { t } = useTranslation();\n\tconst { data } = props;\n\n\tconst formatDateTime = (date: Date): string => {\n\t\tconst formattedDate = dayjs(date).format('DD MMM, YYYY');\n\t\tconst formattedTime = dayjs(date).format('HH:mm');\n\t\treturn `${formattedDate} • ${formattedTime}`;\n\t};\n\n\tconst actions = {\n\t\tview: t('common.viewed_text'),\n\t\tdelete: t('common.deleted_text'),\n\t\tcreate: t('common.created_text'),\n\t\tupdate: t('common.updated_text')\n\t};\n\treturn (\n\t\t// <Box position='relative'>\n\t\t<Box>\n\t\t\t<Timeline className='Timeline'>\n\t\t\t\t<Box\n\t\t\t\t\tsx={{\n\t\t\t\t\t\tdisplay: 'flex',\n\t\t\t\t\t\tflexDirection: 'column',\n\t\t\t\t\t\tgap: 2,\n\t\t\t\t\t\tpadding: '16px'\n\t\t\t\t\t}}\n\t\t\t\t\tclassName='box-class'>\n\t\t\t\t\t<Typography type='s3' weight='medium' color='theme.secondary.800'>\n\t\t\t\t\t\t{t('common.activities_label')}\n\t\t\t\t\t</Typography>\n\t\t\t\t\t<Box\n\t\t\t\t\t\tsx={{\n\t\t\t\t\t\t\theight: 400,\n\t\t\t\t\t\t\toverflowY: 'auto',\n\t\t\t\t\t\t\tgap: 1.5,\n\t\t\t\t\t\t\tdisplay: 'flex',\n\t\t\t\t\t\t\tflexDirection: 'column'\n\t\t\t\t\t\t}}>\n\t\t\t\t\t\t{data?.map((item: any, index: number) => (\n\t\t\t\t\t\t\t<div className='Timeline--Activity'>\n\t\t\t\t\t\t\t\t<TimelineItem key={index}>\n\t\t\t\t\t\t\t\t\t<TimelineSeparator>\n\t\t\t\t\t\t\t\t\t\t<TimelineDot\n\t\t\t\t\t\t\t\t\t\t\tcolor='primary'\n\t\t\t\t\t\t\t\t\t\t\tsx={{ backgroundColor: '#D3D3D4' }}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t{data.length - 1 !== index && <TimelineConnector />}\n\t\t\t\t\t\t\t\t\t</TimelineSeparator>\n\t\t\t\t\t\t\t\t\t<TimelineContent className='Timeline--Content'>\n\t\t\t\t\t\t\t\t\t\t<Typography\n\t\t\t\t\t\t\t\t\t\t\ttype='s5'\n\t\t\t\t\t\t\t\t\t\t\tcolor='theme.secondary.800'\n\t\t\t\t\t\t\t\t\t\t\tclassName='Timeline--ActivityLogItem'>\n\t\t\t\t\t\t\t\t\t\t\t<b>{formatText(item.username)}</b> {actions[item.action]}{' '}\n\t\t\t\t\t\t\t\t\t\t\t<b>{formatText(item.resource?.replace('_', ' '))}</b>\n\t\t\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t\t\t<Typography\n\t\t\t\t\t\t\t\t\t\t\ttype='s5'\n\t\t\t\t\t\t\t\t\t\t\tcolor='theme.secondary.800'\n\t\t\t\t\t\t\t\t\t\t\tclassName='Timeline--ActivityLogItem'>\n\t\t\t\t\t\t\t\t\t\t\t{formatDateTime(item?.created_at)}\n\t\t\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t\t</TimelineContent>\n\t\t\t\t\t\t\t\t</TimelineItem>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</Box>\n\t\t\t\t</Box>\n\t\t\t</Timeline>\n\t\t</Box>\n\t\t// </Box>\n\t);\n};\n\nexport default ActivityTag;\n"],"names":["ActivityTag","props","t","useTranslation","data","actions","view","delete","create","update","jsx","Box","children","Timeline","className","jsxs","sx","display","flexDirection","gap","padding","Typography","type","weight","color","height","overflowY","map","item","index","date","TimelineItem","TimelineSeparator","TimelineDot","backgroundColor","length","TimelineConnector","TimelineContent","formatText","username","action","_a","resource","replace","created_at","dayjs","format"],"mappings":"m7BAeO,MAAMA,EAAeC,IAC3B,MAAMC,EAAEA,GAAMC,oBACRC,KAAEA,GAASH,EAQXI,EAAU,CACfC,KAAMJ,EAAE,sBACRK,OAAQL,EAAE,uBACVM,OAAQN,EAAE,uBACVO,OAAQP,EAAE;;AAEX,OAECQ,MAACC,EAAAA,QAAA,CACAC,wBAAAF,EAAAA,IAACG,EAAAA,QAAA,CAASC,UAAU,WACnBF,wBAAAG,EAAAA,KAACJ,EAAAA,QAAA,CACAK,GAAI,CACHC,QAAS,OACTC,cAAe,SACfC,IAAK,EACLC,QAAS,QAEVN,UAAU,YACVF,SAAA;eAAAF,EAAAA,IAACW,EAAAA,WAAA,CAAWC,KAAK,KAAKC,OAAO,SAASC,MAAM,sBAC1CZ,SAAAV,EAAE;eAEJQ,EAAAA,IAACC,EAAAA,QAAA,CACAK,GAAI,CACHS,OAAQ,IACRC,UAAW,OACXP,IAAK,IACLF,QAAS,OACTC,cAAe,UA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