@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,1485 @@
1
+ "use strict";
2
+ const jsxRuntime = require("react/jsx-runtime");
3
+ const React = require("react");
4
+ const materialReactTable = require("material-react-table");
5
+ const material = require("@mui/material");
6
+ const ChevronRightIcon = require("@mui/icons-material/ChevronRight");
7
+ const ChevronLeftIcon = require("@mui/icons-material/ChevronLeft");
8
+ const menu = require("./menu-CbpcDA_h.js");
9
+ const typography = require("./typography-Bqfr1Ksf.js");
10
+ const searchBar = require("./search-bar-CKXyIa-m.js");
11
+ const images = require("../images/index.js");
12
+ const arrowUpDown = require("./arrow-up-down-CbZcKidJ.js");
13
+ const checkBox = require("./check-box-CtEOAIEc.js");
14
+ const close = require("./close-D42p_6ss.js");
15
+ const rectangle = require("./rectangle-CdqtKF3L.js");
16
+ const trash = require("./trash-DWY4lso3.js");
17
+ const inlineEditFields = require("./inline-edit-fields-DeS-sx9_.js");
18
+ const Tooltip = require("./Tooltip-2SPKKR77.js");
19
+ const button = require("./button-CYiSRppg.js");
20
+ const AddIcon = require("@mui/icons-material/Add");
21
+ const dayjs = require("dayjs");
22
+ const Yup = require("yup");
23
+ const confirmModal = require("./confirm-modal-BpCtXddt.js");
24
+ const reactI18next = require("react-i18next");
25
+ const notistack = require("notistack");
26
+ const api = require("./api-DwmixHAO.js");
27
+ const runtime = require("@erpsquad/common/runtime");
28
+ const reactRouterDom = require("react-router-dom");
29
+ const pathname_document = require("./pathname.document-B76X5mLc.js");
30
+ const pathname_rental = require("./pathname.rental-BTnLlNIv.js");
31
+ const pathname_hrms = require("./pathname.hrms-DQx7TP1h.js");
32
+ const useDeepMemo = require("./use-deep-memo-7bIH1dxU.js");
33
+ function _interopNamespaceDefault(e) {
34
+ const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
35
+ if (e) {
36
+ for (const k in e) {
37
+ if (k !== "default") {
38
+ const d = Object.getOwnPropertyDescriptor(e, k);
39
+ Object.defineProperty(n, k, d.get ? d : {
40
+ enumerable: true,
41
+ get: () => e[k]
42
+ });
43
+ }
44
+ }
45
+ }
46
+ n.default = e;
47
+ return Object.freeze(n);
48
+ }
49
+ const Yup__namespace = /* @__PURE__ */ _interopNamespaceDefault(Yup);
50
+ const TableWrapper = material.styled(material.Box)(({ theme: { palette } }) => {
51
+ var _a, _b, _c, _d;
52
+ return {
53
+ ".MuiTableCell-root": {
54
+ border: "1px solid #efefef",
55
+ borderBottom: 0,
56
+ borderLeft: 0,
57
+ padding: "0 0.5rem",
58
+ lineHeight: "19px",
59
+ fontSize: "14px",
60
+ minHeight: 32
61
+ // '&:first-child': {
62
+ // borderLeft: '1px solid #efefef'
63
+ // },
64
+ // '&:last-child': {
65
+ // borderBottom: '1px solid #efefef'
66
+ // }
67
+ },
68
+ ".MuiTableCell-head": {
69
+ backgroundColor: (_a = palette.theme) == null ? void 0 : _a.secondary[100]
70
+ },
71
+ ".MuiTableContainer-root": {
72
+ maxHeight: "clamp(350px, 100vh - 200px, 9999px) !important"
73
+ },
74
+ ".MuiPaper-root": {
75
+ boxShadow: "none"
76
+ },
77
+ ".MuiPaginationItem-root": {
78
+ "&.Mui-selected": {
79
+ backgroundColor: (_b = palette == null ? void 0 : palette.theme) == null ? void 0 : _b.primary[700],
80
+ color: "white"
81
+ }
82
+ },
83
+ ".MuiTableRow-root": {
84
+ "&.Mui-selected": {
85
+ backgroundColor: `${(_c = palette == null ? void 0 : palette.theme) == null ? void 0 : _c.primary[100]} !important`,
86
+ color: "white"
87
+ }
88
+ },
89
+ ".MuiCheckbox-indeterminate": {
90
+ color: `${(_d = palette == null ? void 0 : palette.theme) == null ? void 0 : _d.primary[700]} !important`,
91
+ "& svg": {
92
+ height: `20px !important`,
93
+ width: `20px !important`
94
+ }
95
+ }
96
+ };
97
+ });
98
+ const pendingRowCommitRegistry = /* @__PURE__ */ new Set();
99
+ const commitAllPendingTableRows = async () => {
100
+ await Promise.all(Array.from(pendingRowCommitRegistry).map((commit) => commit()));
101
+ };
102
+ const MaterialEditableTable = React.memo(React.forwardRef(({
103
+ enablePagination = false,
104
+ rows,
105
+ columns,
106
+ totalPages,
107
+ paginationModel,
108
+ columnOrder,
109
+ updateData,
110
+ handleColumnOrdering,
111
+ enableEditing,
112
+ enableColumnDragging,
113
+ states,
114
+ rowActionMenu,
115
+ destructiveActionMenu,
116
+ disableDefaultActionColumn,
117
+ enableRowSelection,
118
+ defaultActionColumnItems = [],
119
+ enableBottomToolbar,
120
+ SetSelectedRowId,
121
+ isResetRow,
122
+ onCreateRow,
123
+ onEditRow,
124
+ onDeleteRow,
125
+ editDisplayMode,
126
+ enableRowCreate,
127
+ onChangeRowField,
128
+ onSelectRow,
129
+ enableColumnResizing = true,
130
+ selectedRowIds = [],
131
+ onColumnVisibility,
132
+ onSortingChange,
133
+ getSelectedData,
134
+ disabledDefaultActionColumnIcon = false,
135
+ enableAddCustomField = true,
136
+ enableRowDragging = false,
137
+ handleColumnResizing = () => {
138
+ },
139
+ columnSizes = {},
140
+ hideSaveButton = false,
141
+ hideDeleteButton,
142
+ enableFirstRowEdit = false,
143
+ // eslint-disable-next-line unused-imports/no-unused-vars, @typescript-eslint/no-unused-vars
144
+ // getRowId,
145
+ // onDelete,
146
+ // onUpdate,
147
+ ...rest
148
+ }, ref) => {
149
+ const { t } = reactI18next.useTranslation();
150
+ const { enqueueSnackbar } = notistack.useSnackbar();
151
+ const { formData = null, updatePageInfo, activePage: aPage } = runtime.usePages();
152
+ const activePage = useDeepMemo.useDeepMemo(aPage);
153
+ const { pageNo } = paginationModel;
154
+ const [row, setRow] = React.useState({});
155
+ const [tableColumns, setTableColumns] = React.useState(columns);
156
+ const [anchorEl, setAnchorEl] = React.useState(null);
157
+ const [popUpShow, setPopupShow] = React.useState(false);
158
+ const [rowAnchorEl, setRowAnchorEl] = React.useState(null);
159
+ const visibleColumns = tableColumns.filter((column) => column.visible);
160
+ const hiddenColumns = tableColumns.filter((column) => !column.visible);
161
+ const [filteredOptions, setFilteredOptions] = React.useState(hiddenColumns);
162
+ const [selectedRow, setSelectedRow] = React.useState(null);
163
+ const [validationErrors, setValidationErrors] = React.useState({});
164
+ const [validationSchema, setValidationSchema] = React.useState([]);
165
+ const [isCreatingRow, setIsCreatingRow] = React.useState(false);
166
+ const [isEditingRow, setIsEditingRow] = React.useState(false);
167
+ const [isDeletingRow, setIsDeletingRow] = React.useState(false);
168
+ const [rowToDelete, setRowToDelete] = React.useState(null);
169
+ const [rowSelection, setRowSelection] = React.useState({});
170
+ const [isChecked, setIsChecked] = React.useState(false);
171
+ const [sorting, setSorting] = React.useState([]);
172
+ const [disableNextEdit, setDisableNextEdit] = React.useState(false);
173
+ const [columnSizing, setColumnSizing] = React.useState(activePage.column_sizes);
174
+ const [columnSizingInfo, setColumnSizingInfo] = React.useState({
175
+ columnSizingStart: [],
176
+ deltaOffset: null,
177
+ deltaPercentage: null,
178
+ isResizingColumn: false,
179
+ startOffset: null,
180
+ startSize: null
181
+ });
182
+ const [clickStartTime, setClickStartTime] = React.useState(0);
183
+ const navigate = reactRouterDom.useNavigate();
184
+ const currentModule = location.pathname.split("/")[2];
185
+ let redirectionPath = "";
186
+ switch (currentModule) {
187
+ case "accounting":
188
+ redirectionPath = pathname_rental.PathnameAccounting.CUSTOM_FORM;
189
+ break;
190
+ case "inventory":
191
+ redirectionPath = pathname_rental.PathnameInventory.CUSTOM_FORM;
192
+ break;
193
+ case "manufacturing":
194
+ redirectionPath = pathname_rental.PathnameManufacturing.CUSTOM_FORM;
195
+ break;
196
+ case "procurement":
197
+ redirectionPath = pathname_rental.PathnamePurchase.CUSTOM_FORM;
198
+ break;
199
+ case "crm":
200
+ redirectionPath = pathname_rental.PathnameCrm.CUSTOM_FORM;
201
+ break;
202
+ case "user":
203
+ redirectionPath = pathname_hrms.PathnameUsers.CUSTOM_FORM;
204
+ break;
205
+ case "rental":
206
+ redirectionPath = pathname_rental.PathnameRental.CUSTOM_FORM;
207
+ break;
208
+ case "drive":
209
+ redirectionPath = pathname_document.PathnameDocument.ADD_CUSTOM_FIELDS;
210
+ break;
211
+ }
212
+ const path = `/dashboard/${currentModule}${redirectionPath}`;
213
+ const getValidationType = (column) => {
214
+ var _a;
215
+ switch (column.editVariant) {
216
+ case "select":
217
+ return ((_a = column == null ? void 0 : column.editProperties) == null ? void 0 : _a.is_multiple) ? Yup__namespace.array() : Yup__namespace.string();
218
+ case "number":
219
+ return Yup__namespace.number().nullable().transform((value, originalValue) => originalValue === "" ? null : value);
220
+ case "url":
221
+ return Yup__namespace.string().matches(
222
+ /^(https?:\/\/)?((([a-zA-Z0-9_-]+\.)+[a-zA-Z]{2,})|localhost)(:\d{2,5})?(\/[a-zA-Z0-9#_-]+\/?)*(\?[a-zA-Z0-9&=_-]+)?(#\S+)?$/,
223
+ { excludeEmptyString: true, message: "Please enter valid URL." }
224
+ );
225
+ case "date":
226
+ case "date_time":
227
+ case "time":
228
+ return Yup__namespace.date().nullable().transform((value, originalValue) => {
229
+ if (originalValue === "" || originalValue === null || originalValue === void 0) {
230
+ return null;
231
+ }
232
+ if (originalValue && typeof originalValue === "object" && "toDate" in originalValue) {
233
+ return originalValue.toDate();
234
+ }
235
+ return value;
236
+ }).typeError("Valid date is required");
237
+ case "file":
238
+ case "image":
239
+ return Yup__namespace.mixed().nullable();
240
+ default:
241
+ return Yup__namespace.string();
242
+ }
243
+ };
244
+ const validationReducer = (schema, validation, column) => {
245
+ var _a;
246
+ let vld = schema;
247
+ switch (validation.type) {
248
+ case "required":
249
+ if (validation.value) {
250
+ vld = vld.required(validation.msg_en).typeError(validation.msg_en);
251
+ if (!(column == null ? void 0 : column.editVariant) || (column == null ? void 0 : column.editVariant) === "text") {
252
+ vld = vld.test(
253
+ "no-blank-spaces",
254
+ "Blank space is not allowed",
255
+ (value) => typeof value === "string" ? value.trim().length > 0 : true
256
+ );
257
+ }
258
+ } else if ((_a = column == null ? void 0 : column.editProperties) == null ? void 0 : _a.is_multiple) {
259
+ vld = vld.min(1, validation.msg_en);
260
+ }
261
+ break;
262
+ case "notRequired":
263
+ vld = vld.notRequired();
264
+ break;
265
+ case "nullable":
266
+ vld = vld.nullable(validation.value ?? true);
267
+ break;
268
+ case "defined":
269
+ vld = vld.defined(validation.msg_en);
270
+ break;
271
+ case "optional":
272
+ vld = vld.optional();
273
+ break;
274
+ case "strict":
275
+ vld = vld.strict(validation.value ?? true);
276
+ break;
277
+ case "typeError":
278
+ vld = vld.typeError(validation.msg_en);
279
+ break;
280
+ case "oneOf":
281
+ vld = vld.oneOf(validation.values, validation.msg_en);
282
+ break;
283
+ case "notOneOf":
284
+ vld = vld.notOneOf(validation.values, validation.msg_en);
285
+ break;
286
+ case "default":
287
+ vld = vld.default(validation.value);
288
+ break;
289
+ case "transform":
290
+ vld = vld.transform(validation.fn);
291
+ break;
292
+ case "label":
293
+ vld = vld.label(validation.value);
294
+ break;
295
+ case "meta":
296
+ vld = vld.meta(validation.value);
297
+ break;
298
+ case "trim":
299
+ vld = vld.trim();
300
+ break;
301
+ case "lowercase":
302
+ vld = vld.lowercase();
303
+ break;
304
+ case "uppercase":
305
+ vld = vld.uppercase();
306
+ break;
307
+ case "email":
308
+ vld = vld.email(validation.msg_en);
309
+ break;
310
+ case "url":
311
+ vld = vld.url(validation.msg_en);
312
+ break;
313
+ case "uuid":
314
+ vld = vld.uuid(validation.msg_en);
315
+ break;
316
+ case "length":
317
+ vld = vld.length(validation.value, validation.msg_en);
318
+ break;
319
+ case "min":
320
+ vld = vld.min(validation.value, validation.msg_en);
321
+ break;
322
+ case "max":
323
+ vld = vld.max(validation.value, validation.msg_en);
324
+ break;
325
+ case "matches":
326
+ vld = vld.matches(validation.regex, validation.msg_en);
327
+ break;
328
+ case "startsWith":
329
+ vld = vld.matches(
330
+ new RegExp(`^${validation.value}`),
331
+ validation.msg_en
332
+ );
333
+ break;
334
+ case "endsWith":
335
+ vld = vld.matches(
336
+ new RegExp(`${validation.value}$`),
337
+ validation.msg_en
338
+ );
339
+ break;
340
+ case "lessThan":
341
+ vld = vld.lessThan(validation.value, validation.msg_en);
342
+ break;
343
+ case "moreThan":
344
+ vld = vld.moreThan(validation.value, validation.msg_en);
345
+ break;
346
+ case "positive":
347
+ vld = vld.positive(validation.msg_en);
348
+ break;
349
+ case "negative":
350
+ vld = vld.negative(validation.msg_en);
351
+ break;
352
+ case "integer":
353
+ vld = vld.integer(validation.msg_en);
354
+ break;
355
+ case "round":
356
+ vld = vld.round(validation.method || "round");
357
+ break;
358
+ case "truncate":
359
+ vld = vld.truncate();
360
+ break;
361
+ case "minItems":
362
+ vld = vld.min(validation.value, validation.msg_en);
363
+ break;
364
+ case "maxItems":
365
+ vld = vld.max(validation.value, validation.msg_en);
366
+ break;
367
+ case "ensure":
368
+ vld = vld.ensure();
369
+ break;
370
+ case "compact":
371
+ vld = vld.compact(validation.rejector);
372
+ break;
373
+ case "of":
374
+ vld = vld.of(validation.schema);
375
+ break;
376
+ case "minDate":
377
+ vld = vld.min(validation.value, validation.msg_en);
378
+ break;
379
+ case "maxDate":
380
+ vld = vld.max(validation.value, validation.msg_en);
381
+ break;
382
+ case "shape":
383
+ vld = vld.shape(validation.fields);
384
+ break;
385
+ case "noUnknown":
386
+ vld = vld.noUnknown(validation.value ?? true, validation.msg_en);
387
+ break;
388
+ case "test":
389
+ vld = vld.test(
390
+ validation.name || "custom-test",
391
+ validation.msg_en,
392
+ validation.testFn
393
+ );
394
+ break;
395
+ case "validate":
396
+ if (typeof validation.callback === "function") {
397
+ vld = vld.test(
398
+ validation.name || "custom-validate",
399
+ validation.msg_en || "Validation failed",
400
+ function(value) {
401
+ var _a2;
402
+ const rowObj = ((_a2 = this.options.context) == null ? void 0 : _a2.row) || {
403
+ original: this.parent,
404
+ origin: this.parent,
405
+ _valuesCache: this.parent
406
+ };
407
+ return validation.callback(value, this.parent, rowObj);
408
+ }
409
+ );
410
+ }
411
+ break;
412
+ case "when":
413
+ return vld.when(validation.relation, {
414
+ is: (val) => typeof validation.is === "function" ? validation.is(val) : Array.isArray(validation.values) ? validation.values.includes(val) : val === validation.values,
415
+ then: (s) => {
416
+ var _a2;
417
+ return ((_a2 = validation == null ? void 0 : validation.thenValidations) == null ? void 0 : _a2.reduce(
418
+ (acc, v) => validationReducer(acc, v, column),
419
+ s
420
+ )) || s;
421
+ },
422
+ otherwise: (s) => {
423
+ var _a2;
424
+ return ((_a2 = validation == null ? void 0 : validation.otherWiseValidations) == null ? void 0 : _a2.reduce(
425
+ (acc, v) => validationReducer(acc, v, column),
426
+ s
427
+ )) || s;
428
+ }
429
+ });
430
+ }
431
+ return vld;
432
+ };
433
+ const generateValidationSchema = (columns2) => {
434
+ return columns2.reduce((acc, clm) => {
435
+ var _a;
436
+ const validations = (_a = clm == null ? void 0 : clm.editProperties) == null ? void 0 : _a.validations;
437
+ if (!(validations == null ? void 0 : validations.length)) return acc;
438
+ const baseSchema = getValidationType(clm);
439
+ acc[clm.accessorKey] = validations.reduce(
440
+ (schema, validation) => validationReducer(schema, validation, clm),
441
+ baseSchema
442
+ );
443
+ return acc;
444
+ }, {});
445
+ };
446
+ React.useEffect(() => {
447
+ setTableColumns(columns);
448
+ const schema = generateValidationSchema(columns);
449
+ setValidationSchema(Yup__namespace.object().shape(schema));
450
+ }, [columns]);
451
+ React.useEffect(() => {
452
+ if (!(columnSizingInfo == null ? void 0 : columnSizingInfo.isResizingColumn)) {
453
+ updatePageInfo({ column_sizes: { ...activePage.column_sizes, ...columnSizing } });
454
+ handleColumnResizing == null ? void 0 : handleColumnResizing(columnSizing);
455
+ }
456
+ }, [columnSizingInfo == null ? void 0 : columnSizingInfo.isResizingColumn, columnSizing]);
457
+ const handleHeaderClick = (event) => {
458
+ setAnchorEl(event.currentTarget);
459
+ };
460
+ const handleHeaderClose = () => {
461
+ setAnchorEl(null);
462
+ };
463
+ const handleVisibleColumn = (column) => {
464
+ const updatedColumns = tableColumns.map((col) => ({
465
+ ...col,
466
+ visible: col.accessorKey === column.accessorKey ? false : col.visible
467
+ }));
468
+ setTableColumns(updatedColumns);
469
+ onColumnVisibility == null ? void 0 : onColumnVisibility(JSON.parse(JSON.stringify(updatedColumns)));
470
+ setFilteredOptions([...filteredOptions, column]);
471
+ setAnchorEl(null);
472
+ };
473
+ const handleAddButtonClick = () => {
474
+ setPopupShow(true);
475
+ };
476
+ const handleBackButtonClick = () => {
477
+ setPopupShow(false);
478
+ };
479
+ const handleAddColumn = (column) => {
480
+ const updatedColumns = tableColumns.map((col) => ({
481
+ ...col,
482
+ visible: col.accessorKey === column.accessorKey ? true : col.visible
483
+ }));
484
+ onColumnVisibility == null ? void 0 : onColumnVisibility(JSON.parse(JSON.stringify(updatedColumns)));
485
+ setTableColumns(updatedColumns);
486
+ const updatedFilteredOptions = filteredOptions.filter(
487
+ (option) => option.accessorKey !== column.accessorKey
488
+ );
489
+ setFilteredOptions(updatedFilteredOptions);
490
+ setAnchorEl(null);
491
+ setPopupShow(false);
492
+ };
493
+ const handleSearchEvent = (searchQuery) => {
494
+ const filteredColumns = hiddenColumns.filter(
495
+ (option) => option.header.toLowerCase().includes(searchQuery.toLowerCase())
496
+ );
497
+ setFilteredOptions(filteredColumns);
498
+ };
499
+ const handleCustomAddColumn = () => {
500
+ navigate(path, { state: formData });
501
+ setAnchorEl(null);
502
+ setPopupShow(false);
503
+ };
504
+ const handleActionsClick = (event, data) => {
505
+ setRow(data);
506
+ setRowAnchorEl(event.currentTarget);
507
+ };
508
+ const handleActionsClose = () => {
509
+ setRowAnchorEl(null);
510
+ };
511
+ const formtValues = React.useCallback((values, cells) => {
512
+ const v = {};
513
+ if (values == null ? void 0 : values["mrt-row-actions"]) {
514
+ delete values["mrt-row-actions"];
515
+ }
516
+ Object.keys(values).forEach((vl) => {
517
+ const val = values[vl];
518
+ const cell = cells.find((c) => c.accessorKey == vl);
519
+ if (val) {
520
+ if (val instanceof File) {
521
+ v[vl] = val.name;
522
+ } else if (cell && (cell == null ? void 0 : cell.editVariant) == "date") {
523
+ v[vl] = dayjs(val).format((cell == null ? void 0 : cell.dateFormat) || "DD-MM-YYYY");
524
+ } else if (cell && (cell == null ? void 0 : cell.editVariant) == "time") {
525
+ v[vl] = dayjs.isDayjs(val) ? val.format("HH:mm") : val;
526
+ } else if (cell && (cell == null ? void 0 : cell.editVariant) == "select" && typeof val === "object" && val !== null) {
527
+ v[vl] = val.name || val.label || val.display_name || val.title || val.value || val.id || val;
528
+ } else if (cell && (cell == null ? void 0 : cell.editVariant) == "select" && typeof val === "string") {
529
+ v[vl] = val;
530
+ } else {
531
+ v[vl] = val;
532
+ }
533
+ } else {
534
+ v[vl] = val;
535
+ }
536
+ });
537
+ return v;
538
+ }, []);
539
+ const handleRowDelete = async () => {
540
+ setIsDeletingRow(true);
541
+ if (rowToDelete) {
542
+ await (onDeleteRow == null ? void 0 : onDeleteRow(rowToDelete));
543
+ setRowToDelete(null);
544
+ }
545
+ setIsDeletingRow(false);
546
+ };
547
+ const checkRequired = React.useCallback((editProperties) => {
548
+ var _a;
549
+ return (_a = editProperties == null ? void 0 : editProperties.validations) == null ? void 0 : _a.some((validation) => validation.type === "required");
550
+ }, []);
551
+ React.useEffect(() => {
552
+ const selectedRows = {};
553
+ if (!isChecked && selectedRowIds.length) {
554
+ rows.forEach((row2) => {
555
+ if (selectedRowIds.includes(row2.id)) {
556
+ selectedRows[row2.id] = true;
557
+ }
558
+ });
559
+ setRowSelection(selectedRows);
560
+ setIsChecked(true);
561
+ }
562
+ }, [rows, selectedRowIds]);
563
+ React.useEffect(() => {
564
+ if (onSortingChange instanceof Function) {
565
+ const sortingArray = Array.isArray(sorting) ? sorting : [];
566
+ onSortingChange(sortingArray[0] || null);
567
+ }
568
+ }, [sorting]);
569
+ const resetRowSelection = () => {
570
+ setRowSelection({});
571
+ setDisableNextEdit(false);
572
+ };
573
+ const getTextWidth = (text) => {
574
+ const canvas = document.createElement("canvas");
575
+ const ctx = canvas.getContext("2d");
576
+ if (!ctx) return 50;
577
+ return ctx.measureText(text).width + 5;
578
+ };
579
+ const handleSaveRow = React.useCallback(
580
+ async ({ row: row2, values, table: table2 }, mode) => {
581
+ const isEditMode = mode === "edit";
582
+ const setLoadingState = isEditMode ? setIsEditingRow : setIsCreatingRow;
583
+ const rowId = row2.id;
584
+ try {
585
+ await validationSchema.validate(values, { abortEarly: false, context: { row: row2 } });
586
+ setValidationErrors((prev) => {
587
+ const next = { ...prev };
588
+ delete next[rowId];
589
+ return next;
590
+ });
591
+ setLoadingState(true);
592
+ setDisableNextEdit(false);
593
+ const cells = row2.getAllCells().map((c) => c.column.columnDef);
594
+ row2._valuesCache = formtValues(values, cells);
595
+ const data = { row: row2, values, table: table2 };
596
+ if (isEditMode) {
597
+ await (onEditRow == null ? void 0 : onEditRow(data, "edit"));
598
+ table2.setEditingRow(null);
599
+ } else {
600
+ await (onCreateRow == null ? void 0 : onCreateRow(data));
601
+ table2.setCreatingRow(null);
602
+ }
603
+ } catch (err) {
604
+ if (err instanceof Yup__namespace.ValidationError) {
605
+ const fieldErrors = err.inner.reduce((acc, { path: path2, message }) => {
606
+ if (path2) acc[path2] = message;
607
+ return acc;
608
+ }, {});
609
+ setValidationErrors((prev) => ({ ...prev, [rowId]: fieldErrors }));
610
+ } else {
611
+ enqueueSnackbar(
612
+ api.getErrorMessage(err instanceof Error ? err.message : "Something went wrong"),
613
+ { variant: "error" }
614
+ );
615
+ }
616
+ } finally {
617
+ setLoadingState(false);
618
+ }
619
+ },
620
+ [validationSchema, onEditRow, onCreateRow, formtValues]
621
+ );
622
+ const validate = React.useCallback(async (values, row2) => {
623
+ try {
624
+ await validationSchema.validate(values, { abortEarly: false, context: { row: row2 } });
625
+ setValidationErrors({});
626
+ return true;
627
+ } catch (err) {
628
+ return false;
629
+ }
630
+ }, [validationSchema]);
631
+ React.useCallback(
632
+ async (columnId, value, rowId, rowValues) => {
633
+ if (!validationSchema || typeof validationSchema.validateAt !== "function" || !validationSchema.fields || !validationSchema.fields[columnId]) return;
634
+ try {
635
+ await validationSchema.validateAt(
636
+ columnId,
637
+ {
638
+ ...rowValues,
639
+ [columnId]: value
640
+ },
641
+ {
642
+ abortEarly: false
643
+ }
644
+ );
645
+ setValidationErrors((prev) => {
646
+ const next = { ...prev };
647
+ if (next[rowId]) {
648
+ const rowErrs = { ...next[rowId] };
649
+ delete rowErrs[columnId];
650
+ next[rowId] = rowErrs;
651
+ }
652
+ return next;
653
+ });
654
+ } catch (err) {
655
+ if (err instanceof Yup__namespace.ValidationError) {
656
+ const fieldErrors = err.inner.reduce((acc, { path: path2, message }) => {
657
+ if (path2) acc[path2] = message;
658
+ return acc;
659
+ }, {});
660
+ setValidationErrors((prev) => ({
661
+ ...prev,
662
+ [rowId]: {
663
+ ...prev[rowId] ?? {},
664
+ ...fieldErrors
665
+ }
666
+ }));
667
+ }
668
+ }
669
+ },
670
+ [validationSchema]
671
+ );
672
+ const valuesRef = React.useRef({});
673
+ const tableContainerRef = React.useRef(null);
674
+ const syncFieldValue = React.useCallback(
675
+ (rowId, columnId, value) => {
676
+ valuesRef.current[rowId] = {
677
+ ...valuesRef.current[rowId] ?? {},
678
+ [columnId]: value
679
+ };
680
+ },
681
+ []
682
+ );
683
+ const clearRow = React.useCallback((rowId) => {
684
+ delete valuesRef.current[rowId];
685
+ }, []);
686
+ const getRowValues = React.useCallback(
687
+ (row2) => ({
688
+ // 1. original row data — baseline
689
+ ...row2.original,
690
+ // 2. MRT's internal cache — contains what MRT-controlled fields wrote
691
+ ...row2._valuesCache,
692
+ // 3. Our own cache — authoritative for custom fields
693
+ ...valuesRef.current[row2.id] ?? {}
694
+ }),
695
+ []
696
+ );
697
+ const saveEditingRow = React.useCallback(
698
+ async (table2) => {
699
+ const editingRow = table2.getState().editingRow;
700
+ const creatingRow = table2.getState().creatingRow;
701
+ if (!editingRow) return;
702
+ const values = getRowValues(editingRow);
703
+ const isValid = await validate(values, editingRow);
704
+ if (!isValid) {
705
+ await handleSaveRow({ row: editingRow, values, table: table2 }, "edit");
706
+ return;
707
+ }
708
+ await handleSaveRow({ row: editingRow, values, table: table2 }, "edit");
709
+ clearRow(editingRow.id);
710
+ if (!creatingRow && enableRowCreate) {
711
+ setDisableNextEdit(false);
712
+ setTimeout(() => table2.setCreatingRow(true), 200);
713
+ } else {
714
+ setDisableNextEdit(false);
715
+ }
716
+ },
717
+ [getRowValues, handleSaveRow, clearRow, validate, enableRowCreate]
718
+ );
719
+ const saveCreatingRow = React.useCallback(
720
+ async (table2) => {
721
+ const creatingRow = table2.getState().creatingRow;
722
+ if (!creatingRow) return;
723
+ const values = getRowValues(creatingRow);
724
+ if (values == null ? void 0 : values["mrt-row-actions"]) {
725
+ delete values["mrt-row-actions"];
726
+ }
727
+ const isValid = await validate(values, creatingRow);
728
+ await handleSaveRow({ row: creatingRow, values, table: table2 }, "create");
729
+ if (!isValid) return;
730
+ if (isValid) {
731
+ setDisableNextEdit(false);
732
+ clearRow("mrt-row-create");
733
+ setTimeout(() => table2.setCreatingRow(true), 200);
734
+ }
735
+ },
736
+ [getRowValues, clearRow, validate]
737
+ );
738
+ const table = materialReactTable.useMaterialReactTable({
739
+ // options:{
740
+ // tableLayout: "auto", // 👈 important
741
+ // padding: "dense",
742
+ // },
743
+ // columns: visibleColumns,
744
+ defaultColumn: {
745
+ minSize: 0,
746
+ // 👈 remove default min width
747
+ size: void 0
748
+ // 👈 optional, default size
749
+ },
750
+ columns: [
751
+ ...visibleColumns.map((c) => {
752
+ getTextWidth(c.header || "");
753
+ Math.max(
754
+ ...rows.map((row2) => getTextWidth(String(row2[c.accessorKey] ?? "")))
755
+ );
756
+ return {
757
+ ...c,
758
+ ...editDisplayMode === "row" ? {
759
+ Edit: ({ cell, row: row2, table: table2, column }) => {
760
+ return /* @__PURE__ */ jsxRuntime.jsx(
761
+ inlineEditFields.InlineEditFields,
762
+ {
763
+ cell,
764
+ column,
765
+ col: c,
766
+ row: row2,
767
+ table: table2,
768
+ callback: (s) => console.log("Save", s),
769
+ errors: validationErrors[row2.id] ?? {},
770
+ validationSchema,
771
+ setValidationErrors: (errors) => setValidationErrors((prev) => ({ ...prev, [row2.id]: errors })),
772
+ onChangeRowField,
773
+ getSelectedData: (name, row3) => getSelectedData == null ? void 0 : getSelectedData(name, row3),
774
+ syncFieldValue
775
+ }
776
+ );
777
+ }
778
+ } : {},
779
+ Header: /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { display: "flex", alignItems: "center", children: [
780
+ c.header,
781
+ (c == null ? void 0 : c.required) || checkRequired(c == null ? void 0 : c.editProperties) && /* @__PURE__ */ jsxRuntime.jsx(typography.Typography, { type: "s5", color: "theme.error.600", children: "*" })
782
+ ] }),
783
+ enableColumnDragging: c.id !== "actions",
784
+ // cellStyle: { ...c.cellStyle, width: finalWidth },
785
+ // headerStyle: { ...c.headerStyle, width: finalWidth },
786
+ // size: finalWidth
787
+ size: void 0,
788
+ // minSize: 40,
789
+ maxSize: 800
790
+ };
791
+ }),
792
+ ...!disableDefaultActionColumn ? [
793
+ {
794
+ id: "actions",
795
+ enableEditing: false,
796
+ size: (defaultActionColumnItems == null ? void 0 : defaultActionColumnItems.length) > 1 ? 80 : 50,
797
+ header: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", sx: { p: 0.5, "&:hover": { backgroundColor: "transparent" } }, onClick: handleHeaderClick, children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: images.default.common.arrowIcon, alt: "Arrow Icon" }) }),
798
+ enableColumnDragging: false,
799
+ visible: true,
800
+ muiTableHeadCellProps: {
801
+ className: "pinned-column"
802
+ },
803
+ muiTableBodyCellProps: {
804
+ className: "pinned-column",
805
+ sx: {
806
+ whiteSpace: "pre-wrap"
807
+ }
808
+ },
809
+ Cell: (props) => (defaultActionColumnItems == null ? void 0 : defaultActionColumnItems.length) ? defaultActionColumnItems.map((item) => {
810
+ const updatedProps = {
811
+ ...item.props,
812
+ onClick: () => item.props.onClick(props)
813
+ };
814
+ return React.cloneElement(item, updatedProps);
815
+ }) : !disabledDefaultActionColumnIcon && /* @__PURE__ */ jsxRuntime.jsx(
816
+ material.IconButton,
817
+ {
818
+ onClick: (e) => handleActionsClick(e, props.row.original),
819
+ disabled: !(rowActionMenu == null ? void 0 : rowActionMenu.length) && !(destructiveActionMenu == null ? void 0 : destructiveActionMenu.length),
820
+ children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: images.default.more, alt: "More Icon" })
821
+ }
822
+ )
823
+ }
824
+ ] : []
825
+ ],
826
+ data: rows,
827
+ muiTablePaperProps: {
828
+ sx: {
829
+ tableLayout: "auto"
830
+ // lets columns shrink to fit content
831
+ }
832
+ },
833
+ columnResizeMode: "onChange",
834
+ onEditingRowSave: async (data) => {
835
+ await handleSaveRow(data, "edit");
836
+ },
837
+ onCreatingRowSave: async (data) => {
838
+ await handleSaveRow(data, "create");
839
+ },
840
+ onCreatingRowCancel: () => resetRowSelection(),
841
+ onEditingRowCancel: () => {
842
+ setDisableNextEdit(false);
843
+ },
844
+ onSortingChange: (states == null ? void 0 : states.sorting) ? onSortingChange : setSorting,
845
+ displayColumnDefOptions: {
846
+ "mrt-row-actions": {
847
+ // size: onDeleteRow ? 80 : 50,
848
+ Header: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { onClick: handleHeaderClick, size: "small", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: images.default.common.arrowIcon, alt: "Arrow Icon" }) }),
849
+ muiTableBodyCellProps: ({ row: row2, table: table2 }) => {
850
+ var _a, _b;
851
+ const isCreatingRow2 = ((_a = table2.getState().creatingRow) == null ? void 0 : _a.id) === row2.id;
852
+ const isEditingRow2 = ((_b = table2.getState().editingRow) == null ? void 0 : _b.id) === row2.id;
853
+ return {
854
+ sx: {
855
+ "& .MuiBox-root": {
856
+ gap: 0
857
+ },
858
+ backgroundColor: "#fff",
859
+ whiteSpace: "pre-wrap",
860
+ // Hide save button only when editing existing row (not in create mode or non-editable mode)
861
+ ...hideSaveButton && (isEditingRow2 || isCreatingRow2) ? {
862
+ "& .MuiBox-root > .MuiIconButton-root:first-of-type": {
863
+ display: "none !important"
864
+ },
865
+ // Also hide any save icon buttons by aria-label or title
866
+ '& button[aria-label*="Save"]': {
867
+ display: "none !important"
868
+ },
869
+ '& button[title*="Save"]': {
870
+ display: "none !important"
871
+ },
872
+ // Hide save icon by class or data attributes
873
+ '& .MuiIconButton-root[class*="save"]': {
874
+ display: "none !important"
875
+ },
876
+ '& .MuiIconButton-root[data-testid*="save"]': {
877
+ display: "none !important"
878
+ }
879
+ } : {}
880
+ }
881
+ };
882
+ }
883
+ },
884
+ "mrt-row-expand": {
885
+ size: 70
886
+ // Set the size of the expand-collapse arrow column here
887
+ },
888
+ "mrt-row-select": {
889
+ size: 50
890
+ // Set the width of the checkbox column here
891
+ }
892
+ },
893
+ renderRowActions: ({ row: row2, table: table2 }) => /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: (rest == null ? void 0 : rest.enableExpanding) ? /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: (row2 == null ? void 0 : row2.parentId) && /* @__PURE__ */ jsxRuntime.jsx(material.Box, { sx: { display: "flex", gap: 0 }, children: onDeleteRow && !(hideDeleteButton == null ? void 0 : hideDeleteButton(row2.original)) && /* @__PURE__ */ jsxRuntime.jsx(Tooltip.Tooltip, { title: "Delete", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { disabled: disableNextEdit, onClick: () => setRowToDelete(row2), size: "small", className: "delete-row", children: /* @__PURE__ */ jsxRuntime.jsx(trash.Trash, { fontSize: "small", sx: { color: "theme.secondary.1000" } }) }) }) }) }) : /* @__PURE__ */ jsxRuntime.jsx(material.Box, { sx: { display: "flex", gap: 0 }, children: onDeleteRow && !(hideDeleteButton == null ? void 0 : hideDeleteButton(row2.original)) && /* @__PURE__ */ jsxRuntime.jsx(Tooltip.Tooltip, { title: "Delete", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { disabled: disableNextEdit, onClick: () => setRowToDelete(row2), className: "delete-row", children: /* @__PURE__ */ jsxRuntime.jsx(trash.Trash, { fontSize: "small", sx: { color: "theme.secondary.1000" } }) }) }) }) }),
894
+ ...Boolean(enableRowCreate) && {
895
+ renderBottomToolbarCustomActions: ({ table: table2 }) => /* @__PURE__ */ jsxRuntime.jsx(
896
+ button.Button,
897
+ {
898
+ variant: "outlined",
899
+ startIcon: /* @__PURE__ */ jsxRuntime.jsx(AddIcon, {}),
900
+ className: "add-row-btn",
901
+ disabled: disableNextEdit,
902
+ onClick: () => {
903
+ table2.setCreatingRow(true);
904
+ setDisableNextEdit(true);
905
+ },
906
+ children: t("common.add")
907
+ }
908
+ )
909
+ },
910
+ onRowSelectionChange: setRowSelection,
911
+ enableColumnOrdering: true,
912
+ enableRowSelection: enableRowSelection ?? true,
913
+ enableEditing: (row2) => enableEditing instanceof Function ? enableEditing(row2) : enableEditing ?? true,
914
+ editDisplayMode: editDisplayMode ?? "row",
915
+ createDisplayMode: "row",
916
+ positionCreatingRow: "bottom",
917
+ enableColumnResizing,
918
+ enableRowDragging,
919
+ enableTopToolbar: false,
920
+ enableColumnActions: false,
921
+ enableSorting: true,
922
+ enableGrouping: true,
923
+ enableBottomToolbar: enableBottomToolbar ?? false,
924
+ enableColumnDragging: enableColumnDragging ?? true,
925
+ enableStickyHeader: true,
926
+ enableSortingRemoval: false,
927
+ // column ordering
928
+ state: {
929
+ // columnOrder: (!columnOrder || columnOrder.length <= 1)
930
+ // ? [...internalColumnOrder]
931
+ // : [...columnOrder],
932
+ columnOrder,
933
+ columnPinning: { left: ["actions", "mrt-row-actions"] },
934
+ isSaving: isCreatingRow || isEditingRow,
935
+ showProgressBars: false,
936
+ rowSelection,
937
+ ...states,
938
+ sorting: Array.isArray(states == null ? void 0 : states.sorting) ? states == null ? void 0 : states.sorting : Array.isArray(sorting) ? sorting : [],
939
+ columnSizing
940
+ },
941
+ getRowId: (row2) => row2 == null ? void 0 : row2.id,
942
+ // table.getState().editingRow
943
+ muiTableBodyRowProps: ({ row: row2, table: table2 }) => {
944
+ var _a, _b, _c, _d, _e, _f, _g;
945
+ 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;
946
+ ((_f = (_e = table2.getState()) == null ? void 0 : _e.creatingRow) == null ? void 0 : _f.id) || null;
947
+ const isErrorRow = Boolean((_g = row2 == null ? void 0 : row2.original) == null ? void 0 : _g.has_error);
948
+ editingRowId === row2.id;
949
+ return {
950
+ onClick: () => {
951
+ setSelectedRow(row2.id);
952
+ },
953
+ sx: {
954
+ cursor: "pointer",
955
+ // backgroundColor: !editingRowId
956
+ // ? (selectedRow === row.id
957
+ // ? '#e8e8e8'
958
+ // : (isErrorRow ? 'theme.error.100' : 'inherit'))
959
+ // : 'inherit',
960
+ backgroundColor: !editingRowId ? isErrorRow ? "theme.error.100" : "inherit" : "inherit",
961
+ "&:hover": {
962
+ backgroundColor: editingRowId ? editingRowId === row2.id ? "transparent" : "inherit" : isErrorRow ? "theme.error.200" : "#e8e8e8"
963
+ },
964
+ "&:hover td:after": {
965
+ backgroundColor: "transparent"
966
+ // Removes the grey background applied via :after
967
+ }
968
+ }
969
+ };
970
+ },
971
+ onColumnOrderChange: (colOrder) => {
972
+ if (handleColumnOrdering) handleColumnOrdering(colOrder);
973
+ },
974
+ onColumnSizingChange: setColumnSizing,
975
+ onColumnSizingInfoChange: setColumnSizingInfo,
976
+ renderEmptyRowsFallback: () => /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { className: "no-data", children: [
977
+ /* @__PURE__ */ jsxRuntime.jsx("img", { src: images.default.common.tableNoData }),
978
+ /* @__PURE__ */ jsxRuntime.jsx(typography.Typography, { type: "s3", weight: "medium", color: "theme.secondary.1000", children: t("common.noData") })
979
+ ] }),
980
+ // pagination
981
+ enablePagination,
982
+ paginationDisplayMode: "pages",
983
+ muiPaginationProps: {
984
+ shape: "rounded",
985
+ page: pageNo,
986
+ // current page number
987
+ count: totalPages,
988
+ // total pages
989
+ showRowsPerPage: false,
990
+ // Hide rows per page options
991
+ boundaryCount: 3
992
+ },
993
+ muiEditTextFieldProps: ({ row: row2, column }) => ({
994
+ InputProps: {
995
+ disableUnderline: true
996
+ },
997
+ onBlur: (e) => {
998
+ updateData(e.target.value, column, row2.id);
999
+ },
1000
+ // onChange: (e) => {
1001
+ // updateData(e.target.value, column, row.id);
1002
+ // },
1003
+ variant: "outlined",
1004
+ sx: ({ palette }) => {
1005
+ var _a;
1006
+ return {
1007
+ "& .MuiOutlinedInput-root": {
1008
+ "& fieldset": {
1009
+ borderColor: `${(_a = palette.theme) == null ? void 0 : _a.primary[700]} !important`
1010
+ // backgroundColor: palette.theme?.primary[700]
1011
+ }
1012
+ }
1013
+ };
1014
+ }
1015
+ }),
1016
+ /* Table loader style */
1017
+ muiCircularProgressProps: {
1018
+ sx: {
1019
+ color: "#289B64"
1020
+ }
1021
+ },
1022
+ // Table header cell default styles
1023
+ muiTableHeadCellProps: {
1024
+ sx: {
1025
+ lineHeight: "140%",
1026
+ letterSpacing: "-0.28px",
1027
+ fontWeight: "500",
1028
+ fontSize: "0.875rem",
1029
+ "& .Mui-TableHeadCell-Content": {
1030
+ height: "100%"
1031
+ },
1032
+ "& .Mui-TableHeadCell-Content-Labels": {
1033
+ width: "100%",
1034
+ justifyContent: "space-between"
1035
+ },
1036
+ "&.pinned-column": {
1037
+ backgroundColor: "#fff"
1038
+ },
1039
+ "& .Mui-TableHeadCell-ResizeHandle-Wrapper": {
1040
+ padding: 0,
1041
+ margin: 0,
1042
+ right: "-5px",
1043
+ opacity: 0
1044
+ }
1045
+ }
1046
+ },
1047
+ // Table body cell default styles
1048
+ muiTableBodyProps: {
1049
+ sx: {
1050
+ zIndex: 500
1051
+ }
1052
+ },
1053
+ muiTableHeadProps: {
1054
+ sx: {
1055
+ zIndex: 600
1056
+ }
1057
+ },
1058
+ muiTableBodyCellProps: ({ cell, column, table: table2, row: row2 }) => ({
1059
+ sx: {
1060
+ lineHeight: "140%",
1061
+ letterSpacing: "-0.26px",
1062
+ fontWeight: "400",
1063
+ fontSize: "0.8125rem",
1064
+ "&.pinned-column": {
1065
+ backgroundColor: "#fff"
1066
+ },
1067
+ "&:hover": {
1068
+ backgroundColor: "transparent"
1069
+ // Removes hover effect globally
1070
+ },
1071
+ whiteSpace: "pre-wrap"
1072
+ },
1073
+ onClick: (e) => {
1074
+ var _a, _b, _c, _d;
1075
+ const target = e.target;
1076
+ const tableCell = target.closest(".MuiTableCell-body");
1077
+ const isInsideTable = tableCell && !tableCell.querySelector(".delete-row");
1078
+ if (!isInsideTable) return;
1079
+ const columnDef = column.columnDef;
1080
+ const isOnClickEditable = columnDef.isOnClickEditable !== false;
1081
+ if (!isOnClickEditable) {
1082
+ return;
1083
+ }
1084
+ 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;
1085
+ const isCurrentlyEditing = editingRowId === row2.id;
1086
+ if (editingRowId && editingRowId !== row2.id) {
1087
+ const currentEditingRow = table2.getState().editingRow;
1088
+ const currentCreatingRow = table2.getState().creatingRow;
1089
+ (async () => {
1090
+ let saveSucceeded = false;
1091
+ if (currentCreatingRow) {
1092
+ const values = getRowValues(currentCreatingRow);
1093
+ const isValid = await validate(values, currentCreatingRow);
1094
+ if (!isValid) return;
1095
+ await handleSaveRow({ row: currentCreatingRow, values, table: table2 }, "create");
1096
+ clearRow("mrt-row-create");
1097
+ saveSucceeded = true;
1098
+ } else if (currentEditingRow) {
1099
+ const values = getRowValues(currentEditingRow);
1100
+ const isValid = await validate(values, currentEditingRow);
1101
+ if (!isValid) return;
1102
+ await handleSaveRow({ row: currentEditingRow, values, table: table2 }, "edit");
1103
+ clearRow(currentEditingRow.id);
1104
+ saveSucceeded = true;
1105
+ }
1106
+ if (saveSucceeded) {
1107
+ table2.setEditingRow(row2);
1108
+ setDisableNextEdit(true);
1109
+ }
1110
+ })();
1111
+ return;
1112
+ }
1113
+ if (!isCurrentlyEditing && !editingRowId) {
1114
+ table2.setEditingRow(row2);
1115
+ setDisableNextEdit(true);
1116
+ }
1117
+ },
1118
+ onKeyUp: (e) => {
1119
+ var _a;
1120
+ const creatingRowId = ((_a = table2.getState().creatingRow) == null ? void 0 : _a.id) ?? null;
1121
+ if (e.key === "Escape") {
1122
+ if (creatingRowId === row2.id) {
1123
+ clearRow("mrt-row-create");
1124
+ table2.setCreatingRow(null);
1125
+ } else {
1126
+ const editingRow = table2.getState().editingRow;
1127
+ if (editingRow) {
1128
+ clearRow(editingRow.id);
1129
+ table2.setEditingRow(null);
1130
+ }
1131
+ }
1132
+ setDisableNextEdit(false);
1133
+ setValidationErrors({});
1134
+ e.preventDefault();
1135
+ e.stopPropagation();
1136
+ return;
1137
+ }
1138
+ if (e.key === "Enter") {
1139
+ setTimeout(() => {
1140
+ const currentCreatingRow = table2.getState().creatingRow;
1141
+ const currentEditingRow = table2.getState().editingRow;
1142
+ if (currentCreatingRow) {
1143
+ saveCreatingRow(table2);
1144
+ }
1145
+ if (currentEditingRow) {
1146
+ saveEditingRow(table2);
1147
+ }
1148
+ }, 0);
1149
+ }
1150
+ }
1151
+ }),
1152
+ // Checkbox styling
1153
+ muiSelectCheckboxProps: {
1154
+ sx: {
1155
+ color: "theme.secondary.300",
1156
+ "&.Mui-checked": {
1157
+ color: "theme.primary.600",
1158
+ "&:hover": {
1159
+ color: "theme.primary.500"
1160
+ }
1161
+ },
1162
+ "&.Mui-disabled": {
1163
+ color: "theme.secondary.200"
1164
+ }
1165
+ },
1166
+ icon: /* @__PURE__ */ jsxRuntime.jsx(rectangle.RecgtangleIcon, { sx: { width: 20, height: 20 } }),
1167
+ checkedIcon: /* @__PURE__ */ jsxRuntime.jsx(checkBox.CheckBoxIcon, { sx: { width: 20, height: 20 } })
1168
+ },
1169
+ muiSelectAllCheckboxProps: {
1170
+ sx: {
1171
+ color: "theme.secondary.300",
1172
+ "&.Mui-checked": {
1173
+ color: "theme.primary.600",
1174
+ "&:hover": {
1175
+ color: "theme.primary.500"
1176
+ }
1177
+ },
1178
+ "&.Mui-disabled": {
1179
+ color: "theme.secondary.600"
1180
+ }
1181
+ },
1182
+ icon: /* @__PURE__ */ jsxRuntime.jsx(rectangle.RecgtangleIcon, { sx: { width: 20, height: 20 } }),
1183
+ checkedIcon: /* @__PURE__ */ jsxRuntime.jsx(checkBox.CheckBoxIcon, { sx: { width: 20, height: 20 } })
1184
+ },
1185
+ muiBottomToolbarProps: {
1186
+ sx: {
1187
+ boxShadow: "none",
1188
+ "& .MuiBox-root": {
1189
+ paddingLeft: 0
1190
+ }
1191
+ }
1192
+ },
1193
+ layoutMode: "grid",
1194
+ icons: {
1195
+ DragHandleIcon: () => /* @__PURE__ */ jsxRuntime.jsx(rectangle.RecgtangleIcon, { fontSize: "medium" }),
1196
+ SortIcon: () => /* @__PURE__ */ jsxRuntime.jsx(arrowUpDown.ArrowUpDown, { fontSize: "medium" }),
1197
+ ArrowDownwardIcon: () => /* @__PURE__ */ jsxRuntime.jsx(arrowUpDown.ArrowUpDown, { fontSize: "medium" }),
1198
+ ArrowUpwardIcon: () => /* @__PURE__ */ jsxRuntime.jsx(arrowUpDown.ArrowUpDown, { fontSize: "medium" }),
1199
+ ExpandMoreIcon: () => /* @__PURE__ */ jsxRuntime.jsx(arrowUpDown.ArrowUpDown, { fontSize: "medium" }),
1200
+ ExpandLessIcon: () => /* @__PURE__ */ jsxRuntime.jsx(arrowUpDown.ArrowUpDown, { fontSize: "medium" }),
1201
+ SyncAltIcon: () => /* @__PURE__ */ jsxRuntime.jsx(arrowUpDown.ArrowUpDown, { fontSize: "medium" }),
1202
+ CancelIcon: (props) => /* @__PURE__ */ jsxRuntime.jsx(close.Close, { fontSize: "small", ...props, color: "theme.secondary.1000" })
1203
+ },
1204
+ ...rest
1205
+ });
1206
+ React.useEffect(() => {
1207
+ var _a, _b;
1208
+ if (enableRowSelection) {
1209
+ if ((_a = table == null ? void 0 : table.getSelectedRowModel()) == null ? void 0 : _a.rows) {
1210
+ SetSelectedRowId == null ? void 0 : SetSelectedRowId((_b = table == null ? void 0 : table.getSelectedRowModel()) == null ? void 0 : _b.rows);
1211
+ }
1212
+ }
1213
+ }, [enableRowSelection]);
1214
+ React.useEffect(() => {
1215
+ if (onSelectRow) {
1216
+ if (rest == null ? void 0 : rest.enableExpanding) {
1217
+ const selectedRowModels = [];
1218
+ const selection = table.getState().rowSelection;
1219
+ const traverseRows = (rows2, parentKey = "") => {
1220
+ rows2.forEach((row2, index) => {
1221
+ var _a;
1222
+ const rowKey = parentKey ? `${parentKey}.${index}` : `${row2.id}`;
1223
+ if (selection[rowKey]) {
1224
+ selectedRowModels.push(row2);
1225
+ }
1226
+ if ((_a = row2.subRows) == null ? void 0 : _a.length) {
1227
+ traverseRows(row2.subRows, rowKey);
1228
+ }
1229
+ });
1230
+ };
1231
+ traverseRows(table.getRowModel().rows);
1232
+ onSelectRow(selectedRowModels, rowSelection);
1233
+ } else {
1234
+ onSelectRow(table.getSelectedRowModel().rows, rowSelection);
1235
+ }
1236
+ }
1237
+ }, [rowSelection, table]);
1238
+ React.useEffect(() => {
1239
+ if (isResetRow) {
1240
+ table == null ? void 0 : table.resetRowSelection();
1241
+ }
1242
+ }, [isResetRow, table]);
1243
+ const hasAutoEditedFirstRow = React.useRef(false);
1244
+ React.useEffect(() => {
1245
+ if (enableFirstRowEdit && !hasAutoEditedFirstRow.current && (rows == null ? void 0 : rows.length) > 0) {
1246
+ const tableRows = table.getRowModel().rows;
1247
+ const firstRow = tableRows[0];
1248
+ if (firstRow) {
1249
+ hasAutoEditedFirstRow.current = true;
1250
+ if (!firstRow._valuesCache || Object.keys(firstRow._valuesCache).length === 0) {
1251
+ firstRow._valuesCache = { ...firstRow.original };
1252
+ }
1253
+ table.setEditingRow(firstRow);
1254
+ setDisableNextEdit(true);
1255
+ }
1256
+ }
1257
+ }, [enableFirstRowEdit, rows, table]);
1258
+ const findOpenOverlay = React.useCallback(() => {
1259
+ const candidates = document.querySelectorAll(
1260
+ ".MuiModal-root, .MuiPopover-root, .MuiAutocomplete-popper, .MuiPickersPopper-root"
1261
+ );
1262
+ for (const el of Array.from(candidates)) {
1263
+ if (el.classList.contains("MuiModal-hidden")) continue;
1264
+ if (el.getAttribute("aria-hidden") === "true") continue;
1265
+ return el;
1266
+ }
1267
+ return null;
1268
+ }, []);
1269
+ const commitInFlightRef = React.useRef(null);
1270
+ const commitPendingRowNow = React.useCallback(() => {
1271
+ if (commitInFlightRef.current) return commitInFlightRef.current;
1272
+ const run = async () => {
1273
+ var _a, _b;
1274
+ if (!table) return;
1275
+ if (findOpenOverlay()) return;
1276
+ const currentEditingRow = (_a = table.getState()) == null ? void 0 : _a.editingRow;
1277
+ const currentCreatingRow = (_b = table.getState()) == null ? void 0 : _b.creatingRow;
1278
+ if (currentCreatingRow) {
1279
+ const values = getRowValues(currentCreatingRow);
1280
+ const hasAnyValue = Object.entries(values).some(([k, v]) => {
1281
+ if (k === "id" || k === "mrt-row-actions" || k.startsWith("_")) return false;
1282
+ return v !== null && v !== void 0 && String(v).trim() !== "";
1283
+ });
1284
+ if (!hasAnyValue) {
1285
+ clearRow("mrt-row-create");
1286
+ table.setCreatingRow(null);
1287
+ setDisableNextEdit(false);
1288
+ setValidationErrors({});
1289
+ return;
1290
+ }
1291
+ await handleSaveRow({ row: currentCreatingRow, values, table }, "create");
1292
+ clearRow("mrt-row-create");
1293
+ setDisableNextEdit(false);
1294
+ return;
1295
+ }
1296
+ if (currentEditingRow) {
1297
+ const values = getRowValues(currentEditingRow);
1298
+ await handleSaveRow({ row: currentEditingRow, values, table }, "edit");
1299
+ clearRow(currentEditingRow.id);
1300
+ setDisableNextEdit(false);
1301
+ }
1302
+ };
1303
+ const promise = run().finally(() => {
1304
+ commitInFlightRef.current = null;
1305
+ });
1306
+ commitInFlightRef.current = promise;
1307
+ return promise;
1308
+ }, [table, findOpenOverlay, getRowValues, handleSaveRow, clearRow]);
1309
+ React.useImperativeHandle(ref, () => ({
1310
+ commitPendingRow: commitPendingRowNow
1311
+ }), [commitPendingRowNow]);
1312
+ React.useEffect(() => {
1313
+ pendingRowCommitRegistry.add(commitPendingRowNow);
1314
+ return () => {
1315
+ pendingRowCommitRegistry.delete(commitPendingRowNow);
1316
+ };
1317
+ }, [commitPendingRowNow]);
1318
+ React.useEffect(() => {
1319
+ if (!table) return;
1320
+ let saveTimer;
1321
+ const handleClick = (e) => {
1322
+ var _a, _b;
1323
+ const editingRow = (_a = table.getState()) == null ? void 0 : _a.editingRow;
1324
+ const creatingRow = (_b = table.getState()) == null ? void 0 : _b.creatingRow;
1325
+ if (!editingRow && !creatingRow) return;
1326
+ const target = e.target;
1327
+ if (!target) return;
1328
+ const isInsideTable = tableContainerRef.current ? tableContainerRef.current.contains(target) : Boolean(target.closest(".MRT-TableWrapper"));
1329
+ if (isInsideTable) return;
1330
+ const isDropdownPortal = Boolean(
1331
+ target.closest(
1332
+ '.MuiModal-root, .MuiPopover-root, .MuiAutocomplete-popper, .MuiPickersPopper-root, .MuiMenu-root, .MuiDialog-root, .MuiBackdrop-root, [role="listbox"], [role="dialog"], [role="presentation"]'
1333
+ )
1334
+ );
1335
+ if (isDropdownPortal) return;
1336
+ if (findOpenOverlay()) return;
1337
+ if (saveTimer) {
1338
+ clearTimeout(saveTimer);
1339
+ }
1340
+ saveTimer = setTimeout(() => {
1341
+ commitPendingRowNow();
1342
+ }, 50);
1343
+ };
1344
+ document.addEventListener("click", handleClick, true);
1345
+ return () => {
1346
+ document.removeEventListener("click", handleClick, true);
1347
+ if (saveTimer) {
1348
+ clearTimeout(saveTimer);
1349
+ }
1350
+ };
1351
+ }, [table, findOpenOverlay, commitPendingRowNow]);
1352
+ return /* @__PURE__ */ jsxRuntime.jsxs(TableWrapper, { ref: tableContainerRef, className: "MRT-TableWrapper custom-table", children: [
1353
+ /* @__PURE__ */ jsxRuntime.jsx(materialReactTable.MaterialReactTable, { table }),
1354
+ /* @__PURE__ */ jsxRuntime.jsx(
1355
+ menu.Menu,
1356
+ {
1357
+ anchorEl,
1358
+ open: Boolean(anchorEl),
1359
+ onClose: handleHeaderClose,
1360
+ className: "add-role-drp",
1361
+ children: popUpShow ? /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
1362
+ /* @__PURE__ */ jsxRuntime.jsxs(
1363
+ material.MenuItem,
1364
+ {
1365
+ onClick: handleBackButtonClick,
1366
+ className: "role-drp-list add-column-title",
1367
+ children: [
1368
+ /* @__PURE__ */ jsxRuntime.jsx(material.ListItemIcon, { className: "add-icon", children: /* @__PURE__ */ jsxRuntime.jsx(ChevronLeftIcon, {}) }),
1369
+ /* @__PURE__ */ jsxRuntime.jsx(material.ListItemText, { className: "title", children: t("common.addColumn_label") })
1370
+ ]
1371
+ }
1372
+ ),
1373
+ /* @__PURE__ */ jsxRuntime.jsx(material.Divider, { flexItem: true, sx: { mt: "0.25rem !important", mb: "0.25rem !important" } }),
1374
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "searchbar-box-list", children: /* @__PURE__ */ jsxRuntime.jsx(
1375
+ searchBar.SearchBar,
1376
+ {
1377
+ placeholder: "Search User",
1378
+ handleSearch: (e) => handleSearchEvent(e)
1379
+ }
1380
+ ) }),
1381
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "all-attribute-title", children: /* @__PURE__ */ jsxRuntime.jsx(typography.Typography, { variant: "body2", color: "text.secondary", children: t("common.allAttributes_label") }) }),
1382
+ filteredOptions.map((column) => /* @__PURE__ */ jsxRuntime.jsx(
1383
+ material.MenuItem,
1384
+ {
1385
+ onClick: () => handleAddColumn(column),
1386
+ children: /* @__PURE__ */ jsxRuntime.jsx(typography.Typography, { color: "theme.secondary.1000", type: "s3", children: column.header })
1387
+ },
1388
+ column.accessorKey
1389
+ )),
1390
+ /* @__PURE__ */ jsxRuntime.jsx(material.Divider, { flexItem: true, sx: { mt: "0.25rem !important", mb: "0.25rem !important" } }),
1391
+ enableAddCustomField && /* @__PURE__ */ jsxRuntime.jsxs(material.MenuItem, { onClick: handleCustomAddColumn, className: "role-drp-list", children: [
1392
+ /* @__PURE__ */ jsxRuntime.jsx(material.ListItemIcon, { className: "add-icon", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: images.default.common.addIcon, alt: "Add Icon" }) }),
1393
+ /* @__PURE__ */ jsxRuntime.jsx(material.ListItemText, { className: "title", children: t("common.addCustomField_label") })
1394
+ ] })
1395
+ ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1396
+ visibleColumns.map((column) => /* @__PURE__ */ jsxRuntime.jsxs(
1397
+ material.MenuItem,
1398
+ {
1399
+ onClick: () => handleVisibleColumn(column),
1400
+ className: "role-drp-list",
1401
+ children: [
1402
+ /* @__PURE__ */ jsxRuntime.jsx(material.ListItemIcon, { className: "add-icon", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: images.default.common.dotsIcon, alt: "Add Icon" }) }),
1403
+ /* @__PURE__ */ jsxRuntime.jsx(material.ListItemText, { className: "title", children: column.header }),
1404
+ /* @__PURE__ */ jsxRuntime.jsx(material.ListItemIcon, { className: "eye-icon", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: images.default.common.eyeIcon, alt: "Eye Icon" }) })
1405
+ ]
1406
+ },
1407
+ column.accessorKey
1408
+ )),
1409
+ /* @__PURE__ */ jsxRuntime.jsx(material.Divider, { flexItem: true, sx: { mt: "0.25rem !important", mb: "0.25rem !important" } }),
1410
+ /* @__PURE__ */ jsxRuntime.jsxs(material.MenuItem, { onClick: handleAddButtonClick, className: "role-drp-list", children: [
1411
+ /* @__PURE__ */ jsxRuntime.jsx(material.ListItemIcon, { className: "add-icon", children: /* @__PURE__ */ jsxRuntime.jsx("img", { src: images.default.common.addIcon, alt: "Add Icon" }) }),
1412
+ /* @__PURE__ */ jsxRuntime.jsx(material.ListItemText, { className: "title", children: t("common.addColumn_label") }),
1413
+ /* @__PURE__ */ jsxRuntime.jsx(
1414
+ typography.Typography,
1415
+ {
1416
+ variant: "body2",
1417
+ color: "text.secondary",
1418
+ className: "eye-icon",
1419
+ children: /* @__PURE__ */ jsxRuntime.jsx(ChevronRightIcon, { sx: { fontSize: "1.25rem !important" } })
1420
+ }
1421
+ )
1422
+ ] })
1423
+ ] })
1424
+ }
1425
+ ),
1426
+ /* @__PURE__ */ jsxRuntime.jsxs(
1427
+ menu.Menu,
1428
+ {
1429
+ anchorEl: rowAnchorEl,
1430
+ open: Boolean(rowAnchorEl),
1431
+ onClose: handleActionsClose,
1432
+ children: [
1433
+ rowActionMenu == null ? void 0 : rowActionMenu.map((option) => {
1434
+ var _a, _b;
1435
+ 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)) ;
1436
+ return /* @__PURE__ */ jsxRuntime.jsxs(
1437
+ material.MenuItem,
1438
+ {
1439
+ onClick: async () => {
1440
+ await option.handleAction(row);
1441
+ setRowAnchorEl(null);
1442
+ },
1443
+ disabled: typeof option.disabled === "function" ? option.disabled(row) : Boolean(option.disabled),
1444
+ sx: { alignItems: "center", gap: 0.5 },
1445
+ children: [
1446
+ option == null ? void 0 : option.icon,
1447
+ /* @__PURE__ */ jsxRuntime.jsx(typography.Typography, { type: "s4", color: "inherit", children: typeof option.label === "function" ? option.label(row) : option.label })
1448
+ ]
1449
+ }
1450
+ );
1451
+ }),
1452
+ (destructiveActionMenu == null ? void 0 : destructiveActionMenu.length) > 0 && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
1453
+ /* @__PURE__ */ jsxRuntime.jsx(material.Divider, { flexItem: true, sx: { mt: "0.25rem !important", mb: "0.25rem !important" } }),
1454
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "dropdown-inner--DestructiveHeader", children: destructiveActionMenu == null ? void 0 : destructiveActionMenu.map((option) => /* @__PURE__ */ jsxRuntime.jsx(
1455
+ material.MenuItem,
1456
+ {
1457
+ onClick: () => {
1458
+ option.handleAction(row);
1459
+ setRowAnchorEl(null);
1460
+ },
1461
+ className: "dropdown-inner--DestructiveActions",
1462
+ disabled: typeof option.disabled === "function" ? option.disabled(row) : Boolean(option.disabled),
1463
+ children: /* @__PURE__ */ jsxRuntime.jsx(typography.Typography, { type: "s4", color: "inherit", children: typeof option.label === "function" ? option.label(row) : option.label })
1464
+ }
1465
+ )) })
1466
+ ] })
1467
+ ]
1468
+ }
1469
+ ),
1470
+ /* @__PURE__ */ jsxRuntime.jsx(
1471
+ confirmModal.ConfirmPopUp,
1472
+ {
1473
+ open: Boolean(rowToDelete),
1474
+ onClose: () => setRowToDelete(null),
1475
+ onConfirm: () => handleRowDelete(),
1476
+ title: "Delete Item",
1477
+ description: `Are you sure you want to delete entry ?`,
1478
+ loading: isDeletingRow
1479
+ }
1480
+ )
1481
+ ] });
1482
+ }));
1483
+ exports.MaterialEditableTable = MaterialEditableTable;
1484
+ exports.commitAllPendingTableRows = commitAllPendingTableRows;
1485
+ //# sourceMappingURL=material-editable-table-DvOXRsag.js.map