@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 @@
|
|
|
1
|
+
{"version":3,"file":"text-area-BKWqfUSh.js","sources":["../../node_modules/@babel/runtime/helpers/esm/extends.js","../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../../node_modules/@mui/utils/esm/setRef/setRef.js","../../node_modules/@mui/utils/esm/useForkRef/useForkRef.js","../../node_modules/@mui/utils/esm/debounce/debounce.js","../../node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js","../../node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js","../../node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js","../../node_modules/@mui/base/TextareaAutosize/TextareaAutosize.js","../../src/components/text-area/text-area.tsx"],"sourcesContent":["function _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, _extends.apply(null, arguments);\n}\nexport { _extends as default };","function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (-1 !== e.indexOf(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nexport { _objectWithoutPropertiesLoose as default };","/**\n * TODO v5: consider making it private\n *\n * passes {value} to {ref}\n *\n * WARNING: Be sure to only call this inside a callback that is passed as a ref.\n * Otherwise, make sure to cleanup the previous {ref} if it changes. See\n * https://github.com/mui/material-ui/issues/13539\n *\n * Useful if you want to expose the ref of an inner component to the public API\n * while still using it inside the component.\n * @param ref A ref callback or ref object. If anything falsy, this is a no-op.\n */\nexport default function setRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}","'use client';\n\nimport * as React from 'react';\nimport setRef from '../setRef';\nexport default function useForkRef(...refs) {\n /**\n * This will create a new function if the refs passed to this hook change and are all defined.\n * This means react will call the old forkRef with `null` and the new forkRef\n * with the ref. Cleanup naturally emerges from this behavior.\n */\n return React.useMemo(() => {\n if (refs.every(ref => ref == null)) {\n return null;\n }\n return instance => {\n refs.forEach(ref => {\n setRef(ref, instance);\n });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, refs);\n}","// Corresponds to 10 frames at 60 Hz.\n// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.\nexport default function debounce(func, wait = 166) {\n let timeout;\n function debounced(...args) {\n const later = () => {\n // @ts-ignore\n func.apply(this, args);\n };\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n }\n debounced.clear = () => {\n clearTimeout(timeout);\n };\n return debounced;\n}","export default function ownerDocument(node) {\n return node && node.ownerDocument || document;\n}","import ownerDocument from '../ownerDocument';\nexport default function ownerWindow(node) {\n const doc = ownerDocument(node);\n return doc.defaultView || window;\n}","'use client';\n\nimport * as React from 'react';\n\n/**\n * A version of `React.useLayoutEffect` that does not show a warning when server-side rendering.\n * This is useful for effects that are only needed for client-side rendering but not for SSR.\n *\n * Before you use this hook, make sure to read https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85\n * and confirm it doesn't apply to your use-case.\n */\nconst useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nexport default useEnhancedEffect;","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"onChange\", \"maxRows\", \"minRows\", \"style\", \"value\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { unstable_debounce as debounce, unstable_useForkRef as useForkRef, unstable_useEnhancedEffect as useEnhancedEffect, unstable_ownerWindow as ownerWindow } from '@mui/utils';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nfunction getStyleValue(value) {\n return parseInt(value, 10) || 0;\n}\nconst styles = {\n shadow: {\n // Visibility needed to hide the extra text area on iPads\n visibility: 'hidden',\n // Remove from the content flow\n position: 'absolute',\n // Ignore the scrollbar width\n overflow: 'hidden',\n height: 0,\n top: 0,\n left: 0,\n // Create a new layer, increase the isolation of the computed values\n transform: 'translateZ(0)'\n }\n};\nfunction isEmpty(obj) {\n return obj === undefined || obj === null || Object.keys(obj).length === 0 || obj.outerHeightStyle === 0 && !obj.overflowing;\n}\n\n/**\n *\n * Demos:\n *\n * - [Textarea Autosize](https://mui.com/base-ui/react-textarea-autosize/)\n * - [Textarea Autosize](https://mui.com/material-ui/react-textarea-autosize/)\n *\n * API:\n *\n * - [TextareaAutosize API](https://mui.com/base-ui/react-textarea-autosize/components-api/#textarea-autosize)\n */\nconst TextareaAutosize = /*#__PURE__*/React.forwardRef(function TextareaAutosize(props, forwardedRef) {\n const {\n onChange,\n maxRows,\n minRows = 1,\n style,\n value\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const {\n current: isControlled\n } = React.useRef(value != null);\n const inputRef = React.useRef(null);\n const handleRef = useForkRef(forwardedRef, inputRef);\n const heightRef = React.useRef(null);\n const shadowRef = React.useRef(null);\n const calculateTextareaStyles = React.useCallback(() => {\n const input = inputRef.current;\n const containerWindow = ownerWindow(input);\n const computedStyle = containerWindow.getComputedStyle(input);\n\n // If input's width is shrunk and it's not visible, don't sync height.\n if (computedStyle.width === '0px') {\n return {\n outerHeightStyle: 0,\n overflowing: false\n };\n }\n const inputShallow = shadowRef.current;\n inputShallow.style.width = computedStyle.width;\n inputShallow.value = input.value || props.placeholder || 'x';\n if (inputShallow.value.slice(-1) === '\\n') {\n // Certain fonts which overflow the line height will cause the textarea\n // to report a different scrollHeight depending on whether the last line\n // is empty. Make it non-empty to avoid this issue.\n inputShallow.value += ' ';\n }\n const boxSizing = computedStyle.boxSizing;\n const padding = getStyleValue(computedStyle.paddingBottom) + getStyleValue(computedStyle.paddingTop);\n const border = getStyleValue(computedStyle.borderBottomWidth) + getStyleValue(computedStyle.borderTopWidth);\n\n // The height of the inner content\n const innerHeight = inputShallow.scrollHeight;\n\n // Measure height of a textarea with a single row\n inputShallow.value = 'x';\n const singleRowHeight = inputShallow.scrollHeight;\n\n // The height of the outer content\n let outerHeight = innerHeight;\n if (minRows) {\n outerHeight = Math.max(Number(minRows) * singleRowHeight, outerHeight);\n }\n if (maxRows) {\n outerHeight = Math.min(Number(maxRows) * singleRowHeight, outerHeight);\n }\n outerHeight = Math.max(outerHeight, singleRowHeight);\n\n // Take the box sizing into account for applying this value as a style.\n const outerHeightStyle = outerHeight + (boxSizing === 'border-box' ? padding + border : 0);\n const overflowing = Math.abs(outerHeight - innerHeight) <= 1;\n return {\n outerHeightStyle,\n overflowing\n };\n }, [maxRows, minRows, props.placeholder]);\n const syncHeight = React.useCallback(() => {\n const textareaStyles = calculateTextareaStyles();\n if (isEmpty(textareaStyles)) {\n return;\n }\n const outerHeightStyle = textareaStyles.outerHeightStyle;\n const input = inputRef.current;\n if (heightRef.current !== outerHeightStyle) {\n heightRef.current = outerHeightStyle;\n input.style.height = `${outerHeightStyle}px`;\n }\n input.style.overflow = textareaStyles.overflowing ? 'hidden' : '';\n }, [calculateTextareaStyles]);\n useEnhancedEffect(() => {\n const handleResize = () => {\n syncHeight();\n };\n // Workaround a \"ResizeObserver loop completed with undelivered notifications\" error\n // in test.\n // Note that we might need to use this logic in production per https://github.com/WICG/resize-observer/issues/38\n // Also see https://github.com/mui/mui-x/issues/8733\n let rAF;\n const rAFHandleResize = () => {\n cancelAnimationFrame(rAF);\n rAF = requestAnimationFrame(() => {\n handleResize();\n });\n };\n const debounceHandleResize = debounce(handleResize);\n const input = inputRef.current;\n const containerWindow = ownerWindow(input);\n containerWindow.addEventListener('resize', debounceHandleResize);\n let resizeObserver;\n if (typeof ResizeObserver !== 'undefined') {\n resizeObserver = new ResizeObserver(process.env.NODE_ENV === 'test' ? rAFHandleResize : handleResize);\n resizeObserver.observe(input);\n }\n return () => {\n debounceHandleResize.clear();\n cancelAnimationFrame(rAF);\n containerWindow.removeEventListener('resize', debounceHandleResize);\n if (resizeObserver) {\n resizeObserver.disconnect();\n }\n };\n }, [calculateTextareaStyles, syncHeight]);\n useEnhancedEffect(() => {\n syncHeight();\n });\n const handleChange = event => {\n if (!isControlled) {\n syncHeight();\n }\n if (onChange) {\n onChange(event);\n }\n };\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(\"textarea\", _extends({\n value: value,\n onChange: handleChange,\n ref: handleRef\n // Apply the rows prop to get a \"correct\" first SSR paint\n ,\n rows: minRows,\n style: style\n }, other)), /*#__PURE__*/_jsx(\"textarea\", {\n \"aria-hidden\": true,\n className: props.className,\n readOnly: true,\n ref: shadowRef,\n tabIndex: -1,\n style: _extends({}, styles.shadow, style, {\n paddingTop: 0,\n paddingBottom: 0\n })\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TextareaAutosize.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * Maximum number of rows to display.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display.\n * @default 1\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * @ignore\n */\n onChange: PropTypes.func,\n /**\n * @ignore\n */\n placeholder: PropTypes.string,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * @ignore\n */\n value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string])\n} : void 0;\nexport { TextareaAutosize };","import {\n TextareaAutosize as MUITextArea,\n TextareaAutosizeProps,\n} from \"@mui/base\";\nimport { styled } from '@mui/material';\nimport Typography from \"../typography/typography\";\n\ninterface TextAreaProps extends TextareaAutosizeProps {\n label?: string;\n error?: boolean;\n helperText?: string;\n}\n\nconst TextArea = (props: TextAreaProps) => {\n const { placeholder, minRows = 3, label, helperText, error, ...rest } = props;\n\n const StyledTextArea = styled(MUITextArea)(({ theme: { palette } }) => ({\n \"&\": {\n padding: \"0.4375rem 0.5rem\",\n borderRadius: \"0.25rem\",\n borderColor: error\n ? palette.theme?.error[600]\n : palette.theme?.secondary[400],\n outline: \"none\",\n color: palette.theme?.secondary[800],\n fontSize: \"0.875rem\",\n \"&::placeholder\": {\n opacity: 1,\n },\n \"&:hover\": {\n borderColor: error\n ? palette.theme?.error[600]\n : palette.theme?.secondary[500],\n },\n \"&:focus-visible\": {\n borderWidth: \"0.0625rem\",\n borderStyle: \"solid\",\n borderColor: error\n ? palette.theme?.error[600]\n : palette.theme?.primary[700],\n },\n \"&:disabled\": {\n background: palette.theme?.secondary[200],\n },\n },\n }));\n\n return (\n <>\n <Typography\n type=\"s4\"\n fontWeight={\"medium\"}\n mb={0.5}\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n >\n {label}\n </Typography>\n <StyledTextArea\n aria-label=\"minimum height\"\n minRows={minRows}\n placeholder={placeholder}\n {...rest}\n />\n\n <Typography\n type=\"s4\"\n fontWeight={\"medium\"}\n mt={-0.25}\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n >\n {helperText}\n </Typography>\n </>\n );\n};\nexport { TextArea };\nexport default TextArea;\n"],"names":["React","TextareaAutosize","_jsxs","_jsx","PropTypes","styled","MUITextArea","jsxs","Fragment","jsx","Typography"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,SAAS,WAAW;AAClB,SAAO,WAAW,OAAO,SAAS,OAAO,OAAO,KAAI,IAAK,SAAU,GAAG;AACpE,aAAS,IAAI,GAAG,IAAI,UAAU,QAAQ,KAAK;AACzC,UAAI,IAAI,UAAU,CAAC;AACnB,eAAS,KAAK,EAAG,EAAC,CAAA,GAAI,eAAe,KAAK,GAAG,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;AAAA,IAChE;AACA,WAAO;AAAA,EACT,GAAG,SAAS,MAAM,MAAM,SAAS;AACnC;ACRA,SAAS,8BAA8B,GAAG,GAAG;AAC3C,MAAI,QAAQ,EAAG,QAAO,CAAA;AACtB,MAAI,IAAI,CAAA;AACR,WAAS,KAAK,EAAG,KAAI,CAAA,EAAG,eAAe,KAAK,GAAG,CAAC,GAAG;AACjD,QAAI,OAAO,EAAE,QAAQ,CAAC,EAAG;AACzB,MAAE,CAAC,IAAI,EAAE,CAAC;AAAA,EACZ;AACA,SAAO;AACT;ACKe,SAAS,OAAO,KAAK,OAAO;AACzC,MAAI,OAAO,QAAQ,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;AAAA,MAAA;AAAA,IAAA;AAAA,IAEHD,2BAAAA;AAAAA,MAAC;AAAA,MAAA;AAAA,QACC,cAAW;AAAA,QACX;AAAA,QACA;AAAA,QACC,GAAG;AAAA,MAAA;AAAA,IAAA;AAAA,IAGNA,2BAAAA;AAAAA,MAACC,WAAAA;AAAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,YAAY;AAAA,QACZ,IAAI;AAAA,QACJ,OAAO,QAAQ,oBAAoB;AAAA,QAElC,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACH,GACF;AAEJ;;","x_google_ignoreList":[0,1,2,3,4,5,6,7,8]}
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { styled } from "@mui/material";
|
|
3
|
+
import { T as Typography } from "./typography-CG_A0iOJ.esm.js";
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
import { P as PropTypes } from "./index-gsSxnFGz.esm.js";
|
|
6
|
+
function _extends() {
|
|
7
|
+
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
8
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
9
|
+
var t = arguments[e];
|
|
10
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
11
|
+
}
|
|
12
|
+
return n;
|
|
13
|
+
}, _extends.apply(null, arguments);
|
|
14
|
+
}
|
|
15
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
16
|
+
if (null == r) return {};
|
|
17
|
+
var t = {};
|
|
18
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
19
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
20
|
+
t[n] = r[n];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
}
|
|
24
|
+
function setRef(ref, value) {
|
|
25
|
+
if (typeof ref === "function") {
|
|
26
|
+
ref(value);
|
|
27
|
+
} else if (ref) {
|
|
28
|
+
ref.current = value;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
function useForkRef(...refs) {
|
|
32
|
+
return React.useMemo(() => {
|
|
33
|
+
if (refs.every((ref) => ref == null)) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return (instance) => {
|
|
37
|
+
refs.forEach((ref) => {
|
|
38
|
+
setRef(ref, instance);
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
}, refs);
|
|
42
|
+
}
|
|
43
|
+
function debounce(func, wait = 166) {
|
|
44
|
+
let timeout;
|
|
45
|
+
function debounced(...args) {
|
|
46
|
+
const later = () => {
|
|
47
|
+
func.apply(this, args);
|
|
48
|
+
};
|
|
49
|
+
clearTimeout(timeout);
|
|
50
|
+
timeout = setTimeout(later, wait);
|
|
51
|
+
}
|
|
52
|
+
debounced.clear = () => {
|
|
53
|
+
clearTimeout(timeout);
|
|
54
|
+
};
|
|
55
|
+
return debounced;
|
|
56
|
+
}
|
|
57
|
+
function ownerDocument(node) {
|
|
58
|
+
return node && node.ownerDocument || document;
|
|
59
|
+
}
|
|
60
|
+
function ownerWindow(node) {
|
|
61
|
+
const doc = ownerDocument(node);
|
|
62
|
+
return doc.defaultView || window;
|
|
63
|
+
}
|
|
64
|
+
const useEnhancedEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
|
|
65
|
+
const _excluded = ["onChange", "maxRows", "minRows", "style", "value"];
|
|
66
|
+
function getStyleValue(value) {
|
|
67
|
+
return parseInt(value, 10) || 0;
|
|
68
|
+
}
|
|
69
|
+
const styles = {
|
|
70
|
+
shadow: {
|
|
71
|
+
// Visibility needed to hide the extra text area on iPads
|
|
72
|
+
visibility: "hidden",
|
|
73
|
+
// Remove from the content flow
|
|
74
|
+
position: "absolute",
|
|
75
|
+
// Ignore the scrollbar width
|
|
76
|
+
overflow: "hidden",
|
|
77
|
+
height: 0,
|
|
78
|
+
top: 0,
|
|
79
|
+
left: 0,
|
|
80
|
+
// Create a new layer, increase the isolation of the computed values
|
|
81
|
+
transform: "translateZ(0)"
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
function isEmpty(obj) {
|
|
85
|
+
return obj === void 0 || obj === null || Object.keys(obj).length === 0 || obj.outerHeightStyle === 0 && !obj.overflowing;
|
|
86
|
+
}
|
|
87
|
+
const TextareaAutosize = /* @__PURE__ */ React.forwardRef(function TextareaAutosize2(props, forwardedRef) {
|
|
88
|
+
const {
|
|
89
|
+
onChange,
|
|
90
|
+
maxRows,
|
|
91
|
+
minRows = 1,
|
|
92
|
+
style,
|
|
93
|
+
value
|
|
94
|
+
} = props, other = _objectWithoutPropertiesLoose(props, _excluded);
|
|
95
|
+
const {
|
|
96
|
+
current: isControlled
|
|
97
|
+
} = React.useRef(value != null);
|
|
98
|
+
const inputRef = React.useRef(null);
|
|
99
|
+
const handleRef = useForkRef(forwardedRef, inputRef);
|
|
100
|
+
const heightRef = React.useRef(null);
|
|
101
|
+
const shadowRef = React.useRef(null);
|
|
102
|
+
const calculateTextareaStyles = React.useCallback(() => {
|
|
103
|
+
const input = inputRef.current;
|
|
104
|
+
const containerWindow = ownerWindow(input);
|
|
105
|
+
const computedStyle = containerWindow.getComputedStyle(input);
|
|
106
|
+
if (computedStyle.width === "0px") {
|
|
107
|
+
return {
|
|
108
|
+
outerHeightStyle: 0,
|
|
109
|
+
overflowing: false
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
const inputShallow = shadowRef.current;
|
|
113
|
+
inputShallow.style.width = computedStyle.width;
|
|
114
|
+
inputShallow.value = input.value || props.placeholder || "x";
|
|
115
|
+
if (inputShallow.value.slice(-1) === "\n") {
|
|
116
|
+
inputShallow.value += " ";
|
|
117
|
+
}
|
|
118
|
+
const boxSizing = computedStyle.boxSizing;
|
|
119
|
+
const padding = getStyleValue(computedStyle.paddingBottom) + getStyleValue(computedStyle.paddingTop);
|
|
120
|
+
const border = getStyleValue(computedStyle.borderBottomWidth) + getStyleValue(computedStyle.borderTopWidth);
|
|
121
|
+
const innerHeight = inputShallow.scrollHeight;
|
|
122
|
+
inputShallow.value = "x";
|
|
123
|
+
const singleRowHeight = inputShallow.scrollHeight;
|
|
124
|
+
let outerHeight = innerHeight;
|
|
125
|
+
if (minRows) {
|
|
126
|
+
outerHeight = Math.max(Number(minRows) * singleRowHeight, outerHeight);
|
|
127
|
+
}
|
|
128
|
+
if (maxRows) {
|
|
129
|
+
outerHeight = Math.min(Number(maxRows) * singleRowHeight, outerHeight);
|
|
130
|
+
}
|
|
131
|
+
outerHeight = Math.max(outerHeight, singleRowHeight);
|
|
132
|
+
const outerHeightStyle = outerHeight + (boxSizing === "border-box" ? padding + border : 0);
|
|
133
|
+
const overflowing = Math.abs(outerHeight - innerHeight) <= 1;
|
|
134
|
+
return {
|
|
135
|
+
outerHeightStyle,
|
|
136
|
+
overflowing
|
|
137
|
+
};
|
|
138
|
+
}, [maxRows, minRows, props.placeholder]);
|
|
139
|
+
const syncHeight = React.useCallback(() => {
|
|
140
|
+
const textareaStyles = calculateTextareaStyles();
|
|
141
|
+
if (isEmpty(textareaStyles)) {
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
const outerHeightStyle = textareaStyles.outerHeightStyle;
|
|
145
|
+
const input = inputRef.current;
|
|
146
|
+
if (heightRef.current !== outerHeightStyle) {
|
|
147
|
+
heightRef.current = outerHeightStyle;
|
|
148
|
+
input.style.height = `${outerHeightStyle}px`;
|
|
149
|
+
}
|
|
150
|
+
input.style.overflow = textareaStyles.overflowing ? "hidden" : "";
|
|
151
|
+
}, [calculateTextareaStyles]);
|
|
152
|
+
useEnhancedEffect(() => {
|
|
153
|
+
const handleResize = () => {
|
|
154
|
+
syncHeight();
|
|
155
|
+
};
|
|
156
|
+
let rAF;
|
|
157
|
+
const rAFHandleResize = () => {
|
|
158
|
+
cancelAnimationFrame(rAF);
|
|
159
|
+
rAF = requestAnimationFrame(() => {
|
|
160
|
+
handleResize();
|
|
161
|
+
});
|
|
162
|
+
};
|
|
163
|
+
const debounceHandleResize = debounce(handleResize);
|
|
164
|
+
const input = inputRef.current;
|
|
165
|
+
const containerWindow = ownerWindow(input);
|
|
166
|
+
containerWindow.addEventListener("resize", debounceHandleResize);
|
|
167
|
+
let resizeObserver;
|
|
168
|
+
if (typeof ResizeObserver !== "undefined") {
|
|
169
|
+
resizeObserver = new ResizeObserver(process.env.NODE_ENV === "test" ? rAFHandleResize : handleResize);
|
|
170
|
+
resizeObserver.observe(input);
|
|
171
|
+
}
|
|
172
|
+
return () => {
|
|
173
|
+
debounceHandleResize.clear();
|
|
174
|
+
cancelAnimationFrame(rAF);
|
|
175
|
+
containerWindow.removeEventListener("resize", debounceHandleResize);
|
|
176
|
+
if (resizeObserver) {
|
|
177
|
+
resizeObserver.disconnect();
|
|
178
|
+
}
|
|
179
|
+
};
|
|
180
|
+
}, [calculateTextareaStyles, syncHeight]);
|
|
181
|
+
useEnhancedEffect(() => {
|
|
182
|
+
syncHeight();
|
|
183
|
+
});
|
|
184
|
+
const handleChange = (event) => {
|
|
185
|
+
if (!isControlled) {
|
|
186
|
+
syncHeight();
|
|
187
|
+
}
|
|
188
|
+
if (onChange) {
|
|
189
|
+
onChange(event);
|
|
190
|
+
}
|
|
191
|
+
};
|
|
192
|
+
return /* @__PURE__ */ jsxs(React.Fragment, {
|
|
193
|
+
children: [/* @__PURE__ */ jsx("textarea", _extends({
|
|
194
|
+
value,
|
|
195
|
+
onChange: handleChange,
|
|
196
|
+
ref: handleRef,
|
|
197
|
+
rows: minRows,
|
|
198
|
+
style
|
|
199
|
+
}, other)), /* @__PURE__ */ jsx("textarea", {
|
|
200
|
+
"aria-hidden": true,
|
|
201
|
+
className: props.className,
|
|
202
|
+
readOnly: true,
|
|
203
|
+
ref: shadowRef,
|
|
204
|
+
tabIndex: -1,
|
|
205
|
+
style: _extends({}, styles.shadow, style, {
|
|
206
|
+
paddingTop: 0,
|
|
207
|
+
paddingBottom: 0
|
|
208
|
+
})
|
|
209
|
+
})]
|
|
210
|
+
});
|
|
211
|
+
});
|
|
212
|
+
process.env.NODE_ENV !== "production" ? TextareaAutosize.propTypes = {
|
|
213
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
214
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
215
|
+
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
216
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
217
|
+
/**
|
|
218
|
+
* @ignore
|
|
219
|
+
*/
|
|
220
|
+
className: PropTypes.string,
|
|
221
|
+
/**
|
|
222
|
+
* Maximum number of rows to display.
|
|
223
|
+
*/
|
|
224
|
+
maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
225
|
+
/**
|
|
226
|
+
* Minimum number of rows to display.
|
|
227
|
+
* @default 1
|
|
228
|
+
*/
|
|
229
|
+
minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
230
|
+
/**
|
|
231
|
+
* @ignore
|
|
232
|
+
*/
|
|
233
|
+
onChange: PropTypes.func,
|
|
234
|
+
/**
|
|
235
|
+
* @ignore
|
|
236
|
+
*/
|
|
237
|
+
placeholder: PropTypes.string,
|
|
238
|
+
/**
|
|
239
|
+
* @ignore
|
|
240
|
+
*/
|
|
241
|
+
style: PropTypes.object,
|
|
242
|
+
/**
|
|
243
|
+
* @ignore
|
|
244
|
+
*/
|
|
245
|
+
value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string])
|
|
246
|
+
} : void 0;
|
|
247
|
+
const TextArea = (props) => {
|
|
248
|
+
const { placeholder, minRows = 3, label, helperText, error, ...rest } = props;
|
|
249
|
+
const StyledTextArea = styled(TextareaAutosize)(({ theme: { palette } }) => {
|
|
250
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
251
|
+
return {
|
|
252
|
+
"&": {
|
|
253
|
+
padding: "0.4375rem 0.5rem",
|
|
254
|
+
borderRadius: "0.25rem",
|
|
255
|
+
borderColor: error ? (_a = palette.theme) == null ? void 0 : _a.error[600] : (_b = palette.theme) == null ? void 0 : _b.secondary[400],
|
|
256
|
+
outline: "none",
|
|
257
|
+
color: (_c = palette.theme) == null ? void 0 : _c.secondary[800],
|
|
258
|
+
fontSize: "0.875rem",
|
|
259
|
+
"&::placeholder": {
|
|
260
|
+
opacity: 1
|
|
261
|
+
},
|
|
262
|
+
"&:hover": {
|
|
263
|
+
borderColor: error ? (_d = palette.theme) == null ? void 0 : _d.error[600] : (_e = palette.theme) == null ? void 0 : _e.secondary[500]
|
|
264
|
+
},
|
|
265
|
+
"&:focus-visible": {
|
|
266
|
+
borderWidth: "0.0625rem",
|
|
267
|
+
borderStyle: "solid",
|
|
268
|
+
borderColor: error ? (_f = palette.theme) == null ? void 0 : _f.error[600] : (_g = palette.theme) == null ? void 0 : _g.primary[700]
|
|
269
|
+
},
|
|
270
|
+
"&:disabled": {
|
|
271
|
+
background: (_h = palette.theme) == null ? void 0 : _h.secondary[200]
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
});
|
|
276
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
277
|
+
/* @__PURE__ */ jsx(
|
|
278
|
+
Typography,
|
|
279
|
+
{
|
|
280
|
+
type: "s4",
|
|
281
|
+
fontWeight: "medium",
|
|
282
|
+
mb: 0.5,
|
|
283
|
+
color: error ? "theme.error.600" : "theme.secondary.800",
|
|
284
|
+
children: label
|
|
285
|
+
}
|
|
286
|
+
),
|
|
287
|
+
/* @__PURE__ */ jsx(
|
|
288
|
+
StyledTextArea,
|
|
289
|
+
{
|
|
290
|
+
"aria-label": "minimum height",
|
|
291
|
+
minRows,
|
|
292
|
+
placeholder,
|
|
293
|
+
...rest
|
|
294
|
+
}
|
|
295
|
+
),
|
|
296
|
+
/* @__PURE__ */ jsx(
|
|
297
|
+
Typography,
|
|
298
|
+
{
|
|
299
|
+
type: "s4",
|
|
300
|
+
fontWeight: "medium",
|
|
301
|
+
mt: -0.25,
|
|
302
|
+
color: error ? "theme.error.600" : "theme.secondary.800",
|
|
303
|
+
children: helperText
|
|
304
|
+
}
|
|
305
|
+
)
|
|
306
|
+
] });
|
|
307
|
+
};
|
|
308
|
+
export {
|
|
309
|
+
TextArea as T
|
|
310
|
+
};
|
|
311
|
+
//# sourceMappingURL=text-area-DTxxCPNw.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text-area-DTxxCPNw.esm.js","sources":["../../node_modules/@babel/runtime/helpers/esm/extends.js","../../node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","../../node_modules/@mui/utils/esm/setRef/setRef.js","../../node_modules/@mui/utils/esm/useForkRef/useForkRef.js","../../node_modules/@mui/utils/esm/debounce/debounce.js","../../node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js","../../node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js","../../node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js","../../node_modules/@mui/base/TextareaAutosize/TextareaAutosize.js","../../src/components/text-area/text-area.tsx"],"sourcesContent":["function _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, _extends.apply(null, arguments);\n}\nexport { _extends as default };","function _objectWithoutPropertiesLoose(r, e) {\n if (null == r) return {};\n var t = {};\n for (var n in r) if ({}.hasOwnProperty.call(r, n)) {\n if (-1 !== e.indexOf(n)) continue;\n t[n] = r[n];\n }\n return t;\n}\nexport { _objectWithoutPropertiesLoose as default };","/**\n * TODO v5: consider making it private\n *\n * passes {value} to {ref}\n *\n * WARNING: Be sure to only call this inside a callback that is passed as a ref.\n * Otherwise, make sure to cleanup the previous {ref} if it changes. See\n * https://github.com/mui/material-ui/issues/13539\n *\n * Useful if you want to expose the ref of an inner component to the public API\n * while still using it inside the component.\n * @param ref A ref callback or ref object. If anything falsy, this is a no-op.\n */\nexport default function setRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n } else if (ref) {\n ref.current = value;\n }\n}","'use client';\n\nimport * as React from 'react';\nimport setRef from '../setRef';\nexport default function useForkRef(...refs) {\n /**\n * This will create a new function if the refs passed to this hook change and are all defined.\n * This means react will call the old forkRef with `null` and the new forkRef\n * with the ref. Cleanup naturally emerges from this behavior.\n */\n return React.useMemo(() => {\n if (refs.every(ref => ref == null)) {\n return null;\n }\n return instance => {\n refs.forEach(ref => {\n setRef(ref, instance);\n });\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, refs);\n}","// Corresponds to 10 frames at 60 Hz.\n// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.\nexport default function debounce(func, wait = 166) {\n let timeout;\n function debounced(...args) {\n const later = () => {\n // @ts-ignore\n func.apply(this, args);\n };\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n }\n debounced.clear = () => {\n clearTimeout(timeout);\n };\n return debounced;\n}","export default function ownerDocument(node) {\n return node && node.ownerDocument || document;\n}","import ownerDocument from '../ownerDocument';\nexport default function ownerWindow(node) {\n const doc = ownerDocument(node);\n return doc.defaultView || window;\n}","'use client';\n\nimport * as React from 'react';\n\n/**\n * A version of `React.useLayoutEffect` that does not show a warning when server-side rendering.\n * This is useful for effects that are only needed for client-side rendering but not for SSR.\n *\n * Before you use this hook, make sure to read https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85\n * and confirm it doesn't apply to your use-case.\n */\nconst useEnhancedEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nexport default useEnhancedEffect;","'use client';\n\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nconst _excluded = [\"onChange\", \"maxRows\", \"minRows\", \"style\", \"value\"];\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { unstable_debounce as debounce, unstable_useForkRef as useForkRef, unstable_useEnhancedEffect as useEnhancedEffect, unstable_ownerWindow as ownerWindow } from '@mui/utils';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nfunction getStyleValue(value) {\n return parseInt(value, 10) || 0;\n}\nconst styles = {\n shadow: {\n // Visibility needed to hide the extra text area on iPads\n visibility: 'hidden',\n // Remove from the content flow\n position: 'absolute',\n // Ignore the scrollbar width\n overflow: 'hidden',\n height: 0,\n top: 0,\n left: 0,\n // Create a new layer, increase the isolation of the computed values\n transform: 'translateZ(0)'\n }\n};\nfunction isEmpty(obj) {\n return obj === undefined || obj === null || Object.keys(obj).length === 0 || obj.outerHeightStyle === 0 && !obj.overflowing;\n}\n\n/**\n *\n * Demos:\n *\n * - [Textarea Autosize](https://mui.com/base-ui/react-textarea-autosize/)\n * - [Textarea Autosize](https://mui.com/material-ui/react-textarea-autosize/)\n *\n * API:\n *\n * - [TextareaAutosize API](https://mui.com/base-ui/react-textarea-autosize/components-api/#textarea-autosize)\n */\nconst TextareaAutosize = /*#__PURE__*/React.forwardRef(function TextareaAutosize(props, forwardedRef) {\n const {\n onChange,\n maxRows,\n minRows = 1,\n style,\n value\n } = props,\n other = _objectWithoutPropertiesLoose(props, _excluded);\n const {\n current: isControlled\n } = React.useRef(value != null);\n const inputRef = React.useRef(null);\n const handleRef = useForkRef(forwardedRef, inputRef);\n const heightRef = React.useRef(null);\n const shadowRef = React.useRef(null);\n const calculateTextareaStyles = React.useCallback(() => {\n const input = inputRef.current;\n const containerWindow = ownerWindow(input);\n const computedStyle = containerWindow.getComputedStyle(input);\n\n // If input's width is shrunk and it's not visible, don't sync height.\n if (computedStyle.width === '0px') {\n return {\n outerHeightStyle: 0,\n overflowing: false\n };\n }\n const inputShallow = shadowRef.current;\n inputShallow.style.width = computedStyle.width;\n inputShallow.value = input.value || props.placeholder || 'x';\n if (inputShallow.value.slice(-1) === '\\n') {\n // Certain fonts which overflow the line height will cause the textarea\n // to report a different scrollHeight depending on whether the last line\n // is empty. Make it non-empty to avoid this issue.\n inputShallow.value += ' ';\n }\n const boxSizing = computedStyle.boxSizing;\n const padding = getStyleValue(computedStyle.paddingBottom) + getStyleValue(computedStyle.paddingTop);\n const border = getStyleValue(computedStyle.borderBottomWidth) + getStyleValue(computedStyle.borderTopWidth);\n\n // The height of the inner content\n const innerHeight = inputShallow.scrollHeight;\n\n // Measure height of a textarea with a single row\n inputShallow.value = 'x';\n const singleRowHeight = inputShallow.scrollHeight;\n\n // The height of the outer content\n let outerHeight = innerHeight;\n if (minRows) {\n outerHeight = Math.max(Number(minRows) * singleRowHeight, outerHeight);\n }\n if (maxRows) {\n outerHeight = Math.min(Number(maxRows) * singleRowHeight, outerHeight);\n }\n outerHeight = Math.max(outerHeight, singleRowHeight);\n\n // Take the box sizing into account for applying this value as a style.\n const outerHeightStyle = outerHeight + (boxSizing === 'border-box' ? padding + border : 0);\n const overflowing = Math.abs(outerHeight - innerHeight) <= 1;\n return {\n outerHeightStyle,\n overflowing\n };\n }, [maxRows, minRows, props.placeholder]);\n const syncHeight = React.useCallback(() => {\n const textareaStyles = calculateTextareaStyles();\n if (isEmpty(textareaStyles)) {\n return;\n }\n const outerHeightStyle = textareaStyles.outerHeightStyle;\n const input = inputRef.current;\n if (heightRef.current !== outerHeightStyle) {\n heightRef.current = outerHeightStyle;\n input.style.height = `${outerHeightStyle}px`;\n }\n input.style.overflow = textareaStyles.overflowing ? 'hidden' : '';\n }, [calculateTextareaStyles]);\n useEnhancedEffect(() => {\n const handleResize = () => {\n syncHeight();\n };\n // Workaround a \"ResizeObserver loop completed with undelivered notifications\" error\n // in test.\n // Note that we might need to use this logic in production per https://github.com/WICG/resize-observer/issues/38\n // Also see https://github.com/mui/mui-x/issues/8733\n let rAF;\n const rAFHandleResize = () => {\n cancelAnimationFrame(rAF);\n rAF = requestAnimationFrame(() => {\n handleResize();\n });\n };\n const debounceHandleResize = debounce(handleResize);\n const input = inputRef.current;\n const containerWindow = ownerWindow(input);\n containerWindow.addEventListener('resize', debounceHandleResize);\n let resizeObserver;\n if (typeof ResizeObserver !== 'undefined') {\n resizeObserver = new ResizeObserver(process.env.NODE_ENV === 'test' ? rAFHandleResize : handleResize);\n resizeObserver.observe(input);\n }\n return () => {\n debounceHandleResize.clear();\n cancelAnimationFrame(rAF);\n containerWindow.removeEventListener('resize', debounceHandleResize);\n if (resizeObserver) {\n resizeObserver.disconnect();\n }\n };\n }, [calculateTextareaStyles, syncHeight]);\n useEnhancedEffect(() => {\n syncHeight();\n });\n const handleChange = event => {\n if (!isControlled) {\n syncHeight();\n }\n if (onChange) {\n onChange(event);\n }\n };\n return /*#__PURE__*/_jsxs(React.Fragment, {\n children: [/*#__PURE__*/_jsx(\"textarea\", _extends({\n value: value,\n onChange: handleChange,\n ref: handleRef\n // Apply the rows prop to get a \"correct\" first SSR paint\n ,\n rows: minRows,\n style: style\n }, other)), /*#__PURE__*/_jsx(\"textarea\", {\n \"aria-hidden\": true,\n className: props.className,\n readOnly: true,\n ref: shadowRef,\n tabIndex: -1,\n style: _extends({}, styles.shadow, style, {\n paddingTop: 0,\n paddingBottom: 0\n })\n })]\n });\n});\nprocess.env.NODE_ENV !== \"production\" ? TextareaAutosize.propTypes /* remove-proptypes */ = {\n // ┌────────────────────────────── Warning ──────────────────────────────┐\n // │ These PropTypes are generated from the TypeScript type definitions. │\n // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │\n // └─────────────────────────────────────────────────────────────────────┘\n /**\n * @ignore\n */\n className: PropTypes.string,\n /**\n * Maximum number of rows to display.\n */\n maxRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * Minimum number of rows to display.\n * @default 1\n */\n minRows: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n /**\n * @ignore\n */\n onChange: PropTypes.func,\n /**\n * @ignore\n */\n placeholder: PropTypes.string,\n /**\n * @ignore\n */\n style: PropTypes.object,\n /**\n * @ignore\n */\n value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.number, PropTypes.string])\n} : void 0;\nexport { TextareaAutosize };","import {\n TextareaAutosize as MUITextArea,\n TextareaAutosizeProps,\n} from \"@mui/base\";\nimport { styled } from '@mui/material';\nimport Typography from \"../typography/typography\";\n\ninterface TextAreaProps extends TextareaAutosizeProps {\n label?: string;\n error?: boolean;\n helperText?: string;\n}\n\nconst TextArea = (props: TextAreaProps) => {\n const { placeholder, minRows = 3, label, helperText, error, ...rest } = props;\n\n const StyledTextArea = styled(MUITextArea)(({ theme: { palette } }) => ({\n \"&\": {\n padding: \"0.4375rem 0.5rem\",\n borderRadius: \"0.25rem\",\n borderColor: error\n ? palette.theme?.error[600]\n : palette.theme?.secondary[400],\n outline: \"none\",\n color: palette.theme?.secondary[800],\n fontSize: \"0.875rem\",\n \"&::placeholder\": {\n opacity: 1,\n },\n \"&:hover\": {\n borderColor: error\n ? palette.theme?.error[600]\n : palette.theme?.secondary[500],\n },\n \"&:focus-visible\": {\n borderWidth: \"0.0625rem\",\n borderStyle: \"solid\",\n borderColor: error\n ? palette.theme?.error[600]\n : palette.theme?.primary[700],\n },\n \"&:disabled\": {\n background: palette.theme?.secondary[200],\n },\n },\n }));\n\n return (\n <>\n <Typography\n type=\"s4\"\n fontWeight={\"medium\"}\n mb={0.5}\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n >\n {label}\n </Typography>\n <StyledTextArea\n aria-label=\"minimum height\"\n minRows={minRows}\n placeholder={placeholder}\n {...rest}\n />\n\n <Typography\n type=\"s4\"\n fontWeight={\"medium\"}\n mt={-0.25}\n color={error ? \"theme.error.600\" : \"theme.secondary.800\"}\n >\n {helperText}\n </Typography>\n </>\n );\n};\nexport { TextArea };\nexport default TextArea;\n"],"names":["TextareaAutosize","_jsxs","_jsx","MUITextArea"],"mappings":";;;;;AAAA,SAAS,WAAW;AAClB,SAAO,WAAW,OAAO,SAAS,OAAO,OAAO,KAAI,IAAK,SAA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AAA,UACb,aAAa;AAAA,UACb,aAAa,SACT,aAAQ,UAAR,mBAAe,MAAM,QACrB,aAAQ,UAAR,mBAAe,QAAQ;AAAA,QAAG;AAAA,QAEhC,cAAc;AAAA,UACZ,aAAY,aAAQ,UAAR,mBAAe,UAAU;AAAA,QAAG;AAAA,MAC1C;AAAA,IACF;AAAA,GACA;AAEF,SACE,qBAAA,UAAA,EACE,UAAA;AAAA,IAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,YAAY;AAAA,QACZ,IAAI;AAAA,QACJ,OAAO,QAAQ,oBAAoB;AAAA,QAElC,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAEH;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,cAAW;AAAA,QACX;AAAA,QACA;AAAA,QACC,GAAG;AAAA,MAAA;AAAA,IAAA;AAAA,IAGN;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,MAAK;AAAA,QACL,YAAY;AAAA,QACZ,IAAI;AAAA,QACJ,OAAO,QAAQ,oBAAoB;AAAA,QAElC,UAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACH,GACF;AAEJ;","x_google_ignoreList":[0,1,2,3,4,5,6,7,8]}
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
import { primaryFont } from "../theme/typography/index.esm.js";
|
|
2
|
+
import { av as toFixedWithNumbers } from "./api-BbjtLtS_.esm.js";
|
|
3
|
+
import { a as formatDate } from "./dateFormat-VzMEQghL.esm.js";
|
|
4
|
+
const DEFAULT_MEASUREMENT_CONFIG = {
|
|
5
|
+
fontSize: "14px",
|
|
6
|
+
fontFamily: primaryFont,
|
|
7
|
+
fontWeight: "500"
|
|
8
|
+
};
|
|
9
|
+
let canvasContext = null;
|
|
10
|
+
function getCanvasContext() {
|
|
11
|
+
if (canvasContext) {
|
|
12
|
+
return canvasContext;
|
|
13
|
+
}
|
|
14
|
+
try {
|
|
15
|
+
const canvas = document.createElement("canvas");
|
|
16
|
+
canvasContext = canvas.getContext("2d");
|
|
17
|
+
return canvasContext;
|
|
18
|
+
} catch (error) {
|
|
19
|
+
console.warn("Canvas context creation failed, falling back to DOM measurement:", error);
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
function measureTextWidthCanvas(text, config) {
|
|
24
|
+
const context = getCanvasContext();
|
|
25
|
+
if (!context) {
|
|
26
|
+
console.warn("Canvas context not available, returning 0");
|
|
27
|
+
return 0;
|
|
28
|
+
}
|
|
29
|
+
context.font = `${config.fontWeight} ${config.fontSize} ${config.fontFamily}`;
|
|
30
|
+
const metrics = context.measureText(text);
|
|
31
|
+
return metrics.width;
|
|
32
|
+
}
|
|
33
|
+
function measureTextWidthDOM(text, config) {
|
|
34
|
+
try {
|
|
35
|
+
const element = document.createElement("span");
|
|
36
|
+
element.style.position = "absolute";
|
|
37
|
+
element.style.visibility = "hidden";
|
|
38
|
+
element.style.whiteSpace = "nowrap";
|
|
39
|
+
element.style.fontSize = config.fontSize;
|
|
40
|
+
element.style.fontFamily = config.fontFamily;
|
|
41
|
+
element.style.fontWeight = String(config.fontWeight);
|
|
42
|
+
element.textContent = text;
|
|
43
|
+
document.body.appendChild(element);
|
|
44
|
+
const width = element.offsetWidth;
|
|
45
|
+
document.body.removeChild(element);
|
|
46
|
+
return width;
|
|
47
|
+
} catch (error) {
|
|
48
|
+
console.warn("DOM measurement failed:", error);
|
|
49
|
+
return text.length * 8;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
function measureTextWidth(text, config = DEFAULT_MEASUREMENT_CONFIG) {
|
|
53
|
+
if (!text || text.length === 0) {
|
|
54
|
+
return 0;
|
|
55
|
+
}
|
|
56
|
+
const textStr = String(text);
|
|
57
|
+
const context = getCanvasContext();
|
|
58
|
+
if (context) {
|
|
59
|
+
return measureTextWidthCanvas(textStr, config);
|
|
60
|
+
}
|
|
61
|
+
return measureTextWidthDOM(textStr, config);
|
|
62
|
+
}
|
|
63
|
+
function getFontConfig(element) {
|
|
64
|
+
if (!element) {
|
|
65
|
+
return DEFAULT_MEASUREMENT_CONFIG;
|
|
66
|
+
}
|
|
67
|
+
try {
|
|
68
|
+
const computedStyle = window.getComputedStyle(element);
|
|
69
|
+
return {
|
|
70
|
+
fontSize: computedStyle.fontSize || DEFAULT_MEASUREMENT_CONFIG.fontSize,
|
|
71
|
+
fontFamily: computedStyle.fontFamily || DEFAULT_MEASUREMENT_CONFIG.fontFamily,
|
|
72
|
+
fontWeight: computedStyle.fontWeight || DEFAULT_MEASUREMENT_CONFIG.fontWeight
|
|
73
|
+
};
|
|
74
|
+
} catch (error) {
|
|
75
|
+
console.warn("Failed to extract font config from element:", error);
|
|
76
|
+
return DEFAULT_MEASUREMENT_CONFIG;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
function formatValueForMeasurement(value, type) {
|
|
80
|
+
if (value === null || value === void 0) {
|
|
81
|
+
return "-";
|
|
82
|
+
}
|
|
83
|
+
if (type === "date" || value instanceof Date) {
|
|
84
|
+
try {
|
|
85
|
+
return new Date(value).toLocaleDateString();
|
|
86
|
+
} catch {
|
|
87
|
+
return String(value);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
if (type === "number" || typeof value === "number") {
|
|
91
|
+
return String(value);
|
|
92
|
+
}
|
|
93
|
+
if (typeof value === "object") {
|
|
94
|
+
try {
|
|
95
|
+
return JSON.stringify(value);
|
|
96
|
+
} catch {
|
|
97
|
+
return String(value);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
return String(value);
|
|
101
|
+
}
|
|
102
|
+
function cleanupMeasurementContext() {
|
|
103
|
+
canvasContext = null;
|
|
104
|
+
}
|
|
105
|
+
function calculateColumnWidths(headers, rowContentSamples, measurementConfig = DEFAULT_MEASUREMENT_CONFIG, constraints = { min: 80, padding: 24 }, t) {
|
|
106
|
+
const calculatedWidths = {};
|
|
107
|
+
headers.forEach((header) => {
|
|
108
|
+
const label = t(header.label);
|
|
109
|
+
if (header.width) {
|
|
110
|
+
const numericWidth = typeof header.width === "string" ? parseInt(header.width.replace(/[^\d]/g, ""), 10) : header.width;
|
|
111
|
+
calculatedWidths[label] = numericWidth;
|
|
112
|
+
return;
|
|
113
|
+
}
|
|
114
|
+
const headerText = label;
|
|
115
|
+
let headerWidth = measureTextWidth(headerText, measurementConfig);
|
|
116
|
+
if (header.enableSorting) {
|
|
117
|
+
headerWidth += 48;
|
|
118
|
+
}
|
|
119
|
+
let maxRowContentWidth = 0;
|
|
120
|
+
const samples = rowContentSamples[label] || [];
|
|
121
|
+
samples.forEach((content) => {
|
|
122
|
+
const contentWidth = measureTextWidth(content, measurementConfig);
|
|
123
|
+
maxRowContentWidth = Math.max(maxRowContentWidth, contentWidth);
|
|
124
|
+
});
|
|
125
|
+
let calculatedWidth = Math.max(headerWidth < 100 ? headerWidth + 24 : headerWidth, maxRowContentWidth);
|
|
126
|
+
const dynamicPadding = constraints.padding;
|
|
127
|
+
calculatedWidth += dynamicPadding;
|
|
128
|
+
if (maxRowContentWidth > 10) {
|
|
129
|
+
calculatedWidth = Math.max(constraints.min, calculatedWidth);
|
|
130
|
+
} else {
|
|
131
|
+
calculatedWidth = Math.max(60, calculatedWidth);
|
|
132
|
+
}
|
|
133
|
+
if (constraints.max) {
|
|
134
|
+
calculatedWidth = Math.min(constraints.max, calculatedWidth);
|
|
135
|
+
}
|
|
136
|
+
calculatedWidths[label] = Math.round(calculatedWidth) > 100 ? Math.round(calculatedWidth) : 100;
|
|
137
|
+
});
|
|
138
|
+
return calculatedWidths;
|
|
139
|
+
}
|
|
140
|
+
const valueMapper = {
|
|
141
|
+
"amount": {
|
|
142
|
+
format: toFixedWithNumbers
|
|
143
|
+
},
|
|
144
|
+
"date": {
|
|
145
|
+
format: formatDate
|
|
146
|
+
},
|
|
147
|
+
"string": {
|
|
148
|
+
format: (value) => value
|
|
149
|
+
},
|
|
150
|
+
"toFixed": {
|
|
151
|
+
format: (value) => toFixedWithNumbers(value)
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
function getNestedValue(obj, path) {
|
|
155
|
+
var _a;
|
|
156
|
+
const type = (path == null ? void 0 : path.type) || "string";
|
|
157
|
+
if (!(path == null ? void 0 : path.name) || (path == null ? void 0 : path.name) === "") {
|
|
158
|
+
return "";
|
|
159
|
+
}
|
|
160
|
+
const value = path == null ? void 0 : path.name.split(".").reduce(
|
|
161
|
+
(acc, key) => acc && acc[key] !== void 0 ? acc[key] : void 0,
|
|
162
|
+
obj
|
|
163
|
+
);
|
|
164
|
+
if (value === 0 || value === "0") {
|
|
165
|
+
return "0";
|
|
166
|
+
}
|
|
167
|
+
return value !== void 0 ? (_a = valueMapper[type]) == null ? void 0 : _a.format(value) : "-";
|
|
168
|
+
}
|
|
169
|
+
function sampleRowContent(config) {
|
|
170
|
+
const { maxRows, headers, data, tableHeaders, t } = config;
|
|
171
|
+
const samples = {};
|
|
172
|
+
headers.forEach((header) => {
|
|
173
|
+
samples[t(header.label)] = [];
|
|
174
|
+
});
|
|
175
|
+
if (!data || !Array.isArray(data) || data.length === 0) {
|
|
176
|
+
return samples;
|
|
177
|
+
}
|
|
178
|
+
let sampledCount = 0;
|
|
179
|
+
const maxSamples = maxRows;
|
|
180
|
+
function sampleRows(rows, level = 0) {
|
|
181
|
+
var _a;
|
|
182
|
+
if (!Array.isArray(rows) || sampledCount >= maxSamples) {
|
|
183
|
+
return;
|
|
184
|
+
}
|
|
185
|
+
const levelHeaders = tableHeaders && tableHeaders[level] && tableHeaders[level].headers ? tableHeaders[level].headers : headers;
|
|
186
|
+
for (let i = 0; i < rows.length && sampledCount < maxSamples; i++) {
|
|
187
|
+
const row = rows[i];
|
|
188
|
+
headers.forEach((header) => {
|
|
189
|
+
const columnLabel = t(header.label);
|
|
190
|
+
if (!samples[columnLabel]) {
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
193
|
+
const headerInCurrentLevel = levelHeaders.find(
|
|
194
|
+
(lh) => t(lh.label) === columnLabel
|
|
195
|
+
);
|
|
196
|
+
let content;
|
|
197
|
+
if (headerInCurrentLevel) {
|
|
198
|
+
if (header.render && typeof header.render === "function") {
|
|
199
|
+
try {
|
|
200
|
+
const rendered = header.render(getNestedValue(row, header), row, data);
|
|
201
|
+
if (typeof rendered === "string") {
|
|
202
|
+
content = rendered;
|
|
203
|
+
} else if (typeof rendered === "number") {
|
|
204
|
+
content = String(rendered);
|
|
205
|
+
} else if (rendered && typeof rendered === "object" && "props" in rendered) {
|
|
206
|
+
const props = rendered.props;
|
|
207
|
+
if (props && props.children) {
|
|
208
|
+
content = String(props.children);
|
|
209
|
+
} else {
|
|
210
|
+
content = String(rendered);
|
|
211
|
+
}
|
|
212
|
+
} else {
|
|
213
|
+
content = String(rendered);
|
|
214
|
+
}
|
|
215
|
+
} catch (error) {
|
|
216
|
+
content = formatValueForMeasurement(getNestedValue(row, header), header.type);
|
|
217
|
+
}
|
|
218
|
+
} else {
|
|
219
|
+
const value = getNestedValue(row, header);
|
|
220
|
+
content = formatValueForMeasurement(value, header.type);
|
|
221
|
+
}
|
|
222
|
+
} else {
|
|
223
|
+
content = "-";
|
|
224
|
+
}
|
|
225
|
+
samples[columnLabel].push(content);
|
|
226
|
+
});
|
|
227
|
+
sampledCount++;
|
|
228
|
+
if (tableHeaders && tableHeaders[level + 1]) {
|
|
229
|
+
const nextRowKey = (_a = tableHeaders[level + 1]) == null ? void 0 : _a.rowKey;
|
|
230
|
+
if (nextRowKey && row[nextRowKey] && Array.isArray(row[nextRowKey])) {
|
|
231
|
+
sampleRows(row[nextRowKey], level + 1);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
sampleRows(data, 0);
|
|
237
|
+
return samples;
|
|
238
|
+
}
|
|
239
|
+
function getCheckboxColumnWidth() {
|
|
240
|
+
return 60;
|
|
241
|
+
}
|
|
242
|
+
export {
|
|
243
|
+
DEFAULT_MEASUREMENT_CONFIG as D,
|
|
244
|
+
cleanupMeasurementContext as a,
|
|
245
|
+
getFontConfig as b,
|
|
246
|
+
calculateColumnWidths as c,
|
|
247
|
+
formatValueForMeasurement as f,
|
|
248
|
+
getCheckboxColumnWidth as g,
|
|
249
|
+
measureTextWidth as m,
|
|
250
|
+
sampleRowContent as s
|
|
251
|
+
};
|
|
252
|
+
//# sourceMappingURL=text-measurement-bcIgRcxS.esm.js.map
|