@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.esm.js","sources":["../../../../src/components/phone-input/phone-input.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable unused-imports/no-unused-vars */\nimport { styled } from \"@mui/material\";\nimport Typography from \"../typography/typography\";\nimport ReactPhoneInput, { CountryData } from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/material.css\";\nimport { images } from \"../../assets/images\";\nimport { useLanguage } from \"../../hooks/useLangauge\";\nimport { memo, useEffect } from \"react\";\n\nconst StyledInput = styled(ReactPhoneInput)<{ isRtl: boolean }>(({ theme: { palette }, isRtl }) => ({\n \"&:hover\": {\n border: \"none\",\n },\n \"&.react-tel-input\": {\n \".form-control\": {\n borderRadius: \"0.25rem\",\n padding: \"8px 8px 8px 55px\", // Ensure space for flag on the left\n border: `1px solid ${palette.theme?.secondary[300]}`,\n fontSize: \"0.875rem\",\n width: \"100%\",\n maxHeight: \"36.13px\",\n direction: \"ltr\", // Force LTR direction for input to start from left\n textAlign: \"left\", // Force left alignment for input value\n\n \":hover\": {\n border: `1px solid ${palette.theme?.secondary[400]}`,\n },\n\n \":focus\": {\n border: `1px solid ${palette.theme?.primary[600]}`,\n boxShadow: \"none\",\n },\n \":disabled\": {\n background: palette.theme?.secondary[200],\n color: palette.theme?.secondary[800],\n },\n\n \"&.invalid-number\": {\n border: `1px solid ${palette.theme?.error[600]}`,\n \":focus\": {\n boxShadow: \"none\",\n },\n },\n },\n\n \".flag-dropdown\": {\n left: \"0\",\n right: \"auto\",\n borderRadius: \"0.25rem 0 0 0.25rem\",\n \n \".selected-flag\": {\n borderRadius: \"0.25rem 0 0 0.25rem\",\n \n \"&:hover\": {\n backgroundColor: palette.theme?.secondary[100],\n },\n },\n },\n \n \".country-list\": {\n left: isRtl ? \"auto\" : \"0\",\n right: isRtl ? \"0\" : \"auto\",\n \n \".search\": {\n padding: \"0.5rem 0.5rem 0.5rem 0.75rem\",\n borderBottom: \"1px solid #F3F2F2\",\n display: \"flex\",\n alignItems: \"center\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n\n \".search-emoji\": {\n position: \"absolute\",\n left: isRtl ? \"auto\" : \"1.25rem\",\n right: isRtl ? \"1.25rem\" : \"auto\",\n\n \":first-child\": {\n display: \"block\",\n color: \"transparent\",\n background: `url(${images.search})`,\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n },\n },\n\n \".search-box\": {\n width: \"100%\",\n marginLeft: \"0rem\",\n border: `1px solid ${palette.theme?.secondary[200]}`,\n backgroundColor: palette.theme?.secondary[100],\n borderRadius: \"0.5rem\",\n padding: \"0.4rem\",\n paddingLeft: isRtl ? \"0.4rem\" : \"2rem\",\n paddingRight: isRtl ? \"2rem\" : \"0.4rem\",\n fontSize: \"0.8125rem\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n textAlign: isRtl ? \"right\" : \"left\",\n\n \":hover\": {\n border: `1px solid ${palette.theme?.secondary[300]}`,\n },\n\n \":focus\": {\n border: `1px solid ${palette.theme?.primary[600]}`,\n },\n },\n },\n\n \".country\": {\n fontSize: \"0.8125rem\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n textAlign: isRtl ? \"right\" : \"left\",\n\n \".dial-code\": {\n fontSize: \"0.75rem\",\n position: \"absolute\",\n right: isRtl ? \"auto\" : \"0.5rem\",\n left: isRtl ? \"0.5rem\" : \"auto\",\n },\n },\n },\n },\n}));\n\ninterface IPhoneInput {\n error?: boolean;\n name?: string;\n dataPosition?: number;\n dataName?: string;\n label: string;\n required?: boolean;\n placeholder?: string;\n default_value?: string;\n onChange?: (e: any) => void;\n disabled?: boolean;\n setCountryCodeField?: (country: CountryData) => void;\n helperText?: string;\n isInlineEditing?:boolean\n}\n\nfunction fixPhoneDropdown() {\n let dropdown, input;\n\n const positionDropdown = () => {\n if (!dropdown || !input) return;\n const rect = input.getBoundingClientRect();\n\n dropdown.style.position = \"fixed\";\n dropdown.style.top = rect.bottom + \"px\";\n dropdown.style.left = rect.left + \"px\";\n dropdown.style.zIndex = \"2000\";\n };\n\n document.addEventListener(\"click\", () => {\n dropdown = document.querySelector(\".react-tel-input .country-list\");\n input = document.querySelector(\".react-tel-input input\");\n\n if (dropdown && input && !document.body.contains(dropdown)) {\n document.body.appendChild(dropdown);\n }\n\n positionDropdown();\n });\n\n // reposition on scroll (any container) and resize\n window.addEventListener(\"scroll\", positionDropdown, true); // true = capture all scrolls\n window.addEventListener(\"resize\", positionDropdown);\n}\n\n\nconst HelperTextWrapper = styled('div')(() => ({\n marginTop: '0.4rem',\n}));\n\nconst PhoneInput = memo(({\n name,\n error = false,\n dataName,\n dataPosition,\n label,\n required = false,\n placeholder,\n default_value,\n onChange,\n disabled,\n setCountryCodeField,\n helperText,\n isInlineEditing = false,\n ...rest\n}: IPhoneInput) => {\n const { isRtl } = useLanguage();\n\n useEffect(() => {\n if(isInlineEditing) {\n fixPhoneDropdown(isInlineEditing)\n }\n }, [isInlineEditing])\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 && <span className=\"requiredStar\">*</span>}\n </Typography>\n <StyledInput\n dropdownContainer={document.body}\n isRtl={isRtl}\n specialLabel={\"\"}\n enableSearch\n searchPlaceholder=\"Search Country\"\n isValid={!error}\n country={\"ae\"}\n searchNotFound=\"Not Found!\"\n inputProps={{\n name: name,\n required: required,\n }}\n placeholder={placeholder}\n value={default_value || rest?.value}\n onChange={(value, country) => {\n setCountryCodeField?.(country as CountryData);\n onChange?.(value);\n }}\n disabled={disabled}\n />\n {helperText && (\n <HelperTextWrapper>\n <Typography\n type=\"s5\"\n color={error ? \"theme.error.600\" : \"theme.secondary.600\"}\n >\n {helperText}\n </Typography>\n </HelperTextWrapper>\n )}\n </>\n );\n});\n\nexport default PhoneInput;"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"index.esm.js","sources":["../../../../src/components/phone-input/phone-input.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable unused-imports/no-unused-vars */\nimport { styled } from \"@mui/material\";\nimport Typography from \"../typography/typography\";\nimport ReactPhoneInput, { CountryData } from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/material.css\";\nimport { images } from \"../../assets/images\";\nimport { useLanguage } from \"../../hooks/useLangauge\";\nimport { memo, useEffect } from \"react\";\n\nconst StyledInput = styled(ReactPhoneInput)<{ isRtl: boolean }>(({ theme: { palette }, isRtl }) => ({\n \"&:hover\": {\n border: \"none\",\n },\n \"&.react-tel-input\": {\n \".form-control\": {\n borderRadius: \"0.25rem\",\n padding: \"8px 8px 8px 55px\", // Ensure space for flag on the left\n border: `1px solid ${palette.theme?.secondary[300]}`,\n fontSize: \"0.875rem\",\n width: \"100%\",\n maxHeight: \"36.13px\",\n direction: \"ltr\", // Force LTR direction for input to start from left\n textAlign: \"left\", // Force left alignment for input value\n\n \":hover\": {\n border: `1px solid ${palette.theme?.secondary[400]}`,\n },\n\n \":focus\": {\n border: `1px solid ${palette.theme?.primary[600]}`,\n boxShadow: \"none\",\n },\n \":disabled\": {\n background: palette.theme?.secondary[200],\n color: palette.theme?.secondary[800],\n },\n\n \"&.invalid-number\": {\n border: `1px solid ${palette.theme?.error[600]}`,\n \":focus\": {\n boxShadow: \"none\",\n },\n },\n },\n\n \".flag-dropdown\": {\n left: \"0\",\n right: \"auto\",\n borderRadius: \"0.25rem 0 0 0.25rem\",\n \n \".selected-flag\": {\n borderRadius: \"0.25rem 0 0 0.25rem\",\n \n \"&:hover\": {\n backgroundColor: palette.theme?.secondary[100],\n },\n },\n },\n \n \".country-list\": {\n left: isRtl ? \"auto\" : \"0\",\n right: isRtl ? \"0\" : \"auto\",\n \n \".search\": {\n padding: \"0.5rem 0.5rem 0.5rem 0.75rem\",\n borderBottom: \"1px solid #F3F2F2\",\n display: \"flex\",\n alignItems: \"center\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n\n \".search-emoji\": {\n position: \"absolute\",\n left: isRtl ? \"auto\" : \"1.25rem\",\n right: isRtl ? \"1.25rem\" : \"auto\",\n\n \":first-child\": {\n display: \"block\",\n color: \"transparent\",\n background: `url(${images.search})`,\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n },\n },\n\n \".search-box\": {\n width: \"100%\",\n marginLeft: \"0rem\",\n border: `1px solid ${palette.theme?.secondary[200]}`,\n backgroundColor: palette.theme?.secondary[100],\n borderRadius: \"0.5rem\",\n padding: \"0.4rem\",\n paddingLeft: isRtl ? \"0.4rem\" : \"2rem\",\n paddingRight: isRtl ? \"2rem\" : \"0.4rem\",\n fontSize: \"0.8125rem\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n textAlign: isRtl ? \"right\" : \"left\",\n\n \":hover\": {\n border: `1px solid ${palette.theme?.secondary[300]}`,\n },\n\n \":focus\": {\n border: `1px solid ${palette.theme?.primary[600]}`,\n },\n },\n },\n\n \".country\": {\n fontSize: \"0.8125rem\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n textAlign: isRtl ? \"right\" : \"left\",\n\n \".dial-code\": {\n fontSize: \"0.75rem\",\n position: \"absolute\",\n right: isRtl ? \"auto\" : \"0.5rem\",\n left: isRtl ? \"0.5rem\" : \"auto\",\n },\n },\n },\n },\n}));\n\ninterface IPhoneInput {\n error?: boolean;\n name?: string;\n dataPosition?: number;\n dataName?: string;\n label: string;\n required?: boolean;\n placeholder?: string;\n default_value?: string;\n onChange?: (e: any) => void;\n disabled?: boolean;\n setCountryCodeField?: (country: CountryData) => void;\n helperText?: string;\n isInlineEditing?:boolean\n}\n\nfunction fixPhoneDropdown() {\n let dropdown, input;\n\n const positionDropdown = () => {\n if (!dropdown || !input) return;\n const rect = input.getBoundingClientRect();\n\n dropdown.style.position = \"fixed\";\n dropdown.style.top = rect.bottom + \"px\";\n dropdown.style.left = rect.left + \"px\";\n dropdown.style.zIndex = \"2000\";\n };\n\n document.addEventListener(\"click\", () => {\n dropdown = document.querySelector(\".react-tel-input .country-list\");\n input = document.querySelector(\".react-tel-input input\");\n\n if (dropdown && input && !document.body.contains(dropdown)) {\n document.body.appendChild(dropdown);\n }\n\n positionDropdown();\n });\n\n // reposition on scroll (any container) and resize\n window.addEventListener(\"scroll\", positionDropdown, true); // true = capture all scrolls\n window.addEventListener(\"resize\", positionDropdown);\n}\n\n\nconst HelperTextWrapper = styled('div')(() => ({\n marginTop: '0.4rem',\n}));\n\nconst PhoneInput = memo(({\n name,\n error = false,\n dataName,\n dataPosition,\n label,\n required = false,\n placeholder,\n default_value,\n onChange,\n disabled,\n setCountryCodeField,\n helperText,\n isInlineEditing = false,\n ...rest\n}: IPhoneInput) => {\n const { isRtl } = useLanguage();\n\n useEffect(() => {\n if(isInlineEditing) {\n fixPhoneDropdown(isInlineEditing)\n }\n }, [isInlineEditing])\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 && <span className=\"requiredStar\">*</span>}\n </Typography>\n <StyledInput\n dropdownContainer={document.body}\n isRtl={isRtl}\n specialLabel={\"\"}\n enableSearch\n searchPlaceholder=\"Search Country\"\n isValid={!error}\n country={\"ae\"}\n searchNotFound=\"Not Found!\"\n inputProps={{\n name: name,\n required: required,\n }}\n placeholder={placeholder}\n value={default_value || rest?.value}\n onChange={(value, country) => {\n setCountryCodeField?.(country as CountryData);\n onChange?.(value);\n }}\n disabled={disabled}\n />\n {helperText && (\n <HelperTextWrapper>\n <Typography\n type=\"s5\"\n color={error ? \"theme.error.600\" : \"theme.secondary.600\"}\n >\n {helperText}\n </Typography>\n </HelperTextWrapper>\n )}\n </>\n );\n});\n\nexport { PhoneInput };\nexport default PhoneInput;"],"names":[],"mappings":"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"}
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("../../typography/typography/index.js"),t=require("react-phone-input-2"),o=require("../../../images/index.js"),d=require("../../../hooks/useLangauge/index.js"),n=require("react"),i=require("../../../node_modules/@mui/material/styles/styled/index.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=/* @__PURE__ */l(t);const s=i.default(a.default)(({theme:{palette:e},isRtl:r})=>{var t,d,n,i,l,a,s,u,c,m,p;return{"&:hover":{border:"none"},"&.react-tel-input":{".form-control":{borderRadius:"0.25rem",padding:"8px 8px 8px 55px",border:`1px solid ${null==(t=e.theme)?void 0:t.secondary[300]}`,fontSize:"0.875rem",width:"100%",maxHeight:"36.13px",direction:"ltr",textAlign:"left",":hover":{border:`1px solid ${null==(d=e.theme)?void 0:d.secondary[400]}`},":focus":{border:`1px solid ${null==(n=e.theme)?void 0:n.primary[600]}`,boxShadow:"none"},":disabled":{background:null==(i=e.theme)?void 0:i.secondary[200],color:null==(l=e.theme)?void 0:l.secondary[800]},"&.invalid-number":{border:`1px solid ${null==(a=e.theme)?void 0:a.error[600]}`,":focus":{boxShadow:"none"}}},".flag-dropdown":{left:"0",right:"auto",borderRadius:"0.25rem 0 0 0.25rem",".selected-flag":{borderRadius:"0.25rem 0 0 0.25rem","&:hover":{backgroundColor:null==(s=e.theme)?void 0:s.secondary[100]}}},".country-list":{left:r?"auto":"0",right:r?"0":"auto",".search":{padding:"0.5rem 0.5rem 0.5rem 0.75rem",borderBottom:"1px solid #F3F2F2",display:"flex",alignItems:"center",direction:r?"rtl":"ltr",".search-emoji":{position:"absolute",left:r?"auto":"1.25rem",right:r?"1.25rem":"auto",":first-child":{display:"block",color:"transparent",background:`url(${o.images.search})`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},".search-box":{width:"100%",marginLeft:"0rem",border:`1px solid ${null==(u=e.theme)?void 0:u.secondary[200]}`,backgroundColor:null==(c=e.theme)?void 0:c.secondary[100],borderRadius:"0.5rem",padding:"0.4rem",paddingLeft:r?"0.4rem":"2rem",paddingRight:r?"2rem":"0.4rem",fontSize:"0.8125rem",direction:r?"rtl":"ltr",textAlign:r?"right":"left",":hover":{border:`1px solid ${null==(m=e.theme)?void 0:m.secondary[300]}`},":focus":{border:`1px solid ${null==(p=e.theme)?void 0:p.primary[600]}`}}},".country":{fontSize:"0.8125rem",direction:r?"rtl":"ltr",textAlign:r?"right":"left",".dial-code":{fontSize:"0.75rem",position:"absolute",right:r?"auto":"0.5rem",left:r?"0.5rem":"auto"}}}}}}),u=i.default("div")(()=>({marginTop:"0.4rem"})),c=n.memo(({name:t,error:o=!1,dataName:i,dataPosition:l,label:a,required:c=!1,placeholder:m,default_value:p,onChange:h,disabled:g,setCountryCodeField:y,helperText:b,isInlineEditing:x=!1,...f})=>{const{isRtl:v}=d.useLanguage();return n.useEffect(()=>{x&&function(){let e,r;const t=()=>{if(!e||!r)return;const t=r.getBoundingClientRect();e.style.position="fixed",e.style.top=t.bottom+"px",e.style.left=t.left+"px",e.style.zIndex="2000"};document.addEventListener("click",()=>{e=document.querySelector(".react-tel-input .country-list"),r=document.querySelector(".react-tel-input input"),e&&r&&!document.body.contains(e)&&document.body.appendChild(e),t()}),window.addEventListener("scroll",t,!0),window.addEventListener("resize",t)}()},[x]),/* @__PURE__ */e.jsxs(e.Fragment,{children:[
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("../../typography/typography/index.js"),t=require("react-phone-input-2"),o=require("../../../images/index.js"),n=require("../../../hooks/useLangauge/index.js"),d=require("react"),i=require("../../../node_modules/@mui/material/styles/styled/index.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=/* @__PURE__ */l(t);const s=i.default(a.default)(({theme:{palette:e},isRtl:r})=>{var t,n,d,i,l,a,s,u,c,m,p;return{"&:hover":{border:"none"},"&.react-tel-input":{".form-control":{borderRadius:"0.25rem",padding:"8px 8px 8px 55px",border:`1px solid ${null==(t=e.theme)?void 0:t.secondary[300]}`,fontSize:"0.875rem",width:"100%",maxHeight:"36.13px",direction:"ltr",textAlign:"left",":hover":{border:`1px solid ${null==(n=e.theme)?void 0:n.secondary[400]}`},":focus":{border:`1px solid ${null==(d=e.theme)?void 0:d.primary[600]}`,boxShadow:"none"},":disabled":{background:null==(i=e.theme)?void 0:i.secondary[200],color:null==(l=e.theme)?void 0:l.secondary[800]},"&.invalid-number":{border:`1px solid ${null==(a=e.theme)?void 0:a.error[600]}`,":focus":{boxShadow:"none"}}},".flag-dropdown":{left:"0",right:"auto",borderRadius:"0.25rem 0 0 0.25rem",".selected-flag":{borderRadius:"0.25rem 0 0 0.25rem","&:hover":{backgroundColor:null==(s=e.theme)?void 0:s.secondary[100]}}},".country-list":{left:r?"auto":"0",right:r?"0":"auto",".search":{padding:"0.5rem 0.5rem 0.5rem 0.75rem",borderBottom:"1px solid #F3F2F2",display:"flex",alignItems:"center",direction:r?"rtl":"ltr",".search-emoji":{position:"absolute",left:r?"auto":"1.25rem",right:r?"1.25rem":"auto",":first-child":{display:"block",color:"transparent",background:`url(${o.images.search})`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},".search-box":{width:"100%",marginLeft:"0rem",border:`1px solid ${null==(u=e.theme)?void 0:u.secondary[200]}`,backgroundColor:null==(c=e.theme)?void 0:c.secondary[100],borderRadius:"0.5rem",padding:"0.4rem",paddingLeft:r?"0.4rem":"2rem",paddingRight:r?"2rem":"0.4rem",fontSize:"0.8125rem",direction:r?"rtl":"ltr",textAlign:r?"right":"left",":hover":{border:`1px solid ${null==(m=e.theme)?void 0:m.secondary[300]}`},":focus":{border:`1px solid ${null==(p=e.theme)?void 0:p.primary[600]}`}}},".country":{fontSize:"0.8125rem",direction:r?"rtl":"ltr",textAlign:r?"right":"left",".dial-code":{fontSize:"0.75rem",position:"absolute",right:r?"auto":"0.5rem",left:r?"0.5rem":"auto"}}}}}}),u=i.default("div")(()=>({marginTop:"0.4rem"})),c=d.memo(({name:t,error:o=!1,dataName:i,dataPosition:l,label:a,required:c=!1,placeholder:m,default_value:p,onChange:h,disabled:g,setCountryCodeField:y,helperText:x,isInlineEditing:b=!1,...f})=>{const{isRtl:v}=n.useLanguage();return d.useEffect(()=>{b&&function(){let e,r;const t=()=>{if(!e||!r)return;const t=r.getBoundingClientRect();e.style.position="fixed",e.style.top=t.bottom+"px",e.style.left=t.left+"px",e.style.zIndex="2000"};document.addEventListener("click",()=>{e=document.querySelector(".react-tel-input .country-list"),r=document.querySelector(".react-tel-input input"),e&&r&&!document.body.contains(e)&&document.body.appendChild(e),t()}),window.addEventListener("scroll",t,!0),window.addEventListener("resize",t)}()},[b]),/* @__PURE__ */e.jsxs(e.Fragment,{children:[
2
2
  /* @__PURE__ */e.jsxs(r.Typography,{type:"s5",weight:"medium",mb:.5,color:o?"theme.error.600":"theme.secondary.800","data-position":l,"data-name":i,children:[a," ",c&&/* @__PURE__ */e.jsx("span",{className:"requiredStar",children:"*"})]}),
3
- /* @__PURE__ */e.jsx(s,{dropdownContainer:document.body,isRtl:v,specialLabel:"",enableSearch:!0,searchPlaceholder:"Search Country",isValid:!o,country:"ae",searchNotFound:"Not Found!",inputProps:{name:t,required:c},placeholder:m,value:p||(null==f?void 0:f.value),onChange:(e,r)=>{null==y||y(r),null==h||h(e)},disabled:g}),b&&/* @__PURE__ */e.jsx(u,{children:/* @__PURE__ */e.jsx(r.Typography,{type:"s5",color:o?"theme.error.600":"theme.secondary.600",children:b})})]})});exports.default=c;
3
+ /* @__PURE__ */e.jsx(s,{dropdownContainer:document.body,isRtl:v,specialLabel:"",enableSearch:!0,searchPlaceholder:"Search Country",isValid:!o,country:"ae",searchNotFound:"Not Found!",inputProps:{name:t,required:c},placeholder:m,value:p||(null==f?void 0:f.value),onChange:(e,r)=>{null==y||y(r),null==h||h(e)},disabled:g}),x&&/* @__PURE__ */e.jsx(u,{children:/* @__PURE__ */e.jsx(r.Typography,{type:"s5",color:o?"theme.error.600":"theme.secondary.600",children:x})})]})});exports.PhoneInput=c,exports.default=c;
4
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/phone-input/phone-input.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable unused-imports/no-unused-vars */\nimport { styled } from \"@mui/material\";\nimport Typography from \"../typography/typography\";\nimport ReactPhoneInput, { CountryData } from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/material.css\";\nimport { images } from \"../../assets/images\";\nimport { useLanguage } from \"../../hooks/useLangauge\";\nimport { memo, useEffect } from \"react\";\n\nconst StyledInput = styled(ReactPhoneInput)<{ isRtl: boolean }>(({ theme: { palette }, isRtl }) => ({\n \"&:hover\": {\n border: \"none\",\n },\n \"&.react-tel-input\": {\n \".form-control\": {\n borderRadius: \"0.25rem\",\n padding: \"8px 8px 8px 55px\", // Ensure space for flag on the left\n border: `1px solid ${palette.theme?.secondary[300]}`,\n fontSize: \"0.875rem\",\n width: \"100%\",\n maxHeight: \"36.13px\",\n direction: \"ltr\", // Force LTR direction for input to start from left\n textAlign: \"left\", // Force left alignment for input value\n\n \":hover\": {\n border: `1px solid ${palette.theme?.secondary[400]}`,\n },\n\n \":focus\": {\n border: `1px solid ${palette.theme?.primary[600]}`,\n boxShadow: \"none\",\n },\n \":disabled\": {\n background: palette.theme?.secondary[200],\n color: palette.theme?.secondary[800],\n },\n\n \"&.invalid-number\": {\n border: `1px solid ${palette.theme?.error[600]}`,\n \":focus\": {\n boxShadow: \"none\",\n },\n },\n },\n\n \".flag-dropdown\": {\n left: \"0\",\n right: \"auto\",\n borderRadius: \"0.25rem 0 0 0.25rem\",\n \n \".selected-flag\": {\n borderRadius: \"0.25rem 0 0 0.25rem\",\n \n \"&:hover\": {\n backgroundColor: palette.theme?.secondary[100],\n },\n },\n },\n \n \".country-list\": {\n left: isRtl ? \"auto\" : \"0\",\n right: isRtl ? \"0\" : \"auto\",\n \n \".search\": {\n padding: \"0.5rem 0.5rem 0.5rem 0.75rem\",\n borderBottom: \"1px solid #F3F2F2\",\n display: \"flex\",\n alignItems: \"center\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n\n \".search-emoji\": {\n position: \"absolute\",\n left: isRtl ? \"auto\" : \"1.25rem\",\n right: isRtl ? \"1.25rem\" : \"auto\",\n\n \":first-child\": {\n display: \"block\",\n color: \"transparent\",\n background: `url(${images.search})`,\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n },\n },\n\n \".search-box\": {\n width: \"100%\",\n marginLeft: \"0rem\",\n border: `1px solid ${palette.theme?.secondary[200]}`,\n backgroundColor: palette.theme?.secondary[100],\n borderRadius: \"0.5rem\",\n padding: \"0.4rem\",\n paddingLeft: isRtl ? \"0.4rem\" : \"2rem\",\n paddingRight: isRtl ? \"2rem\" : \"0.4rem\",\n fontSize: \"0.8125rem\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n textAlign: isRtl ? \"right\" : \"left\",\n\n \":hover\": {\n border: `1px solid ${palette.theme?.secondary[300]}`,\n },\n\n \":focus\": {\n border: `1px solid ${palette.theme?.primary[600]}`,\n },\n },\n },\n\n \".country\": {\n fontSize: \"0.8125rem\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n textAlign: isRtl ? \"right\" : \"left\",\n\n \".dial-code\": {\n fontSize: \"0.75rem\",\n position: \"absolute\",\n right: isRtl ? \"auto\" : \"0.5rem\",\n left: isRtl ? \"0.5rem\" : \"auto\",\n },\n },\n },\n },\n}));\n\ninterface IPhoneInput {\n error?: boolean;\n name?: string;\n dataPosition?: number;\n dataName?: string;\n label: string;\n required?: boolean;\n placeholder?: string;\n default_value?: string;\n onChange?: (e: any) => void;\n disabled?: boolean;\n setCountryCodeField?: (country: CountryData) => void;\n helperText?: string;\n isInlineEditing?:boolean\n}\n\nfunction fixPhoneDropdown() {\n let dropdown, input;\n\n const positionDropdown = () => {\n if (!dropdown || !input) return;\n const rect = input.getBoundingClientRect();\n\n dropdown.style.position = \"fixed\";\n dropdown.style.top = rect.bottom + \"px\";\n dropdown.style.left = rect.left + \"px\";\n dropdown.style.zIndex = \"2000\";\n };\n\n document.addEventListener(\"click\", () => {\n dropdown = document.querySelector(\".react-tel-input .country-list\");\n input = document.querySelector(\".react-tel-input input\");\n\n if (dropdown && input && !document.body.contains(dropdown)) {\n document.body.appendChild(dropdown);\n }\n\n positionDropdown();\n });\n\n // reposition on scroll (any container) and resize\n window.addEventListener(\"scroll\", positionDropdown, true); // true = capture all scrolls\n window.addEventListener(\"resize\", positionDropdown);\n}\n\n\nconst HelperTextWrapper = styled('div')(() => ({\n marginTop: '0.4rem',\n}));\n\nconst PhoneInput = memo(({\n name,\n error = false,\n dataName,\n dataPosition,\n label,\n required = false,\n placeholder,\n default_value,\n onChange,\n disabled,\n setCountryCodeField,\n helperText,\n isInlineEditing = false,\n ...rest\n}: IPhoneInput) => {\n const { isRtl } = useLanguage();\n\n useEffect(() => {\n if(isInlineEditing) {\n fixPhoneDropdown(isInlineEditing)\n }\n }, [isInlineEditing])\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 && <span className=\"requiredStar\">*</span>}\n </Typography>\n <StyledInput\n dropdownContainer={document.body}\n isRtl={isRtl}\n specialLabel={\"\"}\n enableSearch\n searchPlaceholder=\"Search Country\"\n isValid={!error}\n country={\"ae\"}\n searchNotFound=\"Not Found!\"\n inputProps={{\n name: name,\n required: required,\n }}\n placeholder={placeholder}\n value={default_value || rest?.value}\n onChange={(value, country) => {\n setCountryCodeField?.(country as CountryData);\n onChange?.(value);\n }}\n disabled={disabled}\n />\n {helperText && (\n <HelperTextWrapper>\n <Typography\n type=\"s5\"\n color={error ? \"theme.error.600\" : \"theme.secondary.600\"}\n >\n {helperText}\n </Typography>\n </HelperTextWrapper>\n )}\n </>\n );\n});\n\nexport default PhoneInput;"],"names":["StyledInput","styled","ReactPhoneInput","theme","palette","isRtl","border","borderRadius","padding","_a","secondary","fontSize","width","maxHeight","direction","textAlign","_b","_c","primary","boxShadow","background","_d","color","_e","_f","error","left","right","backgroundColor","_g","borderBottom","display","alignItems","position","images","search","backgroundRepeat","backgroundPosition","marginLeft","_h","_i","paddingLeft","paddingRight","_j","_k","HelperTextWrapper","marginTop","PhoneInput","memo","name","dataName","dataPosition","label","required","placeholder","default_value","onChange","disabled","setCountryCodeField","helperText","isInlineEditing","rest","useLanguage","useEffect","dropdown","input","positionDropdown","rect","getBoundingClientRect","style","top","bottom","zIndex","document","addEventListener","querySelector","body","contains","appendChild","window","fixPhoneDropdown","jsxs","Fragment","children","Typography","type","weight","mb","jsx","className","dropdownContainer","specialLabel","enableSearch","searchPlaceholder","isValid","country","searchNotFound","inputProps","value"],"mappings":"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"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/phone-input/phone-input.tsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable unused-imports/no-unused-vars */\nimport { styled } from \"@mui/material\";\nimport Typography from \"../typography/typography\";\nimport ReactPhoneInput, { CountryData } from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/material.css\";\nimport { images } from \"../../assets/images\";\nimport { useLanguage } from \"../../hooks/useLangauge\";\nimport { memo, useEffect } from \"react\";\n\nconst StyledInput = styled(ReactPhoneInput)<{ isRtl: boolean }>(({ theme: { palette }, isRtl }) => ({\n \"&:hover\": {\n border: \"none\",\n },\n \"&.react-tel-input\": {\n \".form-control\": {\n borderRadius: \"0.25rem\",\n padding: \"8px 8px 8px 55px\", // Ensure space for flag on the left\n border: `1px solid ${palette.theme?.secondary[300]}`,\n fontSize: \"0.875rem\",\n width: \"100%\",\n maxHeight: \"36.13px\",\n direction: \"ltr\", // Force LTR direction for input to start from left\n textAlign: \"left\", // Force left alignment for input value\n\n \":hover\": {\n border: `1px solid ${palette.theme?.secondary[400]}`,\n },\n\n \":focus\": {\n border: `1px solid ${palette.theme?.primary[600]}`,\n boxShadow: \"none\",\n },\n \":disabled\": {\n background: palette.theme?.secondary[200],\n color: palette.theme?.secondary[800],\n },\n\n \"&.invalid-number\": {\n border: `1px solid ${palette.theme?.error[600]}`,\n \":focus\": {\n boxShadow: \"none\",\n },\n },\n },\n\n \".flag-dropdown\": {\n left: \"0\",\n right: \"auto\",\n borderRadius: \"0.25rem 0 0 0.25rem\",\n \n \".selected-flag\": {\n borderRadius: \"0.25rem 0 0 0.25rem\",\n \n \"&:hover\": {\n backgroundColor: palette.theme?.secondary[100],\n },\n },\n },\n \n \".country-list\": {\n left: isRtl ? \"auto\" : \"0\",\n right: isRtl ? \"0\" : \"auto\",\n \n \".search\": {\n padding: \"0.5rem 0.5rem 0.5rem 0.75rem\",\n borderBottom: \"1px solid #F3F2F2\",\n display: \"flex\",\n alignItems: \"center\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n\n \".search-emoji\": {\n position: \"absolute\",\n left: isRtl ? \"auto\" : \"1.25rem\",\n right: isRtl ? \"1.25rem\" : \"auto\",\n\n \":first-child\": {\n display: \"block\",\n color: \"transparent\",\n background: `url(${images.search})`,\n backgroundRepeat: \"no-repeat\",\n backgroundPosition: \"center\",\n },\n },\n\n \".search-box\": {\n width: \"100%\",\n marginLeft: \"0rem\",\n border: `1px solid ${palette.theme?.secondary[200]}`,\n backgroundColor: palette.theme?.secondary[100],\n borderRadius: \"0.5rem\",\n padding: \"0.4rem\",\n paddingLeft: isRtl ? \"0.4rem\" : \"2rem\",\n paddingRight: isRtl ? \"2rem\" : \"0.4rem\",\n fontSize: \"0.8125rem\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n textAlign: isRtl ? \"right\" : \"left\",\n\n \":hover\": {\n border: `1px solid ${palette.theme?.secondary[300]}`,\n },\n\n \":focus\": {\n border: `1px solid ${palette.theme?.primary[600]}`,\n },\n },\n },\n\n \".country\": {\n fontSize: \"0.8125rem\",\n direction: isRtl ? \"rtl\" : \"ltr\",\n textAlign: isRtl ? \"right\" : \"left\",\n\n \".dial-code\": {\n fontSize: \"0.75rem\",\n position: \"absolute\",\n right: isRtl ? \"auto\" : \"0.5rem\",\n left: isRtl ? \"0.5rem\" : \"auto\",\n },\n },\n },\n },\n}));\n\ninterface IPhoneInput {\n error?: boolean;\n name?: string;\n dataPosition?: number;\n dataName?: string;\n label: string;\n required?: boolean;\n placeholder?: string;\n default_value?: string;\n onChange?: (e: any) => void;\n disabled?: boolean;\n setCountryCodeField?: (country: CountryData) => void;\n helperText?: string;\n isInlineEditing?:boolean\n}\n\nfunction fixPhoneDropdown() {\n let dropdown, input;\n\n const positionDropdown = () => {\n if (!dropdown || !input) return;\n const rect = input.getBoundingClientRect();\n\n dropdown.style.position = \"fixed\";\n dropdown.style.top = rect.bottom + \"px\";\n dropdown.style.left = rect.left + \"px\";\n dropdown.style.zIndex = \"2000\";\n };\n\n document.addEventListener(\"click\", () => {\n dropdown = document.querySelector(\".react-tel-input .country-list\");\n input = document.querySelector(\".react-tel-input input\");\n\n if (dropdown && input && !document.body.contains(dropdown)) {\n document.body.appendChild(dropdown);\n }\n\n positionDropdown();\n });\n\n // reposition on scroll (any container) and resize\n window.addEventListener(\"scroll\", positionDropdown, true); // true = capture all scrolls\n window.addEventListener(\"resize\", positionDropdown);\n}\n\n\nconst HelperTextWrapper = styled('div')(() => ({\n marginTop: '0.4rem',\n}));\n\nconst PhoneInput = memo(({\n name,\n error = false,\n dataName,\n dataPosition,\n label,\n required = false,\n placeholder,\n default_value,\n onChange,\n disabled,\n setCountryCodeField,\n helperText,\n isInlineEditing = false,\n ...rest\n}: IPhoneInput) => {\n const { isRtl } = useLanguage();\n\n useEffect(() => {\n if(isInlineEditing) {\n fixPhoneDropdown(isInlineEditing)\n }\n }, [isInlineEditing])\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 && <span className=\"requiredStar\">*</span>}\n </Typography>\n <StyledInput\n dropdownContainer={document.body}\n isRtl={isRtl}\n specialLabel={\"\"}\n enableSearch\n searchPlaceholder=\"Search Country\"\n isValid={!error}\n country={\"ae\"}\n searchNotFound=\"Not Found!\"\n inputProps={{\n name: name,\n required: required,\n }}\n placeholder={placeholder}\n value={default_value || rest?.value}\n onChange={(value, country) => {\n setCountryCodeField?.(country as CountryData);\n onChange?.(value);\n }}\n disabled={disabled}\n />\n {helperText && (\n <HelperTextWrapper>\n <Typography\n type=\"s5\"\n color={error ? \"theme.error.600\" : \"theme.secondary.600\"}\n >\n {helperText}\n </Typography>\n </HelperTextWrapper>\n )}\n </>\n );\n});\n\nexport { PhoneInput };\nexport default PhoneInput;"],"names":["StyledInput","styled","ReactPhoneInput","theme","palette","isRtl","border","borderRadius","padding","_a","secondary","fontSize","width","maxHeight","direction","textAlign","_b","_c","primary","boxShadow","background","_d","color","_e","_f","error","left","right","backgroundColor","_g","borderBottom","display","alignItems","position","images","search","backgroundRepeat","backgroundPosition","marginLeft","_h","_i","paddingLeft","paddingRight","_j","_k","HelperTextWrapper","marginTop","PhoneInput","memo","name","dataName","dataPosition","label","required","placeholder","default_value","onChange","disabled","setCountryCodeField","helperText","isInlineEditing","rest","useLanguage","useEffect","dropdown","input","positionDropdown","rect","getBoundingClientRect","style","top","bottom","zIndex","document","addEventListener","querySelector","body","contains","appendChild","window","fixPhoneDropdown","jsxs","Fragment","children","Typography","type","weight","mb","jsx","className","dropdownContainer","specialLabel","enableSearch","searchPlaceholder","isValid","country","searchNotFound","inputProps","value"],"mappings":"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"}
@@ -0,0 +1,20 @@
1
+ import { CountryData } from 'react-phone-input-2';
2
+
3
+ interface IPhoneInput {
4
+ error?: boolean;
5
+ name?: string;
6
+ dataPosition?: number;
7
+ dataName?: string;
8
+ label: string;
9
+ required?: boolean;
10
+ placeholder?: string;
11
+ default_value?: string;
12
+ onChange?: (e: any) => void;
13
+ disabled?: boolean;
14
+ setCountryCodeField?: (country: CountryData) => void;
15
+ helperText?: string;
16
+ isInlineEditing?: boolean;
17
+ }
18
+ declare const PhoneInput: import('react').NamedExoticComponent<IPhoneInput>;
19
+ export { PhoneInput };
20
+ export default PhoneInput;
@@ -110,7 +110,27 @@ const ProtectedRoute = ({
110
110
  }
111
111
  return showError ? /* @__PURE__ */ jsx(ErrorComponent, {}) : /* @__PURE__ */ jsx(Navigate, { to: redirectTo, replace: true });
112
112
  };
