@erpsquad/common 1.11.8 → 1.11.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 (599) hide show
  1. package/dist/api-client/index.esm.js +1 -1
  2. package/dist/api-client/index.js +1 -1
  3. package/dist/chunks/{DynamicDependentField-C0XXmMlG.esm.js → DynamicDependentField-CzEJwzIq.esm.js} +2 -2
  4. package/dist/chunks/{DynamicDependentField-C0XXmMlG.esm.js.map → DynamicDependentField-CzEJwzIq.esm.js.map} +1 -1
  5. package/dist/chunks/{DynamicDependentField-CQIfDDqc.js → DynamicDependentField-D8K1QyqC.js} +2 -2
  6. package/dist/chunks/{DynamicDependentField-CQIfDDqc.js.map → DynamicDependentField-D8K1QyqC.js.map} +1 -1
  7. package/dist/chunks/{ERPUIProvider-I4j_X_SD.esm.js → ERPUIProvider-CqbIIC8j.esm.js} +3 -3
  8. package/dist/chunks/{ERPUIProvider-I4j_X_SD.esm.js.map → ERPUIProvider-CqbIIC8j.esm.js.map} +1 -1
  9. package/dist/chunks/{ERPUIProvider-CcSTcdEo.js → ERPUIProvider-TOq-GnAq.js} +3 -3
  10. package/dist/chunks/{ERPUIProvider-CcSTcdEo.js.map → ERPUIProvider-TOq-GnAq.js.map} +1 -1
  11. package/dist/chunks/{FORMS-pxf6g6xE.esm.js → FORMS-C1qQnoDd.esm.js} +7 -7
  12. package/dist/chunks/{FORMS-pxf6g6xE.esm.js.map → FORMS-C1qQnoDd.esm.js.map} +1 -1
  13. package/dist/chunks/{FORMS-CUx32b_4.js → FORMS-qlTftaaD.js} +7 -7
  14. package/dist/chunks/{FORMS-CUx32b_4.js.map → FORMS-qlTftaaD.js.map} +1 -1
  15. package/dist/chunks/{FlexibleReduxExample--GtoEJhc.js → FlexibleReduxExample-BEK1732S.js} +4 -4
  16. package/dist/chunks/{FlexibleReduxExample--GtoEJhc.js.map → FlexibleReduxExample-BEK1732S.js.map} +1 -1
  17. package/dist/chunks/{FlexibleReduxExample-C-2qOGIw.esm.js → FlexibleReduxExample-CfMjfKUf.esm.js} +4 -4
  18. package/dist/chunks/{FlexibleReduxExample-C-2qOGIw.esm.js.map → FlexibleReduxExample-CfMjfKUf.esm.js.map} +1 -1
  19. package/dist/chunks/{SectionFlowEditor-sKsZ3oQo.js → SectionFlowEditor-Bo7czbNc.js} +5 -5
  20. package/dist/chunks/{SectionFlowEditor-sKsZ3oQo.js.map → SectionFlowEditor-Bo7czbNc.js.map} +1 -1
  21. package/dist/chunks/{SectionFlowEditor-CFfJBYKx.esm.js → SectionFlowEditor-Ch24-oHf.esm.js} +5 -5
  22. package/dist/chunks/{SectionFlowEditor-CFfJBYKx.esm.js.map → SectionFlowEditor-Ch24-oHf.esm.js.map} +1 -1
  23. package/dist/chunks/{action-bar-C7Alva4T.esm.js → action-bar-BQ3DcZpw.esm.js} +4 -4
  24. package/dist/chunks/{action-bar-C7Alva4T.esm.js.map → action-bar-BQ3DcZpw.esm.js.map} +1 -1
  25. package/dist/chunks/{action-bar-DdtpxWNk.js → action-bar-CiYO9X02.js} +4 -4
  26. package/dist/chunks/{action-bar-DdtpxWNk.js.map → action-bar-CiYO9X02.js.map} +1 -1
  27. package/dist/chunks/{actionCreator-o4ecxFME.js → actionCreator-BdAKTPvT.js} +3 -3
  28. package/dist/chunks/{actionCreator-o4ecxFME.js.map → actionCreator-BdAKTPvT.js.map} +1 -1
  29. package/dist/chunks/{actionCreator-Cl8vPLVO.esm.js → actionCreator-C5C0Rg3P.esm.js} +2 -2
  30. package/dist/chunks/{actionCreator-Cl8vPLVO.esm.js.map → actionCreator-C5C0Rg3P.esm.js.map} +1 -1
  31. package/dist/chunks/{actionCreator-Cb3NxILP.esm.js → actionCreator-C6VISpYt.esm.js} +3 -3
  32. package/dist/chunks/{actionCreator-Cb3NxILP.esm.js.map → actionCreator-C6VISpYt.esm.js.map} +1 -1
  33. package/dist/chunks/{actionCreator-Dar9Z8_d.esm.js → actionCreator-C7fR-FtF.esm.js} +2 -2
  34. package/dist/chunks/{actionCreator-Dar9Z8_d.esm.js.map → actionCreator-C7fR-FtF.esm.js.map} +1 -1
  35. package/dist/chunks/{actionCreator-CMigYdax.js → actionCreator-CPRDrGDt.js} +3 -3
  36. package/dist/chunks/{actionCreator-CMigYdax.js.map → actionCreator-CPRDrGDt.js.map} +1 -1
  37. package/dist/chunks/{actionCreator-CXmvL3vl.js → actionCreator-D1M0-Fq1.js} +2 -2
  38. package/dist/chunks/{actionCreator-CXmvL3vl.js.map → actionCreator-D1M0-Fq1.js.map} +1 -1
  39. package/dist/chunks/{actionCreator-Bas2FW_X.js → actionCreator-Dds_g-Bu.js} +2 -2
  40. package/dist/chunks/{actionCreator-Bas2FW_X.js.map → actionCreator-Dds_g-Bu.js.map} +1 -1
  41. package/dist/chunks/{actionCreator-CpePNxQM.esm.js → actionCreator-EaDmUCRb.esm.js} +2 -2
  42. package/dist/chunks/{actionCreator-CpePNxQM.esm.js.map → actionCreator-EaDmUCRb.esm.js.map} +1 -1
  43. package/dist/chunks/{actionCreator-CL5ICuqZ.esm.js → actionCreator-Jk4efZIf.esm.js} +3 -3
  44. package/dist/chunks/{actionCreator-CL5ICuqZ.esm.js.map → actionCreator-Jk4efZIf.esm.js.map} +1 -1
  45. package/dist/chunks/{actionCreator-Dl5gTT9c.js → actionCreator-cbPvURIw.js} +2 -2
  46. package/dist/chunks/{actionCreator-Dl5gTT9c.js.map → actionCreator-cbPvURIw.js.map} +1 -1
  47. package/dist/chunks/{add-template-DVvbD9a4.esm.js → add-template-CMJffU6X.esm.js} +2 -2
  48. package/dist/chunks/{add-template-DVvbD9a4.esm.js.map → add-template-CMJffU6X.esm.js.map} +1 -1
  49. package/dist/chunks/{add-template-Dohg2bHJ.js → add-template-xJNMepo_.js} +2 -2
  50. package/dist/chunks/{add-template-Dohg2bHJ.js.map → add-template-xJNMepo_.js.map} +1 -1
  51. package/dist/chunks/{address-modal-CYhiC7ui.js → address-modal-D-FwM2i_.js} +2 -2
  52. package/dist/chunks/{address-modal-CYhiC7ui.js.map → address-modal-D-FwM2i_.js.map} +1 -1
  53. package/dist/chunks/{address-modal-CkDBjnye.esm.js → address-modal-DuLY8PAg.esm.js} +2 -2
  54. package/dist/chunks/{address-modal-CkDBjnye.esm.js.map → address-modal-DuLY8PAg.esm.js.map} +1 -1
  55. package/dist/chunks/{ai-summary-BxcrnNNM.js → ai-summary-CzLIVEbV.js} +3 -3
  56. package/dist/chunks/{ai-summary-BxcrnNNM.js.map → ai-summary-CzLIVEbV.js.map} +1 -1
  57. package/dist/chunks/{ai-summary-SKK5KN2s.esm.js → ai-summary-DGQyEhsD.esm.js} +3 -3
  58. package/dist/chunks/{ai-summary-SKK5KN2s.esm.js.map → ai-summary-DGQyEhsD.esm.js.map} +1 -1
  59. package/dist/chunks/{api-DBhNDBh9.js → api-CMF1LApB.js} +57 -1
  60. package/dist/chunks/{api-DBhNDBh9.js.map → api-CMF1LApB.js.map} +1 -1
  61. package/dist/chunks/{api-BIVCMSwW.esm.js → api-COFUx2RW.esm.js} +2 -2
  62. package/dist/chunks/{api-BIVCMSwW.esm.js.map → api-COFUx2RW.esm.js.map} +1 -1
  63. package/dist/chunks/{api-Bl6wVi9D.esm.js → api-D4FV2rsK.esm.js} +69 -13
  64. package/dist/chunks/{api-Bl6wVi9D.esm.js.map → api-D4FV2rsK.esm.js.map} +1 -1
  65. package/dist/chunks/{api-EomXz8pk.js → api-DuBJvpDR.js} +2 -2
  66. package/dist/chunks/{api-EomXz8pk.js.map → api-DuBJvpDR.js.map} +1 -1
  67. package/dist/chunks/{appbar-rqqjZ99v.js → appbar-DzkTUvFH.js} +2 -2
  68. package/dist/chunks/{appbar-rqqjZ99v.js.map → appbar-DzkTUvFH.js.map} +1 -1
  69. package/dist/chunks/{appbar-BRbO--as.esm.js → appbar-NK7cEVYo.esm.js} +2 -2
  70. package/dist/chunks/{appbar-BRbO--as.esm.js.map → appbar-NK7cEVYo.esm.js.map} +1 -1
  71. package/dist/chunks/{approval-wrapper-BTtmXMlk.esm.js → approval-wrapper-Dkc8WEg5.esm.js} +2 -2
  72. package/dist/chunks/{approval-wrapper-BTtmXMlk.esm.js.map → approval-wrapper-Dkc8WEg5.esm.js.map} +1 -1
  73. package/dist/chunks/{approval-wrapper-BM5NxbtT.js → approval-wrapper-Nh3CVait.js} +2 -2
  74. package/dist/chunks/{approval-wrapper-BM5NxbtT.js.map → approval-wrapper-Nh3CVait.js.map} +1 -1
  75. package/dist/chunks/{chat-bot-BpNtrZEL.esm.js → chat-bot-3MwduUlf.esm.js} +245 -68
  76. package/dist/chunks/chat-bot-3MwduUlf.esm.js.map +1 -0
  77. package/dist/chunks/{chat-bot-osiGMG3g.js → chat-bot-sjkDRlr3.js} +244 -67
  78. package/dist/chunks/chat-bot-sjkDRlr3.js.map +1 -0
  79. package/dist/chunks/{common-utility-DGpbsf7S.esm.js → common-utility-GjUrjpEf.esm.js} +2 -2
  80. package/dist/chunks/{common-utility-DGpbsf7S.esm.js.map → common-utility-GjUrjpEf.esm.js.map} +1 -1
  81. package/dist/chunks/{common-utility-CA_Upser.js → common-utility-TLpddkaa.js} +2 -2
  82. package/dist/chunks/{common-utility-CA_Upser.js.map → common-utility-TLpddkaa.js.map} +1 -1
  83. package/dist/chunks/{custom-editor-6-xqhKz6.esm.js → custom-editor-BjUUIs4F.esm.js} +2 -2
  84. package/dist/chunks/{custom-editor-6-xqhKz6.esm.js.map → custom-editor-BjUUIs4F.esm.js.map} +1 -1
  85. package/dist/chunks/{custom-editor-BeLYFfpv.js → custom-editor-ByC55Z4G.js} +2 -2
  86. package/dist/chunks/{custom-editor-BeLYFfpv.js.map → custom-editor-ByC55Z4G.js.map} +1 -1
  87. package/dist/chunks/{custom-form-CFU7NEVb.js → custom-form-DEzUMeYP.js} +6 -6
  88. package/dist/chunks/{custom-form-CFU7NEVb.js.map → custom-form-DEzUMeYP.js.map} +1 -1
  89. package/dist/chunks/{custom-form-DD7YOHMF.esm.js → custom-form-RvoE2OQr.esm.js} +6 -6
  90. package/dist/chunks/{custom-form-DD7YOHMF.esm.js.map → custom-form-RvoE2OQr.esm.js.map} +1 -1
  91. package/dist/chunks/{dashboard-DL83yYRR.esm.js → dashboard-C-HlBEpm.esm.js} +3 -3
  92. package/dist/chunks/{dashboard-DL83yYRR.esm.js.map → dashboard-C-HlBEpm.esm.js.map} +1 -1
  93. package/dist/chunks/{dashboard-BcWVkWZt.js → dashboard-CSms9RGu.js} +3 -3
  94. package/dist/chunks/{dashboard-BcWVkWZt.js.map → dashboard-CSms9RGu.js.map} +1 -1
  95. package/dist/chunks/{dynamic-report-Z7TQNhUq.js → dynamic-report-2BfQqTlE.js} +4 -4
  96. package/dist/chunks/{dynamic-report-Z7TQNhUq.js.map → dynamic-report-2BfQqTlE.js.map} +1 -1
  97. package/dist/chunks/{dynamic-report-tKn-KqAd.esm.js → dynamic-report-6NS0z5pW.esm.js} +4 -4
  98. package/dist/chunks/{dynamic-report-tKn-KqAd.esm.js.map → dynamic-report-6NS0z5pW.esm.js.map} +1 -1
  99. package/dist/chunks/{dynamic-rows-CTGETfcP.esm.js → dynamic-rows-CZ1dmLX-.esm.js} +2 -2
  100. package/dist/chunks/{dynamic-rows-CTGETfcP.esm.js.map → dynamic-rows-CZ1dmLX-.esm.js.map} +1 -1
  101. package/dist/chunks/{dynamic-rows-CNd_zBwf.js → dynamic-rows-DXy4dtIP.js} +2 -2
  102. package/dist/chunks/{dynamic-rows-CNd_zBwf.js.map → dynamic-rows-DXy4dtIP.js.map} +1 -1
  103. package/dist/chunks/{dynamic-text-editor-BBIYTdKZ.js → dynamic-text-editor-BsS7d6iX.js} +2 -2
  104. package/dist/chunks/{dynamic-text-editor-BBIYTdKZ.js.map → dynamic-text-editor-BsS7d6iX.js.map} +1 -1
  105. package/dist/chunks/{dynamic-text-editor-CPvlGcLK.esm.js → dynamic-text-editor-CLrhRiKM.esm.js} +2 -2
  106. package/dist/chunks/{dynamic-text-editor-CPvlGcLK.esm.js.map → dynamic-text-editor-CLrhRiKM.esm.js.map} +1 -1
  107. package/dist/chunks/{edit-section-modal-BW-aZmUv.esm.js → edit-section-modal-BVH6gzyy.esm.js} +2 -2
  108. package/dist/chunks/{edit-section-modal-BW-aZmUv.esm.js.map → edit-section-modal-BVH6gzyy.esm.js.map} +1 -1
  109. package/dist/chunks/{edit-section-modal-Br2ITvLk.js → edit-section-modal-CB6-TNxs.js} +2 -2
  110. package/dist/chunks/{edit-section-modal-Br2ITvLk.js.map → edit-section-modal-CB6-TNxs.js.map} +1 -1
  111. package/dist/chunks/{filter-Cr_OSIpb.js → filter-Chgp8Ga-.js} +3 -3
  112. package/dist/chunks/{filter-Cr_OSIpb.js.map → filter-Chgp8Ga-.js.map} +1 -1
  113. package/dist/chunks/{filter-COXKBEER.esm.js → filter-DgzeYnXU.esm.js} +3 -3
  114. package/dist/chunks/{filter-COXKBEER.esm.js.map → filter-DgzeYnXU.esm.js.map} +1 -1
  115. package/dist/chunks/{footer-CD3kMRdS.js → footer-CTDZ2Qkg.js} +2 -2
  116. package/dist/chunks/{footer-CD3kMRdS.js.map → footer-CTDZ2Qkg.js.map} +1 -1
  117. package/dist/chunks/{footer-m3_dlNl8.esm.js → footer-Db5CEUun.esm.js} +2 -2
  118. package/dist/chunks/{footer-m3_dlNl8.esm.js.map → footer-Db5CEUun.esm.js.map} +1 -1
  119. package/dist/chunks/{form-fields-yE9kwjvb.js → form-fields-BrEECDh1.js} +2 -2
  120. package/dist/chunks/{form-fields-yE9kwjvb.js.map → form-fields-BrEECDh1.js.map} +1 -1
  121. package/dist/chunks/{form-fields-hMMnB_wE.esm.js → form-fields-CpOWIV5e.esm.js} +2 -2
  122. package/dist/chunks/{form-fields-hMMnB_wE.esm.js.map → form-fields-CpOWIV5e.esm.js.map} +1 -1
  123. package/dist/chunks/{form-parser-DbnSn5eY.esm.js → form-parser-BOBQohRY.esm.js} +2 -2
  124. package/dist/chunks/{form-parser-DbnSn5eY.esm.js.map → form-parser-BOBQohRY.esm.js.map} +1 -1
  125. package/dist/chunks/{form-parser-m4fnw38a.js → form-parser-Bo_xCoz5.js} +2 -2
  126. package/dist/chunks/{form-parser-m4fnw38a.js.map → form-parser-Bo_xCoz5.js.map} +1 -1
  127. package/dist/chunks/{form-section-CPIyMdk2.js → form-section-CQkrOcT4.js} +5 -5
  128. package/dist/chunks/{form-section-CPIyMdk2.js.map → form-section-CQkrOcT4.js.map} +1 -1
  129. package/dist/chunks/{form-section-TMjdOVeW.esm.js → form-section-CuA5Rmec.esm.js} +5 -5
  130. package/dist/chunks/{form-section-TMjdOVeW.esm.js.map → form-section-CuA5Rmec.esm.js.map} +1 -1
  131. package/dist/chunks/{fullScreen-BLLa9ogA.js → fullScreen-CKsAPzW8.js} +3 -3
  132. package/dist/chunks/{fullScreen-BLLa9ogA.js.map → fullScreen-CKsAPzW8.js.map} +1 -1
  133. package/dist/chunks/{fullScreen-DFgzE41_.esm.js → fullScreen-Dq0rkDY2.esm.js} +3 -3
  134. package/dist/chunks/{fullScreen-DFgzE41_.esm.js.map → fullScreen-Dq0rkDY2.esm.js.map} +1 -1
  135. package/dist/chunks/{global-search-BOkxXiZ0.esm.js → global-search-CzTd58hv.esm.js} +3 -3
  136. package/dist/chunks/{global-search-BOkxXiZ0.esm.js.map → global-search-CzTd58hv.esm.js.map} +1 -1
  137. package/dist/chunks/{global-search-BjKPmzsQ.js → global-search-mE46QvyY.js} +3 -3
  138. package/dist/chunks/{global-search-BjKPmzsQ.js.map → global-search-mE46QvyY.js.map} +1 -1
  139. package/dist/chunks/{grid-view-Bo86x7YL.esm.js → grid-view-Ccl3P7WG.esm.js} +2 -2
  140. package/dist/chunks/{grid-view-Bo86x7YL.esm.js.map → grid-view-Ccl3P7WG.esm.js.map} +1 -1
  141. package/dist/chunks/{grid-view-B1u_x5yr.js → grid-view-CcmdZI39.js} +2 -2
  142. package/dist/chunks/{grid-view-B1u_x5yr.js.map → grid-view-CcmdZI39.js.map} +1 -1
  143. package/dist/chunks/{header-BHsex2As.js → header-BLQberkS.js} +3 -3
  144. package/dist/chunks/{header-BHsex2As.js.map → header-BLQberkS.js.map} +1 -1
  145. package/dist/chunks/{header-B-HaoeK7.esm.js → header-DJXi29Ed.esm.js} +3 -3
  146. package/dist/chunks/{header-B-HaoeK7.esm.js.map → header-DJXi29Ed.esm.js.map} +1 -1
  147. package/dist/chunks/{header-enhanced-BjfqyQ1a.esm.js → header-enhanced-BXn_RBUl.esm.js} +2 -2
  148. package/dist/chunks/{header-enhanced-BjfqyQ1a.esm.js.map → header-enhanced-BXn_RBUl.esm.js.map} +1 -1
  149. package/dist/chunks/{header-enhanced-gJl4iC4m.js → header-enhanced-GQeFu_BL.js} +2 -2
  150. package/dist/chunks/{header-enhanced-gJl4iC4m.js.map → header-enhanced-GQeFu_BL.js.map} +1 -1
  151. package/dist/chunks/{inline-edit-fields-BYhRpPcH.esm.js → inline-edit-fields-D68s-Ll-.esm.js} +2 -2
  152. package/dist/chunks/{inline-edit-fields-BYhRpPcH.esm.js.map → inline-edit-fields-D68s-Ll-.esm.js.map} +1 -1
  153. package/dist/chunks/{inline-edit-fields-atDP84QL.js → inline-edit-fields-vGyiNTyf.js} +2 -2
  154. package/dist/chunks/{inline-edit-fields-atDP84QL.js.map → inline-edit-fields-vGyiNTyf.js.map} +1 -1
  155. package/dist/chunks/{inventory-reports-title-bar-Bog2i0dr.js → inventory-reports-title-bar-CT7SIGlT.js} +3 -3
  156. package/dist/chunks/{inventory-reports-title-bar-Bog2i0dr.js.map → inventory-reports-title-bar-CT7SIGlT.js.map} +1 -1
  157. package/dist/chunks/{inventory-reports-title-bar-CP8FzW6A.esm.js → inventory-reports-title-bar-Ddh26t2X.esm.js} +3 -3
  158. package/dist/chunks/{inventory-reports-title-bar-CP8FzW6A.esm.js.map → inventory-reports-title-bar-Ddh26t2X.esm.js.map} +1 -1
  159. package/dist/chunks/{item-response-details-DsGQ7Dlc.js → item-response-details-BGtHtJ76.js} +4 -4
  160. package/dist/chunks/{item-response-details-DsGQ7Dlc.js.map → item-response-details-BGtHtJ76.js.map} +1 -1
  161. package/dist/chunks/{item-response-details-SHSD-nBh.esm.js → item-response-details-DSCdVRmu.esm.js} +4 -4
  162. package/dist/chunks/{item-response-details-SHSD-nBh.esm.js.map → item-response-details-DSCdVRmu.esm.js.map} +1 -1
  163. package/dist/chunks/{listing-DIuzQrzb.js → listing-CTIuYwFQ.js} +4 -4
  164. package/dist/chunks/{listing-DIuzQrzb.js.map → listing-CTIuYwFQ.js.map} +1 -1
  165. package/dist/chunks/{listing-C0Yb6MVq.esm.js → listing-Dy2Rksst.esm.js} +4 -4
  166. package/dist/chunks/{listing-C0Yb6MVq.esm.js.map → listing-Dy2Rksst.esm.js.map} +1 -1
  167. package/dist/chunks/{location-select-g5uczAUF.js → location-select-Dij5uwHV.js} +2 -2
  168. package/dist/chunks/{location-select-g5uczAUF.js.map → location-select-Dij5uwHV.js.map} +1 -1
  169. package/dist/chunks/{location-select-CFa00fy4.esm.js → location-select-N7YryMzR.esm.js} +2 -2
  170. package/dist/chunks/{location-select-CFa00fy4.esm.js.map → location-select-N7YryMzR.esm.js.map} +1 -1
  171. package/dist/chunks/{material-editable-table-pAyK7KYf.esm.js → material-editable-table-DH-mHUyW.esm.js} +3 -3
  172. package/dist/chunks/{material-editable-table-pAyK7KYf.esm.js.map → material-editable-table-DH-mHUyW.esm.js.map} +1 -1
  173. package/dist/chunks/{material-editable-table-BGLjrTzT.js → material-editable-table-flZ7dwOO.js} +3 -3
  174. package/dist/chunks/{material-editable-table-BGLjrTzT.js.map → material-editable-table-flZ7dwOO.js.map} +1 -1
  175. package/dist/chunks/{module-reducer-DMxxForv.esm.js → module-reducer-BOqAXAJs.esm.js} +2 -2
  176. package/dist/chunks/{module-reducer-DMxxForv.esm.js.map → module-reducer-BOqAXAJs.esm.js.map} +1 -1
  177. package/dist/chunks/{module-reducer-Ck36ZEmZ.js → module-reducer-khxO3m2l.js} +2 -2
  178. package/dist/chunks/{module-reducer-Ck36ZEmZ.js.map → module-reducer-khxO3m2l.js.map} +1 -1
  179. package/dist/chunks/{notification-menu-D7ASm-K1.js → notification-menu-DhXt9aJ6.js} +2 -2
  180. package/dist/chunks/{notification-menu-D7ASm-K1.js.map → notification-menu-DhXt9aJ6.js.map} +1 -1
  181. package/dist/chunks/{notification-menu-XAadkn-e.esm.js → notification-menu-INKsWdja.esm.js} +2 -2
  182. package/dist/chunks/{notification-menu-XAadkn-e.esm.js.map → notification-menu-INKsWdja.esm.js.map} +1 -1
  183. package/dist/chunks/{page-action-BPzaL2KJ.js → page-action-8XNeWxvS.js} +4 -4
  184. package/dist/chunks/{page-action-BPzaL2KJ.js.map → page-action-8XNeWxvS.js.map} +1 -1
  185. package/dist/chunks/{page-action-C07iGjvN.esm.js → page-action-BhSpPGBy.esm.js} +4 -4
  186. package/dist/chunks/{page-action-C07iGjvN.esm.js.map → page-action-BhSpPGBy.esm.js.map} +1 -1
  187. package/dist/chunks/{page-navigator-Cgbh3tTG.js → page-navigator-DSmNN1Eb.js} +2 -2
  188. package/dist/chunks/{page-navigator-Cgbh3tTG.js.map → page-navigator-DSmNN1Eb.js.map} +1 -1
  189. package/dist/chunks/{page-navigator-8gZpp9_P.esm.js → page-navigator-DjG5btI1.esm.js} +2 -2
  190. package/dist/chunks/{page-navigator-8gZpp9_P.esm.js.map → page-navigator-DjG5btI1.esm.js.map} +1 -1
  191. package/dist/chunks/{page-view-DJ6HS_dV.js → page-view-Dbf_t78X.js} +3 -3
  192. package/dist/chunks/{page-view-DJ6HS_dV.js.map → page-view-Dbf_t78X.js.map} +1 -1
  193. package/dist/chunks/{page-view-CokUNMBn.esm.js → page-view-DknSUnFR.esm.js} +3 -3
  194. package/dist/chunks/{page-view-CokUNMBn.esm.js.map → page-view-DknSUnFR.esm.js.map} +1 -1
  195. package/dist/chunks/{quick-approval-modal-BwYjIbO5.js → quick-approval-modal-BQcjEC5r.js} +2 -2
  196. package/dist/chunks/{quick-approval-modal-BwYjIbO5.js.map → quick-approval-modal-BQcjEC5r.js.map} +1 -1
  197. package/dist/chunks/{quick-approval-modal-CPWs8htH.esm.js → quick-approval-modal-DcZGFHAN.esm.js} +2 -2
  198. package/dist/chunks/{quick-approval-modal-CPWs8htH.esm.js.map → quick-approval-modal-DcZGFHAN.esm.js.map} +1 -1
  199. package/dist/chunks/{reducer-IsgN83rP.esm.js → reducer-C3tNAbZa.esm.js} +2 -2
  200. package/dist/chunks/{reducer-IsgN83rP.esm.js.map → reducer-C3tNAbZa.esm.js.map} +1 -1
  201. package/dist/chunks/{reducer-CdJ6znKF.esm.js → reducer-CACnVYCu.esm.js} +2 -2
  202. package/dist/chunks/{reducer-CdJ6znKF.esm.js.map → reducer-CACnVYCu.esm.js.map} +1 -1
  203. package/dist/chunks/{reducer-Qab0amzE.js → reducer-Ca4A9Z08.js} +3 -3
  204. package/dist/chunks/{reducer-Qab0amzE.js.map → reducer-Ca4A9Z08.js.map} +1 -1
  205. package/dist/chunks/{reducer-BRD8W9sK.js → reducer-CqXx-nCW.js} +2 -2
  206. package/dist/chunks/{reducer-BRD8W9sK.js.map → reducer-CqXx-nCW.js.map} +1 -1
  207. package/dist/chunks/{reducer-3tSO6RW6.esm.js → reducer-D5uYbcnW.esm.js} +3 -3
  208. package/dist/chunks/{reducer-3tSO6RW6.esm.js.map → reducer-D5uYbcnW.esm.js.map} +1 -1
  209. package/dist/chunks/{reducer-CpOEECi1.js → reducer-D9YsCrPV.js} +2 -2
  210. package/dist/chunks/{reducer-CpOEECi1.js.map → reducer-D9YsCrPV.js.map} +1 -1
  211. package/dist/chunks/{reducer-sgaK2vfW.esm.js → reducer-DgqigQMj.esm.js} +2 -2
  212. package/dist/chunks/{reducer-sgaK2vfW.esm.js.map → reducer-DgqigQMj.esm.js.map} +1 -1
  213. package/dist/chunks/{reducer-CPisqqqN.js → reducer-LZj3gYJv.js} +2 -2
  214. package/dist/chunks/{reducer-CPisqqqN.js.map → reducer-LZj3gYJv.js.map} +1 -1
  215. package/dist/chunks/{reducer-yyZtsg1A.esm.js → reducer-TleDUmAC.esm.js} +2 -2
  216. package/dist/chunks/{reducer-yyZtsg1A.esm.js.map → reducer-TleDUmAC.esm.js.map} +1 -1
  217. package/dist/chunks/{reducer-Bmr6fvcs.js → reducer-zvGfUKoI.js} +2 -2
  218. package/dist/chunks/{reducer-Bmr6fvcs.js.map → reducer-zvGfUKoI.js.map} +1 -1
  219. package/dist/chunks/{reports-title-bar-Kz6JjqsY.js → reports-title-bar-D-1LT4fp.js} +4 -4
  220. package/dist/chunks/{reports-title-bar-Kz6JjqsY.js.map → reports-title-bar-D-1LT4fp.js.map} +1 -1
  221. package/dist/chunks/{reports-title-bar-Cay4E8SQ.esm.js → reports-title-bar-QUF0UaA5.esm.js} +4 -4
  222. package/dist/chunks/{reports-title-bar-Cay4E8SQ.esm.js.map → reports-title-bar-QUF0UaA5.esm.js.map} +1 -1
  223. package/dist/chunks/{routes-CfqLAYgR.js → routes--Iz18uA1.js} +3 -3
  224. package/dist/chunks/{routes-CfqLAYgR.js.map → routes--Iz18uA1.js.map} +1 -1
  225. package/dist/chunks/{routes-CAc76Zan.esm.js → routes-JUv69qeO.esm.js} +3 -3
  226. package/dist/chunks/{routes-CAc76Zan.esm.js.map → routes-JUv69qeO.esm.js.map} +1 -1
  227. package/dist/chunks/{schedule-report-B4ZfEuiU.js → schedule-report-Br9G5M-o.js} +6 -6
  228. package/dist/chunks/{schedule-report-B4ZfEuiU.js.map → schedule-report-Br9G5M-o.js.map} +1 -1
  229. package/dist/chunks/{schedule-report-CLXjjfjc.esm.js → schedule-report-Ce2EEmZX.esm.js} +6 -6
  230. package/dist/chunks/{schedule-report-CLXjjfjc.esm.js.map → schedule-report-Ce2EEmZX.esm.js.map} +1 -1
  231. package/dist/chunks/{schedule-report-modal-CB3G9H7x.esm.js → schedule-report-modal-C5CAD-AQ.esm.js} +3 -3
  232. package/dist/chunks/{schedule-report-modal-CB3G9H7x.esm.js.map → schedule-report-modal-C5CAD-AQ.esm.js.map} +1 -1
  233. package/dist/chunks/{schedule-report-modal-iwoDI-sg.js → schedule-report-modal-CraO2R9I.js} +3 -3
  234. package/dist/chunks/{schedule-report-modal-iwoDI-sg.js.map → schedule-report-modal-CraO2R9I.js.map} +1 -1
  235. package/dist/chunks/{searchable-select-_DCkITfk.js → searchable-select-BdR8A-uG.js} +6 -6
  236. package/dist/chunks/{searchable-select-_DCkITfk.js.map → searchable-select-BdR8A-uG.js.map} +1 -1
  237. package/dist/chunks/{searchable-select-0F6E4XAr.esm.js → searchable-select-DSxOplyJ.esm.js} +6 -6
  238. package/dist/chunks/{searchable-select-0F6E4XAr.esm.js.map → searchable-select-DSxOplyJ.esm.js.map} +1 -1
  239. package/dist/chunks/{share-modal-BaEyZs2h.esm.js → share-modal-0Xrxwpxh.esm.js} +3 -3
  240. package/dist/chunks/{share-modal-BaEyZs2h.esm.js.map → share-modal-0Xrxwpxh.esm.js.map} +1 -1
  241. package/dist/chunks/{share-modal-DrXvh-fV.js → share-modal-CP_CC8wR.js} +3 -3
  242. package/dist/chunks/{share-modal-DrXvh-fV.js.map → share-modal-CP_CC8wR.js.map} +1 -1
  243. package/dist/chunks/{share-modal-enhanced-DnEdDBmu.esm.js → share-modal-enhanced-BFmwba0h.esm.js} +2 -2
  244. package/dist/chunks/{share-modal-enhanced-DnEdDBmu.esm.js.map → share-modal-enhanced-BFmwba0h.esm.js.map} +1 -1
  245. package/dist/chunks/{share-modal-enhanced-BTr0zRhF.js → share-modal-enhanced-BajRayrK.js} +2 -2
  246. package/dist/chunks/{share-modal-enhanced-BTr0zRhF.js.map → share-modal-enhanced-BajRayrK.js.map} +1 -1
  247. package/dist/chunks/{sidebarScreen-DpYj_wlK.js → sidebarScreen-CaNfS0JJ.js} +5 -5
  248. package/dist/chunks/{sidebarScreen-DpYj_wlK.js.map → sidebarScreen-CaNfS0JJ.js.map} +1 -1
  249. package/dist/chunks/{sidebarScreen-DiOAiXeU.esm.js → sidebarScreen-CmnTAXY7.esm.js} +5 -5
  250. package/dist/chunks/{sidebarScreen-DiOAiXeU.esm.js.map → sidebarScreen-CmnTAXY7.esm.js.map} +1 -1
  251. package/dist/chunks/{store-BSJc1kCM.js → store-CqIuLzOS.js} +6 -6
  252. package/dist/chunks/{store-BSJc1kCM.js.map → store-CqIuLzOS.js.map} +1 -1
  253. package/dist/chunks/{store-BL5VFPie.esm.js → store-DH8pCqim.esm.js} +6 -6
  254. package/dist/chunks/{store-BL5VFPie.esm.js.map → store-DH8pCqim.esm.js.map} +1 -1
  255. package/dist/chunks/{table-gxAlAeTq.esm.js → table-ClKu8f94.esm.js} +3 -3
  256. package/dist/chunks/{table-gxAlAeTq.esm.js.map → table-ClKu8f94.esm.js.map} +1 -1
  257. package/dist/chunks/{table-DWx7x8zw.js → table-DgWNw_5R.js} +3 -3
  258. package/dist/chunks/{table-DWx7x8zw.js.map → table-DgWNw_5R.js.map} +1 -1
  259. package/dist/chunks/{table-form-DsTwCUcs.esm.js → table-form-BonoJoe4.esm.js} +2 -2
  260. package/dist/chunks/{table-form-DsTwCUcs.esm.js.map → table-form-BonoJoe4.esm.js.map} +1 -1
  261. package/dist/chunks/{table-form-DQ-pp0A_.js → table-form-DlMHRtLK.js} +2 -2
  262. package/dist/chunks/{table-form-DQ-pp0A_.js.map → table-form-DlMHRtLK.js.map} +1 -1
  263. package/dist/chunks/{template-editor-router-D4NIwVws.js → template-editor-router-BsD0ydNM.js} +2 -2
  264. package/dist/chunks/{template-editor-router-D4NIwVws.js.map → template-editor-router-BsD0ydNM.js.map} +1 -1
  265. package/dist/chunks/{template-editor-router-BXLUTvsk.esm.js → template-editor-router-DoOt_Usq.esm.js} +2 -2
  266. package/dist/chunks/{template-editor-router-BXLUTvsk.esm.js.map → template-editor-router-DoOt_Usq.esm.js.map} +1 -1
  267. package/dist/chunks/{template-modal-X-iSmlki.js → template-modal-BXZblB-i.js} +2 -2
  268. package/dist/chunks/{template-modal-X-iSmlki.js.map → template-modal-BXZblB-i.js.map} +1 -1
  269. package/dist/chunks/{template-modal-B2VgotrF.esm.js → template-modal-Cyj0AUks.esm.js} +2 -2
  270. package/dist/chunks/{template-modal-B2VgotrF.esm.js.map → template-modal-Cyj0AUks.esm.js.map} +1 -1
  271. package/dist/chunks/{templates-CCy1eG6A.esm.js → templates-BK_pcPtR.esm.js} +7 -7
  272. package/dist/chunks/{templates-CCy1eG6A.esm.js.map → templates-BK_pcPtR.esm.js.map} +1 -1
  273. package/dist/chunks/{templates-CUREMwYo.js → templates-C5whh_WJ.js} +7 -7
  274. package/dist/chunks/{templates-CUREMwYo.js.map → templates-C5whh_WJ.js.map} +1 -1
  275. package/dist/chunks/{text-measurement-BRaY2UMX.js → text-measurement-C5RUDcy3.js} +2 -2
  276. package/dist/chunks/{text-measurement-BRaY2UMX.js.map → text-measurement-C5RUDcy3.js.map} +1 -1
  277. package/dist/chunks/{text-measurement-BCjauPbB.esm.js → text-measurement-DvKHzZhR.esm.js} +2 -2
  278. package/dist/chunks/{text-measurement-BCjauPbB.esm.js.map → text-measurement-DvKHzZhR.esm.js.map} +1 -1
  279. package/dist/chunks/{translations-BrwQcVN3.esm.js → translations-BLrQX9my.esm.js} +2 -2
  280. package/dist/chunks/{translations-BrwQcVN3.esm.js.map → translations-BLrQX9my.esm.js.map} +1 -1
  281. package/dist/chunks/{translations-DoVrWLog.js → translations-CaEkNqOX.js} +2 -2
  282. package/dist/chunks/{translations-DoVrWLog.js.map → translations-CaEkNqOX.js.map} +1 -1
  283. package/dist/chunks/{uom-field-wrapper-CTbEc-MB.esm.js → uom-field-wrapper-By-UFGEf.esm.js} +2 -2
  284. package/dist/chunks/{uom-field-wrapper-CTbEc-MB.esm.js.map → uom-field-wrapper-By-UFGEf.esm.js.map} +1 -1
  285. package/dist/chunks/{uom-field-wrapper-DXZgzOYB.js → uom-field-wrapper-CPbf2ESo.js} +2 -2
  286. package/dist/chunks/{uom-field-wrapper-DXZgzOYB.js.map → uom-field-wrapper-CPbf2ESo.js.map} +1 -1
  287. package/dist/chunks/{upload-excel-BZPP13tP.esm.js → upload-excel-Bv2QulNF.esm.js} +2 -2
  288. package/dist/chunks/{upload-excel-BZPP13tP.esm.js.map → upload-excel-Bv2QulNF.esm.js.map} +1 -1
  289. package/dist/chunks/{upload-excel-rzyINtLp.js → upload-excel-Dki_3fi7.js} +2 -2
  290. package/dist/chunks/{upload-excel-rzyINtLp.js.map → upload-excel-Dki_3fi7.js.map} +1 -1
  291. package/dist/chunks/{use-translations-5wUQBxMm.js → use-translations-CiaeAhQ7.js} +2 -2
  292. package/dist/chunks/{use-translations-5wUQBxMm.js.map → use-translations-CiaeAhQ7.js.map} +1 -1
  293. package/dist/chunks/{use-translations-CcjSFA3F.esm.js → use-translations-Cplg_xvQ.esm.js} +2 -2
  294. package/dist/chunks/{use-translations-CcjSFA3F.esm.js.map → use-translations-Cplg_xvQ.esm.js.map} +1 -1
  295. package/dist/chunks/{useAccountSetting-vAqgEiJB.esm.js → useAccountSetting-D2zH-h5F.esm.js} +3 -3
  296. package/dist/chunks/{useAccountSetting-vAqgEiJB.esm.js.map → useAccountSetting-D2zH-h5F.esm.js.map} +1 -1
  297. package/dist/chunks/{useAccountSetting-9XBALMnW.js → useAccountSetting-Dvyv7WUv.js} +3 -3
  298. package/dist/chunks/{useAccountSetting-9XBALMnW.js.map → useAccountSetting-Dvyv7WUv.js.map} +1 -1
  299. package/dist/chunks/{useCheckSkuAndName-CqSLFlhD.js → useCheckSkuAndName-3SCc5HGN.js} +2 -2
  300. package/dist/chunks/{useCheckSkuAndName-CqSLFlhD.js.map → useCheckSkuAndName-3SCc5HGN.js.map} +1 -1
  301. package/dist/chunks/{useCheckSkuAndName-Dl24wQO-.esm.js → useCheckSkuAndName-BuHzZ_fJ.esm.js} +2 -2
  302. package/dist/chunks/{useCheckSkuAndName-Dl24wQO-.esm.js.map → useCheckSkuAndName-BuHzZ_fJ.esm.js.map} +1 -1
  303. package/dist/chunks/{useReduxIntegration-DZBfKF7d.esm.js → useReduxIntegration-B0bZ0VOc.esm.js} +2 -2
  304. package/dist/chunks/{useReduxIntegration-DZBfKF7d.esm.js.map → useReduxIntegration-B0bZ0VOc.esm.js.map} +1 -1
  305. package/dist/chunks/{useReduxIntegration-Ct1UN9fB.js → useReduxIntegration-GG8n-C3E.js} +2 -2
  306. package/dist/chunks/{useReduxIntegration-Ct1UN9fB.js.map → useReduxIntegration-GG8n-C3E.js.map} +1 -1
  307. package/dist/chunks/{useUniquenessCheck-bYjnp_0P.esm.js → useUniquenessCheck-B_KNcS14.esm.js} +2 -2
  308. package/dist/chunks/{useUniquenessCheck-bYjnp_0P.esm.js.map → useUniquenessCheck-B_KNcS14.esm.js.map} +1 -1
  309. package/dist/chunks/{useUniquenessCheck-By5zlovX.js → useUniquenessCheck-SyibUppM.js} +2 -2
  310. package/dist/chunks/{useUniquenessCheck-By5zlovX.js.map → useUniquenessCheck-SyibUppM.js.map} +1 -1
  311. package/dist/chunks/{useVendorAICompare-BAkWpJbe.js → useVendorAICompare-Br8Zaj9n.js} +3 -3
  312. package/dist/chunks/{useVendorAICompare-BAkWpJbe.js.map → useVendorAICompare-Br8Zaj9n.js.map} +1 -1
  313. package/dist/chunks/{useVendorAICompare-DZRFDk4i.esm.js → useVendorAICompare-MAhIaPcK.esm.js} +3 -3
  314. package/dist/chunks/{useVendorAICompare-DZRFDk4i.esm.js.map → useVendorAICompare-MAhIaPcK.esm.js.map} +1 -1
  315. package/dist/chunks/{value-editor-BSS9Ns2T.js → value-editor-CjBbeBcy.js} +3 -3
  316. package/dist/chunks/{value-editor-BSS9Ns2T.js.map → value-editor-CjBbeBcy.js.map} +1 -1
  317. package/dist/chunks/{value-editor-DQ1qgZ2u.esm.js → value-editor-Du1_lUxK.esm.js} +3 -3
  318. package/dist/chunks/{value-editor-DQ1qgZ2u.esm.js.map → value-editor-Du1_lUxK.esm.js.map} +1 -1
  319. package/dist/chunks/{vendor-ai-summary-DWmAaQ_N.js → vendor-ai-summary-ChCg_E_J.js} +2 -2
  320. package/dist/chunks/{vendor-ai-summary-DWmAaQ_N.js.map → vendor-ai-summary-ChCg_E_J.js.map} +1 -1
  321. package/dist/chunks/{vendor-ai-summary-BA6m2dH9.esm.js → vendor-ai-summary-DICDiSMd.esm.js} +2 -2
  322. package/dist/chunks/{vendor-ai-summary-BA6m2dH9.esm.js.map → vendor-ai-summary-DICDiSMd.esm.js.map} +1 -1
  323. package/dist/components/action-bar/action-bar/index.esm.js +1 -1
  324. package/dist/components/action-bar/action-bar/index.js +1 -1
  325. package/dist/components/action-bar/index.esm.js +1 -1
  326. package/dist/components/action-bar/index.js +1 -1
  327. package/dist/components/address-modal/index.esm.js +1 -1
  328. package/dist/components/address-modal/index.js +1 -1
  329. package/dist/components/ai-summary/ai-summary/index.esm.js +1 -1
  330. package/dist/components/ai-summary/ai-summary/index.js +1 -1
  331. package/dist/components/ai-summary/index.esm.js +1 -1
  332. package/dist/components/ai-summary/index.js +1 -1
  333. package/dist/components/appbar/appbar/index.esm.js +1 -1
  334. package/dist/components/appbar/appbar/index.js +1 -1
  335. package/dist/components/appbar/index.esm.js +1 -1
  336. package/dist/components/appbar/index.js +1 -1
  337. package/dist/components/approval-wrapper/approval-wrapper/index.esm.js +1 -1
  338. package/dist/components/approval-wrapper/approval-wrapper/index.js +1 -1
  339. package/dist/components/approval-wrapper/index.esm.js +1 -1
  340. package/dist/components/approval-wrapper/index.js +1 -1
  341. package/dist/components/chat-bot/index.esm.js +1 -1
  342. package/dist/components/chat-bot/index.js +1 -1
  343. package/dist/components/custom-forms/FORMS/index.esm.js +1 -1
  344. package/dist/components/custom-forms/FORMS/index.js +1 -1
  345. package/dist/components/custom-forms/grid-view/grid-view/index.esm.js +1 -1
  346. package/dist/components/custom-forms/grid-view/grid-view/index.js +1 -1
  347. package/dist/components/custom-forms/grid-view/index.esm.js +1 -1
  348. package/dist/components/custom-forms/grid-view/index.js +1 -1
  349. package/dist/components/custom-forms/index.esm.js +2 -2
  350. package/dist/components/custom-forms/index.js +2 -2
  351. package/dist/components/department-add-modal/index.esm.js +1 -1
  352. package/dist/components/department-add-modal/index.js +1 -1
  353. package/dist/components/designation-add-modal/index.esm.js +1 -1
  354. package/dist/components/designation-add-modal/index.js +1 -1
  355. package/dist/components/editor/custom-editor/index.esm.js +1 -1
  356. package/dist/components/editor/custom-editor/index.js +1 -1
  357. package/dist/components/editor/index.esm.js +1 -1
  358. package/dist/components/editor/index.js +1 -1
  359. package/dist/components/examples/FlexibleReduxExample/index.esm.js +1 -1
  360. package/dist/components/examples/FlexibleReduxExample/index.js +1 -1
  361. package/dist/components/examples/index.esm.js +1 -1
  362. package/dist/components/examples/index.js +1 -1
  363. package/dist/components/filter/components/index.esm.js +1 -1
  364. package/dist/components/filter/components/index.js +1 -1
  365. package/dist/components/filter/components/value-editor/index.esm.js +1 -1
  366. package/dist/components/filter/components/value-editor/index.js +1 -1
  367. package/dist/components/filter/filter/index.esm.js +1 -1
  368. package/dist/components/filter/filter/index.js +1 -1
  369. package/dist/components/filter/index.esm.js +2 -2
  370. package/dist/components/filter/index.js +2 -2
  371. package/dist/components/footer/footer/index.esm.js +1 -1
  372. package/dist/components/footer/footer/index.js +1 -1
  373. package/dist/components/footer/index.esm.js +1 -1
  374. package/dist/components/footer/index.js +1 -1
  375. package/dist/components/form-control/form-builder/form-builder-element/dynamic-dependent-field/index.esm.js +1 -1
  376. package/dist/components/form-control/form-builder/form-builder-element/dynamic-dependent-field/index.js +1 -1
  377. package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.esm.js +1 -1
  378. package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.js +1 -1
  379. package/dist/components/form-control/form-builder/form-builder-element/dynamic-text-editor/index.esm.js +1 -1
  380. package/dist/components/form-control/form-builder/form-builder-element/dynamic-text-editor/index.js +1 -1
  381. package/dist/components/form-control/form-builder/form-builder-element/fixed-asset-item-add-modal/index.esm.js +1 -1
  382. package/dist/components/form-control/form-builder/form-builder-element/fixed-asset-item-add-modal/index.js +1 -1
  383. package/dist/components/form-control/form-builder/form-builder-element/index.esm.js +4 -4
  384. package/dist/components/form-control/form-builder/form-builder-element/index.js +4 -4
  385. package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/index.esm.js +1 -1
  386. package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/index.js +1 -1
  387. package/dist/components/form-control/form-builder/form-builder-element/select-configuration/index.esm.js +1 -1
  388. package/dist/components/form-control/form-builder/form-builder-element/select-configuration/index.js +1 -1
  389. package/dist/components/form-control/form-builder/form-builder-element/table/index.esm.js +1 -1
  390. package/dist/components/form-control/form-builder/form-builder-element/table/index.js +1 -1
  391. package/dist/components/form-control/form-builder/index.esm.js +4 -4
  392. package/dist/components/form-control/form-builder/index.js +4 -4
  393. package/dist/components/form-control/form-parser/form-parser/index.esm.js +1 -1
  394. package/dist/components/form-control/form-parser/form-parser/index.js +1 -1
  395. package/dist/components/form-control/form-parser/form-section/index.esm.js +1 -1
  396. package/dist/components/form-control/form-parser/form-section/index.js +1 -1
  397. package/dist/components/form-control/form-parser/index.esm.js +2 -2
  398. package/dist/components/form-control/form-parser/index.js +2 -2
  399. package/dist/components/form-control/index.esm.js +6 -6
  400. package/dist/components/form-control/index.js +6 -6
  401. package/dist/components/header/components/global-search/index.esm.js +1 -1
  402. package/dist/components/header/components/global-search/index.js +1 -1
  403. package/dist/components/header/components/index.esm.js +1 -1
  404. package/dist/components/header/components/index.js +1 -1
  405. package/dist/components/header/components/notification-menu/index.esm.js +1 -1
  406. package/dist/components/header/components/notification-menu/index.js +1 -1
  407. package/dist/components/header/components/notification-menu/notification-menu/index.esm.js +1 -1
  408. package/dist/components/header/components/notification-menu/notification-menu/index.js +1 -1
  409. package/dist/components/header/header/index.esm.js +1 -1
  410. package/dist/components/header/header/index.js +1 -1
  411. package/dist/components/header/header-enhanced/index.esm.js +1 -1
  412. package/dist/components/header/header-enhanced/index.js +1 -1
  413. package/dist/components/header/index.esm.js +5 -5
  414. package/dist/components/header/index.js +5 -5
  415. package/dist/components/header/redux/actionCreator/index.esm.js +1 -1
  416. package/dist/components/header/redux/actionCreator/index.js +1 -1
  417. package/dist/components/header/redux/index.esm.js +2 -2
  418. package/dist/components/header/redux/index.js +2 -2
  419. package/dist/components/header/redux/reducer/index.esm.js +1 -1
  420. package/dist/components/header/redux/reducer/index.js +1 -1
  421. package/dist/components/index.esm.js +36 -36
  422. package/dist/components/index.js +36 -36
  423. package/dist/components/inventory-reports-title-bar/index.esm.js +3 -3
  424. package/dist/components/inventory-reports-title-bar/index.js +3 -3
  425. package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.esm.js +1 -1
  426. package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.js +1 -1
  427. package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.esm.js +1 -1
  428. package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.js +1 -1
  429. package/dist/components/inventory-reports-title-bar/redux/index.esm.js +2 -2
  430. package/dist/components/inventory-reports-title-bar/redux/index.js +2 -2
  431. package/dist/components/inventory-reports-title-bar/redux/reducer/index.esm.js +1 -1
  432. package/dist/components/inventory-reports-title-bar/redux/reducer/index.js +1 -1
  433. package/dist/components/listing/index.esm.js +1 -1
  434. package/dist/components/listing/index.js +1 -1
  435. package/dist/components/listing/listing/index.esm.js +1 -1
  436. package/dist/components/listing/listing/index.js +1 -1
  437. package/dist/components/location-select/index.esm.js +1 -1
  438. package/dist/components/location-select/index.js +1 -1
  439. package/dist/components/material-editable-table/components/index.esm.js +1 -1
  440. package/dist/components/material-editable-table/components/index.js +1 -1
  441. package/dist/components/material-editable-table/components/inline-edit-fields/index.esm.js +1 -1
  442. package/dist/components/material-editable-table/components/inline-edit-fields/index.js +1 -1
  443. package/dist/components/material-editable-table/index.esm.js +2 -2
  444. package/dist/components/material-editable-table/index.js +2 -2
  445. package/dist/components/material-editable-table/material-editable-table/index.esm.js +1 -1
  446. package/dist/components/material-editable-table/material-editable-table/index.js +1 -1
  447. package/dist/components/material-table/components/index.esm.js +1 -1
  448. package/dist/components/material-table/components/index.js +1 -1
  449. package/dist/components/material-table/components/inline-edit-fields/index.esm.js +1 -1
  450. package/dist/components/material-table/components/inline-edit-fields/index.js +1 -1
  451. package/dist/components/material-table/index.esm.js +1 -1
  452. package/dist/components/material-table/index.js +1 -1
  453. package/dist/components/material-table/material-table/index.esm.js +1 -1
  454. package/dist/components/material-table/material-table/index.js +1 -1
  455. package/dist/components/page-navigator/components/index.esm.js +1 -1
  456. package/dist/components/page-navigator/components/index.js +1 -1
  457. package/dist/components/page-navigator/components/page-action/index.esm.js +1 -1
  458. package/dist/components/page-navigator/components/page-action/index.js +1 -1
  459. package/dist/components/page-navigator/index.esm.js +2 -2
  460. package/dist/components/page-navigator/index.js +2 -2
  461. package/dist/components/page-navigator/page-navigator/index.esm.js +1 -1
  462. package/dist/components/page-navigator/page-navigator/index.js +1 -1
  463. package/dist/components/parties-modal/index.esm.js +1 -1
  464. package/dist/components/parties-modal/index.js +1 -1
  465. package/dist/components/parties-modal/parties-modal/index.esm.js +1 -1
  466. package/dist/components/parties-modal/parties-modal/index.js +1 -1
  467. package/dist/components/providers/ERPUIProvider/index.esm.js +1 -1
  468. package/dist/components/providers/ERPUIProvider/index.js +1 -1
  469. package/dist/components/providers/index.esm.js +1 -1
  470. package/dist/components/providers/index.js +1 -1
  471. package/dist/components/quick-approval-modal/index.esm.js +1 -1
  472. package/dist/components/quick-approval-modal/index.js +1 -1
  473. package/dist/components/quick-approval-modal/quick-approval-modal/index.esm.js +1 -1
  474. package/dist/components/quick-approval-modal/quick-approval-modal/index.js +1 -1
  475. package/dist/components/reports/dynamic-report/dynamic-report/index.esm.js +1 -1
  476. package/dist/components/reports/dynamic-report/dynamic-report/index.js +1 -1
  477. package/dist/components/reports/dynamic-report/dynamic-rows/index.esm.js +1 -1
  478. package/dist/components/reports/dynamic-report/dynamic-rows/index.js +1 -1
  479. package/dist/components/reports/dynamic-report/index.esm.js +2 -2
  480. package/dist/components/reports/dynamic-report/index.js +2 -2
  481. package/dist/components/reports/index.esm.js +2 -2
  482. package/dist/components/reports/index.js +2 -2
  483. package/dist/components/reports-title-bar/index.esm.js +3 -3
  484. package/dist/components/reports-title-bar/index.js +3 -3
  485. package/dist/components/reports-title-bar/redux/actionCreator/index.esm.js +1 -1
  486. package/dist/components/reports-title-bar/redux/actionCreator/index.js +1 -1
  487. package/dist/components/reports-title-bar/redux/index.esm.js +2 -2
  488. package/dist/components/reports-title-bar/redux/index.js +2 -2
  489. package/dist/components/reports-title-bar/redux/reducer/index.esm.js +1 -1
  490. package/dist/components/reports-title-bar/redux/reducer/index.js +1 -1
  491. package/dist/components/reports-title-bar/reports-title-bar/index.esm.js +1 -1
  492. package/dist/components/reports-title-bar/reports-title-bar/index.js +1 -1
  493. package/dist/components/rfq-response/index.esm.js +1 -1
  494. package/dist/components/rfq-response/index.js +1 -1
  495. package/dist/components/rfq-response/item-response-details/index.esm.js +1 -1
  496. package/dist/components/rfq-response/item-response-details/index.js +1 -1
  497. package/dist/components/schedule-report/index.esm.js +2 -2
  498. package/dist/components/schedule-report/index.js +2 -2
  499. package/dist/components/schedule-report/schedule-report/index.esm.js +1 -1
  500. package/dist/components/schedule-report/schedule-report/index.js +1 -1
  501. package/dist/components/schedule-report/schedule-report-modal/index.esm.js +1 -1
  502. package/dist/components/schedule-report/schedule-report-modal/index.js +1 -1
  503. package/dist/components/searchable-select/index.esm.js +1 -1
  504. package/dist/components/searchable-select/index.js +1 -1
  505. package/dist/components/share-modal/index.esm.js +4 -4
  506. package/dist/components/share-modal/index.js +4 -4
  507. package/dist/components/share-modal/redux/actionCreator/index.esm.js +1 -1
  508. package/dist/components/share-modal/redux/actionCreator/index.js +1 -1
  509. package/dist/components/share-modal/redux/index.esm.js +2 -2
  510. package/dist/components/share-modal/redux/index.js +2 -2
  511. package/dist/components/share-modal/redux/reducer/index.esm.js +1 -1
  512. package/dist/components/share-modal/redux/reducer/index.js +1 -1
  513. package/dist/components/share-modal/share-modal/index.esm.js +1 -1
  514. package/dist/components/share-modal/share-modal/index.js +1 -1
  515. package/dist/components/share-modal/share-modal-enhanced/index.esm.js +1 -1
  516. package/dist/components/share-modal/share-modal-enhanced/index.js +1 -1
  517. package/dist/components/team-add-modal/index.esm.js +1 -1
  518. package/dist/components/team-add-modal/index.js +1 -1
  519. package/dist/components/uom-field-wrapper/index.esm.js +1 -1
  520. package/dist/components/uom-field-wrapper/index.js +1 -1
  521. package/dist/components/uom-field-wrapper/uom-field-wrapper/index.esm.js +1 -1
  522. package/dist/components/uom-field-wrapper/uom-field-wrapper/index.js +1 -1
  523. package/dist/components/upload-excel/index.esm.js +1 -1
  524. package/dist/components/upload-excel/index.js +1 -1
  525. package/dist/components/upload-excel/upload-excel/index.esm.js +1 -1
  526. package/dist/components/upload-excel/upload-excel/index.js +1 -1
  527. package/dist/components/vendor-ai-summary/index.esm.js +1 -1
  528. package/dist/components/vendor-ai-summary/index.js +1 -1
  529. package/dist/hooks/index.esm.js +6 -6
  530. package/dist/hooks/index.js +6 -6
  531. package/dist/hooks/use-translations/index.esm.js +1 -1
  532. package/dist/hooks/use-translations/index.js +1 -1
  533. package/dist/hooks/useAccountSetting/index.esm.js +1 -1
  534. package/dist/hooks/useAccountSetting/index.js +1 -1
  535. package/dist/hooks/useCheckSkuAndName/index.esm.js +1 -1
  536. package/dist/hooks/useCheckSkuAndName/index.js +1 -1
  537. package/dist/hooks/useReduxIntegration/index.esm.js +1 -1
  538. package/dist/hooks/useReduxIntegration/index.js +1 -1
  539. package/dist/hooks/useUniquenessCheck/index.esm.js +1 -1
  540. package/dist/hooks/useUniquenessCheck/index.js +1 -1
  541. package/dist/index.esm.js +64 -64
  542. package/dist/index.js +64 -64
  543. package/dist/layout/fullScreen/index.esm.js +1 -1
  544. package/dist/layout/fullScreen/index.js +1 -1
  545. package/dist/layout/index.esm.js +2 -2
  546. package/dist/layout/index.js +2 -2
  547. package/dist/layout/sidebarScreen/index.esm.js +1 -1
  548. package/dist/layout/sidebarScreen/index.js +1 -1
  549. package/dist/redux/index.esm.js +3 -3
  550. package/dist/redux/index.js +3 -3
  551. package/dist/runtime/index.esm.js +1 -1
  552. package/dist/runtime/index.js +1 -1
  553. package/dist/src/api-client/api.ai-feature/api.d.ts +15 -0
  554. package/dist/src/components/chat-bot/types.d.ts +1 -1
  555. package/dist/utils/api/index.esm.js +1 -1
  556. package/dist/utils/api/index.js +1 -1
  557. package/dist/utils/common/index.esm.js +1 -1
  558. package/dist/utils/common/index.js +1 -1
  559. package/dist/utils/common-utility/index.esm.js +1 -1
  560. package/dist/utils/common-utility/index.js +1 -1
  561. package/dist/utils/index.esm.js +5 -5
  562. package/dist/utils/index.js +4 -4
  563. package/dist/utils/text-measurement/index.esm.js +1 -1
  564. package/dist/utils/text-measurement/index.js +1 -1
  565. package/dist/views/afterAuth/dashboard/index.esm.js +1 -1
  566. package/dist/views/afterAuth/dashboard/index.js +1 -1
  567. package/dist/views/afterAuth/index.esm.js +2 -2
  568. package/dist/views/afterAuth/index.js +2 -2
  569. package/dist/views/afterAuth/page-view/index.esm.js +1 -1
  570. package/dist/views/afterAuth/page-view/index.js +1 -1
  571. package/dist/views/form-builder/custom-form/index.esm.js +1 -1
  572. package/dist/views/form-builder/custom-form/index.js +1 -1
  573. package/dist/views/form-builder/element-edit-forms/index.esm.js +1 -1
  574. package/dist/views/form-builder/element-edit-forms/index.js +1 -1
  575. package/dist/views/form-builder/form-fields/index.esm.js +1 -1
  576. package/dist/views/form-builder/form-fields/index.js +1 -1
  577. package/dist/views/form-builder/index.esm.js +4 -4
  578. package/dist/views/form-builder/index.js +4 -4
  579. package/dist/views/form-builder/redux/index.esm.js +1 -1
  580. package/dist/views/form-builder/redux/index.js +1 -1
  581. package/dist/views/index.esm.js +13 -13
  582. package/dist/views/index.js +13 -13
  583. package/dist/views/template-editor/add-template/index.esm.js +1 -1
  584. package/dist/views/template-editor/add-template/index.js +1 -1
  585. package/dist/views/template-editor/components/index.esm.js +1 -1
  586. package/dist/views/template-editor/components/index.js +1 -1
  587. package/dist/views/template-editor/edit-section-modal/index.esm.js +1 -1
  588. package/dist/views/template-editor/edit-section-modal/index.js +1 -1
  589. package/dist/views/template-editor/index.esm.js +7 -7
  590. package/dist/views/template-editor/index.js +7 -7
  591. package/dist/views/template-editor/routes/index.esm.js +1 -1
  592. package/dist/views/template-editor/routes/index.js +1 -1
  593. package/dist/views/template-editor/template-modal/index.esm.js +1 -1
  594. package/dist/views/template-editor/template-modal/index.js +1 -1
  595. package/dist/views/template-editor/templates/index.esm.js +1 -1
  596. package/dist/views/template-editor/templates/index.js +1 -1
  597. package/package.json +1 -1
  598. package/dist/chunks/chat-bot-BpNtrZEL.esm.js.map +0 -1
  599. package/dist/chunks/chat-bot-osiGMG3g.js.map +0 -1
