@erpsquad/common 2.0.7 → 2.0.9

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 (1272) hide show
  1. package/dist/api-client/index.esm.js +2 -2
  2. package/dist/chunks/AuthContext-DofdH_qH.esm.js +304 -0
  3. package/dist/chunks/AuthContext-DofdH_qH.esm.js.map +1 -0
  4. package/dist/chunks/AuthContext-kcLshbDN.js +303 -0
  5. package/dist/chunks/AuthContext-kcLshbDN.js.map +1 -0
  6. package/dist/chunks/DonutChart-C6riky4l.esm.js +95 -0
  7. package/dist/chunks/DonutChart-C6riky4l.esm.js.map +1 -0
  8. package/dist/chunks/DonutChart-tepcDaIS.js +111 -0
  9. package/dist/chunks/DonutChart-tepcDaIS.js.map +1 -0
  10. package/dist/chunks/DynamicDependentField-CGdGWk5x.js +127 -0
  11. package/dist/chunks/DynamicDependentField-CGdGWk5x.js.map +1 -0
  12. package/dist/chunks/DynamicDependentField-DTmcCvr7.esm.js +128 -0
  13. package/dist/chunks/DynamicDependentField-DTmcCvr7.esm.js.map +1 -0
  14. package/dist/chunks/DynamicSearchInput-MbezEgV9.esm.js +195 -0
  15. package/dist/chunks/DynamicSearchInput-MbezEgV9.esm.js.map +1 -0
  16. package/dist/chunks/ERPUIProvider-BTLDtZWH.esm.js +133 -0
  17. package/dist/chunks/ERPUIProvider-BTLDtZWH.esm.js.map +1 -0
  18. package/dist/chunks/ERPUIProvider-JvxT4YBI.js +132 -0
  19. package/dist/chunks/ERPUIProvider-JvxT4YBI.js.map +1 -0
  20. package/dist/chunks/FORMS-D0B8kHGO.esm.js +296 -0
  21. package/dist/chunks/FORMS-D0B8kHGO.esm.js.map +1 -0
  22. package/dist/chunks/FORMS-DcWtwXeA.js +295 -0
  23. package/dist/chunks/FORMS-DcWtwXeA.js.map +1 -0
  24. package/dist/chunks/FlexibleReduxExample-B9lUXUtM.js +148 -0
  25. package/dist/chunks/FlexibleReduxExample-B9lUXUtM.js.map +1 -0
  26. package/dist/chunks/FlexibleReduxExample-BfAZ0NS1.esm.js +149 -0
  27. package/dist/chunks/FlexibleReduxExample-BfAZ0NS1.esm.js.map +1 -0
  28. package/dist/chunks/GroupBarChart-4SPyvviH.js +103 -0
  29. package/dist/chunks/GroupBarChart-4SPyvviH.js.map +1 -0
  30. package/dist/chunks/GroupBarChart-DARqXm97.esm.js +87 -0
  31. package/dist/chunks/GroupBarChart-DARqXm97.esm.js.map +1 -0
  32. package/dist/chunks/SectionFlowEditor-8U0IkGBG.esm.js +5461 -0
  33. package/dist/chunks/SectionFlowEditor-8U0IkGBG.esm.js.map +1 -0
  34. package/dist/chunks/SectionFlowEditor-CJVzv4-f.js +5460 -0
  35. package/dist/chunks/SectionFlowEditor-CJVzv4-f.js.map +1 -0
  36. package/dist/chunks/action-bar-1Rquyokn.esm.js +637 -0
  37. package/dist/chunks/action-bar-1Rquyokn.esm.js.map +1 -0
  38. package/dist/chunks/action-bar-BQu4SgTj.js +636 -0
  39. package/dist/chunks/action-bar-BQu4SgTj.js.map +1 -0
  40. package/dist/chunks/actionCreator-6vnQNdPW.esm.js +14 -0
  41. package/dist/chunks/actionCreator-6vnQNdPW.esm.js.map +1 -0
  42. package/dist/chunks/actionCreator-CRjzdA2F.esm.js +22 -0
  43. package/dist/chunks/actionCreator-CRjzdA2F.esm.js.map +1 -0
  44. package/dist/chunks/actionCreator-CfzbTvPB.esm.js +94 -0
  45. package/dist/chunks/actionCreator-CfzbTvPB.esm.js.map +1 -0
  46. package/dist/chunks/actionCreator-jQ2zgNcg.esm.js +80 -0
  47. package/dist/chunks/actionCreator-jQ2zgNcg.esm.js.map +1 -0
  48. package/dist/chunks/actionCreator-yZ3mD8R2.esm.js +28 -0
  49. package/dist/chunks/actionCreator-yZ3mD8R2.esm.js.map +1 -0
  50. package/dist/chunks/activity-tag-BPE6sv6e.js +151 -0
  51. package/dist/chunks/activity-tag-BPE6sv6e.js.map +1 -0
  52. package/dist/chunks/activity-tag-Bk13Lwtt.esm.js +152 -0
  53. package/dist/chunks/activity-tag-Bk13Lwtt.esm.js.map +1 -0
  54. package/dist/chunks/add-template-DGMGVpCT.esm.js +11 -0
  55. package/dist/chunks/add-template-DGMGVpCT.esm.js.map +1 -0
  56. package/dist/chunks/add-template-s1Vr9sdq.js +10 -0
  57. package/dist/chunks/add-template-s1Vr9sdq.js.map +1 -0
  58. package/dist/chunks/address-modal-BEo9bfzo.esm.js +671 -0
  59. package/dist/chunks/address-modal-BEo9bfzo.esm.js.map +1 -0
  60. package/dist/chunks/address-modal-DGAqvsPa.js +687 -0
  61. package/dist/chunks/address-modal-DGAqvsPa.js.map +1 -0
  62. package/dist/chunks/ai-summary-VG2I3n99.esm.js +351 -0
  63. package/dist/chunks/ai-summary-VG2I3n99.esm.js.map +1 -0
  64. package/dist/chunks/api-B6GkxQYG.esm.js +2219 -0
  65. package/dist/chunks/api-B6GkxQYG.esm.js.map +1 -0
  66. package/dist/chunks/api-BbjtLtS_.esm.js +4682 -0
  67. package/dist/chunks/api-BbjtLtS_.esm.js.map +1 -0
  68. package/dist/chunks/appbar-Dol8xdCz.js +56 -0
  69. package/dist/chunks/appbar-Dol8xdCz.js.map +1 -0
  70. package/dist/chunks/appbar-kCY0xo1q.esm.js +57 -0
  71. package/dist/chunks/appbar-kCY0xo1q.esm.js.map +1 -0
  72. package/dist/chunks/approval-wrapper-BIi2og8G.esm.js +140 -0
  73. package/dist/chunks/approval-wrapper-BIi2og8G.esm.js.map +1 -0
  74. package/dist/chunks/approval-wrapper-Cgweuhjx.js +139 -0
  75. package/dist/chunks/approval-wrapper-Cgweuhjx.js.map +1 -0
  76. package/dist/chunks/calculation-summary-BwBud3iV.esm.js +174 -0
  77. package/dist/chunks/calculation-summary-BwBud3iV.esm.js.map +1 -0
  78. package/dist/chunks/calculation-summary-pLuBD594.js +173 -0
  79. package/dist/chunks/calculation-summary-pLuBD594.js.map +1 -0
  80. package/dist/chunks/change-password-BqSHR0wx.js +199 -0
  81. package/dist/chunks/change-password-BqSHR0wx.js.map +1 -0
  82. package/dist/chunks/change-password-DJwwMZ29.esm.js +183 -0
  83. package/dist/chunks/change-password-DJwwMZ29.esm.js.map +1 -0
  84. package/dist/chunks/change-user-password-modal-DP_wbT8i.esm.js +119 -0
  85. package/dist/chunks/change-user-password-modal-DP_wbT8i.esm.js.map +1 -0
  86. package/dist/chunks/change-user-password-modal-VR98mGW6.js +135 -0
  87. package/dist/chunks/change-user-password-modal-VR98mGW6.js.map +1 -0
  88. package/dist/chunks/chat-bot-B1SWhIFL.esm.js +1831 -0
  89. package/dist/chunks/chat-bot-B1SWhIFL.esm.js.map +1 -0
  90. package/dist/chunks/chat-bot-CdiKFNgT.js +1830 -0
  91. package/dist/chunks/chat-bot-CdiKFNgT.js.map +1 -0
  92. package/dist/chunks/checkbox-Bp-_K3Uq.esm.js +83 -0
  93. package/dist/chunks/checkbox-Bp-_K3Uq.esm.js.map +1 -0
  94. package/dist/chunks/checkbox-D8p_Y3nz.js +82 -0
  95. package/dist/chunks/checkbox-D8p_Y3nz.js.map +1 -0
  96. package/dist/chunks/common-CrTFa-wo.js +182 -0
  97. package/dist/chunks/common-CrTFa-wo.js.map +1 -0
  98. package/dist/chunks/common-D6QyHh2n.esm.js +183 -0
  99. package/dist/chunks/common-D6QyHh2n.esm.js.map +1 -0
  100. package/dist/chunks/common-utility-Cab11rUm.js +305 -0
  101. package/dist/chunks/common-utility-Cab11rUm.js.map +1 -0
  102. package/dist/chunks/common-utility-DhJfepcc.esm.js +305 -0
  103. package/dist/chunks/common-utility-DhJfepcc.esm.js.map +1 -0
  104. package/dist/chunks/confirm-modal-D4bLzEGf.js +97 -0
  105. package/dist/chunks/confirm-modal-D4bLzEGf.js.map +1 -0
  106. package/dist/chunks/confirm-modal-nCdT1-Zb.esm.js +98 -0
  107. package/dist/chunks/confirm-modal-nCdT1-Zb.esm.js.map +1 -0
  108. package/dist/chunks/contact-modal-5rG_qnX7.js +185 -0
  109. package/dist/chunks/contact-modal-5rG_qnX7.js.map +1 -0
  110. package/dist/chunks/contact-modal-XTsjG2P2.esm.js +169 -0
  111. package/dist/chunks/contact-modal-XTsjG2P2.esm.js.map +1 -0
  112. package/dist/chunks/custom-editor-B0tdyVUd.esm.js +1257 -0
  113. package/dist/chunks/custom-editor-B0tdyVUd.esm.js.map +1 -0
  114. package/dist/chunks/custom-form-DJ9vNxTp.js +1145 -0
  115. package/dist/chunks/custom-form-DJ9vNxTp.js.map +1 -0
  116. package/dist/chunks/custom-form-M6YTLQfx.esm.js +1146 -0
  117. package/dist/chunks/custom-form-M6YTLQfx.esm.js.map +1 -0
  118. package/dist/chunks/dashboard-BMR-mYzQ.js +74 -0
  119. package/dist/chunks/dashboard-BMR-mYzQ.js.map +1 -0
  120. package/dist/chunks/dashboard-y9pGL53r.esm.js +75 -0
  121. package/dist/chunks/dashboard-y9pGL53r.esm.js.map +1 -0
  122. package/dist/chunks/date-range-picker-D6a4i6w_.js +61 -0
  123. package/dist/chunks/date-range-picker-D6a4i6w_.js.map +1 -0
  124. package/dist/chunks/date-range-picker-DIssi8qZ.js +159 -0
  125. package/dist/chunks/date-range-picker-DIssi8qZ.js.map +1 -0
  126. package/dist/chunks/date-range-picker-DqcAOo8B.esm.js +160 -0
  127. package/dist/chunks/date-range-picker-DqcAOo8B.esm.js.map +1 -0
  128. package/dist/chunks/date-range-picker-OOZXiyKI.esm.js +62 -0
  129. package/dist/chunks/date-range-picker-OOZXiyKI.esm.js.map +1 -0
  130. package/dist/chunks/dropdown-button-DYSlETL1.esm.js +146 -0
  131. package/dist/chunks/dropdown-button-DYSlETL1.esm.js.map +1 -0
  132. package/dist/chunks/dropdown-button-DeiOY_oP.js +162 -0
  133. package/dist/chunks/dropdown-button-DeiOY_oP.js.map +1 -0
  134. package/dist/chunks/dynamic-layout-wrapper-B6O3hR3Y.esm.js +229 -0
  135. package/dist/chunks/dynamic-layout-wrapper-B6O3hR3Y.esm.js.map +1 -0
  136. package/dist/chunks/dynamic-layout-wrapper-BtHbs1Zj.js +228 -0
  137. package/dist/chunks/dynamic-layout-wrapper-BtHbs1Zj.js.map +1 -0
  138. package/dist/chunks/dynamic-report-BAOTGuEk.esm.js +589 -0
  139. package/dist/chunks/dynamic-report-BAOTGuEk.esm.js.map +1 -0
  140. package/dist/chunks/dynamic-report-CynjfYJy.js +588 -0
  141. package/dist/chunks/dynamic-report-CynjfYJy.js.map +1 -0
  142. package/dist/chunks/dynamic-rows-C75GZFAm.esm.js +250 -0
  143. package/dist/chunks/dynamic-rows-C75GZFAm.esm.js.map +1 -0
  144. package/dist/chunks/dynamic-rows-CvqwiJje.js +249 -0
  145. package/dist/chunks/dynamic-rows-CvqwiJje.js.map +1 -0
  146. package/dist/chunks/dynamic-text-editor-btqFFT1t.esm.js +45 -0
  147. package/dist/chunks/dynamic-text-editor-btqFFT1t.esm.js.map +1 -0
  148. package/dist/chunks/edit-section-modal-DMH6owAz.esm.js +80 -0
  149. package/dist/chunks/edit-section-modal-DMH6owAz.esm.js.map +1 -0
  150. package/dist/chunks/expandable-summary-wrapper-DMQc4D4R.js +241 -0
  151. package/dist/chunks/expandable-summary-wrapper-DMQc4D4R.js.map +1 -0
  152. package/dist/chunks/expandable-summary-wrapper-t86b6oNE.esm.js +242 -0
  153. package/dist/chunks/expandable-summary-wrapper-t86b6oNE.esm.js.map +1 -0
  154. package/dist/chunks/filter-B4OpmXRQ.esm.js +410 -0
  155. package/dist/chunks/filter-B4OpmXRQ.esm.js.map +1 -0
  156. package/dist/chunks/filter-DJegmeDz.js +409 -0
  157. package/dist/chunks/filter-DJegmeDz.js.map +1 -0
  158. package/dist/chunks/footer-Bue8F5jc.js +63 -0
  159. package/dist/chunks/footer-Bue8F5jc.js.map +1 -0
  160. package/dist/chunks/footer-cys2uVXJ.esm.js +64 -0
  161. package/dist/chunks/footer-cys2uVXJ.esm.js.map +1 -0
  162. package/dist/chunks/forgot-password-C-_Vt8Ld.js +194 -0
  163. package/dist/chunks/forgot-password-C-_Vt8Ld.js.map +1 -0
  164. package/dist/chunks/forgot-password-DaYwd5uW.esm.js +178 -0
  165. package/dist/chunks/forgot-password-DaYwd5uW.esm.js.map +1 -0
  166. package/dist/chunks/form-fields-CvI9yo74.js +354 -0
  167. package/dist/chunks/form-fields-CvI9yo74.js.map +1 -0
  168. package/dist/chunks/form-fields-Dp-8zIrT.esm.js +355 -0
  169. package/dist/chunks/form-fields-Dp-8zIrT.esm.js.map +1 -0
  170. package/dist/chunks/form-parser-BNVZ-OsN.js +613 -0
  171. package/dist/chunks/form-parser-BNVZ-OsN.js.map +1 -0
  172. package/dist/chunks/form-parser-DgaV_u_G.esm.js +597 -0
  173. package/dist/chunks/form-parser-DgaV_u_G.esm.js.map +1 -0
  174. package/dist/chunks/form-section-CCQ5Grq5.js +575 -0
  175. package/dist/chunks/form-section-CCQ5Grq5.js.map +1 -0
  176. package/dist/chunks/form-section-D6OLrE7M.esm.js +576 -0
  177. package/dist/chunks/form-section-D6OLrE7M.esm.js.map +1 -0
  178. package/dist/chunks/fullScreen-Bar5e4Zd.esm.js +19 -0
  179. package/dist/chunks/fullScreen-Bar5e4Zd.esm.js.map +1 -0
  180. package/dist/chunks/fullScreen-DJR7qbF5.js +18 -0
  181. package/dist/chunks/fullScreen-DJR7qbF5.js.map +1 -0
  182. package/dist/chunks/global-search-Bn_3kWNW.esm.js +150 -0
  183. package/dist/chunks/global-search-Bn_3kWNW.esm.js.map +1 -0
  184. package/dist/chunks/grid-view-DQ481EM1.esm.js +52 -0
  185. package/dist/chunks/grid-view-DQ481EM1.esm.js.map +1 -0
  186. package/dist/chunks/header-266dLUMg.js +92 -0
  187. package/dist/chunks/header-266dLUMg.js.map +1 -0
  188. package/dist/chunks/header-BCMW9ctt.esm.js +93 -0
  189. package/dist/chunks/header-BCMW9ctt.esm.js.map +1 -0
  190. package/dist/chunks/header-enhanced-Cf44TMZf.js +402 -0
  191. package/dist/chunks/header-enhanced-Cf44TMZf.js.map +1 -0
  192. package/dist/chunks/header-enhanced-DDG6COKM.esm.js +403 -0
  193. package/dist/chunks/header-enhanced-DDG6COKM.esm.js.map +1 -0
  194. package/dist/chunks/i18n-B7RX2ZZ6.js +95 -0
  195. package/dist/chunks/i18n-B7RX2ZZ6.js.map +1 -0
  196. package/dist/chunks/i18n-IaT9E8wF.esm.js +94 -0
  197. package/dist/chunks/i18n-IaT9E8wF.esm.js.map +1 -0
  198. package/dist/chunks/index-DWPfPC9k.esm.js +2024 -0
  199. package/dist/chunks/index-DWPfPC9k.esm.js.map +1 -0
  200. package/dist/chunks/inline-edit-fields-C1ya5MlP.js +341 -0
  201. package/dist/chunks/inline-edit-fields-C1ya5MlP.js.map +1 -0
  202. package/dist/chunks/inline-edit-fields-DeepjF9W.esm.js +325 -0
  203. package/dist/chunks/inline-edit-fields-DeepjF9W.esm.js.map +1 -0
  204. package/dist/chunks/inventory-reports-title-bar-C7HQ0Rz0.esm.js +733 -0
  205. package/dist/chunks/inventory-reports-title-bar-C7HQ0Rz0.esm.js.map +1 -0
  206. package/dist/chunks/inventory-reports-title-bar-DrIkl093.js +732 -0
  207. package/dist/chunks/inventory-reports-title-bar-DrIkl093.js.map +1 -0
  208. package/dist/chunks/item-response-details-B0LkBlox.esm.js +79 -0
  209. package/dist/chunks/item-response-details-B0LkBlox.esm.js.map +1 -0
  210. package/dist/chunks/item-response-details-tn_93JWx.js +78 -0
  211. package/dist/chunks/item-response-details-tn_93JWx.js.map +1 -0
  212. package/dist/chunks/journal-type-add-modal-CQ7ik88w.js +128 -0
  213. package/dist/chunks/journal-type-add-modal-CQ7ik88w.js.map +1 -0
  214. package/dist/chunks/journal-type-add-modal-CubGUsiW.esm.js +112 -0
  215. package/dist/chunks/journal-type-add-modal-CubGUsiW.esm.js.map +1 -0
  216. package/dist/chunks/language-switch-B8Vo3as8.js +110 -0
  217. package/dist/chunks/language-switch-B8Vo3as8.js.map +1 -0
  218. package/dist/chunks/language-switch-JqR_jZoX.esm.js +111 -0
  219. package/dist/chunks/language-switch-JqR_jZoX.esm.js.map +1 -0
  220. package/dist/chunks/languageContext-JTb2yZmF.js +218 -0
  221. package/dist/chunks/languageContext-JTb2yZmF.js.map +1 -0
  222. package/dist/chunks/languageContext-aT4pFMI3.esm.js +219 -0
  223. package/dist/chunks/languageContext-aT4pFMI3.esm.js.map +1 -0
  224. package/dist/chunks/listing-BE07Zp5g.esm.js +277 -0
  225. package/dist/chunks/listing-BE07Zp5g.esm.js.map +1 -0
  226. package/dist/chunks/listing-Cp0b_XGM.js +276 -0
  227. package/dist/chunks/listing-Cp0b_XGM.js.map +1 -0
  228. package/dist/chunks/location-select-BoXNL7DP.js +85 -0
  229. package/dist/chunks/location-select-BoXNL7DP.js.map +1 -0
  230. package/dist/chunks/location-select-CCQueueQ.esm.js +86 -0
  231. package/dist/chunks/location-select-CCQueueQ.esm.js.map +1 -0
  232. package/dist/chunks/material-editable-table-DOrp18Fk.js +1464 -0
  233. package/dist/chunks/material-editable-table-DOrp18Fk.js.map +1 -0
  234. package/dist/chunks/material-editable-table-rLDq1Htx.esm.js +1448 -0
  235. package/dist/chunks/material-editable-table-rLDq1Htx.esm.js.map +1 -0
  236. package/dist/chunks/module-reducer-DODlFqlX.esm.js +79 -0
  237. package/dist/chunks/module-reducer-DODlFqlX.esm.js.map +1 -0
  238. package/dist/chunks/notification-menu-CPFPIlav.esm.js +606 -0
  239. package/dist/chunks/notification-menu-CPFPIlav.esm.js.map +1 -0
  240. package/dist/chunks/page-action-BB9ZfBqs.js +324 -0
  241. package/dist/chunks/page-action-BB9ZfBqs.js.map +1 -0
  242. package/dist/chunks/page-action-BVBfQPuy.esm.js +325 -0
  243. package/dist/chunks/page-action-BVBfQPuy.esm.js.map +1 -0
  244. package/dist/chunks/page-context-C6GLxzPF.js +387 -0
  245. package/dist/chunks/page-context-C6GLxzPF.js.map +1 -0
  246. package/dist/chunks/page-context-CZVCQsx4.esm.js +388 -0
  247. package/dist/chunks/page-context-CZVCQsx4.esm.js.map +1 -0
  248. package/dist/chunks/page-navigator-BtT7FvgA.js +243 -0
  249. package/dist/chunks/page-navigator-BtT7FvgA.js.map +1 -0
  250. package/dist/chunks/page-navigator-DhZSbWM-.esm.js +244 -0
  251. package/dist/chunks/page-navigator-DhZSbWM-.esm.js.map +1 -0
  252. package/dist/chunks/page-view-BS0vDfet.esm.js +324 -0
  253. package/dist/chunks/page-view-BS0vDfet.esm.js.map +1 -0
  254. package/dist/chunks/page-view-DQh8QJIi.js +323 -0
  255. package/dist/chunks/page-view-DQh8QJIi.js.map +1 -0
  256. package/dist/chunks/pagination-DF8mY5Wg.esm.js +136 -0
  257. package/dist/chunks/pagination-DF8mY5Wg.esm.js.map +1 -0
  258. package/dist/chunks/pagination-ytCCM6x5.js +135 -0
  259. package/dist/chunks/pagination-ytCCM6x5.js.map +1 -0
  260. package/dist/chunks/phone-CORnEyRe.esm.js +59 -0
  261. package/dist/chunks/phone-CORnEyRe.esm.js.map +1 -0
  262. package/dist/chunks/phone-CsXmANY1.js +58 -0
  263. package/dist/chunks/phone-CsXmANY1.js.map +1 -0
  264. package/dist/chunks/phone-input-3p8jy0VZ.esm.js +255 -0
  265. package/dist/chunks/phone-input-3p8jy0VZ.esm.js.map +1 -0
  266. package/dist/chunks/phone-input-cDVGHShY.js +254 -0
  267. package/dist/chunks/phone-input-cDVGHShY.js.map +1 -0
  268. package/dist/chunks/privateRoute-Cm2hqDeK.js +12 -0
  269. package/dist/chunks/privateRoute-Cm2hqDeK.js.map +1 -0
  270. package/dist/chunks/privateRoute-D5cMrsfo.esm.js +13 -0
  271. package/dist/chunks/privateRoute-D5cMrsfo.esm.js.map +1 -0
  272. package/dist/chunks/quick-approval-modal-DaSlNlcT.esm.js +256 -0
  273. package/dist/chunks/quick-approval-modal-DaSlNlcT.esm.js.map +1 -0
  274. package/dist/chunks/reducer-BVmCliuv.esm.js +50 -0
  275. package/dist/chunks/reducer-BVmCliuv.esm.js.map +1 -0
  276. package/dist/chunks/reducer-Ce33BbuU.esm.js +149 -0
  277. package/dist/chunks/reducer-Ce33BbuU.esm.js.map +1 -0
  278. package/dist/chunks/reducer-CqWixCbD.esm.js +33 -0
  279. package/dist/chunks/reducer-CqWixCbD.esm.js.map +1 -0
  280. package/dist/chunks/reducer-DJLJl8jC.esm.js +43 -0
  281. package/dist/chunks/reducer-DJLJl8jC.esm.js.map +1 -0
  282. package/dist/chunks/reducer-DhF7Zh6Q.esm.js +56 -0
  283. package/dist/chunks/reducer-DhF7Zh6Q.esm.js.map +1 -0
  284. package/dist/chunks/remove-action-BrwzXFnw.esm.js +21 -0
  285. package/dist/chunks/remove-action-BrwzXFnw.esm.js.map +1 -0
  286. package/dist/chunks/remove-action-DuOSbzq_.js +20 -0
  287. package/dist/chunks/remove-action-DuOSbzq_.js.map +1 -0
  288. package/dist/chunks/report-buttons-B2eLIpL8.esm.js +46 -0
  289. package/dist/chunks/report-buttons-B2eLIpL8.esm.js.map +1 -0
  290. package/dist/chunks/report-buttons-C5-b6TSy.esm.js +60 -0
  291. package/dist/chunks/report-buttons-C5-b6TSy.esm.js.map +1 -0
  292. package/dist/chunks/report-buttons-CZk6F9qW.js +59 -0
  293. package/dist/chunks/report-buttons-CZk6F9qW.js.map +1 -0
  294. package/dist/chunks/report-buttons-DOMCk_6C.js +45 -0
  295. package/dist/chunks/report-buttons-DOMCk_6C.js.map +1 -0
  296. package/dist/chunks/reportFilter-CYHe2E_K.esm.js +395 -0
  297. package/dist/chunks/reportFilter-CYHe2E_K.esm.js.map +1 -0
  298. package/dist/chunks/reportFilter-DxVLL73i.js +394 -0
  299. package/dist/chunks/reportFilter-DxVLL73i.js.map +1 -0
  300. package/dist/chunks/reports-title-bar-C4PU6UBg.js +946 -0
  301. package/dist/chunks/reports-title-bar-C4PU6UBg.js.map +1 -0
  302. package/dist/chunks/reports-title-bar-cKPM1sTK.esm.js +947 -0
  303. package/dist/chunks/reports-title-bar-cKPM1sTK.esm.js.map +1 -0
  304. package/dist/chunks/reset-password-C-9K23dJ.js +32 -0
  305. package/dist/chunks/reset-password-C-9K23dJ.js.map +1 -0
  306. package/dist/chunks/reset-password-D-KmDrEy.esm.js +33 -0
  307. package/dist/chunks/reset-password-D-KmDrEy.esm.js.map +1 -0
  308. package/dist/chunks/reset-password-modal-B6IEx0RP.esm.js +144 -0
  309. package/dist/chunks/reset-password-modal-B6IEx0RP.esm.js.map +1 -0
  310. package/dist/chunks/reset-password-modal-D8eQYA1o.js +160 -0
  311. package/dist/chunks/reset-password-modal-D8eQYA1o.js.map +1 -0
  312. package/dist/chunks/routes-DCfUJ0-V.js +35 -0
  313. package/dist/chunks/routes-DCfUJ0-V.js.map +1 -0
  314. package/dist/chunks/routes-d4lHZsSq.esm.js +36 -0
  315. package/dist/chunks/routes-d4lHZsSq.esm.js.map +1 -0
  316. package/dist/chunks/schedule-report-BDsU9z1g.esm.js +236 -0
  317. package/dist/chunks/schedule-report-BDsU9z1g.esm.js.map +1 -0
  318. package/dist/chunks/schedule-report-D3B_npRM.js +235 -0
  319. package/dist/chunks/schedule-report-D3B_npRM.js.map +1 -0
  320. package/dist/chunks/schedule-report-modal-BaUN50kn.esm.js +288 -0
  321. package/dist/chunks/schedule-report-modal-BaUN50kn.esm.js.map +1 -0
  322. package/dist/chunks/schedule-report-modal-HkWvhGzM.js +287 -0
  323. package/dist/chunks/schedule-report-modal-HkWvhGzM.js.map +1 -0
  324. package/dist/chunks/searchable-select-Bkza656F.esm.js +5396 -0
  325. package/dist/chunks/searchable-select-Bkza656F.esm.js.map +1 -0
  326. package/dist/chunks/searchable-select-Ce-Cfh7e.js +5412 -0
  327. package/dist/chunks/searchable-select-Ce-Cfh7e.js.map +1 -0
  328. package/dist/chunks/share-modal-c_hne4V-.esm.js +218 -0
  329. package/dist/chunks/share-modal-c_hne4V-.esm.js.map +1 -0
  330. package/dist/chunks/share-modal-enhanced-BNXVPBE7.esm.js +270 -0
  331. package/dist/chunks/share-modal-enhanced-BNXVPBE7.esm.js.map +1 -0
  332. package/dist/chunks/share-modal-enhanced-D2DkJKv8.js +269 -0
  333. package/dist/chunks/share-modal-enhanced-D2DkJKv8.js.map +1 -0
  334. package/dist/chunks/share-modal-wRSXhat1.js +217 -0
  335. package/dist/chunks/share-modal-wRSXhat1.js.map +1 -0
  336. package/dist/chunks/sidebar-B0_wJDLu.esm.js +879 -0
  337. package/dist/chunks/sidebar-B0_wJDLu.esm.js.map +1 -0
  338. package/dist/chunks/sidebar-DBIBqPwf.js +878 -0
  339. package/dist/chunks/sidebar-DBIBqPwf.js.map +1 -0
  340. package/dist/chunks/sidebarScreen-CVeGcSx7.esm.js +202 -0
  341. package/dist/chunks/sidebarScreen-CVeGcSx7.esm.js.map +1 -0
  342. package/dist/chunks/sidebarScreen-ym9GJarW.js +201 -0
  343. package/dist/chunks/sidebarScreen-ym9GJarW.js.map +1 -0
  344. package/dist/chunks/store-B_mh-yKT.esm.js +100 -0
  345. package/dist/chunks/store-B_mh-yKT.esm.js.map +1 -0
  346. package/dist/chunks/table-CE4hRFxy.esm.js +185 -0
  347. package/dist/chunks/table-CE4hRFxy.esm.js.map +1 -0
  348. package/dist/chunks/table-Do6LnNLm.js +184 -0
  349. package/dist/chunks/table-Do6LnNLm.js.map +1 -0
  350. package/dist/chunks/table-form-BBXjhFbT.esm.js +1537 -0
  351. package/dist/chunks/table-form-BBXjhFbT.esm.js.map +1 -0
  352. package/dist/chunks/template-editor-router-B5oqycyc.js +8 -0
  353. package/dist/chunks/template-editor-router-B5oqycyc.js.map +1 -0
  354. package/dist/chunks/template-editor-router-DzayMRL1.esm.js +9 -0
  355. package/dist/chunks/template-editor-router-DzayMRL1.esm.js.map +1 -0
  356. package/dist/chunks/template-modal-CpfMuiYf.js +768 -0
  357. package/dist/chunks/template-modal-CpfMuiYf.js.map +1 -0
  358. package/dist/chunks/template-modal-QGa_PiIZ.esm.js +769 -0
  359. package/dist/chunks/template-modal-QGa_PiIZ.esm.js.map +1 -0
  360. package/dist/chunks/template-name-modal-CfghZygq.esm.js +101 -0
  361. package/dist/chunks/template-name-modal-CfghZygq.esm.js.map +1 -0
  362. package/dist/chunks/templates-B7OX97K8.esm.js +273 -0
  363. package/dist/chunks/templates-B7OX97K8.esm.js.map +1 -0
  364. package/dist/chunks/templates-DSlPpza9.js +272 -0
  365. package/dist/chunks/templates-DSlPpza9.js.map +1 -0
  366. package/dist/chunks/text-measurement-bcIgRcxS.esm.js +252 -0
  367. package/dist/chunks/text-measurement-bcIgRcxS.esm.js.map +1 -0
  368. package/dist/chunks/three-dot-icon-8YrrMzuw.js +37 -0
  369. package/dist/chunks/three-dot-icon-8YrrMzuw.js.map +1 -0
  370. package/dist/chunks/three-dot-icon-CjJdOPo9.esm.js +38 -0
  371. package/dist/chunks/three-dot-icon-CjJdOPo9.esm.js.map +1 -0
  372. package/dist/chunks/toggle-button-C-1TQjtd.esm.js +55 -0
  373. package/dist/chunks/toggle-button-C-1TQjtd.esm.js.map +1 -0
  374. package/dist/chunks/toggle-button-DAhGk0ML.js +54 -0
  375. package/dist/chunks/toggle-button-DAhGk0ML.js.map +1 -0
  376. package/dist/chunks/toggle-switch-B8IqxoPK.js +80 -0
  377. package/dist/chunks/toggle-switch-B8IqxoPK.js.map +1 -0
  378. package/dist/chunks/toggle-switch-Bs5VnHNu.esm.js +81 -0
  379. package/dist/chunks/toggle-switch-Bs5VnHNu.esm.js.map +1 -0
  380. package/dist/chunks/translations-BWFkwxf-.esm.js +121 -0
  381. package/dist/chunks/translations-BWFkwxf-.esm.js.map +1 -0
  382. package/dist/chunks/translations-Bp8XT7gX.js +120 -0
  383. package/dist/chunks/translations-Bp8XT7gX.js.map +1 -0
  384. package/dist/chunks/uom-field-wrapper-CFunGH8W.js +79 -0
  385. package/dist/chunks/uom-field-wrapper-CFunGH8W.js.map +1 -0
  386. package/dist/chunks/uom-field-wrapper-CqOa0C9G.esm.js +80 -0
  387. package/dist/chunks/uom-field-wrapper-CqOa0C9G.esm.js.map +1 -0
  388. package/dist/chunks/upload-excel-Vtcnj7cc.esm.js +361 -0
  389. package/dist/chunks/upload-excel-Vtcnj7cc.esm.js.map +1 -0
  390. package/dist/chunks/use-pages-C30_LQ3n.esm.js +30 -0
  391. package/dist/chunks/use-pages-C30_LQ3n.esm.js.map +1 -0
  392. package/dist/chunks/use-pages-WkAi3E4W.js +29 -0
  393. package/dist/chunks/use-pages-WkAi3E4W.js.map +1 -0
  394. package/dist/chunks/use-translations-CjXYG4SW.esm.js +69 -0
  395. package/dist/chunks/use-translations-CjXYG4SW.esm.js.map +1 -0
  396. package/dist/chunks/use-translations-DpZR71i0.js +68 -0
  397. package/dist/chunks/use-translations-DpZR71i0.js.map +1 -0
  398. package/dist/chunks/useAccountSetting-w9Xa-7w_.esm.js +174 -0
  399. package/dist/chunks/useAccountSetting-w9Xa-7w_.esm.js.map +1 -0
  400. package/dist/chunks/useCheckSkuAndName-DZnJSqwy.esm.js +50 -0
  401. package/dist/chunks/useCheckSkuAndName-DZnJSqwy.esm.js.map +1 -0
  402. package/dist/chunks/useCompanyCountryCode-ByMHnqxy.esm.js +36 -0
  403. package/dist/chunks/useCompanyCountryCode-ByMHnqxy.esm.js.map +1 -0
  404. package/dist/chunks/useCompanyCountryCode-DqloXwtG.js +35 -0
  405. package/dist/chunks/useCompanyCountryCode-DqloXwtG.js.map +1 -0
  406. package/dist/chunks/useDataFetcher-Cq-WKcll.js +79 -0
  407. package/dist/chunks/useDataFetcher-Cq-WKcll.js.map +1 -0
  408. package/dist/chunks/useDataFetcher-DDlv9bYl.esm.js +80 -0
  409. package/dist/chunks/useDataFetcher-DDlv9bYl.esm.js.map +1 -0
  410. package/dist/chunks/useLangauge-DE_pDKAr.esm.js +49 -0
  411. package/dist/chunks/useLangauge-DE_pDKAr.esm.js.map +1 -0
  412. package/dist/chunks/useLangauge-pT1jJDfy.js +48 -0
  413. package/dist/chunks/useLangauge-pT1jJDfy.js.map +1 -0
  414. package/dist/chunks/useReduxIntegration-Bh_3eVGW.js +38 -0
  415. package/dist/chunks/useReduxIntegration-Bh_3eVGW.js.map +1 -0
  416. package/dist/chunks/useReduxIntegration-DzUPNavJ.esm.js +39 -0
  417. package/dist/chunks/useReduxIntegration-DzUPNavJ.esm.js.map +1 -0
  418. package/dist/chunks/useSetDefaultConfig-BD1RgDdR.js +100 -0
  419. package/dist/chunks/useSetDefaultConfig-BD1RgDdR.js.map +1 -0
  420. package/dist/chunks/useSetDefaultConfig-DYgXuA-O.esm.js +101 -0
  421. package/dist/chunks/useSetDefaultConfig-DYgXuA-O.esm.js.map +1 -0
  422. package/dist/chunks/useUniquenessCheck-CpUWTYur.esm.js +39 -0
  423. package/dist/chunks/useUniquenessCheck-CpUWTYur.esm.js.map +1 -0
  424. package/dist/chunks/user-menu-C4Ud-8Q3.js +104 -0
  425. package/dist/chunks/user-menu-C4Ud-8Q3.js.map +1 -0
  426. package/dist/chunks/user-menu-jAjQfkq3.esm.js +105 -0
  427. package/dist/chunks/user-menu-jAjQfkq3.esm.js.map +1 -0
  428. package/dist/chunks/value-editor-Be7rTjjR.esm.js +137 -0
  429. package/dist/chunks/value-editor-Be7rTjjR.esm.js.map +1 -0
  430. package/dist/chunks/value-editor-DX-JwgIC.js +136 -0
  431. package/dist/chunks/value-editor-DX-JwgIC.js.map +1 -0
  432. package/dist/components/ERPUIProvider/index.esm.js +1 -1
  433. package/dist/components/ERPUIProvider/index.js +1 -1
  434. package/dist/components/FORMS/index.esm.js +1 -1
  435. package/dist/components/FORMS/index.js +1 -1
  436. package/dist/components/action-bar/action-bar/index.esm.js +1 -1
  437. package/dist/components/action-bar/action-bar/index.js +1 -1
  438. package/dist/components/action-bar/index.esm.js +1 -1
  439. package/dist/components/action-bar/index.js +1 -1
  440. package/dist/components/activity-tag/activity-tag/index.esm.js +1 -1
  441. package/dist/components/activity-tag/activity-tag/index.js +1 -1
  442. package/dist/components/activity-tag/index.esm.js +1 -1
  443. package/dist/components/activity-tag/index.js +1 -1
  444. package/dist/components/address-modal/index.esm.js +1 -1
  445. package/dist/components/address-modal/index.js +1 -1
  446. package/dist/components/ai-summary/ai-summary/index.esm.js +1 -1
  447. package/dist/components/ai-summary/index.esm.js +1 -1
  448. package/dist/components/appbar/appbar/index.esm.js +1 -1
  449. package/dist/components/appbar/appbar/index.js +1 -1
  450. package/dist/components/appbar/index.esm.js +1 -1
  451. package/dist/components/appbar/index.js +1 -1
  452. package/dist/components/approval-wrapper/approval-wrapper/index.esm.js +1 -1
  453. package/dist/components/approval-wrapper/approval-wrapper/index.js +1 -1
  454. package/dist/components/approval-wrapper/index.esm.js +1 -1
  455. package/dist/components/approval-wrapper/index.js +1 -1
  456. package/dist/components/calculation-summary/calculation-summary/index.esm.js +1 -1
  457. package/dist/components/calculation-summary/calculation-summary/index.js +1 -1
  458. package/dist/components/calculation-summary/index.esm.js +1 -1
  459. package/dist/components/calculation-summary/index.js +1 -1
  460. package/dist/components/change-user-password-modal/change-user-password-modal/index.esm.js +1 -1
  461. package/dist/components/change-user-password-modal/change-user-password-modal/index.js +1 -1
  462. package/dist/components/change-user-password-modal/index.esm.js +1 -1
  463. package/dist/components/change-user-password-modal/index.js +1 -1
  464. package/dist/components/charts/donutChart/DonutChart/index.esm.js +1 -1
  465. package/dist/components/charts/donutChart/DonutChart/index.js +1 -1
  466. package/dist/components/charts/donutChart/index.esm.js +1 -1
  467. package/dist/components/charts/donutChart/index.js +1 -1
  468. package/dist/components/charts/groupBarChart/GroupBarChart/index.esm.js +1 -1
  469. package/dist/components/charts/groupBarChart/GroupBarChart/index.js +1 -1
  470. package/dist/components/charts/groupBarChart/index.esm.js +1 -1
  471. package/dist/components/charts/groupBarChart/index.js +1 -1
  472. package/dist/components/charts/index.esm.js +2 -2
  473. package/dist/components/charts/index.js +2 -2
  474. package/dist/components/chat-bot/index.esm.js +1 -1
  475. package/dist/components/chat-bot/index.js +1 -1
  476. package/dist/components/checkbox/index.esm.js +1 -1
  477. package/dist/components/checkbox/index.js +1 -1
  478. package/dist/components/confirm-modal/confirm-modal/index.esm.js +1 -1
  479. package/dist/components/confirm-modal/confirm-modal/index.js +1 -1
  480. package/dist/components/confirm-modal/index.esm.js +1 -1
  481. package/dist/components/confirm-modal/index.js +1 -1
  482. package/dist/components/contact-modal/index.esm.js +1 -1
  483. package/dist/components/contact-modal/index.js +1 -1
  484. package/dist/components/custom-forms/FORMS/index.esm.js +1 -1
  485. package/dist/components/custom-forms/FORMS/index.js +1 -1
  486. package/dist/components/custom-forms/grid-view/grid-view/index.esm.js +1 -1
  487. package/dist/components/custom-forms/grid-view/index.esm.js +1 -1
  488. package/dist/components/custom-forms/index.esm.js +2 -2
  489. package/dist/components/custom-forms/index.js +1 -1
  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/department-add-modal/index.esm.js +1 -1
  495. package/dist/components/department-add-modal/index.js +1 -1
  496. package/dist/components/designation-add-modal/index.esm.js +1 -1
  497. package/dist/components/designation-add-modal/index.js +1 -1
  498. package/dist/components/donutChart/index.esm.js +1 -1
  499. package/dist/components/donutChart/index.js +1 -1
  500. package/dist/components/dropdown-button/dropdown-button/index.esm.js +1 -1
  501. package/dist/components/dropdown-button/dropdown-button/index.js +1 -1
  502. package/dist/components/dropdown-button/index.esm.js +1 -1
  503. package/dist/components/dropdown-button/index.js +1 -1
  504. package/dist/components/dynamic-layout-wrapper/dynamic-layout-wrapper/index.esm.js +1 -1
  505. package/dist/components/dynamic-layout-wrapper/dynamic-layout-wrapper/index.js +1 -1
  506. package/dist/components/dynamic-layout-wrapper/index.esm.js +1 -1
  507. package/dist/components/dynamic-layout-wrapper/index.js +1 -1
  508. package/dist/components/dynamic-select/index.esm.js +1 -1
  509. package/dist/components/dynamic-select/index.js +1 -1
  510. package/dist/components/editor/custom-editor/index.esm.js +1 -1
  511. package/dist/components/editor/index.esm.js +1 -1
  512. package/dist/components/examples/FlexibleReduxExample/index.esm.js +1 -1
  513. package/dist/components/examples/FlexibleReduxExample/index.js +1 -1
  514. package/dist/components/examples/index.esm.js +1 -1
  515. package/dist/components/examples/index.js +1 -1
  516. package/dist/components/expandable-summary-wrapper/expandable-summary-wrapper/index.esm.js +1 -1
  517. package/dist/components/expandable-summary-wrapper/expandable-summary-wrapper/index.js +1 -1
  518. package/dist/components/expandable-summary-wrapper/index.esm.js +1 -1
  519. package/dist/components/expandable-summary-wrapper/index.js +1 -1
  520. package/dist/components/filter/components/index.esm.js +2 -2
  521. package/dist/components/filter/components/index.js +2 -2
  522. package/dist/components/filter/components/remove-action/index.esm.js +1 -1
  523. package/dist/components/filter/components/remove-action/index.js +1 -1
  524. package/dist/components/filter/components/value-editor/index.esm.js +1 -1
  525. package/dist/components/filter/components/value-editor/index.js +1 -1
  526. package/dist/components/filter/filter/index.esm.js +1 -1
  527. package/dist/components/filter/filter/index.js +1 -1
  528. package/dist/components/filter/index.esm.js +3 -3
  529. package/dist/components/filter/index.js +3 -3
  530. package/dist/components/footer/footer/index.esm.js +1 -1
  531. package/dist/components/footer/footer/index.js +1 -1
  532. package/dist/components/footer/index.esm.js +1 -1
  533. package/dist/components/footer/index.js +1 -1
  534. package/dist/components/form-builder-element/index.esm.js +9 -9
  535. package/dist/components/form-builder-element/index.js +7 -7
  536. package/dist/components/form-control/form-builder/form-builder-element/checkbox/index.esm.js +1 -1
  537. package/dist/components/form-control/form-builder/form-builder-element/checkbox/index.js +1 -1
  538. package/dist/components/form-control/form-builder/form-builder-element/date-range-picker/index.esm.js +1 -1
  539. package/dist/components/form-control/form-builder/form-builder-element/date-range-picker/index.js +1 -1
  540. package/dist/components/form-control/form-builder/form-builder-element/dynamic-dependent-field/index.esm.js +1 -1
  541. package/dist/components/form-control/form-builder/form-builder-element/dynamic-dependent-field/index.js +1 -1
  542. package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.esm.js +1 -1
  543. package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.js +1 -1
  544. package/dist/components/form-control/form-builder/form-builder-element/dynamic-text-editor/index.esm.js +1 -1
  545. package/dist/components/form-control/form-builder/form-builder-element/fixed-asset-item-add-modal/index.esm.js +1 -1
  546. package/dist/components/form-control/form-builder/form-builder-element/fixed-asset-item-add-modal/index.js +1 -1
  547. package/dist/components/form-control/form-builder/form-builder-element/index.esm.js +9 -9
  548. package/dist/components/form-control/form-builder/form-builder-element/index.js +7 -7
  549. package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/index.esm.js +1 -1
  550. package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/index.js +1 -1
  551. package/dist/components/form-control/form-builder/form-builder-element/phone/index.esm.js +1 -1
  552. package/dist/components/form-control/form-builder/form-builder-element/phone/index.js +1 -1
  553. package/dist/components/form-control/form-builder/form-builder-element/select-configuration/index.esm.js +1 -1
  554. package/dist/components/form-control/form-builder/form-builder-element/select-configuration/index.js +1 -1
  555. package/dist/components/form-control/form-builder/form-builder-element/table/index.esm.js +1 -1
  556. package/dist/components/form-control/form-builder/form-builder-element/table/index.js +1 -1
  557. package/dist/components/form-control/form-builder/form-builder-element/toggle-button/index.esm.js +1 -1
  558. package/dist/components/form-control/form-builder/form-builder-element/toggle-button/index.js +1 -1
  559. package/dist/components/form-control/form-builder/index.esm.js +9 -9
  560. package/dist/components/form-control/form-builder/index.js +7 -7
  561. package/dist/components/form-control/form-parser/form-parser/index.esm.js +1 -1
  562. package/dist/components/form-control/form-parser/form-parser/index.js +1 -1
  563. package/dist/components/form-control/form-parser/form-section/index.esm.js +1 -1
  564. package/dist/components/form-control/form-parser/form-section/index.js +1 -1
  565. package/dist/components/form-control/form-parser/index.esm.js +2 -2
  566. package/dist/components/form-control/form-parser/index.js +2 -2
  567. package/dist/components/form-control/index.esm.js +11 -11
  568. package/dist/components/form-control/index.js +9 -9
  569. package/dist/components/form-parser/index.esm.js +1 -1
  570. package/dist/components/form-parser/index.js +1 -1
  571. package/dist/components/groupBarChart/index.esm.js +1 -1
  572. package/dist/components/groupBarChart/index.js +1 -1
  573. package/dist/components/header/components/global-search/index.esm.js +1 -1
  574. package/dist/components/header/components/index.esm.js +2 -2
  575. package/dist/components/header/components/index.js +1 -1
  576. package/dist/components/header/components/language-switch/index.esm.js +1 -1
  577. package/dist/components/header/components/language-switch/index.js +1 -1
  578. package/dist/components/header/components/notification-menu/index.esm.js +1 -1
  579. package/dist/components/header/components/notification-menu/notification-menu/index.esm.js +1 -1
  580. package/dist/components/header/components/user-menu/index.esm.js +1 -1
  581. package/dist/components/header/components/user-menu/index.js +1 -1
  582. package/dist/components/header/header/index.esm.js +1 -1
  583. package/dist/components/header/header/index.js +1 -1
  584. package/dist/components/header/header-enhanced/index.esm.js +1 -1
  585. package/dist/components/header/header-enhanced/index.js +1 -1
  586. package/dist/components/header/index.esm.js +6 -6
  587. package/dist/components/header/index.js +3 -3
  588. package/dist/components/header/redux/actionCreator/index.esm.js +1 -1
  589. package/dist/components/header/redux/index.esm.js +2 -2
  590. package/dist/components/header/redux/reducer/index.esm.js +1 -1
  591. package/dist/components/index.esm.js +60 -60
  592. package/dist/components/index.js +53 -53
  593. package/dist/components/inventory-reports-title-bar/component/index.esm.js +1 -1
  594. package/dist/components/inventory-reports-title-bar/component/index.js +1 -1
  595. package/dist/components/inventory-reports-title-bar/component/reportFilter/index.esm.js +1 -1
  596. package/dist/components/inventory-reports-title-bar/component/reportFilter/index.js +1 -1
  597. package/dist/components/inventory-reports-title-bar/index.esm.js +5 -5
  598. package/dist/components/inventory-reports-title-bar/index.js +3 -3
  599. package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.esm.js +1 -1
  600. package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.js +1 -1
  601. package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.esm.js +1 -1
  602. package/dist/components/inventory-reports-title-bar/redux/index.esm.js +2 -2
  603. package/dist/components/inventory-reports-title-bar/redux/reducer/index.esm.js +1 -1
  604. package/dist/components/inventory-reports-title-bar/report-buttons/index.esm.js +1 -1
  605. package/dist/components/inventory-reports-title-bar/report-buttons/index.js +1 -1
  606. package/dist/components/inventory-reports-title-bar/report-buttons/report-buttons/index.esm.js +1 -1
  607. package/dist/components/inventory-reports-title-bar/report-buttons/report-buttons/index.js +1 -1
  608. package/dist/components/journal-type-add-modal/index.esm.js +1 -1
  609. package/dist/components/journal-type-add-modal/index.js +1 -1
  610. package/dist/components/listing/index.esm.js +1 -1
  611. package/dist/components/listing/index.js +1 -1
  612. package/dist/components/listing/listing/index.esm.js +1 -1
  613. package/dist/components/listing/listing/index.js +1 -1
  614. package/dist/components/location-select/index.esm.js +1 -1
  615. package/dist/components/location-select/index.js +1 -1
  616. package/dist/components/material-editable-table/components/index.esm.js +1 -1
  617. package/dist/components/material-editable-table/components/index.js +1 -1
  618. package/dist/components/material-editable-table/components/inline-edit-fields/index.esm.js +1 -1
  619. package/dist/components/material-editable-table/components/inline-edit-fields/index.js +1 -1
  620. package/dist/components/material-editable-table/index.esm.js +2 -2
  621. package/dist/components/material-editable-table/index.js +2 -2
  622. package/dist/components/material-editable-table/material-editable-table/index.esm.js +1 -1
  623. package/dist/components/material-editable-table/material-editable-table/index.js +1 -1
  624. package/dist/components/material-table/components/index.esm.js +1 -1
  625. package/dist/components/material-table/components/index.js +1 -1
  626. package/dist/components/material-table/components/inline-edit-fields/index.esm.js +1 -1
  627. package/dist/components/material-table/components/inline-edit-fields/index.js +1 -1
  628. package/dist/components/material-table/index.esm.js +1 -1
  629. package/dist/components/material-table/index.js +1 -1
  630. package/dist/components/material-table/material-table/index.esm.js +1 -1
  631. package/dist/components/material-table/material-table/index.js +1 -1
  632. package/dist/components/page-navigator/components/index.esm.js +1 -1
  633. package/dist/components/page-navigator/components/index.js +1 -1
  634. package/dist/components/page-navigator/components/page-action/index.esm.js +1 -1
  635. package/dist/components/page-navigator/components/page-action/index.js +1 -1
  636. package/dist/components/page-navigator/index.esm.js +2 -2
  637. package/dist/components/page-navigator/index.js +2 -2
  638. package/dist/components/page-navigator/page-navigator/index.esm.js +1 -1
  639. package/dist/components/page-navigator/page-navigator/index.js +1 -1
  640. package/dist/components/pagination/index.esm.js +1 -1
  641. package/dist/components/pagination/index.js +1 -1
  642. package/dist/components/pagination/pagination/index.esm.js +1 -1
  643. package/dist/components/pagination/pagination/index.js +1 -1
  644. package/dist/components/parties-modal/index.esm.js +1 -1
  645. package/dist/components/parties-modal/index.js +1 -1
  646. package/dist/components/parties-modal/parties-modal/index.esm.js +1 -1
  647. package/dist/components/parties-modal/parties-modal/index.js +1 -1
  648. package/dist/components/phone-input/index.esm.js +1 -1
  649. package/dist/components/phone-input/index.js +1 -1
  650. package/dist/components/phone-input/phone-input/index.esm.js +1 -1
  651. package/dist/components/phone-input/phone-input/index.js +1 -1
  652. package/dist/components/providers/ERPUIProvider/index.esm.js +1 -1
  653. package/dist/components/providers/ERPUIProvider/index.js +1 -1
  654. package/dist/components/providers/index.esm.js +1 -1
  655. package/dist/components/providers/index.js +1 -1
  656. package/dist/components/quick-approval-modal/index.esm.js +1 -1
  657. package/dist/components/quick-approval-modal/quick-approval-modal/index.esm.js +1 -1
  658. package/dist/components/report-buttons/index.esm.js +1 -1
  659. package/dist/components/report-buttons/index.js +1 -1
  660. package/dist/components/reports/dynamic-report/dynamic-report/index.esm.js +1 -1
  661. package/dist/components/reports/dynamic-report/dynamic-report/index.js +1 -1
  662. package/dist/components/reports/dynamic-report/dynamic-rows/index.esm.js +1 -1
  663. package/dist/components/reports/dynamic-report/dynamic-rows/index.js +1 -1
  664. package/dist/components/reports/dynamic-report/index.esm.js +2 -2
  665. package/dist/components/reports/dynamic-report/index.js +2 -2
  666. package/dist/components/reports/index.esm.js +2 -2
  667. package/dist/components/reports/index.js +2 -2
  668. package/dist/components/reports-title-bar/index.esm.js +4 -4
  669. package/dist/components/reports-title-bar/index.js +2 -2
  670. package/dist/components/reports-title-bar/redux/actionCreator/index.esm.js +1 -1
  671. package/dist/components/reports-title-bar/redux/index.esm.js +2 -2
  672. package/dist/components/reports-title-bar/redux/reducer/index.esm.js +1 -1
  673. package/dist/components/reports-title-bar/report-buttons/index.esm.js +1 -1
  674. package/dist/components/reports-title-bar/report-buttons/index.js +1 -1
  675. package/dist/components/reports-title-bar/report-buttons/report-buttons/index.esm.js +1 -1
  676. package/dist/components/reports-title-bar/report-buttons/report-buttons/index.js +1 -1
  677. package/dist/components/reports-title-bar/reports-title-bar/index.esm.js +1 -1
  678. package/dist/components/reports-title-bar/reports-title-bar/index.js +1 -1
  679. package/dist/components/reset-password-modal/index.esm.js +1 -1
  680. package/dist/components/reset-password-modal/index.js +1 -1
  681. package/dist/components/reset-password-modal/reset-password-modal/index.esm.js +1 -1
  682. package/dist/components/reset-password-modal/reset-password-modal/index.js +1 -1
  683. package/dist/components/rfq-response/index.esm.js +1 -1
  684. package/dist/components/rfq-response/index.js +1 -1
  685. package/dist/components/rfq-response/item-response-details/index.esm.js +1 -1
  686. package/dist/components/rfq-response/item-response-details/index.js +1 -1
  687. package/dist/components/schedule-report/index.esm.js +2 -2
  688. package/dist/components/schedule-report/index.js +2 -2
  689. package/dist/components/schedule-report/schedule-report/index.esm.js +1 -1
  690. package/dist/components/schedule-report/schedule-report/index.js +1 -1
  691. package/dist/components/schedule-report/schedule-report-modal/index.esm.js +1 -1
  692. package/dist/components/schedule-report/schedule-report-modal/index.js +1 -1
  693. package/dist/components/schedule-report/utils/common/index.esm.js +1 -1
  694. package/dist/components/schedule-report-modal/index.esm.js +1 -1
  695. package/dist/components/schedule-report-modal/index.js +1 -1
  696. package/dist/components/searchable-select/index.esm.js +1 -1
  697. package/dist/components/searchable-select/index.js +1 -1
  698. package/dist/components/share-modal/index.esm.js +4 -4
  699. package/dist/components/share-modal/index.js +2 -2
  700. package/dist/components/share-modal/redux/actionCreator/index.esm.js +1 -1
  701. package/dist/components/share-modal/redux/index.esm.js +2 -2
  702. package/dist/components/share-modal/redux/reducer/index.esm.js +1 -1
  703. package/dist/components/share-modal/share-modal/index.esm.js +1 -1
  704. package/dist/components/share-modal/share-modal/index.js +1 -1
  705. package/dist/components/share-modal/share-modal-enhanced/index.esm.js +1 -1
  706. package/dist/components/share-modal/share-modal-enhanced/index.js +1 -1
  707. package/dist/components/sidebar/index.esm.js +1 -1
  708. package/dist/components/sidebar/index.js +1 -1
  709. package/dist/components/sidebar/sidebar/index.esm.js +1 -1
  710. package/dist/components/sidebar/sidebar/index.js +1 -1
  711. package/dist/components/team-add-modal/index.esm.js +1 -1
  712. package/dist/components/team-add-modal/index.js +1 -1
  713. package/dist/components/toggle-switch/index.esm.js +1 -1
  714. package/dist/components/toggle-switch/index.js +1 -1
  715. package/dist/components/toggle-switch/toggle-switch/index.esm.js +1 -1
  716. package/dist/components/toggle-switch/toggle-switch/index.js +1 -1
  717. package/dist/components/uom-field-wrapper/index.esm.js +1 -1
  718. package/dist/components/uom-field-wrapper/index.js +1 -1
  719. package/dist/components/uom-field-wrapper/uom-field-wrapper/index.esm.js +1 -1
  720. package/dist/components/uom-field-wrapper/uom-field-wrapper/index.js +1 -1
  721. package/dist/components/upload-excel/index.esm.js +1 -1
  722. package/dist/components/upload-excel/upload-excel/index.esm.js +1 -1
  723. package/dist/contexts/AuthContext/index.esm.js +1 -1
  724. package/dist/contexts/AuthContext/index.js +1 -1
  725. package/dist/contexts/index.esm.js +3 -3
  726. package/dist/contexts/index.js +3 -3
  727. package/dist/contexts/languageContext/index.esm.js +2 -2
  728. package/dist/contexts/languageContext/index.js +1 -1
  729. package/dist/contexts/page-context/index.esm.js +1 -1
  730. package/dist/contexts/page-context/index.js +1 -1
  731. package/dist/hooks/common/index.esm.js +1 -1
  732. package/dist/hooks/common/index.js +1 -1
  733. package/dist/hooks/index.esm.js +10 -10
  734. package/dist/hooks/index.js +7 -7
  735. package/dist/hooks/use-pages/index.esm.js +1 -1
  736. package/dist/hooks/use-pages/index.js +1 -1
  737. package/dist/hooks/use-translations/index.esm.js +1 -1
  738. package/dist/hooks/use-translations/index.js +1 -1
  739. package/dist/hooks/useAccountSetting/index.esm.js +1 -1
  740. package/dist/hooks/useAuth/index.esm.js +1 -1
  741. package/dist/hooks/useAuth/index.js +1 -1
  742. package/dist/hooks/useAuth.d.ts +2 -3
  743. package/dist/hooks/useCheckSkuAndName/index.esm.js +1 -1
  744. package/dist/hooks/useCompanyCountryCode/index.esm.js +1 -1
  745. package/dist/hooks/useCompanyCountryCode/index.js +1 -1
  746. package/dist/hooks/useDataFetcher/index.esm.js +1 -1
  747. package/dist/hooks/useDataFetcher/index.js +1 -1
  748. package/dist/hooks/useLangauge/index.esm.js +1 -1
  749. package/dist/hooks/useLangauge/index.js +1 -1
  750. package/dist/hooks/useReduxIntegration/index.esm.js +1 -1
  751. package/dist/hooks/useReduxIntegration/index.js +1 -1
  752. package/dist/hooks/useSetDefaultConfig/index.esm.js +1 -1
  753. package/dist/hooks/useSetDefaultConfig/index.js +1 -1
  754. package/dist/hooks/useUniquenessCheck/index.esm.js +1 -1
  755. package/dist/icons/index.esm.js +1 -1
  756. package/dist/icons/index.js +1 -1
  757. package/dist/icons/three-dot-icon/index.esm.js +1 -1
  758. package/dist/icons/three-dot-icon/index.js +1 -1
  759. package/dist/index.esm.js +100 -100
  760. package/dist/index.js +79 -79
  761. package/dist/layout/fullScreen/fullScreen/index.esm.js +1 -1
  762. package/dist/layout/fullScreen/fullScreen/index.js +1 -1
  763. package/dist/layout/fullScreen/index.esm.js +1 -1
  764. package/dist/layout/fullScreen/index.js +1 -1
  765. package/dist/layout/index.esm.js +2 -2
  766. package/dist/layout/index.js +2 -2
  767. package/dist/layout/sidebarScreen/index.esm.js +1 -1
  768. package/dist/layout/sidebarScreen/index.js +1 -1
  769. package/dist/layout/sidebarScreen/sidebarScreen/index.esm.js +1 -1
  770. package/dist/layout/sidebarScreen/sidebarScreen/index.js +1 -1
  771. package/dist/redux/actionCreator/index.esm.js +1 -1
  772. package/dist/redux/index.esm.js +3 -3
  773. package/dist/redux/module-reducer/index.esm.js +1 -1
  774. package/dist/redux/store/index.esm.js +1 -1
  775. package/dist/runtime/index.esm.js +5 -5
  776. package/dist/runtime/index.js +5 -5
  777. package/dist/utils/api/index.esm.js +1 -1
  778. package/dist/utils/api-config/index.esm.js +6 -0
  779. package/dist/utils/api-config/index.esm.js.map +1 -1
  780. package/dist/utils/api-config/index.js +6 -0
  781. package/dist/utils/api-config/index.js.map +1 -1
  782. package/dist/utils/api-config.d.ts +3 -3
  783. package/dist/utils/common/index.esm.js +1 -1
  784. package/dist/utils/common-utility/index.esm.js +1 -1
  785. package/dist/utils/common-utility/index.js +1 -1
  786. package/dist/utils/i18n/index.esm.js +1 -1
  787. package/dist/utils/i18n/index.js +1 -1
  788. package/dist/utils/index.esm.js +9 -9
  789. package/dist/utils/index.js +3 -3
  790. package/dist/utils/server/index.esm.js +2 -2
  791. package/dist/utils/text-measurement/index.esm.js +1 -1
  792. package/dist/utils/translations/index.esm.js +1 -1
  793. package/dist/utils/translations/index.js +1 -1
  794. package/dist/views/afterAuth/dashboard/index.esm.js +1 -1
  795. package/dist/views/afterAuth/dashboard/index.js +1 -1
  796. package/dist/views/afterAuth/index.esm.js +2 -2
  797. package/dist/views/afterAuth/index.js +2 -2
  798. package/dist/views/afterAuth/page-view/index.esm.js +1 -1
  799. package/dist/views/afterAuth/page-view/index.js +1 -1
  800. package/dist/views/beforeAuth/change-password/index.esm.js +1 -1
  801. package/dist/views/beforeAuth/change-password/index.js +1 -1
  802. package/dist/views/beforeAuth/forgot-password/index.esm.js +1 -1
  803. package/dist/views/beforeAuth/forgot-password/index.js +1 -1
  804. package/dist/views/beforeAuth/index.esm.js +3 -3
  805. package/dist/views/beforeAuth/index.js +3 -3
  806. package/dist/views/beforeAuth/login/index.esm.js +2 -2
  807. package/dist/views/beforeAuth/login/index.js +2 -2
  808. package/dist/views/beforeAuth/reset-password/index.esm.js +1 -1
  809. package/dist/views/beforeAuth/reset-password/index.js +1 -1
  810. package/dist/views/custom-form/index.esm.js +1 -1
  811. package/dist/views/custom-form/index.js +1 -1
  812. package/dist/views/form-builder/custom-form/index.esm.js +1 -1
  813. package/dist/views/form-builder/custom-form/index.js +1 -1
  814. package/dist/views/form-builder/element-edit-forms/index.esm.js +1 -1
  815. package/dist/views/form-builder/form-fields/index.esm.js +1 -1
  816. package/dist/views/form-builder/form-fields/index.js +1 -1
  817. package/dist/views/form-builder/index.esm.js +4 -4
  818. package/dist/views/form-builder/index.js +2 -2
  819. package/dist/views/form-builder/redux/index.esm.js +1 -1
  820. package/dist/views/index.esm.js +18 -18
  821. package/dist/views/index.js +14 -14
  822. package/dist/views/privateRoute/index.esm.js +1 -1
  823. package/dist/views/privateRoute/index.js +1 -1
  824. package/dist/views/routes/index.esm.js +1 -1
  825. package/dist/views/routes/index.js +1 -1
  826. package/dist/views/template-editor/add-template/index.esm.js +1 -1
  827. package/dist/views/template-editor/add-template/index.js +1 -1
  828. package/dist/views/template-editor/components/index.esm.js +1 -1
  829. package/dist/views/template-editor/components/index.js +1 -1
  830. package/dist/views/template-editor/edit-section-modal/index.esm.js +1 -1
  831. package/dist/views/template-editor/index.esm.js +8 -8
  832. package/dist/views/template-editor/index.js +6 -6
  833. package/dist/views/template-editor/routes/index.esm.js +1 -1
  834. package/dist/views/template-editor/routes/index.js +1 -1
  835. package/dist/views/template-editor/template-editor-router/index.esm.js +1 -1
  836. package/dist/views/template-editor/template-editor-router/index.js +1 -1
  837. package/dist/views/template-editor/template-modal/index.esm.js +1 -1
  838. package/dist/views/template-editor/template-modal/index.js +1 -1
  839. package/dist/views/template-editor/template-name-modal/index.esm.js +1 -1
  840. package/dist/views/template-editor/templates/index.esm.js +1 -1
  841. package/dist/views/template-editor/templates/index.js +1 -1
  842. package/package.json +2 -2
  843. package/dist/chunks/AuthContext-Bqy3zlq_.js +0 -305
  844. package/dist/chunks/AuthContext-Bqy3zlq_.js.map +0 -1
  845. package/dist/chunks/AuthContext-eGXp567d.esm.js +0 -306
  846. package/dist/chunks/AuthContext-eGXp567d.esm.js.map +0 -1
  847. package/dist/chunks/DonutChart-9GlP0tGi.esm.js +0 -95
  848. package/dist/chunks/DonutChart-9GlP0tGi.esm.js.map +0 -1
  849. package/dist/chunks/DonutChart-BamIDLHj.js +0 -111
  850. package/dist/chunks/DonutChart-BamIDLHj.js.map +0 -1
  851. package/dist/chunks/DynamicDependentField-DM-pXiRb.esm.js +0 -128
  852. package/dist/chunks/DynamicDependentField-DM-pXiRb.esm.js.map +0 -1
  853. package/dist/chunks/DynamicDependentField-RWjHJa1S.js +0 -127
  854. package/dist/chunks/DynamicDependentField-RWjHJa1S.js.map +0 -1
  855. package/dist/chunks/DynamicSearchInput-xvamctT5.esm.js +0 -195
  856. package/dist/chunks/DynamicSearchInput-xvamctT5.esm.js.map +0 -1
  857. package/dist/chunks/ERPUIProvider-CcbU8Jhs.esm.js +0 -133
  858. package/dist/chunks/ERPUIProvider-CcbU8Jhs.esm.js.map +0 -1
  859. package/dist/chunks/ERPUIProvider-CkA346Bx.js +0 -132
  860. package/dist/chunks/ERPUIProvider-CkA346Bx.js.map +0 -1
  861. package/dist/chunks/FORMS-6k86P7kx.esm.js +0 -296
  862. package/dist/chunks/FORMS-6k86P7kx.esm.js.map +0 -1
  863. package/dist/chunks/FORMS-BOxezXrE.js +0 -295
  864. package/dist/chunks/FORMS-BOxezXrE.js.map +0 -1
  865. package/dist/chunks/FlexibleReduxExample-BU7eNVSq.js +0 -148
  866. package/dist/chunks/FlexibleReduxExample-BU7eNVSq.js.map +0 -1
  867. package/dist/chunks/FlexibleReduxExample-BV7TsUhl.esm.js +0 -149
  868. package/dist/chunks/FlexibleReduxExample-BV7TsUhl.esm.js.map +0 -1
  869. package/dist/chunks/GroupBarChart-dsNa125r.js +0 -103
  870. package/dist/chunks/GroupBarChart-dsNa125r.js.map +0 -1
  871. package/dist/chunks/GroupBarChart-jsNqFjC-.esm.js +0 -87
  872. package/dist/chunks/GroupBarChart-jsNqFjC-.esm.js.map +0 -1
  873. package/dist/chunks/SectionFlowEditor-DvnZFi2e.js +0 -5460
  874. package/dist/chunks/SectionFlowEditor-DvnZFi2e.js.map +0 -1
  875. package/dist/chunks/SectionFlowEditor-Ehnll99q.esm.js +0 -5461
  876. package/dist/chunks/SectionFlowEditor-Ehnll99q.esm.js.map +0 -1
  877. package/dist/chunks/action-bar-BE-TNuCe.esm.js +0 -637
  878. package/dist/chunks/action-bar-BE-TNuCe.esm.js.map +0 -1
  879. package/dist/chunks/action-bar-CP01wien.js +0 -636
  880. package/dist/chunks/action-bar-CP01wien.js.map +0 -1
  881. package/dist/chunks/actionCreator-BlBxlh2l.esm.js +0 -28
  882. package/dist/chunks/actionCreator-BlBxlh2l.esm.js.map +0 -1
  883. package/dist/chunks/actionCreator-CHUmAB4_.esm.js +0 -14
  884. package/dist/chunks/actionCreator-CHUmAB4_.esm.js.map +0 -1
  885. package/dist/chunks/actionCreator-DCgwFst3.esm.js +0 -80
  886. package/dist/chunks/actionCreator-DCgwFst3.esm.js.map +0 -1
  887. package/dist/chunks/actionCreator-DzPzUn_7.esm.js +0 -94
  888. package/dist/chunks/actionCreator-DzPzUn_7.esm.js.map +0 -1
  889. package/dist/chunks/actionCreator-RfaAAG4X.esm.js +0 -22
  890. package/dist/chunks/actionCreator-RfaAAG4X.esm.js.map +0 -1
  891. package/dist/chunks/activity-tag-B_HyUR6v.js +0 -151
  892. package/dist/chunks/activity-tag-B_HyUR6v.js.map +0 -1
  893. package/dist/chunks/activity-tag-Bl99UBhT.esm.js +0 -152
  894. package/dist/chunks/activity-tag-Bl99UBhT.esm.js.map +0 -1
  895. package/dist/chunks/add-template-BMXnJyg4.esm.js +0 -11
  896. package/dist/chunks/add-template-BMXnJyg4.esm.js.map +0 -1
  897. package/dist/chunks/add-template-Cuwv_toK.js +0 -10
  898. package/dist/chunks/add-template-Cuwv_toK.js.map +0 -1
  899. package/dist/chunks/address-modal-CHBvA7Wz.js +0 -687
  900. package/dist/chunks/address-modal-CHBvA7Wz.js.map +0 -1
  901. package/dist/chunks/address-modal-DTm-EnU1.esm.js +0 -671
  902. package/dist/chunks/address-modal-DTm-EnU1.esm.js.map +0 -1
  903. package/dist/chunks/ai-summary-CxtEHJw9.esm.js +0 -351
  904. package/dist/chunks/ai-summary-CxtEHJw9.esm.js.map +0 -1
  905. package/dist/chunks/api-C4WZctJf.esm.js +0 -4682
  906. package/dist/chunks/api-C4WZctJf.esm.js.map +0 -1
  907. package/dist/chunks/api-Csn_qx_a.esm.js +0 -2219
  908. package/dist/chunks/api-Csn_qx_a.esm.js.map +0 -1
  909. package/dist/chunks/appbar-BSjQ7IAj.js +0 -56
  910. package/dist/chunks/appbar-BSjQ7IAj.js.map +0 -1
  911. package/dist/chunks/appbar-CIbFF779.esm.js +0 -57
  912. package/dist/chunks/appbar-CIbFF779.esm.js.map +0 -1
  913. package/dist/chunks/approval-wrapper-CAjch4Mf.js +0 -139
  914. package/dist/chunks/approval-wrapper-CAjch4Mf.js.map +0 -1
  915. package/dist/chunks/approval-wrapper-DmB_NzBg.esm.js +0 -140
  916. package/dist/chunks/approval-wrapper-DmB_NzBg.esm.js.map +0 -1
  917. package/dist/chunks/calculation-summary-DmM2nsnY.esm.js +0 -174
  918. package/dist/chunks/calculation-summary-DmM2nsnY.esm.js.map +0 -1
  919. package/dist/chunks/calculation-summary-K2rC_toI.js +0 -173
  920. package/dist/chunks/calculation-summary-K2rC_toI.js.map +0 -1
  921. package/dist/chunks/change-password-ABSrNtI8.esm.js +0 -183
  922. package/dist/chunks/change-password-ABSrNtI8.esm.js.map +0 -1
  923. package/dist/chunks/change-password-DkeDrR5Y.js +0 -199
  924. package/dist/chunks/change-password-DkeDrR5Y.js.map +0 -1
  925. package/dist/chunks/change-user-password-modal-BytpWtdj.esm.js +0 -119
  926. package/dist/chunks/change-user-password-modal-BytpWtdj.esm.js.map +0 -1
  927. package/dist/chunks/change-user-password-modal-IAsUvfpF.js +0 -135
  928. package/dist/chunks/change-user-password-modal-IAsUvfpF.js.map +0 -1
  929. package/dist/chunks/chat-bot-B9wlHU4B.js +0 -1830
  930. package/dist/chunks/chat-bot-B9wlHU4B.js.map +0 -1
  931. package/dist/chunks/chat-bot-DBwAlw7T.esm.js +0 -1831
  932. package/dist/chunks/chat-bot-DBwAlw7T.esm.js.map +0 -1
  933. package/dist/chunks/checkbox-BVkAOFmt.js +0 -82
  934. package/dist/chunks/checkbox-BVkAOFmt.js.map +0 -1
  935. package/dist/chunks/checkbox-CKDbaXzi.esm.js +0 -83
  936. package/dist/chunks/checkbox-CKDbaXzi.esm.js.map +0 -1
  937. package/dist/chunks/common-CmnUWtgz.esm.js +0 -183
  938. package/dist/chunks/common-CmnUWtgz.esm.js.map +0 -1
  939. package/dist/chunks/common-DoIQU98P.js +0 -182
  940. package/dist/chunks/common-DoIQU98P.js.map +0 -1
  941. package/dist/chunks/common-utility-DVezzQMe.js +0 -305
  942. package/dist/chunks/common-utility-DVezzQMe.js.map +0 -1
  943. package/dist/chunks/common-utility-ppCGJWGv.esm.js +0 -305
  944. package/dist/chunks/common-utility-ppCGJWGv.esm.js.map +0 -1
  945. package/dist/chunks/confirm-modal-BHn6ByuG.js +0 -97
  946. package/dist/chunks/confirm-modal-BHn6ByuG.js.map +0 -1
  947. package/dist/chunks/confirm-modal-CQFU3pec.esm.js +0 -98
  948. package/dist/chunks/confirm-modal-CQFU3pec.esm.js.map +0 -1
  949. package/dist/chunks/contact-modal-BVzokAWh.js +0 -185
  950. package/dist/chunks/contact-modal-BVzokAWh.js.map +0 -1
  951. package/dist/chunks/contact-modal-Bh1hsSUl.esm.js +0 -169
  952. package/dist/chunks/contact-modal-Bh1hsSUl.esm.js.map +0 -1
  953. package/dist/chunks/custom-editor-CAcqS40E.esm.js +0 -1257
  954. package/dist/chunks/custom-editor-CAcqS40E.esm.js.map +0 -1
  955. package/dist/chunks/custom-form-BKan6xKs.js +0 -1145
  956. package/dist/chunks/custom-form-BKan6xKs.js.map +0 -1
  957. package/dist/chunks/custom-form-M2yaxAU-.esm.js +0 -1146
  958. package/dist/chunks/custom-form-M2yaxAU-.esm.js.map +0 -1
  959. package/dist/chunks/dashboard-BLIoRhZz.js +0 -74
  960. package/dist/chunks/dashboard-BLIoRhZz.js.map +0 -1
  961. package/dist/chunks/dashboard-DaAOQfw-.esm.js +0 -75
  962. package/dist/chunks/dashboard-DaAOQfw-.esm.js.map +0 -1
  963. package/dist/chunks/date-range-picker-BrBrrpNr.esm.js +0 -160
  964. package/dist/chunks/date-range-picker-BrBrrpNr.esm.js.map +0 -1
  965. package/dist/chunks/date-range-picker-C_1ZpdRG.js +0 -61
  966. package/dist/chunks/date-range-picker-C_1ZpdRG.js.map +0 -1
  967. package/dist/chunks/date-range-picker-CvtalCUN.js +0 -159
  968. package/dist/chunks/date-range-picker-CvtalCUN.js.map +0 -1
  969. package/dist/chunks/date-range-picker-DKQsu_dk.esm.js +0 -62
  970. package/dist/chunks/date-range-picker-DKQsu_dk.esm.js.map +0 -1
  971. package/dist/chunks/dropdown-button-5Yq1wX-f.esm.js +0 -146
  972. package/dist/chunks/dropdown-button-5Yq1wX-f.esm.js.map +0 -1
  973. package/dist/chunks/dropdown-button-CGrcSsw4.js +0 -162
  974. package/dist/chunks/dropdown-button-CGrcSsw4.js.map +0 -1
  975. package/dist/chunks/dynamic-layout-wrapper-D0MlkFpa.js +0 -228
  976. package/dist/chunks/dynamic-layout-wrapper-D0MlkFpa.js.map +0 -1
  977. package/dist/chunks/dynamic-layout-wrapper-DvYlPKbc.esm.js +0 -229
  978. package/dist/chunks/dynamic-layout-wrapper-DvYlPKbc.esm.js.map +0 -1
  979. package/dist/chunks/dynamic-report-BfUbkDtu.esm.js +0 -589
  980. package/dist/chunks/dynamic-report-BfUbkDtu.esm.js.map +0 -1
  981. package/dist/chunks/dynamic-report-DBxqcE2b.js +0 -588
  982. package/dist/chunks/dynamic-report-DBxqcE2b.js.map +0 -1
  983. package/dist/chunks/dynamic-rows-B_dhcWuK.js +0 -249
  984. package/dist/chunks/dynamic-rows-B_dhcWuK.js.map +0 -1
  985. package/dist/chunks/dynamic-rows-Ey-yitNr.esm.js +0 -250
  986. package/dist/chunks/dynamic-rows-Ey-yitNr.esm.js.map +0 -1
  987. package/dist/chunks/dynamic-text-editor-GWbqgyUt.esm.js +0 -45
  988. package/dist/chunks/dynamic-text-editor-GWbqgyUt.esm.js.map +0 -1
  989. package/dist/chunks/edit-section-modal-CeBTvtMV.esm.js +0 -80
  990. package/dist/chunks/edit-section-modal-CeBTvtMV.esm.js.map +0 -1
  991. package/dist/chunks/expandable-summary-wrapper-CT8lYwm1.js +0 -241
  992. package/dist/chunks/expandable-summary-wrapper-CT8lYwm1.js.map +0 -1
  993. package/dist/chunks/expandable-summary-wrapper-z6v-k0wd.esm.js +0 -242
  994. package/dist/chunks/expandable-summary-wrapper-z6v-k0wd.esm.js.map +0 -1
  995. package/dist/chunks/filter-CvPa_POj.esm.js +0 -410
  996. package/dist/chunks/filter-CvPa_POj.esm.js.map +0 -1
  997. package/dist/chunks/filter-ZNZbXdD7.js +0 -409
  998. package/dist/chunks/filter-ZNZbXdD7.js.map +0 -1
  999. package/dist/chunks/footer-BZJkANB2.esm.js +0 -64
  1000. package/dist/chunks/footer-BZJkANB2.esm.js.map +0 -1
  1001. package/dist/chunks/footer-DO0bhJxT.js +0 -63
  1002. package/dist/chunks/footer-DO0bhJxT.js.map +0 -1
  1003. package/dist/chunks/forgot-password-DR1x4IbJ.esm.js +0 -178
  1004. package/dist/chunks/forgot-password-DR1x4IbJ.esm.js.map +0 -1
  1005. package/dist/chunks/forgot-password-su6siPVc.js +0 -194
  1006. package/dist/chunks/forgot-password-su6siPVc.js.map +0 -1
  1007. package/dist/chunks/form-fields-BC-5qhhm.esm.js +0 -355
  1008. package/dist/chunks/form-fields-BC-5qhhm.esm.js.map +0 -1
  1009. package/dist/chunks/form-fields-czqYUNw3.js +0 -354
  1010. package/dist/chunks/form-fields-czqYUNw3.js.map +0 -1
  1011. package/dist/chunks/form-parser-DvI-a1ha.esm.js +0 -597
  1012. package/dist/chunks/form-parser-DvI-a1ha.esm.js.map +0 -1
  1013. package/dist/chunks/form-parser-DxuycTXi.js +0 -613
  1014. package/dist/chunks/form-parser-DxuycTXi.js.map +0 -1
  1015. package/dist/chunks/form-section-D8zpeEi0.esm.js +0 -576
  1016. package/dist/chunks/form-section-D8zpeEi0.esm.js.map +0 -1
  1017. package/dist/chunks/form-section-W3f6MVU5.js +0 -575
  1018. package/dist/chunks/form-section-W3f6MVU5.js.map +0 -1
  1019. package/dist/chunks/fullScreen-B-rNqQXY.esm.js +0 -19
  1020. package/dist/chunks/fullScreen-B-rNqQXY.esm.js.map +0 -1
  1021. package/dist/chunks/fullScreen-DOtkOiq5.js +0 -18
  1022. package/dist/chunks/fullScreen-DOtkOiq5.js.map +0 -1
  1023. package/dist/chunks/global-search-DJrjNJ7H.esm.js +0 -150
  1024. package/dist/chunks/global-search-DJrjNJ7H.esm.js.map +0 -1
  1025. package/dist/chunks/grid-view-DmRlpcuu.esm.js +0 -52
  1026. package/dist/chunks/grid-view-DmRlpcuu.esm.js.map +0 -1
  1027. package/dist/chunks/header-Be9klul2.js +0 -92
  1028. package/dist/chunks/header-Be9klul2.js.map +0 -1
  1029. package/dist/chunks/header-BgcU15Q9.esm.js +0 -93
  1030. package/dist/chunks/header-BgcU15Q9.esm.js.map +0 -1
  1031. package/dist/chunks/header-enhanced-BIYQ3ToY.esm.js +0 -403
  1032. package/dist/chunks/header-enhanced-BIYQ3ToY.esm.js.map +0 -1
  1033. package/dist/chunks/header-enhanced-_RVJbWQd.js +0 -402
  1034. package/dist/chunks/header-enhanced-_RVJbWQd.js.map +0 -1
  1035. package/dist/chunks/i18n-C_6nRHMf.esm.js +0 -46
  1036. package/dist/chunks/i18n-C_6nRHMf.esm.js.map +0 -1
  1037. package/dist/chunks/i18n-GoZr_KAX.js +0 -47
  1038. package/dist/chunks/i18n-GoZr_KAX.js.map +0 -1
  1039. package/dist/chunks/index-BmU7fNjb.esm.js +0 -2024
  1040. package/dist/chunks/index-BmU7fNjb.esm.js.map +0 -1
  1041. package/dist/chunks/inline-edit-fields-BeSPpSZT.js +0 -341
  1042. package/dist/chunks/inline-edit-fields-BeSPpSZT.js.map +0 -1
  1043. package/dist/chunks/inline-edit-fields-CfqP1mWE.esm.js +0 -325
  1044. package/dist/chunks/inline-edit-fields-CfqP1mWE.esm.js.map +0 -1
  1045. package/dist/chunks/inventory-reports-title-bar-CXYcllW7.esm.js +0 -733
  1046. package/dist/chunks/inventory-reports-title-bar-CXYcllW7.esm.js.map +0 -1
  1047. package/dist/chunks/inventory-reports-title-bar-D9Zv4QWt.js +0 -732
  1048. package/dist/chunks/inventory-reports-title-bar-D9Zv4QWt.js.map +0 -1
  1049. package/dist/chunks/item-response-details-B9amHUMJ.esm.js +0 -79
  1050. package/dist/chunks/item-response-details-B9amHUMJ.esm.js.map +0 -1
  1051. package/dist/chunks/item-response-details-Dw7UyWq9.js +0 -78
  1052. package/dist/chunks/item-response-details-Dw7UyWq9.js.map +0 -1
  1053. package/dist/chunks/journal-type-add-modal-CHBKAU5b.esm.js +0 -112
  1054. package/dist/chunks/journal-type-add-modal-CHBKAU5b.esm.js.map +0 -1
  1055. package/dist/chunks/journal-type-add-modal-q-GwGzzf.js +0 -128
  1056. package/dist/chunks/journal-type-add-modal-q-GwGzzf.js.map +0 -1
  1057. package/dist/chunks/language-switch-C4G0r5eu.esm.js +0 -111
  1058. package/dist/chunks/language-switch-C4G0r5eu.esm.js.map +0 -1
  1059. package/dist/chunks/language-switch-Cp1Nrrs4.js +0 -110
  1060. package/dist/chunks/language-switch-Cp1Nrrs4.js.map +0 -1
  1061. package/dist/chunks/languageContext-CwkQHvuG.esm.js +0 -224
  1062. package/dist/chunks/languageContext-CwkQHvuG.esm.js.map +0 -1
  1063. package/dist/chunks/languageContext-o3WqMVq_.js +0 -223
  1064. package/dist/chunks/languageContext-o3WqMVq_.js.map +0 -1
  1065. package/dist/chunks/listing-C9yO9SAd.js +0 -276
  1066. package/dist/chunks/listing-C9yO9SAd.js.map +0 -1
  1067. package/dist/chunks/listing-DIK1VmjA.esm.js +0 -277
  1068. package/dist/chunks/listing-DIK1VmjA.esm.js.map +0 -1
  1069. package/dist/chunks/location-select-BgtvHBw3.esm.js +0 -86
  1070. package/dist/chunks/location-select-BgtvHBw3.esm.js.map +0 -1
  1071. package/dist/chunks/location-select-CEBaNXeK.js +0 -85
  1072. package/dist/chunks/location-select-CEBaNXeK.js.map +0 -1
  1073. package/dist/chunks/material-editable-table-B13Kh-dv.esm.js +0 -1448
  1074. package/dist/chunks/material-editable-table-B13Kh-dv.esm.js.map +0 -1
  1075. package/dist/chunks/material-editable-table-CFYlu4SQ.js +0 -1464
  1076. package/dist/chunks/material-editable-table-CFYlu4SQ.js.map +0 -1
  1077. package/dist/chunks/module-reducer-BF5bPega.esm.js +0 -79
  1078. package/dist/chunks/module-reducer-BF5bPega.esm.js.map +0 -1
  1079. package/dist/chunks/notification-menu-exP13DDH.esm.js +0 -606
  1080. package/dist/chunks/notification-menu-exP13DDH.esm.js.map +0 -1
  1081. package/dist/chunks/page-action-BwYdhajb.esm.js +0 -325
  1082. package/dist/chunks/page-action-BwYdhajb.esm.js.map +0 -1
  1083. package/dist/chunks/page-action-D0cYsBbl.js +0 -324
  1084. package/dist/chunks/page-action-D0cYsBbl.js.map +0 -1
  1085. package/dist/chunks/page-context-Bq41DQcz.js +0 -388
  1086. package/dist/chunks/page-context-Bq41DQcz.js.map +0 -1
  1087. package/dist/chunks/page-context-DRRyOB69.esm.js +0 -389
  1088. package/dist/chunks/page-context-DRRyOB69.esm.js.map +0 -1
  1089. package/dist/chunks/page-navigator-D9xKfQ1_.js +0 -243
  1090. package/dist/chunks/page-navigator-D9xKfQ1_.js.map +0 -1
  1091. package/dist/chunks/page-navigator-i8qQR766.esm.js +0 -244
  1092. package/dist/chunks/page-navigator-i8qQR766.esm.js.map +0 -1
  1093. package/dist/chunks/page-view-D8VGZbHd.js +0 -323
  1094. package/dist/chunks/page-view-D8VGZbHd.js.map +0 -1
  1095. package/dist/chunks/page-view-DghcAtNn.esm.js +0 -324
  1096. package/dist/chunks/page-view-DghcAtNn.esm.js.map +0 -1
  1097. package/dist/chunks/pagination-BnH9day1.js +0 -135
  1098. package/dist/chunks/pagination-BnH9day1.js.map +0 -1
  1099. package/dist/chunks/pagination-DTtXsesx.esm.js +0 -136
  1100. package/dist/chunks/pagination-DTtXsesx.esm.js.map +0 -1
  1101. package/dist/chunks/phone-Dy--Zv0Z.esm.js +0 -59
  1102. package/dist/chunks/phone-Dy--Zv0Z.esm.js.map +0 -1
  1103. package/dist/chunks/phone-gdY6annL.js +0 -58
  1104. package/dist/chunks/phone-gdY6annL.js.map +0 -1
  1105. package/dist/chunks/phone-input-CeSnil37.js +0 -254
  1106. package/dist/chunks/phone-input-CeSnil37.js.map +0 -1
  1107. package/dist/chunks/phone-input-XRLBCFtF.esm.js +0 -255
  1108. package/dist/chunks/phone-input-XRLBCFtF.esm.js.map +0 -1
  1109. package/dist/chunks/privateRoute-B5FS0k3Y.js +0 -12
  1110. package/dist/chunks/privateRoute-B5FS0k3Y.js.map +0 -1
  1111. package/dist/chunks/privateRoute-Bu4cOvLU.esm.js +0 -13
  1112. package/dist/chunks/privateRoute-Bu4cOvLU.esm.js.map +0 -1
  1113. package/dist/chunks/quick-approval-modal-g87dyO8k.esm.js +0 -256
  1114. package/dist/chunks/quick-approval-modal-g87dyO8k.esm.js.map +0 -1
  1115. package/dist/chunks/reducer-BEB6cGK7.esm.js +0 -33
  1116. package/dist/chunks/reducer-BEB6cGK7.esm.js.map +0 -1
  1117. package/dist/chunks/reducer-BjtGMJms.esm.js +0 -43
  1118. package/dist/chunks/reducer-BjtGMJms.esm.js.map +0 -1
  1119. package/dist/chunks/reducer-Bz_r_05x.esm.js +0 -56
  1120. package/dist/chunks/reducer-Bz_r_05x.esm.js.map +0 -1
  1121. package/dist/chunks/reducer-DkhymUSb.esm.js +0 -50
  1122. package/dist/chunks/reducer-DkhymUSb.esm.js.map +0 -1
  1123. package/dist/chunks/reducer-cUAFzhbU.esm.js +0 -149
  1124. package/dist/chunks/reducer-cUAFzhbU.esm.js.map +0 -1
  1125. package/dist/chunks/remove-action-B4vV6QLb.esm.js +0 -21
  1126. package/dist/chunks/remove-action-B4vV6QLb.esm.js.map +0 -1
  1127. package/dist/chunks/remove-action-BcjT4Ovp.js +0 -20
  1128. package/dist/chunks/remove-action-BcjT4Ovp.js.map +0 -1
  1129. package/dist/chunks/report-buttons-Bgo3X6NV.js +0 -59
  1130. package/dist/chunks/report-buttons-Bgo3X6NV.js.map +0 -1
  1131. package/dist/chunks/report-buttons-BwiGvh_a.esm.js +0 -60
  1132. package/dist/chunks/report-buttons-BwiGvh_a.esm.js.map +0 -1
  1133. package/dist/chunks/report-buttons-CROwSFWV.js +0 -45
  1134. package/dist/chunks/report-buttons-CROwSFWV.js.map +0 -1
  1135. package/dist/chunks/report-buttons-DZmTnUaC.esm.js +0 -46
  1136. package/dist/chunks/report-buttons-DZmTnUaC.esm.js.map +0 -1
  1137. package/dist/chunks/reportFilter-CsFmE0Vh.esm.js +0 -395
  1138. package/dist/chunks/reportFilter-CsFmE0Vh.esm.js.map +0 -1
  1139. package/dist/chunks/reportFilter-DHTGX5Di.js +0 -394
  1140. package/dist/chunks/reportFilter-DHTGX5Di.js.map +0 -1
  1141. package/dist/chunks/reports-title-bar-DCrnhE1i.js +0 -946
  1142. package/dist/chunks/reports-title-bar-DCrnhE1i.js.map +0 -1
  1143. package/dist/chunks/reports-title-bar-_177KGhZ.esm.js +0 -947
  1144. package/dist/chunks/reports-title-bar-_177KGhZ.esm.js.map +0 -1
  1145. package/dist/chunks/reset-password-B3RgeMda.esm.js +0 -33
  1146. package/dist/chunks/reset-password-B3RgeMda.esm.js.map +0 -1
  1147. package/dist/chunks/reset-password-BF38k5jv.js +0 -32
  1148. package/dist/chunks/reset-password-BF38k5jv.js.map +0 -1
  1149. package/dist/chunks/reset-password-modal-BTbJT7Eu.js +0 -160
  1150. package/dist/chunks/reset-password-modal-BTbJT7Eu.js.map +0 -1
  1151. package/dist/chunks/reset-password-modal-C7x7cxqZ.esm.js +0 -144
  1152. package/dist/chunks/reset-password-modal-C7x7cxqZ.esm.js.map +0 -1
  1153. package/dist/chunks/routes-BkIdmebk.esm.js +0 -36
  1154. package/dist/chunks/routes-BkIdmebk.esm.js.map +0 -1
  1155. package/dist/chunks/routes-DZwVNuAM.js +0 -35
  1156. package/dist/chunks/routes-DZwVNuAM.js.map +0 -1
  1157. package/dist/chunks/schedule-report-QmPH1Wjc.esm.js +0 -236
  1158. package/dist/chunks/schedule-report-QmPH1Wjc.esm.js.map +0 -1
  1159. package/dist/chunks/schedule-report-modal-2548Cnw1.esm.js +0 -288
  1160. package/dist/chunks/schedule-report-modal-2548Cnw1.esm.js.map +0 -1
  1161. package/dist/chunks/schedule-report-modal-x928D6nA.js +0 -287
  1162. package/dist/chunks/schedule-report-modal-x928D6nA.js.map +0 -1
  1163. package/dist/chunks/schedule-report-rQYnxps-.js +0 -235
  1164. package/dist/chunks/schedule-report-rQYnxps-.js.map +0 -1
  1165. package/dist/chunks/searchable-select-C4NlAvAY.js +0 -5412
  1166. package/dist/chunks/searchable-select-C4NlAvAY.js.map +0 -1
  1167. package/dist/chunks/searchable-select-CndbCRaF.esm.js +0 -5396
  1168. package/dist/chunks/searchable-select-CndbCRaF.esm.js.map +0 -1
  1169. package/dist/chunks/share-modal-CSpRfSmH.js +0 -217
  1170. package/dist/chunks/share-modal-CSpRfSmH.js.map +0 -1
  1171. package/dist/chunks/share-modal-D9Oowg3p.esm.js +0 -218
  1172. package/dist/chunks/share-modal-D9Oowg3p.esm.js.map +0 -1
  1173. package/dist/chunks/share-modal-enhanced-BeQwZmEu.js +0 -269
  1174. package/dist/chunks/share-modal-enhanced-BeQwZmEu.js.map +0 -1
  1175. package/dist/chunks/share-modal-enhanced-jVP0v7It.esm.js +0 -270
  1176. package/dist/chunks/share-modal-enhanced-jVP0v7It.esm.js.map +0 -1
  1177. package/dist/chunks/sidebar-D0hF4H3m.js +0 -878
  1178. package/dist/chunks/sidebar-D0hF4H3m.js.map +0 -1
  1179. package/dist/chunks/sidebar-DvML8Jbp.esm.js +0 -879
  1180. package/dist/chunks/sidebar-DvML8Jbp.esm.js.map +0 -1
  1181. package/dist/chunks/sidebarScreen-C0G0gM42.esm.js +0 -202
  1182. package/dist/chunks/sidebarScreen-C0G0gM42.esm.js.map +0 -1
  1183. package/dist/chunks/sidebarScreen-CkwJ1ue3.js +0 -201
  1184. package/dist/chunks/sidebarScreen-CkwJ1ue3.js.map +0 -1
  1185. package/dist/chunks/store-Dmz-DgYy.esm.js +0 -100
  1186. package/dist/chunks/store-Dmz-DgYy.esm.js.map +0 -1
  1187. package/dist/chunks/table-B_s-mIXn.esm.js +0 -185
  1188. package/dist/chunks/table-B_s-mIXn.esm.js.map +0 -1
  1189. package/dist/chunks/table-C5u4p3T_.js +0 -184
  1190. package/dist/chunks/table-C5u4p3T_.js.map +0 -1
  1191. package/dist/chunks/table-form-CufpQulG.esm.js +0 -1537
  1192. package/dist/chunks/table-form-CufpQulG.esm.js.map +0 -1
  1193. package/dist/chunks/template-editor-router-D7bqb67d.esm.js +0 -9
  1194. package/dist/chunks/template-editor-router-D7bqb67d.esm.js.map +0 -1
  1195. package/dist/chunks/template-editor-router-DRN5gx5w.js +0 -8
  1196. package/dist/chunks/template-editor-router-DRN5gx5w.js.map +0 -1
  1197. package/dist/chunks/template-modal-Ca8NM9xP.esm.js +0 -769
  1198. package/dist/chunks/template-modal-Ca8NM9xP.esm.js.map +0 -1
  1199. package/dist/chunks/template-modal-ScshCqGl.js +0 -768
  1200. package/dist/chunks/template-modal-ScshCqGl.js.map +0 -1
  1201. package/dist/chunks/template-name-modal-BbeUUs8-.esm.js +0 -101
  1202. package/dist/chunks/template-name-modal-BbeUUs8-.esm.js.map +0 -1
  1203. package/dist/chunks/templates-CPW4Brw5.js +0 -272
  1204. package/dist/chunks/templates-CPW4Brw5.js.map +0 -1
  1205. package/dist/chunks/templates-CZA7B97W.esm.js +0 -273
  1206. package/dist/chunks/templates-CZA7B97W.esm.js.map +0 -1
  1207. package/dist/chunks/text-measurement-B1c79w3_.esm.js +0 -252
  1208. package/dist/chunks/text-measurement-B1c79w3_.esm.js.map +0 -1
  1209. package/dist/chunks/three-dot-icon-BFKqMnLf.js +0 -40
  1210. package/dist/chunks/three-dot-icon-BFKqMnLf.js.map +0 -1
  1211. package/dist/chunks/three-dot-icon-Dq1ptGgl.esm.js +0 -41
  1212. package/dist/chunks/three-dot-icon-Dq1ptGgl.esm.js.map +0 -1
  1213. package/dist/chunks/toggle-button-CVeo1waU.js +0 -54
  1214. package/dist/chunks/toggle-button-CVeo1waU.js.map +0 -1
  1215. package/dist/chunks/toggle-button-itOKhrc0.esm.js +0 -55
  1216. package/dist/chunks/toggle-button-itOKhrc0.esm.js.map +0 -1
  1217. package/dist/chunks/toggle-switch-BM70h5jL.js +0 -80
  1218. package/dist/chunks/toggle-switch-BM70h5jL.js.map +0 -1
  1219. package/dist/chunks/toggle-switch-Be_pTc_l.esm.js +0 -81
  1220. package/dist/chunks/toggle-switch-Be_pTc_l.esm.js.map +0 -1
  1221. package/dist/chunks/translations-BBP_sDHA.esm.js +0 -128
  1222. package/dist/chunks/translations-BBP_sDHA.esm.js.map +0 -1
  1223. package/dist/chunks/translations-DJj06YLO.js +0 -127
  1224. package/dist/chunks/translations-DJj06YLO.js.map +0 -1
  1225. package/dist/chunks/uom-field-wrapper-DmFBym9X.js +0 -79
  1226. package/dist/chunks/uom-field-wrapper-DmFBym9X.js.map +0 -1
  1227. package/dist/chunks/uom-field-wrapper-QeMbOh1z.esm.js +0 -80
  1228. package/dist/chunks/uom-field-wrapper-QeMbOh1z.esm.js.map +0 -1
  1229. package/dist/chunks/upload-excel-FvuJguoD.esm.js +0 -361
  1230. package/dist/chunks/upload-excel-FvuJguoD.esm.js.map +0 -1
  1231. package/dist/chunks/use-pages-BjXaTIsn.esm.js +0 -30
  1232. package/dist/chunks/use-pages-BjXaTIsn.esm.js.map +0 -1
  1233. package/dist/chunks/use-pages-CfOuWUhZ.js +0 -29
  1234. package/dist/chunks/use-pages-CfOuWUhZ.js.map +0 -1
  1235. package/dist/chunks/use-translations-C6akE0rW.js +0 -68
  1236. package/dist/chunks/use-translations-C6akE0rW.js.map +0 -1
  1237. package/dist/chunks/use-translations-PaBQxwx7.esm.js +0 -69
  1238. package/dist/chunks/use-translations-PaBQxwx7.esm.js.map +0 -1
  1239. package/dist/chunks/useAccountSetting-D58MKAOM.esm.js +0 -174
  1240. package/dist/chunks/useAccountSetting-D58MKAOM.esm.js.map +0 -1
  1241. package/dist/chunks/useCheckSkuAndName-D5VNk0T7.esm.js +0 -50
  1242. package/dist/chunks/useCheckSkuAndName-D5VNk0T7.esm.js.map +0 -1
  1243. package/dist/chunks/useCompanyCountryCode-BFOhrIEg.esm.js +0 -36
  1244. package/dist/chunks/useCompanyCountryCode-BFOhrIEg.esm.js.map +0 -1
  1245. package/dist/chunks/useCompanyCountryCode-NA-dpRoG.js +0 -35
  1246. package/dist/chunks/useCompanyCountryCode-NA-dpRoG.js.map +0 -1
  1247. package/dist/chunks/useDataFetcher-CwfzNyTb.js +0 -79
  1248. package/dist/chunks/useDataFetcher-CwfzNyTb.js.map +0 -1
  1249. package/dist/chunks/useDataFetcher-DrtqG3CG.esm.js +0 -80
  1250. package/dist/chunks/useDataFetcher-DrtqG3CG.esm.js.map +0 -1
  1251. package/dist/chunks/useLangauge-3NKJDL3U.esm.js +0 -49
  1252. package/dist/chunks/useLangauge-3NKJDL3U.esm.js.map +0 -1
  1253. package/dist/chunks/useLangauge-B7MUoWt1.js +0 -48
  1254. package/dist/chunks/useLangauge-B7MUoWt1.js.map +0 -1
  1255. package/dist/chunks/useReduxIntegration-BlZTSHKV.esm.js +0 -39
  1256. package/dist/chunks/useReduxIntegration-BlZTSHKV.esm.js.map +0 -1
  1257. package/dist/chunks/useReduxIntegration-Dv1kXNL3.js +0 -38
  1258. package/dist/chunks/useReduxIntegration-Dv1kXNL3.js.map +0 -1
  1259. package/dist/chunks/useSetDefaultConfig-DXu44f_j.js +0 -100
  1260. package/dist/chunks/useSetDefaultConfig-DXu44f_j.js.map +0 -1
  1261. package/dist/chunks/useSetDefaultConfig-DhCePm1v.esm.js +0 -101
  1262. package/dist/chunks/useSetDefaultConfig-DhCePm1v.esm.js.map +0 -1
  1263. package/dist/chunks/useUniquenessCheck-CEITes-f.esm.js +0 -39
  1264. package/dist/chunks/useUniquenessCheck-CEITes-f.esm.js.map +0 -1
  1265. package/dist/chunks/user-menu-CFjgWPOM.js +0 -104
  1266. package/dist/chunks/user-menu-CFjgWPOM.js.map +0 -1
  1267. package/dist/chunks/user-menu-DwQk2A7L.esm.js +0 -105
  1268. package/dist/chunks/user-menu-DwQk2A7L.esm.js.map +0 -1
  1269. package/dist/chunks/value-editor-C-5t5OUu.js +0 -136
  1270. package/dist/chunks/value-editor-C-5t5OUu.js.map +0 -1
  1271. package/dist/chunks/value-editor-CTm7pEMf.esm.js +0 -137
  1272. package/dist/chunks/value-editor-CTm7pEMf.esm.js.map +0 -1