113
+ const createPermissionConfig = {
114
+ // Single module
115
+ single: (module, action) => ({
116
+ module,
117
+ action
118
+ }),
119
+ // Multiple modules with same action
120
+ multiModule: (modules, action, operator = "OR") => ({
121
+ multiModule: { modules, action, operator }
122
+ }),
123
+ // Complex permissions
124
+ complex: (permissions, operator = "AND") => ({
125
+ complexPermissions: { permissions, operator }
126
+ }),
127
+ // Custom function
128
+ custom: (checkFn) => ({
129
+ customPermissionCheck: checkFn
130
+ })
131
+ };
113
132
  export {
133
+ createPermissionConfig,
114
134
  ProtectedRoute as default
115
135
  };
116
136
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":["../../../src/components/protected-route.tsx"],"sourcesContent":["/* eslint-disable react-refresh/only-export-components */\n/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable unused-imports/no-unused-vars */\nimport React, { useMemo } from \"react\";\nimport { Navigate } from \"react-router-dom\";\nimport { usePermissions } from \"../hooks/use-permissions\";\nimport { Box, Divider } from \"@mui/material\";\nimport Typography from \"./typography/typography\";\nimport _ from \"lodash\";\n\ntype PermissionAction = \"canEdit\" | \"canView\" | \"canAdd\" | \"canDelete\";\n\ninterface SingleModulePermission {\n module: string;\n action: PermissionAction;\n}\n\ninterface MultiModulePermission {\n modules: string[];\n action: PermissionAction;\n operator?: \"AND\" | \"OR\"; // Default: \"OR\"\n}\n\ninterface ComplexPermission {\n permissions: Array<{\n module: string;\n action: PermissionAction;\n }>;\n operator?: \"AND\" | \"OR\"; // Default: \"AND\"\n}\n\ninterface ProtectedRouteProps {\n // Single module (backward compatibility)\n module?: string;\n action?: PermissionAction;\n \n // Multiple modules with same action\n multiModule?: MultiModulePermission;\n \n // Complex permissions with different actions\n complexPermissions?: ComplexPermission;\n \n // Custom permission checker function\n customPermissionCheck?: (permissions: any) => boolean;\n \n // Redirect path for unauthorized access\n redirectTo?: string;\n \n // Show custom error component instead of redirect\n showError?: boolean;\n \n children: React.ReactNode;\n}\n\nconst ProtectedRoute: React.FC<ProtectedRouteProps> = ({\n module,\n action,\n multiModule,\n complexPermissions,\n customPermissionCheck,\n redirectTo = \"/403\",\n showError = true,\n children\n}) => {\n const permissions = usePermissions();\n\n // Memoize permission check for performance\n const hasPermission = useMemo(() => {\n if (!permissions) {\n return false;\n }\n\n // Custom permission check takes precedence\n if (customPermissionCheck) {\n return customPermissionCheck(permissions);\n }\n\n // Complex permissions check\n if (complexPermissions) {\n const { permissions: permList, operator = \"AND\" } = complexPermissions;\n \n const results = permList.map(({ module: mod, action: act }) => {\n const modulePerms = _.get(permissions, mod, {});\n return modulePerms[act] ?? false;\n });\n\n return operator === \"AND\" \n ? results.every(Boolean)\n : results.some(Boolean);\n }\n\n // Multi-module with same action check\n if (multiModule) {\n const { modules, action: act, operator = \"OR\" } = multiModule;\n \n const results = modules.map(mod => {\n const modulePerms = _.get(permissions, mod, {});\n return modulePerms[act] ?? false;\n });\n\n return operator === \"AND\" \n ? results.every(Boolean)\n : results.some(Boolean);\n }\n\n // Single module check (backward compatibility)\n if (module && action) {\n const modulePerms = _.get(permissions, module, {});\n return modulePerms[action] ?? false;\n }\n\n // No permission config provided - deny access\n return false;\n }, [permissions, module, action, multiModule, complexPermissions, customPermissionCheck]);\n\n // Enhanced error component\n const ErrorComponent = () => (\n <Box\n sx={{\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n alignItems: \"center\",\n position: \"absolute\",\n top: \"50%\",\n left: \"50%\",\n transform: \"translate(-50%, -50%)\", // Fixed transform values\n gap: 2,\n textAlign: \"center\",\n p: 3\n }}\n >\n <Typography \n type=\"h1\" \n color=\"theme.secondary.900\" \n weight=\"bold\"\n sx={{ fontSize: { xs: '4rem', sm: '6rem' } }}\n >\n 403\n </Typography>\n <Divider \n flexItem \n // sx={{ \n // borderColor: '#898f9a',\n // width: '100%',\n // maxWidth: '200px'\n // }}\n />\n <Typography \n type=\"s3\" \n color=\"theme.secondary.900\" \n weight=\"medium\"\n >\n Access Denied\n </Typography>\n <Typography \n type=\"body2\" \n color=\"theme.secondary.700\" \n weight=\"regular\"\n sx={{ mt: 1, maxWidth: '300px' }}\n >\n You don't have the required permissions to access this resource.\n </Typography>\n </Box>\n );\n\n // Handle loading state\n if (!permissions) {\n return showError ? <ErrorComponent /> : <Navigate to={redirectTo} replace />;\n }\n\n // Render based on permission check\n if (hasPermission) {\n return <>{children}</>;\n }\n\n return showError ? <ErrorComponent /> : <Navigate to={redirectTo} replace />;\n};\n\nexport default ProtectedRoute;\n\n// Helper function to create permission configurations\nexport const createPermissionConfig = {\n // Single module\n single: (module: string, action: PermissionAction) => ({\n module,\n action\n }),\n\n // Multiple modules with same action\n multiModule: (\n modules: string[], \n action: PermissionAction, \n operator: \"AND\" | \"OR\" = \"OR\"\n ) => ({\n multiModule: { modules, action, operator }\n }),\n\n // Complex permissions\n complex: (\n permissions: Array<{ module: string; action: PermissionAction }>,\n operator: \"AND\" | \"OR\" = \"AND\"\n ) => ({\n complexPermissions: { permissions, operator }\n }),\n\n // Custom function\n custom: (checkFn: (permissions: any) => boolean) => ({\n customPermissionCheck: checkFn\n })\n};\n\n// Example usage types for better developer experience\nexport type PermissionConfig = \n | ReturnType<typeof createPermissionConfig.single>\n | ReturnType<typeof createPermissionConfig.multiModule>\n | ReturnType<typeof createPermissionConfig.complex>\n | ReturnType<typeof createPermissionConfig.custom>;"],"names":[],"mappings":";;;;;;;;AAsDA,MAAM,iBAAgD,CAAC;AAAA,EACrD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,aAAa;AAAA,EACb,YAAY;AAAA,EACZ;AACF,MAAM;AACJ,QAAM,cAAc,eAAA;AAGpB,QAAM,gBAAgB,QAAQ,MAAM;AAClC,QAAI,CAAC,aAAa;AAChB,aAAO;AAAA,IACT;AAGA,QAAI,uBAAuB;AACzB,aAAO,sBAAsB,WAAW;AAAA,IAC1C;AAGA,QAAI,oBAAoB;AACtB,YAAM,EAAE,aAAa,UAAU,WAAW,UAAU;AAEpD,YAAM,UAAU,SAAS,IAAI,CAAC,EAAE,QAAQ,KAAK,QAAQ,UAAU;AAC7D,cAAM,cAAc,EAAE,IAAI,aAAa,KAAK,CAAA,CAAE;AAC9C,eAAO,YAAY,GAAG,KAAK;AAAA,MAC7B,CAAC;AAED,aAAO,aAAa,QAChB,QAAQ,MAAM,OAAO,IACrB,QAAQ,KAAK,OAAO;AAAA,IAC1B;AAGA,QAAI,aAAa;AACf,YAAM,EAAE,SAAS,QAAQ,KAAK,WAAW,SAAS;AAElD,YAAM,UAAU,QAAQ,IAAI,CAAA,QAAO;AACjC,cAAM,cAAc,EAAE,IAAI,aAAa,KAAK,CAAA,CAAE;AAC9C,eAAO,YAAY,GAAG,KAAK;AAAA,MAC7B,CAAC;AAED,aAAO,aAAa,QAChB,QAAQ,MAAM,OAAO,IACrB,QAAQ,KAAK,OAAO;AAAA,IAC1B;AAGA,QAAI,UAAU,QAAQ;AACpB,YAAM,cAAc,EAAE,IAAI,aAAa,QAAQ,CAAA,CAAE;AACjD,aAAO,YAAY,MAAM,KAAK;AAAA,IAChC;AAGA,WAAO;AAAA,EACT,GAAG,CAAC,aAAa,QAAQ,QAAQ,aAAa,oBAAoB,qBAAqB,CAAC;AAGxF,QAAM,iBAAiB,MACrB;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,IAAI;AAAA,QACF,SAAS;AAAA,QACT,eAAe;AAAA,QACf,gBAAgB;AAAA,QAChB,YAAY;AAAA,QACZ,UAAU;AAAA,QACV,KAAK;AAAA,QACL,MAAM;AAAA,QACN,WAAW;AAAA;AAAA,QACX,KAAK;AAAA,QACL,WAAW;AAAA,QACX,GAAG;AAAA,MAAA;AAAA,MAGL,UAAA;AAAA,QAAA;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,OAAM;AAAA,YACN,QAAO;AAAA,YACP,IAAI,EAAE,UAAU,EAAE,IAAI,QAAQ,IAAI,SAAO;AAAA,YAC1C,UAAA;AAAA,UAAA;AAAA,QAAA;AAAA,QAGD;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,UAAQ;AAAA,UAAA;AAAA,QAAA;AAAA,QAOV;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,OAAM;AAAA,YACN,QAAO;AAAA,YACR,UAAA;AAAA,UAAA;AAAA,QAAA;AAAA,QAGD;AAAA,UAAC;AAAA,UAAA;AAAA,YACC,MAAK;AAAA,YACL,OAAM;AAAA,YACN,QAAO;AAAA,YACP,IAAI,EAAE,IAAI,GAAG,UAAU,QAAA;AAAA,YACxB,UAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MAED;AAAA,IAAA;AAAA,EAAA;AAKJ,MAAI,CAAC,aAAa;AAChB,WAAO,gCAAa,gBAAA,CAAA,CAAe,wBAAM,UAAA,EAAS,IAAI,YAAY,SAAO,KAAA,CAAC;AAAA,EAC5E;AAGA,MAAI,eAAe;AACjB,2CAAU,UAAS;AAAA,EACrB;AAEA,SAAO,gCAAa,gBAAA,CAAA,CAAe,wBAAM,UAAA,EAAS,IAAI,YAAY,SAAO,KAAA,CAAC;AAC5E;"}
1
+ {"version":3,"file":"index.esm.js","sources":["../../../src/components/protected-route.tsx"],"sourcesContent":["/* eslint-disable react-refresh/only-export-components */\n/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable unused-imports/no-unused-vars */\nimport React, { useMemo } from \"react\";\nimport { Navigate } from \"react-router-dom\";\nimport { usePermissions } from \"../hooks/use-permissions\";\nimport { Box, Divider } from \"@mui/material\";\nimport Typography from \"./typography/typography\";\nimport _ from \"lodash\";\n\ntype PermissionAction = \"canEdit\" | \"canView\" | \"canAdd\" | \"canDelete\";\n\ninterface SingleModulePermission {\n module: string;\n action: PermissionAction;\n}\n\ninterface MultiModulePermission {\n modules: string[];\n action: PermissionAction;\n operator?: \"AND\" | \"OR\"; // Default: \"OR\"\n}\n\ninterface ComplexPermission {\n permissions: Array<{\n module: string;\n action: PermissionAction;\n }>;\n operator?: \"AND\" | \"OR\"; // Default: \"AND\"\n}\n\ninterface ProtectedRouteProps {\n // Single module (backward compatibility)\n module?: string;\n action?: PermissionAction;\n \n // Multiple modules with same action\n multiModule?: MultiModulePermission;\n \n // Complex permissions with different actions\n complexPermissions?: ComplexPermission;\n \n // Custom permission checker function\n customPermissionCheck?: (permissions: any) => boolean;\n \n // Redirect path for unauthorized access\n redirectTo?: string;\n \n // Show custom error component instead of redirect\n showError?: boolean;\n \n children: React.ReactNode;\n}\n\nconst ProtectedRoute: React.FC<ProtectedRouteProps> = ({\n module,\n action,\n multiModule,\n complexPermissions,\n customPermissionCheck,\n redirectTo = \"/403\",\n showError = true,\n children\n}) => {\n const permissions = usePermissions();\n\n // Memoize permission check for performance\n const hasPermission = useMemo(() => {\n if (!permissions) {\n return false;\n }\n\n // Custom permission check takes precedence\n if (customPermissionCheck) {\n return customPermissionCheck(permissions);\n }\n\n // Complex permissions check\n if (complexPermissions) {\n const { permissions: permList, operator = \"AND\" } = complexPermissions;\n \n const results = permList.map(({ module: mod, action: act }) => {\n const modulePerms = _.get(permissions, mod, {});\n return modulePerms[act] ?? false;\n });\n\n return operator === \"AND\" \n ? results.every(Boolean)\n : results.some(Boolean);\n }\n\n // Multi-module with same action check\n if (multiModule) {\n const { modules, action: act, operator = \"OR\" } = multiModule;\n \n const results = modules.map(mod => {\n const modulePerms = _.get(permissions, mod, {});\n return modulePerms[act] ?? false;\n });\n\n return operator === \"AND\" \n ? results.every(Boolean)\n : results.some(Boolean);\n }\n\n // Single module check (backward compatibility)\n if (module && action) {\n const modulePerms = _.get(permissions, module, {});\n return modulePerms[action] ?? false;\n }\n\n // No permission config provided - deny access\n return false;\n }, [permissions, module, action, multiModule, complexPermissions, customPermissionCheck]);\n\n // Enhanced error component\n const ErrorComponent = () => (\n <Box\n sx={{\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n alignItems: \"center\",\n position: \"absolute\",\n top: \"50%\",\n left: \"50%\",\n transform: \"translate(-50%, -50%)\", // Fixed transform values\n gap: 2,\n textAlign: \"center\",\n p: 3\n }}\n >\n <Typography \n type=\"h1\" \n color=\"theme.secondary.900\" \n weight=\"bold\"\n sx={{ fontSize: { xs: '4rem', sm: '6rem' } }}\n >\n 403\n </Typography>\n <Divider \n flexItem \n // sx={{ \n // borderColor: '#898f9a',\n // width: '100%',\n // maxWidth: '200px'\n // }}\n />\n <Typography \n type=\"s3\" \n color=\"theme.secondary.900\" \n weight=\"medium\"\n >\n Access Denied\n </Typography>\n <Typography \n type=\"body2\" \n color=\"theme.secondary.700\" \n weight=\"regular\"\n sx={{ mt: 1, maxWidth: '300px' }}\n >\n You don't have the required permissions to access this resource.\n </Typography>\n </Box>\n );\n\n // Handle loading state\n if (!permissions) {\n return showError ? <ErrorComponent /> : <Navigate to={redirectTo} replace />;\n }\n\n // Render based on permission check\n if (hasPermission) {\n return <>{children}</>;\n }\n\n return showError ? <ErrorComponent /> : <Navigate to={redirectTo} replace />;\n};\n\nexport default ProtectedRoute;\n\n// Helper function to create permission configurations\nexport const createPermissionConfig = {\n // Single module\n single: (module: string, action: PermissionAction) => ({\n module,\n action\n }),\n\n // Multiple modules with same action\n multiModule: (\n modules: string[], \n action: PermissionAction, \n operator: \"AND\" | \"OR\" = \"OR\"\n ) => ({\n multiModule: { modules, action, operator }\n }),\n\n // Complex permissions\n complex: (\n permissions: Array<{ module: string; action: PermissionAction }>,\n operator: \"AND\" | \"OR\" = \"AND\"\n ) => ({\n complexPermissions: { permissions, operator }\n }),\n\n // Custom function\n custom: (checkFn: (permissions: any) => boolean) => ({\n customPermissionCheck: checkFn\n })\n};\n\n// Example usage types for better developer experience\nexport type PermissionConfig = \n | ReturnType<typeof createPermissionConfig.single>\n | ReturnType<typeof createPermissionConfig.multiModule>\n | ReturnType<typeof createPermissionConfig.complex>\n | ReturnType<typeof createPermissionConfig.custom>;"],"names":[],"mappings":"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"}
@@ -1,6 +1,6 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),o=require("react-router-dom"),t=require("../../hooks/use-permissions/index.js"),s=require("../typography/typography/index.js"),i=require("lodash"),n=require("../../node_modules/@mui/material/Box/Box/index.js"),a=require("../../node_modules/@mui/material/Divider/Divider/index.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=/* @__PURE__ */u(i);exports.default=({module:i,action:u,multiModule:d,complexPermissions:c,customPermissionCheck:m,redirectTo:p="/403",showError:x=!0,children:h})=>{const y=t.usePermissions(),f=r.useMemo(()=>{if(!y)return!1;if(m)return m(y);if(c){const{permissions:e,operator:r="AND"}=c,o=e.map(({module:e,action:r})=>l.default.get(y,e,{})[r]??!1);return"AND"===r?o.every(Boolean):o.some(Boolean)}if(d){const{modules:e,action:r,operator:o="OR"}=d,t=e.map(e=>l.default.get(y,e,{})[r]??!1);return"AND"===o?t.every(Boolean):t.some(Boolean)}return!(!i||!u)&&(l.default.get(y,i,{})[u]??!1)},[y,i,u,d,c,m]),g=()=>/* @__PURE__ */e.jsxs(n.default,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",gap:2,textAlign:"center",p:3},children:[
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),o=require("react-router-dom"),t=require("../../hooks/use-permissions/index.js"),s=require("../typography/typography/index.js"),i=require("lodash"),n=require("../../node_modules/@mui/material/Box/Box/index.js"),a=require("../../node_modules/@mui/material/Divider/Divider/index.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=/* @__PURE__ */u(i);exports.createPermissionConfig={single:(e,r)=>({module:e,action:r}),multiModule:(e,r,o="OR")=>({multiModule:{modules:e,action:r,operator:o}}),complex:(e,r="AND")=>({complexPermissions:{permissions:e,operator:r}}),custom:e=>({customPermissionCheck:e})},exports.default=({module:i,action:u,multiModule:m,complexPermissions:c,customPermissionCheck:d,redirectTo:p="/403",showError:x=!0,children:h})=>{const f=t.usePermissions(),y=r.useMemo(()=>{if(!f)return!1;if(d)return d(f);if(c){const{permissions:e,operator:r="AND"}=c,o=e.map(({module:e,action:r})=>l.default.get(f,e,{})[r]??!1);return"AND"===r?o.every(Boolean):o.some(Boolean)}if(m){const{modules:e,action:r,operator:o="OR"}=m,t=e.map(e=>l.default.get(f,e,{})[r]??!1);return"AND"===o?t.every(Boolean):t.some(Boolean)}return!(!i||!u)&&(l.default.get(f,i,{})[u]??!1)},[f,i,u,m,c,d]),g=()=>/* @__PURE__ */e.jsxs(n.default,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",gap:2,textAlign:"center",p:3},children:[
2
2
  /* @__PURE__ */e.jsx(s.Typography,{type:"h1",color:"theme.secondary.900",weight:"bold",sx:{fontSize:{xs:"4rem",sm:"6rem"}},children:"403"}),
3
3
  /* @__PURE__ */e.jsx(a.default,{flexItem:!0}),
4
4
  /* @__PURE__ */e.jsx(s.Typography,{type:"s3",color:"theme.secondary.900",weight:"medium",children:"Access Denied"}),
5
- /* @__PURE__ */e.jsx(s.Typography,{type:"body2",color:"theme.secondary.700",weight:"regular",sx:{mt:1,maxWidth:"300px"},children:"You don't have the required permissions to access this resource."})]});return y&&f?/* @__PURE__ */e.jsx(e.Fragment,{children:h}):x?/* @__PURE__ */e.jsx(g,{}):/* @__PURE__ */e.jsx(o.Navigate,{to:p,replace:!0})};
5
+ /* @__PURE__ */e.jsx(s.Typography,{type:"body2",color:"theme.secondary.700",weight:"regular",sx:{mt:1,maxWidth:"300px"},children:"You don't have the required permissions to access this resource."})]});return f&&y?/* @__PURE__ */e.jsx(e.Fragment,{children:h}):x?/* @__PURE__ */e.jsx(g,{}):/* @__PURE__ */e.jsx(o.Navigate,{to:p,replace:!0})};
6
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/protected-route.tsx"],"sourcesContent":["/* eslint-disable react-refresh/only-export-components */\n/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable unused-imports/no-unused-vars */\nimport React, { useMemo } from \"react\";\nimport { Navigate } from \"react-router-dom\";\nimport { usePermissions } from \"../hooks/use-permissions\";\nimport { Box, Divider } from \"@mui/material\";\nimport Typography from \"./typography/typography\";\nimport _ from \"lodash\";\n\ntype PermissionAction = \"canEdit\" | \"canView\" | \"canAdd\" | \"canDelete\";\n\ninterface SingleModulePermission {\n module: string;\n action: PermissionAction;\n}\n\ninterface MultiModulePermission {\n modules: string[];\n action: PermissionAction;\n operator?: \"AND\" | \"OR\"; // Default: \"OR\"\n}\n\ninterface ComplexPermission {\n permissions: Array<{\n module: string;\n action: PermissionAction;\n }>;\n operator?: \"AND\" | \"OR\"; // Default: \"AND\"\n}\n\ninterface ProtectedRouteProps {\n // Single module (backward compatibility)\n module?: string;\n action?: PermissionAction;\n \n // Multiple modules with same action\n multiModule?: MultiModulePermission;\n \n // Complex permissions with different actions\n complexPermissions?: ComplexPermission;\n \n // Custom permission checker function\n customPermissionCheck?: (permissions: any) => boolean;\n \n // Redirect path for unauthorized access\n redirectTo?: string;\n \n // Show custom error component instead of redirect\n showError?: boolean;\n \n children: React.ReactNode;\n}\n\nconst ProtectedRoute: React.FC<ProtectedRouteProps> = ({\n module,\n action,\n multiModule,\n complexPermissions,\n customPermissionCheck,\n redirectTo = \"/403\",\n showError = true,\n children\n}) => {\n const permissions = usePermissions();\n\n // Memoize permission check for performance\n const hasPermission = useMemo(() => {\n if (!permissions) {\n return false;\n }\n\n // Custom permission check takes precedence\n if (customPermissionCheck) {\n return customPermissionCheck(permissions);\n }\n\n // Complex permissions check\n if (complexPermissions) {\n const { permissions: permList, operator = \"AND\" } = complexPermissions;\n \n const results = permList.map(({ module: mod, action: act }) => {\n const modulePerms = _.get(permissions, mod, {});\n return modulePerms[act] ?? false;\n });\n\n return operator === \"AND\" \n ? results.every(Boolean)\n : results.some(Boolean);\n }\n\n // Multi-module with same action check\n if (multiModule) {\n const { modules, action: act, operator = \"OR\" } = multiModule;\n \n const results = modules.map(mod => {\n const modulePerms = _.get(permissions, mod, {});\n return modulePerms[act] ?? false;\n });\n\n return operator === \"AND\" \n ? results.every(Boolean)\n : results.some(Boolean);\n }\n\n // Single module check (backward compatibility)\n if (module && action) {\n const modulePerms = _.get(permissions, module, {});\n return modulePerms[action] ?? false;\n }\n\n // No permission config provided - deny access\n return false;\n }, [permissions, module, action, multiModule, complexPermissions, customPermissionCheck]);\n\n // Enhanced error component\n const ErrorComponent = () => (\n <Box\n sx={{\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n alignItems: \"center\",\n position: \"absolute\",\n top: \"50%\",\n left: \"50%\",\n transform: \"translate(-50%, -50%)\", // Fixed transform values\n gap: 2,\n textAlign: \"center\",\n p: 3\n }}\n >\n <Typography \n type=\"h1\" \n color=\"theme.secondary.900\" \n weight=\"bold\"\n sx={{ fontSize: { xs: '4rem', sm: '6rem' } }}\n >\n 403\n </Typography>\n <Divider \n flexItem \n // sx={{ \n // borderColor: '#898f9a',\n // width: '100%',\n // maxWidth: '200px'\n // }}\n />\n <Typography \n type=\"s3\" \n color=\"theme.secondary.900\" \n weight=\"medium\"\n >\n Access Denied\n </Typography>\n <Typography \n type=\"body2\" \n color=\"theme.secondary.700\" \n weight=\"regular\"\n sx={{ mt: 1, maxWidth: '300px' }}\n >\n You don't have the required permissions to access this resource.\n </Typography>\n </Box>\n );\n\n // Handle loading state\n if (!permissions) {\n return showError ? <ErrorComponent /> : <Navigate to={redirectTo} replace />;\n }\n\n // Render based on permission check\n if (hasPermission) {\n return <>{children}</>;\n }\n\n return showError ? <ErrorComponent /> : <Navigate to={redirectTo} replace />;\n};\n\nexport default ProtectedRoute;\n\n// Helper function to create permission configurations\nexport const createPermissionConfig = {\n // Single module\n single: (module: string, action: PermissionAction) => ({\n module,\n action\n }),\n\n // Multiple modules with same action\n multiModule: (\n modules: string[], \n action: PermissionAction, \n operator: \"AND\" | \"OR\" = \"OR\"\n ) => ({\n multiModule: { modules, action, operator }\n }),\n\n // Complex permissions\n complex: (\n permissions: Array<{ module: string; action: PermissionAction }>,\n operator: \"AND\" | \"OR\" = \"AND\"\n ) => ({\n complexPermissions: { permissions, operator }\n }),\n\n // Custom function\n custom: (checkFn: (permissions: any) => boolean) => ({\n customPermissionCheck: checkFn\n })\n};\n\n// Example usage types for better developer experience\nexport type PermissionConfig = \n | ReturnType<typeof createPermissionConfig.single>\n | ReturnType<typeof createPermissionConfig.multiModule>\n | ReturnType<typeof createPermissionConfig.complex>\n | ReturnType<typeof createPermissionConfig.custom>;"],"names":["module","action","multiModule","complexPermissions","customPermissionCheck","redirectTo","showError","children","permissions","usePermissions","hasPermission","useMemo","permList","operator","results","map","mod","act","_","get","every","Boolean","some","modules","ErrorComponent","jsxs","Box","sx","display","flexDirection","justifyContent","alignItems","position","top","left","transform","gap","textAlign","p","jsx","Typography","type","color","weight","fontSize","xs","sm","Divider","flexItem","mt","maxWidth","Navigate","to","replace"],"mappings":"qgBAsDsD,EACpDA,OAAAA,EACAC,SACAC,cACAC,qBACAC,wBACAC,aAAa,OACbC,aAAY,EACZC,eAEA,MAAMC,EAAcC,EAAAA,iBAGdC,EAAgBC,EAAAA,QAAQ,KAC5B,IAAKH,EACH,OAAO,EAIT,GAAIJ,EACF,OAAOA,EAAsBI,GAI/B,GAAIL,EAAoB,CACtB,MAAQK,YAAaI,EAAAC,SAAUA,EAAW,OAAUV,EAE9CW,EAAUF,EAASG,IAAI,EAAGf,OAAQgB,EAAKf,OAAQgB,KAC/BC,EAAAA,QAAEC,IAAIX,EAAaQ,EAAK,CAAA,GACzBC,KAAQ,GAG7B,MAAoB,QAAbJ,EACHC,EAAQM,MAAMC,SACdP,EAAQQ,KAAKD,QACnB,CAGA,GAAInB,EAAa,CACf,MAAMqB,QAAEA,EAAStB,OAAQgB,EAAAJ,SAAKA,EAAW,MAASX,EAE5CY,EAAUS,EAAQR,IAAIC,GACNE,EAAAA,QAAEC,IAAIX,EAAaQ,EAAK,CAAA,GACzBC,KAAQ,GAG7B,MAAoB,QAAbJ,EACHC,EAAQM,MAAMC,SACdP,EAAQQ,KAAKD,QACnB,CAGA,SAAIrB,IAAUC,KACQiB,EAAAA,QAAEC,IAAIX,EAAaR,EAAQ,CAAA,GAC5BC,KAAW,IAK/B,CAACO,EAAaR,EAAQC,EAAQC,EAAaC,EAAoBC,IAG5DoB,EAAiB,mBACrBC,EAAAA,KAACC,EAAAA,QAAA,CACCC,GAAI,CACFC,QAAS,OACTC,cAAe,SACfC,eAAgB,SAChBC,WAAY,SACZC,SAAU,WACVC,IAAK,MACLC,KAAM,MACNC,UAAW,wBACXC,IAAK,EACLC,UAAW,SACXC,EAAG,GAGL/B,SAAA;eAAAgC,EAAAA,IAACC,EAAAA,WAAA,CACCC,KAAK,KACLC,MAAM,sBACNC,OAAO,OACPhB,GAAI,CAAEiB,SAAU,CAAEC,GAAI,OAAQC,GAAI,SACnCvC,SAAA;eAGDgC,EAAAA,IAACQ,EAAAA,QAAA,CACCC,UAAQ;eAOVT,EAAAA,IAACC,EAAAA,WAAA,CACCC,KAAK,KACLC,MAAM,sBACNC,OAAO,SACRpC,SAAA;eAGDgC,EAAAA,IAACC,EAAAA,WAAA,CACCC,KAAK,QACLC,MAAM,sBACNC,OAAO,UACPhB,GAAI,CAAEsB,GAAI,EAAGC,SAAU,SACxB3C,SAAA,wEAOL,OAAKC,GAKDE,mCACQH,aALHD,uBAAakB,EAAA,CAAA,wBAAqB2B,EAAAA,SAAA,CAASC,GAAI/C,EAAYgD,SAAO"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/protected-route.tsx"],"sourcesContent":["/* eslint-disable react-refresh/only-export-components */\n/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable unused-imports/no-unused-vars */\nimport React, { useMemo } from \"react\";\nimport { Navigate } from \"react-router-dom\";\nimport { usePermissions } from \"../hooks/use-permissions\";\nimport { Box, Divider } from \"@mui/material\";\nimport Typography from \"./typography/typography\";\nimport _ from \"lodash\";\n\ntype PermissionAction = \"canEdit\" | \"canView\" | \"canAdd\" | \"canDelete\";\n\ninterface SingleModulePermission {\n module: string;\n action: PermissionAction;\n}\n\ninterface MultiModulePermission {\n modules: string[];\n action: PermissionAction;\n operator?: \"AND\" | \"OR\"; // Default: \"OR\"\n}\n\ninterface ComplexPermission {\n permissions: Array<{\n module: string;\n action: PermissionAction;\n }>;\n operator?: \"AND\" | \"OR\"; // Default: \"AND\"\n}\n\ninterface ProtectedRouteProps {\n // Single module (backward compatibility)\n module?: string;\n action?: PermissionAction;\n \n // Multiple modules with same action\n multiModule?: MultiModulePermission;\n \n // Complex permissions with different actions\n complexPermissions?: ComplexPermission;\n \n // Custom permission checker function\n customPermissionCheck?: (permissions: any) => boolean;\n \n // Redirect path for unauthorized access\n redirectTo?: string;\n \n // Show custom error component instead of redirect\n showError?: boolean;\n \n children: React.ReactNode;\n}\n\nconst ProtectedRoute: React.FC<ProtectedRouteProps> = ({\n module,\n action,\n multiModule,\n complexPermissions,\n customPermissionCheck,\n redirectTo = \"/403\",\n showError = true,\n children\n}) => {\n const permissions = usePermissions();\n\n // Memoize permission check for performance\n const hasPermission = useMemo(() => {\n if (!permissions) {\n return false;\n }\n\n // Custom permission check takes precedence\n if (customPermissionCheck) {\n return customPermissionCheck(permissions);\n }\n\n // Complex permissions check\n if (complexPermissions) {\n const { permissions: permList, operator = \"AND\" } = complexPermissions;\n \n const results = permList.map(({ module: mod, action: act }) => {\n const modulePerms = _.get(permissions, mod, {});\n return modulePerms[act] ?? false;\n });\n\n return operator === \"AND\" \n ? results.every(Boolean)\n : results.some(Boolean);\n }\n\n // Multi-module with same action check\n if (multiModule) {\n const { modules, action: act, operator = \"OR\" } = multiModule;\n \n const results = modules.map(mod => {\n const modulePerms = _.get(permissions, mod, {});\n return modulePerms[act] ?? false;\n });\n\n return operator === \"AND\" \n ? results.every(Boolean)\n : results.some(Boolean);\n }\n\n // Single module check (backward compatibility)\n if (module && action) {\n const modulePerms = _.get(permissions, module, {});\n return modulePerms[action] ?? false;\n }\n\n // No permission config provided - deny access\n return false;\n }, [permissions, module, action, multiModule, complexPermissions, customPermissionCheck]);\n\n // Enhanced error component\n const ErrorComponent = () => (\n <Box\n sx={{\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n alignItems: \"center\",\n position: \"absolute\",\n top: \"50%\",\n left: \"50%\",\n transform: \"translate(-50%, -50%)\", // Fixed transform values\n gap: 2,\n textAlign: \"center\",\n p: 3\n }}\n >\n <Typography \n type=\"h1\" \n color=\"theme.secondary.900\" \n weight=\"bold\"\n sx={{ fontSize: { xs: '4rem', sm: '6rem' } }}\n >\n 403\n </Typography>\n <Divider \n flexItem \n // sx={{ \n // borderColor: '#898f9a',\n // width: '100%',\n // maxWidth: '200px'\n // }}\n />\n <Typography \n type=\"s3\" \n color=\"theme.secondary.900\" \n weight=\"medium\"\n >\n Access Denied\n </Typography>\n <Typography \n type=\"body2\" \n color=\"theme.secondary.700\" \n weight=\"regular\"\n sx={{ mt: 1, maxWidth: '300px' }}\n >\n You don't have the required permissions to access this resource.\n </Typography>\n </Box>\n );\n\n // Handle loading state\n if (!permissions) {\n return showError ? <ErrorComponent /> : <Navigate to={redirectTo} replace />;\n }\n\n // Render based on permission check\n if (hasPermission) {\n return <>{children}</>;\n }\n\n return showError ? <ErrorComponent /> : <Navigate to={redirectTo} replace />;\n};\n\nexport default ProtectedRoute;\n\n// Helper function to create permission configurations\nexport const createPermissionConfig = {\n // Single module\n single: (module: string, action: PermissionAction) => ({\n module,\n action\n }),\n\n // Multiple modules with same action\n multiModule: (\n modules: string[], \n action: PermissionAction, \n operator: \"AND\" | \"OR\" = \"OR\"\n ) => ({\n multiModule: { modules, action, operator }\n }),\n\n // Complex permissions\n complex: (\n permissions: Array<{ module: string; action: PermissionAction }>,\n operator: \"AND\" | \"OR\" = \"AND\"\n ) => ({\n complexPermissions: { permissions, operator }\n }),\n\n // Custom function\n custom: (checkFn: (permissions: any) => boolean) => ({\n customPermissionCheck: checkFn\n })\n};\n\n// Example usage types for better developer experience\nexport type PermissionConfig = \n | ReturnType<typeof createPermissionConfig.single>\n | ReturnType<typeof createPermissionConfig.multiModule>\n | ReturnType<typeof createPermissionConfig.complex>\n | ReturnType<typeof createPermissionConfig.custom>;"],"names":["single","module","action","multiModule","modules","operator","complex","permissions","complexPermissions","custom","checkFn","customPermissionCheck","redirectTo","showError","children","usePermissions","hasPermission","useMemo","permList","results","map","mod","act","_","get","every","Boolean","some","ErrorComponent","jsxs","Box","sx","display","flexDirection","justifyContent","alignItems","position","top","left","transform","gap","textAlign","p","jsx","Typography","type","color","weight","fontSize","xs","sm","Divider","flexItem","mt","maxWidth","Navigate","to","replace"],"mappings":"ohBAsLsC,CAEpCA,OAAQ,CAACC,EAAgBC,KAAA,CACvBD,OAAAA,EACAC,WAIFC,YAAa,CACXC,EACAF,EACAG,EAAyB,QAAA,CAEzBF,YAAa,CAAEC,UAASF,SAAQG,cAIlCC,QAAS,CACPC,EACAF,EAAyB,SAAA,CAEzBG,mBAAoB,CAAED,cAAaF,cAIrCI,OAASC,IAAA,CACPC,sBAAuBD,qBA1J2B,EACpDT,OAAAA,EACAC,SACAC,cACAK,qBACAG,wBACAC,aAAa,OACbC,aAAY,EACZC,eAEA,MAAMP,EAAcQ,EAAAA,iBAGdC,EAAgBC,EAAAA,QAAQ,KAC5B,IAAKV,EACH,OAAO,EAIT,GAAII,EACF,OAAOA,EAAsBJ,GAI/B,GAAIC,EAAoB,CACtB,MAAQD,YAAaW,EAAAb,SAAUA,EAAW,OAAUG,EAE9CW,EAAUD,EAASE,IAAI,EAAGnB,OAAQoB,EAAKnB,OAAQoB,KAC/BC,EAAAA,QAAEC,IAAIjB,EAAac,EAAK,CAAA,GACzBC,KAAQ,GAG7B,MAAoB,QAAbjB,EACHc,EAAQM,MAAMC,SACdP,EAAQQ,KAAKD,QACnB,CAGA,GAAIvB,EAAa,CACf,MAAMC,QAAEA,EAASF,OAAQoB,EAAAjB,SAAKA,EAAW,MAASF,EAE5CgB,EAAUf,EAAQgB,IAAIC,GACNE,EAAAA,QAAEC,IAAIjB,EAAac,EAAK,CAAA,GACzBC,KAAQ,GAG7B,MAAoB,QAAbjB,EACHc,EAAQM,MAAMC,SACdP,EAAQQ,KAAKD,QACnB,CAGA,SAAIzB,IAAUC,KACQqB,EAAAA,QAAEC,IAAIjB,EAAaN,EAAQ,CAAA,GAC5BC,KAAW,IAK/B,CAACK,EAAaN,EAAQC,EAAQC,EAAaK,EAAoBG,IAG5DiB,EAAiB,mBACrBC,EAAAA,KAACC,EAAAA,QAAA,CACCC,GAAI,CACFC,QAAS,OACTC,cAAe,SACfC,eAAgB,SAChBC,WAAY,SACZC,SAAU,WACVC,IAAK,MACLC,KAAM,MACNC,UAAW,wBACXC,IAAK,EACLC,UAAW,SACXC,EAAG,GAGL5B,SAAA;eAAA6B,EAAAA,IAACC,EAAAA,WAAA,CACCC,KAAK,KACLC,MAAM,sBACNC,OAAO,OACPhB,GAAI,CAAEiB,SAAU,CAAEC,GAAI,OAAQC,GAAI,SACnCpC,SAAA;eAGD6B,EAAAA,IAACQ,EAAAA,QAAA,CACCC,UAAQ;eAOVT,EAAAA,IAACC,EAAAA,WAAA,CACCC,KAAK,KACLC,MAAM,sBACNC,OAAO,SACRjC,SAAA;eAGD6B,EAAAA,IAACC,EAAAA,WAAA,CACCC,KAAK,QACLC,MAAM,sBACNC,OAAO,UACPhB,GAAI,CAAEsB,GAAI,EAAGC,SAAU,SACxBxC,SAAA,wEAOL,OAAKP,GAKDS,mCACQF,aALHD,uBAAae,EAAA,CAAA,wBAAqB2B,EAAAA,SAAA,CAASC,GAAI5C,EAAY6C,SAAO"}
@@ -0,0 +1,56 @@
1
+ import { default as React } from 'react';
2
+
3
+ type PermissionAction = "canEdit" | "canView" | "canAdd" | "canDelete";
4
+ interface MultiModulePermission {
5
+ modules: string[];
6
+ action: PermissionAction;
7
+ operator?: "AND" | "OR";
8
+ }
9
+ interface ComplexPermission {
10
+ permissions: Array<{
11
+ module: string;
12
+ action: PermissionAction;
13
+ }>;
14
+ operator?: "AND" | "OR";
15
+ }
16
+ interface ProtectedRouteProps {
17
+ module?: string;
18
+ action?: PermissionAction;
19
+ multiModule?: MultiModulePermission;
20
+ complexPermissions?: ComplexPermission;
21
+ customPermissionCheck?: (permissions: any) => boolean;
22
+ redirectTo?: string;
23
+ showError?: boolean;
24
+ children: React.ReactNode;
25
+ }
26
+ declare const ProtectedRoute: React.FC<ProtectedRouteProps>;
27
+ export default ProtectedRoute;
28
+ export declare const createPermissionConfig: {
29
+ single: (module: string, action: PermissionAction) => {
30
+ module: string;
31
+ action: PermissionAction;
32
+ };
33
+ multiModule: (modules: string[], action: PermissionAction, operator?: "AND" | "OR") => {
34
+ multiModule: {
35
+ modules: string[];
36
+ action: PermissionAction;
37
+ operator: "AND" | "OR";
38
+ };
39
+ };
40
+ complex: (permissions: Array<{
41
+ module: string;
42
+ action: PermissionAction;
43
+ }>, operator?: "AND" | "OR") => {
44
+ complexPermissions: {
45
+ permissions: {
46
+ module: string;
47
+ action: PermissionAction;
48
+ }[];
49
+ operator: "AND" | "OR";
50
+ };
51
+ };
52
+ custom: (checkFn: (permissions: any) => boolean) => {
53
+ customPermissionCheck: (permissions: any) => boolean;
54
+ };
55
+ };
56
+ export type PermissionConfig = ReturnType<typeof createPermissionConfig.single> | ReturnType<typeof createPermissionConfig.multiModule> | ReturnType<typeof createPermissionConfig.complex> | ReturnType<typeof createPermissionConfig.custom>;
@@ -0,0 +1,41 @@
1
+ import { default as React, ReactNode } from 'react';
2
+ import { ApiClientConfig } from '../../redux';
3
+ import { Color } from '../../theme';
4
+
5
+ interface ERPUIContextValue {
6
+ useRedux: boolean;
7
+ apiClient?: ApiClientConfig;
8
+ theme?: any;
9
+ themeMode: 'light' | 'dark';
10
+ direction: 'ltr' | 'rtl';
11
+ primaryColor?: Color;
12
+ }
13
+ export declare const useERPUI: () => ERPUIContextValue;
14
+ interface ERPUIProviderProps {
15
+ children: ReactNode;
16
+ useRedux?: boolean;
17
+ reduxStore?: any;
18
+ apiClient?: ApiClientConfig;
19
+ additionalReducers?: Record<string, any>;
20
+ theme?: any;
21
+ themeMode?: 'light' | 'dark';
22
+ primaryColor?: Color;
23
+ direction?: 'ltr' | 'rtl';
24
+ enableAuth?: boolean;
25
+ enableLanguage?: boolean;
26
+ enablePages?: boolean;
27
+ enablePermissions?: boolean;
28
+ enableRouter?: boolean;
29
+ enableSnackbar?: boolean;
30
+ enableCssBaseline?: boolean;
31
+ snackbarConfig?: {
32
+ maxSnack?: number;
33
+ anchorOrigin?: {
34
+ vertical: 'top' | 'bottom';
35
+ horizontal: 'left' | 'center' | 'right';
36
+ };
37
+ autoHideDuration?: number;
38
+ };
39
+ }
40
+ export declare const ERPUIProvider: React.FC<ERPUIProviderProps>;
41
+ export default ERPUIProvider;
@@ -0,0 +1,2 @@
1
+ export { default as ERPUIProvider } from './ERPUIProvider';
2
+ export * from './ERPUIProvider';
@@ -0,0 +1,2 @@
1
+ export { default as QuickApprovalModal } from './quick-approval-modal';
2
+ export * from './quick-approval-modal';
@@ -1,18 +1,18 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import Modal from "../../modal/modal/index.esm.js";
2
+ import { Modal } from "../../modal/modal/index.esm.js";
3
3
  import { Typography } from "../../typography/typography/index.esm.js";
