@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.
- package/dist/api-client/index.esm.js +1 -1
- package/dist/api-client/index.js +1 -1
- package/dist/chunks/{DynamicDependentField-C0XXmMlG.esm.js → DynamicDependentField-CzEJwzIq.esm.js} +2 -2
- package/dist/chunks/{DynamicDependentField-C0XXmMlG.esm.js.map → DynamicDependentField-CzEJwzIq.esm.js.map} +1 -1
- package/dist/chunks/{DynamicDependentField-CQIfDDqc.js → DynamicDependentField-D8K1QyqC.js} +2 -2
- package/dist/chunks/{DynamicDependentField-CQIfDDqc.js.map → DynamicDependentField-D8K1QyqC.js.map} +1 -1
- package/dist/chunks/{ERPUIProvider-I4j_X_SD.esm.js → ERPUIProvider-CqbIIC8j.esm.js} +3 -3
- package/dist/chunks/{ERPUIProvider-I4j_X_SD.esm.js.map → ERPUIProvider-CqbIIC8j.esm.js.map} +1 -1
- package/dist/chunks/{ERPUIProvider-CcSTcdEo.js → ERPUIProvider-TOq-GnAq.js} +3 -3
- package/dist/chunks/{ERPUIProvider-CcSTcdEo.js.map → ERPUIProvider-TOq-GnAq.js.map} +1 -1
- package/dist/chunks/{FORMS-pxf6g6xE.esm.js → FORMS-C1qQnoDd.esm.js} +7 -7
- package/dist/chunks/{FORMS-pxf6g6xE.esm.js.map → FORMS-C1qQnoDd.esm.js.map} +1 -1
- package/dist/chunks/{FORMS-CUx32b_4.js → FORMS-qlTftaaD.js} +7 -7
- package/dist/chunks/{FORMS-CUx32b_4.js.map → FORMS-qlTftaaD.js.map} +1 -1
- package/dist/chunks/{FlexibleReduxExample--GtoEJhc.js → FlexibleReduxExample-BEK1732S.js} +4 -4
- package/dist/chunks/{FlexibleReduxExample--GtoEJhc.js.map → FlexibleReduxExample-BEK1732S.js.map} +1 -1
- package/dist/chunks/{FlexibleReduxExample-C-2qOGIw.esm.js → FlexibleReduxExample-CfMjfKUf.esm.js} +4 -4
- package/dist/chunks/{FlexibleReduxExample-C-2qOGIw.esm.js.map → FlexibleReduxExample-CfMjfKUf.esm.js.map} +1 -1
- package/dist/chunks/{SectionFlowEditor-sKsZ3oQo.js → SectionFlowEditor-Bo7czbNc.js} +5 -5
- package/dist/chunks/{SectionFlowEditor-sKsZ3oQo.js.map → SectionFlowEditor-Bo7czbNc.js.map} +1 -1
- package/dist/chunks/{SectionFlowEditor-CFfJBYKx.esm.js → SectionFlowEditor-Ch24-oHf.esm.js} +5 -5
- package/dist/chunks/{SectionFlowEditor-CFfJBYKx.esm.js.map → SectionFlowEditor-Ch24-oHf.esm.js.map} +1 -1
- package/dist/chunks/{action-bar-C7Alva4T.esm.js → action-bar-BQ3DcZpw.esm.js} +4 -4
- package/dist/chunks/{action-bar-C7Alva4T.esm.js.map → action-bar-BQ3DcZpw.esm.js.map} +1 -1
- package/dist/chunks/{action-bar-DdtpxWNk.js → action-bar-CiYO9X02.js} +4 -4
- package/dist/chunks/{action-bar-DdtpxWNk.js.map → action-bar-CiYO9X02.js.map} +1 -1
- package/dist/chunks/{actionCreator-o4ecxFME.js → actionCreator-BdAKTPvT.js} +3 -3
- package/dist/chunks/{actionCreator-o4ecxFME.js.map → actionCreator-BdAKTPvT.js.map} +1 -1
- package/dist/chunks/{actionCreator-Cl8vPLVO.esm.js → actionCreator-C5C0Rg3P.esm.js} +2 -2
- package/dist/chunks/{actionCreator-Cl8vPLVO.esm.js.map → actionCreator-C5C0Rg3P.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-Cb3NxILP.esm.js → actionCreator-C6VISpYt.esm.js} +3 -3
- package/dist/chunks/{actionCreator-Cb3NxILP.esm.js.map → actionCreator-C6VISpYt.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-Dar9Z8_d.esm.js → actionCreator-C7fR-FtF.esm.js} +2 -2
- package/dist/chunks/{actionCreator-Dar9Z8_d.esm.js.map → actionCreator-C7fR-FtF.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-CMigYdax.js → actionCreator-CPRDrGDt.js} +3 -3
- package/dist/chunks/{actionCreator-CMigYdax.js.map → actionCreator-CPRDrGDt.js.map} +1 -1
- package/dist/chunks/{actionCreator-CXmvL3vl.js → actionCreator-D1M0-Fq1.js} +2 -2
- package/dist/chunks/{actionCreator-CXmvL3vl.js.map → actionCreator-D1M0-Fq1.js.map} +1 -1
- package/dist/chunks/{actionCreator-Bas2FW_X.js → actionCreator-Dds_g-Bu.js} +2 -2
- package/dist/chunks/{actionCreator-Bas2FW_X.js.map → actionCreator-Dds_g-Bu.js.map} +1 -1
- package/dist/chunks/{actionCreator-CpePNxQM.esm.js → actionCreator-EaDmUCRb.esm.js} +2 -2
- package/dist/chunks/{actionCreator-CpePNxQM.esm.js.map → actionCreator-EaDmUCRb.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-CL5ICuqZ.esm.js → actionCreator-Jk4efZIf.esm.js} +3 -3
- package/dist/chunks/{actionCreator-CL5ICuqZ.esm.js.map → actionCreator-Jk4efZIf.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-Dl5gTT9c.js → actionCreator-cbPvURIw.js} +2 -2
- package/dist/chunks/{actionCreator-Dl5gTT9c.js.map → actionCreator-cbPvURIw.js.map} +1 -1
- package/dist/chunks/{add-template-DVvbD9a4.esm.js → add-template-CMJffU6X.esm.js} +2 -2
- package/dist/chunks/{add-template-DVvbD9a4.esm.js.map → add-template-CMJffU6X.esm.js.map} +1 -1
- package/dist/chunks/{add-template-Dohg2bHJ.js → add-template-xJNMepo_.js} +2 -2
- package/dist/chunks/{add-template-Dohg2bHJ.js.map → add-template-xJNMepo_.js.map} +1 -1
- package/dist/chunks/{address-modal-CYhiC7ui.js → address-modal-D-FwM2i_.js} +2 -2
- package/dist/chunks/{address-modal-CYhiC7ui.js.map → address-modal-D-FwM2i_.js.map} +1 -1
- package/dist/chunks/{address-modal-CkDBjnye.esm.js → address-modal-DuLY8PAg.esm.js} +2 -2
- package/dist/chunks/{address-modal-CkDBjnye.esm.js.map → address-modal-DuLY8PAg.esm.js.map} +1 -1
- package/dist/chunks/{ai-summary-BxcrnNNM.js → ai-summary-CzLIVEbV.js} +3 -3
- package/dist/chunks/{ai-summary-BxcrnNNM.js.map → ai-summary-CzLIVEbV.js.map} +1 -1
- package/dist/chunks/{ai-summary-SKK5KN2s.esm.js → ai-summary-DGQyEhsD.esm.js} +3 -3
- package/dist/chunks/{ai-summary-SKK5KN2s.esm.js.map → ai-summary-DGQyEhsD.esm.js.map} +1 -1
- package/dist/chunks/{api-DBhNDBh9.js → api-CMF1LApB.js} +57 -1
- package/dist/chunks/{api-DBhNDBh9.js.map → api-CMF1LApB.js.map} +1 -1
- package/dist/chunks/{api-BIVCMSwW.esm.js → api-COFUx2RW.esm.js} +2 -2
- package/dist/chunks/{api-BIVCMSwW.esm.js.map → api-COFUx2RW.esm.js.map} +1 -1
- package/dist/chunks/{api-Bl6wVi9D.esm.js → api-D4FV2rsK.esm.js} +69 -13
- package/dist/chunks/{api-Bl6wVi9D.esm.js.map → api-D4FV2rsK.esm.js.map} +1 -1
- package/dist/chunks/{api-EomXz8pk.js → api-DuBJvpDR.js} +2 -2
- package/dist/chunks/{api-EomXz8pk.js.map → api-DuBJvpDR.js.map} +1 -1
- package/dist/chunks/{appbar-rqqjZ99v.js → appbar-DzkTUvFH.js} +2 -2
- package/dist/chunks/{appbar-rqqjZ99v.js.map → appbar-DzkTUvFH.js.map} +1 -1
- package/dist/chunks/{appbar-BRbO--as.esm.js → appbar-NK7cEVYo.esm.js} +2 -2
- package/dist/chunks/{appbar-BRbO--as.esm.js.map → appbar-NK7cEVYo.esm.js.map} +1 -1
- package/dist/chunks/{approval-wrapper-BTtmXMlk.esm.js → approval-wrapper-Dkc8WEg5.esm.js} +2 -2
- package/dist/chunks/{approval-wrapper-BTtmXMlk.esm.js.map → approval-wrapper-Dkc8WEg5.esm.js.map} +1 -1
- package/dist/chunks/{approval-wrapper-BM5NxbtT.js → approval-wrapper-Nh3CVait.js} +2 -2
- package/dist/chunks/{approval-wrapper-BM5NxbtT.js.map → approval-wrapper-Nh3CVait.js.map} +1 -1
- package/dist/chunks/{chat-bot-BpNtrZEL.esm.js → chat-bot-3MwduUlf.esm.js} +245 -68
- package/dist/chunks/chat-bot-3MwduUlf.esm.js.map +1 -0
- package/dist/chunks/{chat-bot-osiGMG3g.js → chat-bot-sjkDRlr3.js} +244 -67
- package/dist/chunks/chat-bot-sjkDRlr3.js.map +1 -0
- package/dist/chunks/{common-utility-DGpbsf7S.esm.js → common-utility-GjUrjpEf.esm.js} +2 -2
- package/dist/chunks/{common-utility-DGpbsf7S.esm.js.map → common-utility-GjUrjpEf.esm.js.map} +1 -1
- package/dist/chunks/{common-utility-CA_Upser.js → common-utility-TLpddkaa.js} +2 -2
- package/dist/chunks/{common-utility-CA_Upser.js.map → common-utility-TLpddkaa.js.map} +1 -1
- package/dist/chunks/{custom-editor-6-xqhKz6.esm.js → custom-editor-BjUUIs4F.esm.js} +2 -2
- package/dist/chunks/{custom-editor-6-xqhKz6.esm.js.map → custom-editor-BjUUIs4F.esm.js.map} +1 -1
- package/dist/chunks/{custom-editor-BeLYFfpv.js → custom-editor-ByC55Z4G.js} +2 -2
- package/dist/chunks/{custom-editor-BeLYFfpv.js.map → custom-editor-ByC55Z4G.js.map} +1 -1
- package/dist/chunks/{custom-form-CFU7NEVb.js → custom-form-DEzUMeYP.js} +6 -6
- package/dist/chunks/{custom-form-CFU7NEVb.js.map → custom-form-DEzUMeYP.js.map} +1 -1
- package/dist/chunks/{custom-form-DD7YOHMF.esm.js → custom-form-RvoE2OQr.esm.js} +6 -6
- package/dist/chunks/{custom-form-DD7YOHMF.esm.js.map → custom-form-RvoE2OQr.esm.js.map} +1 -1
- package/dist/chunks/{dashboard-DL83yYRR.esm.js → dashboard-C-HlBEpm.esm.js} +3 -3
- package/dist/chunks/{dashboard-DL83yYRR.esm.js.map → dashboard-C-HlBEpm.esm.js.map} +1 -1
- package/dist/chunks/{dashboard-BcWVkWZt.js → dashboard-CSms9RGu.js} +3 -3
- package/dist/chunks/{dashboard-BcWVkWZt.js.map → dashboard-CSms9RGu.js.map} +1 -1
- package/dist/chunks/{dynamic-report-Z7TQNhUq.js → dynamic-report-2BfQqTlE.js} +4 -4
- package/dist/chunks/{dynamic-report-Z7TQNhUq.js.map → dynamic-report-2BfQqTlE.js.map} +1 -1
- package/dist/chunks/{dynamic-report-tKn-KqAd.esm.js → dynamic-report-6NS0z5pW.esm.js} +4 -4
- package/dist/chunks/{dynamic-report-tKn-KqAd.esm.js.map → dynamic-report-6NS0z5pW.esm.js.map} +1 -1
- package/dist/chunks/{dynamic-rows-CTGETfcP.esm.js → dynamic-rows-CZ1dmLX-.esm.js} +2 -2
- package/dist/chunks/{dynamic-rows-CTGETfcP.esm.js.map → dynamic-rows-CZ1dmLX-.esm.js.map} +1 -1
- package/dist/chunks/{dynamic-rows-CNd_zBwf.js → dynamic-rows-DXy4dtIP.js} +2 -2
- package/dist/chunks/{dynamic-rows-CNd_zBwf.js.map → dynamic-rows-DXy4dtIP.js.map} +1 -1
- package/dist/chunks/{dynamic-text-editor-BBIYTdKZ.js → dynamic-text-editor-BsS7d6iX.js} +2 -2
- package/dist/chunks/{dynamic-text-editor-BBIYTdKZ.js.map → dynamic-text-editor-BsS7d6iX.js.map} +1 -1
- package/dist/chunks/{dynamic-text-editor-CPvlGcLK.esm.js → dynamic-text-editor-CLrhRiKM.esm.js} +2 -2
- package/dist/chunks/{dynamic-text-editor-CPvlGcLK.esm.js.map → dynamic-text-editor-CLrhRiKM.esm.js.map} +1 -1
- package/dist/chunks/{edit-section-modal-BW-aZmUv.esm.js → edit-section-modal-BVH6gzyy.esm.js} +2 -2
- package/dist/chunks/{edit-section-modal-BW-aZmUv.esm.js.map → edit-section-modal-BVH6gzyy.esm.js.map} +1 -1
- package/dist/chunks/{edit-section-modal-Br2ITvLk.js → edit-section-modal-CB6-TNxs.js} +2 -2
- package/dist/chunks/{edit-section-modal-Br2ITvLk.js.map → edit-section-modal-CB6-TNxs.js.map} +1 -1
- package/dist/chunks/{filter-Cr_OSIpb.js → filter-Chgp8Ga-.js} +3 -3
- package/dist/chunks/{filter-Cr_OSIpb.js.map → filter-Chgp8Ga-.js.map} +1 -1
- package/dist/chunks/{filter-COXKBEER.esm.js → filter-DgzeYnXU.esm.js} +3 -3
- package/dist/chunks/{filter-COXKBEER.esm.js.map → filter-DgzeYnXU.esm.js.map} +1 -1
- package/dist/chunks/{footer-CD3kMRdS.js → footer-CTDZ2Qkg.js} +2 -2
- package/dist/chunks/{footer-CD3kMRdS.js.map → footer-CTDZ2Qkg.js.map} +1 -1
- package/dist/chunks/{footer-m3_dlNl8.esm.js → footer-Db5CEUun.esm.js} +2 -2
- package/dist/chunks/{footer-m3_dlNl8.esm.js.map → footer-Db5CEUun.esm.js.map} +1 -1
- package/dist/chunks/{form-fields-yE9kwjvb.js → form-fields-BrEECDh1.js} +2 -2
- package/dist/chunks/{form-fields-yE9kwjvb.js.map → form-fields-BrEECDh1.js.map} +1 -1
- package/dist/chunks/{form-fields-hMMnB_wE.esm.js → form-fields-CpOWIV5e.esm.js} +2 -2
- package/dist/chunks/{form-fields-hMMnB_wE.esm.js.map → form-fields-CpOWIV5e.esm.js.map} +1 -1
- package/dist/chunks/{form-parser-DbnSn5eY.esm.js → form-parser-BOBQohRY.esm.js} +2 -2
- package/dist/chunks/{form-parser-DbnSn5eY.esm.js.map → form-parser-BOBQohRY.esm.js.map} +1 -1
- package/dist/chunks/{form-parser-m4fnw38a.js → form-parser-Bo_xCoz5.js} +2 -2
- package/dist/chunks/{form-parser-m4fnw38a.js.map → form-parser-Bo_xCoz5.js.map} +1 -1
- package/dist/chunks/{form-section-CPIyMdk2.js → form-section-CQkrOcT4.js} +5 -5
- package/dist/chunks/{form-section-CPIyMdk2.js.map → form-section-CQkrOcT4.js.map} +1 -1
- package/dist/chunks/{form-section-TMjdOVeW.esm.js → form-section-CuA5Rmec.esm.js} +5 -5
- package/dist/chunks/{form-section-TMjdOVeW.esm.js.map → form-section-CuA5Rmec.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-BLLa9ogA.js → fullScreen-CKsAPzW8.js} +3 -3
- package/dist/chunks/{fullScreen-BLLa9ogA.js.map → fullScreen-CKsAPzW8.js.map} +1 -1
- package/dist/chunks/{fullScreen-DFgzE41_.esm.js → fullScreen-Dq0rkDY2.esm.js} +3 -3
- package/dist/chunks/{fullScreen-DFgzE41_.esm.js.map → fullScreen-Dq0rkDY2.esm.js.map} +1 -1
- package/dist/chunks/{global-search-BOkxXiZ0.esm.js → global-search-CzTd58hv.esm.js} +3 -3
- package/dist/chunks/{global-search-BOkxXiZ0.esm.js.map → global-search-CzTd58hv.esm.js.map} +1 -1
- package/dist/chunks/{global-search-BjKPmzsQ.js → global-search-mE46QvyY.js} +3 -3
- package/dist/chunks/{global-search-BjKPmzsQ.js.map → global-search-mE46QvyY.js.map} +1 -1
- package/dist/chunks/{grid-view-Bo86x7YL.esm.js → grid-view-Ccl3P7WG.esm.js} +2 -2
- package/dist/chunks/{grid-view-Bo86x7YL.esm.js.map → grid-view-Ccl3P7WG.esm.js.map} +1 -1
- package/dist/chunks/{grid-view-B1u_x5yr.js → grid-view-CcmdZI39.js} +2 -2
- package/dist/chunks/{grid-view-B1u_x5yr.js.map → grid-view-CcmdZI39.js.map} +1 -1
- package/dist/chunks/{header-BHsex2As.js → header-BLQberkS.js} +3 -3
- package/dist/chunks/{header-BHsex2As.js.map → header-BLQberkS.js.map} +1 -1
- package/dist/chunks/{header-B-HaoeK7.esm.js → header-DJXi29Ed.esm.js} +3 -3
- package/dist/chunks/{header-B-HaoeK7.esm.js.map → header-DJXi29Ed.esm.js.map} +1 -1
- package/dist/chunks/{header-enhanced-BjfqyQ1a.esm.js → header-enhanced-BXn_RBUl.esm.js} +2 -2
- package/dist/chunks/{header-enhanced-BjfqyQ1a.esm.js.map → header-enhanced-BXn_RBUl.esm.js.map} +1 -1
- package/dist/chunks/{header-enhanced-gJl4iC4m.js → header-enhanced-GQeFu_BL.js} +2 -2
- package/dist/chunks/{header-enhanced-gJl4iC4m.js.map → header-enhanced-GQeFu_BL.js.map} +1 -1
- package/dist/chunks/{inline-edit-fields-BYhRpPcH.esm.js → inline-edit-fields-D68s-Ll-.esm.js} +2 -2
- package/dist/chunks/{inline-edit-fields-BYhRpPcH.esm.js.map → inline-edit-fields-D68s-Ll-.esm.js.map} +1 -1
- package/dist/chunks/{inline-edit-fields-atDP84QL.js → inline-edit-fields-vGyiNTyf.js} +2 -2
- package/dist/chunks/{inline-edit-fields-atDP84QL.js.map → inline-edit-fields-vGyiNTyf.js.map} +1 -1
- package/dist/chunks/{inventory-reports-title-bar-Bog2i0dr.js → inventory-reports-title-bar-CT7SIGlT.js} +3 -3
- package/dist/chunks/{inventory-reports-title-bar-Bog2i0dr.js.map → inventory-reports-title-bar-CT7SIGlT.js.map} +1 -1
- package/dist/chunks/{inventory-reports-title-bar-CP8FzW6A.esm.js → inventory-reports-title-bar-Ddh26t2X.esm.js} +3 -3
- package/dist/chunks/{inventory-reports-title-bar-CP8FzW6A.esm.js.map → inventory-reports-title-bar-Ddh26t2X.esm.js.map} +1 -1
- package/dist/chunks/{item-response-details-DsGQ7Dlc.js → item-response-details-BGtHtJ76.js} +4 -4
- package/dist/chunks/{item-response-details-DsGQ7Dlc.js.map → item-response-details-BGtHtJ76.js.map} +1 -1
- package/dist/chunks/{item-response-details-SHSD-nBh.esm.js → item-response-details-DSCdVRmu.esm.js} +4 -4
- package/dist/chunks/{item-response-details-SHSD-nBh.esm.js.map → item-response-details-DSCdVRmu.esm.js.map} +1 -1
- package/dist/chunks/{listing-DIuzQrzb.js → listing-CTIuYwFQ.js} +4 -4
- package/dist/chunks/{listing-DIuzQrzb.js.map → listing-CTIuYwFQ.js.map} +1 -1
- package/dist/chunks/{listing-C0Yb6MVq.esm.js → listing-Dy2Rksst.esm.js} +4 -4
- package/dist/chunks/{listing-C0Yb6MVq.esm.js.map → listing-Dy2Rksst.esm.js.map} +1 -1
- package/dist/chunks/{location-select-g5uczAUF.js → location-select-Dij5uwHV.js} +2 -2
- package/dist/chunks/{location-select-g5uczAUF.js.map → location-select-Dij5uwHV.js.map} +1 -1
- package/dist/chunks/{location-select-CFa00fy4.esm.js → location-select-N7YryMzR.esm.js} +2 -2
- package/dist/chunks/{location-select-CFa00fy4.esm.js.map → location-select-N7YryMzR.esm.js.map} +1 -1
- package/dist/chunks/{material-editable-table-pAyK7KYf.esm.js → material-editable-table-DH-mHUyW.esm.js} +3 -3
- package/dist/chunks/{material-editable-table-pAyK7KYf.esm.js.map → material-editable-table-DH-mHUyW.esm.js.map} +1 -1
- package/dist/chunks/{material-editable-table-BGLjrTzT.js → material-editable-table-flZ7dwOO.js} +3 -3
- package/dist/chunks/{material-editable-table-BGLjrTzT.js.map → material-editable-table-flZ7dwOO.js.map} +1 -1
- package/dist/chunks/{module-reducer-DMxxForv.esm.js → module-reducer-BOqAXAJs.esm.js} +2 -2
- package/dist/chunks/{module-reducer-DMxxForv.esm.js.map → module-reducer-BOqAXAJs.esm.js.map} +1 -1
- package/dist/chunks/{module-reducer-Ck36ZEmZ.js → module-reducer-khxO3m2l.js} +2 -2
- package/dist/chunks/{module-reducer-Ck36ZEmZ.js.map → module-reducer-khxO3m2l.js.map} +1 -1
- package/dist/chunks/{notification-menu-D7ASm-K1.js → notification-menu-DhXt9aJ6.js} +2 -2
- package/dist/chunks/{notification-menu-D7ASm-K1.js.map → notification-menu-DhXt9aJ6.js.map} +1 -1
- package/dist/chunks/{notification-menu-XAadkn-e.esm.js → notification-menu-INKsWdja.esm.js} +2 -2
- package/dist/chunks/{notification-menu-XAadkn-e.esm.js.map → notification-menu-INKsWdja.esm.js.map} +1 -1
- package/dist/chunks/{page-action-BPzaL2KJ.js → page-action-8XNeWxvS.js} +4 -4
- package/dist/chunks/{page-action-BPzaL2KJ.js.map → page-action-8XNeWxvS.js.map} +1 -1
- package/dist/chunks/{page-action-C07iGjvN.esm.js → page-action-BhSpPGBy.esm.js} +4 -4
- package/dist/chunks/{page-action-C07iGjvN.esm.js.map → page-action-BhSpPGBy.esm.js.map} +1 -1
- package/dist/chunks/{page-navigator-Cgbh3tTG.js → page-navigator-DSmNN1Eb.js} +2 -2
- package/dist/chunks/{page-navigator-Cgbh3tTG.js.map → page-navigator-DSmNN1Eb.js.map} +1 -1
- package/dist/chunks/{page-navigator-8gZpp9_P.esm.js → page-navigator-DjG5btI1.esm.js} +2 -2
- package/dist/chunks/{page-navigator-8gZpp9_P.esm.js.map → page-navigator-DjG5btI1.esm.js.map} +1 -1
- package/dist/chunks/{page-view-DJ6HS_dV.js → page-view-Dbf_t78X.js} +3 -3
- package/dist/chunks/{page-view-DJ6HS_dV.js.map → page-view-Dbf_t78X.js.map} +1 -1
- package/dist/chunks/{page-view-CokUNMBn.esm.js → page-view-DknSUnFR.esm.js} +3 -3
- package/dist/chunks/{page-view-CokUNMBn.esm.js.map → page-view-DknSUnFR.esm.js.map} +1 -1
- package/dist/chunks/{quick-approval-modal-BwYjIbO5.js → quick-approval-modal-BQcjEC5r.js} +2 -2
- package/dist/chunks/{quick-approval-modal-BwYjIbO5.js.map → quick-approval-modal-BQcjEC5r.js.map} +1 -1
- package/dist/chunks/{quick-approval-modal-CPWs8htH.esm.js → quick-approval-modal-DcZGFHAN.esm.js} +2 -2
- package/dist/chunks/{quick-approval-modal-CPWs8htH.esm.js.map → quick-approval-modal-DcZGFHAN.esm.js.map} +1 -1
- package/dist/chunks/{reducer-IsgN83rP.esm.js → reducer-C3tNAbZa.esm.js} +2 -2
- package/dist/chunks/{reducer-IsgN83rP.esm.js.map → reducer-C3tNAbZa.esm.js.map} +1 -1
- package/dist/chunks/{reducer-CdJ6znKF.esm.js → reducer-CACnVYCu.esm.js} +2 -2
- package/dist/chunks/{reducer-CdJ6znKF.esm.js.map → reducer-CACnVYCu.esm.js.map} +1 -1
- package/dist/chunks/{reducer-Qab0amzE.js → reducer-Ca4A9Z08.js} +3 -3
- package/dist/chunks/{reducer-Qab0amzE.js.map → reducer-Ca4A9Z08.js.map} +1 -1
- package/dist/chunks/{reducer-BRD8W9sK.js → reducer-CqXx-nCW.js} +2 -2
- package/dist/chunks/{reducer-BRD8W9sK.js.map → reducer-CqXx-nCW.js.map} +1 -1
- package/dist/chunks/{reducer-3tSO6RW6.esm.js → reducer-D5uYbcnW.esm.js} +3 -3
- package/dist/chunks/{reducer-3tSO6RW6.esm.js.map → reducer-D5uYbcnW.esm.js.map} +1 -1
- package/dist/chunks/{reducer-CpOEECi1.js → reducer-D9YsCrPV.js} +2 -2
- package/dist/chunks/{reducer-CpOEECi1.js.map → reducer-D9YsCrPV.js.map} +1 -1
- package/dist/chunks/{reducer-sgaK2vfW.esm.js → reducer-DgqigQMj.esm.js} +2 -2
- package/dist/chunks/{reducer-sgaK2vfW.esm.js.map → reducer-DgqigQMj.esm.js.map} +1 -1
- package/dist/chunks/{reducer-CPisqqqN.js → reducer-LZj3gYJv.js} +2 -2
- package/dist/chunks/{reducer-CPisqqqN.js.map → reducer-LZj3gYJv.js.map} +1 -1
- package/dist/chunks/{reducer-yyZtsg1A.esm.js → reducer-TleDUmAC.esm.js} +2 -2
- package/dist/chunks/{reducer-yyZtsg1A.esm.js.map → reducer-TleDUmAC.esm.js.map} +1 -1
- package/dist/chunks/{reducer-Bmr6fvcs.js → reducer-zvGfUKoI.js} +2 -2
- package/dist/chunks/{reducer-Bmr6fvcs.js.map → reducer-zvGfUKoI.js.map} +1 -1
- package/dist/chunks/{reports-title-bar-Kz6JjqsY.js → reports-title-bar-D-1LT4fp.js} +4 -4
- package/dist/chunks/{reports-title-bar-Kz6JjqsY.js.map → reports-title-bar-D-1LT4fp.js.map} +1 -1
- package/dist/chunks/{reports-title-bar-Cay4E8SQ.esm.js → reports-title-bar-QUF0UaA5.esm.js} +4 -4
- package/dist/chunks/{reports-title-bar-Cay4E8SQ.esm.js.map → reports-title-bar-QUF0UaA5.esm.js.map} +1 -1
- package/dist/chunks/{routes-CfqLAYgR.js → routes--Iz18uA1.js} +3 -3
- package/dist/chunks/{routes-CfqLAYgR.js.map → routes--Iz18uA1.js.map} +1 -1
- package/dist/chunks/{routes-CAc76Zan.esm.js → routes-JUv69qeO.esm.js} +3 -3
- package/dist/chunks/{routes-CAc76Zan.esm.js.map → routes-JUv69qeO.esm.js.map} +1 -1
- package/dist/chunks/{schedule-report-B4ZfEuiU.js → schedule-report-Br9G5M-o.js} +6 -6
- package/dist/chunks/{schedule-report-B4ZfEuiU.js.map → schedule-report-Br9G5M-o.js.map} +1 -1
- package/dist/chunks/{schedule-report-CLXjjfjc.esm.js → schedule-report-Ce2EEmZX.esm.js} +6 -6
- package/dist/chunks/{schedule-report-CLXjjfjc.esm.js.map → schedule-report-Ce2EEmZX.esm.js.map} +1 -1
- package/dist/chunks/{schedule-report-modal-CB3G9H7x.esm.js → schedule-report-modal-C5CAD-AQ.esm.js} +3 -3
- package/dist/chunks/{schedule-report-modal-CB3G9H7x.esm.js.map → schedule-report-modal-C5CAD-AQ.esm.js.map} +1 -1
- package/dist/chunks/{schedule-report-modal-iwoDI-sg.js → schedule-report-modal-CraO2R9I.js} +3 -3
- package/dist/chunks/{schedule-report-modal-iwoDI-sg.js.map → schedule-report-modal-CraO2R9I.js.map} +1 -1
- package/dist/chunks/{searchable-select-_DCkITfk.js → searchable-select-BdR8A-uG.js} +6 -6
- package/dist/chunks/{searchable-select-_DCkITfk.js.map → searchable-select-BdR8A-uG.js.map} +1 -1
- package/dist/chunks/{searchable-select-0F6E4XAr.esm.js → searchable-select-DSxOplyJ.esm.js} +6 -6
- package/dist/chunks/{searchable-select-0F6E4XAr.esm.js.map → searchable-select-DSxOplyJ.esm.js.map} +1 -1
- package/dist/chunks/{share-modal-BaEyZs2h.esm.js → share-modal-0Xrxwpxh.esm.js} +3 -3
- package/dist/chunks/{share-modal-BaEyZs2h.esm.js.map → share-modal-0Xrxwpxh.esm.js.map} +1 -1
- package/dist/chunks/{share-modal-DrXvh-fV.js → share-modal-CP_CC8wR.js} +3 -3
- package/dist/chunks/{share-modal-DrXvh-fV.js.map → share-modal-CP_CC8wR.js.map} +1 -1
- package/dist/chunks/{share-modal-enhanced-DnEdDBmu.esm.js → share-modal-enhanced-BFmwba0h.esm.js} +2 -2
- package/dist/chunks/{share-modal-enhanced-DnEdDBmu.esm.js.map → share-modal-enhanced-BFmwba0h.esm.js.map} +1 -1
- package/dist/chunks/{share-modal-enhanced-BTr0zRhF.js → share-modal-enhanced-BajRayrK.js} +2 -2
- package/dist/chunks/{share-modal-enhanced-BTr0zRhF.js.map → share-modal-enhanced-BajRayrK.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-DpYj_wlK.js → sidebarScreen-CaNfS0JJ.js} +5 -5
- package/dist/chunks/{sidebarScreen-DpYj_wlK.js.map → sidebarScreen-CaNfS0JJ.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-DiOAiXeU.esm.js → sidebarScreen-CmnTAXY7.esm.js} +5 -5
- package/dist/chunks/{sidebarScreen-DiOAiXeU.esm.js.map → sidebarScreen-CmnTAXY7.esm.js.map} +1 -1
- package/dist/chunks/{store-BSJc1kCM.js → store-CqIuLzOS.js} +6 -6
- package/dist/chunks/{store-BSJc1kCM.js.map → store-CqIuLzOS.js.map} +1 -1
- package/dist/chunks/{store-BL5VFPie.esm.js → store-DH8pCqim.esm.js} +6 -6
- package/dist/chunks/{store-BL5VFPie.esm.js.map → store-DH8pCqim.esm.js.map} +1 -1
- package/dist/chunks/{table-gxAlAeTq.esm.js → table-ClKu8f94.esm.js} +3 -3
- package/dist/chunks/{table-gxAlAeTq.esm.js.map → table-ClKu8f94.esm.js.map} +1 -1
- package/dist/chunks/{table-DWx7x8zw.js → table-DgWNw_5R.js} +3 -3
- package/dist/chunks/{table-DWx7x8zw.js.map → table-DgWNw_5R.js.map} +1 -1
- package/dist/chunks/{table-form-DsTwCUcs.esm.js → table-form-BonoJoe4.esm.js} +2 -2
- package/dist/chunks/{table-form-DsTwCUcs.esm.js.map → table-form-BonoJoe4.esm.js.map} +1 -1
- package/dist/chunks/{table-form-DQ-pp0A_.js → table-form-DlMHRtLK.js} +2 -2
- package/dist/chunks/{table-form-DQ-pp0A_.js.map → table-form-DlMHRtLK.js.map} +1 -1
- package/dist/chunks/{template-editor-router-D4NIwVws.js → template-editor-router-BsD0ydNM.js} +2 -2
- package/dist/chunks/{template-editor-router-D4NIwVws.js.map → template-editor-router-BsD0ydNM.js.map} +1 -1
- package/dist/chunks/{template-editor-router-BXLUTvsk.esm.js → template-editor-router-DoOt_Usq.esm.js} +2 -2
- package/dist/chunks/{template-editor-router-BXLUTvsk.esm.js.map → template-editor-router-DoOt_Usq.esm.js.map} +1 -1
- package/dist/chunks/{template-modal-X-iSmlki.js → template-modal-BXZblB-i.js} +2 -2
- package/dist/chunks/{template-modal-X-iSmlki.js.map → template-modal-BXZblB-i.js.map} +1 -1
- package/dist/chunks/{template-modal-B2VgotrF.esm.js → template-modal-Cyj0AUks.esm.js} +2 -2
- package/dist/chunks/{template-modal-B2VgotrF.esm.js.map → template-modal-Cyj0AUks.esm.js.map} +1 -1
- package/dist/chunks/{templates-CCy1eG6A.esm.js → templates-BK_pcPtR.esm.js} +7 -7
- package/dist/chunks/{templates-CCy1eG6A.esm.js.map → templates-BK_pcPtR.esm.js.map} +1 -1
- package/dist/chunks/{templates-CUREMwYo.js → templates-C5whh_WJ.js} +7 -7
- package/dist/chunks/{templates-CUREMwYo.js.map → templates-C5whh_WJ.js.map} +1 -1
- package/dist/chunks/{text-measurement-BRaY2UMX.js → text-measurement-C5RUDcy3.js} +2 -2
- package/dist/chunks/{text-measurement-BRaY2UMX.js.map → text-measurement-C5RUDcy3.js.map} +1 -1
- package/dist/chunks/{text-measurement-BCjauPbB.esm.js → text-measurement-DvKHzZhR.esm.js} +2 -2
- package/dist/chunks/{text-measurement-BCjauPbB.esm.js.map → text-measurement-DvKHzZhR.esm.js.map} +1 -1
- package/dist/chunks/{translations-BrwQcVN3.esm.js → translations-BLrQX9my.esm.js} +2 -2
- package/dist/chunks/{translations-BrwQcVN3.esm.js.map → translations-BLrQX9my.esm.js.map} +1 -1
- package/dist/chunks/{translations-DoVrWLog.js → translations-CaEkNqOX.js} +2 -2
- package/dist/chunks/{translations-DoVrWLog.js.map → translations-CaEkNqOX.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-CTbEc-MB.esm.js → uom-field-wrapper-By-UFGEf.esm.js} +2 -2
- package/dist/chunks/{uom-field-wrapper-CTbEc-MB.esm.js.map → uom-field-wrapper-By-UFGEf.esm.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-DXZgzOYB.js → uom-field-wrapper-CPbf2ESo.js} +2 -2
- package/dist/chunks/{uom-field-wrapper-DXZgzOYB.js.map → uom-field-wrapper-CPbf2ESo.js.map} +1 -1
- package/dist/chunks/{upload-excel-BZPP13tP.esm.js → upload-excel-Bv2QulNF.esm.js} +2 -2
- package/dist/chunks/{upload-excel-BZPP13tP.esm.js.map → upload-excel-Bv2QulNF.esm.js.map} +1 -1
- package/dist/chunks/{upload-excel-rzyINtLp.js → upload-excel-Dki_3fi7.js} +2 -2
- package/dist/chunks/{upload-excel-rzyINtLp.js.map → upload-excel-Dki_3fi7.js.map} +1 -1
- package/dist/chunks/{use-translations-5wUQBxMm.js → use-translations-CiaeAhQ7.js} +2 -2
- package/dist/chunks/{use-translations-5wUQBxMm.js.map → use-translations-CiaeAhQ7.js.map} +1 -1
- package/dist/chunks/{use-translations-CcjSFA3F.esm.js → use-translations-Cplg_xvQ.esm.js} +2 -2
- package/dist/chunks/{use-translations-CcjSFA3F.esm.js.map → use-translations-Cplg_xvQ.esm.js.map} +1 -1
- package/dist/chunks/{useAccountSetting-vAqgEiJB.esm.js → useAccountSetting-D2zH-h5F.esm.js} +3 -3
- package/dist/chunks/{useAccountSetting-vAqgEiJB.esm.js.map → useAccountSetting-D2zH-h5F.esm.js.map} +1 -1
- package/dist/chunks/{useAccountSetting-9XBALMnW.js → useAccountSetting-Dvyv7WUv.js} +3 -3
- package/dist/chunks/{useAccountSetting-9XBALMnW.js.map → useAccountSetting-Dvyv7WUv.js.map} +1 -1
- package/dist/chunks/{useCheckSkuAndName-CqSLFlhD.js → useCheckSkuAndName-3SCc5HGN.js} +2 -2
- package/dist/chunks/{useCheckSkuAndName-CqSLFlhD.js.map → useCheckSkuAndName-3SCc5HGN.js.map} +1 -1
- package/dist/chunks/{useCheckSkuAndName-Dl24wQO-.esm.js → useCheckSkuAndName-BuHzZ_fJ.esm.js} +2 -2
- package/dist/chunks/{useCheckSkuAndName-Dl24wQO-.esm.js.map → useCheckSkuAndName-BuHzZ_fJ.esm.js.map} +1 -1
- package/dist/chunks/{useReduxIntegration-DZBfKF7d.esm.js → useReduxIntegration-B0bZ0VOc.esm.js} +2 -2
- package/dist/chunks/{useReduxIntegration-DZBfKF7d.esm.js.map → useReduxIntegration-B0bZ0VOc.esm.js.map} +1 -1
- package/dist/chunks/{useReduxIntegration-Ct1UN9fB.js → useReduxIntegration-GG8n-C3E.js} +2 -2
- package/dist/chunks/{useReduxIntegration-Ct1UN9fB.js.map → useReduxIntegration-GG8n-C3E.js.map} +1 -1
- package/dist/chunks/{useUniquenessCheck-bYjnp_0P.esm.js → useUniquenessCheck-B_KNcS14.esm.js} +2 -2
- package/dist/chunks/{useUniquenessCheck-bYjnp_0P.esm.js.map → useUniquenessCheck-B_KNcS14.esm.js.map} +1 -1
- package/dist/chunks/{useUniquenessCheck-By5zlovX.js → useUniquenessCheck-SyibUppM.js} +2 -2
- package/dist/chunks/{useUniquenessCheck-By5zlovX.js.map → useUniquenessCheck-SyibUppM.js.map} +1 -1
- package/dist/chunks/{useVendorAICompare-BAkWpJbe.js → useVendorAICompare-Br8Zaj9n.js} +3 -3
- package/dist/chunks/{useVendorAICompare-BAkWpJbe.js.map → useVendorAICompare-Br8Zaj9n.js.map} +1 -1
- package/dist/chunks/{useVendorAICompare-DZRFDk4i.esm.js → useVendorAICompare-MAhIaPcK.esm.js} +3 -3
- package/dist/chunks/{useVendorAICompare-DZRFDk4i.esm.js.map → useVendorAICompare-MAhIaPcK.esm.js.map} +1 -1
- package/dist/chunks/{value-editor-BSS9Ns2T.js → value-editor-CjBbeBcy.js} +3 -3
- package/dist/chunks/{value-editor-BSS9Ns2T.js.map → value-editor-CjBbeBcy.js.map} +1 -1
- package/dist/chunks/{value-editor-DQ1qgZ2u.esm.js → value-editor-Du1_lUxK.esm.js} +3 -3
- package/dist/chunks/{value-editor-DQ1qgZ2u.esm.js.map → value-editor-Du1_lUxK.esm.js.map} +1 -1
- package/dist/chunks/{vendor-ai-summary-DWmAaQ_N.js → vendor-ai-summary-ChCg_E_J.js} +2 -2
- package/dist/chunks/{vendor-ai-summary-DWmAaQ_N.js.map → vendor-ai-summary-ChCg_E_J.js.map} +1 -1
- package/dist/chunks/{vendor-ai-summary-BA6m2dH9.esm.js → vendor-ai-summary-DICDiSMd.esm.js} +2 -2
- package/dist/chunks/{vendor-ai-summary-BA6m2dH9.esm.js.map → vendor-ai-summary-DICDiSMd.esm.js.map} +1 -1
- package/dist/components/action-bar/action-bar/index.esm.js +1 -1
- package/dist/components/action-bar/action-bar/index.js +1 -1
- package/dist/components/action-bar/index.esm.js +1 -1
- package/dist/components/action-bar/index.js +1 -1
- package/dist/components/address-modal/index.esm.js +1 -1
- package/dist/components/address-modal/index.js +1 -1
- package/dist/components/ai-summary/ai-summary/index.esm.js +1 -1
- package/dist/components/ai-summary/ai-summary/index.js +1 -1
- package/dist/components/ai-summary/index.esm.js +1 -1
- package/dist/components/ai-summary/index.js +1 -1
- package/dist/components/appbar/appbar/index.esm.js +1 -1
- package/dist/components/appbar/appbar/index.js +1 -1
- package/dist/components/appbar/index.esm.js +1 -1
- package/dist/components/appbar/index.js +1 -1
- package/dist/components/approval-wrapper/approval-wrapper/index.esm.js +1 -1
- package/dist/components/approval-wrapper/approval-wrapper/index.js +1 -1
- package/dist/components/approval-wrapper/index.esm.js +1 -1
- package/dist/components/approval-wrapper/index.js +1 -1
- package/dist/components/chat-bot/index.esm.js +1 -1
- package/dist/components/chat-bot/index.js +1 -1
- package/dist/components/custom-forms/FORMS/index.esm.js +1 -1
- package/dist/components/custom-forms/FORMS/index.js +1 -1
- package/dist/components/custom-forms/grid-view/grid-view/index.esm.js +1 -1
- package/dist/components/custom-forms/grid-view/grid-view/index.js +1 -1
- package/dist/components/custom-forms/grid-view/index.esm.js +1 -1
- package/dist/components/custom-forms/grid-view/index.js +1 -1
- package/dist/components/custom-forms/index.esm.js +2 -2
- package/dist/components/custom-forms/index.js +2 -2
- package/dist/components/department-add-modal/index.esm.js +1 -1
- package/dist/components/department-add-modal/index.js +1 -1
- package/dist/components/designation-add-modal/index.esm.js +1 -1
- package/dist/components/designation-add-modal/index.js +1 -1
- package/dist/components/editor/custom-editor/index.esm.js +1 -1
- package/dist/components/editor/custom-editor/index.js +1 -1
- package/dist/components/editor/index.esm.js +1 -1
- package/dist/components/editor/index.js +1 -1
- package/dist/components/examples/FlexibleReduxExample/index.esm.js +1 -1
- package/dist/components/examples/FlexibleReduxExample/index.js +1 -1
- package/dist/components/examples/index.esm.js +1 -1
- package/dist/components/examples/index.js +1 -1
- package/dist/components/filter/components/index.esm.js +1 -1
- package/dist/components/filter/components/index.js +1 -1
- package/dist/components/filter/components/value-editor/index.esm.js +1 -1
- package/dist/components/filter/components/value-editor/index.js +1 -1
- package/dist/components/filter/filter/index.esm.js +1 -1
- package/dist/components/filter/filter/index.js +1 -1
- package/dist/components/filter/index.esm.js +2 -2
- package/dist/components/filter/index.js +2 -2
- package/dist/components/footer/footer/index.esm.js +1 -1
- package/dist/components/footer/footer/index.js +1 -1
- package/dist/components/footer/index.esm.js +1 -1
- package/dist/components/footer/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-dependent-field/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-dependent-field/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-text-editor/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-text-editor/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/fixed-asset-item-add-modal/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/fixed-asset-item-add-modal/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/index.esm.js +4 -4
- package/dist/components/form-control/form-builder/form-builder-element/index.js +4 -4
- package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/select-configuration/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/select-configuration/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/table/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/table/index.js +1 -1
- package/dist/components/form-control/form-builder/index.esm.js +4 -4
- package/dist/components/form-control/form-builder/index.js +4 -4
- package/dist/components/form-control/form-parser/form-parser/index.esm.js +1 -1
- package/dist/components/form-control/form-parser/form-parser/index.js +1 -1
- package/dist/components/form-control/form-parser/form-section/index.esm.js +1 -1
- package/dist/components/form-control/form-parser/form-section/index.js +1 -1
- package/dist/components/form-control/form-parser/index.esm.js +2 -2
- package/dist/components/form-control/form-parser/index.js +2 -2
- package/dist/components/form-control/index.esm.js +6 -6
- package/dist/components/form-control/index.js +6 -6
- package/dist/components/header/components/global-search/index.esm.js +1 -1
- package/dist/components/header/components/global-search/index.js +1 -1
- package/dist/components/header/components/index.esm.js +1 -1
- package/dist/components/header/components/index.js +1 -1
- package/dist/components/header/components/notification-menu/index.esm.js +1 -1
- package/dist/components/header/components/notification-menu/index.js +1 -1
- package/dist/components/header/components/notification-menu/notification-menu/index.esm.js +1 -1
- package/dist/components/header/components/notification-menu/notification-menu/index.js +1 -1
- package/dist/components/header/header/index.esm.js +1 -1
- package/dist/components/header/header/index.js +1 -1
- package/dist/components/header/header-enhanced/index.esm.js +1 -1
- package/dist/components/header/header-enhanced/index.js +1 -1
- package/dist/components/header/index.esm.js +5 -5
- package/dist/components/header/index.js +5 -5
- package/dist/components/header/redux/actionCreator/index.esm.js +1 -1
- package/dist/components/header/redux/actionCreator/index.js +1 -1
- package/dist/components/header/redux/index.esm.js +2 -2
- package/dist/components/header/redux/index.js +2 -2
- package/dist/components/header/redux/reducer/index.esm.js +1 -1
- package/dist/components/header/redux/reducer/index.js +1 -1
- package/dist/components/index.esm.js +36 -36
- package/dist/components/index.js +36 -36
- package/dist/components/inventory-reports-title-bar/index.esm.js +3 -3
- package/dist/components/inventory-reports-title-bar/index.js +3 -3
- package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.js +1 -1
- package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.js +1 -1
- package/dist/components/inventory-reports-title-bar/redux/index.esm.js +2 -2
- package/dist/components/inventory-reports-title-bar/redux/index.js +2 -2
- package/dist/components/inventory-reports-title-bar/redux/reducer/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/redux/reducer/index.js +1 -1
- package/dist/components/listing/index.esm.js +1 -1
- package/dist/components/listing/index.js +1 -1
- package/dist/components/listing/listing/index.esm.js +1 -1
- package/dist/components/listing/listing/index.js +1 -1
- package/dist/components/location-select/index.esm.js +1 -1
- package/dist/components/location-select/index.js +1 -1
- package/dist/components/material-editable-table/components/index.esm.js +1 -1
- package/dist/components/material-editable-table/components/index.js +1 -1
- package/dist/components/material-editable-table/components/inline-edit-fields/index.esm.js +1 -1
- package/dist/components/material-editable-table/components/inline-edit-fields/index.js +1 -1
- package/dist/components/material-editable-table/index.esm.js +2 -2
- package/dist/components/material-editable-table/index.js +2 -2
- package/dist/components/material-editable-table/material-editable-table/index.esm.js +1 -1
- package/dist/components/material-editable-table/material-editable-table/index.js +1 -1
- package/dist/components/material-table/components/index.esm.js +1 -1
- package/dist/components/material-table/components/index.js +1 -1
- package/dist/components/material-table/components/inline-edit-fields/index.esm.js +1 -1
- package/dist/components/material-table/components/inline-edit-fields/index.js +1 -1
- package/dist/components/material-table/index.esm.js +1 -1
- package/dist/components/material-table/index.js +1 -1
- package/dist/components/material-table/material-table/index.esm.js +1 -1
- package/dist/components/material-table/material-table/index.js +1 -1
- package/dist/components/page-navigator/components/index.esm.js +1 -1
- package/dist/components/page-navigator/components/index.js +1 -1
- package/dist/components/page-navigator/components/page-action/index.esm.js +1 -1
- package/dist/components/page-navigator/components/page-action/index.js +1 -1
- package/dist/components/page-navigator/index.esm.js +2 -2
- package/dist/components/page-navigator/index.js +2 -2
- package/dist/components/page-navigator/page-navigator/index.esm.js +1 -1
- package/dist/components/page-navigator/page-navigator/index.js +1 -1
- package/dist/components/parties-modal/index.esm.js +1 -1
- package/dist/components/parties-modal/index.js +1 -1
- package/dist/components/parties-modal/parties-modal/index.esm.js +1 -1
- package/dist/components/parties-modal/parties-modal/index.js +1 -1
- package/dist/components/providers/ERPUIProvider/index.esm.js +1 -1
- package/dist/components/providers/ERPUIProvider/index.js +1 -1
- package/dist/components/providers/index.esm.js +1 -1
- package/dist/components/providers/index.js +1 -1
- package/dist/components/quick-approval-modal/index.esm.js +1 -1
- package/dist/components/quick-approval-modal/index.js +1 -1
- package/dist/components/quick-approval-modal/quick-approval-modal/index.esm.js +1 -1
- package/dist/components/quick-approval-modal/quick-approval-modal/index.js +1 -1
- package/dist/components/reports/dynamic-report/dynamic-report/index.esm.js +1 -1
- package/dist/components/reports/dynamic-report/dynamic-report/index.js +1 -1
- package/dist/components/reports/dynamic-report/dynamic-rows/index.esm.js +1 -1
- package/dist/components/reports/dynamic-report/dynamic-rows/index.js +1 -1
- package/dist/components/reports/dynamic-report/index.esm.js +2 -2
- package/dist/components/reports/dynamic-report/index.js +2 -2
- package/dist/components/reports/index.esm.js +2 -2
- package/dist/components/reports/index.js +2 -2
- package/dist/components/reports-title-bar/index.esm.js +3 -3
- package/dist/components/reports-title-bar/index.js +3 -3
- package/dist/components/reports-title-bar/redux/actionCreator/index.esm.js +1 -1
- package/dist/components/reports-title-bar/redux/actionCreator/index.js +1 -1
- package/dist/components/reports-title-bar/redux/index.esm.js +2 -2
- package/dist/components/reports-title-bar/redux/index.js +2 -2
- package/dist/components/reports-title-bar/redux/reducer/index.esm.js +1 -1
- package/dist/components/reports-title-bar/redux/reducer/index.js +1 -1
- package/dist/components/reports-title-bar/reports-title-bar/index.esm.js +1 -1
- package/dist/components/reports-title-bar/reports-title-bar/index.js +1 -1
- package/dist/components/rfq-response/index.esm.js +1 -1
- package/dist/components/rfq-response/index.js +1 -1
- package/dist/components/rfq-response/item-response-details/index.esm.js +1 -1
- package/dist/components/rfq-response/item-response-details/index.js +1 -1
- package/dist/components/schedule-report/index.esm.js +2 -2
- package/dist/components/schedule-report/index.js +2 -2
- package/dist/components/schedule-report/schedule-report/index.esm.js +1 -1
- package/dist/components/schedule-report/schedule-report/index.js +1 -1
- package/dist/components/schedule-report/schedule-report-modal/index.esm.js +1 -1
- package/dist/components/schedule-report/schedule-report-modal/index.js +1 -1
- package/dist/components/searchable-select/index.esm.js +1 -1
- package/dist/components/searchable-select/index.js +1 -1
- package/dist/components/share-modal/index.esm.js +4 -4
- package/dist/components/share-modal/index.js +4 -4
- package/dist/components/share-modal/redux/actionCreator/index.esm.js +1 -1
- package/dist/components/share-modal/redux/actionCreator/index.js +1 -1
- package/dist/components/share-modal/redux/index.esm.js +2 -2
- package/dist/components/share-modal/redux/index.js +2 -2
- package/dist/components/share-modal/redux/reducer/index.esm.js +1 -1
- package/dist/components/share-modal/redux/reducer/index.js +1 -1
- package/dist/components/share-modal/share-modal/index.esm.js +1 -1
- package/dist/components/share-modal/share-modal/index.js +1 -1
- package/dist/components/share-modal/share-modal-enhanced/index.esm.js +1 -1
- package/dist/components/share-modal/share-modal-enhanced/index.js +1 -1
- package/dist/components/team-add-modal/index.esm.js +1 -1
- package/dist/components/team-add-modal/index.js +1 -1
- package/dist/components/uom-field-wrapper/index.esm.js +1 -1
- package/dist/components/uom-field-wrapper/index.js +1 -1
- package/dist/components/uom-field-wrapper/uom-field-wrapper/index.esm.js +1 -1
- package/dist/components/uom-field-wrapper/uom-field-wrapper/index.js +1 -1
- package/dist/components/upload-excel/index.esm.js +1 -1
- package/dist/components/upload-excel/index.js +1 -1
- package/dist/components/upload-excel/upload-excel/index.esm.js +1 -1
- package/dist/components/upload-excel/upload-excel/index.js +1 -1
- package/dist/components/vendor-ai-summary/index.esm.js +1 -1
- package/dist/components/vendor-ai-summary/index.js +1 -1
- package/dist/hooks/index.esm.js +6 -6
- package/dist/hooks/index.js +6 -6
- package/dist/hooks/use-translations/index.esm.js +1 -1
- package/dist/hooks/use-translations/index.js +1 -1
- package/dist/hooks/useAccountSetting/index.esm.js +1 -1
- package/dist/hooks/useAccountSetting/index.js +1 -1
- package/dist/hooks/useCheckSkuAndName/index.esm.js +1 -1
- package/dist/hooks/useCheckSkuAndName/index.js +1 -1
- package/dist/hooks/useReduxIntegration/index.esm.js +1 -1
- package/dist/hooks/useReduxIntegration/index.js +1 -1
- package/dist/hooks/useUniquenessCheck/index.esm.js +1 -1
- package/dist/hooks/useUniquenessCheck/index.js +1 -1
- package/dist/index.esm.js +64 -64
- package/dist/index.js +64 -64
- package/dist/layout/fullScreen/index.esm.js +1 -1
- package/dist/layout/fullScreen/index.js +1 -1
- package/dist/layout/index.esm.js +2 -2
- package/dist/layout/index.js +2 -2
- package/dist/layout/sidebarScreen/index.esm.js +1 -1
- package/dist/layout/sidebarScreen/index.js +1 -1
- package/dist/redux/index.esm.js +3 -3
- package/dist/redux/index.js +3 -3
- package/dist/runtime/index.esm.js +1 -1
- package/dist/runtime/index.js +1 -1
- package/dist/src/api-client/api.ai-feature/api.d.ts +15 -0
- package/dist/src/components/chat-bot/types.d.ts +1 -1
- package/dist/utils/api/index.esm.js +1 -1
- package/dist/utils/api/index.js +1 -1
- package/dist/utils/common/index.esm.js +1 -1
- package/dist/utils/common/index.js +1 -1
- package/dist/utils/common-utility/index.esm.js +1 -1
- package/dist/utils/common-utility/index.js +1 -1
- package/dist/utils/index.esm.js +5 -5
- package/dist/utils/index.js +4 -4
- package/dist/utils/text-measurement/index.esm.js +1 -1
- package/dist/utils/text-measurement/index.js +1 -1
- package/dist/views/afterAuth/dashboard/index.esm.js +1 -1
- package/dist/views/afterAuth/dashboard/index.js +1 -1
- package/dist/views/afterAuth/index.esm.js +2 -2
- package/dist/views/afterAuth/index.js +2 -2
- package/dist/views/afterAuth/page-view/index.esm.js +1 -1
- package/dist/views/afterAuth/page-view/index.js +1 -1
- package/dist/views/form-builder/custom-form/index.esm.js +1 -1
- package/dist/views/form-builder/custom-form/index.js +1 -1
- package/dist/views/form-builder/element-edit-forms/index.esm.js +1 -1
- package/dist/views/form-builder/element-edit-forms/index.js +1 -1
- package/dist/views/form-builder/form-fields/index.esm.js +1 -1
- package/dist/views/form-builder/form-fields/index.js +1 -1
- package/dist/views/form-builder/index.esm.js +4 -4
- package/dist/views/form-builder/index.js +4 -4
- package/dist/views/form-builder/redux/index.esm.js +1 -1
- package/dist/views/form-builder/redux/index.js +1 -1
- package/dist/views/index.esm.js +13 -13
- package/dist/views/index.js +13 -13
- package/dist/views/template-editor/add-template/index.esm.js +1 -1
- package/dist/views/template-editor/add-template/index.js +1 -1
- package/dist/views/template-editor/components/index.esm.js +1 -1
- package/dist/views/template-editor/components/index.js +1 -1
- package/dist/views/template-editor/edit-section-modal/index.esm.js +1 -1
- package/dist/views/template-editor/edit-section-modal/index.js +1 -1
- package/dist/views/template-editor/index.esm.js +7 -7
- package/dist/views/template-editor/index.js +7 -7
- package/dist/views/template-editor/routes/index.esm.js +1 -1
- package/dist/views/template-editor/routes/index.js +1 -1
- package/dist/views/template-editor/template-modal/index.esm.js +1 -1
- package/dist/views/template-editor/template-modal/index.js +1 -1
- package/dist/views/template-editor/templates/index.esm.js +1 -1
- package/dist/views/template-editor/templates/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunks/chat-bot-BpNtrZEL.esm.js.map +0 -1
- 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-
|
|
8
|
-
import { aA as setAiFeatureBaseUrl, aJ as getV1CopilotQuestions, aK as uploadDocument, aL as getDocumentStatus, aM as streamV1CopilotChat, aN as uploadDocuments, aO as
|
|
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) =>
|
|
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
|
-
|
|
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
|
-
|
|
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-
|
|
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
|
-
|
|
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-
|
|
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 === "
|
|
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 &&
|
|
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 &&
|
|
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-
|
|
2079
|
+
//# sourceMappingURL=chat-bot-3MwduUlf.esm.js.map
|