@@ -1,1146 +0,0 @@
1
- import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
- import { useState, useCallback, createElement, useMemo, useEffect } from "react";
3
- import { useNavigate, useLocation } from "react-router-dom";
4
- import { useForm, useFieldArray } from "react-hook-form";
5
- import { Box, Grid, RadioGroup, FormControlLabel } from "@mui/material";
6
- import { Add } from "@mui/icons-material";
7
- import { DndProvider } from "react-dnd";
8
- import { HTML5Backend } from "react-dnd-html5-backend";
9
- import { useTranslation } from "react-i18next";
10
- import { enqueueSnackbar } from "notistack";
11
- import { D as DynamicSectionHOC } from "./section-CMivN3bz.esm.js";
12
- import { D as DynamicButton } from "./button-i0exxOrL.esm.js";
13
- import { T as TabBar } from "./tabs-wL47XgLZ.esm.js";
14
- import { i as images } from "./images-RPLi8HQs.esm.js";
15
- import { F as FormHeader } from "./form-header-CUplQVfj.esm.js";
16
- import { T as Typography } from "./typography-CG_A0iOJ.esm.js";
17
- import formBuilderConversion from "../utils/form-builder-conversion/index.esm.js";
18
- import { u as useAppDispatch, a as useAppSelector } from "./hooks-Cj9Yhy-E.esm.js";
19
- import { formatLabel } from "../utils/format-text/index.esm.js";
20
- import { T as Toast } from "./toast-P3z45nme.esm.js";
21
- import { R as Radio } from "./radio-BIyDp0wj.esm.js";
22
- import { SECTION_TYPES } from "../utils/constant/index.esm.js";
23
- import { E as ErpLoader } from "./erp-loader-CFXstBcW.esm.js";
24
- import { W as getErrorMessage } from "./api-C4WZctJf.esm.js";
25
- import { F as FormParser } from "./form-parser-DvI-a1ha.esm.js";
26
- import { E as EyeOff } from "./eye-off-BkSROLwZ.esm.js";
27
- import { E as Eye } from "./eye-CByHBTch.esm.js";
28
- import { p as patchFormDataById, c as resetState, a as getFormDataById, g as getFieldsByFormId } from "./reducer-cUAFzhbU.esm.js";
29
- import { element } from "../views/form-builder/field_properties/index.esm.js";
30
- import { b as TextEditForm, a as SelectEditForm, S as SectionEditForm, C as CheckboxEditForm, T as TableEditForm } from "./table-form-CufpQulG.esm.js";
31
- import { a as FormFields } from "./form-fields-BC-5qhhm.esm.js";
32
- import { a as generateModulePath, u as useFormDataEffect } from "./common-VGuySVsI.esm.js";
33
- const DEFAULT_GRID_COLUMNS = 12;
34
- const DEFAULT_COLUMN_WIDTH = 2;
35
- const DEFAULT_TAB_TITLE = "data";
36
- const isValidNumber = (value) => !isNaN(Number(value)) && isFinite(Number(value));
37
- const deepClone = (obj) => JSON.parse(JSON.stringify(obj));
38
- const generateUniqueId = (separator = "") => {
39
- return { uniqueStringId: `${Date.now()}${separator}${Math.random().toString(36).substr(2, 9)}` };
40
- };
41
- function CustomForm({ redirectionPath }) {
42
- const { t } = useTranslation();
43
- const dispatch = useAppDispatch();
44
- const navigate = useNavigate();
45
- const location = useLocation();
46
- const rowData = location.state ?? [];
47
- const formBuilder = useAppSelector((state) => state.formBuilder);
48
- const { control } = useForm({
49
- reValidateMode: "onBlur"
50
- });
51
- const {
52
- fields: members,
53
- append,
54
- remove,
55
- update,
56
- move,
57
- insert
58
- } = useFieldArray({
59
- control,
60
- name: "members"
61
- });
62
- const {
63
- fields: section,
64
- append: appendSection,
65
- remove: removeSection,
66
- update: updateSection
67
- } = useFieldArray({
68
- control,
69
- name: "section"
70
- });
71
- const [selectedHoc, setSelectedHoc] = useState("");
72
- const [activeSection, setActiveSection] = useState();
73
- const [activeMember, setActiveMember] = useState();
74
- const [formJSON, setFormJSON] = useState([]);
75
- const [elementJSON, setElementJSON] = useState(null);
76
- const [positionEditedElement, setPositionEditedElement] = useState();
77
- const [sectionFormJSON, setSectionFormJSON] = useState([]);
78
- const [sectionJSON, setSectionJSON] = useState({});
79
- const [sectionPositionEditedElement, setSectionPositionEditedElement] = useState();
80
- const [removeSectionActionPerformed, setRemoveSectionActionPerformed] = useState(false);
81
- const [removeSectionMembersPerformed, setRemoveSectionMembersPerformed] = useState(false);
82
- const [removeSectionPosition, setRemoveSectionPosition] = useState();
83
- const [initialLoading, setInitialLoading] = useState(true);
84
- const [tabsData, setTabsData] = useState([]);
85
- const [activeTabValue, setActiveTabValue] = useState(0);
86
- const [elementSwap, setElementSwap] = useState(false);
87
- const [modifyAccordion, setModifyAccordion] = useState(false);
88
- const [toast, setToast] = useState(null);
89
- const [previewFieldsData, setPreviewFields] = useState(null);
90
- const [_, setFormParserMethods] = useState();
91
- let elementPerColumn;
92
- const currentModule = location.pathname.split("/")[2];
93
- const path = redirectionPath ? redirectionPath : generateModulePath(currentModule);
94
- useFormDataEffect(
95
- formBuilder,
96
- tabsData,
97
- activeTabValue,
98
- {
99
- removeSection,
100
- remove,
101
- setTabsData,
102
- append,
103
- appendSection
104
- }
105
- );
106
- const pickPropertyEditForm = useCallback((type) => {
107
- try {
108
- if (!type || typeof type !== "string") {
109
- console.warn("Invalid field type provided to pickPropertyEditForm");
110
- return /* @__PURE__ */ jsx("div", { className: "text-gray-500 p-4", children: "Select a field to edit" });
111
- }
112
- const normalizedType = type.toLowerCase().trim();
113
- const formGroups = {
114
- text: [
115
- "text",
116
- "number",
117
- "email",
118
- "phone",
119
- "date",
120
- "time",
121
- "url",
122
- "currency",
123
- "file",
124
- "geolocation",
125
- "image",
126
- "relation",
127
- "info",
128
- "tagsinput"
129
- ],
130
- select: ["select"],
131
- section: ["section"],
132
- checkbox: ["checkbox", "togglebutton", "radiobutton"],
133
- table: ["table"]
134
- };
135
- const commonTextProps = {
136
- element: elementJSON,
137
- handlePropertyValueUpdate,
138
- handleWidthChange,
139
- handleColumnSelect,
140
- fields: (formBuilder == null ? void 0 : formBuilder.fields) || []
141
- };
142
- const commonSelectProps = {
143
- element: elementJSON,
144
- handlePropertyValueUpdate,
145
- handleSelectOptionValueUpdate,
146
- handleWidthChange,
147
- handleColumnSelect
148
- };
149
- if (formGroups.text.includes(normalizedType)) {
150
- return /* @__PURE__ */ createElement(
151
- TextEditForm,
152
- {
153
- ...commonTextProps,
154
- key: `text-form-${(elementJSON == null ? void 0 : elementJSON.id) || "default"}`
155
- }
156
- );
157
- }
158
- if (formGroups.select.includes(normalizedType)) {
159
- return /* @__PURE__ */ createElement(
160
- SelectEditForm,
161
- {
162
- ...commonSelectProps,
163
- key: `select-form-${(elementJSON == null ? void 0 : elementJSON.id) || "default"}`
164
- }
165
- );
166
- }
167
- if (formGroups.section.includes(normalizedType)) {
168
- return /* @__PURE__ */ jsx(
169
- SectionEditForm,
170
- {
171
- element: sectionJSON,
172
- handlePropertyValueUpdate: handleSectionPropertyValueUpdate
173
- },
174
- `section-form-${(sectionJSON == null ? void 0 : sectionJSON.id) || "default"}`
175
- );
176
- }
177
- if (formGroups.checkbox.includes(normalizedType)) {
178
- return /* @__PURE__ */ createElement(
179
- CheckboxEditForm,
180
- {
181
- ...commonSelectProps,
182
- key: `checkbox-form-${(elementJSON == null ? void 0 : elementJSON.id) || "default"}`
183
- }
184
- );
185
- }
186
- if (formGroups.table.includes(normalizedType)) {
187
- return /* @__PURE__ */ jsx(
188
- TableEditForm,
189
- {
190
- element: elementJSON,
191
- handlePropertyValueUpdate,
192
- handleColumnsUpdate,
193
- fields: (formBuilder == null ? void 0 : formBuilder.fields) || []
194
- },
195
- `table-form-${(elementJSON == null ? void 0 : elementJSON.id) || "default"}`
196
- );
197
- }
198
- console.warn(`Unknown field type: ${type}`);
199
- return /* @__PURE__ */ jsxs("div", { className: "text-gray-500 p-4 border border-gray-200 rounded", children: [
200
- /* @__PURE__ */ jsx("p", { className: "font-medium", children: "Unknown Field Type" }),
201
- /* @__PURE__ */ jsxs("p", { className: "text-sm mt-1", children: [
202
- 'Field type "',
203
- type,
204
- '" is not supported. Please select a valid field to edit.'
205
- ] })
206
- ] });
207
- } catch (error) {
208
- console.error("Error in pickPropertyEditForm:", error);
209
- return /* @__PURE__ */ jsxs("div", { className: "text-red-500 p-4 border border-red-200 rounded bg-red-50", children: [
210
- /* @__PURE__ */ jsx("p", { className: "font-medium", children: "Error Loading Form" }),
211
- /* @__PURE__ */ jsx("p", { className: "text-sm mt-1", children: "There was an error loading the property edit form. Please try again." })
212
- ] });
213
- }
214
- }, [elementJSON, sectionJSON, formBuilder]);
215
- const addNewSection = useCallback(() => {
216
- var _a;
217
- try {
218
- if (!((_a = element) == null ? void 0 : _a.section)) {
219
- console.error("Element section template is not available");
220
- return;
221
- }
222
- const { uniqueStringId: id } = generateUniqueId("-");
223
- const newSection = {
224
- ...deepClone(element.section),
225
- id
226
- };
227
- if (newSection.switcher_forms) {
228
- newSection.switcher_forms = newSection.switcher_forms.map((form) => ({
229
- ...form,
230
- id: generateUniqueId("-").uniqueStringId
231
- }));
232
- }
233
- const newSectionIndex = section.length;
234
- appendSection(newSection);
235
- setActiveSection(newSectionIndex);
236
- setSelectedHoc("section");
237
- const sectionData = {
238
- field_type: newSection.field_type,
239
- section_type: newSection.section_type,
240
- switcher_forms: newSection.switcher_forms,
241
- form_switcher_label: newSection.form_switcher_label,
242
- form_switcher_name: newSection.form_switcher_name,
243
- label: newSection.label,
244
- is_accordion: newSection.is_accordion,
245
- id: newSection.id ?? newSectionIndex
246
- };
247
- setSectionJSON(sectionData);
248
- setSectionPositionEditedElement(newSectionIndex);
249
- pickPropertyEditForm(newSection.field_type);
250
- } catch (error) {
251
- console.error("Error adding new section:", error);
252
- }
253
- }, [element, section, appendSection, setActiveSection, setSelectedHoc, setSectionJSON, setSectionPositionEditedElement, pickPropertyEditForm]);
254
- const handleAddTab = useCallback(() => {
255
- try {
256
- const formWithMembers2 = deepClone(sectionFormJSON);
257
- formWithMembers2.forEach((section2, sectionIndex) => {
258
- section2.members = members.filter(
259
- (member) => (member == null ? void 0 : member.section_order) === sectionIndex
260
- );
261
- });
262
- const hasSystemMembers = formWithMembers2.some(
263
- (section2) => {
264
- var _a;
265
- return (_a = section2.members) == null ? void 0 : _a.some((member) => Boolean(member == null ? void 0 : member.is_system_field));
266
- }
267
- );
268
- const shouldRemoveTab = !(tabsData == null ? void 0 : tabsData.length) && hasSystemMembers;
269
- const newTab = {
270
- tab_order: tabsData.length + 1,
271
- title: DEFAULT_TAB_TITLE,
272
- remove_tab: shouldRemoveTab,
273
- data: (tabsData == null ? void 0 : tabsData.length) ? [] : formWithMembers2
274
- };
275
- setTabsData((prevTabs) => [...prevTabs, newTab]);
276
- } catch (error) {
277
- console.error("Error adding new tab:", error);
278
- }
279
- }, [sectionFormJSON, members, tabsData, setTabsData]);
280
- const handleEditTabTitle = useCallback((tabId, newTitle) => {
281
- try {
282
- if (!isValidNumber(tabId) || !(newTitle == null ? void 0 : newTitle.trim())) {
283
- console.error("Invalid tab ID or title provided");
284
- return;
285
- }
286
- setTabsData(
287
- (prevTabs) => prevTabs.map(
288
- (tab) => tab.tab_order === tabId ? { ...tab, title: newTitle.trim() } : tab
289
- )
290
- );
291
- } catch (error) {
292
- console.error("Error editing tab title:", error);
293
- }
294
- }, [setTabsData]);
295
- const handleRemoveTab = useCallback((id) => {
296
- try {
297
- if (!isValidNumber(id)) {
298
- console.error("Invalid tab ID provided");
299
- return;
300
- }
301
- const filteredTabs = tabsData.filter((tab) => tab.tab_order !== id);
302
- const reorderedTabs = filteredTabs.map((tab) => ({
303
- ...tab,
304
- tab_order: tab.tab_order > id ? tab.tab_order - 1 : tab.tab_order
305
- }));
306
- setTabsData(reorderedTabs);
307
- if (activeTabValue == id) {
308
- setActiveTabValue((reorderedTabs == null ? void 0 : reorderedTabs.length) - 1);
309
- }
310
- if (reorderedTabs.length > 0) {
311
- const activeTab = reorderedTabs.find(
312
- (tab) => tab.tab_order === (activeTabValue ?? 0) + 1
313
- );
314
- if (activeTab == null ? void 0 : activeTab.data) {
315
- const sections = activeTab.data.map(
316
- ({ field_type, label, is_accordion, id: id2, remove_section }) => ({
317
- field_type,
318
- label,
319
- is_accordion,
320
- id: id2,
321
- remove_section
322
- })
323
- );
324
- const membersList = activeTab.data.flatMap(
325
- (section2) => {
326
- var _a;
327
- return ((_a = section2.members) == null ? void 0 : _a.map((member) => ({ ...member }))) || [];
328
- }
329
- );
330
- remove();
331
- removeSection();
332
- membersList.forEach((member) => append(member));
333
- sections.forEach((section2) => appendSection(section2));
334
- }
335
- } else {
336
- remove();
337
- removeSection();
338
- }
339
- } catch (error) {
340
- console.error("Error removing tab:", error);
341
- }
342
- }, [tabsData, activeTabValue, setTabsData, remove, removeSection, append, appendSection]);
343
- const handleElementSelection = useCallback((e) => {
344
- try {
345
- const target = e.target;
346
- const elementPositionIndex = target.dataset.position;
347
- if (!elementPositionIndex || !isValidNumber(elementPositionIndex)) {
348
- console.error("Invalid element position index");
349
- return;
350
- }
351
- const positionIndex = Number(elementPositionIndex);
352
- if (positionIndex < 0 || positionIndex >= formJSON.length) {
353
- console.error("Element position index out of bounds");
354
- return;
355
- }
356
- setActiveMember(positionIndex);
357
- const elementDetails = deepClone(formJSON[positionIndex]);
358
- setPositionEditedElement(positionIndex);
359
- setElementJSON(elementDetails);
360
- setSelectedHoc("element");
361
- } catch (error) {
362
- console.error("Error selecting element:", error);
363
- }
364
- }, [formJSON, setActiveMember, setPositionEditedElement, setElementJSON, setSelectedHoc]);
365
- const handleSectionSelection = useCallback((e) => {
366
- try {
367
- const target = e.target;
368
- const sectionPositionIndex = target.dataset.position;
369
- if (!sectionPositionIndex || !isValidNumber(sectionPositionIndex)) {
370
- console.error("Invalid section position index");
371
- return;
372
- }
373
- const positionIndex = Number(sectionPositionIndex);
374
- if (positionIndex < 0 || positionIndex >= sectionFormJSON.length) {
375
- console.error("Section position index out of bounds");
376
- return;
377
- }
378
- setActiveSection(positionIndex);
379
- const sectionDetails = deepClone(sectionFormJSON[positionIndex]);
380
- setSectionPositionEditedElement(positionIndex);
381
- setSectionJSON(sectionDetails);
382
- setSelectedHoc("section");
383
- } catch (error) {
384
- console.error("Error selecting section:", error);
385
- }
386
- }, [sectionFormJSON, setActiveSection, setSectionPositionEditedElement, setSectionJSON, setSelectedHoc]);
387
- const handleAddMember = useCallback((e, otherProperties) => {
388
- var _a, _b;
389
- try {
390
- const target = e.currentTarget;
391
- const sectionPositionIndex = (_a = target == null ? void 0 : target.dataset) == null ? void 0 : _a.position;
392
- if (sectionPositionIndex === void 0 || !isValidNumber(sectionPositionIndex)) {
393
- console.error("Invalid section position index for adding member");
394
- return;
395
- }
396
- const positionIndex = Number(sectionPositionIndex);
397
- if (positionIndex < 0) {
398
- console.error("Section position index cannot be negative");
399
- return;
400
- }
401
- if (!((_b = element) == null ? void 0 : _b.text)) {
402
- console.error("Element text template is not available");
403
- return;
404
- }
405
- const newMember = {
406
- ...deepClone(element.text),
407
- ...otherProperties,
408
- section_order: positionIndex,
409
- type: "custom",
410
- is_new: true,
411
- custom_width: Math.floor(DEFAULT_GRID_COLUMNS / DEFAULT_COLUMN_WIDTH),
412
- is_fullwidth: false,
413
- is_system_field: Boolean(otherProperties == null ? void 0 : otherProperties.is_system_field),
414
- id: generateUniqueId().uniqueStringId
415
- };
416
- setActiveSection(positionIndex);
417
- append(newMember);
418
- const elementPositionIndex = members.length;
419
- setActiveMember(elementPositionIndex);
420
- setSelectedHoc("element");
421
- setPositionEditedElement(elementPositionIndex);
422
- setElementJSON(newMember);
423
- pickPropertyEditForm(newMember.field_type);
424
- } catch (error) {
425
- console.error("Error adding new member:", error);
426
- }
427
- }, [element, members, setActiveSection, append, setActiveMember, setSelectedHoc, setPositionEditedElement, setElementJSON, pickPropertyEditForm]);
428
- const handleSectionPropertyValueUpdate = useCallback((e, overrideValue) => {
429
- try {
430
- const { name, type, checked, value } = e.target;
431
- if (!name) {
432
- console.error("Property name is required for update");
433
- return;
434
- }
435
- const updatedValue = overrideValue !== void 0 ? overrideValue : type === "checkbox" ? checked : value;
436
- if (sectionJSON[name] !== updatedValue) {
437
- setSectionJSON((prev) => ({ ...prev, [name]: updatedValue }));
438
- }
439
- } catch (error) {
440
- console.error("Error updating section property:", error);
441
- }
442
- }, [sectionJSON, setSectionJSON]);
443
- const handleWidthChange = useCallback((newCustomWidth) => {
444
- try {
445
- if (!isValidNumber(newCustomWidth) || newCustomWidth < 1 || newCustomWidth > DEFAULT_GRID_COLUMNS) {
446
- console.error("Invalid width value provided");
447
- return;
448
- }
449
- setElementJSON((prevData) => ({
450
- ...prevData,
451
- custom_width: newCustomWidth
452
- }));
453
- } catch (error) {
454
- console.error("Error updating width:", error);
455
- }
456
- }, [setElementJSON]);
457
- const handleColumnSelect = useCallback((e) => {
458
- try {
459
- const columnValue = Number(e.target.value);
460
- if (!isValidNumber(columnValue) || columnValue <= 0) {
461
- console.error("Invalid column value provided");
462
- return;
463
- }
464
- const elementPerColumn2 = Math.floor(DEFAULT_GRID_COLUMNS / columnValue);
465
- if (elementPerColumn2 <= 0) {
466
- console.error("Calculated element per column is invalid");
467
- return;
468
- }
469
- members.forEach((field, index) => {
470
- update(index, { ...field, custom_width: elementPerColumn2 });
471
- });
472
- } catch (error) {
473
- console.error("Error updating column selection:", error);
474
- }
475
- }, [members, update]);
476
- const handlePropertyValueUpdate = useCallback((e, numberValue, val, fieldType) => {
477
- var _a;
478
- try {
479
- const getValue = () => {
480
- var _a2;
481
- if (fieldType) return fieldType;
482
- if (val !== void 0) return val;
483
- if (numberValue !== void 0) return numberValue;
484
- return (_a2 = e == null ? void 0 : e.target) == null ? void 0 : _a2.value;
485
- };
486
- const value = getValue();
487
- const elementJSONCopy = deepClone(elementJSON);
488
- if ((_a = e == null ? void 0 : e.target) == null ? void 0 : _a.name) {
489
- elementJSONCopy[e.target.name] = e.target.type === "checkbox" ? e.target.checked : value;
490
- }
491
- if (fieldType) {
492
- const { uniqueStringId: uniqueId } = generateUniqueId();
493
- const copyOfUpdatedElement = {
494
- ...element[fieldType],
495
- section_form_id: elementJSONCopy == null ? void 0 : elementJSONCopy.section_form_id,
496
- is_form_switcher_section: elementJSONCopy == null ? void 0 : elementJSONCopy.is_form_switcher_section,
497
- section_order: elementJSONCopy.section_order,
498
- id: uniqueId,
499
- type: "custom",
500
- is_system_field: Boolean(elementJSONCopy == null ? void 0 : elementJSONCopy.is_system_field),
501
- is_new: true,
502
- column_width: (elementJSONCopy == null ? void 0 : elementJSONCopy.column_width) || 6,
503
- custom_width: (elementJSONCopy == null ? void 0 : elementJSONCopy.custom_width) || 6
504
- };
505
- setElementJSON(copyOfUpdatedElement);
506
- } else if (JSON.stringify(elementJSON) !== JSON.stringify(elementJSONCopy)) {
507
- setElementJSON({ ...elementJSON, ...elementJSONCopy });
508
- }
509
- } catch (error) {
510
- console.error("Error updating property value:", error);
511
- }
512
- }, [elementJSON, element, setElementJSON]);
513
- const handleSelectOptionValueUpdate = useCallback((options) => {
514
- try {
515
- if (!Array.isArray(options)) {
516
- console.error("Options must be an array");
517
- return;
518
- }
519
- const elementJSONCopy = deepClone(elementJSON);
520
- elementJSONCopy.options = [...options];
521
- const { uniqueStringId: uniqueId } = generateUniqueId("-");
522
- if (JSON.stringify(elementJSON.options) !== JSON.stringify(options)) {
523
- setElementJSON({ ...elementJSON, ...elementJSONCopy, id: uniqueId });
524
- }
525
- } catch (error) {
526
- console.error("Error updating select options:", error);
527
- }
528
- }, [elementJSON, setElementJSON]);
529
- const handleColumnsUpdate = useCallback((columns) => {
530
- try {
531
- if (!Array.isArray(columns)) {
532
- console.error("Columns must be an array");
533
- return;
534
- }
535
- const elementJSONCopy = deepClone(elementJSON);
536
- elementJSONCopy.table_columns = [...columns];
537
- const { uniqueStringId: uniqueId } = generateUniqueId("-");
538
- if (JSON.stringify(elementJSON.table_columns) !== JSON.stringify(columns)) {
539
- setElementJSON({ ...elementJSON, ...elementJSONCopy, id: uniqueId });
540
- }
541
- } catch (error) {
542
- console.error("Error updating table columns:", error);
543
- }
544
- }, [elementJSON, setElementJSON]);
545
- const handleRemoveSection = useCallback((sectionIndex) => {
546
- try {
547
- if (!isValidNumber(sectionIndex) || sectionIndex < 0 || sectionIndex >= section.length) {
548
- console.error("Invalid section index for removal");
549
- return;
550
- }
551
- setRemoveSectionPosition(sectionIndex);
552
- removeSection(sectionIndex);
553
- const membersToRemove = [];
554
- members.forEach((member, index) => {
555
- if ((member == null ? void 0 : member.section_order) === sectionIndex) {
556
- membersToRemove.push(index);
557
- }
558
- });
559
- membersToRemove.reverse().forEach((memberIndex) => {
560
- remove(memberIndex);
561
- });
562
- setRemoveSectionActionPerformed(true);
563
- } catch (error) {
564
- console.error("Error removing section:", error);
565
- }
566
- }, [section, members, setRemoveSectionPosition, removeSection, remove, setRemoveSectionActionPerformed]);
567
- const handleMakeAccordion = useCallback((sectionIndex) => {
568
- try {
569
- if (!isValidNumber(sectionIndex) || sectionIndex < 0 || sectionIndex >= section.length) {
570
- console.error("Invalid section index for accordion conversion");
571
- return;
572
- }
573
- setModifyAccordion(true);
574
- setSectionPositionEditedElement(sectionIndex);
575
- setActiveSection(sectionIndex);
576
- const copyOfSection = {
577
- ...deepClone(section[sectionIndex]),
578
- is_accordion: true
579
- };
580
- updateSection(sectionIndex, copyOfSection);
581
- setSelectedHoc("section");
582
- setSectionJSON(copyOfSection);
583
- pickPropertyEditForm(copyOfSection.field_type);
584
- } catch (error) {
585
- console.error("Error making section accordion:", error);
586
- }
587
- }, [section, setModifyAccordion, setSectionPositionEditedElement, setActiveSection, updateSection, setSelectedHoc, setSectionJSON, pickPropertyEditForm]);
588
- const handleTabData = useCallback(() => {
589
- try {
590
- const formWithMembers2 = deepClone(sectionFormJSON);
591
- formWithMembers2.forEach((section2, sectionIndex) => {
592
- section2.members = members.filter(
593
- (member) => (member == null ? void 0 : member.section_order) === sectionIndex
594
- );
595
- });
596
- const hasSystemMembers = formWithMembers2.some(
597
- (section2) => {
598
- var _a;
599
- return (_a = section2.members) == null ? void 0 : _a.some((member) => Boolean(member == null ? void 0 : member.is_system_field));
600
- }
601
- );
602
- const activeTabIndex = Number(activeTabValue);
603
- if (isValidNumber(activeTabIndex) && activeTabIndex >= 0 && activeTabIndex < tabsData.length) {
604
- const updatedTabsData = [...tabsData];
605
- updatedTabsData[activeTabIndex] = {
606
- ...updatedTabsData[activeTabIndex],
607
- data: formWithMembers2,
608
- remove_tab: hasSystemMembers
609
- };
610
- setTabsData(updatedTabsData);
611
- remove();
612
- removeSection();
613
- setActiveMember(void 0);
614
- setSelectedHoc("");
615
- setActiveSection(void 0);
616
- }
617
- } catch (error) {
618
- console.error("Error updating tab data:", error);
619
- }
620
- }, [sectionFormJSON, members, activeTabValue, tabsData, setTabsData]);
621
- const formWithMembers = useMemo(() => {
622
- if (!sectionFormJSON || !members) return null;
623
- return sectionFormJSON.map((section2, sectionIndex) => ({
624
- ...section2,
625
- members: members.filter(
626
- (member) => (member == null ? void 0 : member.section_order) === sectionIndex
627
- )
628
- }));
629
- }, [sectionFormJSON, members]);
630
- const previewState = useMemo(() => {
631
- if (!formWithMembers) return null;
632
- return (tabsData == null ? void 0 : tabsData.length) ? { tab: tabsData } : { section: formWithMembers };
633
- }, [tabsData, formWithMembers]);
634
- const previewFields = useMemo(() => {
635
- if (!previewState) return null;
636
- return formBuilderConversion(previewState);
637
- }, [previewState]);
638
- const showPreview = useCallback(() => {
639
- if (previewFields) {
640
- setPreviewFields(previewFields);
641
- }
642
- }, [previewFields, setPreviewFields]);
643
- const hidePreview = useCallback(() => {
644
- setPreviewFields(null);
645
- }, []);
646
- const handleFormUpdate = useCallback(async () => {
647
- var _a;
648
- try {
649
- if (!sectionFormJSON || !Array.isArray(sectionFormJSON)) {
650
- console.warn("Invalid sectionFormJSON provided");
651
- return;
652
- }
653
- if (!members || !Array.isArray(members)) {
654
- console.warn("Invalid members array provided");
655
- return;
656
- }
657
- if (!(rowData == null ? void 0 : rowData._id)) {
658
- console.warn("Missing rowData._id for form update");
659
- return;
660
- }
661
- let formWithMembers2;
662
- try {
663
- formWithMembers2 = structuredClone(sectionFormJSON);
664
- } catch (cloneError) {
665
- formWithMembers2 = JSON.parse(JSON.stringify(sectionFormJSON));
666
- }
667
- formWithMembers2.forEach((section2, sectionIndex) => {
668
- if (!section2 || typeof section2 !== "object") {
669
- console.warn(`Invalid section at index ${sectionIndex}`);
670
- return;
671
- }
672
- section2.members = members.filter((member) => {
673
- return member && typeof member === "object" && typeof member.section_order === "number" && member.section_order === sectionIndex;
674
- });
675
- });
676
- const hasSystemMembers = formWithMembers2.some(
677
- (section2) => {
678
- var _a2;
679
- return (_a2 = section2.members) == null ? void 0 : _a2.some((member) => Boolean(member == null ? void 0 : member.is_system_field));
680
- }
681
- );
682
- const activeTabIndex = Number(activeTabValue);
683
- let updatedTabsData = [...tabsData];
684
- if (isValidNumber(activeTabIndex) && activeTabIndex >= 0 && activeTabIndex < tabsData.length) {
685
- updatedTabsData = [...tabsData];
686
- updatedTabsData[activeTabIndex] = {
687
- ...updatedTabsData[activeTabIndex],
688
- data: formWithMembers2,
689
- remove_tab: hasSystemMembers
690
- };
691
- setTabsData(updatedTabsData);
692
- }
693
- const state = (updatedTabsData == null ? void 0 : updatedTabsData.length) > 0 ? { tab: updatedTabsData } : { section: formWithMembers2 };
694
- if (typeof formBuilderConversion !== "function") {
695
- console.error("formBuilderConversion is not a function");
696
- return;
697
- }
698
- let formBuilderConversionResult;
699
- try {
700
- formBuilderConversionResult = formBuilderConversion(state);
701
- } catch (conversionError) {
702
- console.error("Error during form builder conversion:", conversionError);
703
- return;
704
- }
705
- if (!formBuilderConversionResult) {
706
- console.warn("Form builder conversion returned empty result");
707
- return;
708
- }
709
- const updatePayload = {
710
- gridCol: elementPerColumn || 2,
711
- fields: formBuilderConversionResult
712
- };
713
- const updateRes = await dispatch(
714
- patchFormDataById({
715
- id: rowData._id,
716
- data: updatePayload
717
- })
718
- );
719
- if (updateRes.meta.requestStatus === "rejected") {
720
- const m = getErrorMessage((_a = updateRes == null ? void 0 : updateRes.error) == null ? void 0 : _a.message);
721
- enqueueSnackbar(m, { variant: "error" });
722
- } else {
723
- enqueueSnackbar("Form updated successfully", { variant: "success" });
724
- navigate(path);
725
- }
726
- } catch (error) {
727
- const m = (error == null ? void 0 : error.message) || "Something went wrong while updating the form";
728
- enqueueSnackbar(m, { variant: "error" });
729
- }
730
- }, [
731
- sectionFormJSON,
732
- members,
733
- tabsData,
734
- rowData == null ? void 0 : rowData._id,
735
- elementPerColumn,
736
- dispatch,
737
- formBuilderConversion
738
- ]);
739
- const handleDuplicateElement = (index) => {
740
- const copyOfMember = { ...members[index], type: "custom" };
741
- copyOfMember && insert(index + 1, copyOfMember);
742
- setActiveMember(index + 1);
743
- setSelectedHoc("element");
744
- setPositionEditedElement(index + 1);
745
- setElementJSON(copyOfMember);
746
- pickPropertyEditForm(copyOfMember.field_type);
747
- };
748
- const breadCrumbPath = [
749
- {
750
- link: path,
751
- label: "Forms"
752
- },
753
- {
754
- link: "",
755
- label: formatLabel(rowData == null ? void 0 : rowData.name)
756
- },
757
- {
758
- link: "",
759
- label: "Edit Form"
760
- }
761
- ];
762
- useEffect(() => {
763
- if (removeSectionActionPerformed) {
764
- members.forEach((member, index) => {
765
- if (removeSectionPosition !== void 0 && Boolean(removeSectionPosition == null ? void 0 : removeSectionPosition.toString) && member.section_order > removeSectionPosition) {
766
- update(index, { ...member, section_order: member.section_order - 1 });
767
- }
768
- });
769
- setRemoveSectionActionPerformed(false);
770
- setRemoveSectionMembersPerformed(true);
771
- setRemoveSectionPosition(void 0);
772
- setSelectedHoc("");
773
- }
774
- }, [removeSectionActionPerformed]);
775
- useEffect(() => {
776
- formBuilder.isSuccess && navigate(path);
777
- }, [formBuilder.isSuccess]);
778
- useEffect(() => {
779
- if (formBuilder.isError) {
780
- setToast({
781
- type: "alert",
782
- message: formBuilder.error
783
- });
784
- }
785
- }, [formBuilder.error, formBuilder.isError]);
786
- useEffect(() => {
787
- if (typeof positionEditedElement !== "number" || typeof positionEditedElement !== "string") {
788
- const index = Number(positionEditedElement);
789
- if (formJSON[index]) {
790
- const copyOfUpdatedFormJson = JSON.parse(
791
- JSON.stringify(formJSON[index])
792
- );
793
- update(index, { ...copyOfUpdatedFormJson });
794
- }
795
- }
796
- }, [formJSON]);
797
- useEffect(() => {
798
- const updatedFormJSON = formJSON.map((obj, index) => {
799
- if (index === Number(positionEditedElement)) {
800
- return { ...elementJSON };
801
- } else {
802
- return { ...obj };
803
- }
804
- });
805
- setFormJSON(updatedFormJSON);
806
- }, [elementJSON]);
807
- useEffect(() => {
808
- if (members.length !== formJSON.length) {
809
- setFormJSON(JSON.parse(JSON.stringify(members)));
810
- }
811
- if (Boolean(elementSwap) && JSON.stringify(members) !== JSON.stringify(formJSON)) {
812
- setFormJSON(JSON.parse(JSON.stringify(members)));
813
- setElementSwap(false);
814
- const newMember = positionEditedElement && members[positionEditedElement];
815
- newMember && setSelectedHoc("element");
816
- newMember && setElementJSON(newMember);
817
- newMember && pickPropertyEditForm(newMember.field_type);
818
- }
819
- if (removeSectionMembersPerformed && JSON.stringify(members) !== JSON.stringify(formJSON)) {
820
- setFormJSON(JSON.parse(JSON.stringify(members)));
821
- setRemoveSectionMembersPerformed(false);
822
- }
823
- }, [members, elementSwap]);
824
- useEffect(() => {
825
- if (typeof sectionPositionEditedElement !== "number" || typeof sectionPositionEditedElement !== "string") {
826
- const index = Number(sectionPositionEditedElement);
827
- if (sectionFormJSON[index]) {
828
- const copyOfUpdatedFormJson = JSON.parse(
829
- JSON.stringify(sectionFormJSON[index])
830
- );
831
- updateSection(index, { ...copyOfUpdatedFormJson });
832
- }
833
- }
834
- }, [sectionFormJSON]);
835
- useEffect(() => {
836
- const updatedFormJSON = sectionFormJSON.map((obj, index) => {
837
- if (index === Number(sectionPositionEditedElement)) {
838
- return { ...obj, ...sectionJSON };
839
- } else {
840
- return { ...obj };
841
- }
842
- });
843
- setSectionFormJSON(updatedFormJSON);
844
- }, [sectionJSON]);
845
- useEffect(() => {
846
- if (section.length !== sectionFormJSON.length) {
847
- setSectionFormJSON(JSON.parse(JSON.stringify(section)));
848
- }
849
- if (JSON.stringify(sectionFormJSON) !== JSON.stringify(section) && modifyAccordion) {
850
- setSectionFormJSON(JSON.parse(JSON.stringify(section)));
851
- setModifyAccordion(false);
852
- }
853
- }, [section]);
854
- useEffect(() => {
855
- return () => {
856
- setInitialLoading(false);
857
- dispatch(resetState());
858
- };
859
- }, []);
860
- const handleFormData = useCallback(async () => {
861
- setInitialLoading(true);
862
- try {
863
- if (rowData == null ? void 0 : rowData._id) {
864
- setTabsData([]);
865
- await dispatch(getFormDataById(rowData == null ? void 0 : rowData._id));
866
- await dispatch(getFieldsByFormId({ id: rowData == null ? void 0 : rowData._id }));
867
- }
868
- } finally {
869
- setInitialLoading(false);
870
- }
871
- }, [rowData == null ? void 0 : rowData._id]);
872
- useEffect(() => {
873
- handleFormData();
874
- }, [handleFormData]);
875
- const DEFAULT_FIELD_TYPE = "text";
876
- const HOC_TYPES = {
877
- ELEMENT: "element",
878
- SECTION: "section"
879
- };
880
- const hasValidContent = (obj) => {
881
- return obj && Object.keys(obj).length > 0;
882
- };
883
- const EmptyStateMessage = () => /* @__PURE__ */ jsx(Typography, { type: "s5", color: "theme.secondary.800", className: "formSection--Text", children: "Select a field to edit its properties." });
884
- const getFieldTypeWithFallback = (json, fallback = DEFAULT_FIELD_TYPE) => {
885
- return (json == null ? void 0 : json.field_type) || fallback;
886
- };
887
- const memoizedForm = useMemo(() => {
888
- if (!selectedHoc) {
889
- return /* @__PURE__ */ jsx(EmptyStateMessage, {});
890
- }
891
- if (selectedHoc === HOC_TYPES.ELEMENT) {
892
- if (!hasValidContent(members)) {
893
- console.warn("Element selected but no members data available");
894
- return /* @__PURE__ */ jsx(EmptyStateMessage, {});
895
- }
896
- const fieldType = getFieldTypeWithFallback(elementJSON);
897
- return pickPropertyEditForm(fieldType);
898
- }
899
- if (selectedHoc === HOC_TYPES.SECTION) {
900
- if (!hasValidContent(section)) {
901
- console.warn("Section selected but no section data available");
902
- return /* @__PURE__ */ jsx(EmptyStateMessage, {});
903
- }
904
- const fieldType = getFieldTypeWithFallback(sectionJSON);
905
- return pickPropertyEditForm(fieldType);
906
- }
907
- console.warn(`Unknown selectedHoc type: ${selectedHoc}`);
908
- return /* @__PURE__ */ jsx(EmptyStateMessage, {});
909
- }, [
910
- // Core dependencies
911
- selectedHoc,
912
- // Data dependencies
913
- Object.keys(members).length,
914
- Object.keys(section).length,
915
- // JSON dependencies with deep comparison consideration
916
- elementJSON == null ? void 0 : elementJSON.field_type,
917
- elementJSON == null ? void 0 : elementJSON.field_properties,
918
- sectionJSON == null ? void 0 : sectionJSON.field_type,
919
- sectionJSON == null ? void 0 : sectionJSON.field_properties,
920
- // Function dependency
921
- pickPropertyEditForm
922
- ]);
923
- return (
924
- // <FullScreenLayout className="formSection--Layout">
925
- /* @__PURE__ */ jsx(Box, { position: "relative", children: initialLoading ? /* @__PURE__ */ jsx(ErpLoader, {}) : /* @__PURE__ */ jsxs(DndProvider, { backend: HTML5Backend, children: [
926
- /* @__PURE__ */ jsx(FormHeader, { breadCrumbPath, children: /* @__PURE__ */ jsxs("div", { className: "formSection--Buttons", children: [
927
- /* @__PURE__ */ jsx(
928
- DynamicButton,
929
- {
930
- variant: "outlined",
931
- className: "formSection--PreviewButton",
932
- text: "Preview",
933
- onClick: () => {
934
- !previewFieldsData ? showPreview() : hidePreview();
935
- },
936
- disable: !(members == null ? void 0 : members.length),
937
- startIcon: previewFieldsData ? /* @__PURE__ */ jsx(EyeOff, {}) : /* @__PURE__ */ jsx(Eye, {})
938
- }
939
- ),
940
- /* @__PURE__ */ jsx(
941
- DynamicButton,
942
- {
943
- variant: "contained",
944
- type: "submit",
945
- text: "Update",
946
- onClick: handleFormUpdate,
947
- disable: previewFieldsData
948
- }
949
- )
950
- ] }) }),
951
- !previewFieldsData ? /* @__PURE__ */ jsxs(Grid, { className: "formSection--Grid", container: true, children: [
952
- /* @__PURE__ */ jsx(
953
- Grid,
954
- {
955
- item: true,
956
- xs: 9,
957
- component: "form",
958
- sx: {
959
- position: "relative",
960
- background: "#F5F6F5",
961
- padding: "0.75rem"
962
- },
963
- children: /* @__PURE__ */ jsxs(Grid, { className: "formSection--GridContainer", children: [
964
- /* @__PURE__ */ jsxs(Box, { className: "formSection--Tab", children: [
965
- tabsData && /* @__PURE__ */ jsx(
966
- TabBar,
967
- {
968
- tabs: tabsData,
969
- onEditTabTitle: handleEditTabTitle,
970
- activeValue: activeTabValue,
971
- setActiveValue: setActiveTabValue,
972
- handleTabChange: () => {
973
- handleTabData();
974
- },
975
- handleRemoveTab,
976
- containerProps: { mb: 0 }
977
- }
978
- ),
979
- /* @__PURE__ */ jsx(
980
- DynamicButton,
981
- {
982
- variant: "outlined",
983
- text: "Add Tab",
984
- onClick: handleAddTab,
985
- style: { color: "#292D32", margin: "0.5rem" }
986
- }
987
- )
988
- ] }),
989
- /* @__PURE__ */ jsxs("div", { className: "formSection--Form", children: [
990
- section == null ? void 0 : section.map((item, i) => {
991
- var _a;
992
- const sectionMembers = members.filter(
993
- (member) => member.section_order === i
994
- );
995
- const isFormSwitcher = item.section_type === SECTION_TYPES.FORM_SWITCH_SECTION;
996
- const switchForms = (_a = item == null ? void 0 : item.switcher_forms) == null ? void 0 : _a.map((form) => ({
997
- ...form,
998
- formMembers: members.filter(
999
- (member) => member.section_form_id === form.id
1000
- )
1001
- }));
1002
- return /* @__PURE__ */ jsxs(
1003
- DynamicSectionHOC,
1004
- {
1005
- index: i,
1006
- label: t(item.label),
1007
- onClick: handleSectionSelection,
1008
- position: i,
1009
- fieldArrayName: "section",
1010
- isFormSwitcher,
1011
- activeIndex: activeSection === i,
1012
- removeSection: () => handleRemoveSection(i),
1013
- handleAccordion: () => handleMakeAccordion(i),
1014
- handleAddButton: (e) => handleAddMember(e),
1015
- remove_section: item.remove_section,
1016
- children: [
1017
- isFormSwitcher ? /* @__PURE__ */ jsxs("div", { style: { width: "100%" }, children: [
1018
- /* @__PURE__ */ jsx(Typography, { type: "s5", style: { fontWeight: 500 }, color: "theme.secondary.800", children: item.form_switcher_label }),
1019
- /* @__PURE__ */ jsx(
1020
- RadioGroup,
1021
- {
1022
- "aria-labelledby": "theme-radio-buttons-group-label",
1023
- name: item.form_switcher_name || item.form_switcher_label,
1024
- children: switchForms == null ? void 0 : switchForms.map(({ name, id, formMembers }) => /* @__PURE__ */ jsxs(Fragment, { children: [
1025
- /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(
1026
- FormControlLabel,
1027
- {
1028
- value: name,
1029
- control: /* @__PURE__ */ jsx(Radio, {}),
1030
- label: t(name),
1031
- disabled: true
1032
- },
1033
- id
1034
- ) }),
1035
- /* @__PURE__ */ jsx(Grid, { container: true, sx: { mb: 3 }, children: /* @__PURE__ */ jsx(
1036
- FormFields,
1037
- {
1038
- sectionMembers: formMembers || [],
1039
- members,
1040
- activeMember,
1041
- control,
1042
- t,
1043
- element,
1044
- images,
1045
- elementJSON,
1046
- remove,
1047
- move,
1048
- handleElementSelection,
1049
- setElementSwap,
1050
- handleDuplicateElement,
1051
- setSelectedHoc,
1052
- setActiveMember
1053
- }
1054
- ) }),
1055
- /* @__PURE__ */ jsx(
1056
- DynamicButton,
1057
- {
1058
- text: "Add",
1059
- variant: "outlined",
1060
- className: "formSection--PreviewButton",
1061
- "data-position": i,
1062
- onClick: (e) => handleAddMember(e, {
1063
- section_form_id: id,
1064
- is_form_switcher_section: true
1065
- }),
1066
- startIcon: /* @__PURE__ */ jsx(Add, {})
1067
- }
1068
- )
1069
- ] }))
1070
- }
1071
- )
1072
- ] }) : null,
1073
- !isFormSwitcher && /* @__PURE__ */ jsx(
1074
- FormFields,
1075
- {
1076
- sectionMembers: sectionMembers || [],
1077
- members,
1078
- activeMember,
1079
- control,
1080
- t,
1081
- element,
1082
- images,
1083
- elementJSON,
1084
- remove,
1085
- move,
1086
- handleElementSelection,
1087
- setElementSwap,
1088
- handleDuplicateElement,
1089
- setSelectedHoc,
1090
- setActiveMember
1091
- }
1092
- )
1093
- ]
1094
- }
1095
- );
1096
- }),
1097
- /* @__PURE__ */ jsx("div", { className: "formSection--Section", children: /* @__PURE__ */ jsx(
1098
- DynamicButton,
1099
- {
1100
- text: "Add a section",
1101
- variant: "outlined",
1102
- className: "formSection--PreviewButton",
1103
- onClick: addNewSection,
1104
- startIcon: /* @__PURE__ */ jsx(Add, {})
1105
- }
1106
- ) })
1107
- ] })
1108
- ] })
1109
- }
1110
- ),
1111
- /* @__PURE__ */ jsx(
1112
- Grid,
1113
- {
1114
- item: true,
1115
- xs: 3,
1116
- className: Boolean(selectedHoc) && ((members == null ? void 0 : members.length) || section.length) ? "formSection--RightGrid" : "formSection--RightGrid formSection--Text",
1117
- children: memoizedForm
1118
- }
1119
- )
1120
- ] }) : /* @__PURE__ */ jsx(
1121
- FormParser,
1122
- {
1123
- data: previewFieldsData || [],
1124
- handleFormSubmit: (data) => console.log("Preview Data", data),
1125
- className: "form-container",
1126
- fieldArrayName: "form-builder-preview",
1127
- getFormMethods: (methods) => setFormParserMethods({ ...methods })
1128
- }
1129
- ),
1130
- /* @__PURE__ */ jsx(
1131
- Toast,
1132
- {
1133
- open: Boolean(toast),
1134
- type: toast == null ? void 0 : toast.type,
1135
- message: toast == null ? void 0 : toast.message,
1136
- handleClose: () => setToast(null),
1137
- anchorOrigin: { horizontal: "right", vertical: "bottom" }
1138
- }
1139
- )
1140
- ] }) })
1141
- );
1142
- }
1143
- export {
1144
- CustomForm as C
1145
- };
1146
- //# sourceMappingURL=custom-form-M2yaxAU-.esm.js.map