@@ -1,11 +1,11 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import React__default, { useState, useRef, useCallback, useEffect, useMemo } from "react";
3
3
  import { marked } from "marked";
4
- import { Add, OpenInFullRounded, Close, DeleteOutlineRounded, ArrowUpwardRounded, ImageRounded, ArticleRounded, DescriptionRounded, TableChartRounded, PictureAsPdfRounded, InsertDriveFileRounded, CloudUploadRounded, CheckCircleRounded, ErrorRounded, HourglassBottomRounded } from "@mui/icons-material";
4
+ import { Add, OpenInFullRounded, Close, DeleteOutlineRounded, UploadFileRounded, ArrowUpwardRounded, ImageRounded, ArticleRounded, DescriptionRounded, TableChartRounded, PictureAsPdfRounded, InsertDriveFileRounded, CloudUploadRounded, CheckCircleRounded, ErrorRounded, HourglassBottomRounded } from "@mui/icons-material";
5
5
  import { useAuth } from "@erpsquad/common/runtime";
6
6
  import { getApiConfigSafe } from "../utils/api-config/index.esm.js";
7
- import { ab as getToken, V as getDefaultUserData, aI as getV1DepartmentsId } from "./api-BIVCMSwW.esm.js";
8
- import { aA as setAiFeatureBaseUrl, aJ as getV1CopilotQuestions, aK as uploadDocument, aL as getDocumentStatus, aM as streamV1CopilotChat, aN as uploadDocuments, aO as startV1CopilotAgent, aP as formAssistV1Copilot, aQ as postV1CopilotSubmit, aR as postV1CopilotSaveDraft, aS as postV1CopilotDiscard, aT as resetV1CopilotSession, aU as getV1ChartOfAccountId, aV as getV1TaxCodeId, aW as getV1InventoryItemsId, av as getV1Uom, A as getV1PartiesId, aX as getV1PaymentTermsId, aY as getV1CurrencyId, aZ as getV1WarehouseLocationId } from "./api-Bl6wVi9D.esm.js";
7
+ import { ab as getToken, V as getDefaultUserData, aI as getV1DepartmentsId } from "./api-COFUx2RW.esm.js";
8
+ import { aA as setAiFeatureBaseUrl, aJ as getV1CopilotQuestions, aK as uploadDocument, aL as getDocumentStatus, aM as streamV1CopilotChat, aN as uploadDocuments, aO as streamV1CopilotSmart, aP as postV1CopilotSubmit, aQ as postV1CopilotSaveDraft, aR as postV1CopilotDiscard, aS as startV1CopilotAgent, aT as formAssistV1Copilot, aU as resetV1CopilotSession, aV as getV1ChartOfAccountId, aW as getV1TaxCodeId, aX as getV1InventoryItemsId, av as getV1Uom, A as getV1PartiesId, aY as getV1PaymentTermsId, aZ as getV1CurrencyId, a_ as getV1WarehouseLocationId } from "./api-D4FV2rsK.esm.js";
9
9
  import { d as getV1CompanyId, i as getV1LocationsStates } from "./api-CZGorfuI.esm.js";
