@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
|
@@ -0,0 +1,892 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
+
const index = require("./index-CGCqvPs3.js");
|
|
4
|
+
const React$1 = require("react");
|
|
5
|
+
function _interopDefault$1(ex) {
|
|
6
|
+
return ex && typeof ex === "object" && "default" in ex ? ex["default"] : ex;
|
|
7
|
+
}
|
|
8
|
+
var React = React$1;
|
|
9
|
+
var React__default = _interopDefault$1(React);
|
|
10
|
+
function _defineProperty(obj, key, value) {
|
|
11
|
+
if (key in obj) {
|
|
12
|
+
Object.defineProperty(obj, key, {
|
|
13
|
+
value,
|
|
14
|
+
enumerable: true,
|
|
15
|
+
configurable: true,
|
|
16
|
+
writable: true
|
|
17
|
+
});
|
|
18
|
+
} else {
|
|
19
|
+
obj[key] = value;
|
|
20
|
+
}
|
|
21
|
+
return obj;
|
|
22
|
+
}
|
|
23
|
+
function _inheritsLoose(subClass, superClass) {
|
|
24
|
+
subClass.prototype = Object.create(superClass.prototype);
|
|
25
|
+
subClass.prototype.constructor = subClass;
|
|
26
|
+
subClass.__proto__ = superClass;
|
|
27
|
+
}
|
|
28
|
+
var canUseDOM = !!(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
29
|
+
function withSideEffect$1(reducePropsToState3, handleStateChangeOnClient, mapStateOnServer3) {
|
|
30
|
+
if (typeof reducePropsToState3 !== "function") {
|
|
31
|
+
throw new Error("Expected reducePropsToState to be a function.");
|
|
32
|
+
}
|
|
33
|
+
if (typeof handleStateChangeOnClient !== "function") {
|
|
34
|
+
throw new Error("Expected handleStateChangeOnClient to be a function.");
|
|
35
|
+
}
|
|
36
|
+
if (typeof mapStateOnServer3 !== "undefined" && typeof mapStateOnServer3 !== "function") {
|
|
37
|
+
throw new Error("Expected mapStateOnServer to either be undefined or a function.");
|
|
38
|
+
}
|
|
39
|
+
function getDisplayName(WrappedComponent) {
|
|
40
|
+
return WrappedComponent.displayName || WrappedComponent.name || "Component";
|
|
41
|
+
}
|
|
42
|
+
return function wrap(WrappedComponent) {
|
|
43
|
+
if (typeof WrappedComponent !== "function") {
|
|
44
|
+
throw new Error("Expected WrappedComponent to be a React component.");
|
|
45
|
+
}
|
|
46
|
+
var mountedInstances = [];
|
|
47
|
+
var state;
|
|
48
|
+
function emitChange() {
|
|
49
|
+
state = reducePropsToState3(mountedInstances.map(function(instance) {
|
|
50
|
+
return instance.props;
|
|
51
|
+
}));
|
|
52
|
+
if (SideEffect.canUseDOM) {
|
|
53
|
+
handleStateChangeOnClient(state);
|
|
54
|
+
} else if (mapStateOnServer3) {
|
|
55
|
+
state = mapStateOnServer3(state);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
var SideEffect = /* @__PURE__ */ function(_PureComponent) {
|
|
59
|
+
_inheritsLoose(SideEffect2, _PureComponent);
|
|
60
|
+
function SideEffect2() {
|
|
61
|
+
return _PureComponent.apply(this, arguments) || this;
|
|
62
|
+
}
|
|
63
|
+
SideEffect2.peek = function peek() {
|
|
64
|
+
return state;
|
|
65
|
+
};
|
|
66
|
+
SideEffect2.rewind = function rewind() {
|
|
67
|
+
if (SideEffect2.canUseDOM) {
|
|
68
|
+
throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");
|
|
69
|
+
}
|
|
70
|
+
var recordedState = state;
|
|
71
|
+
state = void 0;
|
|
72
|
+
mountedInstances = [];
|
|
73
|
+
return recordedState;
|
|
74
|
+
};
|
|
75
|
+
var _proto = SideEffect2.prototype;
|
|
76
|
+
_proto.UNSAFE_componentWillMount = function UNSAFE_componentWillMount() {
|
|
77
|
+
mountedInstances.push(this);
|
|
78
|
+
emitChange();
|
|
79
|
+
};
|
|
80
|
+
_proto.componentDidUpdate = function componentDidUpdate() {
|
|
81
|
+
emitChange();
|
|
82
|
+
};
|
|
83
|
+
_proto.componentWillUnmount = function componentWillUnmount() {
|
|
84
|
+
var index2 = mountedInstances.indexOf(this);
|
|
85
|
+
mountedInstances.splice(index2, 1);
|
|
86
|
+
emitChange();
|
|
87
|
+
};
|
|
88
|
+
_proto.render = function render() {
|
|
89
|
+
return React__default.createElement(WrappedComponent, this.props);
|
|
90
|
+
};
|
|
91
|
+
return SideEffect2;
|
|
92
|
+
}(React.PureComponent);
|
|
93
|
+
_defineProperty(SideEffect, "displayName", "SideEffect(" + getDisplayName(WrappedComponent) + ")");
|
|
94
|
+
_defineProperty(SideEffect, "canUseDOM", canUseDOM);
|
|
95
|
+
return SideEffect;
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
var lib = withSideEffect$1;
|
|
99
|
+
const withSideEffect = /* @__PURE__ */ index.getDefaultExportFromCjs(lib);
|
|
100
|
+
var hasElementType = typeof Element !== "undefined";
|
|
101
|
+
var hasMap = typeof Map === "function";
|
|
102
|
+
var hasSet = typeof Set === "function";
|
|
103
|
+
var hasArrayBuffer = typeof ArrayBuffer === "function" && !!ArrayBuffer.isView;
|
|
104
|
+
function equal(a, b) {
|
|
105
|
+
if (a === b) return true;
|
|
106
|
+
if (a && b && typeof a == "object" && typeof b == "object") {
|
|
107
|
+
if (a.constructor !== b.constructor) return false;
|
|
108
|
+
var length, i, keys;
|
|
109
|
+
if (Array.isArray(a)) {
|
|
110
|
+
length = a.length;
|
|
111
|
+
if (length != b.length) return false;
|
|
112
|
+
for (i = length; i-- !== 0; )
|
|
113
|
+
if (!equal(a[i], b[i])) return false;
|
|
114
|
+
return true;
|
|
115
|
+
}
|
|
116
|
+
var it;
|
|
117
|
+
if (hasMap && a instanceof Map && b instanceof Map) {
|
|
118
|
+
if (a.size !== b.size) return false;
|
|
119
|
+
it = a.entries();
|
|
120
|
+
while (!(i = it.next()).done)
|
|
121
|
+
if (!b.has(i.value[0])) return false;
|
|
122
|
+
it = a.entries();
|
|
123
|
+
while (!(i = it.next()).done)
|
|
124
|
+
if (!equal(i.value[1], b.get(i.value[0]))) return false;
|
|
125
|
+
return true;
|
|
126
|
+
}
|
|
127
|
+
if (hasSet && a instanceof Set && b instanceof Set) {
|
|
128
|
+
if (a.size !== b.size) return false;
|
|
129
|
+
it = a.entries();
|
|
130
|
+
while (!(i = it.next()).done)
|
|
131
|
+
if (!b.has(i.value[0])) return false;
|
|
132
|
+
return true;
|
|
133
|
+
}
|
|
134
|
+
if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
|
|
135
|
+
length = a.length;
|
|
136
|
+
if (length != b.length) return false;
|
|
137
|
+
for (i = length; i-- !== 0; )
|
|
138
|
+
if (a[i] !== b[i]) return false;
|
|
139
|
+
return true;
|
|
140
|
+
}
|
|
141
|
+
if (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;
|
|
142
|
+
if (a.valueOf !== Object.prototype.valueOf && typeof a.valueOf === "function" && typeof b.valueOf === "function") return a.valueOf() === b.valueOf();
|
|
143
|
+
if (a.toString !== Object.prototype.toString && typeof a.toString === "function" && typeof b.toString === "function") return a.toString() === b.toString();
|
|
144
|
+
keys = Object.keys(a);
|
|
145
|
+
length = keys.length;
|
|
146
|
+
if (length !== Object.keys(b).length) return false;
|
|
147
|
+
for (i = length; i-- !== 0; )
|
|
148
|
+
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
149
|
+
if (hasElementType && a instanceof Element) return false;
|
|
150
|
+
for (i = length; i-- !== 0; ) {
|
|
151
|
+
if ((keys[i] === "_owner" || keys[i] === "__v" || keys[i] === "__o") && a.$$typeof) {
|
|
152
|
+
continue;
|
|
153
|
+
}
|
|
154
|
+
if (!equal(a[keys[i]], b[keys[i]])) return false;
|
|
155
|
+
}
|
|
156
|
+
return true;
|
|
157
|
+
}
|
|
158
|
+
return a !== a && b !== b;
|
|
159
|
+
}
|
|
160
|
+
var reactFastCompare = function isEqual(a, b) {
|
|
161
|
+
try {
|
|
162
|
+
return equal(a, b);
|
|
163
|
+
} catch (error) {
|
|
164
|
+
if ((error.message || "").match(/stack|recursion/i)) {
|
|
165
|
+
console.warn("react-fast-compare cannot handle circular refs");
|
|
166
|
+
return false;
|
|
167
|
+
}
|
|
168
|
+
throw error;
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
const isEqual2 = /* @__PURE__ */ index.getDefaultExportFromCjs(reactFastCompare);
|
|
172
|
+
var objectAssignExports = index.requireObjectAssign();
|
|
173
|
+
const objectAssign = /* @__PURE__ */ index.getDefaultExportFromCjs(objectAssignExports);
|
|
174
|
+
var ATTRIBUTE_NAMES = {
|
|
175
|
+
BODY: "bodyAttributes",
|
|
176
|
+
HTML: "htmlAttributes",
|
|
177
|
+
TITLE: "titleAttributes"
|
|
178
|
+
};
|
|
179
|
+
var TAG_NAMES = {
|
|
180
|
+
BASE: "base",
|
|
181
|
+
BODY: "body",
|
|
182
|
+
HEAD: "head",
|
|
183
|
+
HTML: "html",
|
|
184
|
+
LINK: "link",
|
|
185
|
+
META: "meta",
|
|
186
|
+
NOSCRIPT: "noscript",
|
|
187
|
+
SCRIPT: "script",
|
|
188
|
+
STYLE: "style",
|
|
189
|
+
TITLE: "title"
|
|
190
|
+
};
|
|
191
|
+
var VALID_TAG_NAMES = Object.keys(TAG_NAMES).map(function(name) {
|
|
192
|
+
return TAG_NAMES[name];
|
|
193
|
+
});
|
|
194
|
+
var TAG_PROPERTIES = {
|
|
195
|
+
CHARSET: "charset",
|
|
196
|
+
CSS_TEXT: "cssText",
|
|
197
|
+
HREF: "href",
|
|
198
|
+
HTTPEQUIV: "http-equiv",
|
|
199
|
+
INNER_HTML: "innerHTML",
|
|
200
|
+
ITEM_PROP: "itemprop",
|
|
201
|
+
NAME: "name",
|
|
202
|
+
PROPERTY: "property",
|
|
203
|
+
REL: "rel",
|
|
204
|
+
SRC: "src",
|
|
205
|
+
TARGET: "target"
|
|
206
|
+
};
|
|
207
|
+
var REACT_TAG_MAP = {
|
|
208
|
+
accesskey: "accessKey",
|
|
209
|
+
charset: "charSet",
|
|
210
|
+
class: "className",
|
|
211
|
+
contenteditable: "contentEditable",
|
|
212
|
+
contextmenu: "contextMenu",
|
|
213
|
+
"http-equiv": "httpEquiv",
|
|
214
|
+
itemprop: "itemProp",
|
|
215
|
+
tabindex: "tabIndex"
|
|
216
|
+
};
|
|
217
|
+
var HELMET_PROPS = {
|
|
218
|
+
DEFAULT_TITLE: "defaultTitle",
|
|
219
|
+
DEFER: "defer",
|
|
220
|
+
ENCODE_SPECIAL_CHARACTERS: "encodeSpecialCharacters",
|
|
221
|
+
ON_CHANGE_CLIENT_STATE: "onChangeClientState",
|
|
222
|
+
TITLE_TEMPLATE: "titleTemplate"
|
|
223
|
+
};
|
|
224
|
+
var HTML_TAG_MAP = Object.keys(REACT_TAG_MAP).reduce(function(obj, key) {
|
|
225
|
+
obj[REACT_TAG_MAP[key]] = key;
|
|
226
|
+
return obj;
|
|
227
|
+
}, {});
|
|
228
|
+
var SELF_CLOSING_TAGS = [TAG_NAMES.NOSCRIPT, TAG_NAMES.SCRIPT, TAG_NAMES.STYLE];
|
|
229
|
+
var HELMET_ATTRIBUTE = "data-react-helmet";
|
|
230
|
+
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function(obj) {
|
|
231
|
+
return typeof obj;
|
|
232
|
+
} : function(obj) {
|
|
233
|
+
return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
|
|
234
|
+
};
|
|
235
|
+
var classCallCheck = function(instance, Constructor) {
|
|
236
|
+
if (!(instance instanceof Constructor)) {
|
|
237
|
+
throw new TypeError("Cannot call a class as a function");
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
var createClass = /* @__PURE__ */ function() {
|
|
241
|
+
function defineProperties(target, props) {
|
|
242
|
+
for (var i = 0; i < props.length; i++) {
|
|
243
|
+
var descriptor = props[i];
|
|
244
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
245
|
+
descriptor.configurable = true;
|
|
246
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
247
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
return function(Constructor, protoProps, staticProps) {
|
|
251
|
+
if (protoProps) defineProperties(Constructor.prototype, protoProps);
|
|
252
|
+
if (staticProps) defineProperties(Constructor, staticProps);
|
|
253
|
+
return Constructor;
|
|
254
|
+
};
|
|
255
|
+
}();
|
|
256
|
+
var _extends = Object.assign || function(target) {
|
|
257
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
258
|
+
var source = arguments[i];
|
|
259
|
+
for (var key in source) {
|
|
260
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
261
|
+
target[key] = source[key];
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
return target;
|
|
266
|
+
};
|
|
267
|
+
var inherits = function(subClass, superClass) {
|
|
268
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
269
|
+
throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
|
|
270
|
+
}
|
|
271
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
272
|
+
constructor: {
|
|
273
|
+
value: subClass,
|
|
274
|
+
enumerable: false,
|
|
275
|
+
writable: true,
|
|
276
|
+
configurable: true
|
|
277
|
+
}
|
|
278
|
+
});
|
|
279
|
+
if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
|
|
280
|
+
};
|
|
281
|
+
var objectWithoutProperties = function(obj, keys) {
|
|
282
|
+
var target = {};
|
|
283
|
+
for (var i in obj) {
|
|
284
|
+
if (keys.indexOf(i) >= 0) continue;
|
|
285
|
+
if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;
|
|
286
|
+
target[i] = obj[i];
|
|
287
|
+
}
|
|
288
|
+
return target;
|
|
289
|
+
};
|
|
290
|
+
var possibleConstructorReturn = function(self, call) {
|
|
291
|
+
if (!self) {
|
|
292
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
293
|
+
}
|
|
294
|
+
return call && (typeof call === "object" || typeof call === "function") ? call : self;
|
|
295
|
+
};
|
|
296
|
+
var encodeSpecialCharacters = function encodeSpecialCharacters2(str) {
|
|
297
|
+
var encode = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : true;
|
|
298
|
+
if (encode === false) {
|
|
299
|
+
return String(str);
|
|
300
|
+
}
|
|
301
|
+
return String(str).replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
302
|
+
};
|
|
303
|
+
var getTitleFromPropsList = function getTitleFromPropsList2(propsList) {
|
|
304
|
+
var innermostTitle = getInnermostProperty(propsList, TAG_NAMES.TITLE);
|
|
305
|
+
var innermostTemplate = getInnermostProperty(propsList, HELMET_PROPS.TITLE_TEMPLATE);
|
|
306
|
+
if (innermostTemplate && innermostTitle) {
|
|
307
|
+
return innermostTemplate.replace(/%s/g, function() {
|
|
308
|
+
return Array.isArray(innermostTitle) ? innermostTitle.join("") : innermostTitle;
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
var innermostDefaultTitle = getInnermostProperty(propsList, HELMET_PROPS.DEFAULT_TITLE);
|
|
312
|
+
return innermostTitle || innermostDefaultTitle || void 0;
|
|
313
|
+
};
|
|
314
|
+
var getOnChangeClientState = function getOnChangeClientState2(propsList) {
|
|
315
|
+
return getInnermostProperty(propsList, HELMET_PROPS.ON_CHANGE_CLIENT_STATE) || function() {
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
var getAttributesFromPropsList = function getAttributesFromPropsList2(tagType, propsList) {
|
|
319
|
+
return propsList.filter(function(props) {
|
|
320
|
+
return typeof props[tagType] !== "undefined";
|
|
321
|
+
}).map(function(props) {
|
|
322
|
+
return props[tagType];
|
|
323
|
+
}).reduce(function(tagAttrs, current) {
|
|
324
|
+
return _extends({}, tagAttrs, current);
|
|
325
|
+
}, {});
|
|
326
|
+
};
|
|
327
|
+
var getBaseTagFromPropsList = function getBaseTagFromPropsList2(primaryAttributes, propsList) {
|
|
328
|
+
return propsList.filter(function(props) {
|
|
329
|
+
return typeof props[TAG_NAMES.BASE] !== "undefined";
|
|
330
|
+
}).map(function(props) {
|
|
331
|
+
return props[TAG_NAMES.BASE];
|
|
332
|
+
}).reverse().reduce(function(innermostBaseTag, tag) {
|
|
333
|
+
if (!innermostBaseTag.length) {
|
|
334
|
+
var keys = Object.keys(tag);
|
|
335
|
+
for (var i = 0; i < keys.length; i++) {
|
|
336
|
+
var attributeKey = keys[i];
|
|
337
|
+
var lowerCaseAttributeKey = attributeKey.toLowerCase();
|
|
338
|
+
if (primaryAttributes.indexOf(lowerCaseAttributeKey) !== -1 && tag[lowerCaseAttributeKey]) {
|
|
339
|
+
return innermostBaseTag.concat(tag);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
return innermostBaseTag;
|
|
344
|
+
}, []);
|
|
345
|
+
};
|
|
346
|
+
var getTagsFromPropsList = function getTagsFromPropsList2(tagName, primaryAttributes, propsList) {
|
|
347
|
+
var approvedSeenTags = {};
|
|
348
|
+
return propsList.filter(function(props) {
|
|
349
|
+
if (Array.isArray(props[tagName])) {
|
|
350
|
+
return true;
|
|
351
|
+
}
|
|
352
|
+
if (typeof props[tagName] !== "undefined") {
|
|
353
|
+
warn("Helmet: " + tagName + ' should be of type "Array". Instead found type "' + _typeof(props[tagName]) + '"');
|
|
354
|
+
}
|
|
355
|
+
return false;
|
|
356
|
+
}).map(function(props) {
|
|
357
|
+
return props[tagName];
|
|
358
|
+
}).reverse().reduce(function(approvedTags, instanceTags) {
|
|
359
|
+
var instanceSeenTags = {};
|
|
360
|
+
instanceTags.filter(function(tag) {
|
|
361
|
+
var primaryAttributeKey = void 0;
|
|
362
|
+
var keys2 = Object.keys(tag);
|
|
363
|
+
for (var i2 = 0; i2 < keys2.length; i2++) {
|
|
364
|
+
var attributeKey2 = keys2[i2];
|
|
365
|
+
var lowerCaseAttributeKey = attributeKey2.toLowerCase();
|
|
366
|
+
if (primaryAttributes.indexOf(lowerCaseAttributeKey) !== -1 && !(primaryAttributeKey === TAG_PROPERTIES.REL && tag[primaryAttributeKey].toLowerCase() === "canonical") && !(lowerCaseAttributeKey === TAG_PROPERTIES.REL && tag[lowerCaseAttributeKey].toLowerCase() === "stylesheet")) {
|
|
367
|
+
primaryAttributeKey = lowerCaseAttributeKey;
|
|
368
|
+
}
|
|
369
|
+
if (primaryAttributes.indexOf(attributeKey2) !== -1 && (attributeKey2 === TAG_PROPERTIES.INNER_HTML || attributeKey2 === TAG_PROPERTIES.CSS_TEXT || attributeKey2 === TAG_PROPERTIES.ITEM_PROP)) {
|
|
370
|
+
primaryAttributeKey = attributeKey2;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
if (!primaryAttributeKey || !tag[primaryAttributeKey]) {
|
|
374
|
+
return false;
|
|
375
|
+
}
|
|
376
|
+
var value = tag[primaryAttributeKey].toLowerCase();
|
|
377
|
+
if (!approvedSeenTags[primaryAttributeKey]) {
|
|
378
|
+
approvedSeenTags[primaryAttributeKey] = {};
|
|
379
|
+
}
|
|
380
|
+
if (!instanceSeenTags[primaryAttributeKey]) {
|
|
381
|
+
instanceSeenTags[primaryAttributeKey] = {};
|
|
382
|
+
}
|
|
383
|
+
if (!approvedSeenTags[primaryAttributeKey][value]) {
|
|
384
|
+
instanceSeenTags[primaryAttributeKey][value] = true;
|
|
385
|
+
return true;
|
|
386
|
+
}
|
|
387
|
+
return false;
|
|
388
|
+
}).reverse().forEach(function(tag) {
|
|
389
|
+
return approvedTags.push(tag);
|
|
390
|
+
});
|
|
391
|
+
var keys = Object.keys(instanceSeenTags);
|
|
392
|
+
for (var i = 0; i < keys.length; i++) {
|
|
393
|
+
var attributeKey = keys[i];
|
|
394
|
+
var tagUnion = objectAssign({}, approvedSeenTags[attributeKey], instanceSeenTags[attributeKey]);
|
|
395
|
+
approvedSeenTags[attributeKey] = tagUnion;
|
|
396
|
+
}
|
|
397
|
+
return approvedTags;
|
|
398
|
+
}, []).reverse();
|
|
399
|
+
};
|
|
400
|
+
var getInnermostProperty = function getInnermostProperty2(propsList, property) {
|
|
401
|
+
for (var i = propsList.length - 1; i >= 0; i--) {
|
|
402
|
+
var props = propsList[i];
|
|
403
|
+
if (props.hasOwnProperty(property)) {
|
|
404
|
+
return props[property];
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
return null;
|
|
408
|
+
};
|
|
409
|
+
var reducePropsToState = function reducePropsToState2(propsList) {
|
|
410
|
+
return {
|
|
411
|
+
baseTag: getBaseTagFromPropsList([TAG_PROPERTIES.HREF, TAG_PROPERTIES.TARGET], propsList),
|
|
412
|
+
bodyAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.BODY, propsList),
|
|
413
|
+
defer: getInnermostProperty(propsList, HELMET_PROPS.DEFER),
|
|
414
|
+
encode: getInnermostProperty(propsList, HELMET_PROPS.ENCODE_SPECIAL_CHARACTERS),
|
|
415
|
+
htmlAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.HTML, propsList),
|
|
416
|
+
linkTags: getTagsFromPropsList(TAG_NAMES.LINK, [TAG_PROPERTIES.REL, TAG_PROPERTIES.HREF], propsList),
|
|
417
|
+
metaTags: getTagsFromPropsList(TAG_NAMES.META, [TAG_PROPERTIES.NAME, TAG_PROPERTIES.CHARSET, TAG_PROPERTIES.HTTPEQUIV, TAG_PROPERTIES.PROPERTY, TAG_PROPERTIES.ITEM_PROP], propsList),
|
|
418
|
+
noscriptTags: getTagsFromPropsList(TAG_NAMES.NOSCRIPT, [TAG_PROPERTIES.INNER_HTML], propsList),
|
|
419
|
+
onChangeClientState: getOnChangeClientState(propsList),
|
|
420
|
+
scriptTags: getTagsFromPropsList(TAG_NAMES.SCRIPT, [TAG_PROPERTIES.SRC, TAG_PROPERTIES.INNER_HTML], propsList),
|
|
421
|
+
styleTags: getTagsFromPropsList(TAG_NAMES.STYLE, [TAG_PROPERTIES.CSS_TEXT], propsList),
|
|
422
|
+
title: getTitleFromPropsList(propsList),
|
|
423
|
+
titleAttributes: getAttributesFromPropsList(ATTRIBUTE_NAMES.TITLE, propsList)
|
|
424
|
+
};
|
|
425
|
+
};
|
|
426
|
+
var rafPolyfill = function() {
|
|
427
|
+
var clock = Date.now();
|
|
428
|
+
return function(callback) {
|
|
429
|
+
var currentTime = Date.now();
|
|
430
|
+
if (currentTime - clock > 16) {
|
|
431
|
+
clock = currentTime;
|
|
432
|
+
callback(currentTime);
|
|
433
|
+
} else {
|
|
434
|
+
setTimeout(function() {
|
|
435
|
+
rafPolyfill(callback);
|
|
436
|
+
}, 0);
|
|
437
|
+
}
|
|
438
|
+
};
|
|
439
|
+
}();
|
|
440
|
+
var cafPolyfill = function cafPolyfill2(id) {
|
|
441
|
+
return clearTimeout(id);
|
|
442
|
+
};
|
|
443
|
+
var requestAnimationFrame = typeof window !== "undefined" ? window.requestAnimationFrame && window.requestAnimationFrame.bind(window) || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || rafPolyfill : global.requestAnimationFrame || rafPolyfill;
|
|
444
|
+
var cancelAnimationFrame = typeof window !== "undefined" ? window.cancelAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame || cafPolyfill : global.cancelAnimationFrame || cafPolyfill;
|
|
445
|
+
var warn = function warn2(msg) {
|
|
446
|
+
return console && typeof console.warn === "function" && console.warn(msg);
|
|
447
|
+
};
|
|
448
|
+
var _helmetCallback = null;
|
|
449
|
+
var handleClientStateChange = function handleClientStateChange2(newState) {
|
|
450
|
+
if (_helmetCallback) {
|
|
451
|
+
cancelAnimationFrame(_helmetCallback);
|
|
452
|
+
}
|
|
453
|
+
if (newState.defer) {
|
|
454
|
+
_helmetCallback = requestAnimationFrame(function() {
|
|
455
|
+
commitTagChanges(newState, function() {
|
|
456
|
+
_helmetCallback = null;
|
|
457
|
+
});
|
|
458
|
+
});
|
|
459
|
+
} else {
|
|
460
|
+
commitTagChanges(newState);
|
|
461
|
+
_helmetCallback = null;
|
|
462
|
+
}
|
|
463
|
+
};
|
|
464
|
+
var commitTagChanges = function commitTagChanges2(newState, cb) {
|
|
465
|
+
var baseTag = newState.baseTag, bodyAttributes = newState.bodyAttributes, htmlAttributes = newState.htmlAttributes, linkTags = newState.linkTags, metaTags = newState.metaTags, noscriptTags = newState.noscriptTags, onChangeClientState = newState.onChangeClientState, scriptTags = newState.scriptTags, styleTags = newState.styleTags, title = newState.title, titleAttributes = newState.titleAttributes;
|
|
466
|
+
updateAttributes(TAG_NAMES.BODY, bodyAttributes);
|
|
467
|
+
updateAttributes(TAG_NAMES.HTML, htmlAttributes);
|
|
468
|
+
updateTitle(title, titleAttributes);
|
|
469
|
+
var tagUpdates = {
|
|
470
|
+
baseTag: updateTags(TAG_NAMES.BASE, baseTag),
|
|
471
|
+
linkTags: updateTags(TAG_NAMES.LINK, linkTags),
|
|
472
|
+
metaTags: updateTags(TAG_NAMES.META, metaTags),
|
|
473
|
+
noscriptTags: updateTags(TAG_NAMES.NOSCRIPT, noscriptTags),
|
|
474
|
+
scriptTags: updateTags(TAG_NAMES.SCRIPT, scriptTags),
|
|
475
|
+
styleTags: updateTags(TAG_NAMES.STYLE, styleTags)
|
|
476
|
+
};
|
|
477
|
+
var addedTags = {};
|
|
478
|
+
var removedTags = {};
|
|
479
|
+
Object.keys(tagUpdates).forEach(function(tagType) {
|
|
480
|
+
var _tagUpdates$tagType = tagUpdates[tagType], newTags = _tagUpdates$tagType.newTags, oldTags = _tagUpdates$tagType.oldTags;
|
|
481
|
+
if (newTags.length) {
|
|
482
|
+
addedTags[tagType] = newTags;
|
|
483
|
+
}
|
|
484
|
+
if (oldTags.length) {
|
|
485
|
+
removedTags[tagType] = tagUpdates[tagType].oldTags;
|
|
486
|
+
}
|
|
487
|
+
});
|
|
488
|
+
cb && cb();
|
|
489
|
+
onChangeClientState(newState, addedTags, removedTags);
|
|
490
|
+
};
|
|
491
|
+
var flattenArray = function flattenArray2(possibleArray) {
|
|
492
|
+
return Array.isArray(possibleArray) ? possibleArray.join("") : possibleArray;
|
|
493
|
+
};
|
|
494
|
+
var updateTitle = function updateTitle2(title, attributes) {
|
|
495
|
+
if (typeof title !== "undefined" && document.title !== title) {
|
|
496
|
+
document.title = flattenArray(title);
|
|
497
|
+
}
|
|
498
|
+
updateAttributes(TAG_NAMES.TITLE, attributes);
|
|
499
|
+
};
|
|
500
|
+
var updateAttributes = function updateAttributes2(tagName, attributes) {
|
|
501
|
+
var elementTag = document.getElementsByTagName(tagName)[0];
|
|
502
|
+
if (!elementTag) {
|
|
503
|
+
return;
|
|
504
|
+
}
|
|
505
|
+
var helmetAttributeString = elementTag.getAttribute(HELMET_ATTRIBUTE);
|
|
506
|
+
var helmetAttributes = helmetAttributeString ? helmetAttributeString.split(",") : [];
|
|
507
|
+
var attributesToRemove = [].concat(helmetAttributes);
|
|
508
|
+
var attributeKeys = Object.keys(attributes);
|
|
509
|
+
for (var i = 0; i < attributeKeys.length; i++) {
|
|
510
|
+
var attribute = attributeKeys[i];
|
|
511
|
+
var value = attributes[attribute] || "";
|
|
512
|
+
if (elementTag.getAttribute(attribute) !== value) {
|
|
513
|
+
elementTag.setAttribute(attribute, value);
|
|
514
|
+
}
|
|
515
|
+
if (helmetAttributes.indexOf(attribute) === -1) {
|
|
516
|
+
helmetAttributes.push(attribute);
|
|
517
|
+
}
|
|
518
|
+
var indexToSave = attributesToRemove.indexOf(attribute);
|
|
519
|
+
if (indexToSave !== -1) {
|
|
520
|
+
attributesToRemove.splice(indexToSave, 1);
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
for (var _i = attributesToRemove.length - 1; _i >= 0; _i--) {
|
|
524
|
+
elementTag.removeAttribute(attributesToRemove[_i]);
|
|
525
|
+
}
|
|
526
|
+
if (helmetAttributes.length === attributesToRemove.length) {
|
|
527
|
+
elementTag.removeAttribute(HELMET_ATTRIBUTE);
|
|
528
|
+
} else if (elementTag.getAttribute(HELMET_ATTRIBUTE) !== attributeKeys.join(",")) {
|
|
529
|
+
elementTag.setAttribute(HELMET_ATTRIBUTE, attributeKeys.join(","));
|
|
530
|
+
}
|
|
531
|
+
};
|
|
532
|
+
var updateTags = function updateTags2(type, tags) {
|
|
533
|
+
var headElement = document.head || document.querySelector(TAG_NAMES.HEAD);
|
|
534
|
+
var tagNodes = headElement.querySelectorAll(type + "[" + HELMET_ATTRIBUTE + "]");
|
|
535
|
+
var oldTags = Array.prototype.slice.call(tagNodes);
|
|
536
|
+
var newTags = [];
|
|
537
|
+
var indexToDelete = void 0;
|
|
538
|
+
if (tags && tags.length) {
|
|
539
|
+
tags.forEach(function(tag) {
|
|
540
|
+
var newElement = document.createElement(type);
|
|
541
|
+
for (var attribute in tag) {
|
|
542
|
+
if (tag.hasOwnProperty(attribute)) {
|
|
543
|
+
if (attribute === TAG_PROPERTIES.INNER_HTML) {
|
|
544
|
+
newElement.innerHTML = tag.innerHTML;
|
|
545
|
+
} else if (attribute === TAG_PROPERTIES.CSS_TEXT) {
|
|
546
|
+
if (newElement.styleSheet) {
|
|
547
|
+
newElement.styleSheet.cssText = tag.cssText;
|
|
548
|
+
} else {
|
|
549
|
+
newElement.appendChild(document.createTextNode(tag.cssText));
|
|
550
|
+
}
|
|
551
|
+
} else {
|
|
552
|
+
var value = typeof tag[attribute] === "undefined" ? "" : tag[attribute];
|
|
553
|
+
newElement.setAttribute(attribute, value);
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
newElement.setAttribute(HELMET_ATTRIBUTE, "true");
|
|
558
|
+
if (oldTags.some(function(existingTag, index2) {
|
|
559
|
+
indexToDelete = index2;
|
|
560
|
+
return newElement.isEqualNode(existingTag);
|
|
561
|
+
})) {
|
|
562
|
+
oldTags.splice(indexToDelete, 1);
|
|
563
|
+
} else {
|
|
564
|
+
newTags.push(newElement);
|
|
565
|
+
}
|
|
566
|
+
});
|
|
567
|
+
}
|
|
568
|
+
oldTags.forEach(function(tag) {
|
|
569
|
+
return tag.parentNode.removeChild(tag);
|
|
570
|
+
});
|
|
571
|
+
newTags.forEach(function(tag) {
|
|
572
|
+
return headElement.appendChild(tag);
|
|
573
|
+
});
|
|
574
|
+
return {
|
|
575
|
+
oldTags,
|
|
576
|
+
newTags
|
|
577
|
+
};
|
|
578
|
+
};
|
|
579
|
+
var generateElementAttributesAsString = function generateElementAttributesAsString2(attributes) {
|
|
580
|
+
return Object.keys(attributes).reduce(function(str, key) {
|
|
581
|
+
var attr = typeof attributes[key] !== "undefined" ? key + '="' + attributes[key] + '"' : "" + key;
|
|
582
|
+
return str ? str + " " + attr : attr;
|
|
583
|
+
}, "");
|
|
584
|
+
};
|
|
585
|
+
var generateTitleAsString = function generateTitleAsString2(type, title, attributes, encode) {
|
|
586
|
+
var attributeString = generateElementAttributesAsString(attributes);
|
|
587
|
+
var flattenedTitle = flattenArray(title);
|
|
588
|
+
return attributeString ? "<" + type + " " + HELMET_ATTRIBUTE + '="true" ' + attributeString + ">" + encodeSpecialCharacters(flattenedTitle, encode) + "</" + type + ">" : "<" + type + " " + HELMET_ATTRIBUTE + '="true">' + encodeSpecialCharacters(flattenedTitle, encode) + "</" + type + ">";
|
|
589
|
+
};
|
|
590
|
+
var generateTagsAsString = function generateTagsAsString2(type, tags, encode) {
|
|
591
|
+
return tags.reduce(function(str, tag) {
|
|
592
|
+
var attributeHtml = Object.keys(tag).filter(function(attribute) {
|
|
593
|
+
return !(attribute === TAG_PROPERTIES.INNER_HTML || attribute === TAG_PROPERTIES.CSS_TEXT);
|
|
594
|
+
}).reduce(function(string, attribute) {
|
|
595
|
+
var attr = typeof tag[attribute] === "undefined" ? attribute : attribute + '="' + encodeSpecialCharacters(tag[attribute], encode) + '"';
|
|
596
|
+
return string ? string + " " + attr : attr;
|
|
597
|
+
}, "");
|
|
598
|
+
var tagContent = tag.innerHTML || tag.cssText || "";
|
|
599
|
+
var isSelfClosing = SELF_CLOSING_TAGS.indexOf(type) === -1;
|
|
600
|
+
return str + "<" + type + " " + HELMET_ATTRIBUTE + '="true" ' + attributeHtml + (isSelfClosing ? "/>" : ">" + tagContent + "</" + type + ">");
|
|
601
|
+
}, "");
|
|
602
|
+
};
|
|
603
|
+
var convertElementAttributestoReactProps = function convertElementAttributestoReactProps2(attributes) {
|
|
604
|
+
var initProps = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
605
|
+
return Object.keys(attributes).reduce(function(obj, key) {
|
|
606
|
+
obj[REACT_TAG_MAP[key] || key] = attributes[key];
|
|
607
|
+
return obj;
|
|
608
|
+
}, initProps);
|
|
609
|
+
};
|
|
610
|
+
var convertReactPropstoHtmlAttributes = function convertReactPropstoHtmlAttributes2(props) {
|
|
611
|
+
var initAttributes = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
612
|
+
return Object.keys(props).reduce(function(obj, key) {
|
|
613
|
+
obj[HTML_TAG_MAP[key] || key] = props[key];
|
|
614
|
+
return obj;
|
|
615
|
+
}, initAttributes);
|
|
616
|
+
};
|
|
617
|
+
var generateTitleAsReactComponent = function generateTitleAsReactComponent2(type, title, attributes) {
|
|
618
|
+
var _initProps;
|
|
619
|
+
var initProps = (_initProps = {
|
|
620
|
+
key: title
|
|
621
|
+
}, _initProps[HELMET_ATTRIBUTE] = true, _initProps);
|
|
622
|
+
var props = convertElementAttributestoReactProps(attributes, initProps);
|
|
623
|
+
return [React$1.createElement(TAG_NAMES.TITLE, props, title)];
|
|
624
|
+
};
|
|
625
|
+
var generateTagsAsReactComponent = function generateTagsAsReactComponent2(type, tags) {
|
|
626
|
+
return tags.map(function(tag, i) {
|
|
627
|
+
var _mappedTag;
|
|
628
|
+
var mappedTag = (_mappedTag = {
|
|
629
|
+
key: i
|
|
630
|
+
}, _mappedTag[HELMET_ATTRIBUTE] = true, _mappedTag);
|
|
631
|
+
Object.keys(tag).forEach(function(attribute) {
|
|
632
|
+
var mappedAttribute = REACT_TAG_MAP[attribute] || attribute;
|
|
633
|
+
if (mappedAttribute === TAG_PROPERTIES.INNER_HTML || mappedAttribute === TAG_PROPERTIES.CSS_TEXT) {
|
|
634
|
+
var content = tag.innerHTML || tag.cssText;
|
|
635
|
+
mappedTag.dangerouslySetInnerHTML = { __html: content };
|
|
636
|
+
} else {
|
|
637
|
+
mappedTag[mappedAttribute] = tag[attribute];
|
|
638
|
+
}
|
|
639
|
+
});
|
|
640
|
+
return React$1.createElement(type, mappedTag);
|
|
641
|
+
});
|
|
642
|
+
};
|
|
643
|
+
var getMethodsForTag = function getMethodsForTag2(type, tags, encode) {
|
|
644
|
+
switch (type) {
|
|
645
|
+
case TAG_NAMES.TITLE:
|
|
646
|
+
return {
|
|
647
|
+
toComponent: function toComponent() {
|
|
648
|
+
return generateTitleAsReactComponent(type, tags.title, tags.titleAttributes);
|
|
649
|
+
},
|
|
650
|
+
toString: function toString() {
|
|
651
|
+
return generateTitleAsString(type, tags.title, tags.titleAttributes, encode);
|
|
652
|
+
}
|
|
653
|
+
};
|
|
654
|
+
case ATTRIBUTE_NAMES.BODY:
|
|
655
|
+
case ATTRIBUTE_NAMES.HTML:
|
|
656
|
+
return {
|
|
657
|
+
toComponent: function toComponent() {
|
|
658
|
+
return convertElementAttributestoReactProps(tags);
|
|
659
|
+
},
|
|
660
|
+
toString: function toString() {
|
|
661
|
+
return generateElementAttributesAsString(tags);
|
|
662
|
+
}
|
|
663
|
+
};
|
|
664
|
+
default:
|
|
665
|
+
return {
|
|
666
|
+
toComponent: function toComponent() {
|
|
667
|
+
return generateTagsAsReactComponent(type, tags);
|
|
668
|
+
},
|
|
669
|
+
toString: function toString() {
|
|
670
|
+
return generateTagsAsString(type, tags, encode);
|
|
671
|
+
}
|
|
672
|
+
};
|
|
673
|
+
}
|
|
674
|
+
};
|
|
675
|
+
var mapStateOnServer = function mapStateOnServer2(_ref) {
|
|
676
|
+
var baseTag = _ref.baseTag, bodyAttributes = _ref.bodyAttributes, encode = _ref.encode, htmlAttributes = _ref.htmlAttributes, linkTags = _ref.linkTags, metaTags = _ref.metaTags, noscriptTags = _ref.noscriptTags, scriptTags = _ref.scriptTags, styleTags = _ref.styleTags, _ref$title = _ref.title, title = _ref$title === void 0 ? "" : _ref$title, titleAttributes = _ref.titleAttributes;
|
|
677
|
+
return {
|
|
678
|
+
base: getMethodsForTag(TAG_NAMES.BASE, baseTag, encode),
|
|
679
|
+
bodyAttributes: getMethodsForTag(ATTRIBUTE_NAMES.BODY, bodyAttributes, encode),
|
|
680
|
+
htmlAttributes: getMethodsForTag(ATTRIBUTE_NAMES.HTML, htmlAttributes, encode),
|
|
681
|
+
link: getMethodsForTag(TAG_NAMES.LINK, linkTags, encode),
|
|
682
|
+
meta: getMethodsForTag(TAG_NAMES.META, metaTags, encode),
|
|
683
|
+
noscript: getMethodsForTag(TAG_NAMES.NOSCRIPT, noscriptTags, encode),
|
|
684
|
+
script: getMethodsForTag(TAG_NAMES.SCRIPT, scriptTags, encode),
|
|
685
|
+
style: getMethodsForTag(TAG_NAMES.STYLE, styleTags, encode),
|
|
686
|
+
title: getMethodsForTag(TAG_NAMES.TITLE, { title, titleAttributes }, encode)
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
var Helmet = function Helmet2(Component) {
|
|
690
|
+
var _class, _temp;
|
|
691
|
+
return _temp = _class = function(_React$Component) {
|
|
692
|
+
inherits(HelmetWrapper, _React$Component);
|
|
693
|
+
function HelmetWrapper() {
|
|
694
|
+
classCallCheck(this, HelmetWrapper);
|
|
695
|
+
return possibleConstructorReturn(this, _React$Component.apply(this, arguments));
|
|
696
|
+
}
|
|
697
|
+
HelmetWrapper.prototype.shouldComponentUpdate = function shouldComponentUpdate(nextProps) {
|
|
698
|
+
return !isEqual2(this.props, nextProps);
|
|
699
|
+
};
|
|
700
|
+
HelmetWrapper.prototype.mapNestedChildrenToProps = function mapNestedChildrenToProps(child, nestedChildren) {
|
|
701
|
+
if (!nestedChildren) {
|
|
702
|
+
return null;
|
|
703
|
+
}
|
|
704
|
+
switch (child.type) {
|
|
705
|
+
case TAG_NAMES.SCRIPT:
|
|
706
|
+
case TAG_NAMES.NOSCRIPT:
|
|
707
|
+
return {
|
|
708
|
+
innerHTML: nestedChildren
|
|
709
|
+
};
|
|
710
|
+
case TAG_NAMES.STYLE:
|
|
711
|
+
return {
|
|
712
|
+
cssText: nestedChildren
|
|
713
|
+
};
|
|
714
|
+
}
|
|
715
|
+
throw new Error("<" + child.type + " /> elements are self-closing and can not contain children. Refer to our API for more information.");
|
|
716
|
+
};
|
|
717
|
+
HelmetWrapper.prototype.flattenArrayTypeChildren = function flattenArrayTypeChildren(_ref) {
|
|
718
|
+
var _babelHelpers$extends;
|
|
719
|
+
var child = _ref.child, arrayTypeChildren = _ref.arrayTypeChildren, newChildProps = _ref.newChildProps, nestedChildren = _ref.nestedChildren;
|
|
720
|
+
return _extends({}, arrayTypeChildren, (_babelHelpers$extends = {}, _babelHelpers$extends[child.type] = [].concat(arrayTypeChildren[child.type] || [], [_extends({}, newChildProps, this.mapNestedChildrenToProps(child, nestedChildren))]), _babelHelpers$extends));
|
|
721
|
+
};
|
|
722
|
+
HelmetWrapper.prototype.mapObjectTypeChildren = function mapObjectTypeChildren(_ref2) {
|
|
723
|
+
var _babelHelpers$extends2, _babelHelpers$extends3;
|
|
724
|
+
var child = _ref2.child, newProps = _ref2.newProps, newChildProps = _ref2.newChildProps, nestedChildren = _ref2.nestedChildren;
|
|
725
|
+
switch (child.type) {
|
|
726
|
+
case TAG_NAMES.TITLE:
|
|
727
|
+
return _extends({}, newProps, (_babelHelpers$extends2 = {}, _babelHelpers$extends2[child.type] = nestedChildren, _babelHelpers$extends2.titleAttributes = _extends({}, newChildProps), _babelHelpers$extends2));
|
|
728
|
+
case TAG_NAMES.BODY:
|
|
729
|
+
return _extends({}, newProps, {
|
|
730
|
+
bodyAttributes: _extends({}, newChildProps)
|
|
731
|
+
});
|
|
732
|
+
case TAG_NAMES.HTML:
|
|
733
|
+
return _extends({}, newProps, {
|
|
734
|
+
htmlAttributes: _extends({}, newChildProps)
|
|
735
|
+
});
|
|
736
|
+
}
|
|
737
|
+
return _extends({}, newProps, (_babelHelpers$extends3 = {}, _babelHelpers$extends3[child.type] = _extends({}, newChildProps), _babelHelpers$extends3));
|
|
738
|
+
};
|
|
739
|
+
HelmetWrapper.prototype.mapArrayTypeChildrenToProps = function mapArrayTypeChildrenToProps(arrayTypeChildren, newProps) {
|
|
740
|
+
var newFlattenedProps = _extends({}, newProps);
|
|
741
|
+
Object.keys(arrayTypeChildren).forEach(function(arrayChildName) {
|
|
742
|
+
var _babelHelpers$extends4;
|
|
743
|
+
newFlattenedProps = _extends({}, newFlattenedProps, (_babelHelpers$extends4 = {}, _babelHelpers$extends4[arrayChildName] = arrayTypeChildren[arrayChildName], _babelHelpers$extends4));
|
|
744
|
+
});
|
|
745
|
+
return newFlattenedProps;
|
|
746
|
+
};
|
|
747
|
+
HelmetWrapper.prototype.warnOnInvalidChildren = function warnOnInvalidChildren(child, nestedChildren) {
|
|
748
|
+
if (process.env.NODE_ENV !== "production") {
|
|
749
|
+
if (!VALID_TAG_NAMES.some(function(name) {
|
|
750
|
+
return child.type === name;
|
|
751
|
+
})) {
|
|
752
|
+
if (typeof child.type === "function") {
|
|
753
|
+
return warn("You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.");
|
|
754
|
+
}
|
|
755
|
+
return warn("Only elements types " + VALID_TAG_NAMES.join(", ") + " are allowed. Helmet does not support rendering <" + child.type + "> elements. Refer to our API for more information.");
|
|
756
|
+
}
|
|
757
|
+
if (nestedChildren && typeof nestedChildren !== "string" && (!Array.isArray(nestedChildren) || nestedChildren.some(function(nestedChild) {
|
|
758
|
+
return typeof nestedChild !== "string";
|
|
759
|
+
}))) {
|
|
760
|
+
throw new Error("Helmet expects a string as a child of <" + child.type + ">. Did you forget to wrap your children in braces? ( <" + child.type + ">{``}</" + child.type + "> ) Refer to our API for more information.");
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
return true;
|
|
764
|
+
};
|
|
765
|
+
HelmetWrapper.prototype.mapChildrenToProps = function mapChildrenToProps(children, newProps) {
|
|
766
|
+
var _this2 = this;
|
|
767
|
+
var arrayTypeChildren = {};
|
|
768
|
+
React$1.Children.forEach(children, function(child) {
|
|
769
|
+
if (!child || !child.props) {
|
|
770
|
+
return;
|
|
771
|
+
}
|
|
772
|
+
var _child$props = child.props, nestedChildren = _child$props.children, childProps = objectWithoutProperties(_child$props, ["children"]);
|
|
773
|
+
var newChildProps = convertReactPropstoHtmlAttributes(childProps);
|
|
774
|
+
_this2.warnOnInvalidChildren(child, nestedChildren);
|
|
775
|
+
switch (child.type) {
|
|
776
|
+
case TAG_NAMES.LINK:
|
|
777
|
+
case TAG_NAMES.META:
|
|
778
|
+
case TAG_NAMES.NOSCRIPT:
|
|
779
|
+
case TAG_NAMES.SCRIPT:
|
|
780
|
+
case TAG_NAMES.STYLE:
|
|
781
|
+
arrayTypeChildren = _this2.flattenArrayTypeChildren({
|
|
782
|
+
child,
|
|
783
|
+
arrayTypeChildren,
|
|
784
|
+
newChildProps,
|
|
785
|
+
nestedChildren
|
|
786
|
+
});
|
|
787
|
+
break;
|
|
788
|
+
default:
|
|
789
|
+
newProps = _this2.mapObjectTypeChildren({
|
|
790
|
+
child,
|
|
791
|
+
newProps,
|
|
792
|
+
newChildProps,
|
|
793
|
+
nestedChildren
|
|
794
|
+
});
|
|
795
|
+
break;
|
|
796
|
+
}
|
|
797
|
+
});
|
|
798
|
+
newProps = this.mapArrayTypeChildrenToProps(arrayTypeChildren, newProps);
|
|
799
|
+
return newProps;
|
|
800
|
+
};
|
|
801
|
+
HelmetWrapper.prototype.render = function render() {
|
|
802
|
+
var _props = this.props, children = _props.children, props = objectWithoutProperties(_props, ["children"]);
|
|
803
|
+
var newProps = _extends({}, props);
|
|
804
|
+
if (children) {
|
|
805
|
+
newProps = this.mapChildrenToProps(children, newProps);
|
|
806
|
+
}
|
|
807
|
+
return React$1.createElement(Component, newProps);
|
|
808
|
+
};
|
|
809
|
+
createClass(HelmetWrapper, null, [{
|
|
810
|
+
key: "canUseDOM",
|
|
811
|
+
// Component.peek comes from react-side-effect:
|
|
812
|
+
// For testing, you may use a static peek() method available on the returned component.
|
|
813
|
+
// It lets you get the current state without resetting the mounted instance stack.
|
|
814
|
+
// Don’t use it for anything other than testing.
|
|
815
|
+
/**
|
|
816
|
+
* @param {Object} base: {"target": "_blank", "href": "http://mysite.com/"}
|
|
817
|
+
* @param {Object} bodyAttributes: {"className": "root"}
|
|
818
|
+
* @param {String} defaultTitle: "Default Title"
|
|
819
|
+
* @param {Boolean} defer: true
|
|
820
|
+
* @param {Boolean} encodeSpecialCharacters: true
|
|
821
|
+
* @param {Object} htmlAttributes: {"lang": "en", "amp": undefined}
|
|
822
|
+
* @param {Array} link: [{"rel": "canonical", "href": "http://mysite.com/example"}]
|
|
823
|
+
* @param {Array} meta: [{"name": "description", "content": "Test description"}]
|
|
824
|
+
* @param {Array} noscript: [{"innerHTML": "<img src='http://mysite.com/js/test.js'"}]
|
|
825
|
+
* @param {Function} onChangeClientState: "(newState) => console.log(newState)"
|
|
826
|
+
* @param {Array} script: [{"type": "text/javascript", "src": "http://mysite.com/js/test.js"}]
|
|
827
|
+
* @param {Array} style: [{"type": "text/css", "cssText": "div { display: block; color: blue; }"}]
|
|
828
|
+
* @param {String} title: "Title"
|
|
829
|
+
* @param {Object} titleAttributes: {"itemprop": "name"}
|
|
830
|
+
* @param {String} titleTemplate: "MySite.com - %s"
|
|
831
|
+
*/
|
|
832
|
+
set: function set$$1(canUseDOM2) {
|
|
833
|
+
Component.canUseDOM = canUseDOM2;
|
|
834
|
+
}
|
|
835
|
+
}]);
|
|
836
|
+
return HelmetWrapper;
|
|
837
|
+
}(React$1.Component), _class.propTypes = {
|
|
838
|
+
base: index.PropTypes.object,
|
|
839
|
+
bodyAttributes: index.PropTypes.object,
|
|
840
|
+
children: index.PropTypes.oneOfType([index.PropTypes.arrayOf(index.PropTypes.node), index.PropTypes.node]),
|
|
841
|
+
defaultTitle: index.PropTypes.string,
|
|
842
|
+
defer: index.PropTypes.bool,
|
|
843
|
+
encodeSpecialCharacters: index.PropTypes.bool,
|
|
844
|
+
htmlAttributes: index.PropTypes.object,
|
|
845
|
+
link: index.PropTypes.arrayOf(index.PropTypes.object),
|
|
846
|
+
meta: index.PropTypes.arrayOf(index.PropTypes.object),
|
|
847
|
+
noscript: index.PropTypes.arrayOf(index.PropTypes.object),
|
|
848
|
+
onChangeClientState: index.PropTypes.func,
|
|
849
|
+
script: index.PropTypes.arrayOf(index.PropTypes.object),
|
|
850
|
+
style: index.PropTypes.arrayOf(index.PropTypes.object),
|
|
851
|
+
title: index.PropTypes.string,
|
|
852
|
+
titleAttributes: index.PropTypes.object,
|
|
853
|
+
titleTemplate: index.PropTypes.string
|
|
854
|
+
}, _class.defaultProps = {
|
|
855
|
+
defer: true,
|
|
856
|
+
encodeSpecialCharacters: true
|
|
857
|
+
}, _class.peek = Component.peek, _class.rewind = function() {
|
|
858
|
+
var mappedState = Component.rewind();
|
|
859
|
+
if (!mappedState) {
|
|
860
|
+
mappedState = mapStateOnServer({
|
|
861
|
+
baseTag: [],
|
|
862
|
+
bodyAttributes: {},
|
|
863
|
+
htmlAttributes: {},
|
|
864
|
+
linkTags: [],
|
|
865
|
+
metaTags: [],
|
|
866
|
+
noscriptTags: [],
|
|
867
|
+
scriptTags: [],
|
|
868
|
+
styleTags: [],
|
|
869
|
+
title: "",
|
|
870
|
+
titleAttributes: {}
|
|
871
|
+
});
|
|
872
|
+
}
|
|
873
|
+
return mappedState;
|
|
874
|
+
}, _temp;
|
|
875
|
+
};
|
|
876
|
+
var NullComponent = function NullComponent2() {
|
|
877
|
+
return null;
|
|
878
|
+
};
|
|
879
|
+
var HelmetSideEffects = withSideEffect(reducePropsToState, handleClientStateChange, mapStateOnServer)(NullComponent);
|
|
880
|
+
var HelmetExport = Helmet(HelmetSideEffects);
|
|
881
|
+
HelmetExport.renderStatic = HelmetExport.rewind;
|
|
882
|
+
const MetaComponent = (props) => {
|
|
883
|
+
const canonicalURL = props.location ? `${props.location.protocol}//${props.location.host}${window.location.pathname}` : "";
|
|
884
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(HelmetExport, { children: [
|
|
885
|
+
/* @__PURE__ */ jsxRuntime.jsx("title", { children: props.title }),
|
|
886
|
+
/* @__PURE__ */ jsxRuntime.jsx("meta", { name: "description", content: props.description }),
|
|
887
|
+
/* @__PURE__ */ jsxRuntime.jsx("meta", { name: "keywords", content: props.keywords }),
|
|
888
|
+
props.location && /* @__PURE__ */ jsxRuntime.jsx("link", { rel: "canonical", href: `${canonicalURL}` })
|
|
889
|
+
] });
|
|
890
|
+
};
|
|
891
|
+
exports.MetaComponent = MetaComponent;
|
|
892
|
+
//# sourceMappingURL=metaComponent-AO9arcqo.js.map
|