4
4
  import * as Yup from "yup";
5
5
  import { yupResolver as o } from "../../../node_modules/@hookform/resolvers/yup/dist/yup/index.esm.js";
6
- import Select from "../../select/select/index.esm.js";
6
+ import { Select } from "../../select/select/index.esm.js";
7
7
  import { useForm, Controller } from "react-hook-form";
8
8
  /* empty css */
9
9
  import { useState, useEffect } from "react";
10
10
  import { Avatar } from "../../avatar/avatar/index.esm.js";
11
11
  import { formatLabel } from "../../../utils/format-text/index.esm.js";
12
- import Checkbox from "../../checkbox/checkbox/index.esm.js";
13
- import Button from "../../button/button/index.esm.js";
12
+ import { Checkbox } from "../../checkbox/checkbox/index.esm.js";
13
+ import { Button } from "../../button/button/index.esm.js";
14
14
  import ChipOrPlaceholder from "../../form-control/form-builder/form-builder-element/chip-or-placeholder/index.esm.js";
15
- import Chip from "../../chip/chip/index.esm.js";
15
+ import { Chip } from "../../chip/chip/index.esm.js";
16
16
  import { getV1User } from "../../../api-client/api.rbac/api/index.esm.js";
17
17
  import { enqueueSnackbar } from "../../../node_modules/notistack/notistack.esm/index.esm.js";
