@erpsquad/common 2.0.7 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-client/index.esm.js +2 -2
- package/dist/chunks/AuthContext-DofdH_qH.esm.js +304 -0
- package/dist/chunks/AuthContext-DofdH_qH.esm.js.map +1 -0
- package/dist/chunks/AuthContext-kcLshbDN.js +303 -0
- package/dist/chunks/AuthContext-kcLshbDN.js.map +1 -0
- package/dist/chunks/DonutChart-C6riky4l.esm.js +95 -0
- package/dist/chunks/DonutChart-C6riky4l.esm.js.map +1 -0
- package/dist/chunks/DonutChart-tepcDaIS.js +111 -0
- package/dist/chunks/DonutChart-tepcDaIS.js.map +1 -0
- package/dist/chunks/DynamicDependentField-CGdGWk5x.js +127 -0
- package/dist/chunks/DynamicDependentField-CGdGWk5x.js.map +1 -0
- package/dist/chunks/DynamicDependentField-DTmcCvr7.esm.js +128 -0
- package/dist/chunks/DynamicDependentField-DTmcCvr7.esm.js.map +1 -0
- package/dist/chunks/DynamicSearchInput-MbezEgV9.esm.js +195 -0
- package/dist/chunks/DynamicSearchInput-MbezEgV9.esm.js.map +1 -0
- package/dist/chunks/ERPUIProvider-BTLDtZWH.esm.js +133 -0
- package/dist/chunks/ERPUIProvider-BTLDtZWH.esm.js.map +1 -0
- package/dist/chunks/ERPUIProvider-JvxT4YBI.js +132 -0
- package/dist/chunks/ERPUIProvider-JvxT4YBI.js.map +1 -0
- package/dist/chunks/FORMS-D0B8kHGO.esm.js +296 -0
- package/dist/chunks/FORMS-D0B8kHGO.esm.js.map +1 -0
- package/dist/chunks/FORMS-DcWtwXeA.js +295 -0
- package/dist/chunks/FORMS-DcWtwXeA.js.map +1 -0
- package/dist/chunks/FlexibleReduxExample-B9lUXUtM.js +148 -0
- package/dist/chunks/FlexibleReduxExample-B9lUXUtM.js.map +1 -0
- package/dist/chunks/FlexibleReduxExample-BfAZ0NS1.esm.js +149 -0
- package/dist/chunks/FlexibleReduxExample-BfAZ0NS1.esm.js.map +1 -0
- package/dist/chunks/GroupBarChart-4SPyvviH.js +103 -0
- package/dist/chunks/GroupBarChart-4SPyvviH.js.map +1 -0
- package/dist/chunks/GroupBarChart-DARqXm97.esm.js +87 -0
- package/dist/chunks/GroupBarChart-DARqXm97.esm.js.map +1 -0
- package/dist/chunks/SectionFlowEditor-8U0IkGBG.esm.js +5461 -0
- package/dist/chunks/SectionFlowEditor-8U0IkGBG.esm.js.map +1 -0
- package/dist/chunks/SectionFlowEditor-CJVzv4-f.js +5460 -0
- package/dist/chunks/SectionFlowEditor-CJVzv4-f.js.map +1 -0
- package/dist/chunks/action-bar-1Rquyokn.esm.js +637 -0
- package/dist/chunks/action-bar-1Rquyokn.esm.js.map +1 -0
- package/dist/chunks/action-bar-BQu4SgTj.js +636 -0
- package/dist/chunks/action-bar-BQu4SgTj.js.map +1 -0
- package/dist/chunks/actionCreator-6vnQNdPW.esm.js +14 -0
- package/dist/chunks/actionCreator-6vnQNdPW.esm.js.map +1 -0
- package/dist/chunks/actionCreator-CRjzdA2F.esm.js +22 -0
- package/dist/chunks/actionCreator-CRjzdA2F.esm.js.map +1 -0
- package/dist/chunks/actionCreator-CfzbTvPB.esm.js +94 -0
- package/dist/chunks/actionCreator-CfzbTvPB.esm.js.map +1 -0
- package/dist/chunks/actionCreator-jQ2zgNcg.esm.js +80 -0
- package/dist/chunks/actionCreator-jQ2zgNcg.esm.js.map +1 -0
- package/dist/chunks/actionCreator-yZ3mD8R2.esm.js +28 -0
- package/dist/chunks/actionCreator-yZ3mD8R2.esm.js.map +1 -0
- package/dist/chunks/activity-tag-BPE6sv6e.js +151 -0
- package/dist/chunks/activity-tag-BPE6sv6e.js.map +1 -0
- package/dist/chunks/activity-tag-Bk13Lwtt.esm.js +152 -0
- package/dist/chunks/activity-tag-Bk13Lwtt.esm.js.map +1 -0
- package/dist/chunks/add-template-DGMGVpCT.esm.js +11 -0
- package/dist/chunks/add-template-DGMGVpCT.esm.js.map +1 -0
- package/dist/chunks/add-template-s1Vr9sdq.js +10 -0
- package/dist/chunks/add-template-s1Vr9sdq.js.map +1 -0
- package/dist/chunks/address-modal-BEo9bfzo.esm.js +671 -0
- package/dist/chunks/address-modal-BEo9bfzo.esm.js.map +1 -0
- package/dist/chunks/address-modal-DGAqvsPa.js +687 -0
- package/dist/chunks/address-modal-DGAqvsPa.js.map +1 -0
- package/dist/chunks/ai-summary-VG2I3n99.esm.js +351 -0
- package/dist/chunks/ai-summary-VG2I3n99.esm.js.map +1 -0
- package/dist/chunks/api-B6GkxQYG.esm.js +2219 -0
- package/dist/chunks/api-B6GkxQYG.esm.js.map +1 -0
- package/dist/chunks/api-BbjtLtS_.esm.js +4682 -0
- package/dist/chunks/api-BbjtLtS_.esm.js.map +1 -0
- package/dist/chunks/appbar-Dol8xdCz.js +56 -0
- package/dist/chunks/appbar-Dol8xdCz.js.map +1 -0
- package/dist/chunks/appbar-kCY0xo1q.esm.js +57 -0
- package/dist/chunks/appbar-kCY0xo1q.esm.js.map +1 -0
- package/dist/chunks/approval-wrapper-BIi2og8G.esm.js +140 -0
- package/dist/chunks/approval-wrapper-BIi2og8G.esm.js.map +1 -0
- package/dist/chunks/approval-wrapper-Cgweuhjx.js +139 -0
- package/dist/chunks/approval-wrapper-Cgweuhjx.js.map +1 -0
- package/dist/chunks/calculation-summary-BwBud3iV.esm.js +174 -0
- package/dist/chunks/calculation-summary-BwBud3iV.esm.js.map +1 -0
- package/dist/chunks/calculation-summary-pLuBD594.js +173 -0
- package/dist/chunks/calculation-summary-pLuBD594.js.map +1 -0
- package/dist/chunks/change-password-BqSHR0wx.js +199 -0
- package/dist/chunks/change-password-BqSHR0wx.js.map +1 -0
- package/dist/chunks/change-password-DJwwMZ29.esm.js +183 -0
- package/dist/chunks/change-password-DJwwMZ29.esm.js.map +1 -0
- package/dist/chunks/change-user-password-modal-DP_wbT8i.esm.js +119 -0
- package/dist/chunks/change-user-password-modal-DP_wbT8i.esm.js.map +1 -0
- package/dist/chunks/change-user-password-modal-VR98mGW6.js +135 -0
- package/dist/chunks/change-user-password-modal-VR98mGW6.js.map +1 -0
- package/dist/chunks/chat-bot-B1SWhIFL.esm.js +1831 -0
- package/dist/chunks/chat-bot-B1SWhIFL.esm.js.map +1 -0
- package/dist/chunks/chat-bot-CdiKFNgT.js +1830 -0
- package/dist/chunks/chat-bot-CdiKFNgT.js.map +1 -0
- package/dist/chunks/checkbox-Bp-_K3Uq.esm.js +83 -0
- package/dist/chunks/checkbox-Bp-_K3Uq.esm.js.map +1 -0
- package/dist/chunks/checkbox-D8p_Y3nz.js +82 -0
- package/dist/chunks/checkbox-D8p_Y3nz.js.map +1 -0
- package/dist/chunks/common-CrTFa-wo.js +182 -0
- package/dist/chunks/common-CrTFa-wo.js.map +1 -0
- package/dist/chunks/common-D6QyHh2n.esm.js +183 -0
- package/dist/chunks/common-D6QyHh2n.esm.js.map +1 -0
- package/dist/chunks/common-utility-Cab11rUm.js +305 -0
- package/dist/chunks/common-utility-Cab11rUm.js.map +1 -0
- package/dist/chunks/common-utility-DhJfepcc.esm.js +305 -0
- package/dist/chunks/common-utility-DhJfepcc.esm.js.map +1 -0
- package/dist/chunks/confirm-modal-D4bLzEGf.js +97 -0
- package/dist/chunks/confirm-modal-D4bLzEGf.js.map +1 -0
- package/dist/chunks/confirm-modal-nCdT1-Zb.esm.js +98 -0
- package/dist/chunks/confirm-modal-nCdT1-Zb.esm.js.map +1 -0
- package/dist/chunks/contact-modal-5rG_qnX7.js +185 -0
- package/dist/chunks/contact-modal-5rG_qnX7.js.map +1 -0
- package/dist/chunks/contact-modal-XTsjG2P2.esm.js +169 -0
- package/dist/chunks/contact-modal-XTsjG2P2.esm.js.map +1 -0
- package/dist/chunks/custom-editor-B0tdyVUd.esm.js +1257 -0
- package/dist/chunks/custom-editor-B0tdyVUd.esm.js.map +1 -0
- package/dist/chunks/custom-form-DJ9vNxTp.js +1145 -0
- package/dist/chunks/custom-form-DJ9vNxTp.js.map +1 -0
- package/dist/chunks/custom-form-M6YTLQfx.esm.js +1146 -0
- package/dist/chunks/custom-form-M6YTLQfx.esm.js.map +1 -0
- package/dist/chunks/dashboard-BMR-mYzQ.js +74 -0
- package/dist/chunks/dashboard-BMR-mYzQ.js.map +1 -0
- package/dist/chunks/dashboard-y9pGL53r.esm.js +75 -0
- package/dist/chunks/dashboard-y9pGL53r.esm.js.map +1 -0
- package/dist/chunks/date-range-picker-D6a4i6w_.js +61 -0
- package/dist/chunks/date-range-picker-D6a4i6w_.js.map +1 -0
- package/dist/chunks/date-range-picker-DIssi8qZ.js +159 -0
- package/dist/chunks/date-range-picker-DIssi8qZ.js.map +1 -0
- package/dist/chunks/date-range-picker-DqcAOo8B.esm.js +160 -0
- package/dist/chunks/date-range-picker-DqcAOo8B.esm.js.map +1 -0
- package/dist/chunks/date-range-picker-OOZXiyKI.esm.js +62 -0
- package/dist/chunks/date-range-picker-OOZXiyKI.esm.js.map +1 -0
- package/dist/chunks/dropdown-button-DYSlETL1.esm.js +146 -0
- package/dist/chunks/dropdown-button-DYSlETL1.esm.js.map +1 -0
- package/dist/chunks/dropdown-button-DeiOY_oP.js +162 -0
- package/dist/chunks/dropdown-button-DeiOY_oP.js.map +1 -0
- package/dist/chunks/dynamic-layout-wrapper-B6O3hR3Y.esm.js +229 -0
- package/dist/chunks/dynamic-layout-wrapper-B6O3hR3Y.esm.js.map +1 -0
- package/dist/chunks/dynamic-layout-wrapper-BtHbs1Zj.js +228 -0
- package/dist/chunks/dynamic-layout-wrapper-BtHbs1Zj.js.map +1 -0
- package/dist/chunks/dynamic-report-BAOTGuEk.esm.js +589 -0
- package/dist/chunks/dynamic-report-BAOTGuEk.esm.js.map +1 -0
- package/dist/chunks/dynamic-report-CynjfYJy.js +588 -0
- package/dist/chunks/dynamic-report-CynjfYJy.js.map +1 -0
- package/dist/chunks/dynamic-rows-C75GZFAm.esm.js +250 -0
- package/dist/chunks/dynamic-rows-C75GZFAm.esm.js.map +1 -0
- package/dist/chunks/dynamic-rows-CvqwiJje.js +249 -0
- package/dist/chunks/dynamic-rows-CvqwiJje.js.map +1 -0
- package/dist/chunks/dynamic-text-editor-btqFFT1t.esm.js +45 -0
- package/dist/chunks/dynamic-text-editor-btqFFT1t.esm.js.map +1 -0
- package/dist/chunks/edit-section-modal-DMH6owAz.esm.js +80 -0
- package/dist/chunks/edit-section-modal-DMH6owAz.esm.js.map +1 -0
- package/dist/chunks/expandable-summary-wrapper-DMQc4D4R.js +241 -0
- package/dist/chunks/expandable-summary-wrapper-DMQc4D4R.js.map +1 -0
- package/dist/chunks/expandable-summary-wrapper-t86b6oNE.esm.js +242 -0
- package/dist/chunks/expandable-summary-wrapper-t86b6oNE.esm.js.map +1 -0
- package/dist/chunks/filter-B4OpmXRQ.esm.js +410 -0
- package/dist/chunks/filter-B4OpmXRQ.esm.js.map +1 -0
- package/dist/chunks/filter-DJegmeDz.js +409 -0
- package/dist/chunks/filter-DJegmeDz.js.map +1 -0
- package/dist/chunks/footer-Bue8F5jc.js +63 -0
- package/dist/chunks/footer-Bue8F5jc.js.map +1 -0
- package/dist/chunks/footer-cys2uVXJ.esm.js +64 -0
- package/dist/chunks/footer-cys2uVXJ.esm.js.map +1 -0
- package/dist/chunks/forgot-password-C-_Vt8Ld.js +194 -0
- package/dist/chunks/forgot-password-C-_Vt8Ld.js.map +1 -0
- package/dist/chunks/forgot-password-DaYwd5uW.esm.js +178 -0
- package/dist/chunks/forgot-password-DaYwd5uW.esm.js.map +1 -0
- package/dist/chunks/form-fields-CvI9yo74.js +354 -0
- package/dist/chunks/form-fields-CvI9yo74.js.map +1 -0
- package/dist/chunks/form-fields-Dp-8zIrT.esm.js +355 -0
- package/dist/chunks/form-fields-Dp-8zIrT.esm.js.map +1 -0
- package/dist/chunks/form-parser-BNVZ-OsN.js +613 -0
- package/dist/chunks/form-parser-BNVZ-OsN.js.map +1 -0
- package/dist/chunks/form-parser-DgaV_u_G.esm.js +597 -0
- package/dist/chunks/form-parser-DgaV_u_G.esm.js.map +1 -0
- package/dist/chunks/form-section-CCQ5Grq5.js +575 -0
- package/dist/chunks/form-section-CCQ5Grq5.js.map +1 -0
- package/dist/chunks/form-section-D6OLrE7M.esm.js +576 -0
- package/dist/chunks/form-section-D6OLrE7M.esm.js.map +1 -0
- package/dist/chunks/fullScreen-Bar5e4Zd.esm.js +19 -0
- package/dist/chunks/fullScreen-Bar5e4Zd.esm.js.map +1 -0
- package/dist/chunks/fullScreen-DJR7qbF5.js +18 -0
- package/dist/chunks/fullScreen-DJR7qbF5.js.map +1 -0
- package/dist/chunks/global-search-Bn_3kWNW.esm.js +150 -0
- package/dist/chunks/global-search-Bn_3kWNW.esm.js.map +1 -0
- package/dist/chunks/grid-view-DQ481EM1.esm.js +52 -0
- package/dist/chunks/grid-view-DQ481EM1.esm.js.map +1 -0
- package/dist/chunks/header-266dLUMg.js +92 -0
- package/dist/chunks/header-266dLUMg.js.map +1 -0
- package/dist/chunks/header-BCMW9ctt.esm.js +93 -0
- package/dist/chunks/header-BCMW9ctt.esm.js.map +1 -0
- package/dist/chunks/header-enhanced-Cf44TMZf.js +402 -0
- package/dist/chunks/header-enhanced-Cf44TMZf.js.map +1 -0
- package/dist/chunks/header-enhanced-DDG6COKM.esm.js +403 -0
- package/dist/chunks/header-enhanced-DDG6COKM.esm.js.map +1 -0
- package/dist/chunks/i18n-B7RX2ZZ6.js +95 -0
- package/dist/chunks/i18n-B7RX2ZZ6.js.map +1 -0
- package/dist/chunks/i18n-IaT9E8wF.esm.js +94 -0
- package/dist/chunks/i18n-IaT9E8wF.esm.js.map +1 -0
- package/dist/chunks/index-DWPfPC9k.esm.js +2024 -0
- package/dist/chunks/index-DWPfPC9k.esm.js.map +1 -0
- package/dist/chunks/inline-edit-fields-C1ya5MlP.js +341 -0
- package/dist/chunks/inline-edit-fields-C1ya5MlP.js.map +1 -0
- package/dist/chunks/inline-edit-fields-DeepjF9W.esm.js +325 -0
- package/dist/chunks/inline-edit-fields-DeepjF9W.esm.js.map +1 -0
- package/dist/chunks/inventory-reports-title-bar-C7HQ0Rz0.esm.js +733 -0
- package/dist/chunks/inventory-reports-title-bar-C7HQ0Rz0.esm.js.map +1 -0
- package/dist/chunks/inventory-reports-title-bar-DrIkl093.js +732 -0
- package/dist/chunks/inventory-reports-title-bar-DrIkl093.js.map +1 -0
- package/dist/chunks/item-response-details-B0LkBlox.esm.js +79 -0
- package/dist/chunks/item-response-details-B0LkBlox.esm.js.map +1 -0
- package/dist/chunks/item-response-details-tn_93JWx.js +78 -0
- package/dist/chunks/item-response-details-tn_93JWx.js.map +1 -0
- package/dist/chunks/journal-type-add-modal-CQ7ik88w.js +128 -0
- package/dist/chunks/journal-type-add-modal-CQ7ik88w.js.map +1 -0
- package/dist/chunks/journal-type-add-modal-CubGUsiW.esm.js +112 -0
- package/dist/chunks/journal-type-add-modal-CubGUsiW.esm.js.map +1 -0
- package/dist/chunks/language-switch-B8Vo3as8.js +110 -0
- package/dist/chunks/language-switch-B8Vo3as8.js.map +1 -0
- package/dist/chunks/language-switch-JqR_jZoX.esm.js +111 -0
- package/dist/chunks/language-switch-JqR_jZoX.esm.js.map +1 -0
- package/dist/chunks/languageContext-JTb2yZmF.js +218 -0
- package/dist/chunks/languageContext-JTb2yZmF.js.map +1 -0
- package/dist/chunks/languageContext-aT4pFMI3.esm.js +219 -0
- package/dist/chunks/languageContext-aT4pFMI3.esm.js.map +1 -0
- package/dist/chunks/listing-BE07Zp5g.esm.js +277 -0
- package/dist/chunks/listing-BE07Zp5g.esm.js.map +1 -0
- package/dist/chunks/listing-Cp0b_XGM.js +276 -0
- package/dist/chunks/listing-Cp0b_XGM.js.map +1 -0
- package/dist/chunks/location-select-BoXNL7DP.js +85 -0
- package/dist/chunks/location-select-BoXNL7DP.js.map +1 -0
- package/dist/chunks/location-select-CCQueueQ.esm.js +86 -0
- package/dist/chunks/location-select-CCQueueQ.esm.js.map +1 -0
- package/dist/chunks/material-editable-table-DOrp18Fk.js +1464 -0
- package/dist/chunks/material-editable-table-DOrp18Fk.js.map +1 -0
- package/dist/chunks/material-editable-table-rLDq1Htx.esm.js +1448 -0
- package/dist/chunks/material-editable-table-rLDq1Htx.esm.js.map +1 -0
- package/dist/chunks/module-reducer-DODlFqlX.esm.js +79 -0
- package/dist/chunks/module-reducer-DODlFqlX.esm.js.map +1 -0
- package/dist/chunks/notification-menu-CPFPIlav.esm.js +606 -0
- package/dist/chunks/notification-menu-CPFPIlav.esm.js.map +1 -0
- package/dist/chunks/page-action-BB9ZfBqs.js +324 -0
- package/dist/chunks/page-action-BB9ZfBqs.js.map +1 -0
- package/dist/chunks/page-action-BVBfQPuy.esm.js +325 -0
- package/dist/chunks/page-action-BVBfQPuy.esm.js.map +1 -0
- package/dist/chunks/page-context-C6GLxzPF.js +387 -0
- package/dist/chunks/page-context-C6GLxzPF.js.map +1 -0
- package/dist/chunks/page-context-CZVCQsx4.esm.js +388 -0
- package/dist/chunks/page-context-CZVCQsx4.esm.js.map +1 -0
- package/dist/chunks/page-navigator-BtT7FvgA.js +243 -0
- package/dist/chunks/page-navigator-BtT7FvgA.js.map +1 -0
- package/dist/chunks/page-navigator-DhZSbWM-.esm.js +244 -0
- package/dist/chunks/page-navigator-DhZSbWM-.esm.js.map +1 -0
- package/dist/chunks/page-view-BS0vDfet.esm.js +324 -0
- package/dist/chunks/page-view-BS0vDfet.esm.js.map +1 -0
- package/dist/chunks/page-view-DQh8QJIi.js +323 -0
- package/dist/chunks/page-view-DQh8QJIi.js.map +1 -0
- package/dist/chunks/pagination-DF8mY5Wg.esm.js +136 -0
- package/dist/chunks/pagination-DF8mY5Wg.esm.js.map +1 -0
- package/dist/chunks/pagination-ytCCM6x5.js +135 -0
- package/dist/chunks/pagination-ytCCM6x5.js.map +1 -0
- package/dist/chunks/phone-CORnEyRe.esm.js +59 -0
- package/dist/chunks/phone-CORnEyRe.esm.js.map +1 -0
- package/dist/chunks/phone-CsXmANY1.js +58 -0
- package/dist/chunks/phone-CsXmANY1.js.map +1 -0
- package/dist/chunks/phone-input-3p8jy0VZ.esm.js +255 -0
- package/dist/chunks/phone-input-3p8jy0VZ.esm.js.map +1 -0
- package/dist/chunks/phone-input-cDVGHShY.js +254 -0
- package/dist/chunks/phone-input-cDVGHShY.js.map +1 -0
- package/dist/chunks/privateRoute-Cm2hqDeK.js +12 -0
- package/dist/chunks/privateRoute-Cm2hqDeK.js.map +1 -0
- package/dist/chunks/privateRoute-D5cMrsfo.esm.js +13 -0
- package/dist/chunks/privateRoute-D5cMrsfo.esm.js.map +1 -0
- package/dist/chunks/quick-approval-modal-DaSlNlcT.esm.js +256 -0
- package/dist/chunks/quick-approval-modal-DaSlNlcT.esm.js.map +1 -0
- package/dist/chunks/reducer-BVmCliuv.esm.js +50 -0
- package/dist/chunks/reducer-BVmCliuv.esm.js.map +1 -0
- package/dist/chunks/reducer-Ce33BbuU.esm.js +149 -0
- package/dist/chunks/reducer-Ce33BbuU.esm.js.map +1 -0
- package/dist/chunks/reducer-CqWixCbD.esm.js +33 -0
- package/dist/chunks/reducer-CqWixCbD.esm.js.map +1 -0
- package/dist/chunks/reducer-DJLJl8jC.esm.js +43 -0
- package/dist/chunks/reducer-DJLJl8jC.esm.js.map +1 -0
- package/dist/chunks/reducer-DhF7Zh6Q.esm.js +56 -0
- package/dist/chunks/reducer-DhF7Zh6Q.esm.js.map +1 -0
- package/dist/chunks/remove-action-BrwzXFnw.esm.js +21 -0
- package/dist/chunks/remove-action-BrwzXFnw.esm.js.map +1 -0
- package/dist/chunks/remove-action-DuOSbzq_.js +20 -0
- package/dist/chunks/remove-action-DuOSbzq_.js.map +1 -0
- package/dist/chunks/report-buttons-B2eLIpL8.esm.js +46 -0
- package/dist/chunks/report-buttons-B2eLIpL8.esm.js.map +1 -0
- package/dist/chunks/report-buttons-C5-b6TSy.esm.js +60 -0
- package/dist/chunks/report-buttons-C5-b6TSy.esm.js.map +1 -0
- package/dist/chunks/report-buttons-CZk6F9qW.js +59 -0
- package/dist/chunks/report-buttons-CZk6F9qW.js.map +1 -0
- package/dist/chunks/report-buttons-DOMCk_6C.js +45 -0
- package/dist/chunks/report-buttons-DOMCk_6C.js.map +1 -0
- package/dist/chunks/reportFilter-CYHe2E_K.esm.js +395 -0
- package/dist/chunks/reportFilter-CYHe2E_K.esm.js.map +1 -0
- package/dist/chunks/reportFilter-DxVLL73i.js +394 -0
- package/dist/chunks/reportFilter-DxVLL73i.js.map +1 -0
- package/dist/chunks/reports-title-bar-C4PU6UBg.js +946 -0
- package/dist/chunks/reports-title-bar-C4PU6UBg.js.map +1 -0
- package/dist/chunks/reports-title-bar-cKPM1sTK.esm.js +947 -0
- package/dist/chunks/reports-title-bar-cKPM1sTK.esm.js.map +1 -0
- package/dist/chunks/reset-password-C-9K23dJ.js +32 -0
- package/dist/chunks/reset-password-C-9K23dJ.js.map +1 -0
- package/dist/chunks/reset-password-D-KmDrEy.esm.js +33 -0
- package/dist/chunks/reset-password-D-KmDrEy.esm.js.map +1 -0
- package/dist/chunks/reset-password-modal-B6IEx0RP.esm.js +144 -0
- package/dist/chunks/reset-password-modal-B6IEx0RP.esm.js.map +1 -0
- package/dist/chunks/reset-password-modal-D8eQYA1o.js +160 -0
- package/dist/chunks/reset-password-modal-D8eQYA1o.js.map +1 -0
- package/dist/chunks/routes-DCfUJ0-V.js +35 -0
- package/dist/chunks/routes-DCfUJ0-V.js.map +1 -0
- package/dist/chunks/routes-d4lHZsSq.esm.js +36 -0
- package/dist/chunks/routes-d4lHZsSq.esm.js.map +1 -0
- package/dist/chunks/schedule-report-BDsU9z1g.esm.js +236 -0
- package/dist/chunks/schedule-report-BDsU9z1g.esm.js.map +1 -0
- package/dist/chunks/schedule-report-D3B_npRM.js +235 -0
- package/dist/chunks/schedule-report-D3B_npRM.js.map +1 -0
- package/dist/chunks/schedule-report-modal-BaUN50kn.esm.js +288 -0
- package/dist/chunks/schedule-report-modal-BaUN50kn.esm.js.map +1 -0
- package/dist/chunks/schedule-report-modal-HkWvhGzM.js +287 -0
- package/dist/chunks/schedule-report-modal-HkWvhGzM.js.map +1 -0
- package/dist/chunks/searchable-select-Bkza656F.esm.js +5396 -0
- package/dist/chunks/searchable-select-Bkza656F.esm.js.map +1 -0
- package/dist/chunks/searchable-select-Ce-Cfh7e.js +5412 -0
- package/dist/chunks/searchable-select-Ce-Cfh7e.js.map +1 -0
- package/dist/chunks/share-modal-c_hne4V-.esm.js +218 -0
- package/dist/chunks/share-modal-c_hne4V-.esm.js.map +1 -0
- package/dist/chunks/share-modal-enhanced-BNXVPBE7.esm.js +270 -0
- package/dist/chunks/share-modal-enhanced-BNXVPBE7.esm.js.map +1 -0
- package/dist/chunks/share-modal-enhanced-D2DkJKv8.js +269 -0
- package/dist/chunks/share-modal-enhanced-D2DkJKv8.js.map +1 -0
- package/dist/chunks/share-modal-wRSXhat1.js +217 -0
- package/dist/chunks/share-modal-wRSXhat1.js.map +1 -0
- package/dist/chunks/sidebar-B0_wJDLu.esm.js +879 -0
- package/dist/chunks/sidebar-B0_wJDLu.esm.js.map +1 -0
- package/dist/chunks/sidebar-DBIBqPwf.js +878 -0
- package/dist/chunks/sidebar-DBIBqPwf.js.map +1 -0
- package/dist/chunks/sidebarScreen-CVeGcSx7.esm.js +202 -0
- package/dist/chunks/sidebarScreen-CVeGcSx7.esm.js.map +1 -0
- package/dist/chunks/sidebarScreen-ym9GJarW.js +201 -0
- package/dist/chunks/sidebarScreen-ym9GJarW.js.map +1 -0
- package/dist/chunks/store-B_mh-yKT.esm.js +100 -0
- package/dist/chunks/store-B_mh-yKT.esm.js.map +1 -0
- package/dist/chunks/table-CE4hRFxy.esm.js +185 -0
- package/dist/chunks/table-CE4hRFxy.esm.js.map +1 -0
- package/dist/chunks/table-Do6LnNLm.js +184 -0
- package/dist/chunks/table-Do6LnNLm.js.map +1 -0
- package/dist/chunks/table-form-BBXjhFbT.esm.js +1537 -0
- package/dist/chunks/table-form-BBXjhFbT.esm.js.map +1 -0
- package/dist/chunks/template-editor-router-B5oqycyc.js +8 -0
- package/dist/chunks/template-editor-router-B5oqycyc.js.map +1 -0
- package/dist/chunks/template-editor-router-DzayMRL1.esm.js +9 -0
- package/dist/chunks/template-editor-router-DzayMRL1.esm.js.map +1 -0
- package/dist/chunks/template-modal-CpfMuiYf.js +768 -0
- package/dist/chunks/template-modal-CpfMuiYf.js.map +1 -0
- package/dist/chunks/template-modal-QGa_PiIZ.esm.js +769 -0
- package/dist/chunks/template-modal-QGa_PiIZ.esm.js.map +1 -0
- package/dist/chunks/template-name-modal-CfghZygq.esm.js +101 -0
- package/dist/chunks/template-name-modal-CfghZygq.esm.js.map +1 -0
- package/dist/chunks/templates-B7OX97K8.esm.js +273 -0
- package/dist/chunks/templates-B7OX97K8.esm.js.map +1 -0
- package/dist/chunks/templates-DSlPpza9.js +272 -0
- package/dist/chunks/templates-DSlPpza9.js.map +1 -0
- package/dist/chunks/text-measurement-bcIgRcxS.esm.js +252 -0
- package/dist/chunks/text-measurement-bcIgRcxS.esm.js.map +1 -0
- package/dist/chunks/three-dot-icon-8YrrMzuw.js +37 -0
- package/dist/chunks/three-dot-icon-8YrrMzuw.js.map +1 -0
- package/dist/chunks/three-dot-icon-CjJdOPo9.esm.js +38 -0
- package/dist/chunks/three-dot-icon-CjJdOPo9.esm.js.map +1 -0
- package/dist/chunks/toggle-button-C-1TQjtd.esm.js +55 -0
- package/dist/chunks/toggle-button-C-1TQjtd.esm.js.map +1 -0
- package/dist/chunks/toggle-button-DAhGk0ML.js +54 -0
- package/dist/chunks/toggle-button-DAhGk0ML.js.map +1 -0
- package/dist/chunks/toggle-switch-B8IqxoPK.js +80 -0
- package/dist/chunks/toggle-switch-B8IqxoPK.js.map +1 -0
- package/dist/chunks/toggle-switch-Bs5VnHNu.esm.js +81 -0
- package/dist/chunks/toggle-switch-Bs5VnHNu.esm.js.map +1 -0
- package/dist/chunks/translations-BWFkwxf-.esm.js +121 -0
- package/dist/chunks/translations-BWFkwxf-.esm.js.map +1 -0
- package/dist/chunks/translations-Bp8XT7gX.js +120 -0
- package/dist/chunks/translations-Bp8XT7gX.js.map +1 -0
- package/dist/chunks/uom-field-wrapper-CFunGH8W.js +79 -0
- package/dist/chunks/uom-field-wrapper-CFunGH8W.js.map +1 -0
- package/dist/chunks/uom-field-wrapper-CqOa0C9G.esm.js +80 -0
- package/dist/chunks/uom-field-wrapper-CqOa0C9G.esm.js.map +1 -0
- package/dist/chunks/upload-excel-Vtcnj7cc.esm.js +361 -0
- package/dist/chunks/upload-excel-Vtcnj7cc.esm.js.map +1 -0
- package/dist/chunks/use-pages-C30_LQ3n.esm.js +30 -0
- package/dist/chunks/use-pages-C30_LQ3n.esm.js.map +1 -0
- package/dist/chunks/use-pages-WkAi3E4W.js +29 -0
- package/dist/chunks/use-pages-WkAi3E4W.js.map +1 -0
- package/dist/chunks/use-translations-CjXYG4SW.esm.js +69 -0
- package/dist/chunks/use-translations-CjXYG4SW.esm.js.map +1 -0
- package/dist/chunks/use-translations-DpZR71i0.js +68 -0
- package/dist/chunks/use-translations-DpZR71i0.js.map +1 -0
- package/dist/chunks/useAccountSetting-w9Xa-7w_.esm.js +174 -0
- package/dist/chunks/useAccountSetting-w9Xa-7w_.esm.js.map +1 -0
- package/dist/chunks/useCheckSkuAndName-DZnJSqwy.esm.js +50 -0
- package/dist/chunks/useCheckSkuAndName-DZnJSqwy.esm.js.map +1 -0
- package/dist/chunks/useCompanyCountryCode-ByMHnqxy.esm.js +36 -0
- package/dist/chunks/useCompanyCountryCode-ByMHnqxy.esm.js.map +1 -0
- package/dist/chunks/useCompanyCountryCode-DqloXwtG.js +35 -0
- package/dist/chunks/useCompanyCountryCode-DqloXwtG.js.map +1 -0
- package/dist/chunks/useDataFetcher-Cq-WKcll.js +79 -0
- package/dist/chunks/useDataFetcher-Cq-WKcll.js.map +1 -0
- package/dist/chunks/useDataFetcher-DDlv9bYl.esm.js +80 -0
- package/dist/chunks/useDataFetcher-DDlv9bYl.esm.js.map +1 -0
- package/dist/chunks/useLangauge-DE_pDKAr.esm.js +49 -0
- package/dist/chunks/useLangauge-DE_pDKAr.esm.js.map +1 -0
- package/dist/chunks/useLangauge-pT1jJDfy.js +48 -0
- package/dist/chunks/useLangauge-pT1jJDfy.js.map +1 -0
- package/dist/chunks/useReduxIntegration-Bh_3eVGW.js +38 -0
- package/dist/chunks/useReduxIntegration-Bh_3eVGW.js.map +1 -0
- package/dist/chunks/useReduxIntegration-DzUPNavJ.esm.js +39 -0
- package/dist/chunks/useReduxIntegration-DzUPNavJ.esm.js.map +1 -0
- package/dist/chunks/useSetDefaultConfig-BD1RgDdR.js +100 -0
- package/dist/chunks/useSetDefaultConfig-BD1RgDdR.js.map +1 -0
- package/dist/chunks/useSetDefaultConfig-DYgXuA-O.esm.js +101 -0
- package/dist/chunks/useSetDefaultConfig-DYgXuA-O.esm.js.map +1 -0
- package/dist/chunks/useUniquenessCheck-CpUWTYur.esm.js +39 -0
- package/dist/chunks/useUniquenessCheck-CpUWTYur.esm.js.map +1 -0
- package/dist/chunks/user-menu-C4Ud-8Q3.js +104 -0
- package/dist/chunks/user-menu-C4Ud-8Q3.js.map +1 -0
- package/dist/chunks/user-menu-jAjQfkq3.esm.js +105 -0
- package/dist/chunks/user-menu-jAjQfkq3.esm.js.map +1 -0
- package/dist/chunks/value-editor-Be7rTjjR.esm.js +137 -0
- package/dist/chunks/value-editor-Be7rTjjR.esm.js.map +1 -0
- package/dist/chunks/value-editor-DX-JwgIC.js +136 -0
- package/dist/chunks/value-editor-DX-JwgIC.js.map +1 -0
- package/dist/components/ERPUIProvider/index.esm.js +1 -1
- package/dist/components/ERPUIProvider/index.js +1 -1
- package/dist/components/FORMS/index.esm.js +1 -1
- package/dist/components/FORMS/index.js +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/activity-tag/activity-tag/index.esm.js +1 -1
- package/dist/components/activity-tag/activity-tag/index.js +1 -1
- package/dist/components/activity-tag/index.esm.js +1 -1
- package/dist/components/activity-tag/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/index.esm.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/calculation-summary/calculation-summary/index.esm.js +1 -1
- package/dist/components/calculation-summary/calculation-summary/index.js +1 -1
- package/dist/components/calculation-summary/index.esm.js +1 -1
- package/dist/components/calculation-summary/index.js +1 -1
- package/dist/components/change-user-password-modal/change-user-password-modal/index.esm.js +1 -1
- package/dist/components/change-user-password-modal/change-user-password-modal/index.js +1 -1
- package/dist/components/change-user-password-modal/index.esm.js +1 -1
- package/dist/components/change-user-password-modal/index.js +1 -1
- package/dist/components/charts/donutChart/DonutChart/index.esm.js +1 -1
- package/dist/components/charts/donutChart/DonutChart/index.js +1 -1
- package/dist/components/charts/donutChart/index.esm.js +1 -1
- package/dist/components/charts/donutChart/index.js +1 -1
- package/dist/components/charts/groupBarChart/GroupBarChart/index.esm.js +1 -1
- package/dist/components/charts/groupBarChart/GroupBarChart/index.js +1 -1
- package/dist/components/charts/groupBarChart/index.esm.js +1 -1
- package/dist/components/charts/groupBarChart/index.js +1 -1
- package/dist/components/charts/index.esm.js +2 -2
- package/dist/components/charts/index.js +2 -2
- package/dist/components/chat-bot/index.esm.js +1 -1
- package/dist/components/chat-bot/index.js +1 -1
- package/dist/components/checkbox/index.esm.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/confirm-modal/confirm-modal/index.esm.js +1 -1
- package/dist/components/confirm-modal/confirm-modal/index.js +1 -1
- package/dist/components/confirm-modal/index.esm.js +1 -1
- package/dist/components/confirm-modal/index.js +1 -1
- package/dist/components/contact-modal/index.esm.js +1 -1
- package/dist/components/contact-modal/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/index.esm.js +1 -1
- package/dist/components/custom-forms/index.esm.js +2 -2
- package/dist/components/custom-forms/index.js +1 -1
- package/dist/components/date-range-picker/date-range-picker/index.esm.js +1 -1
- package/dist/components/date-range-picker/date-range-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.esm.js +2 -2
- package/dist/components/date-range-picker/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/donutChart/index.esm.js +1 -1
- package/dist/components/donutChart/index.js +1 -1
- package/dist/components/dropdown-button/dropdown-button/index.esm.js +1 -1
- package/dist/components/dropdown-button/dropdown-button/index.js +1 -1
- package/dist/components/dropdown-button/index.esm.js +1 -1
- package/dist/components/dropdown-button/index.js +1 -1
- package/dist/components/dynamic-layout-wrapper/dynamic-layout-wrapper/index.esm.js +1 -1
- package/dist/components/dynamic-layout-wrapper/dynamic-layout-wrapper/index.js +1 -1
- package/dist/components/dynamic-layout-wrapper/index.esm.js +1 -1
- package/dist/components/dynamic-layout-wrapper/index.js +1 -1
- package/dist/components/dynamic-select/index.esm.js +1 -1
- package/dist/components/dynamic-select/index.js +1 -1
- package/dist/components/editor/custom-editor/index.esm.js +1 -1
- package/dist/components/editor/index.esm.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/expandable-summary-wrapper/expandable-summary-wrapper/index.esm.js +1 -1
- package/dist/components/expandable-summary-wrapper/expandable-summary-wrapper/index.js +1 -1
- package/dist/components/expandable-summary-wrapper/index.esm.js +1 -1
- package/dist/components/expandable-summary-wrapper/index.js +1 -1
- package/dist/components/filter/components/index.esm.js +2 -2
- package/dist/components/filter/components/index.js +2 -2
- package/dist/components/filter/components/remove-action/index.esm.js +1 -1
- package/dist/components/filter/components/remove-action/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 +3 -3
- package/dist/components/filter/index.js +3 -3
- 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-builder-element/index.esm.js +9 -9
- package/dist/components/form-builder-element/index.js +7 -7
- package/dist/components/form-control/form-builder/form-builder-element/checkbox/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/checkbox/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/date-range-picker/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/date-range-picker/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/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 +9 -9
- package/dist/components/form-control/form-builder/form-builder-element/index.js +7 -7
- 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/phone/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/phone/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/form-builder-element/toggle-button/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/toggle-button/index.js +1 -1
- package/dist/components/form-control/form-builder/index.esm.js +9 -9
- package/dist/components/form-control/form-builder/index.js +7 -7
- 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 +11 -11
- package/dist/components/form-control/index.js +9 -9
- package/dist/components/form-parser/index.esm.js +1 -1
- package/dist/components/form-parser/index.js +1 -1
- package/dist/components/groupBarChart/index.esm.js +1 -1
- package/dist/components/groupBarChart/index.js +1 -1
- package/dist/components/header/components/global-search/index.esm.js +1 -1
- package/dist/components/header/components/index.esm.js +2 -2
- package/dist/components/header/components/index.js +1 -1
- package/dist/components/header/components/language-switch/index.esm.js +1 -1
- package/dist/components/header/components/language-switch/index.js +1 -1
- package/dist/components/header/components/notification-menu/index.esm.js +1 -1
- package/dist/components/header/components/notification-menu/notification-menu/index.esm.js +1 -1
- package/dist/components/header/components/user-menu/index.esm.js +1 -1
- package/dist/components/header/components/user-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 +6 -6
- package/dist/components/header/index.js +3 -3
- package/dist/components/header/redux/actionCreator/index.esm.js +1 -1
- package/dist/components/header/redux/index.esm.js +2 -2
- package/dist/components/header/redux/reducer/index.esm.js +1 -1
- package/dist/components/index.esm.js +60 -60
- package/dist/components/index.js +53 -53
- package/dist/components/inventory-reports-title-bar/component/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/component/index.js +1 -1
- package/dist/components/inventory-reports-title-bar/component/reportFilter/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/component/reportFilter/index.js +1 -1
- package/dist/components/inventory-reports-title-bar/index.esm.js +5 -5
- 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/index.esm.js +2 -2
- package/dist/components/inventory-reports-title-bar/redux/reducer/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/report-buttons/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/report-buttons/index.js +1 -1
- package/dist/components/inventory-reports-title-bar/report-buttons/report-buttons/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/report-buttons/report-buttons/index.js +1 -1
- package/dist/components/journal-type-add-modal/index.esm.js +1 -1
- package/dist/components/journal-type-add-modal/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/pagination/index.esm.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/pagination/index.esm.js +1 -1
- package/dist/components/pagination/pagination/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/phone-input/index.esm.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/phone-input/phone-input/index.esm.js +1 -1
- package/dist/components/phone-input/phone-input/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/quick-approval-modal/index.esm.js +1 -1
- package/dist/components/report-buttons/index.esm.js +1 -1
- package/dist/components/report-buttons/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 +4 -4
- package/dist/components/reports-title-bar/index.js +2 -2
- package/dist/components/reports-title-bar/redux/actionCreator/index.esm.js +1 -1
- package/dist/components/reports-title-bar/redux/index.esm.js +2 -2
- package/dist/components/reports-title-bar/redux/reducer/index.esm.js +1 -1
- package/dist/components/reports-title-bar/report-buttons/index.esm.js +1 -1
- package/dist/components/reports-title-bar/report-buttons/index.js +1 -1
- package/dist/components/reports-title-bar/report-buttons/report-buttons/index.esm.js +1 -1
- package/dist/components/reports-title-bar/report-buttons/report-buttons/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/reset-password-modal/index.esm.js +1 -1
- package/dist/components/reset-password-modal/index.js +1 -1
- package/dist/components/reset-password-modal/reset-password-modal/index.esm.js +1 -1
- package/dist/components/reset-password-modal/reset-password-modal/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/schedule-report/utils/common/index.esm.js +1 -1
- package/dist/components/schedule-report-modal/index.esm.js +1 -1
- package/dist/components/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 +2 -2
- package/dist/components/share-modal/redux/actionCreator/index.esm.js +1 -1
- package/dist/components/share-modal/redux/index.esm.js +2 -2
- package/dist/components/share-modal/redux/reducer/index.esm.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/sidebar/index.esm.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sidebar/sidebar/index.esm.js +1 -1
- package/dist/components/sidebar/sidebar/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/toggle-switch/index.esm.js +1 -1
- package/dist/components/toggle-switch/index.js +1 -1
- package/dist/components/toggle-switch/toggle-switch/index.esm.js +1 -1
- package/dist/components/toggle-switch/toggle-switch/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/upload-excel/index.esm.js +1 -1
- package/dist/contexts/AuthContext/index.esm.js +1 -1
- package/dist/contexts/AuthContext/index.js +1 -1
- package/dist/contexts/index.esm.js +3 -3
- package/dist/contexts/index.js +3 -3
- package/dist/contexts/languageContext/index.esm.js +2 -2
- package/dist/contexts/languageContext/index.js +1 -1
- package/dist/contexts/page-context/index.esm.js +1 -1
- package/dist/contexts/page-context/index.js +1 -1
- package/dist/hooks/common/index.esm.js +1 -1
- package/dist/hooks/common/index.js +1 -1
- package/dist/hooks/index.esm.js +10 -10
- package/dist/hooks/index.js +7 -7
- package/dist/hooks/use-pages/index.esm.js +1 -1
- package/dist/hooks/use-pages/index.js +1 -1
- 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/useAuth/index.esm.js +1 -1
- package/dist/hooks/useAuth/index.js +1 -1
- package/dist/hooks/useAuth.d.ts +2 -3
- package/dist/hooks/useCheckSkuAndName/index.esm.js +1 -1
- package/dist/hooks/useCompanyCountryCode/index.esm.js +1 -1
- package/dist/hooks/useCompanyCountryCode/index.js +1 -1
- package/dist/hooks/useDataFetcher/index.esm.js +1 -1
- package/dist/hooks/useDataFetcher/index.js +1 -1
- package/dist/hooks/useLangauge/index.esm.js +1 -1
- package/dist/hooks/useLangauge/index.js +1 -1
- package/dist/hooks/useReduxIntegration/index.esm.js +1 -1
- package/dist/hooks/useReduxIntegration/index.js +1 -1
- package/dist/hooks/useSetDefaultConfig/index.esm.js +1 -1
- package/dist/hooks/useSetDefaultConfig/index.js +1 -1
- package/dist/hooks/useUniquenessCheck/index.esm.js +1 -1
- package/dist/icons/index.esm.js +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/icons/three-dot-icon/index.esm.js +1 -1
- package/dist/icons/three-dot-icon/index.js +1 -1
- package/dist/index.esm.js +100 -100
- package/dist/index.js +79 -79
- package/dist/layout/fullScreen/fullScreen/index.esm.js +1 -1
- package/dist/layout/fullScreen/fullScreen/index.js +1 -1
- 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/layout/sidebarScreen/sidebarScreen/index.esm.js +1 -1
- package/dist/layout/sidebarScreen/sidebarScreen/index.js +1 -1
- package/dist/redux/actionCreator/index.esm.js +1 -1
- package/dist/redux/index.esm.js +3 -3
- package/dist/redux/module-reducer/index.esm.js +1 -1
- package/dist/redux/store/index.esm.js +1 -1
- package/dist/runtime/index.esm.js +5 -5
- package/dist/runtime/index.js +5 -5
- package/dist/utils/api/index.esm.js +1 -1
- package/dist/utils/api-config/index.esm.js +6 -0
- package/dist/utils/api-config/index.esm.js.map +1 -1
- package/dist/utils/api-config/index.js +6 -0
- package/dist/utils/api-config/index.js.map +1 -1
- package/dist/utils/api-config.d.ts +3 -3
- package/dist/utils/common/index.esm.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/i18n/index.esm.js +1 -1
- package/dist/utils/i18n/index.js +1 -1
- package/dist/utils/index.esm.js +9 -9
- package/dist/utils/index.js +3 -3
- package/dist/utils/server/index.esm.js +2 -2
- package/dist/utils/text-measurement/index.esm.js +1 -1
- package/dist/utils/translations/index.esm.js +1 -1
- package/dist/utils/translations/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/beforeAuth/change-password/index.esm.js +1 -1
- package/dist/views/beforeAuth/change-password/index.js +1 -1
- package/dist/views/beforeAuth/forgot-password/index.esm.js +1 -1
- package/dist/views/beforeAuth/forgot-password/index.js +1 -1
- package/dist/views/beforeAuth/index.esm.js +3 -3
- package/dist/views/beforeAuth/index.js +3 -3
- package/dist/views/beforeAuth/login/index.esm.js +2 -2
- package/dist/views/beforeAuth/login/index.js +2 -2
- package/dist/views/beforeAuth/reset-password/index.esm.js +1 -1
- package/dist/views/beforeAuth/reset-password/index.js +1 -1
- package/dist/views/custom-form/index.esm.js +1 -1
- package/dist/views/custom-form/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/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 +2 -2
- package/dist/views/form-builder/redux/index.esm.js +1 -1
- package/dist/views/index.esm.js +18 -18
- package/dist/views/index.js +14 -14
- package/dist/views/privateRoute/index.esm.js +1 -1
- package/dist/views/privateRoute/index.js +1 -1
- package/dist/views/routes/index.esm.js +1 -1
- package/dist/views/routes/index.js +1 -1
- 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/index.esm.js +8 -8
- package/dist/views/template-editor/index.js +6 -6
- 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-editor-router/index.esm.js +1 -1
- package/dist/views/template-editor/template-editor-router/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/template-name-modal/index.esm.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 +2 -2
- package/dist/chunks/AuthContext-Bqy3zlq_.js +0 -305
- package/dist/chunks/AuthContext-Bqy3zlq_.js.map +0 -1
- package/dist/chunks/AuthContext-eGXp567d.esm.js +0 -306
- package/dist/chunks/AuthContext-eGXp567d.esm.js.map +0 -1
- package/dist/chunks/DonutChart-9GlP0tGi.esm.js +0 -95
- package/dist/chunks/DonutChart-9GlP0tGi.esm.js.map +0 -1
- package/dist/chunks/DonutChart-BamIDLHj.js +0 -111
- package/dist/chunks/DonutChart-BamIDLHj.js.map +0 -1
- package/dist/chunks/DynamicDependentField-DM-pXiRb.esm.js +0 -128
- package/dist/chunks/DynamicDependentField-DM-pXiRb.esm.js.map +0 -1
- package/dist/chunks/DynamicDependentField-RWjHJa1S.js +0 -127
- package/dist/chunks/DynamicDependentField-RWjHJa1S.js.map +0 -1
- package/dist/chunks/DynamicSearchInput-xvamctT5.esm.js +0 -195
- package/dist/chunks/DynamicSearchInput-xvamctT5.esm.js.map +0 -1
- package/dist/chunks/ERPUIProvider-CcbU8Jhs.esm.js +0 -133
- package/dist/chunks/ERPUIProvider-CcbU8Jhs.esm.js.map +0 -1
- package/dist/chunks/ERPUIProvider-CkA346Bx.js +0 -132
- package/dist/chunks/ERPUIProvider-CkA346Bx.js.map +0 -1
- package/dist/chunks/FORMS-6k86P7kx.esm.js +0 -296
- package/dist/chunks/FORMS-6k86P7kx.esm.js.map +0 -1
- package/dist/chunks/FORMS-BOxezXrE.js +0 -295
- package/dist/chunks/FORMS-BOxezXrE.js.map +0 -1
- package/dist/chunks/FlexibleReduxExample-BU7eNVSq.js +0 -148
- package/dist/chunks/FlexibleReduxExample-BU7eNVSq.js.map +0 -1
- package/dist/chunks/FlexibleReduxExample-BV7TsUhl.esm.js +0 -149
- package/dist/chunks/FlexibleReduxExample-BV7TsUhl.esm.js.map +0 -1
- package/dist/chunks/GroupBarChart-dsNa125r.js +0 -103
- package/dist/chunks/GroupBarChart-dsNa125r.js.map +0 -1
- package/dist/chunks/GroupBarChart-jsNqFjC-.esm.js +0 -87
- package/dist/chunks/GroupBarChart-jsNqFjC-.esm.js.map +0 -1
- package/dist/chunks/SectionFlowEditor-DvnZFi2e.js +0 -5460
- package/dist/chunks/SectionFlowEditor-DvnZFi2e.js.map +0 -1
- package/dist/chunks/SectionFlowEditor-Ehnll99q.esm.js +0 -5461
- package/dist/chunks/SectionFlowEditor-Ehnll99q.esm.js.map +0 -1
- package/dist/chunks/action-bar-BE-TNuCe.esm.js +0 -637
- package/dist/chunks/action-bar-BE-TNuCe.esm.js.map +0 -1
- package/dist/chunks/action-bar-CP01wien.js +0 -636
- package/dist/chunks/action-bar-CP01wien.js.map +0 -1
- package/dist/chunks/actionCreator-BlBxlh2l.esm.js +0 -28
- package/dist/chunks/actionCreator-BlBxlh2l.esm.js.map +0 -1
- package/dist/chunks/actionCreator-CHUmAB4_.esm.js +0 -14
- package/dist/chunks/actionCreator-CHUmAB4_.esm.js.map +0 -1
- package/dist/chunks/actionCreator-DCgwFst3.esm.js +0 -80
- package/dist/chunks/actionCreator-DCgwFst3.esm.js.map +0 -1
- package/dist/chunks/actionCreator-DzPzUn_7.esm.js +0 -94
- package/dist/chunks/actionCreator-DzPzUn_7.esm.js.map +0 -1
- package/dist/chunks/actionCreator-RfaAAG4X.esm.js +0 -22
- package/dist/chunks/actionCreator-RfaAAG4X.esm.js.map +0 -1
- package/dist/chunks/activity-tag-B_HyUR6v.js +0 -151
- package/dist/chunks/activity-tag-B_HyUR6v.js.map +0 -1
- package/dist/chunks/activity-tag-Bl99UBhT.esm.js +0 -152
- package/dist/chunks/activity-tag-Bl99UBhT.esm.js.map +0 -1
- package/dist/chunks/add-template-BMXnJyg4.esm.js +0 -11
- package/dist/chunks/add-template-BMXnJyg4.esm.js.map +0 -1
- package/dist/chunks/add-template-Cuwv_toK.js +0 -10
- package/dist/chunks/add-template-Cuwv_toK.js.map +0 -1
- package/dist/chunks/address-modal-CHBvA7Wz.js +0 -687
- package/dist/chunks/address-modal-CHBvA7Wz.js.map +0 -1
- package/dist/chunks/address-modal-DTm-EnU1.esm.js +0 -671
- package/dist/chunks/address-modal-DTm-EnU1.esm.js.map +0 -1
- package/dist/chunks/ai-summary-CxtEHJw9.esm.js +0 -351
- package/dist/chunks/ai-summary-CxtEHJw9.esm.js.map +0 -1
- package/dist/chunks/api-C4WZctJf.esm.js +0 -4682
- package/dist/chunks/api-C4WZctJf.esm.js.map +0 -1
- package/dist/chunks/api-Csn_qx_a.esm.js +0 -2219
- package/dist/chunks/api-Csn_qx_a.esm.js.map +0 -1
- package/dist/chunks/appbar-BSjQ7IAj.js +0 -56
- package/dist/chunks/appbar-BSjQ7IAj.js.map +0 -1
- package/dist/chunks/appbar-CIbFF779.esm.js +0 -57
- package/dist/chunks/appbar-CIbFF779.esm.js.map +0 -1
- package/dist/chunks/approval-wrapper-CAjch4Mf.js +0 -139
- package/dist/chunks/approval-wrapper-CAjch4Mf.js.map +0 -1
- package/dist/chunks/approval-wrapper-DmB_NzBg.esm.js +0 -140
- package/dist/chunks/approval-wrapper-DmB_NzBg.esm.js.map +0 -1
- package/dist/chunks/calculation-summary-DmM2nsnY.esm.js +0 -174
- package/dist/chunks/calculation-summary-DmM2nsnY.esm.js.map +0 -1
- package/dist/chunks/calculation-summary-K2rC_toI.js +0 -173
- package/dist/chunks/calculation-summary-K2rC_toI.js.map +0 -1
- package/dist/chunks/change-password-ABSrNtI8.esm.js +0 -183
- package/dist/chunks/change-password-ABSrNtI8.esm.js.map +0 -1
- package/dist/chunks/change-password-DkeDrR5Y.js +0 -199
- package/dist/chunks/change-password-DkeDrR5Y.js.map +0 -1
- package/dist/chunks/change-user-password-modal-BytpWtdj.esm.js +0 -119
- package/dist/chunks/change-user-password-modal-BytpWtdj.esm.js.map +0 -1
- package/dist/chunks/change-user-password-modal-IAsUvfpF.js +0 -135
- package/dist/chunks/change-user-password-modal-IAsUvfpF.js.map +0 -1
- package/dist/chunks/chat-bot-B9wlHU4B.js +0 -1830
- package/dist/chunks/chat-bot-B9wlHU4B.js.map +0 -1
- package/dist/chunks/chat-bot-DBwAlw7T.esm.js +0 -1831
- package/dist/chunks/chat-bot-DBwAlw7T.esm.js.map +0 -1
- package/dist/chunks/checkbox-BVkAOFmt.js +0 -82
- package/dist/chunks/checkbox-BVkAOFmt.js.map +0 -1
- package/dist/chunks/checkbox-CKDbaXzi.esm.js +0 -83
- package/dist/chunks/checkbox-CKDbaXzi.esm.js.map +0 -1
- package/dist/chunks/common-CmnUWtgz.esm.js +0 -183
- package/dist/chunks/common-CmnUWtgz.esm.js.map +0 -1
- package/dist/chunks/common-DoIQU98P.js +0 -182
- package/dist/chunks/common-DoIQU98P.js.map +0 -1
- package/dist/chunks/common-utility-DVezzQMe.js +0 -305
- package/dist/chunks/common-utility-DVezzQMe.js.map +0 -1
- package/dist/chunks/common-utility-ppCGJWGv.esm.js +0 -305
- package/dist/chunks/common-utility-ppCGJWGv.esm.js.map +0 -1
- package/dist/chunks/confirm-modal-BHn6ByuG.js +0 -97
- package/dist/chunks/confirm-modal-BHn6ByuG.js.map +0 -1
- package/dist/chunks/confirm-modal-CQFU3pec.esm.js +0 -98
- package/dist/chunks/confirm-modal-CQFU3pec.esm.js.map +0 -1
- package/dist/chunks/contact-modal-BVzokAWh.js +0 -185
- package/dist/chunks/contact-modal-BVzokAWh.js.map +0 -1
- package/dist/chunks/contact-modal-Bh1hsSUl.esm.js +0 -169
- package/dist/chunks/contact-modal-Bh1hsSUl.esm.js.map +0 -1
- package/dist/chunks/custom-editor-CAcqS40E.esm.js +0 -1257
- package/dist/chunks/custom-editor-CAcqS40E.esm.js.map +0 -1
- package/dist/chunks/custom-form-BKan6xKs.js +0 -1145
- package/dist/chunks/custom-form-BKan6xKs.js.map +0 -1
- package/dist/chunks/custom-form-M2yaxAU-.esm.js +0 -1146
- package/dist/chunks/custom-form-M2yaxAU-.esm.js.map +0 -1
- package/dist/chunks/dashboard-BLIoRhZz.js +0 -74
- package/dist/chunks/dashboard-BLIoRhZz.js.map +0 -1
- package/dist/chunks/dashboard-DaAOQfw-.esm.js +0 -75
- package/dist/chunks/dashboard-DaAOQfw-.esm.js.map +0 -1
- package/dist/chunks/date-range-picker-BrBrrpNr.esm.js +0 -160
- package/dist/chunks/date-range-picker-BrBrrpNr.esm.js.map +0 -1
- package/dist/chunks/date-range-picker-C_1ZpdRG.js +0 -61
- package/dist/chunks/date-range-picker-C_1ZpdRG.js.map +0 -1
- package/dist/chunks/date-range-picker-CvtalCUN.js +0 -159
- package/dist/chunks/date-range-picker-CvtalCUN.js.map +0 -1
- package/dist/chunks/date-range-picker-DKQsu_dk.esm.js +0 -62
- package/dist/chunks/date-range-picker-DKQsu_dk.esm.js.map +0 -1
- package/dist/chunks/dropdown-button-5Yq1wX-f.esm.js +0 -146
- package/dist/chunks/dropdown-button-5Yq1wX-f.esm.js.map +0 -1
- package/dist/chunks/dropdown-button-CGrcSsw4.js +0 -162
- package/dist/chunks/dropdown-button-CGrcSsw4.js.map +0 -1
- package/dist/chunks/dynamic-layout-wrapper-D0MlkFpa.js +0 -228
- package/dist/chunks/dynamic-layout-wrapper-D0MlkFpa.js.map +0 -1
- package/dist/chunks/dynamic-layout-wrapper-DvYlPKbc.esm.js +0 -229
- package/dist/chunks/dynamic-layout-wrapper-DvYlPKbc.esm.js.map +0 -1
- package/dist/chunks/dynamic-report-BfUbkDtu.esm.js +0 -589
- package/dist/chunks/dynamic-report-BfUbkDtu.esm.js.map +0 -1
- package/dist/chunks/dynamic-report-DBxqcE2b.js +0 -588
- package/dist/chunks/dynamic-report-DBxqcE2b.js.map +0 -1
- package/dist/chunks/dynamic-rows-B_dhcWuK.js +0 -249
- package/dist/chunks/dynamic-rows-B_dhcWuK.js.map +0 -1
- package/dist/chunks/dynamic-rows-Ey-yitNr.esm.js +0 -250
- package/dist/chunks/dynamic-rows-Ey-yitNr.esm.js.map +0 -1
- package/dist/chunks/dynamic-text-editor-GWbqgyUt.esm.js +0 -45
- package/dist/chunks/dynamic-text-editor-GWbqgyUt.esm.js.map +0 -1
- package/dist/chunks/edit-section-modal-CeBTvtMV.esm.js +0 -80
- package/dist/chunks/edit-section-modal-CeBTvtMV.esm.js.map +0 -1
- package/dist/chunks/expandable-summary-wrapper-CT8lYwm1.js +0 -241
- package/dist/chunks/expandable-summary-wrapper-CT8lYwm1.js.map +0 -1
- package/dist/chunks/expandable-summary-wrapper-z6v-k0wd.esm.js +0 -242
- package/dist/chunks/expandable-summary-wrapper-z6v-k0wd.esm.js.map +0 -1
- package/dist/chunks/filter-CvPa_POj.esm.js +0 -410
- package/dist/chunks/filter-CvPa_POj.esm.js.map +0 -1
- package/dist/chunks/filter-ZNZbXdD7.js +0 -409
- package/dist/chunks/filter-ZNZbXdD7.js.map +0 -1
- package/dist/chunks/footer-BZJkANB2.esm.js +0 -64
- package/dist/chunks/footer-BZJkANB2.esm.js.map +0 -1
- package/dist/chunks/footer-DO0bhJxT.js +0 -63
- package/dist/chunks/footer-DO0bhJxT.js.map +0 -1
- package/dist/chunks/forgot-password-DR1x4IbJ.esm.js +0 -178
- package/dist/chunks/forgot-password-DR1x4IbJ.esm.js.map +0 -1
- package/dist/chunks/forgot-password-su6siPVc.js +0 -194
- package/dist/chunks/forgot-password-su6siPVc.js.map +0 -1
- package/dist/chunks/form-fields-BC-5qhhm.esm.js +0 -355
- package/dist/chunks/form-fields-BC-5qhhm.esm.js.map +0 -1
- package/dist/chunks/form-fields-czqYUNw3.js +0 -354
- package/dist/chunks/form-fields-czqYUNw3.js.map +0 -1
- package/dist/chunks/form-parser-DvI-a1ha.esm.js +0 -597
- package/dist/chunks/form-parser-DvI-a1ha.esm.js.map +0 -1
- package/dist/chunks/form-parser-DxuycTXi.js +0 -613
- package/dist/chunks/form-parser-DxuycTXi.js.map +0 -1
- package/dist/chunks/form-section-D8zpeEi0.esm.js +0 -576
- package/dist/chunks/form-section-D8zpeEi0.esm.js.map +0 -1
- package/dist/chunks/form-section-W3f6MVU5.js +0 -575
- package/dist/chunks/form-section-W3f6MVU5.js.map +0 -1
- package/dist/chunks/fullScreen-B-rNqQXY.esm.js +0 -19
- package/dist/chunks/fullScreen-B-rNqQXY.esm.js.map +0 -1
- package/dist/chunks/fullScreen-DOtkOiq5.js +0 -18
- package/dist/chunks/fullScreen-DOtkOiq5.js.map +0 -1
- package/dist/chunks/global-search-DJrjNJ7H.esm.js +0 -150
- package/dist/chunks/global-search-DJrjNJ7H.esm.js.map +0 -1
- package/dist/chunks/grid-view-DmRlpcuu.esm.js +0 -52
- package/dist/chunks/grid-view-DmRlpcuu.esm.js.map +0 -1
- package/dist/chunks/header-Be9klul2.js +0 -92
- package/dist/chunks/header-Be9klul2.js.map +0 -1
- package/dist/chunks/header-BgcU15Q9.esm.js +0 -93
- package/dist/chunks/header-BgcU15Q9.esm.js.map +0 -1
- package/dist/chunks/header-enhanced-BIYQ3ToY.esm.js +0 -403
- package/dist/chunks/header-enhanced-BIYQ3ToY.esm.js.map +0 -1
- package/dist/chunks/header-enhanced-_RVJbWQd.js +0 -402
- package/dist/chunks/header-enhanced-_RVJbWQd.js.map +0 -1
- package/dist/chunks/i18n-C_6nRHMf.esm.js +0 -46
- package/dist/chunks/i18n-C_6nRHMf.esm.js.map +0 -1
- package/dist/chunks/i18n-GoZr_KAX.js +0 -47
- package/dist/chunks/i18n-GoZr_KAX.js.map +0 -1
- package/dist/chunks/index-BmU7fNjb.esm.js +0 -2024
- package/dist/chunks/index-BmU7fNjb.esm.js.map +0 -1
- package/dist/chunks/inline-edit-fields-BeSPpSZT.js +0 -341
- package/dist/chunks/inline-edit-fields-BeSPpSZT.js.map +0 -1
- package/dist/chunks/inline-edit-fields-CfqP1mWE.esm.js +0 -325
- package/dist/chunks/inline-edit-fields-CfqP1mWE.esm.js.map +0 -1
- package/dist/chunks/inventory-reports-title-bar-CXYcllW7.esm.js +0 -733
- package/dist/chunks/inventory-reports-title-bar-CXYcllW7.esm.js.map +0 -1
- package/dist/chunks/inventory-reports-title-bar-D9Zv4QWt.js +0 -732
- package/dist/chunks/inventory-reports-title-bar-D9Zv4QWt.js.map +0 -1
- package/dist/chunks/item-response-details-B9amHUMJ.esm.js +0 -79
- package/dist/chunks/item-response-details-B9amHUMJ.esm.js.map +0 -1
- package/dist/chunks/item-response-details-Dw7UyWq9.js +0 -78
- package/dist/chunks/item-response-details-Dw7UyWq9.js.map +0 -1
- package/dist/chunks/journal-type-add-modal-CHBKAU5b.esm.js +0 -112
- package/dist/chunks/journal-type-add-modal-CHBKAU5b.esm.js.map +0 -1
- package/dist/chunks/journal-type-add-modal-q-GwGzzf.js +0 -128
- package/dist/chunks/journal-type-add-modal-q-GwGzzf.js.map +0 -1
- package/dist/chunks/language-switch-C4G0r5eu.esm.js +0 -111
- package/dist/chunks/language-switch-C4G0r5eu.esm.js.map +0 -1
- package/dist/chunks/language-switch-Cp1Nrrs4.js +0 -110
- package/dist/chunks/language-switch-Cp1Nrrs4.js.map +0 -1
- package/dist/chunks/languageContext-CwkQHvuG.esm.js +0 -224
- package/dist/chunks/languageContext-CwkQHvuG.esm.js.map +0 -1
- package/dist/chunks/languageContext-o3WqMVq_.js +0 -223
- package/dist/chunks/languageContext-o3WqMVq_.js.map +0 -1
- package/dist/chunks/listing-C9yO9SAd.js +0 -276
- package/dist/chunks/listing-C9yO9SAd.js.map +0 -1
- package/dist/chunks/listing-DIK1VmjA.esm.js +0 -277
- package/dist/chunks/listing-DIK1VmjA.esm.js.map +0 -1
- package/dist/chunks/location-select-BgtvHBw3.esm.js +0 -86
- package/dist/chunks/location-select-BgtvHBw3.esm.js.map +0 -1
- package/dist/chunks/location-select-CEBaNXeK.js +0 -85
- package/dist/chunks/location-select-CEBaNXeK.js.map +0 -1
- package/dist/chunks/material-editable-table-B13Kh-dv.esm.js +0 -1448
- package/dist/chunks/material-editable-table-B13Kh-dv.esm.js.map +0 -1
- package/dist/chunks/material-editable-table-CFYlu4SQ.js +0 -1464
- package/dist/chunks/material-editable-table-CFYlu4SQ.js.map +0 -1
- package/dist/chunks/module-reducer-BF5bPega.esm.js +0 -79
- package/dist/chunks/module-reducer-BF5bPega.esm.js.map +0 -1
- package/dist/chunks/notification-menu-exP13DDH.esm.js +0 -606
- package/dist/chunks/notification-menu-exP13DDH.esm.js.map +0 -1
- package/dist/chunks/page-action-BwYdhajb.esm.js +0 -325
- package/dist/chunks/page-action-BwYdhajb.esm.js.map +0 -1
- package/dist/chunks/page-action-D0cYsBbl.js +0 -324
- package/dist/chunks/page-action-D0cYsBbl.js.map +0 -1
- package/dist/chunks/page-context-Bq41DQcz.js +0 -388
- package/dist/chunks/page-context-Bq41DQcz.js.map +0 -1
- package/dist/chunks/page-context-DRRyOB69.esm.js +0 -389
- package/dist/chunks/page-context-DRRyOB69.esm.js.map +0 -1
- package/dist/chunks/page-navigator-D9xKfQ1_.js +0 -243
- package/dist/chunks/page-navigator-D9xKfQ1_.js.map +0 -1
- package/dist/chunks/page-navigator-i8qQR766.esm.js +0 -244
- package/dist/chunks/page-navigator-i8qQR766.esm.js.map +0 -1
- package/dist/chunks/page-view-D8VGZbHd.js +0 -323
- package/dist/chunks/page-view-D8VGZbHd.js.map +0 -1
- package/dist/chunks/page-view-DghcAtNn.esm.js +0 -324
- package/dist/chunks/page-view-DghcAtNn.esm.js.map +0 -1
- package/dist/chunks/pagination-BnH9day1.js +0 -135
- package/dist/chunks/pagination-BnH9day1.js.map +0 -1
- package/dist/chunks/pagination-DTtXsesx.esm.js +0 -136
- package/dist/chunks/pagination-DTtXsesx.esm.js.map +0 -1
- package/dist/chunks/phone-Dy--Zv0Z.esm.js +0 -59
- package/dist/chunks/phone-Dy--Zv0Z.esm.js.map +0 -1
- package/dist/chunks/phone-gdY6annL.js +0 -58
- package/dist/chunks/phone-gdY6annL.js.map +0 -1
- package/dist/chunks/phone-input-CeSnil37.js +0 -254
- package/dist/chunks/phone-input-CeSnil37.js.map +0 -1
- package/dist/chunks/phone-input-XRLBCFtF.esm.js +0 -255
- package/dist/chunks/phone-input-XRLBCFtF.esm.js.map +0 -1
- package/dist/chunks/privateRoute-B5FS0k3Y.js +0 -12
- package/dist/chunks/privateRoute-B5FS0k3Y.js.map +0 -1
- package/dist/chunks/privateRoute-Bu4cOvLU.esm.js +0 -13
- package/dist/chunks/privateRoute-Bu4cOvLU.esm.js.map +0 -1
- package/dist/chunks/quick-approval-modal-g87dyO8k.esm.js +0 -256
- package/dist/chunks/quick-approval-modal-g87dyO8k.esm.js.map +0 -1
- package/dist/chunks/reducer-BEB6cGK7.esm.js +0 -33
- package/dist/chunks/reducer-BEB6cGK7.esm.js.map +0 -1
- package/dist/chunks/reducer-BjtGMJms.esm.js +0 -43
- package/dist/chunks/reducer-BjtGMJms.esm.js.map +0 -1
- package/dist/chunks/reducer-Bz_r_05x.esm.js +0 -56
- package/dist/chunks/reducer-Bz_r_05x.esm.js.map +0 -1
- package/dist/chunks/reducer-DkhymUSb.esm.js +0 -50
- package/dist/chunks/reducer-DkhymUSb.esm.js.map +0 -1
- package/dist/chunks/reducer-cUAFzhbU.esm.js +0 -149
- package/dist/chunks/reducer-cUAFzhbU.esm.js.map +0 -1
- package/dist/chunks/remove-action-B4vV6QLb.esm.js +0 -21
- package/dist/chunks/remove-action-B4vV6QLb.esm.js.map +0 -1
- package/dist/chunks/remove-action-BcjT4Ovp.js +0 -20
- package/dist/chunks/remove-action-BcjT4Ovp.js.map +0 -1
- package/dist/chunks/report-buttons-Bgo3X6NV.js +0 -59
- package/dist/chunks/report-buttons-Bgo3X6NV.js.map +0 -1
- package/dist/chunks/report-buttons-BwiGvh_a.esm.js +0 -60
- package/dist/chunks/report-buttons-BwiGvh_a.esm.js.map +0 -1
- package/dist/chunks/report-buttons-CROwSFWV.js +0 -45
- package/dist/chunks/report-buttons-CROwSFWV.js.map +0 -1
- package/dist/chunks/report-buttons-DZmTnUaC.esm.js +0 -46
- package/dist/chunks/report-buttons-DZmTnUaC.esm.js.map +0 -1
- package/dist/chunks/reportFilter-CsFmE0Vh.esm.js +0 -395
- package/dist/chunks/reportFilter-CsFmE0Vh.esm.js.map +0 -1
- package/dist/chunks/reportFilter-DHTGX5Di.js +0 -394
- package/dist/chunks/reportFilter-DHTGX5Di.js.map +0 -1
- package/dist/chunks/reports-title-bar-DCrnhE1i.js +0 -946
- package/dist/chunks/reports-title-bar-DCrnhE1i.js.map +0 -1
- package/dist/chunks/reports-title-bar-_177KGhZ.esm.js +0 -947
- package/dist/chunks/reports-title-bar-_177KGhZ.esm.js.map +0 -1
- package/dist/chunks/reset-password-B3RgeMda.esm.js +0 -33
- package/dist/chunks/reset-password-B3RgeMda.esm.js.map +0 -1
- package/dist/chunks/reset-password-BF38k5jv.js +0 -32
- package/dist/chunks/reset-password-BF38k5jv.js.map +0 -1
- package/dist/chunks/reset-password-modal-BTbJT7Eu.js +0 -160
- package/dist/chunks/reset-password-modal-BTbJT7Eu.js.map +0 -1
- package/dist/chunks/reset-password-modal-C7x7cxqZ.esm.js +0 -144
- package/dist/chunks/reset-password-modal-C7x7cxqZ.esm.js.map +0 -1
- package/dist/chunks/routes-BkIdmebk.esm.js +0 -36
- package/dist/chunks/routes-BkIdmebk.esm.js.map +0 -1
- package/dist/chunks/routes-DZwVNuAM.js +0 -35
- package/dist/chunks/routes-DZwVNuAM.js.map +0 -1
- package/dist/chunks/schedule-report-QmPH1Wjc.esm.js +0 -236
- package/dist/chunks/schedule-report-QmPH1Wjc.esm.js.map +0 -1
- package/dist/chunks/schedule-report-modal-2548Cnw1.esm.js +0 -288
- package/dist/chunks/schedule-report-modal-2548Cnw1.esm.js.map +0 -1
- package/dist/chunks/schedule-report-modal-x928D6nA.js +0 -287
- package/dist/chunks/schedule-report-modal-x928D6nA.js.map +0 -1
- package/dist/chunks/schedule-report-rQYnxps-.js +0 -235
- package/dist/chunks/schedule-report-rQYnxps-.js.map +0 -1
- package/dist/chunks/searchable-select-C4NlAvAY.js +0 -5412
- package/dist/chunks/searchable-select-C4NlAvAY.js.map +0 -1
- package/dist/chunks/searchable-select-CndbCRaF.esm.js +0 -5396
- package/dist/chunks/searchable-select-CndbCRaF.esm.js.map +0 -1
- package/dist/chunks/share-modal-CSpRfSmH.js +0 -217
- package/dist/chunks/share-modal-CSpRfSmH.js.map +0 -1
- package/dist/chunks/share-modal-D9Oowg3p.esm.js +0 -218
- package/dist/chunks/share-modal-D9Oowg3p.esm.js.map +0 -1
- package/dist/chunks/share-modal-enhanced-BeQwZmEu.js +0 -269
- package/dist/chunks/share-modal-enhanced-BeQwZmEu.js.map +0 -1
- package/dist/chunks/share-modal-enhanced-jVP0v7It.esm.js +0 -270
- package/dist/chunks/share-modal-enhanced-jVP0v7It.esm.js.map +0 -1
- package/dist/chunks/sidebar-D0hF4H3m.js +0 -878
- package/dist/chunks/sidebar-D0hF4H3m.js.map +0 -1
- package/dist/chunks/sidebar-DvML8Jbp.esm.js +0 -879
- package/dist/chunks/sidebar-DvML8Jbp.esm.js.map +0 -1
- package/dist/chunks/sidebarScreen-C0G0gM42.esm.js +0 -202
- package/dist/chunks/sidebarScreen-C0G0gM42.esm.js.map +0 -1
- package/dist/chunks/sidebarScreen-CkwJ1ue3.js +0 -201
- package/dist/chunks/sidebarScreen-CkwJ1ue3.js.map +0 -1
- package/dist/chunks/store-Dmz-DgYy.esm.js +0 -100
- package/dist/chunks/store-Dmz-DgYy.esm.js.map +0 -1
- package/dist/chunks/table-B_s-mIXn.esm.js +0 -185
- package/dist/chunks/table-B_s-mIXn.esm.js.map +0 -1
- package/dist/chunks/table-C5u4p3T_.js +0 -184
- package/dist/chunks/table-C5u4p3T_.js.map +0 -1
- package/dist/chunks/table-form-CufpQulG.esm.js +0 -1537
- package/dist/chunks/table-form-CufpQulG.esm.js.map +0 -1
- package/dist/chunks/template-editor-router-D7bqb67d.esm.js +0 -9
- package/dist/chunks/template-editor-router-D7bqb67d.esm.js.map +0 -1
- package/dist/chunks/template-editor-router-DRN5gx5w.js +0 -8
- package/dist/chunks/template-editor-router-DRN5gx5w.js.map +0 -1
- package/dist/chunks/template-modal-Ca8NM9xP.esm.js +0 -769
- package/dist/chunks/template-modal-Ca8NM9xP.esm.js.map +0 -1
- package/dist/chunks/template-modal-ScshCqGl.js +0 -768
- package/dist/chunks/template-modal-ScshCqGl.js.map +0 -1
- package/dist/chunks/template-name-modal-BbeUUs8-.esm.js +0 -101
- package/dist/chunks/template-name-modal-BbeUUs8-.esm.js.map +0 -1
- package/dist/chunks/templates-CPW4Brw5.js +0 -272
- package/dist/chunks/templates-CPW4Brw5.js.map +0 -1
- package/dist/chunks/templates-CZA7B97W.esm.js +0 -273
- package/dist/chunks/templates-CZA7B97W.esm.js.map +0 -1
- package/dist/chunks/text-measurement-B1c79w3_.esm.js +0 -252
- package/dist/chunks/text-measurement-B1c79w3_.esm.js.map +0 -1
- package/dist/chunks/three-dot-icon-BFKqMnLf.js +0 -40
- package/dist/chunks/three-dot-icon-BFKqMnLf.js.map +0 -1
- package/dist/chunks/three-dot-icon-Dq1ptGgl.esm.js +0 -41
- package/dist/chunks/three-dot-icon-Dq1ptGgl.esm.js.map +0 -1
- package/dist/chunks/toggle-button-CVeo1waU.js +0 -54
- package/dist/chunks/toggle-button-CVeo1waU.js.map +0 -1
- package/dist/chunks/toggle-button-itOKhrc0.esm.js +0 -55
- package/dist/chunks/toggle-button-itOKhrc0.esm.js.map +0 -1
- package/dist/chunks/toggle-switch-BM70h5jL.js +0 -80
- package/dist/chunks/toggle-switch-BM70h5jL.js.map +0 -1
- package/dist/chunks/toggle-switch-Be_pTc_l.esm.js +0 -81
- package/dist/chunks/toggle-switch-Be_pTc_l.esm.js.map +0 -1
- package/dist/chunks/translations-BBP_sDHA.esm.js +0 -128
- package/dist/chunks/translations-BBP_sDHA.esm.js.map +0 -1
- package/dist/chunks/translations-DJj06YLO.js +0 -127
- package/dist/chunks/translations-DJj06YLO.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-DmFBym9X.js +0 -79
- package/dist/chunks/uom-field-wrapper-DmFBym9X.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-QeMbOh1z.esm.js +0 -80
- package/dist/chunks/uom-field-wrapper-QeMbOh1z.esm.js.map +0 -1
- package/dist/chunks/upload-excel-FvuJguoD.esm.js +0 -361
- package/dist/chunks/upload-excel-FvuJguoD.esm.js.map +0 -1
- package/dist/chunks/use-pages-BjXaTIsn.esm.js +0 -30
- package/dist/chunks/use-pages-BjXaTIsn.esm.js.map +0 -1
- package/dist/chunks/use-pages-CfOuWUhZ.js +0 -29
- package/dist/chunks/use-pages-CfOuWUhZ.js.map +0 -1
- package/dist/chunks/use-translations-C6akE0rW.js +0 -68
- package/dist/chunks/use-translations-C6akE0rW.js.map +0 -1
- package/dist/chunks/use-translations-PaBQxwx7.esm.js +0 -69
- package/dist/chunks/use-translations-PaBQxwx7.esm.js.map +0 -1
- package/dist/chunks/useAccountSetting-D58MKAOM.esm.js +0 -174
- package/dist/chunks/useAccountSetting-D58MKAOM.esm.js.map +0 -1
- package/dist/chunks/useCheckSkuAndName-D5VNk0T7.esm.js +0 -50
- package/dist/chunks/useCheckSkuAndName-D5VNk0T7.esm.js.map +0 -1
- package/dist/chunks/useCompanyCountryCode-BFOhrIEg.esm.js +0 -36
- package/dist/chunks/useCompanyCountryCode-BFOhrIEg.esm.js.map +0 -1
- package/dist/chunks/useCompanyCountryCode-NA-dpRoG.js +0 -35
- package/dist/chunks/useCompanyCountryCode-NA-dpRoG.js.map +0 -1
- package/dist/chunks/useDataFetcher-CwfzNyTb.js +0 -79
- package/dist/chunks/useDataFetcher-CwfzNyTb.js.map +0 -1
- package/dist/chunks/useDataFetcher-DrtqG3CG.esm.js +0 -80
- package/dist/chunks/useDataFetcher-DrtqG3CG.esm.js.map +0 -1
- package/dist/chunks/useLangauge-3NKJDL3U.esm.js +0 -49
- package/dist/chunks/useLangauge-3NKJDL3U.esm.js.map +0 -1
- package/dist/chunks/useLangauge-B7MUoWt1.js +0 -48
- package/dist/chunks/useLangauge-B7MUoWt1.js.map +0 -1
- package/dist/chunks/useReduxIntegration-BlZTSHKV.esm.js +0 -39
- package/dist/chunks/useReduxIntegration-BlZTSHKV.esm.js.map +0 -1
- package/dist/chunks/useReduxIntegration-Dv1kXNL3.js +0 -38
- package/dist/chunks/useReduxIntegration-Dv1kXNL3.js.map +0 -1
- package/dist/chunks/useSetDefaultConfig-DXu44f_j.js +0 -100
- package/dist/chunks/useSetDefaultConfig-DXu44f_j.js.map +0 -1
- package/dist/chunks/useSetDefaultConfig-DhCePm1v.esm.js +0 -101
- package/dist/chunks/useSetDefaultConfig-DhCePm1v.esm.js.map +0 -1
- package/dist/chunks/useUniquenessCheck-CEITes-f.esm.js +0 -39
- package/dist/chunks/useUniquenessCheck-CEITes-f.esm.js.map +0 -1
- package/dist/chunks/user-menu-CFjgWPOM.js +0 -104
- package/dist/chunks/user-menu-CFjgWPOM.js.map +0 -1
- package/dist/chunks/user-menu-DwQk2A7L.esm.js +0 -105
- package/dist/chunks/user-menu-DwQk2A7L.esm.js.map +0 -1
- package/dist/chunks/value-editor-C-5t5OUu.js +0 -136
- package/dist/chunks/value-editor-C-5t5OUu.js.map +0 -1
- package/dist/chunks/value-editor-CTm7pEMf.esm.js +0 -137
- package/dist/chunks/value-editor-CTm7pEMf.esm.js.map +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const routes = require("../../chunks/routes-
|
|
4
|
-
const templateEditorRouter = require("../../chunks/template-editor-router-
|
|
5
|
-
const templates = require("../../chunks/templates-
|
|
6
|
-
const addTemplate = require("../../chunks/add-template-
|
|
3
|
+
const routes = require("../../chunks/routes-DCfUJ0-V.js");
|
|
4
|
+
const templateEditorRouter = require("../../chunks/template-editor-router-B5oqycyc.js");
|
|
5
|
+
const templates = require("../../chunks/templates-DSlPpza9.js");
|
|
6
|
+
const addTemplate = require("../../chunks/add-template-s1Vr9sdq.js");
|
|
7
7
|
const companySelectionModal = require("../../chunks/company-selection-modal-B7jFVWWs.js");
|
|
8
|
-
const SectionFlowEditor = require("../../chunks/SectionFlowEditor-
|
|
8
|
+
const SectionFlowEditor = require("../../chunks/SectionFlowEditor-CJVzv4-f.js");
|
|
9
9
|
const editSectionModal = require("../../chunks/edit-section-modal-kxCcGh7Q.js");
|
|
10
|
-
const templateModal = require("../../chunks/template-modal-
|
|
10
|
+
const templateModal = require("../../chunks/template-modal-CpfMuiYf.js");
|
|
11
11
|
const templateNameModal = require("../../chunks/template-name-modal-BrmYoizG.js");
|
|
12
12
|
const common = require("../../chunks/common-D9Igwbm1.js");
|
|
13
13
|
const views_constant = require("../constant/index.js");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const routes = require("../../../chunks/routes-
|
|
3
|
+
const routes = require("../../../chunks/routes-DCfUJ0-V.js");
|
|
4
4
|
exports.templateEditorRoutes = routes.templateEditorRoutes;
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const templateEditorRouter = require("../../../chunks/template-editor-router-
|
|
3
|
+
const templateEditorRouter = require("../../../chunks/template-editor-router-B5oqycyc.js");
|
|
4
4
|
exports.default = templateEditorRouter.TemplateEditorRouter;
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const templateModal = require("../../../chunks/template-modal-
|
|
3
|
+
const templateModal = require("../../../chunks/template-modal-CpfMuiYf.js");
|
|
4
4
|
exports.HtmlThumbnailPreview = templateModal.HtmlThumbnailPreview;
|
|
5
5
|
exports.TemplateModal = templateModal.TemplateModal;
|
|
6
6
|
exports.default = templateModal.HtmlThumbnailPreview;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const templates = require("../../../chunks/templates-
|
|
3
|
+
const templates = require("../../../chunks/templates-DSlPpza9.js");
|
|
4
4
|
exports.Templates = templates.Templates;
|
|
5
5
|
exports.default = templates.Templates;
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@erpsquad/common",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
4
4
|
"description": "Shared UI component library for ERP modules",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -692,4 +692,4 @@
|
|
|
692
692
|
"url": "https://github.com/erpforce/common/issues"
|
|
693
693
|
},
|
|
694
694
|
"homepage": "https://github.com/erpforce/common#readme"
|
|
695
|
-
}
|
|
695
|
+
}
|
|
@@ -1,305 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const React = require("react");
|
|
4
|
-
const utils_server = require("./index-BqDyLZVl.js");
|
|
5
|
-
const constants_auth = require("../constants/auth/index.js");
|
|
6
|
-
const reactRouterDom = require("react-router-dom");
|
|
7
|
-
const constants_pathname = require("../constants/pathname/index.js");
|
|
8
|
-
const api = require("./api-CiQPN57O.js");
|
|
9
|
-
const notistack = require("notistack");
|
|
10
|
-
const socket_ioClient = require("socket.io-client");
|
|
11
|
-
const utils_routeUtils = require("../utils/route-utils/index.js");
|
|
12
|
-
const utils_apiConfig = require("../utils/api-config/index.js");
|
|
13
|
-
const constants_pathnames_pathname_accounting = require("../constants/pathnames/pathname.accounting/index.js");
|
|
14
|
-
const constants_pathnames_pathname_inventory = require("../constants/pathnames/pathname.inventory/index.js");
|
|
15
|
-
const constants_pathnames_pathname_manufacturing = require("../constants/pathnames/pathname.manufacturing/index.js");
|
|
16
|
-
const constants_pathnames_pathname_procurement = require("../constants/pathnames/pathname.procurement/index.js");
|
|
17
|
-
const constants_pathnames_pathname_crm = require("../constants/pathnames/pathname.crm/index.js");
|
|
18
|
-
const constants_pathnames_pathname_rental = require("../constants/pathnames/pathname.rental/index.js");
|
|
19
|
-
const customSnackbar = require("./custom-snackbar-FP4S6EC4.js");
|
|
20
|
-
const defaultProvider = {
|
|
21
|
-
user: null,
|
|
22
|
-
loading: true,
|
|
23
|
-
authToken: "",
|
|
24
|
-
setUser: () => null,
|
|
25
|
-
setLoading: () => Boolean,
|
|
26
|
-
login: () => Promise.resolve(),
|
|
27
|
-
logout: () => Promise.resolve(),
|
|
28
|
-
forgotPassword: () => Promise.resolve(),
|
|
29
|
-
resetPassword: () => Promise.resolve(),
|
|
30
|
-
changePassword: () => Promise.resolve(),
|
|
31
|
-
changeUserPassword: () => Promise.resolve()
|
|
32
|
-
};
|
|
33
|
-
const AuthContext = React.createContext(defaultProvider);
|
|
34
|
-
const AuthProvider = ({ children, publicRoutes = [] }) => {
|
|
35
|
-
const [user, setUser] = React.useState(defaultProvider.user);
|
|
36
|
-
const [authToken, setAuthToken] = React.useState("");
|
|
37
|
-
const [loading, setLoading] = React.useState(defaultProvider.loading);
|
|
38
|
-
const socketRef = React.useRef(null);
|
|
39
|
-
const navigate = reactRouterDom.useNavigate();
|
|
40
|
-
const location = reactRouterDom.useLocation();
|
|
41
|
-
const isJsonParse = (string) => {
|
|
42
|
-
if (!string) return false;
|
|
43
|
-
try {
|
|
44
|
-
return JSON.parse(string);
|
|
45
|
-
} catch (error) {
|
|
46
|
-
return false;
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
const getNotificationUrl = (data) => {
|
|
50
|
-
var _a;
|
|
51
|
-
const { moduleName = "", moduleId = "", notificationData = {} } = data;
|
|
52
|
-
const key = moduleName.toLowerCase();
|
|
53
|
-
const routeMap = {
|
|
54
|
-
"sales invoice": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_accounting.PathnameGenerator(constants_pathnames_pathname_accounting.PathnameAccounting.VIEW_SALES_INVOICES), moduleId.toString()),
|
|
55
|
-
"asset transfers": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_accounting.PathnameGenerator(constants_pathnames_pathname_accounting.PathnameAccounting.VIEW_ASSET_TRANSFER), moduleId.toString()),
|
|
56
|
-
"budgets": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_accounting.PathnameGenerator(constants_pathnames_pathname_accounting.PathnameAccounting.VIEW_BUDGET), moduleId.toString()),
|
|
57
|
-
"cash expense": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_accounting.PathnameGenerator(constants_pathnames_pathname_accounting.PathnameAccounting.VIEW_CASH_EXPENSE), moduleId.toString()),
|
|
58
|
-
"credit notes": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_accounting.PathnameGenerator(constants_pathnames_pathname_accounting.PathnameAccounting.VIEW_CREDIT_NOTE), moduleId.toString()),
|
|
59
|
-
"debit notes": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_accounting.PathnameGenerator(constants_pathnames_pathname_accounting.PathnameAccounting.VIEW_DEBIT_NOTE), moduleId.toString()),
|
|
60
|
-
"expense reimbursement": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_accounting.PathnameGenerator(constants_pathnames_pathname_accounting.PathnameAccounting.VIEW_EXPENSE_REIMBURSEMENT), moduleId.toString()),
|
|
61
|
-
"journal entries": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_accounting.PathnameGenerator(constants_pathnames_pathname_accounting.PathnameAccounting.VIEW_JOURNAL_ENTRY), moduleId.toString()),
|
|
62
|
-
"payment entries": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_accounting.PathnameGenerator(constants_pathnames_pathname_accounting.PathnameAccounting.VIEW_PAYMENT_ENTRY), moduleId.toString()),
|
|
63
|
-
"purchase invoice": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_accounting.PathnameGenerator(constants_pathnames_pathname_accounting.PathnameAccounting.VIEW_PURCHASE_INVOICE), moduleId.toString()),
|
|
64
|
-
"stock transfer": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_inventory.PathnameGenerator(constants_pathnames_pathname_inventory.PathnameInventory.VIEW_STOCK_TRANSFER), moduleId.toString()),
|
|
65
|
-
"bills of materials": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_manufacturing.PathnameGenerator(constants_pathnames_pathname_manufacturing.PathnameManufacturing.VIEW_BILL_OF_MATERIAL), moduleId.toString()),
|
|
66
|
-
"purchase agreement": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_procurement.PathnameGenerator(constants_pathnames_pathname_procurement.PathnamePurchase.VIEW_PURCHASE_AGREEMENT), moduleId.toString()),
|
|
67
|
-
"purchase orders": () => {
|
|
68
|
-
var _a2;
|
|
69
|
-
return utils_routeUtils.generateRouteWithId(((_a2 = notificationData == null ? void 0 : notificationData.data) == null ? void 0 : _a2.is_rental) == 1 ? constants_pathnames_pathname_rental.ROUTES.VIEW : constants_pathnames_pathname_procurement.PathnameGenerator(constants_pathnames_pathname_procurement.PathnamePurchase.VIEW_PURCHASE_ORDER), moduleId.toString());
|
|
70
|
-
},
|
|
71
|
-
"purchase request": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_procurement.PathnameGenerator(constants_pathnames_pathname_procurement.PathnamePurchase.VIEW_PURCHASE_ORDER), moduleId.toString()),
|
|
72
|
-
"vra": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_procurement.PathnameGenerator(constants_pathnames_pathname_procurement.PathnamePurchase.VIEW_VENDOR_RETURNS), moduleId.toString()),
|
|
73
|
-
"sl customer returns": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_crm.PathnameGenerator(constants_pathnames_pathname_crm.PathnameCrm.VIEW_CUSTOMER_RETURNS), moduleId.toString()),
|
|
74
|
-
"sales order": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_crm.PathnameGenerator(constants_pathnames_pathname_crm.PathnameCrm.VIEW_SALES_ORDER), moduleId.toString()),
|
|
75
|
-
"rental order": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_rental.PathnameGenerator(constants_pathnames_pathname_rental.PathnameRental.VIEW_RENTAL_ORDER), moduleId.toString()),
|
|
76
|
-
"replacement order": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_rental.PathnameGenerator(constants_pathnames_pathname_rental.PathnameRental.VIEW_RENTAL_ORDER), moduleId.toString()),
|
|
77
|
-
"rental agreement": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_rental.PathnameGenerator(constants_pathnames_pathname_rental.PathnameRental.VIEW_AGREEMENT), moduleId.toString()),
|
|
78
|
-
"cross hire order": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_rental.PathnameGenerator(constants_pathnames_pathname_rental.PathnameRental.VIEW_CROSS_HIRE_ORDER), moduleId.toString()),
|
|
79
|
-
"cross hire request": () => utils_routeUtils.generateRouteWithId(constants_pathnames_pathname_rental.PathnameGenerator(constants_pathnames_pathname_rental.PathnameRental.VIEW_CROSS_HIRE_REQUEST), moduleId.toString())
|
|
80
|
-
};
|
|
81
|
-
return ((_a = routeMap[key]) == null ? void 0 : _a.call(routeMap)) || "/dashboard";
|
|
82
|
-
};
|
|
83
|
-
React.useEffect(() => {
|
|
84
|
-
setLoading(true);
|
|
85
|
-
const storedToken = globalThis.localStorage.getItem(constants_auth.auth.storageTokenKeyName);
|
|
86
|
-
const storedUser = isJsonParse(globalThis.localStorage.getItem(constants_auth.auth.storageUserKeyName)) ?? null;
|
|
87
|
-
const allPublicRoutes = [constants_pathname.Pathname.LOGIN, constants_pathname.Pathname.FORGOT_PASSWORD, constants_pathname.Pathname.RESET_PASSWORD, constants_pathname.Pathname.CHANGE_PASSWORD, ...publicRoutes];
|
|
88
|
-
if (!storedToken && !storedUser) {
|
|
89
|
-
if (Boolean(!reactRouterDom.matchRoutes(allPublicRoutes.map((route) => ({ path: route })), location))) {
|
|
90
|
-
navigate(constants_pathname.Pathname.LOGIN);
|
|
91
|
-
}
|
|
92
|
-
setLoading(false);
|
|
93
|
-
} else {
|
|
94
|
-
setUser(storedUser);
|
|
95
|
-
setAuthToken(storedToken || "");
|
|
96
|
-
setLoading(false);
|
|
97
|
-
}
|
|
98
|
-
}, []);
|
|
99
|
-
React.useEffect(() => {
|
|
100
|
-
var _a;
|
|
101
|
-
if (!authToken) {
|
|
102
|
-
if (socketRef.current) {
|
|
103
|
-
(_a = socketRef.current) == null ? void 0 : _a.disconnect();
|
|
104
|
-
socketRef.current = null;
|
|
105
|
-
}
|
|
106
|
-
console.warn("No auth token found, not connecting to socket.");
|
|
107
|
-
return;
|
|
108
|
-
}
|
|
109
|
-
const config = utils_apiConfig.getApiConfig();
|
|
110
|
-
const socket = socket_ioClient.io(config.socketBaseUrl, {
|
|
111
|
-
transports: ["websocket"],
|
|
112
|
-
auth: { token: authToken },
|
|
113
|
-
path: "/socket.io/"
|
|
114
|
-
});
|
|
115
|
-
socketRef.current = socket;
|
|
116
|
-
socket.on("connect", () => {
|
|
117
|
-
console.log("Socket connected:", socket.id);
|
|
118
|
-
socket.onAny((event, ...args) => {
|
|
119
|
-
console.log(`Received event: ${event}`, args);
|
|
120
|
-
});
|
|
121
|
-
});
|
|
122
|
-
socket.on("notification", (data) => {
|
|
123
|
-
const { message, notificationData } = data || {};
|
|
124
|
-
let notificationContent = message;
|
|
125
|
-
const url = getNotificationUrl(data);
|
|
126
|
-
if (notificationData) {
|
|
127
|
-
const { notification_type } = notificationData;
|
|
128
|
-
switch (notification_type) {
|
|
129
|
-
case "addApprovers": {
|
|
130
|
-
notificationContent = message;
|
|
131
|
-
break;
|
|
132
|
-
}
|
|
133
|
-
case "change_approval_status": {
|
|
134
|
-
notificationContent = message;
|
|
135
|
-
break;
|
|
136
|
-
}
|
|
137
|
-
default: {
|
|
138
|
-
notificationContent = message;
|
|
139
|
-
break;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
notistack.enqueueSnackbar(String(message), {
|
|
144
|
-
variant: "default",
|
|
145
|
-
anchorOrigin: { vertical: "top", horizontal: "center" },
|
|
146
|
-
autoHideDuration: 5e3,
|
|
147
|
-
content: (key) => /* @__PURE__ */ jsxRuntime.jsx(customSnackbar.CustomSnackbar, { snackbarKey: key, message: notificationContent, data: notificationData, variant: "default", linkUrl: url })
|
|
148
|
-
});
|
|
149
|
-
});
|
|
150
|
-
socket.on("sales_invoice_viewed", (data) => {
|
|
151
|
-
console.log("Invoice viewed:", data.invoiceId, "by user:", data.userId);
|
|
152
|
-
});
|
|
153
|
-
socket.on("error", (errMsg) => {
|
|
154
|
-
notistack.enqueueSnackbar(`Socket error: ${errMsg}`, { variant: "error" });
|
|
155
|
-
console.error("Socket error:", errMsg);
|
|
156
|
-
});
|
|
157
|
-
return () => {
|
|
158
|
-
if (socketRef.current) {
|
|
159
|
-
socketRef.current.disconnect();
|
|
160
|
-
socketRef.current = null;
|
|
161
|
-
}
|
|
162
|
-
};
|
|
163
|
-
}, [authToken]);
|
|
164
|
-
const fetchRolesByUserId = async (userId, token) => {
|
|
165
|
-
var _a;
|
|
166
|
-
const response = await utils_server.getV1RoleUserId({ id: userId, ...api.getToken(token) });
|
|
167
|
-
const perm = ((_a = response == null ? void 0 : response.data) == null ? void 0 : _a.role) || [];
|
|
168
|
-
return JSON.stringify(perm);
|
|
169
|
-
};
|
|
170
|
-
const handleLogin = async (params, callback, shoudRedirect = true, redirectPath = constants_pathname.Pathname.DASHBOARD) => {
|
|
171
|
-
var _a;
|
|
172
|
-
setLoading(true);
|
|
173
|
-
const storedToken = globalThis.localStorage.getItem(constants_auth.auth.storageTokenKeyName);
|
|
174
|
-
if (storedToken && user) {
|
|
175
|
-
return navigate(constants_pathname.Pathname.DASHBOARD);
|
|
176
|
-
}
|
|
177
|
-
try {
|
|
178
|
-
const loginUser = await utils_server.postV1AuthLogin({ ...params, ...api.getToken() });
|
|
179
|
-
if (loginUser.success) {
|
|
180
|
-
const data = ((_a = loginUser == null ? void 0 : loginUser.data) == null ? void 0 : _a.login) || null;
|
|
181
|
-
if (data) {
|
|
182
|
-
const userData = {
|
|
183
|
-
...data,
|
|
184
|
-
full_name: `${data.first_name} ${data.last_name}`
|
|
185
|
-
};
|
|
186
|
-
const rolePermission = await fetchRolesByUserId(userData.id, data.token);
|
|
187
|
-
globalThis.localStorage.setItem(constants_auth.auth.storageTokenKeyName, data.token);
|
|
188
|
-
globalThis.localStorage.setItem(constants_auth.auth.storageUserKeyName, JSON.stringify(userData));
|
|
189
|
-
globalThis.localStorage.setItem(constants_auth.auth.storageRolePermissionKeyName, rolePermission);
|
|
190
|
-
globalThis.dispatchEvent(new Event("role-permission-changed"));
|
|
191
|
-
setUser(userData);
|
|
192
|
-
setAuthToken(data.token);
|
|
193
|
-
setTimeout(() => {
|
|
194
|
-
shoudRedirect && navigate(redirectPath);
|
|
195
|
-
setLoading(false);
|
|
196
|
-
delete data.token;
|
|
197
|
-
}, 1e3);
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
} catch (error) {
|
|
201
|
-
let message = "Something went wrong";
|
|
202
|
-
if (error instanceof Error) {
|
|
203
|
-
message = isJsonParse(error.message).message || error.message;
|
|
204
|
-
}
|
|
205
|
-
setLoading(false);
|
|
206
|
-
callback(message);
|
|
207
|
-
}
|
|
208
|
-
};
|
|
209
|
-
const handleLogout = async () => {
|
|
210
|
-
globalThis.localStorage.removeItem(constants_auth.auth.storageTokenKeyName);
|
|
211
|
-
globalThis.localStorage.removeItem(constants_auth.auth.storageUserKeyName);
|
|
212
|
-
globalThis.localStorage.removeItem(constants_auth.auth.storageRolePermissionKeyName);
|
|
213
|
-
globalThis.dispatchEvent(new Event("role-permission-changed"));
|
|
214
|
-
setUser(null);
|
|
215
|
-
setAuthToken("");
|
|
216
|
-
navigate(constants_pathname.Pathname.LOGIN);
|
|
217
|
-
};
|
|
218
|
-
const handleForgotPassword = async (params, callback) => {
|
|
219
|
-
try {
|
|
220
|
-
await utils_server.postV1AuthForgotPassword({ ...params, ...api.getToken() });
|
|
221
|
-
callback(true, "Reset Link sent to your email");
|
|
222
|
-
} catch (error) {
|
|
223
|
-
let message = "Something went wrong";
|
|
224
|
-
if (error instanceof Error) {
|
|
225
|
-
message = isJsonParse(error.message).message || error.message;
|
|
226
|
-
}
|
|
227
|
-
callback(false, message);
|
|
228
|
-
}
|
|
229
|
-
};
|
|
230
|
-
const handleResetPassword = async (params, callback) => {
|
|
231
|
-
try {
|
|
232
|
-
const response = await utils_server.postV1AuthResetPassword({ ...params, ...api.getToken() });
|
|
233
|
-
callback(response);
|
|
234
|
-
} catch (error) {
|
|
235
|
-
let message = "Something went wrong";
|
|
236
|
-
if (error instanceof Error) {
|
|
237
|
-
message = isJsonParse(error.message).message || error.message;
|
|
238
|
-
callback(message);
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
};
|
|
242
|
-
const handleChangePassword = async (params, callback) => {
|
|
243
|
-
try {
|
|
244
|
-
await utils_server.postV1AuthChangePassword({ ...params, ...api.getToken() });
|
|
245
|
-
callback(null);
|
|
246
|
-
} catch (error) {
|
|
247
|
-
let message = "Something went wrong";
|
|
248
|
-
if (error instanceof Error) {
|
|
249
|
-
message = isJsonParse(error.message).message || error.message;
|
|
250
|
-
callback(message);
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
callback("reset");
|
|
254
|
-
};
|
|
255
|
-
const handleChangeUserPassword = async (params, callback) => {
|
|
256
|
-
try {
|
|
257
|
-
await utils_server.postV1AuthChangeUserPassword({ ...params, ...api.getToken() });
|
|
258
|
-
callback("Password Changed Successfully", true);
|
|
259
|
-
} catch (error) {
|
|
260
|
-
let message = "Something went wrong";
|
|
261
|
-
if (error instanceof Error) {
|
|
262
|
-
message = isJsonParse(error.message).message || error.message;
|
|
263
|
-
callback(message, false);
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
};
|
|
267
|
-
const handleChangeUserPasswordByAdmin = async (params, callback) => {
|
|
268
|
-
try {
|
|
269
|
-
await utils_server.postV1AuthChangeUserPasswordByAdmin({ ...params, ...api.getToken() });
|
|
270
|
-
callback("Password Changed Successfully", true);
|
|
271
|
-
} catch (error) {
|
|
272
|
-
let message = "Something went wrong";
|
|
273
|
-
if (error instanceof Error) {
|
|
274
|
-
message = isJsonParse(error.message).message || error.message;
|
|
275
|
-
callback(message, false);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
};
|
|
279
|
-
const values = {
|
|
280
|
-
user,
|
|
281
|
-
authToken,
|
|
282
|
-
loading,
|
|
283
|
-
setUser,
|
|
284
|
-
setLoading,
|
|
285
|
-
login: handleLogin,
|
|
286
|
-
logout: handleLogout,
|
|
287
|
-
forgotPassword: handleForgotPassword,
|
|
288
|
-
resetPassword: handleResetPassword,
|
|
289
|
-
changePassword: handleChangePassword,
|
|
290
|
-
changeUserPassword: handleChangeUserPassword,
|
|
291
|
-
changeUserPasswordByAdmin: handleChangeUserPasswordByAdmin
|
|
292
|
-
};
|
|
293
|
-
return /* @__PURE__ */ jsxRuntime.jsx(AuthContext.Provider, { value: values, children });
|
|
294
|
-
};
|
|
295
|
-
const useAuth = () => {
|
|
296
|
-
const context = React.useContext(AuthContext);
|
|
297
|
-
if (!context) {
|
|
298
|
-
throw new Error("useAuth must be used within an AuthProvider");
|
|
299
|
-
}
|
|
300
|
-
return context;
|
|
301
|
-
};
|
|
302
|
-
exports.AuthContext = AuthContext;
|
|
303
|
-
exports.AuthProvider = AuthProvider;
|
|
304
|
-
exports.useAuth = useAuth;
|
|
305
|
-
//# sourceMappingURL=AuthContext-Bqy3zlq_.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AuthContext-Bqy3zlq_.js","sources":["../../src/contexts/AuthContext.tsx"],"sourcesContent":["import React, { createContext, useEffect, useRef, useState } from 'react';\nimport {\n\tpostV1AuthChangePassword,\n\tpostV1AuthForgotPassword,\n\tpostV1AuthChangeUserPassword,\n\t// getV1UserId,\n\tpostV1AuthLogin,\n\tpostV1AuthResetPassword,\n\tsetBaseUrl,\n\tpostV1AuthChangeUserPasswordByAdmin\n} from '../api-client/api.rbac/api';\nimport { auth } from '../constants/auth';\nimport { useLocation, matchRoutes, useNavigate } from 'react-router-dom';\nimport { Pathname } from '../constants/pathnames/pathname'; // Removed - should be passed as props or configured by consuming app\nimport { getToken } from '../utils/common';\nimport { enqueueSnackbar } from 'notistack';\nimport { Socket, io } from 'socket.io-client';\nimport { generateRouteWithId } from '../utils/route-utils';\nimport { getApiConfig } from '../utils/api-config';\nimport {\n\tPathnameAccounting,\n\tPathnameGenerator\n} from '../constants/pathnames/pathname.accounting';\n\nimport {\n\tPathnameInventory,\n\tPathnameGenerator as PathnameGeneratorInventory\n} from '../constants/pathnames/pathname.inventory';\n\nimport {\n\tPathnameManufacturing,\n\tPathnameGenerator as PathnameGeneratorManufacuring\n} from '../constants/pathnames/pathname.manufacturing';\n\nimport {\n\tPathnamePurchase,\n\tPathnameGenerator as PathnameGeneratorPurchase\n} from '../constants/pathnames/pathname.procurement';\n\nimport {\n\tPathnameCrm,\n\tPathnameGenerator as PathnameGeneratorCrm\n} from '../constants/pathnames/pathname.crm';\n\nimport {\n\tPathnameRental,\n\tPathnameGenerator as PathnameGeneratorRental\n} from '../constants/pathnames/pathname.rental';\n\nimport { ROUTES as RENTALROUTES } from '../constants/pathnames/pathname.rental';\n\nimport CustomSnackbar from '../components/custom-snackbar/custom-snackbar.tsx';\nimport { RbacApi } from '@/api-client/index.ts';\nimport { useContext } from 'react';\n\nexport interface LoginFormValues {\n\temail: string;\n\tpassword: string;\n}\n\nexport interface resetFormValues {\n\temail: string;\n}\n\nexport interface resetPasswordValues {\n\ttoken: string;\n}\n\nexport interface changePasswordValues {\n\tpassword: string;\n}\n\nexport interface changeUserPasswordValues {\n\tpassword: string;\n}\n\ninterface ERPApiUser {\n\tid: string | number;\n\tfirst_name: string;\n\tlast_name: string;\n\tmiddle_name: string;\n\tcountry_code: string;\n\temail: string;\n\tcreated_by: any;\n\tupdated_by: any;\n\tcreated_at: string;\n\tupdated_at: string;\n\trole_id: string;\n\tdepartment_id: number;\n\tis_deleted: number;\n\tdeleted_at: string | null;\n\tdeleted_by: any;\n\ttoken: string;\n\tprofile_image: string;\n\tcompany_id: number | string;\n\tcurrency_data?: {\n\t\tid: number;\n\t\tsymbol: string;\n\t\tcurrency_name: string;\n\t\tnumber_format: string;\n\t\tposition: string | null;\n\t\tfraction_unit: string | null;\n\t\taccounting_fraction_unit?: string | null;\n\t};\n\taccessCompanies?: any[]\n}\ninterface ERPUser extends Omit<ERPApiUser, 'token'> {\n\tfull_name: string;\n}\n\n// Export types for external use\nexport type User = ERPUser;\nexport type AuthContextType = DefaultProviderProps;\n\nexport interface DefaultProviderProps {\n\tuser: ERPUser | null;\n\tloading: boolean;\n\tauthToken: string;\n\tsetUser: React.Dispatch<React.SetStateAction<ERPUser | null>>;\n\tsetLoading: React.Dispatch<React.SetStateAction<boolean>>;\n\tlogin: (\n\t\tparams: LoginFormValues,\n\t\tcallback: (err: string) => void\n\t) => Promise<void>;\n\tlogout: () => Promise<void>;\n\tforgotPassword: (\n\t\tparams: resetFormValues,\n\t\tcallback: (err: string) => void\n\t) => Promise<void>;\n\tresetPassword: (\n\t\tparams: resetPasswordValues,\n\t\tcallback: (err: string) => void\n\t) => Promise<void>;\n\tchangePassword: (\n\t\tparams: changePasswordValues,\n\t\tcallback: (err: string) => void\n\t) => Promise<void>;\n\tchangeUserPassword: (\n\t\tparams: changeUserPasswordValues,\n\t\tcallback: (err: string) => void\n\t) => Promise<void>;\n}\n\nconst defaultProvider: DefaultProviderProps = {\n\tuser: null,\n\tloading: true,\n\tauthToken: '',\n\tsetUser: () => null,\n\tsetLoading: () => Boolean,\n\tlogin: () => Promise.resolve(),\n\tlogout: () => Promise.resolve(),\n\tforgotPassword: () => Promise.resolve(),\n\tresetPassword: () => Promise.resolve(),\n\tchangePassword: () => Promise.resolve(),\n\tchangeUserPassword: () => Promise.resolve()\n};\n\nconst AuthContext = createContext<DefaultProviderProps>(defaultProvider);\n\ninterface AuthProviderProps {\n\tchildren: React.ReactNode;\n\tpublicRoutes?: string[]; // Optional prop to allow customization of public routes\n}\n\n// Base URL will be set at runtime via ERPUIProvider\n\nconst AuthProvider: React.FC<AuthProviderProps> = ({ children, publicRoutes = [] }) => {\n\t// ** States\n\tconst [user, setUser] = useState(defaultProvider.user);\n\tconst [authToken, setAuthToken] = useState<string>('');\n\tconst [loading, setLoading] = useState(defaultProvider.loading);\n\tconst socketRef = useRef<Socket | null>(null);\n\n\t// ** Hooks\n\tconst navigate = useNavigate();\n\tconst location = useLocation();\n\tconst isJsonParse = (string?: string | null) => {\n\t\tif (!string) return false;\n\n\t\ttry {\n\t\t\treturn JSON.parse(string);\n\t\t} catch (error) {\n\t\t\treturn false;\n\t\t}\n\t};\n\n\tconst getNotificationUrl = (data: any) => {\n\t\tconst { moduleName = '', moduleId = '', notificationData = {} } = data;\n\t\tconst key = moduleName.toLowerCase();\n\n\t\tconst routeMap: Record<string, () => string> = {\n\t\t\t'sales invoice': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGenerator(PathnameAccounting.VIEW_SALES_INVOICES), moduleId.toString()),\n\n\t\t\t'asset transfers': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGenerator(PathnameAccounting.VIEW_ASSET_TRANSFER), moduleId.toString()),\n\n\t\t\t'budgets': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGenerator(PathnameAccounting.VIEW_BUDGET), moduleId.toString()),\n\n\t\t\t'cash expense': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGenerator(PathnameAccounting.VIEW_CASH_EXPENSE), moduleId.toString()),\n\n\t\t\t'credit notes': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGenerator(PathnameAccounting.VIEW_CREDIT_NOTE), moduleId.toString()),\n\n\t\t\t'debit notes': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGenerator(PathnameAccounting.VIEW_DEBIT_NOTE), moduleId.toString()),\n\n\t\t\t'expense reimbursement': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGenerator(PathnameAccounting.VIEW_EXPENSE_REIMBURSEMENT), moduleId.toString()),\n\n\t\t\t'journal entries': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGenerator(PathnameAccounting.VIEW_JOURNAL_ENTRY), moduleId.toString()),\n\n\t\t\t'payment entries': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGenerator(PathnameAccounting.VIEW_PAYMENT_ENTRY), moduleId.toString()),\n\n\t\t\t'purchase invoice': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGenerator(PathnameAccounting.VIEW_PURCHASE_INVOICE), moduleId.toString()),\n\n\t\t\t'stock transfer': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGeneratorInventory(PathnameInventory.VIEW_STOCK_TRANSFER), moduleId.toString()),\n\n\t\t\t'bills of materials': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGeneratorManufacuring(PathnameManufacturing.VIEW_BILL_OF_MATERIAL), moduleId.toString()),\n\n\t\t\t'purchase agreement': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGeneratorPurchase(PathnamePurchase.VIEW_PURCHASE_AGREEMENT), moduleId.toString()),\n\n\t\t\t'purchase orders': () =>\n\t\t\t\tgenerateRouteWithId(notificationData?.data?.is_rental == 1 ? RENTALROUTES.VIEW : PathnameGeneratorPurchase(PathnamePurchase.VIEW_PURCHASE_ORDER), moduleId.toString()),\n\n\t\t\t'purchase request': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGeneratorPurchase(PathnamePurchase.VIEW_PURCHASE_ORDER), moduleId.toString()),\n\n\t\t\t'vra': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGeneratorPurchase(PathnamePurchase.VIEW_VENDOR_RETURNS), moduleId.toString()),\n\n\t\t\t'sl customer returns': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGeneratorCrm(PathnameCrm.VIEW_CUSTOMER_RETURNS), moduleId.toString()),\n\n\t\t\t'sales order': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGeneratorCrm(PathnameCrm.VIEW_SALES_ORDER), moduleId.toString()),\n\n\t\t\t'rental order': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGeneratorRental(PathnameRental.VIEW_RENTAL_ORDER), moduleId.toString()),\n\n\t\t\t'replacement order': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGeneratorRental(PathnameRental.VIEW_RENTAL_ORDER), moduleId.toString()),\n\n\t\t\t'rental agreement': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGeneratorRental(PathnameRental.VIEW_AGREEMENT), moduleId.toString()),\n\n\t\t\t'cross hire order': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGeneratorRental(PathnameRental.VIEW_CROSS_HIRE_ORDER), moduleId.toString()),\n\n\t\t\t'cross hire request': () =>\n\t\t\t\tgenerateRouteWithId(PathnameGeneratorRental(PathnameRental.VIEW_CROSS_HIRE_REQUEST), moduleId.toString()),\n\t\t};\n\n\t\treturn routeMap[key]?.() || '/dashboard';\n\t};\n\n\tuseEffect(() => {\n\t\tsetLoading(true);\n\t\t// initAuth()\n\t\tconst storedToken = globalThis.localStorage.getItem(auth.storageTokenKeyName);\n\t\tconst storedUser =\n\t\t\tisJsonParse(globalThis.localStorage.getItem(auth.storageUserKeyName)) ?? null;\n\n\t\tconst allPublicRoutes = [Pathname.LOGIN, Pathname.FORGOT_PASSWORD, Pathname.RESET_PASSWORD, Pathname.CHANGE_PASSWORD, ...publicRoutes];\n\n\t\tif (!storedToken && !storedUser) {\n\t\t\tif (Boolean(!matchRoutes(allPublicRoutes.map((route) => ({ path: route })), location))) {\n\t\t\t\tnavigate(Pathname.LOGIN);\n\t\t\t}\n\t\t\tsetLoading(false);\n\t\t} else {\n\t\t\tsetUser(storedUser);\n\t\t\tsetAuthToken(storedToken || '');\n\t\t\tsetLoading(false);\n\t\t}\n\t\t// eslint-disable-next-line react-hooks/exhaustive-deps\n\t}, []);\n\n\tuseEffect(() => {\n\t\tif (!authToken) {\n\t\t\tif (socketRef.current) {\n\t\t\t\tsocketRef.current?.disconnect();\n\t\t\t\tsocketRef.current = null\n\t\t\t}\n\t\t\tconsole.warn(\"No auth token found, not connecting to socket.\");\n\t\t\treturn;\n\t\t}\n\n\t\tconst config = getApiConfig();\n\t\tconst socket = io(config.socketBaseUrl, {\n\t\t\ttransports: [\"websocket\"],\n\t\t\tauth: { token: authToken },\n\t\t\tpath: \"/socket.io/\",\n\n\t\t});\n\t\tsocketRef.current = socket;\n\n\t\tsocket.on(\"connect\", () => {\n\t\t\tconsole.log(\"Socket connected:\", socket.id);\n\t\t\tsocket.onAny((event, ...args) => {\n\t\t\t\tconsole.log(`Received event: ${event}`, args);\n\t\t\t});\n\t\t});\n\n\t\t// socket event handler\n\t\tsocket.on('notification', (data) => {\n\t\t\tconst { message, notificationData } = data || {};\n\t\t\tlet notificationContent: React.ReactNode = message;\n\t\t\tconst url = getNotificationUrl(data);\n\n\t\t\tif (notificationData) {\n\t\t\t\tconst { notification_type } = notificationData;\n\n\t\t\t\tswitch (notification_type) {\n\t\t\t\t\tcase 'addApprovers': {\n\n\t\t\t\t\t\tnotificationContent = message;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tcase 'change_approval_status': {\n\t\t\t\t\t\tnotificationContent = message;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tdefault: {\n\t\t\t\t\t\tnotificationContent = message;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tenqueueSnackbar(String(message), {\n\t\t\t\tvariant: 'default',\n\t\t\t\tanchorOrigin: { vertical: 'top', horizontal: 'center' },\n\t\t\t\tautoHideDuration: 5000,\n\t\t\t\tcontent: (key) => (\n\t\t\t\t\t<CustomSnackbar snackbarKey={key} message={notificationContent} data={notificationData} variant=\"default\" linkUrl={url} />\n\t\t\t\t),\n\t\t\t});\n\t\t});\n\n\n\t\tsocket.on(\"sales_invoice_viewed\", (data) => {\n\t\t\tconsole.log(\"Invoice viewed:\", data.invoiceId, \"by user:\", data.userId);\n\t\t});\n\n\t\tsocket.on(\"error\", (errMsg) => {\n\t\t\tenqueueSnackbar(`Socket error: ${errMsg}`, { variant: \"error\" });\n\t\t\tconsole.error(\"Socket error:\", errMsg);\n\t\t});\n\n\t\t// Clean up on unmount\n\t\treturn () => {\n\t\t\tif (socketRef.current) {\n\t\t\t\tsocketRef.current.disconnect();\n\t\t\t\tsocketRef.current = null\n\t\t\t}\n\t\t};\n\t}, [authToken]);\n\n\tconst fetchRolesByUserId = async (userId: number | string, token: string) => {\n\t\tconst response = await RbacApi.getV1RoleUserId({ id: userId, ...getToken(token) } as any);\n\t\tconst perm = response?.data?.role || [];\n\t\treturn JSON.stringify(perm);\n\t}\n\n\tconst handleLogin = async (\n\t\tparams: LoginFormValues,\n\t\tcallback: (err: string) => void,\n\t\tshoudRedirect: boolean = true,\n\t\tredirectPath: string = Pathname.DASHBOARD\n\t) => {\n\t\tsetLoading(true);\n\t\tconst storedToken = globalThis.localStorage.getItem(auth.storageTokenKeyName);\n\t\tif (storedToken && user) {\n\t\t\treturn navigate(Pathname.DASHBOARD);\n\t\t}\n\n\t\ttry {\n\t\t\tconst loginUser = await postV1AuthLogin({ ...params, ...getToken() });\n\t\t\tif (loginUser.success) {\n\t\t\t\tconst data: ERPApiUser | null = loginUser?.data?.login || null;\n\t\t\t\tif (data) {\n\t\t\t\t\tconst userData: ERPUser = {\n\t\t\t\t\t\t...data,\n\t\t\t\t\t\tfull_name: `${data.first_name} ${data.last_name}`\n\t\t\t\t\t};\n\t\t\t\t\tconst rolePermission = await fetchRolesByUserId(userData.id, data.token);\n\t\t\t\t\t\n\t\t\t\t\tglobalThis.localStorage.setItem(auth.storageTokenKeyName, data.token);\n\t\t\t\t\tglobalThis.localStorage.setItem(auth.storageUserKeyName, JSON.stringify(userData));\n\t\t\t\t\tglobalThis.localStorage.setItem(auth.storageRolePermissionKeyName, rolePermission);\n\t\t\t\t\tglobalThis.dispatchEvent(new Event(\"role-permission-changed\"));\n\n\t\t\t\t\tsetUser(userData);\n\t\t\t\t\tsetAuthToken(data.token);\n\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\tshoudRedirect && navigate(redirectPath);\n\t\t\t\t\t\tsetLoading(false);\n\t\t\t\t\t\tdelete data.token;\n\t\t\t\t\t}, 1000);\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tlet message: string = 'Something went wrong';\n\t\t\tif (error instanceof Error) {\n\t\t\t\tmessage = isJsonParse(error.message).message || error.message;\n\t\t\t}\n\t\t\tsetLoading(false);\n\t\t\tcallback(message);\n\t\t}\n\t};\n\n\tconst handleLogout = async () => {\n\t\tglobalThis.localStorage.removeItem(auth.storageTokenKeyName);\n\t\tglobalThis.localStorage.removeItem(auth.storageUserKeyName);\n\t\tglobalThis.localStorage.removeItem(auth.storageRolePermissionKeyName);\n\t\tglobalThis.dispatchEvent(new Event(\"role-permission-changed\"));\n\t\tsetUser(null);\n\t\tsetAuthToken('');\n\t\tnavigate(Pathname.LOGIN);\n\t};\n\n\tconst handleForgotPassword = async (params: resetFormValues,\n\t\tcallback: (type: boolean, err: string) => void) => {\n\t\ttry {\n\t\t\tawait postV1AuthForgotPassword({ ...params, ...getToken() });\n\t\t\tcallback(true, \"Reset Link sent to your email\");\n\t\t} catch (error) {\n\t\t\tlet message: string = 'Something went wrong';\n\t\t\tif (error instanceof Error) {\n\t\t\t\tmessage = isJsonParse(error.message).message || error.message;\n\t\t\t}\n\n\t\t\tcallback(false, message);\n\t\t}\n\t};\n\n\tconst handleResetPassword = async (params: resetPasswordValues,\n\t\tcallback: (err: string) => void) => {\n\t\ttry {\n\t\t\tconst response = await postV1AuthResetPassword({ ...params, ...getToken() });\n\t\t\tcallback(response);\n\t\t} catch (error) {\n\t\t\tlet message: string = 'Something went wrong';\n\t\t\tif (error instanceof Error) {\n\t\t\t\tmessage = isJsonParse(error.message).message || error.message;\n\t\t\t\tcallback(message);\n\t\t\t}\n\t\t}\n\t}\n\n\tconst handleChangePassword = async (params: resetPasswordValues,\n\t\tcallback: (err: string) => void) => {\n\t\ttry {\n\t\t\tawait postV1AuthChangePassword({ ...params, ...getToken() });\n\t\t\tcallback(null);\n\t\t} catch (error) {\n\t\t\tlet message: string = 'Something went wrong';\n\t\t\tif (error instanceof Error) {\n\t\t\t\tmessage = isJsonParse(error.message).message || error.message;\n\t\t\t\tcallback(message);\n\t\t\t}\n\t\t}\n\t\tcallback(\"reset\");\n\t}\n\n\tconst handleChangeUserPassword = async (params: resetPasswordValues,\n\t\tcallback: (err: string, resType: boolean) => void) => {\n\t\ttry {\n\t\t\tawait postV1AuthChangeUserPassword({ ...params, ...getToken() });\n\t\t\tcallback('Password Changed Successfully', true);\n\t\t} catch (error) {\n\t\t\tlet message: string = 'Something went wrong';\n\t\t\tif (error instanceof Error) {\n\t\t\t\tmessage = isJsonParse(error.message).message || error.message;\n\t\t\t\tcallback(message, false);\n\t\t\t}\n\t\t}\n\t}\n\n\tconst handleChangeUserPasswordByAdmin = async (params: changePasswordValues,\n\t\tcallback: (err: string, resType: boolean) => void) => {\n\t\ttry {\n\t\t\tawait postV1AuthChangeUserPasswordByAdmin({ ...params, ...getToken() });\n\t\t\tcallback('Password Changed Successfully', true);\n\t\t} catch (error) {\n\t\t\tlet message: string = 'Something went wrong';\n\t\t\tif (error instanceof Error) {\n\t\t\t\tmessage = isJsonParse(error.message).message || error.message;\n\t\t\t\tcallback(message, false);\n\t\t\t}\n\t\t}\n\t}\n\n\n\tconst values = {\n\t\tuser,\n\t\tauthToken,\n\t\tloading,\n\t\tsetUser,\n\t\tsetLoading,\n\t\tlogin: handleLogin,\n\t\tlogout: handleLogout,\n\t\tforgotPassword: handleForgotPassword,\n\t\tresetPassword: handleResetPassword,\n\t\tchangePassword: handleChangePassword,\n\t\tchangeUserPassword: handleChangeUserPassword,\n\t\tchangeUserPasswordByAdmin: handleChangeUserPasswordByAdmin\n\t};\n\n\treturn <AuthContext.Provider value={values}>{children}</AuthContext.Provider>;\n};\n\n// Custom hook to use the AuthContext\nexport const useAuth = () => {\n\tconst context = useContext(AuthContext);\n\tif (!context) {\n\t\tthrow new Error('useAuth must be used within an AuthProvider');\n\t}\n\treturn context;\n};\n\nexport { AuthContext, AuthProvider };\n"],"names":["createContext","useState","useRef","useNavigate","useLocation","generateRouteWithId","PathnameGenerator","PathnameAccounting","PathnameGeneratorInventory","PathnameInventory","PathnameGeneratorManufacuring","PathnameManufacturing","PathnameGeneratorPurchase","PathnamePurchase","_a","RENTALROUTES","PathnameGeneratorCrm","PathnameCrm","PathnameGeneratorRental","PathnameRental","useEffect","auth","Pathname","matchRoutes","getApiConfig","io","enqueueSnackbar","jsx","CustomSnackbar","RbacApi.getV1RoleUserId","getToken","postV1AuthLogin","postV1AuthForgotPassword","postV1AuthResetPassword","postV1AuthChangePassword","postV1AuthChangeUserPassword","postV1AuthChangeUserPasswordByAdmin","useContext"],"mappings":";;;;;;;;;;;;;;;;;;;AA+IA,MAAM,kBAAwC;AAAA,EAC7C,MAAM;AAAA,EACN,SAAS;AAAA,EACT,WAAW;AAAA,EACX,SAAS,MAAM;AAAA,EACf,YAAY,MAAM;AAAA,EAClB,OAAO,MAAM,QAAQ,QAAA;AAAA,EACrB,QAAQ,MAAM,QAAQ,QAAA;AAAA,EACtB,gBAAgB,MAAM,QAAQ,QAAA;AAAA,EAC9B,eAAe,MAAM,QAAQ,QAAA;AAAA,EAC7B,gBAAgB,MAAM,Q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