@erpsquad/common 1.11.29 → 1.11.30

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 (1192) hide show
  1. package/dist/chunks/DonutChart-BlzVwF9V.js +104 -0
  2. package/dist/chunks/DonutChart-BlzVwF9V.js.map +1 -0
  3. package/dist/chunks/DonutChart-CBaRNVKd.esm.js +88 -0
  4. package/dist/chunks/DonutChart-CBaRNVKd.esm.js.map +1 -0
  5. package/dist/chunks/DynamicDependentField-B1jkZzNW.js +127 -0
  6. package/dist/chunks/DynamicDependentField-B1jkZzNW.js.map +1 -0
  7. package/dist/chunks/DynamicDependentField-m4v2i_Ss.esm.js +128 -0
  8. package/dist/chunks/DynamicDependentField-m4v2i_Ss.esm.js.map +1 -0
  9. package/dist/chunks/ERPUIProvider-D1yQ1CmD.esm.js +130 -0
  10. package/dist/chunks/ERPUIProvider-D1yQ1CmD.esm.js.map +1 -0
  11. package/dist/chunks/ERPUIProvider-O6cQFkJq.js +129 -0
  12. package/dist/chunks/ERPUIProvider-O6cQFkJq.js.map +1 -0
  13. package/dist/chunks/FORMS-CP_bWKVd.js +295 -0
  14. package/dist/chunks/FORMS-CP_bWKVd.js.map +1 -0
  15. package/dist/chunks/FORMS-D1M0DgHQ.esm.js +296 -0
  16. package/dist/chunks/FORMS-D1M0DgHQ.esm.js.map +1 -0
  17. package/dist/chunks/FlexibleReduxExample-Ckz_L6d8.esm.js +149 -0
  18. package/dist/chunks/FlexibleReduxExample-Ckz_L6d8.esm.js.map +1 -0
  19. package/dist/chunks/FlexibleReduxExample-Df-bAX9S.js +148 -0
  20. package/dist/chunks/FlexibleReduxExample-Df-bAX9S.js.map +1 -0
  21. package/dist/chunks/GroupBarChart-BSLOA0iQ.js +102 -0
  22. package/dist/chunks/GroupBarChart-BSLOA0iQ.js.map +1 -0
  23. package/dist/chunks/GroupBarChart-lhrIpM1h.esm.js +86 -0
  24. package/dist/chunks/GroupBarChart-lhrIpM1h.esm.js.map +1 -0
  25. package/dist/chunks/SectionFlowEditor-D1v29JFf.esm.js +5479 -0
  26. package/dist/chunks/SectionFlowEditor-D1v29JFf.esm.js.map +1 -0
  27. package/dist/chunks/SectionFlowEditor-D58o14CY.js +5478 -0
  28. package/dist/chunks/SectionFlowEditor-D58o14CY.js.map +1 -0
  29. package/dist/chunks/action-bar-D4SYJgTT.js +660 -0
  30. package/dist/chunks/action-bar-D4SYJgTT.js.map +1 -0
  31. package/dist/chunks/action-bar-D4Siz93J.esm.js +661 -0
  32. package/dist/chunks/action-bar-D4Siz93J.esm.js.map +1 -0
  33. package/dist/chunks/actionCreator-0uQghTUt.esm.js +22 -0
  34. package/dist/chunks/actionCreator-0uQghTUt.esm.js.map +1 -0
  35. package/dist/chunks/actionCreator-BIur2_cF.esm.js +28 -0
  36. package/dist/chunks/actionCreator-BIur2_cF.esm.js.map +1 -0
  37. package/dist/chunks/actionCreator-BYzzSzcP.esm.js +14 -0
  38. package/dist/chunks/actionCreator-BYzzSzcP.esm.js.map +1 -0
  39. package/dist/chunks/actionCreator-Cddz6Hfa.js +27 -0
  40. package/dist/chunks/actionCreator-Cddz6Hfa.js.map +1 -0
  41. package/dist/chunks/actionCreator-D45ZRUYG.js +13 -0
  42. package/dist/chunks/actionCreator-D45ZRUYG.js.map +1 -0
  43. package/dist/chunks/actionCreator-DA134jFh.js +21 -0
  44. package/dist/chunks/actionCreator-DA134jFh.js.map +1 -0
  45. package/dist/chunks/actionCreator-DCvH3aya.esm.js +79 -0
  46. package/dist/chunks/actionCreator-DCvH3aya.esm.js.map +1 -0
  47. package/dist/chunks/actionCreator-P2el50Ij.js +93 -0
  48. package/dist/chunks/actionCreator-P2el50Ij.js.map +1 -0
  49. package/dist/chunks/actionCreator-Ux93gVSu.esm.js +94 -0
  50. package/dist/chunks/actionCreator-Ux93gVSu.esm.js.map +1 -0
  51. package/dist/chunks/actionCreator-tNh5lk4r.js +78 -0
  52. package/dist/chunks/actionCreator-tNh5lk4r.js.map +1 -0
  53. package/dist/chunks/activity-log-ByIo_G8q.esm.js +104 -0
  54. package/dist/chunks/activity-log-ByIo_G8q.esm.js.map +1 -0
  55. package/dist/chunks/activity-log-Cyne0qwm.js +103 -0
  56. package/dist/chunks/activity-log-Cyne0qwm.js.map +1 -0
  57. package/dist/chunks/add-template-BYyqpxVx.js +10 -0
  58. package/dist/chunks/add-template-BYyqpxVx.js.map +1 -0
  59. package/dist/chunks/add-template-D1Ro9dcG.esm.js +11 -0
  60. package/dist/chunks/add-template-D1Ro9dcG.esm.js.map +1 -0
  61. package/dist/chunks/address-modal-CfE5Ae8t.js +680 -0
  62. package/dist/chunks/address-modal-CfE5Ae8t.js.map +1 -0
  63. package/dist/chunks/address-modal-gRlouRj8.esm.js +664 -0
  64. package/dist/chunks/address-modal-gRlouRj8.esm.js.map +1 -0
  65. package/dist/chunks/ai-summary-BxB8Rnuk.js +350 -0
  66. package/dist/chunks/ai-summary-BxB8Rnuk.js.map +1 -0
  67. package/dist/chunks/ai-summary-CxAKUX2p.esm.js +351 -0
  68. package/dist/chunks/ai-summary-CxAKUX2p.esm.js.map +1 -0
  69. package/dist/chunks/api-DwmixHAO.js +5922 -0
  70. package/dist/chunks/api-DwmixHAO.js.map +1 -0
  71. package/dist/chunks/api-u1lKzJVv.esm.js +5923 -0
  72. package/dist/chunks/api-u1lKzJVv.esm.js.map +1 -0
  73. package/dist/chunks/appbar-B9EKR8QS.esm.js +57 -0
  74. package/dist/chunks/appbar-B9EKR8QS.esm.js.map +1 -0
  75. package/dist/chunks/appbar-Dt_exHJ3.js +56 -0
  76. package/dist/chunks/appbar-Dt_exHJ3.js.map +1 -0
  77. package/dist/chunks/approval-wrapper-C8iOUYeE.js +139 -0
  78. package/dist/chunks/approval-wrapper-C8iOUYeE.js.map +1 -0
  79. package/dist/chunks/approval-wrapper-OmXAoB9R.esm.js +140 -0
  80. package/dist/chunks/approval-wrapper-OmXAoB9R.esm.js.map +1 -0
  81. package/dist/chunks/areaLinerChart-BEiJvhIq.esm.js +104 -0
  82. package/dist/chunks/areaLinerChart-BEiJvhIq.esm.js.map +1 -0
  83. package/dist/chunks/areaLinerChart-DetB92LI.js +120 -0
  84. package/dist/chunks/areaLinerChart-DetB92LI.js.map +1 -0
  85. package/dist/chunks/bar-chart-BjAvgQJP.esm.js +87 -0
  86. package/dist/chunks/bar-chart-BjAvgQJP.esm.js.map +1 -0
  87. package/dist/chunks/bar-chart-HkOgepOg.js +103 -0
  88. package/dist/chunks/bar-chart-HkOgepOg.js.map +1 -0
  89. package/dist/chunks/barChart-B-WO75Ok.js +160 -0
  90. package/dist/chunks/barChart-B-WO75Ok.js.map +1 -0
  91. package/dist/chunks/barChart-BLhVsRwm.esm.js +144 -0
  92. package/dist/chunks/barChart-BLhVsRwm.esm.js.map +1 -0
  93. package/dist/chunks/barLinechart-D3G4VUJZ.esm.js +180 -0
  94. package/dist/chunks/barLinechart-D3G4VUJZ.esm.js.map +1 -0
  95. package/dist/chunks/barLinechart-DEfYJvJj.js +196 -0
  96. package/dist/chunks/barLinechart-DEfYJvJj.js.map +1 -0
  97. package/dist/chunks/calculation-summary-GdbtqnzK.esm.js +193 -0
  98. package/dist/chunks/calculation-summary-GdbtqnzK.esm.js.map +1 -0
  99. package/dist/chunks/calculation-summary-IGoIPXGL.js +192 -0
  100. package/dist/chunks/calculation-summary-IGoIPXGL.js.map +1 -0
  101. package/dist/chunks/chat-bot-BIXoGUj-.js +3609 -0
  102. package/dist/chunks/chat-bot-BIXoGUj-.js.map +1 -0
  103. package/dist/chunks/chat-bot-DURQfOqY.esm.js +3610 -0
  104. package/dist/chunks/chat-bot-DURQfOqY.esm.js.map +1 -0
  105. package/dist/chunks/common-utility-BLazlXzI.js +300 -0
  106. package/dist/chunks/common-utility-BLazlXzI.js.map +1 -0
  107. package/dist/chunks/common-utility-BQcU3rOh.esm.js +301 -0
  108. package/dist/chunks/common-utility-BQcU3rOh.esm.js.map +1 -0
  109. package/dist/chunks/custom-date-picker-BCcOhhvL.js +55 -0
  110. package/dist/chunks/custom-date-picker-BCcOhhvL.js.map +1 -0
  111. package/dist/chunks/custom-date-picker-qIdI_Mxe.esm.js +56 -0
  112. package/dist/chunks/custom-date-picker-qIdI_Mxe.esm.js.map +1 -0
  113. package/dist/chunks/custom-editor-CPTkZWIZ.js +1257 -0
  114. package/dist/chunks/custom-editor-CPTkZWIZ.js.map +1 -0
  115. package/dist/chunks/custom-editor-De9IWFLM.esm.js +1257 -0
  116. package/dist/chunks/custom-editor-De9IWFLM.esm.js.map +1 -0
  117. package/dist/chunks/custom-form-BoIrVoZW.esm.js +1146 -0
  118. package/dist/chunks/custom-form-BoIrVoZW.esm.js.map +1 -0
  119. package/dist/chunks/custom-form-DgnkFIZM.js +1145 -0
  120. package/dist/chunks/custom-form-DgnkFIZM.js.map +1 -0
  121. package/dist/chunks/custom-grid-card-DWv2PDQb.esm.js +128 -0
  122. package/dist/chunks/custom-grid-card-DWv2PDQb.esm.js.map +1 -0
  123. package/dist/chunks/custom-grid-card-H63FyqOk.js +127 -0
  124. package/dist/chunks/custom-grid-card-H63FyqOk.js.map +1 -0
  125. package/dist/chunks/dashboard-CVAH7i-8.esm.js +75 -0
  126. package/dist/chunks/dashboard-CVAH7i-8.esm.js.map +1 -0
  127. package/dist/chunks/dashboard-Drpz8zP5.js +74 -0
  128. package/dist/chunks/dashboard-Drpz8zP5.js.map +1 -0
  129. package/dist/chunks/date-BN5rVQeb.js +55 -0
  130. package/dist/chunks/date-BN5rVQeb.js.map +1 -0
  131. package/dist/chunks/date-CZNWJ8r7.esm.js +56 -0
  132. package/dist/chunks/date-CZNWJ8r7.esm.js.map +1 -0
  133. package/dist/chunks/date-format-settings-DohP3zvG.esm.js +117 -0
  134. package/dist/chunks/date-format-settings-DohP3zvG.esm.js.map +1 -0
  135. package/dist/chunks/date-format-settings-QiQTyiTn.js +116 -0
  136. package/dist/chunks/date-format-settings-QiQTyiTn.js.map +1 -0
  137. package/dist/chunks/date-picker-BAf8u-E9.esm.js +129 -0
  138. package/dist/chunks/date-picker-BAf8u-E9.esm.js.map +1 -0
  139. package/dist/chunks/date-picker-Dv_dfc9e.js +128 -0
  140. package/dist/chunks/date-picker-Dv_dfc9e.js.map +1 -0
  141. package/dist/chunks/date-range-picker-BHAVj3qf.js +62 -0
  142. package/dist/chunks/date-range-picker-BHAVj3qf.js.map +1 -0
  143. package/dist/chunks/date-range-picker-Ce01L3eF.esm.js +198 -0
  144. package/dist/chunks/date-range-picker-Ce01L3eF.esm.js.map +1 -0
  145. package/dist/chunks/date-range-picker-Dt6ODTKk.js +197 -0
  146. package/dist/chunks/date-range-picker-Dt6ODTKk.js.map +1 -0
  147. package/dist/chunks/date-range-picker-XrXYvhk6.esm.js +63 -0
  148. package/dist/chunks/date-range-picker-XrXYvhk6.esm.js.map +1 -0
  149. package/dist/chunks/date-time-Cscyu2JC.esm.js +55 -0
  150. package/dist/chunks/date-time-Cscyu2JC.esm.js.map +1 -0
  151. package/dist/chunks/date-time-DnEKq5ca.js +54 -0
  152. package/dist/chunks/date-time-DnEKq5ca.js.map +1 -0
  153. package/dist/chunks/date-time-picker-DOjxcYjT.js +115 -0
  154. package/dist/chunks/date-time-picker-DOjxcYjT.js.map +1 -0
  155. package/dist/chunks/date-time-picker-Dcs1e1Bc.esm.js +116 -0
  156. package/dist/chunks/date-time-picker-Dcs1e1Bc.esm.js.map +1 -0
  157. package/dist/chunks/dateFormat-BU9us1HO.esm.js +58 -0
  158. package/dist/chunks/dateFormat-BU9us1HO.esm.js.map +1 -0
  159. package/dist/chunks/dateFormat-MGjtBNwQ.js +57 -0
  160. package/dist/chunks/dateFormat-MGjtBNwQ.js.map +1 -0
  161. package/dist/chunks/discount-summary-C2L7GwJ5.esm.js +60 -0
  162. package/dist/chunks/discount-summary-C2L7GwJ5.esm.js.map +1 -0
  163. package/dist/chunks/discount-summary-CdrsdFbM.js +59 -0
  164. package/dist/chunks/discount-summary-CdrsdFbM.js.map +1 -0
  165. package/dist/chunks/dynamic-report-Bq614rL9.esm.js +589 -0
  166. package/dist/chunks/dynamic-report-Bq614rL9.esm.js.map +1 -0
  167. package/dist/chunks/dynamic-report-Dc2pd29H.js +588 -0
  168. package/dist/chunks/dynamic-report-Dc2pd29H.js.map +1 -0
  169. package/dist/chunks/dynamic-rows-BMj3evxl.js +249 -0
  170. package/dist/chunks/dynamic-rows-BMj3evxl.js.map +1 -0
  171. package/dist/chunks/dynamic-rows-Bi_L6K1Q.esm.js +250 -0
  172. package/dist/chunks/dynamic-rows-Bi_L6K1Q.esm.js.map +1 -0
  173. package/dist/chunks/dynamic-text-editor-BzyWihOp.js +44 -0
  174. package/dist/chunks/dynamic-text-editor-BzyWihOp.js.map +1 -0
  175. package/dist/chunks/dynamic-text-editor-FtzncH90.esm.js +45 -0
  176. package/dist/chunks/dynamic-text-editor-FtzncH90.esm.js.map +1 -0
  177. package/dist/chunks/edit-section-modal-By1pY8Kd.js +76 -0
  178. package/dist/chunks/edit-section-modal-By1pY8Kd.js.map +1 -0
  179. package/dist/chunks/edit-section-modal-lx44BKxM.esm.js +77 -0
  180. package/dist/chunks/edit-section-modal-lx44BKxM.esm.js.map +1 -0
  181. package/dist/chunks/filter-3x9UWii1.js +414 -0
  182. package/dist/chunks/filter-3x9UWii1.js.map +1 -0
  183. package/dist/chunks/filter-BnSYAact.esm.js +415 -0
  184. package/dist/chunks/filter-BnSYAact.esm.js.map +1 -0
  185. package/dist/chunks/footer-BDXx5kJG.esm.js +64 -0
  186. package/dist/chunks/footer-BDXx5kJG.esm.js.map +1 -0
  187. package/dist/chunks/footer-CNUL1un1.js +63 -0
  188. package/dist/chunks/footer-CNUL1un1.js.map +1 -0
  189. package/dist/chunks/form-fields-D7-_tDuw.esm.js +355 -0
  190. package/dist/chunks/form-fields-D7-_tDuw.esm.js.map +1 -0
  191. package/dist/chunks/form-fields-DYqWfI4L.js +354 -0
  192. package/dist/chunks/form-fields-DYqWfI4L.js.map +1 -0
  193. package/dist/chunks/form-parser-DgKyP2XE.esm.js +591 -0
  194. package/dist/chunks/form-parser-DgKyP2XE.esm.js.map +1 -0
  195. package/dist/chunks/form-parser-r9UB3j_l.js +607 -0
  196. package/dist/chunks/form-parser-r9UB3j_l.js.map +1 -0
  197. package/dist/chunks/form-section-B0UL95xN.esm.js +476 -0
  198. package/dist/chunks/form-section-B0UL95xN.esm.js.map +1 -0
  199. package/dist/chunks/form-section-Ra3TDNTJ.js +475 -0
  200. package/dist/chunks/form-section-Ra3TDNTJ.js.map +1 -0
  201. package/dist/chunks/format-chart-value-EdWQQL_n.esm.js +37 -0
  202. package/dist/chunks/format-chart-value-EdWQQL_n.esm.js.map +1 -0
  203. package/dist/chunks/format-chart-value-liFH0bwI.js +53 -0
  204. package/dist/chunks/format-chart-value-liFH0bwI.js.map +1 -0
  205. package/dist/chunks/fullScreen-CIO00GJA.js +20 -0
  206. package/dist/chunks/fullScreen-CIO00GJA.js.map +1 -0
  207. package/dist/chunks/fullScreen-Cf1lZpPP.esm.js +21 -0
  208. package/dist/chunks/fullScreen-Cf1lZpPP.esm.js.map +1 -0
  209. package/dist/chunks/global-search-BsF1AKA-.js +149 -0
  210. package/dist/chunks/global-search-BsF1AKA-.js.map +1 -0
  211. package/dist/chunks/global-search-DyHFvWRQ.esm.js +150 -0
  212. package/dist/chunks/global-search-DyHFvWRQ.esm.js.map +1 -0
  213. package/dist/chunks/grid-view-5_HV93Hf.esm.js +52 -0
  214. package/dist/chunks/grid-view-5_HV93Hf.esm.js.map +1 -0
  215. package/dist/chunks/grid-view-D0q_qMd2.js +51 -0
  216. package/dist/chunks/grid-view-D0q_qMd2.js.map +1 -0
  217. package/dist/chunks/header-DAad5p_7.js +90 -0
  218. package/dist/chunks/header-DAad5p_7.js.map +1 -0
  219. package/dist/chunks/header-S5MMcx4g.esm.js +91 -0
  220. package/dist/chunks/header-S5MMcx4g.esm.js.map +1 -0
  221. package/dist/chunks/header-enhanced-BPJQGGo7.js +400 -0
  222. package/dist/chunks/header-enhanced-BPJQGGo7.js.map +1 -0
  223. package/dist/chunks/header-enhanced-BtUsM1g3.esm.js +401 -0
  224. package/dist/chunks/header-enhanced-BtUsM1g3.esm.js.map +1 -0
  225. package/dist/chunks/inline-edit-fields-BXrrK0UT.esm.js +324 -0
  226. package/dist/chunks/inline-edit-fields-BXrrK0UT.esm.js.map +1 -0
  227. package/dist/chunks/inline-edit-fields-DeS-sx9_.js +340 -0
  228. package/dist/chunks/inline-edit-fields-DeS-sx9_.js.map +1 -0
  229. package/dist/chunks/inventory-reports-title-bar-CFqheEGb.js +733 -0
  230. package/dist/chunks/inventory-reports-title-bar-CFqheEGb.js.map +1 -0
  231. package/dist/chunks/inventory-reports-title-bar-CuPn69g7.esm.js +734 -0
  232. package/dist/chunks/inventory-reports-title-bar-CuPn69g7.esm.js.map +1 -0
  233. package/dist/chunks/item-response-details-BkE8ExKF.js +78 -0
  234. package/dist/chunks/item-response-details-BkE8ExKF.js.map +1 -0
  235. package/dist/chunks/item-response-details-FLk2xeBs.esm.js +79 -0
  236. package/dist/chunks/item-response-details-FLk2xeBs.esm.js.map +1 -0
  237. package/dist/chunks/listing-BlTk1lk7.js +275 -0
  238. package/dist/chunks/listing-BlTk1lk7.js.map +1 -0
  239. package/dist/chunks/listing-CBjRBr5T.esm.js +276 -0
  240. package/dist/chunks/listing-CBjRBr5T.esm.js.map +1 -0
  241. package/dist/chunks/location-select-BfXoscUj.esm.js +86 -0
  242. package/dist/chunks/location-select-BfXoscUj.esm.js.map +1 -0
  243. package/dist/chunks/location-select-C4r-bjZM.js +85 -0
  244. package/dist/chunks/location-select-C4r-bjZM.js.map +1 -0
  245. package/dist/chunks/material-editable-table-CUi1XChG.esm.js +1469 -0
  246. package/dist/chunks/material-editable-table-CUi1XChG.esm.js.map +1 -0
  247. package/dist/chunks/material-editable-table-DvOXRsag.js +1485 -0
  248. package/dist/chunks/material-editable-table-DvOXRsag.js.map +1 -0
  249. package/dist/chunks/module-reducer-1oIfrGzZ.js +91 -0
  250. package/dist/chunks/module-reducer-1oIfrGzZ.js.map +1 -0
  251. package/dist/chunks/module-reducer-Brv5y-yX.esm.js +92 -0
  252. package/dist/chunks/module-reducer-Brv5y-yX.esm.js.map +1 -0
  253. package/dist/chunks/multi-line-chart-CrQ7Hgm6.esm.js +96 -0
  254. package/dist/chunks/multi-line-chart-CrQ7Hgm6.esm.js.map +1 -0
  255. package/dist/chunks/multi-line-chart-DR6mEZ86.js +112 -0
  256. package/dist/chunks/multi-line-chart-DR6mEZ86.js.map +1 -0
  257. package/dist/chunks/notification-menu-B6DQbph4.js +600 -0
  258. package/dist/chunks/notification-menu-B6DQbph4.js.map +1 -0
  259. package/dist/chunks/notification-menu-BBEzqTvl.esm.js +601 -0
  260. package/dist/chunks/notification-menu-BBEzqTvl.esm.js.map +1 -0
  261. package/dist/chunks/page-action-BmdnKUie.js +324 -0
  262. package/dist/chunks/page-action-BmdnKUie.js.map +1 -0
  263. package/dist/chunks/page-action-DGnAycU4.esm.js +325 -0
  264. package/dist/chunks/page-action-DGnAycU4.esm.js.map +1 -0
  265. package/dist/chunks/page-navigator-BnJz0dir.esm.js +243 -0
  266. package/dist/chunks/page-navigator-BnJz0dir.esm.js.map +1 -0
  267. package/dist/chunks/page-navigator-qI4ptpIo.js +242 -0
  268. package/dist/chunks/page-navigator-qI4ptpIo.js.map +1 -0
  269. package/dist/chunks/page-view-BzUYT4aO.esm.js +324 -0
  270. package/dist/chunks/page-view-BzUYT4aO.esm.js.map +1 -0
  271. package/dist/chunks/page-view-CgKAg8Fs.js +323 -0
  272. package/dist/chunks/page-view-CgKAg8Fs.js.map +1 -0
  273. package/dist/chunks/quick-approval-modal--Uat95AK.js +272 -0
  274. package/dist/chunks/quick-approval-modal--Uat95AK.js.map +1 -0
  275. package/dist/chunks/quick-approval-modal-Cf5zDkO6.esm.js +256 -0
  276. package/dist/chunks/quick-approval-modal-Cf5zDkO6.esm.js.map +1 -0
  277. package/dist/chunks/reducer-5KSgWLUj.js +49 -0
  278. package/dist/chunks/reducer-5KSgWLUj.js.map +1 -0
  279. package/dist/chunks/reducer-BVEMC024.esm.js +33 -0
  280. package/dist/chunks/reducer-BVEMC024.esm.js.map +1 -0
  281. package/dist/chunks/reducer-Ba-Uxr0O.js +42 -0
  282. package/dist/chunks/reducer-Ba-Uxr0O.js.map +1 -0
  283. package/dist/chunks/reducer-C3gV86mN.esm.js +56 -0
  284. package/dist/chunks/reducer-C3gV86mN.esm.js.map +1 -0
  285. package/dist/chunks/reducer-C_1a_Ybe.js +32 -0
  286. package/dist/chunks/reducer-C_1a_Ybe.js.map +1 -0
  287. package/dist/chunks/reducer-DXCv8Ljo.esm.js +43 -0
  288. package/dist/chunks/reducer-DXCv8Ljo.esm.js.map +1 -0
  289. package/dist/chunks/reducer-DklAfYwo.js +55 -0
  290. package/dist/chunks/reducer-DklAfYwo.js.map +1 -0
  291. package/dist/chunks/reducer-DujEnCl-.js +147 -0
  292. package/dist/chunks/reducer-DujEnCl-.js.map +1 -0
  293. package/dist/chunks/reducer-PeqRGVlz.esm.js +148 -0
  294. package/dist/chunks/reducer-PeqRGVlz.esm.js.map +1 -0
  295. package/dist/chunks/reducer-e3sR-XbO.esm.js +50 -0
  296. package/dist/chunks/reducer-e3sR-XbO.esm.js.map +1 -0
  297. package/dist/chunks/reportFilter-DoD3vUsz.esm.js +396 -0
  298. package/dist/chunks/reportFilter-DoD3vUsz.esm.js.map +1 -0
  299. package/dist/chunks/reportFilter-DzgDlbu8.js +395 -0
  300. package/dist/chunks/reportFilter-DzgDlbu8.js.map +1 -0
  301. package/dist/chunks/reports-title-bar-BpeDKpyV.js +1027 -0
  302. package/dist/chunks/reports-title-bar-BpeDKpyV.js.map +1 -0
  303. package/dist/chunks/reports-title-bar-Bt9ogCT7.esm.js +1028 -0
  304. package/dist/chunks/reports-title-bar-Bt9ogCT7.esm.js.map +1 -0
  305. package/dist/chunks/route-page-map-LXxD_klV.js +8054 -0
  306. package/dist/chunks/route-page-map-LXxD_klV.js.map +1 -0
  307. package/dist/chunks/route-page-map-j4V1FsT3.esm.js +8055 -0
  308. package/dist/chunks/route-page-map-j4V1FsT3.esm.js.map +1 -0
  309. package/dist/chunks/routes-7yLS4Qxk.js +46 -0
  310. package/dist/chunks/routes-7yLS4Qxk.js.map +1 -0
  311. package/dist/chunks/routes-BE9OtJcV.esm.js +47 -0
  312. package/dist/chunks/routes-BE9OtJcV.esm.js.map +1 -0
  313. package/dist/chunks/schedule-report-B4hM1BQS.esm.js +236 -0
  314. package/dist/chunks/schedule-report-B4hM1BQS.esm.js.map +1 -0
  315. package/dist/chunks/schedule-report-D5Gtf9VF.js +235 -0
  316. package/dist/chunks/schedule-report-D5Gtf9VF.js.map +1 -0
  317. package/dist/chunks/schedule-report-modal-CFAdRSIO.esm.js +288 -0
  318. package/dist/chunks/schedule-report-modal-CFAdRSIO.esm.js.map +1 -0
  319. package/dist/chunks/schedule-report-modal-DDsrLqOm.js +287 -0
  320. package/dist/chunks/schedule-report-modal-DDsrLqOm.js.map +1 -0
  321. package/dist/chunks/searchable-select-5i6MO2Ys.esm.js +5431 -0
  322. package/dist/chunks/searchable-select-5i6MO2Ys.esm.js.map +1 -0
  323. package/dist/chunks/searchable-select-BsG-QlJk.js +5447 -0
  324. package/dist/chunks/searchable-select-BsG-QlJk.js.map +1 -0
  325. package/dist/chunks/share-modal-Bpa_0udn.esm.js +218 -0
  326. package/dist/chunks/share-modal-Bpa_0udn.esm.js.map +1 -0
  327. package/dist/chunks/share-modal-CaYg96t_.js +217 -0
  328. package/dist/chunks/share-modal-CaYg96t_.js.map +1 -0
  329. package/dist/chunks/share-modal-enhanced-B7JfgceP.esm.js +270 -0
  330. package/dist/chunks/share-modal-enhanced-B7JfgceP.esm.js.map +1 -0
  331. package/dist/chunks/share-modal-enhanced-BguLEFga.js +269 -0
  332. package/dist/chunks/share-modal-enhanced-BguLEFga.js.map +1 -0
  333. package/dist/chunks/sidebarScreen-DgpLalyG.js +200 -0
  334. package/dist/chunks/sidebarScreen-DgpLalyG.js.map +1 -0
  335. package/dist/chunks/sidebarScreen-Dp1e8Luz.esm.js +201 -0
  336. package/dist/chunks/sidebarScreen-Dp1e8Luz.esm.js.map +1 -0
  337. package/dist/chunks/store-CuKFQXI5.js +88 -0
  338. package/dist/chunks/store-CuKFQXI5.js.map +1 -0
  339. package/dist/chunks/store-KAx-wGcm.esm.js +89 -0
  340. package/dist/chunks/store-KAx-wGcm.esm.js.map +1 -0
  341. package/dist/chunks/table-CbV-bnb7.js +184 -0
  342. package/dist/chunks/table-CbV-bnb7.js.map +1 -0
  343. package/dist/chunks/table-Cdo7w_gv.esm.js +185 -0
  344. package/dist/chunks/table-Cdo7w_gv.esm.js.map +1 -0
  345. package/dist/chunks/table-form-CsxWI8HQ.esm.js +1537 -0
  346. package/dist/chunks/table-form-CsxWI8HQ.esm.js.map +1 -0
  347. package/dist/chunks/table-form-Dd2DNL6w.js +1536 -0
  348. package/dist/chunks/table-form-Dd2DNL6w.js.map +1 -0
  349. package/dist/chunks/template-editor-router-3FVvWm8W.js +8 -0
  350. package/dist/chunks/template-editor-router-3FVvWm8W.js.map +1 -0
  351. package/dist/chunks/template-editor-router-D0yZgK0u.esm.js +9 -0
  352. package/dist/chunks/template-editor-router-D0yZgK0u.esm.js.map +1 -0
  353. package/dist/chunks/template-modal-BHZbvEx9.esm.js +769 -0
  354. package/dist/chunks/template-modal-BHZbvEx9.esm.js.map +1 -0
  355. package/dist/chunks/template-modal-BuKxVaFw.js +768 -0
  356. package/dist/chunks/template-modal-BuKxVaFw.js.map +1 -0
  357. package/dist/chunks/templates-B_y-ywXc.esm.js +279 -0
  358. package/dist/chunks/templates-B_y-ywXc.esm.js.map +1 -0
  359. package/dist/chunks/templates-CtBwZgn9.js +278 -0
  360. package/dist/chunks/templates-CtBwZgn9.js.map +1 -0
  361. package/dist/chunks/text-measurement-BcBEexWP.js +251 -0
  362. package/dist/chunks/text-measurement-BcBEexWP.js.map +1 -0
  363. package/dist/chunks/text-measurement-w3Vk7SeS.esm.js +252 -0
  364. package/dist/chunks/text-measurement-w3Vk7SeS.esm.js.map +1 -0
  365. package/dist/chunks/total-summary-DPOMR8e4.esm.js +41 -0
  366. package/dist/chunks/total-summary-DPOMR8e4.esm.js.map +1 -0
  367. package/dist/chunks/total-summary-erUelIxr.js +40 -0
  368. package/dist/chunks/total-summary-erUelIxr.js.map +1 -0
  369. package/dist/chunks/translations-BnLuKxeJ.js +58 -0
  370. package/dist/chunks/translations-BnLuKxeJ.js.map +1 -0
  371. package/dist/chunks/translations-DQJAYm2A.esm.js +59 -0
  372. package/dist/chunks/translations-DQJAYm2A.esm.js.map +1 -0
  373. package/dist/chunks/uom-field-wrapper-BlwUeXmo.js +79 -0
  374. package/dist/chunks/uom-field-wrapper-BlwUeXmo.js.map +1 -0
  375. package/dist/chunks/uom-field-wrapper-D2QSsD7M.esm.js +80 -0
  376. package/dist/chunks/uom-field-wrapper-D2QSsD7M.esm.js.map +1 -0
  377. package/dist/chunks/upload-excel-DF6rPBeA.esm.js +361 -0
  378. package/dist/chunks/upload-excel-DF6rPBeA.esm.js.map +1 -0
  379. package/dist/chunks/upload-excel-vbTf63qn.js +360 -0
  380. package/dist/chunks/upload-excel-vbTf63qn.js.map +1 -0
  381. package/dist/chunks/use-translations-C_AFtNWf.esm.js +62 -0
  382. package/dist/chunks/use-translations-C_AFtNWf.esm.js.map +1 -0
  383. package/dist/chunks/use-translations-Dnm_y9o4.js +61 -0
  384. package/dist/chunks/use-translations-Dnm_y9o4.js.map +1 -0
  385. package/dist/chunks/useAccountSetting-BimM7OxP.js +172 -0
  386. package/dist/chunks/useAccountSetting-BimM7OxP.js.map +1 -0
  387. package/dist/chunks/useAccountSetting-BsIE2d1l.esm.js +173 -0
  388. package/dist/chunks/useAccountSetting-BsIE2d1l.esm.js.map +1 -0
  389. package/dist/chunks/useCheckSkuAndName-C0twPQja.esm.js +50 -0
  390. package/dist/chunks/useCheckSkuAndName-C0twPQja.esm.js.map +1 -0
  391. package/dist/chunks/useCheckSkuAndName-CQq8Le-_.js +49 -0
  392. package/dist/chunks/useCheckSkuAndName-CQq8Le-_.js.map +1 -0
  393. package/dist/chunks/useReduxIntegration-B5GrPUbT.js +38 -0
  394. package/dist/chunks/useReduxIntegration-B5GrPUbT.js.map +1 -0
  395. package/dist/chunks/useReduxIntegration-DzhcP34r.esm.js +39 -0
  396. package/dist/chunks/useReduxIntegration-DzhcP34r.esm.js.map +1 -0
  397. package/dist/chunks/useUniquenessCheck-BIT9TNYY.esm.js +39 -0
  398. package/dist/chunks/useUniquenessCheck-BIT9TNYY.esm.js.map +1 -0
  399. package/dist/chunks/useUniquenessCheck-VBBQqtYP.js +38 -0
  400. package/dist/chunks/useUniquenessCheck-VBBQqtYP.js.map +1 -0
  401. package/dist/chunks/useVendorAICompare-Bu4fjpby.esm.js +31 -0
  402. package/dist/chunks/useVendorAICompare-Bu4fjpby.esm.js.map +1 -0
  403. package/dist/chunks/useVendorAICompare-Cad1SOQx.js +30 -0
  404. package/dist/chunks/useVendorAICompare-Cad1SOQx.js.map +1 -0
  405. package/dist/chunks/value-editor-CtppXtUW.js +266 -0
  406. package/dist/chunks/value-editor-CtppXtUW.js.map +1 -0
  407. package/dist/chunks/value-editor-xwtdV2gn.esm.js +267 -0
  408. package/dist/chunks/value-editor-xwtdV2gn.esm.js.map +1 -0
  409. package/dist/chunks/vendor-ai-summary-Cf8yBCJC.js +227 -0
  410. package/dist/chunks/vendor-ai-summary-Cf8yBCJC.js.map +1 -0
  411. package/dist/chunks/vendor-ai-summary-w6_aC72U.esm.js +228 -0
  412. package/dist/chunks/vendor-ai-summary-w6_aC72U.esm.js.map +1 -0
  413. package/dist/components/action-bar/action-bar/index.esm.js +1 -1
  414. package/dist/components/action-bar/action-bar/index.js +1 -1
  415. package/dist/components/action-bar/index.esm.js +1 -1
  416. package/dist/components/action-bar/index.js +1 -1
  417. package/dist/components/activityLog/activity-log/index.esm.js +1 -1
  418. package/dist/components/activityLog/activity-log/index.js +1 -1
  419. package/dist/components/activityLog/index.esm.js +1 -1
  420. package/dist/components/activityLog/index.js +1 -1
  421. package/dist/components/address-modal/index.esm.js +1 -1
  422. package/dist/components/address-modal/index.js +1 -1
  423. package/dist/components/ai-summary/ai-summary/index.esm.js +1 -1
  424. package/dist/components/ai-summary/ai-summary/index.js +1 -1
  425. package/dist/components/ai-summary/index.esm.js +1 -1
  426. package/dist/components/ai-summary/index.js +1 -1
  427. package/dist/components/appbar/appbar/index.esm.js +1 -1
  428. package/dist/components/appbar/appbar/index.js +1 -1
  429. package/dist/components/appbar/index.esm.js +1 -1
  430. package/dist/components/appbar/index.js +1 -1
  431. package/dist/components/approval-wrapper/approval-wrapper/index.esm.js +1 -1
  432. package/dist/components/approval-wrapper/approval-wrapper/index.js +1 -1
  433. package/dist/components/approval-wrapper/index.esm.js +1 -1
  434. package/dist/components/approval-wrapper/index.js +1 -1
  435. package/dist/components/calculation-summary/calculation-summary/index.esm.js +1 -1
  436. package/dist/components/calculation-summary/calculation-summary/index.js +1 -1
  437. package/dist/components/calculation-summary/components/discount-summary/index.esm.js +1 -1
  438. package/dist/components/calculation-summary/components/discount-summary/index.js +1 -1
  439. package/dist/components/calculation-summary/components/index.esm.js +2 -2
  440. package/dist/components/calculation-summary/components/index.js +2 -2
  441. package/dist/components/calculation-summary/components/total-summary/index.esm.js +1 -1
  442. package/dist/components/calculation-summary/components/total-summary/index.js +1 -1
  443. package/dist/components/calculation-summary/index.esm.js +3 -3
  444. package/dist/components/calculation-summary/index.js +3 -3
  445. package/dist/components/charts/areaLinerChart/index.esm.js +1 -1
  446. package/dist/components/charts/areaLinerChart/index.js +1 -1
  447. package/dist/components/charts/bar-chart/bar-chart/index.esm.js +1 -1
  448. package/dist/components/charts/bar-chart/bar-chart/index.js +1 -1
  449. package/dist/components/charts/bar-chart/index.esm.js +1 -1
  450. package/dist/components/charts/bar-chart/index.js +1 -1
  451. package/dist/components/charts/barChart/barChart/index.esm.js +1 -1
  452. package/dist/components/charts/barChart/barChart/index.js +1 -1
  453. package/dist/components/charts/barChart/index.esm.js +1 -1
  454. package/dist/components/charts/barChart/index.js +1 -1
  455. package/dist/components/charts/barLineChart/barLinechart/index.esm.js +1 -1
  456. package/dist/components/charts/barLineChart/barLinechart/index.js +1 -1
  457. package/dist/components/charts/barLineChart/index.esm.js +1 -1
  458. package/dist/components/charts/barLineChart/index.js +1 -1
  459. package/dist/components/charts/donutChart/DonutChart/index.esm.js +1 -1
  460. package/dist/components/charts/donutChart/DonutChart/index.js +1 -1
  461. package/dist/components/charts/donutChart/index.esm.js +1 -1
  462. package/dist/components/charts/donutChart/index.js +1 -1
  463. package/dist/components/charts/groupBarChart/GroupBarChart/index.esm.js +1 -1
  464. package/dist/components/charts/groupBarChart/GroupBarChart/index.js +1 -1
  465. package/dist/components/charts/groupBarChart/index.esm.js +1 -1
  466. package/dist/components/charts/groupBarChart/index.js +1 -1
  467. package/dist/components/charts/index.esm.js +7 -7
  468. package/dist/components/charts/index.js +7 -7
  469. package/dist/components/charts/multiLineChart/index.esm.js +1 -1
  470. package/dist/components/charts/multiLineChart/index.js +1 -1
  471. package/dist/components/charts/multiLineChart/multi-line-chart/index.esm.js +1 -1
  472. package/dist/components/charts/multiLineChart/multi-line-chart/index.js +1 -1
  473. package/dist/components/chat-bot/index.esm.js +2 -1
  474. package/dist/components/chat-bot/index.js +2 -1
  475. package/dist/components/chat-bot/index.js.map +1 -1
  476. package/dist/components/custom-forms/FORMS/index.esm.js +1 -1
  477. package/dist/components/custom-forms/FORMS/index.js +1 -1
  478. package/dist/components/custom-forms/grid-view/grid-view/index.esm.js +1 -1
  479. package/dist/components/custom-forms/grid-view/grid-view/index.js +1 -1
  480. package/dist/components/custom-forms/grid-view/index.esm.js +1 -1
  481. package/dist/components/custom-forms/grid-view/index.js +1 -1
  482. package/dist/components/custom-forms/index.esm.js +2 -2
  483. package/dist/components/custom-forms/index.js +2 -2
  484. package/dist/components/customer-ai-summary/index.esm.js +1 -1
  485. package/dist/components/customer-ai-summary/index.js +1 -1
  486. package/dist/components/date-picker/date-picker/index.esm.js +1 -1
  487. package/dist/components/date-picker/date-picker/index.js +1 -1
  488. package/dist/components/date-picker/index.esm.js +2 -2
  489. package/dist/components/date-picker/index.js +2 -2
  490. package/dist/components/date-range-picker/date-range-picker/index.esm.js +1 -1
  491. package/dist/components/date-range-picker/date-range-picker/index.js +1 -1
  492. package/dist/components/date-range-picker/index.esm.js +2 -2
  493. package/dist/components/date-range-picker/index.js +2 -2
  494. package/dist/components/date-time-picker/date-time-picker/index.esm.js +1 -1
  495. package/dist/components/date-time-picker/date-time-picker/index.js +1 -1
  496. package/dist/components/date-time-picker/index.esm.js +2 -2
  497. package/dist/components/date-time-picker/index.js +2 -2
  498. package/dist/components/department-add-modal/index.esm.js +1 -1
  499. package/dist/components/department-add-modal/index.js +1 -1
  500. package/dist/components/designation-add-modal/index.esm.js +1 -1
  501. package/dist/components/designation-add-modal/index.js +1 -1
  502. package/dist/components/editor/custom-editor/index.esm.js +1 -1
  503. package/dist/components/editor/custom-editor/index.js +1 -1
  504. package/dist/components/editor/index.esm.js +1 -1
  505. package/dist/components/editor/index.js +1 -1
  506. package/dist/components/examples/FlexibleReduxExample/index.esm.js +1 -1
  507. package/dist/components/examples/FlexibleReduxExample/index.js +1 -1
  508. package/dist/components/examples/index.esm.js +1 -1
  509. package/dist/components/examples/index.js +1 -1
  510. package/dist/components/filter/components/index.esm.js +1 -1
  511. package/dist/components/filter/components/index.js +1 -1
  512. package/dist/components/filter/components/value-editor/index.esm.js +1 -1
  513. package/dist/components/filter/components/value-editor/index.js +1 -1
  514. package/dist/components/filter/filter/index.esm.js +1 -1
  515. package/dist/components/filter/filter/index.js +1 -1
  516. package/dist/components/filter/index.esm.js +2 -2
  517. package/dist/components/filter/index.js +2 -2
  518. package/dist/components/footer/footer/index.esm.js +1 -1
  519. package/dist/components/footer/footer/index.js +1 -1
  520. package/dist/components/footer/index.esm.js +1 -1
  521. package/dist/components/footer/index.js +1 -1
  522. package/dist/components/form-control/form-builder/form-builder-element/custom-date-picker/index.esm.js +1 -1
  523. package/dist/components/form-control/form-builder/form-builder-element/custom-date-picker/index.js +1 -1
  524. package/dist/components/form-control/form-builder/form-builder-element/date/index.esm.js +1 -1
  525. package/dist/components/form-control/form-builder/form-builder-element/date/index.js +1 -1
  526. package/dist/components/form-control/form-builder/form-builder-element/date-range-picker/index.esm.js +1 -1
  527. package/dist/components/form-control/form-builder/form-builder-element/date-range-picker/index.js +1 -1
  528. package/dist/components/form-control/form-builder/form-builder-element/date-time/index.esm.js +1 -1
  529. package/dist/components/form-control/form-builder/form-builder-element/date-time/index.js +1 -1
  530. package/dist/components/form-control/form-builder/form-builder-element/dynamic-dependent-field/index.esm.js +1 -1
  531. package/dist/components/form-control/form-builder/form-builder-element/dynamic-dependent-field/index.js +1 -1
  532. package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.esm.js +1 -1
  533. package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.js +1 -1
  534. package/dist/components/form-control/form-builder/form-builder-element/dynamic-text-editor/index.esm.js +1 -1
  535. package/dist/components/form-control/form-builder/form-builder-element/dynamic-text-editor/index.js +1 -1
  536. package/dist/components/form-control/form-builder/form-builder-element/fixed-asset-item-add-modal/index.esm.js +1 -1
  537. package/dist/components/form-control/form-builder/form-builder-element/fixed-asset-item-add-modal/index.js +1 -1
  538. package/dist/components/form-control/form-builder/form-builder-element/index.esm.js +8 -8
  539. package/dist/components/form-control/form-builder/form-builder-element/index.js +8 -8
  540. package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/index.esm.js +1 -1
  541. package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/index.js +1 -1
  542. package/dist/components/form-control/form-builder/form-builder-element/select-configuration/index.esm.js +1 -1
  543. package/dist/components/form-control/form-builder/form-builder-element/select-configuration/index.js +1 -1
  544. package/dist/components/form-control/form-builder/form-builder-element/table/index.esm.js +1 -1
  545. package/dist/components/form-control/form-builder/form-builder-element/table/index.js +1 -1
  546. package/dist/components/form-control/form-builder/index.esm.js +8 -8
  547. package/dist/components/form-control/form-builder/index.js +8 -8
  548. package/dist/components/form-control/form-parser/form-parser/index.esm.js +1 -1
  549. package/dist/components/form-control/form-parser/form-parser/index.js +1 -1
  550. package/dist/components/form-control/form-parser/form-section/index.esm.js +1 -1
  551. package/dist/components/form-control/form-parser/form-section/index.js +1 -1
  552. package/dist/components/form-control/form-parser/index.esm.js +2 -2
  553. package/dist/components/form-control/form-parser/index.js +2 -2
  554. package/dist/components/form-control/index.esm.js +10 -10
  555. package/dist/components/form-control/index.js +10 -10
  556. package/dist/components/grid/custom-grid-card/custom-grid-card/index.esm.js +1 -1
  557. package/dist/components/grid/custom-grid-card/custom-grid-card/index.js +1 -1
  558. package/dist/components/grid/custom-grid-card/index.esm.js +1 -1
  559. package/dist/components/grid/custom-grid-card/index.js +1 -1
  560. package/dist/components/grid/index.esm.js +1 -1
  561. package/dist/components/grid/index.js +1 -1
  562. package/dist/components/header/components/global-search/index.esm.js +1 -1
  563. package/dist/components/header/components/global-search/index.js +1 -1
  564. package/dist/components/header/components/index.esm.js +1 -1
  565. package/dist/components/header/components/index.js +1 -1
  566. package/dist/components/header/components/notification-menu/index.esm.js +1 -1
  567. package/dist/components/header/components/notification-menu/index.js +1 -1
  568. package/dist/components/header/components/notification-menu/notification-menu/index.esm.js +1 -1
  569. package/dist/components/header/components/notification-menu/notification-menu/index.js +1 -1
  570. package/dist/components/header/header/index.esm.js +1 -1
  571. package/dist/components/header/header/index.js +1 -1
  572. package/dist/components/header/header-enhanced/index.esm.js +1 -1
  573. package/dist/components/header/header-enhanced/index.js +1 -1
  574. package/dist/components/header/index.esm.js +5 -5
  575. package/dist/components/header/index.js +5 -5
  576. package/dist/components/header/redux/actionCreator/index.esm.js +1 -1
  577. package/dist/components/header/redux/actionCreator/index.js +1 -1
  578. package/dist/components/header/redux/index.esm.js +2 -2
  579. package/dist/components/header/redux/index.js +2 -2
  580. package/dist/components/header/redux/reducer/index.esm.js +1 -1
  581. package/dist/components/header/redux/reducer/index.js +1 -1
  582. package/dist/components/index.esm.js +53 -53
  583. package/dist/components/index.js +53 -53
  584. package/dist/components/inventory-reports-title-bar/component/index.esm.js +1 -1
  585. package/dist/components/inventory-reports-title-bar/component/index.js +1 -1
  586. package/dist/components/inventory-reports-title-bar/component/reportFilter/index.esm.js +1 -1
  587. package/dist/components/inventory-reports-title-bar/component/reportFilter/index.js +1 -1
  588. package/dist/components/inventory-reports-title-bar/index.esm.js +4 -4
  589. package/dist/components/inventory-reports-title-bar/index.js +4 -4
  590. package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.esm.js +1 -1
  591. package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.js +1 -1
  592. package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.esm.js +1 -1
  593. package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.js +1 -1
  594. package/dist/components/inventory-reports-title-bar/redux/index.esm.js +2 -2
  595. package/dist/components/inventory-reports-title-bar/redux/index.js +2 -2
  596. package/dist/components/inventory-reports-title-bar/redux/reducer/index.esm.js +1 -1
  597. package/dist/components/inventory-reports-title-bar/redux/reducer/index.js +1 -1
  598. package/dist/components/listing/index.esm.js +1 -1
  599. package/dist/components/listing/index.js +1 -1
  600. package/dist/components/listing/listing/index.esm.js +1 -1
  601. package/dist/components/listing/listing/index.js +1 -1
  602. package/dist/components/location-select/index.esm.js +1 -1
  603. package/dist/components/location-select/index.js +1 -1
  604. package/dist/components/material-editable-table/components/index.esm.js +1 -1
  605. package/dist/components/material-editable-table/components/index.js +1 -1
  606. package/dist/components/material-editable-table/components/inline-edit-fields/index.esm.js +1 -1
  607. package/dist/components/material-editable-table/components/inline-edit-fields/index.js +1 -1
  608. package/dist/components/material-editable-table/index.esm.js +2 -2
  609. package/dist/components/material-editable-table/index.js +2 -2
  610. package/dist/components/material-editable-table/material-editable-table/index.esm.js +1 -1
  611. package/dist/components/material-editable-table/material-editable-table/index.js +1 -1
  612. package/dist/components/material-table/components/index.esm.js +1 -1
  613. package/dist/components/material-table/components/index.js +1 -1
  614. package/dist/components/material-table/components/inline-edit-fields/index.esm.js +1 -1
  615. package/dist/components/material-table/components/inline-edit-fields/index.js +1 -1
  616. package/dist/components/material-table/index.esm.js +1 -1
  617. package/dist/components/material-table/index.js +1 -1
  618. package/dist/components/material-table/material-table/index.esm.js +1 -1
  619. package/dist/components/material-table/material-table/index.js +1 -1
  620. package/dist/components/page-navigator/components/index.esm.js +1 -1
  621. package/dist/components/page-navigator/components/index.js +1 -1
  622. package/dist/components/page-navigator/components/page-action/index.esm.js +1 -1
  623. package/dist/components/page-navigator/components/page-action/index.js +1 -1
  624. package/dist/components/page-navigator/index.esm.js +2 -2
  625. package/dist/components/page-navigator/index.js +2 -2
  626. package/dist/components/page-navigator/page-navigator/index.esm.js +1 -1
  627. package/dist/components/page-navigator/page-navigator/index.js +1 -1
  628. package/dist/components/parties-modal/index.esm.js +1 -1
  629. package/dist/components/parties-modal/index.js +1 -1
  630. package/dist/components/parties-modal/parties-modal/index.esm.js +1 -1
  631. package/dist/components/parties-modal/parties-modal/index.js +1 -1
  632. package/dist/components/providers/ERPUIProvider/index.esm.js +1 -1
  633. package/dist/components/providers/ERPUIProvider/index.js +1 -1
  634. package/dist/components/providers/index.esm.js +1 -1
  635. package/dist/components/providers/index.js +1 -1
  636. package/dist/components/quick-approval-modal/index.esm.js +1 -1
  637. package/dist/components/quick-approval-modal/index.js +1 -1
  638. package/dist/components/quick-approval-modal/quick-approval-modal/index.esm.js +1 -1
  639. package/dist/components/quick-approval-modal/quick-approval-modal/index.js +1 -1
  640. package/dist/components/reports/dynamic-report/dynamic-report/index.esm.js +1 -1
  641. package/dist/components/reports/dynamic-report/dynamic-report/index.js +1 -1
  642. package/dist/components/reports/dynamic-report/dynamic-rows/index.esm.js +1 -1
  643. package/dist/components/reports/dynamic-report/dynamic-rows/index.js +1 -1
  644. package/dist/components/reports/dynamic-report/index.esm.js +2 -2
  645. package/dist/components/reports/dynamic-report/index.js +2 -2
  646. package/dist/components/reports/index.esm.js +2 -2
  647. package/dist/components/reports/index.js +2 -2
  648. package/dist/components/reports-title-bar/index.esm.js +3 -3
  649. package/dist/components/reports-title-bar/index.js +3 -3
  650. package/dist/components/reports-title-bar/redux/actionCreator/index.esm.js +1 -1
  651. package/dist/components/reports-title-bar/redux/actionCreator/index.js +1 -1
  652. package/dist/components/reports-title-bar/redux/index.esm.js +2 -2
  653. package/dist/components/reports-title-bar/redux/index.js +2 -2
  654. package/dist/components/reports-title-bar/redux/reducer/index.esm.js +1 -1
  655. package/dist/components/reports-title-bar/redux/reducer/index.js +1 -1
  656. package/dist/components/reports-title-bar/reports-title-bar/index.esm.js +1 -1
  657. package/dist/components/reports-title-bar/reports-title-bar/index.js +1 -1
  658. package/dist/components/rfq-response/index.esm.js +1 -1
  659. package/dist/components/rfq-response/index.js +1 -1
  660. package/dist/components/rfq-response/item-response-details/index.esm.js +1 -1
  661. package/dist/components/rfq-response/item-response-details/index.js +1 -1
  662. package/dist/components/schedule-report/index.esm.js +2 -2
  663. package/dist/components/schedule-report/index.js +2 -2
  664. package/dist/components/schedule-report/schedule-report/index.esm.js +1 -1
  665. package/dist/components/schedule-report/schedule-report/index.js +1 -1
  666. package/dist/components/schedule-report/schedule-report-modal/index.esm.js +1 -1
  667. package/dist/components/schedule-report/schedule-report-modal/index.js +1 -1
  668. package/dist/components/searchable-select/index.esm.js +1 -1
  669. package/dist/components/searchable-select/index.js +1 -1
  670. package/dist/components/share-modal/index.esm.js +4 -4
  671. package/dist/components/share-modal/index.js +4 -4
  672. package/dist/components/share-modal/redux/actionCreator/index.esm.js +1 -1
  673. package/dist/components/share-modal/redux/actionCreator/index.js +1 -1
  674. package/dist/components/share-modal/redux/index.esm.js +2 -2
  675. package/dist/components/share-modal/redux/index.js +2 -2
  676. package/dist/components/share-modal/redux/reducer/index.esm.js +1 -1
  677. package/dist/components/share-modal/redux/reducer/index.js +1 -1
  678. package/dist/components/share-modal/share-modal/index.esm.js +1 -1
  679. package/dist/components/share-modal/share-modal/index.js +1 -1
  680. package/dist/components/share-modal/share-modal-enhanced/index.esm.js +1 -1
  681. package/dist/components/share-modal/share-modal-enhanced/index.js +1 -1
  682. package/dist/components/team-add-modal/index.esm.js +1 -1
  683. package/dist/components/team-add-modal/index.js +1 -1
  684. package/dist/components/uom-field-wrapper/index.esm.js +1 -1
  685. package/dist/components/uom-field-wrapper/index.js +1 -1
  686. package/dist/components/uom-field-wrapper/uom-field-wrapper/index.esm.js +1 -1
  687. package/dist/components/uom-field-wrapper/uom-field-wrapper/index.js +1 -1
  688. package/dist/components/upload-excel/index.esm.js +1 -1
  689. package/dist/components/upload-excel/index.js +1 -1
  690. package/dist/components/upload-excel/upload-excel/index.esm.js +1 -1
  691. package/dist/components/upload-excel/upload-excel/index.js +1 -1
  692. package/dist/components/vendor-ai-summary/index.esm.js +1 -1
  693. package/dist/components/vendor-ai-summary/index.js +1 -1
  694. package/dist/constants/index.esm.js +1 -1
  695. package/dist/constants/index.js +1 -1
  696. package/dist/hooks/index.esm.js +6 -6
  697. package/dist/hooks/index.js +6 -6
  698. package/dist/hooks/use-translations/index.esm.js +1 -1
  699. package/dist/hooks/use-translations/index.js +1 -1
  700. package/dist/hooks/useAccountSetting/index.esm.js +1 -1
  701. package/dist/hooks/useAccountSetting/index.js +1 -1
  702. package/dist/hooks/useCheckSkuAndName/index.esm.js +1 -1
  703. package/dist/hooks/useCheckSkuAndName/index.js +1 -1
  704. package/dist/hooks/useReduxIntegration/index.esm.js +1 -1
  705. package/dist/hooks/useReduxIntegration/index.js +1 -1
  706. package/dist/hooks/useUniquenessCheck/index.esm.js +1 -1
  707. package/dist/hooks/useUniquenessCheck/index.js +1 -1
  708. package/dist/index.esm.js +137 -119
  709. package/dist/index.esm.js.map +1 -1
  710. package/dist/index.js +100 -82
  711. package/dist/index.js.map +1 -1
  712. package/dist/layout/fullScreen/index.esm.js +1 -1
  713. package/dist/layout/fullScreen/index.js +1 -1
  714. package/dist/layout/index.esm.js +2 -2
  715. package/dist/layout/index.js +2 -2
  716. package/dist/layout/sidebarScreen/index.esm.js +1 -1
  717. package/dist/layout/sidebarScreen/index.js +1 -1
  718. package/dist/redux/index.esm.js +3 -3
  719. package/dist/redux/index.js +3 -3
  720. package/dist/runtime/index.esm.js +6 -2
  721. package/dist/runtime/index.esm.js.map +1 -1
  722. package/dist/runtime/index.js +6 -2
  723. package/dist/runtime/index.js.map +1 -1
  724. package/dist/src/components/calculation-summary/components/discount-summary.d.ts +1 -0
  725. package/dist/src/components/calculation-summary/components/total-summary.d.ts +1 -0
  726. package/dist/src/components/chat-bot/chat-bot-input.d.ts +2 -1
  727. package/dist/src/components/chat-bot/constants.d.ts +1 -0
  728. package/dist/src/components/reports-title-bar/reports-title-bar.d.ts +5 -0
  729. package/dist/src/utils/date-format-settings.d.ts +60 -0
  730. package/dist/src/utils/dateFormat.d.ts +1 -0
  731. package/dist/style.css +28 -1
  732. package/dist/utils/api/index.esm.js +1 -1
  733. package/dist/utils/api/index.js +1 -1
  734. package/dist/utils/common/index.esm.js +1 -1
  735. package/dist/utils/common/index.js +1 -1
  736. package/dist/utils/common-utility/index.esm.js +1 -1
  737. package/dist/utils/common-utility/index.js +1 -1
  738. package/dist/utils/dateFormat/index.esm.js +20 -2
  739. package/dist/utils/dateFormat/index.esm.js.map +1 -1
  740. package/dist/utils/dateFormat/index.js +19 -1
  741. package/dist/utils/dateFormat/index.js.map +1 -1
  742. package/dist/utils/form-builder-deconversion/index.esm.js +10 -4
  743. package/dist/utils/form-builder-deconversion/index.esm.js.map +1 -1
  744. package/dist/utils/form-builder-deconversion/index.js +10 -4
  745. package/dist/utils/form-builder-deconversion/index.js.map +1 -1
  746. package/dist/utils/index.esm.js +28 -10
  747. package/dist/utils/index.esm.js.map +1 -1
  748. package/dist/utils/index.js +23 -5
  749. package/dist/utils/index.js.map +1 -1
  750. package/dist/utils/text-measurement/index.esm.js +1 -1
  751. package/dist/utils/text-measurement/index.js +1 -1
  752. package/dist/views/afterAuth/dashboard/index.esm.js +1 -1
  753. package/dist/views/afterAuth/dashboard/index.js +1 -1
  754. package/dist/views/afterAuth/index.esm.js +2 -2
  755. package/dist/views/afterAuth/index.js +2 -2
  756. package/dist/views/afterAuth/page-view/index.esm.js +1 -1
  757. package/dist/views/afterAuth/page-view/index.js +1 -1
  758. package/dist/views/form-builder/custom-form/index.esm.js +1 -1
  759. package/dist/views/form-builder/custom-form/index.js +1 -1
  760. package/dist/views/form-builder/element-edit-forms/index.esm.js +1 -1
  761. package/dist/views/form-builder/element-edit-forms/index.js +1 -1
  762. package/dist/views/form-builder/form-fields/index.esm.js +1 -1
  763. package/dist/views/form-builder/form-fields/index.js +1 -1
  764. package/dist/views/form-builder/index.esm.js +4 -4
  765. package/dist/views/form-builder/index.js +4 -4
  766. package/dist/views/form-builder/redux/index.esm.js +1 -1
  767. package/dist/views/form-builder/redux/index.js +1 -1
  768. package/dist/views/index.esm.js +13 -13
  769. package/dist/views/index.js +13 -13
  770. package/dist/views/template-editor/add-template/index.esm.js +1 -1
  771. package/dist/views/template-editor/add-template/index.js +1 -1
  772. package/dist/views/template-editor/components/index.esm.js +1 -1
  773. package/dist/views/template-editor/components/index.js +1 -1
  774. package/dist/views/template-editor/edit-section-modal/index.esm.js +1 -1
  775. package/dist/views/template-editor/edit-section-modal/index.js +1 -1
  776. package/dist/views/template-editor/index.esm.js +7 -7
  777. package/dist/views/template-editor/index.js +7 -7
  778. package/dist/views/template-editor/routes/index.esm.js +1 -1
  779. package/dist/views/template-editor/routes/index.js +1 -1
  780. package/dist/views/template-editor/template-modal/index.esm.js +1 -1
  781. package/dist/views/template-editor/template-modal/index.js +1 -1
  782. package/dist/views/template-editor/templates/index.esm.js +1 -1
  783. package/dist/views/template-editor/templates/index.js +1 -1
  784. package/package.json +1 -1
  785. package/dist/chunks/DonutChart-BSM45IZR.js +0 -104
  786. package/dist/chunks/DonutChart-BSM45IZR.js.map +0 -1
  787. package/dist/chunks/DonutChart-CwRZ69d2.esm.js +0 -88
  788. package/dist/chunks/DonutChart-CwRZ69d2.esm.js.map +0 -1
  789. package/dist/chunks/DynamicDependentField-CxvG77Nz.esm.js +0 -128
  790. package/dist/chunks/DynamicDependentField-CxvG77Nz.esm.js.map +0 -1
  791. package/dist/chunks/DynamicDependentField-s4kwIrGN.js +0 -127
  792. package/dist/chunks/DynamicDependentField-s4kwIrGN.js.map +0 -1
  793. package/dist/chunks/ERPUIProvider-BzseBepc.esm.js +0 -130
  794. package/dist/chunks/ERPUIProvider-BzseBepc.esm.js.map +0 -1
  795. package/dist/chunks/ERPUIProvider-iB39BUBd.js +0 -129
  796. package/dist/chunks/ERPUIProvider-iB39BUBd.js.map +0 -1
  797. package/dist/chunks/FORMS-0-6vG5vm.js +0 -295
  798. package/dist/chunks/FORMS-0-6vG5vm.js.map +0 -1
  799. package/dist/chunks/FORMS-QrgpyEK_.esm.js +0 -296
  800. package/dist/chunks/FORMS-QrgpyEK_.esm.js.map +0 -1
  801. package/dist/chunks/FlexibleReduxExample-BgpligMk.js +0 -148
  802. package/dist/chunks/FlexibleReduxExample-BgpligMk.js.map +0 -1
  803. package/dist/chunks/FlexibleReduxExample-Dwvx4wTb.esm.js +0 -149
  804. package/dist/chunks/FlexibleReduxExample-Dwvx4wTb.esm.js.map +0 -1
  805. package/dist/chunks/GroupBarChart-Bqvs5N3s.esm.js +0 -86
  806. package/dist/chunks/GroupBarChart-Bqvs5N3s.esm.js.map +0 -1
  807. package/dist/chunks/GroupBarChart-CQjr7Ow8.js +0 -102
  808. package/dist/chunks/GroupBarChart-CQjr7Ow8.js.map +0 -1
  809. package/dist/chunks/SectionFlowEditor-Blhdf4jD.esm.js +0 -5479
  810. package/dist/chunks/SectionFlowEditor-Blhdf4jD.esm.js.map +0 -1
  811. package/dist/chunks/SectionFlowEditor-CNchIJ-0.js +0 -5478
  812. package/dist/chunks/SectionFlowEditor-CNchIJ-0.js.map +0 -1
  813. package/dist/chunks/action-bar-BCAyZghg.esm.js +0 -660
  814. package/dist/chunks/action-bar-BCAyZghg.esm.js.map +0 -1
  815. package/dist/chunks/action-bar-D6G70JMr.js +0 -659
  816. package/dist/chunks/action-bar-D6G70JMr.js.map +0 -1
  817. package/dist/chunks/actionCreator-2cZZuVFH.js +0 -93
  818. package/dist/chunks/actionCreator-2cZZuVFH.js.map +0 -1
  819. package/dist/chunks/actionCreator-BxsSTjDD.esm.js +0 -28
  820. package/dist/chunks/actionCreator-BxsSTjDD.esm.js.map +0 -1
  821. package/dist/chunks/actionCreator-CCbS63RH.js +0 -21
  822. package/dist/chunks/actionCreator-CCbS63RH.js.map +0 -1
  823. package/dist/chunks/actionCreator-CmAgJzDP.esm.js +0 -94
  824. package/dist/chunks/actionCreator-CmAgJzDP.esm.js.map +0 -1
  825. package/dist/chunks/actionCreator-D5jnL5Pv.js +0 -78
  826. package/dist/chunks/actionCreator-D5jnL5Pv.js.map +0 -1
  827. package/dist/chunks/actionCreator-DaS-QGI4.esm.js +0 -79
  828. package/dist/chunks/actionCreator-DaS-QGI4.esm.js.map +0 -1
  829. package/dist/chunks/actionCreator-DkS_8UbT.esm.js +0 -22
  830. package/dist/chunks/actionCreator-DkS_8UbT.esm.js.map +0 -1
  831. package/dist/chunks/actionCreator-QCAcDFaI.js +0 -27
  832. package/dist/chunks/actionCreator-QCAcDFaI.js.map +0 -1
  833. package/dist/chunks/actionCreator-jriFS6rf.esm.js +0 -14
  834. package/dist/chunks/actionCreator-jriFS6rf.esm.js.map +0 -1
  835. package/dist/chunks/actionCreator-tRYKJL_l.js +0 -13
  836. package/dist/chunks/actionCreator-tRYKJL_l.js.map +0 -1
  837. package/dist/chunks/activity-log-3DTR9uiM.esm.js +0 -103
  838. package/dist/chunks/activity-log-3DTR9uiM.esm.js.map +0 -1
  839. package/dist/chunks/activity-log-Hw1K_cMJ.js +0 -102
  840. package/dist/chunks/activity-log-Hw1K_cMJ.js.map +0 -1
  841. package/dist/chunks/add-template-B8cAl6jP.esm.js +0 -11
  842. package/dist/chunks/add-template-B8cAl6jP.esm.js.map +0 -1
  843. package/dist/chunks/add-template-DXfjAhLS.js +0 -10
  844. package/dist/chunks/add-template-DXfjAhLS.js.map +0 -1
  845. package/dist/chunks/address-modal-DDs0_DwZ.esm.js +0 -664
  846. package/dist/chunks/address-modal-DDs0_DwZ.esm.js.map +0 -1
  847. package/dist/chunks/address-modal-eIuNxXg0.js +0 -680
  848. package/dist/chunks/address-modal-eIuNxXg0.js.map +0 -1
  849. package/dist/chunks/ai-summary-CAKlYLnt.js +0 -350
  850. package/dist/chunks/ai-summary-CAKlYLnt.js.map +0 -1
  851. package/dist/chunks/ai-summary-Dto8NzAC.esm.js +0 -351
  852. package/dist/chunks/ai-summary-Dto8NzAC.esm.js.map +0 -1
  853. package/dist/chunks/api-BSqZ2y7J.esm.js +0 -5922
  854. package/dist/chunks/api-BSqZ2y7J.esm.js.map +0 -1
  855. package/dist/chunks/api-Ce693XLe.js +0 -5921
  856. package/dist/chunks/api-Ce693XLe.js.map +0 -1
  857. package/dist/chunks/appbar-C35Euxp4.js +0 -56
  858. package/dist/chunks/appbar-C35Euxp4.js.map +0 -1
  859. package/dist/chunks/appbar-DCoI9W6A.esm.js +0 -57
  860. package/dist/chunks/appbar-DCoI9W6A.esm.js.map +0 -1
  861. package/dist/chunks/approval-wrapper-B-41mLZw.esm.js +0 -140
  862. package/dist/chunks/approval-wrapper-B-41mLZw.esm.js.map +0 -1
  863. package/dist/chunks/approval-wrapper-C6-tXwaf.js +0 -139
  864. package/dist/chunks/approval-wrapper-C6-tXwaf.js.map +0 -1
  865. package/dist/chunks/areaLinerChart-BSaqONGz.esm.js +0 -104
  866. package/dist/chunks/areaLinerChart-BSaqONGz.esm.js.map +0 -1
  867. package/dist/chunks/areaLinerChart-CV1NKCGz.js +0 -120
  868. package/dist/chunks/areaLinerChart-CV1NKCGz.js.map +0 -1
  869. package/dist/chunks/bar-chart-C0okUFJS.js +0 -103
  870. package/dist/chunks/bar-chart-C0okUFJS.js.map +0 -1
  871. package/dist/chunks/bar-chart-D4myXwbk.esm.js +0 -87
  872. package/dist/chunks/bar-chart-D4myXwbk.esm.js.map +0 -1
  873. package/dist/chunks/barChart-B6SjqFTi.esm.js +0 -144
  874. package/dist/chunks/barChart-B6SjqFTi.esm.js.map +0 -1
  875. package/dist/chunks/barChart-_v5HVNeD.js +0 -160
  876. package/dist/chunks/barChart-_v5HVNeD.js.map +0 -1
  877. package/dist/chunks/barLinechart-BGRDgzAX.esm.js +0 -180
  878. package/dist/chunks/barLinechart-BGRDgzAX.esm.js.map +0 -1
  879. package/dist/chunks/barLinechart-Cybr4t95.js +0 -196
  880. package/dist/chunks/barLinechart-Cybr4t95.js.map +0 -1
  881. package/dist/chunks/calculation-summary-BhWssEJP.esm.js +0 -182
  882. package/dist/chunks/calculation-summary-BhWssEJP.esm.js.map +0 -1
  883. package/dist/chunks/calculation-summary-DdAaSwoG.js +0 -181
  884. package/dist/chunks/calculation-summary-DdAaSwoG.js.map +0 -1
  885. package/dist/chunks/chat-bot-C0ohNCRY.js +0 -3546
  886. package/dist/chunks/chat-bot-C0ohNCRY.js.map +0 -1
  887. package/dist/chunks/chat-bot-CzRxCBcZ.esm.js +0 -3547
  888. package/dist/chunks/chat-bot-CzRxCBcZ.esm.js.map +0 -1
  889. package/dist/chunks/common-utility-DNOInB1J.esm.js +0 -299
  890. package/dist/chunks/common-utility-DNOInB1J.esm.js.map +0 -1
  891. package/dist/chunks/common-utility-DXlg6tQv.js +0 -298
  892. package/dist/chunks/common-utility-DXlg6tQv.js.map +0 -1
  893. package/dist/chunks/custom-date-picker-Bj_9n8p8.esm.js +0 -56
  894. package/dist/chunks/custom-date-picker-Bj_9n8p8.esm.js.map +0 -1
  895. package/dist/chunks/custom-date-picker-Dt54H6AR.js +0 -55
  896. package/dist/chunks/custom-date-picker-Dt54H6AR.js.map +0 -1
  897. package/dist/chunks/custom-editor-D99-i2rN.js +0 -1257
  898. package/dist/chunks/custom-editor-D99-i2rN.js.map +0 -1
  899. package/dist/chunks/custom-editor-DbaK32F2.esm.js +0 -1257
  900. package/dist/chunks/custom-editor-DbaK32F2.esm.js.map +0 -1
  901. package/dist/chunks/custom-form-CiSSDja3.esm.js +0 -1146
  902. package/dist/chunks/custom-form-CiSSDja3.esm.js.map +0 -1
  903. package/dist/chunks/custom-form-rhJ1xvOV.js +0 -1145
  904. package/dist/chunks/custom-form-rhJ1xvOV.js.map +0 -1
  905. package/dist/chunks/custom-grid-card-25R5RDYY.js +0 -126
  906. package/dist/chunks/custom-grid-card-25R5RDYY.js.map +0 -1
  907. package/dist/chunks/custom-grid-card-ChSQynhf.esm.js +0 -127
  908. package/dist/chunks/custom-grid-card-ChSQynhf.esm.js.map +0 -1
  909. package/dist/chunks/dashboard-D7cAtema.js +0 -74
  910. package/dist/chunks/dashboard-D7cAtema.js.map +0 -1
  911. package/dist/chunks/dashboard-uhHB0n9T.esm.js +0 -75
  912. package/dist/chunks/dashboard-uhHB0n9T.esm.js.map +0 -1
  913. package/dist/chunks/date-BEkOnPLg.js +0 -55
  914. package/dist/chunks/date-BEkOnPLg.js.map +0 -1
  915. package/dist/chunks/date-DWW33q1y.esm.js +0 -56
  916. package/dist/chunks/date-DWW33q1y.esm.js.map +0 -1
  917. package/dist/chunks/date-picker-C0qJ2Ceq.js +0 -127
  918. package/dist/chunks/date-picker-C0qJ2Ceq.js.map +0 -1
  919. package/dist/chunks/date-picker-CqiwV3fq.esm.js +0 -128
  920. package/dist/chunks/date-picker-CqiwV3fq.esm.js.map +0 -1
  921. package/dist/chunks/date-range-picker-Bt_heXbX.js +0 -196
  922. package/dist/chunks/date-range-picker-Bt_heXbX.js.map +0 -1
  923. package/dist/chunks/date-range-picker-CXYyecdN.js +0 -61
  924. package/dist/chunks/date-range-picker-CXYyecdN.js.map +0 -1
  925. package/dist/chunks/date-range-picker-CvkYXRaH.esm.js +0 -197
  926. package/dist/chunks/date-range-picker-CvkYXRaH.esm.js.map +0 -1
  927. package/dist/chunks/date-range-picker-DDI-vDlU.esm.js +0 -62
  928. package/dist/chunks/date-range-picker-DDI-vDlU.esm.js.map +0 -1
  929. package/dist/chunks/date-time-Bmf9tUWN.js +0 -54
  930. package/dist/chunks/date-time-Bmf9tUWN.js.map +0 -1
  931. package/dist/chunks/date-time-TwBpGcVi.esm.js +0 -55
  932. package/dist/chunks/date-time-TwBpGcVi.esm.js.map +0 -1
  933. package/dist/chunks/date-time-picker-BiVDvz7V.esm.js +0 -115
  934. package/dist/chunks/date-time-picker-BiVDvz7V.esm.js.map +0 -1
  935. package/dist/chunks/date-time-picker-HC1XkaJG.js +0 -114
  936. package/dist/chunks/date-time-picker-HC1XkaJG.js.map +0 -1
  937. package/dist/chunks/dateFormat-DruK2Qh9.js +0 -56
  938. package/dist/chunks/dateFormat-DruK2Qh9.js.map +0 -1
  939. package/dist/chunks/dateFormat-VzMEQghL.esm.js +0 -57
  940. package/dist/chunks/dateFormat-VzMEQghL.esm.js.map +0 -1
  941. package/dist/chunks/discount-summary-Cfxk2tZa.esm.js +0 -60
  942. package/dist/chunks/discount-summary-Cfxk2tZa.esm.js.map +0 -1
  943. package/dist/chunks/discount-summary-RCy2t_AM.js +0 -59
  944. package/dist/chunks/discount-summary-RCy2t_AM.js.map +0 -1
  945. package/dist/chunks/dynamic-report-BfnrD-zq.js +0 -588
  946. package/dist/chunks/dynamic-report-BfnrD-zq.js.map +0 -1
  947. package/dist/chunks/dynamic-report-CmL56Rs0.esm.js +0 -589
  948. package/dist/chunks/dynamic-report-CmL56Rs0.esm.js.map +0 -1
  949. package/dist/chunks/dynamic-rows-5iZHYEWp.js +0 -249
  950. package/dist/chunks/dynamic-rows-5iZHYEWp.js.map +0 -1
  951. package/dist/chunks/dynamic-rows-Db28dAgS.esm.js +0 -250
  952. package/dist/chunks/dynamic-rows-Db28dAgS.esm.js.map +0 -1
  953. package/dist/chunks/dynamic-text-editor-B2k2GRDf.js +0 -44
  954. package/dist/chunks/dynamic-text-editor-B2k2GRDf.js.map +0 -1
  955. package/dist/chunks/dynamic-text-editor-DSyNRqGU.esm.js +0 -45
  956. package/dist/chunks/dynamic-text-editor-DSyNRqGU.esm.js.map +0 -1
  957. package/dist/chunks/edit-section-modal-Bg_OubEc.js +0 -76
  958. package/dist/chunks/edit-section-modal-Bg_OubEc.js.map +0 -1
  959. package/dist/chunks/edit-section-modal-CqbrHCo2.esm.js +0 -77
  960. package/dist/chunks/edit-section-modal-CqbrHCo2.esm.js.map +0 -1
  961. package/dist/chunks/filter-Br7IBDbh.esm.js +0 -415
  962. package/dist/chunks/filter-Br7IBDbh.esm.js.map +0 -1
  963. package/dist/chunks/filter-DqL-Ey7H.js +0 -414
  964. package/dist/chunks/filter-DqL-Ey7H.js.map +0 -1
  965. package/dist/chunks/footer-BmDKMyLP.js +0 -63
  966. package/dist/chunks/footer-BmDKMyLP.js.map +0 -1
  967. package/dist/chunks/footer-BmKXTODa.esm.js +0 -64
  968. package/dist/chunks/footer-BmKXTODa.esm.js.map +0 -1
  969. package/dist/chunks/form-fields-BiRJ8Gyp.esm.js +0 -355
  970. package/dist/chunks/form-fields-BiRJ8Gyp.esm.js.map +0 -1
  971. package/dist/chunks/form-fields-mWRtoHVX.js +0 -354
  972. package/dist/chunks/form-fields-mWRtoHVX.js.map +0 -1
  973. package/dist/chunks/form-parser-6_MQHzfU.js +0 -607
  974. package/dist/chunks/form-parser-6_MQHzfU.js.map +0 -1
  975. package/dist/chunks/form-parser-D0ZqEsBx.esm.js +0 -591
  976. package/dist/chunks/form-parser-D0ZqEsBx.esm.js.map +0 -1
  977. package/dist/chunks/form-section-D0ipOYv3.esm.js +0 -476
  978. package/dist/chunks/form-section-D0ipOYv3.esm.js.map +0 -1
  979. package/dist/chunks/form-section-DJJ5O8QE.js +0 -475
  980. package/dist/chunks/form-section-DJJ5O8QE.js.map +0 -1
  981. package/dist/chunks/format-chart-value-B5ClGhlz.esm.js +0 -37
  982. package/dist/chunks/format-chart-value-B5ClGhlz.esm.js.map +0 -1
  983. package/dist/chunks/format-chart-value-Cy1P2lbF.js +0 -53
  984. package/dist/chunks/format-chart-value-Cy1P2lbF.js.map +0 -1
  985. package/dist/chunks/fullScreen-CV2gntC3.js +0 -20
  986. package/dist/chunks/fullScreen-CV2gntC3.js.map +0 -1
  987. package/dist/chunks/fullScreen-DwP10GLK.esm.js +0 -21
  988. package/dist/chunks/fullScreen-DwP10GLK.esm.js.map +0 -1
  989. package/dist/chunks/global-search-BUpAIn8K.js +0 -149
  990. package/dist/chunks/global-search-BUpAIn8K.js.map +0 -1
  991. package/dist/chunks/global-search-C_L-lmq1.esm.js +0 -150
  992. package/dist/chunks/global-search-C_L-lmq1.esm.js.map +0 -1
  993. package/dist/chunks/grid-view-7yv8BBGS.esm.js +0 -52
  994. package/dist/chunks/grid-view-7yv8BBGS.esm.js.map +0 -1
  995. package/dist/chunks/grid-view-LeS2Q6Zy.js +0 -51
  996. package/dist/chunks/grid-view-LeS2Q6Zy.js.map +0 -1
  997. package/dist/chunks/header-BfLMcRXF.js +0 -90
  998. package/dist/chunks/header-BfLMcRXF.js.map +0 -1
  999. package/dist/chunks/header-CgGEFjRD.esm.js +0 -91
  1000. package/dist/chunks/header-CgGEFjRD.esm.js.map +0 -1
  1001. package/dist/chunks/header-enhanced-CP0w1-Dn.js +0 -400
  1002. package/dist/chunks/header-enhanced-CP0w1-Dn.js.map +0 -1
  1003. package/dist/chunks/header-enhanced-Cd3gRkWV.esm.js +0 -401
  1004. package/dist/chunks/header-enhanced-Cd3gRkWV.esm.js.map +0 -1
  1005. package/dist/chunks/inline-edit-fields-C7sJKda2.js +0 -340
  1006. package/dist/chunks/inline-edit-fields-C7sJKda2.js.map +0 -1
  1007. package/dist/chunks/inline-edit-fields-D0gvI8T3.esm.js +0 -324
  1008. package/dist/chunks/inline-edit-fields-D0gvI8T3.esm.js.map +0 -1
  1009. package/dist/chunks/inventory-reports-title-bar-C8Qo7NEx.js +0 -732
  1010. package/dist/chunks/inventory-reports-title-bar-C8Qo7NEx.js.map +0 -1
  1011. package/dist/chunks/inventory-reports-title-bar-DpG06q1U.esm.js +0 -733
  1012. package/dist/chunks/inventory-reports-title-bar-DpG06q1U.esm.js.map +0 -1
  1013. package/dist/chunks/item-response-details-Q4dR3qmN.js +0 -78
  1014. package/dist/chunks/item-response-details-Q4dR3qmN.js.map +0 -1
  1015. package/dist/chunks/item-response-details-TEvdMqA7.esm.js +0 -79
  1016. package/dist/chunks/item-response-details-TEvdMqA7.esm.js.map +0 -1
  1017. package/dist/chunks/listing-B7oUf-ga.esm.js +0 -276
  1018. package/dist/chunks/listing-B7oUf-ga.esm.js.map +0 -1
  1019. package/dist/chunks/listing-DINZMGWq.js +0 -275
  1020. package/dist/chunks/listing-DINZMGWq.js.map +0 -1
  1021. package/dist/chunks/location-select-B91gVEZg.esm.js +0 -86
  1022. package/dist/chunks/location-select-B91gVEZg.esm.js.map +0 -1
  1023. package/dist/chunks/location-select-DJGf2z9B.js +0 -85
  1024. package/dist/chunks/location-select-DJGf2z9B.js.map +0 -1
  1025. package/dist/chunks/material-editable-table-Bsy2JLb6.esm.js +0 -1469
  1026. package/dist/chunks/material-editable-table-Bsy2JLb6.esm.js.map +0 -1
  1027. package/dist/chunks/material-editable-table-CzJhE63R.js +0 -1485
  1028. package/dist/chunks/material-editable-table-CzJhE63R.js.map +0 -1
  1029. package/dist/chunks/module-reducer-CCZD_gz4.js +0 -91
  1030. package/dist/chunks/module-reducer-CCZD_gz4.js.map +0 -1
  1031. package/dist/chunks/module-reducer-DNm9BZ0L.esm.js +0 -92
  1032. package/dist/chunks/module-reducer-DNm9BZ0L.esm.js.map +0 -1
  1033. package/dist/chunks/multi-line-chart-BYBYGBdy.esm.js +0 -96
  1034. package/dist/chunks/multi-line-chart-BYBYGBdy.esm.js.map +0 -1
  1035. package/dist/chunks/multi-line-chart-Bt3wdHU7.js +0 -112
  1036. package/dist/chunks/multi-line-chart-Bt3wdHU7.js.map +0 -1
  1037. package/dist/chunks/notification-menu-BCCLpwDZ.js +0 -600
  1038. package/dist/chunks/notification-menu-BCCLpwDZ.js.map +0 -1
  1039. package/dist/chunks/notification-menu-PJM37Tp2.esm.js +0 -601
  1040. package/dist/chunks/notification-menu-PJM37Tp2.esm.js.map +0 -1
  1041. package/dist/chunks/page-action-CUTFLYyt.esm.js +0 -325
  1042. package/dist/chunks/page-action-CUTFLYyt.esm.js.map +0 -1
  1043. package/dist/chunks/page-action-EfPBRwHo.js +0 -324
  1044. package/dist/chunks/page-action-EfPBRwHo.js.map +0 -1
  1045. package/dist/chunks/page-navigator-J9GdrKkm.js +0 -242
  1046. package/dist/chunks/page-navigator-J9GdrKkm.js.map +0 -1
  1047. package/dist/chunks/page-navigator-PBXn7Eh_.esm.js +0 -243
  1048. package/dist/chunks/page-navigator-PBXn7Eh_.esm.js.map +0 -1
  1049. package/dist/chunks/page-view-D_Erav8n.js +0 -323
  1050. package/dist/chunks/page-view-D_Erav8n.js.map +0 -1
  1051. package/dist/chunks/page-view-DsptSruT.esm.js +0 -324
  1052. package/dist/chunks/page-view-DsptSruT.esm.js.map +0 -1
  1053. package/dist/chunks/quick-approval-modal-Bi9f6kIj.esm.js +0 -256
  1054. package/dist/chunks/quick-approval-modal-Bi9f6kIj.esm.js.map +0 -1
  1055. package/dist/chunks/quick-approval-modal-CoFcxeD9.js +0 -272
  1056. package/dist/chunks/quick-approval-modal-CoFcxeD9.js.map +0 -1
  1057. package/dist/chunks/reducer-BSDSt8P5.js +0 -49
  1058. package/dist/chunks/reducer-BSDSt8P5.js.map +0 -1
  1059. package/dist/chunks/reducer-Btzbg-kC.js +0 -55
  1060. package/dist/chunks/reducer-Btzbg-kC.js.map +0 -1
  1061. package/dist/chunks/reducer-C0vp7c_5.esm.js +0 -43
  1062. package/dist/chunks/reducer-C0vp7c_5.esm.js.map +0 -1
  1063. package/dist/chunks/reducer-C5hytm3p.js +0 -42
  1064. package/dist/chunks/reducer-C5hytm3p.js.map +0 -1
  1065. package/dist/chunks/reducer-C_iAxDoX.js +0 -32
  1066. package/dist/chunks/reducer-C_iAxDoX.js.map +0 -1
  1067. package/dist/chunks/reducer-DlQPn2Yf.js +0 -147
  1068. package/dist/chunks/reducer-DlQPn2Yf.js.map +0 -1
  1069. package/dist/chunks/reducer-DpGhVrVl.esm.js +0 -50
  1070. package/dist/chunks/reducer-DpGhVrVl.esm.js.map +0 -1
  1071. package/dist/chunks/reducer-DvN85Zfx.esm.js +0 -33
  1072. package/dist/chunks/reducer-DvN85Zfx.esm.js.map +0 -1
  1073. package/dist/chunks/reducer-LfwRh77b.esm.js +0 -56
  1074. package/dist/chunks/reducer-LfwRh77b.esm.js.map +0 -1
  1075. package/dist/chunks/reducer-qhCDNTSp.esm.js +0 -148
  1076. package/dist/chunks/reducer-qhCDNTSp.esm.js.map +0 -1
  1077. package/dist/chunks/reportFilter-CqxvTM6T.js +0 -394
  1078. package/dist/chunks/reportFilter-CqxvTM6T.js.map +0 -1
  1079. package/dist/chunks/reportFilter-DTsM7pWt.esm.js +0 -395
  1080. package/dist/chunks/reportFilter-DTsM7pWt.esm.js.map +0 -1
  1081. package/dist/chunks/reports-title-bar-BPCvX-LI.esm.js +0 -1016
  1082. package/dist/chunks/reports-title-bar-BPCvX-LI.esm.js.map +0 -1
  1083. package/dist/chunks/reports-title-bar-L1k7t3uz.js +0 -1015
  1084. package/dist/chunks/reports-title-bar-L1k7t3uz.js.map +0 -1
  1085. package/dist/chunks/route-page-map-Bz7COHkD.esm.js +0 -7427
  1086. package/dist/chunks/route-page-map-Bz7COHkD.esm.js.map +0 -1
  1087. package/dist/chunks/route-page-map-DfVJnKQA.js +0 -7426
  1088. package/dist/chunks/route-page-map-DfVJnKQA.js.map +0 -1
  1089. package/dist/chunks/routes-BC185juT.esm.js +0 -47
  1090. package/dist/chunks/routes-BC185juT.esm.js.map +0 -1
  1091. package/dist/chunks/routes-PNRu_AV8.js +0 -46
  1092. package/dist/chunks/routes-PNRu_AV8.js.map +0 -1
  1093. package/dist/chunks/schedule-report-CkrAwjTf.js +0 -235
  1094. package/dist/chunks/schedule-report-CkrAwjTf.js.map +0 -1
  1095. package/dist/chunks/schedule-report-YXW8mqxX.esm.js +0 -236
  1096. package/dist/chunks/schedule-report-YXW8mqxX.esm.js.map +0 -1
  1097. package/dist/chunks/schedule-report-modal-CDieUlju.esm.js +0 -288
  1098. package/dist/chunks/schedule-report-modal-CDieUlju.esm.js.map +0 -1
  1099. package/dist/chunks/schedule-report-modal-DbDqxLtB.js +0 -287
  1100. package/dist/chunks/schedule-report-modal-DbDqxLtB.js.map +0 -1
  1101. package/dist/chunks/searchable-select-Kg6j3WHo.js +0 -5447
  1102. package/dist/chunks/searchable-select-Kg6j3WHo.js.map +0 -1
  1103. package/dist/chunks/searchable-select-UNDm_sU3.esm.js +0 -5431
  1104. package/dist/chunks/searchable-select-UNDm_sU3.esm.js.map +0 -1
  1105. package/dist/chunks/share-modal-BkfNmJ6Q.esm.js +0 -218
  1106. package/dist/chunks/share-modal-BkfNmJ6Q.esm.js.map +0 -1
  1107. package/dist/chunks/share-modal-CfxRsno1.js +0 -217
  1108. package/dist/chunks/share-modal-CfxRsno1.js.map +0 -1
  1109. package/dist/chunks/share-modal-enhanced-B7ROQZkD.esm.js +0 -270
  1110. package/dist/chunks/share-modal-enhanced-B7ROQZkD.esm.js.map +0 -1
  1111. package/dist/chunks/share-modal-enhanced-CdPdyiPt.js +0 -269
  1112. package/dist/chunks/share-modal-enhanced-CdPdyiPt.js.map +0 -1
  1113. package/dist/chunks/sidebarScreen-CUDpCssG.js +0 -200
  1114. package/dist/chunks/sidebarScreen-CUDpCssG.js.map +0 -1
  1115. package/dist/chunks/sidebarScreen-ES06jsUC.esm.js +0 -201
  1116. package/dist/chunks/sidebarScreen-ES06jsUC.esm.js.map +0 -1
  1117. package/dist/chunks/store-BhWKdIyL.esm.js +0 -89
  1118. package/dist/chunks/store-BhWKdIyL.esm.js.map +0 -1
  1119. package/dist/chunks/store-DED99V-p.js +0 -88
  1120. package/dist/chunks/store-DED99V-p.js.map +0 -1
  1121. package/dist/chunks/table-D60IIwv_.js +0 -184
  1122. package/dist/chunks/table-D60IIwv_.js.map +0 -1
  1123. package/dist/chunks/table-DqRPlxNW.esm.js +0 -185
  1124. package/dist/chunks/table-DqRPlxNW.esm.js.map +0 -1
  1125. package/dist/chunks/table-form-5eM4xAoE.js +0 -1536
  1126. package/dist/chunks/table-form-5eM4xAoE.js.map +0 -1
  1127. package/dist/chunks/table-form-lDShKPGv.esm.js +0 -1537
  1128. package/dist/chunks/table-form-lDShKPGv.esm.js.map +0 -1
  1129. package/dist/chunks/template-editor-router-BDTAwEPd.esm.js +0 -9
  1130. package/dist/chunks/template-editor-router-BDTAwEPd.esm.js.map +0 -1
  1131. package/dist/chunks/template-editor-router-DQU440rt.js +0 -8
  1132. package/dist/chunks/template-editor-router-DQU440rt.js.map +0 -1
  1133. package/dist/chunks/template-modal-BEbtkxK2.esm.js +0 -769
  1134. package/dist/chunks/template-modal-BEbtkxK2.esm.js.map +0 -1
  1135. package/dist/chunks/template-modal-DM8bWq5q.js +0 -768
  1136. package/dist/chunks/template-modal-DM8bWq5q.js.map +0 -1
  1137. package/dist/chunks/templates-CcbbOv90.js +0 -278
  1138. package/dist/chunks/templates-CcbbOv90.js.map +0 -1
  1139. package/dist/chunks/templates-DchjIAQf.esm.js +0 -279
  1140. package/dist/chunks/templates-DchjIAQf.esm.js.map +0 -1
  1141. package/dist/chunks/text-measurement-B2SY4MOI.js +0 -251
  1142. package/dist/chunks/text-measurement-B2SY4MOI.js.map +0 -1
  1143. package/dist/chunks/text-measurement-C4VHjrOM.esm.js +0 -252
  1144. package/dist/chunks/text-measurement-C4VHjrOM.esm.js.map +0 -1
  1145. package/dist/chunks/total-summary-BCNJd8iL.esm.js +0 -41
  1146. package/dist/chunks/total-summary-BCNJd8iL.esm.js.map +0 -1
  1147. package/dist/chunks/total-summary-BhLK6YOW.js +0 -40
  1148. package/dist/chunks/total-summary-BhLK6YOW.js.map +0 -1
  1149. package/dist/chunks/translations-CzTYlXLs.js +0 -58
  1150. package/dist/chunks/translations-CzTYlXLs.js.map +0 -1
  1151. package/dist/chunks/translations-s7kQoO4z.esm.js +0 -59
  1152. package/dist/chunks/translations-s7kQoO4z.esm.js.map +0 -1
  1153. package/dist/chunks/uom-field-wrapper-CftM69IH.esm.js +0 -80
  1154. package/dist/chunks/uom-field-wrapper-CftM69IH.esm.js.map +0 -1
  1155. package/dist/chunks/uom-field-wrapper-DGJXWRgH.js +0 -79
  1156. package/dist/chunks/uom-field-wrapper-DGJXWRgH.js.map +0 -1
  1157. package/dist/chunks/upload-excel-BzL5o4KR.esm.js +0 -361
  1158. package/dist/chunks/upload-excel-BzL5o4KR.esm.js.map +0 -1
  1159. package/dist/chunks/upload-excel-WxhTn3iL.js +0 -360
  1160. package/dist/chunks/upload-excel-WxhTn3iL.js.map +0 -1
  1161. package/dist/chunks/use-translations-DK7JAMUq.esm.js +0 -62
  1162. package/dist/chunks/use-translations-DK7JAMUq.esm.js.map +0 -1
  1163. package/dist/chunks/use-translations-fvRLagN8.js +0 -61
  1164. package/dist/chunks/use-translations-fvRLagN8.js.map +0 -1
  1165. package/dist/chunks/useAccountSetting-0o3CgYbA.esm.js +0 -173
  1166. package/dist/chunks/useAccountSetting-0o3CgYbA.esm.js.map +0 -1
  1167. package/dist/chunks/useAccountSetting-DP26D8yo.js +0 -172
  1168. package/dist/chunks/useAccountSetting-DP26D8yo.js.map +0 -1
  1169. package/dist/chunks/useCheckSkuAndName-CoCwHFgC.js +0 -49
  1170. package/dist/chunks/useCheckSkuAndName-CoCwHFgC.js.map +0 -1
  1171. package/dist/chunks/useCheckSkuAndName-rkZ4hHCO.esm.js +0 -50
  1172. package/dist/chunks/useCheckSkuAndName-rkZ4hHCO.esm.js.map +0 -1
  1173. package/dist/chunks/useReduxIntegration-Cd6hvE5r.js +0 -38
  1174. package/dist/chunks/useReduxIntegration-Cd6hvE5r.js.map +0 -1
  1175. package/dist/chunks/useReduxIntegration-DM__4RiP.esm.js +0 -39
  1176. package/dist/chunks/useReduxIntegration-DM__4RiP.esm.js.map +0 -1
  1177. package/dist/chunks/useUniquenessCheck-B2o3fIcX.esm.js +0 -39
  1178. package/dist/chunks/useUniquenessCheck-B2o3fIcX.esm.js.map +0 -1
  1179. package/dist/chunks/useUniquenessCheck-pXvzabHu.js +0 -38
  1180. package/dist/chunks/useUniquenessCheck-pXvzabHu.js.map +0 -1
  1181. package/dist/chunks/useVendorAICompare-BkBY0x5p.js +0 -30
  1182. package/dist/chunks/useVendorAICompare-BkBY0x5p.js.map +0 -1
  1183. package/dist/chunks/useVendorAICompare-fc4aJtj1.esm.js +0 -31
  1184. package/dist/chunks/useVendorAICompare-fc4aJtj1.esm.js.map +0 -1
  1185. package/dist/chunks/value-editor-BmMNObtT.js +0 -265
  1186. package/dist/chunks/value-editor-BmMNObtT.js.map +0 -1
  1187. package/dist/chunks/value-editor-Djz4sP71.esm.js +0 -266
  1188. package/dist/chunks/value-editor-Djz4sP71.esm.js.map +0 -1
  1189. package/dist/chunks/vendor-ai-summary-B_2B-IuL.js +0 -227
  1190. package/dist/chunks/vendor-ai-summary-B_2B-IuL.js.map +0 -1
  1191. package/dist/chunks/vendor-ai-summary-CXNxB7TQ.esm.js +0 -228
  1192. package/dist/chunks/vendor-ai-summary-CXNxB7TQ.esm.js.map +0 -1