10
10
  import { A as AIDisclaimer } from "./ai-disclaimer-kOtXrSve.esm.js";
11
11
  import { B as Button } from "./button-BtdpXmjA.esm.js";
@@ -228,6 +228,11 @@ const SLASH_COMMANDS = [
228
228
  id: "doc_qa",
229
229
  label: "Document",
230
230
  description: "Upload a document and ask questions about it"
231
+ },
232
+ {
233
+ id: "smart",
234
+ label: "Smart Copilot",
235
+ description: "Automatically routes your query to the right service"
231
236
  }
232
237
  ];
233
238
  const INSIGHTS = [
@@ -280,7 +285,7 @@ const ChatBotWelcome = ({ firstName, onSuggestion, dynamicQuestions = [], mode,
280
285
  const askTiles = dynamicQuestions.length > 0 ? dynamicTiles : SUGGEST_TILES.filter((t) => t.cat === "ASK");
281
286
  const agentTiles = SUGGEST_TILES.filter((t) => t.cat === "AGENT");
282
287
  const docTiles = SUGGEST_TILES.filter((t) => t.cat === "DOC");
283
- const displayTiles = mode === "conversation" ? askTiles : mode === "agent" ? agentTiles : docTiles;
288
+ const displayTiles = mode === "smart" ? [...askTiles, ...agentTiles, ...docTiles] : mode === "conversation" ? askTiles : mode === "agent" ? agentTiles : docTiles;
284
289
  return /* @__PURE__ */ jsxs("div", { className: `chatBot--welcome ${dashboardMode ? "chatBot--welcome--center" : ""}`, children: [
285
290
  /* @__PURE__ */ jsx("div", { className: "chatBot--greeting", children: dashboardMode ? /* @__PURE__ */ jsxs(Fragment, { children: [
286
291
  "Hi ",
@@ -405,14 +410,15 @@ const ChatBotInput = ({
405
410
  ft
406
411
  )) })
407
412
  ] }),
408
- mode === "doc_qa" && activeDocument && (!activeDocuments || activeDocuments.length === 0) && /* @__PURE__ */ jsx("div", { className: "chatBot--doc-chip-bar", children: /* @__PURE__ */ jsxs("div", { className: "chatBot--doc-chip", children: [
413
+ (mode === "doc_qa" || mode === "smart") && activeDocument && (!activeDocuments || activeDocuments.length === 0) && /* @__PURE__ */ jsx("div", { className: "chatBot--doc-chip-bar", children: /* @__PURE__ */ jsxs("div", { className: "chatBot--doc-chip", children: [
409
414
  /* @__PURE__ */ jsx("span", { className: "chatBot--doc-chip-dot", style: {
410
415
  background: activeDocument.status === "ready" ? "#2EB273" : activeDocument.status === "failed" ? "#C62828" : "#2EB273"
411
416
  } }),
412
417
  /* @__PURE__ */ jsx("span", { className: "chatBot--doc-chip-name", children: activeDocument.filename }),
413
- activeDocument.status === "ready" && /* @__PURE__ */ jsx("span", { className: "chatBot--doc-chip-badge", children: "Ready" })
418
+ activeDocument.status === "ready" && /* @__PURE__ */ jsx("span", { className: "chatBot--doc-chip-badge", children: "Ready" }),
419
+ mode === "smart" && /* @__PURE__ */ jsx("button", { className: "chatBot--doc-chip-action chatBot--doc-chip-action--danger", onClick: onDocDelete, title: "Remove document", style: { marginLeft: "auto" }, children: /* @__PURE__ */ jsx(DeleteOutlineRounded, { sx: { fontSize: 15 } }) })
414
420
  ] }) }),
415
- mode === "doc_qa" && activeDocuments && activeDocuments.length > 0 && /* @__PURE__ */ jsx("div", { className: "chatBot--doc-chip-bar", children: activeDocuments.map((doc) => /* @__PURE__ */ jsxs("div", { className: "chatBot--doc-chip", children: [
421
+ (mode === "doc_qa" || mode === "smart") && activeDocuments && activeDocuments.length > 0 && /* @__PURE__ */ jsx("div", { className: "chatBot--doc-chip-bar", children: activeDocuments.map((doc) => /* @__PURE__ */ jsxs("div", { className: "chatBot--doc-chip", children: [
416
422
  /* @__PURE__ */ jsx("span", { className: "chatBot--doc-chip-dot", style: {
417
423
  background: doc.status === "ready" ? "#2EB273" : doc.status === "failed" ? "#C62828" : "#2EB273"
418
424
  } }),
@@ -427,11 +433,11 @@ const ChatBotInput = ({
427
433
  ref: textareaRef,
428
434
  className: "chatBot--textarea",
429
435
  rows: 2,
430
- placeholder: mode === "doc_qa" ? activeDocuments && activeDocuments.length > 0 ? activeDocuments.every((d) => d.status === "ready") ? "Ask a question about the document(s)…" : "Documents are processing…" : (activeDocument == null ? void 0 : activeDocument.status) === "ready" ? "Ask a question about this document…" : activeDocument ? "Document is still processing…" : "Upload PDF(s) above, then ask questions…" : mode === "agent" ? "Add any context for the agent…" : "Ask anything, or describe an action…",
436
+ placeholder: (mode === "doc_qa" || mode === "smart") && (activeDocument || activeDocuments && activeDocuments.length > 0) ? activeDocuments && activeDocuments.length > 0 ? activeDocuments.every((d) => d.status === "ready") ? "Ask a question about the document(s)…" : "Documents are processing…" : (activeDocument == null ? void 0 : activeDocument.status) === "ready" ? "Ask a question about this document…" : activeDocument ? "Document is still processing…" : "Upload PDF(s) above, then ask questions…" : mode === "agent" ? "Add any context for the agent…" : "Ask anything, or describe an action…",
431
437
  value: inputValue,
432
438
  onChange,
433
439
  onKeyDown,
434
- disabled: isTyping || mode === "doc_qa" && !!activeDocument && activeDocument.status !== "ready" || mode === "doc_qa" && !!activeDocuments && activeDocuments.length > 0 && activeDocuments.some((d) => d.status !== "ready")
440
+ disabled: isTyping || (mode === "doc_qa" || mode === "smart") && !!activeDocument && activeDocument.status !== "ready" || (mode === "doc_qa" || mode === "smart") && !!activeDocuments && activeDocuments.length > 0 && activeDocuments.some((d) => d.status !== "ready")
435
441
  }
436
442
  ),
437
443
  /* @__PURE__ */ jsxs("div", { className: "chatBot--ctrls", children: [
@@ -449,6 +455,17 @@ const ChatBotInput = ({
449
455
  cmd.id
450
456
  )) }),
451
457
  /* @__PURE__ */ jsx("span", { className: "chatBot--ctrls-grow" }),
458
+ mode === "smart" && !activeDocument && (!activeDocuments || activeDocuments.length === 0) && /* @__PURE__ */ jsx(
459
+ "button",
460
+ {
461
+ className: `chatBot--mode-tab${isTyping ? " disabled" : ""}`,
462
+ style: { padding: "4px 8px", marginRight: "8px", opacity: isTyping ? 0.5 : 1, cursor: isTyping ? "not-allowed" : "pointer" },
463
+ onClick: onDocUpload,
464
+ disabled: isTyping,
465
+ title: "Attach Document",
466
+ children: /* @__PURE__ */ jsx(UploadFileRounded, { style: { fontSize: 16 } })
467
+ }
468
+ ),
452
469
  /* @__PURE__ */ jsx(
453
470
  "button",
454
471
  {
@@ -937,15 +954,22 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
937
954
  const textareaRef = useRef(null);
938
955
  const userScrolledUp = useRef(false);
939
956
  const agentStarted = useRef(false);
957
+ const smartSessionIdRef = useRef(null);
940
958
  const [activeDocument, setActiveDocument] = useState(null);
941
959
  const [docIntroSent, setDocIntroSent] = useState(false);
942
960
  const [docError, setDocError] = useState(null);
961
+ const [showUploadArea, setShowUploadArea] = useState(false);
943
962
  const [activeDocuments, setActiveDocuments] = useState([]);
944
963
  const [suggestedQuestions, setSuggestedQuestions] = useState([]);
945
964
  const fetchedMultiDocIntroIds = useRef("");
965
+ const tabStateRef = useRef({});
946
966
  const firstName = (user == null ? void 0 : user.first_name) || "";
947
967
  const filteredMessages = useMemo(
948
- () => messages.filter((m) => !m.mode || m.mode === mode),
968
+ () => messages.filter((m) => {
969
+ if (!m.mode) return true;
970
+ if (m.mode === mode) return true;
971
+ return false;
972
+ }),
949
973
  [messages, mode]
950
974
  );
951
975
  useEffect(() => {
@@ -1024,6 +1048,14 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
1024
1048
  }
1025
1049
  }
1026
1050
  }, [isOpen, dynamicQuestions.length, fetchQuestions]);
1051
+ useEffect(() => {
1052
+ if (!isTyping && isOpen) {
1053
+ setTimeout(() => {
1054
+ var _a2;
1055
+ return (_a2 = textareaRef.current) == null ? void 0 : _a2.focus();
1056
+ }, 100);
1057
+ }
1058
+ }, [isTyping, isOpen]);
1027
1059
  useEffect(() => {
1028
1060
  const container = bodyRef.current;
1029
1061
  if (!container) return;
@@ -1040,6 +1072,23 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
1040
1072
  }
1041
1073
  }, [messages, isTyping, currentFieldUpdates, resolvedLabels, activeDocument, activeDocuments, suggestedQuestions]);
1042
1074
  const selectCommand = (id) => {
1075
+ if (id !== mode) {
1076
+ tabStateRef.current[mode] = {
1077
+ doc: activeDocument,
1078
+ docs: activeDocuments,
1079
+ suggested: suggestedQuestions,
1080
+ introSent: docIntroSent,
1081
+ error: docError,
1082
+ multiDocIds: fetchedMultiDocIntroIds.current
1083
+ };
1084
+ const nextState = tabStateRef.current[id] || { doc: null, docs: [], suggested: [], introSent: false, error: null, multiDocIds: "" };
1085
+ setActiveDocument(nextState.doc);
1086
+ setActiveDocuments(nextState.docs);
1087
+ setSuggestedQuestions(nextState.suggested);
1088
+ setDocIntroSent(nextState.introSent);
1089
+ setDocError(nextState.error);
1090
+ fetchedMultiDocIntroIds.current = nextState.multiDocIds;
1091
+ }
1043
1092
  setMode(id);
1044
1093
  setShowSlashMenu(false);
1045
1094
  setSlashIndex(0);
@@ -1069,7 +1118,9 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
1069
1118
  }
1070
1119
  };
1071
1120
  const handleSuggestion = (prompt, suggestionMode, suggestionFormType) => {
1072
- setMode(suggestionMode);
1121
+ if (mode !== "smart") {
1122
+ setMode(suggestionMode);
1123
+ }
1073
1124
  if (suggestionFormType) setFormType(suggestionFormType);
1074
1125
  setInputValue(prompt);
1075
1126
  setTimeout(() => {
@@ -1104,6 +1155,25 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
1104
1155
  };
1105
1156
  setActiveDocument(fullDoc);
1106
1157
  setDocIntroSent(false);
1158
+ const onDocIntro = (data) => {
1159
+ if (data == null ? void 0 : data.found) {
1160
+ setActiveDocument((prev) => prev && prev.doc_id === fullDoc.doc_id ? {
1161
+ ...prev,
1162
+ summary: data.summary,
1163
+ suggested_questions: data.suggested_questions,
1164
+ category: data.category || prev.category,
1165
+ sub_category: data.sub_category || prev.sub_category
1166
+ } : prev);
1167
+ }
1168
+ };
1169
+ if (mode === "smart") {
1170
+ smartSessionIdRef.current = null;
1171
+ agentStarted.current = false;
1172
+ setFormType(null);
1173
+ setFormStatus("in_progress");
1174
+ setCurrentFieldUpdates(null);
1175
+ setResolvedLabels({});
1176
+ }
1107
1177
  streamV1CopilotChat(
1108
1178
  { ...getToken(), query: "", doc_id: fullDoc.doc_id, doc_intro: true },
1109
1179
  () => {
@@ -1114,17 +1184,7 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
1114
1184
  },
1115
1185
  () => {
1116
1186
  },
1117
- (data) => {
1118
- if (data == null ? void 0 : data.found) {
1119
- setActiveDocument((prev) => prev && prev.doc_id === fullDoc.doc_id ? {
1120
- ...prev,
1121
- summary: data.summary,
1122
- suggested_questions: data.suggested_questions,
1123
- category: data.category || prev.category,
1124
- sub_category: data.sub_category || prev.sub_category
1125
- } : prev);
1126
- }
1127
- }
1187
+ onDocIntro
1128
1188
  ).catch(() => {
1129
1189
  });
1130
1190
  return fullDoc;
@@ -1151,6 +1211,14 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
1151
1211
  } : prev);
1152
1212
  }
1153
1213
  };
1214
+ if (mode === "smart") {
1215
+ smartSessionIdRef.current = null;
1216
+ agentStarted.current = false;
1217
+ setFormType(null);
1218
+ setFormStatus("in_progress");
1219
+ setCurrentFieldUpdates(null);
1220
+ setResolvedLabels({});
1221
+ }
1154
1222
  streamV1CopilotChat(
1155
1223
  { ...getToken(), query: "", doc_id: doc.doc_id, doc_intro: true },
1156
1224
  () => {
@@ -1174,7 +1242,7 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
1174
1242
  const docId = activeDocument.doc_id;
1175
1243
  try {
1176
1244
  const { "x-token": token } = getToken();
1177
- const { deleteDocument } = await import("./api-Bl6wVi9D.esm.js").then((n) => n.b);
1245
+ const { deleteDocument } = await import("./api-D4FV2rsK.esm.js").then((n) => n.b);
1178
1246
  await deleteDocument(docId, token);
1179
1247
  setActiveDocument(
1180
1248
  (current) => (current == null ? void 0 : current.doc_id) === docId ? null : current
@@ -1191,6 +1259,42 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
1191
1259
  const currentIds = docs.map((d) => d.doc_id).sort().join(",");
1192
1260
  if (fetchedMultiDocIntroIds.current === currentIds) return;
1193
1261
  fetchedMultiDocIntroIds.current = currentIds;
1262
+ const onDocIntro = (data) => {
1263
+ if (data == null ? void 0 : data.found) {
1264
+ if (data.suggested_questions) {
1265
+ setSuggestedQuestions(data.suggested_questions);
1266
+ }
1267
+ setActiveDocuments((prev) => prev.map((p) => {
1268
+ if (docs.length === 1) {
1269
+ return {
1270
+ ...p,
1271
+ summary: data.summary,
1272
+ category: data.category || p.category,
1273
+ sub_category: data.sub_category || p.sub_category
1274
+ };
1275
+ } else if (data.docs && Array.isArray(data.docs)) {
1276
+ const dData = data.docs.find((d) => d.doc_id === p.doc_id);
1277
+ if (dData) {
1278
+ return {
1279
+ ...p,
1280
+ summary: dData.summary,
1281
+ category: dData.category || p.category,
1282
+ sub_category: dData.sub_category || p.sub_category
1283
+ };
1284
+ }
1285
+ }
1286
+ return p;
1287
+ }));
1288
+ }
1289
+ };
1290
+ if (mode === "smart") {
1291
+ smartSessionIdRef.current = null;
1292
+ agentStarted.current = false;
1293
+ setFormType(null);
1294
+ setFormStatus("in_progress");
1295
+ setCurrentFieldUpdates(null);
1296
+ setResolvedLabels({});
1297
+ }
1194
1298
  streamV1CopilotChat(
1195
1299
  { ...getToken(), query: "", doc_ids: docs.map((d) => d.doc_id), doc_intro: true },
1196
1300
  () => {
@@ -1201,37 +1305,10 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
1201
1305
  },
1202
1306
  () => {
1203
1307
  },
1204
- (data) => {
1205
- if (data == null ? void 0 : data.found) {
1206
- if (data.suggested_questions) {
1207
- setSuggestedQuestions(data.suggested_questions);
1208
- }
1209
- setActiveDocuments((prev) => prev.map((p) => {
1210
- if (docs.length === 1) {
1211
- return {
1212
- ...p,
1213
- summary: data.summary,
1214
- category: data.category || p.category,
1215
- sub_category: data.sub_category || p.sub_category
1216
- };
1217
- } else if (data.docs && Array.isArray(data.docs)) {
1218
- const dData = data.docs.find((d) => d.doc_id === p.doc_id);
1219
- if (dData) {
1220
- return {
1221
- ...p,
1222
- summary: dData.summary,
1223
- category: dData.category || p.category,
1224
- sub_category: dData.sub_category || p.sub_category
1225
- };
1226
- }
1227
- }
1228
- return p;
1229
- }));
1230
- }
1231
- }
1308
+ onDocIntro
1232
1309
  ).catch(() => {
1233
1310
  });
1234
- }, [docIntroSent]);
1311
+ }, [docIntroSent, mode]);
1235
1312
  const handleMultiDocUpload = useCallback(async (files, onProgress) => {
1236
1313
  const { "x-token": token } = getToken();
1237
1314
  setDocError(null);
@@ -1299,7 +1376,7 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
1299
1376
  const docsToDelete = docId ? activeDocuments.filter((d) => d.doc_id === docId) : activeDocuments;
1300
1377
  try {
1301
1378
  const { "x-token": token } = getToken();
1302
- const { deleteDocument } = await import("./api-Bl6wVi9D.esm.js").then((n) => n.b);
1379
+ const { deleteDocument } = await import("./api-D4FV2rsK.esm.js").then((n) => n.b);
1303
1380
  await Promise.all(docsToDelete.map((d) => deleteDocument(d.doc_id, token)));
1304
1381
  setActiveDocuments((current) => docId ? current.filter((c) => c.doc_id !== docId) : []);
1305
1382
  setDocIntroSent(false);
@@ -1316,6 +1393,7 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
1316
1393
  if (mode === "conversation" && !text.trim()) return;
1317
1394
  if (mode === "agent" && !formType) return;
1318
1395
  if (mode === "doc_qa" && !activeDocument && activeDocuments.length === 0) return;
1396
+ if (mode === "smart" && !text.trim()) return;
1319
1397
  const userText = text;
1320
1398
  setMessages((prev) => [
1321
1399
  ...prev,
@@ -1544,7 +1622,109 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
1544
1622
  setResolvedLabels((prev) => ({ ...prev, ...newLabels }));
1545
1623
  };
1546
1624
  try {
1547
- if (mode === "doc_qa") {
1625
+ if (mode === "smart") {
1626
+ const docsToPass = activeDocuments.length > 0 ? activeDocuments.map((d) => ({ doc_id: d.doc_id, filename: d.filename, sub_category: d.sub_category || "General" })) : activeDocument ? [{ doc_id: activeDocument.doc_id, filename: activeDocument.filename, sub_category: activeDocument.sub_category || "General" }] : void 0;
1627
+ await streamV1CopilotSmart(
1628
+ { ...getToken(), query: text, docs: docsToPass, "x-timezone": (/* @__PURE__ */ new Date()).getTimezoneOffset(), session_id: smartSessionIdRef.current || void 0 },
1629
+ appendToken,
1630
+ onDone,
1631
+ onError,
1632
+ onOffTopic,
1633
+ void 0,
1634
+ (planData) => {
1635
+ console.log("Smart Copilot Plan:", planData);
1636
+ },
1637
+ onFieldUpdates,
1638
+ (citationsData) => {
1639
+ if (citationsData && citationsData.length > 0) {
1640
+ const docGroups = {};
1641
+ citationsData.forEach((c) => {
1642
+ const key = c.doc_id || c.filename;
1643
+ if (!docGroups[key]) {
1644
+ docGroups[key] = { filename: c.filename, chunks: [] };
1645
+ }
1646
+ docGroups[key].chunks.push(c);
1647
+ });
1648
+ let citationText = "\n\n**Sources:**\n\n";
1649
+ Object.values(docGroups).forEach((group) => {
1650
+ citationText += `📄 **${group.filename}**
1651
+ `;
1652
+ const pages = [...new Set(group.chunks.map((c) => c.page_num).filter((p) => p !== void 0 && p !== null))].sort((a, b) => a - b);
1653
+ if (pages.length > 0) {
1654
+ if (pages.length === 1) {
1655
+ citationText += ` Page ${pages[0]}
1656
+
1657
+ `;
1658
+ } else {
1659
+ citationText += ` Pages ${pages[0]}–${pages[pages.length - 1]}
1660
+
1661
+ `;
1662
+ }
1663
+ } else {
1664
+ citationText += "\n";
1665
+ }
1666
+ });
1667
+ appendToken(citationText);
1668
+ }
1669
+ },
1670
+ async (action) => {
1671
+ if (["save_draft", "submit_form", "discard_form"].includes(action)) {
1672
+ try {
1673
+ const token = getToken()["x-token"];
1674
+ const sessionId = smartSessionIdRef.current || "current_session";
1675
+ if (action === "submit_form") {
1676
+ await postV1CopilotSubmit(sessionId, token, formType, currentFieldUpdates);
1677
+ toast.success("Form submitted successfully!");
1678
+ } else if (action === "save_draft") {
1679
+ await postV1CopilotSaveDraft(sessionId, token, formType, currentFieldUpdates);
1680
+ toast.success("Draft saved successfully!");
1681
+ } else if (action === "discard_form") {
1682
+ await postV1CopilotDiscard(sessionId, token, formType, currentFieldUpdates);
1683
+ toast.success("Form discarded");
1684
+ }
1685
+ agentStarted.current = false;
1686
+ setCurrentFieldUpdates(null);
1687
+ setResolvedLabels({});
1688
+ labelCacheRef.current = {};
1689
+ setFormStatus("in_progress");
1690
+ setFormType(null);
1691
+ smartSessionIdRef.current = null;
1692
+ } catch (e) {
1693
+ console.error("Failed to perform copilot action", e);
1694
+ let errMsg = "Action failed. Please try again.";
1695
+ try {
1696
+ const parsed = JSON.parse(e.message);
1697
+ if (parsed.message) errMsg = parsed.message;
1698
+ } catch (err) {
1699
+ if (e.message) errMsg = e.message;
1700
+ }
1701
+ toast.error(errMsg);
1702
+ setMessages((prev) => [
1703
+ ...prev,
1704
+ {
1705
+ id: Date.now(),
1706
+ role: "ai",
1707
+ text: `Validation Error: ${errMsg}
1708
+
1709
+ Please correct the details and try again.`,
1710
+ time: (/* @__PURE__ */ new Date()).toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" }),
1711
+ mode: "smart"
1712
+ }
1713
+ ]);
1714
+ }
1715
+ }
1716
+ },
1717
+ (status) => {
1718
+ setFormStatus(status);
1719
+ },
1720
+ (newFormType) => {
1721
+ setFormType(newFormType);
1722
+ },
1723
+ (sessionId) => {
1724
+ smartSessionIdRef.current = sessionId;
1725
+ }
1726
+ );
1727
+ } else if (mode === "doc_qa") {
1548
1728
  if (activeDocuments && activeDocuments.length > 0) {
1549
1729
  await streamV1CopilotChat(
1550
1730
  { ...getToken(), query: text, doc_ids: activeDocuments.map((d) => d.doc_id) },
@@ -1588,22 +1768,18 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
1588
1768
  if (action === "submit_form") {
1589
1769
  await postV1CopilotSubmit(sessionId, token, formType, currentFieldUpdates);
1590
1770
  toast.success("Form submitted successfully!");
1591
- setTimeout(() => setIsOpen(false), 2e3);
1592
1771
  } else if (action === "save_draft") {
1593
1772
  await postV1CopilotSaveDraft(sessionId, token, formType, currentFieldUpdates);
1594
1773
  toast.success("Draft saved successfully!");
1595
- setTimeout(() => setIsOpen(false), 2e3);
1596
1774
  } else if (action === "discard_form") {
1597
1775
  await postV1CopilotDiscard(sessionId, token, formType, currentFieldUpdates);
1598
1776
  toast.success("Form discarded");
1599
- setIsOpen(false);
1600
1777
  }
1601
1778
  agentStarted.current = false;
1602
1779
  setCurrentFieldUpdates(null);
1603
1780
  setResolvedLabels({});
1604
1781
  labelCacheRef.current = {};
1605
1782
  setFormStatus("in_progress");
1606
- setMessages([]);
1607
1783
  } catch (e) {
1608
1784
  console.error("Failed to perform copilot action", e);
1609
1785
  let errMsg = "Action failed. Please try again.";
@@ -1701,6 +1877,7 @@ Please correct the details and try again.`,
1701
1877
  setFormType(null);
1702
1878
  setFormStatus("in_progress");
1703
1879
  agentStarted.current = false;
1880
+ smartSessionIdRef.current = null;
1704
1881
  setCurrentFieldUpdates(null);
1705
1882
  setResolvedLabels({});
1706
1883
  labelCacheRef.current = {};
@@ -1711,6 +1888,7 @@ Please correct the details and try again.`,
1711
1888
  setSuggestedQuestions([]);
1712
1889
  setMessages([]);
1713
1890
  fetchedMultiDocIntroIds.current = "";
1891
+ tabStateRef.current = {};
1714
1892
  fetchQuestions();
1715
1893
  }, [fetchQuestions]);
1716
1894
  return /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -1730,7 +1908,7 @@ Please correct the details and try again.`,
1730
1908
  isTyping,
1731
1909
  bodyRef,
1732
1910
  footer: /* @__PURE__ */ jsxs(Fragment, { children: [
1733
- activeDocument && activeDocuments.length === 0 && mode === "doc_qa" && activeDocument.status === "ready" && !docIntroSent && filteredMessages.length === 0 && /* @__PURE__ */ jsx(
1911
+ activeDocument && activeDocuments.length === 0 && (mode === "doc_qa" || mode === "smart") && activeDocument.status === "ready" && !docIntroSent && /* @__PURE__ */ jsx(
1734
1912
  DocIntro,
1735
1913
  {
1736
1914
  document: activeDocument,
@@ -1741,7 +1919,7 @@ Please correct the details and try again.`,
1741
1919
  }
1742
1920
  }
1743
1921
  ),
1744
- activeDocuments.length > 0 && mode === "doc_qa" && activeDocuments.every((d) => d.status === "ready") && !docIntroSent && filteredMessages.length === 0 && /* @__PURE__ */ jsx(
1922
+ activeDocuments.length > 0 && (mode === "doc_qa" || mode === "smart") && activeDocuments.every((d) => d.status === "ready") && !docIntroSent && /* @__PURE__ */ jsx(
1745
1923
  DocIntro,
1746
1924
  {
1747
1925
  documents: activeDocuments,
@@ -1753,7 +1931,7 @@ Please correct the details and try again.`,
1753
1931
  }
1754
1932
  }
1755
1933
  ),
1756
- currentFieldUpdates && mode === "agent" && /* @__PURE__ */ jsx(
1934
+ currentFieldUpdates && (mode === "agent" || mode === "smart") && /* @__PURE__ */ jsx(
1757
1935
  InvoicePreview,
1758
1936
  {
1759
1937
  fieldUpdates: currentFieldUpdates,
@@ -1767,7 +1945,7 @@ Please correct the details and try again.`,
1767
1945
  ] })
1768
1946
  }
1769
1947
  ),
1770
- mode === "doc_qa" && !activeDocument && activeDocuments.length === 0 && /* @__PURE__ */ jsxs("div", { className: "chatBot--doc-upload-area", children: [
1948
+ (mode === "doc_qa" || mode === "smart" && showUploadArea) && !activeDocument && activeDocuments.length === 0 && /* @__PURE__ */ jsxs("div", { className: "chatBot--doc-upload-area", children: [
1771
1949
  /* @__PURE__ */ jsx(
1772
1950
  DocUpload,
1773
1951
  {
@@ -1785,7 +1963,7 @@ Please correct the details and try again.`,
1785
1963
  ),
1786
1964
  docError && /* @__PURE__ */ jsx("div", { className: "chatBot--doc-error", children: docError })
1787
1965
  ] }),
1788
- activeDocument && activeDocuments.length === 0 && mode === "doc_qa" && ["pending", "processing", "parsing", "embedding", "indexing"].includes(activeDocument.status) && /* @__PURE__ */ jsx("div", { className: "chatBot--doc-status-area", children: /* @__PURE__ */ jsx(
1966
+ activeDocument && activeDocuments.length === 0 && (mode === "doc_qa" || mode === "smart") && ["pending", "processing", "parsing", "embedding", "indexing"].includes(activeDocument.status) && /* @__PURE__ */ jsx("div", { className: "chatBot--doc-status-area", children: /* @__PURE__ */ jsx(
1789
1967
  DocStatus,
1790
1968
  {
1791
1969
  document: activeDocument,
@@ -1809,7 +1987,7 @@ Please correct the details and try again.`,
1809
1987
  },
1810
1988
  activeDocument.doc_id
1811
1989
  ) }),
1812
- mode === "doc_qa" && activeDocuments.length > 0 && activeDocuments.some((d) => ["pending", "processing", "parsing", "embedding", "indexing"].includes(d.status)) && /* @__PURE__ */ jsx("div", { className: "chatBot--doc-status-area chatBot--doc-status-area--multiple", children: activeDocuments.filter((d) => ["pending", "processing", "parsing", "embedding", "indexing"].includes(d.status)).map((doc) => /* @__PURE__ */ jsx(
1990
+ (mode === "doc_qa" || mode === "smart") && activeDocuments.length > 0 && activeDocuments.some((d) => ["pending", "processing", "parsing", "embedding", "indexing"].includes(d.status)) && /* @__PURE__ */ jsx("div", { className: "chatBot--doc-status-area chatBot--doc-status-area--multiple", children: activeDocuments.filter((d) => ["pending", "processing", "parsing", "embedding", "indexing"].includes(d.status)).map((doc) => /* @__PURE__ */ jsx(
1813
1991
  DocStatus,
1814
1992
  {
1815
1993
  document: doc,
@@ -1833,7 +2011,7 @@ Please correct the details and try again.`,
1833
2011
  },
1834
2012
  doc.doc_id
1835
2013
  )) }),
1836
- docError && mode === "doc_qa" && !!(activeDocument || activeDocuments.length > 0) && /* @__PURE__ */ jsx("div", { className: "chatBot--doc-error-floating", onClick: () => setDocError(null), children: docError }),
2014
+ docError && (mode === "doc_qa" || mode === "smart") && !!(activeDocument || activeDocuments.length > 0) && /* @__PURE__ */ jsx("div", { className: "chatBot--doc-error-floating", onClick: () => setDocError(null), children: docError }),
1837
2015
  /* @__PURE__ */ jsx(
1838
2016
  ChatBotInput,
1839
2017
  {
@@ -1855,8 +2033,7 @@ Please correct the details and try again.`,
1855
2033
  activeDocument,
1856
2034
  activeDocuments,
1857
2035
  onDocDelete: handleDocDelete,
1858
- onDocUpload: () => {
1859
- },
2036
+ onDocUpload: () => setShowUploadArea(!showUploadArea),
1860
2037
  onMultiDocDelete: handleMultiDocDelete
1861
2038
  }
1862
2039
  )
@@ -1899,4 +2076,4 @@ export {
1899
2076
  getGreeting as y,
1900
2077
  getTime as z
1901
2078
  };
1902
- //# sourceMappingURL=chat-bot-BpNtrZEL.esm.js.map
2079
+ //# sourceMappingURL=chat-bot-3MwduUlf.esm.js.map