@erpsquad/common 2.0.8 → 2.0.10
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/DonutChart-C6riky4l.esm.js +95 -0
- package/dist/chunks/DonutChart-C6riky4l.esm.js.map +1 -0
- package/dist/chunks/DynamicDependentField-B7LLKauF.js +127 -0
- package/dist/chunks/DynamicDependentField-B7LLKauF.js.map +1 -0
- package/dist/chunks/DynamicDependentField-BxYo0E8h.esm.js +128 -0
- package/dist/chunks/DynamicDependentField-BxYo0E8h.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-D5-HNmNu.esm.js +296 -0
- package/dist/chunks/FORMS-D5-HNmNu.esm.js.map +1 -0
- package/dist/chunks/FORMS-DbmBrjDK.js +295 -0
- package/dist/chunks/FORMS-DbmBrjDK.js.map +1 -0
- package/dist/chunks/FlexibleReduxExample-B_wy14VX.js +148 -0
- package/dist/chunks/FlexibleReduxExample-B_wy14VX.js.map +1 -0
- package/dist/chunks/FlexibleReduxExample-C3tC2qfM.esm.js +149 -0
- package/dist/chunks/FlexibleReduxExample-C3tC2qfM.esm.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-Dxth-wu4.js +5460 -0
- package/dist/chunks/SectionFlowEditor-Dxth-wu4.js.map +1 -0
- package/dist/chunks/SectionFlowEditor-pMoBaKFN.esm.js +5461 -0
- package/dist/chunks/SectionFlowEditor-pMoBaKFN.esm.js.map +1 -0
- package/dist/chunks/action-bar-Bbs92VO3.js +636 -0
- package/dist/chunks/action-bar-Bbs92VO3.js.map +1 -0
- package/dist/chunks/action-bar-DGP5jVk0.esm.js +637 -0
- package/dist/chunks/action-bar-DGP5jVk0.esm.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-log-CzJ_mSbr.js +122 -0
- package/dist/chunks/activity-log-CzJ_mSbr.js.map +1 -0
- package/dist/chunks/activity-log-IcyRmNTS.esm.js +123 -0
- package/dist/chunks/activity-log-IcyRmNTS.esm.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-BiYEdQDO.js +10 -0
- package/dist/chunks/add-template-BiYEdQDO.js.map +1 -0
- package/dist/chunks/add-template-UDMgmlNf.esm.js +11 -0
- package/dist/chunks/add-template-UDMgmlNf.esm.js.map +1 -0
- package/dist/chunks/address-modal-BsAECcxm.esm.js +671 -0
- package/dist/chunks/address-modal-BsAECcxm.esm.js.map +1 -0
- package/dist/chunks/address-modal-punbXNXR.js +687 -0
- package/dist/chunks/address-modal-punbXNXR.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/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/chat-bot-B1SWhIFL.esm.js +1831 -0
- package/dist/chunks/chat-bot-B1SWhIFL.esm.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-D6QyHh2n.esm.js +183 -0
- package/dist/chunks/common-D6QyHh2n.esm.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-BmVA-DgV.esm.js +169 -0
- package/dist/chunks/contact-modal-BmVA-DgV.esm.js.map +1 -0
- package/dist/chunks/contact-modal-DDmk7Usg.js +185 -0
- package/dist/chunks/contact-modal-DDmk7Usg.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-BJMiFIF5.js +1145 -0
- package/dist/chunks/custom-form-BJMiFIF5.js.map +1 -0
- package/dist/chunks/custom-form-BhFonDWy.esm.js +1146 -0
- package/dist/chunks/custom-form-BhFonDWy.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-rows-C75GZFAm.esm.js +250 -0
- package/dist/chunks/dynamic-rows-C75GZFAm.esm.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-Bx-lYpPZ.js +409 -0
- package/dist/chunks/filter-Bx-lYpPZ.js.map +1 -0
- package/dist/chunks/filter-Db1I5JhF.esm.js +410 -0
- package/dist/chunks/filter-Db1I5JhF.esm.js.map +1 -0
- package/dist/chunks/footer-DBHQUExr.js +63 -0
- package/dist/chunks/footer-DBHQUExr.js.map +1 -0
- package/dist/chunks/footer-kRvtCdbo.esm.js +64 -0
- package/dist/chunks/footer-kRvtCdbo.esm.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-B9l6UKhI.esm.js +355 -0
- package/dist/chunks/form-fields-B9l6UKhI.esm.js.map +1 -0
- package/dist/chunks/form-fields-sKxAzG4O.js +354 -0
- package/dist/chunks/form-fields-sKxAzG4O.js.map +1 -0
- package/dist/chunks/form-parser-BATeNTRO.js +613 -0
- package/dist/chunks/form-parser-BATeNTRO.js.map +1 -0
- package/dist/chunks/form-parser-DA5j9chU.esm.js +597 -0
- package/dist/chunks/form-parser-DA5j9chU.esm.js.map +1 -0
- package/dist/chunks/form-section-Crc8PRBt.esm.js +576 -0
- package/dist/chunks/form-section-Crc8PRBt.esm.js.map +1 -0
- package/dist/chunks/form-section-CyjL2UeV.js +575 -0
- package/dist/chunks/form-section-CyjL2UeV.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-CGCqvPs3.js +947 -0
- package/dist/chunks/index-CGCqvPs3.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/index-gsSxnFGz.esm.js +948 -0
- package/dist/chunks/index-gsSxnFGz.esm.js.map +1 -0
- package/dist/chunks/inline-edit-fields-DGmyByec.js +341 -0
- package/dist/chunks/inline-edit-fields-DGmyByec.js.map +1 -0
- package/dist/chunks/inline-edit-fields-tyqj9pWW.esm.js +325 -0
- package/dist/chunks/inline-edit-fields-tyqj9pWW.esm.js.map +1 -0
- package/dist/chunks/inventory-reports-title-bar-C1_Znj9T.esm.js +733 -0
- package/dist/chunks/inventory-reports-title-bar-C1_Znj9T.esm.js.map +1 -0
- package/dist/chunks/inventory-reports-title-bar-CtcsFJk6.js +732 -0
- package/dist/chunks/inventory-reports-title-bar-CtcsFJk6.js.map +1 -0
- package/dist/chunks/item-response-details-C570kCR2.js +78 -0
- package/dist/chunks/item-response-details-C570kCR2.js.map +1 -0
- package/dist/chunks/item-response-details-CsmXbBYo.esm.js +79 -0
- package/dist/chunks/item-response-details-CsmXbBYo.esm.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-BPhVr3Oa.js +276 -0
- package/dist/chunks/listing-BPhVr3Oa.js.map +1 -0
- package/dist/chunks/listing-C2V7b7Ut.esm.js +277 -0
- package/dist/chunks/listing-C2V7b7Ut.esm.js.map +1 -0
- package/dist/chunks/location-select-CIgowMqQ.esm.js +86 -0
- package/dist/chunks/location-select-CIgowMqQ.esm.js.map +1 -0
- package/dist/chunks/location-select-kDEOHi9-.js +85 -0
- package/dist/chunks/location-select-kDEOHi9-.js.map +1 -0
- package/dist/chunks/material-editable-table-Cm-3DESo.js +1464 -0
- package/dist/chunks/material-editable-table-Cm-3DESo.js.map +1 -0
- package/dist/chunks/material-editable-table-DQO_PbYV.esm.js +1448 -0
- package/dist/chunks/material-editable-table-DQO_PbYV.esm.js.map +1 -0
- package/dist/chunks/metaComponent-AO9arcqo.js +892 -0
- package/dist/chunks/metaComponent-AO9arcqo.js.map +1 -0
- package/dist/chunks/metaComponent-Bos7f-IP.esm.js +893 -0
- package/dist/chunks/metaComponent-Bos7f-IP.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-CnttT4yL.js +324 -0
- package/dist/chunks/page-action-CnttT4yL.js.map +1 -0
- package/dist/chunks/page-action-D6R8uwBJ.esm.js +325 -0
- package/dist/chunks/page-action-D6R8uwBJ.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-CHM4O0zW.esm.js +244 -0
- package/dist/chunks/page-navigator-CHM4O0zW.esm.js.map +1 -0
- package/dist/chunks/page-navigator-D7SLLh88.js +243 -0
- package/dist/chunks/page-navigator-D7SLLh88.js.map +1 -0
- package/dist/chunks/page-view-31R0h58t.esm.js +324 -0
- package/dist/chunks/page-view-31R0h58t.esm.js.map +1 -0
- package/dist/chunks/page-view-CJdFwyUV.js +323 -0
- package/dist/chunks/page-view-CJdFwyUV.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-CzbKUETn.esm.js +59 -0
- package/dist/chunks/phone-CzbKUETn.esm.js.map +1 -0
- package/dist/chunks/phone-D8epH-f3.js +58 -0
- package/dist/chunks/phone-D8epH-f3.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-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-CCIgfK8H.js +946 -0
- package/dist/chunks/reports-title-bar-CCIgfK8H.js.map +1 -0
- package/dist/chunks/reports-title-bar-DlTdaUpn.esm.js +947 -0
- package/dist/chunks/reports-title-bar-DlTdaUpn.esm.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/routes-BRMHqLSd.js +35 -0
- package/dist/chunks/routes-BRMHqLSd.js.map +1 -0
- package/dist/chunks/routes-CIf3edRf.esm.js +36 -0
- package/dist/chunks/routes-CIf3edRf.esm.js.map +1 -0
- package/dist/chunks/schedule-report-CIITdY_C.js +235 -0
- package/dist/chunks/schedule-report-CIITdY_C.js.map +1 -0
- package/dist/chunks/schedule-report-CeUbAKxV.esm.js +236 -0
- package/dist/chunks/schedule-report-CeUbAKxV.esm.js.map +1 -0
- package/dist/chunks/schedule-report-modal-C4WqL29j.js +287 -0
- package/dist/chunks/schedule-report-modal-C4WqL29j.js.map +1 -0
- package/dist/chunks/schedule-report-modal-CFrDZ-pB.esm.js +288 -0
- package/dist/chunks/schedule-report-modal-CFrDZ-pB.esm.js.map +1 -0
- package/dist/chunks/searchable-select-D6VuGTy4.esm.js +5396 -0
- package/dist/chunks/searchable-select-D6VuGTy4.esm.js.map +1 -0
- package/dist/chunks/searchable-select-ertqLLGJ.js +5412 -0
- package/dist/chunks/searchable-select-ertqLLGJ.js.map +1 -0
- package/dist/chunks/share-modal-C1CSb_3y.js +217 -0
- package/dist/chunks/share-modal-C1CSb_3y.js.map +1 -0
- package/dist/chunks/share-modal-DxKrMi2d.esm.js +218 -0
- package/dist/chunks/share-modal-DxKrMi2d.esm.js.map +1 -0
- package/dist/chunks/share-modal-enhanced-BTKAPB0s.js +269 -0
- package/dist/chunks/share-modal-enhanced-BTKAPB0s.js.map +1 -0
- package/dist/chunks/share-modal-enhanced-CVyXc-Dh.esm.js +270 -0
- package/dist/chunks/share-modal-enhanced-CVyXc-Dh.esm.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-B-MmSU-O.js +184 -0
- package/dist/chunks/table-B-MmSU-O.js.map +1 -0
- package/dist/chunks/table-C_9zw71g.esm.js +185 -0
- package/dist/chunks/table-C_9zw71g.esm.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-DD-xDtdX.js +8 -0
- package/dist/chunks/template-editor-router-DD-xDtdX.js.map +1 -0
- package/dist/chunks/template-editor-router-rd9ozyxx.esm.js +9 -0
- package/dist/chunks/template-editor-router-rd9ozyxx.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-55sIlOCj.esm.js +273 -0
- package/dist/chunks/templates-55sIlOCj.esm.js.map +1 -0
- package/dist/chunks/templates-CRU9pBoa.js +272 -0
- package/dist/chunks/templates-CRU9pBoa.js.map +1 -0
- package/dist/chunks/text-area-BKWqfUSh.js +327 -0
- package/dist/chunks/text-area-BKWqfUSh.js.map +1 -0
- package/dist/chunks/text-area-DTxxCPNw.esm.js +311 -0
- package/dist/chunks/text-area-DTxxCPNw.esm.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-BGE1g6q5.esm.js +80 -0
- package/dist/chunks/uom-field-wrapper-BGE1g6q5.esm.js.map +1 -0
- package/dist/chunks/uom-field-wrapper-DZyNMUom.js +79 -0
- package/dist/chunks/uom-field-wrapper-DZyNMUom.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/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-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-BwXrHcSb.js +136 -0
- package/dist/chunks/value-editor-BwXrHcSb.js.map +1 -0
- package/dist/chunks/value-editor-DODHQTS2.esm.js +137 -0
- package/dist/chunks/value-editor-DODHQTS2.esm.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/index.esm.js +1 -1
- package/dist/components/activityLog/activity-log/index.esm.js +1 -1
- package/dist/components/activityLog/activity-log/index.js +1 -1
- package/dist/components/activityLog/index.esm.js +1 -1
- package/dist/components/activityLog/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/index.esm.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/index.esm.js +1 -1
- package/dist/components/charts/donutChart/DonutChart/index.esm.js +1 -1
- package/dist/components/charts/donutChart/index.esm.js +1 -1
- package/dist/components/charts/groupBarChart/GroupBarChart/index.esm.js +1 -1
- package/dist/components/charts/groupBarChart/index.esm.js +1 -1
- package/dist/components/charts/index.esm.js +2 -2
- package/dist/components/chat-bot/index.esm.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/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/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 +62 -62
- package/dist/components/index.js +47 -47
- 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-rows/index.esm.js +1 -1
- package/dist/components/reports/dynamic-report/index.esm.js +2 -2
- package/dist/components/reports/index.esm.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/reset-password-modal/index.esm.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/text-area/index.esm.js +1 -1
- package/dist/components/text-area/index.js +1 -1
- package/dist/components/text-area/text-area/index.esm.js +1 -1
- package/dist/components/text-area/text-area/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/index.esm.js +3 -3
- package/dist/contexts/index.js +2 -2
- 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/index.esm.js +10 -10
- package/dist/hooks/index.js +5 -5
- 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.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/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/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 +103 -103
- package/dist/index.js +67 -67
- 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 +4 -4
- package/dist/utils/api/index.esm.js +1 -1
- package/dist/utils/common/index.esm.js +1 -1
- package/dist/utils/common-utility/index.esm.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 +10 -10
- package/dist/utils/index.js +3 -3
- package/dist/utils/metaComponent/index.esm.js +1 -1
- package/dist/utils/metaComponent/index.js +1 -1
- 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/forgot-password/index.esm.js +1 -1
- package/dist/views/beforeAuth/index.esm.js +3 -3
- package/dist/views/beforeAuth/login/index.esm.js +2 -2
- package/dist/views/beforeAuth/login/index.js +1 -1
- package/dist/views/beforeAuth/reset-password/index.esm.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 +10 -10
- package/dist/views/privateRoute/index.esm.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-CYKDAW5i.esm.js +0 -304
- package/dist/chunks/AuthContext-CYKDAW5i.esm.js.map +0 -1
- package/dist/chunks/DonutChart-B9IMZt1L.esm.js +0 -95
- package/dist/chunks/DonutChart-B9IMZt1L.esm.js.map +0 -1
- package/dist/chunks/DynamicDependentField-B1ccSGZ7.esm.js +0 -128
- package/dist/chunks/DynamicDependentField-B1ccSGZ7.esm.js.map +0 -1
- package/dist/chunks/DynamicDependentField-BWaN4-oi.js +0 -127
- package/dist/chunks/DynamicDependentField-BWaN4-oi.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-8rnyFws0.esm.js +0 -133
- package/dist/chunks/ERPUIProvider-8rnyFws0.esm.js.map +0 -1
- package/dist/chunks/ERPUIProvider-CAwI0Pia.js +0 -132
- package/dist/chunks/ERPUIProvider-CAwI0Pia.js.map +0 -1
- package/dist/chunks/FORMS-CItBiuTr.esm.js +0 -296
- package/dist/chunks/FORMS-CItBiuTr.esm.js.map +0 -1
- package/dist/chunks/FORMS-Dyq_n5rt.js +0 -295
- package/dist/chunks/FORMS-Dyq_n5rt.js.map +0 -1
- package/dist/chunks/FlexibleReduxExample-9DVGsPft.esm.js +0 -149
- package/dist/chunks/FlexibleReduxExample-9DVGsPft.esm.js.map +0 -1
- package/dist/chunks/FlexibleReduxExample-gRlrwNom.js +0 -148
- package/dist/chunks/FlexibleReduxExample-gRlrwNom.js.map +0 -1
- package/dist/chunks/GroupBarChart-BD4HJFZm.esm.js +0 -87
- package/dist/chunks/GroupBarChart-BD4HJFZm.esm.js.map +0 -1
- package/dist/chunks/SectionFlowEditor-BLz5UxsB.esm.js +0 -5461
- package/dist/chunks/SectionFlowEditor-BLz5UxsB.esm.js.map +0 -1
- package/dist/chunks/SectionFlowEditor-Vc0AaaGO.js +0 -5460
- package/dist/chunks/SectionFlowEditor-Vc0AaaGO.js.map +0 -1
- package/dist/chunks/action-bar-Ct-eFZC6.js +0 -636
- package/dist/chunks/action-bar-Ct-eFZC6.js.map +0 -1
- package/dist/chunks/action-bar-xGbV0oif.esm.js +0 -637
- package/dist/chunks/action-bar-xGbV0oif.esm.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-log-1uwdsDd0.js +0 -105
- package/dist/chunks/activity-log-1uwdsDd0.js.map +0 -1
- package/dist/chunks/activity-log-DwUk6OV5.esm.js +0 -106
- package/dist/chunks/activity-log-DwUk6OV5.esm.js.map +0 -1
- package/dist/chunks/activity-tag-Usqyb7DA.esm.js +0 -152
- package/dist/chunks/activity-tag-Usqyb7DA.esm.js.map +0 -1
- package/dist/chunks/add-template-BOLMlr-B.js +0 -10
- package/dist/chunks/add-template-BOLMlr-B.js.map +0 -1
- package/dist/chunks/add-template-Wf0K4zg-.esm.js +0 -11
- package/dist/chunks/add-template-Wf0K4zg-.esm.js.map +0 -1
- package/dist/chunks/address-modal-CyIhTqEk.js +0 -687
- package/dist/chunks/address-modal-CyIhTqEk.js.map +0 -1
- package/dist/chunks/address-modal-ijpsk5Km.esm.js +0 -671
- package/dist/chunks/address-modal-ijpsk5Km.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-BlrRQJtu.js +0 -56
- package/dist/chunks/appbar-BlrRQJtu.js.map +0 -1
- package/dist/chunks/appbar-CGsPB6lq.esm.js +0 -57
- package/dist/chunks/appbar-CGsPB6lq.esm.js.map +0 -1
- package/dist/chunks/approval-wrapper-B-XqS5bB.esm.js +0 -140
- package/dist/chunks/approval-wrapper-B-XqS5bB.esm.js.map +0 -1
- package/dist/chunks/approval-wrapper-ChRKXJ5e.js +0 -139
- package/dist/chunks/approval-wrapper-ChRKXJ5e.js.map +0 -1
- package/dist/chunks/calculation-summary-BK6GQw4U.esm.js +0 -174
- package/dist/chunks/calculation-summary-BK6GQw4U.esm.js.map +0 -1
- package/dist/chunks/change-password-C9dljJAp.esm.js +0 -183
- package/dist/chunks/change-password-C9dljJAp.esm.js.map +0 -1
- package/dist/chunks/change-user-password-modal-B25tcp19.esm.js +0 -119
- package/dist/chunks/change-user-password-modal-B25tcp19.esm.js.map +0 -1
- package/dist/chunks/chat-bot-BCo7cOYE.esm.js +0 -1831
- package/dist/chunks/chat-bot-BCo7cOYE.esm.js.map +0 -1
- package/dist/chunks/checkbox-B1kDMvOd.esm.js +0 -83
- package/dist/chunks/checkbox-B1kDMvOd.esm.js.map +0 -1
- package/dist/chunks/checkbox-BI9r49yI.js +0 -82
- package/dist/chunks/checkbox-BI9r49yI.js.map +0 -1
- package/dist/chunks/common-BgtNCd0P.esm.js +0 -183
- package/dist/chunks/common-BgtNCd0P.esm.js.map +0 -1
- package/dist/chunks/common-utility-C9l0Syxu.esm.js +0 -305
- package/dist/chunks/common-utility-C9l0Syxu.esm.js.map +0 -1
- package/dist/chunks/confirm-modal-CKmgyFxV.js +0 -97
- package/dist/chunks/confirm-modal-CKmgyFxV.js.map +0 -1
- package/dist/chunks/confirm-modal-DYeD7v76.esm.js +0 -98
- package/dist/chunks/confirm-modal-DYeD7v76.esm.js.map +0 -1
- package/dist/chunks/contact-modal-DnIav0-1.esm.js +0 -169
- package/dist/chunks/contact-modal-DnIav0-1.esm.js.map +0 -1
- package/dist/chunks/contact-modal-rQHFxgh5.js +0 -185
- package/dist/chunks/contact-modal-rQHFxgh5.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-BPPOL40S.js +0 -1145
- package/dist/chunks/custom-form-BPPOL40S.js.map +0 -1
- package/dist/chunks/custom-form-BkZEys0k.esm.js +0 -1146
- package/dist/chunks/custom-form-BkZEys0k.esm.js.map +0 -1
- package/dist/chunks/dashboard-BaGUkuQ6.js +0 -74
- package/dist/chunks/dashboard-BaGUkuQ6.js.map +0 -1
- package/dist/chunks/dashboard-DwLatjab.esm.js +0 -75
- package/dist/chunks/dashboard-DwLatjab.esm.js.map +0 -1
- package/dist/chunks/date-range-picker-BYPlcj4t.esm.js +0 -62
- package/dist/chunks/date-range-picker-BYPlcj4t.esm.js.map +0 -1
- package/dist/chunks/date-range-picker-BtiS4y35.esm.js +0 -160
- package/dist/chunks/date-range-picker-BtiS4y35.esm.js.map +0 -1
- package/dist/chunks/date-range-picker-DmIphJSw.js +0 -61
- package/dist/chunks/date-range-picker-DmIphJSw.js.map +0 -1
- package/dist/chunks/date-range-picker-NGM9GY3v.js +0 -159
- package/dist/chunks/date-range-picker-NGM9GY3v.js.map +0 -1
- package/dist/chunks/dropdown-button-C-Bqxc-y.esm.js +0 -146
- package/dist/chunks/dropdown-button-C-Bqxc-y.esm.js.map +0 -1
- package/dist/chunks/dropdown-button-C3O11Fd-.js +0 -162
- package/dist/chunks/dropdown-button-C3O11Fd-.js.map +0 -1
- package/dist/chunks/dynamic-layout-wrapper-BzZ90KSV.esm.js +0 -229
- package/dist/chunks/dynamic-layout-wrapper-BzZ90KSV.esm.js.map +0 -1
- package/dist/chunks/dynamic-layout-wrapper-C_ou9EW4.js +0 -228
- package/dist/chunks/dynamic-layout-wrapper-C_ou9EW4.js.map +0 -1
- package/dist/chunks/dynamic-report-BlvCp0cp.esm.js +0 -589
- package/dist/chunks/dynamic-report-BlvCp0cp.esm.js.map +0 -1
- package/dist/chunks/dynamic-rows-CmegFex3.esm.js +0 -250
- package/dist/chunks/dynamic-rows-CmegFex3.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-BJRy25KS.js +0 -241
- package/dist/chunks/expandable-summary-wrapper-BJRy25KS.js.map +0 -1
- package/dist/chunks/expandable-summary-wrapper-b7ML99s4.esm.js +0 -242
- package/dist/chunks/expandable-summary-wrapper-b7ML99s4.esm.js.map +0 -1
- package/dist/chunks/filter--czmk9x0.esm.js +0 -410
- package/dist/chunks/filter--czmk9x0.esm.js.map +0 -1
- package/dist/chunks/filter-YXaXY3h-.js +0 -409
- package/dist/chunks/filter-YXaXY3h-.js.map +0 -1
- package/dist/chunks/footer-BJdSI2g9.js +0 -63
- package/dist/chunks/footer-BJdSI2g9.js.map +0 -1
- package/dist/chunks/footer-DaATNEav.esm.js +0 -64
- package/dist/chunks/footer-DaATNEav.esm.js.map +0 -1
- package/dist/chunks/forgot-password-BLg7_5xW.esm.js +0 -178
- package/dist/chunks/forgot-password-BLg7_5xW.esm.js.map +0 -1
- package/dist/chunks/form-fields-Chnd9RgL.js +0 -354
- package/dist/chunks/form-fields-Chnd9RgL.js.map +0 -1
- package/dist/chunks/form-fields-D36w6bAH.esm.js +0 -355
- package/dist/chunks/form-fields-D36w6bAH.esm.js.map +0 -1
- package/dist/chunks/form-parser-BVpNRR09.js +0 -613
- package/dist/chunks/form-parser-BVpNRR09.js.map +0 -1
- package/dist/chunks/form-parser-DKUxOCnZ.esm.js +0 -597
- package/dist/chunks/form-parser-DKUxOCnZ.esm.js.map +0 -1
- package/dist/chunks/form-section-Bf-igyxb.esm.js +0 -576
- package/dist/chunks/form-section-Bf-igyxb.esm.js.map +0 -1
- package/dist/chunks/form-section-BgArbduv.js +0 -575
- package/dist/chunks/form-section-BgArbduv.js.map +0 -1
- package/dist/chunks/fullScreen-8o8jrNel.esm.js +0 -19
- package/dist/chunks/fullScreen-8o8jrNel.esm.js.map +0 -1
- package/dist/chunks/fullScreen-wacypkaO.js +0 -18
- package/dist/chunks/fullScreen-wacypkaO.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-BFS7fldo.esm.js +0 -93
- package/dist/chunks/header-BFS7fldo.esm.js.map +0 -1
- package/dist/chunks/header-bhv36tWn.js +0 -92
- package/dist/chunks/header-bhv36tWn.js.map +0 -1
- package/dist/chunks/header-enhanced-08eRA8T6.js +0 -402
- package/dist/chunks/header-enhanced-08eRA8T6.js.map +0 -1
- package/dist/chunks/header-enhanced-CgXy7RNi.esm.js +0 -403
- package/dist/chunks/header-enhanced-CgXy7RNi.esm.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/index-CooDXqTu.esm.js +0 -942
- package/dist/chunks/index-CooDXqTu.esm.js.map +0 -1
- package/dist/chunks/index-bXQn7tGi.js +0 -941
- package/dist/chunks/index-bXQn7tGi.js.map +0 -1
- package/dist/chunks/inline-edit-fields-BMbv2ivK.js +0 -341
- package/dist/chunks/inline-edit-fields-BMbv2ivK.js.map +0 -1
- package/dist/chunks/inline-edit-fields-Bd5Klcro.esm.js +0 -325
- package/dist/chunks/inline-edit-fields-Bd5Klcro.esm.js.map +0 -1
- package/dist/chunks/inventory-reports-title-bar-CUtd0-rZ.esm.js +0 -733
- package/dist/chunks/inventory-reports-title-bar-CUtd0-rZ.esm.js.map +0 -1
- package/dist/chunks/inventory-reports-title-bar-ChhV-9G-.js +0 -732
- package/dist/chunks/inventory-reports-title-bar-ChhV-9G-.js.map +0 -1
- package/dist/chunks/item-response-details-SLIR4W8V.esm.js +0 -79
- package/dist/chunks/item-response-details-SLIR4W8V.esm.js.map +0 -1
- package/dist/chunks/item-response-details-WqSUggZW.js +0 -78
- package/dist/chunks/item-response-details-WqSUggZW.js.map +0 -1
- package/dist/chunks/journal-type-add-modal-PYo7tpUz.js +0 -128
- package/dist/chunks/journal-type-add-modal-PYo7tpUz.js.map +0 -1
- package/dist/chunks/journal-type-add-modal-QRUtob29.esm.js +0 -112
- package/dist/chunks/journal-type-add-modal-QRUtob29.esm.js.map +0 -1
- package/dist/chunks/language-switch-9_fzmy5U.js +0 -110
- package/dist/chunks/language-switch-9_fzmy5U.js.map +0 -1
- package/dist/chunks/language-switch-VeRuFrbv.esm.js +0 -111
- package/dist/chunks/language-switch-VeRuFrbv.esm.js.map +0 -1
- package/dist/chunks/languageContext-C1VSeXaA.js +0 -223
- package/dist/chunks/languageContext-C1VSeXaA.js.map +0 -1
- package/dist/chunks/languageContext-fV10Le7I.esm.js +0 -224
- package/dist/chunks/languageContext-fV10Le7I.esm.js.map +0 -1
- package/dist/chunks/listing-C3oFgUOJ.esm.js +0 -277
- package/dist/chunks/listing-C3oFgUOJ.esm.js.map +0 -1
- package/dist/chunks/listing-DMxkYQ5X.js +0 -276
- package/dist/chunks/listing-DMxkYQ5X.js.map +0 -1
- package/dist/chunks/location-select-2kkYgf6R.js +0 -85
- package/dist/chunks/location-select-2kkYgf6R.js.map +0 -1
- package/dist/chunks/location-select-DC0gTfC8.esm.js +0 -86
- package/dist/chunks/location-select-DC0gTfC8.esm.js.map +0 -1
- package/dist/chunks/material-editable-table-BAxGLYpT.esm.js +0 -1448
- package/dist/chunks/material-editable-table-BAxGLYpT.esm.js.map +0 -1
- package/dist/chunks/material-editable-table-BLKOGBT1.js +0 -1464
- package/dist/chunks/material-editable-table-BLKOGBT1.js.map +0 -1
- package/dist/chunks/metaComponent-DyKAqmz6.js +0 -890
- package/dist/chunks/metaComponent-DyKAqmz6.js.map +0 -1
- package/dist/chunks/metaComponent-GeN5ICjg.esm.js +0 -891
- package/dist/chunks/metaComponent-GeN5ICjg.esm.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-CJPY1YRz.esm.js +0 -325
- package/dist/chunks/page-action-CJPY1YRz.esm.js.map +0 -1
- package/dist/chunks/page-action-QhE75r6k.js +0 -324
- package/dist/chunks/page-action-QhE75r6k.js.map +0 -1
- package/dist/chunks/page-context-Cgm9ioBm.js +0 -388
- package/dist/chunks/page-context-Cgm9ioBm.js.map +0 -1
- package/dist/chunks/page-context-DxSEpz0I.esm.js +0 -389
- package/dist/chunks/page-context-DxSEpz0I.esm.js.map +0 -1
- package/dist/chunks/page-navigator-BDIZaJ9a.esm.js +0 -244
- package/dist/chunks/page-navigator-BDIZaJ9a.esm.js.map +0 -1
- package/dist/chunks/page-navigator-BNvVcPtn.js +0 -243
- package/dist/chunks/page-navigator-BNvVcPtn.js.map +0 -1
- package/dist/chunks/page-view-Dk_3Z7lD.esm.js +0 -324
- package/dist/chunks/page-view-Dk_3Z7lD.esm.js.map +0 -1
- package/dist/chunks/page-view-Dl6GQyDj.js +0 -323
- package/dist/chunks/page-view-Dl6GQyDj.js.map +0 -1
- package/dist/chunks/pagination-BEWcuhym.js +0 -135
- package/dist/chunks/pagination-BEWcuhym.js.map +0 -1
- package/dist/chunks/pagination-BL9VdINg.esm.js +0 -136
- package/dist/chunks/pagination-BL9VdINg.esm.js.map +0 -1
- package/dist/chunks/phone-input-Erh4hgSL.js +0 -254
- package/dist/chunks/phone-input-Erh4hgSL.js.map +0 -1
- package/dist/chunks/phone-input-pQKdFRDg.esm.js +0 -255
- package/dist/chunks/phone-input-pQKdFRDg.esm.js.map +0 -1
- package/dist/chunks/phone-oD6h86U6.js +0 -58
- package/dist/chunks/phone-oD6h86U6.js.map +0 -1
- package/dist/chunks/phone-vN2kyVIY.esm.js +0 -59
- package/dist/chunks/phone-vN2kyVIY.esm.js.map +0 -1
- package/dist/chunks/privateRoute-2ClZz2RY.esm.js +0 -13
- package/dist/chunks/privateRoute-2ClZz2RY.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-CHV3iwzl.esm.js +0 -21
- package/dist/chunks/remove-action-CHV3iwzl.esm.js.map +0 -1
- package/dist/chunks/remove-action-D2bYub7f.js +0 -20
- package/dist/chunks/remove-action-D2bYub7f.js.map +0 -1
- package/dist/chunks/report-buttons-BWZZIgxX.esm.js +0 -46
- package/dist/chunks/report-buttons-BWZZIgxX.esm.js.map +0 -1
- package/dist/chunks/report-buttons-CLZaveR1.esm.js +0 -60
- package/dist/chunks/report-buttons-CLZaveR1.esm.js.map +0 -1
- package/dist/chunks/report-buttons-CeahQUYc.js +0 -59
- package/dist/chunks/report-buttons-CeahQUYc.js.map +0 -1
- package/dist/chunks/report-buttons-D6tJ53Dh.js +0 -45
- package/dist/chunks/report-buttons-D6tJ53Dh.js.map +0 -1
- package/dist/chunks/reportFilter-DocSJzI3.esm.js +0 -395
- package/dist/chunks/reportFilter-DocSJzI3.esm.js.map +0 -1
- package/dist/chunks/reportFilter-Y-4mgRIX.js +0 -394
- package/dist/chunks/reportFilter-Y-4mgRIX.js.map +0 -1
- package/dist/chunks/reports-title-bar-CTUtDaxJ.esm.js +0 -947
- package/dist/chunks/reports-title-bar-CTUtDaxJ.esm.js.map +0 -1
- package/dist/chunks/reports-title-bar-ZqAkMRGV.js +0 -946
- package/dist/chunks/reports-title-bar-ZqAkMRGV.js.map +0 -1
- package/dist/chunks/reset-password-BKYkgQrt.esm.js +0 -33
- package/dist/chunks/reset-password-BKYkgQrt.esm.js.map +0 -1
- package/dist/chunks/reset-password-modal-Dn-aLVj1.esm.js +0 -144
- package/dist/chunks/reset-password-modal-Dn-aLVj1.esm.js.map +0 -1
- package/dist/chunks/routes-55ICp2VE.js +0 -35
- package/dist/chunks/routes-55ICp2VE.js.map +0 -1
- package/dist/chunks/routes-CLSEKpWj.esm.js +0 -36
- package/dist/chunks/routes-CLSEKpWj.esm.js.map +0 -1
- package/dist/chunks/schedule-report-CLfPO0u_.esm.js +0 -236
- package/dist/chunks/schedule-report-CLfPO0u_.esm.js.map +0 -1
- package/dist/chunks/schedule-report-Cj-mr_l7.js +0 -235
- package/dist/chunks/schedule-report-Cj-mr_l7.js.map +0 -1
- package/dist/chunks/schedule-report-modal-9HgtK0Cn.js +0 -287
- package/dist/chunks/schedule-report-modal-9HgtK0Cn.js.map +0 -1
- package/dist/chunks/schedule-report-modal-zRoX5Bti.esm.js +0 -288
- package/dist/chunks/schedule-report-modal-zRoX5Bti.esm.js.map +0 -1
- package/dist/chunks/searchable-select-BTd4bHyq.esm.js +0 -5396
- package/dist/chunks/searchable-select-BTd4bHyq.esm.js.map +0 -1
- package/dist/chunks/searchable-select-CvvJIVJm.js +0 -5412
- package/dist/chunks/searchable-select-CvvJIVJm.js.map +0 -1
- package/dist/chunks/share-modal-ByO3cQpK.esm.js +0 -218
- package/dist/chunks/share-modal-ByO3cQpK.esm.js.map +0 -1
- package/dist/chunks/share-modal-C4uYkiYr.js +0 -217
- package/dist/chunks/share-modal-C4uYkiYr.js.map +0 -1
- package/dist/chunks/share-modal-enhanced-D1eluxf5.esm.js +0 -270
- package/dist/chunks/share-modal-enhanced-D1eluxf5.esm.js.map +0 -1
- package/dist/chunks/share-modal-enhanced-DomKcr1A.js +0 -269
- package/dist/chunks/share-modal-enhanced-DomKcr1A.js.map +0 -1
- package/dist/chunks/sidebar-DF7mq3bf.esm.js +0 -879
- package/dist/chunks/sidebar-DF7mq3bf.esm.js.map +0 -1
- package/dist/chunks/sidebar-DUvEm6Xg.js +0 -878
- package/dist/chunks/sidebar-DUvEm6Xg.js.map +0 -1
- package/dist/chunks/sidebarScreen-B-eGN3G1.esm.js +0 -202
- package/dist/chunks/sidebarScreen-B-eGN3G1.esm.js.map +0 -1
- package/dist/chunks/sidebarScreen-CEmqIEGX.js +0 -201
- package/dist/chunks/sidebarScreen-CEmqIEGX.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-BwlY4Rqi.js +0 -184
- package/dist/chunks/table-BwlY4Rqi.js.map +0 -1
- package/dist/chunks/table-DPwreE5K.esm.js +0 -185
- package/dist/chunks/table-DPwreE5K.esm.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-DWX5xJOY.esm.js +0 -9
- package/dist/chunks/template-editor-router-DWX5xJOY.esm.js.map +0 -1
- package/dist/chunks/template-editor-router-DXJKbSiF.js +0 -8
- package/dist/chunks/template-editor-router-DXJKbSiF.js.map +0 -1
- package/dist/chunks/template-modal-COgBzYT5.js +0 -768
- package/dist/chunks/template-modal-COgBzYT5.js.map +0 -1
- package/dist/chunks/template-modal-CPDYTASx.esm.js +0 -769
- package/dist/chunks/template-modal-CPDYTASx.esm.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-BflbmeOi.esm.js +0 -273
- package/dist/chunks/templates-BflbmeOi.esm.js.map +0 -1
- package/dist/chunks/templates-DpNiY8Y8.js +0 -272
- package/dist/chunks/templates-DpNiY8Y8.js.map +0 -1
- package/dist/chunks/text-area-C56V7dK3.esm.js +0 -311
- package/dist/chunks/text-area-C56V7dK3.esm.js.map +0 -1
- package/dist/chunks/text-area-CmoSF9FD.js +0 -327
- package/dist/chunks/text-area-CmoSF9FD.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-9gpR1Gc0.esm.js +0 -55
- package/dist/chunks/toggle-button-9gpR1Gc0.esm.js.map +0 -1
- package/dist/chunks/toggle-button-Cm4sWIH-.js +0 -54
- package/dist/chunks/toggle-button-Cm4sWIH-.js.map +0 -1
- package/dist/chunks/toggle-switch-0RznK_fC.esm.js +0 -81
- package/dist/chunks/toggle-switch-0RznK_fC.esm.js.map +0 -1
- package/dist/chunks/toggle-switch-B6I7zEQC.js +0 -80
- package/dist/chunks/toggle-switch-B6I7zEQC.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-BQ4SEo6B.esm.js +0 -80
- package/dist/chunks/uom-field-wrapper-BQ4SEo6B.esm.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-COkh8c-3.js +0 -79
- package/dist/chunks/uom-field-wrapper-COkh8c-3.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-BBx4hf1O.js +0 -29
- package/dist/chunks/use-pages-BBx4hf1O.js.map +0 -1
- package/dist/chunks/use-pages-CXgFemtF.esm.js +0 -30
- package/dist/chunks/use-pages-CXgFemtF.esm.js.map +0 -1
- package/dist/chunks/use-translations-C3jrv4ha.js +0 -68
- package/dist/chunks/use-translations-C3jrv4ha.js.map +0 -1
- package/dist/chunks/use-translations-C4q2A6Uj.esm.js +0 -69
- package/dist/chunks/use-translations-C4q2A6Uj.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-DeB4mdyQ.esm.js +0 -36
- package/dist/chunks/useCompanyCountryCode-DeB4mdyQ.esm.js.map +0 -1
- package/dist/chunks/useDataFetcher-BxK0M15R.js +0 -79
- package/dist/chunks/useDataFetcher-BxK0M15R.js.map +0 -1
- package/dist/chunks/useDataFetcher-mMWb2ZRS.esm.js +0 -80
- package/dist/chunks/useDataFetcher-mMWb2ZRS.esm.js.map +0 -1
- package/dist/chunks/useLangauge-BDKeLn9O.js +0 -48
- package/dist/chunks/useLangauge-BDKeLn9O.js.map +0 -1
- package/dist/chunks/useLangauge-CqMxC8BW.esm.js +0 -49
- package/dist/chunks/useLangauge-CqMxC8BW.esm.js.map +0 -1
- package/dist/chunks/useReduxIntegration-CP2LpOou.esm.js +0 -39
- package/dist/chunks/useReduxIntegration-CP2LpOou.esm.js.map +0 -1
- package/dist/chunks/useReduxIntegration-Dy-JyvPh.js +0 -38
- package/dist/chunks/useReduxIntegration-Dy-JyvPh.js.map +0 -1
- package/dist/chunks/useSetDefaultConfig-uw7ih7_P.esm.js +0 -101
- package/dist/chunks/useSetDefaultConfig-uw7ih7_P.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-CiAhK9OA.js +0 -104
- package/dist/chunks/user-menu-CiAhK9OA.js.map +0 -1
- package/dist/chunks/user-menu-DOLVZcyK.esm.js +0 -105
- package/dist/chunks/user-menu-DOLVZcyK.esm.js.map +0 -1
- package/dist/chunks/value-editor-4wlpUaaF.js +0 -136
- package/dist/chunks/value-editor-4wlpUaaF.js.map +0 -1
- package/dist/chunks/value-editor-DT5xVhgj.esm.js +0 -137
- package/dist/chunks/value-editor-DT5xVhgj.esm.js.map +0 -1
|
@@ -1,769 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import React__default, { useState, useRef, useEffect, useCallback } from "react";
|
|
3
|
-
import { Box, Skeleton, Fade, Tooltip, IconButton, Divider, DialogTitle, MenuItem, DialogContent, DialogActions } from "@mui/material";
|
|
4
|
-
import Close from "@mui/icons-material/Close";
|
|
5
|
-
import { T as Typography } from "./typography-CG_A0iOJ.esm.js";
|
|
6
|
-
import { M as Modal } from "./modal-DCla9U60.esm.js";
|
|
7
|
-
import { y as getV1Templates, z as patchV1TemplatesIdSetDefault, A as deleteV1TemplatesId } from "./api-Csn_qx_a.esm.js";
|
|
8
|
-
import { ab as getToken, W as getErrorMessage } from "./api-C4WZctJf.esm.js";
|
|
9
|
-
import { B as Button } from "./button-BtdpXmjA.esm.js";
|
|
10
|
-
import { useNavigate } from "react-router-dom";
|
|
11
|
-
import { enqueueSnackbar } from "notistack";
|
|
12
|
-
import { S as Select } from "./select-CVxEdXzL.esm.js";
|
|
13
|
-
import { ZoomIn, ZoomOut, Refresh } from "@mui/icons-material";
|
|
14
|
-
import { T as Trash } from "./trash-Zhhh3VNZ.esm.js";
|
|
15
|
-
import { C as ConfirmPopUp } from "./confirm-modal-DYeD7v76.esm.js";
|
|
16
|
-
const HtmlThumbnailPreview = ({
|
|
17
|
-
template,
|
|
18
|
-
width = 300,
|
|
19
|
-
height = 200,
|
|
20
|
-
scale = 0.25,
|
|
21
|
-
showControls = false,
|
|
22
|
-
onClick = null,
|
|
23
|
-
selectedTemplateId = "",
|
|
24
|
-
isFetching = false,
|
|
25
|
-
onDelete,
|
|
26
|
-
minScale = 0.1,
|
|
27
|
-
maxScale = 1,
|
|
28
|
-
scaleStep = 1.2,
|
|
29
|
-
loadingDelay = 500,
|
|
30
|
-
refreshDelay = 300,
|
|
31
|
-
normalView = false
|
|
32
|
-
}) => {
|
|
33
|
-
const [isLoading, setIsLoading] = useState(isFetching || true);
|
|
34
|
-
const [currentScale, setCurrentScale] = useState(scale);
|
|
35
|
-
const [error, setError] = useState(null);
|
|
36
|
-
const [isHovered, setIsHovered] = useState(false);
|
|
37
|
-
const containerRef = useRef(null);
|
|
38
|
-
const contentRef = useRef(null);
|
|
39
|
-
const loadingTimeoutRef = useRef(null);
|
|
40
|
-
const refreshTimeoutRef = useRef(null);
|
|
41
|
-
const scaledWidth = width / currentScale;
|
|
42
|
-
const scaledHeight = height / currentScale;
|
|
43
|
-
useEffect(() => {
|
|
44
|
-
return () => {
|
|
45
|
-
if (loadingTimeoutRef.current) {
|
|
46
|
-
clearTimeout(loadingTimeoutRef.current);
|
|
47
|
-
}
|
|
48
|
-
if (refreshTimeoutRef.current) {
|
|
49
|
-
clearTimeout(refreshTimeoutRef.current);
|
|
50
|
-
}
|
|
51
|
-
};
|
|
52
|
-
}, []);
|
|
53
|
-
useEffect(() => {
|
|
54
|
-
if (loadingTimeoutRef.current) {
|
|
55
|
-
clearTimeout(loadingTimeoutRef.current);
|
|
56
|
-
}
|
|
57
|
-
loadingTimeoutRef.current = setTimeout(() => {
|
|
58
|
-
setIsLoading(false);
|
|
59
|
-
}, loadingDelay);
|
|
60
|
-
return () => {
|
|
61
|
-
if (loadingTimeoutRef.current) {
|
|
62
|
-
clearTimeout(loadingTimeoutRef.current);
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
}, [template.contents, loadingDelay]);
|
|
66
|
-
useEffect(() => {
|
|
67
|
-
setIsLoading(isFetching);
|
|
68
|
-
}, [isFetching]);
|
|
69
|
-
const handleZoomIn = useCallback(() => {
|
|
70
|
-
setCurrentScale((prev) => Math.min(prev * scaleStep, maxScale));
|
|
71
|
-
}, [scaleStep, maxScale]);
|
|
72
|
-
const handleZoomOut = useCallback(() => {
|
|
73
|
-
setCurrentScale((prev) => Math.max(prev / scaleStep, minScale));
|
|
74
|
-
}, [scaleStep, minScale]);
|
|
75
|
-
const handleRefresh = useCallback(() => {
|
|
76
|
-
setIsLoading(true);
|
|
77
|
-
setError(null);
|
|
78
|
-
if (refreshTimeoutRef.current) {
|
|
79
|
-
clearTimeout(refreshTimeoutRef.current);
|
|
80
|
-
}
|
|
81
|
-
refreshTimeoutRef.current = setTimeout(() => {
|
|
82
|
-
setIsLoading(false);
|
|
83
|
-
}, refreshDelay);
|
|
84
|
-
}, [refreshDelay]);
|
|
85
|
-
const handleClick = useCallback(() => {
|
|
86
|
-
if (onClick && !isLoading) {
|
|
87
|
-
onClick(template);
|
|
88
|
-
}
|
|
89
|
-
}, [onClick, template, isLoading]);
|
|
90
|
-
const handleDelete = useCallback((e) => {
|
|
91
|
-
e.stopPropagation();
|
|
92
|
-
if (onDelete && !(template == null ? void 0 : template.is_default)) {
|
|
93
|
-
onDelete(template);
|
|
94
|
-
}
|
|
95
|
-
}, [onDelete, template]);
|
|
96
|
-
const handleMouseEnter = useCallback(() => {
|
|
97
|
-
setIsHovered(true);
|
|
98
|
-
}, []);
|
|
99
|
-
const handleMouseLeave = useCallback(() => {
|
|
100
|
-
setIsHovered(false);
|
|
101
|
-
}, []);
|
|
102
|
-
if (isLoading) {
|
|
103
|
-
return /* @__PURE__ */ jsx(
|
|
104
|
-
Box,
|
|
105
|
-
{
|
|
106
|
-
sx: {
|
|
107
|
-
width,
|
|
108
|
-
height,
|
|
109
|
-
borderRadius: 1,
|
|
110
|
-
overflow: "hidden",
|
|
111
|
-
border: "1px solid",
|
|
112
|
-
borderColor: "divider"
|
|
113
|
-
},
|
|
114
|
-
children: /* @__PURE__ */ jsx(
|
|
115
|
-
Skeleton,
|
|
116
|
-
{
|
|
117
|
-
variant: "rectangular",
|
|
118
|
-
width: "100%",
|
|
119
|
-
height: "100%",
|
|
120
|
-
animation: "wave"
|
|
121
|
-
}
|
|
122
|
-
)
|
|
123
|
-
}
|
|
124
|
-
);
|
|
125
|
-
}
|
|
126
|
-
if (error) {
|
|
127
|
-
return /* @__PURE__ */ jsx(
|
|
128
|
-
Box,
|
|
129
|
-
{
|
|
130
|
-
sx: {
|
|
131
|
-
width,
|
|
132
|
-
height,
|
|
133
|
-
borderRadius: 1,
|
|
134
|
-
overflow: "hidden",
|
|
135
|
-
border: "1px solid",
|
|
136
|
-
borderColor: "error.main",
|
|
137
|
-
display: "flex",
|
|
138
|
-
alignItems: "center",
|
|
139
|
-
justifyContent: "center",
|
|
140
|
-
backgroundColor: "error.light",
|
|
141
|
-
color: "error.contrastText"
|
|
142
|
-
},
|
|
143
|
-
children: "Failed to load template"
|
|
144
|
-
}
|
|
145
|
-
);
|
|
146
|
-
}
|
|
147
|
-
const isSelected = selectedTemplateId === template._id;
|
|
148
|
-
const canZoomIn = currentScale < maxScale;
|
|
149
|
-
const canZoomOut = currentScale > minScale;
|
|
150
|
-
const canDelete = !(template == null ? void 0 : template.is_default);
|
|
151
|
-
return /* @__PURE__ */ jsxs(
|
|
152
|
-
Box,
|
|
153
|
-
{
|
|
154
|
-
sx: { position: "relative", display: "inline-block" },
|
|
155
|
-
onMouseEnter: handleMouseEnter,
|
|
156
|
-
onMouseLeave: handleMouseLeave,
|
|
157
|
-
children: [
|
|
158
|
-
/* @__PURE__ */ jsxs(
|
|
159
|
-
Box,
|
|
160
|
-
{
|
|
161
|
-
ref: containerRef,
|
|
162
|
-
onClick: handleClick,
|
|
163
|
-
sx: (theme) => ({
|
|
164
|
-
width,
|
|
165
|
-
height,
|
|
166
|
-
border: "1px solid",
|
|
167
|
-
borderRadius: 1,
|
|
168
|
-
overflow: "hidden",
|
|
169
|
-
position: "relative",
|
|
170
|
-
cursor: onClick ? "pointer" : "default",
|
|
171
|
-
backgroundColor: "#fff",
|
|
172
|
-
// boxShadow: '0 2px 8px rgba(0,0,0,0.1)',
|
|
173
|
-
transition: "all 0.2s ease-in-out",
|
|
174
|
-
"&:hover": onClick ? {
|
|
175
|
-
boxShadow: "0 4px 16px rgba(0,0,0,0.15)",
|
|
176
|
-
transform: "translateY(-1px)"
|
|
177
|
-
} : {},
|
|
178
|
-
borderColor: normalView && isSelected ? theme.palette.theme.primary[800] : "grey.300",
|
|
179
|
-
borderWidth: isSelected ? 2 : 1
|
|
180
|
-
}),
|
|
181
|
-
children: [
|
|
182
|
-
/* @__PURE__ */ jsx(
|
|
183
|
-
Box,
|
|
184
|
-
{
|
|
185
|
-
sx: {
|
|
186
|
-
width: scaledWidth,
|
|
187
|
-
height: scaledHeight,
|
|
188
|
-
transform: `scale(${currentScale})`,
|
|
189
|
-
transformOrigin: "top left",
|
|
190
|
-
position: "absolute",
|
|
191
|
-
top: 0,
|
|
192
|
-
left: 0,
|
|
193
|
-
overflow: "hidden"
|
|
194
|
-
},
|
|
195
|
-
children: /* @__PURE__ */ jsx(
|
|
196
|
-
Box,
|
|
197
|
-
{
|
|
198
|
-
ref: contentRef,
|
|
199
|
-
sx: {
|
|
200
|
-
width: "100%",
|
|
201
|
-
height: "100%",
|
|
202
|
-
userSelect: "none",
|
|
203
|
-
pointerEvents: "none",
|
|
204
|
-
pt: 2,
|
|
205
|
-
"& *": {
|
|
206
|
-
maxWidth: "100% !important",
|
|
207
|
-
boxSizing: "border-box !important"
|
|
208
|
-
},
|
|
209
|
-
// Reset common problematic styles
|
|
210
|
-
"& body": {
|
|
211
|
-
margin: "0 !important",
|
|
212
|
-
padding: "0 !important",
|
|
213
|
-
overflow: "hidden !important"
|
|
214
|
-
},
|
|
215
|
-
// Handle images
|
|
216
|
-
"& img": {
|
|
217
|
-
maxWidth: "100% !important",
|
|
218
|
-
height: "auto !important"
|
|
219
|
-
},
|
|
220
|
-
// Handle tables
|
|
221
|
-
"& table": {
|
|
222
|
-
width: "100% !important",
|
|
223
|
-
tableLayout: "fixed !important"
|
|
224
|
-
},
|
|
225
|
-
// Prevent absolute positioning issues
|
|
226
|
-
'& *[style*="position: absolute"]': {
|
|
227
|
-
position: "relative !important"
|
|
228
|
-
},
|
|
229
|
-
"& .email-container": {
|
|
230
|
-
width: "85% !important"
|
|
231
|
-
}
|
|
232
|
-
},
|
|
233
|
-
dangerouslySetInnerHTML: { __html: template.contents }
|
|
234
|
-
}
|
|
235
|
-
)
|
|
236
|
-
}
|
|
237
|
-
),
|
|
238
|
-
isLoading && /* @__PURE__ */ jsx(
|
|
239
|
-
Box,
|
|
240
|
-
{
|
|
241
|
-
sx: {
|
|
242
|
-
position: "absolute",
|
|
243
|
-
top: 0,
|
|
244
|
-
left: 0,
|
|
245
|
-
right: 0,
|
|
246
|
-
bottom: 0,
|
|
247
|
-
backgroundColor: "rgba(255,255,255,0.8)",
|
|
248
|
-
display: "flex",
|
|
249
|
-
alignItems: "center",
|
|
250
|
-
justifyContent: "center",
|
|
251
|
-
zIndex: 2
|
|
252
|
-
},
|
|
253
|
-
children: /* @__PURE__ */ jsx(Skeleton, { variant: "rectangular", width: "90%", height: "90%" })
|
|
254
|
-
}
|
|
255
|
-
),
|
|
256
|
-
(template == null ? void 0 : template.is_default) && /* @__PURE__ */ jsx(
|
|
257
|
-
Box,
|
|
258
|
-
{
|
|
259
|
-
sx: (theme) => {
|
|
260
|
-
var _a;
|
|
261
|
-
return {
|
|
262
|
-
position: "absolute",
|
|
263
|
-
top: 8,
|
|
264
|
-
left: 8,
|
|
265
|
-
width: 12,
|
|
266
|
-
height: 12,
|
|
267
|
-
borderRadius: "50%",
|
|
268
|
-
backgroundColor: (_a = theme.palette.theme) == null ? void 0 : _a.primary[800],
|
|
269
|
-
zIndex: 3
|
|
270
|
-
};
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
)
|
|
274
|
-
]
|
|
275
|
-
}
|
|
276
|
-
),
|
|
277
|
-
(template == null ? void 0 : template.name) && /* @__PURE__ */ jsx(Typography, { type: "s3", weight: "medium", color: "theme.secondary.1000", align: "center", sx: { width, mt: 0.5 }, children: template == null ? void 0 : template.name }),
|
|
278
|
-
showControls && /* @__PURE__ */ jsx(Fade, { in: isHovered, timeout: 200, children: /* @__PURE__ */ jsxs(
|
|
279
|
-
Box,
|
|
280
|
-
{
|
|
281
|
-
sx: {
|
|
282
|
-
position: "absolute",
|
|
283
|
-
top: -8,
|
|
284
|
-
right: -8,
|
|
285
|
-
display: "flex",
|
|
286
|
-
gap: 0.5,
|
|
287
|
-
zIndex: 4,
|
|
288
|
-
backgroundColor: "rgba(255,255,255,0.95)",
|
|
289
|
-
border: "1px solid",
|
|
290
|
-
borderColor: "grey.300",
|
|
291
|
-
borderRadius: 2,
|
|
292
|
-
padding: 0.5,
|
|
293
|
-
boxShadow: "0 4px 12px rgba(0,0,0,0.15)",
|
|
294
|
-
backdropFilter: "blur(4px)"
|
|
295
|
-
},
|
|
296
|
-
children: [
|
|
297
|
-
/* @__PURE__ */ jsx(Tooltip, { title: `Zoom In (${Math.round(currentScale * 100)}%)`, arrow: true, children: /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(
|
|
298
|
-
IconButton,
|
|
299
|
-
{
|
|
300
|
-
size: "small",
|
|
301
|
-
onClick: handleZoomIn,
|
|
302
|
-
disabled: !canZoomIn,
|
|
303
|
-
sx: {
|
|
304
|
-
backgroundColor: "transparent",
|
|
305
|
-
"&:hover": {
|
|
306
|
-
backgroundColor: "primary.light",
|
|
307
|
-
color: "primary.contrastText"
|
|
308
|
-
},
|
|
309
|
-
"&:disabled": {
|
|
310
|
-
opacity: 0.5
|
|
311
|
-
}
|
|
312
|
-
},
|
|
313
|
-
children: /* @__PURE__ */ jsx(ZoomIn, { fontSize: "small" })
|
|
314
|
-
}
|
|
315
|
-
) }) }),
|
|
316
|
-
/* @__PURE__ */ jsx(Divider, { orientation: "vertical", variant: "middle", flexItem: true }),
|
|
317
|
-
/* @__PURE__ */ jsx(Tooltip, { title: `Zoom Out (${Math.round(currentScale * 100)}%)`, arrow: true, children: /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(
|
|
318
|
-
IconButton,
|
|
319
|
-
{
|
|
320
|
-
size: "small",
|
|
321
|
-
onClick: handleZoomOut,
|
|
322
|
-
disabled: !canZoomOut,
|
|
323
|
-
sx: {
|
|
324
|
-
backgroundColor: "transparent",
|
|
325
|
-
"&:hover": {
|
|
326
|
-
backgroundColor: "primary.light",
|
|
327
|
-
color: "primary.contrastText"
|
|
328
|
-
},
|
|
329
|
-
"&:disabled": {
|
|
330
|
-
opacity: 0.5
|
|
331
|
-
}
|
|
332
|
-
},
|
|
333
|
-
children: /* @__PURE__ */ jsx(ZoomOut, { fontSize: "small" })
|
|
334
|
-
}
|
|
335
|
-
) }) }),
|
|
336
|
-
/* @__PURE__ */ jsx(Divider, { orientation: "vertical", variant: "middle", flexItem: true }),
|
|
337
|
-
/* @__PURE__ */ jsx(Tooltip, { title: "Refresh Preview", arrow: true, children: /* @__PURE__ */ jsx(
|
|
338
|
-
IconButton,
|
|
339
|
-
{
|
|
340
|
-
size: "small",
|
|
341
|
-
onClick: handleRefresh,
|
|
342
|
-
sx: {
|
|
343
|
-
backgroundColor: "transparent",
|
|
344
|
-
"&:hover": {
|
|
345
|
-
backgroundColor: "primary.light",
|
|
346
|
-
color: "primary.contrastText"
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
|
-
children: /* @__PURE__ */ jsx(Refresh, { fontSize: "small" })
|
|
350
|
-
}
|
|
351
|
-
) }),
|
|
352
|
-
onDelete && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
353
|
-
/* @__PURE__ */ jsx(Divider, { orientation: "vertical", variant: "middle", flexItem: true }),
|
|
354
|
-
/* @__PURE__ */ jsx(
|
|
355
|
-
Tooltip,
|
|
356
|
-
{
|
|
357
|
-
title: canDelete ? "Delete Template" : "Cannot delete default template",
|
|
358
|
-
arrow: true,
|
|
359
|
-
children: /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(
|
|
360
|
-
IconButton,
|
|
361
|
-
{
|
|
362
|
-
size: "small",
|
|
363
|
-
onClick: handleDelete,
|
|
364
|
-
disabled: !canDelete,
|
|
365
|
-
sx: {
|
|
366
|
-
backgroundColor: "transparent",
|
|
367
|
-
"&:hover": !canDelete ? {} : {
|
|
368
|
-
backgroundColor: "error.light",
|
|
369
|
-
color: "error.contrastText"
|
|
370
|
-
},
|
|
371
|
-
"&:disabled": {
|
|
372
|
-
opacity: 0.5
|
|
373
|
-
}
|
|
374
|
-
},
|
|
375
|
-
children: /* @__PURE__ */ jsx(Trash, { fontSize: "small" })
|
|
376
|
-
}
|
|
377
|
-
) })
|
|
378
|
-
}
|
|
379
|
-
)
|
|
380
|
-
] })
|
|
381
|
-
]
|
|
382
|
-
}
|
|
383
|
-
) })
|
|
384
|
-
]
|
|
385
|
-
}
|
|
386
|
-
);
|
|
387
|
-
};
|
|
388
|
-
const HtmlThumbnailPreviewFull = ({
|
|
389
|
-
template,
|
|
390
|
-
width = "100%",
|
|
391
|
-
height = 800,
|
|
392
|
-
scale = 0.25,
|
|
393
|
-
showControls = false,
|
|
394
|
-
onClick = null,
|
|
395
|
-
selectedTemplateId = "",
|
|
396
|
-
isFetching = false,
|
|
397
|
-
onDelete,
|
|
398
|
-
normalView = false,
|
|
399
|
-
minScale = 0.1,
|
|
400
|
-
maxScale = 1,
|
|
401
|
-
scaleStep = 1.2,
|
|
402
|
-
loadingDelay = 500,
|
|
403
|
-
refreshDelay = 300
|
|
404
|
-
}) => {
|
|
405
|
-
const [isLoading, setIsLoading] = useState(isFetching || true);
|
|
406
|
-
const [currentScale, setCurrentScale] = useState(scale);
|
|
407
|
-
const [error, setError] = useState(null);
|
|
408
|
-
const [isHovered, setIsHovered] = useState(false);
|
|
409
|
-
const containerRef = useRef(null);
|
|
410
|
-
const contentRef = useRef(null);
|
|
411
|
-
const loadingTimeoutRef = useRef(null);
|
|
412
|
-
const refreshTimeoutRef = useRef(null);
|
|
413
|
-
const [containerPixelWidth, setContainerPixelWidth] = useState(typeof width === "number" ? width : 800);
|
|
414
|
-
useEffect(() => {
|
|
415
|
-
const updateWidth = () => {
|
|
416
|
-
if (containerRef.current) {
|
|
417
|
-
const newWidth = containerRef.current.offsetWidth;
|
|
418
|
-
setContainerPixelWidth(newWidth);
|
|
419
|
-
}
|
|
420
|
-
};
|
|
421
|
-
updateWidth();
|
|
422
|
-
window.addEventListener("resize", updateWidth);
|
|
423
|
-
return () => window.removeEventListener("resize", updateWidth);
|
|
424
|
-
}, []);
|
|
425
|
-
useEffect(() => {
|
|
426
|
-
return () => {
|
|
427
|
-
clearTimeout(loadingTimeoutRef.current);
|
|
428
|
-
clearTimeout(refreshTimeoutRef.current);
|
|
429
|
-
};
|
|
430
|
-
}, []);
|
|
431
|
-
useEffect(() => {
|
|
432
|
-
clearTimeout(loadingTimeoutRef.current);
|
|
433
|
-
loadingTimeoutRef.current = setTimeout(() => setIsLoading(false), loadingDelay);
|
|
434
|
-
return () => clearTimeout(loadingTimeoutRef.current);
|
|
435
|
-
}, [template.contents, loadingDelay]);
|
|
436
|
-
useEffect(() => setIsLoading(isFetching), [isFetching]);
|
|
437
|
-
const handleZoomIn = useCallback(() => setCurrentScale((prev) => Math.min(prev * scaleStep, maxScale)), [scaleStep, maxScale]);
|
|
438
|
-
const handleZoomOut = useCallback(() => setCurrentScale((prev) => Math.max(prev / scaleStep, minScale)), [scaleStep, minScale]);
|
|
439
|
-
const handleRefresh = useCallback(() => {
|
|
440
|
-
setIsLoading(true);
|
|
441
|
-
setError(null);
|
|
442
|
-
clearTimeout(refreshTimeoutRef.current);
|
|
443
|
-
refreshTimeoutRef.current = setTimeout(() => setIsLoading(false), refreshDelay);
|
|
444
|
-
}, [refreshDelay]);
|
|
445
|
-
const handleClick = useCallback(() => {
|
|
446
|
-
if (onClick && !isLoading) onClick(template);
|
|
447
|
-
}, [onClick, template, isLoading]);
|
|
448
|
-
const handleDelete = useCallback((e) => {
|
|
449
|
-
e.stopPropagation();
|
|
450
|
-
if (onDelete && !(template == null ? void 0 : template.is_default)) onDelete(template);
|
|
451
|
-
}, [onDelete, template]);
|
|
452
|
-
const handleMouseEnter = useCallback(() => setIsHovered(true), []);
|
|
453
|
-
const handleMouseLeave = useCallback(() => setIsHovered(false), []);
|
|
454
|
-
if (isLoading) return /* @__PURE__ */ jsx(Box, { sx: { width, height, borderRadius: 1, overflow: "hidden", border: "1px solid", borderColor: "divider" }, children: /* @__PURE__ */ jsx(Skeleton, { variant: "rectangular", width: "100%", height: "100%", animation: "wave" }) });
|
|
455
|
-
if (error) return /* @__PURE__ */ jsx(Box, { sx: {
|
|
456
|
-
width,
|
|
457
|
-
height,
|
|
458
|
-
borderRadius: 1,
|
|
459
|
-
overflow: "hidden",
|
|
460
|
-
border: "1px solid",
|
|
461
|
-
borderColor: "error.main",
|
|
462
|
-
display: "flex",
|
|
463
|
-
alignItems: "center",
|
|
464
|
-
justifyContent: "center",
|
|
465
|
-
backgroundColor: "error.light",
|
|
466
|
-
color: "error.contrastText"
|
|
467
|
-
}, children: "Failed to load template" });
|
|
468
|
-
selectedTemplateId === template._id;
|
|
469
|
-
const canZoomIn = currentScale < maxScale;
|
|
470
|
-
const canZoomOut = currentScale > minScale;
|
|
471
|
-
const canDelete = !(template == null ? void 0 : template.is_default);
|
|
472
|
-
return /* @__PURE__ */ jsxs(
|
|
473
|
-
Box,
|
|
474
|
-
{
|
|
475
|
-
ref: containerRef,
|
|
476
|
-
sx: { position: "relative", width, marginInline: "auto", display: "inline-block" },
|
|
477
|
-
onMouseEnter: handleMouseEnter,
|
|
478
|
-
onMouseLeave: handleMouseLeave,
|
|
479
|
-
children: [
|
|
480
|
-
/* @__PURE__ */ jsxs(
|
|
481
|
-
Box,
|
|
482
|
-
{
|
|
483
|
-
onClick: handleClick,
|
|
484
|
-
sx: (theme) => ({
|
|
485
|
-
width: "100%",
|
|
486
|
-
height,
|
|
487
|
-
marginBlock: 0,
|
|
488
|
-
overflow: "hidden",
|
|
489
|
-
position: "relative",
|
|
490
|
-
backgroundColor: "#fff",
|
|
491
|
-
transition: "all 0.2s ease-in-out",
|
|
492
|
-
"&:hover": onClick ? { boxShadow: "0 4px 16px rgba(0,0,0,0.15)", transform: "translateY(-1px)" } : {}
|
|
493
|
-
}),
|
|
494
|
-
children: [
|
|
495
|
-
/* @__PURE__ */ jsx(
|
|
496
|
-
Box,
|
|
497
|
-
{
|
|
498
|
-
sx: {
|
|
499
|
-
width: "100%",
|
|
500
|
-
height: "100%",
|
|
501
|
-
display: "flex",
|
|
502
|
-
justifyContent: "center",
|
|
503
|
-
alignItems: "center",
|
|
504
|
-
overflow: "auto",
|
|
505
|
-
backgroundColor: "#fff"
|
|
506
|
-
},
|
|
507
|
-
children: /* @__PURE__ */ jsx(
|
|
508
|
-
Box,
|
|
509
|
-
{
|
|
510
|
-
sx: {
|
|
511
|
-
transform: `scale(${currentScale})`,
|
|
512
|
-
transformOrigin: "top left",
|
|
513
|
-
pointerEvents: "none",
|
|
514
|
-
userSelect: "none",
|
|
515
|
-
width: containerPixelWidth,
|
|
516
|
-
height
|
|
517
|
-
},
|
|
518
|
-
children: /* @__PURE__ */ jsx(
|
|
519
|
-
Box,
|
|
520
|
-
{
|
|
521
|
-
ref: contentRef,
|
|
522
|
-
sx: {
|
|
523
|
-
width: "100%",
|
|
524
|
-
height: "100%",
|
|
525
|
-
"& *": { maxWidth: "100% !important", boxSizing: "border-box !important" },
|
|
526
|
-
"& body": { margin: 0, padding: 0, overflow: "hidden" },
|
|
527
|
-
"& img": { maxWidth: "100% !important", height: "auto !important" },
|
|
528
|
-
"& table": { width: "100% !important", tableLayout: "fixed !important" },
|
|
529
|
-
'& *[style*="position: absolute"]': { position: "relative !important" },
|
|
530
|
-
"& .email-container": { width: "85% !important" }
|
|
531
|
-
},
|
|
532
|
-
dangerouslySetInnerHTML: { __html: template.contents }
|
|
533
|
-
}
|
|
534
|
-
)
|
|
535
|
-
}
|
|
536
|
-
)
|
|
537
|
-
}
|
|
538
|
-
),
|
|
539
|
-
(template == null ? void 0 : template.is_default) && /* @__PURE__ */ jsx(Box, { sx: (theme) => ({ position: "absolute", top: 8, left: 8, width: 12, height: 12, borderRadius: "50%", backgroundColor: theme.palette.theme.primary[800], zIndex: 3 }) })
|
|
540
|
-
]
|
|
541
|
-
}
|
|
542
|
-
),
|
|
543
|
-
(template == null ? void 0 : template.name) && /* @__PURE__ */ jsx(Typography, { type: "s3", weight: "medium", color: "theme.secondary.1000", align: "center", sx: { width, mt: 0.5 }, children: template == null ? void 0 : template.name }),
|
|
544
|
-
showControls && /* @__PURE__ */ jsx(Fade, { in: isHovered, timeout: 200, children: /* @__PURE__ */ jsxs(Box, { sx: { position: "absolute", top: -8, right: -8, display: "flex", gap: 0.5, zIndex: 4, backgroundColor: "rgba(255,255,255,0.95)", border: "1px solid", borderColor: "grey.300", borderRadius: 2, padding: 0.5, boxShadow: "0 4px 12px rgba(0,0,0,0.15)", backdropFilter: "blur(4px)" }, children: [
|
|
545
|
-
/* @__PURE__ */ jsx(Tooltip, { title: `Zoom In (${Math.round(currentScale * 100)}%)`, arrow: true, children: /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: handleZoomIn, disabled: !canZoomIn, children: /* @__PURE__ */ jsx(ZoomIn, { fontSize: "small" }) }) }) }),
|
|
546
|
-
/* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true }),
|
|
547
|
-
/* @__PURE__ */ jsx(Tooltip, { title: `Zoom Out (${Math.round(currentScale * 100)}%)`, arrow: true, children: /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: handleZoomOut, disabled: !canZoomOut, children: /* @__PURE__ */ jsx(ZoomOut, { fontSize: "small" }) }) }) }),
|
|
548
|
-
/* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true }),
|
|
549
|
-
/* @__PURE__ */ jsx(Tooltip, { title: "Refresh Preview", arrow: true, children: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: handleRefresh, children: /* @__PURE__ */ jsx(Refresh, { fontSize: "small" }) }) }),
|
|
550
|
-
onDelete && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
551
|
-
/* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true }),
|
|
552
|
-
/* @__PURE__ */ jsx(Tooltip, { title: canDelete ? "Delete Template" : "Cannot delete default template", arrow: true, children: /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: handleDelete, disabled: !canDelete, children: /* @__PURE__ */ jsx(Trash, { fontSize: "small" }) }) }) })
|
|
553
|
-
] })
|
|
554
|
-
] }) })
|
|
555
|
-
]
|
|
556
|
-
}
|
|
557
|
-
);
|
|
558
|
-
};
|
|
559
|
-
const TemplateModal = ({ email, onClose, open, companies = [], templateRoutes, source = "add" }) => {
|
|
560
|
-
var _a;
|
|
561
|
-
const [templates, setTemplates] = useState([]);
|
|
562
|
-
const [selectedTemplate, setSelectedTemplate] = useState("");
|
|
563
|
-
const [defaultTemplate, setDefaultTemplate] = useState("");
|
|
564
|
-
const [loading, setLoding] = useState(true);
|
|
565
|
-
const [selectedCompany, setSelectedCompany] = React__default.useState(((_a = companies == null ? void 0 : companies[0]) == null ? void 0 : _a.id) || 0);
|
|
566
|
-
const [templateToDelete, setTemplateToDelete] = React__default.useState(null);
|
|
567
|
-
const [selectedTemplateForPreview, setSelectedTemplateForPreview] = useState(null);
|
|
568
|
-
const navigate = useNavigate();
|
|
569
|
-
const handleClose = () => {
|
|
570
|
-
onClose();
|
|
571
|
-
};
|
|
572
|
-
const handleViewTemplate = () => {
|
|
573
|
-
navigate(templateRoutes.EDIT_TEMPLATE(email._id, selectedTemplate), {
|
|
574
|
-
state: { company_id: selectedCompany, isViewOnly: true, fromPreview: true }
|
|
575
|
-
});
|
|
576
|
-
};
|
|
577
|
-
const handleTemplateSelect = (id) => {
|
|
578
|
-
if (source === "view") {
|
|
579
|
-
const template = templates.find((t) => (t == null ? void 0 : t._id) === id);
|
|
580
|
-
setSelectedTemplateForPreview(template);
|
|
581
|
-
setSelectedTemplate(id);
|
|
582
|
-
handleViewTemplate();
|
|
583
|
-
} else {
|
|
584
|
-
setSelectedTemplate(id);
|
|
585
|
-
}
|
|
586
|
-
};
|
|
587
|
-
const getTemplatesViaSubject = async () => {
|
|
588
|
-
var _a2;
|
|
589
|
-
setLoding(true);
|
|
590
|
-
const res = await getV1Templates({ ...getToken(), filters: `(company_id.eq=${selectedCompany}&subject_id.eq=${email._id})` });
|
|
591
|
-
if (res == null ? void 0 : res.data) {
|
|
592
|
-
const dTemplate = (_a2 = res == null ? void 0 : res.data) == null ? void 0 : _a2.find((t) => t.is_default === true);
|
|
593
|
-
setDefaultTemplate(dTemplate);
|
|
594
|
-
setSelectedTemplate(dTemplate == null ? void 0 : dTemplate._id);
|
|
595
|
-
setTemplates(res == null ? void 0 : res.data);
|
|
596
|
-
}
|
|
597
|
-
setLoding(false);
|
|
598
|
-
};
|
|
599
|
-
const handleDefaultTemplate = async () => {
|
|
600
|
-
try {
|
|
601
|
-
await patchV1TemplatesIdSetDefault({ ...getToken(), id: selectedTemplate });
|
|
602
|
-
enqueueSnackbar("Template has been set as default");
|
|
603
|
-
} catch (error) {
|
|
604
|
-
const m = getErrorMessage(error == null ? void 0 : error.message);
|
|
605
|
-
enqueueSnackbar(m, { variant: "error" });
|
|
606
|
-
}
|
|
607
|
-
};
|
|
608
|
-
const handleDeleteTemplate = async () => {
|
|
609
|
-
try {
|
|
610
|
-
if (templateToDelete) {
|
|
611
|
-
await deleteV1TemplatesId({ ...getToken(), id: templateToDelete == null ? void 0 : templateToDelete._id });
|
|
612
|
-
enqueueSnackbar("Template has been deleted");
|
|
613
|
-
setTemplateToDelete(null);
|
|
614
|
-
await getTemplatesViaSubject();
|
|
615
|
-
}
|
|
616
|
-
} catch (error) {
|
|
617
|
-
const m = getErrorMessage(error == null ? void 0 : error.message);
|
|
618
|
-
enqueueSnackbar(m, { variant: "error" });
|
|
619
|
-
}
|
|
620
|
-
};
|
|
621
|
-
useEffect(() => {
|
|
622
|
-
getTemplatesViaSubject();
|
|
623
|
-
return () => {
|
|
624
|
-
setLoding(true);
|
|
625
|
-
};
|
|
626
|
-
}, [selectedCompany]);
|
|
627
|
-
return /* @__PURE__ */ jsxs("div", { children: [
|
|
628
|
-
/* @__PURE__ */ jsxs(
|
|
629
|
-
Modal,
|
|
630
|
-
{
|
|
631
|
-
open,
|
|
632
|
-
onClose: handleClose,
|
|
633
|
-
maxWidth: "lg",
|
|
634
|
-
fullWidth: true,
|
|
635
|
-
"aria-labelledby": "email-template-selection",
|
|
636
|
-
sx: {
|
|
637
|
-
"& .MuiDialog-paper": {
|
|
638
|
-
height: "85vh",
|
|
639
|
-
display: "flex",
|
|
640
|
-
flexDirection: "column"
|
|
641
|
-
}
|
|
642
|
-
},
|
|
643
|
-
children: [
|
|
644
|
-
console.log(source, "soure in modal +++++++++++++++++++++++debug"),
|
|
645
|
-
/* @__PURE__ */ jsxs(DialogTitle, { sx: { marginBottom: "1rem", padding: "0.75rem 1rem 0.75rem 1.5rem", borderBottom: "1px solid #D3D3D4" }, children: [
|
|
646
|
-
/* @__PURE__ */ jsxs(Box, { display: "flex", alignItems: "center", gap: 2, children: [
|
|
647
|
-
selectedTemplateForPreview && /* @__PURE__ */ jsx(
|
|
648
|
-
IconButton,
|
|
649
|
-
{
|
|
650
|
-
onClick: () => setSelectedTemplateForPreview(null),
|
|
651
|
-
size: "small",
|
|
652
|
-
sx: { color: (theme) => theme.palette.grey[700] },
|
|
653
|
-
children: /* @__PURE__ */ jsx(Typography, { children: "← Back" })
|
|
654
|
-
}
|
|
655
|
-
),
|
|
656
|
-
/* @__PURE__ */ jsx(Typography, { type: "s1", weight: "medium", color: "theme.secondary.1000", sx: { flex: 1, textAlign: "center" }, children: selectedTemplateForPreview ? "Template Preview" : source === "view" ? "Template Preview" : "Select Template" })
|
|
657
|
-
] }),
|
|
658
|
-
/* @__PURE__ */ jsxs(Box, { display: "flex", alignItems: "center", gap: 1, position: "absolute", right: "1%", top: "4px", children: [
|
|
659
|
-
/* @__PURE__ */ jsx(Typography, { type: "s3", weight: "medium", color: "theme.secondary.800", children: " Company" }),
|
|
660
|
-
/* @__PURE__ */ jsx(
|
|
661
|
-
Select,
|
|
662
|
-
{
|
|
663
|
-
displayEmpty: true,
|
|
664
|
-
value: selectedCompany,
|
|
665
|
-
size: "small",
|
|
666
|
-
renderValue: (value) => {
|
|
667
|
-
var _a2;
|
|
668
|
-
return value ? (_a2 = companies.find((option) => option.value === value)) == null ? void 0 : _a2.label : "Select Company";
|
|
669
|
-
},
|
|
670
|
-
onChange: (e) => {
|
|
671
|
-
if (e.target.value) {
|
|
672
|
-
setSelectedCompany(e.target.value);
|
|
673
|
-
}
|
|
674
|
-
},
|
|
675
|
-
children: companies.map((option) => /* @__PURE__ */ jsx(MenuItem, { value: option.value, children: /* @__PURE__ */ jsx(Typography, { type: "s3", color: "theme.secondary.1000", children: option.label }) }, option.value))
|
|
676
|
-
}
|
|
677
|
-
),
|
|
678
|
-
/* @__PURE__ */ jsx(
|
|
679
|
-
IconButton,
|
|
680
|
-
{
|
|
681
|
-
"aria-label": "close",
|
|
682
|
-
onClick: handleClose,
|
|
683
|
-
size: "small",
|
|
684
|
-
sx: {
|
|
685
|
-
color: (theme) => theme.palette.grey[500]
|
|
686
|
-
},
|
|
687
|
-
children: /* @__PURE__ */ jsx(Close, { fontSize: "small" })
|
|
688
|
-
}
|
|
689
|
-
)
|
|
690
|
-
] })
|
|
691
|
-
] }),
|
|
692
|
-
selectedTemplateForPreview ? /* @__PURE__ */ jsx(DialogContent, { sx: { display: "flex", flexDirection: "column", gap: 3, width: "100%", p: 3, flex: 1, overflow: "auto", scrollbarWidth: "none", msOverflowStyle: "none", "&::-webkit-scrollbar": { display: "none" } }, children: /* @__PURE__ */ jsx(Box, { sx: { width: "100%", display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center", flexShrink: 0 }, children: /* @__PURE__ */ jsx(
|
|
693
|
-
HtmlThumbnailPreviewFull,
|
|
694
|
-
{
|
|
695
|
-
template: selectedTemplateForPreview,
|
|
696
|
-
width: "100%",
|
|
697
|
-
height: 600,
|
|
698
|
-
scale: 1,
|
|
699
|
-
showControls: true,
|
|
700
|
-
isFetching: loading,
|
|
701
|
-
normalView: true
|
|
702
|
-
}
|
|
703
|
-
) }) }) : /* @__PURE__ */ jsxs(DialogContent, { sx: { flex: 1, overflow: "auto", display: "flex", flexDirection: "column", scrollbarWidth: "none", msOverflowStyle: "none", "&::-webkit-scrollbar": { display: "none" } }, children: [
|
|
704
|
-
!templates.length && // <Grid item xs={12} sx={{ minHeight: 350}}>
|
|
705
|
-
/* @__PURE__ */ jsx(Box, { display: "flex", alignItems: "center", width: "100%", height: "100%", justifyContent: "center", children: !loading && /* @__PURE__ */ jsx(Typography, { type: "s1", weight: "medium", color: "theme.secondary.1000", sx: { textAlign: "center" }, children: "No templates found" }) }),
|
|
706
|
-
/* @__PURE__ */ jsx(Box, { sx: {
|
|
707
|
-
display: "grid",
|
|
708
|
-
gridTemplateColumns: "repeat(auto-fill, minmax(300px, 1fr))",
|
|
709
|
-
gap: 2,
|
|
710
|
-
p: 2,
|
|
711
|
-
justifyItems: "center",
|
|
712
|
-
alignItems: "center"
|
|
713
|
-
}, children: templates.map((template, index) => /* @__PURE__ */ jsx(
|
|
714
|
-
HtmlThumbnailPreview,
|
|
715
|
-
{
|
|
716
|
-
template,
|
|
717
|
-
width: 300,
|
|
718
|
-
height: 200,
|
|
719
|
-
showControls: source === "add",
|
|
720
|
-
selectedTemplateId: selectedTemplate,
|
|
721
|
-
onClick: (template2) => {
|
|
722
|
-
handleTemplateSelect(template2._id);
|
|
723
|
-
},
|
|
724
|
-
normalView: source === "add",
|
|
725
|
-
isFetching: loading,
|
|
726
|
-
onDelete: (template2) => setTemplateToDelete(template2)
|
|
727
|
-
},
|
|
728
|
-
template._id || index
|
|
729
|
-
)) })
|
|
730
|
-
] }),
|
|
731
|
-
source === "add" && /* @__PURE__ */ jsxs(DialogActions, { sx: { p: 2, justifyContent: "center", borderTop: "1px solid #D3D3D4" }, children: [
|
|
732
|
-
/* @__PURE__ */ jsx(
|
|
733
|
-
Button,
|
|
734
|
-
{
|
|
735
|
-
onClick: () => navigate(templateRoutes.EDIT_TEMPLATE(email._id, selectedTemplate), { state: { company_id: selectedCompany } }),
|
|
736
|
-
disabled: !selectedTemplate,
|
|
737
|
-
children: "Continue"
|
|
738
|
-
}
|
|
739
|
-
),
|
|
740
|
-
/* @__PURE__ */ jsx(
|
|
741
|
-
Button,
|
|
742
|
-
{
|
|
743
|
-
onClick: () => handleDefaultTemplate(),
|
|
744
|
-
disabled: !selectedTemplate || (defaultTemplate == null ? void 0 : defaultTemplate._id) === selectedTemplate,
|
|
745
|
-
children: "Set to Default"
|
|
746
|
-
}
|
|
747
|
-
)
|
|
748
|
-
] })
|
|
749
|
-
]
|
|
750
|
-
}
|
|
751
|
-
),
|
|
752
|
-
/* @__PURE__ */ jsx(
|
|
753
|
-
ConfirmPopUp,
|
|
754
|
-
{
|
|
755
|
-
open: templateToDelete !== null,
|
|
756
|
-
onClose: () => setTemplateToDelete(null),
|
|
757
|
-
title: "Remove Template",
|
|
758
|
-
description: "Are you sure you want to delete ?",
|
|
759
|
-
onConfirm: () => handleDeleteTemplate(),
|
|
760
|
-
loading
|
|
761
|
-
}
|
|
762
|
-
)
|
|
763
|
-
] });
|
|
764
|
-
};
|
|
765
|
-
export {
|
|
766
|
-
HtmlThumbnailPreview as H,
|
|
767
|
-
TemplateModal as T
|
|
768
|
-
};
|
|
769
|
-
//# sourceMappingURL=template-modal-CPDYTASx.esm.js.map
|