18
18
  import { getToken } from "../../../utils/common/index.esm.js";
@@ -1,19 +1,19 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=,/* empty css */i=,/* empty css */a=require("yup"),o=,/* empty css */t=,/* empty css */l=require("react-hook-form");;/* empty css */var s=require("react"),n=,/* empty css */d=,/* empty css */u=,/* empty css */c=,/* empty css */p=,/* empty css */m=,/* empty css */x=,/* empty css */h=,/* empty css */f=,/* empty css */j=,/* empty css */v=,/* empty css */g=,/* empty css */y=,/* empty css */q=,/* empty css */b=,/* empty css */_=,/* empty css */k=,/* empty css */C=;/* empty css */function A(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=/* @__PURE__ */Object.create(null);return e&&Object.keys(e).forEach(function(i){if("default"!==i){var a=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(r,i,a.get?a:{enumerable:!0,get:function(){return e[i]}})}}),r.default=e,r}var M=/* @__PURE__ */A(a);const D=M.object().shape({approver_id:M.array().required("Please select the approvers").min(1,"Please select the approvers")});exports.default=({isOpen:a,setIsOpen:A,modalProps:M,title:S,onConfirm:E,isProcessing:I})=>{const[P,T]=s.useState({isLoading:!0,isError:!1,error:"null",data:[]}),{isLoading:w,isError:B,error:N,data:O}=P,{control:L,handleSubmit:z,reset:R,setValue:V,getValues:$,watch:F}=l.useForm({resolver:o.yupResolver(D),mode:"all"});F("approver_id");const U=$("approver_id"),W=()=>{R({approver_id:[]}),A()},K=({data:r,options:a})=>{const o=r.map(e=>{const r=a.find(r=>r.id===e);return r?Q(r):e});/* @__PURE__ */
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=,/* empty css */i=,/* empty css */o=require("yup"),a=,/* empty css */t=,/* empty css */l=require("react-hook-form");;/* empty css */var n=require("react"),s=,/* empty css */d=,/* empty css */u=,/* empty css */c=,/* empty css */p=,/* empty css */m=,/* empty css */h=,/* empty css */x=,/* empty css */j=,/* empty css */v=,/* empty css */f=,/* empty css */g=,/* empty css */y=,/* empty css */q=,/* empty css */b=,/* empty css */k=,/* empty css */_=,/* empty css */C=;/* empty css */function A(e){if(e&&"object"==typeof e&&"default"in e)return e;var r=/* @__PURE__ */Object.create(null);return e&&Object.keys(e).forEach(function(i){if("default"!==i){var o=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(r,i,o.get?o:{enumerable:!0,get:function(){return e[i]}})}}),r.default=e,r}var M=/* @__PURE__ */A(o);const D=M.object().shape({approver_id:M.array().required("Please select the approvers").min(1,"Please select the approvers")});exports.default=({isOpen:o,setIsOpen:A,modalProps:M,title:B,onConfirm:S,isProcessing:E})=>{const[I,P]=n.useState({isLoading:!0,isError:!1,error:"null",data:[]}),{isLoading:T,isError:w,error:N,data:O}=I,{control:L,handleSubmit:z,reset:R,setValue:V,getValues:$,watch:F}=l.useForm({resolver:a.yupResolver(D),mode:"all"});F("approver_id");const U=$("approver_id"),W=()=>{R({approver_id:[]}),A()},K=({data:r,options:o})=>{const a=r.map(e=>{const r=o.find(r=>r.id===e);return r?Q(r):e});/* @__PURE__ */
2
2
  return e.jsxs(b.default,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[
3
- /* @__PURE__ */e.jsxs(i.Typography,{type:"s5",color:"inherit",sx:{display:"flex",gap:1,alignItems:"center",mt:.5},children:[o.slice(0,3).join(", "),r.length>4&&/* @__PURE__ */e.jsx(m.default,{variant:"outlined",type:"normal",className:"quickApprovalModal--DisplayNameChip",label:/* @__PURE__ */e.jsx(C.MoreIcon,{fontSize:"small"})})]}),
4
- /* @__PURE__ */e.jsx(c.default,{variant:"text",onClick:()=>V("approver_id",[]),children:/* @__PURE__ */e.jsx(i.Typography,{type:"s5",color:"inherit",children:"Remove"})})]})};s.useEffect(()=>{a&&(async()=>{var e;try{const r={skip:0,limit:99,filters:"(is_active.eq=true)"},i=await x.getV1User({...r,...f.getToken()}),a=(null==(e=null==i?void 0:i.data)?void 0:e.users)||[];T({isLoading:!1,isError:!1,error:null,data:a})}catch(r){T({isLoading:!1,isError:!0,error:"Failed to fetch Approvers",data:[]})}})()},[a]),s.useEffect(()=>{B&&h.enqueueSnackbar(N??"Something went wrong",{variant:"error"})},[N,B]);const Q=e=>{const{first_name:r="",last_name:i=""}=e||{};return d.formatLabel(`${r} ${i}`)};return s.useEffect(()=>()=>{W()},[]),/* @__PURE__ */e.jsx(r.default,{open:a,onClose:W,maxWidth:"sm",fullWidth:!0,disableEscapeKeyDown:!0,...M,children:/* @__PURE__ */e.jsxs("form",{onSubmit:z(e=>{E(e.approver_id),W()}),children:[
5
- /* @__PURE__ */e.jsxs(j.default,{className:"quickApprovalModal--Title",children:[
6
- /* @__PURE__ */e.jsx(i.Typography,{type:"s3",color:"inherit",weight:"medium",children:S||"Quick Approval"}),
7
- /* @__PURE__ */e.jsx(v.default,{onClick:W,children:/* @__PURE__ */e.jsx(g.default,{fontSize:"small"})})]}),
8
- /* @__PURE__ */e.jsx(y.default,{className:"quickApprovalModal--ModalContentContainer",children:/* @__PURE__ */e.jsx(l.Controller,{name:"approver_id",control:L,render:({field:r,fieldState:a})=>{var o,l,s;/* @__PURE__ */
3
+ /* @__PURE__ */e.jsxs(i.Typography,{type:"s5",color:"inherit",sx:{display:"flex",gap:1,alignItems:"center",mt:.5},children:[a.slice(0,3).join(", "),r.length>4&&/* @__PURE__ */e.jsx(m.Chip,{variant:"outlined",type:"normal",className:"quickApprovalModal--DisplayNameChip",label:/* @__PURE__ */e.jsx(C.MoreIcon,{fontSize:"small"})})]}),
4
+ /* @__PURE__ */e.jsx(c.Button,{variant:"text",onClick:()=>V("approver_id",[]),children:/* @__PURE__ */e.jsx(i.Typography,{type:"s5",color:"inherit",children:"Remove"})})]})};n.useEffect(()=>{o&&(async()=>{var e;try{const r={skip:0,limit:99,filters:"(is_active.eq=true)"},i=await h.getV1User({...r,...j.getToken()}),o=(null==(e=null==i?void 0:i.data)?void 0:e.users)||[];P({isLoading:!1,isError:!1,error:null,data:o})}catch(r){P({isLoading:!1,isError:!0,error:"Failed to fetch Approvers",data:[]})}})()},[o]),n.useEffect(()=>{w&&x.enqueueSnackbar(N??"Something went wrong",{variant:"error"})},[N,w]);const Q=e=>{const{first_name:r="",last_name:i=""}=e||{};return d.formatLabel(`${r} ${i}`)};return n.useEffect(()=>()=>{W()},[]),/* @__PURE__ */e.jsx(r.Modal,{open:o,onClose:W,maxWidth:"sm",fullWidth:!0,disableEscapeKeyDown:!0,...M,children:/* @__PURE__ */e.jsxs("form",{onSubmit:z(e=>{S(e.approver_id),W()}),children:[
5
+ /* @__PURE__ */e.jsxs(v.default,{className:"quickApprovalModal--Title",children:[
6
+ /* @__PURE__ */e.jsx(i.Typography,{type:"s3",color:"inherit",weight:"medium",children:B||"Quick Approval"}),
7
+ /* @__PURE__ */e.jsx(f.default,{onClick:W,children:/* @__PURE__ */e.jsx(g.default,{fontSize:"small"})})]}),
8
+ /* @__PURE__ */e.jsx(y.default,{className:"quickApprovalModal--ModalContentContainer",children:/* @__PURE__ */e.jsx(l.Controller,{name:"approver_id",control:L,render:({field:r,fieldState:o})=>{var a,l,n;/* @__PURE__ */
9
9
  return e.jsxs(e.Fragment,{children:[
10
- /* @__PURE__ */e.jsx(t.default,{name:"approver_id",value:r.value||[],onChange:r.onChange,error:Boolean(null==(o=a.error)?void 0:o.message),helperText:(null==(l=a.error)?void 0:l.message)||"",size:"small",renderValue:r=>/* @__PURE__ */e.jsx(p.default,{data:r,placeholder:"Select",onDelete:()=>V("approver_id",[])}),multiple:!0,fullWidth:!0,children:O.map(a=>{const o=["theme.tertiary1","theme.tertiary2","theme.tertiary3"],t=o[Math.floor(Math.random()*o.length)],l={borderRadius:"0.25rem !important",textAlign:"center",backgroundColor:`${t}.200`,color:`${t}.1000`};/* @__PURE__ */
11
- return e.jsx(q.default,{value:a.id,selected:Boolean(r.value&&r.value.includes(a.id)),children:/* @__PURE__ */e.jsxs(b.default,{className:"quickApprovalModal--UserListingContainer",children:[
10
+ /* @__PURE__ */e.jsx(t.Select,{name:"approver_id",value:r.value||[],onChange:r.onChange,error:Boolean(null==(a=o.error)?void 0:a.message),helperText:(null==(l=o.error)?void 0:l.message)||"",size:"small",renderValue:r=>/* @__PURE__ */e.jsx(p.default,{data:r,placeholder:"Select",onDelete:()=>V("approver_id",[])}),multiple:!0,fullWidth:!0,children:O.map(o=>{const a=["theme.tertiary1","theme.tertiary2","theme.tertiary3"],t=a[Math.floor(Math.random()*a.length)],l={borderRadius:"0.25rem !important",textAlign:"center",backgroundColor:`${t}.200`,color:`${t}.1000`};/* @__PURE__ */
11
+ return e.jsx(q.default,{value:o.id,selected:Boolean(r.value&&r.value.includes(o.id)),children:/* @__PURE__ */e.jsxs(b.default,{className:"quickApprovalModal--UserListingContainer",children:[
12
12
  /* @__PURE__ */e.jsxs(b.default,{className:"quickApprovalModal--UserContent",children:[
13
- /* @__PURE__ */e.jsx(n.Avatar,{src:a.profile_image,alt:Q(a),sx:l,size:24}),
14
- /* @__PURE__ */e.jsx(i.Typography,{type:"s4",color:"theme.secondary.1000",children:Q(a)})]}),
15
- /* @__PURE__ */e.jsx(u.default,{checked:Boolean(r.value&&r.value.includes(a.id))})]})},a.id)})}),Array.isArray(null==r?void 0:r.value)&&(null==(s=null==r?void 0:r.value)?void 0:s.length)>0&&/* @__PURE__ */e.jsx(K,{data:r.value,options:O})]})}})}),
16
- /* @__PURE__ */e.jsxs(_.default,{className:"quickApprovalModal--DialogActions",children:[
17
- /* @__PURE__ */e.jsx(c.default,{className:"quickApprovalModal--DialogActions--Cancel",onClick:W,disabled:w||I,children:"Cancel"}),
18
- /* @__PURE__ */e.jsx(c.default,{type:"submit",endIcon:I?/* @__PURE__ */e.jsx(k.default,{size:15,color:"inherit"}):void 0,disabled:I||w||Boolean(!(null==U?void 0:U.length)),children:"Send Request"})]})]})})};
13
+ /* @__PURE__ */e.jsx(s.Avatar,{src:o.profile_image,alt:Q(o),sx:l,size:24}),
14
+ /* @__PURE__ */e.jsx(i.Typography,{type:"s4",color:"theme.secondary.1000",children:Q(o)})]}),
15
+ /* @__PURE__ */e.jsx(u.Checkbox,{checked:Boolean(r.value&&r.value.includes(o.id))})]})},o.id)})}),Array.isArray(null==r?void 0:r.value)&&(null==(n=null==r?void 0:r.value)?void 0:n.length)>0&&/* @__PURE__ */e.jsx(K,{data:r.value,options:O})]})}})}),
16
+ /* @__PURE__ */e.jsxs(k.default,{className:"quickApprovalModal--DialogActions",children:[
17
+ /* @__PURE__ */e.jsx(c.Button,{className:"quickApprovalModal--DialogActions--Cancel",onClick:W,disabled:T||E,children:"Cancel"}),
18
+ /* @__PURE__ */e.jsx(c.Button,{type:"submit",endIcon:E?/* @__PURE__ */e.jsx(_.default,{size:15,color:"inherit"}):void 0,disabled:E||T||Boolean(!(null==U?void 0:U.length)),children:"Send Request"})]})]})})};
19
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/quick-approval-modal/quick-approval-modal.tsx"],"sourcesContent":["import { Close } from '@mui/icons-material';\nimport {\n\tBox,\n\tCircularProgress,\n\tDialogActions,\n\tDialogContent,\n\tDialogProps,\n\tDialogTitle,\n\tIconButton,\n\tMenuItem\n} from '@mui/material';\nimport Modal from '../modal/modal';\nimport Typography from '../typography/typography';\n\nimport * as Yup from 'yup';\nimport { yupResolver } from '@hookform/resolvers/yup';\nimport Select from '../select/select';\nimport { Controller, useForm } from 'react-hook-form';\n\nimport './quick-approval-modal.scss';\nimport { useEffect, useState } from 'react';\nimport Avatar from '../avatar/avatar';\nimport { formatLabel } from '../../utils/format-text';\nimport Checkbox from '../checkbox/checkbox';\nimport Button from '../button/button';\nimport ChipOrPlaceholder from '../form-control/form-builder/form-builder-element/chip-or-placeholder';\nimport Chip from '../chip/chip';\nimport { MoreIcon } from '../icons';\nimport { getV1User } from '../../api-client/api.rbac/api';\nimport { enqueueSnackbar } from 'notistack';\n\nimport React from 'react';\nimport { getToken } from '../../utils/common';\n\ninterface QuickApprovalModalProps {\n\tisOpen: boolean;\n\tsetIsOpen: () => void;\n\tmodalProps?: DialogProps;\n\ttitle?: string;\n\tonConfirm: (approverIds: number[]) => void;\n isProcessing?: boolean\n}\n\ninterface IFormInput {\n\tapprover_id: number[];\n}\ninterface IUsersData {\n\tisLoading: boolean\n\tisError: boolean\n error: string | null\n data: Array<Record<string, any>>\n}\n\nconst validationSchema = Yup.object().shape({\n\tapprover_id: Yup.array()\n\t\t.required('Please select the approvers')\n\t\t.min(1, 'Please select the approvers')\n});\n\nconst QuickApprovalModal: React.FC<QuickApprovalModalProps> = ({\n\tisOpen,\n\tsetIsOpen,\n\tmodalProps,\n\ttitle,\n\tonConfirm,\n isProcessing\n}) => {\n\tconst [users, setUsers] = useState<IUsersData>({\n\t\tisLoading: true,\n\t\tisError: false,\n\t\terror: 'null',\n\t\tdata: []\n\t});\n\tconst { isLoading, isError, error, data } = users;\n\n\tconst { control, handleSubmit, reset, setValue, getValues, watch } =\n\t\tuseForm<IFormInput>({\n\t\t\tresolver: yupResolver(validationSchema),\n\t\t\tmode: 'all'\n\t\t});\n\n\twatch('approver_id');\n\tconst formValues = getValues('approver_id');\n\n\tconst onSubmit = (values: IFormInput) => {\n\t\tonConfirm(values.approver_id);\n\t\thandleModalClose();\n\t};\n\n\tconst handleModalClose = () => {\n\t\treset({approver_id: []});\n\t\tsetIsOpen();\n\t};\n\n\tconst SelectedItems = ({\n\t\tdata,\n\t\toptions\n\t}: {\n\t\tdata: number[];\n\t\toptions: any[];\n\t}) => {\n\t\tconst displayTitle = data.map((selectedItem) => {\n\t\t\tconst user = options.find((option: any) => option.id === selectedItem);\n\t\t\tif (user) {\n\t\t\t\treturn getLabel(user);\n\t\t\t}\n\t\t\treturn selectedItem;\n\t\t});\n\n\t\treturn (\n\t\t\t<Box display='flex' justifyContent='space-between' alignItems='center'>\n\t\t\t\t<Typography\n\t\t\t\t\ttype='s5'\n\t\t\t\t\tcolor='inherit'\n\t\t\t\t\tsx={{ display: 'flex', gap: 1, alignItems: 'center', mt: 0.5 }}>\n\t\t\t\t\t{displayTitle.slice(0, 3).join(', ')}\n\t\t\t\t\t{data.length > 4 && (\n\t\t\t\t\t\t<Chip\n\t\t\t\t\t\t\tvariant='outlined'\n\t\t\t\t\t\t\ttype='normal'\n\t\t\t\t\t\t\tclassName='quickApprovalModal--DisplayNameChip'\n\t\t\t\t\t\t\tlabel={<MoreIcon fontSize='small' />}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\t\t\t\t</Typography>\n\t\t\t\t<Button variant='text' onClick={() => setValue('approver_id', [])}>\n\t\t\t\t\t<Typography type='s5' color='inherit'>\n\t\t\t\t\t\tRemove\n\t\t\t\t\t</Typography>\n\t\t\t\t</Button>\n\t\t\t</Box>\n\t\t);\n\t};\n\n\tconst getAndSetFetchUsers = async () => {\n\t\ttry {\n\t\t\tconst filters = { skip: 0, limit: 99, filters: `(is_active.eq=true)` };\n\t\t\tconst response = await getV1User({ ...filters, ...getToken() });\n\t\n\t\t\tconst users: any[] = response?.data?.users || [];\n\t\t\tsetUsers({\n\t\t\t\tisLoading: false,\n\t\t\t\tisError: false,\n\t\t\t\terror: null,\n\t\t\t\tdata: users\n\t\t\t});\t\n\t\t} catch (error) {\n\t\t\tsetUsers({\n\t\t\t\tisLoading: false,\n\t\t\t\tisError: true,\n\t\t\t\terror: 'Failed to fetch Approvers',\n\t\t\t\tdata: []\n\t\t\t});\n\t\t}\n\t};\n\n\tuseEffect(() => {\n\t\tif (isOpen) {\n\t\t\tgetAndSetFetchUsers()\n\t\t}\n\t}, [isOpen]);\n\tuseEffect(() => {\n\t\tif (isError) {\n\t\t\tenqueueSnackbar(error ?? 'Something went wrong', { variant: 'error'});\n\t\t}\n\t}, [error, isError]);\n\n\tconst getLabel = (obj: Record<any, any>) => {\n\t\tconst {first_name = '', last_name=''} = obj || {}\n\n\t\treturn formatLabel(`${first_name} ${last_name}`)\n\t}\n\n useEffect(() => {\n return () => {\n handleModalClose()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n },[])\n\n\treturn (\n\t\t<Modal\n\t\t\topen={isOpen}\n\t\t\tonClose={handleModalClose}\n\t\t\tmaxWidth='sm'\n\t\t\tfullWidth\n\t\t\tdisableEscapeKeyDown\n\t\t\t{...modalProps}>\n\t\t\t<form onSubmit={handleSubmit(onSubmit)}>\n\t\t\t\t<DialogTitle className='quickApprovalModal--Title'>\n\t\t\t\t\t<Typography type='s3' color='inherit' weight='medium'>\n\t\t\t\t\t\t{title || 'Quick Approval'}\n\t\t\t\t\t</Typography>\n\t\t\t\t\t<IconButton onClick={handleModalClose}>\n\t\t\t\t\t\t<Close fontSize='small' />\n\t\t\t\t\t</IconButton>\n\t\t\t\t</DialogTitle>\n\t\t\t\t<DialogContent className='quickApprovalModal--ModalContentContainer'>\n\t\t\t\t\t<Controller\n\t\t\t\t\t\tname='approver_id'\n\t\t\t\t\t\tcontrol={control}\n\t\t\t\t\t\trender={({ field, fieldState }) => (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t<Select\n\t\t\t\t\t\t\t\t\tname='approver_id'\n\t\t\t\t\t\t\t\t\tvalue={field.value || []}\n\t\t\t\t\t\t\t\t\tonChange={field.onChange}\n\t\t\t\t\t\t\t\t\terror={Boolean(fieldState.error?.message)}\n\t\t\t\t\t\t\t\t\thelperText={fieldState.error?.message || ''}\n\t\t\t\t\t\t\t\t\tsize='small'\n\t\t\t\t\t\t\t\t\trenderValue={(selected: string[]) => (\n\t\t\t\t\t\t\t\t\t\t<ChipOrPlaceholder\n\t\t\t\t\t\t\t\t\t\t\tdata={selected}\n\t\t\t\t\t\t\t\t\t\t\tplaceholder='Select'\n\t\t\t\t\t\t\t\t\t\t\tonDelete={() => setValue('approver_id', [])}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\tmultiple\n\t\t\t\t\t\t\t\t\tfullWidth>\n\t\t\t\t\t\t\t\t\t{data.map((user) => {\n\t\t\t\t\t\t\t\t\t\tconst colors = [\n\t\t\t\t\t\t\t\t\t\t\t'theme.tertiary1',\n\t\t\t\t\t\t\t\t\t\t\t'theme.tertiary2',\n\t\t\t\t\t\t\t\t\t\t\t'theme.tertiary3'\n\t\t\t\t\t\t\t\t\t\t];\n\t\t\t\t\t\t\t\t\t\tconst randomIndex = Math.floor(\n\t\t\t\t\t\t\t\t\t\t\tMath.random() * colors.length\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tconst randomColor = colors[randomIndex];\n\t\t\t\t\t\t\t\t\t\tconst avatarStyle = {\n\t\t\t\t\t\t\t\t\t\t\tborderRadius: '0.25rem !important',\n\t\t\t\t\t\t\t\t\t\t\ttextAlign: 'center',\n\t\t\t\t\t\t\t\t\t\t\tbackgroundColor: `${randomColor}.200`,\n\t\t\t\t\t\t\t\t\t\t\tcolor: `${randomColor}.1000`\n\t\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t<MenuItem\n\t\t\t\t\t\t\t\t\t\t\t\tkey={user.id}\n\t\t\t\t\t\t\t\t\t\t\t\tvalue={user.id}\n\t\t\t\t\t\t\t\t\t\t\t\tselected={Boolean(\n\t\t\t\t\t\t\t\t\t\t\t\t\tfield.value && field.value.includes(user.id)\n\t\t\t\t\t\t\t\t\t\t\t\t)}>\n\t\t\t\t\t\t\t\t\t\t\t\t<Box className='quickApprovalModal--UserListingContainer'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Box className='quickApprovalModal--UserContent'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<Avatar\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsrc={user.profile_image}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\talt={getLabel(user)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsx={avatarStyle}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsize={24}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<Typography type='s4' color='theme.secondary.1000'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{getLabel(user)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</Box>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Checkbox\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tchecked={Boolean(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfield.value && field.value.includes(user.id)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t</Box>\n\t\t\t\t\t\t\t\t\t\t\t</MenuItem>\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t</Select>\n\t\t\t\t\t\t\t\t{Array.isArray(field?.value) && field?.value?.length > 0 && (\n\t\t\t\t\t\t\t\t\t<SelectedItems data={field.value} options={data} />\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</>\n\t\t\t\t\t\t)}\n\t\t\t\t\t/>\n\t\t\t\t</DialogContent>\n\t\t\t\t<DialogActions className='quickApprovalModal--DialogActions'>\n\t\t\t\t\t<Button\n\t\t\t\t\t\tclassName='quickApprovalModal--DialogActions--Cancel'\n\t\t\t\t\t\tonClick={handleModalClose}\n\t\t\t\t\t\tdisabled={isLoading || isProcessing}>\n\t\t\t\t\t\tCancel\n\t\t\t\t\t</Button>\n\t\t\t\t\t<Button\n\t\t\t\t\t\ttype='submit'\n\t\t\t\t\t\tendIcon={\n\t\t\t\t\t\t\tisProcessing ? (\n\t\t\t\t\t\t\t\t<CircularProgress size={15} color='inherit' />\n\t\t\t\t\t\t\t) : undefined\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdisabled={isProcessing || isLoading || Boolean(!formValues?.length)}>\n\t\t\t\t\t\tSend Request\n\t\t\t\t\t</Button>\n\t\t\t\t</DialogActions>\n\t\t\t</form>\n\t\t</Modal>\n\t);\n};\n\nexport default QuickApprovalModal;"],"names":["validationSchema","Yup","object","shape","approver_id","array","required","min","isOpen","setIsOpen","modalProps","title","onConfirm","isProcessing","users","setUsers","useState","isLoading","isError","error","data","control","handleSubmit","reset","setValue","getValues","watch","useForm","resolver","yupResolver","mode","formValues","handleModalClose","SelectedItems","options","displayTitle","map","selectedItem","user","find","option","id","getLabel","Box","display","justifyContent","alignItems","children","jsxs","Typography","type","color","sx","gap","mt","slice","join","length","jsx","Chip","variant","className","label","MoreIcon","fontSize","Button","onClick","useEffect","async","filters","skip","limit","response","getV1User","getToken","_a","getAndSetFetchUsers","enqueueSnackbar","obj","first_name","last_name","formatLabel","Modal","open","onClose","maxWidth","fullWidth","disableEscapeKeyDown","onSubmit","values","DialogTitle","weight","IconButton","Close","DialogContent","Controller","name","render","field","fieldState","Fragment","Select","value","onChange","Boolean","message","helperText","_b","size","renderValue","selected","ChipOrPlaceholder","placeholder","onDelete","multiple","colors","randomColor","Math","floor","random","avatarStyle","borderRadius","textAlign","backgroundColor","MenuItem","includes","Avatar","src","profile_image","alt","Checkbox","checked","Array","isArray","_c","DialogActions","disabled","endIcon","CircularProgress"],"mappings":"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"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/quick-approval-modal/quick-approval-modal.tsx"],"sourcesContent":["import { Close } from '@mui/icons-material';\nimport {\n\tBox,\n\tCircularProgress,\n\tDialogActions,\n\tDialogContent,\n\tDialogProps,\n\tDialogTitle,\n\tIconButton,\n\tMenuItem\n} from '@mui/material';\nimport Modal from '../modal/modal';\nimport Typography from '../typography/typography';\n\nimport * as Yup from 'yup';\nimport { yupResolver } from '@hookform/resolvers/yup';\nimport Select from '../select/select';\nimport { Controller, useForm } from 'react-hook-form';\n\nimport './quick-approval-modal.scss';\nimport { useEffect, useState } from 'react';\nimport Avatar from '../avatar/avatar';\nimport { formatLabel } from '../../utils/format-text';\nimport Checkbox from '../checkbox/checkbox';\nimport Button from '../button/button';\nimport ChipOrPlaceholder from '../form-control/form-builder/form-builder-element/chip-or-placeholder';\nimport Chip from '../chip/chip';\nimport { MoreIcon } from '../icons';\nimport { getV1User } from '../../api-client/api.rbac/api';\nimport { enqueueSnackbar } from 'notistack';\n\nimport React from 'react';\nimport { getToken } from '../../utils/common';\n\ninterface QuickApprovalModalProps {\n\tisOpen: boolean;\n\tsetIsOpen: () => void;\n\tmodalProps?: DialogProps;\n\ttitle?: string;\n\tonConfirm: (approverIds: number[]) => void;\n isProcessing?: boolean\n}\n\ninterface IFormInput {\n\tapprover_id: number[];\n}\ninterface IUsersData {\n\tisLoading: boolean\n\tisError: boolean\n error: string | null\n data: Array<Record<string, any>>\n}\n\nconst validationSchema = Yup.object().shape({\n\tapprover_id: Yup.array()\n\t\t.required('Please select the approvers')\n\t\t.min(1, 'Please select the approvers')\n});\n\nconst QuickApprovalModal: React.FC<QuickApprovalModalProps> = ({\n\tisOpen,\n\tsetIsOpen,\n\tmodalProps,\n\ttitle,\n\tonConfirm,\n isProcessing\n}) => {\n\tconst [users, setUsers] = useState<IUsersData>({\n\t\tisLoading: true,\n\t\tisError: false,\n\t\terror: 'null',\n\t\tdata: []\n\t});\n\tconst { isLoading, isError, error, data } = users;\n\n\tconst { control, handleSubmit, reset, setValue, getValues, watch } =\n\t\tuseForm<IFormInput>({\n\t\t\tresolver: yupResolver(validationSchema),\n\t\t\tmode: 'all'\n\t\t});\n\n\twatch('approver_id');\n\tconst formValues = getValues('approver_id');\n\n\tconst onSubmit = (values: IFormInput) => {\n\t\tonConfirm(values.approver_id);\n\t\thandleModalClose();\n\t};\n\n\tconst handleModalClose = () => {\n\t\treset({approver_id: []});\n\t\tsetIsOpen();\n\t};\n\n\tconst SelectedItems = ({\n\t\tdata,\n\t\toptions\n\t}: {\n\t\tdata: number[];\n\t\toptions: any[];\n\t}) => {\n\t\tconst displayTitle = data.map((selectedItem) => {\n\t\t\tconst user = options.find((option: any) => option.id === selectedItem);\n\t\t\tif (user) {\n\t\t\t\treturn getLabel(user);\n\t\t\t}\n\t\t\treturn selectedItem;\n\t\t});\n\n\t\treturn (\n\t\t\t<Box display='flex' justifyContent='space-between' alignItems='center'>\n\t\t\t\t<Typography\n\t\t\t\t\ttype='s5'\n\t\t\t\t\tcolor='inherit'\n\t\t\t\t\tsx={{ display: 'flex', gap: 1, alignItems: 'center', mt: 0.5 }}>\n\t\t\t\t\t{displayTitle.slice(0, 3).join(', ')}\n\t\t\t\t\t{data.length > 4 && (\n\t\t\t\t\t\t<Chip\n\t\t\t\t\t\t\tvariant='outlined'\n\t\t\t\t\t\t\ttype='normal'\n\t\t\t\t\t\t\tclassName='quickApprovalModal--DisplayNameChip'\n\t\t\t\t\t\t\tlabel={<MoreIcon fontSize='small' />}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\t\t\t\t</Typography>\n\t\t\t\t<Button variant='text' onClick={() => setValue('approver_id', [])}>\n\t\t\t\t\t<Typography type='s5' color='inherit'>\n\t\t\t\t\t\tRemove\n\t\t\t\t\t</Typography>\n\t\t\t\t</Button>\n\t\t\t</Box>\n\t\t);\n\t};\n\n\tconst getAndSetFetchUsers = async () => {\n\t\ttry {\n\t\t\tconst filters = { skip: 0, limit: 99, filters: `(is_active.eq=true)` };\n\t\t\tconst response = await getV1User({ ...filters, ...getToken() });\n\t\n\t\t\tconst users: any[] = response?.data?.users || [];\n\t\t\tsetUsers({\n\t\t\t\tisLoading: false,\n\t\t\t\tisError: false,\n\t\t\t\terror: null,\n\t\t\t\tdata: users\n\t\t\t});\t\n\t\t} catch (error) {\n\t\t\tsetUsers({\n\t\t\t\tisLoading: false,\n\t\t\t\tisError: true,\n\t\t\t\terror: 'Failed to fetch Approvers',\n\t\t\t\tdata: []\n\t\t\t});\n\t\t}\n\t};\n\n\tuseEffect(() => {\n\t\tif (isOpen) {\n\t\t\tgetAndSetFetchUsers()\n\t\t}\n\t}, [isOpen]);\n\tuseEffect(() => {\n\t\tif (isError) {\n\t\t\tenqueueSnackbar(error ?? 'Something went wrong', { variant: 'error'});\n\t\t}\n\t}, [error, isError]);\n\n\tconst getLabel = (obj: Record<any, any>) => {\n\t\tconst {first_name = '', last_name=''} = obj || {}\n\n\t\treturn formatLabel(`${first_name} ${last_name}`)\n\t}\n\n useEffect(() => {\n return () => {\n handleModalClose()\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n },[])\n\n\treturn (\n\t\t<Modal\n\t\t\topen={isOpen}\n\t\t\tonClose={handleModalClose}\n\t\t\tmaxWidth='sm'\n\t\t\tfullWidth\n\t\t\tdisableEscapeKeyDown\n\t\t\t{...modalProps}>\n\t\t\t<form onSubmit={handleSubmit(onSubmit)}>\n\t\t\t\t<DialogTitle className='quickApprovalModal--Title'>\n\t\t\t\t\t<Typography type='s3' color='inherit' weight='medium'>\n\t\t\t\t\t\t{title || 'Quick Approval'}\n\t\t\t\t\t</Typography>\n\t\t\t\t\t<IconButton onClick={handleModalClose}>\n\t\t\t\t\t\t<Close fontSize='small' />\n\t\t\t\t\t</IconButton>\n\t\t\t\t</DialogTitle>\n\t\t\t\t<DialogContent className='quickApprovalModal--ModalContentContainer'>\n\t\t\t\t\t<Controller\n\t\t\t\t\t\tname='approver_id'\n\t\t\t\t\t\tcontrol={control}\n\t\t\t\t\t\trender={({ field, fieldState }) => (\n\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t<Select\n\t\t\t\t\t\t\t\t\tname='approver_id'\n\t\t\t\t\t\t\t\t\tvalue={field.value || []}\n\t\t\t\t\t\t\t\t\tonChange={field.onChange}\n\t\t\t\t\t\t\t\t\terror={Boolean(fieldState.error?.message)}\n\t\t\t\t\t\t\t\t\thelperText={fieldState.error?.message || ''}\n\t\t\t\t\t\t\t\t\tsize='small'\n\t\t\t\t\t\t\t\t\trenderValue={(selected: string[]) => (\n\t\t\t\t\t\t\t\t\t\t<ChipOrPlaceholder\n\t\t\t\t\t\t\t\t\t\t\tdata={selected}\n\t\t\t\t\t\t\t\t\t\t\tplaceholder='Select'\n\t\t\t\t\t\t\t\t\t\t\tonDelete={() => setValue('approver_id', [])}\n\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\tmultiple\n\t\t\t\t\t\t\t\t\tfullWidth>\n\t\t\t\t\t\t\t\t\t{data.map((user) => {\n\t\t\t\t\t\t\t\t\t\tconst colors = [\n\t\t\t\t\t\t\t\t\t\t\t'theme.tertiary1',\n\t\t\t\t\t\t\t\t\t\t\t'theme.tertiary2',\n\t\t\t\t\t\t\t\t\t\t\t'theme.tertiary3'\n\t\t\t\t\t\t\t\t\t\t];\n\t\t\t\t\t\t\t\t\t\tconst randomIndex = Math.floor(\n\t\t\t\t\t\t\t\t\t\t\tMath.random() * colors.length\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\tconst randomColor = colors[randomIndex];\n\t\t\t\t\t\t\t\t\t\tconst avatarStyle = {\n\t\t\t\t\t\t\t\t\t\t\tborderRadius: '0.25rem !important',\n\t\t\t\t\t\t\t\t\t\t\ttextAlign: 'center',\n\t\t\t\t\t\t\t\t\t\t\tbackgroundColor: `${randomColor}.200`,\n\t\t\t\t\t\t\t\t\t\t\tcolor: `${randomColor}.1000`\n\t\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t\t\t\t<MenuItem\n\t\t\t\t\t\t\t\t\t\t\t\tkey={user.id}\n\t\t\t\t\t\t\t\t\t\t\t\tvalue={user.id}\n\t\t\t\t\t\t\t\t\t\t\t\tselected={Boolean(\n\t\t\t\t\t\t\t\t\t\t\t\t\tfield.value && field.value.includes(user.id)\n\t\t\t\t\t\t\t\t\t\t\t\t)}>\n\t\t\t\t\t\t\t\t\t\t\t\t<Box className='quickApprovalModal--UserListingContainer'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Box className='quickApprovalModal--UserContent'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<Avatar\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsrc={user.profile_image}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\talt={getLabel(user)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsx={avatarStyle}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsize={24}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<Typography type='s4' color='theme.secondary.1000'>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{getLabel(user)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t</Typography>\n\t\t\t\t\t\t\t\t\t\t\t\t\t</Box>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<Checkbox\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tchecked={Boolean(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfield.value && field.value.includes(user.id)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t\t\t\t\t</Box>\n\t\t\t\t\t\t\t\t\t\t\t</MenuItem>\n\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t</Select>\n\t\t\t\t\t\t\t\t{Array.isArray(field?.value) && field?.value?.length > 0 && (\n\t\t\t\t\t\t\t\t\t<SelectedItems data={field.value} options={data} />\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</>\n\t\t\t\t\t\t)}\n\t\t\t\t\t/>\n\t\t\t\t</DialogContent>\n\t\t\t\t<DialogActions className='quickApprovalModal--DialogActions'>\n\t\t\t\t\t<Button\n\t\t\t\t\t\tclassName='quickApprovalModal--DialogActions--Cancel'\n\t\t\t\t\t\tonClick={handleModalClose}\n\t\t\t\t\t\tdisabled={isLoading || isProcessing}>\n\t\t\t\t\t\tCancel\n\t\t\t\t\t</Button>\n\t\t\t\t\t<Button\n\t\t\t\t\t\ttype='submit'\n\t\t\t\t\t\tendIcon={\n\t\t\t\t\t\t\tisProcessing ? (\n\t\t\t\t\t\t\t\t<CircularProgress size={15} color='inherit' />\n\t\t\t\t\t\t\t) : undefined\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdisabled={isProcessing || isLoading || Boolean(!formValues?.length)}>\n\t\t\t\t\t\tSend Request\n\t\t\t\t\t</Button>\n\t\t\t\t</DialogActions>\n\t\t\t</form>\n\t\t</Modal>\n\t);\n};\n\nexport default QuickApprovalModal;"],"names":["validationSchema","Yup","object","shape","approver_id","array","required","min","isOpen","setIsOpen","modalProps","title","onConfirm","isProcessing","users","setUsers","useState","isLoading","isError","error","data","control","handleSubmit","reset","setValue","getValues","watch","useForm","resolver","yupResolver","mode","formValues","handleModalClose","SelectedItems","options","displayTitle","map","selectedItem","user","find","option","id","getLabel","Box","display","justifyContent","alignItems","children","jsxs","Typography","type","color","sx","gap","mt","slice","join","length","jsx","Chip","variant","className","label","MoreIcon","fontSize","Button","onClick","useEffect","async","filters","skip","limit","response","getV1User","getToken","_a","getAndSetFetchUsers","enqueueSnackbar","obj","first_name","last_name","formatLabel","Modal","open","onClose","maxWidth","fullWidth","disableEscapeKeyDown","onSubmit","values","DialogTitle","weight","IconButton","Close","DialogContent","Controller","name","render","field","fieldState","Fragment","Select","value","onChange","Boolean","message","helperText","_b","size","renderValue","selected","ChipOrPlaceholder","placeholder","onDelete","multiple","colors","randomColor","Math","floor","random","avatarStyle","borderRadius","textAlign","backgroundColor","MenuItem","includes","Avatar","src","profile_image","alt","Checkbox","checked","Array","isArray","_c","DialogActions","disabled","endIcon","CircularProgress"],"mappings":"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"}