@erpsquad/common 1.11.9 → 1.11.11
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-D8K1QyqC.js → DynamicDependentField-CfVQxfyR.js} +2 -2
- package/dist/chunks/{DynamicDependentField-D8K1QyqC.js.map → DynamicDependentField-CfVQxfyR.js.map} +1 -1
- package/dist/chunks/{DynamicDependentField-CzEJwzIq.esm.js → DynamicDependentField-DJwECL6d.esm.js} +2 -2
- package/dist/chunks/{DynamicDependentField-CzEJwzIq.esm.js.map → DynamicDependentField-DJwECL6d.esm.js.map} +1 -1
- package/dist/chunks/{ERPUIProvider-CqbIIC8j.esm.js → ERPUIProvider-CE2TFUwH.esm.js} +3 -3
- package/dist/chunks/{ERPUIProvider-CqbIIC8j.esm.js.map → ERPUIProvider-CE2TFUwH.esm.js.map} +1 -1
- package/dist/chunks/{ERPUIProvider-TOq-GnAq.js → ERPUIProvider-a11UHlA2.js} +3 -3
- package/dist/chunks/{ERPUIProvider-TOq-GnAq.js.map → ERPUIProvider-a11UHlA2.js.map} +1 -1
- package/dist/chunks/{FORMS-C1qQnoDd.esm.js → FORMS-CpDzu6m_.esm.js} +7 -7
- package/dist/chunks/{FORMS-C1qQnoDd.esm.js.map → FORMS-CpDzu6m_.esm.js.map} +1 -1
- package/dist/chunks/{FORMS-qlTftaaD.js → FORMS-DfGehMDd.js} +7 -7
- package/dist/chunks/{FORMS-qlTftaaD.js.map → FORMS-DfGehMDd.js.map} +1 -1
- package/dist/chunks/{FlexibleReduxExample-BEK1732S.js → FlexibleReduxExample-CBv0X5Iq.js} +4 -4
- package/dist/chunks/{FlexibleReduxExample-BEK1732S.js.map → FlexibleReduxExample-CBv0X5Iq.js.map} +1 -1
- package/dist/chunks/{FlexibleReduxExample-CfMjfKUf.esm.js → FlexibleReduxExample-D2zVMGkM.esm.js} +4 -4
- package/dist/chunks/{FlexibleReduxExample-CfMjfKUf.esm.js.map → FlexibleReduxExample-D2zVMGkM.esm.js.map} +1 -1
- package/dist/chunks/{SectionFlowEditor-Ch24-oHf.esm.js → SectionFlowEditor-CKlU5KAK.esm.js} +5 -5
- package/dist/chunks/{SectionFlowEditor-Ch24-oHf.esm.js.map → SectionFlowEditor-CKlU5KAK.esm.js.map} +1 -1
- package/dist/chunks/{SectionFlowEditor-Bo7czbNc.js → SectionFlowEditor-CpBKY9tF.js} +5 -5
- package/dist/chunks/{SectionFlowEditor-Bo7czbNc.js.map → SectionFlowEditor-CpBKY9tF.js.map} +1 -1
- package/dist/chunks/{action-bar-BQ3DcZpw.esm.js → action-bar-BD2n6z5e.esm.js} +4 -4
- package/dist/chunks/{action-bar-BQ3DcZpw.esm.js.map → action-bar-BD2n6z5e.esm.js.map} +1 -1
- package/dist/chunks/{action-bar-CiYO9X02.js → action-bar-C6xRvVvj.js} +4 -4
- package/dist/chunks/{action-bar-CiYO9X02.js.map → action-bar-C6xRvVvj.js.map} +1 -1
- package/dist/chunks/{actionCreator-C6VISpYt.esm.js → actionCreator-BwQrLjXs.esm.js} +3 -3
- package/dist/chunks/{actionCreator-C6VISpYt.esm.js.map → actionCreator-BwQrLjXs.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-D1M0-Fq1.js → actionCreator-C1EgKt0Q.js} +2 -2
- package/dist/chunks/{actionCreator-D1M0-Fq1.js.map → actionCreator-C1EgKt0Q.js.map} +1 -1
- package/dist/chunks/{actionCreator-BdAKTPvT.js → actionCreator-CLs2lr2h.js} +3 -3
- package/dist/chunks/{actionCreator-BdAKTPvT.js.map → actionCreator-CLs2lr2h.js.map} +1 -1
- package/dist/chunks/{actionCreator-EaDmUCRb.esm.js → actionCreator-Cm77Rmfx.esm.js} +2 -2
- package/dist/chunks/{actionCreator-EaDmUCRb.esm.js.map → actionCreator-Cm77Rmfx.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-cbPvURIw.js → actionCreator-D2PZfYi7.js} +2 -2
- package/dist/chunks/{actionCreator-cbPvURIw.js.map → actionCreator-D2PZfYi7.js.map} +1 -1
- package/dist/chunks/{actionCreator-Jk4efZIf.esm.js → actionCreator-D68eU9au.esm.js} +3 -3
- package/dist/chunks/{actionCreator-Jk4efZIf.esm.js.map → actionCreator-D68eU9au.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-CPRDrGDt.js → actionCreator-DEVJN_Xh.js} +3 -3
- package/dist/chunks/{actionCreator-CPRDrGDt.js.map → actionCreator-DEVJN_Xh.js.map} +1 -1
- package/dist/chunks/{actionCreator-C5C0Rg3P.esm.js → actionCreator-DW6F8f7X.esm.js} +2 -2
- package/dist/chunks/{actionCreator-C5C0Rg3P.esm.js.map → actionCreator-DW6F8f7X.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-Dds_g-Bu.js → actionCreator-DhKsKoNK.js} +2 -2
- package/dist/chunks/{actionCreator-Dds_g-Bu.js.map → actionCreator-DhKsKoNK.js.map} +1 -1
- package/dist/chunks/{actionCreator-C7fR-FtF.esm.js → actionCreator-DyXbdzac.esm.js} +2 -2
- package/dist/chunks/{actionCreator-C7fR-FtF.esm.js.map → actionCreator-DyXbdzac.esm.js.map} +1 -1
- package/dist/chunks/{add-template-CMJffU6X.esm.js → add-template-C59TMvMh.esm.js} +2 -2
- package/dist/chunks/{add-template-CMJffU6X.esm.js.map → add-template-C59TMvMh.esm.js.map} +1 -1
- package/dist/chunks/{add-template-xJNMepo_.js → add-template-DVknqKbI.js} +2 -2
- package/dist/chunks/{add-template-xJNMepo_.js.map → add-template-DVknqKbI.js.map} +1 -1
- package/dist/chunks/{address-modal-D-FwM2i_.js → address-modal-BeNv_9mv.js} +2 -2
- package/dist/chunks/{address-modal-D-FwM2i_.js.map → address-modal-BeNv_9mv.js.map} +1 -1
- package/dist/chunks/{address-modal-DuLY8PAg.esm.js → address-modal-DsnBRWeT.esm.js} +2 -2
- package/dist/chunks/{address-modal-DuLY8PAg.esm.js.map → address-modal-DsnBRWeT.esm.js.map} +1 -1
- package/dist/chunks/{ai-summary-CzLIVEbV.js → ai-summary-7COdbF1n.js} +3 -3
- package/dist/chunks/{ai-summary-CzLIVEbV.js.map → ai-summary-7COdbF1n.js.map} +1 -1
- package/dist/chunks/{ai-summary-DGQyEhsD.esm.js → ai-summary-Cs2CC-P1.esm.js} +3 -3
- package/dist/chunks/{ai-summary-DGQyEhsD.esm.js.map → ai-summary-Cs2CC-P1.esm.js.map} +1 -1
- package/dist/chunks/{api-D4FV2rsK.esm.js → api-D9djlIb7.esm.js} +12 -9
- package/dist/chunks/{api-D4FV2rsK.esm.js.map → api-D9djlIb7.esm.js.map} +1 -1
- package/dist/chunks/{api-CMF1LApB.js → api-Da8gdItu.js} +7 -4
- package/dist/chunks/{api-CMF1LApB.js.map → api-Da8gdItu.js.map} +1 -1
- package/dist/chunks/{api-DuBJvpDR.js → api-DcArDfpV.js} +5 -4
- package/dist/chunks/{api-DuBJvpDR.js.map → api-DcArDfpV.js.map} +1 -1
- package/dist/chunks/{api-COFUx2RW.esm.js → api-w8De9u1Z.esm.js} +5 -4
- package/dist/chunks/{api-COFUx2RW.esm.js.map → api-w8De9u1Z.esm.js.map} +1 -1
- package/dist/chunks/{appbar-DzkTUvFH.js → appbar-D9sgcNKx.js} +2 -2
- package/dist/chunks/{appbar-DzkTUvFH.js.map → appbar-D9sgcNKx.js.map} +1 -1
- package/dist/chunks/{appbar-NK7cEVYo.esm.js → appbar-DhAOoNnx.esm.js} +2 -2
- package/dist/chunks/{appbar-NK7cEVYo.esm.js.map → appbar-DhAOoNnx.esm.js.map} +1 -1
- package/dist/chunks/{approval-wrapper-Nh3CVait.js → approval-wrapper-Ci-cW-m0.js} +2 -2
- package/dist/chunks/{approval-wrapper-Nh3CVait.js.map → approval-wrapper-Ci-cW-m0.js.map} +1 -1
- package/dist/chunks/{approval-wrapper-Dkc8WEg5.esm.js → approval-wrapper-Da93X7F6.esm.js} +2 -2
- package/dist/chunks/{approval-wrapper-Dkc8WEg5.esm.js.map → approval-wrapper-Da93X7F6.esm.js.map} +1 -1
- package/dist/chunks/{chat-bot-3MwduUlf.esm.js → chat-bot-CGSaPIju.esm.js} +95 -61
- package/dist/chunks/chat-bot-CGSaPIju.esm.js.map +1 -0
- package/dist/chunks/{chat-bot-sjkDRlr3.js → chat-bot-CP1cCXw3.js} +94 -60
- package/dist/chunks/chat-bot-CP1cCXw3.js.map +1 -0
- package/dist/chunks/{common-utility-TLpddkaa.js → common-utility-CARAexqF.js} +2 -2
- package/dist/chunks/{common-utility-TLpddkaa.js.map → common-utility-CARAexqF.js.map} +1 -1
- package/dist/chunks/{common-utility-GjUrjpEf.esm.js → common-utility-DWsblyLc.esm.js} +2 -2
- package/dist/chunks/{common-utility-GjUrjpEf.esm.js.map → common-utility-DWsblyLc.esm.js.map} +1 -1
- package/dist/chunks/{custom-editor-BjUUIs4F.esm.js → custom-editor-Bxyz1m2D.esm.js} +2 -2
- package/dist/chunks/{custom-editor-BjUUIs4F.esm.js.map → custom-editor-Bxyz1m2D.esm.js.map} +1 -1
- package/dist/chunks/{custom-editor-ByC55Z4G.js → custom-editor-CDTvJeBu.js} +2 -2
- package/dist/chunks/{custom-editor-ByC55Z4G.js.map → custom-editor-CDTvJeBu.js.map} +1 -1
- package/dist/chunks/{custom-form-RvoE2OQr.esm.js → custom-form-abXibLFV.esm.js} +6 -6
- package/dist/chunks/{custom-form-RvoE2OQr.esm.js.map → custom-form-abXibLFV.esm.js.map} +1 -1
- package/dist/chunks/{custom-form-DEzUMeYP.js → custom-form-vXTdNLNE.js} +6 -6
- package/dist/chunks/{custom-form-DEzUMeYP.js.map → custom-form-vXTdNLNE.js.map} +1 -1
- package/dist/chunks/{dashboard-C-HlBEpm.esm.js → dashboard-JO0NSlqE.esm.js} +3 -3
- package/dist/chunks/{dashboard-C-HlBEpm.esm.js.map → dashboard-JO0NSlqE.esm.js.map} +1 -1
- package/dist/chunks/{dashboard-CSms9RGu.js → dashboard-nzMS-bcm.js} +3 -3
- package/dist/chunks/{dashboard-CSms9RGu.js.map → dashboard-nzMS-bcm.js.map} +1 -1
- package/dist/chunks/{dynamic-report-6NS0z5pW.esm.js → dynamic-report-CdpkTznt.esm.js} +4 -4
- package/dist/chunks/{dynamic-report-6NS0z5pW.esm.js.map → dynamic-report-CdpkTznt.esm.js.map} +1 -1
- package/dist/chunks/{dynamic-report-2BfQqTlE.js → dynamic-report-Dfk4XuTh.js} +4 -4
- package/dist/chunks/{dynamic-report-2BfQqTlE.js.map → dynamic-report-Dfk4XuTh.js.map} +1 -1
- package/dist/chunks/{dynamic-rows-CZ1dmLX-.esm.js → dynamic-rows-D64m-Z1j.esm.js} +2 -2
- package/dist/chunks/{dynamic-rows-CZ1dmLX-.esm.js.map → dynamic-rows-D64m-Z1j.esm.js.map} +1 -1
- package/dist/chunks/{dynamic-rows-DXy4dtIP.js → dynamic-rows-mkgzMFjL.js} +2 -2
- package/dist/chunks/{dynamic-rows-DXy4dtIP.js.map → dynamic-rows-mkgzMFjL.js.map} +1 -1
- package/dist/chunks/{dynamic-text-editor-CLrhRiKM.esm.js → dynamic-text-editor-Bq0VZD_0.esm.js} +2 -2
- package/dist/chunks/{dynamic-text-editor-CLrhRiKM.esm.js.map → dynamic-text-editor-Bq0VZD_0.esm.js.map} +1 -1
- package/dist/chunks/{dynamic-text-editor-BsS7d6iX.js → dynamic-text-editor-DvQu_USR.js} +2 -2
- package/dist/chunks/{dynamic-text-editor-BsS7d6iX.js.map → dynamic-text-editor-DvQu_USR.js.map} +1 -1
- package/dist/chunks/{edit-section-modal-CB6-TNxs.js → edit-section-modal-BptwBP9b.js} +2 -2
- package/dist/chunks/{edit-section-modal-CB6-TNxs.js.map → edit-section-modal-BptwBP9b.js.map} +1 -1
- package/dist/chunks/{edit-section-modal-BVH6gzyy.esm.js → edit-section-modal-JhrBM1O-.esm.js} +2 -2
- package/dist/chunks/{edit-section-modal-BVH6gzyy.esm.js.map → edit-section-modal-JhrBM1O-.esm.js.map} +1 -1
- package/dist/chunks/{filter-Chgp8Ga-.js → filter-Bu2_TRm8.js} +3 -3
- package/dist/chunks/{filter-Chgp8Ga-.js.map → filter-Bu2_TRm8.js.map} +1 -1
- package/dist/chunks/{filter-DgzeYnXU.esm.js → filter-Dsdr37-F.esm.js} +3 -3
- package/dist/chunks/{filter-DgzeYnXU.esm.js.map → filter-Dsdr37-F.esm.js.map} +1 -1
- package/dist/chunks/{footer-Db5CEUun.esm.js → footer-BaAF5c74.esm.js} +2 -2
- package/dist/chunks/{footer-Db5CEUun.esm.js.map → footer-BaAF5c74.esm.js.map} +1 -1
- package/dist/chunks/{footer-CTDZ2Qkg.js → footer-BkXR4qsm.js} +2 -2
- package/dist/chunks/{footer-CTDZ2Qkg.js.map → footer-BkXR4qsm.js.map} +1 -1
- package/dist/chunks/{form-fields-BrEECDh1.js → form-fields-6aGdxXq1.js} +2 -2
- package/dist/chunks/{form-fields-BrEECDh1.js.map → form-fields-6aGdxXq1.js.map} +1 -1
- package/dist/chunks/{form-fields-CpOWIV5e.esm.js → form-fields-DIujHEqY.esm.js} +2 -2
- package/dist/chunks/{form-fields-CpOWIV5e.esm.js.map → form-fields-DIujHEqY.esm.js.map} +1 -1
- package/dist/chunks/{form-parser-Bo_xCoz5.js → form-parser-2V2ulzmD.js} +2 -2
- package/dist/chunks/{form-parser-Bo_xCoz5.js.map → form-parser-2V2ulzmD.js.map} +1 -1
- package/dist/chunks/{form-parser-BOBQohRY.esm.js → form-parser-BKUfPr_m.esm.js} +2 -2
- package/dist/chunks/{form-parser-BOBQohRY.esm.js.map → form-parser-BKUfPr_m.esm.js.map} +1 -1
- package/dist/chunks/{form-section-CQkrOcT4.js → form-section-BP4oJm_V.js} +5 -5
- package/dist/chunks/{form-section-CQkrOcT4.js.map → form-section-BP4oJm_V.js.map} +1 -1
- package/dist/chunks/{form-section-CuA5Rmec.esm.js → form-section-w-kFNtET.esm.js} +5 -5
- package/dist/chunks/{form-section-CuA5Rmec.esm.js.map → form-section-w-kFNtET.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-Dq0rkDY2.esm.js → fullScreen-DS4Ak4JD.esm.js} +3 -3
- package/dist/chunks/{fullScreen-Dq0rkDY2.esm.js.map → fullScreen-DS4Ak4JD.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-CKsAPzW8.js → fullScreen-u1wu2xy9.js} +3 -3
- package/dist/chunks/{fullScreen-CKsAPzW8.js.map → fullScreen-u1wu2xy9.js.map} +1 -1
- package/dist/chunks/{global-search-CzTd58hv.esm.js → global-search-C3ZxZGB8.esm.js} +3 -3
- package/dist/chunks/{global-search-CzTd58hv.esm.js.map → global-search-C3ZxZGB8.esm.js.map} +1 -1
- package/dist/chunks/{global-search-mE46QvyY.js → global-search-D0pVrSP1.js} +3 -3
- package/dist/chunks/{global-search-mE46QvyY.js.map → global-search-D0pVrSP1.js.map} +1 -1
- package/dist/chunks/{grid-view-Ccl3P7WG.esm.js → grid-view-Br1N0sdf.esm.js} +2 -2
- package/dist/chunks/{grid-view-Ccl3P7WG.esm.js.map → grid-view-Br1N0sdf.esm.js.map} +1 -1
- package/dist/chunks/{grid-view-CcmdZI39.js → grid-view-DhnSmYaa.js} +2 -2
- package/dist/chunks/{grid-view-CcmdZI39.js.map → grid-view-DhnSmYaa.js.map} +1 -1
- package/dist/chunks/{header-BLQberkS.js → header-Bv0VHJ6c.js} +3 -3
- package/dist/chunks/{header-BLQberkS.js.map → header-Bv0VHJ6c.js.map} +1 -1
- package/dist/chunks/{header-DJXi29Ed.esm.js → header-Dob8vfUx.esm.js} +3 -3
- package/dist/chunks/{header-DJXi29Ed.esm.js.map → header-Dob8vfUx.esm.js.map} +1 -1
- package/dist/chunks/{header-enhanced-GQeFu_BL.js → header-enhanced-CTtr4Pe-.js} +2 -2
- package/dist/chunks/{header-enhanced-GQeFu_BL.js.map → header-enhanced-CTtr4Pe-.js.map} +1 -1
- package/dist/chunks/{header-enhanced-BXn_RBUl.esm.js → header-enhanced-Donxzxfw.esm.js} +2 -2
- package/dist/chunks/{header-enhanced-BXn_RBUl.esm.js.map → header-enhanced-Donxzxfw.esm.js.map} +1 -1
- package/dist/chunks/{inline-edit-fields-vGyiNTyf.js → inline-edit-fields-CX54zoZ3.js} +2 -2
- package/dist/chunks/{inline-edit-fields-vGyiNTyf.js.map → inline-edit-fields-CX54zoZ3.js.map} +1 -1
- package/dist/chunks/{inline-edit-fields-D68s-Ll-.esm.js → inline-edit-fields-CgYgus7n.esm.js} +2 -2
- package/dist/chunks/{inline-edit-fields-D68s-Ll-.esm.js.map → inline-edit-fields-CgYgus7n.esm.js.map} +1 -1
- package/dist/chunks/{inventory-reports-title-bar-Ddh26t2X.esm.js → inventory-reports-title-bar-2yJUDgB5.esm.js} +3 -3
- package/dist/chunks/{inventory-reports-title-bar-Ddh26t2X.esm.js.map → inventory-reports-title-bar-2yJUDgB5.esm.js.map} +1 -1
- package/dist/chunks/{inventory-reports-title-bar-CT7SIGlT.js → inventory-reports-title-bar-5OK8dIm2.js} +3 -3
- package/dist/chunks/{inventory-reports-title-bar-CT7SIGlT.js.map → inventory-reports-title-bar-5OK8dIm2.js.map} +1 -1
- package/dist/chunks/{item-response-details-DSCdVRmu.esm.js → item-response-details-BUcwUeBv.esm.js} +4 -4
- package/dist/chunks/{item-response-details-DSCdVRmu.esm.js.map → item-response-details-BUcwUeBv.esm.js.map} +1 -1
- package/dist/chunks/{item-response-details-BGtHtJ76.js → item-response-details-JlgAfNEr.js} +4 -4
- package/dist/chunks/{item-response-details-BGtHtJ76.js.map → item-response-details-JlgAfNEr.js.map} +1 -1
- package/dist/chunks/{listing-Dy2Rksst.esm.js → listing-Ceu_UxAx.esm.js} +4 -4
- package/dist/chunks/{listing-Dy2Rksst.esm.js.map → listing-Ceu_UxAx.esm.js.map} +1 -1
- package/dist/chunks/{listing-CTIuYwFQ.js → listing-DD_0RmFZ.js} +4 -4
- package/dist/chunks/{listing-CTIuYwFQ.js.map → listing-DD_0RmFZ.js.map} +1 -1
- package/dist/chunks/{location-select-Dij5uwHV.js → location-select-DN2eCWQV.js} +2 -2
- package/dist/chunks/{location-select-Dij5uwHV.js.map → location-select-DN2eCWQV.js.map} +1 -1
- package/dist/chunks/{location-select-N7YryMzR.esm.js → location-select-DfTF3wCi.esm.js} +2 -2
- package/dist/chunks/{location-select-N7YryMzR.esm.js.map → location-select-DfTF3wCi.esm.js.map} +1 -1
- package/dist/chunks/{material-editable-table-flZ7dwOO.js → material-editable-table-7xK06f0F.js} +3 -3
- package/dist/chunks/{material-editable-table-flZ7dwOO.js.map → material-editable-table-7xK06f0F.js.map} +1 -1
- package/dist/chunks/{material-editable-table-DH-mHUyW.esm.js → material-editable-table-DHgzqFYh.esm.js} +3 -3
- package/dist/chunks/{material-editable-table-DH-mHUyW.esm.js.map → material-editable-table-DHgzqFYh.esm.js.map} +1 -1
- package/dist/chunks/{module-reducer-BOqAXAJs.esm.js → module-reducer-DJnOQQeS.esm.js} +2 -2
- package/dist/chunks/{module-reducer-BOqAXAJs.esm.js.map → module-reducer-DJnOQQeS.esm.js.map} +1 -1
- package/dist/chunks/{module-reducer-khxO3m2l.js → module-reducer-wwGUCVCs.js} +2 -2
- package/dist/chunks/{module-reducer-khxO3m2l.js.map → module-reducer-wwGUCVCs.js.map} +1 -1
- package/dist/chunks/{notification-menu-INKsWdja.esm.js → notification-menu-Cm55sfoj.esm.js} +2 -2
- package/dist/chunks/{notification-menu-INKsWdja.esm.js.map → notification-menu-Cm55sfoj.esm.js.map} +1 -1
- package/dist/chunks/{notification-menu-DhXt9aJ6.js → notification-menu-D9NWAvoZ.js} +2 -2
- package/dist/chunks/{notification-menu-DhXt9aJ6.js.map → notification-menu-D9NWAvoZ.js.map} +1 -1
- package/dist/chunks/{page-action-BhSpPGBy.esm.js → page-action-BWaAyloT.esm.js} +4 -4
- package/dist/chunks/{page-action-BhSpPGBy.esm.js.map → page-action-BWaAyloT.esm.js.map} +1 -1
- package/dist/chunks/{page-action-8XNeWxvS.js → page-action-Cv-X3u-W.js} +4 -4
- package/dist/chunks/{page-action-8XNeWxvS.js.map → page-action-Cv-X3u-W.js.map} +1 -1
- package/dist/chunks/{page-navigator-DSmNN1Eb.js → page-navigator-BDiy7yyM.js} +2 -2
- package/dist/chunks/{page-navigator-DSmNN1Eb.js.map → page-navigator-BDiy7yyM.js.map} +1 -1
- package/dist/chunks/{page-navigator-DjG5btI1.esm.js → page-navigator-Eg8Vs9_Q.esm.js} +2 -2
- package/dist/chunks/{page-navigator-DjG5btI1.esm.js.map → page-navigator-Eg8Vs9_Q.esm.js.map} +1 -1
- package/dist/chunks/{page-view-Dbf_t78X.js → page-view-BiMO0-Ec.js} +3 -3
- package/dist/chunks/{page-view-Dbf_t78X.js.map → page-view-BiMO0-Ec.js.map} +1 -1
- package/dist/chunks/{page-view-DknSUnFR.esm.js → page-view-BnyhuPjR.esm.js} +3 -3
- package/dist/chunks/{page-view-DknSUnFR.esm.js.map → page-view-BnyhuPjR.esm.js.map} +1 -1
- package/dist/chunks/{quick-approval-modal-BQcjEC5r.js → quick-approval-modal-Ckrkmjkl.js} +2 -2
- package/dist/chunks/{quick-approval-modal-BQcjEC5r.js.map → quick-approval-modal-Ckrkmjkl.js.map} +1 -1
- package/dist/chunks/{quick-approval-modal-DcZGFHAN.esm.js → quick-approval-modal-M4mOc3VS.esm.js} +2 -2
- package/dist/chunks/{quick-approval-modal-DcZGFHAN.esm.js.map → quick-approval-modal-M4mOc3VS.esm.js.map} +1 -1
- package/dist/chunks/{reducer-D9YsCrPV.js → reducer-BHyZsdtk.js} +2 -2
- package/dist/chunks/{reducer-D9YsCrPV.js.map → reducer-BHyZsdtk.js.map} +1 -1
- package/dist/chunks/{reducer-DgqigQMj.esm.js → reducer-BTBP8UD4.esm.js} +2 -2
- package/dist/chunks/{reducer-DgqigQMj.esm.js.map → reducer-BTBP8UD4.esm.js.map} +1 -1
- package/dist/chunks/{reducer-C3tNAbZa.esm.js → reducer-CUXI9fY3.esm.js} +2 -2
- package/dist/chunks/{reducer-C3tNAbZa.esm.js.map → reducer-CUXI9fY3.esm.js.map} +1 -1
- package/dist/chunks/{reducer-LZj3gYJv.js → reducer-CVG2dtjZ.js} +2 -2
- package/dist/chunks/{reducer-LZj3gYJv.js.map → reducer-CVG2dtjZ.js.map} +1 -1
- package/dist/chunks/{reducer-CACnVYCu.esm.js → reducer-CrtUk_W3.esm.js} +2 -2
- package/dist/chunks/{reducer-CACnVYCu.esm.js.map → reducer-CrtUk_W3.esm.js.map} +1 -1
- package/dist/chunks/{reducer-Ca4A9Z08.js → reducer-Cwtyv5b4.js} +3 -3
- package/dist/chunks/{reducer-Ca4A9Z08.js.map → reducer-Cwtyv5b4.js.map} +1 -1
- package/dist/chunks/{reducer-CqXx-nCW.js → reducer-DPXa1mB5.js} +2 -2
- package/dist/chunks/{reducer-CqXx-nCW.js.map → reducer-DPXa1mB5.js.map} +1 -1
- package/dist/chunks/{reducer-TleDUmAC.esm.js → reducer-rdfC4LIG.esm.js} +2 -2
- package/dist/chunks/{reducer-TleDUmAC.esm.js.map → reducer-rdfC4LIG.esm.js.map} +1 -1
- package/dist/chunks/{reducer-D5uYbcnW.esm.js → reducer-sGv2FmSj.esm.js} +3 -3
- package/dist/chunks/{reducer-D5uYbcnW.esm.js.map → reducer-sGv2FmSj.esm.js.map} +1 -1
- package/dist/chunks/{reducer-zvGfUKoI.js → reducer-ujMQ0L5_.js} +2 -2
- package/dist/chunks/{reducer-zvGfUKoI.js.map → reducer-ujMQ0L5_.js.map} +1 -1
- package/dist/chunks/{reports-title-bar-QUF0UaA5.esm.js → reports-title-bar-1nAvzBie.esm.js} +4 -4
- package/dist/chunks/{reports-title-bar-QUF0UaA5.esm.js.map → reports-title-bar-1nAvzBie.esm.js.map} +1 -1
- package/dist/chunks/{reports-title-bar-D-1LT4fp.js → reports-title-bar-CAhfUSO8.js} +4 -4
- package/dist/chunks/{reports-title-bar-D-1LT4fp.js.map → reports-title-bar-CAhfUSO8.js.map} +1 -1
- package/dist/chunks/{routes--Iz18uA1.js → routes-Dayv5AZE.js} +3 -3
- package/dist/chunks/{routes--Iz18uA1.js.map → routes-Dayv5AZE.js.map} +1 -1
- package/dist/chunks/{routes-JUv69qeO.esm.js → routes-sWxWS5Dm.esm.js} +3 -3
- package/dist/chunks/{routes-JUv69qeO.esm.js.map → routes-sWxWS5Dm.esm.js.map} +1 -1
- package/dist/chunks/{schedule-report-Br9G5M-o.js → schedule-report-1yDOVoZG.js} +6 -6
- package/dist/chunks/{schedule-report-Br9G5M-o.js.map → schedule-report-1yDOVoZG.js.map} +1 -1
- package/dist/chunks/{schedule-report-Ce2EEmZX.esm.js → schedule-report-BUmDV4a4.esm.js} +6 -6
- package/dist/chunks/{schedule-report-Ce2EEmZX.esm.js.map → schedule-report-BUmDV4a4.esm.js.map} +1 -1
- package/dist/chunks/{schedule-report-modal-C5CAD-AQ.esm.js → schedule-report-modal-BZG6HSdC.esm.js} +3 -3
- package/dist/chunks/{schedule-report-modal-C5CAD-AQ.esm.js.map → schedule-report-modal-BZG6HSdC.esm.js.map} +1 -1
- package/dist/chunks/{schedule-report-modal-CraO2R9I.js → schedule-report-modal-C04ru2XB.js} +3 -3
- package/dist/chunks/{schedule-report-modal-CraO2R9I.js.map → schedule-report-modal-C04ru2XB.js.map} +1 -1
- package/dist/chunks/{searchable-select-DSxOplyJ.esm.js → searchable-select-BKVX5Uoi.esm.js} +6 -6
- package/dist/chunks/{searchable-select-DSxOplyJ.esm.js.map → searchable-select-BKVX5Uoi.esm.js.map} +1 -1
- package/dist/chunks/{searchable-select-BdR8A-uG.js → searchable-select-CRzOyr1y.js} +6 -6
- package/dist/chunks/{searchable-select-BdR8A-uG.js.map → searchable-select-CRzOyr1y.js.map} +1 -1
- package/dist/chunks/{share-modal-CP_CC8wR.js → share-modal-Cs9lLvkA.js} +3 -3
- package/dist/chunks/{share-modal-CP_CC8wR.js.map → share-modal-Cs9lLvkA.js.map} +1 -1
- package/dist/chunks/{share-modal-0Xrxwpxh.esm.js → share-modal-Dq0V-NkG.esm.js} +3 -3
- package/dist/chunks/{share-modal-0Xrxwpxh.esm.js.map → share-modal-Dq0V-NkG.esm.js.map} +1 -1
- package/dist/chunks/{share-modal-enhanced-BFmwba0h.esm.js → share-modal-enhanced-EVcuYiU8.esm.js} +2 -2
- package/dist/chunks/{share-modal-enhanced-BFmwba0h.esm.js.map → share-modal-enhanced-EVcuYiU8.esm.js.map} +1 -1
- package/dist/chunks/{share-modal-enhanced-BajRayrK.js → share-modal-enhanced-Gm6wxsqD.js} +2 -2
- package/dist/chunks/{share-modal-enhanced-BajRayrK.js.map → share-modal-enhanced-Gm6wxsqD.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-CaNfS0JJ.js → sidebarScreen-Cnh_xkZl.js} +5 -5
- package/dist/chunks/{sidebarScreen-CaNfS0JJ.js.map → sidebarScreen-Cnh_xkZl.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-CmnTAXY7.esm.js → sidebarScreen-DYjk7IHV.esm.js} +5 -5
- package/dist/chunks/{sidebarScreen-CmnTAXY7.esm.js.map → sidebarScreen-DYjk7IHV.esm.js.map} +1 -1
- package/dist/chunks/{store-DH8pCqim.esm.js → store-BJ-oYaJ9.esm.js} +6 -6
- package/dist/chunks/{store-DH8pCqim.esm.js.map → store-BJ-oYaJ9.esm.js.map} +1 -1
- package/dist/chunks/{store-CqIuLzOS.js → store-dnWK9iUF.js} +6 -6
- package/dist/chunks/{store-CqIuLzOS.js.map → store-dnWK9iUF.js.map} +1 -1
- package/dist/chunks/{table-ClKu8f94.esm.js → table-CM2mpjo_.esm.js} +3 -3
- package/dist/chunks/{table-ClKu8f94.esm.js.map → table-CM2mpjo_.esm.js.map} +1 -1
- package/dist/chunks/{table-DgWNw_5R.js → table-CgLej3hQ.js} +3 -3
- package/dist/chunks/{table-DgWNw_5R.js.map → table-CgLej3hQ.js.map} +1 -1
- package/dist/chunks/{table-form-DlMHRtLK.js → table-form-7QGuKo_u.js} +2 -2
- package/dist/chunks/{table-form-DlMHRtLK.js.map → table-form-7QGuKo_u.js.map} +1 -1
- package/dist/chunks/{table-form-BonoJoe4.esm.js → table-form-CNutzib7.esm.js} +2 -2
- package/dist/chunks/{table-form-BonoJoe4.esm.js.map → table-form-CNutzib7.esm.js.map} +1 -1
- package/dist/chunks/{template-editor-router-BsD0ydNM.js → template-editor-router-B8YVpLQG.js} +2 -2
- package/dist/chunks/{template-editor-router-BsD0ydNM.js.map → template-editor-router-B8YVpLQG.js.map} +1 -1
- package/dist/chunks/{template-editor-router-DoOt_Usq.esm.js → template-editor-router-xWwdKgrb.esm.js} +2 -2
- package/dist/chunks/{template-editor-router-DoOt_Usq.esm.js.map → template-editor-router-xWwdKgrb.esm.js.map} +1 -1
- package/dist/chunks/{template-modal-Cyj0AUks.esm.js → template-modal-DP-8WrJA.esm.js} +2 -2
- package/dist/chunks/{template-modal-Cyj0AUks.esm.js.map → template-modal-DP-8WrJA.esm.js.map} +1 -1
- package/dist/chunks/{template-modal-BXZblB-i.js → template-modal-jF46oWQM.js} +2 -2
- package/dist/chunks/{template-modal-BXZblB-i.js.map → template-modal-jF46oWQM.js.map} +1 -1
- package/dist/chunks/{templates-BK_pcPtR.esm.js → templates-Dm3JhmG-.esm.js} +7 -7
- package/dist/chunks/{templates-BK_pcPtR.esm.js.map → templates-Dm3JhmG-.esm.js.map} +1 -1
- package/dist/chunks/{templates-C5whh_WJ.js → templates-Ds_fyQaj.js} +7 -7
- package/dist/chunks/{templates-C5whh_WJ.js.map → templates-Ds_fyQaj.js.map} +1 -1
- package/dist/chunks/{text-measurement-C5RUDcy3.js → text-measurement-7rGbhzLN.js} +2 -2
- package/dist/chunks/{text-measurement-C5RUDcy3.js.map → text-measurement-7rGbhzLN.js.map} +1 -1
- package/dist/chunks/{text-measurement-DvKHzZhR.esm.js → text-measurement-Ds7tr1Kv.esm.js} +2 -2
- package/dist/chunks/{text-measurement-DvKHzZhR.esm.js.map → text-measurement-Ds7tr1Kv.esm.js.map} +1 -1
- package/dist/chunks/{translations-BLrQX9my.esm.js → translations-B1tUxNsa.esm.js} +2 -2
- package/dist/chunks/{translations-BLrQX9my.esm.js.map → translations-B1tUxNsa.esm.js.map} +1 -1
- package/dist/chunks/{translations-CaEkNqOX.js → translations-C8G8AtUJ.js} +2 -2
- package/dist/chunks/{translations-CaEkNqOX.js.map → translations-C8G8AtUJ.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-By-UFGEf.esm.js → uom-field-wrapper-Bsl2ezeo.esm.js} +2 -2
- package/dist/chunks/{uom-field-wrapper-By-UFGEf.esm.js.map → uom-field-wrapper-Bsl2ezeo.esm.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-CPbf2ESo.js → uom-field-wrapper-D93acZ_1.js} +2 -2
- package/dist/chunks/{uom-field-wrapper-CPbf2ESo.js.map → uom-field-wrapper-D93acZ_1.js.map} +1 -1
- package/dist/chunks/{upload-excel-Bv2QulNF.esm.js → upload-excel-Bg-8pqKr.esm.js} +2 -2
- package/dist/chunks/{upload-excel-Bv2QulNF.esm.js.map → upload-excel-Bg-8pqKr.esm.js.map} +1 -1
- package/dist/chunks/{upload-excel-Dki_3fi7.js → upload-excel-De5rbiL8.js} +2 -2
- package/dist/chunks/{upload-excel-Dki_3fi7.js.map → upload-excel-De5rbiL8.js.map} +1 -1
- package/dist/chunks/{use-translations-CiaeAhQ7.js → use-translations-CKS4yvGw.js} +2 -2
- package/dist/chunks/{use-translations-CiaeAhQ7.js.map → use-translations-CKS4yvGw.js.map} +1 -1
- package/dist/chunks/{use-translations-Cplg_xvQ.esm.js → use-translations-CwqmNNF8.esm.js} +2 -2
- package/dist/chunks/{use-translations-Cplg_xvQ.esm.js.map → use-translations-CwqmNNF8.esm.js.map} +1 -1
- package/dist/chunks/{useAccountSetting-D2zH-h5F.esm.js → useAccountSetting-CQKsZpDR.esm.js} +3 -3
- package/dist/chunks/{useAccountSetting-D2zH-h5F.esm.js.map → useAccountSetting-CQKsZpDR.esm.js.map} +1 -1
- package/dist/chunks/{useAccountSetting-Dvyv7WUv.js → useAccountSetting-De-p6HcN.js} +3 -3
- package/dist/chunks/{useAccountSetting-Dvyv7WUv.js.map → useAccountSetting-De-p6HcN.js.map} +1 -1
- package/dist/chunks/{useCheckSkuAndName-BuHzZ_fJ.esm.js → useCheckSkuAndName-DzRLmhaW.esm.js} +2 -2
- package/dist/chunks/{useCheckSkuAndName-BuHzZ_fJ.esm.js.map → useCheckSkuAndName-DzRLmhaW.esm.js.map} +1 -1
- package/dist/chunks/{useCheckSkuAndName-3SCc5HGN.js → useCheckSkuAndName-vsjrM5X-.js} +2 -2
- package/dist/chunks/{useCheckSkuAndName-3SCc5HGN.js.map → useCheckSkuAndName-vsjrM5X-.js.map} +1 -1
- package/dist/chunks/{useReduxIntegration-GG8n-C3E.js → useReduxIntegration-B5pZYr9t.js} +2 -2
- package/dist/chunks/{useReduxIntegration-GG8n-C3E.js.map → useReduxIntegration-B5pZYr9t.js.map} +1 -1
- package/dist/chunks/{useReduxIntegration-B0bZ0VOc.esm.js → useReduxIntegration-D5y8PRkW.esm.js} +2 -2
- package/dist/chunks/{useReduxIntegration-B0bZ0VOc.esm.js.map → useReduxIntegration-D5y8PRkW.esm.js.map} +1 -1
- package/dist/chunks/{useUniquenessCheck-SyibUppM.js → useUniquenessCheck-DZ3mosj1.js} +2 -2
- package/dist/chunks/{useUniquenessCheck-SyibUppM.js.map → useUniquenessCheck-DZ3mosj1.js.map} +1 -1
- package/dist/chunks/{useUniquenessCheck-B_KNcS14.esm.js → useUniquenessCheck-Pm-163jN.esm.js} +2 -2
- package/dist/chunks/{useUniquenessCheck-B_KNcS14.esm.js.map → useUniquenessCheck-Pm-163jN.esm.js.map} +1 -1
- package/dist/chunks/{useVendorAICompare-MAhIaPcK.esm.js → useVendorAICompare-BeU9KXTT.esm.js} +3 -3
- package/dist/chunks/{useVendorAICompare-MAhIaPcK.esm.js.map → useVendorAICompare-BeU9KXTT.esm.js.map} +1 -1
- package/dist/chunks/{useVendorAICompare-Br8Zaj9n.js → useVendorAICompare-DhZckL5o.js} +3 -3
- package/dist/chunks/{useVendorAICompare-Br8Zaj9n.js.map → useVendorAICompare-DhZckL5o.js.map} +1 -1
- package/dist/chunks/{value-editor-CjBbeBcy.js → value-editor-CCAzX7V8.js} +3 -3
- package/dist/chunks/{value-editor-CjBbeBcy.js.map → value-editor-CCAzX7V8.js.map} +1 -1
- package/dist/chunks/{value-editor-Du1_lUxK.esm.js → value-editor-Qs829o0u.esm.js} +3 -3
- package/dist/chunks/{value-editor-Du1_lUxK.esm.js.map → value-editor-Qs829o0u.esm.js.map} +1 -1
- package/dist/chunks/{vendor-ai-summary-ChCg_E_J.js → vendor-ai-summary-DCnH2GPC.js} +2 -2
- package/dist/chunks/{vendor-ai-summary-ChCg_E_J.js.map → vendor-ai-summary-DCnH2GPC.js.map} +1 -1
- package/dist/chunks/{vendor-ai-summary-DICDiSMd.esm.js → vendor-ai-summary-De6IVk1y.esm.js} +2 -2
- package/dist/chunks/{vendor-ai-summary-DICDiSMd.esm.js.map → vendor-ai-summary-De6IVk1y.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 +1 -1
- package/dist/src/components/chat-bot/invoice-preview.d.ts +3 -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-3MwduUlf.esm.js.map +0 -1
- package/dist/chunks/chat-bot-sjkDRlr3.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
3
|
const material = require("@mui/material");
|
|
4
|
-
const header = require("./header-
|
|
4
|
+
const header = require("./header-Bv0VHJ6c.js");
|
|
5
5
|
require("./appbar-Dyvby5gX.js");
|
|
6
6
|
let drawerWidth;
|
|
7
7
|
const closedSidebarWidth = (theme) => `calc(${theme.spacing(8)} + 1px)`;
|
|
@@ -53,4 +53,4 @@ const AppBarWrapper = (props) => {
|
|
|
53
53
|
);
|
|
54
54
|
};
|
|
55
55
|
exports.AppBarWrapper = AppBarWrapper;
|
|
56
|
-
//# sourceMappingURL=appbar-
|
|
56
|
+
//# sourceMappingURL=appbar-D9sgcNKx.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appbar-
|
|
1
|
+
{"version":3,"file":"appbar-D9sgcNKx.js","sources":["../../src/components/appbar/appbar.tsx"],"sourcesContent":["import { styled } from \"@mui/material\";\nimport { AppBar as MuiAppBar, AppBarProps as MuiAppBarProps } from \"@mui/material\";\nimport { Toolbar } from \"@mui/material\";\n// import MenuIcon from \"@mui/icons-material/Menu\";\nimport { IconButton } from \"@mui/material\";\n\n// import { Box, FormControl, FormControlLabel, FormLabel, Radio, RadioGroup, ThemeProvider } from '@mui/material';\n\nimport Header from \"../header/header\";\n// import ThemeSelector from \"../../utils/themeSelector\";\n\nimport \"./appbar.scss\";\nimport images from \"../../assets/images\";\n// import { Box } from \"@mui/material\";\n\nlet drawerWidth: any;\n\ninterface AppBarProps extends MuiAppBarProps {\n open?: boolean;\n}\n\n// const getTheme = (selectedTheme: any) => {\n// switch (selectedTheme) {\n// case ThemeSelector.PRIMARY:\n// return themes.redStone;\n// case ThemeSelector.SECONDARY:\n// return themes.blueNavy;\n// case ThemeSelector.TERTIARY:\n// return themes.oliveGreen;\n// default:\n// return themes.redStone;\n// }\n// };\n\n// Width of the sidebar when collapsed — must match sidebar.tsx closedMixin\nconst closedSidebarWidth = (theme: any) => `calc(${theme.spacing(8)} + 1px)`;\n\nconst AppBar = styled(MuiAppBar, {\n shouldForwardProp: (prop) => prop !== \"open\",\n})<AppBarProps>(({ theme, open }) => {\n const isRtl = document.body.dir === \"rtl\";\n const collapsedW = closedSidebarWidth(theme);\n return {\n zIndex: theme.zIndex.drawer + 2,\n transition: theme.transitions.create([\"width\", \"margin\"], {\n easing: theme.transitions.easing.sharp,\n duration: theme.transitions.duration.leavingScreen,\n }),\n // Base: always offset by collapsed sidebar so the header never hides behind it\n marginLeft: isRtl ? 0 : collapsedW,\n marginRight: isRtl ? collapsedW : 0,\n width: `calc(100% - ${collapsedW})`,\n ...(open && {\n marginLeft: isRtl ? 0 : drawerWidth,\n marginRight: isRtl ? drawerWidth : 0,\n width: `calc(100% - ${drawerWidth}px)`,\n transition: theme.transitions.create([\"width\", \"margin\"], {\n easing: theme.transitions.easing.sharp,\n duration: theme.transitions.duration.enteringScreen,\n }),\n }),\n boxShadow: \"none\",\n overflow: \"visible\",\n };\n});\n\nexport const AppBarWrapper = (props: any) => {\n drawerWidth = props.width;\n\n // const handleThemeChange = (e: any) => setSelectedTheme(e.target.value);\n\n return (\n <AppBar\n position=\"fixed\"\n open={props?.open}\n sx={(theme) => ({\n borderBottom: \"1px solid\",\n borderColor: theme.palette.theme?.secondary[200],\n backgroundColor: theme.palette.theme?.secondary[100],\n })}\n >\n {/* <FormControl>\n <FormLabel id=\"theme-radio-buttons-group-label\">Theme</FormLabel>\n <RadioGroup\n row\n value={selectedTheme}\n onChange={handleThemeChange}\n aria-labelledby=\"theme-radio-buttons-group-label\"\n name=\"row-radio-buttons-group\"\n >\n {Object.keys(ThemeSelector)?.map((variant: any, index: any) => (\n <FormControlLabel\n key={index}\n value={ThemeSelector[variant]}\n control={<Radio />}\n label={ThemeSelector[variant]}\n sx={{\n '.MuiFormControlLabel-label': {\n color: 'theme.text',\n },\n }}\n />\n ))}\n </RadioGroup>\n </FormControl> */}\n <Toolbar disableGutters sx={{ backgroundColor: 'grey.100', minHeight: '60px !important', p: 0 }}>\n <Header />\n </Toolbar>\n {/* <Header /> */}\n </AppBar>\n );\n};\n\nexport default AppBarWrapper;\n"],"names":["styled","MuiAppBar","jsx","Toolbar","Header"],"mappings":";;;;;AAeA,IAAI;AAoBJ,MAAM,qBAAqB,CAAC,UAAe,QAAQ,MAAM,QAAQ,CAAC,CAAC;AAEnE,MAAM,SAASA,SAAAA,OAAOC,iBAAW;AAAA,EAC/B,mBAAmB,CAAC,SAAS,SAAS;AACxC,CAAC,EAAe,CAAC,EAAE,OAAO,WAAW;AACnC,QAAM,QAAQ,SAAS,KAAK,QAAQ;AACpC,QAAM,aAAa,mBAAmB,KAAK;AAC3C,SAAO;AAAA,IACL,QAAQ,MAAM,OAAO,SAAS;AAAA,IAC9B,YAAY,MAAM,YAAY,OAAO,CAAC,SAAS,QAAQ,GAAG;AAAA,MACxD,QAAQ,MAAM,YAAY,OAAO;AAAA,MACjC,UAAU,MAAM,YAAY,SAAS;AAAA,IAAA,CACtC;AAAA;AAAA,IAED,YAAY,QAAQ,IAAI;AAAA,IACxB,aAAa,QAAQ,aAAa;AAAA,IAClC,OAAO,eAAe,UAAU;AAAA,IAChC,GAAI,QAAQ;AAAA,MACV,YAAY,QAAQ,IAAI;AAAA,MACxB,aAAa,QAAQ,cAAc;AAAA,MACnC,OAAO,eAAe,WAAW;AAAA,MACjC,YAAY,MAAM,YAAY,OAAO,CAAC,SAAS,QAAQ,GAAG;AAAA,QACxD,QAAQ,MAAM,YAAY,OAAO;AAAA,QACjC,UAAU,MAAM,YAAY,SAAS;AAAA,MAAA,CACtC;AAAA,IAAA;AAAA,IAEH,WAAW;AAAA,IACX,UAAU;AAAA,EAAA;AAEd,CAAC;AAEM,MAAM,gBAAgB,CAAC,UAAe;AAC3C,gBAAc,MAAM;AAIpB,SACEC,2BAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,UAAS;AAAA,MACT,MAAM,+BAAO;AAAA,MACb,IAAI,CAAC,UAAA;;AAAW;AAAA,UACd,cAAc;AAAA,UACd,cAAa,WAAM,QAAQ,UAAd,mBAAqB,UAAU;AAAA,UAC5C,kBAAiB,WAAM,QAAQ,UAAd,mBAAqB,UAAU;AAAA,QAAG;AAAA;AAAA,MA2BrD,UAAAA,2BAAAA,IAACC,kBAAA,EAAQ,gBAAc,MAAC,IAAI,EAAE,iBAAiB,YAAY,WAAW,mBAAmB,GAAG,EAAA,GAC1F,UAAAD,+BAACE,OAAAA,UAAO,EAAA,CACV;AAAA,IAAA;AAAA,EAAA;AAIN;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Toolbar, styled, AppBar as AppBar$1 } from "@mui/material";
|
|
3
|
-
import { H as Header } from "./header-
|
|
3
|
+
import { H as Header } from "./header-Dob8vfUx.esm.js";
|
|
4
4
|
import "./appbar-l0sNRNKZ.esm.js";
|
|
5
5
|
let drawerWidth;
|
|
6
6
|
const closedSidebarWidth = (theme) => `calc(${theme.spacing(8)} + 1px)`;
|
|
@@ -54,4 +54,4 @@ const AppBarWrapper = (props) => {
|
|
|
54
54
|
export {
|
|
55
55
|
AppBarWrapper as A
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=appbar-
|
|
57
|
+
//# sourceMappingURL=appbar-DhAOoNnx.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appbar-
|
|
1
|
+
{"version":3,"file":"appbar-DhAOoNnx.esm.js","sources":["../../src/components/appbar/appbar.tsx"],"sourcesContent":["import { styled } from \"@mui/material\";\nimport { AppBar as MuiAppBar, AppBarProps as MuiAppBarProps } from \"@mui/material\";\nimport { Toolbar } from \"@mui/material\";\n// import MenuIcon from \"@mui/icons-material/Menu\";\nimport { IconButton } from \"@mui/material\";\n\n// import { Box, FormControl, FormControlLabel, FormLabel, Radio, RadioGroup, ThemeProvider } from '@mui/material';\n\nimport Header from \"../header/header\";\n// import ThemeSelector from \"../../utils/themeSelector\";\n\nimport \"./appbar.scss\";\nimport images from \"../../assets/images\";\n// import { Box } from \"@mui/material\";\n\nlet drawerWidth: any;\n\ninterface AppBarProps extends MuiAppBarProps {\n open?: boolean;\n}\n\n// const getTheme = (selectedTheme: any) => {\n// switch (selectedTheme) {\n// case ThemeSelector.PRIMARY:\n// return themes.redStone;\n// case ThemeSelector.SECONDARY:\n// return themes.blueNavy;\n// case ThemeSelector.TERTIARY:\n// return themes.oliveGreen;\n// default:\n// return themes.redStone;\n// }\n// };\n\n// Width of the sidebar when collapsed — must match sidebar.tsx closedMixin\nconst closedSidebarWidth = (theme: any) => `calc(${theme.spacing(8)} + 1px)`;\n\nconst AppBar = styled(MuiAppBar, {\n shouldForwardProp: (prop) => prop !== \"open\",\n})<AppBarProps>(({ theme, open }) => {\n const isRtl = document.body.dir === \"rtl\";\n const collapsedW = closedSidebarWidth(theme);\n return {\n zIndex: theme.zIndex.drawer + 2,\n transition: theme.transitions.create([\"width\", \"margin\"], {\n easing: theme.transitions.easing.sharp,\n duration: theme.transitions.duration.leavingScreen,\n }),\n // Base: always offset by collapsed sidebar so the header never hides behind it\n marginLeft: isRtl ? 0 : collapsedW,\n marginRight: isRtl ? collapsedW : 0,\n width: `calc(100% - ${collapsedW})`,\n ...(open && {\n marginLeft: isRtl ? 0 : drawerWidth,\n marginRight: isRtl ? drawerWidth : 0,\n width: `calc(100% - ${drawerWidth}px)`,\n transition: theme.transitions.create([\"width\", \"margin\"], {\n easing: theme.transitions.easing.sharp,\n duration: theme.transitions.duration.enteringScreen,\n }),\n }),\n boxShadow: \"none\",\n overflow: \"visible\",\n };\n});\n\nexport const AppBarWrapper = (props: any) => {\n drawerWidth = props.width;\n\n // const handleThemeChange = (e: any) => setSelectedTheme(e.target.value);\n\n return (\n <AppBar\n position=\"fixed\"\n open={props?.open}\n sx={(theme) => ({\n borderBottom: \"1px solid\",\n borderColor: theme.palette.theme?.secondary[200],\n backgroundColor: theme.palette.theme?.secondary[100],\n })}\n >\n {/* <FormControl>\n <FormLabel id=\"theme-radio-buttons-group-label\">Theme</FormLabel>\n <RadioGroup\n row\n value={selectedTheme}\n onChange={handleThemeChange}\n aria-labelledby=\"theme-radio-buttons-group-label\"\n name=\"row-radio-buttons-group\"\n >\n {Object.keys(ThemeSelector)?.map((variant: any, index: any) => (\n <FormControlLabel\n key={index}\n value={ThemeSelector[variant]}\n control={<Radio />}\n label={ThemeSelector[variant]}\n sx={{\n '.MuiFormControlLabel-label': {\n color: 'theme.text',\n },\n }}\n />\n ))}\n </RadioGroup>\n </FormControl> */}\n <Toolbar disableGutters sx={{ backgroundColor: 'grey.100', minHeight: '60px !important', p: 0 }}>\n <Header />\n </Toolbar>\n {/* <Header /> */}\n </AppBar>\n );\n};\n\nexport default AppBarWrapper;\n"],"names":["MuiAppBar"],"mappings":";;;;AAeA,IAAI;AAoBJ,MAAM,qBAAqB,CAAC,UAAe,QAAQ,MAAM,QAAQ,CAAC,CAAC;AAEnE,MAAM,SAAS,OAAOA,UAAW;AAAA,EAC/B,mBAAmB,CAAC,SAAS,SAAS;AACxC,CAAC,EAAe,CAAC,EAAE,OAAO,WAAW;AACnC,QAAM,QAAQ,SAAS,KAAK,QAAQ;AACpC,QAAM,aAAa,mBAAmB,KAAK;AAC3C,SAAO;AAAA,IACL,QAAQ,MAAM,OAAO,SAAS;AAAA,IAC9B,YAAY,MAAM,YAAY,OAAO,CAAC,SAAS,QAAQ,GAAG;AAAA,MACxD,QAAQ,MAAM,YAAY,OAAO;AAAA,MACjC,UAAU,MAAM,YAAY,SAAS;AAAA,IAAA,CACtC;AAAA;AAAA,IAED,YAAY,QAAQ,IAAI;AAAA,IACxB,aAAa,QAAQ,aAAa;AAAA,IAClC,OAAO,eAAe,UAAU;AAAA,IAChC,GAAI,QAAQ;AAAA,MACV,YAAY,QAAQ,IAAI;AAAA,MACxB,aAAa,QAAQ,cAAc;AAAA,MACnC,OAAO,eAAe,WAAW;AAAA,MACjC,YAAY,MAAM,YAAY,OAAO,CAAC,SAAS,QAAQ,GAAG;AAAA,QACxD,QAAQ,MAAM,YAAY,OAAO;AAAA,QACjC,UAAU,MAAM,YAAY,SAAS;AAAA,MAAA,CACtC;AAAA,IAAA;AAAA,IAEH,WAAW;AAAA,IACX,UAAU;AAAA,EAAA;AAEd,CAAC;AAEM,MAAM,gBAAgB,CAAC,UAAe;AAC3C,gBAAc,MAAM;AAIpB,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,UAAS;AAAA,MACT,MAAM,+BAAO;AAAA,MACb,IAAI,CAAC,UAAA;;AAAW;AAAA,UACd,cAAc;AAAA,UACd,cAAa,WAAM,QAAQ,UAAd,mBAAqB,UAAU;AAAA,UAC5C,kBAAiB,WAAM,QAAQ,UAAd,mBAAqB,UAAU;AAAA,QAAG;AAAA;AAAA,MA2BrD,UAAA,oBAAC,SAAA,EAAQ,gBAAc,MAAC,IAAI,EAAE,iBAAiB,YAAY,WAAW,mBAAmB,GAAG,EAAA,GAC1F,UAAA,oBAAC,UAAO,EAAA,CACV;AAAA,IAAA;AAAA,EAAA;AAIN;"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
3
|
const reactI18next = require("react-i18next");
|
|
4
4
|
const dropdownButton = require("./dropdown-button-CGs2RJcs.js");
|
|
5
|
-
const quickApprovalModal = require("./quick-approval-modal-
|
|
5
|
+
const quickApprovalModal = require("./quick-approval-modal-Ckrkmjkl.js");
|
|
6
6
|
const React = require("react");
|
|
7
7
|
const reactRedux = require("react-redux");
|
|
8
8
|
const notistack = require("notistack");
|
|
@@ -136,4 +136,4 @@ const ApprovalWrapper = ({
|
|
|
136
136
|
] });
|
|
137
137
|
};
|
|
138
138
|
exports.ApprovalWrapper = ApprovalWrapper;
|
|
139
|
-
//# sourceMappingURL=approval-wrapper-
|
|
139
|
+
//# sourceMappingURL=approval-wrapper-Ci-cW-m0.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approval-wrapper-
|
|
1
|
+
{"version":3,"file":"approval-wrapper-Ci-cW-m0.js","sources":["../../src/components/approval-wrapper/approval-wrapper.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next';\nimport DropdownButton from '../dropdown-button/dropdown-button';\nimport QuickApprovalModal from '../quick-approval-modal/quick-approval-modal';\nimport { useState } from 'react';\nimport { useDispatch } from 'react-redux';\nimport { useSnackbar } from 'notistack';\nimport { apiHelper } from '../../hooks/apiHelper';\nimport ConfirmPopUp from '../confirm-modal/confirm-modal';\n\nexport const ApprovalWrapper = ({\n\tdata,\n\taddApprover,\n\tfetchApi,\n\tshowAcceptOrReject,\n\tmoduleIdKey,\n\tmoduleId,\n\tsuccessMessage,\n\tshowSubmitBtn,\n\tupdateApi,\n\tapprovalDetails,\n\ttitle\n}: any) => {\n\t//Translations\n\tconst { t } = useTranslation();\n\n\t//Redux\n\tconst dispatch = useDispatch();\n\n\t//Snackbar\n\tconst { enqueueSnackbar } = useSnackbar();\n\n\t//Local State\n\tconst [isUpdatingApproval, setIsUpdatingApproval] = useState(false);\n\tconst [openQuickApprovalModal, setOpenQuickApprovalModal] = useState(false);\n\tconst [approvalToAcceptOrReject, setApprovalToAcceptOrReject] =\n\t\tuseState<string>('');\n\n\t//Handlers\n\n\tconst FetchApprovalDetails = () => {\n\t\tif (successMessage) {\n\t\t\tenqueueSnackbar(t(successMessage));\n\t\t}\n\t\tfetchApi();\n\t};\n\n\tconst handleSubmitForApproval = async (\n\t\ttype: 'submit_for_approval' | 'quick_approval',\n\t\tapprovers?: number[]\n\t) => {\n\t\tif (data) {\n\t\t\tsetIsUpdatingApproval(true);\n\t\t\tconst payload = {\n\t\t\t\t[moduleIdKey]: moduleId,\n\t\t\t\ttype,\n\t\t\t\t...(approvers && approvers?.length && { approver_id: approvers })\n\t\t\t};\n\n\t\t\tconst response = await dispatch(addApprover(payload));\n\n\t\t\tsetIsUpdatingApproval(false);\n\t\t\tapiHelper(response, () => FetchApprovalDetails(), enqueueSnackbar);\n\t\t}\n\t};\n\n\tconst handleApprovalAcceptOrReject = async () => {\n\t\tif (approvalDetails?.id && approvalToAcceptOrReject) {\n\t\t\tconst payload = {\n\t\t\t\tid: approvalDetails?.id,\n\t\t\t\t[moduleIdKey]: moduleId,\n\t\t\t\tstatus: approvalToAcceptOrReject\n\t\t\t};\n\t\t\tsetIsUpdatingApproval(true);\n\t\t\tconst response = await dispatch(updateApi(payload));\n\t\t\tsetIsUpdatingApproval(false);\n\t\t\tconst rStatus = approvalToAcceptOrReject;\n\t\t\tsetApprovalToAcceptOrReject('');\n\t\t\tapiHelper(response, () => fetchApi(), enqueueSnackbar);\n\t\t\tif (response.meta.requestStatus === 'fulfilled') {\n\t\t\t\tconst msg = `${title} ${rStatus === 'Approved' ? t('common.accepted') : t('common.rejected')}`;\n\t\t\t\tenqueueSnackbar(msg);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t{(showSubmitBtn || data?.status === 'Rejected') && (\n\t\t\t\t<DropdownButton\n\t\t\t\t\tisMenuThirdItemDisabled={true}\n\t\t\t\t\tonClick={() => handleSubmitForApproval('submit_for_approval')}\n\t\t\t\t\toptions={[\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: t('common.submitForApproval'),\n\t\t\t\t\t\t\tcallback: () => handleSubmitForApproval('submit_for_approval')\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: t('common.quickApproval'),\n\t\t\t\t\t\t\tcallback: () => setOpenQuickApprovalModal(true)\n\t\t\t\t\t\t}\n\t\t\t\t\t]}\n\t\t\t\t\tloading={isUpdatingApproval}>\n\t\t\t\t\t{data?.status === 'Rejected'\n\t\t\t\t\t\t? t('common.reSubmit')\n\t\t\t\t\t\t: t('common.submit')}\n\t\t\t\t</DropdownButton>\n\t\t\t)}\n\t\t\t<QuickApprovalModal\n\t\t\t\tisOpen={openQuickApprovalModal}\n\t\t\t\tsetIsOpen={() => setOpenQuickApprovalModal(false)}\n\t\t\t\tonConfirm={(approverIds) =>\n\t\t\t\t\thandleSubmitForApproval('quick_approval', approverIds)\n\t\t\t\t}\n\t\t\t\tisProcessing={isUpdatingApproval}\n\t\t\t/>\n\t\t\t<ConfirmPopUp\n\t\t\t\topen={Boolean(approvalToAcceptOrReject)}\n\t\t\t\tonClose={() => setApprovalToAcceptOrReject('')}\n\t\t\t\tonConfirm={handleApprovalAcceptOrReject}\n\t\t\t\ttitle={`${approvalToAcceptOrReject} request`}\n\t\t\t\tdescription={`Are you sure you want to ${approvalToAcceptOrReject} ${title} : ${data?.id} ?`}\n\t\t\t\tbuttonTexts={{\n\t\t\t\t\tconfirm: t('common.submit'),\n\t\t\t\t\tcancel: t('common.cancel')\n\t\t\t\t}}\n\t\t\t\tbuttonColors={{\n\t\t\t\t\tconfirm: approvalToAcceptOrReject === 'Rejected' ? 'error' : 'info'\n\t\t\t\t}}\n\t\t\t\tmodalType='info'\n\t\t\t\tloading={isUpdatingApproval}\n\t\t\t/>\n\t\t\t{showAcceptOrReject && (\n\t\t\t\t<DropdownButton\n\t\t\t\t\tisMenuThirdItemDisabled={true}\n\t\t\t\t\tonClick={() => setApprovalToAcceptOrReject('Approved')}\n\t\t\t\t\toptions={[\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: t('common.accept'),\n\t\t\t\t\t\t\tcallback: () => setApprovalToAcceptOrReject('Approved')\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: t('common.reject'),\n\t\t\t\t\t\t\tcallback: () => setApprovalToAcceptOrReject('Rejected'),\n\t\t\t\t\t\t\tcolor: 'theme.error.500'\n\t\t\t\t\t\t}\n\t\t\t\t\t]}\n\t\t\t\t\tloading={isUpdatingApproval}>\n\t\t\t\t\t{t('common.accept')}\n\t\t\t\t</DropdownButton>\n\t\t\t)}\n\t\t</>\n\t);\n};\n\nexport default ApprovalWrapper;\n"],"names":["useTranslation","useDispatch","useSnackbar","useState","apiHelper","jsxs","Fragment","jsx","DropdownButton","QuickApprovalModal","ConfirmPopUp"],"mappings":"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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation } from "react-i18next";
|
|
3
3
|
import { D as DropdownButton } from "./dropdown-button-BwOoxO0G.esm.js";
|
|
4
|
-
import { Q as QuickApprovalModal } from "./quick-approval-modal-
|
|
4
|
+
import { Q as QuickApprovalModal } from "./quick-approval-modal-M4mOc3VS.esm.js";
|
|
5
5
|
import { useState } from "react";
|
|
6
6
|
import { useDispatch } from "react-redux";
|
|
7
7
|
import { useSnackbar } from "notistack";
|
|
@@ -137,4 +137,4 @@ const ApprovalWrapper = ({
|
|
|
137
137
|
export {
|
|
138
138
|
ApprovalWrapper as A
|
|
139
139
|
};
|
|
140
|
-
//# sourceMappingURL=approval-wrapper-
|
|
140
|
+
//# sourceMappingURL=approval-wrapper-Da93X7F6.esm.js.map
|
package/dist/chunks/{approval-wrapper-Dkc8WEg5.esm.js.map → approval-wrapper-Da93X7F6.esm.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approval-wrapper-
|
|
1
|
+
{"version":3,"file":"approval-wrapper-Da93X7F6.esm.js","sources":["../../src/components/approval-wrapper/approval-wrapper.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next';\nimport DropdownButton from '../dropdown-button/dropdown-button';\nimport QuickApprovalModal from '../quick-approval-modal/quick-approval-modal';\nimport { useState } from 'react';\nimport { useDispatch } from 'react-redux';\nimport { useSnackbar } from 'notistack';\nimport { apiHelper } from '../../hooks/apiHelper';\nimport ConfirmPopUp from '../confirm-modal/confirm-modal';\n\nexport const ApprovalWrapper = ({\n\tdata,\n\taddApprover,\n\tfetchApi,\n\tshowAcceptOrReject,\n\tmoduleIdKey,\n\tmoduleId,\n\tsuccessMessage,\n\tshowSubmitBtn,\n\tupdateApi,\n\tapprovalDetails,\n\ttitle\n}: any) => {\n\t//Translations\n\tconst { t } = useTranslation();\n\n\t//Redux\n\tconst dispatch = useDispatch();\n\n\t//Snackbar\n\tconst { enqueueSnackbar } = useSnackbar();\n\n\t//Local State\n\tconst [isUpdatingApproval, setIsUpdatingApproval] = useState(false);\n\tconst [openQuickApprovalModal, setOpenQuickApprovalModal] = useState(false);\n\tconst [approvalToAcceptOrReject, setApprovalToAcceptOrReject] =\n\t\tuseState<string>('');\n\n\t//Handlers\n\n\tconst FetchApprovalDetails = () => {\n\t\tif (successMessage) {\n\t\t\tenqueueSnackbar(t(successMessage));\n\t\t}\n\t\tfetchApi();\n\t};\n\n\tconst handleSubmitForApproval = async (\n\t\ttype: 'submit_for_approval' | 'quick_approval',\n\t\tapprovers?: number[]\n\t) => {\n\t\tif (data) {\n\t\t\tsetIsUpdatingApproval(true);\n\t\t\tconst payload = {\n\t\t\t\t[moduleIdKey]: moduleId,\n\t\t\t\ttype,\n\t\t\t\t...(approvers && approvers?.length && { approver_id: approvers })\n\t\t\t};\n\n\t\t\tconst response = await dispatch(addApprover(payload));\n\n\t\t\tsetIsUpdatingApproval(false);\n\t\t\tapiHelper(response, () => FetchApprovalDetails(), enqueueSnackbar);\n\t\t}\n\t};\n\n\tconst handleApprovalAcceptOrReject = async () => {\n\t\tif (approvalDetails?.id && approvalToAcceptOrReject) {\n\t\t\tconst payload = {\n\t\t\t\tid: approvalDetails?.id,\n\t\t\t\t[moduleIdKey]: moduleId,\n\t\t\t\tstatus: approvalToAcceptOrReject\n\t\t\t};\n\t\t\tsetIsUpdatingApproval(true);\n\t\t\tconst response = await dispatch(updateApi(payload));\n\t\t\tsetIsUpdatingApproval(false);\n\t\t\tconst rStatus = approvalToAcceptOrReject;\n\t\t\tsetApprovalToAcceptOrReject('');\n\t\t\tapiHelper(response, () => fetchApi(), enqueueSnackbar);\n\t\t\tif (response.meta.requestStatus === 'fulfilled') {\n\t\t\t\tconst msg = `${title} ${rStatus === 'Approved' ? t('common.accepted') : t('common.rejected')}`;\n\t\t\t\tenqueueSnackbar(msg);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t{(showSubmitBtn || data?.status === 'Rejected') && (\n\t\t\t\t<DropdownButton\n\t\t\t\t\tisMenuThirdItemDisabled={true}\n\t\t\t\t\tonClick={() => handleSubmitForApproval('submit_for_approval')}\n\t\t\t\t\toptions={[\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: t('common.submitForApproval'),\n\t\t\t\t\t\t\tcallback: () => handleSubmitForApproval('submit_for_approval')\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: t('common.quickApproval'),\n\t\t\t\t\t\t\tcallback: () => setOpenQuickApprovalModal(true)\n\t\t\t\t\t\t}\n\t\t\t\t\t]}\n\t\t\t\t\tloading={isUpdatingApproval}>\n\t\t\t\t\t{data?.status === 'Rejected'\n\t\t\t\t\t\t? t('common.reSubmit')\n\t\t\t\t\t\t: t('common.submit')}\n\t\t\t\t</DropdownButton>\n\t\t\t)}\n\t\t\t<QuickApprovalModal\n\t\t\t\tisOpen={openQuickApprovalModal}\n\t\t\t\tsetIsOpen={() => setOpenQuickApprovalModal(false)}\n\t\t\t\tonConfirm={(approverIds) =>\n\t\t\t\t\thandleSubmitForApproval('quick_approval', approverIds)\n\t\t\t\t}\n\t\t\t\tisProcessing={isUpdatingApproval}\n\t\t\t/>\n\t\t\t<ConfirmPopUp\n\t\t\t\topen={Boolean(approvalToAcceptOrReject)}\n\t\t\t\tonClose={() => setApprovalToAcceptOrReject('')}\n\t\t\t\tonConfirm={handleApprovalAcceptOrReject}\n\t\t\t\ttitle={`${approvalToAcceptOrReject} request`}\n\t\t\t\tdescription={`Are you sure you want to ${approvalToAcceptOrReject} ${title} : ${data?.id} ?`}\n\t\t\t\tbuttonTexts={{\n\t\t\t\t\tconfirm: t('common.submit'),\n\t\t\t\t\tcancel: t('common.cancel')\n\t\t\t\t}}\n\t\t\t\tbuttonColors={{\n\t\t\t\t\tconfirm: approvalToAcceptOrReject === 'Rejected' ? 'error' : 'info'\n\t\t\t\t}}\n\t\t\t\tmodalType='info'\n\t\t\t\tloading={isUpdatingApproval}\n\t\t\t/>\n\t\t\t{showAcceptOrReject && (\n\t\t\t\t<DropdownButton\n\t\t\t\t\tisMenuThirdItemDisabled={true}\n\t\t\t\t\tonClick={() => setApprovalToAcceptOrReject('Approved')}\n\t\t\t\t\toptions={[\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: t('common.accept'),\n\t\t\t\t\t\t\tcallback: () => setApprovalToAcceptOrReject('Approved')\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: t('common.reject'),\n\t\t\t\t\t\t\tcallback: () => setApprovalToAcceptOrReject('Rejected'),\n\t\t\t\t\t\t\tcolor: 'theme.error.500'\n\t\t\t\t\t\t}\n\t\t\t\t\t]}\n\t\t\t\t\tloading={isUpdatingApproval}>\n\t\t\t\t\t{t('common.accept')}\n\t\t\t\t</DropdownButton>\n\t\t\t)}\n\t\t</>\n\t);\n};\n\nexport default ApprovalWrapper;\n"],"names":[],"mappings":"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"}
|
|
@@ -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,
|
|
4
|
+
import { Add, OpenInFullRounded, Close, 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 streamV1CopilotSmart, aP as
|
|
7
|
+
import { ab as getToken, V as getDefaultUserData, aI as getV1DepartmentsId } from "./api-w8De9u1Z.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 startV1CopilotAgent, aQ as formAssistV1Copilot, aR as postV1CopilotSubmit, aS as postV1CopilotSaveDraft, aT as postV1CopilotDiscard, 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-D9djlIb7.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";
|
|
@@ -231,7 +231,7 @@ const SLASH_COMMANDS = [
|
|
|
231
231
|
},
|
|
232
232
|
{
|
|
233
233
|
id: "smart",
|
|
234
|
-
label: "Smart
|
|
234
|
+
label: "Smart",
|
|
235
235
|
description: "Automatically routes your query to the right service"
|
|
236
236
|
}
|
|
237
237
|
];
|
|
@@ -415,16 +415,14 @@ const ChatBotInput = ({
|
|
|
415
415
|
background: activeDocument.status === "ready" ? "#2EB273" : activeDocument.status === "failed" ? "#C62828" : "#2EB273"
|
|
416
416
|
} }),
|
|
417
417
|
/* @__PURE__ */ jsx("span", { className: "chatBot--doc-chip-name", children: activeDocument.filename }),
|
|
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 } }) })
|
|
418
|
+
activeDocument.status === "ready" && /* @__PURE__ */ jsx("span", { className: "chatBot--doc-chip-badge", children: "Ready" })
|
|
420
419
|
] }) }),
|
|
421
420
|
(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: [
|
|
422
421
|
/* @__PURE__ */ jsx("span", { className: "chatBot--doc-chip-dot", style: {
|
|
423
422
|
background: doc.status === "ready" ? "#2EB273" : doc.status === "failed" ? "#C62828" : "#2EB273"
|
|
424
423
|
} }),
|
|
425
424
|
/* @__PURE__ */ jsx("span", { className: "chatBot--doc-chip-name", title: doc.filename, children: doc.filename }),
|
|
426
|
-
doc.status === "ready" && /* @__PURE__ */ jsx("span", { className: "chatBot--doc-chip-badge", children: "Ready" })
|
|
427
|
-
/* @__PURE__ */ jsx("button", { className: "chatBot--doc-chip-action chatBot--doc-chip-action--danger", onClick: () => onMultiDocDelete == null ? void 0 : onMultiDocDelete(doc.doc_id), title: "Remove document", children: /* @__PURE__ */ jsx(DeleteOutlineRounded, { sx: { fontSize: 15 } }) })
|
|
425
|
+
doc.status === "ready" && /* @__PURE__ */ jsx("span", { className: "chatBot--doc-chip-badge", children: "Ready" })
|
|
428
426
|
] }, doc.doc_id)) }),
|
|
429
427
|
/* @__PURE__ */ jsxs("div", { className: "chatBot--input-wrap", children: [
|
|
430
428
|
/* @__PURE__ */ jsx(
|
|
@@ -673,7 +671,7 @@ const FIELD_LABELS = {
|
|
|
673
671
|
billing_address: "Billing Address",
|
|
674
672
|
place_of_supply: "Place of Supply"
|
|
675
673
|
};
|
|
676
|
-
const InvoicePreview = ({ fieldUpdates, resolvedLabels, formStatus, onSave, onSubmit, onDiscard }) => {
|
|
674
|
+
const InvoicePreview = ({ fieldUpdates, resolvedLabels, formStatus, useActionGating, pendingFormAction, onSave, onSubmit, onDiscard }) => {
|
|
677
675
|
const itemTotalKey = fieldUpdates["purchase_item_entries.total_amount"] ? "purchase_item_entries.total_amount" : fieldUpdates["sales_item_entries.total_amount"] ? "sales_item_entries.total_amount" : null;
|
|
678
676
|
const itemTotal = itemTotalKey ? sumField(fieldUpdates, itemTotalKey) : 0;
|
|
679
677
|
const expenseTotal = sumField(fieldUpdates, "purchase_expense_entries.total_amount");
|
|
@@ -714,7 +712,15 @@ const InvoicePreview = ({ fieldUpdates, resolvedLabels, formStatus, onSave, onSu
|
|
|
714
712
|
] }),
|
|
715
713
|
/* @__PURE__ */ jsxs("div", { className: "chatBot--preview-foot", children: [
|
|
716
714
|
/* @__PURE__ */ jsx("span", { className: "chatBot--preview-foot-grow" }),
|
|
717
|
-
|
|
715
|
+
useActionGating ? (
|
|
716
|
+
// Smart mode: each button only appears when the AI's last action explicitly signalled
|
|
717
|
+
// it — status is fill-completeness only and never gates these (Copilot Smart API contract).
|
|
718
|
+
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
719
|
+
pendingFormAction === "discard_form" && onDiscard && /* @__PURE__ */ jsx(Button, { variant: "outlined", startIcon: /* @__PURE__ */ jsx(Trash, { fontSize: "small", sx: { stroke: "currentColor", strokeWidth: 0.5 } }), onClick: onDiscard, sx: { mr: 1 }, children: "Discard" }),
|
|
720
|
+
pendingFormAction === "save_draft" && /* @__PURE__ */ jsx(Button, { variant: "outlined", startIcon: /* @__PURE__ */ jsx(Save, { fontSize: "small", sx: { stroke: "currentColor", strokeWidth: 0.5 } }), onClick: onSave, sx: { mr: 1 }, children: "Save Draft" }),
|
|
721
|
+
pendingFormAction === "submit_form" && onSubmit && /* @__PURE__ */ jsx(Button, { variant: "contained", startIcon: /* @__PURE__ */ jsx(Tick, { fontSize: "small", sx: { stroke: "currentColor", strokeWidth: 0.5 } }), onClick: onSubmit, children: "Submit" })
|
|
722
|
+
] })
|
|
723
|
+
) : formStatus === "ready_to_submit" && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
718
724
|
onDiscard && /* @__PURE__ */ jsx(Button, { variant: "outlined", startIcon: /* @__PURE__ */ jsx(Trash, { fontSize: "small", sx: { stroke: "currentColor", strokeWidth: 0.5 } }), onClick: onDiscard, sx: { mr: 1 }, children: "Discard" }),
|
|
719
725
|
/* @__PURE__ */ jsx(Button, { variant: "outlined", startIcon: /* @__PURE__ */ jsx(Save, { fontSize: "small", sx: { stroke: "currentColor", strokeWidth: 0.5 } }), onClick: onSave, sx: { mr: 1 }, children: "Save Draft" }),
|
|
720
726
|
onSubmit && /* @__PURE__ */ jsx(Button, { variant: "contained", startIcon: /* @__PURE__ */ jsx(Tick, { fontSize: "small", sx: { stroke: "currentColor", strokeWidth: 0.5 } }), onClick: onSubmit, children: "Submit" })
|
|
@@ -945,6 +951,7 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
|
|
|
945
951
|
const [formType, setFormType] = useState(null);
|
|
946
952
|
const [formStatus, setFormStatus] = useState("in_progress");
|
|
947
953
|
const [currentFieldUpdates, setCurrentFieldUpdates] = useState(null);
|
|
954
|
+
const [pendingFormAction, setPendingFormAction] = useState(null);
|
|
948
955
|
const [resolvedLabels, setResolvedLabels] = useState({});
|
|
949
956
|
const [dynamicQuestions, setDynamicQuestions] = useState([]);
|
|
950
957
|
const [showSlashMenu, setShowSlashMenu] = useState(false);
|
|
@@ -955,6 +962,7 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
|
|
|
955
962
|
const userScrolledUp = useRef(false);
|
|
956
963
|
const agentStarted = useRef(false);
|
|
957
964
|
const smartSessionIdRef = useRef(null);
|
|
965
|
+
const formSessionIdRef = useRef(null);
|
|
958
966
|
const [activeDocument, setActiveDocument] = useState(null);
|
|
959
967
|
const [docIntroSent, setDocIntroSent] = useState(false);
|
|
960
968
|
const [docError, setDocError] = useState(null);
|
|
@@ -1095,6 +1103,7 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
|
|
|
1095
1103
|
if (id === "conversation") {
|
|
1096
1104
|
setFormType(null);
|
|
1097
1105
|
setFormStatus("in_progress");
|
|
1106
|
+
setPendingFormAction(null);
|
|
1098
1107
|
agentStarted.current = false;
|
|
1099
1108
|
} else if (id === "agent" && !formType) {
|
|
1100
1109
|
setFormType("sales_invoice");
|
|
@@ -1168,9 +1177,11 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
|
|
|
1168
1177
|
};
|
|
1169
1178
|
if (mode === "smart") {
|
|
1170
1179
|
smartSessionIdRef.current = null;
|
|
1180
|
+
formSessionIdRef.current = null;
|
|
1171
1181
|
agentStarted.current = false;
|
|
1172
1182
|
setFormType(null);
|
|
1173
1183
|
setFormStatus("in_progress");
|
|
1184
|
+
setPendingFormAction(null);
|
|
1174
1185
|
setCurrentFieldUpdates(null);
|
|
1175
1186
|
setResolvedLabels({});
|
|
1176
1187
|
}
|
|
@@ -1213,9 +1224,11 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
|
|
|
1213
1224
|
};
|
|
1214
1225
|
if (mode === "smart") {
|
|
1215
1226
|
smartSessionIdRef.current = null;
|
|
1227
|
+
formSessionIdRef.current = null;
|
|
1216
1228
|
agentStarted.current = false;
|
|
1217
1229
|
setFormType(null);
|
|
1218
1230
|
setFormStatus("in_progress");
|
|
1231
|
+
setPendingFormAction(null);
|
|
1219
1232
|
setCurrentFieldUpdates(null);
|
|
1220
1233
|
setResolvedLabels({});
|
|
1221
1234
|
}
|
|
@@ -1242,7 +1255,7 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
|
|
|
1242
1255
|
const docId = activeDocument.doc_id;
|
|
1243
1256
|
try {
|
|
1244
1257
|
const { "x-token": token } = getToken();
|
|
1245
|
-
const { deleteDocument } = await import("./api-
|
|
1258
|
+
const { deleteDocument } = await import("./api-D9djlIb7.esm.js").then((n) => n.b);
|
|
1246
1259
|
await deleteDocument(docId, token);
|
|
1247
1260
|
setActiveDocument(
|
|
1248
1261
|
(current) => (current == null ? void 0 : current.doc_id) === docId ? null : current
|
|
@@ -1289,9 +1302,11 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
|
|
|
1289
1302
|
};
|
|
1290
1303
|
if (mode === "smart") {
|
|
1291
1304
|
smartSessionIdRef.current = null;
|
|
1305
|
+
formSessionIdRef.current = null;
|
|
1292
1306
|
agentStarted.current = false;
|
|
1293
1307
|
setFormType(null);
|
|
1294
1308
|
setFormStatus("in_progress");
|
|
1309
|
+
setPendingFormAction(null);
|
|
1295
1310
|
setCurrentFieldUpdates(null);
|
|
1296
1311
|
setResolvedLabels({});
|
|
1297
1312
|
}
|
|
@@ -1376,7 +1391,7 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
|
|
|
1376
1391
|
const docsToDelete = docId ? activeDocuments.filter((d) => d.doc_id === docId) : activeDocuments;
|
|
1377
1392
|
try {
|
|
1378
1393
|
const { "x-token": token } = getToken();
|
|
1379
|
-
const { deleteDocument } = await import("./api-
|
|
1394
|
+
const { deleteDocument } = await import("./api-D9djlIb7.esm.js").then((n) => n.b);
|
|
1380
1395
|
await Promise.all(docsToDelete.map((d) => deleteDocument(d.doc_id, token)));
|
|
1381
1396
|
setActiveDocuments((current) => docId ? current.filter((c) => c.doc_id !== docId) : []);
|
|
1382
1397
|
setDocIntroSent(false);
|
|
@@ -1493,7 +1508,8 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
|
|
|
1493
1508
|
return label;
|
|
1494
1509
|
};
|
|
1495
1510
|
const onFieldUpdates = async (updates) => {
|
|
1496
|
-
|
|
1511
|
+
if (Object.keys(updates).length === 0) return;
|
|
1512
|
+
setCurrentFieldUpdates((prev) => ({ ...prev || {}, ...updates }));
|
|
1497
1513
|
const newLabels = {};
|
|
1498
1514
|
const expenseAccountIds = updates["purchase_expense_entries.accounts.account_name"];
|
|
1499
1515
|
if (Array.isArray(expenseAccountIds)) {
|
|
@@ -1632,7 +1648,6 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
|
|
|
1632
1648
|
onOffTopic,
|
|
1633
1649
|
void 0,
|
|
1634
1650
|
(planData) => {
|
|
1635
|
-
console.log("Smart Copilot Plan:", planData);
|
|
1636
1651
|
},
|
|
1637
1652
|
onFieldUpdates,
|
|
1638
1653
|
(citationsData) => {
|
|
@@ -1669,49 +1684,7 @@ const ChatBot = ({ inline = false, dashboardMode = false } = {}) => {
|
|
|
1669
1684
|
},
|
|
1670
1685
|
async (action) => {
|
|
1671
1686
|
if (["save_draft", "submit_form", "discard_form"].includes(action)) {
|
|
1672
|
-
|
|
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
|
-
}
|
|
1687
|
+
setPendingFormAction(action);
|
|
1715
1688
|
}
|
|
1716
1689
|
},
|
|
1717
1690
|
(status) => {
|
|
@@ -1722,6 +1695,9 @@ Please correct the details and try again.`,
|
|
|
1722
1695
|
},
|
|
1723
1696
|
(sessionId) => {
|
|
1724
1697
|
smartSessionIdRef.current = sessionId;
|
|
1698
|
+
},
|
|
1699
|
+
(formSessionId) => {
|
|
1700
|
+
formSessionIdRef.current = formSessionId;
|
|
1725
1701
|
}
|
|
1726
1702
|
);
|
|
1727
1703
|
} else if (mode === "doc_qa") {
|
|
@@ -1861,23 +1837,79 @@ Please correct the details and try again.`,
|
|
|
1861
1837
|
sendMessage(inputValue);
|
|
1862
1838
|
}
|
|
1863
1839
|
};
|
|
1840
|
+
const executeSmartFormAction = useCallback(async (action) => {
|
|
1841
|
+
const sessionId = formSessionIdRef.current;
|
|
1842
|
+
if (!sessionId) {
|
|
1843
|
+
toast.error("No active form session to act on.");
|
|
1844
|
+
return;
|
|
1845
|
+
}
|
|
1846
|
+
try {
|
|
1847
|
+
const token = getToken()["x-token"];
|
|
1848
|
+
if (action === "submit_form") {
|
|
1849
|
+
await postV1CopilotSubmit(sessionId, token, formType, currentFieldUpdates);
|
|
1850
|
+
toast.success("Form submitted successfully!");
|
|
1851
|
+
} else if (action === "save_draft") {
|
|
1852
|
+
await postV1CopilotSaveDraft(sessionId, token, formType, currentFieldUpdates);
|
|
1853
|
+
toast.success("Draft saved successfully!");
|
|
1854
|
+
} else {
|
|
1855
|
+
await postV1CopilotDiscard(sessionId, token, formType, currentFieldUpdates);
|
|
1856
|
+
toast.success("Form discarded");
|
|
1857
|
+
}
|
|
1858
|
+
agentStarted.current = false;
|
|
1859
|
+
setCurrentFieldUpdates(null);
|
|
1860
|
+
setResolvedLabels({});
|
|
1861
|
+
labelCacheRef.current = {};
|
|
1862
|
+
setFormStatus("in_progress");
|
|
1863
|
+
setFormType(null);
|
|
1864
|
+
setPendingFormAction(null);
|
|
1865
|
+
smartSessionIdRef.current = null;
|
|
1866
|
+
formSessionIdRef.current = null;
|
|
1867
|
+
} catch (e) {
|
|
1868
|
+
console.error("Failed to perform copilot action", e);
|
|
1869
|
+
let errMsg = "Action failed. Please try again.";
|
|
1870
|
+
try {
|
|
1871
|
+
const parsed = JSON.parse(e.message);
|
|
1872
|
+
if (parsed.message) errMsg = parsed.message;
|
|
1873
|
+
} catch {
|
|
1874
|
+
if (e.message) errMsg = e.message;
|
|
1875
|
+
}
|
|
1876
|
+
toast.error(errMsg);
|
|
1877
|
+
setMessages((prev) => [
|
|
1878
|
+
...prev,
|
|
1879
|
+
{
|
|
1880
|
+
id: Date.now(),
|
|
1881
|
+
role: "ai",
|
|
1882
|
+
text: `Validation Error: ${errMsg}
|
|
1883
|
+
|
|
1884
|
+
Please correct the details and try again.`,
|
|
1885
|
+
time: (/* @__PURE__ */ new Date()).toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" }),
|
|
1886
|
+
mode: "smart"
|
|
1887
|
+
}
|
|
1888
|
+
]);
|
|
1889
|
+
}
|
|
1890
|
+
}, [formType, currentFieldUpdates]);
|
|
1864
1891
|
const handleSave = useCallback(async () => {
|
|
1892
|
+
if (mode === "smart") return executeSmartFormAction("save_draft");
|
|
1865
1893
|
await sendMessage("Save the draft");
|
|
1866
|
-
}, [sendMessage]);
|
|
1894
|
+
}, [mode, executeSmartFormAction, sendMessage]);
|
|
1867
1895
|
const handleDiscard = useCallback(async () => {
|
|
1896
|
+
if (mode === "smart") return executeSmartFormAction("discard_form");
|
|
1868
1897
|
await sendMessage("Discard this form");
|
|
1869
|
-
}, [sendMessage]);
|
|
1898
|
+
}, [mode, executeSmartFormAction, sendMessage]);
|
|
1870
1899
|
const handleSubmit = useCallback(async () => {
|
|
1900
|
+
if (mode === "smart") return executeSmartFormAction("submit_form");
|
|
1871
1901
|
await sendMessage("Submit this form");
|
|
1872
|
-
}, [sendMessage]);
|
|
1902
|
+
}, [mode, executeSmartFormAction, sendMessage]);
|
|
1873
1903
|
const handleNewChat = useCallback(async () => {
|
|
1874
1904
|
const { "x-token": token } = getToken();
|
|
1875
1905
|
await resetV1CopilotSession(token);
|
|
1876
1906
|
setIsTyping(false);
|
|
1877
1907
|
setFormType(null);
|
|
1878
1908
|
setFormStatus("in_progress");
|
|
1909
|
+
setPendingFormAction(null);
|
|
1879
1910
|
agentStarted.current = false;
|
|
1880
1911
|
smartSessionIdRef.current = null;
|
|
1912
|
+
formSessionIdRef.current = null;
|
|
1881
1913
|
setCurrentFieldUpdates(null);
|
|
1882
1914
|
setResolvedLabels({});
|
|
1883
1915
|
labelCacheRef.current = {};
|
|
@@ -1937,6 +1969,8 @@ Please correct the details and try again.`,
|
|
|
1937
1969
|
fieldUpdates: currentFieldUpdates,
|
|
1938
1970
|
resolvedLabels,
|
|
1939
1971
|
formStatus,
|
|
1972
|
+
useActionGating: mode === "smart",
|
|
1973
|
+
pendingFormAction,
|
|
1940
1974
|
onSave: handleSave,
|
|
1941
1975
|
onDiscard: handleDiscard,
|
|
1942
1976
|
onSubmit: handleSubmit
|
|
@@ -2076,4 +2110,4 @@ export {
|
|
|
2076
2110
|
getGreeting as y,
|
|
2077
2111
|
getTime as z
|
|
2078
2112
|
};
|
|
2079
|
-
//# sourceMappingURL=chat-bot-
|
|
2113
|
+
//# sourceMappingURL=chat-bot-CGSaPIju.esm.js.map
|