@erpsquad/common 1.8.75 → 1.8.77

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3345) hide show
  1. package/dist/@types/alltypes.d.ts +3 -0
  2. package/dist/@types/common.d.ts +1 -0
  3. package/dist/@types/createPalette.d.ts +47 -0
  4. package/dist/@types/index.d.ts +5 -0
  5. package/dist/@types/page.d.ts +4 -0
  6. package/dist/@types/pagination-model.d.ts +4 -0
  7. package/dist/_virtual/index/index.esm.js +2 -4
  8. package/dist/_virtual/index/index.esm.js.map +1 -1
  9. package/dist/_virtual/index/index.esm10.js +3 -3
  10. package/dist/_virtual/index/index.esm11.js +4 -2
  11. package/dist/_virtual/index/index.esm11.js.map +1 -1
  12. package/dist/_virtual/index/index.esm2.js +4 -2
  13. package/dist/_virtual/index/index.esm2.js.map +1 -1
  14. package/dist/_virtual/index/index.esm3.js +2 -4
  15. package/dist/_virtual/index/index.esm3.js.map +1 -1
  16. package/dist/_virtual/index/index.esm4.js +3 -3
  17. package/dist/_virtual/index/index.esm5.js +3 -3
  18. package/dist/_virtual/index/index.esm6.js +3 -3
  19. package/dist/_virtual/index/index.esm7.js +3 -3
  20. package/dist/_virtual/index/index.esm8.js +3 -3
  21. package/dist/_virtual/index/index.esm9.js +3 -3
  22. package/dist/_virtual/index/index.js +1 -1
  23. package/dist/_virtual/index/index10.js +1 -1
  24. package/dist/_virtual/index/index11.js +1 -1
  25. package/dist/_virtual/index/index2.js +1 -1
  26. package/dist/_virtual/index/index3.js +1 -1
  27. package/dist/_virtual/index/index4.js +1 -1
  28. package/dist/_virtual/index/index5.js +1 -1
  29. package/dist/_virtual/index/index6.js +1 -1
  30. package/dist/_virtual/index/index7.js +1 -1
  31. package/dist/_virtual/index/index8.js +1 -1
  32. package/dist/_virtual/index/index9.js +1 -1
  33. package/dist/api-client/api.accounting/api-types.d.ts +15883 -0
  34. package/dist/api-client/api.drive/api-types.d.ts +696 -0
  35. package/dist/api-client/api.inventory/api-types.d.ts +6110 -0
  36. package/dist/api-client/api.inventory/api.d.ts +2 -5
  37. package/dist/api-client/api.manufacturing/api-types.d.ts +10066 -0
  38. package/dist/api-client/api.manufacturing/api.d.ts +102 -15
  39. package/dist/api-client/api.purchase/api-types.d.ts +6715 -0
  40. package/dist/api-client/api.purchase/api.d.ts +2 -3
  41. package/dist/api-client/api.rbac/api-types.d.ts +1753 -0
  42. package/dist/api-client/api.rbac/api.d.ts +5 -12
  43. package/dist/api-client/api.rental/api-types.d.ts +15666 -0
  44. package/dist/api-client/api.sales/api-types.d.ts +8258 -0
  45. package/dist/api-client/api.system-feature/api-types.d.ts +2875 -0
  46. package/dist/api-client/api.system-feature/api.d.ts +2 -0
  47. package/dist/api-client/api.user/api-types.d.ts +95 -0
  48. package/dist/assets/common-component/index.d.ts +1 -0
  49. package/dist/assets/dynamic-svg-icon/dynamic-svg-icon/index.esm.js +1 -0
  50. package/dist/assets/dynamic-svg-icon/dynamic-svg-icon/index.esm.js.map +1 -1
  51. package/dist/assets/dynamic-svg-icon/dynamic-svg-icon/index.js +1 -1
  52. package/dist/assets/dynamic-svg-icon/dynamic-svg-icon/index.js.map +1 -1
  53. package/dist/assets/dynamic-svg-icon/dynamic-svg-icon.d.ts +9 -0
  54. package/dist/assets/dynamic-svg-icon/index.d.ts +2 -0
  55. package/dist/assets/images.d.ts +208 -0
  56. package/dist/assets/index.d.ts +4 -0
  57. package/dist/assets/view-modal/calendar-icon/index.esm.js +1 -0
  58. package/dist/assets/view-modal/calendar-icon/index.esm.js.map +1 -1
  59. package/dist/assets/view-modal/calendar-icon/index.js +2 -2
  60. package/dist/assets/view-modal/calendar-icon/index.js.map +1 -1
  61. package/dist/assets/view-modal/calendar-icon.d.ts +3 -0
  62. package/dist/assets/view-modal/chart-icon/index.esm.js +1 -0
  63. package/dist/assets/view-modal/chart-icon/index.esm.js.map +1 -1
  64. package/dist/assets/view-modal/chart-icon/index.js +2 -2
  65. package/dist/assets/view-modal/chart-icon/index.js.map +1 -1
  66. package/dist/assets/view-modal/chart-icon.d.ts +3 -0
  67. package/dist/assets/view-modal/gantt-icon/index.esm.js +1 -0
  68. package/dist/assets/view-modal/gantt-icon/index.esm.js.map +1 -1
  69. package/dist/assets/view-modal/gantt-icon/index.js +2 -2
  70. package/dist/assets/view-modal/gantt-icon/index.js.map +1 -1
  71. package/dist/assets/view-modal/gantt-icon.d.ts +3 -0
  72. package/dist/assets/view-modal/grid-icon/index.esm.js +1 -0
  73. package/dist/assets/view-modal/grid-icon/index.esm.js.map +1 -1
  74. package/dist/assets/view-modal/grid-icon/index.js +2 -2
  75. package/dist/assets/view-modal/grid-icon/index.js.map +1 -1
  76. package/dist/assets/view-modal/grid-icon.d.ts +3 -0
  77. package/dist/assets/view-modal/index.d.ts +12 -0
  78. package/dist/assets/view-modal/kanban-icon/index.esm.js +1 -0
  79. package/dist/assets/view-modal/kanban-icon/index.esm.js.map +1 -1
  80. package/dist/assets/view-modal/kanban-icon/index.js +2 -2
  81. package/dist/assets/view-modal/kanban-icon/index.js.map +1 -1
  82. package/dist/assets/view-modal/kanban-icon.d.ts +3 -0
  83. package/dist/assets/view-modal/table-icon/index.esm.js +1 -0
  84. package/dist/assets/view-modal/table-icon/index.esm.js.map +1 -1
  85. package/dist/assets/view-modal/table-icon/index.js +2 -2
  86. package/dist/assets/view-modal/table-icon/index.js.map +1 -1
  87. package/dist/assets/view-modal/table-icon.d.ts +3 -0
  88. package/dist/components/Dashboard/dashboard-card/index.esm.js +1 -0
  89. package/dist/components/Dashboard/dashboard-card/index.esm.js.map +1 -1
  90. package/dist/components/Dashboard/dashboard-card/index.js +3 -3
  91. package/dist/components/Dashboard/dashboard-card/index.js.map +1 -1
  92. package/dist/components/Dashboard/dashboard-card.d.ts +8 -0
  93. package/dist/components/Dashboard/dashboard-header/index.esm.js +3 -2
  94. package/dist/components/Dashboard/dashboard-header/index.esm.js.map +1 -1
  95. package/dist/components/Dashboard/dashboard-header/index.js +3 -3
  96. package/dist/components/Dashboard/dashboard-header/index.js.map +1 -1
  97. package/dist/components/Dashboard/dashboard-header.d.ts +8 -0
  98. package/dist/components/Dashboard/index.d.ts +4 -0
  99. package/dist/components/accordion/accordion/index.esm.js +1 -0
  100. package/dist/components/accordion/accordion/index.esm.js.map +1 -1
  101. package/dist/components/accordion/accordion/index.js +1 -1
  102. package/dist/components/accordion/accordion/index.js.map +1 -1
  103. package/dist/components/accordion/accordion.d.ts +10 -0
  104. package/dist/components/accordion/index.d.ts +2 -0
  105. package/dist/components/action-bar/action-bar/index.esm.js +13 -12
  106. package/dist/components/action-bar/action-bar/index.esm.js.map +1 -1
  107. package/dist/components/action-bar/action-bar/index.js +18 -18
  108. package/dist/components/action-bar/action-bar/index.js.map +1 -1
  109. package/dist/components/action-bar/action-bar.d.ts +50 -0
  110. package/dist/components/action-bar/index.d.ts +2 -0
  111. package/dist/components/activity-tag/activity-tag/index.esm.js +2 -2
  112. package/dist/components/activity-tag/activity-tag/index.js +2 -2
  113. package/dist/components/activity-tag/activity-tag/index.js.map +1 -1
  114. package/dist/components/activity-tag/activity-tag.d.ts +3 -0
  115. package/dist/components/activity-tag/index.d.ts +2 -0
  116. package/dist/components/activityArea/activityArea.d.ts +3 -0
  117. package/dist/components/activityArea/index.d.ts +2 -0
  118. package/dist/components/activityLog/activity-log/index.esm.js +1 -1
  119. package/dist/components/activityLog/activity-log/index.js +8 -8
  120. package/dist/components/activityLog/activity-log/index.js.map +1 -1
  121. package/dist/components/activityLog/activity-log.d.ts +3 -0
  122. package/dist/components/activityLog/index.d.ts +2 -0
  123. package/dist/components/alert/alert/index.esm.js +1 -0
  124. package/dist/components/alert/alert/index.esm.js.map +1 -1
  125. package/dist/components/alert/alert/index.js +2 -2
  126. package/dist/components/alert/alert/index.js.map +1 -1
  127. package/dist/components/alert/alert.d.ts +5 -0
  128. package/dist/components/alert/index.d.ts +2 -0
  129. package/dist/components/appbar/appbar.d.ts +3 -0
  130. package/dist/components/appbar/index.d.ts +2 -0
  131. package/dist/components/approval-wrapper/approval-wrapper/index.esm.js +2 -2
  132. package/dist/components/approval-wrapper/approval-wrapper/index.esm.js.map +1 -1
  133. package/dist/components/approval-wrapper/approval-wrapper/index.js +4 -4
  134. package/dist/components/approval-wrapper/approval-wrapper/index.js.map +1 -1
  135. package/dist/components/approval-wrapper/approval-wrapper.d.ts +2 -0
  136. package/dist/components/approval-wrapper/index.d.ts +2 -0
  137. package/dist/components/avatar/avatar.d.ts +3 -0
  138. package/dist/components/avatar/index.d.ts +2 -0
  139. package/dist/components/board/board/index.esm.js +1 -1
  140. package/dist/components/board/board/index.js +1 -1
  141. package/dist/components/board/board/index.js.map +1 -1
  142. package/dist/components/board/board.d.ts +19 -0
  143. package/dist/components/board/columnHeader/index.esm.js +1 -0
  144. package/dist/components/board/columnHeader/index.esm.js.map +1 -1
  145. package/dist/components/board/columnHeader/index.js +2 -2
  146. package/dist/components/board/columnHeader/index.js.map +1 -1
  147. package/dist/components/board/columnHeader.d.ts +3 -0
  148. package/dist/components/board/index.d.ts +4 -0
  149. package/dist/components/bread-crumb/bread-crumb/index.esm.js +1 -0
  150. package/dist/components/bread-crumb/bread-crumb/index.esm.js.map +1 -1
  151. package/dist/components/bread-crumb/bread-crumb/index.js +3 -3
  152. package/dist/components/bread-crumb/bread-crumb/index.js.map +1 -1
  153. package/dist/components/bread-crumb/bread-crumb.d.ts +14 -0
  154. package/dist/components/bread-crumb/index.d.ts +2 -0
  155. package/dist/components/button/button/index.esm.js +1 -11
  156. package/dist/components/button/button/index.esm.js.map +1 -1
  157. package/dist/components/button/button/index.js +2 -2
  158. package/dist/components/button/button/index.js.map +1 -1
  159. package/dist/components/button/button.d.ts +5 -0
  160. package/dist/components/button/index.d.ts +2 -0
  161. package/dist/components/calculation-summary/calculation-summary.d.ts +11 -0
  162. package/dist/components/calculation-summary/components/discount-summary/index.esm.js +1 -1
  163. package/dist/components/calculation-summary/components/discount-summary/index.js +1 -1
  164. package/dist/components/calculation-summary/components/discount-summary/index.js.map +1 -1
  165. package/dist/components/calculation-summary/components/discount-summary.d.ts +13 -0
  166. package/dist/components/calculation-summary/components/index.d.ts +10 -0
  167. package/dist/components/calculation-summary/components/items-summary/index.esm.js +1 -1
  168. package/dist/components/calculation-summary/components/items-summary/index.js +7 -7
  169. package/dist/components/calculation-summary/components/items-summary/index.js.map +1 -1
  170. package/dist/components/calculation-summary/components/items-summary.d.ts +10 -0
  171. package/dist/components/calculation-summary/components/subtotal-summary/index.esm.js +1 -1
  172. package/dist/components/calculation-summary/components/subtotal-summary/index.js +1 -1
  173. package/dist/components/calculation-summary/components/subtotal-summary/index.js.map +1 -1
  174. package/dist/components/calculation-summary/components/subtotal-summary.d.ts +10 -0
  175. package/dist/components/calculation-summary/components/taxes-and-charges-summary/index.esm.js +1 -1
  176. package/dist/components/calculation-summary/components/taxes-and-charges-summary/index.js +1 -1
  177. package/dist/components/calculation-summary/components/taxes-and-charges-summary/index.js.map +1 -1
  178. package/dist/components/calculation-summary/components/taxes-and-charges-summary.d.ts +14 -0
  179. package/dist/components/calculation-summary/components/total-summary/index.esm.js +1 -1
  180. package/dist/components/calculation-summary/components/total-summary/index.js +1 -1
  181. package/dist/components/calculation-summary/components/total-summary/index.js.map +1 -1
  182. package/dist/components/calculation-summary/components/total-summary.d.ts +10 -0
  183. package/dist/components/calculation-summary/index.d.ts +3 -0
  184. package/dist/components/calendar/calendar.d.ts +3 -0
  185. package/dist/components/calendar/index.d.ts +2 -0
  186. package/dist/components/card-wrapper/card-wrapper/index.esm.js +1 -0
  187. package/dist/components/card-wrapper/card-wrapper/index.esm.js.map +1 -1
  188. package/dist/components/card-wrapper/card-wrapper/index.js +1 -1
  189. package/dist/components/card-wrapper/card-wrapper/index.js.map +1 -1
  190. package/dist/components/card-wrapper/card-wrapper.d.ts +8 -0
  191. package/dist/components/card-wrapper/index.d.ts +2 -0
  192. package/dist/components/change-user-password-modal/change-user-password-modal/index.esm.js +7 -6
  193. package/dist/components/change-user-password-modal/change-user-password-modal/index.esm.js.map +1 -1
  194. package/dist/components/change-user-password-modal/change-user-password-modal/index.js +8 -8
  195. package/dist/components/change-user-password-modal/change-user-password-modal/index.js.map +1 -1
  196. package/dist/components/change-user-password-modal/change-user-password-modal.d.ts +7 -0
  197. package/dist/components/change-user-password-modal/index.d.ts +2 -0
  198. package/dist/components/charts/ChartLegends.d.ts +7 -0
  199. package/dist/components/charts/areaLinerChart/index.esm.js +1 -0
  200. package/dist/components/charts/areaLinerChart/index.esm.js.map +1 -1
  201. package/dist/components/charts/areaLinerChart/index.js +2 -2
  202. package/dist/components/charts/areaLinerChart/index.js.map +1 -1
  203. package/dist/components/charts/areaLinerChart.d.ts +19 -0
  204. package/dist/components/charts/bar-chart/bar-chart/index.esm.js +1 -0
  205. package/dist/components/charts/bar-chart/bar-chart/index.esm.js.map +1 -1
  206. package/dist/components/charts/bar-chart/bar-chart/index.js +1 -1
  207. package/dist/components/charts/bar-chart/bar-chart/index.js.map +1 -1
  208. package/dist/components/charts/bar-chart/bar-chart.d.ts +16 -0
  209. package/dist/components/charts/bar-chart/index.d.ts +2 -0
  210. package/dist/components/charts/barChart/barChart/index.esm.js +1 -0
  211. package/dist/components/charts/barChart/barChart/index.esm.js.map +1 -1
  212. package/dist/components/charts/barChart/barChart/index.js +1 -1
  213. package/dist/components/charts/barChart/barChart/index.js.map +1 -1
  214. package/dist/components/charts/barChart/barChart.d.ts +20 -0
  215. package/dist/components/charts/barChart/index.d.ts +2 -0
  216. package/dist/components/charts/barLineChart/barLinechart.d.ts +29 -0
  217. package/dist/components/charts/barLineChart/index.d.ts +2 -0
  218. package/dist/components/charts/donut-chart/donut-chart/index.esm.js +1 -0
  219. package/dist/components/charts/donut-chart/donut-chart/index.esm.js.map +1 -1
  220. package/dist/components/charts/donut-chart/donut-chart/index.js +4 -4
  221. package/dist/components/charts/donut-chart/donut-chart/index.js.map +1 -1
  222. package/dist/components/charts/donut-chart/donut-chart.d.ts +21 -0
  223. package/dist/components/charts/donut-chart/index.d.ts +2 -0
  224. package/dist/components/charts/donutChart/DonutChart/index.esm.js +1 -0
  225. package/dist/components/charts/donutChart/DonutChart/index.esm.js.map +1 -1
  226. package/dist/components/charts/donutChart/DonutChart/index.js +3 -3
  227. package/dist/components/charts/donutChart/DonutChart/index.js.map +1 -1
  228. package/dist/components/charts/donutChart/DonutChart.d.ts +22 -0
  229. package/dist/components/charts/donutChart/index.d.ts +2 -0
  230. package/dist/components/charts/groupBarChart/GroupBarChart/index.esm.js +1 -0
  231. package/dist/components/charts/groupBarChart/GroupBarChart/index.esm.js.map +1 -1
  232. package/dist/components/charts/groupBarChart/GroupBarChart/index.js +1 -1
  233. package/dist/components/charts/groupBarChart/GroupBarChart/index.js.map +1 -1
  234. package/dist/components/charts/groupBarChart/GroupBarChart.d.ts +10 -0
  235. package/dist/components/charts/groupBarChart/index.d.ts +2 -0
  236. package/dist/components/charts/index.d.ts +20 -0
  237. package/dist/components/charts/line-chart/area-line-chart.d.ts +15 -0
  238. package/dist/components/charts/line-chart/area-lineChart/index.esm.js +2 -2
  239. package/dist/components/charts/line-chart/area-lineChart/index.esm.js.map +1 -1
  240. package/dist/components/charts/line-chart/area-lineChart/index.js.map +1 -1
  241. package/dist/components/charts/line-chart/area-lineChart.d.ts +15 -0
  242. package/dist/components/charts/line-chart/index.d.ts +6 -0
  243. package/dist/components/charts/line-chart/line-chart.d.ts +14 -0
  244. package/dist/components/charts/multiLineChart/index.d.ts +2 -0
  245. package/dist/components/charts/multiLineChart/multi-line-chart/index.esm.js +1 -0
  246. package/dist/components/charts/multiLineChart/multi-line-chart/index.esm.js.map +1 -1
  247. package/dist/components/charts/multiLineChart/multi-line-chart/index.js +1 -1
  248. package/dist/components/charts/multiLineChart/multi-line-chart/index.js.map +1 -1
  249. package/dist/components/charts/multiLineChart/multi-line-chart.d.ts +21 -0
  250. package/dist/components/checkbox/checkbox/index.esm.js +1 -0
  251. package/dist/components/checkbox/checkbox/index.esm.js.map +1 -1
  252. package/dist/components/checkbox/checkbox/index.js +1 -1
  253. package/dist/components/checkbox/checkbox/index.js.map +1 -1
  254. package/dist/components/checkbox/checkbox.d.ts +5 -0
  255. package/dist/components/checkbox/index.d.ts +2 -0
  256. package/dist/components/chip/chip/index.esm.js +1 -0
  257. package/dist/components/chip/chip/index.esm.js.map +1 -1
  258. package/dist/components/chip/chip/index.js +2 -2
  259. package/dist/components/chip/chip/index.js.map +1 -1
  260. package/dist/components/chip/chip.d.ts +11 -0
  261. package/dist/components/chip/index.d.ts +2 -0
  262. package/dist/components/chip-generator/chip-generator.d.ts +27 -0
  263. package/dist/components/chip-generator/index.d.ts +2 -0
  264. package/dist/components/color-picker-input/color-picker-input/index.esm.js +2 -1
  265. package/dist/components/color-picker-input/color-picker-input/index.esm.js.map +1 -1
  266. package/dist/components/color-picker-input/color-picker-input/index.js +2 -2
  267. package/dist/components/color-picker-input/color-picker-input/index.js.map +1 -1
  268. package/dist/components/color-picker-input/color-picker-input.d.ts +8 -0
  269. package/dist/components/color-picker-input/index.d.ts +2 -0
  270. package/dist/components/confirm-modal/confirm-modal/index.esm.js +2 -1
  271. package/dist/components/confirm-modal/confirm-modal/index.esm.js.map +1 -1
  272. package/dist/components/confirm-modal/confirm-modal/index.js +4 -4
  273. package/dist/components/confirm-modal/confirm-modal/index.js.map +1 -1
  274. package/dist/components/confirm-modal/confirm-modal.d.ts +21 -0
  275. package/dist/components/confirm-modal/index.d.ts +3 -0
  276. package/dist/components/country-select/country-select/index.esm.js +1 -0
  277. package/dist/components/country-select/country-select/index.esm.js.map +1 -1
  278. package/dist/components/country-select/country-select/index.js +2 -2
  279. package/dist/components/country-select/country-select/index.js.map +1 -1
  280. package/dist/components/country-select/country-select.d.ts +7 -0
  281. package/dist/components/country-select/index.d.ts +2 -0
  282. package/dist/components/custom-snackbar/custom-snackbar/index.esm.js +1 -0
  283. package/dist/components/custom-snackbar/custom-snackbar/index.esm.js.map +1 -1
  284. package/dist/components/custom-snackbar/custom-snackbar/index.js +3 -3
  285. package/dist/components/custom-snackbar/custom-snackbar/index.js.map +1 -1
  286. package/dist/components/custom-snackbar/custom-snackbar.d.ts +11 -0
  287. package/dist/components/custom-snackbar/index.d.ts +2 -0
  288. package/dist/components/custom-toggle-switch/custom-toggle-switch/index.esm.js +1 -0
  289. package/dist/components/custom-toggle-switch/custom-toggle-switch/index.esm.js.map +1 -1
  290. package/dist/components/custom-toggle-switch/custom-toggle-switch/index.js +4 -4
  291. package/dist/components/custom-toggle-switch/custom-toggle-switch/index.js.map +1 -1
  292. package/dist/components/custom-toggle-switch/custom-toggle-switch.d.ts +11 -0
  293. package/dist/components/custom-toggle-switch/index.d.ts +2 -0
  294. package/dist/components/date-picker/date-picker/index.esm.js +1 -0
  295. package/dist/components/date-picker/date-picker/index.esm.js.map +1 -1
  296. package/dist/components/date-picker/date-picker/index.js +1 -1
  297. package/dist/components/date-picker/date-picker/index.js.map +1 -1
  298. package/dist/components/date-picker/date-picker.d.ts +21 -0
  299. package/dist/components/date-picker/index.d.ts +2 -0
  300. package/dist/components/date-range-picker/date-range-picker/index.esm.js +2 -1
  301. package/dist/components/date-range-picker/date-range-picker/index.esm.js.map +1 -1
  302. package/dist/components/date-range-picker/date-range-picker/index.js +3 -3
  303. package/dist/components/date-range-picker/date-range-picker/index.js.map +1 -1
  304. package/dist/components/date-range-picker/date-range-picker.d.ts +4 -0
  305. package/dist/components/date-range-picker/index.d.ts +2 -0
  306. package/dist/components/date-time-picker/date-time-picker/index.esm.js +1 -0
  307. package/dist/components/date-time-picker/date-time-picker/index.esm.js.map +1 -1
  308. package/dist/components/date-time-picker/date-time-picker/index.js +2 -2
  309. package/dist/components/date-time-picker/date-time-picker/index.js.map +1 -1
  310. package/dist/components/date-time-picker/date-time-picker.d.ts +21 -0
  311. package/dist/components/date-time-picker/index.d.ts +2 -0
  312. package/dist/components/dropdown-button/dropdown-button/index.esm.js +1 -1
  313. package/dist/components/dropdown-button/dropdown-button/index.js +5 -5
  314. package/dist/components/dropdown-button/dropdown-button/index.js.map +1 -1
  315. package/dist/components/dropdown-button/dropdown-button.d.ts +24 -0
  316. package/dist/components/dropdown-button/index.d.ts +2 -0
  317. package/dist/components/dynamic-layout-wrapper/dynamic-layout-wrapper/index.esm.js +107 -1
  318. package/dist/components/dynamic-layout-wrapper/dynamic-layout-wrapper/index.esm.js.map +1 -1
  319. package/dist/components/dynamic-layout-wrapper/dynamic-layout-wrapper/index.js +7 -4
  320. package/dist/components/dynamic-layout-wrapper/dynamic-layout-wrapper/index.js.map +1 -1
  321. package/dist/components/dynamic-layout-wrapper/dynamic-layout-wrapper.d.ts +67 -0
  322. package/dist/components/dynamic-layout-wrapper/index.d.ts +2 -0
  323. package/dist/components/dynamic-modal/index.esm.js +2 -2
  324. package/dist/components/dynamic-modal/index.js +2 -2
  325. package/dist/components/dynamic-modal/index.js.map +1 -1
  326. package/dist/components/dynamic-modal.d.ts +9 -0
  327. package/dist/components/editor/custom-editor/index.esm.js +96 -67
  328. package/dist/components/editor/custom-editor/index.esm.js.map +1 -1
  329. package/dist/components/editor/custom-editor/index.js +3 -3
  330. package/dist/components/editor/custom-editor/index.js.map +1 -1
  331. package/dist/components/editor/custom-editor.d.ts +13 -0
  332. package/dist/components/editor/index.d.ts +2 -0
  333. package/dist/components/entity-view-wrapper/entity-view-wrapper/index.esm.js +1 -1
  334. package/dist/components/entity-view-wrapper/entity-view-wrapper/index.js +1 -1
  335. package/dist/components/entity-view-wrapper/entity-view-wrapper/index.js.map +1 -1
  336. package/dist/components/entity-view-wrapper/entity-view-wrapper.d.ts +26 -0
  337. package/dist/components/entity-view-wrapper/index.d.ts +2 -0
  338. package/dist/components/examples/FlexibleReduxExample.d.ts +8 -0
  339. package/dist/components/examples/index.d.ts +2 -0
  340. package/dist/components/expandable-summary-wrapper/expandable-summary-wrapper.d.ts +18 -0
  341. package/dist/components/expandable-summary-wrapper/index.d.ts +2 -0
  342. package/dist/components/fallback/fallback/index.esm.js +1 -0
  343. package/dist/components/fallback/fallback/index.esm.js.map +1 -1
  344. package/dist/components/fallback/fallback/index.js +5 -5
  345. package/dist/components/fallback/fallback/index.js.map +1 -1
  346. package/dist/components/fallback/fallback.d.ts +10 -0
  347. package/dist/components/fallback/index.d.ts +2 -0
  348. package/dist/components/filter/components/add-filter/index.esm.js +2 -1
  349. package/dist/components/filter/components/add-filter/index.esm.js.map +1 -1
  350. package/dist/components/filter/components/add-filter/index.js +2 -2
  351. package/dist/components/filter/components/add-filter/index.js.map +1 -1
  352. package/dist/components/filter/components/add-filter.d.ts +5 -0
  353. package/dist/components/filter/components/add-group/index.esm.js +2 -1
  354. package/dist/components/filter/components/add-group/index.esm.js.map +1 -1
  355. package/dist/components/filter/components/add-group/index.js +2 -2
  356. package/dist/components/filter/components/add-group/index.js.map +1 -1
  357. package/dist/components/filter/components/add-group.d.ts +5 -0
  358. package/dist/components/filter/components/combinator-select/index.esm.js +2 -1
  359. package/dist/components/filter/components/combinator-select/index.esm.js.map +1 -1
  360. package/dist/components/filter/components/combinator-select/index.js +2 -2
  361. package/dist/components/filter/components/combinator-select/index.js.map +1 -1
  362. package/dist/components/filter/components/combinator-select.d.ts +3 -0
  363. package/dist/components/filter/components/delete-group/index.esm.js +2 -1
  364. package/dist/components/filter/components/delete-group/index.esm.js.map +1 -1
  365. package/dist/components/filter/components/delete-group/index.js +2 -2
  366. package/dist/components/filter/components/delete-group/index.js.map +1 -1
  367. package/dist/components/filter/components/delete-group.d.ts +5 -0
  368. package/dist/components/filter/components/field-select/index.esm.js +4 -3
  369. package/dist/components/filter/components/field-select/index.esm.js.map +1 -1
  370. package/dist/components/filter/components/field-select/index.js +3 -3
  371. package/dist/components/filter/components/field-select/index.js.map +1 -1
  372. package/dist/components/filter/components/field-select.d.ts +5 -0
  373. package/dist/components/filter/components/index.d.ts +16 -0
  374. package/dist/components/filter/components/operator-select/index.esm.js +3 -2
  375. package/dist/components/filter/components/operator-select/index.esm.js.map +1 -1
  376. package/dist/components/filter/components/operator-select/index.js +2 -2
  377. package/dist/components/filter/components/operator-select/index.js.map +1 -1
  378. package/dist/components/filter/components/operator-select.d.ts +5 -0
  379. package/dist/components/filter/components/remove-action/index.esm.js +1 -0
  380. package/dist/components/filter/components/remove-action/index.esm.js.map +1 -1
  381. package/dist/components/filter/components/remove-action/index.js +2 -2
  382. package/dist/components/filter/components/remove-action/index.js.map +1 -1
  383. package/dist/components/filter/components/remove-action.d.ts +5 -0
  384. package/dist/components/filter/components/value-editor/index.esm.js +4 -3
  385. package/dist/components/filter/components/value-editor/index.esm.js.map +1 -1
  386. package/dist/components/filter/components/value-editor/index.js +4 -4
  387. package/dist/components/filter/components/value-editor/index.js.map +1 -1
  388. package/dist/components/filter/components/value-editor.d.ts +5 -0
  389. package/dist/components/filter/fields.d.ts +5 -0
  390. package/dist/components/filter/filter/index.esm.js +15 -14
  391. package/dist/components/filter/filter/index.esm.js.map +1 -1
  392. package/dist/components/filter/filter/index.js +17 -17
  393. package/dist/components/filter/filter/index.js.map +1 -1
  394. package/dist/components/filter/filter.d.ts +23 -0
  395. package/dist/components/filter/index.d.ts +4 -0
  396. package/dist/components/footer/footer/index.esm.js +3 -2
  397. package/dist/components/footer/footer/index.esm.js.map +1 -1
  398. package/dist/components/footer/footer/index.js +2 -2
  399. package/dist/components/footer/footer/index.js.map +1 -1
  400. package/dist/components/footer/footer.d.ts +22 -0
  401. package/dist/components/footer/index.d.ts +2 -0
  402. package/dist/components/footer.d.ts +4 -0
  403. package/dist/components/form-control/form-builder/element-controller/index.esm.js +96 -0
  404. package/dist/components/form-control/form-builder/element-controller/index.esm.js.map +1 -0
  405. package/dist/components/form-control/form-builder/element-controller/index.js +7 -0
  406. package/dist/components/form-control/form-builder/element-controller/index.js.map +1 -0
  407. package/dist/components/form-control/form-builder/element-controller.d.ts +14 -0
  408. package/dist/components/form-control/form-builder/form-builder-element/button/index.esm.js +2 -1
  409. package/dist/components/form-control/form-builder/form-builder-element/button/index.esm.js.map +1 -1
  410. package/dist/components/form-control/form-builder/form-builder-element/button/index.js +2 -2
  411. package/dist/components/form-control/form-builder/form-builder-element/button/index.js.map +1 -1
  412. package/dist/components/form-control/form-builder/form-builder-element/button.d.ts +17 -0
  413. package/dist/components/form-control/form-builder/form-builder-element/checkbox/index.esm.js +1 -1
  414. package/dist/components/form-control/form-builder/form-builder-element/checkbox/index.js +4 -4
  415. package/dist/components/form-control/form-builder/form-builder-element/checkbox/index.js.map +1 -1
  416. package/dist/components/form-control/form-builder/form-builder-element/checkbox.d.ts +20 -0
  417. package/dist/components/form-control/form-builder/form-builder-element/chip-or-placeholder/index.esm.js +1 -1
  418. package/dist/components/form-control/form-builder/form-builder-element/chip-or-placeholder/index.js +1 -1
  419. package/dist/components/form-control/form-builder/form-builder-element/chip-or-placeholder/index.js.map +1 -1
  420. package/dist/components/form-control/form-builder/form-builder-element/chip-or-placeholder.d.ts +13 -0
  421. package/dist/components/form-control/form-builder/form-builder-element/date/index.esm.js +2 -1
  422. package/dist/components/form-control/form-builder/form-builder-element/date/index.esm.js.map +1 -1
  423. package/dist/components/form-control/form-builder/form-builder-element/date/index.js +2 -2
  424. package/dist/components/form-control/form-builder/form-builder-element/date/index.js.map +1 -1
  425. package/dist/components/form-control/form-builder/form-builder-element/date-range-picker/index.esm.js +2 -1
  426. package/dist/components/form-control/form-builder/form-builder-element/date-range-picker/index.esm.js.map +1 -1
  427. package/dist/components/form-control/form-builder/form-builder-element/date-range-picker/index.js +1 -1
  428. package/dist/components/form-control/form-builder/form-builder-element/date-range-picker/index.js.map +1 -1
  429. package/dist/components/form-control/form-builder/form-builder-element/date-range-picker.d.ts +25 -0
  430. package/dist/components/form-control/form-builder/form-builder-element/date-time/index.esm.js +2 -1
  431. package/dist/components/form-control/form-builder/form-builder-element/date-time/index.esm.js.map +1 -1
  432. package/dist/components/form-control/form-builder/form-builder-element/date-time/index.js +3 -3
  433. package/dist/components/form-control/form-builder/form-builder-element/date-time/index.js.map +1 -1
  434. package/dist/components/form-control/form-builder/form-builder-element/date-time.d.ts +27 -0
  435. package/dist/components/form-control/form-builder/form-builder-element/date.d.ts +22 -0
  436. package/dist/components/form-control/form-builder/form-builder-element/dynamic-currency-input/index.esm.js +2 -1
  437. package/dist/components/form-control/form-builder/form-builder-element/dynamic-currency-input/index.esm.js.map +1 -1
  438. package/dist/components/form-control/form-builder/form-builder-element/dynamic-currency-input/index.js +2 -2
  439. package/dist/components/form-control/form-builder/form-builder-element/dynamic-currency-input/index.js.map +1 -1
  440. package/dist/components/form-control/form-builder/form-builder-element/dynamic-currency-input.d.ts +31 -0
  441. package/dist/components/form-control/form-builder/form-builder-element/dynamic-element-hoc/index.esm.js +1 -0
  442. package/dist/components/form-control/form-builder/form-builder-element/dynamic-element-hoc/index.esm.js.map +1 -1
  443. package/dist/components/form-control/form-builder/form-builder-element/dynamic-element-hoc/index.js +1 -1
  444. package/dist/components/form-control/form-builder/form-builder-element/dynamic-element-hoc/index.js.map +1 -1
  445. package/dist/components/form-control/form-builder/form-builder-element/dynamic-element-hoc.d.ts +20 -0
  446. package/dist/components/form-control/form-builder/form-builder-element/dynamic-input-select/index.esm.js +2 -1
  447. package/dist/components/form-control/form-builder/form-builder-element/dynamic-input-select/index.esm.js.map +1 -1
  448. package/dist/components/form-control/form-builder/form-builder-element/dynamic-input-select/index.js +2 -2
  449. package/dist/components/form-control/form-builder/form-builder-element/dynamic-input-select/index.js.map +1 -1
  450. package/dist/components/form-control/form-builder/form-builder-element/dynamic-input-select.d.ts +30 -0
  451. package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.esm.js +3 -3
  452. package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.js +8 -8
  453. package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.js.map +1 -1
  454. package/dist/components/form-control/form-builder/form-builder-element/dynamic-select.d.ts +50 -0
  455. package/dist/components/form-control/form-builder/form-builder-element/dynamic-tags-input/index.esm.js +3 -2
  456. package/dist/components/form-control/form-builder/form-builder-element/dynamic-tags-input/index.esm.js.map +1 -1
  457. package/dist/components/form-control/form-builder/form-builder-element/dynamic-tags-input/index.js +3 -3
  458. package/dist/components/form-control/form-builder/form-builder-element/dynamic-tags-input/index.js.map +1 -1
  459. package/dist/components/form-control/form-builder/form-builder-element/dynamic-tags-input.d.ts +25 -0
  460. package/dist/components/form-control/form-builder/form-builder-element/dynamic-text-editor.d.ts +11 -0
  461. package/dist/components/form-control/form-builder/form-builder-element/index.d.ts +46 -0
  462. package/dist/components/form-control/form-builder/form-builder-element/info/index.esm.js +2 -1
  463. package/dist/components/form-control/form-builder/form-builder-element/info/index.esm.js.map +1 -1
  464. package/dist/components/form-control/form-builder/form-builder-element/info/index.js +1 -1
  465. package/dist/components/form-control/form-builder/form-builder-element/info/index.js.map +1 -1
  466. package/dist/components/form-control/form-builder/form-builder-element/info.d.ts +21 -0
  467. package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/index.d.ts +2 -0
  468. package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/location-add-modal/index.esm.js +5 -5
  469. package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/location-add-modal/index.js +14 -14
  470. package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/location-add-modal/index.js.map +1 -1
  471. package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/location-add-modal.d.ts +11 -0
  472. package/dist/components/form-control/form-builder/form-builder-element/media/index.esm.js +2 -1
  473. package/dist/components/form-control/form-builder/form-builder-element/media/index.esm.js.map +1 -1
  474. package/dist/components/form-control/form-builder/form-builder-element/media/index.js +2 -2
  475. package/dist/components/form-control/form-builder/form-builder-element/media/index.js.map +1 -1
  476. package/dist/components/form-control/form-builder/form-builder-element/media.d.ts +5 -0
  477. package/dist/components/form-control/form-builder/form-builder-element/phone/index.esm.js +2 -1
  478. package/dist/components/form-control/form-builder/form-builder-element/phone/index.esm.js.map +1 -1
  479. package/dist/components/form-control/form-builder/form-builder-element/phone/index.js +2 -2
  480. package/dist/components/form-control/form-builder/form-builder-element/phone/index.js.map +1 -1
  481. package/dist/components/form-control/form-builder/form-builder-element/phone.d.ts +4 -0
  482. package/dist/components/form-control/form-builder/form-builder-element/radio-button/index.esm.js +1 -1
  483. package/dist/components/form-control/form-builder/form-builder-element/radio-button/index.js +1 -1
  484. package/dist/components/form-control/form-builder/form-builder-element/radio-button/index.js.map +1 -1
  485. package/dist/components/form-control/form-builder/form-builder-element/radio-button.d.ts +23 -0
  486. package/dist/components/form-control/form-builder/form-builder-element/section/index.esm.js +2 -1
  487. package/dist/components/form-control/form-builder/form-builder-element/section/index.esm.js.map +1 -1
  488. package/dist/components/form-control/form-builder/form-builder-element/section/index.js +4 -4
  489. package/dist/components/form-control/form-builder/form-builder-element/section/index.js.map +1 -1
  490. package/dist/components/form-control/form-builder/form-builder-element/section.d.ts +22 -0
  491. package/dist/components/form-control/form-builder/form-builder-element/select/index.esm.js +4 -3
  492. package/dist/components/form-control/form-builder/form-builder-element/select/index.esm.js.map +1 -1
  493. package/dist/components/form-control/form-builder/form-builder-element/select/index.js +13 -13
  494. package/dist/components/form-control/form-builder/form-builder-element/select/index.js.map +1 -1
  495. package/dist/components/form-control/form-builder/form-builder-element/select-configuration.d.ts +14 -0
  496. package/dist/components/form-control/form-builder/form-builder-element/select.d.ts +5 -0
  497. package/dist/components/form-control/form-builder/form-builder-element/table/index.esm.js +4 -4
  498. package/dist/components/form-control/form-builder/form-builder-element/table/index.js +5 -5
  499. package/dist/components/form-control/form-builder/form-builder-element/table/index.js.map +1 -1
  500. package/dist/components/form-control/form-builder/form-builder-element/table.d.ts +30 -0
  501. package/dist/components/form-control/form-builder/form-builder-element/text/index.esm.js +2 -1
  502. package/dist/components/form-control/form-builder/form-builder-element/text/index.esm.js.map +1 -1
  503. package/dist/components/form-control/form-builder/form-builder-element/text/index.js +2 -2
  504. package/dist/components/form-control/form-builder/form-builder-element/text/index.js.map +1 -1
  505. package/dist/components/form-control/form-builder/form-builder-element/text.d.ts +5 -0
  506. package/dist/components/form-control/form-builder/form-builder-element/time/index.esm.js +2 -1
  507. package/dist/components/form-control/form-builder/form-builder-element/time/index.esm.js.map +1 -1
  508. package/dist/components/form-control/form-builder/form-builder-element/time/index.js +2 -2
  509. package/dist/components/form-control/form-builder/form-builder-element/time/index.js.map +1 -1
  510. package/dist/components/form-control/form-builder/form-builder-element/time.d.ts +5 -0
  511. package/dist/components/form-control/form-builder/form-builder-element/toggle-button.d.ts +17 -0
  512. package/dist/components/form-control/form-builder/index.d.ts +3 -0
  513. package/dist/components/form-control/form-parser/data/index.esm.js +81 -0
  514. package/dist/components/form-control/form-parser/data/index.esm.js.map +1 -0
  515. package/dist/components/form-control/form-parser/data/index.js +2 -0
  516. package/dist/components/form-control/form-parser/data/index.js.map +1 -0
  517. package/dist/components/form-control/form-parser/data.d.ts +45 -0
  518. package/dist/components/form-control/form-parser/form-parser/index.esm.js +5 -4
  519. package/dist/components/form-control/form-parser/form-parser/index.esm.js.map +1 -1
  520. package/dist/components/form-control/form-parser/form-parser/index.js +4 -4
  521. package/dist/components/form-control/form-parser/form-parser/index.js.map +1 -1
  522. package/dist/components/form-control/form-parser/form-parser.d.ts +4 -0
  523. package/dist/components/form-control/form-parser/form-section/index.esm.js +12 -11
  524. package/dist/components/form-control/form-parser/form-section/index.esm.js.map +1 -1
  525. package/dist/components/form-control/form-parser/form-section/index.js +22 -22
  526. package/dist/components/form-control/form-parser/form-section/index.js.map +1 -1
  527. package/dist/components/form-control/form-parser/form-section.d.ts +66 -0
  528. package/dist/components/form-control/form-parser/form-switcher/index.esm.js +1 -0
  529. package/dist/components/form-control/form-parser/form-switcher/index.esm.js.map +1 -1
  530. package/dist/components/form-control/form-parser/form-switcher/index.js +1 -1
  531. package/dist/components/form-control/form-parser/form-switcher/index.js.map +1 -1
  532. package/dist/components/form-control/form-parser/form-switcher.d.ts +3 -0
  533. package/dist/components/form-control/form-parser/index.d.ts +8 -0
  534. package/dist/components/form-control/index.d.ts +2 -0
  535. package/dist/components/form-header/form-header/index.esm.js +2 -1
  536. package/dist/components/form-header/form-header/index.esm.js.map +1 -1
  537. package/dist/components/form-header/form-header/index.js +3 -3
  538. package/dist/components/form-header/form-header/index.js.map +1 -1
  539. package/dist/components/form-header/form-header.d.ts +15 -0
  540. package/dist/components/form-header/index.d.ts +2 -0
  541. package/dist/components/gantt/gantt/index.esm.js +1 -0
  542. package/dist/components/gantt/gantt/index.esm.js.map +1 -1
  543. package/dist/components/gantt/gantt/index.js +2 -2
  544. package/dist/components/gantt/gantt/index.js.map +1 -1
  545. package/dist/components/gantt/gantt.d.ts +11 -0
  546. package/dist/components/gantt/index.d.ts +2 -0
  547. package/dist/components/grid/custom-grid-card/custom-grid-card/index.esm.js +2 -2
  548. package/dist/components/grid/custom-grid-card/custom-grid-card/index.js +9 -9
  549. package/dist/components/grid/custom-grid-card/custom-grid-card/index.js.map +1 -1
  550. package/dist/components/grid/custom-grid-card/custom-grid-card.d.ts +14 -0
  551. package/dist/components/grid/custom-grid-card/index.d.ts +2 -0
  552. package/dist/components/grid/grid-card/grid-card/index.esm.js +4 -2
  553. package/dist/components/grid/grid-card/grid-card/index.esm.js.map +1 -1
  554. package/dist/components/grid/grid-card/grid-card/index.js +10 -11
  555. package/dist/components/grid/grid-card/grid-card/index.js.map +1 -1
  556. package/dist/components/grid/grid-card/grid-card.d.ts +10 -0
  557. package/dist/components/grid/grid-card/index.d.ts +2 -0
  558. package/dist/components/grid/grid-wrapper/grid-wrapper/index.esm.js +2 -1
  559. package/dist/components/grid/grid-wrapper/grid-wrapper/index.esm.js.map +1 -1
  560. package/dist/components/grid/grid-wrapper/grid-wrapper/index.js +3 -3
  561. package/dist/components/grid/grid-wrapper/grid-wrapper/index.js.map +1 -1
  562. package/dist/components/grid/grid-wrapper/grid-wrapper.d.ts +9 -0
  563. package/dist/components/grid/grid-wrapper/index.d.ts +2 -0
  564. package/dist/components/grid/index.d.ts +3 -0
  565. package/dist/components/grid-fallback/grid-fallback/index.esm.js +1 -0
  566. package/dist/components/grid-fallback/grid-fallback/index.esm.js.map +1 -1
  567. package/dist/components/grid-fallback/grid-fallback/index.js +3 -3
  568. package/dist/components/grid-fallback/grid-fallback/index.js.map +1 -1
  569. package/dist/components/grid-fallback/grid-fallback.d.ts +10 -0
  570. package/dist/components/grid-fallback/index.d.ts +2 -0
  571. package/dist/components/header/components/index.d.ts +1 -0
  572. package/dist/components/header/components/notification-menu/index.d.ts +2 -0
  573. package/dist/components/header/components/notification-menu/notification-menu/index.esm.js +4 -3
  574. package/dist/components/header/components/notification-menu/notification-menu/index.esm.js.map +1 -1
  575. package/dist/components/header/components/notification-menu/notification-menu/index.js +28 -28
  576. package/dist/components/header/components/notification-menu/notification-menu/index.js.map +1 -1
  577. package/dist/components/header/components/notification-menu/notification-menu.d.ts +3 -0
  578. package/dist/components/header/header/index.esm.js +6 -6
  579. package/dist/components/header/header/index.js +18 -18
  580. package/dist/components/header/header/index.js.map +1 -1
  581. package/dist/components/header/header-enhanced.d.ts +19 -0
  582. package/dist/components/header/header.d.ts +4 -0
  583. package/dist/components/header/index.d.ts +6 -0
  584. package/dist/components/header/redux/actionCreator.d.ts +3 -0
  585. package/dist/components/header/redux/index.d.ts +5 -0
  586. package/dist/components/header/redux/reducer.d.ts +73 -0
  587. package/dist/components/header/redux/state.d.ts +14 -0
  588. package/dist/components/header copy.d.ts +4 -0
  589. package/dist/components/header-card/header-card/index.esm.js +1 -0
  590. package/dist/components/header-card/header-card/index.esm.js.map +1 -1
  591. package/dist/components/header-card/header-card/index.js +2 -2
  592. package/dist/components/header-card/header-card/index.js.map +1 -1
  593. package/dist/components/header-card/header-card.d.ts +10 -0
  594. package/dist/components/header-card/index.d.ts +2 -0
  595. package/dist/components/hr-line/hr-line/index.esm.js +1 -0
  596. package/dist/components/hr-line/hr-line/index.esm.js.map +1 -1
  597. package/dist/components/hr-line/hr-line/index.js +2 -2
  598. package/dist/components/hr-line/hr-line/index.js.map +1 -1
  599. package/dist/components/hr-line/hr-line.d.ts +4 -0
  600. package/dist/components/hr-line/index.d.ts +2 -0
  601. package/dist/components/icons/action-arrow/index.esm.js +1 -1
  602. package/dist/components/icons/action-arrow/index.js +1 -1
  603. package/dist/components/icons/action-arrow/index.js.map +1 -1
  604. package/dist/components/icons/action-arrow.d.ts +4 -0
  605. package/dist/components/icons/action.d.ts +4 -0
  606. package/dist/components/icons/add-circle/index.esm.js +1 -1
  607. package/dist/components/icons/add-circle/index.js +1 -1
  608. package/dist/components/icons/add-circle/index.js.map +1 -1
  609. package/dist/components/icons/add-circle.d.ts +4 -0
  610. package/dist/components/icons/arrow-bidirectional/index.esm.js +1 -1
  611. package/dist/components/icons/arrow-bidirectional/index.js +1 -1
  612. package/dist/components/icons/arrow-bidirectional/index.js.map +1 -1
  613. package/dist/components/icons/arrow-bidirectional.d.ts +4 -0
  614. package/dist/components/icons/arrow-circle-down/index.esm.js +1 -1
  615. package/dist/components/icons/arrow-circle-down/index.js +1 -1
  616. package/dist/components/icons/arrow-circle-down/index.js.map +1 -1
  617. package/dist/components/icons/arrow-circle-down.d.ts +4 -0
  618. package/dist/components/icons/arrow-down/index.esm.js +1 -1
  619. package/dist/components/icons/arrow-down/index.js +1 -1
  620. package/dist/components/icons/arrow-down/index.js.map +1 -1
  621. package/dist/components/icons/arrow-down-three/index.esm.js +1 -1
  622. package/dist/components/icons/arrow-down-three/index.js +1 -1
  623. package/dist/components/icons/arrow-down-three/index.js.map +1 -1
  624. package/dist/components/icons/arrow-down-three.d.ts +4 -0
  625. package/dist/components/icons/arrow-down-two/index.esm.js +1 -1
  626. package/dist/components/icons/arrow-down-two/index.js +1 -1
  627. package/dist/components/icons/arrow-down-two/index.js.map +1 -1
  628. package/dist/components/icons/arrow-down-two.d.ts +4 -0
  629. package/dist/components/icons/arrow-down.d.ts +4 -0
  630. package/dist/components/icons/arrow-up-down/index.esm.js +1 -1
  631. package/dist/components/icons/arrow-up-down/index.js +1 -1
  632. package/dist/components/icons/arrow-up-down/index.js.map +1 -1
  633. package/dist/components/icons/arrow-up-down.d.ts +4 -0
  634. package/dist/components/icons/arrow-up-two/index.esm.js +1 -1
  635. package/dist/components/icons/arrow-up-two/index.js +1 -1
  636. package/dist/components/icons/arrow-up-two/index.js.map +1 -1
  637. package/dist/components/icons/arrow-up-two.d.ts +4 -0
  638. package/dist/components/icons/assignments/index.esm.js +1 -1
  639. package/dist/components/icons/assignments/index.js +1 -1
  640. package/dist/components/icons/assignments/index.js.map +1 -1
  641. package/dist/components/icons/assignments.d.ts +4 -0
  642. package/dist/components/icons/blank-circle/index.esm.js +1 -1
  643. package/dist/components/icons/blank-circle/index.js +1 -1
  644. package/dist/components/icons/blank-circle/index.js.map +1 -1
  645. package/dist/components/icons/blank-circle.d.ts +4 -0
  646. package/dist/components/icons/block-filled/index.esm.js +1 -1
  647. package/dist/components/icons/block-filled/index.js +1 -1
  648. package/dist/components/icons/block-filled/index.js.map +1 -1
  649. package/dist/components/icons/block-filled.d.ts +6 -0
  650. package/dist/components/icons/calendar/index.esm.js +1 -1
  651. package/dist/components/icons/calendar/index.js +1 -1
  652. package/dist/components/icons/calendar/index.js.map +1 -1
  653. package/dist/components/icons/calendar-add/index.esm.js +1 -1
  654. package/dist/components/icons/calendar-add/index.js +1 -1
  655. package/dist/components/icons/calendar-add/index.js.map +1 -1
  656. package/dist/components/icons/calendar-add.d.ts +4 -0
  657. package/dist/components/icons/calendar.d.ts +4 -0
  658. package/dist/components/icons/check-box.d.ts +3 -0
  659. package/dist/components/icons/checkbox-square/index.esm.js +1 -1
  660. package/dist/components/icons/checkbox-square/index.js +1 -1
  661. package/dist/components/icons/checkbox-square/index.js.map +1 -1
  662. package/dist/components/icons/checkbox-square.d.ts +4 -0
  663. package/dist/components/icons/circular-arrow-setting/index.esm.js +1 -1
  664. package/dist/components/icons/circular-arrow-setting/index.js +1 -1
  665. package/dist/components/icons/circular-arrow-setting/index.js.map +1 -1
  666. package/dist/components/icons/circular-arrow-setting.d.ts +6 -0
  667. package/dist/components/icons/clock/index.esm.js +1 -1
  668. package/dist/components/icons/clock/index.js +1 -1
  669. package/dist/components/icons/clock/index.js.map +1 -1
  670. package/dist/components/icons/clock.d.ts +4 -0
  671. package/dist/components/icons/close/index.esm.js +1 -1
  672. package/dist/components/icons/close/index.js +1 -1
  673. package/dist/components/icons/close/index.js.map +1 -1
  674. package/dist/components/icons/close.d.ts +6 -0
  675. package/dist/components/icons/coin-outline/index.esm.js +1 -1
  676. package/dist/components/icons/coin-outline/index.js +1 -1
  677. package/dist/components/icons/coin-outline/index.js.map +1 -1
  678. package/dist/components/icons/coin-outline.d.ts +4 -0
  679. package/dist/components/icons/copy/index.esm.js +1 -1
  680. package/dist/components/icons/copy/index.js +1 -1
  681. package/dist/components/icons/copy/index.js.map +1 -1
  682. package/dist/components/icons/copy.d.ts +4 -0
  683. package/dist/components/icons/coupon/index.esm.js +29 -0
  684. package/dist/components/icons/coupon/index.esm.js.map +1 -0
  685. package/dist/components/icons/coupon/index.js +7 -0
  686. package/dist/components/icons/coupon/index.js.map +1 -0
  687. package/dist/components/icons/coupon.d.ts +4 -0
  688. package/dist/components/icons/criteria.d.ts +4 -0
  689. package/dist/components/icons/cross-hire/index.esm.js +1 -1
  690. package/dist/components/icons/cross-hire/index.js +1 -1
  691. package/dist/components/icons/cross-hire/index.js.map +1 -1
  692. package/dist/components/icons/cross-hire.d.ts +6 -0
  693. package/dist/components/icons/cross.d.ts +4 -0
  694. package/dist/components/icons/custom-styled-icon/index.esm.js +1 -0
  695. package/dist/components/icons/custom-styled-icon/index.esm.js.map +1 -1
  696. package/dist/components/icons/custom-styled-icon/index.js +1 -1
  697. package/dist/components/icons/custom-styled-icon/index.js.map +1 -1
  698. package/dist/components/icons/custom-styled-icon.d.ts +7 -0
  699. package/dist/components/icons/dashboard.d.ts +4 -0
  700. package/dist/components/icons/document/index.esm.js +1 -1
  701. package/dist/components/icons/document/index.js +1 -1
  702. package/dist/components/icons/document/index.js.map +1 -1
  703. package/dist/components/icons/document-download/index.esm.js +1 -1
  704. package/dist/components/icons/document-download/index.js +1 -1
  705. package/dist/components/icons/document-download/index.js.map +1 -1
  706. package/dist/components/icons/document-download.d.ts +4 -0
  707. package/dist/components/icons/document.d.ts +4 -0
  708. package/dist/components/icons/dollar-circle/index.esm.js +1 -1
  709. package/dist/components/icons/dollar-circle/index.js +1 -1
  710. package/dist/components/icons/dollar-circle/index.js.map +1 -1
  711. package/dist/components/icons/dollar-circle-filled/index.esm.js +1 -1
  712. package/dist/components/icons/dollar-circle-filled/index.js +1 -1
  713. package/dist/components/icons/dollar-circle-filled/index.js.map +1 -1
  714. package/dist/components/icons/dollar-circle-filled.d.ts +6 -0
  715. package/dist/components/icons/dollar-circle.d.ts +4 -0
  716. package/dist/components/icons/edit/index.esm.js +1 -1
  717. package/dist/components/icons/edit/index.js +1 -1
  718. package/dist/components/icons/edit/index.js.map +1 -1
  719. package/dist/components/icons/edit.d.ts +4 -0
  720. package/dist/components/icons/email/index.esm.js +1 -1
  721. package/dist/components/icons/email/index.js +1 -1
  722. package/dist/components/icons/email/index.js.map +1 -1
  723. package/dist/components/icons/email.d.ts +4 -0
  724. package/dist/components/icons/export/index.esm.js +1 -1
  725. package/dist/components/icons/export/index.js +1 -1
  726. package/dist/components/icons/export/index.js.map +1 -1
  727. package/dist/components/icons/export.d.ts +6 -0
  728. package/dist/components/icons/eye/index.esm.js +1 -1
  729. package/dist/components/icons/eye/index.js +1 -1
  730. package/dist/components/icons/eye/index.js.map +1 -1
  731. package/dist/components/icons/eye-off/index.esm.js +1 -1
  732. package/dist/components/icons/eye-off/index.js +1 -1
  733. package/dist/components/icons/eye-off/index.js.map +1 -1
  734. package/dist/components/icons/eye-off.d.ts +4 -0
  735. package/dist/components/icons/eye-plus-circle/index.esm.js +1 -1
  736. package/dist/components/icons/eye-plus-circle/index.js +1 -1
  737. package/dist/components/icons/eye-plus-circle/index.js.map +1 -1
  738. package/dist/components/icons/eye-plus-circle.d.ts +6 -0
  739. package/dist/components/icons/eye.d.ts +4 -0
  740. package/dist/components/icons/filled-circle/index.esm.js +1 -1
  741. package/dist/components/icons/filled-circle/index.js +1 -1
  742. package/dist/components/icons/filled-circle/index.js.map +1 -1
  743. package/dist/components/icons/filled-circle.d.ts +4 -0
  744. package/dist/components/icons/filter/index.esm.js +1 -1
  745. package/dist/components/icons/filter/index.js +1 -1
  746. package/dist/components/icons/filter/index.js.map +1 -1
  747. package/dist/components/icons/filter-remove/index.esm.js +1 -1
  748. package/dist/components/icons/filter-remove/index.js +1 -1
  749. package/dist/components/icons/filter-remove/index.js.map +1 -1
  750. package/dist/components/icons/filter-remove.d.ts +4 -0
  751. package/dist/components/icons/filter.d.ts +4 -0
  752. package/dist/components/icons/folder-save/index.esm.js +1 -1
  753. package/dist/components/icons/folder-save/index.js +1 -1
  754. package/dist/components/icons/folder-save/index.js.map +1 -1
  755. package/dist/components/icons/folder-save.d.ts +4 -0
  756. package/dist/components/icons/grid/index.esm.js +1 -1
  757. package/dist/components/icons/grid/index.js +1 -1
  758. package/dist/components/icons/grid/index.js.map +1 -1
  759. package/dist/components/icons/grid.d.ts +4 -0
  760. package/dist/components/icons/hashtag/index.esm.js +1 -1
  761. package/dist/components/icons/hashtag/index.js +1 -1
  762. package/dist/components/icons/hashtag/index.js.map +1 -1
  763. package/dist/components/icons/hashtag.d.ts +4 -0
  764. package/dist/components/icons/image/index.esm.js +1 -1
  765. package/dist/components/icons/image/index.js +1 -1
  766. package/dist/components/icons/image/index.js.map +1 -1
  767. package/dist/components/icons/image.d.ts +4 -0
  768. package/dist/components/icons/import.d.ts +4 -0
  769. package/dist/components/icons/index.d.ts +177 -0
  770. package/dist/components/icons/info/index.esm.js +1 -1
  771. package/dist/components/icons/info/index.js +1 -1
  772. package/dist/components/icons/info/index.js.map +1 -1
  773. package/dist/components/icons/info-circle/index.esm.js +1 -1
  774. package/dist/components/icons/info-circle/index.js +1 -1
  775. package/dist/components/icons/info-circle/index.js.map +1 -1
  776. package/dist/components/icons/info-circle.d.ts +4 -0
  777. package/dist/components/icons/info.d.ts +6 -0
  778. package/dist/components/icons/link/index.esm.js +1 -1
  779. package/dist/components/icons/link/index.js +1 -1
  780. package/dist/components/icons/link/index.js.map +1 -1
  781. package/dist/components/icons/link-horizontal/index.esm.js +1 -1
  782. package/dist/components/icons/link-horizontal/index.js +1 -1
  783. package/dist/components/icons/link-horizontal/index.js.map +1 -1
  784. package/dist/components/icons/link-horizontal.d.ts +4 -0
  785. package/dist/components/icons/link.d.ts +4 -0
  786. package/dist/components/icons/location/index.esm.js +1 -1
  787. package/dist/components/icons/location/index.js +1 -1
  788. package/dist/components/icons/location/index.js.map +1 -1
  789. package/dist/components/icons/location.d.ts +4 -0
  790. package/dist/components/icons/lowest-lead-time/index.esm.js +1 -1
  791. package/dist/components/icons/lowest-lead-time/index.js +1 -1
  792. package/dist/components/icons/lowest-lead-time/index.js.map +1 -1
  793. package/dist/components/icons/lowest-lead-time.d.ts +4 -0
  794. package/dist/components/icons/lowest-min-qty/index.esm.js +1 -1
  795. package/dist/components/icons/lowest-min-qty/index.js +1 -1
  796. package/dist/components/icons/lowest-min-qty/index.js.map +1 -1
  797. package/dist/components/icons/lowest-min-qty.d.ts +4 -0
  798. package/dist/components/icons/lowest-price/index.esm.js +1 -1
  799. package/dist/components/icons/lowest-price/index.js +1 -1
  800. package/dist/components/icons/lowest-price/index.js.map +1 -1
  801. package/dist/components/icons/lowest-price.d.ts +4 -0
  802. package/dist/components/icons/more/index.esm.js +1 -1
  803. package/dist/components/icons/more/index.js +1 -1
  804. package/dist/components/icons/more/index.js.map +1 -1
  805. package/dist/components/icons/more.d.ts +4 -0
  806. package/dist/components/icons/notification/index.esm.js +1 -1
  807. package/dist/components/icons/notification/index.js +1 -1
  808. package/dist/components/icons/notification/index.js.map +1 -1
  809. package/dist/components/icons/notification.d.ts +4 -0
  810. package/dist/components/icons/paper-clip/index.esm.js +1 -1
  811. package/dist/components/icons/paper-clip/index.js +1 -1
  812. package/dist/components/icons/paper-clip/index.js.map +1 -1
  813. package/dist/components/icons/paper-clip.d.ts +4 -0
  814. package/dist/components/icons/paragraph/index.esm.js +1 -1
  815. package/dist/components/icons/paragraph/index.js +1 -1
  816. package/dist/components/icons/paragraph/index.js.map +1 -1
  817. package/dist/components/icons/paragraph.d.ts +4 -0
  818. package/dist/components/icons/payment-request/index.esm.js +1 -1
  819. package/dist/components/icons/payment-request/index.js +1 -1
  820. package/dist/components/icons/payment-request/index.js.map +1 -1
  821. package/dist/components/icons/payment-request.d.ts +6 -0
  822. package/dist/components/icons/phone/index.esm.js +1 -1
  823. package/dist/components/icons/phone/index.js +1 -1
  824. package/dist/components/icons/phone/index.js.map +1 -1
  825. package/dist/components/icons/phone.d.ts +4 -0
  826. package/dist/components/icons/printer/index.esm.js +1 -1
  827. package/dist/components/icons/printer/index.js +1 -1
  828. package/dist/components/icons/printer/index.js.map +1 -1
  829. package/dist/components/icons/printer.d.ts +4 -0
  830. package/dist/components/icons/process-calendar/index.esm.js +1 -1
  831. package/dist/components/icons/process-calendar/index.js +1 -1
  832. package/dist/components/icons/process-calendar/index.js.map +1 -1
  833. package/dist/components/icons/process-calendar.d.ts +4 -0
  834. package/dist/components/icons/promotion/index.esm.js +1 -1
  835. package/dist/components/icons/promotion/index.js +1 -1
  836. package/dist/components/icons/promotion/index.js.map +1 -1
  837. package/dist/components/icons/promotion.d.ts +6 -0
  838. package/dist/components/icons/radio-button/index.esm.js +1 -1
  839. package/dist/components/icons/radio-button/index.js +1 -1
  840. package/dist/components/icons/radio-button/index.js.map +1 -1
  841. package/dist/components/icons/radio-button.d.ts +4 -0
  842. package/dist/components/icons/receipt/index.esm.js +1 -1
  843. package/dist/components/icons/receipt/index.js +1 -1
  844. package/dist/components/icons/receipt/index.js.map +1 -1
  845. package/dist/components/icons/receipt-filled/index.esm.js +1 -1
  846. package/dist/components/icons/receipt-filled/index.js +1 -1
  847. package/dist/components/icons/receipt-filled/index.js.map +1 -1
  848. package/dist/components/icons/receipt-filled.d.ts +6 -0
  849. package/dist/components/icons/receipt-outline/index.esm.js +1 -1
  850. package/dist/components/icons/receipt-outline/index.js +1 -1
  851. package/dist/components/icons/receipt-outline/index.js.map +1 -1
  852. package/dist/components/icons/receipt-outline.d.ts +4 -0
  853. package/dist/components/icons/receipt.d.ts +6 -0
  854. package/dist/components/icons/rectangle-filled.d.ts +4 -0
  855. package/dist/components/icons/rectangle.d.ts +4 -0
  856. package/dist/components/icons/refresh-icon/index.esm.js +1 -1
  857. package/dist/components/icons/refresh-icon/index.js +1 -1
  858. package/dist/components/icons/refresh-icon/index.js.map +1 -1
  859. package/dist/components/icons/refresh-icon.d.ts +4 -0
  860. package/dist/components/icons/replace/index.esm.js +1 -1
  861. package/dist/components/icons/replace/index.js +1 -1
  862. package/dist/components/icons/replace/index.js.map +1 -1
  863. package/dist/components/icons/replace.d.ts +4 -0
  864. package/dist/components/icons/save/index.esm.js +1 -1
  865. package/dist/components/icons/save/index.js +2 -2
  866. package/dist/components/icons/save/index.js.map +1 -1
  867. package/dist/components/icons/save.d.ts +6 -0
  868. package/dist/components/icons/search/index.esm.js +1 -1
  869. package/dist/components/icons/search/index.js +1 -1
  870. package/dist/components/icons/search/index.js.map +1 -1
  871. package/dist/components/icons/search-status/index.esm.js +1 -1
  872. package/dist/components/icons/search-status/index.js +1 -1
  873. package/dist/components/icons/search-status/index.js.map +1 -1
  874. package/dist/components/icons/search-status.d.ts +4 -0
  875. package/dist/components/icons/search.d.ts +4 -0
  876. package/dist/components/icons/settings-fallback/index.esm.js +1 -1
  877. package/dist/components/icons/settings-fallback/index.js +2 -2
  878. package/dist/components/icons/settings-fallback/index.js.map +1 -1
  879. package/dist/components/icons/settings-fallback.d.ts +7 -0
  880. package/dist/components/icons/share.d.ts +4 -0
  881. package/dist/components/icons/sort-arrow-icon/index.esm.js +5 -5
  882. package/dist/components/icons/sort-arrow-icon/index.esm.js.map +1 -1
  883. package/dist/components/icons/sort-arrow-icon/index.js +2 -2
  884. package/dist/components/icons/sort-arrow-icon/index.js.map +1 -1
  885. package/dist/components/icons/sort-arrow-icon.d.ts +4 -0
  886. package/dist/components/icons/stacked-layer/index.esm.js +1 -1
  887. package/dist/components/icons/stacked-layer/index.js +1 -1
  888. package/dist/components/icons/stacked-layer/index.js.map +1 -1
  889. package/dist/components/icons/stacked-layer.d.ts +6 -0
  890. package/dist/components/icons/start-filled/index.esm.js +1 -1
  891. package/dist/components/icons/start-filled/index.js +1 -1
  892. package/dist/components/icons/start-filled/index.js.map +1 -1
  893. package/dist/components/icons/start-filled.d.ts +6 -0
  894. package/dist/components/icons/three-dot-icon/index.esm.js +1 -1
  895. package/dist/components/icons/three-dot-icon/index.js +1 -1
  896. package/dist/components/icons/three-dot-icon/index.js.map +1 -1
  897. package/dist/components/icons/three-dot-icon.d.ts +4 -0
  898. package/dist/components/icons/tick/index.esm.js +1 -1
  899. package/dist/components/icons/tick/index.js +1 -1
  900. package/dist/components/icons/tick/index.js.map +1 -1
  901. package/dist/components/icons/tick-circle/index.esm.js +1 -1
  902. package/dist/components/icons/tick-circle/index.js +1 -1
  903. package/dist/components/icons/tick-circle/index.js.map +1 -1
  904. package/dist/components/icons/tick-circle-filled/index.esm.js +1 -1
  905. package/dist/components/icons/tick-circle-filled/index.js +1 -1
  906. package/dist/components/icons/tick-circle-filled/index.js.map +1 -1
  907. package/dist/components/icons/tick-circle-filled.d.ts +6 -0
  908. package/dist/components/icons/tick-circle.d.ts +4 -0
  909. package/dist/components/icons/tick-octagon/index.esm.js +1 -1
  910. package/dist/components/icons/tick-octagon/index.js +1 -1
  911. package/dist/components/icons/tick-octagon/index.js.map +1 -1
  912. package/dist/components/icons/tick-octagon.d.ts +4 -0
  913. package/dist/components/icons/tick.d.ts +4 -0
  914. package/dist/components/icons/toggle-switch/index.esm.js +1 -1
  915. package/dist/components/icons/toggle-switch/index.js +1 -1
  916. package/dist/components/icons/toggle-switch/index.js.map +1 -1
  917. package/dist/components/icons/toggle-switch.d.ts +4 -0
  918. package/dist/components/icons/trash/index.esm.js +1 -1
  919. package/dist/components/icons/trash/index.js +1 -1
  920. package/dist/components/icons/trash/index.js.map +1 -1
  921. package/dist/components/icons/trash.d.ts +4 -0
  922. package/dist/components/icons/wave/index.esm.js +1 -1
  923. package/dist/components/icons/wave/index.js +1 -1
  924. package/dist/components/icons/wave/index.js.map +1 -1
  925. package/dist/components/icons/wave.d.ts +6 -0
  926. package/dist/components/icons/with-out-tick-octagon/index.esm.js +1 -1
  927. package/dist/components/icons/with-out-tick-octagon/index.js +1 -1
  928. package/dist/components/icons/with-out-tick-octagon/index.js.map +1 -1
  929. package/dist/components/icons/with-out-tick-octagon.d.ts +4 -0
  930. package/dist/components/icons/work-centre/index.esm.js +1 -1
  931. package/dist/components/icons/work-centre/index.js +1 -1
  932. package/dist/components/icons/work-centre/index.js.map +1 -1
  933. package/dist/components/icons/work-centre.d.ts +6 -0
  934. package/dist/components/index.d.ts +124 -5
  935. package/dist/components/index.esm.js +624 -591
  936. package/dist/components/index.esm.js.map +1 -1
  937. package/dist/components/index.js +1 -1
  938. package/dist/components/info-card/index.d.ts +2 -0
  939. package/dist/components/info-card/info-card/index.esm.js +1 -0
  940. package/dist/components/info-card/info-card/index.esm.js.map +1 -1
  941. package/dist/components/info-card/info-card/index.js +4 -4
  942. package/dist/components/info-card/info-card/index.js.map +1 -1
  943. package/dist/components/info-card/info-card.d.ts +10 -0
  944. package/dist/components/inventory-reports-title-bar/component/index.d.ts +2 -0
  945. package/dist/components/inventory-reports-title-bar/component/reportFilter.d.ts +11 -0
  946. package/dist/components/inventory-reports-title-bar/index.d.ts +5 -0
  947. package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.esm.js +6 -5
  948. package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.esm.js.map +1 -1
  949. package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.js +12 -12
  950. package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.js.map +1 -1
  951. package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar.d.ts +44 -0
  952. package/dist/components/inventory-reports-title-bar/redux/actionCreator.d.ts +11 -0
  953. package/dist/components/inventory-reports-title-bar/redux/index.d.ts +5 -0
  954. package/dist/components/inventory-reports-title-bar/redux/reducer.d.ts +3 -0
  955. package/dist/components/inventory-reports-title-bar/redux/state.d.ts +12 -0
  956. package/dist/components/inventory-reports-title-bar/report-buttons/index.d.ts +2 -0
  957. package/dist/components/inventory-reports-title-bar/report-buttons/report-buttons/index.esm.js +2 -1
  958. package/dist/components/inventory-reports-title-bar/report-buttons/report-buttons/index.esm.js.map +1 -1
  959. package/dist/components/inventory-reports-title-bar/report-buttons/report-buttons/index.js +1 -1
  960. package/dist/components/inventory-reports-title-bar/report-buttons/report-buttons/index.js.map +1 -1
  961. package/dist/components/inventory-reports-title-bar/report-buttons/report-buttons.d.ts +28 -0
  962. package/dist/components/label-value/index.d.ts +2 -0
  963. package/dist/components/label-value/label-value/index.esm.js +1 -0
  964. package/dist/components/label-value/label-value/index.esm.js.map +1 -1
  965. package/dist/components/label-value/label-value/index.js +2 -2
  966. package/dist/components/label-value/label-value/index.js.map +1 -1
  967. package/dist/components/label-value/label-value.d.ts +7 -0
  968. package/dist/components/list/index.d.ts +2 -0
  969. package/dist/components/list/list/index.esm.js +3 -2
  970. package/dist/components/list/list/index.esm.js.map +1 -1
  971. package/dist/components/list/list/index.js +2 -2
  972. package/dist/components/list/list/index.js.map +1 -1
  973. package/dist/components/list/list.d.ts +3 -0
  974. package/dist/components/listing/index.d.ts +3 -0
  975. package/dist/components/listing/listing/index.esm.js +9 -9
  976. package/dist/components/listing/listing/index.esm.js.map +1 -1
  977. package/dist/components/listing/listing/index.js +5 -5
  978. package/dist/components/listing/listing/index.js.map +1 -1
  979. package/dist/components/listing/listing.d.ts +5 -0
  980. package/dist/components/listing/types.d.ts +61 -0
  981. package/dist/components/loader/index.esm.js +1 -0
  982. package/dist/components/loader/index.esm.js.map +1 -1
  983. package/dist/components/loader/index.js +2 -2
  984. package/dist/components/loader/index.js.map +1 -1
  985. package/dist/components/loader.d.ts +3 -0
  986. package/dist/components/loaders/erp-loader/index.esm.js +1 -0
  987. package/dist/components/loaders/erp-loader/index.esm.js.map +1 -1
  988. package/dist/components/loaders/erp-loader/index.js +1 -1
  989. package/dist/components/loaders/erp-loader/index.js.map +1 -1
  990. package/dist/components/loaders/erp-loader.d.ts +5 -0
  991. package/dist/components/loaders/form-loader/index.esm.js +1 -0
  992. package/dist/components/loaders/form-loader/index.esm.js.map +1 -1
  993. package/dist/components/loaders/form-loader/index.js +1 -1
  994. package/dist/components/loaders/form-loader/index.js.map +1 -1
  995. package/dist/components/loaders/form-loader.d.ts +5 -0
  996. package/dist/components/loaders/index.d.ts +8 -0
  997. package/dist/components/loaders/modal-loader/index.esm.js +1 -0
  998. package/dist/components/loaders/modal-loader/index.esm.js.map +1 -1
  999. package/dist/components/loaders/modal-loader/index.js +1 -1
  1000. package/dist/components/loaders/modal-loader/index.js.map +1 -1
  1001. package/dist/components/loaders/modal-loader.d.ts +5 -0
  1002. package/dist/components/loaders/page-loader/index.esm.js +1 -0
  1003. package/dist/components/loaders/page-loader/index.esm.js.map +1 -1
  1004. package/dist/components/loaders/page-loader/index.js +1 -1
  1005. package/dist/components/loaders/page-loader/index.js.map +1 -1
  1006. package/dist/components/loaders/page-loader.d.ts +5 -0
  1007. package/dist/components/location-select.d.ts +19 -0
  1008. package/dist/components/material-editable-table/aggregation-fns/index.d.ts +13 -0
  1009. package/dist/components/material-editable-table/components/default-aggregation.d.ts +10 -0
  1010. package/dist/components/material-editable-table/components/header-cell.d.ts +6 -0
  1011. package/dist/components/material-editable-table/components/index.d.ts +8 -0
  1012. package/dist/components/material-editable-table/components/inline-edit-fields/index.esm.js +6 -6
  1013. package/dist/components/material-editable-table/components/inline-edit-fields/index.js +3 -3
  1014. package/dist/components/material-editable-table/components/inline-edit-fields/index.js.map +1 -1
  1015. package/dist/components/material-editable-table/components/inline-edit-fields.d.ts +17 -0
  1016. package/dist/components/material-editable-table/components/number-aggregation.d.ts +10 -0
  1017. package/dist/components/material-editable-table/index.d.ts +4 -0
  1018. package/dist/components/material-editable-table/material-editable-table/index.esm.js +7 -6
  1019. package/dist/components/material-editable-table/material-editable-table/index.esm.js.map +1 -1
  1020. package/dist/components/material-editable-table/material-editable-table/index.js +15 -15
  1021. package/dist/components/material-editable-table/material-editable-table/index.js.map +1 -1
  1022. package/dist/components/material-editable-table/material-editable-table.d.ts +41 -0
  1023. package/dist/components/material-table/aggregation-fns/index.d.ts +13 -0
  1024. package/dist/components/material-table/components/default-aggregation/index.esm.js +2 -1
  1025. package/dist/components/material-table/components/default-aggregation/index.esm.js.map +1 -1
  1026. package/dist/components/material-table/components/default-aggregation/index.js +2 -2
  1027. package/dist/components/material-table/components/default-aggregation/index.js.map +1 -1
  1028. package/dist/components/material-table/components/default-aggregation.d.ts +10 -0
  1029. package/dist/components/material-table/components/header-cell.d.ts +6 -0
  1030. package/dist/components/material-table/components/index.d.ts +8 -0
  1031. package/dist/components/material-table/components/inline-edit-fields/index.esm.js +6 -6
  1032. package/dist/components/material-table/components/inline-edit-fields/index.js +3 -3
  1033. package/dist/components/material-table/components/inline-edit-fields/index.js.map +1 -1
  1034. package/dist/components/material-table/components/inline-edit-fields.d.ts +17 -0
  1035. package/dist/components/material-table/components/number-aggregation/index.esm.js +2 -1
  1036. package/dist/components/material-table/components/number-aggregation/index.esm.js.map +1 -1
  1037. package/dist/components/material-table/components/number-aggregation/index.js +3 -3
  1038. package/dist/components/material-table/components/number-aggregation/index.js.map +1 -1
  1039. package/dist/components/material-table/components/number-aggregation.d.ts +10 -0
  1040. package/dist/components/material-table/index.d.ts +4 -0
  1041. package/dist/components/material-table/material-table/index.esm.js +9 -8
  1042. package/dist/components/material-table/material-table/index.esm.js.map +1 -1
  1043. package/dist/components/material-table/material-table/index.js +15 -15
  1044. package/dist/components/material-table/material-table/index.js.map +1 -1
  1045. package/dist/components/material-table/material-table.d.ts +81 -0
  1046. package/dist/components/menu/index.d.ts +2 -0
  1047. package/dist/components/menu/menu/index.esm.js +1 -0
  1048. package/dist/components/menu/menu/index.esm.js.map +1 -1
  1049. package/dist/components/menu/menu/index.js +1 -1
  1050. package/dist/components/menu/menu/index.js.map +1 -1
  1051. package/dist/components/menu/menu.d.ts +5 -0
  1052. package/dist/components/modal/index.d.ts +2 -0
  1053. package/dist/components/modal/modal/index.esm.js +1 -0
  1054. package/dist/components/modal/modal/index.esm.js.map +1 -1
  1055. package/dist/components/modal/modal/index.js +1 -1
  1056. package/dist/components/modal/modal/index.js.map +1 -1
  1057. package/dist/components/modal/modal.d.ts +5 -0
  1058. package/dist/components/module-button/index.d.ts +2 -0
  1059. package/dist/components/module-button/module-button/index.esm.js +3 -2
  1060. package/dist/components/module-button/module-button/index.esm.js.map +1 -1
  1061. package/dist/components/module-button/module-button/index.js +4 -4
  1062. package/dist/components/module-button/module-button/index.js.map +1 -1
  1063. package/dist/components/module-button/module-button.d.ts +11 -0
  1064. package/dist/components/mulitline/index.d.ts +2 -0
  1065. package/dist/components/mulitline/multiline/index.esm.js +5 -4
  1066. package/dist/components/mulitline/multiline/index.esm.js.map +1 -1
  1067. package/dist/components/mulitline/multiline/index.js +9 -9
  1068. package/dist/components/mulitline/multiline/index.js.map +1 -1
  1069. package/dist/components/mulitline/multiline.d.ts +11 -0
  1070. package/dist/components/multi-select/index.d.ts +2 -0
  1071. package/dist/components/multi-select/multi-select/index.esm.js +3 -2
  1072. package/dist/components/multi-select/multi-select/index.esm.js.map +1 -1
  1073. package/dist/components/multi-select/multi-select/index.js +11 -11
  1074. package/dist/components/multi-select/multi-select/index.js.map +1 -1
  1075. package/dist/components/multi-select/multi-select.d.ts +31 -0
  1076. package/dist/components/page-navigator/components/add-page/index.esm.js +3 -2
  1077. package/dist/components/page-navigator/components/add-page/index.esm.js.map +1 -1
  1078. package/dist/components/page-navigator/components/add-page/index.js +7 -7
  1079. package/dist/components/page-navigator/components/add-page/index.js.map +1 -1
  1080. package/dist/components/page-navigator/components/add-page-modal/index.esm.js +4 -3
  1081. package/dist/components/page-navigator/components/add-page-modal/index.esm.js.map +1 -1
  1082. package/dist/components/page-navigator/components/add-page-modal/index.js +6 -6
  1083. package/dist/components/page-navigator/components/add-page-modal/index.js.map +1 -1
  1084. package/dist/components/page-navigator/components/add-page-modal.d.ts +12 -0
  1085. package/dist/components/page-navigator/components/add-page.d.ts +10 -0
  1086. package/dist/components/page-navigator/components/index.d.ts +10 -0
  1087. package/dist/components/page-navigator/components/page-action/index.esm.js +5 -4
  1088. package/dist/components/page-navigator/components/page-action/index.esm.js.map +1 -1
  1089. package/dist/components/page-navigator/components/page-action/index.js +6 -6
  1090. package/dist/components/page-navigator/components/page-action/index.js.map +1 -1
  1091. package/dist/components/page-navigator/components/page-action.d.ts +15 -0
  1092. package/dist/components/page-navigator/components/shared-page-modal/index.esm.js +6 -5
  1093. package/dist/components/page-navigator/components/shared-page-modal/index.esm.js.map +1 -1
  1094. package/dist/components/page-navigator/components/shared-page-modal/index.js +12 -12
  1095. package/dist/components/page-navigator/components/shared-page-modal/index.js.map +1 -1
  1096. package/dist/components/page-navigator/components/shared-page-modal.d.ts +10 -0
  1097. package/dist/components/page-navigator/components/shared-page-view/index.esm.js +1 -0
  1098. package/dist/components/page-navigator/components/shared-page-view/index.esm.js.map +1 -1
  1099. package/dist/components/page-navigator/components/shared-page-view/index.js +7 -7
  1100. package/dist/components/page-navigator/components/shared-page-view/index.js.map +1 -1
  1101. package/dist/components/page-navigator/components/shared-page-view.d.ts +3 -0
  1102. package/dist/components/page-navigator/index.d.ts +3 -0
  1103. package/dist/components/page-navigator/page-navigator/index.esm.js +9 -8
  1104. package/dist/components/page-navigator/page-navigator/index.esm.js.map +1 -1
  1105. package/dist/components/page-navigator/page-navigator/index.js +7 -7
  1106. package/dist/components/page-navigator/page-navigator/index.js.map +1 -1
  1107. package/dist/components/page-navigator/page-navigator.d.ts +15 -0
  1108. package/dist/components/pagination/index.d.ts +2 -0
  1109. package/dist/components/pagination/pagination/index.esm.js +2 -1
  1110. package/dist/components/pagination/pagination/index.esm.js.map +1 -1
  1111. package/dist/components/pagination/pagination/index.js +3 -3
  1112. package/dist/components/pagination/pagination/index.js.map +1 -1
  1113. package/dist/components/pagination/pagination.d.ts +10 -0
  1114. package/dist/components/parties-modal/index.d.ts +4 -0
  1115. package/dist/components/parties-modal/parties-modal/index.esm.js +11 -10
  1116. package/dist/components/parties-modal/parties-modal/index.esm.js.map +1 -1
  1117. package/dist/components/parties-modal/parties-modal/index.js +18 -18
  1118. package/dist/components/parties-modal/parties-modal/index.js.map +1 -1
  1119. package/dist/components/parties-modal/parties-modal.d.ts +10 -0
  1120. package/dist/components/parties-modal/utils/constant.d.ts +42 -0
  1121. package/dist/components/parties-modal/utils/index.d.ts +1 -0
  1122. package/dist/components/parties-modal/validator.d.ts +6 -0
  1123. package/dist/components/phone-input/index.d.ts +2 -0
  1124. package/dist/components/phone-input/phone-input/index.esm.js +1 -0
  1125. package/dist/components/phone-input/phone-input/index.esm.js.map +1 -1
  1126. package/dist/components/phone-input/phone-input/index.js +2 -2
  1127. package/dist/components/phone-input/phone-input/index.js.map +1 -1
  1128. package/dist/components/phone-input/phone-input.d.ts +20 -0
  1129. package/dist/components/protected-route/index.esm.js +20 -0
  1130. package/dist/components/protected-route/index.esm.js.map +1 -1
  1131. package/dist/components/protected-route/index.js +2 -2
  1132. package/dist/components/protected-route/index.js.map +1 -1
  1133. package/dist/components/protected-route.d.ts +56 -0
  1134. package/dist/components/providers/ERPUIProvider.d.ts +41 -0
  1135. package/dist/components/providers/index.d.ts +2 -0
  1136. package/dist/components/quick-approval-modal/index.d.ts +2 -0
  1137. package/dist/components/quick-approval-modal/quick-approval-modal/index.esm.js +5 -5
  1138. package/dist/components/quick-approval-modal/quick-approval-modal/index.js +15 -15
  1139. package/dist/components/quick-approval-modal/quick-approval-modal/index.js.map +1 -1
  1140. package/dist/components/quick-approval-modal/quick-approval-modal.d.ts +13 -0
  1141. package/dist/components/radio/index.d.ts +2 -0
  1142. package/dist/components/radio/radio/index.esm.js +1 -0
  1143. package/dist/components/radio/radio/index.esm.js.map +1 -1
  1144. package/dist/components/radio/radio/index.js +2 -2
  1145. package/dist/components/radio/radio/index.js.map +1 -1
  1146. package/dist/components/radio/radio.d.ts +5 -0
  1147. package/dist/components/reports/dynamic-report/dynamic-report/index.esm.js +1 -1
  1148. package/dist/components/reports/dynamic-report/dynamic-report/index.js +2 -2
  1149. package/dist/components/reports/dynamic-report/dynamic-report/index.js.map +1 -1
  1150. package/dist/components/reports/dynamic-report/dynamic-report.d.ts +21 -0
  1151. package/dist/components/reports/dynamic-report/dynamic-rows.d.ts +20 -0
  1152. package/dist/components/reports/dynamic-report/index.d.ts +3 -0
  1153. package/dist/components/reports/index.d.ts +1 -0
  1154. package/dist/components/reports-title-bar/index.d.ts +4 -0
  1155. package/dist/components/reports-title-bar/redux/actionCreator.d.ts +1 -0
  1156. package/dist/components/reports-title-bar/redux/index.d.ts +5 -0
  1157. package/dist/components/reports-title-bar/redux/reducer.d.ts +3 -0
  1158. package/dist/components/reports-title-bar/redux/state.d.ts +8 -0
  1159. package/dist/components/reports-title-bar/report-buttons/index.d.ts +2 -0
  1160. package/dist/components/reports-title-bar/report-buttons/report-buttons/index.esm.js +2 -1
  1161. package/dist/components/reports-title-bar/report-buttons/report-buttons/index.esm.js.map +1 -1
  1162. package/dist/components/reports-title-bar/report-buttons/report-buttons/index.js +1 -1
  1163. package/dist/components/reports-title-bar/report-buttons/report-buttons/index.js.map +1 -1
  1164. package/dist/components/reports-title-bar/report-buttons/report-buttons.d.ts +27 -0
  1165. package/dist/components/reports-title-bar/reports-title-bar/index.esm.js +6 -5
  1166. package/dist/components/reports-title-bar/reports-title-bar/index.esm.js.map +1 -1
  1167. package/dist/components/reports-title-bar/reports-title-bar/index.js +25 -25
  1168. package/dist/components/reports-title-bar/reports-title-bar/index.js.map +1 -1
  1169. package/dist/components/reports-title-bar/reports-title-bar.d.ts +31 -0
  1170. package/dist/components/reset-password-modal/index.d.ts +2 -0
  1171. package/dist/components/reset-password-modal/reset-password-modal/index.esm.js +5 -4
  1172. package/dist/components/reset-password-modal/reset-password-modal/index.esm.js.map +1 -1
  1173. package/dist/components/reset-password-modal/reset-password-modal/index.js +9 -9
  1174. package/dist/components/reset-password-modal/reset-password-modal/index.js.map +1 -1
  1175. package/dist/components/reset-password-modal/reset-password-modal.d.ts +6 -0
  1176. package/dist/components/rfq-response/index.d.ts +2 -0
  1177. package/dist/components/rfq-response/item-response-details/index.esm.js +43 -51
  1178. package/dist/components/rfq-response/item-response-details/index.esm.js.map +1 -1
  1179. package/dist/components/rfq-response/item-response-details/index.js +4 -4
  1180. package/dist/components/rfq-response/item-response-details/index.js.map +1 -1
  1181. package/dist/components/rfq-response/item-response-details.d.ts +2 -0
  1182. package/dist/components/save-filter-modal/index.d.ts +2 -0
  1183. package/dist/components/save-filter-modal/save-filter-modal/index.esm.js +4 -3
  1184. package/dist/components/save-filter-modal/save-filter-modal/index.esm.js.map +1 -1
  1185. package/dist/components/save-filter-modal/save-filter-modal/index.js +7 -7
  1186. package/dist/components/save-filter-modal/save-filter-modal/index.js.map +1 -1
  1187. package/dist/components/save-filter-modal/save-filter-modal.d.ts +9 -0
  1188. package/dist/components/schedule-report/index.d.ts +6 -0
  1189. package/dist/components/schedule-report/schedule-report/index.esm.js +10 -9
  1190. package/dist/components/schedule-report/schedule-report/index.esm.js.map +1 -1
  1191. package/dist/components/schedule-report/schedule-report/index.js +9 -9
  1192. package/dist/components/schedule-report/schedule-report/index.js.map +1 -1
  1193. package/dist/components/schedule-report/schedule-report-modal/index.esm.js +6 -6
  1194. package/dist/components/schedule-report/schedule-report-modal/index.js +11 -11
  1195. package/dist/components/schedule-report/schedule-report-modal/index.js.map +1 -1
  1196. package/dist/components/schedule-report/schedule-report-modal.d.ts +17 -0
  1197. package/dist/components/schedule-report/schedule-report.d.ts +7 -0
  1198. package/dist/components/schedule-report/utils/common.d.ts +9 -0
  1199. package/dist/components/schedule-report/utils/constant.d.ts +29 -0
  1200. package/dist/components/schedule-report/utils/index.d.ts +3 -0
  1201. package/dist/components/schedule-report/utils/type.d.ts +31 -0
  1202. package/dist/components/schedule-report/validator.d.ts +13 -0
  1203. package/dist/components/search-bar/index.d.ts +2 -0
  1204. package/dist/components/search-bar/search-bar/index.esm.js +1 -0
  1205. package/dist/components/search-bar/search-bar/index.esm.js.map +1 -1
  1206. package/dist/components/search-bar/search-bar/index.js +3 -3
  1207. package/dist/components/search-bar/search-bar/index.js.map +1 -1
  1208. package/dist/components/search-bar/search-bar.d.ts +15 -0
  1209. package/dist/components/searchable-select/index.esm.js +21 -10
  1210. package/dist/components/searchable-select/index.esm.js.map +1 -1
  1211. package/dist/components/searchable-select/index.js +9 -8
  1212. package/dist/components/searchable-select/index.js.map +1 -1
  1213. package/dist/components/searchable-select.d.ts +65 -0
  1214. package/dist/components/select/controller/chip-or-placeholder/index.esm.js +1 -1
  1215. package/dist/components/select/controller/chip-or-placeholder/index.js +1 -1
  1216. package/dist/components/select/controller/chip-or-placeholder/index.js.map +1 -1
  1217. package/dist/components/select/controller/chip-or-placeholder.d.ts +10 -0
  1218. package/dist/components/select/controller/controller-select/index.esm.js +3 -3
  1219. package/dist/components/select/controller/controller-select/index.js +5 -5
  1220. package/dist/components/select/controller/controller-select/index.js.map +1 -1
  1221. package/dist/components/select/controller/controller-select.d.ts +33 -0
  1222. package/dist/components/select/controller/index.d.ts +4 -0
  1223. package/dist/components/select/index.d.ts +5 -0
  1224. package/dist/components/select/select/index.esm.js +2 -1
  1225. package/dist/components/select/select/index.esm.js.map +1 -1
  1226. package/dist/components/select/select/index.js +1 -1
  1227. package/dist/components/select/select/index.js.map +1 -1
  1228. package/dist/components/select/select-search/index.esm.js +1 -0
  1229. package/dist/components/select/select-search/index.esm.js.map +1 -1
  1230. package/dist/components/select/select-search/index.js +1 -1
  1231. package/dist/components/select/select-search/index.js.map +1 -1
  1232. package/dist/components/select/select-search.d.ts +5 -0
  1233. package/dist/components/select/select.d.ts +4 -0
  1234. package/dist/components/share-modal/index.d.ts +5 -0
  1235. package/dist/components/share-modal/redux/actionCreator.d.ts +2 -0
  1236. package/dist/components/share-modal/redux/index.d.ts +5 -0
  1237. package/dist/components/share-modal/redux/reducer.d.ts +21 -0
  1238. package/dist/components/share-modal/redux/state.d.ts +8 -0
  1239. package/dist/components/share-modal/share-modal/index.esm.js +5 -4
  1240. package/dist/components/share-modal/share-modal/index.esm.js.map +1 -1
  1241. package/dist/components/share-modal/share-modal/index.js +10 -10
  1242. package/dist/components/share-modal/share-modal/index.js.map +1 -1
  1243. package/dist/components/share-modal/share-modal-enhanced.d.ts +20 -0
  1244. package/dist/components/share-modal/share-modal.d.ts +14 -0
  1245. package/dist/components/sidebar/index.d.ts +2 -0
  1246. package/dist/components/sidebar/sidebar/index.esm.js +5 -5
  1247. package/dist/components/sidebar/sidebar/index.js +16 -16
  1248. package/dist/components/sidebar/sidebar/index.js.map +1 -1
  1249. package/dist/components/sidebar/sidebar.d.ts +23 -0
  1250. package/dist/components/snackbar/index.d.ts +2 -0
  1251. package/dist/components/snackbar/snackbar/index.esm.js +1 -0
  1252. package/dist/components/snackbar/snackbar/index.esm.js.map +1 -1
  1253. package/dist/components/snackbar/snackbar/index.js +3 -3
  1254. package/dist/components/snackbar/snackbar/index.js.map +1 -1
  1255. package/dist/components/snackbar/snackbar.d.ts +5 -0
  1256. package/dist/components/sub-header-doc/index.d.ts +2 -0
  1257. package/dist/components/sub-header-doc/sub-header-doc/index.esm.js +2 -1
  1258. package/dist/components/sub-header-doc/sub-header-doc/index.esm.js.map +1 -1
  1259. package/dist/components/sub-header-doc/sub-header-doc/index.js +4 -4
  1260. package/dist/components/sub-header-doc/sub-header-doc/index.js.map +1 -1
  1261. package/dist/components/sub-header-doc/sub-header-doc.d.ts +4 -0
  1262. package/dist/components/switches/android-12-switch/index.esm.js +1 -0
  1263. package/dist/components/switches/android-12-switch/index.esm.js.map +1 -1
  1264. package/dist/components/switches/android-12-switch/index.js +1 -1
  1265. package/dist/components/switches/android-12-switch/index.js.map +1 -1
  1266. package/dist/components/switches/android-12-switch.d.ts +5 -0
  1267. package/dist/components/switches/index.d.ts +2 -0
  1268. package/dist/components/tab-bar-ui/index.d.ts +2 -0
  1269. package/dist/components/tab-bar-ui/tab-bar-ui/index.esm.js +5 -11
  1270. package/dist/components/tab-bar-ui/tab-bar-ui/index.esm.js.map +1 -1
  1271. package/dist/components/tab-bar-ui/tab-bar-ui/index.js +3 -3
  1272. package/dist/components/tab-bar-ui/tab-bar-ui/index.js.map +1 -1
  1273. package/dist/components/tab-bar-ui/tab-bar-ui.d.ts +20 -0
  1274. package/dist/components/tabs/index.d.ts +2 -0
  1275. package/dist/components/tabs/tabs/index.esm.js +4 -3
  1276. package/dist/components/tabs/tabs/index.esm.js.map +1 -1
  1277. package/dist/components/tabs/tabs/index.js +3 -3
  1278. package/dist/components/tabs/tabs/index.js.map +1 -1
  1279. package/dist/components/tabs/tabs.d.ts +24 -0
  1280. package/dist/components/text-area/index.d.ts +2 -0
  1281. package/dist/components/text-area/text-area/index.esm.js +1 -0
  1282. package/dist/components/text-area/text-area/index.esm.js.map +1 -1
  1283. package/dist/components/text-area/text-area/index.js +3 -3
  1284. package/dist/components/text-area/text-area/index.js.map +1 -1
  1285. package/dist/components/text-area/text-area.d.ts +10 -0
  1286. package/dist/components/text-field/index.d.ts +2 -0
  1287. package/dist/components/text-field/text-field/index.esm.js +1 -0
  1288. package/dist/components/text-field/text-field/index.esm.js.map +1 -1
  1289. package/dist/components/text-field/text-field/index.js +3 -3
  1290. package/dist/components/text-field/text-field/index.js.map +1 -1
  1291. package/dist/components/text-field/text-field.d.ts +4 -0
  1292. package/dist/components/time-picker/index.d.ts +2 -0
  1293. package/dist/components/time-picker/time-picker/index.esm.js +1 -0
  1294. package/dist/components/time-picker/time-picker/index.esm.js.map +1 -1
  1295. package/dist/components/time-picker/time-picker/index.js +1 -1
  1296. package/dist/components/time-picker/time-picker/index.js.map +1 -1
  1297. package/dist/components/time-picker/time-picker.d.ts +17 -0
  1298. package/dist/components/time-range-picker/index.d.ts +2 -0
  1299. package/dist/components/time-range-picker/time-range-picker/index.esm.js +1 -1
  1300. package/dist/components/time-range-picker/time-range-picker/index.js +4 -4
  1301. package/dist/components/time-range-picker/time-range-picker/index.js.map +1 -1
  1302. package/dist/components/time-range-picker/time-range-picker.d.ts +10 -0
  1303. package/dist/components/title-dropdown-button/index.d.ts +2 -0
  1304. package/dist/components/title-dropdown-button/title-dropdown-button.d.ts +15 -0
  1305. package/dist/components/toast/index.d.ts +2 -0
  1306. package/dist/components/toast/toast/index.esm.js +1 -0
  1307. package/dist/components/toast/toast/index.esm.js.map +1 -1
  1308. package/dist/components/toast/toast/index.js +2 -2
  1309. package/dist/components/toast/toast/index.js.map +1 -1
  1310. package/dist/components/toast/toast.d.ts +10 -0
  1311. package/dist/components/toggle/index.d.ts +2 -0
  1312. package/dist/components/toggle/toggle/index.esm.js +1 -0
  1313. package/dist/components/toggle/toggle/index.esm.js.map +1 -1
  1314. package/dist/components/toggle/toggle/index.js +2 -2
  1315. package/dist/components/toggle/toggle/index.js.map +1 -1
  1316. package/dist/components/toggle/toggle.d.ts +8 -0
  1317. package/dist/components/toggle-switch/index.d.ts +2 -0
  1318. package/dist/components/toggle-switch/toggle-switch.d.ts +10 -0
  1319. package/dist/components/tooltip/Tooltip/index.esm.js +1 -0
  1320. package/dist/components/tooltip/Tooltip/index.esm.js.map +1 -1
  1321. package/dist/components/tooltip/Tooltip/index.js +1 -1
  1322. package/dist/components/tooltip/Tooltip/index.js.map +1 -1
  1323. package/dist/components/tooltip/Tooltip.d.ts +5 -0
  1324. package/dist/components/tooltip/index.d.ts +2 -0
  1325. package/dist/components/typography/index.d.ts +2 -0
  1326. package/dist/components/typography/typography.d.ts +8 -0
  1327. package/dist/components/upload/file-confirmation/index.esm.js +1 -1
  1328. package/dist/components/upload/file-confirmation/index.js +5 -5
  1329. package/dist/components/upload/file-confirmation/index.js.map +1 -1
  1330. package/dist/components/upload/file-confirmation.d.ts +12 -0
  1331. package/dist/components/upload/index.d.ts +4 -0
  1332. package/dist/components/upload/upload/index.esm.js +5 -4
  1333. package/dist/components/upload/upload/index.esm.js.map +1 -1
  1334. package/dist/components/upload/upload/index.js +16 -16
  1335. package/dist/components/upload/upload/index.js.map +1 -1
  1336. package/dist/components/upload/upload.d.ts +16 -0
  1337. package/dist/components/upload-excel/file-confirmation.d.ts +11 -0
  1338. package/dist/components/upload-excel/index.d.ts +4 -0
  1339. package/dist/components/upload-excel/upload-excel/index.esm.js +4 -3
  1340. package/dist/components/upload-excel/upload-excel/index.esm.js.map +1 -1
  1341. package/dist/components/upload-excel/upload-excel/index.js +11 -11
  1342. package/dist/components/upload-excel/upload-excel/index.js.map +1 -1
  1343. package/dist/components/upload-excel/upload-excel.d.ts +17 -0
  1344. package/dist/components/upload-media/index.d.ts +2 -0
  1345. package/dist/components/upload-media/upload-media/index.esm.js +2 -1
  1346. package/dist/components/upload-media/upload-media/index.esm.js.map +1 -1
  1347. package/dist/components/upload-media/upload-media/index.js +3 -3
  1348. package/dist/components/upload-media/upload-media/index.js.map +1 -1
  1349. package/dist/components/upload-media/upload-media.d.ts +17 -0
  1350. package/dist/components/user-dropdown/index.d.ts +2 -0
  1351. package/dist/components/user-dropdown/user-dropdown/index.esm.js +1 -1
  1352. package/dist/components/user-dropdown/user-dropdown/index.js +3 -3
  1353. package/dist/components/user-dropdown/user-dropdown/index.js.map +1 -1
  1354. package/dist/components/user-dropdown/user-dropdown.d.ts +12 -0
  1355. package/dist/components/value-field/index.d.ts +2 -0
  1356. package/dist/components/value-field/value-field/index.esm.js +1 -0
  1357. package/dist/components/value-field/value-field/index.esm.js.map +1 -1
  1358. package/dist/components/value-field/value-field/index.js +3 -3
  1359. package/dist/components/value-field/value-field/index.js.map +1 -1
  1360. package/dist/components/value-field/value-field.d.ts +9 -0
  1361. package/dist/components/view-modal/index.d.ts +2 -0
  1362. package/dist/components/view-modal/view-modal/index.esm.js +4 -3
  1363. package/dist/components/view-modal/view-modal/index.esm.js.map +1 -1
  1364. package/dist/components/view-modal/view-modal/index.js +11 -11
  1365. package/dist/components/view-modal/view-modal/index.js.map +1 -1
  1366. package/dist/components/view-modal/view-modal.d.ts +14 -0
  1367. package/dist/config/index.d.ts +43 -0
  1368. package/dist/constants/action-bar.d.ts +9 -0
  1369. package/dist/constants/all-language.d.ts +6 -0
  1370. package/dist/constants/auth.d.ts +5 -0
  1371. package/dist/constants/common.d.ts +1 -0
  1372. package/dist/constants/defaultColumns.d.ts +109 -0
  1373. package/dist/constants/index.d.ts +6 -6
  1374. package/dist/constants/index.esm.js +104 -10
  1375. package/dist/constants/index.esm.js.map +1 -1
  1376. package/dist/constants/index.js +1 -1
  1377. package/dist/constants/lang/ar.d.ts +1448 -0
  1378. package/dist/constants/lang/en.d.ts +10645 -0
  1379. package/dist/constants/lang/es.d.ts +142 -0
  1380. package/dist/constants/lang/index.d.ts +6 -0
  1381. package/dist/constants/modules.d.ts +2 -0
  1382. package/dist/constants/mui.constants.d.ts +2 -0
  1383. package/dist/constants/pathnames/index.d.ts +13 -0
  1384. package/dist/constants/pathnames/pathname.accounting.d.ts +165 -0
  1385. package/dist/constants/pathnames/pathname.crm.d.ts +203 -0
  1386. package/dist/constants/pathnames/pathname.d.ts +25 -0
  1387. package/dist/constants/pathnames/pathname.document.d.ts +10 -0
  1388. package/dist/constants/pathnames/pathname.hrms.d.ts +5 -0
  1389. package/dist/constants/pathnames/pathname.inventory.d.ts +154 -0
  1390. package/dist/constants/pathnames/pathname.manufacturing/index.esm.js +6 -0
  1391. package/dist/constants/pathnames/pathname.manufacturing/index.esm.js.map +1 -1
  1392. package/dist/constants/pathnames/pathname.manufacturing/index.js +1 -1
  1393. package/dist/constants/pathnames/pathname.manufacturing/index.js.map +1 -1
  1394. package/dist/constants/pathnames/pathname.manufacturing.d.ts +387 -0
  1395. package/dist/constants/pathnames/pathname.office.d.ts +5 -0
  1396. package/dist/constants/pathnames/pathname.procurement.d.ts +150 -0
  1397. package/dist/constants/pathnames/pathname.project.d.ts +5 -0
  1398. package/dist/constants/pathnames/pathname.quotes.d.ts +5 -0
  1399. package/dist/constants/pathnames/pathname.rental/index.esm.js +12 -1
  1400. package/dist/constants/pathnames/pathname.rental/index.esm.js.map +1 -1
  1401. package/dist/constants/pathnames/pathname.rental/index.js +1 -1
  1402. package/dist/constants/pathnames/pathname.rental/index.js.map +1 -1
  1403. package/dist/constants/pathnames/pathname.rental.d.ts +43 -0
  1404. package/dist/constants/pathnames/pathname.user.d.ts +20 -0
  1405. package/dist/constants/resource-lang.d.ts +12240 -0
  1406. package/dist/constants/route-page-map.d.ts +10 -0
  1407. package/dist/constants/status.d.ts +4 -0
  1408. package/dist/contexts/AuthContext/index.esm.js +1 -1
  1409. package/dist/contexts/AuthContext/index.js +1 -1
  1410. package/dist/contexts/AuthContext/index.js.map +1 -1
  1411. package/dist/contexts/AuthContext.d.ts +69 -0
  1412. package/dist/contexts/index.d.ts +5 -16
  1413. package/dist/contexts/index.esm.js +4 -4
  1414. package/dist/contexts/index.js +1 -1
  1415. package/dist/contexts/languageContext/index.esm.js +1 -0
  1416. package/dist/contexts/languageContext/index.esm.js.map +1 -1
  1417. package/dist/contexts/languageContext/index.js +2 -2
  1418. package/dist/contexts/languageContext/index.js.map +1 -1
  1419. package/dist/contexts/languageContext.d.ts +25 -0
  1420. package/dist/contexts/page-context.d.ts +72 -0
  1421. package/dist/contexts/permission-context.d.ts +14 -0
  1422. package/dist/hooks/apiHelper/index.esm.js +1 -1
  1423. package/dist/hooks/apiHelper/index.esm.js.map +1 -1
  1424. package/dist/hooks/apiHelper/index.js +1 -1
  1425. package/dist/hooks/apiHelper/index.js.map +1 -1
  1426. package/dist/hooks/apiHelper.d.ts +12 -0
  1427. package/dist/hooks/common.d.ts +41 -0
  1428. package/dist/hooks/index.d.ts +15 -26
  1429. package/dist/hooks/index.esm.js +27 -20
  1430. package/dist/hooks/index.esm.js.map +1 -1
  1431. package/dist/hooks/index.js +1 -1
  1432. package/dist/hooks/use-deep-memo.d.ts +2 -0
  1433. package/dist/hooks/use-material-calculations/index.esm.js +2 -9
  1434. package/dist/hooks/use-material-calculations/index.esm.js.map +1 -1
  1435. package/dist/hooks/use-material-calculations/index.js +1 -1
  1436. package/dist/hooks/use-material-calculations/index.js.map +1 -1
  1437. package/dist/hooks/use-material-calculations.d.ts +81 -0
  1438. package/dist/hooks/use-translations/index.esm.js +4 -3
  1439. package/dist/hooks/use-translations/index.esm.js.map +1 -1
  1440. package/dist/hooks/use-translations/index.js +1 -1
  1441. package/dist/hooks/use-translations/index.js.map +1 -1
  1442. package/dist/hooks/use-translations.d.ts +4 -0
  1443. package/dist/hooks/useApi/index.esm.js +4 -3
  1444. package/dist/hooks/useApi/index.esm.js.map +1 -1
  1445. package/dist/hooks/useApi/index.js +1 -1
  1446. package/dist/hooks/useApi/index.js.map +1 -1
  1447. package/dist/hooks/useApi.d.ts +19 -0
  1448. package/dist/hooks/useCheckSkuAndName/index.esm.js +5 -4
  1449. package/dist/hooks/useCheckSkuAndName/index.esm.js.map +1 -1
  1450. package/dist/hooks/useCheckSkuAndName/index.js +1 -1
  1451. package/dist/hooks/useCheckSkuAndName/index.js.map +1 -1
  1452. package/dist/hooks/useCheckSkuAndName.d.ts +9 -0
  1453. package/dist/hooks/useDataFetcher/index.esm.js +3 -2
  1454. package/dist/hooks/useDataFetcher/index.esm.js.map +1 -1
  1455. package/dist/hooks/useDataFetcher/index.js +1 -1
  1456. package/dist/hooks/useDataFetcher/index.js.map +1 -1
  1457. package/dist/hooks/useDataFetcher.d.ts +25 -0
  1458. package/dist/hooks/useLangauge/index.esm.js +3 -2
  1459. package/dist/hooks/useLangauge/index.esm.js.map +1 -1
  1460. package/dist/hooks/useLangauge/index.js +1 -1
  1461. package/dist/hooks/useLangauge/index.js.map +1 -1
  1462. package/dist/hooks/useLanguageFallback/index.esm.js +0 -5
  1463. package/dist/hooks/useLanguageFallback/index.esm.js.map +1 -1
  1464. package/dist/hooks/useLanguageFallback/index.js +1 -1
  1465. package/dist/hooks/useLanguageFallback/index.js.map +1 -1
  1466. package/dist/hooks/useLanguageFallback.d.ts +67 -0
  1467. package/dist/hooks/useLocationFilter/index.esm.js +0 -5
  1468. package/dist/hooks/useLocationFilter/index.esm.js.map +1 -1
  1469. package/dist/hooks/useLocationFilter/index.js +1 -1
  1470. package/dist/hooks/useLocationFilter/index.js.map +1 -1
  1471. package/dist/hooks/useLocationFilter.d.ts +43 -0
  1472. package/dist/hooks/useReduxIntegration/index.esm.js +39 -0
  1473. package/dist/hooks/useReduxIntegration/index.esm.js.map +1 -0
  1474. package/dist/hooks/useReduxIntegration/index.js +2 -0
  1475. package/dist/hooks/useReduxIntegration/index.js.map +1 -0
  1476. package/dist/hooks/useReduxIntegration.d.ts +9 -0
  1477. package/dist/icons/index.d.ts +164 -81
  1478. package/dist/icons/index.esm.js +80 -76
  1479. package/dist/icons/index.esm.js.map +1 -1
  1480. package/dist/icons/index.js +1 -1
  1481. package/dist/images/index.esm.js +6 -6
  1482. package/dist/images/index.js +1 -1
  1483. package/dist/images/index.js.map +1 -1
  1484. package/dist/index.d.ts +192 -1
  1485. package/dist/index.esm.js +860 -735
  1486. package/dist/index.esm.js.map +1 -1
  1487. package/dist/index.js +1 -1
  1488. package/dist/layout/fullScreen/fullScreen/index.esm.js +5 -3
  1489. package/dist/layout/fullScreen/fullScreen/index.esm.js.map +1 -1
  1490. package/dist/layout/fullScreen/fullScreen/index.js +3 -3
  1491. package/dist/layout/fullScreen/fullScreen/index.js.map +1 -1
  1492. package/dist/layout/fullScreen/fullScreen.d.ts +5 -0
  1493. package/dist/layout/fullScreen/index.d.ts +2 -0
  1494. package/dist/layout/index.d.ts +2 -3
  1495. package/dist/layout/index.esm.js +4 -4
  1496. package/dist/layout/index.js +1 -1
  1497. package/dist/layout/sidebarScreen/index.d.ts +2 -0
  1498. package/dist/layout/sidebarScreen/sidebarScreen/index.esm.js +72 -50
  1499. package/dist/layout/sidebarScreen/sidebarScreen/index.esm.js.map +1 -1
  1500. package/dist/layout/sidebarScreen/sidebarScreen/index.js +4 -4
  1501. package/dist/layout/sidebarScreen/sidebarScreen/index.js.map +1 -1
  1502. package/dist/layout/sidebarScreen/sidebarScreen.d.ts +7 -0
  1503. package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.esm.js +1 -1
  1504. package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.js +1 -1
  1505. package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.js.map +1 -1
  1506. package/dist/node_modules/@hookform/resolvers/yup/dist/yup/index.esm.js +15 -14
  1507. package/dist/node_modules/@hookform/resolvers/yup/dist/yup/index.esm.js.map +1 -1
  1508. package/dist/node_modules/@hookform/resolvers/yup/dist/yup/index.js +1 -1
  1509. package/dist/node_modules/@hookform/resolvers/yup/dist/yup/index.js.map +1 -1
  1510. package/dist/node_modules/@mui/base/TextareaAutosize/TextareaAutosize/index.esm.js +3 -2
  1511. package/dist/node_modules/@mui/base/TextareaAutosize/TextareaAutosize/index.esm.js.map +1 -1
  1512. package/dist/node_modules/@mui/base/TextareaAutosize/TextareaAutosize/index.js +1 -1
  1513. package/dist/node_modules/@mui/base/TextareaAutosize/TextareaAutosize/index.js.map +1 -1
  1514. package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.esm.js +1 -1
  1515. package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.js +1 -1
  1516. package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.js.map +1 -1
  1517. package/dist/node_modules/@mui/lab/TabContext/TabContext/index.esm.js +3 -2
  1518. package/dist/node_modules/@mui/lab/TabContext/TabContext/index.esm.js.map +1 -1
  1519. package/dist/node_modules/@mui/lab/TabContext/TabContext/index.js +2 -2
  1520. package/dist/node_modules/@mui/lab/TabContext/TabContext/index.js.map +1 -1
  1521. package/dist/node_modules/@mui/lab/TabList/TabList/index.esm.js +2 -1
  1522. package/dist/node_modules/@mui/lab/TabList/TabList/index.esm.js.map +1 -1
  1523. package/dist/node_modules/@mui/lab/TabList/TabList/index.js +1 -1
  1524. package/dist/node_modules/@mui/lab/TabList/TabList/index.js.map +1 -1
  1525. package/dist/node_modules/@mui/lab/TabPanel/TabPanel/index.esm.js +2 -1
  1526. package/dist/node_modules/@mui/lab/TabPanel/TabPanel/index.esm.js.map +1 -1
  1527. package/dist/node_modules/@mui/lab/TabPanel/TabPanel/index.js +2 -2
  1528. package/dist/node_modules/@mui/lab/TabPanel/TabPanel/index.js.map +1 -1
  1529. package/dist/node_modules/@mui/lab/Timeline/Timeline/index.esm.js +2 -1
  1530. package/dist/node_modules/@mui/lab/Timeline/Timeline/index.esm.js.map +1 -1
  1531. package/dist/node_modules/@mui/lab/Timeline/Timeline/index.js +2 -2
  1532. package/dist/node_modules/@mui/lab/Timeline/Timeline/index.js.map +1 -1
  1533. package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.esm.js +2 -1
  1534. package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.esm.js.map +1 -1
  1535. package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.js +1 -1
  1536. package/dist/node_modules/@mui/lab/Timeline/TimelineContext/index.js.map +1 -1
  1537. package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.esm.js +2 -1
  1538. package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.esm.js.map +1 -1
  1539. package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.js +2 -2
  1540. package/dist/node_modules/@mui/lab/TimelineConnector/TimelineConnector/index.js.map +1 -1
  1541. package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.esm.js +2 -1
  1542. package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.esm.js.map +1 -1
  1543. package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.js +1 -1
  1544. package/dist/node_modules/@mui/lab/TimelineContent/TimelineContent/index.js.map +1 -1
  1545. package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.esm.js +2 -1
  1546. package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.esm.js.map +1 -1
  1547. package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.js +2 -2
  1548. package/dist/node_modules/@mui/lab/TimelineDot/TimelineDot/index.js.map +1 -1
  1549. package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.esm.js +2 -1
  1550. package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.esm.js.map +1 -1
  1551. package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.js +2 -2
  1552. package/dist/node_modules/@mui/lab/TimelineItem/TimelineItem/index.js.map +1 -1
  1553. package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.esm.js +2 -1
  1554. package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.esm.js.map +1 -1
  1555. package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.js +2 -2
  1556. package/dist/node_modules/@mui/lab/TimelineSeparator/TimelineSeparator/index.js.map +1 -1
  1557. package/dist/node_modules/@mui/material/Accordion/Accordion/index.esm.js +2 -1
  1558. package/dist/node_modules/@mui/material/Accordion/Accordion/index.esm.js.map +1 -1
  1559. package/dist/node_modules/@mui/material/Accordion/Accordion/index.js +2 -2
  1560. package/dist/node_modules/@mui/material/Accordion/Accordion/index.js.map +1 -1
  1561. package/dist/node_modules/@mui/material/Accordion/AccordionContext/index.esm.js +2 -1
  1562. package/dist/node_modules/@mui/material/Accordion/AccordionContext/index.esm.js.map +1 -1
  1563. package/dist/node_modules/@mui/material/Accordion/AccordionContext/index.js +1 -1
  1564. package/dist/node_modules/@mui/material/Accordion/AccordionContext/index.js.map +1 -1
  1565. package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.esm.js +2 -1
  1566. package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.esm.js.map +1 -1
  1567. package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.js +1 -1
  1568. package/dist/node_modules/@mui/material/AccordionActions/AccordionActions/index.js.map +1 -1
  1569. package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails/index.esm.js +2 -1
  1570. package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails/index.esm.js.map +1 -1
  1571. package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails/index.js +2 -2
  1572. package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails/index.js.map +1 -1
  1573. package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary/index.esm.js +2 -1
  1574. package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary/index.esm.js.map +1 -1
  1575. package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary/index.js +2 -2
  1576. package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary/index.js.map +1 -1
  1577. package/dist/node_modules/@mui/material/Alert/Alert/index.esm.js +2 -1
  1578. package/dist/node_modules/@mui/material/Alert/Alert/index.esm.js.map +1 -1
  1579. package/dist/node_modules/@mui/material/Alert/Alert/index.js +1 -1
  1580. package/dist/node_modules/@mui/material/Alert/Alert/index.js.map +1 -1
  1581. package/dist/node_modules/@mui/material/AlertTitle/AlertTitle/index.esm.js +2 -1
  1582. package/dist/node_modules/@mui/material/AlertTitle/AlertTitle/index.esm.js.map +1 -1
  1583. package/dist/node_modules/@mui/material/AlertTitle/AlertTitle/index.js +1 -1
  1584. package/dist/node_modules/@mui/material/AlertTitle/AlertTitle/index.js.map +1 -1
  1585. package/dist/node_modules/@mui/material/AppBar/AppBar/index.esm.js +2 -1
  1586. package/dist/node_modules/@mui/material/AppBar/AppBar/index.esm.js.map +1 -1
  1587. package/dist/node_modules/@mui/material/AppBar/AppBar/index.js +1 -1
  1588. package/dist/node_modules/@mui/material/AppBar/AppBar/index.js.map +1 -1
  1589. package/dist/node_modules/@mui/material/Autocomplete/Autocomplete/index.esm.js +2 -1
  1590. package/dist/node_modules/@mui/material/Autocomplete/Autocomplete/index.esm.js.map +1 -1
  1591. package/dist/node_modules/@mui/material/Autocomplete/Autocomplete/index.js +1 -1
  1592. package/dist/node_modules/@mui/material/Autocomplete/Autocomplete/index.js.map +1 -1
  1593. package/dist/node_modules/@mui/material/Avatar/Avatar/index.esm.js +2 -1
  1594. package/dist/node_modules/@mui/material/Avatar/Avatar/index.esm.js.map +1 -1
  1595. package/dist/node_modules/@mui/material/Avatar/Avatar/index.js +1 -1
  1596. package/dist/node_modules/@mui/material/Avatar/Avatar/index.js.map +1 -1
  1597. package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.esm.js +3 -2
  1598. package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.esm.js.map +1 -1
  1599. package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.js +2 -2
  1600. package/dist/node_modules/@mui/material/AvatarGroup/AvatarGroup/index.js.map +1 -1
  1601. package/dist/node_modules/@mui/material/Backdrop/Backdrop/index.esm.js +2 -1
  1602. package/dist/node_modules/@mui/material/Backdrop/Backdrop/index.esm.js.map +1 -1
  1603. package/dist/node_modules/@mui/material/Backdrop/Backdrop/index.js +1 -1
  1604. package/dist/node_modules/@mui/material/Backdrop/Backdrop/index.js.map +1 -1
  1605. package/dist/node_modules/@mui/material/Badge/Badge/index.esm.js +2 -1
  1606. package/dist/node_modules/@mui/material/Badge/Badge/index.esm.js.map +1 -1
  1607. package/dist/node_modules/@mui/material/Badge/Badge/index.js +1 -1
  1608. package/dist/node_modules/@mui/material/Badge/Badge/index.js.map +1 -1
  1609. package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.esm.js +3 -2
  1610. package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.esm.js.map +1 -1
  1611. package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.js +3 -3
  1612. package/dist/node_modules/@mui/material/BottomNavigation/BottomNavigation/index.js.map +1 -1
  1613. package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.esm.js +2 -1
  1614. package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.esm.js.map +1 -1
  1615. package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.js +2 -2
  1616. package/dist/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction/index.js.map +1 -1
  1617. package/dist/node_modules/@mui/material/Box/Box/index.esm.js +2 -1
  1618. package/dist/node_modules/@mui/material/Box/Box/index.esm.js.map +1 -1
  1619. package/dist/node_modules/@mui/material/Box/Box/index.js +1 -1
  1620. package/dist/node_modules/@mui/material/Box/Box/index.js.map +1 -1
  1621. package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed/index.esm.js +2 -1
  1622. package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed/index.esm.js.map +1 -1
  1623. package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed/index.js +2 -2
  1624. package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed/index.js.map +1 -1
  1625. package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs/index.esm.js +4 -3
  1626. package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs/index.esm.js.map +1 -1
  1627. package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs/index.js +2 -2
  1628. package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs/index.js.map +1 -1
  1629. package/dist/node_modules/@mui/material/Button/Button/index.esm.js +2 -1
  1630. package/dist/node_modules/@mui/material/Button/Button/index.esm.js.map +1 -1
  1631. package/dist/node_modules/@mui/material/Button/Button/index.js +1 -1
  1632. package/dist/node_modules/@mui/material/Button/Button/index.js.map +1 -1
  1633. package/dist/node_modules/@mui/material/ButtonBase/ButtonBase/index.esm.js +3 -2
  1634. package/dist/node_modules/@mui/material/ButtonBase/ButtonBase/index.esm.js.map +1 -1
  1635. package/dist/node_modules/@mui/material/ButtonBase/ButtonBase/index.js +3 -3
  1636. package/dist/node_modules/@mui/material/ButtonBase/ButtonBase/index.js.map +1 -1
  1637. package/dist/node_modules/@mui/material/ButtonBase/Ripple/index.esm.js +2 -1
  1638. package/dist/node_modules/@mui/material/ButtonBase/Ripple/index.esm.js.map +1 -1
  1639. package/dist/node_modules/@mui/material/ButtonBase/Ripple/index.js +1 -1
  1640. package/dist/node_modules/@mui/material/ButtonBase/Ripple/index.js.map +1 -1
  1641. package/dist/node_modules/@mui/material/ButtonBase/TouchRipple/index.esm.js +2 -1
  1642. package/dist/node_modules/@mui/material/ButtonBase/TouchRipple/index.esm.js.map +1 -1
  1643. package/dist/node_modules/@mui/material/ButtonBase/TouchRipple/index.js +1 -1
  1644. package/dist/node_modules/@mui/material/ButtonBase/TouchRipple/index.js.map +1 -1
  1645. package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup/index.esm.js +2 -1
  1646. package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup/index.esm.js.map +1 -1
  1647. package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup/index.js +1 -1
  1648. package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroup/index.js.map +1 -1
  1649. package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext/index.esm.js +2 -1
  1650. package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext/index.esm.js.map +1 -1
  1651. package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext/index.js +1 -1
  1652. package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext/index.js.map +1 -1
  1653. package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupContext/index.esm.js +2 -1
  1654. package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupContext/index.esm.js.map +1 -1
  1655. package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupContext/index.js +1 -1
  1656. package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupContext/index.js.map +1 -1
  1657. package/dist/node_modules/@mui/material/Card/Card/index.esm.js +2 -1
  1658. package/dist/node_modules/@mui/material/Card/Card/index.esm.js.map +1 -1
  1659. package/dist/node_modules/@mui/material/Card/Card/index.js +1 -1
  1660. package/dist/node_modules/@mui/material/Card/Card/index.js.map +1 -1
  1661. package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.esm.js +2 -1
  1662. package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.esm.js.map +1 -1
  1663. package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.js +2 -2
  1664. package/dist/node_modules/@mui/material/CardActionArea/CardActionArea/index.js.map +1 -1
  1665. package/dist/node_modules/@mui/material/CardActions/CardActions/index.esm.js +2 -1
  1666. package/dist/node_modules/@mui/material/CardActions/CardActions/index.esm.js.map +1 -1
  1667. package/dist/node_modules/@mui/material/CardActions/CardActions/index.js +2 -2
  1668. package/dist/node_modules/@mui/material/CardActions/CardActions/index.js.map +1 -1
  1669. package/dist/node_modules/@mui/material/CardContent/CardContent/index.esm.js +2 -1
  1670. package/dist/node_modules/@mui/material/CardContent/CardContent/index.esm.js.map +1 -1
  1671. package/dist/node_modules/@mui/material/CardContent/CardContent/index.js +1 -1
  1672. package/dist/node_modules/@mui/material/CardContent/CardContent/index.js.map +1 -1
  1673. package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.esm.js +2 -1
  1674. package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.esm.js.map +1 -1
  1675. package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.js +1 -1
  1676. package/dist/node_modules/@mui/material/CardHeader/CardHeader/index.js.map +1 -1
  1677. package/dist/node_modules/@mui/material/CardMedia/CardMedia/index.esm.js +2 -1
  1678. package/dist/node_modules/@mui/material/CardMedia/CardMedia/index.esm.js.map +1 -1
  1679. package/dist/node_modules/@mui/material/CardMedia/CardMedia/index.js +2 -2
  1680. package/dist/node_modules/@mui/material/CardMedia/CardMedia/index.js.map +1 -1
  1681. package/dist/node_modules/@mui/material/Checkbox/Checkbox/index.esm.js +2 -1
  1682. package/dist/node_modules/@mui/material/Checkbox/Checkbox/index.esm.js.map +1 -1
  1683. package/dist/node_modules/@mui/material/Checkbox/Checkbox/index.js +1 -1
  1684. package/dist/node_modules/@mui/material/Checkbox/Checkbox/index.js.map +1 -1
  1685. package/dist/node_modules/@mui/material/Chip/Chip/index.esm.js +3 -2
  1686. package/dist/node_modules/@mui/material/Chip/Chip/index.esm.js.map +1 -1
  1687. package/dist/node_modules/@mui/material/Chip/Chip/index.js +1 -1
  1688. package/dist/node_modules/@mui/material/Chip/Chip/index.js.map +1 -1
  1689. package/dist/node_modules/@mui/material/CircularProgress/CircularProgress/index.esm.js +2 -1
  1690. package/dist/node_modules/@mui/material/CircularProgress/CircularProgress/index.esm.js.map +1 -1
  1691. package/dist/node_modules/@mui/material/CircularProgress/CircularProgress/index.js +6 -6
  1692. package/dist/node_modules/@mui/material/CircularProgress/CircularProgress/index.js.map +1 -1
  1693. package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener/index.esm.js +3 -2
  1694. package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener/index.esm.js.map +1 -1
  1695. package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener/index.js +1 -1
  1696. package/dist/node_modules/@mui/material/ClickAwayListener/ClickAwayListener/index.js.map +1 -1
  1697. package/dist/node_modules/@mui/material/Collapse/Collapse/index.esm.js +2 -1
  1698. package/dist/node_modules/@mui/material/Collapse/Collapse/index.esm.js.map +1 -1
  1699. package/dist/node_modules/@mui/material/Collapse/Collapse/index.js +1 -1
  1700. package/dist/node_modules/@mui/material/Collapse/Collapse/index.js.map +1 -1
  1701. package/dist/node_modules/@mui/material/Container/Container/index.esm.js +2 -1
  1702. package/dist/node_modules/@mui/material/Container/Container/index.esm.js.map +1 -1
  1703. package/dist/node_modules/@mui/material/Container/Container/index.js +1 -1
  1704. package/dist/node_modules/@mui/material/Container/Container/index.js.map +1 -1
  1705. package/dist/node_modules/@mui/material/CssBaseline/CssBaseline/index.esm.js +2 -1
  1706. package/dist/node_modules/@mui/material/CssBaseline/CssBaseline/index.esm.js.map +1 -1
  1707. package/dist/node_modules/@mui/material/CssBaseline/CssBaseline/index.js +2 -2
  1708. package/dist/node_modules/@mui/material/CssBaseline/CssBaseline/index.js.map +1 -1
  1709. package/dist/node_modules/@mui/material/Dialog/Dialog/index.esm.js +2 -1
  1710. package/dist/node_modules/@mui/material/Dialog/Dialog/index.esm.js.map +1 -1
  1711. package/dist/node_modules/@mui/material/Dialog/Dialog/index.js +1 -1
  1712. package/dist/node_modules/@mui/material/Dialog/Dialog/index.js.map +1 -1
  1713. package/dist/node_modules/@mui/material/Dialog/DialogContext/index.esm.js +2 -1
  1714. package/dist/node_modules/@mui/material/Dialog/DialogContext/index.esm.js.map +1 -1
  1715. package/dist/node_modules/@mui/material/Dialog/DialogContext/index.js +1 -1
  1716. package/dist/node_modules/@mui/material/Dialog/DialogContext/index.js.map +1 -1
  1717. package/dist/node_modules/@mui/material/DialogActions/DialogActions/index.esm.js +2 -1
  1718. package/dist/node_modules/@mui/material/DialogActions/DialogActions/index.esm.js.map +1 -1
  1719. package/dist/node_modules/@mui/material/DialogActions/DialogActions/index.js +1 -1
  1720. package/dist/node_modules/@mui/material/DialogActions/DialogActions/index.js.map +1 -1
  1721. package/dist/node_modules/@mui/material/DialogContent/DialogContent/index.esm.js +2 -1
  1722. package/dist/node_modules/@mui/material/DialogContent/DialogContent/index.esm.js.map +1 -1
  1723. package/dist/node_modules/@mui/material/DialogContent/DialogContent/index.js +2 -2
  1724. package/dist/node_modules/@mui/material/DialogContent/DialogContent/index.js.map +1 -1
  1725. package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.esm.js +2 -1
  1726. package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.esm.js.map +1 -1
  1727. package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.js +1 -1
  1728. package/dist/node_modules/@mui/material/DialogContentText/DialogContentText/index.js.map +1 -1
  1729. package/dist/node_modules/@mui/material/DialogTitle/DialogTitle/index.esm.js +2 -1
  1730. package/dist/node_modules/@mui/material/DialogTitle/DialogTitle/index.esm.js.map +1 -1
  1731. package/dist/node_modules/@mui/material/DialogTitle/DialogTitle/index.js +1 -1
  1732. package/dist/node_modules/@mui/material/DialogTitle/DialogTitle/index.js.map +1 -1
  1733. package/dist/node_modules/@mui/material/Divider/Divider/index.esm.js +2 -1
  1734. package/dist/node_modules/@mui/material/Divider/Divider/index.esm.js.map +1 -1
  1735. package/dist/node_modules/@mui/material/Divider/Divider/index.js +1 -1
  1736. package/dist/node_modules/@mui/material/Divider/Divider/index.js.map +1 -1
  1737. package/dist/node_modules/@mui/material/Drawer/Drawer/index.esm.js +2 -1
  1738. package/dist/node_modules/@mui/material/Drawer/Drawer/index.esm.js.map +1 -1
  1739. package/dist/node_modules/@mui/material/Drawer/Drawer/index.js +1 -1
  1740. package/dist/node_modules/@mui/material/Drawer/Drawer/index.js.map +1 -1
  1741. package/dist/node_modules/@mui/material/Fab/Fab/index.esm.js +2 -1
  1742. package/dist/node_modules/@mui/material/Fab/Fab/index.esm.js.map +1 -1
  1743. package/dist/node_modules/@mui/material/Fab/Fab/index.js +2 -2
  1744. package/dist/node_modules/@mui/material/Fab/Fab/index.js.map +1 -1
  1745. package/dist/node_modules/@mui/material/Fade/Fade/index.esm.js +2 -1
  1746. package/dist/node_modules/@mui/material/Fade/Fade/index.esm.js.map +1 -1
  1747. package/dist/node_modules/@mui/material/Fade/Fade/index.js +1 -1
  1748. package/dist/node_modules/@mui/material/Fade/Fade/index.js.map +1 -1
  1749. package/dist/node_modules/@mui/material/FilledInput/FilledInput/index.esm.js +2 -1
  1750. package/dist/node_modules/@mui/material/FilledInput/FilledInput/index.esm.js.map +1 -1
  1751. package/dist/node_modules/@mui/material/FilledInput/FilledInput/index.js +1 -1
  1752. package/dist/node_modules/@mui/material/FilledInput/FilledInput/index.js.map +1 -1
  1753. package/dist/node_modules/@mui/material/FormControl/FormControl/index.esm.js +3 -2
  1754. package/dist/node_modules/@mui/material/FormControl/FormControl/index.esm.js.map +1 -1
  1755. package/dist/node_modules/@mui/material/FormControl/FormControl/index.js +2 -2
  1756. package/dist/node_modules/@mui/material/FormControl/FormControl/index.js.map +1 -1
  1757. package/dist/node_modules/@mui/material/FormControl/FormControlContext/index.esm.js +2 -1
  1758. package/dist/node_modules/@mui/material/FormControl/FormControlContext/index.esm.js.map +1 -1
  1759. package/dist/node_modules/@mui/material/FormControl/FormControlContext/index.js +1 -1
  1760. package/dist/node_modules/@mui/material/FormControl/FormControlContext/index.js.map +1 -1
  1761. package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel/index.esm.js +2 -1
  1762. package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel/index.esm.js.map +1 -1
  1763. package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel/index.js +1 -1
  1764. package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel/index.js.map +1 -1
  1765. package/dist/node_modules/@mui/material/FormGroup/FormGroup/index.esm.js +2 -1
  1766. package/dist/node_modules/@mui/material/FormGroup/FormGroup/index.esm.js.map +1 -1
  1767. package/dist/node_modules/@mui/material/FormGroup/FormGroup/index.js +1 -1
  1768. package/dist/node_modules/@mui/material/FormGroup/FormGroup/index.js.map +1 -1
  1769. package/dist/node_modules/@mui/material/FormHelperText/FormHelperText/index.esm.js +2 -1
  1770. package/dist/node_modules/@mui/material/FormHelperText/FormHelperText/index.esm.js.map +1 -1
  1771. package/dist/node_modules/@mui/material/FormHelperText/FormHelperText/index.js +2 -2
  1772. package/dist/node_modules/@mui/material/FormHelperText/FormHelperText/index.js.map +1 -1
  1773. package/dist/node_modules/@mui/material/FormLabel/FormLabel/index.esm.js +2 -1
  1774. package/dist/node_modules/@mui/material/FormLabel/FormLabel/index.esm.js.map +1 -1
  1775. package/dist/node_modules/@mui/material/FormLabel/FormLabel/index.js +1 -1
  1776. package/dist/node_modules/@mui/material/FormLabel/FormLabel/index.js.map +1 -1
  1777. package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles/index.esm.js +2 -1
  1778. package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles/index.esm.js.map +1 -1
  1779. package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles/index.js +2 -2
  1780. package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles/index.js.map +1 -1
  1781. package/dist/node_modules/@mui/material/Grid/Grid/index.esm.js +3 -2
  1782. package/dist/node_modules/@mui/material/Grid/Grid/index.esm.js.map +1 -1
  1783. package/dist/node_modules/@mui/material/Grid/Grid/index.js +2 -2
  1784. package/dist/node_modules/@mui/material/Grid/Grid/index.js.map +1 -1
  1785. package/dist/node_modules/@mui/material/Grid/GridContext/index.esm.js +2 -1
  1786. package/dist/node_modules/@mui/material/Grid/GridContext/index.esm.js.map +1 -1
  1787. package/dist/node_modules/@mui/material/Grid/GridContext/index.js +1 -1
  1788. package/dist/node_modules/@mui/material/Grid/GridContext/index.js.map +1 -1
  1789. package/dist/node_modules/@mui/material/Grow/Grow/index.esm.js +2 -1
  1790. package/dist/node_modules/@mui/material/Grow/Grow/index.esm.js.map +1 -1
  1791. package/dist/node_modules/@mui/material/Grow/Grow/index.js +2 -2
  1792. package/dist/node_modules/@mui/material/Grow/Grow/index.js.map +1 -1
  1793. package/dist/node_modules/@mui/material/Hidden/Hidden/index.esm.js +2 -1
  1794. package/dist/node_modules/@mui/material/Hidden/Hidden/index.esm.js.map +1 -1
  1795. package/dist/node_modules/@mui/material/Hidden/Hidden/index.js +1 -1
  1796. package/dist/node_modules/@mui/material/Hidden/Hidden/index.js.map +1 -1
  1797. package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.esm.js +3 -2
  1798. package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.esm.js.map +1 -1
  1799. package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.js +2 -2
  1800. package/dist/node_modules/@mui/material/Hidden/HiddenCss/index.js.map +1 -1
  1801. package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.esm.js +4 -3
  1802. package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.esm.js.map +1 -1
  1803. package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.js +1 -1
  1804. package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.js.map +1 -1
  1805. package/dist/node_modules/@mui/material/Hidden/withWidth/index.esm.js +3 -2
  1806. package/dist/node_modules/@mui/material/Hidden/withWidth/index.esm.js.map +1 -1
  1807. package/dist/node_modules/@mui/material/Hidden/withWidth/index.js +1 -1
  1808. package/dist/node_modules/@mui/material/Hidden/withWidth/index.js.map +1 -1
  1809. package/dist/node_modules/@mui/material/Icon/Icon/index.esm.js +2 -1
  1810. package/dist/node_modules/@mui/material/Icon/Icon/index.esm.js.map +1 -1
  1811. package/dist/node_modules/@mui/material/Icon/Icon/index.js +2 -2
  1812. package/dist/node_modules/@mui/material/Icon/Icon/index.js.map +1 -1
  1813. package/dist/node_modules/@mui/material/IconButton/IconButton/index.esm.js +2 -1
  1814. package/dist/node_modules/@mui/material/IconButton/IconButton/index.esm.js.map +1 -1
  1815. package/dist/node_modules/@mui/material/IconButton/IconButton/index.js +1 -1
  1816. package/dist/node_modules/@mui/material/IconButton/IconButton/index.js.map +1 -1
  1817. package/dist/node_modules/@mui/material/ImageList/ImageList/index.esm.js +3 -2
  1818. package/dist/node_modules/@mui/material/ImageList/ImageList/index.esm.js.map +1 -1
  1819. package/dist/node_modules/@mui/material/ImageList/ImageList/index.js +2 -2
  1820. package/dist/node_modules/@mui/material/ImageList/ImageList/index.js.map +1 -1
  1821. package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.esm.js +2 -1
  1822. package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.esm.js.map +1 -1
  1823. package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.js +1 -1
  1824. package/dist/node_modules/@mui/material/ImageList/ImageListContext/index.js.map +1 -1
  1825. package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.esm.js +3 -2
  1826. package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.esm.js.map +1 -1
  1827. package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.js +2 -2
  1828. package/dist/node_modules/@mui/material/ImageListItem/ImageListItem/index.js.map +1 -1
  1829. package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.esm.js +2 -1
  1830. package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.esm.js.map +1 -1
  1831. package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.js +1 -1
  1832. package/dist/node_modules/@mui/material/ImageListItemBar/ImageListItemBar/index.js.map +1 -1
  1833. package/dist/node_modules/@mui/material/Input/Input/index.esm.js +2 -1
  1834. package/dist/node_modules/@mui/material/Input/Input/index.esm.js.map +1 -1
  1835. package/dist/node_modules/@mui/material/Input/Input/index.js +2 -2
  1836. package/dist/node_modules/@mui/material/Input/Input/index.js.map +1 -1
  1837. package/dist/node_modules/@mui/material/InputAdornment/InputAdornment/index.esm.js +3 -2
  1838. package/dist/node_modules/@mui/material/InputAdornment/InputAdornment/index.esm.js.map +1 -1
  1839. package/dist/node_modules/@mui/material/InputAdornment/InputAdornment/index.js +2 -2
  1840. package/dist/node_modules/@mui/material/InputAdornment/InputAdornment/index.js.map +1 -1
  1841. package/dist/node_modules/@mui/material/InputBase/InputBase/index.esm.js +6 -5
  1842. package/dist/node_modules/@mui/material/InputBase/InputBase/index.esm.js.map +1 -1
  1843. package/dist/node_modules/@mui/material/InputBase/InputBase/index.js +1 -1
  1844. package/dist/node_modules/@mui/material/InputBase/InputBase/index.js.map +1 -1
  1845. package/dist/node_modules/@mui/material/InputLabel/InputLabel/index.esm.js +2 -1
  1846. package/dist/node_modules/@mui/material/InputLabel/InputLabel/index.esm.js.map +1 -1
  1847. package/dist/node_modules/@mui/material/InputLabel/InputLabel/index.js +1 -1
  1848. package/dist/node_modules/@mui/material/InputLabel/InputLabel/index.js.map +1 -1
  1849. package/dist/node_modules/@mui/material/LinearProgress/LinearProgress/index.esm.js +4 -3
  1850. package/dist/node_modules/@mui/material/LinearProgress/LinearProgress/index.esm.js.map +1 -1
  1851. package/dist/node_modules/@mui/material/LinearProgress/LinearProgress/index.js +5 -5
  1852. package/dist/node_modules/@mui/material/LinearProgress/LinearProgress/index.js.map +1 -1
  1853. package/dist/node_modules/@mui/material/Link/Link/index.esm.js +2 -1
  1854. package/dist/node_modules/@mui/material/Link/Link/index.esm.js.map +1 -1
  1855. package/dist/node_modules/@mui/material/Link/Link/index.js +1 -1
  1856. package/dist/node_modules/@mui/material/Link/Link/index.js.map +1 -1
  1857. package/dist/node_modules/@mui/material/List/List/index.esm.js +2 -1
  1858. package/dist/node_modules/@mui/material/List/List/index.esm.js.map +1 -1
  1859. package/dist/node_modules/@mui/material/List/List/index.js +2 -2
  1860. package/dist/node_modules/@mui/material/List/List/index.js.map +1 -1
  1861. package/dist/node_modules/@mui/material/List/ListContext/index.esm.js +2 -1
  1862. package/dist/node_modules/@mui/material/List/ListContext/index.esm.js.map +1 -1
  1863. package/dist/node_modules/@mui/material/List/ListContext/index.js +1 -1
  1864. package/dist/node_modules/@mui/material/List/ListContext/index.js.map +1 -1
  1865. package/dist/node_modules/@mui/material/ListItem/ListItem/index.esm.js +3 -2
  1866. package/dist/node_modules/@mui/material/ListItem/ListItem/index.esm.js.map +1 -1
  1867. package/dist/node_modules/@mui/material/ListItem/ListItem/index.js +1 -1
  1868. package/dist/node_modules/@mui/material/ListItem/ListItem/index.js.map +1 -1
  1869. package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar/index.esm.js +2 -1
  1870. package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar/index.esm.js.map +1 -1
  1871. package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar/index.js +1 -1
  1872. package/dist/node_modules/@mui/material/ListItemAvatar/ListItemAvatar/index.js.map +1 -1
  1873. package/dist/node_modules/@mui/material/ListItemButton/ListItemButton/index.esm.js +3 -2
  1874. package/dist/node_modules/@mui/material/ListItemButton/ListItemButton/index.esm.js.map +1 -1
  1875. package/dist/node_modules/@mui/material/ListItemButton/ListItemButton/index.js +2 -2
  1876. package/dist/node_modules/@mui/material/ListItemButton/ListItemButton/index.js.map +1 -1
  1877. package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon/index.esm.js +2 -1
  1878. package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon/index.esm.js.map +1 -1
  1879. package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon/index.js +2 -2
  1880. package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon/index.js.map +1 -1
  1881. package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction/index.esm.js +2 -1
  1882. package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction/index.esm.js.map +1 -1
  1883. package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction/index.js +2 -2
  1884. package/dist/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction/index.js.map +1 -1
  1885. package/dist/node_modules/@mui/material/ListItemText/ListItemText/index.esm.js +2 -1
  1886. package/dist/node_modules/@mui/material/ListItemText/ListItemText/index.esm.js.map +1 -1
  1887. package/dist/node_modules/@mui/material/ListItemText/ListItemText/index.js +1 -1
  1888. package/dist/node_modules/@mui/material/ListItemText/ListItemText/index.js.map +1 -1
  1889. package/dist/node_modules/@mui/material/ListSubheader/ListSubheader/index.esm.js +2 -1
  1890. package/dist/node_modules/@mui/material/ListSubheader/ListSubheader/index.esm.js.map +1 -1
  1891. package/dist/node_modules/@mui/material/ListSubheader/ListSubheader/index.js +2 -2
  1892. package/dist/node_modules/@mui/material/ListSubheader/ListSubheader/index.js.map +1 -1
  1893. package/dist/node_modules/@mui/material/Menu/Menu/index.esm.js +3 -2
  1894. package/dist/node_modules/@mui/material/Menu/Menu/index.esm.js.map +1 -1
  1895. package/dist/node_modules/@mui/material/Menu/Menu/index.js +2 -2
  1896. package/dist/node_modules/@mui/material/Menu/Menu/index.js.map +1 -1
  1897. package/dist/node_modules/@mui/material/MenuItem/MenuItem/index.esm.js +3 -2
  1898. package/dist/node_modules/@mui/material/MenuItem/MenuItem/index.esm.js.map +1 -1
  1899. package/dist/node_modules/@mui/material/MenuItem/MenuItem/index.js +1 -1
  1900. package/dist/node_modules/@mui/material/MenuItem/MenuItem/index.js.map +1 -1
  1901. package/dist/node_modules/@mui/material/MenuList/MenuList/index.esm.js +3 -2
  1902. package/dist/node_modules/@mui/material/MenuList/MenuList/index.esm.js.map +1 -1
  1903. package/dist/node_modules/@mui/material/MenuList/MenuList/index.js +2 -2
  1904. package/dist/node_modules/@mui/material/MenuList/MenuList/index.js.map +1 -1
  1905. package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.esm.js +2 -1
  1906. package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.esm.js.map +1 -1
  1907. package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.js +1 -1
  1908. package/dist/node_modules/@mui/material/MobileStepper/MobileStepper/index.js.map +1 -1
  1909. package/dist/node_modules/@mui/material/Modal/Modal/index.esm.js +2 -1
  1910. package/dist/node_modules/@mui/material/Modal/Modal/index.esm.js.map +1 -1
  1911. package/dist/node_modules/@mui/material/Modal/Modal/index.js +1 -1
  1912. package/dist/node_modules/@mui/material/Modal/Modal/index.js.map +1 -1
  1913. package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.esm.js +2 -1
  1914. package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.esm.js.map +1 -1
  1915. package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.js +2 -2
  1916. package/dist/node_modules/@mui/material/NativeSelect/NativeSelect/index.js.map +1 -1
  1917. package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput/index.esm.js +2 -1
  1918. package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput/index.esm.js.map +1 -1
  1919. package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput/index.js +1 -1
  1920. package/dist/node_modules/@mui/material/NativeSelect/NativeSelectInput/index.js.map +1 -1
  1921. package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.esm.js +3 -2
  1922. package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.esm.js.map +1 -1
  1923. package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.js +1 -1
  1924. package/dist/node_modules/@mui/material/NoSsr/NoSsr/index.js.map +1 -1
  1925. package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline/index.esm.js +2 -1
  1926. package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline/index.esm.js.map +1 -1
  1927. package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline/index.js +1 -1
  1928. package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline/index.js.map +1 -1
  1929. package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput/index.esm.js +2 -1
  1930. package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput/index.esm.js.map +1 -1
  1931. package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput/index.js +2 -2
  1932. package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput/index.js.map +1 -1
  1933. package/dist/node_modules/@mui/material/Pagination/Pagination/index.esm.js +2 -1
  1934. package/dist/node_modules/@mui/material/Pagination/Pagination/index.esm.js.map +1 -1
  1935. package/dist/node_modules/@mui/material/Pagination/Pagination/index.js +1 -1
  1936. package/dist/node_modules/@mui/material/Pagination/Pagination/index.js.map +1 -1
  1937. package/dist/node_modules/@mui/material/PaginationItem/PaginationItem/index.esm.js +2 -1
  1938. package/dist/node_modules/@mui/material/PaginationItem/PaginationItem/index.esm.js.map +1 -1
  1939. package/dist/node_modules/@mui/material/PaginationItem/PaginationItem/index.js +1 -1
  1940. package/dist/node_modules/@mui/material/PaginationItem/PaginationItem/index.js.map +1 -1
  1941. package/dist/node_modules/@mui/material/Paper/Paper/index.esm.js +3 -2
  1942. package/dist/node_modules/@mui/material/Paper/Paper/index.esm.js.map +1 -1
  1943. package/dist/node_modules/@mui/material/Paper/Paper/index.js +1 -1
  1944. package/dist/node_modules/@mui/material/Paper/Paper/index.js.map +1 -1
  1945. package/dist/node_modules/@mui/material/Popover/Popover/index.esm.js +7 -6
  1946. package/dist/node_modules/@mui/material/Popover/Popover/index.esm.js.map +1 -1
  1947. package/dist/node_modules/@mui/material/Popover/Popover/index.js +2 -2
  1948. package/dist/node_modules/@mui/material/Popover/Popover/index.js.map +1 -1
  1949. package/dist/node_modules/@mui/material/Popper/BasePopper/index.esm.js +5 -4
  1950. package/dist/node_modules/@mui/material/Popper/BasePopper/index.esm.js.map +1 -1
  1951. package/dist/node_modules/@mui/material/Popper/BasePopper/index.js +3 -3
  1952. package/dist/node_modules/@mui/material/Popper/BasePopper/index.js.map +1 -1
  1953. package/dist/node_modules/@mui/material/Popper/Popper/index.esm.js +2 -1
  1954. package/dist/node_modules/@mui/material/Popper/Popper/index.esm.js.map +1 -1
  1955. package/dist/node_modules/@mui/material/Popper/Popper/index.js +1 -1
  1956. package/dist/node_modules/@mui/material/Popper/Popper/index.js.map +1 -1
  1957. package/dist/node_modules/@mui/material/Portal/Portal/index.esm.js +3 -2
  1958. package/dist/node_modules/@mui/material/Portal/Portal/index.esm.js.map +1 -1
  1959. package/dist/node_modules/@mui/material/Portal/Portal/index.js +4 -4
  1960. package/dist/node_modules/@mui/material/Portal/Portal/index.js.map +1 -1
  1961. package/dist/node_modules/@mui/material/Radio/Radio/index.esm.js +2 -1
  1962. package/dist/node_modules/@mui/material/Radio/Radio/index.esm.js.map +1 -1
  1963. package/dist/node_modules/@mui/material/Radio/Radio/index.js +1 -1
  1964. package/dist/node_modules/@mui/material/Radio/Radio/index.js.map +1 -1
  1965. package/dist/node_modules/@mui/material/Radio/RadioButtonIcon/index.esm.js +2 -1
  1966. package/dist/node_modules/@mui/material/Radio/RadioButtonIcon/index.esm.js.map +1 -1
  1967. package/dist/node_modules/@mui/material/Radio/RadioButtonIcon/index.js +2 -2
  1968. package/dist/node_modules/@mui/material/Radio/RadioButtonIcon/index.js.map +1 -1
  1969. package/dist/node_modules/@mui/material/RadioGroup/RadioGroup/index.esm.js +2 -1
  1970. package/dist/node_modules/@mui/material/RadioGroup/RadioGroup/index.esm.js.map +1 -1
  1971. package/dist/node_modules/@mui/material/RadioGroup/RadioGroup/index.js +2 -2
  1972. package/dist/node_modules/@mui/material/RadioGroup/RadioGroup/index.js.map +1 -1
  1973. package/dist/node_modules/@mui/material/RadioGroup/RadioGroupContext/index.esm.js +2 -1
  1974. package/dist/node_modules/@mui/material/RadioGroup/RadioGroupContext/index.esm.js.map +1 -1
  1975. package/dist/node_modules/@mui/material/RadioGroup/RadioGroupContext/index.js +1 -1
  1976. package/dist/node_modules/@mui/material/RadioGroup/RadioGroupContext/index.js.map +1 -1
  1977. package/dist/node_modules/@mui/material/Rating/Rating/index.esm.js +4 -3
  1978. package/dist/node_modules/@mui/material/Rating/Rating/index.esm.js.map +1 -1
  1979. package/dist/node_modules/@mui/material/Rating/Rating/index.js +6 -6
  1980. package/dist/node_modules/@mui/material/Rating/Rating/index.js.map +1 -1
  1981. package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.esm.js +2 -1
  1982. package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.esm.js.map +1 -1
  1983. package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.js +2 -2
  1984. package/dist/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline/index.js.map +1 -1
  1985. package/dist/node_modules/@mui/material/Select/Select/index.esm.js +2 -1
  1986. package/dist/node_modules/@mui/material/Select/Select/index.esm.js.map +1 -1
  1987. package/dist/node_modules/@mui/material/Select/Select/index.js +1 -1
  1988. package/dist/node_modules/@mui/material/Select/Select/index.js.map +1 -1
  1989. package/dist/node_modules/@mui/material/Select/SelectInput/index.esm.js +5 -4
  1990. package/dist/node_modules/@mui/material/Select/SelectInput/index.esm.js.map +1 -1
  1991. package/dist/node_modules/@mui/material/Select/SelectInput/index.js +2 -2
  1992. package/dist/node_modules/@mui/material/Select/SelectInput/index.js.map +1 -1
  1993. package/dist/node_modules/@mui/material/Skeleton/Skeleton/index.esm.js +2 -1
  1994. package/dist/node_modules/@mui/material/Skeleton/Skeleton/index.esm.js.map +1 -1
  1995. package/dist/node_modules/@mui/material/Skeleton/Skeleton/index.js +1 -1
  1996. package/dist/node_modules/@mui/material/Skeleton/Skeleton/index.js.map +1 -1
  1997. package/dist/node_modules/@mui/material/Slide/Slide/index.esm.js +3 -2
  1998. package/dist/node_modules/@mui/material/Slide/Slide/index.esm.js.map +1 -1
  1999. package/dist/node_modules/@mui/material/Slide/Slide/index.js +1 -1
  2000. package/dist/node_modules/@mui/material/Slide/Slide/index.js.map +1 -1
  2001. package/dist/node_modules/@mui/material/Slider/Slider/index.esm.js +2 -1
  2002. package/dist/node_modules/@mui/material/Slider/Slider/index.esm.js.map +1 -1
  2003. package/dist/node_modules/@mui/material/Slider/Slider/index.js +1 -1
  2004. package/dist/node_modules/@mui/material/Slider/Slider/index.js.map +1 -1
  2005. package/dist/node_modules/@mui/material/Slider/SliderValueLabel/index.esm.js +2 -1
  2006. package/dist/node_modules/@mui/material/Slider/SliderValueLabel/index.esm.js.map +1 -1
  2007. package/dist/node_modules/@mui/material/Slider/SliderValueLabel/index.js +1 -1
  2008. package/dist/node_modules/@mui/material/Slider/SliderValueLabel/index.js.map +1 -1
  2009. package/dist/node_modules/@mui/material/Snackbar/Snackbar/index.esm.js +2 -1
  2010. package/dist/node_modules/@mui/material/Snackbar/Snackbar/index.esm.js.map +1 -1
  2011. package/dist/node_modules/@mui/material/Snackbar/Snackbar/index.js +1 -1
  2012. package/dist/node_modules/@mui/material/Snackbar/Snackbar/index.js.map +1 -1
  2013. package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent/index.esm.js +2 -1
  2014. package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent/index.esm.js.map +1 -1
  2015. package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent/index.js +1 -1
  2016. package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent/index.js.map +1 -1
  2017. package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.esm.js +3 -2
  2018. package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.esm.js.map +1 -1
  2019. package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.js +3 -3
  2020. package/dist/node_modules/@mui/material/SpeedDial/SpeedDial/index.js.map +1 -1
  2021. package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.esm.js +2 -1
  2022. package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.esm.js.map +1 -1
  2023. package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.js +1 -1
  2024. package/dist/node_modules/@mui/material/SpeedDialAction/SpeedDialAction/index.js.map +1 -1
  2025. package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.esm.js +2 -1
  2026. package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.esm.js.map +1 -1
  2027. package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.js +2 -2
  2028. package/dist/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon/index.js.map +1 -1
  2029. package/dist/node_modules/@mui/material/Stack/Stack/index.esm.js +2 -1
  2030. package/dist/node_modules/@mui/material/Stack/Stack/index.esm.js.map +1 -1
  2031. package/dist/node_modules/@mui/material/Stack/Stack/index.js +1 -1
  2032. package/dist/node_modules/@mui/material/Stack/Stack/index.js.map +1 -1
  2033. package/dist/node_modules/@mui/material/Step/Step/index.esm.js +2 -1
  2034. package/dist/node_modules/@mui/material/Step/Step/index.esm.js.map +1 -1
  2035. package/dist/node_modules/@mui/material/Step/Step/index.js +1 -1
  2036. package/dist/node_modules/@mui/material/Step/Step/index.js.map +1 -1
  2037. package/dist/node_modules/@mui/material/Step/StepContext/index.esm.js +2 -1
  2038. package/dist/node_modules/@mui/material/Step/StepContext/index.esm.js.map +1 -1
  2039. package/dist/node_modules/@mui/material/Step/StepContext/index.js +1 -1
  2040. package/dist/node_modules/@mui/material/Step/StepContext/index.js.map +1 -1
  2041. package/dist/node_modules/@mui/material/StepButton/StepButton/index.esm.js +2 -1
  2042. package/dist/node_modules/@mui/material/StepButton/StepButton/index.esm.js.map +1 -1
  2043. package/dist/node_modules/@mui/material/StepButton/StepButton/index.js +1 -1
  2044. package/dist/node_modules/@mui/material/StepButton/StepButton/index.js.map +1 -1
  2045. package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.esm.js +2 -1
  2046. package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.esm.js.map +1 -1
  2047. package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.js +1 -1
  2048. package/dist/node_modules/@mui/material/StepConnector/StepConnector/index.js.map +1 -1
  2049. package/dist/node_modules/@mui/material/StepContent/StepContent/index.esm.js +3 -2
  2050. package/dist/node_modules/@mui/material/StepContent/StepContent/index.esm.js.map +1 -1
  2051. package/dist/node_modules/@mui/material/StepContent/StepContent/index.js +1 -1
  2052. package/dist/node_modules/@mui/material/StepContent/StepContent/index.js.map +1 -1
  2053. package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.esm.js +2 -1
  2054. package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.esm.js.map +1 -1
  2055. package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.js +1 -1
  2056. package/dist/node_modules/@mui/material/StepIcon/StepIcon/index.js.map +1 -1
  2057. package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.esm.js +2 -1
  2058. package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.esm.js.map +1 -1
  2059. package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.js +2 -2
  2060. package/dist/node_modules/@mui/material/StepLabel/StepLabel/index.js.map +1 -1
  2061. package/dist/node_modules/@mui/material/Stepper/Stepper/index.esm.js +2 -1
  2062. package/dist/node_modules/@mui/material/Stepper/Stepper/index.esm.js.map +1 -1
  2063. package/dist/node_modules/@mui/material/Stepper/Stepper/index.js +2 -2
  2064. package/dist/node_modules/@mui/material/Stepper/Stepper/index.js.map +1 -1
  2065. package/dist/node_modules/@mui/material/Stepper/StepperContext/index.esm.js +2 -1
  2066. package/dist/node_modules/@mui/material/Stepper/StepperContext/index.esm.js.map +1 -1
  2067. package/dist/node_modules/@mui/material/Stepper/StepperContext/index.js +1 -1
  2068. package/dist/node_modules/@mui/material/Stepper/StepperContext/index.js.map +1 -1
  2069. package/dist/node_modules/@mui/material/SvgIcon/SvgIcon/index.esm.js +2 -1
  2070. package/dist/node_modules/@mui/material/SvgIcon/SvgIcon/index.esm.js.map +1 -1
  2071. package/dist/node_modules/@mui/material/SvgIcon/SvgIcon/index.js +2 -2
  2072. package/dist/node_modules/@mui/material/SvgIcon/SvgIcon/index.js.map +1 -1
  2073. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.esm.js +2 -1
  2074. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.esm.js.map +1 -1
  2075. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.js +2 -2
  2076. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeArea/index.js.map +1 -1
  2077. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.esm.js +2 -1
  2078. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.esm.js.map +1 -1
  2079. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.js +1 -1
  2080. package/dist/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer/index.js.map +1 -1
  2081. package/dist/node_modules/@mui/material/Switch/Switch/index.esm.js +2 -1
  2082. package/dist/node_modules/@mui/material/Switch/Switch/index.esm.js.map +1 -1
  2083. package/dist/node_modules/@mui/material/Switch/Switch/index.js +2 -2
  2084. package/dist/node_modules/@mui/material/Switch/Switch/index.js.map +1 -1
  2085. package/dist/node_modules/@mui/material/Tab/Tab/index.esm.js +2 -1
  2086. package/dist/node_modules/@mui/material/Tab/Tab/index.esm.js.map +1 -1
  2087. package/dist/node_modules/@mui/material/Tab/Tab/index.js +1 -1
  2088. package/dist/node_modules/@mui/material/Tab/Tab/index.js.map +1 -1
  2089. package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton/index.esm.js +2 -1
  2090. package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton/index.esm.js.map +1 -1
  2091. package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton/index.js +2 -2
  2092. package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton/index.js.map +1 -1
  2093. package/dist/node_modules/@mui/material/Table/Table/index.esm.js +2 -1
  2094. package/dist/node_modules/@mui/material/Table/Table/index.esm.js.map +1 -1
  2095. package/dist/node_modules/@mui/material/Table/Table/index.js +2 -2
  2096. package/dist/node_modules/@mui/material/Table/Table/index.js.map +1 -1
  2097. package/dist/node_modules/@mui/material/Table/TableContext/index.esm.js +2 -1
  2098. package/dist/node_modules/@mui/material/Table/TableContext/index.esm.js.map +1 -1
  2099. package/dist/node_modules/@mui/material/Table/TableContext/index.js +1 -1
  2100. package/dist/node_modules/@mui/material/Table/TableContext/index.js.map +1 -1
  2101. package/dist/node_modules/@mui/material/Table/Tablelvl2Context/index.esm.js +2 -1
  2102. package/dist/node_modules/@mui/material/Table/Tablelvl2Context/index.esm.js.map +1 -1
  2103. package/dist/node_modules/@mui/material/Table/Tablelvl2Context/index.js +1 -1
  2104. package/dist/node_modules/@mui/material/Table/Tablelvl2Context/index.js.map +1 -1
  2105. package/dist/node_modules/@mui/material/TableBody/TableBody/index.esm.js +2 -1
  2106. package/dist/node_modules/@mui/material/TableBody/TableBody/index.esm.js.map +1 -1
  2107. package/dist/node_modules/@mui/material/TableBody/TableBody/index.js +1 -1
  2108. package/dist/node_modules/@mui/material/TableBody/TableBody/index.js.map +1 -1
  2109. package/dist/node_modules/@mui/material/TableCell/TableCell/index.esm.js +2 -1
  2110. package/dist/node_modules/@mui/material/TableCell/TableCell/index.esm.js.map +1 -1
  2111. package/dist/node_modules/@mui/material/TableCell/TableCell/index.js +1 -1
  2112. package/dist/node_modules/@mui/material/TableCell/TableCell/index.js.map +1 -1
  2113. package/dist/node_modules/@mui/material/TableContainer/TableContainer/index.esm.js +2 -1
  2114. package/dist/node_modules/@mui/material/TableContainer/TableContainer/index.esm.js.map +1 -1
  2115. package/dist/node_modules/@mui/material/TableContainer/TableContainer/index.js +2 -2
  2116. package/dist/node_modules/@mui/material/TableContainer/TableContainer/index.js.map +1 -1
  2117. package/dist/node_modules/@mui/material/TableFooter/TableFooter/index.esm.js +2 -1
  2118. package/dist/node_modules/@mui/material/TableFooter/TableFooter/index.esm.js.map +1 -1
  2119. package/dist/node_modules/@mui/material/TableFooter/TableFooter/index.js +1 -1
  2120. package/dist/node_modules/@mui/material/TableFooter/TableFooter/index.js.map +1 -1
  2121. package/dist/node_modules/@mui/material/TableHead/TableHead/index.esm.js +2 -1
  2122. package/dist/node_modules/@mui/material/TableHead/TableHead/index.esm.js.map +1 -1
  2123. package/dist/node_modules/@mui/material/TableHead/TableHead/index.js +1 -1
  2124. package/dist/node_modules/@mui/material/TableHead/TableHead/index.js.map +1 -1
  2125. package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.esm.js +2 -1
  2126. package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.esm.js.map +1 -1
  2127. package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.js +2 -2
  2128. package/dist/node_modules/@mui/material/TablePagination/TablePagination/index.js.map +1 -1
  2129. package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.esm.js +2 -1
  2130. package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.esm.js.map +1 -1
  2131. package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.js +2 -2
  2132. package/dist/node_modules/@mui/material/TablePagination/TablePaginationActions/index.js.map +1 -1
  2133. package/dist/node_modules/@mui/material/TableRow/TableRow/index.esm.js +2 -1
  2134. package/dist/node_modules/@mui/material/TableRow/TableRow/index.esm.js.map +1 -1
  2135. package/dist/node_modules/@mui/material/TableRow/TableRow/index.js +1 -1
  2136. package/dist/node_modules/@mui/material/TableRow/TableRow/index.js.map +1 -1
  2137. package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel/index.esm.js +2 -1
  2138. package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel/index.esm.js.map +1 -1
  2139. package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel/index.js +1 -1
  2140. package/dist/node_modules/@mui/material/TableSortLabel/TableSortLabel/index.js.map +1 -1
  2141. package/dist/node_modules/@mui/material/Tabs/ScrollbarSize/index.esm.js +2 -1
  2142. package/dist/node_modules/@mui/material/Tabs/ScrollbarSize/index.esm.js.map +1 -1
  2143. package/dist/node_modules/@mui/material/Tabs/ScrollbarSize/index.js +1 -1
  2144. package/dist/node_modules/@mui/material/Tabs/ScrollbarSize/index.js.map +1 -1
  2145. package/dist/node_modules/@mui/material/Tabs/Tabs/index.esm.js +7 -6
  2146. package/dist/node_modules/@mui/material/Tabs/Tabs/index.esm.js.map +1 -1
  2147. package/dist/node_modules/@mui/material/Tabs/Tabs/index.js +2 -2
  2148. package/dist/node_modules/@mui/material/Tabs/Tabs/index.js.map +1 -1
  2149. package/dist/node_modules/@mui/material/TextField/TextField/index.esm.js +3 -2
  2150. package/dist/node_modules/@mui/material/TextField/TextField/index.esm.js.map +1 -1
  2151. package/dist/node_modules/@mui/material/TextField/TextField/index.js +2 -2
  2152. package/dist/node_modules/@mui/material/TextField/TextField/index.js.map +1 -1
  2153. package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize/index.esm.js +2 -1
  2154. package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize/index.esm.js.map +1 -1
  2155. package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize/index.js +1 -1
  2156. package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize/index.js.map +1 -1
  2157. package/dist/node_modules/@mui/material/ToggleButton/ToggleButton/index.esm.js +2 -1
  2158. package/dist/node_modules/@mui/material/ToggleButton/ToggleButton/index.esm.js.map +1 -1
  2159. package/dist/node_modules/@mui/material/ToggleButton/ToggleButton/index.js +1 -1
  2160. package/dist/node_modules/@mui/material/ToggleButton/ToggleButton/index.js.map +1 -1
  2161. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup/index.esm.js +3 -2
  2162. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup/index.esm.js.map +1 -1
  2163. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup/index.js +2 -2
  2164. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup/index.js.map +1 -1
  2165. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext/index.esm.js +2 -1
  2166. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext/index.esm.js.map +1 -1
  2167. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext/index.js +1 -1
  2168. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext/index.js.map +1 -1
  2169. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext/index.esm.js +2 -1
  2170. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext/index.esm.js.map +1 -1
  2171. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext/index.js +1 -1
  2172. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext/index.js.map +1 -1
  2173. package/dist/node_modules/@mui/material/Toolbar/Toolbar/index.esm.js +2 -1
  2174. package/dist/node_modules/@mui/material/Toolbar/Toolbar/index.esm.js.map +1 -1
  2175. package/dist/node_modules/@mui/material/Toolbar/Toolbar/index.js +2 -2
  2176. package/dist/node_modules/@mui/material/Toolbar/Toolbar/index.js.map +1 -1
  2177. package/dist/node_modules/@mui/material/Tooltip/Tooltip/index.esm.js +5 -4
  2178. package/dist/node_modules/@mui/material/Tooltip/Tooltip/index.esm.js.map +1 -1
  2179. package/dist/node_modules/@mui/material/Tooltip/Tooltip/index.js +2 -2
  2180. package/dist/node_modules/@mui/material/Tooltip/Tooltip/index.js.map +1 -1
  2181. package/dist/node_modules/@mui/material/Typography/Typography/index.esm.js +2 -1
  2182. package/dist/node_modules/@mui/material/Typography/Typography/index.esm.js.map +1 -1
  2183. package/dist/node_modules/@mui/material/Typography/Typography/index.js +2 -2
  2184. package/dist/node_modules/@mui/material/Typography/Typography/index.js.map +1 -1
  2185. package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap/index.esm.js +4 -3
  2186. package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap/index.esm.js.map +1 -1
  2187. package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap/index.js +2 -2
  2188. package/dist/node_modules/@mui/material/Unstable_TrapFocus/FocusTrap/index.js.map +1 -1
  2189. package/dist/node_modules/@mui/material/Zoom/Zoom/index.esm.js +2 -1
  2190. package/dist/node_modules/@mui/material/Zoom/Zoom/index.esm.js.map +1 -1
  2191. package/dist/node_modules/@mui/material/Zoom/Zoom/index.js +1 -1
  2192. package/dist/node_modules/@mui/material/Zoom/Zoom/index.js.map +1 -1
  2193. package/dist/node_modules/@mui/material/internal/SwitchBase/index.esm.js +2 -1
  2194. package/dist/node_modules/@mui/material/internal/SwitchBase/index.esm.js.map +1 -1
  2195. package/dist/node_modules/@mui/material/internal/SwitchBase/index.js +2 -2
  2196. package/dist/node_modules/@mui/material/internal/SwitchBase/index.js.map +1 -1
  2197. package/dist/node_modules/@mui/material/styles/ThemeProvider/index.esm.js +2 -1
  2198. package/dist/node_modules/@mui/material/styles/ThemeProvider/index.esm.js.map +1 -1
  2199. package/dist/node_modules/@mui/material/styles/ThemeProvider/index.js +1 -1
  2200. package/dist/node_modules/@mui/material/styles/ThemeProvider/index.js.map +1 -1
  2201. package/dist/node_modules/@mui/material/styles/createPalette/index.esm.js +5 -4
  2202. package/dist/node_modules/@mui/material/styles/createPalette/index.esm.js.map +1 -1
  2203. package/dist/node_modules/@mui/material/styles/createPalette/index.js +1 -1
  2204. package/dist/node_modules/@mui/material/styles/createPalette/index.js.map +1 -1
  2205. package/dist/node_modules/@mui/material/styles/createTheme/index.esm.js +4 -3
  2206. package/dist/node_modules/@mui/material/styles/createTheme/index.esm.js.map +1 -1
  2207. package/dist/node_modules/@mui/material/styles/createTheme/index.js +1 -1
  2208. package/dist/node_modules/@mui/material/styles/createTheme/index.js.map +1 -1
  2209. package/dist/node_modules/@mui/material/styles/createTransitions/index.esm.js +2 -1
  2210. package/dist/node_modules/@mui/material/styles/createTransitions/index.esm.js.map +1 -1
  2211. package/dist/node_modules/@mui/material/styles/createTransitions/index.js +1 -1
  2212. package/dist/node_modules/@mui/material/styles/createTransitions/index.js.map +1 -1
  2213. package/dist/node_modules/@mui/material/styles/createTypography/index.esm.js +2 -1
  2214. package/dist/node_modules/@mui/material/styles/createTypography/index.esm.js.map +1 -1
  2215. package/dist/node_modules/@mui/material/styles/createTypography/index.js +1 -1
  2216. package/dist/node_modules/@mui/material/styles/createTypography/index.js.map +1 -1
  2217. package/dist/node_modules/@mui/material/styles/useTheme/index.esm.js +2 -1
  2218. package/dist/node_modules/@mui/material/styles/useTheme/index.esm.js.map +1 -1
  2219. package/dist/node_modules/@mui/material/styles/useTheme/index.js +1 -1
  2220. package/dist/node_modules/@mui/material/styles/useTheme/index.js.map +1 -1
  2221. package/dist/node_modules/@mui/material/useAutocomplete/useAutocomplete/index.esm.js +6 -5
  2222. package/dist/node_modules/@mui/material/useAutocomplete/useAutocomplete/index.esm.js.map +1 -1
  2223. package/dist/node_modules/@mui/material/useAutocomplete/useAutocomplete/index.js +1 -1
  2224. package/dist/node_modules/@mui/material/useAutocomplete/useAutocomplete/index.js.map +1 -1
  2225. package/dist/node_modules/@mui/material/utils/createSvgIcon/index.esm.js +2 -1
  2226. package/dist/node_modules/@mui/material/utils/createSvgIcon/index.esm.js.map +1 -1
  2227. package/dist/node_modules/@mui/material/utils/createSvgIcon/index.js +2 -2
  2228. package/dist/node_modules/@mui/material/utils/createSvgIcon/index.js.map +1 -1
  2229. package/dist/node_modules/@mui/material/utils/index/index.esm.js +2 -1
  2230. package/dist/node_modules/@mui/material/utils/index/index.esm.js.map +1 -1
  2231. package/dist/node_modules/@mui/material/utils/index/index.js +1 -1
  2232. package/dist/node_modules/@mui/material/utils/index/index.js.map +1 -1
  2233. package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider/index.esm.js +6 -5
  2234. package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider/index.esm.js.map +1 -1
  2235. package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider/index.js +2 -2
  2236. package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider/index.js.map +1 -1
  2237. package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext/index.esm.js +2 -1
  2238. package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext/index.esm.js.map +1 -1
  2239. package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext/index.js +1 -1
  2240. package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext/index.js.map +1 -1
  2241. package/dist/node_modules/@mui/private-theming/useTheme/useTheme/index.esm.js +2 -1
  2242. package/dist/node_modules/@mui/private-theming/useTheme/useTheme/index.esm.js.map +1 -1
  2243. package/dist/node_modules/@mui/private-theming/useTheme/useTheme/index.js +1 -1
  2244. package/dist/node_modules/@mui/private-theming/useTheme/useTheme/index.js.map +1 -1
  2245. package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles/index.esm.js +2 -1
  2246. package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles/index.esm.js.map +1 -1
  2247. package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles/index.js +1 -1
  2248. package/dist/node_modules/@mui/styled-engine/GlobalStyles/GlobalStyles/index.js.map +1 -1
  2249. package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider/index.esm.js +2 -1
  2250. package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider/index.esm.js.map +1 -1
  2251. package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider/index.js +1 -1
  2252. package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider/index.js.map +1 -1
  2253. package/dist/node_modules/@mui/styled-engine/index/index.esm.js +2 -8
  2254. package/dist/node_modules/@mui/styled-engine/index/index.esm.js.map +1 -1
  2255. package/dist/node_modules/@mui/styled-engine/index/index.js +1 -1
  2256. package/dist/node_modules/@mui/styled-engine/index/index.js.map +1 -1
  2257. package/dist/node_modules/@mui/system/colorManipulator/index.esm.js +11 -10
  2258. package/dist/node_modules/@mui/system/colorManipulator/index.esm.js.map +1 -1
  2259. package/dist/node_modules/@mui/system/colorManipulator/index.js +1 -1
  2260. package/dist/node_modules/@mui/system/colorManipulator/index.js.map +1 -1
  2261. package/dist/node_modules/@mui/system/createStyled/index.esm.js +9 -8
  2262. package/dist/node_modules/@mui/system/createStyled/index.esm.js.map +1 -1
  2263. package/dist/node_modules/@mui/system/createStyled/index.js +1 -1
  2264. package/dist/node_modules/@mui/system/createStyled/index.js.map +1 -1
  2265. package/dist/node_modules/@mui/system/esm/Container/createContainer/index.esm.js +3 -2
  2266. package/dist/node_modules/@mui/system/esm/Container/createContainer/index.esm.js.map +1 -1
  2267. package/dist/node_modules/@mui/system/esm/Container/createContainer/index.js +2 -2
  2268. package/dist/node_modules/@mui/system/esm/Container/createContainer/index.js.map +1 -1
  2269. package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider/index.esm.js +2 -1
  2270. package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider/index.esm.js.map +1 -1
  2271. package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider/index.js +2 -2
  2272. package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider/index.js.map +1 -1
  2273. package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles/index.esm.js +2 -1
  2274. package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles/index.esm.js.map +1 -1
  2275. package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles/index.js +1 -1
  2276. package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles/index.js.map +1 -1
  2277. package/dist/node_modules/@mui/system/esm/RtlProvider/index/index.esm.js +2 -1
  2278. package/dist/node_modules/@mui/system/esm/RtlProvider/index/index.esm.js.map +1 -1
  2279. package/dist/node_modules/@mui/system/esm/RtlProvider/index/index.js +1 -1
  2280. package/dist/node_modules/@mui/system/esm/RtlProvider/index/index.js.map +1 -1
  2281. package/dist/node_modules/@mui/system/esm/Stack/createStack/index.esm.js +2 -1
  2282. package/dist/node_modules/@mui/system/esm/Stack/createStack/index.esm.js.map +1 -1
  2283. package/dist/node_modules/@mui/system/esm/Stack/createStack/index.js +2 -2
  2284. package/dist/node_modules/@mui/system/esm/Stack/createStack/index.js.map +1 -1
  2285. package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider/index.esm.js +5 -4
  2286. package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider/index.esm.js.map +1 -1
  2287. package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider/index.js +2 -2
  2288. package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider/index.js.map +1 -1
  2289. package/dist/node_modules/@mui/system/esm/borders/index.esm.js +2 -1
  2290. package/dist/node_modules/@mui/system/esm/borders/index.esm.js.map +1 -1
  2291. package/dist/node_modules/@mui/system/esm/borders/index.js +1 -1
  2292. package/dist/node_modules/@mui/system/esm/borders/index.js.map +1 -1
  2293. package/dist/node_modules/@mui/system/esm/breakpoints/index.esm.js.map +1 -1
  2294. package/dist/node_modules/@mui/system/esm/breakpoints/index.js.map +1 -1
  2295. package/dist/node_modules/@mui/system/esm/colorManipulator/index.esm.js +4 -3
  2296. package/dist/node_modules/@mui/system/esm/colorManipulator/index.esm.js.map +1 -1
  2297. package/dist/node_modules/@mui/system/esm/colorManipulator/index.js +1 -1
  2298. package/dist/node_modules/@mui/system/esm/colorManipulator/index.js.map +1 -1
  2299. package/dist/node_modules/@mui/system/esm/compose/index.esm.js +2 -1
  2300. package/dist/node_modules/@mui/system/esm/compose/index.esm.js.map +1 -1
  2301. package/dist/node_modules/@mui/system/esm/compose/index.js +1 -1
  2302. package/dist/node_modules/@mui/system/esm/compose/index.js.map +1 -1
  2303. package/dist/node_modules/@mui/system/esm/createStyled/index.esm.js +3 -2
  2304. package/dist/node_modules/@mui/system/esm/createStyled/index.esm.js.map +1 -1
  2305. package/dist/node_modules/@mui/system/esm/createStyled/index.js +1 -1
  2306. package/dist/node_modules/@mui/system/esm/createStyled/index.js.map +1 -1
  2307. package/dist/node_modules/@mui/system/esm/createTheme/createSpacing/index.esm.js +2 -1
  2308. package/dist/node_modules/@mui/system/esm/createTheme/createSpacing/index.esm.js.map +1 -1
  2309. package/dist/node_modules/@mui/system/esm/createTheme/createSpacing/index.js +1 -1
  2310. package/dist/node_modules/@mui/system/esm/createTheme/createSpacing/index.js.map +1 -1
  2311. package/dist/node_modules/@mui/system/esm/cssGrid/index.esm.js +4 -3
  2312. package/dist/node_modules/@mui/system/esm/cssGrid/index.esm.js.map +1 -1
  2313. package/dist/node_modules/@mui/system/esm/cssGrid/index.js +1 -1
  2314. package/dist/node_modules/@mui/system/esm/cssGrid/index.js.map +1 -1
  2315. package/dist/node_modules/@mui/system/esm/responsivePropType/index.esm.js +2 -1
  2316. package/dist/node_modules/@mui/system/esm/responsivePropType/index.esm.js.map +1 -1
  2317. package/dist/node_modules/@mui/system/esm/responsivePropType/index.js +1 -1
  2318. package/dist/node_modules/@mui/system/esm/responsivePropType/index.js.map +1 -1
  2319. package/dist/node_modules/@mui/system/esm/spacing/index.esm.js +7 -6
  2320. package/dist/node_modules/@mui/system/esm/spacing/index.esm.js.map +1 -1
  2321. package/dist/node_modules/@mui/system/esm/spacing/index.js +1 -1
  2322. package/dist/node_modules/@mui/system/esm/spacing/index.js.map +1 -1
  2323. package/dist/node_modules/@mui/system/esm/style/index.esm.js +2 -1
  2324. package/dist/node_modules/@mui/system/esm/style/index.esm.js.map +1 -1
  2325. package/dist/node_modules/@mui/system/esm/style/index.js +1 -1
  2326. package/dist/node_modules/@mui/system/esm/style/index.js.map +1 -1
  2327. package/dist/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery/index.esm.js +3 -2
  2328. package/dist/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery/index.esm.js.map +1 -1
  2329. package/dist/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery/index.js +1 -1
  2330. package/dist/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery/index.js.map +1 -1
  2331. package/dist/node_modules/@mui/system/useThemeWithoutDefault/index.esm.js +1 -1
  2332. package/dist/node_modules/@mui/system/useThemeWithoutDefault/index.js +1 -1
  2333. package/dist/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType/index.esm.js +2 -1
  2334. package/dist/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType/index.esm.js.map +1 -1
  2335. package/dist/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType/index.js +1 -1
  2336. package/dist/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType/index.js.map +1 -1
  2337. package/dist/node_modules/@mui/utils/esm/capitalize/capitalize/index.esm.js +2 -1
  2338. package/dist/node_modules/@mui/utils/esm/capitalize/capitalize/index.esm.js.map +1 -1
  2339. package/dist/node_modules/@mui/utils/esm/capitalize/capitalize/index.js +1 -1
  2340. package/dist/node_modules/@mui/utils/esm/capitalize/capitalize/index.js.map +1 -1
  2341. package/dist/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes/index.esm.js +2 -1
  2342. package/dist/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes/index.esm.js.map +1 -1
  2343. package/dist/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes/index.js +1 -1
  2344. package/dist/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes/index.js.map +1 -1
  2345. package/dist/node_modules/@mui/utils/esm/deprecatedPropType/deprecatedPropType/index.esm.js +2 -1
  2346. package/dist/node_modules/@mui/utils/esm/deprecatedPropType/deprecatedPropType/index.esm.js.map +1 -1
  2347. package/dist/node_modules/@mui/utils/esm/deprecatedPropType/deprecatedPropType/index.js +1 -1
  2348. package/dist/node_modules/@mui/utils/esm/deprecatedPropType/deprecatedPropType/index.js.map +1 -1
  2349. package/dist/node_modules/@mui/utils/esm/exactProp/exactProp/index.esm.js +2 -1
  2350. package/dist/node_modules/@mui/utils/esm/exactProp/exactProp/index.esm.js.map +1 -1
  2351. package/dist/node_modules/@mui/utils/esm/exactProp/exactProp/index.js +1 -1
  2352. package/dist/node_modules/@mui/utils/esm/exactProp/exactProp/index.js.map +1 -1
  2353. package/dist/node_modules/@mui/utils/esm/integerPropType/integerPropType/index.esm.js +2 -1
  2354. package/dist/node_modules/@mui/utils/esm/integerPropType/integerPropType/index.esm.js.map +1 -1
  2355. package/dist/node_modules/@mui/utils/esm/integerPropType/integerPropType/index.js +1 -1
  2356. package/dist/node_modules/@mui/utils/esm/integerPropType/integerPropType/index.js.map +1 -1
  2357. package/dist/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory/index.esm.js +2 -1
  2358. package/dist/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory/index.esm.js.map +1 -1
  2359. package/dist/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory/index.js +1 -1
  2360. package/dist/node_modules/@mui/utils/esm/requirePropFactory/requirePropFactory/index.js.map +1 -1
  2361. package/dist/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp/index.esm.js +2 -1
  2362. package/dist/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp/index.esm.js.map +1 -1
  2363. package/dist/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp/index.js +1 -1
  2364. package/dist/node_modules/@mui/utils/esm/unsupportedProp/unsupportedProp/index.js.map +1 -1
  2365. package/dist/node_modules/@mui/utils/esm/useControlled/useControlled/index.esm.js +2 -1
  2366. package/dist/node_modules/@mui/utils/esm/useControlled/useControlled/index.esm.js.map +1 -1
  2367. package/dist/node_modules/@mui/utils/esm/useControlled/useControlled/index.js +1 -1
  2368. package/dist/node_modules/@mui/utils/esm/useControlled/useControlled/index.js.map +1 -1
  2369. package/dist/node_modules/@mui/x-date-pickers/DateCalendar/DateCalendar/index.esm.js +2 -1
  2370. package/dist/node_modules/@mui/x-date-pickers/DateCalendar/DateCalendar/index.esm.js.map +1 -1
  2371. package/dist/node_modules/@mui/x-date-pickers/DateCalendar/DateCalendar/index.js +1 -1
  2372. package/dist/node_modules/@mui/x-date-pickers/DateCalendar/DateCalendar/index.js.map +1 -1
  2373. package/dist/node_modules/@mui/x-date-pickers/DateField/DateField/index.esm.js +2 -1
  2374. package/dist/node_modules/@mui/x-date-pickers/DateField/DateField/index.esm.js.map +1 -1
  2375. package/dist/node_modules/@mui/x-date-pickers/DateField/DateField/index.js +2 -2
  2376. package/dist/node_modules/@mui/x-date-pickers/DateField/DateField/index.js.map +1 -1
  2377. package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePicker/index.esm.js +2 -1
  2378. package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePicker/index.esm.js.map +1 -1
  2379. package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePicker/index.js +1 -1
  2380. package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePicker/index.js.map +1 -1
  2381. package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePickerToolbar/index.esm.js +2 -1
  2382. package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePickerToolbar/index.esm.js.map +1 -1
  2383. package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePickerToolbar/index.js +1 -1
  2384. package/dist/node_modules/@mui/x-date-pickers/DatePicker/DatePickerToolbar/index.js.map +1 -1
  2385. package/dist/node_modules/@mui/x-date-pickers/DateTimeField/DateTimeField/index.esm.js +2 -1
  2386. package/dist/node_modules/@mui/x-date-pickers/DateTimeField/DateTimeField/index.esm.js.map +1 -1
  2387. package/dist/node_modules/@mui/x-date-pickers/DateTimeField/DateTimeField/index.js +2 -2
  2388. package/dist/node_modules/@mui/x-date-pickers/DateTimeField/DateTimeField/index.js.map +1 -1
  2389. package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePicker/index.esm.js +2 -1
  2390. package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePicker/index.esm.js.map +1 -1
  2391. package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePicker/index.js +1 -1
  2392. package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePicker/index.js.map +1 -1
  2393. package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerTabs/index.esm.js +2 -1
  2394. package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerTabs/index.esm.js.map +1 -1
  2395. package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerTabs/index.js +1 -1
  2396. package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerTabs/index.js.map +1 -1
  2397. package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerToolbar/index.esm.js +2 -1
  2398. package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerToolbar/index.esm.js.map +1 -1
  2399. package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerToolbar/index.js +1 -1
  2400. package/dist/node_modules/@mui/x-date-pickers/DateTimePicker/DateTimePickerToolbar/index.js.map +1 -1
  2401. package/dist/node_modules/@mui/x-date-pickers/DigitalClock/DigitalClock/index.esm.js +2 -1
  2402. package/dist/node_modules/@mui/x-date-pickers/DigitalClock/DigitalClock/index.esm.js.map +1 -1
  2403. package/dist/node_modules/@mui/x-date-pickers/DigitalClock/DigitalClock/index.js +1 -1
  2404. package/dist/node_modules/@mui/x-date-pickers/DigitalClock/DigitalClock/index.js.map +1 -1
  2405. package/dist/node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider/index.esm.js +3 -2
  2406. package/dist/node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider/index.esm.js.map +1 -1
  2407. package/dist/node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider/index.js +2 -2
  2408. package/dist/node_modules/@mui/x-date-pickers/LocalizationProvider/LocalizationProvider/index.js.map +1 -1
  2409. package/dist/node_modules/@mui/x-date-pickers/MonthCalendar/MonthCalendar/index.esm.js +2 -1
  2410. package/dist/node_modules/@mui/x-date-pickers/MonthCalendar/MonthCalendar/index.esm.js.map +1 -1
  2411. package/dist/node_modules/@mui/x-date-pickers/MonthCalendar/MonthCalendar/index.js +1 -1
  2412. package/dist/node_modules/@mui/x-date-pickers/MonthCalendar/MonthCalendar/index.js.map +1 -1
  2413. package/dist/node_modules/@mui/x-date-pickers/MultiSectionDigitalClock/MultiSectionDigitalClock/index.esm.js +2 -1
  2414. package/dist/node_modules/@mui/x-date-pickers/MultiSectionDigitalClock/MultiSectionDigitalClock/index.esm.js.map +1 -1
  2415. package/dist/node_modules/@mui/x-date-pickers/MultiSectionDigitalClock/MultiSectionDigitalClock/index.js +1 -1
  2416. package/dist/node_modules/@mui/x-date-pickers/MultiSectionDigitalClock/MultiSectionDigitalClock/index.js.map +1 -1
  2417. package/dist/node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar/index.esm.js +2 -1
  2418. package/dist/node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar/index.esm.js.map +1 -1
  2419. package/dist/node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar/index.js +4 -4
  2420. package/dist/node_modules/@mui/x-date-pickers/PickersActionBar/PickersActionBar/index.js.map +1 -1
  2421. package/dist/node_modules/@mui/x-date-pickers/PickersCalendarHeader/PickersCalendarHeader/index.esm.js +2 -1
  2422. package/dist/node_modules/@mui/x-date-pickers/PickersCalendarHeader/PickersCalendarHeader/index.esm.js.map +1 -1
  2423. package/dist/node_modules/@mui/x-date-pickers/PickersCalendarHeader/PickersCalendarHeader/index.js +1 -1
  2424. package/dist/node_modules/@mui/x-date-pickers/PickersCalendarHeader/PickersCalendarHeader/index.js.map +1 -1
  2425. package/dist/node_modules/@mui/x-date-pickers/PickersDay/PickersDay/index.esm.js +5 -4
  2426. package/dist/node_modules/@mui/x-date-pickers/PickersDay/PickersDay/index.esm.js.map +1 -1
  2427. package/dist/node_modules/@mui/x-date-pickers/PickersDay/PickersDay/index.js +1 -1
  2428. package/dist/node_modules/@mui/x-date-pickers/PickersDay/PickersDay/index.js.map +1 -1
  2429. package/dist/node_modules/@mui/x-date-pickers/PickersLayout/PickersLayout/index.esm.js +2 -1
  2430. package/dist/node_modules/@mui/x-date-pickers/PickersLayout/PickersLayout/index.esm.js.map +1 -1
  2431. package/dist/node_modules/@mui/x-date-pickers/PickersLayout/PickersLayout/index.js +1 -1
  2432. package/dist/node_modules/@mui/x-date-pickers/PickersLayout/PickersLayout/index.js.map +1 -1
  2433. package/dist/node_modules/@mui/x-date-pickers/PickersShortcuts/PickersShortcuts/index.esm.js +2 -1
  2434. package/dist/node_modules/@mui/x-date-pickers/PickersShortcuts/PickersShortcuts/index.esm.js.map +1 -1
  2435. package/dist/node_modules/@mui/x-date-pickers/PickersShortcuts/PickersShortcuts/index.js +2 -2
  2436. package/dist/node_modules/@mui/x-date-pickers/PickersShortcuts/PickersShortcuts/index.js.map +1 -1
  2437. package/dist/node_modules/@mui/x-date-pickers/TimeClock/TimeClock/index.esm.js +2 -1
  2438. package/dist/node_modules/@mui/x-date-pickers/TimeClock/TimeClock/index.esm.js.map +1 -1
  2439. package/dist/node_modules/@mui/x-date-pickers/TimeClock/TimeClock/index.js +2 -2
  2440. package/dist/node_modules/@mui/x-date-pickers/TimeClock/TimeClock/index.js.map +1 -1
  2441. package/dist/node_modules/@mui/x-date-pickers/TimeField/TimeField/index.esm.js +2 -1
  2442. package/dist/node_modules/@mui/x-date-pickers/TimeField/TimeField/index.esm.js.map +1 -1
  2443. package/dist/node_modules/@mui/x-date-pickers/TimeField/TimeField/index.js +1 -1
  2444. package/dist/node_modules/@mui/x-date-pickers/TimeField/TimeField/index.js.map +1 -1
  2445. package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePicker/index.esm.js +2 -1
  2446. package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePicker/index.esm.js.map +1 -1
  2447. package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePicker/index.js +1 -1
  2448. package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePicker/index.js.map +1 -1
  2449. package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePickerToolbar/index.esm.js +2 -1
  2450. package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePickerToolbar/index.esm.js.map +1 -1
  2451. package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePickerToolbar/index.js +2 -2
  2452. package/dist/node_modules/@mui/x-date-pickers/TimePicker/TimePickerToolbar/index.js.map +1 -1
  2453. package/dist/node_modules/@mui/x-date-pickers/YearCalendar/YearCalendar/index.esm.js +2 -1
  2454. package/dist/node_modules/@mui/x-date-pickers/YearCalendar/YearCalendar/index.esm.js.map +1 -1
  2455. package/dist/node_modules/@mui/x-date-pickers/YearCalendar/YearCalendar/index.js +2 -2
  2456. package/dist/node_modules/@mui/x-date-pickers/YearCalendar/YearCalendar/index.js.map +1 -1
  2457. package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useField/useField.utils/index.esm.js +4 -3
  2458. package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useField/useField.utils/index.esm.js.map +1 -1
  2459. package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useField/useField.utils/index.js +1 -1
  2460. package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useField/useField.utils/index.js.map +1 -1
  2461. package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePicker/index.esm.js +2 -1
  2462. package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePicker/index.esm.js.map +1 -1
  2463. package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePicker/index.js +1 -1
  2464. package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePicker/index.js.map +1 -1
  2465. package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePickerValue/index.esm.js +2 -1
  2466. package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePickerValue/index.esm.js.map +1 -1
  2467. package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePickerValue/index.js +1 -1
  2468. package/dist/node_modules/@mui/x-date-pickers/internals/hooks/usePicker/usePickerValue/index.js.map +1 -1
  2469. package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useViews/index.esm.js +2 -1
  2470. package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useViews/index.esm.js.map +1 -1
  2471. package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useViews/index.js +1 -1
  2472. package/dist/node_modules/@mui/x-date-pickers/internals/hooks/useViews/index.js.map +1 -1
  2473. package/dist/node_modules/@mui/x-date-pickers/internals/utils/warning/index.esm.js.map +1 -1
  2474. package/dist/node_modules/@react-querybuilder/material/dist/react-querybuilder_material/index.esm.js.map +1 -1
  2475. package/dist/node_modules/@react-querybuilder/material/dist/react-querybuilder_material/index.js.map +1 -1
  2476. package/dist/node_modules/@tanstack/table-core/build/lib/index/index.esm.js +11 -20
  2477. package/dist/node_modules/@tanstack/table-core/build/lib/index/index.esm.js.map +1 -1
  2478. package/dist/node_modules/@tanstack/table-core/build/lib/index/index.js +1 -1
  2479. package/dist/node_modules/@tanstack/table-core/build/lib/index/index.js.map +1 -1
  2480. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index/index.esm.js +7 -6
  2481. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index/index.esm.js.map +1 -1
  2482. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index/index.js +1 -1
  2483. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index/index.js.map +1 -1
  2484. package/dist/node_modules/notistack/notistack.esm/index.esm.js +3 -2
  2485. package/dist/node_modules/notistack/notistack.esm/index.esm.js.map +1 -1
  2486. package/dist/node_modules/notistack/notistack.esm/index.js +1 -1
  2487. package/dist/node_modules/notistack/notistack.esm/index.js.map +1 -1
  2488. package/dist/node_modules/prop-types/checkPropTypes/index.esm.js +50 -56
  2489. package/dist/node_modules/prop-types/checkPropTypes/index.esm.js.map +1 -1
  2490. package/dist/node_modules/prop-types/checkPropTypes/index.js +1 -1
  2491. package/dist/node_modules/prop-types/checkPropTypes/index.js.map +1 -1
  2492. package/dist/node_modules/prop-types/factoryWithTypeCheckers/index.esm.js +8 -7
  2493. package/dist/node_modules/prop-types/factoryWithTypeCheckers/index.esm.js.map +1 -1
  2494. package/dist/node_modules/prop-types/factoryWithTypeCheckers/index.js +1 -1
  2495. package/dist/node_modules/prop-types/factoryWithTypeCheckers/index.js.map +1 -1
  2496. package/dist/node_modules/prop-types/index/index.esm.js +3 -2
  2497. package/dist/node_modules/prop-types/index/index.esm.js.map +1 -1
  2498. package/dist/node_modules/prop-types/index/index.js +1 -1
  2499. package/dist/node_modules/prop-types/index/index.js.map +1 -1
  2500. package/dist/redux/actionCreator.d.ts +7 -0
  2501. package/dist/redux/apiConfig.d.ts +18 -0
  2502. package/dist/redux/hooks.d.ts +7 -0
  2503. package/dist/redux/index.d.ts +15 -10
  2504. package/dist/redux/index.esm.js +36 -27
  2505. package/dist/redux/index.js +1 -1
  2506. package/dist/redux/module-reducer.d.ts +9 -0
  2507. package/dist/redux/slices/headerSlice.d.ts +24 -0
  2508. package/dist/redux/slices/index.d.ts +8 -0
  2509. package/dist/redux/slices/inventoryReportsTitleBarSlice/index.esm.js +0 -6
  2510. package/dist/redux/slices/inventoryReportsTitleBarSlice/index.esm.js.map +1 -1
  2511. package/dist/redux/slices/inventoryReportsTitleBarSlice/index.js +1 -1
  2512. package/dist/redux/slices/inventoryReportsTitleBarSlice/index.js.map +1 -1
  2513. package/dist/redux/slices/inventoryReportsTitleBarSlice.d.ts +45 -0
  2514. package/dist/redux/slices/reportsTitleBarSlice/index.esm.js +1 -7
  2515. package/dist/redux/slices/reportsTitleBarSlice/index.esm.js.map +1 -1
  2516. package/dist/redux/slices/reportsTitleBarSlice/index.js +1 -1
  2517. package/dist/redux/slices/reportsTitleBarSlice/index.js.map +1 -1
  2518. package/dist/redux/slices/reportsTitleBarSlice.d.ts +21 -0
  2519. package/dist/redux/slices/shareSlice/index.esm.js +1 -3
  2520. package/dist/redux/slices/shareSlice/index.esm.js.map +1 -1
  2521. package/dist/redux/slices/shareSlice/index.js +1 -1
  2522. package/dist/redux/slices/shareSlice/index.js.map +1 -1
  2523. package/dist/redux/slices/shareSlice.d.ts +26 -0
  2524. package/dist/redux/toolkit.d.ts +9 -0
  2525. package/dist/redux/types.d.ts +66 -0
  2526. package/dist/server.d.ts +8 -0
  2527. package/dist/src/@types/index.d.ts +5 -0
  2528. package/dist/src/assets/common-component/index.d.ts +1 -0
  2529. package/dist/src/assets/dynamic-svg-icon/dynamic-svg-icon.d.ts +1 -0
  2530. package/dist/src/assets/dynamic-svg-icon/index.d.ts +2 -0
  2531. package/dist/src/assets/index.d.ts +4 -0
  2532. package/dist/src/assets/view-modal/calendar-icon.d.ts +1 -0
  2533. package/dist/src/assets/view-modal/chart-icon.d.ts +1 -0
  2534. package/dist/src/assets/view-modal/gantt-icon.d.ts +1 -0
  2535. package/dist/src/assets/view-modal/grid-icon.d.ts +1 -0
  2536. package/dist/src/assets/view-modal/index.d.ts +12 -0
  2537. package/dist/src/assets/view-modal/kanban-icon.d.ts +1 -0
  2538. package/dist/src/assets/view-modal/table-icon.d.ts +1 -0
  2539. package/dist/src/components/Dashboard/dashboard-card.d.ts +1 -0
  2540. package/dist/src/components/Dashboard/dashboard-header.d.ts +1 -0
  2541. package/dist/src/components/Dashboard/index.d.ts +4 -0
  2542. package/dist/src/components/accordion/accordion.d.ts +1 -0
  2543. package/dist/src/components/accordion/index.d.ts +2 -0
  2544. package/dist/src/components/action-bar/action-bar.d.ts +1 -0
  2545. package/dist/src/components/action-bar/index.d.ts +2 -0
  2546. package/dist/src/components/activity-tag/index.d.ts +2 -0
  2547. package/dist/src/components/activityArea/index.d.ts +2 -0
  2548. package/dist/src/components/activityLog/index.d.ts +2 -0
  2549. package/dist/src/components/alert/alert.d.ts +1 -0
  2550. package/dist/src/components/alert/index.d.ts +2 -0
  2551. package/dist/src/components/appbar/index.d.ts +2 -0
  2552. package/dist/src/components/approval-wrapper/index.d.ts +2 -0
  2553. package/dist/src/components/avatar/index.d.ts +2 -0
  2554. package/dist/src/components/board/columnHeader.d.ts +1 -0
  2555. package/dist/src/components/board/index.d.ts +4 -0
  2556. package/dist/src/components/bread-crumb/bread-crumb.d.ts +1 -0
  2557. package/dist/src/components/bread-crumb/index.d.ts +2 -0
  2558. package/dist/src/components/button/button.d.ts +1 -0
  2559. package/dist/src/components/button/index.d.ts +2 -0
  2560. package/dist/src/components/calculation-summary/components/index.d.ts +10 -0
  2561. package/dist/src/components/calculation-summary/index.d.ts +3 -0
  2562. package/dist/src/components/calendar/index.d.ts +2 -0
  2563. package/dist/src/components/card-wrapper/card-wrapper.d.ts +1 -0
  2564. package/dist/src/components/card-wrapper/index.d.ts +2 -0
  2565. package/dist/src/components/change-user-password-modal/change-user-password-modal.d.ts +1 -0
  2566. package/dist/src/components/change-user-password-modal/index.d.ts +2 -0
  2567. package/dist/src/components/charts/areaLinerChart.d.ts +1 -0
  2568. package/dist/src/components/charts/bar-chart/bar-chart.d.ts +1 -0
  2569. package/dist/src/components/charts/bar-chart/index.d.ts +2 -0
  2570. package/dist/src/components/charts/barChart/barChart.d.ts +1 -0
  2571. package/dist/src/components/charts/barChart/index.d.ts +2 -0
  2572. package/dist/src/components/charts/barLineChart/index.d.ts +2 -0
  2573. package/dist/src/components/charts/donut-chart/donut-chart.d.ts +1 -1
  2574. package/dist/src/components/charts/donut-chart/index.d.ts +2 -0
  2575. package/dist/src/components/charts/donutChart/DonutChart.d.ts +1 -0
  2576. package/dist/src/components/charts/donutChart/index.d.ts +2 -0
  2577. package/dist/src/components/charts/groupBarChart/GroupBarChart.d.ts +1 -0
  2578. package/dist/src/components/charts/groupBarChart/index.d.ts +2 -0
  2579. package/dist/src/components/charts/index.d.ts +20 -0
  2580. package/dist/src/components/charts/line-chart/area-lineChart.d.ts +2 -2
  2581. package/dist/src/components/charts/line-chart/index.d.ts +6 -0
  2582. package/dist/src/components/charts/multiLineChart/index.d.ts +2 -0
  2583. package/dist/src/components/charts/multiLineChart/multi-line-chart.d.ts +1 -0
  2584. package/dist/src/components/checkbox/checkbox.d.ts +1 -0
  2585. package/dist/src/components/checkbox/index.d.ts +2 -0
  2586. package/dist/src/components/chip/chip.d.ts +1 -0
  2587. package/dist/src/components/chip/index.d.ts +2 -0
  2588. package/dist/src/components/chip-generator/index.d.ts +2 -0
  2589. package/dist/src/components/color-picker-input/color-picker-input.d.ts +1 -0
  2590. package/dist/src/components/color-picker-input/index.d.ts +2 -0
  2591. package/dist/src/components/confirm-modal/confirm-modal.d.ts +1 -1
  2592. package/dist/src/components/confirm-modal/index.d.ts +3 -0
  2593. package/dist/src/components/country-select/country-select.d.ts +1 -0
  2594. package/dist/src/components/country-select/index.d.ts +2 -0
  2595. package/dist/src/components/custom-snackbar/custom-snackbar.d.ts +1 -0
  2596. package/dist/src/components/custom-snackbar/index.d.ts +2 -0
  2597. package/dist/src/components/custom-toggle-switch/custom-toggle-switch.d.ts +1 -0
  2598. package/dist/src/components/custom-toggle-switch/index.d.ts +2 -0
  2599. package/dist/src/components/date-picker/date-picker.d.ts +1 -0
  2600. package/dist/src/components/date-picker/index.d.ts +2 -0
  2601. package/dist/src/components/date-range-picker/date-range-picker.d.ts +1 -0
  2602. package/dist/src/components/date-range-picker/index.d.ts +2 -0
  2603. package/dist/src/components/date-time-picker/date-time-picker.d.ts +1 -0
  2604. package/dist/src/components/date-time-picker/index.d.ts +2 -0
  2605. package/dist/src/components/dropdown-button/index.d.ts +2 -0
  2606. package/dist/src/components/dynamic-layout-wrapper/index.d.ts +2 -0
  2607. package/dist/src/components/editor/custom-editor.d.ts +12 -8
  2608. package/dist/src/components/editor/index.d.ts +2 -0
  2609. package/dist/src/components/entity-view-wrapper/index.d.ts +2 -0
  2610. package/dist/src/components/examples/index.d.ts +2 -0
  2611. package/dist/src/components/expandable-summary-wrapper/index.d.ts +2 -0
  2612. package/dist/src/components/fallback/fallback.d.ts +1 -0
  2613. package/dist/src/components/fallback/index.d.ts +2 -0
  2614. package/dist/src/components/filter/components/add-filter.d.ts +1 -0
  2615. package/dist/src/components/filter/components/add-group.d.ts +1 -0
  2616. package/dist/src/components/filter/components/combinator-select.d.ts +1 -0
  2617. package/dist/src/components/filter/components/delete-group.d.ts +1 -0
  2618. package/dist/src/components/filter/components/field-select.d.ts +1 -0
  2619. package/dist/src/components/filter/components/index.d.ts +16 -0
  2620. package/dist/src/components/filter/components/operator-select.d.ts +1 -0
  2621. package/dist/src/components/filter/components/remove-action.d.ts +1 -0
  2622. package/dist/src/components/filter/components/value-editor.d.ts +1 -0
  2623. package/dist/src/components/filter/filter.d.ts +1 -0
  2624. package/dist/src/components/filter/index.d.ts +4 -0
  2625. package/dist/src/components/footer/footer.d.ts +1 -0
  2626. package/dist/src/components/footer/index.d.ts +2 -0
  2627. package/dist/src/components/form-control/form-builder/form-builder-element/button.d.ts +1 -0
  2628. package/dist/src/components/form-control/form-builder/form-builder-element/date-range-picker.d.ts +1 -0
  2629. package/dist/src/components/form-control/form-builder/form-builder-element/date-time.d.ts +1 -0
  2630. package/dist/src/components/form-control/form-builder/form-builder-element/date.d.ts +1 -0
  2631. package/dist/src/components/form-control/form-builder/form-builder-element/dynamic-currency-input.d.ts +1 -0
  2632. package/dist/src/components/form-control/form-builder/form-builder-element/dynamic-element-hoc.d.ts +1 -0
  2633. package/dist/src/components/form-control/form-builder/form-builder-element/dynamic-input-select.d.ts +1 -0
  2634. package/dist/src/components/form-control/form-builder/form-builder-element/dynamic-tags-input.d.ts +1 -0
  2635. package/dist/src/components/form-control/form-builder/form-builder-element/index.d.ts +25 -5
  2636. package/dist/src/components/form-control/form-builder/form-builder-element/info.d.ts +1 -0
  2637. package/dist/src/components/form-control/form-builder/form-builder-element/location-add-modal/index.d.ts +2 -0
  2638. package/dist/src/components/form-control/form-builder/form-builder-element/media.d.ts +1 -0
  2639. package/dist/src/components/form-control/form-builder/form-builder-element/phone.d.ts +1 -0
  2640. package/dist/src/components/form-control/form-builder/form-builder-element/section.d.ts +1 -0
  2641. package/dist/src/components/form-control/form-builder/form-builder-element/select.d.ts +1 -0
  2642. package/dist/src/components/form-control/form-builder/form-builder-element/text.d.ts +1 -0
  2643. package/dist/src/components/form-control/form-builder/form-builder-element/time.d.ts +1 -0
  2644. package/dist/src/components/form-control/form-builder/index.d.ts +3 -0
  2645. package/dist/src/components/form-control/form-parser/data.d.ts +1 -0
  2646. package/dist/src/components/form-control/form-parser/form-parser.d.ts +1 -0
  2647. package/dist/src/components/form-control/form-parser/form-section.d.ts +1 -0
  2648. package/dist/src/components/form-control/form-parser/form-switcher.d.ts +1 -0
  2649. package/dist/src/components/form-control/form-parser/index.d.ts +8 -0
  2650. package/dist/src/components/form-control/index.d.ts +2 -2
  2651. package/dist/src/components/form-header/form-header.d.ts +1 -0
  2652. package/dist/src/components/form-header/index.d.ts +2 -0
  2653. package/dist/src/components/gantt/gantt.d.ts +1 -0
  2654. package/dist/src/components/gantt/index.d.ts +2 -0
  2655. package/dist/src/components/grid/custom-grid-card/index.d.ts +2 -0
  2656. package/dist/src/components/grid/grid-card/grid-card.d.ts +10 -1
  2657. package/dist/src/components/grid/grid-card/index.d.ts +2 -0
  2658. package/dist/src/components/grid/grid-wrapper/grid-wrapper.d.ts +1 -0
  2659. package/dist/src/components/grid/grid-wrapper/index.d.ts +2 -0
  2660. package/dist/src/components/grid/index.d.ts +3 -0
  2661. package/dist/src/components/grid-fallback/grid-fallback.d.ts +1 -0
  2662. package/dist/src/components/grid-fallback/index.d.ts +2 -0
  2663. package/dist/src/components/header/components/index.d.ts +1 -0
  2664. package/dist/src/components/header/components/notification-menu/index.d.ts +2 -0
  2665. package/dist/src/components/header/components/notification-menu/notification-menu.d.ts +1 -0
  2666. package/dist/src/components/header/index.d.ts +6 -0
  2667. package/dist/src/components/header/redux/index.d.ts +5 -0
  2668. package/dist/src/components/header-card/header-card.d.ts +1 -0
  2669. package/dist/src/components/header-card/index.d.ts +2 -0
  2670. package/dist/src/components/hr-line/hr-line.d.ts +1 -0
  2671. package/dist/src/components/hr-line/index.d.ts +2 -0
  2672. package/dist/src/components/icons/custom-styled-icon.d.ts +1 -0
  2673. package/dist/src/components/icons/index.d.ts +163 -80
  2674. package/dist/src/components/icons/sort-arrow-icon.d.ts +2 -2
  2675. package/dist/src/components/index.d.ts +113 -3
  2676. package/dist/src/components/info-card/index.d.ts +2 -0
  2677. package/dist/src/components/info-card/info-card.d.ts +1 -0
  2678. package/dist/src/components/inventory-reports-title-bar/component/index.d.ts +2 -0
  2679. package/dist/src/components/inventory-reports-title-bar/component/reportFilter.d.ts +3 -2
  2680. package/dist/src/components/inventory-reports-title-bar/index.d.ts +5 -0
  2681. package/dist/src/components/inventory-reports-title-bar/inventory-reports-title-bar.d.ts +1 -0
  2682. package/dist/src/components/inventory-reports-title-bar/redux/index.d.ts +5 -0
  2683. package/dist/src/components/inventory-reports-title-bar/report-buttons/index.d.ts +2 -0
  2684. package/dist/src/components/inventory-reports-title-bar/report-buttons/report-buttons.d.ts +1 -0
  2685. package/dist/src/components/label-value/index.d.ts +2 -0
  2686. package/dist/src/components/label-value/label-value.d.ts +1 -0
  2687. package/dist/src/components/list/index.d.ts +2 -0
  2688. package/dist/src/components/list/list.d.ts +2 -1
  2689. package/dist/src/components/listing/index.d.ts +2 -2
  2690. package/dist/src/components/loader.d.ts +1 -0
  2691. package/dist/src/components/loaders/erp-loader.d.ts +1 -0
  2692. package/dist/src/components/loaders/form-loader.d.ts +1 -0
  2693. package/dist/src/components/loaders/index.d.ts +5 -1
  2694. package/dist/src/components/loaders/modal-loader.d.ts +1 -0
  2695. package/dist/src/components/loaders/page-loader.d.ts +1 -0
  2696. package/dist/src/components/material-editable-table/components/default-aggregation.d.ts +1 -0
  2697. package/dist/src/components/material-editable-table/components/header-cell.d.ts +1 -0
  2698. package/dist/src/components/material-editable-table/components/index.d.ts +8 -0
  2699. package/dist/src/components/material-editable-table/components/number-aggregation.d.ts +1 -0
  2700. package/dist/src/components/material-editable-table/index.d.ts +4 -0
  2701. package/dist/src/components/material-editable-table/material-editable-table.d.ts +1 -0
  2702. package/dist/src/components/material-table/components/default-aggregation.d.ts +1 -0
  2703. package/dist/src/components/material-table/components/header-cell.d.ts +1 -0
  2704. package/dist/src/components/material-table/components/index.d.ts +8 -0
  2705. package/dist/src/components/material-table/components/number-aggregation.d.ts +1 -0
  2706. package/dist/src/components/material-table/index.d.ts +4 -0
  2707. package/dist/src/components/material-table/material-table.d.ts +1 -1
  2708. package/dist/src/components/menu/index.d.ts +2 -0
  2709. package/dist/src/components/menu/menu.d.ts +1 -0
  2710. package/dist/src/components/modal/index.d.ts +2 -0
  2711. package/dist/src/components/modal/modal.d.ts +1 -0
  2712. package/dist/src/components/module-button/index.d.ts +2 -0
  2713. package/dist/src/components/module-button/module-button.d.ts +10 -1
  2714. package/dist/src/components/mulitline/index.d.ts +2 -0
  2715. package/dist/src/components/mulitline/multiline.d.ts +2 -2
  2716. package/dist/src/components/multi-select/index.d.ts +2 -0
  2717. package/dist/src/components/multi-select/multi-select.d.ts +1 -0
  2718. package/dist/src/components/page-navigator/components/add-page-modal.d.ts +1 -0
  2719. package/dist/src/components/page-navigator/components/add-page.d.ts +1 -0
  2720. package/dist/src/components/page-navigator/components/index.d.ts +10 -0
  2721. package/dist/src/components/page-navigator/components/page-action.d.ts +1 -0
  2722. package/dist/src/components/page-navigator/components/shared-page-modal.d.ts +1 -0
  2723. package/dist/src/components/page-navigator/components/shared-page-view.d.ts +1 -0
  2724. package/dist/src/components/page-navigator/index.d.ts +3 -0
  2725. package/dist/src/components/page-navigator/page-navigator.d.ts +3 -3
  2726. package/dist/src/components/pagination/index.d.ts +2 -0
  2727. package/dist/src/components/pagination/pagination.d.ts +1 -0
  2728. package/dist/src/components/parties-modal/index.d.ts +4 -0
  2729. package/dist/src/components/parties-modal/parties-modal.d.ts +3 -3
  2730. package/dist/src/components/parties-modal/utils/index.d.ts +1 -0
  2731. package/dist/src/components/phone-input/index.d.ts +2 -0
  2732. package/dist/src/components/phone-input/phone-input.d.ts +1 -0
  2733. package/dist/src/components/providers/index.d.ts +2 -1
  2734. package/dist/src/components/quick-approval-modal/index.d.ts +2 -0
  2735. package/dist/src/components/radio/index.d.ts +2 -0
  2736. package/dist/src/components/radio/radio.d.ts +1 -0
  2737. package/dist/src/components/reports/dynamic-report/index.d.ts +3 -0
  2738. package/dist/src/components/reports/index.d.ts +1 -0
  2739. package/dist/src/components/reports-title-bar/index.d.ts +4 -0
  2740. package/dist/src/components/reports-title-bar/redux/index.d.ts +5 -0
  2741. package/dist/src/components/reports-title-bar/report-buttons/index.d.ts +2 -0
  2742. package/dist/src/components/reports-title-bar/report-buttons/report-buttons.d.ts +1 -0
  2743. package/dist/src/components/reports-title-bar/reports-title-bar.d.ts +1 -0
  2744. package/dist/src/components/reset-password-modal/index.d.ts +2 -0
  2745. package/dist/src/components/reset-password-modal/reset-password-modal.d.ts +1 -0
  2746. package/dist/src/components/rfq-response/index.d.ts +2 -0
  2747. package/dist/src/components/rfq-response/item-response-details.d.ts +2 -1
  2748. package/dist/src/components/save-filter-modal/index.d.ts +2 -0
  2749. package/dist/src/components/save-filter-modal/save-filter-modal.d.ts +1 -0
  2750. package/dist/src/components/schedule-report/index.d.ts +6 -0
  2751. package/dist/src/components/schedule-report/schedule-report.d.ts +1 -0
  2752. package/dist/src/components/schedule-report/utils/index.d.ts +3 -0
  2753. package/dist/src/components/search-bar/index.d.ts +2 -0
  2754. package/dist/src/components/search-bar/search-bar.d.ts +1 -0
  2755. package/dist/src/components/select/controller/index.d.ts +4 -0
  2756. package/dist/src/components/select/index.d.ts +5 -0
  2757. package/dist/src/components/select/select-search.d.ts +1 -0
  2758. package/dist/src/components/select/select.d.ts +1 -0
  2759. package/dist/src/components/share-modal/index.d.ts +5 -0
  2760. package/dist/src/components/share-modal/redux/index.d.ts +5 -0
  2761. package/dist/src/components/share-modal/share-modal-enhanced.d.ts +1 -0
  2762. package/dist/src/components/share-modal/share-modal.d.ts +1 -0
  2763. package/dist/src/components/sidebar/index.d.ts +2 -0
  2764. package/dist/src/components/snackbar/index.d.ts +2 -0
  2765. package/dist/src/components/snackbar/snackbar.d.ts +1 -0
  2766. package/dist/src/components/sub-header-doc/index.d.ts +2 -0
  2767. package/dist/src/components/sub-header-doc/sub-header-doc.d.ts +1 -0
  2768. package/dist/src/components/switches/android-12-switch.d.ts +1 -0
  2769. package/dist/src/components/switches/index.d.ts +2 -0
  2770. package/dist/src/components/tab-bar-ui/index.d.ts +2 -0
  2771. package/dist/src/components/tab-bar-ui/tab-bar-ui.d.ts +3 -3
  2772. package/dist/src/components/tabs/index.d.ts +2 -0
  2773. package/dist/src/components/tabs/tabs.d.ts +2 -2
  2774. package/dist/src/components/text-area/index.d.ts +2 -0
  2775. package/dist/src/components/text-area/text-area.d.ts +1 -0
  2776. package/dist/src/components/text-field/index.d.ts +2 -0
  2777. package/dist/src/components/text-field/text-field.d.ts +1 -0
  2778. package/dist/src/components/time-picker/index.d.ts +2 -0
  2779. package/dist/src/components/time-picker/time-picker.d.ts +1 -0
  2780. package/dist/src/components/time-range-picker/index.d.ts +2 -0
  2781. package/dist/src/components/title-dropdown-button/index.d.ts +2 -0
  2782. package/dist/src/components/toast/index.d.ts +2 -0
  2783. package/dist/src/components/toast/toast.d.ts +1 -0
  2784. package/dist/src/components/toggle/index.d.ts +2 -0
  2785. package/dist/src/components/toggle/toggle.d.ts +1 -0
  2786. package/dist/src/components/toggle-switch/index.d.ts +2 -0
  2787. package/dist/src/components/tooltip/Tooltip.d.ts +1 -0
  2788. package/dist/src/components/tooltip/index.d.ts +2 -0
  2789. package/dist/src/components/typography/index.d.ts +2 -0
  2790. package/dist/src/components/upload/index.d.ts +4 -0
  2791. package/dist/src/components/upload/upload.d.ts +1 -0
  2792. package/dist/src/components/upload-excel/index.d.ts +4 -0
  2793. package/dist/src/components/upload-excel/upload-excel.d.ts +1 -0
  2794. package/dist/src/components/upload-media/index.d.ts +2 -0
  2795. package/dist/src/components/upload-media/upload-media.d.ts +1 -0
  2796. package/dist/src/components/user-dropdown/index.d.ts +2 -0
  2797. package/dist/src/components/value-field/index.d.ts +2 -0
  2798. package/dist/src/components/value-field/value-field.d.ts +1 -0
  2799. package/dist/src/components/view-modal/index.d.ts +2 -0
  2800. package/dist/src/components/view-modal/view-modal.d.ts +1 -0
  2801. package/dist/src/constants/index.d.ts +5 -3
  2802. package/dist/src/constants/lang/index.d.ts +6 -0
  2803. package/dist/src/constants/pathnames/index.d.ts +13 -554
  2804. package/dist/src/contexts/index.d.ts +5 -5
  2805. package/dist/src/contexts/languageContext.d.ts +1 -0
  2806. package/dist/src/hooks/apiHelper.d.ts +1 -1
  2807. package/dist/src/hooks/index.d.ts +15 -14
  2808. package/dist/src/hooks/use-translations.d.ts +2 -1
  2809. package/dist/src/hooks/useCheckSkuAndName.d.ts +4 -2
  2810. package/dist/src/hooks/useDataFetcher.d.ts +2 -2
  2811. package/dist/src/index.d.ts +5 -0
  2812. package/dist/src/layout/fullScreen/fullScreen.d.ts +5 -1
  2813. package/dist/src/layout/fullScreen/index.d.ts +2 -0
  2814. package/dist/src/layout/index.d.ts +2 -2
  2815. package/dist/src/layout/sidebarScreen/index.d.ts +2 -0
  2816. package/dist/src/layout/sidebarScreen/sidebarScreen.d.ts +3 -3
  2817. package/dist/src/redux/index.d.ts +6 -6
  2818. package/dist/src/redux/slices/index.d.ts +8 -10
  2819. package/dist/src/redux/toolkit.d.ts +9 -1
  2820. package/dist/src/styles/index.d.ts +1 -2
  2821. package/dist/src/theme/index.d.ts +7 -3
  2822. package/dist/src/theme/types/index.d.ts +1 -0
  2823. package/dist/src/utils/dateFormat.d.ts +1 -0
  2824. package/dist/src/utils/deformat-text.d.ts +1 -0
  2825. package/dist/src/utils/fileSize.d.ts +1 -0
  2826. package/dist/src/utils/form-builder-conversion.d.ts +1 -0
  2827. package/dist/src/utils/form-builder-deconversion.d.ts +1 -0
  2828. package/dist/src/utils/format-text.d.ts +1 -0
  2829. package/dist/src/utils/index.d.ts +12 -10
  2830. package/dist/src/utils/metaComponent.d.ts +1 -0
  2831. package/dist/src/views/afterAuth/dashboard/dashboard.d.ts +2 -1
  2832. package/dist/src/views/afterAuth/dashboard/index.d.ts +3 -0
  2833. package/dist/src/views/afterAuth/dashboard/redux/index.d.ts +5 -0
  2834. package/dist/src/views/afterAuth/index.d.ts +2 -0
  2835. package/dist/src/views/afterAuth/page-view/index.d.ts +4 -0
  2836. package/dist/src/views/afterAuth/page-view/page-view.d.ts +1 -0
  2837. package/dist/src/views/afterAuth/page-view/redux/index.d.ts +5 -0
  2838. package/dist/src/views/afterAuth/page-view/redux/reducer.d.ts +2 -1
  2839. package/dist/src/views/afterAuth/page-view/utils/index.d.ts +2 -0
  2840. package/dist/src/views/beforeAuth/change-password/index.d.ts +1 -0
  2841. package/dist/src/views/beforeAuth/components/activity-tag-data/index.d.ts +1 -0
  2842. package/dist/src/views/beforeAuth/components/calendar-data/index.d.ts +1 -0
  2843. package/dist/src/views/beforeAuth/components/drive-dashboard-data/index.d.ts +1 -0
  2844. package/dist/src/views/beforeAuth/components/gantt-data/index.d.ts +2 -0
  2845. package/dist/src/views/beforeAuth/components/grid-data/grid-data.d.ts +1 -0
  2846. package/dist/src/views/beforeAuth/components/grid-data/index.d.ts +2 -0
  2847. package/dist/src/views/beforeAuth/components/index.d.ts +13 -2
  2848. package/dist/src/views/beforeAuth/components/kanbann-content/index.d.ts +1 -0
  2849. package/dist/src/views/beforeAuth/components/list-content/index.d.ts +2 -0
  2850. package/dist/src/views/beforeAuth/components/multiline-data/index.d.ts +1 -0
  2851. package/dist/src/views/beforeAuth/components/share-modal-data/index.d.ts +1 -0
  2852. package/dist/src/views/beforeAuth/components/shared-pages-data/index.d.ts +1 -0
  2853. package/dist/src/views/beforeAuth/components/tabs-data/index.d.ts +1 -0
  2854. package/dist/src/views/beforeAuth/components/user-dashboard-data/index.d.ts +1 -0
  2855. package/dist/src/views/beforeAuth/components/user-dropdown-data/index.d.ts +1 -0
  2856. package/dist/src/views/beforeAuth/forgot-password/index.d.ts +1 -0
  2857. package/dist/src/views/beforeAuth/index.d.ts +5 -0
  2858. package/dist/src/views/beforeAuth/landing/index.d.ts +2 -0
  2859. package/dist/src/views/beforeAuth/reset-password/index.d.ts +1 -0
  2860. package/dist/src/views/form-builder/element-edit-forms/column-width.d.ts +5 -3
  2861. package/dist/src/views/form-builder/element-edit-forms/index.d.ts +7 -0
  2862. package/dist/src/views/form-builder/element-edit-forms/section.d.ts +1 -0
  2863. package/dist/src/views/form-builder/form-fields.d.ts +19 -0
  2864. package/dist/src/views/form-builder/index.d.ts +7 -31
  2865. package/dist/src/views/form-builder/redux/index.d.ts +5 -0
  2866. package/dist/src/views/form-builder/utils/index.d.ts +1 -2
  2867. package/dist/src/views/index.d.ts +7 -2
  2868. package/dist/src/views/template-editor/add-template/index.d.ts +1 -0
  2869. package/dist/src/views/template-editor/company-selection-modal/index.d.ts +1 -0
  2870. package/dist/src/views/template-editor/components/EditorSidebar.d.ts +1 -0
  2871. package/dist/src/views/template-editor/components/controllers/index.d.ts +18 -0
  2872. package/dist/src/views/template-editor/components/index.d.ts +7 -9
  2873. package/dist/src/views/template-editor/edit-section-modal/index.d.ts +1 -0
  2874. package/dist/src/views/template-editor/index.d.ts +10 -10
  2875. package/dist/src/views/template-editor/template-modal/html-thumbnail-preview.d.ts +1 -0
  2876. package/dist/src/views/template-editor/template-modal/index.d.ts +3 -1
  2877. package/dist/src/views/template-editor/template-modal/template-modal.d.ts +1 -0
  2878. package/dist/src/views/template-editor/template-name-modal/index.d.ts +1 -0
  2879. package/dist/src/views/template-editor/types/index.d.ts +1 -1
  2880. package/dist/src/views/template-editor/utils/index.d.ts +3 -3
  2881. package/dist/style.css +68 -82
  2882. package/dist/styles/index.d.ts +1 -1
  2883. package/dist/styles/index.esm.js +4 -89
  2884. package/dist/styles/index.esm.js.map +1 -1
  2885. package/dist/styles/index.js +1 -1
  2886. package/dist/styles/themes/index/index.esm.js +78 -0
  2887. package/dist/styles/themes/index/index.esm.js.map +1 -0
  2888. package/dist/styles/themes/index/index.js +2 -0
  2889. package/dist/styles/themes/index/index.js.map +1 -0
  2890. package/dist/styles/themes/index.d.ts +21 -0
  2891. package/dist/theme/color.d.ts +38 -0
  2892. package/dist/theme/index.d.ts +7 -5
  2893. package/dist/theme/index.esm.js +12 -5
  2894. package/dist/theme/index.esm.js.map +1 -1
  2895. package/dist/theme/index.js +1 -1
  2896. package/dist/theme/theme-impl/index.esm.js +1 -1
  2897. package/dist/theme/theme-impl.d.ts +24 -0
  2898. package/dist/theme/themeSelector.d.ts +15 -0
  2899. package/dist/theme/themeWrapper.d.ts +10 -0
  2900. package/dist/theme/types/extendMUIPalette.d.ts +47 -0
  2901. package/dist/theme/types/index.d.ts +1 -0
  2902. package/dist/theme/typography/index.esm.js +113 -0
  2903. package/dist/theme/typography/index.esm.js.map +1 -0
  2904. package/dist/theme/typography/index.js +2 -0
  2905. package/dist/theme/typography/index.js.map +1 -0
  2906. package/dist/theme/typography.d.ts +88 -0
  2907. package/dist/types/index.d.ts +1 -21
  2908. package/dist/utils/api.d.ts +683 -0
  2909. package/dist/utils/calculation.d.ts +13 -0
  2910. package/dist/utils/color.d.ts +21 -0
  2911. package/dist/utils/common/index.esm.js +2 -2
  2912. package/dist/utils/common/index.js +1 -1
  2913. package/dist/utils/common/index.js.map +1 -1
  2914. package/dist/utils/common-utility/index.esm.js +3 -3
  2915. package/dist/utils/common-utility/index.js +6 -6
  2916. package/dist/utils/common-utility/index.js.map +1 -1
  2917. package/dist/utils/common-utility.d.ts +224 -0
  2918. package/dist/utils/common.d.ts +265 -0
  2919. package/dist/utils/constant.d.ts +18 -0
  2920. package/dist/utils/country.d.ts +1 -0
  2921. package/dist/utils/date-range.d.ts +31 -0
  2922. package/dist/utils/dateFormat/index.esm.js +8 -0
  2923. package/dist/utils/dateFormat/index.esm.js.map +1 -1
  2924. package/dist/utils/dateFormat/index.js +1 -1
  2925. package/dist/utils/dateFormat/index.js.map +1 -1
  2926. package/dist/utils/dateFormat.d.ts +12 -0
  2927. package/dist/utils/dateValidation.d.ts +84 -0
  2928. package/dist/utils/deformat-text/index.esm.js +1 -0
  2929. package/dist/utils/deformat-text/index.esm.js.map +1 -1
  2930. package/dist/utils/deformat-text/index.js +1 -1
  2931. package/dist/utils/deformat-text/index.js.map +1 -1
  2932. package/dist/utils/deformat-text.d.ts +3 -0
  2933. package/dist/utils/export-filters.d.ts +2 -0
  2934. package/dist/utils/fileSize/index.esm.js +2 -1
  2935. package/dist/utils/fileSize/index.esm.js.map +1 -1
  2936. package/dist/utils/fileSize/index.js +1 -1
  2937. package/dist/utils/fileSize/index.js.map +1 -1
  2938. package/dist/utils/fileSize.d.ts +3 -0
  2939. package/dist/utils/form-builder-conversion/index.esm.js +3 -2
  2940. package/dist/utils/form-builder-conversion/index.esm.js.map +1 -1
  2941. package/dist/utils/form-builder-conversion/index.js +1 -1
  2942. package/dist/utils/form-builder-conversion/index.js.map +1 -1
  2943. package/dist/utils/form-builder-conversion.d.ts +3 -0
  2944. package/dist/utils/form-builder-deconversion/index.esm.js +2 -1
  2945. package/dist/utils/form-builder-deconversion/index.esm.js.map +1 -1
  2946. package/dist/utils/form-builder-deconversion/index.js +1 -1
  2947. package/dist/utils/form-builder-deconversion/index.js.map +1 -1
  2948. package/dist/utils/form-builder-deconversion.d.ts +46 -0
  2949. package/dist/utils/format-text/index.esm.js +2 -1
  2950. package/dist/utils/format-text/index.esm.js.map +1 -1
  2951. package/dist/utils/format-text/index.js +1 -1
  2952. package/dist/utils/format-text/index.js.map +1 -1
  2953. package/dist/utils/format-text.d.ts +5 -0
  2954. package/dist/utils/i18n/index.esm.js +37 -0
  2955. package/dist/utils/i18n/index.esm.js.map +1 -0
  2956. package/dist/utils/i18n/index.js +2 -0
  2957. package/dist/utils/i18n/index.js.map +1 -0
  2958. package/dist/utils/i18n.d.ts +3 -0
  2959. package/dist/utils/index.d.ts +13 -14
  2960. package/dist/utils/index.esm.js +18 -73
  2961. package/dist/utils/index.esm.js.map +1 -1
  2962. package/dist/utils/index.js +1 -1
  2963. package/dist/utils/language.d.ts +1 -0
  2964. package/dist/utils/menu-filter.d.ts +70 -0
  2965. package/dist/utils/metaComponent/index.esm.js +28 -0
  2966. package/dist/utils/metaComponent/index.esm.js.map +1 -0
  2967. package/dist/utils/metaComponent/index.js +6 -0
  2968. package/dist/utils/metaComponent/index.js.map +1 -0
  2969. package/dist/utils/metaComponent.d.ts +15 -0
  2970. package/dist/utils/migration-utils.d.ts +7 -0
  2971. package/dist/utils/navigation-utils.d.ts +24 -0
  2972. package/dist/utils/route-utils.d.ts +4 -0
  2973. package/dist/utils/server.d.ts +5 -0
  2974. package/dist/utils/setup.d.ts +1 -0
  2975. package/dist/utils/translations.d.ts +1 -0
  2976. package/dist/views/404/index.esm.js +31 -0
  2977. package/dist/views/404/index.esm.js.map +1 -0
  2978. package/dist/views/404/index.js +6 -0
  2979. package/dist/views/404/index.js.map +1 -0
  2980. package/dist/views/404.d.ts +7 -0
  2981. package/dist/views/afterAuth/dashboard/dashboard/index.esm.js +77 -0
  2982. package/dist/views/afterAuth/dashboard/dashboard/index.esm.js.map +1 -0
  2983. package/dist/views/afterAuth/dashboard/dashboard/index.js +8 -0
  2984. package/dist/views/afterAuth/dashboard/dashboard/index.js.map +1 -0
  2985. package/dist/views/afterAuth/dashboard/dashboard.d.ts +3 -0
  2986. package/dist/views/afterAuth/dashboard/index.d.ts +3 -0
  2987. package/dist/views/afterAuth/dashboard/redux/actionCreator.d.ts +6 -0
  2988. package/dist/views/afterAuth/dashboard/redux/index.d.ts +5 -0
  2989. package/dist/views/afterAuth/dashboard/redux/reducer.d.ts +3508 -0
  2990. package/dist/views/afterAuth/dashboard/redux/state.d.ts +499 -0
  2991. package/dist/views/afterAuth/index.d.ts +2 -0
  2992. package/dist/views/afterAuth/page-view/index.d.ts +4 -0
  2993. package/dist/views/afterAuth/page-view/page-view/index.esm.js +101 -0
  2994. package/dist/views/afterAuth/page-view/page-view/index.esm.js.map +1 -0
  2995. package/dist/views/afterAuth/page-view/page-view/index.js +6 -0
  2996. package/dist/views/afterAuth/page-view/page-view/index.js.map +1 -0
  2997. package/dist/views/afterAuth/page-view/page-view.d.ts +3 -0
  2998. package/dist/views/afterAuth/page-view/redux/actionCreator/index.esm.js +13 -0
  2999. package/dist/views/afterAuth/page-view/redux/actionCreator/index.esm.js.map +1 -0
  3000. package/dist/views/afterAuth/page-view/redux/actionCreator/index.js +2 -0
  3001. package/dist/views/afterAuth/page-view/redux/actionCreator/index.js.map +1 -0
  3002. package/dist/views/afterAuth/page-view/redux/actionCreator.d.ts +1 -0
  3003. package/dist/views/afterAuth/page-view/redux/index.d.ts +5 -0
  3004. package/dist/views/afterAuth/page-view/redux/reducer/index.esm.js +63 -0
  3005. package/dist/views/afterAuth/page-view/redux/reducer/index.esm.js.map +1 -0
  3006. package/dist/views/afterAuth/page-view/redux/reducer/index.js +2 -0
  3007. package/dist/views/afterAuth/page-view/redux/reducer/index.js.map +1 -0
  3008. package/dist/views/afterAuth/page-view/redux/reducer.d.ts +274 -0
  3009. package/dist/views/afterAuth/page-view/redux/state/index.esm.js +31 -0
  3010. package/dist/views/afterAuth/page-view/redux/state/index.esm.js.map +1 -0
  3011. package/dist/views/afterAuth/page-view/redux/state/index.js +2 -0
  3012. package/dist/views/afterAuth/page-view/redux/state/index.js.map +1 -0
  3013. package/dist/views/afterAuth/page-view/redux/state.d.ts +33 -0
  3014. package/dist/views/afterAuth/page-view/utils/default-data/index.esm.js +137 -0
  3015. package/dist/views/afterAuth/page-view/utils/default-data/index.esm.js.map +1 -0
  3016. package/dist/views/afterAuth/page-view/utils/default-data/index.js +2 -0
  3017. package/dist/views/afterAuth/page-view/utils/default-data/index.js.map +1 -0
  3018. package/dist/views/afterAuth/page-view/utils/default-data.d.ts +16 -0
  3019. package/dist/views/afterAuth/page-view/utils/index.d.ts +2 -0
  3020. package/dist/views/afterAuth/page-view/utils/local-data/index.esm.js +137 -0
  3021. package/dist/views/afterAuth/page-view/utils/local-data/index.esm.js.map +1 -0
  3022. package/dist/views/afterAuth/page-view/utils/local-data/index.js +2 -0
  3023. package/dist/views/afterAuth/page-view/utils/local-data/index.js.map +1 -0
  3024. package/dist/views/afterAuth/page-view/utils/local-data.d.ts +16 -0
  3025. package/dist/views/beforeAuth/change-password/change-password/index.esm.js +182 -0
  3026. package/dist/views/beforeAuth/change-password/change-password/index.esm.js.map +1 -0
  3027. package/dist/views/beforeAuth/change-password/change-password/index.js +17 -0
  3028. package/dist/views/beforeAuth/change-password/change-password/index.js.map +1 -0
  3029. package/dist/views/beforeAuth/change-password/change-password.d.ts +1 -0
  3030. package/dist/views/beforeAuth/change-password/index.d.ts +1 -0
  3031. package/dist/views/beforeAuth/components/activity-tag-data/activity-tag-data.d.ts +11 -0
  3032. package/dist/views/beforeAuth/components/activity-tag-data/index.d.ts +1 -0
  3033. package/dist/views/beforeAuth/components/calendar-data/calendar-data.d.ts +18 -0
  3034. package/dist/views/beforeAuth/components/calendar-data/index.d.ts +1 -0
  3035. package/dist/views/beforeAuth/components/drive-dashboard-data/drive-dashboard-data.d.ts +147 -0
  3036. package/dist/views/beforeAuth/components/drive-dashboard-data/index.d.ts +1 -0
  3037. package/dist/views/beforeAuth/components/gantt-data/gantt-data.d.ts +4 -0
  3038. package/dist/views/beforeAuth/components/gantt-data/index.d.ts +2 -0
  3039. package/dist/views/beforeAuth/components/grid-data/grid-data/index.esm.js +1 -0
  3040. package/dist/views/beforeAuth/components/grid-data/grid-data/index.esm.js.map +1 -1
  3041. package/dist/views/beforeAuth/components/grid-data/grid-data/index.js +1 -1
  3042. package/dist/views/beforeAuth/components/grid-data/grid-data/index.js.map +1 -1
  3043. package/dist/views/beforeAuth/components/grid-data/grid-data.d.ts +9 -0
  3044. package/dist/views/beforeAuth/components/grid-data/index.d.ts +2 -0
  3045. package/dist/views/beforeAuth/components/index.d.ts +13 -0
  3046. package/dist/views/beforeAuth/components/kanbann-content/index.d.ts +1 -0
  3047. package/dist/views/beforeAuth/components/kanbann-content/kanbann-raw.d.ts +11 -0
  3048. package/dist/views/beforeAuth/components/list-content/column-raw.d.ts +38 -0
  3049. package/dist/views/beforeAuth/components/list-content/index.d.ts +2 -0
  3050. package/dist/views/beforeAuth/components/list-content/list-data.d.ts +11 -0
  3051. package/dist/views/beforeAuth/components/multiline-data/index.d.ts +1 -0
  3052. package/dist/views/beforeAuth/components/multiline-data/multiline-data.d.ts +5 -0
  3053. package/dist/views/beforeAuth/components/share-modal-data/index.d.ts +1 -0
  3054. package/dist/views/beforeAuth/components/share-modal-data/share-modal-data.d.ts +6 -0
  3055. package/dist/views/beforeAuth/components/shared-pages-data/index.d.ts +1 -0
  3056. package/dist/views/beforeAuth/components/shared-pages-data/shared-pages-data.d.ts +7 -0
  3057. package/dist/views/beforeAuth/components/tabs-data/index.d.ts +1 -0
  3058. package/dist/views/beforeAuth/components/tabs-data/tabs-data.d.ts +5 -0
  3059. package/dist/views/beforeAuth/components/user-dashboard-data/index.d.ts +1 -0
  3060. package/dist/views/beforeAuth/components/user-dashboard-data/user-dashboard-data.d.ts +157 -0
  3061. package/dist/views/beforeAuth/components/user-dropdown-data/index.d.ts +1 -0
  3062. package/dist/views/beforeAuth/components/user-dropdown-data/user-dropdown-data.d.ts +6 -0
  3063. package/dist/views/beforeAuth/forgot-password/forgot-password/index.esm.js +177 -0
  3064. package/dist/views/beforeAuth/forgot-password/forgot-password/index.esm.js.map +1 -0
  3065. package/dist/views/beforeAuth/forgot-password/forgot-password/index.js +16 -0
  3066. package/dist/views/beforeAuth/forgot-password/forgot-password/index.js.map +1 -0
  3067. package/dist/views/beforeAuth/forgot-password/forgot-password.d.ts +1 -0
  3068. package/dist/views/beforeAuth/forgot-password/index.d.ts +1 -0
  3069. package/dist/views/beforeAuth/index.d.ts +5 -0
  3070. package/dist/views/beforeAuth/landing/index.d.ts +2 -0
  3071. package/dist/views/beforeAuth/landing/landing/index.esm.js +35 -0
  3072. package/dist/views/beforeAuth/landing/landing/index.esm.js.map +1 -0
  3073. package/dist/views/beforeAuth/landing/landing/index.js +8 -0
  3074. package/dist/views/beforeAuth/landing/landing/index.js.map +1 -0
  3075. package/dist/views/beforeAuth/landing/landing.d.ts +3 -0
  3076. package/dist/views/beforeAuth/login/index.d.ts +2 -0
  3077. package/dist/views/beforeAuth/reset-password/index.d.ts +1 -0
  3078. package/dist/views/beforeAuth/reset-password/reset-password/index.esm.js +34 -0
  3079. package/dist/views/beforeAuth/reset-password/reset-password/index.esm.js.map +1 -0
  3080. package/dist/views/beforeAuth/reset-password/reset-password/index.js +2 -0
  3081. package/dist/views/beforeAuth/reset-password/reset-password/index.js.map +1 -0
  3082. package/dist/views/beforeAuth/reset-password/reset-password.d.ts +1 -0
  3083. package/dist/views/form-builder/custom-form/index.esm.js +12 -12
  3084. package/dist/views/form-builder/custom-form/index.js +22 -22
  3085. package/dist/views/form-builder/custom-form/index.js.map +1 -1
  3086. package/dist/views/form-builder/custom-form.d.ts +7 -0
  3087. package/dist/views/form-builder/element-edit-forms/checkbox/index.esm.js +3 -3
  3088. package/dist/views/form-builder/element-edit-forms/checkbox/index.js +22 -22
  3089. package/dist/views/form-builder/element-edit-forms/checkbox/index.js.map +1 -1
  3090. package/dist/views/form-builder/element-edit-forms/checkbox.d.ts +3 -0
  3091. package/dist/views/form-builder/element-edit-forms/column-width/index.esm.js +4 -3
  3092. package/dist/views/form-builder/element-edit-forms/column-width/index.esm.js.map +1 -1
  3093. package/dist/views/form-builder/element-edit-forms/column-width/index.js +3 -3
  3094. package/dist/views/form-builder/element-edit-forms/column-width/index.js.map +1 -1
  3095. package/dist/views/form-builder/element-edit-forms/column-width.d.ts +5 -0
  3096. package/dist/views/form-builder/element-edit-forms/field-select/index.esm.js +1 -1
  3097. package/dist/views/form-builder/element-edit-forms/field-select/index.js +1 -1
  3098. package/dist/views/form-builder/element-edit-forms/field-select/index.js.map +1 -1
  3099. package/dist/views/form-builder/element-edit-forms/field-select.d.ts +4 -0
  3100. package/dist/views/form-builder/element-edit-forms/index.d.ts +14 -0
  3101. package/dist/views/form-builder/element-edit-forms/section/index.esm.js +5 -4
  3102. package/dist/views/form-builder/element-edit-forms/section/index.esm.js.map +1 -1
  3103. package/dist/views/form-builder/element-edit-forms/section/index.js +11 -11
  3104. package/dist/views/form-builder/element-edit-forms/section/index.js.map +1 -1
  3105. package/dist/views/form-builder/element-edit-forms/section.d.ts +4 -0
  3106. package/dist/views/form-builder/element-edit-forms/select/index.esm.js +5 -5
  3107. package/dist/views/form-builder/element-edit-forms/select/index.js +19 -19
  3108. package/dist/views/form-builder/element-edit-forms/select/index.js.map +1 -1
  3109. package/dist/views/form-builder/element-edit-forms/select.d.ts +33 -0
  3110. package/dist/views/form-builder/element-edit-forms/table-form/index.esm.js +3 -3
  3111. package/dist/views/form-builder/element-edit-forms/table-form/index.js +4 -4
  3112. package/dist/views/form-builder/element-edit-forms/table-form/index.js.map +1 -1
  3113. package/dist/views/form-builder/element-edit-forms/table-form.d.ts +13 -0
  3114. package/dist/views/form-builder/element-edit-forms/text/index.esm.js +6 -6
  3115. package/dist/views/form-builder/element-edit-forms/text/index.js +20 -20
  3116. package/dist/views/form-builder/element-edit-forms/text/index.js.map +1 -1
  3117. package/dist/views/form-builder/element-edit-forms/text.d.ts +12 -0
  3118. package/dist/views/form-builder/field_properties.d.ts +99 -0
  3119. package/dist/views/form-builder/form-fields/index.esm.js +9 -8
  3120. package/dist/views/form-builder/form-fields/index.esm.js.map +1 -1
  3121. package/dist/views/form-builder/form-fields/index.js +22 -22
  3122. package/dist/views/form-builder/form-fields/index.js.map +1 -1
  3123. package/dist/views/form-builder/form-fields.d.ts +65 -0
  3124. package/dist/views/form-builder/index.d.ts +9 -0
  3125. package/dist/views/form-builder/redux/actionCreator/index.esm.js +1 -1
  3126. package/dist/views/form-builder/redux/actionCreator.d.ts +5 -0
  3127. package/dist/views/form-builder/redux/index.d.ts +5 -0
  3128. package/dist/views/form-builder/redux/reducer/index.esm.js +5 -1
  3129. package/dist/views/form-builder/redux/reducer/index.esm.js.map +1 -1
  3130. package/dist/views/form-builder/redux/reducer/index.js +1 -1
  3131. package/dist/views/form-builder/redux/reducer/index.js.map +1 -1
  3132. package/dist/views/form-builder/redux/state.d.ts +27 -0
  3133. package/dist/views/form-builder/types.d.ts +2 -0
  3134. package/dist/views/form-builder/utils/common/index.esm.js +1 -1
  3135. package/dist/views/form-builder/utils/common/index.js +1 -1
  3136. package/dist/views/form-builder/utils/common/index.js.map +1 -1
  3137. package/dist/views/form-builder/utils/common.d.ts +66 -0
  3138. package/dist/views/form-builder/utils/index.d.ts +1 -0
  3139. package/dist/views/index.d.ts +8 -1
  3140. package/dist/views/index.esm.js +125 -48
  3141. package/dist/views/index.esm.js.map +1 -1
  3142. package/dist/views/index.js +1 -1
  3143. package/dist/views/privateRoute/index.esm.js +14 -0
  3144. package/dist/views/privateRoute/index.esm.js.map +1 -0
  3145. package/dist/views/privateRoute/index.js +2 -0
  3146. package/dist/views/privateRoute/index.js.map +1 -0
  3147. package/dist/views/privateRoute.d.ts +2 -0
  3148. package/dist/views/template-editor/add-template/add-template.d.ts +4 -0
  3149. package/dist/views/template-editor/add-template/index.d.ts +2 -0
  3150. package/dist/views/template-editor/company-selection-modal/company-selection-modal/index.esm.js +3 -3
  3151. package/dist/views/template-editor/company-selection-modal/company-selection-modal/index.js +6 -6
  3152. package/dist/views/template-editor/company-selection-modal/company-selection-modal/index.js.map +1 -1
  3153. package/dist/views/template-editor/company-selection-modal/company-selection-modal.d.ts +14 -0
  3154. package/dist/views/template-editor/company-selection-modal/index.d.ts +2 -0
  3155. package/dist/views/template-editor/components/EditorCanvas/index.esm.js +1 -1
  3156. package/dist/views/template-editor/components/EditorCanvas/index.js +4 -4
  3157. package/dist/views/template-editor/components/EditorCanvas/index.js.map +1 -1
  3158. package/dist/views/template-editor/components/EditorCanvas.d.ts +22 -0
  3159. package/dist/views/template-editor/components/EditorHeader/index.esm.js +2 -2
  3160. package/dist/views/template-editor/components/EditorHeader/index.js +13 -13
  3161. package/dist/views/template-editor/components/EditorHeader/index.js.map +1 -1
  3162. package/dist/views/template-editor/components/EditorHeader.d.ts +18 -0
  3163. package/dist/views/template-editor/components/EditorSection/index.esm.js +4 -4
  3164. package/dist/views/template-editor/components/EditorSection/index.js +9 -9
  3165. package/dist/views/template-editor/components/EditorSection/index.js.map +1 -1
  3166. package/dist/views/template-editor/components/EditorSection.d.ts +20 -0
  3167. package/dist/views/template-editor/components/EditorSidebar/index.esm.js +2 -1
  3168. package/dist/views/template-editor/components/EditorSidebar/index.esm.js.map +1 -1
  3169. package/dist/views/template-editor/components/EditorSidebar/index.js +14 -14
  3170. package/dist/views/template-editor/components/EditorSidebar/index.js.map +1 -1
  3171. package/dist/views/template-editor/components/EditorSidebar.d.ts +3 -0
  3172. package/dist/views/template-editor/components/SectionFlowEditor/index.esm.js +1 -1
  3173. package/dist/views/template-editor/components/SectionFlowEditor/index.js +3 -3
  3174. package/dist/views/template-editor/components/SectionFlowEditor/index.js.map +1 -1
  3175. package/dist/views/template-editor/components/SectionFlowEditor.d.ts +9 -0
  3176. package/dist/views/template-editor/components/SectionFormatPanel/index.esm.js +2 -2
  3177. package/dist/views/template-editor/components/SectionFormatPanel/index.js +3 -3
  3178. package/dist/views/template-editor/components/SectionFormatPanel/index.js.map +1 -1
  3179. package/dist/views/template-editor/components/SectionFormatPanel.d.ts +46 -0
  3180. package/dist/views/template-editor/components/controllers/AlignmentControl.d.ts +7 -0
  3181. package/dist/views/template-editor/components/controllers/ButtonControls/index.esm.js +3 -3
  3182. package/dist/views/template-editor/components/controllers/ButtonControls/index.js +11 -11
  3183. package/dist/views/template-editor/components/controllers/ButtonControls/index.js.map +1 -1
  3184. package/dist/views/template-editor/components/controllers/ButtonControls.d.ts +8 -0
  3185. package/dist/views/template-editor/components/controllers/CodeControls.d.ts +8 -0
  3186. package/dist/views/template-editor/components/controllers/DividerControls/index.esm.js +3 -3
  3187. package/dist/views/template-editor/components/controllers/DividerControls/index.js +5 -5
  3188. package/dist/views/template-editor/components/controllers/DividerControls/index.js.map +1 -1
  3189. package/dist/views/template-editor/components/controllers/DividerControls.d.ts +8 -0
  3190. package/dist/views/template-editor/components/controllers/ImageControls/index.esm.js +2 -2
  3191. package/dist/views/template-editor/components/controllers/ImageControls/index.js +5 -5
  3192. package/dist/views/template-editor/components/controllers/ImageControls/index.js.map +1 -1
  3193. package/dist/views/template-editor/components/controllers/ImageControls.d.ts +8 -0
  3194. package/dist/views/template-editor/components/controllers/SignatureControls/index.esm.js +1 -1
  3195. package/dist/views/template-editor/components/controllers/SignatureControls/index.js +1 -1
  3196. package/dist/views/template-editor/components/controllers/SignatureControls/index.js.map +1 -1
  3197. package/dist/views/template-editor/components/controllers/SignatureControls.d.ts +8 -0
  3198. package/dist/views/template-editor/components/controllers/TableControls/index.esm.js +8 -8
  3199. package/dist/views/template-editor/components/controllers/TableControls/index.js +59 -59
  3200. package/dist/views/template-editor/components/controllers/TableControls/index.js.map +1 -1
  3201. package/dist/views/template-editor/components/controllers/TableControls.d.ts +36 -0
  3202. package/dist/views/template-editor/components/controllers/TextControls/index.esm.js +1 -1
  3203. package/dist/views/template-editor/components/controllers/TextControls/index.js +10 -10
  3204. package/dist/views/template-editor/components/controllers/TextControls/index.js.map +1 -1
  3205. package/dist/views/template-editor/components/controllers/TextControls.d.ts +21 -0
  3206. package/dist/views/template-editor/components/controllers/border-control/index.esm.js +3 -3
  3207. package/dist/views/template-editor/components/controllers/border-control/index.js +5 -5
  3208. package/dist/views/template-editor/components/controllers/border-control/index.js.map +1 -1
  3209. package/dist/views/template-editor/components/controllers/border-control.d.ts +13 -0
  3210. package/dist/views/template-editor/components/controllers/index.d.ts +18 -0
  3211. package/dist/views/template-editor/components/index.d.ts +13 -0
  3212. package/dist/views/template-editor/edit-section-modal/edit-section-modal/index.esm.js +3 -3
  3213. package/dist/views/template-editor/edit-section-modal/edit-section-modal/index.js +9 -9
  3214. package/dist/views/template-editor/edit-section-modal/edit-section-modal/index.js.map +1 -1
  3215. package/dist/views/template-editor/edit-section-modal/edit-section-modal.d.ts +16 -0
  3216. package/dist/views/template-editor/edit-section-modal/index.d.ts +2 -0
  3217. package/dist/views/template-editor/index.d.ts +11 -0
  3218. package/dist/views/template-editor/routes.d.ts +4 -0
  3219. package/dist/views/template-editor/template-modal/html-thumbnail-preview/index.esm.js +1 -0
  3220. package/dist/views/template-editor/template-modal/html-thumbnail-preview/index.esm.js.map +1 -1
  3221. package/dist/views/template-editor/template-modal/html-thumbnail-preview/index.js +3 -3
  3222. package/dist/views/template-editor/template-modal/html-thumbnail-preview/index.js.map +1 -1
  3223. package/dist/views/template-editor/template-modal/html-thumbnail-preview.d.ts +18 -0
  3224. package/dist/views/template-editor/template-modal/index.d.ts +4 -0
  3225. package/dist/views/template-editor/template-modal/template-modal/index.esm.js +6 -5
  3226. package/dist/views/template-editor/template-modal/template-modal/index.esm.js.map +1 -1
  3227. package/dist/views/template-editor/template-modal/template-modal/index.js +10 -10
  3228. package/dist/views/template-editor/template-modal/template-modal/index.js.map +1 -1
  3229. package/dist/views/template-editor/template-modal/template-modal.d.ts +9 -0
  3230. package/dist/views/template-editor/template-name-modal/index.d.ts +2 -0
  3231. package/dist/views/template-editor/template-name-modal/template-name-modal/index.esm.js +3 -3
  3232. package/dist/views/template-editor/template-name-modal/template-name-modal/index.js +7 -7
  3233. package/dist/views/template-editor/template-name-modal/template-name-modal/index.js.map +1 -1
  3234. package/dist/views/template-editor/template-name-modal/template-name-modal.d.ts +15 -0
  3235. package/dist/views/template-editor/templates/index.esm.js +6 -6
  3236. package/dist/views/template-editor/templates/index.js +6 -6
  3237. package/dist/views/template-editor/templates/index.js.map +1 -1
  3238. package/dist/views/template-editor/templates.d.ts +4 -0
  3239. package/dist/views/template-editor/types/editor.d.ts +32 -0
  3240. package/dist/views/template-editor/types/index.d.ts +1 -0
  3241. package/dist/views/template-editor/utils/common.d.ts +17 -0
  3242. package/dist/views/template-editor/utils/constant.d.ts +136 -0
  3243. package/dist/views/template-editor/utils/default-data/index.esm.js +33 -0
  3244. package/dist/views/template-editor/utils/default-data/index.esm.js.map +1 -0
  3245. package/dist/views/template-editor/utils/default-data/index.js +2 -0
  3246. package/dist/views/template-editor/utils/default-data/index.js.map +1 -0
  3247. package/dist/views/template-editor/utils/default-data.d.ts +7 -0
  3248. package/dist/views/template-editor/utils/index.d.ts +5 -0
  3249. package/dist/views/template-editor/utils/style-extractor.d.ts +11 -0
  3250. package/dist/views/template-editor/utils/types.d.ts +33 -0
  3251. package/dist/vite-env.d.ts +24 -0
  3252. package/package.json +12 -10
  3253. package/src/styles/index.d.ts +1 -0
  3254. package/src/styles/index.ts +1 -146
  3255. package/dist/_virtual/ArrowBack/index.esm.js +0 -5
  3256. package/dist/_virtual/ArrowBack/index.esm.js.map +0 -1
  3257. package/dist/_virtual/ArrowBack/index.js +0 -2
  3258. package/dist/_virtual/ArrowBack/index.js.map +0 -1
  3259. package/dist/_virtual/ArrowForward/index.esm.js +0 -5
  3260. package/dist/_virtual/ArrowForward/index.esm.js.map +0 -1
  3261. package/dist/_virtual/ArrowForward/index.js +0 -2
  3262. package/dist/_virtual/ArrowForward/index.js.map +0 -1
  3263. package/dist/_virtual/IndeterminateCheckBox/index.esm.js +0 -5
  3264. package/dist/_virtual/IndeterminateCheckBox/index.esm.js.map +0 -1
  3265. package/dist/_virtual/IndeterminateCheckBox/index.js +0 -2
  3266. package/dist/_virtual/IndeterminateCheckBox/index.js.map +0 -1
  3267. package/dist/_virtual/NorthEast/index.esm.js +0 -5
  3268. package/dist/_virtual/NorthEast/index.esm.js.map +0 -1
  3269. package/dist/_virtual/NorthEast/index.js +0 -2
  3270. package/dist/_virtual/NorthEast/index.js.map +0 -1
  3271. package/dist/_virtual/Visibility/index.esm.js +0 -5
  3272. package/dist/_virtual/Visibility/index.esm.js.map +0 -1
  3273. package/dist/_virtual/Visibility/index.js +0 -2
  3274. package/dist/_virtual/Visibility/index.js.map +0 -1
  3275. package/dist/components/button/button.scss/index.esm.js +0 -2
  3276. package/dist/components/button/button.scss/index.esm.js.map +0 -1
  3277. package/dist/components/button/button.scss/index.js +0 -2
  3278. package/dist/components/button/button.scss/index.js.map +0 -1
  3279. package/dist/components/charts/line-chart/area-line-chart/index.esm.js +0 -40
  3280. package/dist/components/charts/line-chart/area-line-chart/index.esm.js.map +0 -1
  3281. package/dist/components/charts/line-chart/area-line-chart/index.js +0 -2
  3282. package/dist/components/charts/line-chart/area-line-chart/index.js.map +0 -1
  3283. package/dist/components/grid/grid-card/grid-card.scss/index.esm.js +0 -2
  3284. package/dist/components/grid/grid-card/grid-card.scss/index.esm.js.map +0 -1
  3285. package/dist/components/grid/grid-card/grid-card.scss/index.js +0 -2
  3286. package/dist/components/grid/grid-card/grid-card.scss/index.js.map +0 -1
  3287. package/dist/components/list/list.scss/index.esm.js +0 -2
  3288. package/dist/components/list/list.scss/index.esm.js.map +0 -1
  3289. package/dist/components/list/list.scss/index.js +0 -2
  3290. package/dist/components/list/list.scss/index.js.map +0 -1
  3291. package/dist/node_modules/@mui/icons-material/ArrowBack/index.esm.js +0 -18
  3292. package/dist/node_modules/@mui/icons-material/ArrowBack/index.esm.js.map +0 -1
  3293. package/dist/node_modules/@mui/icons-material/ArrowBack/index.js +0 -2
  3294. package/dist/node_modules/@mui/icons-material/ArrowBack/index.js.map +0 -1
  3295. package/dist/node_modules/@mui/icons-material/ArrowForward/index.esm.js +0 -18
  3296. package/dist/node_modules/@mui/icons-material/ArrowForward/index.esm.js.map +0 -1
  3297. package/dist/node_modules/@mui/icons-material/ArrowForward/index.js +0 -2
  3298. package/dist/node_modules/@mui/icons-material/ArrowForward/index.js.map +0 -1
  3299. package/dist/node_modules/@mui/icons-material/IndeterminateCheckBox/index.esm.js +0 -18
  3300. package/dist/node_modules/@mui/icons-material/IndeterminateCheckBox/index.esm.js.map +0 -1
  3301. package/dist/node_modules/@mui/icons-material/IndeterminateCheckBox/index.js +0 -2
  3302. package/dist/node_modules/@mui/icons-material/IndeterminateCheckBox/index.js.map +0 -1
  3303. package/dist/node_modules/@mui/icons-material/NorthEast/index.esm.js +0 -18
  3304. package/dist/node_modules/@mui/icons-material/NorthEast/index.esm.js.map +0 -1
  3305. package/dist/node_modules/@mui/icons-material/NorthEast/index.js +0 -2
  3306. package/dist/node_modules/@mui/icons-material/NorthEast/index.js.map +0 -1
  3307. package/dist/node_modules/@mui/icons-material/Visibility/index.esm.js +0 -18
  3308. package/dist/node_modules/@mui/icons-material/Visibility/index.esm.js.map +0 -1
  3309. package/dist/node_modules/@mui/icons-material/Visibility/index.js +0 -2
  3310. package/dist/node_modules/@mui/icons-material/Visibility/index.js.map +0 -1
  3311. package/dist/src/components/form-control/form-builder/form-builder-element/number-input.d.ts +0 -0
  3312. package/dist/src/views/afterAuth/accounting.d.ts +0 -4
  3313. package/dist/src/views/afterAuth/crm.d.ts +0 -4
  3314. package/dist/src/views/afterAuth/document.d.ts +0 -4
  3315. package/dist/src/views/afterAuth/hrms.d.ts +0 -4
  3316. package/dist/src/views/afterAuth/inventory.d.ts +0 -4
  3317. package/dist/src/views/afterAuth/manufacturing.d.ts +0 -4
  3318. package/dist/src/views/afterAuth/office.d.ts +0 -4
  3319. package/dist/src/views/afterAuth/procurement.d.ts +0 -4
  3320. package/dist/src/views/afterAuth/project.d.ts +0 -4
  3321. package/dist/src/views/afterAuth/purchase.d.ts +0 -4
  3322. package/dist/src/views/afterAuth/quotes.d.ts +0 -4
  3323. package/dist/src/views/afterAuth/rental.d.ts +0 -4
  3324. package/dist/src/views/afterAuth/user.d.ts +0 -4
  3325. package/dist/src/views/beforeAuth/components/user-profile-data/user-profile-data.d.ts +0 -9
  3326. package/dist/styles/sass/_mixins.scss/index.esm.js +0 -2
  3327. package/dist/styles/sass/_mixins.scss/index.esm.js.map +0 -1
  3328. package/dist/styles/sass/_mixins.scss/index.js +0 -2
  3329. package/dist/styles/sass/_mixins.scss/index.js.map +0 -1
  3330. package/dist/styles/sass/_variables.scss/index.esm.js +0 -2
  3331. package/dist/styles/sass/_variables.scss/index.esm.js.map +0 -1
  3332. package/dist/styles/sass/_variables.scss/index.js +0 -2
  3333. package/dist/styles/sass/_variables.scss/index.js.map +0 -1
  3334. package/dist/views/beforeAuth/components/index/index.esm.js +0 -1144
  3335. package/dist/views/beforeAuth/components/index/index.esm.js.map +0 -1
  3336. package/dist/views/beforeAuth/components/index/index.js +0 -206
  3337. package/dist/views/beforeAuth/components/index/index.js.map +0 -1
  3338. package/dist/views/beforeAuth/login/index.scss/index.esm.js +0 -2
  3339. package/dist/views/beforeAuth/login/index.scss/index.esm.js.map +0 -1
  3340. package/dist/views/beforeAuth/login/index.scss/index.js +0 -2
  3341. package/dist/views/beforeAuth/login/index.scss/index.js.map +0 -1
  3342. package/dist/views/form-builder/index/index.esm.js +0 -32
  3343. package/dist/views/form-builder/index/index.esm.js.map +0 -1
  3344. package/dist/views/form-builder/index/index.js +0 -2
  3345. package/dist/views/form-builder/index/index.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/upload-excel/upload-excel.tsx"],"sourcesContent":["import React from \"react\";\nimport { useEffect, useRef, useState } from \"react\";\n\n\nimport Typography from \"../typography/typography\";\nimport Box from \"@mui/material/Box\";\nimport \"./upload-excel.scss\";\nimport { useDropzone } from \"react-dropzone\";\nimport {\n CircularProgress,\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n Divider,\n Grow,\n IconButton,\n \n} from \"@mui/material\";\nimport RemoveIcon from \"@mui/icons-material/Remove\";\n// import Checkbox from \"../checkbox/checkbox\";\nimport Avatar from \"../avatar/avatar\";\nimport images from \"../../assets/images\";\nimport ModalLoader from '../loaders/modal-loader';\nimport {Trash} from '../icons';\n\nimport { KeyboardArrowDown, KeyboardArrowUp, Upload } from \"@mui/icons-material\";\nimport { postImportSheet } from \"../../utils/common\";\nimport Button from \"../button/button\";\n\n\ninterface UploadProps {\n open: boolean;\n title: string;\n multiple?: boolean;\n accept?: string;\n showCameraButton?: boolean;\n onClose: () => void;\n onConfirm: () => void;\n onSubmit?: (files: any[]) => void;\n existingDriveData?: any;\n importModuleName?: any;\n pageName?: any;\n\n}\n\nconst formatBytes = (bytes: number, decimals = 2) => {\n if (bytes === 0) return \"0 Bytes\";\n const k = 1024;\n const dm = decimals < 0 ? 0 : decimals;\n const sizes = [\"Bytes\", \"KB\", \"MB\", \"GB\", \"TB\", \"PB\", \"EB\", \"ZB\", \"YB\"];\n const i = Math.floor(Math.log(bytes) / Math.log(k));\n return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + \" \" + sizes[i];\n};\n\nconst UploadExcel = (props: UploadProps) => {\n const {\n open,\n title,\n onClose,\n onConfirm,\n onSubmit,\n accept = \"*\",\n multiple = false,\n importModuleName,\n pageName\n } = props;\n const [files, setFiles] = useState<\n {\n file: File;\n isPrivate: boolean;\n checkboxDisabled: boolean;\n status: string;\n uploadProgress: number;\n fileSize: number;\n fileName: string;\n fileType: string;\n location: string;\n message: string;\n }[]\n >([]);\n\n const [isCollapsed, setIsCollapsed] = useState(false);\n const [isDialogMinimized, setIsDialogMinimized] = useState(false);\n const [isDragOver, setIsDragOver] = useState(false);\n const [dataResult, setDataResult] = useState<any>(null);\n const [isLoading, setIsLoading] = useState<boolean>(false);\n \n const { getRootProps, getInputProps, isDragActive } = useDropzone({\n onDropAccepted: (newFiles) => {\n setFiles([\n ...files,\n ...newFiles.map((file) => ({\n file,\n isPrivate: false,\n checkboxDisabled: false,\n status: \"pending\",\n uploadProgress: 0,\n fileSize: file.size,\n fileName: file.name,\n fileType: file.type,\n location: \"\",\n message: \"\",\n })),\n ]);\n setIsDragOver(false);\n },\n onDragEnter: () => {\n setIsDragOver(true);\n },\n onDragLeave: () => {\n setIsDragOver(false);\n },\n noClick: true,\n noKeyboard: true,\n multiple: multiple,\n accept: accept ? convertAcceptObject(accept) : accept,\n });\n\n const handleClose = () => {\n onClose()\n setDataResult(null);\n }\n\n const fileInputRef = useRef<HTMLInputElement>(null);\n\n // useEffect(() => {\n // const driveTitles = existingDriveData.map(item => item['title'])\n // setAllDriveData(driveTitles);\n // }, [existingDriveData]);\n\n\n useEffect(() => {\n const handleBeforeUnload = (event: any) => {\n \n const message =\n \"Are you sure you want to leave? Your uploads are not complete.\";\n event.returnValue = message; // Standard for most browsers\n return message; // For some older browsers\n \n };\n if (fileInputRef.current) {\n fileInputRef.current.multiple = multiple;\n }\n\n window.addEventListener(\"beforeunload\", handleBeforeUnload);\n\n return () => {\n // Clean up the event listener when the component unmounts\n window.removeEventListener(\"beforeunload\", handleBeforeUnload);\n };\n }, [ multiple]);\n\n \n\n function convertAcceptObject(types: string) {\n const accepts = types.split(\",\").map((item) => item.trim());\n const acceptObject = accepts.reduce((acc: any, type: string) => {\n acc[type] = [];\n return acc;\n }, {});\n return acceptObject;\n }\n\n const renderFileIcon = (file: any) => {\n const fileType = file?.type.split(\"/\")[0];\n switch (fileType) {\n case \"image\":\n return (\n <div\n className={\n isDialogMinimized ? \"document-icon-sm\" : \"document-icon-lg\"\n }\n style={{ backgroundColor: \"#FFEBEB\" }}\n >\n <Avatar size={20} src={images.upload.documentPDF}></Avatar>\n </div>\n );\n case \"application\":\n return (\n <div\n className={\n isDialogMinimized ? \"document-icon-sm\" : \"document-icon-lg\"\n }\n style={{ backgroundColor: \"#FFEBEB\" }}\n >\n <Avatar size={150} src={images.upload.documentPDF} alt={\"PDF\"}></Avatar>\n <Typography color=\"theme.secondary.1000\" weight=\"bold\" type=\"s2\">{file.name}</Typography>\n <Typography color=\"theme.secondary.800\" type=\"s5\">{formatBytes(file.size)}</Typography>\n </div>\n );\n case \"text\":\n return (\n <div\n className={\n isDialogMinimized ? \"document-icon-sm\" : \"document-icon-lg\"\n }\n style={{ backgroundColor: \"#EBF9F2\" }}\n >\n <Avatar size={20} src={images.upload.docFile}></Avatar>\n </div>\n );\n default:\n return (\n <div\n className={\n isDialogMinimized ? \"document-icon-sm\" : \"document-icon-lg\"\n }\n style={{ backgroundColor: \"#EBF9F2\" }}\n >\n <Avatar size={20} src={images.upload.docFile}></Avatar>\n </div>\n );\n }\n };\n\n \n\n const handleChipClick = () => {\n if (fileInputRef.current) {\n // If multiple is true, set input for multiple files\n if (props.multiple) {\n fileInputRef.current.setAttribute(\"multiple\", \"true\");\n } else {\n // If multiple is false, set input for a single file\n fileInputRef.current.removeAttribute(\"multiple\");\n }\n fileInputRef.current.click();\n }\n };\n\n const handleFileChange = (e: any) => {\n // importData(e.target.files[0]);\n const file = e.target.files?.[0] || null;\n const f = {\n file,\n isPrivate: false,\n checkboxDisabled: false,\n status: \"pending\",\n uploadProgress: 0,\n fileSize: file.size,\n fileName: file.name,\n fileType: file.type,\n location: \"\",\n message: \"\",\n }\n\n \n setFiles([\n ...files,\n ...[f],\n ]);\n };\n\n const removeFile = (indexToRemove: number) => {\n\n setFiles((prevFiles) =>\n prevFiles.filter((file, index) =>index !== indexToRemove\n ),\n );\n };\n\n // const toggleIsPrivate = (index: number) => {\n // setFiles((prevFiles) =>\n // prevFiles.map((item, i) =>\n // i === index ? { ...item, isPrivate: !item.isPrivate } : item,\n // ),\n // );\n // };\n\n const toggleCollapse = () => {\n setIsCollapsed((prevIsCollapsed) => !prevIsCollapsed);\n };\n\n const handleMinimizeClick = () => {\n setIsDialogMinimized(!isDialogMinimized);\n isDialogMinimized ? onConfirm() : onClose();\n };\n\n const importData = async () => {\n const file = files[0].file\n\t\tconst formData = new FormData();\n\t\tformData.append('file', file); // Ensure the field name is correct.\n\t\tsetIsLoading(true)\n\t\ttry {\n\t\t\tconst response = await postImportSheet(formData, importModuleName, pageName);\n\t\t\tif(response) {\n\t\t\t\tsetDataResult(response.data)\n setIsLoading(false)\n\t\t\t} \n\t\t} catch (error) {\n setIsLoading(false)\n\t\t}\n\n\t}\n\n useEffect(() => {\n open && setFiles([]);\n }, [open]);\n\n\n\n return (\n <>\n <Dialog open={open} onClose={handleClose} className=\"upload\">\n <DialogTitle className=\"upload--head\">\n <Box className=\"upload--title\">\n <Typography\n type=\"s3\"\n ml={1}\n weight=\"medium\"\n color=\"theme.secondary.1000\"\n >\n {title}\n </Typography>\n </Box>\n \n </DialogTitle>\n <Divider />\n <DialogContent className=\"upload--content\">\n {isLoading && <ModalLoader />}\n \n {files.length === 0 ? (\n <div\n className={`upload--fileContent ${isDragActive ? \"drag-active\" : \"\"\n }`}\n >\n <div {...getRootProps()} className=\"drop-view\">\n {!isDragOver ? (\n <>\n <input {...getInputProps()} ref={fileInputRef} />\n <p className=\"upload--text\">\n Drag and Drop files here or upload from\n </p>\n\n <div className=\"device-wrap\">\n <div className=\"select-button\" onClick={handleChipClick}>\n <img src={images.upload.monitor} />\n <Typography type=\"s5\">My Device</Typography>\n <input\n type=\"file\"\n {...getInputProps({ multiple: true })}\n ref={fileInputRef}\n style={{ display: \"none\" }}\n onChange={handleFileChange}\n accept={accept}\n />\n </div>\n \n </div>\n\n {dataResult?.successful?.length || dataResult?.failed?.length ? (\n <div className =\"mt-2\">\n {dataResult?.failed.length == 0 ? (\n <Typography type=\"s3\">\n All data imported successfully.\n </Typography> ) : (\n <Typography type=\"s4\" word-break=\"break-word\" color=\"theme.error.600\" weight=\"medium\">\n Failed to import the following records with IDs: {dataResult.failed.toString()}\n </Typography> )\n } \n </div>\n ) : (\n \"\"\n )}\n </>\n ) : (\n <div className=\"after-drop\">\n <img src={images.upload.documentUpload} />\n <Typography type=\"s3\">\n Drag & Drop your files here\n </Typography>\n </div>\n )}\n </div>\n </div>\n ) : (\n <Grow in={Boolean(files?.length)} timeout={500}>\n <Box>\n {files.map((file: any, index: number) => (\n <Box key={file?.file?.name} display='flex' width='100%' justifyContent='center' alignItems='center' flexDirection='column'>\n <Box className=\"icon-BG\">\n <IconButton onClick={() => removeFile(index)} className=\"remove-button\"><Trash fontSize='small' /> </IconButton>\n <Avatar size={150} src={images.upload.docFile} alt={\"PDF\"}></Avatar>\n </Box>\n <Typography type=\"s2\" weight=\"bold\" color='theme.secondary.1000'>{file?.file?.name}</Typography>\n <Typography type=\"s4\" color='theme.secondary.800'>{formatBytes(file?.file?.size)}</Typography>\n </Box>\n ))}\n </Box>\n </Grow>\n )}\n </DialogContent>\n <DialogActions className=\"uploadActions\">\n <Button onClick={onSubmit ? ()=>{\n onSubmit(files)\n } : importData} startIcon={<Upload />}>Upload</Button>\n </DialogActions>\n </Dialog>\n {isDialogMinimized && (\n <div className=\"bottom-corner-box\">\n <div className=\"top-section\">\n <div className=\"top-text\">\n Uploading {files.length} Item{files.length !== 1 ? \"s\" : \"\"}\n </div>\n <div className=\"top-options\">\n <div className=\"btn\" onClick={handleMinimizeClick}>\n <RemoveIcon />\n </div>\n <div className=\"btn\" onClick={toggleCollapse}>\n <div className=\"arrow-btn\">\n {isCollapsed ? <KeyboardArrowUp /> : <KeyboardArrowDown />}\n </div>\n </div>\n \n </div>\n </div>\n <div className=\"box-list\">\n {!isCollapsed &&\n files.map((file: any, index: number) => (\n <div className=\"bottom-section\">\n <div className=\"doc-icon\">{renderFileIcon(file?.file)}</div>\n <div className=\"file-detail\">\n <div className=\"file-name\">\n <div className=\"file-text\">\n {file?.file?.name}\n {index}\n </div>\n </div>\n <div className=\"file-status\">\n {file?.status !== \"canceled\" ? (\n <>\n {file.uploadProgress === 0 && (\n <div className=\"avatar-container\">\n <Avatar\n size={20}\n className=\"avatar\"\n src={images.upload.empty}\n ></Avatar>\n <Avatar\n size={20}\n onClick={() => removeFile(index)}\n src={images.upload.close}\n className=\"close-icon\"\n ></Avatar>\n </div>\n )}\n {file?.uploadProgress > 0 &&\n file?.uploadProgress < 100 && (\n <CircularProgress\n color=\"success\"\n variant=\"determinate\"\n value={file?.uploadProgress}\n />\n )}\n {file?.uploadProgress === 100 && (\n <div className=\"avatar-container\">\n <Avatar\n size={20}\n className=\"avatar\"\n src={images.upload.tick}\n ></Avatar>\n <Avatar\n size={20}\n src={images.upload.folder}\n className=\"close-icon\"\n ></Avatar>\n </div>\n )}\n </>\n ) : (\n <Typography type=\"s4\" className=\"canceled-text\">\n Upload Canceled\n </Typography>\n )}\n </div>\n </div>\n </div>\n ))}\n </div>\n </div>\n )}\n </>\n );\n};\n\nexport default UploadExcel;\n"],"names":["formatBytes","bytes","decimals","dm","i","Math","floor","log","parseFloat","pow","toFixed","props","open","title","onClose","onConfirm","onSubmit","accept","multiple","importModuleName","files","setFiles","useState","isCollapsed","setIsCollapsed","isDialogMinimized","setIsDialogMinimized","isDragOver","setIsDragOver","dataResult","setDataResult","isLoading","setIsLoading","getRootProps","getInputProps","isDragActive","useDropzone","onDropAccepted","newFiles","map","file","isPrivate","checkboxDisabled","status","uploadProgress","fileSize","size","fileName","name","fileType","type","location","message","onDragEnter","onDragLeave","noClick","noKeyboard","types","split","item","trim","reduce","acc","fileInputRef","useRef","useEffect","handleBeforeUnload","event","returnValue","current","window","addEventListener","removeEventListener","renderFileIcon","jsx","className","style","backgroundColor","children","Avatar","src","images","upload","documentPDF","jsxs","alt","Typography","color","weight","docFile","removeFile","indexToRemove","prevFiles","filter","index","Fragment","Dialog","DialogTitle","Box","ml","Divider","DialogContent","ModalLoader","length","documentUpload","ref","onClick","setAttribute","removeAttribute","click","monitor","display","onChange","e","_a","target","f","successful","_b","failed","toString","Grow","in","Boolean","timeout","width","justifyContent","alignItems","flexDirection","IconButton","Trash","fontSize","_c","DialogActions","Button","async","formData","FormData","append","response","postImportSheet","data","error","startIcon","Upload","RemoveIcon","prevIsCollapsed","KeyboardArrowUp","KeyboardArrowDown","empty","close","CircularProgress","variant","value","tick","folder"],"mappings":"k/CA8CA,MAAMA,EAAc,CAACC,EAAeC,EAAW,KAC7C,GAAc,IAAVD,EAAa,MAAO,UACxB,MACME,EAAKD,EAAW,EAAI,EAAIA,EAExBE,EAAIC,KAAKC,MAAMD,KAAKE,IAAIN,GAASI,KAAKE,IAHlC,OAIV,OAAOC,YAAYP,EAAQI,KAAKI,IAJtB,KAI6BL,IAAIM,QAAQP,IAAO,IAF5C,CAAC,QAAS,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,KAAM,MAEIC,oBAGnDO,YACnB,MAAMC,KACJA,EAAAC,MACAA,EAAAC,QACAA,EAAAC,UACAA,EAAAC,SACAA,EAAAC,OACAA,EAAS,IAAAC,SACTA,GAAW,EAAAC,iBACXA,GAEER,GACGS,EAAOC,GAAYC,EAAAA,SAaxB,KAEKC,EAAaC,GAAkBF,EAAAA,UAAS,IACxCG,EAAmBC,GAAwBJ,EAAAA,UAAS,IACpDK,EAAYC,GAAiBN,EAAAA,UAAS,IACtCO,EAAYC,GAAiBR,EAAAA,SAAc,OAC3CS,EAAWC,GAAgBV,EAAAA,UAAkB,IAE9CW,aAAEA,EAAAC,cAAcA,EAAAC,aAAeA,GAAiBC,EAAAA,YAAY,CAChEC,eAAiBC,IACfjB,EAAS,IACJD,KACAkB,EAASC,IAAKC,IAAA,CACfA,OACAC,WAAW,EACXC,kBAAkB,EAClBC,OAAQ,UACRC,eAAgB,EAChBC,SAAUL,EAAKM,KACfC,SAAUP,EAAKQ,KACfC,SAAUT,EAAKU,KACfC,SAAU,GACVC,QAAS,QAGbxB,GAAc,IAEhByB,YAAa,KACXzB,GAAc,IAEhB0B,YAAa,KACX1B,GAAc,IAEhB2B,SAAS,EACTC,YAAY,EACZtC,WACAD,OAAQA,GAuCmBwC,EAvCUxC,EAwCrBwC,EAAMC,MAAM,KAAKnB,IAAKoB,GAASA,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AA,IAACK,EAAAA,OAAA,CACCjC,KAAM,GACN4D,QAAS,IAAMhB,EAAWI,GAC1Bd,IAAKC,EAAAA,OAAOC,OAAOoE,MACnB3E,UAAU,yBAIfnC,WAAMI,gBAAiB,IACtB,MAAAJ,OAAA,EAAAA,EAAMI,gBAAiB,oBACrB8B,EAAAA,IAAC6E,EAAAA,QAAA,CACChE,MAAM,UACNiE,QAAQ,cACRC,MAAO,MAAAjH,OAAA,EAAAA,EAAMI,iBAGO,OAAzB,MAAAJ,OAAA,EAAAA,EAAMI,gCACLwC,EAAAA,KAAC,MAAA,CAAIT,UAAU,mBACbG,SAAA;eAAAJ,EAAAA,IAACK,EAAAA,OAAA,CACCjC,KAAM,GACN6B,UAAU,SACVK,IAAKC,EAAAA,OAAOC,OAAOwE;eAErBhF,EAAAA,IAACK,EAAAA,OAAA,CACCjC,KAAM,GACNkC,IAAKC,EAAAA,OAAOC,OAAOyE,OACnBhF,UAAU,0CAMjBW,EAAAA,WAAA,CAAWpC,KAAK,KAAKyB,UAAU,gBAAgBG"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/upload-excel/upload-excel.tsx"],"sourcesContent":["import React from \"react\";\nimport { useEffect, useRef, useState } from \"react\";\n\n\nimport Typography from \"../typography/typography\";\nimport Box from \"@mui/material/Box\";\nimport \"./upload-excel.scss\";\nimport { useDropzone } from \"react-dropzone\";\nimport {\n CircularProgress,\n Dialog,\n DialogActions,\n DialogContent,\n DialogTitle,\n Divider,\n Grow,\n IconButton,\n \n} from \"@mui/material\";\nimport RemoveIcon from \"@mui/icons-material/Remove\";\n// import Checkbox from \"../checkbox/checkbox\";\nimport Avatar from \"../avatar/avatar\";\nimport images from \"../../assets/images\";\nimport ModalLoader from '../loaders/modal-loader';\nimport {Trash} from '../icons';\n\nimport { KeyboardArrowDown, KeyboardArrowUp, Upload } from \"@mui/icons-material\";\nimport { postImportSheet } from \"../../utils/common\";\nimport Button from \"../button/button\";\n\n\ninterface UploadProps {\n open: boolean;\n title: string;\n multiple?: boolean;\n accept?: string;\n showCameraButton?: boolean;\n onClose: () => void;\n onConfirm: () => void;\n onSubmit?: (files: any[]) => void;\n existingDriveData?: any;\n importModuleName?: any;\n pageName?: any;\n\n}\n\nconst formatBytes = (bytes: number, decimals = 2) => {\n if (bytes === 0) return \"0 Bytes\";\n const k = 1024;\n const dm = decimals < 0 ? 0 : decimals;\n const sizes = [\"Bytes\", \"KB\", \"MB\", \"GB\", \"TB\", \"PB\", \"EB\", \"ZB\", \"YB\"];\n const i = Math.floor(Math.log(bytes) / Math.log(k));\n return parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + \" \" + sizes[i];\n};\n\nconst UploadExcel = (props: UploadProps) => {\n const {\n open,\n title,\n onClose,\n onConfirm,\n onSubmit,\n accept = \"*\",\n multiple = false,\n importModuleName,\n pageName\n } = props;\n const [files, setFiles] = useState<\n {\n file: File;\n isPrivate: boolean;\n checkboxDisabled: boolean;\n status: string;\n uploadProgress: number;\n fileSize: number;\n fileName: string;\n fileType: string;\n location: string;\n message: string;\n }[]\n >([]);\n\n const [isCollapsed, setIsCollapsed] = useState(false);\n const [isDialogMinimized, setIsDialogMinimized] = useState(false);\n const [isDragOver, setIsDragOver] = useState(false);\n const [dataResult, setDataResult] = useState<any>(null);\n const [isLoading, setIsLoading] = useState<boolean>(false);\n \n const { getRootProps, getInputProps, isDragActive } = useDropzone({\n onDropAccepted: (newFiles) => {\n setFiles([\n ...files,\n ...newFiles.map((file) => ({\n file,\n isPrivate: false,\n checkboxDisabled: false,\n status: \"pending\",\n uploadProgress: 0,\n fileSize: file.size,\n fileName: file.name,\n fileType: file.type,\n location: \"\",\n message: \"\",\n })),\n ]);\n setIsDragOver(false);\n },\n onDragEnter: () => {\n setIsDragOver(true);\n },\n onDragLeave: () => {\n setIsDragOver(false);\n },\n noClick: true,\n noKeyboard: true,\n multiple: multiple,\n accept: accept ? convertAcceptObject(accept) : accept,\n });\n\n const handleClose = () => {\n onClose()\n setDataResult(null);\n }\n\n const fileInputRef = useRef<HTMLInputElement>(null);\n\n // useEffect(() => {\n // const driveTitles = existingDriveData.map(item => item['title'])\n // setAllDriveData(driveTitles);\n // }, [existingDriveData]);\n\n\n useEffect(() => {\n const handleBeforeUnload = (event: any) => {\n \n const message =\n \"Are you sure you want to leave? Your uploads are not complete.\";\n event.returnValue = message; // Standard for most browsers\n return message; // For some older browsers\n \n };\n if (fileInputRef.current) {\n fileInputRef.current.multiple = multiple;\n }\n\n window.addEventListener(\"beforeunload\", handleBeforeUnload);\n\n return () => {\n // Clean up the event listener when the component unmounts\n window.removeEventListener(\"beforeunload\", handleBeforeUnload);\n };\n }, [ multiple]);\n\n \n\n function convertAcceptObject(types: string) {\n const accepts = types.split(\",\").map((item) => item.trim());\n const acceptObject = accepts.reduce((acc: any, type: string) => {\n acc[type] = [];\n return acc;\n }, {});\n return acceptObject;\n }\n\n const renderFileIcon = (file: any) => {\n const fileType = file?.type.split(\"/\")[0];\n switch (fileType) {\n case \"image\":\n return (\n <div\n className={\n isDialogMinimized ? \"document-icon-sm\" : \"document-icon-lg\"\n }\n style={{ backgroundColor: \"#FFEBEB\" }}\n >\n <Avatar size={20} src={images.upload.documentPDF}></Avatar>\n </div>\n );\n case \"application\":\n return (\n <div\n className={\n isDialogMinimized ? \"document-icon-sm\" : \"document-icon-lg\"\n }\n style={{ backgroundColor: \"#FFEBEB\" }}\n >\n <Avatar size={150} src={images.upload.documentPDF} alt={\"PDF\"}></Avatar>\n <Typography color=\"theme.secondary.1000\" weight=\"bold\" type=\"s2\">{file.name}</Typography>\n <Typography color=\"theme.secondary.800\" type=\"s5\">{formatBytes(file.size)}</Typography>\n </div>\n );\n case \"text\":\n return (\n <div\n className={\n isDialogMinimized ? \"document-icon-sm\" : \"document-icon-lg\"\n }\n style={{ backgroundColor: \"#EBF9F2\" }}\n >\n <Avatar size={20} src={images.upload.docFile}></Avatar>\n </div>\n );\n default:\n return (\n <div\n className={\n isDialogMinimized ? \"document-icon-sm\" : \"document-icon-lg\"\n }\n style={{ backgroundColor: \"#EBF9F2\" }}\n >\n <Avatar size={20} src={images.upload.docFile}></Avatar>\n </div>\n );\n }\n };\n\n \n\n const handleChipClick = () => {\n if (fileInputRef.current) {\n // If multiple is true, set input for multiple files\n if (props.multiple) {\n fileInputRef.current.setAttribute(\"multiple\", \"true\");\n } else {\n // If multiple is false, set input for a single file\n fileInputRef.current.removeAttribute(\"multiple\");\n }\n fileInputRef.current.click();\n }\n };\n\n const handleFileChange = (e: any) => {\n // importData(e.target.files[0]);\n const file = e.target.files?.[0] || null;\n const f = {\n file,\n isPrivate: false,\n checkboxDisabled: false,\n status: \"pending\",\n uploadProgress: 0,\n fileSize: file.size,\n fileName: file.name,\n fileType: file.type,\n location: \"\",\n message: \"\",\n }\n\n \n setFiles([\n ...files,\n ...[f],\n ]);\n };\n\n const removeFile = (indexToRemove: number) => {\n\n setFiles((prevFiles) =>\n prevFiles.filter((file, index) =>index !== indexToRemove\n ),\n );\n };\n\n // const toggleIsPrivate = (index: number) => {\n // setFiles((prevFiles) =>\n // prevFiles.map((item, i) =>\n // i === index ? { ...item, isPrivate: !item.isPrivate } : item,\n // ),\n // );\n // };\n\n const toggleCollapse = () => {\n setIsCollapsed((prevIsCollapsed) => !prevIsCollapsed);\n };\n\n const handleMinimizeClick = () => {\n setIsDialogMinimized(!isDialogMinimized);\n isDialogMinimized ? onConfirm() : onClose();\n };\n\n const importData = async () => {\n const file = files[0].file\n\t\tconst formData = new FormData();\n\t\tformData.append('file', file); // Ensure the field name is correct.\n\t\tsetIsLoading(true)\n\t\ttry {\n\t\t\tconst response = await postImportSheet(formData, importModuleName, pageName);\n\t\t\tif(response) {\n\t\t\t\tsetDataResult(response.data)\n setIsLoading(false)\n\t\t\t} \n\t\t} catch (error) {\n setIsLoading(false)\n\t\t}\n\n\t}\n\n useEffect(() => {\n open && setFiles([]);\n }, [open]);\n\n\n\n return (\n <>\n <Dialog open={open} onClose={handleClose} className=\"upload\">\n <DialogTitle className=\"upload--head\">\n <Box className=\"upload--title\">\n <Typography\n type=\"s3\"\n ml={1}\n weight=\"medium\"\n color=\"theme.secondary.1000\"\n >\n {title}\n </Typography>\n </Box>\n \n </DialogTitle>\n <Divider />\n <DialogContent className=\"upload--content\">\n {isLoading && <ModalLoader />}\n \n {files.length === 0 ? (\n <div\n className={`upload--fileContent ${isDragActive ? \"drag-active\" : \"\"\n }`}\n >\n <div {...getRootProps()} className=\"drop-view\">\n {!isDragOver ? (\n <>\n <input {...getInputProps()} ref={fileInputRef} />\n <p className=\"upload--text\">\n Drag and Drop files here or upload from\n </p>\n\n <div className=\"device-wrap\">\n <div className=\"select-button\" onClick={handleChipClick}>\n <img src={images.upload.monitor} />\n <Typography type=\"s5\">My Device</Typography>\n <input\n type=\"file\"\n {...getInputProps({ multiple: true })}\n ref={fileInputRef}\n style={{ display: \"none\" }}\n onChange={handleFileChange}\n accept={accept}\n />\n </div>\n \n </div>\n\n {dataResult?.successful?.length || dataResult?.failed?.length ? (\n <div className =\"mt-2\">\n {dataResult?.failed.length == 0 ? (\n <Typography type=\"s3\">\n All data imported successfully.\n </Typography> ) : (\n <Typography type=\"s4\" word-break=\"break-word\" color=\"theme.error.600\" weight=\"medium\">\n Failed to import the following records with IDs: {dataResult.failed.toString()}\n </Typography> )\n } \n </div>\n ) : (\n \"\"\n )}\n </>\n ) : (\n <div className=\"after-drop\">\n <img src={images.upload.documentUpload} />\n <Typography type=\"s3\">\n Drag & Drop your files here\n </Typography>\n </div>\n )}\n </div>\n </div>\n ) : (\n <Grow in={Boolean(files?.length)} timeout={500}>\n <Box>\n {files.map((file: any, index: number) => (\n <Box key={file?.file?.name} display='flex' width='100%' justifyContent='center' alignItems='center' flexDirection='column'>\n <Box className=\"icon-BG\">\n <IconButton onClick={() => removeFile(index)} className=\"remove-button\"><Trash fontSize='small' /> </IconButton>\n <Avatar size={150} src={images.upload.docFile} alt={\"PDF\"}></Avatar>\n </Box>\n <Typography type=\"s2\" weight=\"bold\" color='theme.secondary.1000'>{file?.file?.name}</Typography>\n <Typography type=\"s4\" color='theme.secondary.800'>{formatBytes(file?.file?.size)}</Typography>\n </Box>\n ))}\n </Box>\n </Grow>\n )}\n </DialogContent>\n <DialogActions className=\"uploadActions\">\n <Button onClick={onSubmit ? ()=>{\n onSubmit(files)\n } : importData} startIcon={<Upload />}>Upload</Button>\n </DialogActions>\n </Dialog>\n {isDialogMinimized && (\n <div className=\"bottom-corner-box\">\n <div className=\"top-section\">\n <div className=\"top-text\">\n Uploading {files.length} Item{files.length !== 1 ? \"s\" : \"\"}\n </div>\n <div className=\"top-options\">\n <div className=\"btn\" onClick={handleMinimizeClick}>\n <RemoveIcon />\n </div>\n <div className=\"btn\" onClick={toggleCollapse}>\n <div className=\"arrow-btn\">\n {isCollapsed ? <KeyboardArrowUp /> : <KeyboardArrowDown />}\n </div>\n </div>\n \n </div>\n </div>\n <div className=\"box-list\">\n {!isCollapsed &&\n files.map((file: any, index: number) => (\n <div className=\"bottom-section\">\n <div className=\"doc-icon\">{renderFileIcon(file?.file)}</div>\n <div className=\"file-detail\">\n <div className=\"file-name\">\n <div className=\"file-text\">\n {file?.file?.name}\n {index}\n </div>\n </div>\n <div className=\"file-status\">\n {file?.status !== \"canceled\" ? (\n <>\n {file.uploadProgress === 0 && (\n <div className=\"avatar-container\">\n <Avatar\n size={20}\n className=\"avatar\"\n src={images.upload.empty}\n ></Avatar>\n <Avatar\n size={20}\n onClick={() => removeFile(index)}\n src={images.upload.close}\n className=\"close-icon\"\n ></Avatar>\n </div>\n )}\n {file?.uploadProgress > 0 &&\n file?.uploadProgress < 100 && (\n <CircularProgress\n color=\"success\"\n variant=\"determinate\"\n value={file?.uploadProgress}\n />\n )}\n {file?.uploadProgress === 100 && (\n <div className=\"avatar-container\">\n <Avatar\n size={20}\n className=\"avatar\"\n src={images.upload.tick}\n ></Avatar>\n <Avatar\n size={20}\n src={images.upload.folder}\n className=\"close-icon\"\n ></Avatar>\n </div>\n )}\n </>\n ) : (\n <Typography type=\"s4\" className=\"canceled-text\">\n Upload Canceled\n </Typography>\n )}\n </div>\n </div>\n </div>\n ))}\n </div>\n </div>\n )}\n </>\n );\n};\n\nexport { UploadExcel };\nexport default UploadExcel;\n"],"names":["formatBytes","bytes","decimals","dm","i","Math","floor","log","parseFloat","pow","toFixed","UploadExcel","props","open","title","onClose","onConfirm","onSubmit","accept","multiple","importModuleName","files","setFiles","useState","isCollapsed","setIsCollapsed","isDialogMinimized","setIsDialogMinimized","isDragOver","setIsDragOver","dataResult","setDataResult","isLoading","setIsLoading","getRootProps","getInputProps","isDragActive","useDropzone","onDropAccepted","newFiles","map","file","isPrivate","checkboxDisabled","status","uploadProgress","fileSize","size","fileName","name","fileType","type","location","message","onDragEnter","onDragLeave","noClick","noKeyboard","types","split","item","trim","reduce","acc","fileInputRef","useRef","useEffect","handleBeforeUnload","event","returnValue","current","window","addEventListener","removeEventListener","renderFileIcon","jsx","className","style","backgroundColor","children","Avatar","src","images","upload","documentPDF","jsxs","alt","Typography","color","weight","docFile","removeFile","indexToRemove","prevFiles","filter","index","Fragment","Dialog","DialogTitle","Box","ml","Divider","DialogContent","ModalLoader","length","documentUpload","ref","onClick","setAttribute","removeAttribute","click","monitor","display","onChange","e","_a","target","f","successful","_b","failed","toString","Grow","in","Boolean","timeout","width","justifyContent","alignItems","flexDirection","IconButton","Trash","fontSize","_c","DialogActions","Button","async","formData","FormData","append","response","postImportSheet","data","error","startIcon","Upload","RemoveIcon","prevIsCollapsed","KeyboardArrowUp","KeyboardArrowDown","empty","close","CircularProgress","variant","value","tick","folder"],"mappings":"k/CA8CA,MAAMA,EAAc,CAACC,EAAeC,EAAW,KAC7C,GAAc,IAAVD,EAAa,MAAO,UACxB,MACME,EAAKD,EAAW,EAAI,EAAIA,EAExBE,EAAIC,KAAKC,MAAMD,KAAKE,IAAIN,GAASI,KAAKE,IAHlC,OAIV,OAAOC,YAAYP,EAAQI,KAAKI,IAJtB,KAI6BL,IAAIM,QAAQP,IAAO,IAF5C,C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C,EAAAA,KAAC,MAAA,CAAIT,UAAU,mBACbG,SAAA;eAAAJ,EAAAA,IAACK,EAAAA,OAAA,CACCjC,KAAM,GACN6B,UAAU,SACVK,IAAKC,EAAAA,OAAOC,OAAOwE;eAErBhF,EAAAA,IAACK,EAAAA,OAAA,CACCjC,KAAM,GACNkC,IAAKC,EAAAA,OAAOC,OAAOyE,OACnBhF,UAAU,0CAMjBW,EAAAA,WAAA,CAAWpC,KAAK,KAAKyB,UAAU,gBAAgBG"}
@@ -0,0 +1,17 @@
1
+
2
+ interface UploadProps {
3
+ open: boolean;
4
+ title: string;
5
+ multiple?: boolean;
6
+ accept?: string;
7
+ showCameraButton?: boolean;
8
+ onClose: () => void;
9
+ onConfirm: () => void;
10
+ onSubmit?: (files: any[]) => void;
11
+ existingDriveData?: any;
12
+ importModuleName?: any;
13
+ pageName?: any;
14
+ }
15
+ declare const UploadExcel: (props: UploadProps) => import("react/jsx-runtime").JSX.Element;
16
+ export { UploadExcel };
17
+ export default UploadExcel;
@@ -0,0 +1,2 @@
1
+ export { default as UploadMedia } from './upload-media';
2
+ export * from './upload-media';
@@ -1,6 +1,6 @@
1
1
  import { jsxs, Fragment, jsx } from "react/jsx-runtime";
2
2
  import { images } from "../../../images/index.esm.js";
3
- import Button from "../../button/button/index.esm.js";
3
+ import { Button } from "../../button/button/index.esm.js";
4
4
  import { Typography } from "../../typography/typography/index.esm.js";
5
5
  import { enqueueSnackbar } from "../../../node_modules/notistack/notistack.esm/index.esm.js";
6
6
  import { memo } from "react";
@@ -227,6 +227,7 @@ const UploadMedia = memo((props) => {
227
227
  ] });
228
228
  });
229
229
  export {
230
+ UploadMedia,
230
231
  UploadMedia as default
231
232
  };
232
233
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":["../../../../src/components/upload-media/upload-media.tsx"],"sourcesContent":["import { Box, styled } from \"@mui/material\";\nimport logo from \"../../assets/images\";\nimport Button from \"../button/button\";\nimport Typography from \"../typography/typography\";\n// import { useEffect, useState } from \"react\";\nimport { Document } from \"../icons\";\nimport { enqueueSnackbar } from \"notistack\";\nimport { memo } from \"react\";\n// import Avatar from \"../avatar/avatar\";\n\nexport interface UploadImageProps {\n type?: string;\n label: string;\n disabled?: boolean;\n error?: boolean;\n dataPosition?: number;\n dataName?: string;\n required?: boolean;\n max_size?: number;\n name: string;\n value: string;\n onChange: (e: any) => any;\n multiple: boolean\n}\nconst UploadMedia = memo((props: UploadImageProps) => {\n const {\n type,\n label,\n disabled,\n error,\n dataName,\n dataPosition,\n required,\n max_size = 20,\n onChange,\n name,\n value,\n multiple,\n ...rest\n } = props;\n\n const VisuallyHiddenInput = styled(\"input\")({\n clip: \"rect(0 0 0 0)\",\n clipPath: \"inset(50%)\",\n height: 1,\n overflow: \"hidden\",\n position: \"absolute\",\n bottom: 0,\n left: 0,\n whiteSpace: \"nowrap\",\n width: 1,\n });\n\n // const [selectedFile, setSelectedFile] = useState<string | null>(null);\n const StyledButton = styled(Button)(({ theme: { palette } }) => ({\n marginBottom: 8,\n \"&.MuiButton-outlined\": {\n color: palette.theme?.primary[1000],\n },\n \"&.Mui-disabled\": {\n background: palette.theme?.secondary[200],\n color: palette.theme?.secondary[800],\n borderWidth: \"0.0625rem\",\n borderStyle: \"solid\",\n borderColor: palette.theme?.secondary[400],\n },\n }));\n\n const allowedImageTypes = [\n \"image/jpeg\", // JPG, JPEG\n \"image/png\", // PNG\n \"image/gif\", // GIF\n \"image/bmp\", // BMP\n \"image/webp\", // WebP\n \"image/svg+xml\", // SVG\n \"image/tiff\", // TIFF\n \"image/x-icon\", // ICO (icon files)\n \"image/heic\", // HEIC (High Efficiency Image Format)\n \"image/heif\"\n ]\n const allowedFileTypes = [\n \"application/pdf\",\n \"application/msword\",\n \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\",\n 'application/vnd.ms-powerpoint',\n 'application/vnd.oasis.opendocument.text',\n 'text/csv',\n 'text/plain',\n 'application/rtf',\n 'application/vnd.ms-excel',\n 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n 'application/vnd.openxmlformats-officedocument.presentationml.presentation',\n 'application/vnd.oasis.opendocument.spreadsheet',\n 'application/vnd.oasis.opendocument.presentation',\n \"image/jpeg\", // JPG, JPEG\n \"image/png\", // PNG\n \"image/gif\", // GIF\n \"image/bmp\", // BMP\n \"image/webp\", // WebP\n \"image/svg+xml\", // SVG\n \"image/tiff\", // TIFF\n \"image/x-icon\", // ICO (icon files)\n \"image/heic\", // HEIC (High Efficiency Image Format)\n \"image/heif\"\n ];\n\n const isValidFileType = (file: any) => {\n if (type === \"image\") {\n return allowedImageTypes.includes(file.type);\n } else if (type === 'file') {\n return allowedFileTypes.includes(file.type);\n }\n };\n\n\n const handleUpload = (e: any) => {\n const files = [...e.target.files];\n const filterredFiles = files.map(file => {\n if (file && file.size <= max_size * 1024 * 1024) {\n if (isValidFileType(file)) {\n return file\n } else {\n enqueueSnackbar(`Invalid file type for ${file.name}. Please upload a valid document.`, { variant: 'error' })\n return null\n }\n }\n })?.filter(Boolean)\n onChange(multiple ? (value?.length ? [...value, ...filterredFiles] : filterredFiles) : filterredFiles[0]);\n };\n\n const getFileName = (file) => {\n if (!file) return \"\"\n if (file instanceof File) {\n return file.name\n } else if(typeof file === 'string') { \n const parts = file?.split('/');\n return parts?.[parts?.length - 1];\n } else if(Array.isArray(file) && file?.length > 0) {\n return file.map(f => {\n const parts = f?.split('/');\n return parts?.[parts?.length - 1];\n }).join(', ')\n }\n }\n // const getImagePreview = (file) => {\n // if (!file) return \"\"\n // if (file instanceof File) {\n // let previewUrl:any = ''\n // const reader = new FileReader();\n // reader.onload = () => {\n // previewUrl = reader.result;\n // };\n // reader.readAsDataURL(file);\n\n // return previewUrl\n // } else {\n // return file.includes(S3_BUCKET_URL) ? file : S3_BUCKET_URL + file\n // }\n // }\n\n const getSelectedFiles = (files: any) => {\n\n if (files) {\n if (Array.isArray(files)) {\n return files.map(file => (\n <Box display=\"flex\" gap={1} mb={1} alignItems='center'>\n {type === 'file' && <Document fontSize=\"small\" />}\n {/* {type === 'image' && <Avatar src={getImagePreview(file)} />} */}\n <Typography\n type=\"s5\"\n weight=\"medium\"\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n noWrap\n >\n {getFileName(file)}\n </Typography>\n </Box>\n ))\n } else {\n return (\n <Box display=\"flex\" gap={1} alignItems='center'>\n {type === 'file' && <Document fontSize=\"small\" />}\n {/* {type === 'image' && <Avatar src={getImagePreview(files)} />} */}\n <Typography\n type=\"s5\"\n weight={\"medium\"}\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n noWrap\n >\n {getFileName(files)}\n </Typography>\n </Box>\n )\n }\n }\n }\n\n // useEffect(() => {\n // if(!multiple) {\n // const parts = value?.split('/');\n // // const documentPath = parts?.slice(3, parts.length - 1).join('/');\n // const filename = parts?.[parts?.length - 1];\n\n \n // if (value) setSelectedFile(filename)\n // }\n // }, [multiple, value])\n\n return (\n <>\n <Typography\n type=\"s5\"\n weight={\"medium\"}\n mb={0.5}\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n >\n {label} {required && \" *\"}\n </Typography>\n <div style={{ display: \"flex\" }}>\n <StyledButton\n component=\"label\"\n startIcon={\n <img\n src={type === \"image\" ? logo.uploadImage : logo.uploadDocument}\n />\n }\n variant=\"outlined\"\n disabled={disabled}\n >\n <Typography type='s5' weight=\"medium\" color=\"theme.secondary.1000\">Upload</Typography>\n <VisuallyHiddenInput\n type=\"file\"\n accept={type === \"file\" ? allowedFileTypes.join(\",\") : (type === 'image' ? allowedImageTypes.join(\",\") : undefined)}\n // required={required}\n onChange={handleUpload}\n name={name}\n multiple={multiple}\n {...rest}\n />\n </StyledButton>\n </div >\n {getSelectedFiles(value)}\n\n </>\n );\n})\n\nexport default UploadMedia;\n"],"names":["logo"],"mappings":";;;;;;;;;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B,UAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAU;AAAA,QACV,WACE;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,KAAK,SAAS,UAAUA,OAAK,cAAcA,OAAK;AAAA,UAAA;AAAA,QAAA;AAAA,QAGpD,SAAQ;AAAA,QACR;AAAA,QAEA,UAAA;AAAA,UAAA,oBAAC,cAAW,MAAK,MAAK,QAAO,UAAS,OAAM,wBAAuB,UAAA,SAAA,CAAM;AAAA,UACzE;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,MAAK;AAAA,cACL,QAAQ,SAAS,SAAS,iBAAiB,KAAK,GAAG,IAAK,SAAS,UAAU,kBAAkB,KAAK,GAAG,IAAI;AAAA,cAEzG,UAAU;AAAA,cACV;AAAA,cACA;AAAA,cACC,GAAG;AAAA,YAAA;AAAA,UAAA;AAAA,QACN;AAAA,MAAA;AAAA,IAAA,GAEJ;AAAA,IACC,iBAAiB,KAAK;AAAA,EAAA,GAEzB;AAEJ,CAAC;"}
1
+ {"version":3,"file":"index.esm.js","sources":["../../../../src/components/upload-media/upload-media.tsx"],"sourcesContent":["import { Box, styled } from \"@mui/material\";\nimport logo from \"../../assets/images\";\nimport Button from \"../button/button\";\nimport Typography from \"../typography/typography\";\n// import { useEffect, useState } from \"react\";\nimport { Document } from \"../icons\";\nimport { enqueueSnackbar } from \"notistack\";\nimport { memo } from \"react\";\n// import Avatar from \"../avatar/avatar\";\n\nexport interface UploadImageProps {\n type?: string;\n label: string;\n disabled?: boolean;\n error?: boolean;\n dataPosition?: number;\n dataName?: string;\n required?: boolean;\n max_size?: number;\n name: string;\n value: string;\n onChange: (e: any) => any;\n multiple: boolean\n}\nconst UploadMedia = memo((props: UploadImageProps) => {\n const {\n type,\n label,\n disabled,\n error,\n dataName,\n dataPosition,\n required,\n max_size = 20,\n onChange,\n name,\n value,\n multiple,\n ...rest\n } = props;\n\n const VisuallyHiddenInput = styled(\"input\")({\n clip: \"rect(0 0 0 0)\",\n clipPath: \"inset(50%)\",\n height: 1,\n overflow: \"hidden\",\n position: \"absolute\",\n bottom: 0,\n left: 0,\n whiteSpace: \"nowrap\",\n width: 1,\n });\n\n // const [selectedFile, setSelectedFile] = useState<string | null>(null);\n const StyledButton = styled(Button)(({ theme: { palette } }) => ({\n marginBottom: 8,\n \"&.MuiButton-outlined\": {\n color: palette.theme?.primary[1000],\n },\n \"&.Mui-disabled\": {\n background: palette.theme?.secondary[200],\n color: palette.theme?.secondary[800],\n borderWidth: \"0.0625rem\",\n borderStyle: \"solid\",\n borderColor: palette.theme?.secondary[400],\n },\n }));\n\n const allowedImageTypes = [\n \"image/jpeg\", // JPG, JPEG\n \"image/png\", // PNG\n \"image/gif\", // GIF\n \"image/bmp\", // BMP\n \"image/webp\", // WebP\n \"image/svg+xml\", // SVG\n \"image/tiff\", // TIFF\n \"image/x-icon\", // ICO (icon files)\n \"image/heic\", // HEIC (High Efficiency Image Format)\n \"image/heif\"\n ]\n const allowedFileTypes = [\n \"application/pdf\",\n \"application/msword\",\n \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\",\n 'application/vnd.ms-powerpoint',\n 'application/vnd.oasis.opendocument.text',\n 'text/csv',\n 'text/plain',\n 'application/rtf',\n 'application/vnd.ms-excel',\n 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n 'application/vnd.openxmlformats-officedocument.presentationml.presentation',\n 'application/vnd.oasis.opendocument.spreadsheet',\n 'application/vnd.oasis.opendocument.presentation',\n \"image/jpeg\", // JPG, JPEG\n \"image/png\", // PNG\n \"image/gif\", // GIF\n \"image/bmp\", // BMP\n \"image/webp\", // WebP\n \"image/svg+xml\", // SVG\n \"image/tiff\", // TIFF\n \"image/x-icon\", // ICO (icon files)\n \"image/heic\", // HEIC (High Efficiency Image Format)\n \"image/heif\"\n ];\n\n const isValidFileType = (file: any) => {\n if (type === \"image\") {\n return allowedImageTypes.includes(file.type);\n } else if (type === 'file') {\n return allowedFileTypes.includes(file.type);\n }\n };\n\n\n const handleUpload = (e: any) => {\n const files = [...e.target.files];\n const filterredFiles = files.map(file => {\n if (file && file.size <= max_size * 1024 * 1024) {\n if (isValidFileType(file)) {\n return file\n } else {\n enqueueSnackbar(`Invalid file type for ${file.name}. Please upload a valid document.`, { variant: 'error' })\n return null\n }\n }\n })?.filter(Boolean)\n onChange(multiple ? (value?.length ? [...value, ...filterredFiles] : filterredFiles) : filterredFiles[0]);\n };\n\n const getFileName = (file) => {\n if (!file) return \"\"\n if (file instanceof File) {\n return file.name\n } else if(typeof file === 'string') { \n const parts = file?.split('/');\n return parts?.[parts?.length - 1];\n } else if(Array.isArray(file) && file?.length > 0) {\n return file.map(f => {\n const parts = f?.split('/');\n return parts?.[parts?.length - 1];\n }).join(', ')\n }\n }\n // const getImagePreview = (file) => {\n // if (!file) return \"\"\n // if (file instanceof File) {\n // let previewUrl:any = ''\n // const reader = new FileReader();\n // reader.onload = () => {\n // previewUrl = reader.result;\n // };\n // reader.readAsDataURL(file);\n\n // return previewUrl\n // } else {\n // return file.includes(S3_BUCKET_URL) ? file : S3_BUCKET_URL + file\n // }\n // }\n\n const getSelectedFiles = (files: any) => {\n\n if (files) {\n if (Array.isArray(files)) {\n return files.map(file => (\n <Box display=\"flex\" gap={1} mb={1} alignItems='center'>\n {type === 'file' && <Document fontSize=\"small\" />}\n {/* {type === 'image' && <Avatar src={getImagePreview(file)} />} */}\n <Typography\n type=\"s5\"\n weight=\"medium\"\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n noWrap\n >\n {getFileName(file)}\n </Typography>\n </Box>\n ))\n } else {\n return (\n <Box display=\"flex\" gap={1} alignItems='center'>\n {type === 'file' && <Document fontSize=\"small\" />}\n {/* {type === 'image' && <Avatar src={getImagePreview(files)} />} */}\n <Typography\n type=\"s5\"\n weight={\"medium\"}\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n noWrap\n >\n {getFileName(files)}\n </Typography>\n </Box>\n )\n }\n }\n }\n\n // useEffect(() => {\n // if(!multiple) {\n // const parts = value?.split('/');\n // // const documentPath = parts?.slice(3, parts.length - 1).join('/');\n // const filename = parts?.[parts?.length - 1];\n\n \n // if (value) setSelectedFile(filename)\n // }\n // }, [multiple, value])\n\n return (\n <>\n <Typography\n type=\"s5\"\n weight={\"medium\"}\n mb={0.5}\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n >\n {label} {required && \" *\"}\n </Typography>\n <div style={{ display: \"flex\" }}>\n <StyledButton\n component=\"label\"\n startIcon={\n <img\n src={type === \"image\" ? logo.uploadImage : logo.uploadDocument}\n />\n }\n variant=\"outlined\"\n disabled={disabled}\n >\n <Typography type='s5' weight=\"medium\" color=\"theme.secondary.1000\">Upload</Typography>\n <VisuallyHiddenInput\n type=\"file\"\n accept={type === \"file\" ? allowedFileTypes.join(\",\") : (type === 'image' ? allowedImageTypes.join(\",\") : undefined)}\n // required={required}\n onChange={handleUpload}\n name={name}\n multiple={multiple}\n {...rest}\n />\n </StyledButton>\n </div >\n {getSelectedFiles(value)}\n\n </>\n );\n})\n\nexport { UploadMedia };\nexport default UploadMedia;\n"],"names":["logo"],"mappings":";;;;;;;;;AAwBA,MAAM,cAAc,KAAK,CAAC,UAA4B;AACpD,QAAM;AAAA,IACJ;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,WAAW;AAAA,IACX;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA,GAAG;AAAA,EAAA,IACD;AAEJ,QAAM,sBAAsB,OAAO,OAAO,EAAE;AAAA,IAC1C,MAAM;AAAA,IACN,UAAU;AAAA,IACV,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,UAAU;AAAA,IACV,QAAQ;AAAA,IACR,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,OAAO;AAAA,EAAA,CACR;AAGD,QAAM,eAAe,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,UAAU;AAAA,cACV;AAAA,cACA;AAAA,cACC,GAAG;AAAA,YAAA;AAAA,UAAA;AAAA,QACN;AAAA,MAAA;AAAA,IAAA,GAEJ;AAAA,IACC,iBAAiB,KAAK;AAAA,EAAA,GAEzB;AAEJ,CAAC;"}
@@ -1,9 +1,9 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),i=require("../../../images/index.js"),t=require("../../button/button/index.js"),a=require("../../typography/typography/index.js"),n=require("../../../node_modules/notistack/notistack.esm/index.js"),o=require("react"),r=require("../../../node_modules/@mui/material/styles/styled/index.js"),l=require("../../../node_modules/@mui/material/Box/Box/index.js"),d=require("../../icons/document/index.js");const s=o.memo(o=>{const{type:s,label:m,disabled:p,error:u,dataName:c,dataPosition:g,required:h,max_size:f=20,onChange:y,name:x,value:v,multiple:j,...b}=o,w=r.default("input")({clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,overflow:"hidden",position:"absolute",bottom:0,left:0,whiteSpace:"nowrap",width:1}),q=r.default(t.default)(({theme:{palette:e}})=>{var i,t,a,n;return{marginBottom:8,"&.MuiButton-outlined":{color:null==(i=e.theme)?void 0:i.primary[1e3]},"&.Mui-disabled":{background:null==(t=e.theme)?void 0:t.secondary[200],color:null==(a=e.theme)?void 0:a.secondary[800],borderWidth:"0.0625rem",borderStyle:"solid",borderColor:null==(n=e.theme)?void 0:n.secondary[400]}}}),_=["image/jpeg","image/png","image/gif","image/bmp","image/webp","image/svg+xml","image/tiff","image/x-icon","image/heic","image/heif"],B=["application/pdf","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.ms-powerpoint","application/vnd.oasis.opendocument.text","text/csv","text/plain","application/rtf","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.oasis.opendocument.spreadsheet","application/vnd.oasis.opendocument.presentation","image/jpeg","image/png","image/gif","image/bmp","image/webp","image/svg+xml","image/tiff","image/x-icon","image/heic","image/heif"],I=e=>{if(!e)return"";if(e instanceof File)return e.name;if("string"==typeof e){const i=null==e?void 0:e.split("/");return null==i?void 0:i[(null==i?void 0:i.length)-1]}return Array.isArray(e)&&(null==e?void 0:e.length)>0?e.map(e=>{const i=null==e?void 0:e.split("/");return null==i?void 0:i[(null==i?void 0:i.length)-1]}).join(", "):void 0};/* @__PURE__ */
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),i=require("../../../images/index.js"),t=require("../../button/button/index.js"),a=require("../../typography/typography/index.js"),o=require("../../../node_modules/notistack/notistack.esm/index.js"),n=require("react"),r=require("../../../node_modules/@mui/material/styles/styled/index.js"),l=require("../../../node_modules/@mui/material/Box/Box/index.js"),d=require("../../icons/document/index.js");const s=n.memo(n=>{const{type:s,label:m,disabled:p,error:u,dataName:c,dataPosition:g,required:h,max_size:f=20,onChange:y,name:x,value:v,multiple:j,...b}=n,w=r.default("input")({clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:1,overflow:"hidden",position:"absolute",bottom:0,left:0,whiteSpace:"nowrap",width:1}),q=r.default(t.Button)(({theme:{palette:e}})=>{var i,t,a,o;return{marginBottom:8,"&.MuiButton-outlined":{color:null==(i=e.theme)?void 0:i.primary[1e3]},"&.Mui-disabled":{background:null==(t=e.theme)?void 0:t.secondary[200],color:null==(a=e.theme)?void 0:a.secondary[800],borderWidth:"0.0625rem",borderStyle:"solid",borderColor:null==(o=e.theme)?void 0:o.secondary[400]}}}),B=["image/jpeg","image/png","image/gif","image/bmp","image/webp","image/svg+xml","image/tiff","image/x-icon","image/heic","image/heif"],_=["application/pdf","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.ms-powerpoint","application/vnd.oasis.opendocument.text","text/csv","text/plain","application/rtf","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.oasis.opendocument.spreadsheet","application/vnd.oasis.opendocument.presentation","image/jpeg","image/png","image/gif","image/bmp","image/webp","image/svg+xml","image/tiff","image/x-icon","image/heic","image/heif"],I=e=>{if(!e)return"";if(e instanceof File)return e.name;if("string"==typeof e){const i=null==e?void 0:e.split("/");return null==i?void 0:i[(null==i?void 0:i.length)-1]}return Array.isArray(e)&&(null==e?void 0:e.length)>0?e.map(e=>{const i=null==e?void 0:e.split("/");return null==i?void 0:i[(null==i?void 0:i.length)-1]}).join(", "):void 0};/* @__PURE__ */
2
2
  return e.jsxs(e.Fragment,{children:[
3
3
  /* @__PURE__ */e.jsxs(a.Typography,{type:"s5",weight:"medium",mb:.5,color:u?"theme.error.600":"theme.secondary.800","data-position":g,"data-name":c,children:[m," ",h&&" *"]}),
4
4
  /* @__PURE__ */e.jsx("div",{style:{display:"flex"},children:/* @__PURE__ */e.jsxs(q,{component:"label",startIcon:/* @__PURE__ */e.jsx("img",{src:"image"===s?i.images.uploadImage:i.images.uploadDocument}),variant:"outlined",disabled:p,children:[
5
5
  /* @__PURE__ */e.jsx(a.Typography,{type:"s5",weight:"medium",color:"theme.secondary.1000",children:"Upload"}),
6
- /* @__PURE__ */e.jsx(w,{type:"file",accept:"file"===s?B.join(","):"image"===s?_.join(","):void 0,onChange:e=>{var i;const t=null==(i=[...e.target.files].map(e=>{if(e&&e.size<=1024*f*1024)return(e=>"image"===s?_.includes(e.type):"file"===s?B.includes(e.type):void 0)(e)?e:(n.enqueueSnackbar(`Invalid file type for ${e.name}. Please upload a valid document.`,{variant:"error"}),null)}))?void 0:i.filter(Boolean);y(j?(null==v?void 0:v.length)?[...v,...t]:t:t[0])},name:x,multiple:j,...b})]})}),(i=>{if(i)return Array.isArray(i)?i.map(i=>/* @__PURE__ */e.jsxs(l.default,{display:"flex",gap:1,mb:1,alignItems:"center",children:["file"===s&&/* @__PURE__ */e.jsx(d.Document,{fontSize:"small"}),
6
+ /* @__PURE__ */e.jsx(w,{type:"file",accept:"file"===s?_.join(","):"image"===s?B.join(","):void 0,onChange:e=>{var i;const t=null==(i=[...e.target.files].map(e=>{if(e&&e.size<=1024*f*1024)return(e=>"image"===s?B.includes(e.type):"file"===s?_.includes(e.type):void 0)(e)?e:(o.enqueueSnackbar(`Invalid file type for ${e.name}. Please upload a valid document.`,{variant:"error"}),null)}))?void 0:i.filter(Boolean);y(j?(null==v?void 0:v.length)?[...v,...t]:t:t[0])},name:x,multiple:j,...b})]})}),(i=>{if(i)return Array.isArray(i)?i.map(i=>/* @__PURE__ */e.jsxs(l.default,{display:"flex",gap:1,mb:1,alignItems:"center",children:["file"===s&&/* @__PURE__ */e.jsx(d.Document,{fontSize:"small"}),
7
7
  /* @__PURE__ */e.jsx(a.Typography,{type:"s5",weight:"medium",color:u?"theme.error.600":"theme.secondary.800","data-position":g,"data-name":c,noWrap:!0,children:I(i)})]})):/* @__PURE__ */e.jsxs(l.default,{display:"flex",gap:1,alignItems:"center",children:["file"===s&&/* @__PURE__ */e.jsx(d.Document,{fontSize:"small"}),
8
- /* @__PURE__ */e.jsx(a.Typography,{type:"s5",weight:"medium",color:u?"theme.error.600":"theme.secondary.800","data-position":g,"data-name":c,noWrap:!0,children:I(i)})]})})(v)]})});exports.default=s;
8
+ /* @__PURE__ */e.jsx(a.Typography,{type:"s5",weight:"medium",color:u?"theme.error.600":"theme.secondary.800","data-position":g,"data-name":c,noWrap:!0,children:I(i)})]})})(v)]})});exports.UploadMedia=s,exports.default=s;
9
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/upload-media/upload-media.tsx"],"sourcesContent":["import { Box, styled } from \"@mui/material\";\nimport logo from \"../../assets/images\";\nimport Button from \"../button/button\";\nimport Typography from \"../typography/typography\";\n// import { useEffect, useState } from \"react\";\nimport { Document } from \"../icons\";\nimport { enqueueSnackbar } from \"notistack\";\nimport { memo } from \"react\";\n// import Avatar from \"../avatar/avatar\";\n\nexport interface UploadImageProps {\n type?: string;\n label: string;\n disabled?: boolean;\n error?: boolean;\n dataPosition?: number;\n dataName?: string;\n required?: boolean;\n max_size?: number;\n name: string;\n value: string;\n onChange: (e: any) => any;\n multiple: boolean\n}\nconst UploadMedia = memo((props: UploadImageProps) => {\n const {\n type,\n label,\n disabled,\n error,\n dataName,\n dataPosition,\n required,\n max_size = 20,\n onChange,\n name,\n value,\n multiple,\n ...rest\n } = props;\n\n const VisuallyHiddenInput = styled(\"input\")({\n clip: \"rect(0 0 0 0)\",\n clipPath: \"inset(50%)\",\n height: 1,\n overflow: \"hidden\",\n position: \"absolute\",\n bottom: 0,\n left: 0,\n whiteSpace: \"nowrap\",\n width: 1,\n });\n\n // const [selectedFile, setSelectedFile] = useState<string | null>(null);\n const StyledButton = styled(Button)(({ theme: { palette } }) => ({\n marginBottom: 8,\n \"&.MuiButton-outlined\": {\n color: palette.theme?.primary[1000],\n },\n \"&.Mui-disabled\": {\n background: palette.theme?.secondary[200],\n color: palette.theme?.secondary[800],\n borderWidth: \"0.0625rem\",\n borderStyle: \"solid\",\n borderColor: palette.theme?.secondary[400],\n },\n }));\n\n const allowedImageTypes = [\n \"image/jpeg\", // JPG, JPEG\n \"image/png\", // PNG\n \"image/gif\", // GIF\n \"image/bmp\", // BMP\n \"image/webp\", // WebP\n \"image/svg+xml\", // SVG\n \"image/tiff\", // TIFF\n \"image/x-icon\", // ICO (icon files)\n \"image/heic\", // HEIC (High Efficiency Image Format)\n \"image/heif\"\n ]\n const allowedFileTypes = [\n \"application/pdf\",\n \"application/msword\",\n \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\",\n 'application/vnd.ms-powerpoint',\n 'application/vnd.oasis.opendocument.text',\n 'text/csv',\n 'text/plain',\n 'application/rtf',\n 'application/vnd.ms-excel',\n 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n 'application/vnd.openxmlformats-officedocument.presentationml.presentation',\n 'application/vnd.oasis.opendocument.spreadsheet',\n 'application/vnd.oasis.opendocument.presentation',\n \"image/jpeg\", // JPG, JPEG\n \"image/png\", // PNG\n \"image/gif\", // GIF\n \"image/bmp\", // BMP\n \"image/webp\", // WebP\n \"image/svg+xml\", // SVG\n \"image/tiff\", // TIFF\n \"image/x-icon\", // ICO (icon files)\n \"image/heic\", // HEIC (High Efficiency Image Format)\n \"image/heif\"\n ];\n\n const isValidFileType = (file: any) => {\n if (type === \"image\") {\n return allowedImageTypes.includes(file.type);\n } else if (type === 'file') {\n return allowedFileTypes.includes(file.type);\n }\n };\n\n\n const handleUpload = (e: any) => {\n const files = [...e.target.files];\n const filterredFiles = files.map(file => {\n if (file && file.size <= max_size * 1024 * 1024) {\n if (isValidFileType(file)) {\n return file\n } else {\n enqueueSnackbar(`Invalid file type for ${file.name}. Please upload a valid document.`, { variant: 'error' })\n return null\n }\n }\n })?.filter(Boolean)\n onChange(multiple ? (value?.length ? [...value, ...filterredFiles] : filterredFiles) : filterredFiles[0]);\n };\n\n const getFileName = (file) => {\n if (!file) return \"\"\n if (file instanceof File) {\n return file.name\n } else if(typeof file === 'string') { \n const parts = file?.split('/');\n return parts?.[parts?.length - 1];\n } else if(Array.isArray(file) && file?.length > 0) {\n return file.map(f => {\n const parts = f?.split('/');\n return parts?.[parts?.length - 1];\n }).join(', ')\n }\n }\n // const getImagePreview = (file) => {\n // if (!file) return \"\"\n // if (file instanceof File) {\n // let previewUrl:any = ''\n // const reader = new FileReader();\n // reader.onload = () => {\n // previewUrl = reader.result;\n // };\n // reader.readAsDataURL(file);\n\n // return previewUrl\n // } else {\n // return file.includes(S3_BUCKET_URL) ? file : S3_BUCKET_URL + file\n // }\n // }\n\n const getSelectedFiles = (files: any) => {\n\n if (files) {\n if (Array.isArray(files)) {\n return files.map(file => (\n <Box display=\"flex\" gap={1} mb={1} alignItems='center'>\n {type === 'file' && <Document fontSize=\"small\" />}\n {/* {type === 'image' && <Avatar src={getImagePreview(file)} />} */}\n <Typography\n type=\"s5\"\n weight=\"medium\"\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n noWrap\n >\n {getFileName(file)}\n </Typography>\n </Box>\n ))\n } else {\n return (\n <Box display=\"flex\" gap={1} alignItems='center'>\n {type === 'file' && <Document fontSize=\"small\" />}\n {/* {type === 'image' && <Avatar src={getImagePreview(files)} />} */}\n <Typography\n type=\"s5\"\n weight={\"medium\"}\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n noWrap\n >\n {getFileName(files)}\n </Typography>\n </Box>\n )\n }\n }\n }\n\n // useEffect(() => {\n // if(!multiple) {\n // const parts = value?.split('/');\n // // const documentPath = parts?.slice(3, parts.length - 1).join('/');\n // const filename = parts?.[parts?.length - 1];\n\n \n // if (value) setSelectedFile(filename)\n // }\n // }, [multiple, value])\n\n return (\n <>\n <Typography\n type=\"s5\"\n weight={\"medium\"}\n mb={0.5}\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n >\n {label} {required && \" *\"}\n </Typography>\n <div style={{ display: \"flex\" }}>\n <StyledButton\n component=\"label\"\n startIcon={\n <img\n src={type === \"image\" ? logo.uploadImage : logo.uploadDocument}\n />\n }\n variant=\"outlined\"\n disabled={disabled}\n >\n <Typography type='s5' weight=\"medium\" color=\"theme.secondary.1000\">Upload</Typography>\n <VisuallyHiddenInput\n type=\"file\"\n accept={type === \"file\" ? allowedFileTypes.join(\",\") : (type === 'image' ? allowedImageTypes.join(\",\") : undefined)}\n // required={required}\n onChange={handleUpload}\n name={name}\n multiple={multiple}\n {...rest}\n />\n </StyledButton>\n </div >\n {getSelectedFiles(value)}\n\n </>\n );\n})\n\nexport default UploadMedia;\n"],"names":["UploadMedia","memo","props","type","label","disabled","error","dataName","dataPosition","required","max_size","onChange","name","value","multiple","rest","VisuallyHiddenInput","styled","clip","clipPath","height","overflow","position","bottom","left","whiteSpace","width","StyledButton","Button","theme","palette","marginBottom","color","_a","primary","background","_b","secondary","_c","borderWidth","borderStyle","borderColor","_d","allowedImageTypes","allowedFileTypes","getFileName","file","File","parts","split","length","Array","isArray","map","f","join","jsxs","Fragment","children","Typography","weight","mb","style","display","component","startIcon","jsx","src","logo","uploadImage","uploadDocument","variant","accept","e","filterredFiles","target","files","size","includes","isValidFileType","enqueueSnackbar","filter","Boolean","Box","gap","alignItems","Document","fontSize","noWrap","getSelectedFiles"],"mappings":"qfAwBA,MAAMA,EAAcC,EAAAA,KAAMC,IACxB,MAAMC,KACJA,EAAAC,MACAA,EAAAC,SACAA,EAAAC,MACAA,EAAAC,SACAA,EAAAC,aACAA,EAAAC,SACAA,EAAAC,SACAA,EAAW,GAAAC,SACXA,EAAAC,KACAA,EAAAC,MACAA,EAAAC,SACAA,KACGC,GACDb,EAEEc,EAAsBC,UAAO,QAAPA,CAAgB,CAC1CC,KAAM,gBACNC,SAAU,aACVC,OAAQ,EACRC,SAAU,SACVC,SAAU,WACVC,OAAQ,EACRC,KAAM,EACNC,WAAY,SACZC,MAAO,IAIHC,EAAeV,EAAAA,QAAOW,UAAPX,CAAe,EAAGY,OAASC,2BAAiB,MAAA,CAC/DC,aAAc,EACd,uBAAwB,CACtBC,MAAO,OAAAC,EAAAH,EAAQD,YAAR,EAAAI,EAAeC,QAAQ,MAEhC,iBAAkB,CAChBC,WAAY,OAAAC,EAAAN,EAAQD,YAAR,EAAAO,EAAeC,UAAU,KACrCL,MAAO,OAAAM,EAAAR,EAAQD,YAAR,EAAAS,EAAeD,UAAU,KAChCE,YAAa,YACbC,YAAa,QACbC,YAAa,OAAAC,EAAAZ,EAAQD,YAAR,EAAAa,EAAeL,UAAU,SAIpCM,EAAoB,CACxB,aACA,YACA,YACA,YACA,aACA,gBACA,aACA,eACA,aACA,cAEIC,EAAmB,CACvB,kBACA,qBACA,0EACA,gCACA,0CACA,WACA,aACA,kBACA,2BACA,oEACA,4EACA,iDACA,kDACA,aACA,YACA,YACA,YACA,aACA,gBACA,aACA,eACA,aACA,cA2BIC,EAAeC,IACnB,IAAK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EAAK3C,MACrB,SAATA,EACFyC,EAAiBkC,SAAShC,EAAK3C,WADxC,EAUQ4E,CAAgBjC,GACXA,GAEPkC,kBAAgB,yBAAyBlC,EAAKlC,wCAAyC,CAAE2D,QAAS,UAC3F,cANU,EAAAtC,EASnBgD,OAAOC,SACXvE,EAASG,GAAY,MAAAD,OAAA,EAAAA,EAAOqC,QAAS,IAAIrC,KAAU6D,GAAkBA,EAAkBA,EAAe,KAkH9F9D,OACAE,cACIC,SAnFW,CAAC6D,IAExB,GAAIA,EACF,OAAIzB,MAAMC,QAAQwB,GACTA,EAAMvB,IAAIP,kBACfU,EAAAA,KAAC2B,EAAAA,QAAA,CAAIpB,QAAQ,OAAOqB,IAAK,EAAGvB,GAAI,EAAGwB,WAAW,SAC3C3B,SAAA,CAAS,SAATvD,kBAAmB+D,EAAAA,IAACoB,EAAAA,SAAA,CAASC,SAAS;eAEvCrB,EAAAA,IAACP,EAAAA,WAAA,CACCxD,KAAK,KACLyD,OAAO,SACP5B,MAAO1B,EAAQ,kBAAoB,sBACnC,gBAAeE,EACf,YAAWD,EACXiF,QAAM,EAEL9B,WAAYZ,+BAMhBqC,UAAA,CAAIpB,QAAQ,OAAOqB,IAAK,EAAGC,WAAW,SACpC3B,SAAA,CAAS,SAATvD,kBAAmB+D,EAAAA,IAACoB,EAAAA,SAAA,CAASC,SAAS;eAEvCrB,EAAAA,IAACP,EAAAA,WAAA,CACCxD,KAAK,KACLyD,OAAQ,SACR5B,MAAO1B,EAAQ,kBAAoB,sBACnC,gBAAeE,EACf,YAAWD,EACXiF,QAAM,EAEL9B,WAAYkB,SAsDpBa,CAAiB5E"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/upload-media/upload-media.tsx"],"sourcesContent":["import { Box, styled } from \"@mui/material\";\nimport logo from \"../../assets/images\";\nimport Button from \"../button/button\";\nimport Typography from \"../typography/typography\";\n// import { useEffect, useState } from \"react\";\nimport { Document } from \"../icons\";\nimport { enqueueSnackbar } from \"notistack\";\nimport { memo } from \"react\";\n// import Avatar from \"../avatar/avatar\";\n\nexport interface UploadImageProps {\n type?: string;\n label: string;\n disabled?: boolean;\n error?: boolean;\n dataPosition?: number;\n dataName?: string;\n required?: boolean;\n max_size?: number;\n name: string;\n value: string;\n onChange: (e: any) => any;\n multiple: boolean\n}\nconst UploadMedia = memo((props: UploadImageProps) => {\n const {\n type,\n label,\n disabled,\n error,\n dataName,\n dataPosition,\n required,\n max_size = 20,\n onChange,\n name,\n value,\n multiple,\n ...rest\n } = props;\n\n const VisuallyHiddenInput = styled(\"input\")({\n clip: \"rect(0 0 0 0)\",\n clipPath: \"inset(50%)\",\n height: 1,\n overflow: \"hidden\",\n position: \"absolute\",\n bottom: 0,\n left: 0,\n whiteSpace: \"nowrap\",\n width: 1,\n });\n\n // const [selectedFile, setSelectedFile] = useState<string | null>(null);\n const StyledButton = styled(Button)(({ theme: { palette } }) => ({\n marginBottom: 8,\n \"&.MuiButton-outlined\": {\n color: palette.theme?.primary[1000],\n },\n \"&.Mui-disabled\": {\n background: palette.theme?.secondary[200],\n color: palette.theme?.secondary[800],\n borderWidth: \"0.0625rem\",\n borderStyle: \"solid\",\n borderColor: palette.theme?.secondary[400],\n },\n }));\n\n const allowedImageTypes = [\n \"image/jpeg\", // JPG, JPEG\n \"image/png\", // PNG\n \"image/gif\", // GIF\n \"image/bmp\", // BMP\n \"image/webp\", // WebP\n \"image/svg+xml\", // SVG\n \"image/tiff\", // TIFF\n \"image/x-icon\", // ICO (icon files)\n \"image/heic\", // HEIC (High Efficiency Image Format)\n \"image/heif\"\n ]\n const allowedFileTypes = [\n \"application/pdf\",\n \"application/msword\",\n \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\",\n 'application/vnd.ms-powerpoint',\n 'application/vnd.oasis.opendocument.text',\n 'text/csv',\n 'text/plain',\n 'application/rtf',\n 'application/vnd.ms-excel',\n 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\n 'application/vnd.openxmlformats-officedocument.presentationml.presentation',\n 'application/vnd.oasis.opendocument.spreadsheet',\n 'application/vnd.oasis.opendocument.presentation',\n \"image/jpeg\", // JPG, JPEG\n \"image/png\", // PNG\n \"image/gif\", // GIF\n \"image/bmp\", // BMP\n \"image/webp\", // WebP\n \"image/svg+xml\", // SVG\n \"image/tiff\", // TIFF\n \"image/x-icon\", // ICO (icon files)\n \"image/heic\", // HEIC (High Efficiency Image Format)\n \"image/heif\"\n ];\n\n const isValidFileType = (file: any) => {\n if (type === \"image\") {\n return allowedImageTypes.includes(file.type);\n } else if (type === 'file') {\n return allowedFileTypes.includes(file.type);\n }\n };\n\n\n const handleUpload = (e: any) => {\n const files = [...e.target.files];\n const filterredFiles = files.map(file => {\n if (file && file.size <= max_size * 1024 * 1024) {\n if (isValidFileType(file)) {\n return file\n } else {\n enqueueSnackbar(`Invalid file type for ${file.name}. Please upload a valid document.`, { variant: 'error' })\n return null\n }\n }\n })?.filter(Boolean)\n onChange(multiple ? (value?.length ? [...value, ...filterredFiles] : filterredFiles) : filterredFiles[0]);\n };\n\n const getFileName = (file) => {\n if (!file) return \"\"\n if (file instanceof File) {\n return file.name\n } else if(typeof file === 'string') { \n const parts = file?.split('/');\n return parts?.[parts?.length - 1];\n } else if(Array.isArray(file) && file?.length > 0) {\n return file.map(f => {\n const parts = f?.split('/');\n return parts?.[parts?.length - 1];\n }).join(', ')\n }\n }\n // const getImagePreview = (file) => {\n // if (!file) return \"\"\n // if (file instanceof File) {\n // let previewUrl:any = ''\n // const reader = new FileReader();\n // reader.onload = () => {\n // previewUrl = reader.result;\n // };\n // reader.readAsDataURL(file);\n\n // return previewUrl\n // } else {\n // return file.includes(S3_BUCKET_URL) ? file : S3_BUCKET_URL + file\n // }\n // }\n\n const getSelectedFiles = (files: any) => {\n\n if (files) {\n if (Array.isArray(files)) {\n return files.map(file => (\n <Box display=\"flex\" gap={1} mb={1} alignItems='center'>\n {type === 'file' && <Document fontSize=\"small\" />}\n {/* {type === 'image' && <Avatar src={getImagePreview(file)} />} */}\n <Typography\n type=\"s5\"\n weight=\"medium\"\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n noWrap\n >\n {getFileName(file)}\n </Typography>\n </Box>\n ))\n } else {\n return (\n <Box display=\"flex\" gap={1} alignItems='center'>\n {type === 'file' && <Document fontSize=\"small\" />}\n {/* {type === 'image' && <Avatar src={getImagePreview(files)} />} */}\n <Typography\n type=\"s5\"\n weight={\"medium\"}\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n noWrap\n >\n {getFileName(files)}\n </Typography>\n </Box>\n )\n }\n }\n }\n\n // useEffect(() => {\n // if(!multiple) {\n // const parts = value?.split('/');\n // // const documentPath = parts?.slice(3, parts.length - 1).join('/');\n // const filename = parts?.[parts?.length - 1];\n\n \n // if (value) setSelectedFile(filename)\n // }\n // }, [multiple, value])\n\n return (\n <>\n <Typography\n type=\"s5\"\n weight={\"medium\"}\n mb={0.5}\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n data-position={dataPosition}\n data-name={dataName}\n >\n {label} {required && \" *\"}\n </Typography>\n <div style={{ display: \"flex\" }}>\n <StyledButton\n component=\"label\"\n startIcon={\n <img\n src={type === \"image\" ? logo.uploadImage : logo.uploadDocument}\n />\n }\n variant=\"outlined\"\n disabled={disabled}\n >\n <Typography type='s5' weight=\"medium\" color=\"theme.secondary.1000\">Upload</Typography>\n <VisuallyHiddenInput\n type=\"file\"\n accept={type === \"file\" ? allowedFileTypes.join(\",\") : (type === 'image' ? allowedImageTypes.join(\",\") : undefined)}\n // required={required}\n onChange={handleUpload}\n name={name}\n multiple={multiple}\n {...rest}\n />\n </StyledButton>\n </div >\n {getSelectedFiles(value)}\n\n </>\n );\n})\n\nexport { UploadMedia };\nexport default UploadMedia;\n"],"names":["UploadMedia","memo","props","type","label","disabled","error","dataName","dataPosition","required","max_size","onChange","name","value","multiple","rest","VisuallyHiddenInput","styled","clip","clipPath","height","overflow","position","bottom","left","whiteSpace","width","StyledButton","Button","theme","palette","marginBottom","color","_a","primary","background","_b","secondary","_c","borderWidth","borderStyle","borderColor","_d","allowedImageTypes","allowedFileTypes","getFileName","file","File","parts","split","length","Array","isArray","map","f","join","jsxs","Fragment","children","Typography","weight","mb","style","display","component","startIcon","jsx","src","logo","uploadImage","uploadDocument","variant","accept","e","filterredFiles","target","files","size","includes","isValidFileType","enqueueSnackbar","filter","Boolean","Box","gap","alignItems","Document","fontSize","noWrap","getSelectedFiles"],"mappings":"qfAwBA,MAAMA,EAAcC,EAAAA,KAAMC,IACxB,MAAMC,KACJA,EAAAC,MACAA,EAAAC,SACAA,EAAAC,MACAA,EAAAC,SACAA,EAAAC,aACAA,EAAAC,SACAA,EAAAC,SACAA,EAAW,GAAAC,SACXA,EAAAC,KACAA,EAAAC,MACAA,EAAAC,SACAA,KACGC,GACDb,EAEEc,EAAsBC,UAAO,QAAPA,CAAgB,CAC1CC,KAAM,gBACNC,SAAU,aACVC,OAAQ,EACRC,SAAU,SACVC,SAAU,WACVC,OAAQ,EACRC,KAAM,EACNC,WAAY,SACZC,MAAO,IAIHC,EAAeV,EAAAA,QAAOW,SAAPX,CAAe,EAAGY,OAASC,2BAAiB,MAAA,CAC/DC,aAAc,EACd,uBAAwB,CACtBC,MAAO,OAAAC,EAAAH,EAAQD,YAAR,EAAAI,EAAeC,QAAQ,MAEhC,iBAAkB,CAChBC,WAAY,OAAAC,EAAAN,EAAQD,YAAR,EAAAO,EAAeC,UAAU,KACrCL,MAAO,OAAAM,EAAAR,EAAQD,YAAR,EAAAS,EAAeD,UAAU,KAChCE,YAAa,YACbC,YAAa,QACbC,YAAa,OAAAC,EAAAZ,EAAQD,YAAR,EAAAa,EAAeL,UAAU,SAIpCM,EAAoB,CACxB,aACA,YACA,YACA,YACA,aACA,gBACA,aACA,eACA,aACA,cAEIC,EAAmB,CACvB,kBACA,qBACA,0EACA,gCACA,0CACA,WACA,aACA,kBACA,2BACA,oEACA,4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AAK+B,MAAmB,KAAXnE,EAAkB,KACzC,MAbkB,CAACoC,GACV,UAAT3C,EACKwC,EAAkBmC,SAAShC,EAAK3C,MACrB,SAATA,EACFyC,EAAiBkC,SAAShC,EAAK3C,WADxC,EAUQ4E,CAAgBjC,GACXA,GAEPkC,kBAAgB,yBAAyBlC,EAAKlC,wCAAyC,CAAE2D,QAAS,UAC3F,cANU,EAAAtC,EASnBgD,OAAOC,SACXvE,EAASG,GAAY,MAAAD,OAAA,EAAAA,EAAOqC,QAAS,IAAIrC,KAAU6D,GAAkBA,EAAkBA,EAAe,KAkH9F9D,OACAE,cACIC,SAnFW,CAAC6D,IAExB,GAAIA,EACF,OAAIzB,MAAMC,QAAQwB,GACTA,EAAMvB,IAAIP,kBACfU,EAAAA,KAAC2B,EAAAA,QAAA,CAAIpB,QAAQ,OAAOqB,IAAK,EAAGvB,GAAI,EAAGwB,WAAW,SAC3C3B,SAAA,CAAS,SAATvD,kBAAmB+D,EAAAA,IAACoB,EAAAA,SAAA,CAASC,SAAS;eAEvCrB,EAAAA,IAACP,EAAAA,WAAA,CACCxD,KAAK,KACLyD,OAAO,SACP5B,MAAO1B,EAAQ,kBAAoB,sBACnC,gBAAeE,EACf,YAAWD,EACXiF,QAAM,EAEL9B,WAAYZ,+BAMhBqC,UAAA,CAAIpB,QAAQ,OAAOqB,IAAK,EAAGC,WAAW,SACpC3B,SAAA,CAAS,SAATvD,kBAAmB+D,EAAAA,IAACoB,EAAAA,SAAA,CAASC,SAAS;eAEvCrB,EAAAA,IAACP,EAAAA,WAAA,CACCxD,KAAK,KACLyD,OAAQ,SACR5B,MAAO1B,EAAQ,kBAAoB,sBACnC,gBAAeE,EACf,YAAWD,EACXiF,QAAM,EAEL9B,WAAYkB,SAsDpBa,CAAiB5E"}
@@ -0,0 +1,17 @@
1
+ export interface UploadImageProps {
2
+ type?: string;
3
+ label: string;
4
+ disabled?: boolean;
5
+ error?: boolean;
6
+ dataPosition?: number;
7
+ dataName?: string;
8
+ required?: boolean;
9
+ max_size?: number;
10
+ name: string;
11
+ value: string;
12
+ onChange: (e: any) => any;
13
+ multiple: boolean;
14
+ }
15
+ declare const UploadMedia: import('react').NamedExoticComponent<UploadImageProps>;
16
+ export { UploadMedia };
17
+ export default UploadMedia;
@@ -0,0 +1,2 @@
1
+ export { default as UserDropdown } from './user-dropdown';
2
+ export * from './user-dropdown';
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useState, useEffect } from "react";
3
3
  /* empty css */
4
- import Checkbox from "../../checkbox/checkbox/index.esm.js";
4
+ import { Checkbox } from "../../checkbox/checkbox/index.esm.js";
5
5
  import { Typography } from "../../typography/typography/index.esm.js";
6
6
  import List from "../../../node_modules/@mui/material/List/List/index.esm.js";
7
7
  import ListItem from "../../../node_modules/@mui/material/ListItem/ListItem/index.esm.js";
@@ -1,5 +1,5 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("react");;/* empty css */var i=,/* empty css */r=,/* empty css */t=,/* empty css */d=,/* empty css */n=;/* empty css */const l=l=>{const{value:a,data:o,onCheckboxChange:u,...c}=l,{isRoleVisible:m,selectedUsers:x}=a,[p,h]=s.useState(x),[j,v]=s.useState([]),y=(e,s)=>()=>{const i=p.findIndex(s=>s.id===e),r=[...p];-1===i?r.push(s):r.splice(i,1),h(r),u(r)};return s.useEffect(()=>{v(m?(null==o?void 0:o.departments)??[]:(null==o?void 0:o.users)??[])},[m,o]),/* @__PURE__ */e.jsx("div",{className:"SwitchList",...c,children:/* @__PURE__ */e.jsx(t.default,{children:j&&(null==j?void 0:j.map(s=>{var t;const l=`checkbox-list-secondary-label-${s.id}`;/* @__PURE__ */
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("react");;/* empty css */var i=,/* empty css */r=,/* empty css */t=,/* empty css */d=,/* empty css */n=;/* empty css */const l=l=>{const{value:o,data:a,onCheckboxChange:u,...c}=l,{isRoleVisible:x,selectedUsers:m}=o,[p,h]=s.useState(m),[j,v]=s.useState([]),y=(e,s)=>()=>{const i=p.findIndex(s=>s.id===e),r=[...p];-1===i?r.push(s):r.splice(i,1),h(r),u(r)};return s.useEffect(()=>{v(x?(null==a?void 0:a.departments)??[]:(null==a?void 0:a.users)??[])},[x,a]),/* @__PURE__ */e.jsx("div",{className:"SwitchList",...c,children:/* @__PURE__ */e.jsx(t.default,{children:j&&(null==j?void 0:j.map(s=>{var t;const l=`checkbox-list-secondary-label-${s.id}`;/* @__PURE__ */
2
2
  return e.jsxs(d.default,{sx:{cursor:"pointer"},onClick:y(s.id,s),children:[
3
- /* @__PURE__ */e.jsx(n.default,{id:l,children:/* @__PURE__ */e.jsx(r.Typography,{dangerouslySetInnerHTML:{__html:`${m?null==s?void 0:s.name:`${null==s?void 0:s.first_name} ${null==s?void 0:s.last_name}`} <span>${m?s.count+" Users":null==(t=null==s?void 0:s.department)?void 0:t.name}</span>`}})}),
4
- /* @__PURE__ */e.jsx("div",{className:"list-secondary-content",children:/* @__PURE__ */e.jsx(i.default,{edge:"end",checked:p.some(e=>e.id===s.id),inputProps:{"aria-labelledby":l}})})]},s.id)}))})})};exports.UserDropdown=l,exports.default=l;
3
+ /* @__PURE__ */e.jsx(n.default,{id:l,children:/* @__PURE__ */e.jsx(r.Typography,{dangerouslySetInnerHTML:{__html:`${x?null==s?void 0:s.name:`${null==s?void 0:s.first_name} ${null==s?void 0:s.last_name}`} <span>${x?s.count+" Users":null==(t=null==s?void 0:s.department)?void 0:t.name}</span>`}})}),
4
+ /* @__PURE__ */e.jsx("div",{className:"list-secondary-content",children:/* @__PURE__ */e.jsx(i.Checkbox,{edge:"end",checked:p.some(e=>e.id===s.id),inputProps:{"aria-labelledby":l}})})]},s.id)}))})})};exports.UserDropdown=l,exports.default=l;
5
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/user-dropdown/user-dropdown.tsx"],"sourcesContent":["import { useEffect, useState } from \"react\";\nimport List from \"@mui/material/List\";\nimport ListItem from \"@mui/material/ListItem\";\nimport ListItemText from \"@mui/material/ListItemText\";\nimport \"./user-dropdown.scss\";\nimport Checkbox from \"../checkbox/checkbox\";\n// import Toggle from \"../toggle/toggle\";\nimport Typography from \"../typography/typography\";\n// import FormControlLabel from \"@mui/material/FormControlLabel\";\n\ninterface UserDropdownProps {\n value: {\n isRoleVisible: boolean;\n selectedUsers: number[];\n };\n data: any;\n onToggleChange: () => void;\n onCheckboxChange: (values: number[]) => void;\n}\n\nexport const UserDropdown = (props: UserDropdownProps) => {\n const { value, data, onCheckboxChange, ...rest } = props;\n const { isRoleVisible, selectedUsers } = value;\n const [checked, setChecked] = useState(selectedUsers);\n const [dropdownData, setDropdownData] = useState([]);\n\n // const handleToggle = () => {\n // onToggleChange();\n // setDropdownData([]);\n // };\n\n const handleCheckbox = (value: number, item: any) => () => {\n const currentIndex = checked.findIndex(\n (user: any) => (isRoleVisible ? user.id : user.id) === value,\n );\n const newChecked = [...checked];\n\n if (currentIndex === -1) {\n newChecked.push(item);\n } else {\n newChecked.splice(currentIndex, 1);\n }\n\n setChecked(newChecked);\n onCheckboxChange(newChecked);\n };\n\n useEffect(() => {\n if (isRoleVisible) {\n setDropdownData(data?.departments ?? []);\n } else {\n setDropdownData(data?.users ?? []);\n }\n // eslint-disable-next-line\n }, [isRoleVisible, data]);\n\n return (\n <div className=\"SwitchList\" {...rest}>\n \n <List>\n {dropdownData &&\n dropdownData?.map((item: any) => {\n const labelId = `checkbox-list-secondary-label-${item.id}`;\n\n return (\n <ListItem key={item.id} sx={{cursor:'pointer'}} onClick={handleCheckbox(\n isRoleVisible ? item.id : item.id,\n item, // Pass the entire item to the handleCheckbox function\n )}>\n <ListItemText id={labelId}>\n <Typography\n dangerouslySetInnerHTML={{\n __html: `${\n isRoleVisible\n ? item?.name\n : `${item?.first_name} ${item?.last_name}`\n } <span>${\n isRoleVisible\n ? item.count + \" Users\"\n : item?.department?.name\n }</span>`,\n }}\n />\n </ListItemText>\n <div className=\"list-secondary-content\">\n <Checkbox\n edge=\"end\"\n \n checked={checked.some(\n (user: any) =>\n (isRoleVisible ? user.id : user.id) ===\n (isRoleVisible ? item.id : item.id),\n )}\n inputProps={{ \"aria-labelledby\": labelId }}\n />\n </div>\n </ListItem>\n );\n })}\n </List>\n </div>\n );\n};\n\nexport default UserDropdown;\n"],"names":["UserDropdown","props","value","data","onCheckboxChange","rest","isRoleVisible","selectedUsers","checked","setChecked","useState","dropdownData","setDropdownData","handleCheckbox","item","currentIndex","findIndex","user","id","newChecked","push","splice","useEffect","departments","users","jsx","className","children","List","map","labelId","ListItem","sx","cursor","onClick","ListItemText","Typography","dangerouslySetInnerHTML","__html","name","first_name","last_name","count","_a","department","Checkbox","edge","some","inputProps"],"mappings":"4eAoBO,MAAMA,EAAgBC,IAC3B,MAAMC,MAAEA,EAAAC,KAAOA,EAAAC,iBAAOA,KAAqBC,GAASJ,GAC9CK,cAAEA,EAAAC,cAAeA,GAAkBL,GAClCM,EAASC,GAAcC,EAAAA,SAASH,IAChCI,EAAcC,GAAmBF,EAAAA,SAAS,IAO3CG,EAAiB,CAACX,EAAeY,IAAc,KACnD,MAAMC,EAAeP,EAAQQ,UAC1BC,GAA+BA,EAAKC,KAAkBhB,GAEnDiB,EAAa,IAAIX,IAEF,IAAjBO,EACFI,EAAWC,KAAKN,GAEhBK,EAAWE,OAAON,EAAc,GAGlCN,EAAWU,GACXf,EAAiBe,IAYnB,OATAG,EAAAA,UAAU,KAENV,EADEN,GACc,MAAAH,OAAA,EAAAA,EAAMoB,cAAe,IAErB,MAAApB,OAAA,EAAAA,EAAMqB,QAAS,KAGhC,CAAClB,EAAeH,qBAGjBsB,IAAC,MAAA,CAAIC,UAAU,gBAAiBrB,EAE9BsB,0BAAAF,IAACG,EAAAA,QAAA,CACED,SAAAhB,IACC,MAAAA,OAAA,EAAAA,EAAckB,IAAKf,UACjB,MAAMgB,EAAU,iCAAiChB,EAAKI;AAEtD,cACGa,EAAAA,QAAA,CAAuBC,GAAI,CAACC,OAAO,WAAYC,QAASrB,EACjCC,EAAKI,GACrBJ,GAENa,SAAA;eAAAF,EAAAA,IAACU,EAAAA,QAAA,CAAajB,GAAIY,EAChBH,wBAAAF,EAAAA,IAACW,EAAAA,WAAA,CACCC,wBAAyB,CACvBC,OAAQ,GACNhC,EACI,MAAAQ,OAAA,EAAAA,EAAMyB,KACN,GAAG,MAAAzB,OAAA,EAAAA,EAAM0B,cAAc,MAAA1B,OAAA,EAAAA,EAAM2B,qBAEjCnC,EACIQ,EAAK4B,MAAQ,SACb,OAAAC,EAAA,MAAA7B,OAAA,EAAAA,EAAM8B,qBAAYL;iBAK9Bd,IAAC,MAAA,CAAIC,UAAU,yBACbC,wBAAAF,EAAAA,IAACoB,EAAAA,QAAA,CACCC,KAAK,MAELtC,QAASA,EAAQuC,KACd9B,GACkBA,EAAKC,KACLJ,EAAKI,IAE1B8B,WAAY,CAAE,kBAAmBlB,SA5BxBhB,EAAKI"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/user-dropdown/user-dropdown.tsx"],"sourcesContent":["import { useEffect, useState } from \"react\";\nimport List from \"@mui/material/List\";\nimport ListItem from \"@mui/material/ListItem\";\nimport ListItemText from \"@mui/material/ListItemText\";\nimport \"./user-dropdown.scss\";\nimport Checkbox from \"../checkbox/checkbox\";\n// import Toggle from \"../toggle/toggle\";\nimport Typography from \"../typography/typography\";\n// import FormControlLabel from \"@mui/material/FormControlLabel\";\n\ninterface UserDropdownProps {\n value: {\n isRoleVisible: boolean;\n selectedUsers: number[];\n };\n data: any;\n onToggleChange: () => void;\n onCheckboxChange: (values: number[]) => void;\n}\n\nexport const UserDropdown = (props: UserDropdownProps) => {\n const { value, data, onCheckboxChange, ...rest } = props;\n const { isRoleVisible, selectedUsers } = value;\n const [checked, setChecked] = useState(selectedUsers);\n const [dropdownData, setDropdownData] = useState([]);\n\n // const handleToggle = () => {\n // onToggleChange();\n // setDropdownData([]);\n // };\n\n const handleCheckbox = (value: number, item: any) => () => {\n const currentIndex = checked.findIndex(\n (user: any) => (isRoleVisible ? user.id : user.id) === value,\n );\n const newChecked = [...checked];\n\n if (currentIndex === -1) {\n newChecked.push(item);\n } else {\n newChecked.splice(currentIndex, 1);\n }\n\n setChecked(newChecked);\n onCheckboxChange(newChecked);\n };\n\n useEffect(() => {\n if (isRoleVisible) {\n setDropdownData(data?.departments ?? []);\n } else {\n setDropdownData(data?.users ?? []);\n }\n // eslint-disable-next-line\n }, [isRoleVisible, data]);\n\n return (\n <div className=\"SwitchList\" {...rest}>\n \n <List>\n {dropdownData &&\n dropdownData?.map((item: any) => {\n const labelId = `checkbox-list-secondary-label-${item.id}`;\n\n return (\n <ListItem key={item.id} sx={{cursor:'pointer'}} onClick={handleCheckbox(\n isRoleVisible ? item.id : item.id,\n item, // Pass the entire item to the handleCheckbox function\n )}>\n <ListItemText id={labelId}>\n <Typography\n dangerouslySetInnerHTML={{\n __html: `${\n isRoleVisible\n ? item?.name\n : `${item?.first_name} ${item?.last_name}`\n } <span>${\n isRoleVisible\n ? item.count + \" Users\"\n : item?.department?.name\n }</span>`,\n }}\n />\n </ListItemText>\n <div className=\"list-secondary-content\">\n <Checkbox\n edge=\"end\"\n \n checked={checked.some(\n (user: any) =>\n (isRoleVisible ? user.id : user.id) ===\n (isRoleVisible ? item.id : item.id),\n )}\n inputProps={{ \"aria-labelledby\": labelId }}\n />\n </div>\n </ListItem>\n );\n })}\n </List>\n </div>\n );\n};\n\nexport default UserDropdown;\n"],"names":["UserDropdown","props","value","data","onCheckboxChange","rest","isRoleVisible","selectedUsers","checked","setChecked","useState","dropdownData","setDropdownData","handleCheckbox","item","currentIndex","findIndex","user","id","newChecked","push","splice","useEffect","departments","users","jsx","className","children","List","map","labelId","ListItem","sx","cursor","onClick","ListItemText","Typography","dangerouslySetInnerHTML","__html","name","first_name","last_name","count","_a","department","Checkbox","edge","some","inputProps"],"mappings":"4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AAA,CACCC,KAAK,MAELtC,QAASA,EAAQuC,KACd9B,GACkBA,EAAKC,KACLJ,EAAKI,IAE1B8B,WAAY,CAAE,kBAAmBlB,SA5BxBhB,EAAKI"}
@@ -0,0 +1,12 @@
1
+
2
+ interface UserDropdownProps {
3
+ value: {
4
+ isRoleVisible: boolean;
5
+ selectedUsers: number[];
6
+ };
7
+ data: any;
8
+ onToggleChange: () => void;
9
+ onCheckboxChange: (values: number[]) => void;
10
+ }
11
+ export declare const UserDropdown: (props: UserDropdownProps) => import("react/jsx-runtime").JSX.Element;
12
+ export default UserDropdown;
@@ -0,0 +1,2 @@
1
+ export { default as ValueField } from './value-field';
2
+ export * from './value-field';
@@ -10,6 +10,7 @@ const ValueField = (props) => {
10
10
  ] });
11
11
  };
12
12
  export {
13
+ ValueField,
13
14
  ValueField as default
14
15
  };
15
16
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":["../../../../src/components/value-field/value-field.tsx"],"sourcesContent":["import { Box } from \"@mui/material\";\nimport Typography from \"../typography/typography\";\nimport \"./value-field.scss\";\n\ninterface ValueFieldProps {\n label: string;\n children: React.ReactNode;\n childrenTypoProps?:any\n}\n\nconst ValueField = (props: ValueFieldProps) => {\n const { label, children, childrenTypoProps } = props;\n\n return (\n <Box className=\"valueField--Container\" >\n <Typography weight={\"medium\"} type=\"s5\" color={\"theme.secondary.700\"}>\n {label}\n </Typography>\n <Typography weight={\"medium\"} type=\"s3\" color={\"theme.secondary.1000\"} sx={{ wordBreak:'break-all', pr: 1 }} {...childrenTypoProps}>\n {children}\n </Typography>\n </Box>\n );\n};\n\nexport default ValueField;\n"],"names":[],"mappings":";;;;AAUA,MAAM,aAAa,CAAC,UAA2B;AAC7C,QAAM,EAAE,OAAO,UAAU,kBAAA,IAAsB;AAE/C,SACE,qBAAC,KAAA,EAAK,WAAU,yBACd,UAAA;AAAA,IAAA,oBAAC,cAAW,QAAQ,UAAU,MAAK,MAAK,OAAO,uBAC5C,UAAA,MAAA,CACH;AAAA,wBACC,YAAA,EAAW,QAAQ,UAAU,MAAK,MAAK,OAAO,wBAAwB,IAAI,EAAE,WAAU,aAAa,IAAI,KAAM,GAAG,mBAC9G,SAAA,CACH;AAAA,EAAA,GACF;AAEJ;"}
1
+ {"version":3,"file":"index.esm.js","sources":["../../../../src/components/value-field/value-field.tsx"],"sourcesContent":["import { Box } from \"@mui/material\";\nimport Typography from \"../typography/typography\";\nimport \"./value-field.scss\";\n\ninterface ValueFieldProps {\n label: string;\n children: React.ReactNode;\n childrenTypoProps?:any\n}\n\nconst ValueField = (props: ValueFieldProps) => {\n const { label, children, childrenTypoProps } = props;\n\n return (\n <Box className=\"valueField--Container\" >\n <Typography weight={\"medium\"} type=\"s5\" color={\"theme.secondary.700\"}>\n {label}\n </Typography>\n <Typography weight={\"medium\"} type=\"s3\" color={\"theme.secondary.1000\"} sx={{ wordBreak:'break-all', pr: 1 }} {...childrenTypoProps}>\n {children}\n </Typography>\n </Box>\n );\n};\n\nexport { ValueField };\nexport default ValueField;\n"],"names":[],"mappings":";;;;AAUA,MAAM,aAAa,CAAC,UAA2B;AAC7C,QAAM,EAAE,OAAO,UAAU,kBAAA,IAAsB;AAE/C,SACE,qBAAC,KAAA,EAAK,WAAU,yBACd,UAAA;AAAA,IAAA,oBAAC,cAAW,QAAQ,UAAU,MAAK,MAAK,OAAO,uBAC5C,UAAA,MAAA,CACH;AAAA,wBACC,YAAA,EAAW,QAAQ,UAAU,MAAK,MAAK,OAAO,wBAAwB,IAAI,EAAE,WAAU,aAAa,IAAI,KAAM,GAAG,mBAC9G,SAAA,CACH;AAAA,EAAA,GACF;AAEJ;"}
@@ -1,5 +1,5 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=;/* empty css */;/* empty css */var s=;/* empty css */exports.default=i=>{const{label:a,children:o,childrenTypoProps:l}=i;/* @__PURE__ */
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=;/* empty css */;/* empty css */var s=;/* empty css */const i=i=>{const{label:o,children:a,childrenTypoProps:l}=i;/* @__PURE__ */
2
2
  return e.jsxs(s.default,{className:"valueField--Container",children:[
3
- /* @__PURE__ */e.jsx(r.Typography,{weight:"medium",type:"s5",color:"theme.secondary.700",children:a}),
4
- /* @__PURE__ */e.jsx(r.Typography,{weight:"medium",type:"s3",color:"theme.secondary.1000",sx:{wordBreak:"break-all",pr:1},...l,children:o})]})};
3
+ /* @__PURE__ */e.jsx(r.Typography,{weight:"medium",type:"s5",color:"theme.secondary.700",children:o}),
4
+ /* @__PURE__ */e.jsx(r.Typography,{weight:"medium",type:"s3",color:"theme.secondary.1000",sx:{wordBreak:"break-all",pr:1},...l,children:a})]})};exports.ValueField=i,exports.default=i;
5
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/value-field/value-field.tsx"],"sourcesContent":["import { Box } from \"@mui/material\";\nimport Typography from \"../typography/typography\";\nimport \"./value-field.scss\";\n\ninterface ValueFieldProps {\n label: string;\n children: React.ReactNode;\n childrenTypoProps?:any\n}\n\nconst ValueField = (props: ValueFieldProps) => {\n const { label, children, childrenTypoProps } = props;\n\n return (\n <Box className=\"valueField--Container\" >\n <Typography weight={\"medium\"} type=\"s5\" color={\"theme.secondary.700\"}>\n {label}\n </Typography>\n <Typography weight={\"medium\"} type=\"s3\" color={\"theme.secondary.1000\"} sx={{ wordBreak:'break-all', pr: 1 }} {...childrenTypoProps}>\n {children}\n </Typography>\n </Box>\n );\n};\n\nexport default ValueField;\n"],"names":["props","label","children","childrenTypoProps","jsxs","Box","className","jsx","Typography","weight","type","color","sx","wordBreak","pr"],"mappings":"uRAUoBA,IAClB,MAAMC,MAAEA,EAAAC,SAAOA,EAAAC,kBAAUA,GAAsBH;AAE/C,SACEI,KAACC,EAAAA,QAAA,CAAKC,UAAU,wBACdJ,SAAA;eAAAK,EAAAA,IAACC,EAAAA,YAAWC,OAAQ,SAAUC,KAAK,KAAKC,MAAO,sBAC5CT,SAAAD;qBAEFO,EAAAA,WAAA,CAAWC,OAAQ,SAAUC,KAAK,KAAKC,MAAO,uBAAwBC,GAAI,CAAEC,UAAU,YAAaC,GAAI,MAASX,EAC9GD"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/value-field/value-field.tsx"],"sourcesContent":["import { Box } from \"@mui/material\";\nimport Typography from \"../typography/typography\";\nimport \"./value-field.scss\";\n\ninterface ValueFieldProps {\n label: string;\n children: React.ReactNode;\n childrenTypoProps?:any\n}\n\nconst ValueField = (props: ValueFieldProps) => {\n const { label, children, childrenTypoProps } = props;\n\n return (\n <Box className=\"valueField--Container\" >\n <Typography weight={\"medium\"} type=\"s5\" color={\"theme.secondary.700\"}>\n {label}\n </Typography>\n <Typography weight={\"medium\"} type=\"s3\" color={\"theme.secondary.1000\"} sx={{ wordBreak:'break-all', pr: 1 }} {...childrenTypoProps}>\n {children}\n </Typography>\n </Box>\n );\n};\n\nexport { ValueField };\nexport default ValueField;\n"],"names":["ValueField","props","label","children","childrenTypoProps","jsxs","Box","className","jsx","Typography","weight","type","color","sx","wordBreak","pr"],"mappings":"uQAUA,MAAMA,EAAcC,IAClB,MAAMC,MAAEA,EAAAC,SAAOA,EAAAC,kBAAUA,GAAsBH;AAE/C,SACEI,KAACC,EAAAA,QAAA,CAAKC,UAAU,wBACdJ,SAAA;eAAAK,EAAAA,IAACC,EAAAA,YAAWC,OAAQ,SAAUC,KAAK,KAAKC,MAAO,sBAC5CT,SAAAD;qBAEFO,EAAAA,WAAA,CAAWC,OAAQ,SAAUC,KAAK,KAAKC,MAAO,uBAAwBC,GAAI,CAAEC,UAAU,YAAaC,GAAI,MAASX,EAC9GD"}
@@ -0,0 +1,9 @@
1
+
2
+ interface ValueFieldProps {
3
+ label: string;
4
+ children: React.ReactNode;
5
+ childrenTypoProps?: any;
6
+ }
7
+ declare const ValueField: (props: ValueFieldProps) => import("react/jsx-runtime").JSX.Element;
8
+ export { ValueField };
9
+ export default ValueField;
@@ -0,0 +1,2 @@
1
+ export { default as ViewModal } from './view-modal';
2
+ export * from './view-modal';
@@ -1,13 +1,13 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
- import Button from "../../button/button/index.esm.js";
2
+ import { Button } from "../../button/button/index.esm.js";
3
3
  import default_1 from "../../../node_modules/@mui/icons-material/Add/index.esm.js";
4
4
  /* empty css */
5
5
  import { useState } from "react";
6
- import Modal from "../../modal/modal/index.esm.js";
6
+ import { Modal } from "../../modal/modal/index.esm.js";
7
7
  import { Typography } from "../../typography/typography/index.esm.js";
8
8
  import default_1$1 from "../../../node_modules/@mui/icons-material/Close/index.esm.js";
9
9
  import { images } from "../../../images/index.esm.js";
10
- import Select from "../../select/select/index.esm.js";
10
+ import { Select } from "../../select/select/index.esm.js";
11
11
  import viewTypes from "../../../constants/action-bar/index.esm.js";
12
12
  import useTheme from "../../../node_modules/@mui/material/styles/useTheme/index.esm.js";
13
13
  import useMediaQuery from "../../../node_modules/@mui/system/esm/useMediaQuery/useMediaQuery/index.esm.js";
@@ -196,6 +196,7 @@ const ViewModal = (props) => {
196
196
  ] });
197
197
  };
198
198
  export {
199
+ ViewModal,
199
200
  ViewModal as default
200
201
  };
201
202
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":["../../../../src/components/view-modal/view-modal.tsx"],"sourcesContent":["import Button from \"../button/button\";\nimport AddIcon from \"@mui/icons-material/Add\";\nimport \"./view-modal.scss\";\nimport { useState } from \"react\";\nimport Modal from \"../modal/modal\";\nimport {\n DialogActions,\n DialogTitle,\n IconButton,\n MenuItem,\n Tab,\n Tabs,\n useMediaQuery,\n useTheme,\n} from \"@mui/material\";\nimport Typography from \"../typography/typography\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport logo from \"../../assets/images\";\nimport Select from \"../select/select\";\nimport viewTypes from \"../../constants/action-bar\";\n\ninterface ActionData {\n label: string;\n position: number;\n}\ninterface ModalPropsType {\n setData: React.Dispatch<React.SetStateAction<ActionData[]>>;\n data: Array<object>;\n setActive: React.Dispatch<React.SetStateAction<string>>;\n disabledViews?: string[]\n}\n\nconst ViewModal = (props: ModalPropsType) => {\n const { data, setData, setActive, disabledViews = [] } = props;\n const [openModal, setOpenModal] = useState(false);\n const [value, setValue] = useState(\"Table\");\n const [disable, setDisable] = useState(false);\n const theme = useTheme();\n const isMdUp = useMediaQuery(theme.breakpoints.up('lg'));\n const handleTabChange = (_: React.SyntheticEvent, newValue: string) => {\n setValue(newValue);\n setDisable(\n Boolean(\n data.find(\n (item: any) => item.label.toLowerCase() === newValue.toLowerCase(),\n ),\n ),\n );\n };\n\n const TabData = [\n {\n label: \"Table\",\n icon: <logo.TableIcon />,\n desc: \"Easily manage, update, and organize your tasks with Table view.\",\n image: <img src={logo.table} />,\n },\n {\n label: \"Grid\",\n icon: <logo.GridIcon />,\n desc: \"Grid of cards, use for mood boards, index cards, and recipes\",\n image: <img src={logo.grid} />,\n },\n // {\n // label: \"Kanban\",\n // icon: <logo.KanbanIcon />,\n // desc: \"Build your perfect Board and easily drag-and-drop tasks between columns.\",\n // image: <img src={logo.kanban} />,\n // },\n // {\n // label: \"Calendar\",\n // icon: <logo.CalenderIcon />,\n // desc: \"Calendar view is your place for planning, scheduling, and resource management.\",\n // image: <img src={logo.calendar} />,\n // },\n // {\n // label: \"Gantt\",\n // icon: <logo.GanttIcon />,\n // desc: \"Plan time, manage resources, visualize dependencies and more with Gantt view.\",\n // image: <img src={logo.gantt} />,\n // },\n ];\n\n const handleSubmit = () => {\n const selectedTabData = TabData.find(\n (data) => data.label.toLowerCase() === value.toLowerCase(),\n );\n if (selectedTabData?.label) {\n if (\n !data.some(\n (item: any) => item.label.toLowerCase() === value.toLowerCase(),\n )\n ) {\n setData([\n ...(data as ActionData[]),\n { label: selectedTabData.label, position: data.length },\n ]);\n\n setActive(selectedTabData?.label);\n setOpenModal(false);\n }\n }\n };\n\n return (\n <div className=\"view-modal\">\n <div className=\"view-modal--Header\">\n |\n <Button\n variant=\"text\"\n startIcon={<AddIcon />}\n sx={isMdUp ? {} : { pr:0 }}\n onClick={() => {\n setOpenModal(true);\n setDisable(\n Boolean(\n data.find(\n (item: any) =>\n item.label.toLowerCase() === value.toLowerCase(),\n ),\n ),\n );\n }}\n >\n {isMdUp ? 'View' : ''}\n </Button>\n </div>\n <Modal\n open={openModal}\n onClose={() => setOpenModal(false)}\n className=\"view-modal\"\n >\n <DialogTitle className=\"view-modal--Head\">\n <Typography type=\"s3\" weight=\"medium\" color=\"#000\">\n Add View\n </Typography>\n <IconButton onClick={() => setOpenModal(false)}>\n <CloseIcon fontSize=\"small\"/>\n </IconButton>\n </DialogTitle>\n\n <div className=\"view-modal--TabsContent\">\n <Tabs\n orientation=\"vertical\"\n value={value}\n onChange={handleTabChange}\n className=\"view-modal--Tab\"\n >\n {TabData &&\n TabData?.map((data) => (\n <Tab\n key={data.label}\n label={`${data?.label} View`}\n iconPosition=\"start\"\n icon={data?.icon}\n value={data.label}\n className=\"view-modal--Tabs\"\n disabled={Boolean(disabledViews?.includes(data.label))}\n />\n ))}\n </Tabs>\n {TabData.map((data) => (\n <div\n key={data.label}\n hidden={value !== data.label}\n className=\"view-modal--TabData\"\n >\n {data.image}\n <div className=\"view-modal--Desc\">\n <Typography type=\"s1\" color={\"theme.secondary.1000\"}>\n {data?.label} Views\n </Typography>\n <Typography type=\"s4\" color={\"theme.secondary.800\"}>\n {data.desc}\n </Typography>\n {(data?.label === viewTypes.KANBAN ||\n data?.label === viewTypes.CALENDAR) && (\n <div className=\"view-modal--BoardContainer\">\n <Typography type=\"s4\" color=\"theme.secondary.900\">\n Group Board by\n </Typography>\n <Select\n placeholder=\"Status\"\n size={\"small\"}\n defaultValue={1}\n className=\"view-modal--Select\"\n variant=\"outlined\"\n >\n <MenuItem value={1}>option 1</MenuItem>\n <MenuItem value={2}>option 2</MenuItem>\n </Select>\n </div>\n )}\n </div>\n </div>\n ))}\n </div>\n <DialogActions\n className=\"view-modal--Actions\"\n sx={{ backgroundColor: \"theme.secondary.200\" }}\n >\n <Button variant=\"text\" onClick={() => setOpenModal(false)}>\n Cancel\n </Button>\n <Button variant=\"contained\" onClick={handleSubmit} disabled={disable}>\n Add {value} View\n </Button>\n </DialogActions>\n </Modal>\n </div>\n );\n};\n\nexport default ViewModal;\n"],"names":["logo","data","AddIcon","CloseIcon"],"mappings":";;;;;;;;;;;;;;;;;;;AAgCA,MAAM,YAAY,CAAC,UAA0B;AAC3C,QAAM,EAAE,MAAM,SAAS,WAAW,gBAAgB,CAAA,MAAO;AACzD,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS,KAAK;AAChD,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAS,OAAO;AAC1C,QAAM,CAAC,SAAS,UAAU,IAAI,SAAS,KAAK;AAC5C,QAAM,QAAQ,SAAA;AACd,QAAM,SAAS,cAAc,MAAM,YAAY,GAAG,IAAI,CAAC;AACvD,QAAM,kBAAkB,CAAC,GAAyB,aAAqB;AACrE,aAAS,QAAQ;AACjB;AAAA,MACE;AAAA,QACE,KAAK;AAAA,UACH,CAAC,SAAc,KAAK,MAAM,YAAA,MAAkB,SAAS,YAAA;AAAA,QAAY;AAAA,MACnE;AAAA,IACF;AAAA,EAEJ;AAEA,QAAM,UAAU;AAAA,IACd;AAAA,MACE,OAAO;AAAA,MACP,MAAM,oBAACA,OAAK,WAAL,CAAA,CAAe;AAAA,MACtB,MAAM;AAAA,MACN,OAAO,oBAAC,OAAA,EAAI,KAAKA,OAAK,MAAA,CAAO;AAAA,IAAA;AAAA,IAE/B;AAAA,MACE,OAAO;AAAA,MACP,MAAM,oBAACA,OAAK,UAAL,CAAA,CAAc;AAAA,MACrB,MAAM;AAAA,MACN,OAAO,oBAAC,OAAA,EAAI,KAAKA,OAAK,KAAA,CAAM;AAAA,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA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,sBACA;AAAA,wBAAC;AAAA,wBAAA;AAAA,0BACC,aAAY;AAAA,0BACZ,MAAM;AAAA,0BACN,cAAc;AAAA,0BACd,WAAU;AAAA,0BACV,SAAQ;AAAA,0BAER,UAAA;AAAA,4BAAA,oBAAC,UAAA,EAAS,OAAO,GAAG,UAAA,YAAQ;AAAA,4BAC5B,oBAAC,UAAA,EAAS,OAAO,GAAG,UAAA,WAAA,CAAQ;AAAA,0BAAA;AAAA,wBAAA;AAAA,sBAAA;AAAA,oBAC9B,EAAA,CACF;AAAA,kBAAA,EAAA,CAEJ;AAAA,gBAAA;AAAA,cAAA;AAAA,cA9BKA,MAAK;AAAA,YAAA,CAgCb;AAAA,UAAA,GACH;AAAA,UACA;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,WAAU;AAAA,cACV,IAAI,EAAE,iBAAiB,sBAAA;AAAA,cAEvB,UAAA;AAAA,gBAAA,oBAAC,QAAA,EAAO,SAAQ,QAAO,SAAS,MAAM,aAAa,KAAK,GAAG,UAAA,SAAA,CAE3D;AAAA,qCACC,QAAA,EAAO,SAAQ,aAAY,SAAS,cAAc,UAAU,SAAS,UAAA;AAAA,kBAAA;AAAA,kBAC/D;AAAA,kBAAM;AAAA,gBAAA,EAAA,CACb;AAAA,cAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EACF,GACF;AAEJ;"}
1
+ {"version":3,"file":"index.esm.js","sources":["../../../../src/components/view-modal/view-modal.tsx"],"sourcesContent":["import Button from \"../button/button\";\nimport AddIcon from \"@mui/icons-material/Add\";\nimport \"./view-modal.scss\";\nimport { useState } from \"react\";\nimport Modal from \"../modal/modal\";\nimport {\n DialogActions,\n DialogTitle,\n IconButton,\n MenuItem,\n Tab,\n Tabs,\n useMediaQuery,\n useTheme,\n} from \"@mui/material\";\nimport Typography from \"../typography/typography\";\nimport CloseIcon from \"@mui/icons-material/Close\";\nimport logo from \"../../assets/images\";\nimport Select from \"../select/select\";\nimport viewTypes from \"../../constants/action-bar\";\n\ninterface ActionData {\n label: string;\n position: number;\n}\ninterface ModalPropsType {\n setData: React.Dispatch<React.SetStateAction<ActionData[]>>;\n data: Array<object>;\n setActive: React.Dispatch<React.SetStateAction<string>>;\n disabledViews?: string[]\n}\n\nconst ViewModal = (props: ModalPropsType) => {\n const { data, setData, setActive, disabledViews = [] } = props;\n const [openModal, setOpenModal] = useState(false);\n const [value, setValue] = useState(\"Table\");\n const [disable, setDisable] = useState(false);\n const theme = useTheme();\n const isMdUp = useMediaQuery(theme.breakpoints.up('lg'));\n const handleTabChange = (_: React.SyntheticEvent, newValue: string) => {\n setValue(newValue);\n setDisable(\n Boolean(\n data.find(\n (item: any) => item.label.toLowerCase() === newValue.toLowerCase(),\n ),\n ),\n );\n };\n\n const TabData = [\n {\n label: \"Table\",\n icon: <logo.TableIcon />,\n desc: \"Easily manage, update, and organize your tasks with Table view.\",\n image: <img src={logo.table} />,\n },\n {\n label: \"Grid\",\n icon: <logo.GridIcon />,\n desc: \"Grid of cards, use for mood boards, index cards, and recipes\",\n image: <img src={logo.grid} />,\n },\n // {\n // label: \"Kanban\",\n // icon: <logo.KanbanIcon />,\n // desc: \"Build your perfect Board and easily drag-and-drop tasks between columns.\",\n // image: <img src={logo.kanban} />,\n // },\n // {\n // label: \"Calendar\",\n // icon: <logo.CalenderIcon />,\n // desc: \"Calendar view is your place for planning, scheduling, and resource management.\",\n // image: <img src={logo.calendar} />,\n // },\n // {\n // label: \"Gantt\",\n // icon: <logo.GanttIcon />,\n // desc: \"Plan time, manage resources, visualize dependencies and more with Gantt view.\",\n // image: <img src={logo.gantt} />,\n // },\n ];\n\n const handleSubmit = () => {\n const selectedTabData = TabData.find(\n (data) => data.label.toLowerCase() === value.toLowerCase(),\n );\n if (selectedTabData?.label) {\n if (\n !data.some(\n (item: any) => item.label.toLowerCase() === value.toLowerCase(),\n )\n ) {\n setData([\n ...(data as ActionData[]),\n { label: selectedTabData.label, position: data.length },\n ]);\n\n setActive(selectedTabData?.label);\n setOpenModal(false);\n }\n }\n };\n\n return (\n <div className=\"view-modal\">\n <div className=\"view-modal--Header\">\n |\n <Button\n variant=\"text\"\n startIcon={<AddIcon />}\n sx={isMdUp ? {} : { pr:0 }}\n onClick={() => {\n setOpenModal(true);\n setDisable(\n Boolean(\n data.find(\n (item: any) =>\n item.label.toLowerCase() === value.toLowerCase(),\n ),\n ),\n );\n }}\n >\n {isMdUp ? 'View' : ''}\n </Button>\n </div>\n <Modal\n open={openModal}\n onClose={() => setOpenModal(false)}\n className=\"view-modal\"\n >\n <DialogTitle className=\"view-modal--Head\">\n <Typography type=\"s3\" weight=\"medium\" color=\"#000\">\n Add View\n </Typography>\n <IconButton onClick={() => setOpenModal(false)}>\n <CloseIcon fontSize=\"small\"/>\n </IconButton>\n </DialogTitle>\n\n <div className=\"view-modal--TabsContent\">\n <Tabs\n orientation=\"vertical\"\n value={value}\n onChange={handleTabChange}\n className=\"view-modal--Tab\"\n >\n {TabData &&\n TabData?.map((data) => (\n <Tab\n key={data.label}\n label={`${data?.label} View`}\n iconPosition=\"start\"\n icon={data?.icon}\n value={data.label}\n className=\"view-modal--Tabs\"\n disabled={Boolean(disabledViews?.includes(data.label))}\n />\n ))}\n </Tabs>\n {TabData.map((data) => (\n <div\n key={data.label}\n hidden={value !== data.label}\n className=\"view-modal--TabData\"\n >\n {data.image}\n <div className=\"view-modal--Desc\">\n <Typography type=\"s1\" color={\"theme.secondary.1000\"}>\n {data?.label} Views\n </Typography>\n <Typography type=\"s4\" color={\"theme.secondary.800\"}>\n {data.desc}\n </Typography>\n {(data?.label === viewTypes.KANBAN ||\n data?.label === viewTypes.CALENDAR) && (\n <div className=\"view-modal--BoardContainer\">\n <Typography type=\"s4\" color=\"theme.secondary.900\">\n Group Board by\n </Typography>\n <Select\n placeholder=\"Status\"\n size={\"small\"}\n defaultValue={1}\n className=\"view-modal--Select\"\n variant=\"outlined\"\n >\n <MenuItem value={1}>option 1</MenuItem>\n <MenuItem value={2}>option 2</MenuItem>\n </Select>\n </div>\n )}\n </div>\n </div>\n ))}\n </div>\n <DialogActions\n className=\"view-modal--Actions\"\n sx={{ backgroundColor: \"theme.secondary.200\" }}\n >\n <Button variant=\"text\" onClick={() => setOpenModal(false)}>\n Cancel\n </Button>\n <Button variant=\"contained\" onClick={handleSubmit} disabled={disable}>\n Add {value} View\n </Button>\n </DialogActions>\n </Modal>\n </div>\n );\n};\n\nexport { ViewModal };\nexport default ViewModal;\n"],"names":["logo","data","AddIcon","CloseIcon"],"mappings":";;;;;;;;;;;;;;;;;;;AAgCA,MAAM,YAAY,CAAC,UAA0B;AAC3C,QAAM,EAAE,MAAM,SAAS,WAAW,gBAAgB,CAAA,MAAO;AACzD,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS,KAAK;AAChD,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAS,OAAO;AAC1C,QAAM,CAAC,SAAS,UAAU,IAAI,SAAS,KAAK;AAC5C,QAAM,QAAQ,SAAA;AACd,QAAM,SAAS,cAAc,MAAM,YAAY,GAAG,IAAI,CAAC;AACvD,QAAM,kBAAkB,CAAC,GAAyB,aAAqB;AACrE,aAAS,QAAQ;AACjB;AAAA,MACE;AAAA,QACE,KAAK;AAAA,UACH,CAAC,SAAc,KAAK,MAAM,YAAA,MAAkB,SAAS,YAAA;AAAA,QAAY;AAAA,MACnE;AAAA,IACF;AAAA,EAEJ;AAEA,QAAM,UAAU;AAAA,IACd;AAAA,MACE,OAAO;AAAA,MACP,MAAM,oBAACA,OAAK,WAAL,CAAA,CAAe;AAAA,MACtB,MAAM;AAAA,MACN,OAAO,oBAAC,OAAA,EAAI,KAAKA,OAAK,MAAA,CAAO;AAAA,IAAA;AAAA,IAE/B;AAAA,MACE,OAAO;AAAA,MACP,MAAM,oBAACA,OAAK,UAAL,CAAA,CAAc;AAAA,MACrB,MAAM;AAAA,MACN,OAAO,oBAAC,OAAA,EAAI,KAAKA,OAAK,KAAA,CAAM;AAAA,IAAA;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