@@ -0,0 +1,1469 @@
1
+ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
+ import React__default, { useState, useEffect, useCallback, useRef, cloneElement, useImperativeHandle } from "react";
3
+ import { useMaterialReactTable, MaterialReactTable } from "material-react-table";
4
+ import { Box, IconButton, MenuItem, ListItemIcon, ListItemText, Divider, styled } from "@mui/material";
5
+ import ChevronRightIcon from "@mui/icons-material/ChevronRight";
6
+ import ChevronLeftIcon from "@mui/icons-material/ChevronLeft";
7
+ import { M as Menu } from "./menu-B2SzzeqF.esm.js";
8
+ import { T as Typography } from "./typography-CG_A0iOJ.esm.js";
9
+ import { S as SearchBar } from "./search-bar-B9qZQual.esm.js";
10
+ import images from "../images/index.esm.js";
11
+ import { A as ArrowUpDown } from "./arrow-up-down-kqMqkqGL.esm.js";
12
+ import { C as CheckBoxIcon } from "./check-box-DZA45Wnw.esm.js";
13
+ import { C as Close } from "./close-RLA63UHs.esm.js";
14
+ import { R as RecgtangleIcon } from "./rectangle-BNPQmR-w.esm.js";
15
+ import { T as Trash } from "./trash-Zhhh3VNZ.esm.js";
16
+ import { I as InlineEditFields } from "./inline-edit-fields-BXrrK0UT.esm.js";
17
+ import { T as Tooltip } from "./Tooltip-C4ENi_0y.esm.js";
18
+ import { B as Button } from "./button-BtdpXmjA.esm.js";
19
+ import AddIcon from "@mui/icons-material/Add";
20
+ import dayjs from "dayjs";
21
+ import * as Yup from "yup";
22
+ import { C as ConfirmPopUp } from "./confirm-modal-PbguB4YV.esm.js";
23
+ import { useTranslation } from "react-i18next";
24
+ import { useSnackbar } from "notistack";
25
+ import { W as getErrorMessage } from "./api-u1lKzJVv.esm.js";
26
+ import { usePages } from "@erpsquad/common/runtime";
27
+ import { useNavigate } from "react-router-dom";
28
+ import { P as PathnameDocument } from "./pathname.document-CiCHLywm.esm.js";
29
+ import { e as PathnameRental, a as PathnameCrm, d as PathnamePurchase, c as PathnameManufacturing, b as PathnameInventory, P as PathnameAccounting } from "./pathname.rental-CZkwdWmi.esm.js";
30
+ import { a as PathnameUsers } from "./pathname.hrms-BUlo6Tyo.esm.js";
31
+ import { u as useDeepMemo } from "./use-deep-memo-BzDUOQl2.esm.js";
32
+ const TableWrapper = styled(Box)(({ theme: { palette } }) => {
33
+ var _a, _b, _c, _d;
34
+ return {
35
+ ".MuiTableCell-root": {
36
+ border: "1px solid #efefef",
37
+ borderBottom: 0,
38
+ borderLeft: 0,
39
+ padding: "0 0.5rem",
40
+ lineHeight: "19px",
41
+ fontSize: "14px",
42
+ minHeight: 32
43
+ // '&:first-child': {
44
+ // borderLeft: '1px solid #efefef'
45
+ // },
46
+ // '&:last-child': {
47
+ // borderBottom: '1px solid #efefef'
48
+ // }
49
+ },
50
+ ".MuiTableCell-head": {
51
+ backgroundColor: (_a = palette.theme) == null ? void 0 : _a.secondary[100]
52
+ },
53
+ ".MuiTableContainer-root": {
54
+ maxHeight: "clamp(350px, 100vh - 200px, 9999px) !important"
55
+ },
56
+ ".MuiPaper-root": {
57
+ boxShadow: "none"
58
+ },
59
+ ".MuiPaginationItem-root": {
60
+ "&.Mui-selected": {
61
+ backgroundColor: (_b = palette == null ? void 0 : palette.theme) == null ? void 0 : _b.primary[700],
62
+ color: "white"
63
+ }
64
+ },
65
+ ".MuiTableRow-root": {
66
+ "&.Mui-selected": {
67
+ backgroundColor: `${(_c = palette == null ? void 0 : palette.theme) == null ? void 0 : _c.primary[100]} !important`,
68
+ color: "white"
69
+ }
70
+ },
71
+ ".MuiCheckbox-indeterminate": {
72
+ color: `${(_d = palette == null ? void 0 : palette.theme) == null ? void 0 : _d.primary[700]} !important`,
73
+ "& svg": {
74
+ height: `20px !important`,
75
+ width: `20px !important`
76
+ }
77
+ }
78
+ };
79
+ });
80
+ const pendingRowCommitRegistry = /* @__PURE__ */ new Set();
81
+ const commitAllPendingTableRows = async () => {
82
+ await Promise.all(Array.from(pendingRowCommitRegistry).map((commit) => commit()));
83
+ };
84
+ const MaterialEditableTable = React__default.memo(React__default.forwardRef(({
85
+ enablePagination = false,
86
+ rows,
87
+ columns,
88
+ totalPages,
89
+ paginationModel,
90
+ columnOrder,
91
+ updateData,
92
+ handleColumnOrdering,
93
+ enableEditing,
94
+ enableColumnDragging,
95
+ states,
96
+ rowActionMenu,
97
+ destructiveActionMenu,
98
+ disableDefaultActionColumn,
99
+ enableRowSelection,
100
+ defaultActionColumnItems = [],
101
+ enableBottomToolbar,
102
+ SetSelectedRowId,
103
+ isResetRow,
104
+ onCreateRow,
105
+ onEditRow,
106
+ onDeleteRow,
107
+ editDisplayMode,
108
+ enableRowCreate,
109
+ onChangeRowField,
110
+ onSelectRow,
111
+ enableColumnResizing = true,
112
+ selectedRowIds = [],
113
+ onColumnVisibility,
114
+ onSortingChange,
115
+ getSelectedData,
116
+ disabledDefaultActionColumnIcon = false,
117
+ enableAddCustomField = true,
118
+ enableRowDragging = false,
119
+ handleColumnResizing = () => {
120
+ },
121
+ columnSizes = {},
122
+ hideSaveButton = false,
123
+ hideDeleteButton,
124
+ enableFirstRowEdit = false,
125
+ // eslint-disable-next-line unused-imports/no-unused-vars, @typescript-eslint/no-unused-vars
126
+ // getRowId,
127
+ // onDelete,
128
+ // onUpdate,
129
+ ...rest
130
+ }, ref) => {
131
+ const { t } = useTranslation();
132
+ const { enqueueSnackbar } = useSnackbar();
133
+ const { formData = null, updatePageInfo, activePage: aPage } = usePages();
134
+ const activePage = useDeepMemo(aPage);
135
+ const { pageNo } = paginationModel;
136
+ const [row, setRow] = useState({});
137
+ const [tableColumns, setTableColumns] = useState(columns);
138
+ const [anchorEl, setAnchorEl] = useState(null);
139
+ const [popUpShow, setPopupShow] = useState(false);
140
+ const [rowAnchorEl, setRowAnchorEl] = useState(null);
141
+ const visibleColumns = tableColumns.filter((column) => column.visible);
142
+ const hiddenColumns = tableColumns.filter((column) => !column.visible);
143
+ const [filteredOptions, setFilteredOptions] = useState(hiddenColumns);
144
+ const [selectedRow, setSelectedRow] = useState(null);
145
+ const [validationErrors, setValidationErrors] = useState({});
146
+ const [validationSchema, setValidationSchema] = useState([]);
147
+ const [isCreatingRow, setIsCreatingRow] = useState(false);
148
+ const [isEditingRow, setIsEditingRow] = useState(false);
149
+ const [isDeletingRow, setIsDeletingRow] = useState(false);
150
+ const [rowToDelete, setRowToDelete] = useState(null);
151
+ const [rowSelection, setRowSelection] = useState({});
152
+ const [isChecked, setIsChecked] = useState(false);
153
+ const [sorting, setSorting] = useState([]);
154
+ const [disableNextEdit, setDisableNextEdit] = useState(false);
155
+ const [columnSizing, setColumnSizing] = useState(activePage.column_sizes);
156
+ const [columnSizingInfo, setColumnSizingInfo] = useState({
157
+ columnSizingStart: [],
158
+ deltaOffset: null,
159
+ deltaPercentage: null,
160
+ isResizingColumn: false,
161
+ startOffset: null,
162
+ startSize: null
163
+ });
164
+ const [clickStartTime, setClickStartTime] = useState(0);
165
+ const navigate = useNavigate();
166
+ const currentModule = location.pathname.split("/")[2];
167
+ let redirectionPath = "";
168
+ switch (currentModule) {
169
+ case "accounting":
170
+ redirectionPath = PathnameAccounting.CUSTOM_FORM;
171
+ break;
172
+ case "inventory":
173
+ redirectionPath = PathnameInventory.CUSTOM_FORM;
174
+ break;
175
+ case "manufacturing":
176
+ redirectionPath = PathnameManufacturing.CUSTOM_FORM;
177
+ break;
178
+ case "procurement":
179
+ redirectionPath = PathnamePurchase.CUSTOM_FORM;
180
+ break;
181
+ case "crm":
182
+ redirectionPath = PathnameCrm.CUSTOM_FORM;
183
+ break;
184
+ case "user":
185
+ redirectionPath = PathnameUsers.CUSTOM_FORM;
186
+ break;
187
+ case "rental":
188
+ redirectionPath = PathnameRental.CUSTOM_FORM;
189
+ break;
190
+ case "drive":
191
+ redirectionPath = PathnameDocument.ADD_CUSTOM_FIELDS;
192
+ break;
193
+ }
194
+ const path = `/dashboard/${currentModule}${redirectionPath}`;
195
+ const getValidationType = (column) => {
196
+ var _a;
197
+ switch (column.editVariant) {
198
+ case "select":
199
+ return ((_a = column == null ? void 0 : column.editProperties) == null ? void 0 : _a.is_multiple) ? Yup.array() : Yup.string();
200
+ case "number":
201
+ return Yup.number().nullable().transform((value, originalValue) => originalValue === "" ? null : value);
202
+ case "url":
203
+ return Yup.string().matches(
204
+ /^(https?:\/\/)?((([a-zA-Z0-9_-]+\.)+[a-zA-Z]{2,})|localhost)(:\d{2,5})?(\/[a-zA-Z0-9#_-]+\/?)*(\?[a-zA-Z0-9&=_-]+)?(#\S+)?$/,
205
+ { excludeEmptyString: true, message: "Please enter valid URL." }
206
+ );
207
+ case "date":
208
+ case "date_time":
209
+ case "time":
210
+ return Yup.date().nullable().transform((value, originalValue) => {
211
+ if (originalValue === "" || originalValue === null || originalValue === void 0) {
212
+ return null;
213
+ }
214
+ if (originalValue && typeof originalValue === "object" && "toDate" in originalValue) {
215
+ return originalValue.toDate();
216
+ }
217
+ return value;
218
+ }).typeError("Valid date is required");
219
+ case "file":
220
+ case "image":
221
+ return Yup.mixed().nullable();
222
+ default:
223
+ return Yup.string();
224
+ }
225
+ };
226
+ const validationReducer = (schema, validation, column) => {
227
+ var _a;
228
+ let vld = schema;
229
+ switch (validation.type) {
230
+ case "required":
231
+ if (validation.value) {
232
+ vld = vld.required(validation.msg_en).typeError(validation.msg_en);
233
+ if (!(column == null ? void 0 : column.editVariant) || (column == null ? void 0 : column.editVariant) === "text") {
234
+ vld = vld.test(
235
+ "no-blank-spaces",
236
+ "Blank space is not allowed",
237
+ (value) => typeof value === "string" ? value.trim().length > 0 : true
238
+ );
239
+ }
240
+ } else if ((_a = column == null ? void 0 : column.editProperties) == null ? void 0 : _a.is_multiple) {
241
+ vld = vld.min(1, validation.msg_en);
242
+ }
243
+ break;
244
+ case "notRequired":
245
+ vld = vld.notRequired();
246
+ break;
247
+ case "nullable":
248
+ vld = vld.nullable(validation.value ?? true);
249
+ break;
250
+ case "defined":
251
+ vld = vld.defined(validation.msg_en);
252
+ break;
253
+ case "optional":
254
+ vld = vld.optional();
255
+ break;
256
+ case "strict":
257
+ vld = vld.strict(validation.value ?? true);
258
+ break;
259
+ case "typeError":
260
+ vld = vld.typeError(validation.msg_en);
261
+ break;
262
+ case "oneOf":
263
+ vld = vld.oneOf(validation.values, validation.msg_en);
264
+ break;
265
+ case "notOneOf":
266
+ vld = vld.notOneOf(validation.values, validation.msg_en);
267
+ break;
268
+ case "default":
269
+ vld = vld.default(validation.value);
270
+ break;
271
+ case "transform":
272
+ vld = vld.transform(validation.fn);
273
+ break;
274
+ case "label":
275
+ vld = vld.label(validation.value);
276
+ break;
277
+ case "meta":
278
+ vld = vld.meta(validation.value);
279
+ break;
280
+ case "trim":
281
+ vld = vld.trim();
282
+ break;
283
+ case "lowercase":
284
+ vld = vld.lowercase();
285
+ break;
286
+ case "uppercase":
287
+ vld = vld.uppercase();
288
+ break;
289
+ case "email":
290
+ vld = vld.email(validation.msg_en);
291
+ break;
292
+ case "url":
293
+ vld = vld.url(validation.msg_en);
294
+ break;
295
+ case "uuid":
296
+ vld = vld.uuid(validation.msg_en);
297
+ break;
298
+ case "length":
299
+ vld = vld.length(validation.value, validation.msg_en);
300
+ break;
301
+ case "min":
302
+ vld = vld.min(validation.value, validation.msg_en);
303
+ break;
304
+ case "max":
305
+ vld = vld.max(validation.value, validation.msg_en);
306
+ break;
307
+ case "matches":
308
+ vld = vld.matches(validation.regex, validation.msg_en);
309
+ break;
310
+ case "startsWith":
311
+ vld = vld.matches(
312
+ new RegExp(`^${validation.value}`),
313
+ validation.msg_en
314
+ );
315
+ break;
316
+ case "endsWith":
317
+ vld = vld.matches(
318
+ new RegExp(`${validation.value}$`),
319
+ validation.msg_en
320
+ );
321
+ break;
322
+ case "lessThan":
323
+ vld = vld.lessThan(validation.value, validation.msg_en);
324
+ break;
325
+ case "moreThan":
326
+ vld = vld.moreThan(validation.value, validation.msg_en);
327
+ break;
328
+ case "positive":
329
+ vld = vld.positive(validation.msg_en);
330
+ break;
331
+ case "negative":
332
+ vld = vld.negative(validation.msg_en);
333
+ break;
334
+ case "integer":
335
+ vld = vld.integer(validation.msg_en);
336
+ break;
337
+ case "round":
338
+ vld = vld.round(validation.method || "round");
339
+ break;
340
+ case "truncate":
341
+ vld = vld.truncate();
342
+ break;
343
+ case "minItems":
344
+ vld = vld.min(validation.value, validation.msg_en);
345
+ break;
346
+ case "maxItems":
347
+ vld = vld.max(validation.value, validation.msg_en);
348
+ break;
349
+ case "ensure":
350
+ vld = vld.ensure();
351
+ break;
352
+ case "compact":
353
+ vld = vld.compact(validation.rejector);
354
+ break;
355
+ case "of":
356
+ vld = vld.of(validation.schema);
357
+ break;
358
+ case "minDate":
359
+ vld = vld.min(validation.value, validation.msg_en);
360
+ break;
361
+ case "maxDate":
362
+ vld = vld.max(validation.value, validation.msg_en);
363
+ break;
364
+ case "shape":
365
+ vld = vld.shape(validation.fields);
366
+ break;
367
+ case "noUnknown":
368
+ vld = vld.noUnknown(validation.value ?? true, validation.msg_en);
369
+ break;
370
+ case "test":
371
+ vld = vld.test(
372
+ validation.name || "custom-test",
373
+ validation.msg_en,
374
+ validation.testFn
375
+ );
376
+ break;
377
+ case "validate":
378
+ if (typeof validation.callback === "function") {
379
+ vld = vld.test(
380
+ validation.name || "custom-validate",
381
+ validation.msg_en || "Validation failed",
382
+ function(value) {
383
+ var _a2;
384
+ const rowObj = ((_a2 = this.options.context) == null ? void 0 : _a2.row) || {
385
+ original: this.parent,
386
+ origin: this.parent,
387
+ _valuesCache: this.parent
388
+ };
389
+ return validation.callback(value, this.parent, rowObj);
390
+ }
391
+ );
392
+ }
393
+ break;
394
+ case "when":
395
+ return vld.when(validation.relation, {
396
+ is: (val) => typeof validation.is === "function" ? validation.is(val) : Array.isArray(validation.values) ? validation.values.includes(val) : val === validation.values,
397
+ then: (s) => {
398
+ var _a2;
399
+ return ((_a2 = validation == null ? void 0 : validation.thenValidations) == null ? void 0 : _a2.reduce(
400
+ (acc, v) => validationReducer(acc, v, column),
401
+ s
402
+ )) || s;
403
+ },
404
+ otherwise: (s) => {
405
+ var _a2;
406
+ return ((_a2 = validation == null ? void 0 : validation.otherWiseValidations) == null ? void 0 : _a2.reduce(
407
+ (acc, v) => validationReducer(acc, v, column),
408
+ s
409
+ )) || s;
410
+ }
411
+ });
412
+ }
413
+ return vld;
414
+ };
415
+ const generateValidationSchema = (columns2) => {
416
+ return columns2.reduce((acc, clm) => {
417
+ var _a;
418
+ const validations = (_a = clm == null ? void 0 : clm.editProperties) == null ? void 0 : _a.validations;
419
+ if (!(validations == null ? void 0 : validations.length)) return acc;
420
+ const baseSchema = getValidationType(clm);
421
+ acc[clm.accessorKey] = validations.reduce(
422
+ (schema, validation) => validationReducer(schema, validation, clm),
423
+ baseSchema
424
+ );
425
+ return acc;
426
+ }, {});
427
+ };
428
+ useEffect(() => {
429
+ setTableColumns(columns);
430
+ const schema = generateValidationSchema(columns);
431
+ setValidationSchema(Yup.object().shape(schema));
432
+ }, [columns]);
433
+ useEffect(() => {
434
+ if (!(columnSizingInfo == null ? void 0 : columnSizingInfo.isResizingColumn)) {
435
+ updatePageInfo({ column_sizes: { ...activePage.column_sizes, ...columnSizing } });
436
+ handleColumnResizing == null ? void 0 : handleColumnResizing(columnSizing);
437
+ }
438
+ }, [columnSizingInfo == null ? void 0 : columnSizingInfo.isResizingColumn, columnSizing]);
439
+ const handleHeaderClick = (event) => {
440
+ setAnchorEl(event.currentTarget);
441
+ };
442
+ const handleHeaderClose = () => {
443
+ setAnchorEl(null);
444
+ };
445
+ const handleVisibleColumn = (column) => {
446
+ const updatedColumns = tableColumns.map((col) => ({
447
+ ...col,
448
+ visible: col.accessorKey === column.accessorKey ? false : col.visible
449
+ }));
450
+ setTableColumns(updatedColumns);
451
+ onColumnVisibility == null ? void 0 : onColumnVisibility(JSON.parse(JSON.stringify(updatedColumns)));
452
+ setFilteredOptions([...filteredOptions, column]);
453
+ setAnchorEl(null);
454
+ };
455
+ const handleAddButtonClick = () => {
456
+ setPopupShow(true);
457
+ };
458
+ const handleBackButtonClick = () => {
459
+ setPopupShow(false);
460
+ };
461
+ const handleAddColumn = (column) => {
462
+ const updatedColumns = tableColumns.map((col) => ({
463
+ ...col,
464
+ visible: col.accessorKey === column.accessorKey ? true : col.visible
465
+ }));
466
+ onColumnVisibility == null ? void 0 : onColumnVisibility(JSON.parse(JSON.stringify(updatedColumns)));
467
+ setTableColumns(updatedColumns);
468
+ const updatedFilteredOptions = filteredOptions.filter(
469
+ (option) => option.accessorKey !== column.accessorKey
470
+ );
471
+ setFilteredOptions(updatedFilteredOptions);
472
+ setAnchorEl(null);
473
+ setPopupShow(false);
474
+ };
475
+ const handleSearchEvent = (searchQuery) => {
476
+ const filteredColumns = hiddenColumns.filter(
477
+ (option) => option.header.toLowerCase().includes(searchQuery.toLowerCase())
478
+ );
479
+ setFilteredOptions(filteredColumns);
480
+ };
481
+ const handleCustomAddColumn = () => {
482
+ navigate(path, { state: formData });
483
+ setAnchorEl(null);
484
+ setPopupShow(false);
485
+ };
486
+ const handleActionsClick = (event, data) => {
487
+ setRow(data);
488
+ setRowAnchorEl(event.currentTarget);
489
+ };
490
+ const handleActionsClose = () => {
491
+ setRowAnchorEl(null);
492
+ };
493
+ const formtValues = useCallback((values, cells) => {
494
+ const v = {};
495
+ if (values == null ? void 0 : values["mrt-row-actions"]) {
496
+ delete values["mrt-row-actions"];
497
+ }
498
+ Object.keys(values).forEach((vl) => {
499
+ const val = values[vl];
500
+ const cell = cells.find((c) => c.accessorKey == vl);
501
+ if (val) {
502
+ if (val instanceof File) {
503
+ v[vl] = val.name;
504
+ } else if (cell && (cell == null ? void 0 : cell.editVariant) == "date") {
505
+ v[vl] = dayjs(val).format((cell == null ? void 0 : cell.dateFormat) || "DD-MM-YYYY");
506
+ } else if (cell && (cell == null ? void 0 : cell.editVariant) == "time") {
507
+ v[vl] = dayjs.isDayjs(val) ? val.format("HH:mm") : val;
508
+ } else if (cell && (cell == null ? void 0 : cell.editVariant) == "select" && typeof val === "object" && val !== null) {
509
+ v[vl] = val.name || val.label || val.display_name || val.title || val.value || val.id || val;
510
+ } else if (cell && (cell == null ? void 0 : cell.editVariant) == "select" && typeof val === "string") {
511
+ v[vl] = val;
512
+ } else {
513
+ v[vl] = val;
514
+ }
515
+ } else {
516
+ v[vl] = val;
517
+ }
518
+ });
519
+ return v;
520
+ }, []);
521
+ const handleRowDelete = async () => {
522
+ setIsDeletingRow(true);
523
+ if (rowToDelete) {
524
+ await (onDeleteRow == null ? void 0 : onDeleteRow(rowToDelete));
525
+ setRowToDelete(null);
526
+ }
527
+ setIsDeletingRow(false);
528
+ };
529
+ const checkRequired = useCallback((editProperties) => {
530
+ var _a;
531
+ return (_a = editProperties == null ? void 0 : editProperties.validations) == null ? void 0 : _a.some((validation) => validation.type === "required");
532
+ }, []);
533
+ useEffect(() => {
534
+ const selectedRows = {};
535
+ if (!isChecked && selectedRowIds.length) {
536
+ rows.forEach((row2) => {
537
+ if (selectedRowIds.includes(row2.id)) {
538
+ selectedRows[row2.id] = true;
539
+ }
540
+ });
541
+ setRowSelection(selectedRows);
542
+ setIsChecked(true);
543
+ }
544
+ }, [rows, selectedRowIds]);
545
+ useEffect(() => {
546
+ if (onSortingChange instanceof Function) {
547
+ const sortingArray = Array.isArray(sorting) ? sorting : [];
548
+ onSortingChange(sortingArray[0] || null);
549
+ }
550
+ }, [sorting]);
551
+ const resetRowSelection = () => {
552
+ setRowSelection({});
553
+ setDisableNextEdit(false);
554
+ };
555
+ const getTextWidth = (text) => {
556
+ const canvas = document.createElement("canvas");
557
+ const ctx = canvas.getContext("2d");
558
+ if (!ctx) return 50;
559
+ return ctx.measureText(text).width + 5;
560
+ };
561
+ const handleSaveRow = useCallback(
562
+ async ({ row: row2, values, table: table2 }, mode) => {
563
+ const isEditMode = mode === "edit";
564
+ const setLoadingState = isEditMode ? setIsEditingRow : setIsCreatingRow;
565
+ const rowId = row2.id;
566
+ try {
567
+ await validationSchema.validate(values, { abortEarly: false, context: { row: row2 } });
568
+ setValidationErrors((prev) => {
569
+ const next = { ...prev };
570
+ delete next[rowId];
571
+ return next;
572
+ });
573
+ setLoadingState(true);
574
+ setDisableNextEdit(false);
575
+ const cells = row2.getAllCells().map((c) => c.column.columnDef);
576
+ row2._valuesCache = formtValues(values, cells);
577
+ const data = { row: row2, values, table: table2 };
578
+ if (isEditMode) {
579
+ await (onEditRow == null ? void 0 : onEditRow(data, "edit"));
580
+ table2.setEditingRow(null);
581
+ } else {
582
+ await (onCreateRow == null ? void 0 : onCreateRow(data));
583
+ table2.setCreatingRow(null);
584
+ }
585
+ } catch (err) {
586
+ if (err instanceof Yup.ValidationError) {
587
+ const fieldErrors = err.inner.reduce((acc, { path: path2, message }) => {
588
+ if (path2) acc[path2] = message;
589
+ return acc;
590
+ }, {});
591
+ setValidationErrors((prev) => ({ ...prev, [rowId]: fieldErrors }));
592
+ } else {
593
+ enqueueSnackbar(
594
+ getErrorMessage(err instanceof Error ? err.message : "Something went wrong"),
595
+ { variant: "error" }
596
+ );
597
+ }
598
+ } finally {
599
+ setLoadingState(false);
600
+ }
601
+ },
602
+ [validationSchema, onEditRow, onCreateRow, formtValues]
603
+ );
604
+ const validate = useCallback(async (values, row2) => {
605
+ try {
606
+ await validationSchema.validate(values, { abortEarly: false, context: { row: row2 } });
607
+ setValidationErrors({});
608
+ return true;
609
+ } catch (err) {
610
+ return false;
611
+ }
612
+ }, [validationSchema]);
613
+ useCallback(
614
+ async (columnId, value, rowId, rowValues) => {
615
+ if (!validationSchema || typeof validationSchema.validateAt !== "function" || !validationSchema.fields || !validationSchema.fields[columnId]) return;
616
+ try {
617
+ await validationSchema.validateAt(
618
+ columnId,
619
+ {
620
+ ...rowValues,
621
+ [columnId]: value
622
+ },
623
+ {
624
+ abortEarly: false
625
+ }
626
+ );
627
+ setValidationErrors((prev) => {
628
+ const next = { ...prev };
629
+ if (next[rowId]) {
630
+ const rowErrs = { ...next[rowId] };
631
+ delete rowErrs[columnId];
632
+ next[rowId] = rowErrs;
633
+ }
634
+ return next;
635
+ });
636
+ } catch (err) {
637
+ if (err instanceof Yup.ValidationError) {
638
+ const fieldErrors = err.inner.reduce((acc, { path: path2, message }) => {
639
+ if (path2) acc[path2] = message;
640
+ return acc;
641
+ }, {});
642
+ setValidationErrors((prev) => ({
643
+ ...prev,
644
+ [rowId]: {
645
+ ...prev[rowId] ?? {},
646
+ ...fieldErrors
647
+ }
648
+ }));
649
+ }
650
+ }
651
+ },
652
+ [validationSchema]
653
+ );
654
+ const valuesRef = useRef({});
655
+ const tableContainerRef = useRef(null);
656
+ const syncFieldValue = useCallback(
657
+ (rowId, columnId, value) => {
658
+ valuesRef.current[rowId] = {
659
+ ...valuesRef.current[rowId] ?? {},
660
+ [columnId]: value
661
+ };
662
+ },
663
+ []
664
+ );
665
+ const clearRow = useCallback((rowId) => {
666
+ delete valuesRef.current[rowId];
667
+ }, []);
668
+ const getRowValues = useCallback(
669
+ (row2) => ({
670
+ // 1. original row data — baseline
671
+ ...row2.original,
672
+ // 2. MRT's internal cache — contains what MRT-controlled fields wrote
673
+ ...row2._valuesCache,
674
+ // 3. Our own cache — authoritative for custom fields
675
+ ...valuesRef.current[row2.id] ?? {}
676
+ }),
677
+ []
678
+ );
679
+ const saveEditingRow = useCallback(
680
+ async (table2) => {
681
+ const editingRow = table2.getState().editingRow;
682
+ const creatingRow = table2.getState().creatingRow;
683
+ if (!editingRow) return;
684
+ const values = getRowValues(editingRow);
685
+ const isValid = await validate(values, editingRow);
686
+ if (!isValid) {
687
+ await handleSaveRow({ row: editingRow, values, table: table2 }, "edit");
688
+ return;
689
+ }
690
+ await handleSaveRow({ row: editingRow, values, table: table2 }, "edit");
691
+ clearRow(editingRow.id);
692
+ if (!creatingRow && enableRowCreate) {
693
+ setDisableNextEdit(false);
694
+ setTimeout(() => table2.setCreatingRow(true), 200);
695
+ } else {
696
+ setDisableNextEdit(false);
697
+ }
698
+ },
699
+ [getRowValues, handleSaveRow, clearRow, validate, enableRowCreate]
700
+ );
701
+ const saveCreatingRow = useCallback(
702
+ async (table2) => {
703
+ const creatingRow = table2.getState().creatingRow;
704
+ if (!creatingRow) return;
705
+ const values = getRowValues(creatingRow);
706
+ if (values == null ? void 0 : values["mrt-row-actions"]) {
707
+ delete values["mrt-row-actions"];
708
+ }
709
+ const isValid = await validate(values, creatingRow);
710
+ await handleSaveRow({ row: creatingRow, values, table: table2 }, "create");
711
+ if (!isValid) return;
712
+ if (isValid) {
713
+ setDisableNextEdit(false);
714
+ clearRow("mrt-row-create");
715
+ setTimeout(() => table2.setCreatingRow(true), 200);
716
+ }
717
+ },
718
+ [getRowValues, clearRow, validate]
719
+ );
720
+ const table = useMaterialReactTable({
721
+ // options:{
722
+ // tableLayout: "auto", // 👈 important
723
+ // padding: "dense",
724
+ // },
725
+ // columns: visibleColumns,
726
+ defaultColumn: {
727
+ minSize: 0,
728
+ // 👈 remove default min width
729
+ size: void 0
730
+ // 👈 optional, default size
731
+ },
732
+ columns: [
733
+ ...visibleColumns.map((c) => {
734
+ getTextWidth(c.header || "");
735
+ Math.max(
736
+ ...rows.map((row2) => getTextWidth(String(row2[c.accessorKey] ?? "")))
737
+ );
738
+ return {
739
+ ...c,
740
+ ...editDisplayMode === "row" ? {
741
+ Edit: ({ cell, row: row2, table: table2, column }) => {
742
+ return /* @__PURE__ */ jsx(
743
+ InlineEditFields,
744
+ {
745
+ cell,
746
+ column,
747
+ col: c,
748
+ row: row2,
749
+ table: table2,
750
+ callback: (s) => console.log("Save", s),
751
+ errors: validationErrors[row2.id] ?? {},
752
+ validationSchema,
753
+ setValidationErrors: (errors) => setValidationErrors((prev) => ({ ...prev, [row2.id]: errors })),
754
+ onChangeRowField,
755
+ getSelectedData: (name, row3) => getSelectedData == null ? void 0 : getSelectedData(name, row3),
756
+ syncFieldValue
757
+ }
758
+ );
759
+ }
760
+ } : {},
761
+ Header: /* @__PURE__ */ jsxs(Box, { display: "flex", alignItems: "center", children: [
762
+ c.header,
763
+ (c == null ? void 0 : c.required) || checkRequired(c == null ? void 0 : c.editProperties) && /* @__PURE__ */ jsx(Typography, { type: "s5", color: "theme.error.600", children: "*" })
764
+ ] }),
765
+ enableColumnDragging: c.id !== "actions",
766
+ // cellStyle: { ...c.cellStyle, width: finalWidth },
767
+ // headerStyle: { ...c.headerStyle, width: finalWidth },
768
+ // size: finalWidth
769
+ size: void 0,
770
+ // minSize: 40,
771
+ maxSize: 800
772
+ };
773
+ }),
774
+ ...!disableDefaultActionColumn ? [
775
+ {
776
+ id: "actions",
777
+ enableEditing: false,
778
+ size: (defaultActionColumnItems == null ? void 0 : defaultActionColumnItems.length) > 1 ? 80 : 50,
779
+ header: /* @__PURE__ */ jsx(IconButton, { size: "small", sx: { p: 0.5, "&:hover": { backgroundColor: "transparent" } }, onClick: handleHeaderClick, children: /* @__PURE__ */ jsx("img", { src: images.common.arrowIcon, alt: "Arrow Icon" }) }),
780
+ enableColumnDragging: false,
781
+ visible: true,
782
+ muiTableHeadCellProps: {
783
+ className: "pinned-column"
784
+ },
785
+ muiTableBodyCellProps: {
786
+ className: "pinned-column",
787
+ sx: {
788
+ whiteSpace: "pre-wrap"
789
+ }
790
+ },
791
+ Cell: (props) => (defaultActionColumnItems == null ? void 0 : defaultActionColumnItems.length) ? defaultActionColumnItems.map((item) => {
792
+ const updatedProps = {
793
+ ...item.props,
794
+ onClick: () => item.props.onClick(props)
795
+ };
796
+ return cloneElement(item, updatedProps);
797
+ }) : !disabledDefaultActionColumnIcon && /* @__PURE__ */ jsx(
798
+ IconButton,
799
+ {
800
+ onClick: (e) => handleActionsClick(e, props.row.original),
801
+ disabled: !(rowActionMenu == null ? void 0 : rowActionMenu.length) && !(destructiveActionMenu == null ? void 0 : destructiveActionMenu.length),
802
+ children: /* @__PURE__ */ jsx("img", { src: images.more, alt: "More Icon" })
803
+ }
804
+ )
805
+ }
806
+ ] : []
807
+ ],
808
+ data: rows,
809
+ muiTablePaperProps: {
810
+ sx: {
811
+ tableLayout: "auto"
812
+ // lets columns shrink to fit content
813
+ }
814
+ },
815
+ columnResizeMode: "onChange",
816
+ onEditingRowSave: async (data) => {
817
+ await handleSaveRow(data, "edit");
818
+ },
819
+ onCreatingRowSave: async (data) => {
820
+ await handleSaveRow(data, "create");
821
+ },
822
+ onCreatingRowCancel: () => resetRowSelection(),
823
+ onEditingRowCancel: () => {
824
+ setDisableNextEdit(false);
825
+ },
826
+ onSortingChange: (states == null ? void 0 : states.sorting) ? onSortingChange : setSorting,
827
+ displayColumnDefOptions: {
828
+ "mrt-row-actions": {
829
+ // size: onDeleteRow ? 80 : 50,
830
+ Header: /* @__PURE__ */ jsx(IconButton, { onClick: handleHeaderClick, size: "small", children: /* @__PURE__ */ jsx("img", { src: images.common.arrowIcon, alt: "Arrow Icon" }) }),
831
+ muiTableBodyCellProps: ({ row: row2, table: table2 }) => {
832
+ var _a, _b;
833
+ const isCreatingRow2 = ((_a = table2.getState().creatingRow) == null ? void 0 : _a.id) === row2.id;
834
+ const isEditingRow2 = ((_b = table2.getState().editingRow) == null ? void 0 : _b.id) === row2.id;
835
+ return {
836
+ sx: {
837
+ "& .MuiBox-root": {
838
+ gap: 0
839
+ },
840
+ backgroundColor: "#fff",
841
+ whiteSpace: "pre-wrap",
842
+ // Hide save button only when editing existing row (not in create mode or non-editable mode)
843
+ ...hideSaveButton && (isEditingRow2 || isCreatingRow2) ? {
844
+ "& .MuiBox-root > .MuiIconButton-root:first-of-type": {
845
+ display: "none !important"
846
+ },
847
+ // Also hide any save icon buttons by aria-label or title
848
+ '& button[aria-label*="Save"]': {
849
+ display: "none !important"
850
+ },
851
+ '& button[title*="Save"]': {
852
+ display: "none !important"
853
+ },
854
+ // Hide save icon by class or data attributes
855
+ '& .MuiIconButton-root[class*="save"]': {
856
+ display: "none !important"
857
+ },
858
+ '& .MuiIconButton-root[data-testid*="save"]': {
859
+ display: "none !important"
860
+ }
861
+ } : {}
862
+ }
863
+ };
864
+ }
865
+ },
866
+ "mrt-row-expand": {
867
+ size: 70
868
+ // Set the size of the expand-collapse arrow column here
869
+ },
870
+ "mrt-row-select": {
871
+ size: 50
872
+ // Set the width of the checkbox column here
873
+ }
874
+ },
875
+ renderRowActions: ({ row: row2, table: table2 }) => /* @__PURE__ */ jsx(Fragment, { children: (rest == null ? void 0 : rest.enableExpanding) ? /* @__PURE__ */ jsx(Fragment, { children: (row2 == null ? void 0 : row2.parentId) && /* @__PURE__ */ jsx(Box, { sx: { display: "flex", gap: 0 }, children: onDeleteRow && !(hideDeleteButton == null ? void 0 : hideDeleteButton(row2.original)) && /* @__PURE__ */ jsx(Tooltip, { title: "Delete", children: /* @__PURE__ */ jsx(IconButton, { disabled: disableNextEdit, onClick: () => setRowToDelete(row2), size: "small", className: "delete-row", children: /* @__PURE__ */ jsx(Trash, { fontSize: "small", sx: { color: "theme.secondary.1000" } }) }) }) }) }) : /* @__PURE__ */ jsx(Box, { sx: { display: "flex", gap: 0 }, children: onDeleteRow && !(hideDeleteButton == null ? void 0 : hideDeleteButton(row2.original)) && /* @__PURE__ */ jsx(Tooltip, { title: "Delete", children: /* @__PURE__ */ jsx(IconButton, { disabled: disableNextEdit, onClick: () => setRowToDelete(row2), className: "delete-row", children: /* @__PURE__ */ jsx(Trash, { fontSize: "small", sx: { color: "theme.secondary.1000" } }) }) }) }) }),
876
+ ...Boolean(enableRowCreate) && {
877
+ renderBottomToolbarCustomActions: ({ table: table2 }) => /* @__PURE__ */ jsx(
878
+ Button,
879
+ {
880
+ variant: "outlined",
881
+ startIcon: /* @__PURE__ */ jsx(AddIcon, {}),
882
+ className: "add-row-btn",
883
+ disabled: disableNextEdit,
884
+ onClick: () => {
885
+ table2.setCreatingRow(true);
886
+ setDisableNextEdit(true);
887
+ },
888
+ children: t("common.add")
889
+ }
890
+ )
891
+ },
892
+ onRowSelectionChange: setRowSelection,
893
+ enableColumnOrdering: true,
894
+ enableRowSelection: enableRowSelection ?? true,
895
+ enableEditing: (row2) => enableEditing instanceof Function ? enableEditing(row2) : enableEditing ?? true,
896
+ editDisplayMode: editDisplayMode ?? "row",
897
+ createDisplayMode: "row",
898
+ positionCreatingRow: "bottom",
899
+ enableColumnResizing,
900
+ enableRowDragging,
901
+ enableTopToolbar: false,
902
+ enableColumnActions: false,
903
+ enableSorting: true,
904
+ enableGrouping: true,
905
+ enableBottomToolbar: enableBottomToolbar ?? false,
906
+ enableColumnDragging: enableColumnDragging ?? true,
907
+ enableStickyHeader: true,
908
+ enableSortingRemoval: false,
909
+ // column ordering
910
+ state: {
911
+ // columnOrder: (!columnOrder || columnOrder.length <= 1)
912
+ // ? [...internalColumnOrder]
913
+ // : [...columnOrder],
914
+ columnOrder,
915
+ columnPinning: { left: ["actions", "mrt-row-actions"] },
916
+ isSaving: isCreatingRow || isEditingRow,
917
+ showProgressBars: false,
918
+ rowSelection,
919
+ ...states,
920
+ sorting: Array.isArray(states == null ? void 0 : states.sorting) ? states == null ? void 0 : states.sorting : Array.isArray(sorting) ? sorting : [],
921
+ columnSizing
922
+ },
923
+ getRowId: (row2) => row2 == null ? void 0 : row2.id,
924
+ // table.getState().editingRow
925
+ muiTableBodyRowProps: ({ row: row2, table: table2 }) => {
926
+ var _a, _b, _c, _d, _e, _f, _g;
927
+ const editingRowId = ((_b = (_a = table2.getState()) == null ? void 0 : _a.editingRow) == null ? void 0 : _b.id) || ((_d = (_c = table2.getState()) == null ? void 0 : _c.creatingRow) == null ? void 0 : _d.id) || null;
928
+ ((_f = (_e = table2.getState()) == null ? void 0 : _e.creatingRow) == null ? void 0 : _f.id) || null;
929
+ const isErrorRow = Boolean((_g = row2 == null ? void 0 : row2.original) == null ? void 0 : _g.has_error);
930
+ editingRowId === row2.id;
931
+ return {
932
+ onClick: () => {
933
+ setSelectedRow(row2.id);
934
+ },
935
+ sx: {
936
+ cursor: "pointer",
937
+ // backgroundColor: !editingRowId
938
+ // ? (selectedRow === row.id
939
+ // ? '#e8e8e8'
940
+ // : (isErrorRow ? 'theme.error.100' : 'inherit'))
941
+ // : 'inherit',
942
+ backgroundColor: !editingRowId ? isErrorRow ? "theme.error.100" : "inherit" : "inherit",
943
+ "&:hover": {
944
+ backgroundColor: editingRowId ? editingRowId === row2.id ? "transparent" : "inherit" : isErrorRow ? "theme.error.200" : "#e8e8e8"
945
+ },
946
+ "&:hover td:after": {
947
+ backgroundColor: "transparent"
948
+ // Removes the grey background applied via :after
949
+ }
950
+ }
951
+ };
952
+ },
953
+ onColumnOrderChange: (colOrder) => {
954
+ if (handleColumnOrdering) handleColumnOrdering(colOrder);
955
+ },
956
+ onColumnSizingChange: setColumnSizing,
957
+ onColumnSizingInfoChange: setColumnSizingInfo,
958
+ renderEmptyRowsFallback: () => /* @__PURE__ */ jsxs(Box, { className: "no-data", children: [
959
+ /* @__PURE__ */ jsx("img", { src: images.common.tableNoData }),
960
+ /* @__PURE__ */ jsx(Typography, { type: "s3", weight: "medium", color: "theme.secondary.1000", children: t("common.noData") })
961
+ ] }),
962
+ // pagination
963
+ enablePagination,
964
+ paginationDisplayMode: "pages",
965
+ muiPaginationProps: {
966
+ shape: "rounded",
967
+ page: pageNo,
968
+ // current page number
969
+ count: totalPages,
970
+ // total pages
971
+ showRowsPerPage: false,
972
+ // Hide rows per page options
973
+ boundaryCount: 3
974
+ },
975
+ muiEditTextFieldProps: ({ row: row2, column }) => ({
976
+ InputProps: {
977
+ disableUnderline: true
978
+ },
979
+ onBlur: (e) => {
980
+ updateData(e.target.value, column, row2.id);
981
+ },
982
+ // onChange: (e) => {
983
+ // updateData(e.target.value, column, row.id);
984
+ // },
985
+ variant: "outlined",
986
+ sx: ({ palette }) => {
987
+ var _a;
988
+ return {
989
+ "& .MuiOutlinedInput-root": {
990
+ "& fieldset": {
991
+ borderColor: `${(_a = palette.theme) == null ? void 0 : _a.primary[700]} !important`
992
+ // backgroundColor: palette.theme?.primary[700]
993
+ }
994
+ }
995
+ };
996
+ }
997
+ }),
998
+ /* Table loader style */
999
+ muiCircularProgressProps: {
1000
+ sx: {
1001
+ color: "#289B64"
1002
+ }
1003
+ },
1004
+ // Table header cell default styles
1005
+ muiTableHeadCellProps: {
1006
+ sx: {
1007
+ lineHeight: "140%",
1008
+ letterSpacing: "-0.28px",
1009
+ fontWeight: "500",
1010
+ fontSize: "0.875rem",
1011
+ "& .Mui-TableHeadCell-Content": {
1012
+ height: "100%"
1013
+ },
1014
+ "& .Mui-TableHeadCell-Content-Labels": {
1015
+ width: "100%",
1016
+ justifyContent: "space-between"
1017
+ },
1018
+ "&.pinned-column": {
1019
+ backgroundColor: "#fff"
1020
+ },
1021
+ "& .Mui-TableHeadCell-ResizeHandle-Wrapper": {
1022
+ padding: 0,
1023
+ margin: 0,
1024
+ right: "-5px",
1025
+ opacity: 0
1026
+ }
1027
+ }
1028
+ },
1029
+ // Table body cell default styles
1030
+ muiTableBodyProps: {
1031
+ sx: {
1032
+ zIndex: 500
1033
+ }
1034
+ },
1035
+ muiTableHeadProps: {
1036
+ sx: {
1037
+ zIndex: 600
1038
+ }
1039
+ },
1040
+ muiTableBodyCellProps: ({ cell, column, table: table2, row: row2 }) => ({
1041
+ sx: {
1042
+ lineHeight: "140%",
1043
+ letterSpacing: "-0.26px",
1044
+ fontWeight: "400",
1045
+ fontSize: "0.8125rem",
1046
+ "&.pinned-column": {
1047
+ backgroundColor: "#fff"
1048
+ },
1049
+ "&:hover": {
1050
+ backgroundColor: "transparent"
1051
+ // Removes hover effect globally
1052
+ },
1053
+ whiteSpace: "pre-wrap"
1054
+ },
1055
+ onClick: (e) => {
1056
+ var _a, _b, _c, _d;
1057
+ const target = e.target;
1058
+ const tableCell = target.closest(".MuiTableCell-body");
1059
+ const isInsideTable = tableCell && !tableCell.querySelector(".delete-row");
1060
+ if (!isInsideTable) return;
1061
+ const columnDef = column.columnDef;
1062
+ const isOnClickEditable = columnDef.isOnClickEditable !== false;
1063
+ if (!isOnClickEditable) {
1064
+ return;
1065
+ }
1066
+ const editingRowId = ((_b = (_a = table2.getState()) == null ? void 0 : _a.editingRow) == null ? void 0 : _b.id) || ((_d = (_c = table2.getState()) == null ? void 0 : _c.creatingRow) == null ? void 0 : _d.id) || null;
1067
+ const isCurrentlyEditing = editingRowId === row2.id;
1068
+ if (editingRowId && editingRowId !== row2.id) {
1069
+ const currentEditingRow = table2.getState().editingRow;
1070
+ const currentCreatingRow = table2.getState().creatingRow;
1071
+ (async () => {
1072
+ let saveSucceeded = false;
1073
+ if (currentCreatingRow) {
1074
+ const values = getRowValues(currentCreatingRow);
1075
+ const isValid = await validate(values, currentCreatingRow);
1076
+ if (!isValid) return;
1077
+ await handleSaveRow({ row: currentCreatingRow, values, table: table2 }, "create");
1078
+ clearRow("mrt-row-create");
1079
+ saveSucceeded = true;
1080
+ } else if (currentEditingRow) {
1081
+ const values = getRowValues(currentEditingRow);
1082
+ const isValid = await validate(values, currentEditingRow);
1083
+ if (!isValid) return;
1084
+ await handleSaveRow({ row: currentEditingRow, values, table: table2 }, "edit");
1085
+ clearRow(currentEditingRow.id);
1086
+ saveSucceeded = true;
1087
+ }
1088
+ if (saveSucceeded) {
1089
+ table2.setEditingRow(row2);
1090
+ setDisableNextEdit(true);
1091
+ }
1092
+ })();
1093
+ return;
1094
+ }
1095
+ if (!isCurrentlyEditing && !editingRowId) {
1096
+ table2.setEditingRow(row2);
1097
+ setDisableNextEdit(true);
1098
+ }
1099
+ },
1100
+ onKeyUp: (e) => {
1101
+ var _a;
1102
+ const creatingRowId = ((_a = table2.getState().creatingRow) == null ? void 0 : _a.id) ?? null;
1103
+ if (e.key === "Escape") {
1104
+ if (creatingRowId === row2.id) {
1105
+ clearRow("mrt-row-create");
1106
+ table2.setCreatingRow(null);
1107
+ } else {
1108
+ const editingRow = table2.getState().editingRow;
1109
+ if (editingRow) {
1110
+ clearRow(editingRow.id);
1111
+ table2.setEditingRow(null);
1112
+ }
1113
+ }
1114
+ setDisableNextEdit(false);
1115
+ setValidationErrors({});
1116
+ e.preventDefault();
1117
+ e.stopPropagation();
1118
+ return;
1119
+ }
1120
+ if (e.key === "Enter") {
1121
+ setTimeout(() => {
1122
+ const currentCreatingRow = table2.getState().creatingRow;
1123
+ const currentEditingRow = table2.getState().editingRow;
1124
+ if (currentCreatingRow) {
1125
+ saveCreatingRow(table2);
1126
+ }
1127
+ if (currentEditingRow) {
1128
+ saveEditingRow(table2);
1129
+ }
1130
+ }, 0);
1131
+ }
1132
+ }
1133
+ }),
1134
+ // Checkbox styling
1135
+ muiSelectCheckboxProps: {
1136
+ sx: {
1137
+ color: "theme.secondary.300",
1138
+ "&.Mui-checked": {
1139
+ color: "theme.primary.600",
1140
+ "&:hover": {
1141
+ color: "theme.primary.500"
1142
+ }
1143
+ },
1144
+ "&.Mui-disabled": {
1145
+ color: "theme.secondary.200"
1146
+ }
1147
+ },
1148
+ icon: /* @__PURE__ */ jsx(RecgtangleIcon, { sx: { width: 20, height: 20 } }),
1149
+ checkedIcon: /* @__PURE__ */ jsx(CheckBoxIcon, { sx: { width: 20, height: 20 } })
1150
+ },
1151
+ muiSelectAllCheckboxProps: {
1152
+ sx: {
1153
+ color: "theme.secondary.300",
1154
+ "&.Mui-checked": {
1155
+ color: "theme.primary.600",
1156
+ "&:hover": {
1157
+ color: "theme.primary.500"
1158
+ }
1159
+ },
1160
+ "&.Mui-disabled": {
1161
+ color: "theme.secondary.600"
1162
+ }
1163
+ },
1164
+ icon: /* @__PURE__ */ jsx(RecgtangleIcon, { sx: { width: 20, height: 20 } }),
1165
+ checkedIcon: /* @__PURE__ */ jsx(CheckBoxIcon, { sx: { width: 20, height: 20 } })
1166
+ },
1167
+ muiBottomToolbarProps: {
1168
+ sx: {
1169
+ boxShadow: "none",
1170
+ "& .MuiBox-root": {
1171
+ paddingLeft: 0
1172
+ }
1173
+ }
1174
+ },
1175
+ layoutMode: "grid",
1176
+ icons: {
1177
+ DragHandleIcon: () => /* @__PURE__ */ jsx(RecgtangleIcon, { fontSize: "medium" }),
1178
+ SortIcon: () => /* @__PURE__ */ jsx(ArrowUpDown, { fontSize: "medium" }),
1179
+ ArrowDownwardIcon: () => /* @__PURE__ */ jsx(ArrowUpDown, { fontSize: "medium" }),
1180
+ ArrowUpwardIcon: () => /* @__PURE__ */ jsx(ArrowUpDown, { fontSize: "medium" }),
1181
+ ExpandMoreIcon: () => /* @__PURE__ */ jsx(ArrowUpDown, { fontSize: "medium" }),
1182
+ ExpandLessIcon: () => /* @__PURE__ */ jsx(ArrowUpDown, { fontSize: "medium" }),
1183
+ SyncAltIcon: () => /* @__PURE__ */ jsx(ArrowUpDown, { fontSize: "medium" }),
1184
+ CancelIcon: (props) => /* @__PURE__ */ jsx(Close, { fontSize: "small", ...props, color: "theme.secondary.1000" })
1185
+ },
1186
+ ...rest
1187
+ });
1188
+ useEffect(() => {
1189
+ var _a, _b;
1190
+ if (enableRowSelection) {
1191
+ if ((_a = table == null ? void 0 : table.getSelectedRowModel()) == null ? void 0 : _a.rows) {
1192
+ SetSelectedRowId == null ? void 0 : SetSelectedRowId((_b = table == null ? void 0 : table.getSelectedRowModel()) == null ? void 0 : _b.rows);
1193
+ }
1194
+ }
1195
+ }, [enableRowSelection]);
1196
+ useEffect(() => {
1197
+ if (onSelectRow) {
1198
+ if (rest == null ? void 0 : rest.enableExpanding) {
1199
+ const selectedRowModels = [];
1200
+ const selection = table.getState().rowSelection;
1201
+ const traverseRows = (rows2, parentKey = "") => {
1202
+ rows2.forEach((row2, index) => {
1203
+ var _a;
1204
+ const rowKey = parentKey ? `${parentKey}.${index}` : `${row2.id}`;
1205
+ if (selection[rowKey]) {
1206
+ selectedRowModels.push(row2);
1207
+ }
1208
+ if ((_a = row2.subRows) == null ? void 0 : _a.length) {
1209
+ traverseRows(row2.subRows, rowKey);
1210
+ }
1211
+ });
1212
+ };
1213
+ traverseRows(table.getRowModel().rows);
1214
+ onSelectRow(selectedRowModels, rowSelection);
1215
+ } else {
1216
+ onSelectRow(table.getSelectedRowModel().rows, rowSelection);
1217
+ }
1218
+ }
1219
+ }, [rowSelection, table]);
1220
+ useEffect(() => {
1221
+ if (isResetRow) {
1222
+ table == null ? void 0 : table.resetRowSelection();
1223
+ }
1224
+ }, [isResetRow, table]);
1225
+ const hasAutoEditedFirstRow = useRef(false);
1226
+ useEffect(() => {
1227
+ if (enableFirstRowEdit && !hasAutoEditedFirstRow.current && (rows == null ? void 0 : rows.length) > 0) {
1228
+ const tableRows = table.getRowModel().rows;
1229
+ const firstRow = tableRows[0];
1230
+ if (firstRow) {
1231
+ hasAutoEditedFirstRow.current = true;
1232
+ if (!firstRow._valuesCache || Object.keys(firstRow._valuesCache).length === 0) {
1233
+ firstRow._valuesCache = { ...firstRow.original };
1234
+ }
1235
+ table.setEditingRow(firstRow);
1236
+ setDisableNextEdit(true);
1237
+ }
1238
+ }
1239
+ }, [enableFirstRowEdit, rows, table]);
1240
+ const findOpenOverlay = useCallback(() => {
1241
+ const candidates = document.querySelectorAll(
1242
+ ".MuiModal-root, .MuiPopover-root, .MuiAutocomplete-popper, .MuiPickersPopper-root"
1243
+ );
1244
+ for (const el of Array.from(candidates)) {
1245
+ if (el.classList.contains("MuiModal-hidden")) continue;
1246
+ if (el.getAttribute("aria-hidden") === "true") continue;
1247
+ return el;
1248
+ }
1249
+ return null;
1250
+ }, []);
1251
+ const commitInFlightRef = useRef(null);
1252
+ const commitPendingRowNow = useCallback(() => {
1253
+ if (commitInFlightRef.current) return commitInFlightRef.current;
1254
+ const run = async () => {
1255
+ var _a, _b;
1256
+ if (!table) return;
1257
+ if (findOpenOverlay()) return;
1258
+ const currentEditingRow = (_a = table.getState()) == null ? void 0 : _a.editingRow;
1259
+ const currentCreatingRow = (_b = table.getState()) == null ? void 0 : _b.creatingRow;
1260
+ if (currentCreatingRow) {
1261
+ const values = getRowValues(currentCreatingRow);
1262
+ const hasAnyValue = Object.entries(values).some(([k, v]) => {
1263
+ if (k === "id" || k === "mrt-row-actions" || k.startsWith("_")) return false;
1264
+ return v !== null && v !== void 0 && String(v).trim() !== "";
1265
+ });
1266
+ if (!hasAnyValue) {
1267
+ clearRow("mrt-row-create");
1268
+ table.setCreatingRow(null);
1269
+ setDisableNextEdit(false);
1270
+ setValidationErrors({});
1271
+ return;
1272
+ }
1273
+ await handleSaveRow({ row: currentCreatingRow, values, table }, "create");
1274
+ clearRow("mrt-row-create");
1275
+ setDisableNextEdit(false);
1276
+ return;
1277
+ }
1278
+ if (currentEditingRow) {
1279
+ const values = getRowValues(currentEditingRow);
1280
+ await handleSaveRow({ row: currentEditingRow, values, table }, "edit");
1281
+ clearRow(currentEditingRow.id);
1282
+ setDisableNextEdit(false);
1283
+ }
1284
+ };
1285
+ const promise = run().finally(() => {
1286
+ commitInFlightRef.current = null;
1287
+ });
1288
+ commitInFlightRef.current = promise;
1289
+ return promise;
1290
+ }, [table, findOpenOverlay, getRowValues, handleSaveRow, clearRow]);
1291
+ useImperativeHandle(ref, () => ({
1292
+ commitPendingRow: commitPendingRowNow
1293
+ }), [commitPendingRowNow]);
1294
+ useEffect(() => {
1295
+ pendingRowCommitRegistry.add(commitPendingRowNow);
1296
+ return () => {
1297
+ pendingRowCommitRegistry.delete(commitPendingRowNow);
1298
+ };
1299
+ }, [commitPendingRowNow]);
1300
+ useEffect(() => {
1301
+ if (!table) return;
1302
+ let saveTimer;
1303
+ const handleClick = (e) => {
1304
+ var _a, _b;
1305
+ const editingRow = (_a = table.getState()) == null ? void 0 : _a.editingRow;
1306
+ const creatingRow = (_b = table.getState()) == null ? void 0 : _b.creatingRow;
1307
+ if (!editingRow && !creatingRow) return;
1308
+ const target = e.target;
1309
+ if (!target) return;
1310
+ const isInsideTable = tableContainerRef.current ? tableContainerRef.current.contains(target) : Boolean(target.closest(".MRT-TableWrapper"));
1311
+ if (isInsideTable) return;
1312
+ const isDropdownPortal = Boolean(
1313
+ target.closest(
1314
+ '.MuiModal-root, .MuiPopover-root, .MuiAutocomplete-popper, .MuiPickersPopper-root, .MuiMenu-root, .MuiDialog-root, .MuiBackdrop-root, [role="listbox"], [role="dialog"], [role="presentation"]'
1315
+ )
1316
+ );
1317
+ if (isDropdownPortal) return;
1318
+ if (findOpenOverlay()) return;
1319
+ if (saveTimer) {
1320
+ clearTimeout(saveTimer);
1321
+ }
1322
+ saveTimer = setTimeout(() => {
1323
+ commitPendingRowNow();
1324
+ }, 50);
1325
+ };
1326
+ document.addEventListener("click", handleClick, true);
1327
+ return () => {
1328
+ document.removeEventListener("click", handleClick, true);
1329
+ if (saveTimer) {
1330
+ clearTimeout(saveTimer);
1331
+ }
1332
+ };
1333
+ }, [table, findOpenOverlay, commitPendingRowNow]);
1334
+ return /* @__PURE__ */ jsxs(TableWrapper, { ref: tableContainerRef, className: "MRT-TableWrapper custom-table", children: [
1335
+ /* @__PURE__ */ jsx(MaterialReactTable, { table }),
1336
+ /* @__PURE__ */ jsx(
1337
+ Menu,
1338
+ {
1339
+ anchorEl,
1340
+ open: Boolean(anchorEl),
1341
+ onClose: handleHeaderClose,
1342
+ className: "add-role-drp",
1343
+ children: popUpShow ? /* @__PURE__ */ jsxs("div", { children: [
1344
+ /* @__PURE__ */ jsxs(
1345
+ MenuItem,
1346
+ {
1347
+ onClick: handleBackButtonClick,
1348
+ className: "role-drp-list add-column-title",
1349
+ children: [
1350
+ /* @__PURE__ */ jsx(ListItemIcon, { className: "add-icon", children: /* @__PURE__ */ jsx(ChevronLeftIcon, {}) }),
1351
+ /* @__PURE__ */ jsx(ListItemText, { className: "title", children: t("common.addColumn_label") })
1352
+ ]
1353
+ }
1354
+ ),
1355
+ /* @__PURE__ */ jsx(Divider, { flexItem: true, sx: { mt: "0.25rem !important", mb: "0.25rem !important" } }),
1356
+ /* @__PURE__ */ jsx("div", { className: "searchbar-box-list", children: /* @__PURE__ */ jsx(
1357
+ SearchBar,
1358
+ {
1359
+ placeholder: "Search User",
1360
+ handleSearch: (e) => handleSearchEvent(e)
1361
+ }
1362
+ ) }),
1363
+ /* @__PURE__ */ jsx("div", { className: "all-attribute-title", children: /* @__PURE__ */ jsx(Typography, { variant: "body2", color: "text.secondary", children: t("common.allAttributes_label") }) }),
1364
+ filteredOptions.map((column) => /* @__PURE__ */ jsx(
1365
+ MenuItem,
1366
+ {
1367
+ onClick: () => handleAddColumn(column),
1368
+ children: /* @__PURE__ */ jsx(Typography, { color: "theme.secondary.1000", type: "s3", children: column.header })
1369
+ },
1370
+ column.accessorKey
1371
+ )),
1372
+ /* @__PURE__ */ jsx(Divider, { flexItem: true, sx: { mt: "0.25rem !important", mb: "0.25rem !important" } }),
1373
+ enableAddCustomField && /* @__PURE__ */ jsxs(MenuItem, { onClick: handleCustomAddColumn, className: "role-drp-list", children: [
1374
+ /* @__PURE__ */ jsx(ListItemIcon, { className: "add-icon", children: /* @__PURE__ */ jsx("img", { src: images.common.addIcon, alt: "Add Icon" }) }),
1375
+ /* @__PURE__ */ jsx(ListItemText, { className: "title", children: t("common.addCustomField_label") })
1376
+ ] })
1377
+ ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
1378
+ visibleColumns.map((column) => /* @__PURE__ */ jsxs(
1379
+ MenuItem,
1380
+ {
1381
+ onClick: () => handleVisibleColumn(column),
1382
+ className: "role-drp-list",
1383
+ children: [
1384
+ /* @__PURE__ */ jsx(ListItemIcon, { className: "add-icon", children: /* @__PURE__ */ jsx("img", { src: images.common.dotsIcon, alt: "Add Icon" }) }),
1385
+ /* @__PURE__ */ jsx(ListItemText, { className: "title", children: column.header }),
1386
+ /* @__PURE__ */ jsx(ListItemIcon, { className: "eye-icon", children: /* @__PURE__ */ jsx("img", { src: images.common.eyeIcon, alt: "Eye Icon" }) })
1387
+ ]
1388
+ },
1389
+ column.accessorKey
1390
+ )),
1391
+ /* @__PURE__ */ jsx(Divider, { flexItem: true, sx: { mt: "0.25rem !important", mb: "0.25rem !important" } }),
1392
+ /* @__PURE__ */ jsxs(MenuItem, { onClick: handleAddButtonClick, className: "role-drp-list", children: [
1393
+ /* @__PURE__ */ jsx(ListItemIcon, { className: "add-icon", children: /* @__PURE__ */ jsx("img", { src: images.common.addIcon, alt: "Add Icon" }) }),
1394
+ /* @__PURE__ */ jsx(ListItemText, { className: "title", children: t("common.addColumn_label") }),
1395
+ /* @__PURE__ */ jsx(
1396
+ Typography,
1397
+ {
1398
+ variant: "body2",
1399
+ color: "text.secondary",
1400
+ className: "eye-icon",
1401
+ children: /* @__PURE__ */ jsx(ChevronRightIcon, { sx: { fontSize: "1.25rem !important" } })
1402
+ }
1403
+ )
1404
+ ] })
1405
+ ] })
1406
+ }
1407
+ ),
1408
+ /* @__PURE__ */ jsxs(
1409
+ Menu,
1410
+ {
1411
+ anchorEl: rowAnchorEl,
1412
+ open: Boolean(rowAnchorEl),
1413
+ onClose: handleActionsClose,
1414
+ children: [
1415
+ rowActionMenu == null ? void 0 : rowActionMenu.map((option) => {
1416
+ var _a, _b;
1417
+ if (option.label === "Move" && ((row == null ? void 0 : row.is_directory) === true || (row == null ? void 0 : row.is_directory) === 1) || option.label === "Download" && ((row == null ? void 0 : row.is_directory) === true || (row == null ? void 0 : row.is_directory) === 1 || ((_a = row == null ? void 0 : row.drive) == null ? void 0 : _a.is_directory) === true || ((_b = row == null ? void 0 : row.drive) == null ? void 0 : _b.is_directory) === 1)) ;
1418
+ return /* @__PURE__ */ jsxs(
1419
+ MenuItem,
1420
+ {
1421
+ onClick: async () => {
1422
+ await option.handleAction(row);
1423
+ setRowAnchorEl(null);
1424
+ },
1425
+ disabled: typeof option.disabled === "function" ? option.disabled(row) : Boolean(option.disabled),
1426
+ sx: { alignItems: "center", gap: 0.5 },
1427
+ children: [
1428
+ option == null ? void 0 : option.icon,
1429
+ /* @__PURE__ */ jsx(Typography, { type: "s4", color: "inherit", children: typeof option.label === "function" ? option.label(row) : option.label })
1430
+ ]
1431
+ }
1432
+ );
1433
+ }),
1434
+ (destructiveActionMenu == null ? void 0 : destructiveActionMenu.length) > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
1435
+ /* @__PURE__ */ jsx(Divider, { flexItem: true, sx: { mt: "0.25rem !important", mb: "0.25rem !important" } }),
1436
+ /* @__PURE__ */ jsx("div", { className: "dropdown-inner--DestructiveHeader", children: destructiveActionMenu == null ? void 0 : destructiveActionMenu.map((option) => /* @__PURE__ */ jsx(
1437
+ MenuItem,
1438
+ {
1439
+ onClick: () => {
1440
+ option.handleAction(row);
1441
+ setRowAnchorEl(null);
1442
+ },
1443
+ className: "dropdown-inner--DestructiveActions",
1444
+ disabled: typeof option.disabled === "function" ? option.disabled(row) : Boolean(option.disabled),
1445
+ children: /* @__PURE__ */ jsx(Typography, { type: "s4", color: "inherit", children: typeof option.label === "function" ? option.label(row) : option.label })
1446
+ }
1447
+ )) })
1448
+ ] })
1449
+ ]
1450
+ }
1451
+ ),
1452
+ /* @__PURE__ */ jsx(
1453
+ ConfirmPopUp,
1454
+ {
1455
+ open: Boolean(rowToDelete),
1456
+ onClose: () => setRowToDelete(null),
1457
+ onConfirm: () => handleRowDelete(),
1458
+ title: "Delete Item",
1459
+ description: `Are you sure you want to delete entry ?`,
1460
+ loading: isDeletingRow
1461
+ }
1462
+ )
1463
+ ] });
1464
+ }));
1465
+ export {
1466
+ MaterialEditableTable as M,
1467
+ commitAllPendingTableRows as c
1468
+ };
1469
+ //# sourceMappingURL=material-editable-table-CUi1XChG.esm.js.map