@erpsquad/common 2.0.7 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-client/index.esm.js +2 -2
- package/dist/chunks/AuthContext-DofdH_qH.esm.js +304 -0
- package/dist/chunks/AuthContext-DofdH_qH.esm.js.map +1 -0
- package/dist/chunks/AuthContext-kcLshbDN.js +303 -0
- package/dist/chunks/AuthContext-kcLshbDN.js.map +1 -0
- package/dist/chunks/DonutChart-C6riky4l.esm.js +95 -0
- package/dist/chunks/DonutChart-C6riky4l.esm.js.map +1 -0
- package/dist/chunks/DonutChart-tepcDaIS.js +111 -0
- package/dist/chunks/DonutChart-tepcDaIS.js.map +1 -0
- package/dist/chunks/DynamicDependentField-CGdGWk5x.js +127 -0
- package/dist/chunks/DynamicDependentField-CGdGWk5x.js.map +1 -0
- package/dist/chunks/DynamicDependentField-DTmcCvr7.esm.js +128 -0
- package/dist/chunks/DynamicDependentField-DTmcCvr7.esm.js.map +1 -0
- package/dist/chunks/DynamicSearchInput-MbezEgV9.esm.js +195 -0
- package/dist/chunks/DynamicSearchInput-MbezEgV9.esm.js.map +1 -0
- package/dist/chunks/ERPUIProvider-BTLDtZWH.esm.js +133 -0
- package/dist/chunks/ERPUIProvider-BTLDtZWH.esm.js.map +1 -0
- package/dist/chunks/ERPUIProvider-JvxT4YBI.js +132 -0
- package/dist/chunks/ERPUIProvider-JvxT4YBI.js.map +1 -0
- package/dist/chunks/FORMS-D0B8kHGO.esm.js +296 -0
- package/dist/chunks/FORMS-D0B8kHGO.esm.js.map +1 -0
- package/dist/chunks/FORMS-DcWtwXeA.js +295 -0
- package/dist/chunks/FORMS-DcWtwXeA.js.map +1 -0
- package/dist/chunks/FlexibleReduxExample-B9lUXUtM.js +148 -0
- package/dist/chunks/FlexibleReduxExample-B9lUXUtM.js.map +1 -0
- package/dist/chunks/FlexibleReduxExample-BfAZ0NS1.esm.js +149 -0
- package/dist/chunks/FlexibleReduxExample-BfAZ0NS1.esm.js.map +1 -0
- package/dist/chunks/GroupBarChart-4SPyvviH.js +103 -0
- package/dist/chunks/GroupBarChart-4SPyvviH.js.map +1 -0
- package/dist/chunks/GroupBarChart-DARqXm97.esm.js +87 -0
- package/dist/chunks/GroupBarChart-DARqXm97.esm.js.map +1 -0
- package/dist/chunks/SectionFlowEditor-8U0IkGBG.esm.js +5461 -0
- package/dist/chunks/SectionFlowEditor-8U0IkGBG.esm.js.map +1 -0
- package/dist/chunks/SectionFlowEditor-CJVzv4-f.js +5460 -0
- package/dist/chunks/SectionFlowEditor-CJVzv4-f.js.map +1 -0
- package/dist/chunks/action-bar-1Rquyokn.esm.js +637 -0
- package/dist/chunks/action-bar-1Rquyokn.esm.js.map +1 -0
- package/dist/chunks/action-bar-BQu4SgTj.js +636 -0
- package/dist/chunks/action-bar-BQu4SgTj.js.map +1 -0
- package/dist/chunks/actionCreator-6vnQNdPW.esm.js +14 -0
- package/dist/chunks/actionCreator-6vnQNdPW.esm.js.map +1 -0
- package/dist/chunks/actionCreator-CRjzdA2F.esm.js +22 -0
- package/dist/chunks/actionCreator-CRjzdA2F.esm.js.map +1 -0
- package/dist/chunks/actionCreator-CfzbTvPB.esm.js +94 -0
- package/dist/chunks/actionCreator-CfzbTvPB.esm.js.map +1 -0
- package/dist/chunks/actionCreator-jQ2zgNcg.esm.js +80 -0
- package/dist/chunks/actionCreator-jQ2zgNcg.esm.js.map +1 -0
- package/dist/chunks/actionCreator-yZ3mD8R2.esm.js +28 -0
- package/dist/chunks/actionCreator-yZ3mD8R2.esm.js.map +1 -0
- package/dist/chunks/activity-tag-BPE6sv6e.js +151 -0
- package/dist/chunks/activity-tag-BPE6sv6e.js.map +1 -0
- package/dist/chunks/activity-tag-Bk13Lwtt.esm.js +152 -0
- package/dist/chunks/activity-tag-Bk13Lwtt.esm.js.map +1 -0
- package/dist/chunks/add-template-DGMGVpCT.esm.js +11 -0
- package/dist/chunks/add-template-DGMGVpCT.esm.js.map +1 -0
- package/dist/chunks/add-template-s1Vr9sdq.js +10 -0
- package/dist/chunks/add-template-s1Vr9sdq.js.map +1 -0
- package/dist/chunks/address-modal-BEo9bfzo.esm.js +671 -0
- package/dist/chunks/address-modal-BEo9bfzo.esm.js.map +1 -0
- package/dist/chunks/address-modal-DGAqvsPa.js +687 -0
- package/dist/chunks/address-modal-DGAqvsPa.js.map +1 -0
- package/dist/chunks/ai-summary-VG2I3n99.esm.js +351 -0
- package/dist/chunks/ai-summary-VG2I3n99.esm.js.map +1 -0
- package/dist/chunks/api-B6GkxQYG.esm.js +2219 -0
- package/dist/chunks/api-B6GkxQYG.esm.js.map +1 -0
- package/dist/chunks/api-BbjtLtS_.esm.js +4682 -0
- package/dist/chunks/api-BbjtLtS_.esm.js.map +1 -0
- package/dist/chunks/appbar-Dol8xdCz.js +56 -0
- package/dist/chunks/appbar-Dol8xdCz.js.map +1 -0
- package/dist/chunks/appbar-kCY0xo1q.esm.js +57 -0
- package/dist/chunks/appbar-kCY0xo1q.esm.js.map +1 -0
- package/dist/chunks/approval-wrapper-BIi2og8G.esm.js +140 -0
- package/dist/chunks/approval-wrapper-BIi2og8G.esm.js.map +1 -0
- package/dist/chunks/approval-wrapper-Cgweuhjx.js +139 -0
- package/dist/chunks/approval-wrapper-Cgweuhjx.js.map +1 -0
- package/dist/chunks/calculation-summary-BwBud3iV.esm.js +174 -0
- package/dist/chunks/calculation-summary-BwBud3iV.esm.js.map +1 -0
- package/dist/chunks/calculation-summary-pLuBD594.js +173 -0
- package/dist/chunks/calculation-summary-pLuBD594.js.map +1 -0
- package/dist/chunks/change-password-BqSHR0wx.js +199 -0
- package/dist/chunks/change-password-BqSHR0wx.js.map +1 -0
- package/dist/chunks/change-password-DJwwMZ29.esm.js +183 -0
- package/dist/chunks/change-password-DJwwMZ29.esm.js.map +1 -0
- package/dist/chunks/change-user-password-modal-DP_wbT8i.esm.js +119 -0
- package/dist/chunks/change-user-password-modal-DP_wbT8i.esm.js.map +1 -0
- package/dist/chunks/change-user-password-modal-VR98mGW6.js +135 -0
- package/dist/chunks/change-user-password-modal-VR98mGW6.js.map +1 -0
- package/dist/chunks/chat-bot-B1SWhIFL.esm.js +1831 -0
- package/dist/chunks/chat-bot-B1SWhIFL.esm.js.map +1 -0
- package/dist/chunks/chat-bot-CdiKFNgT.js +1830 -0
- package/dist/chunks/chat-bot-CdiKFNgT.js.map +1 -0
- package/dist/chunks/checkbox-Bp-_K3Uq.esm.js +83 -0
- package/dist/chunks/checkbox-Bp-_K3Uq.esm.js.map +1 -0
- package/dist/chunks/checkbox-D8p_Y3nz.js +82 -0
- package/dist/chunks/checkbox-D8p_Y3nz.js.map +1 -0
- package/dist/chunks/common-CrTFa-wo.js +182 -0
- package/dist/chunks/common-CrTFa-wo.js.map +1 -0
- package/dist/chunks/common-D6QyHh2n.esm.js +183 -0
- package/dist/chunks/common-D6QyHh2n.esm.js.map +1 -0
- package/dist/chunks/common-utility-Cab11rUm.js +305 -0
- package/dist/chunks/common-utility-Cab11rUm.js.map +1 -0
- package/dist/chunks/common-utility-DhJfepcc.esm.js +305 -0
- package/dist/chunks/common-utility-DhJfepcc.esm.js.map +1 -0
- package/dist/chunks/confirm-modal-D4bLzEGf.js +97 -0
- package/dist/chunks/confirm-modal-D4bLzEGf.js.map +1 -0
- package/dist/chunks/confirm-modal-nCdT1-Zb.esm.js +98 -0
- package/dist/chunks/confirm-modal-nCdT1-Zb.esm.js.map +1 -0
- package/dist/chunks/contact-modal-5rG_qnX7.js +185 -0
- package/dist/chunks/contact-modal-5rG_qnX7.js.map +1 -0
- package/dist/chunks/contact-modal-XTsjG2P2.esm.js +169 -0
- package/dist/chunks/contact-modal-XTsjG2P2.esm.js.map +1 -0
- package/dist/chunks/custom-editor-B0tdyVUd.esm.js +1257 -0
- package/dist/chunks/custom-editor-B0tdyVUd.esm.js.map +1 -0
- package/dist/chunks/custom-form-DJ9vNxTp.js +1145 -0
- package/dist/chunks/custom-form-DJ9vNxTp.js.map +1 -0
- package/dist/chunks/custom-form-M6YTLQfx.esm.js +1146 -0
- package/dist/chunks/custom-form-M6YTLQfx.esm.js.map +1 -0
- package/dist/chunks/dashboard-BMR-mYzQ.js +74 -0
- package/dist/chunks/dashboard-BMR-mYzQ.js.map +1 -0
- package/dist/chunks/dashboard-y9pGL53r.esm.js +75 -0
- package/dist/chunks/dashboard-y9pGL53r.esm.js.map +1 -0
- package/dist/chunks/date-range-picker-D6a4i6w_.js +61 -0
- package/dist/chunks/date-range-picker-D6a4i6w_.js.map +1 -0
- package/dist/chunks/date-range-picker-DIssi8qZ.js +159 -0
- package/dist/chunks/date-range-picker-DIssi8qZ.js.map +1 -0
- package/dist/chunks/date-range-picker-DqcAOo8B.esm.js +160 -0
- package/dist/chunks/date-range-picker-DqcAOo8B.esm.js.map +1 -0
- package/dist/chunks/date-range-picker-OOZXiyKI.esm.js +62 -0
- package/dist/chunks/date-range-picker-OOZXiyKI.esm.js.map +1 -0
- package/dist/chunks/dropdown-button-DYSlETL1.esm.js +146 -0
- package/dist/chunks/dropdown-button-DYSlETL1.esm.js.map +1 -0
- package/dist/chunks/dropdown-button-DeiOY_oP.js +162 -0
- package/dist/chunks/dropdown-button-DeiOY_oP.js.map +1 -0
- package/dist/chunks/dynamic-layout-wrapper-B6O3hR3Y.esm.js +229 -0
- package/dist/chunks/dynamic-layout-wrapper-B6O3hR3Y.esm.js.map +1 -0
- package/dist/chunks/dynamic-layout-wrapper-BtHbs1Zj.js +228 -0
- package/dist/chunks/dynamic-layout-wrapper-BtHbs1Zj.js.map +1 -0
- package/dist/chunks/dynamic-report-BAOTGuEk.esm.js +589 -0
- package/dist/chunks/dynamic-report-BAOTGuEk.esm.js.map +1 -0
- package/dist/chunks/dynamic-report-CynjfYJy.js +588 -0
- package/dist/chunks/dynamic-report-CynjfYJy.js.map +1 -0
- package/dist/chunks/dynamic-rows-C75GZFAm.esm.js +250 -0
- package/dist/chunks/dynamic-rows-C75GZFAm.esm.js.map +1 -0
- package/dist/chunks/dynamic-rows-CvqwiJje.js +249 -0
- package/dist/chunks/dynamic-rows-CvqwiJje.js.map +1 -0
- package/dist/chunks/dynamic-text-editor-btqFFT1t.esm.js +45 -0
- package/dist/chunks/dynamic-text-editor-btqFFT1t.esm.js.map +1 -0
- package/dist/chunks/edit-section-modal-DMH6owAz.esm.js +80 -0
- package/dist/chunks/edit-section-modal-DMH6owAz.esm.js.map +1 -0
- package/dist/chunks/expandable-summary-wrapper-DMQc4D4R.js +241 -0
- package/dist/chunks/expandable-summary-wrapper-DMQc4D4R.js.map +1 -0
- package/dist/chunks/expandable-summary-wrapper-t86b6oNE.esm.js +242 -0
- package/dist/chunks/expandable-summary-wrapper-t86b6oNE.esm.js.map +1 -0
- package/dist/chunks/filter-B4OpmXRQ.esm.js +410 -0
- package/dist/chunks/filter-B4OpmXRQ.esm.js.map +1 -0
- package/dist/chunks/filter-DJegmeDz.js +409 -0
- package/dist/chunks/filter-DJegmeDz.js.map +1 -0
- package/dist/chunks/footer-Bue8F5jc.js +63 -0
- package/dist/chunks/footer-Bue8F5jc.js.map +1 -0
- package/dist/chunks/footer-cys2uVXJ.esm.js +64 -0
- package/dist/chunks/footer-cys2uVXJ.esm.js.map +1 -0
- package/dist/chunks/forgot-password-C-_Vt8Ld.js +194 -0
- package/dist/chunks/forgot-password-C-_Vt8Ld.js.map +1 -0
- package/dist/chunks/forgot-password-DaYwd5uW.esm.js +178 -0
- package/dist/chunks/forgot-password-DaYwd5uW.esm.js.map +1 -0
- package/dist/chunks/form-fields-CvI9yo74.js +354 -0
- package/dist/chunks/form-fields-CvI9yo74.js.map +1 -0
- package/dist/chunks/form-fields-Dp-8zIrT.esm.js +355 -0
- package/dist/chunks/form-fields-Dp-8zIrT.esm.js.map +1 -0
- package/dist/chunks/form-parser-BNVZ-OsN.js +613 -0
- package/dist/chunks/form-parser-BNVZ-OsN.js.map +1 -0
- package/dist/chunks/form-parser-DgaV_u_G.esm.js +597 -0
- package/dist/chunks/form-parser-DgaV_u_G.esm.js.map +1 -0
- package/dist/chunks/form-section-CCQ5Grq5.js +575 -0
- package/dist/chunks/form-section-CCQ5Grq5.js.map +1 -0
- package/dist/chunks/form-section-D6OLrE7M.esm.js +576 -0
- package/dist/chunks/form-section-D6OLrE7M.esm.js.map +1 -0
- package/dist/chunks/fullScreen-Bar5e4Zd.esm.js +19 -0
- package/dist/chunks/fullScreen-Bar5e4Zd.esm.js.map +1 -0
- package/dist/chunks/fullScreen-DJR7qbF5.js +18 -0
- package/dist/chunks/fullScreen-DJR7qbF5.js.map +1 -0
- package/dist/chunks/global-search-Bn_3kWNW.esm.js +150 -0
- package/dist/chunks/global-search-Bn_3kWNW.esm.js.map +1 -0
- package/dist/chunks/grid-view-DQ481EM1.esm.js +52 -0
- package/dist/chunks/grid-view-DQ481EM1.esm.js.map +1 -0
- package/dist/chunks/header-266dLUMg.js +92 -0
- package/dist/chunks/header-266dLUMg.js.map +1 -0
- package/dist/chunks/header-BCMW9ctt.esm.js +93 -0
- package/dist/chunks/header-BCMW9ctt.esm.js.map +1 -0
- package/dist/chunks/header-enhanced-Cf44TMZf.js +402 -0
- package/dist/chunks/header-enhanced-Cf44TMZf.js.map +1 -0
- package/dist/chunks/header-enhanced-DDG6COKM.esm.js +403 -0
- package/dist/chunks/header-enhanced-DDG6COKM.esm.js.map +1 -0
- package/dist/chunks/i18n-B7RX2ZZ6.js +95 -0
- package/dist/chunks/i18n-B7RX2ZZ6.js.map +1 -0
- package/dist/chunks/i18n-IaT9E8wF.esm.js +94 -0
- package/dist/chunks/i18n-IaT9E8wF.esm.js.map +1 -0
- package/dist/chunks/index-DWPfPC9k.esm.js +2024 -0
- package/dist/chunks/index-DWPfPC9k.esm.js.map +1 -0
- package/dist/chunks/inline-edit-fields-C1ya5MlP.js +341 -0
- package/dist/chunks/inline-edit-fields-C1ya5MlP.js.map +1 -0
- package/dist/chunks/inline-edit-fields-DeepjF9W.esm.js +325 -0
- package/dist/chunks/inline-edit-fields-DeepjF9W.esm.js.map +1 -0
- package/dist/chunks/inventory-reports-title-bar-C7HQ0Rz0.esm.js +733 -0
- package/dist/chunks/inventory-reports-title-bar-C7HQ0Rz0.esm.js.map +1 -0
- package/dist/chunks/inventory-reports-title-bar-DrIkl093.js +732 -0
- package/dist/chunks/inventory-reports-title-bar-DrIkl093.js.map +1 -0
- package/dist/chunks/item-response-details-B0LkBlox.esm.js +79 -0
- package/dist/chunks/item-response-details-B0LkBlox.esm.js.map +1 -0
- package/dist/chunks/item-response-details-tn_93JWx.js +78 -0
- package/dist/chunks/item-response-details-tn_93JWx.js.map +1 -0
- package/dist/chunks/journal-type-add-modal-CQ7ik88w.js +128 -0
- package/dist/chunks/journal-type-add-modal-CQ7ik88w.js.map +1 -0
- package/dist/chunks/journal-type-add-modal-CubGUsiW.esm.js +112 -0
- package/dist/chunks/journal-type-add-modal-CubGUsiW.esm.js.map +1 -0
- package/dist/chunks/language-switch-B8Vo3as8.js +110 -0
- package/dist/chunks/language-switch-B8Vo3as8.js.map +1 -0
- package/dist/chunks/language-switch-JqR_jZoX.esm.js +111 -0
- package/dist/chunks/language-switch-JqR_jZoX.esm.js.map +1 -0
- package/dist/chunks/languageContext-JTb2yZmF.js +218 -0
- package/dist/chunks/languageContext-JTb2yZmF.js.map +1 -0
- package/dist/chunks/languageContext-aT4pFMI3.esm.js +219 -0
- package/dist/chunks/languageContext-aT4pFMI3.esm.js.map +1 -0
- package/dist/chunks/listing-BE07Zp5g.esm.js +277 -0
- package/dist/chunks/listing-BE07Zp5g.esm.js.map +1 -0
- package/dist/chunks/listing-Cp0b_XGM.js +276 -0
- package/dist/chunks/listing-Cp0b_XGM.js.map +1 -0
- package/dist/chunks/location-select-BoXNL7DP.js +85 -0
- package/dist/chunks/location-select-BoXNL7DP.js.map +1 -0
- package/dist/chunks/location-select-CCQueueQ.esm.js +86 -0
- package/dist/chunks/location-select-CCQueueQ.esm.js.map +1 -0
- package/dist/chunks/material-editable-table-DOrp18Fk.js +1464 -0
- package/dist/chunks/material-editable-table-DOrp18Fk.js.map +1 -0
- package/dist/chunks/material-editable-table-rLDq1Htx.esm.js +1448 -0
- package/dist/chunks/material-editable-table-rLDq1Htx.esm.js.map +1 -0
- package/dist/chunks/module-reducer-DODlFqlX.esm.js +79 -0
- package/dist/chunks/module-reducer-DODlFqlX.esm.js.map +1 -0
- package/dist/chunks/notification-menu-CPFPIlav.esm.js +606 -0
- package/dist/chunks/notification-menu-CPFPIlav.esm.js.map +1 -0
- package/dist/chunks/page-action-BB9ZfBqs.js +324 -0
- package/dist/chunks/page-action-BB9ZfBqs.js.map +1 -0
- package/dist/chunks/page-action-BVBfQPuy.esm.js +325 -0
- package/dist/chunks/page-action-BVBfQPuy.esm.js.map +1 -0
- package/dist/chunks/page-context-C6GLxzPF.js +387 -0
- package/dist/chunks/page-context-C6GLxzPF.js.map +1 -0
- package/dist/chunks/page-context-CZVCQsx4.esm.js +388 -0
- package/dist/chunks/page-context-CZVCQsx4.esm.js.map +1 -0
- package/dist/chunks/page-navigator-BtT7FvgA.js +243 -0
- package/dist/chunks/page-navigator-BtT7FvgA.js.map +1 -0
- package/dist/chunks/page-navigator-DhZSbWM-.esm.js +244 -0
- package/dist/chunks/page-navigator-DhZSbWM-.esm.js.map +1 -0
- package/dist/chunks/page-view-BS0vDfet.esm.js +324 -0
- package/dist/chunks/page-view-BS0vDfet.esm.js.map +1 -0
- package/dist/chunks/page-view-DQh8QJIi.js +323 -0
- package/dist/chunks/page-view-DQh8QJIi.js.map +1 -0
- package/dist/chunks/pagination-DF8mY5Wg.esm.js +136 -0
- package/dist/chunks/pagination-DF8mY5Wg.esm.js.map +1 -0
- package/dist/chunks/pagination-ytCCM6x5.js +135 -0
- package/dist/chunks/pagination-ytCCM6x5.js.map +1 -0
- package/dist/chunks/phone-CORnEyRe.esm.js +59 -0
- package/dist/chunks/phone-CORnEyRe.esm.js.map +1 -0
- package/dist/chunks/phone-CsXmANY1.js +58 -0
- package/dist/chunks/phone-CsXmANY1.js.map +1 -0
- package/dist/chunks/phone-input-3p8jy0VZ.esm.js +255 -0
- package/dist/chunks/phone-input-3p8jy0VZ.esm.js.map +1 -0
- package/dist/chunks/phone-input-cDVGHShY.js +254 -0
- package/dist/chunks/phone-input-cDVGHShY.js.map +1 -0
- package/dist/chunks/privateRoute-Cm2hqDeK.js +12 -0
- package/dist/chunks/privateRoute-Cm2hqDeK.js.map +1 -0
- package/dist/chunks/privateRoute-D5cMrsfo.esm.js +13 -0
- package/dist/chunks/privateRoute-D5cMrsfo.esm.js.map +1 -0
- package/dist/chunks/quick-approval-modal-DaSlNlcT.esm.js +256 -0
- package/dist/chunks/quick-approval-modal-DaSlNlcT.esm.js.map +1 -0
- package/dist/chunks/reducer-BVmCliuv.esm.js +50 -0
- package/dist/chunks/reducer-BVmCliuv.esm.js.map +1 -0
- package/dist/chunks/reducer-Ce33BbuU.esm.js +149 -0
- package/dist/chunks/reducer-Ce33BbuU.esm.js.map +1 -0
- package/dist/chunks/reducer-CqWixCbD.esm.js +33 -0
- package/dist/chunks/reducer-CqWixCbD.esm.js.map +1 -0
- package/dist/chunks/reducer-DJLJl8jC.esm.js +43 -0
- package/dist/chunks/reducer-DJLJl8jC.esm.js.map +1 -0
- package/dist/chunks/reducer-DhF7Zh6Q.esm.js +56 -0
- package/dist/chunks/reducer-DhF7Zh6Q.esm.js.map +1 -0
- package/dist/chunks/remove-action-BrwzXFnw.esm.js +21 -0
- package/dist/chunks/remove-action-BrwzXFnw.esm.js.map +1 -0
- package/dist/chunks/remove-action-DuOSbzq_.js +20 -0
- package/dist/chunks/remove-action-DuOSbzq_.js.map +1 -0
- package/dist/chunks/report-buttons-B2eLIpL8.esm.js +46 -0
- package/dist/chunks/report-buttons-B2eLIpL8.esm.js.map +1 -0
- package/dist/chunks/report-buttons-C5-b6TSy.esm.js +60 -0
- package/dist/chunks/report-buttons-C5-b6TSy.esm.js.map +1 -0
- package/dist/chunks/report-buttons-CZk6F9qW.js +59 -0
- package/dist/chunks/report-buttons-CZk6F9qW.js.map +1 -0
- package/dist/chunks/report-buttons-DOMCk_6C.js +45 -0
- package/dist/chunks/report-buttons-DOMCk_6C.js.map +1 -0
- package/dist/chunks/reportFilter-CYHe2E_K.esm.js +395 -0
- package/dist/chunks/reportFilter-CYHe2E_K.esm.js.map +1 -0
- package/dist/chunks/reportFilter-DxVLL73i.js +394 -0
- package/dist/chunks/reportFilter-DxVLL73i.js.map +1 -0
- package/dist/chunks/reports-title-bar-C4PU6UBg.js +946 -0
- package/dist/chunks/reports-title-bar-C4PU6UBg.js.map +1 -0
- package/dist/chunks/reports-title-bar-cKPM1sTK.esm.js +947 -0
- package/dist/chunks/reports-title-bar-cKPM1sTK.esm.js.map +1 -0
- package/dist/chunks/reset-password-C-9K23dJ.js +32 -0
- package/dist/chunks/reset-password-C-9K23dJ.js.map +1 -0
- package/dist/chunks/reset-password-D-KmDrEy.esm.js +33 -0
- package/dist/chunks/reset-password-D-KmDrEy.esm.js.map +1 -0
- package/dist/chunks/reset-password-modal-B6IEx0RP.esm.js +144 -0
- package/dist/chunks/reset-password-modal-B6IEx0RP.esm.js.map +1 -0
- package/dist/chunks/reset-password-modal-D8eQYA1o.js +160 -0
- package/dist/chunks/reset-password-modal-D8eQYA1o.js.map +1 -0
- package/dist/chunks/routes-DCfUJ0-V.js +35 -0
- package/dist/chunks/routes-DCfUJ0-V.js.map +1 -0
- package/dist/chunks/routes-d4lHZsSq.esm.js +36 -0
- package/dist/chunks/routes-d4lHZsSq.esm.js.map +1 -0
- package/dist/chunks/schedule-report-BDsU9z1g.esm.js +236 -0
- package/dist/chunks/schedule-report-BDsU9z1g.esm.js.map +1 -0
- package/dist/chunks/schedule-report-D3B_npRM.js +235 -0
- package/dist/chunks/schedule-report-D3B_npRM.js.map +1 -0
- package/dist/chunks/schedule-report-modal-BaUN50kn.esm.js +288 -0
- package/dist/chunks/schedule-report-modal-BaUN50kn.esm.js.map +1 -0
- package/dist/chunks/schedule-report-modal-HkWvhGzM.js +287 -0
- package/dist/chunks/schedule-report-modal-HkWvhGzM.js.map +1 -0
- package/dist/chunks/searchable-select-Bkza656F.esm.js +5396 -0
- package/dist/chunks/searchable-select-Bkza656F.esm.js.map +1 -0
- package/dist/chunks/searchable-select-Ce-Cfh7e.js +5412 -0
- package/dist/chunks/searchable-select-Ce-Cfh7e.js.map +1 -0
- package/dist/chunks/share-modal-c_hne4V-.esm.js +218 -0
- package/dist/chunks/share-modal-c_hne4V-.esm.js.map +1 -0
- package/dist/chunks/share-modal-enhanced-BNXVPBE7.esm.js +270 -0
- package/dist/chunks/share-modal-enhanced-BNXVPBE7.esm.js.map +1 -0
- package/dist/chunks/share-modal-enhanced-D2DkJKv8.js +269 -0
- package/dist/chunks/share-modal-enhanced-D2DkJKv8.js.map +1 -0
- package/dist/chunks/share-modal-wRSXhat1.js +217 -0
- package/dist/chunks/share-modal-wRSXhat1.js.map +1 -0
- package/dist/chunks/sidebar-B0_wJDLu.esm.js +879 -0
- package/dist/chunks/sidebar-B0_wJDLu.esm.js.map +1 -0
- package/dist/chunks/sidebar-DBIBqPwf.js +878 -0
- package/dist/chunks/sidebar-DBIBqPwf.js.map +1 -0
- package/dist/chunks/sidebarScreen-CVeGcSx7.esm.js +202 -0
- package/dist/chunks/sidebarScreen-CVeGcSx7.esm.js.map +1 -0
- package/dist/chunks/sidebarScreen-ym9GJarW.js +201 -0
- package/dist/chunks/sidebarScreen-ym9GJarW.js.map +1 -0
- package/dist/chunks/store-B_mh-yKT.esm.js +100 -0
- package/dist/chunks/store-B_mh-yKT.esm.js.map +1 -0
- package/dist/chunks/table-CE4hRFxy.esm.js +185 -0
- package/dist/chunks/table-CE4hRFxy.esm.js.map +1 -0
- package/dist/chunks/table-Do6LnNLm.js +184 -0
- package/dist/chunks/table-Do6LnNLm.js.map +1 -0
- package/dist/chunks/table-form-BBXjhFbT.esm.js +1537 -0
- package/dist/chunks/table-form-BBXjhFbT.esm.js.map +1 -0
- package/dist/chunks/template-editor-router-B5oqycyc.js +8 -0
- package/dist/chunks/template-editor-router-B5oqycyc.js.map +1 -0
- package/dist/chunks/template-editor-router-DzayMRL1.esm.js +9 -0
- package/dist/chunks/template-editor-router-DzayMRL1.esm.js.map +1 -0
- package/dist/chunks/template-modal-CpfMuiYf.js +768 -0
- package/dist/chunks/template-modal-CpfMuiYf.js.map +1 -0
- package/dist/chunks/template-modal-QGa_PiIZ.esm.js +769 -0
- package/dist/chunks/template-modal-QGa_PiIZ.esm.js.map +1 -0
- package/dist/chunks/template-name-modal-CfghZygq.esm.js +101 -0
- package/dist/chunks/template-name-modal-CfghZygq.esm.js.map +1 -0
- package/dist/chunks/templates-B7OX97K8.esm.js +273 -0
- package/dist/chunks/templates-B7OX97K8.esm.js.map +1 -0
- package/dist/chunks/templates-DSlPpza9.js +272 -0
- package/dist/chunks/templates-DSlPpza9.js.map +1 -0
- package/dist/chunks/text-measurement-bcIgRcxS.esm.js +252 -0
- package/dist/chunks/text-measurement-bcIgRcxS.esm.js.map +1 -0
- package/dist/chunks/three-dot-icon-8YrrMzuw.js +37 -0
- package/dist/chunks/three-dot-icon-8YrrMzuw.js.map +1 -0
- package/dist/chunks/three-dot-icon-CjJdOPo9.esm.js +38 -0
- package/dist/chunks/three-dot-icon-CjJdOPo9.esm.js.map +1 -0
- package/dist/chunks/toggle-button-C-1TQjtd.esm.js +55 -0
- package/dist/chunks/toggle-button-C-1TQjtd.esm.js.map +1 -0
- package/dist/chunks/toggle-button-DAhGk0ML.js +54 -0
- package/dist/chunks/toggle-button-DAhGk0ML.js.map +1 -0
- package/dist/chunks/toggle-switch-B8IqxoPK.js +80 -0
- package/dist/chunks/toggle-switch-B8IqxoPK.js.map +1 -0
- package/dist/chunks/toggle-switch-Bs5VnHNu.esm.js +81 -0
- package/dist/chunks/toggle-switch-Bs5VnHNu.esm.js.map +1 -0
- package/dist/chunks/translations-BWFkwxf-.esm.js +121 -0
- package/dist/chunks/translations-BWFkwxf-.esm.js.map +1 -0
- package/dist/chunks/translations-Bp8XT7gX.js +120 -0
- package/dist/chunks/translations-Bp8XT7gX.js.map +1 -0
- package/dist/chunks/uom-field-wrapper-CFunGH8W.js +79 -0
- package/dist/chunks/uom-field-wrapper-CFunGH8W.js.map +1 -0
- package/dist/chunks/uom-field-wrapper-CqOa0C9G.esm.js +80 -0
- package/dist/chunks/uom-field-wrapper-CqOa0C9G.esm.js.map +1 -0
- package/dist/chunks/upload-excel-Vtcnj7cc.esm.js +361 -0
- package/dist/chunks/upload-excel-Vtcnj7cc.esm.js.map +1 -0
- package/dist/chunks/use-pages-C30_LQ3n.esm.js +30 -0
- package/dist/chunks/use-pages-C30_LQ3n.esm.js.map +1 -0
- package/dist/chunks/use-pages-WkAi3E4W.js +29 -0
- package/dist/chunks/use-pages-WkAi3E4W.js.map +1 -0
- package/dist/chunks/use-translations-CjXYG4SW.esm.js +69 -0
- package/dist/chunks/use-translations-CjXYG4SW.esm.js.map +1 -0
- package/dist/chunks/use-translations-DpZR71i0.js +68 -0
- package/dist/chunks/use-translations-DpZR71i0.js.map +1 -0
- package/dist/chunks/useAccountSetting-w9Xa-7w_.esm.js +174 -0
- package/dist/chunks/useAccountSetting-w9Xa-7w_.esm.js.map +1 -0
- package/dist/chunks/useCheckSkuAndName-DZnJSqwy.esm.js +50 -0
- package/dist/chunks/useCheckSkuAndName-DZnJSqwy.esm.js.map +1 -0
- package/dist/chunks/useCompanyCountryCode-ByMHnqxy.esm.js +36 -0
- package/dist/chunks/useCompanyCountryCode-ByMHnqxy.esm.js.map +1 -0
- package/dist/chunks/useCompanyCountryCode-DqloXwtG.js +35 -0
- package/dist/chunks/useCompanyCountryCode-DqloXwtG.js.map +1 -0
- package/dist/chunks/useDataFetcher-Cq-WKcll.js +79 -0
- package/dist/chunks/useDataFetcher-Cq-WKcll.js.map +1 -0
- package/dist/chunks/useDataFetcher-DDlv9bYl.esm.js +80 -0
- package/dist/chunks/useDataFetcher-DDlv9bYl.esm.js.map +1 -0
- package/dist/chunks/useLangauge-DE_pDKAr.esm.js +49 -0
- package/dist/chunks/useLangauge-DE_pDKAr.esm.js.map +1 -0
- package/dist/chunks/useLangauge-pT1jJDfy.js +48 -0
- package/dist/chunks/useLangauge-pT1jJDfy.js.map +1 -0
- package/dist/chunks/useReduxIntegration-Bh_3eVGW.js +38 -0
- package/dist/chunks/useReduxIntegration-Bh_3eVGW.js.map +1 -0
- package/dist/chunks/useReduxIntegration-DzUPNavJ.esm.js +39 -0
- package/dist/chunks/useReduxIntegration-DzUPNavJ.esm.js.map +1 -0
- package/dist/chunks/useSetDefaultConfig-BD1RgDdR.js +100 -0
- package/dist/chunks/useSetDefaultConfig-BD1RgDdR.js.map +1 -0
- package/dist/chunks/useSetDefaultConfig-DYgXuA-O.esm.js +101 -0
- package/dist/chunks/useSetDefaultConfig-DYgXuA-O.esm.js.map +1 -0
- package/dist/chunks/useUniquenessCheck-CpUWTYur.esm.js +39 -0
- package/dist/chunks/useUniquenessCheck-CpUWTYur.esm.js.map +1 -0
- package/dist/chunks/user-menu-C4Ud-8Q3.js +104 -0
- package/dist/chunks/user-menu-C4Ud-8Q3.js.map +1 -0
- package/dist/chunks/user-menu-jAjQfkq3.esm.js +105 -0
- package/dist/chunks/user-menu-jAjQfkq3.esm.js.map +1 -0
- package/dist/chunks/value-editor-Be7rTjjR.esm.js +137 -0
- package/dist/chunks/value-editor-Be7rTjjR.esm.js.map +1 -0
- package/dist/chunks/value-editor-DX-JwgIC.js +136 -0
- package/dist/chunks/value-editor-DX-JwgIC.js.map +1 -0
- package/dist/components/ERPUIProvider/index.esm.js +1 -1
- package/dist/components/ERPUIProvider/index.js +1 -1
- package/dist/components/FORMS/index.esm.js +1 -1
- package/dist/components/FORMS/index.js +1 -1
- package/dist/components/action-bar/action-bar/index.esm.js +1 -1
- package/dist/components/action-bar/action-bar/index.js +1 -1
- package/dist/components/action-bar/index.esm.js +1 -1
- package/dist/components/action-bar/index.js +1 -1
- package/dist/components/activity-tag/activity-tag/index.esm.js +1 -1
- package/dist/components/activity-tag/activity-tag/index.js +1 -1
- package/dist/components/activity-tag/index.esm.js +1 -1
- package/dist/components/activity-tag/index.js +1 -1
- package/dist/components/address-modal/index.esm.js +1 -1
- package/dist/components/address-modal/index.js +1 -1
- package/dist/components/ai-summary/ai-summary/index.esm.js +1 -1
- package/dist/components/ai-summary/index.esm.js +1 -1
- package/dist/components/appbar/appbar/index.esm.js +1 -1
- package/dist/components/appbar/appbar/index.js +1 -1
- package/dist/components/appbar/index.esm.js +1 -1
- package/dist/components/appbar/index.js +1 -1
- package/dist/components/approval-wrapper/approval-wrapper/index.esm.js +1 -1
- package/dist/components/approval-wrapper/approval-wrapper/index.js +1 -1
- package/dist/components/approval-wrapper/index.esm.js +1 -1
- package/dist/components/approval-wrapper/index.js +1 -1
- package/dist/components/calculation-summary/calculation-summary/index.esm.js +1 -1
- package/dist/components/calculation-summary/calculation-summary/index.js +1 -1
- package/dist/components/calculation-summary/index.esm.js +1 -1
- package/dist/components/calculation-summary/index.js +1 -1
- package/dist/components/change-user-password-modal/change-user-password-modal/index.esm.js +1 -1
- package/dist/components/change-user-password-modal/change-user-password-modal/index.js +1 -1
- package/dist/components/change-user-password-modal/index.esm.js +1 -1
- package/dist/components/change-user-password-modal/index.js +1 -1
- package/dist/components/charts/donutChart/DonutChart/index.esm.js +1 -1
- package/dist/components/charts/donutChart/DonutChart/index.js +1 -1
- package/dist/components/charts/donutChart/index.esm.js +1 -1
- package/dist/components/charts/donutChart/index.js +1 -1
- package/dist/components/charts/groupBarChart/GroupBarChart/index.esm.js +1 -1
- package/dist/components/charts/groupBarChart/GroupBarChart/index.js +1 -1
- package/dist/components/charts/groupBarChart/index.esm.js +1 -1
- package/dist/components/charts/groupBarChart/index.js +1 -1
- package/dist/components/charts/index.esm.js +2 -2
- package/dist/components/charts/index.js +2 -2
- package/dist/components/chat-bot/index.esm.js +1 -1
- package/dist/components/chat-bot/index.js +1 -1
- package/dist/components/checkbox/index.esm.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/confirm-modal/confirm-modal/index.esm.js +1 -1
- package/dist/components/confirm-modal/confirm-modal/index.js +1 -1
- package/dist/components/confirm-modal/index.esm.js +1 -1
- package/dist/components/confirm-modal/index.js +1 -1
- package/dist/components/contact-modal/index.esm.js +1 -1
- package/dist/components/contact-modal/index.js +1 -1
- package/dist/components/custom-forms/FORMS/index.esm.js +1 -1
- package/dist/components/custom-forms/FORMS/index.js +1 -1
- package/dist/components/custom-forms/grid-view/grid-view/index.esm.js +1 -1
- package/dist/components/custom-forms/grid-view/index.esm.js +1 -1
- package/dist/components/custom-forms/index.esm.js +2 -2
- package/dist/components/custom-forms/index.js +1 -1
- package/dist/components/date-range-picker/date-range-picker/index.esm.js +1 -1
- package/dist/components/date-range-picker/date-range-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.esm.js +2 -2
- package/dist/components/date-range-picker/index.js +2 -2
- package/dist/components/department-add-modal/index.esm.js +1 -1
- package/dist/components/department-add-modal/index.js +1 -1
- package/dist/components/designation-add-modal/index.esm.js +1 -1
- package/dist/components/designation-add-modal/index.js +1 -1
- package/dist/components/donutChart/index.esm.js +1 -1
- package/dist/components/donutChart/index.js +1 -1
- package/dist/components/dropdown-button/dropdown-button/index.esm.js +1 -1
- package/dist/components/dropdown-button/dropdown-button/index.js +1 -1
- package/dist/components/dropdown-button/index.esm.js +1 -1
- package/dist/components/dropdown-button/index.js +1 -1
- package/dist/components/dynamic-layout-wrapper/dynamic-layout-wrapper/index.esm.js +1 -1
- package/dist/components/dynamic-layout-wrapper/dynamic-layout-wrapper/index.js +1 -1
- package/dist/components/dynamic-layout-wrapper/index.esm.js +1 -1
- package/dist/components/dynamic-layout-wrapper/index.js +1 -1
- package/dist/components/dynamic-select/index.esm.js +1 -1
- package/dist/components/dynamic-select/index.js +1 -1
- package/dist/components/editor/custom-editor/index.esm.js +1 -1
- package/dist/components/editor/index.esm.js +1 -1
- package/dist/components/examples/FlexibleReduxExample/index.esm.js +1 -1
- package/dist/components/examples/FlexibleReduxExample/index.js +1 -1
- package/dist/components/examples/index.esm.js +1 -1
- package/dist/components/examples/index.js +1 -1
- package/dist/components/expandable-summary-wrapper/expandable-summary-wrapper/index.esm.js +1 -1
- package/dist/components/expandable-summary-wrapper/expandable-summary-wrapper/index.js +1 -1
- package/dist/components/expandable-summary-wrapper/index.esm.js +1 -1
- package/dist/components/expandable-summary-wrapper/index.js +1 -1
- package/dist/components/filter/components/index.esm.js +2 -2
- package/dist/components/filter/components/index.js +2 -2
- package/dist/components/filter/components/remove-action/index.esm.js +1 -1
- package/dist/components/filter/components/remove-action/index.js +1 -1
- package/dist/components/filter/components/value-editor/index.esm.js +1 -1
- package/dist/components/filter/components/value-editor/index.js +1 -1
- package/dist/components/filter/filter/index.esm.js +1 -1
- package/dist/components/filter/filter/index.js +1 -1
- package/dist/components/filter/index.esm.js +3 -3
- package/dist/components/filter/index.js +3 -3
- package/dist/components/footer/footer/index.esm.js +1 -1
- package/dist/components/footer/footer/index.js +1 -1
- package/dist/components/footer/index.esm.js +1 -1
- package/dist/components/footer/index.js +1 -1
- package/dist/components/form-builder-element/index.esm.js +9 -9
- package/dist/components/form-builder-element/index.js +7 -7
- package/dist/components/form-control/form-builder/form-builder-element/checkbox/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/checkbox/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/date-range-picker/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/date-range-picker/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-dependent-field/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-dependent-field/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/dynamic-text-editor/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/fixed-asset-item-add-modal/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/fixed-asset-item-add-modal/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/index.esm.js +9 -9
- package/dist/components/form-control/form-builder/form-builder-element/index.js +7 -7
- package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/location-add-modal/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/phone/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/phone/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/select-configuration/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/select-configuration/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/table/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/table/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/toggle-button/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/toggle-button/index.js +1 -1
- package/dist/components/form-control/form-builder/index.esm.js +9 -9
- package/dist/components/form-control/form-builder/index.js +7 -7
- package/dist/components/form-control/form-parser/form-parser/index.esm.js +1 -1
- package/dist/components/form-control/form-parser/form-parser/index.js +1 -1
- package/dist/components/form-control/form-parser/form-section/index.esm.js +1 -1
- package/dist/components/form-control/form-parser/form-section/index.js +1 -1
- package/dist/components/form-control/form-parser/index.esm.js +2 -2
- package/dist/components/form-control/form-parser/index.js +2 -2
- package/dist/components/form-control/index.esm.js +11 -11
- package/dist/components/form-control/index.js +9 -9
- package/dist/components/form-parser/index.esm.js +1 -1
- package/dist/components/form-parser/index.js +1 -1
- package/dist/components/groupBarChart/index.esm.js +1 -1
- package/dist/components/groupBarChart/index.js +1 -1
- package/dist/components/header/components/global-search/index.esm.js +1 -1
- package/dist/components/header/components/index.esm.js +2 -2
- package/dist/components/header/components/index.js +1 -1
- package/dist/components/header/components/language-switch/index.esm.js +1 -1
- package/dist/components/header/components/language-switch/index.js +1 -1
- package/dist/components/header/components/notification-menu/index.esm.js +1 -1
- package/dist/components/header/components/notification-menu/notification-menu/index.esm.js +1 -1
- package/dist/components/header/components/user-menu/index.esm.js +1 -1
- package/dist/components/header/components/user-menu/index.js +1 -1
- package/dist/components/header/header/index.esm.js +1 -1
- package/dist/components/header/header/index.js +1 -1
- package/dist/components/header/header-enhanced/index.esm.js +1 -1
- package/dist/components/header/header-enhanced/index.js +1 -1
- package/dist/components/header/index.esm.js +6 -6
- package/dist/components/header/index.js +3 -3
- package/dist/components/header/redux/actionCreator/index.esm.js +1 -1
- package/dist/components/header/redux/index.esm.js +2 -2
- package/dist/components/header/redux/reducer/index.esm.js +1 -1
- package/dist/components/index.esm.js +60 -60
- package/dist/components/index.js +53 -53
- package/dist/components/inventory-reports-title-bar/component/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/component/index.js +1 -1
- package/dist/components/inventory-reports-title-bar/component/reportFilter/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/component/reportFilter/index.js +1 -1
- package/dist/components/inventory-reports-title-bar/index.esm.js +5 -5
- package/dist/components/inventory-reports-title-bar/index.js +3 -3
- package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/inventory-reports-title-bar/index.js +1 -1
- package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/redux/index.esm.js +2 -2
- package/dist/components/inventory-reports-title-bar/redux/reducer/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/report-buttons/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/report-buttons/index.js +1 -1
- package/dist/components/inventory-reports-title-bar/report-buttons/report-buttons/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/report-buttons/report-buttons/index.js +1 -1
- package/dist/components/journal-type-add-modal/index.esm.js +1 -1
- package/dist/components/journal-type-add-modal/index.js +1 -1
- package/dist/components/listing/index.esm.js +1 -1
- package/dist/components/listing/index.js +1 -1
- package/dist/components/listing/listing/index.esm.js +1 -1
- package/dist/components/listing/listing/index.js +1 -1
- package/dist/components/location-select/index.esm.js +1 -1
- package/dist/components/location-select/index.js +1 -1
- package/dist/components/material-editable-table/components/index.esm.js +1 -1
- package/dist/components/material-editable-table/components/index.js +1 -1
- package/dist/components/material-editable-table/components/inline-edit-fields/index.esm.js +1 -1
- package/dist/components/material-editable-table/components/inline-edit-fields/index.js +1 -1
- package/dist/components/material-editable-table/index.esm.js +2 -2
- package/dist/components/material-editable-table/index.js +2 -2
- package/dist/components/material-editable-table/material-editable-table/index.esm.js +1 -1
- package/dist/components/material-editable-table/material-editable-table/index.js +1 -1
- package/dist/components/material-table/components/index.esm.js +1 -1
- package/dist/components/material-table/components/index.js +1 -1
- package/dist/components/material-table/components/inline-edit-fields/index.esm.js +1 -1
- package/dist/components/material-table/components/inline-edit-fields/index.js +1 -1
- package/dist/components/material-table/index.esm.js +1 -1
- package/dist/components/material-table/index.js +1 -1
- package/dist/components/material-table/material-table/index.esm.js +1 -1
- package/dist/components/material-table/material-table/index.js +1 -1
- package/dist/components/page-navigator/components/index.esm.js +1 -1
- package/dist/components/page-navigator/components/index.js +1 -1
- package/dist/components/page-navigator/components/page-action/index.esm.js +1 -1
- package/dist/components/page-navigator/components/page-action/index.js +1 -1
- package/dist/components/page-navigator/index.esm.js +2 -2
- package/dist/components/page-navigator/index.js +2 -2
- package/dist/components/page-navigator/page-navigator/index.esm.js +1 -1
- package/dist/components/page-navigator/page-navigator/index.js +1 -1
- package/dist/components/pagination/index.esm.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/pagination/index.esm.js +1 -1
- package/dist/components/pagination/pagination/index.js +1 -1
- package/dist/components/parties-modal/index.esm.js +1 -1
- package/dist/components/parties-modal/index.js +1 -1
- package/dist/components/parties-modal/parties-modal/index.esm.js +1 -1
- package/dist/components/parties-modal/parties-modal/index.js +1 -1
- package/dist/components/phone-input/index.esm.js +1 -1
- package/dist/components/phone-input/index.js +1 -1
- package/dist/components/phone-input/phone-input/index.esm.js +1 -1
- package/dist/components/phone-input/phone-input/index.js +1 -1
- package/dist/components/providers/ERPUIProvider/index.esm.js +1 -1
- package/dist/components/providers/ERPUIProvider/index.js +1 -1
- package/dist/components/providers/index.esm.js +1 -1
- package/dist/components/providers/index.js +1 -1
- package/dist/components/quick-approval-modal/index.esm.js +1 -1
- package/dist/components/quick-approval-modal/quick-approval-modal/index.esm.js +1 -1
- package/dist/components/report-buttons/index.esm.js +1 -1
- package/dist/components/report-buttons/index.js +1 -1
- package/dist/components/reports/dynamic-report/dynamic-report/index.esm.js +1 -1
- package/dist/components/reports/dynamic-report/dynamic-report/index.js +1 -1
- package/dist/components/reports/dynamic-report/dynamic-rows/index.esm.js +1 -1
- package/dist/components/reports/dynamic-report/dynamic-rows/index.js +1 -1
- package/dist/components/reports/dynamic-report/index.esm.js +2 -2
- package/dist/components/reports/dynamic-report/index.js +2 -2
- package/dist/components/reports/index.esm.js +2 -2
- package/dist/components/reports/index.js +2 -2
- package/dist/components/reports-title-bar/index.esm.js +4 -4
- package/dist/components/reports-title-bar/index.js +2 -2
- package/dist/components/reports-title-bar/redux/actionCreator/index.esm.js +1 -1
- package/dist/components/reports-title-bar/redux/index.esm.js +2 -2
- package/dist/components/reports-title-bar/redux/reducer/index.esm.js +1 -1
- package/dist/components/reports-title-bar/report-buttons/index.esm.js +1 -1
- package/dist/components/reports-title-bar/report-buttons/index.js +1 -1
- package/dist/components/reports-title-bar/report-buttons/report-buttons/index.esm.js +1 -1
- package/dist/components/reports-title-bar/report-buttons/report-buttons/index.js +1 -1
- package/dist/components/reports-title-bar/reports-title-bar/index.esm.js +1 -1
- package/dist/components/reports-title-bar/reports-title-bar/index.js +1 -1
- package/dist/components/reset-password-modal/index.esm.js +1 -1
- package/dist/components/reset-password-modal/index.js +1 -1
- package/dist/components/reset-password-modal/reset-password-modal/index.esm.js +1 -1
- package/dist/components/reset-password-modal/reset-password-modal/index.js +1 -1
- package/dist/components/rfq-response/index.esm.js +1 -1
- package/dist/components/rfq-response/index.js +1 -1
- package/dist/components/rfq-response/item-response-details/index.esm.js +1 -1
- package/dist/components/rfq-response/item-response-details/index.js +1 -1
- package/dist/components/schedule-report/index.esm.js +2 -2
- package/dist/components/schedule-report/index.js +2 -2
- package/dist/components/schedule-report/schedule-report/index.esm.js +1 -1
- package/dist/components/schedule-report/schedule-report/index.js +1 -1
- package/dist/components/schedule-report/schedule-report-modal/index.esm.js +1 -1
- package/dist/components/schedule-report/schedule-report-modal/index.js +1 -1
- package/dist/components/schedule-report/utils/common/index.esm.js +1 -1
- package/dist/components/schedule-report-modal/index.esm.js +1 -1
- package/dist/components/schedule-report-modal/index.js +1 -1
- package/dist/components/searchable-select/index.esm.js +1 -1
- package/dist/components/searchable-select/index.js +1 -1
- package/dist/components/share-modal/index.esm.js +4 -4
- package/dist/components/share-modal/index.js +2 -2
- package/dist/components/share-modal/redux/actionCreator/index.esm.js +1 -1
- package/dist/components/share-modal/redux/index.esm.js +2 -2
- package/dist/components/share-modal/redux/reducer/index.esm.js +1 -1
- package/dist/components/share-modal/share-modal/index.esm.js +1 -1
- package/dist/components/share-modal/share-modal/index.js +1 -1
- package/dist/components/share-modal/share-modal-enhanced/index.esm.js +1 -1
- package/dist/components/share-modal/share-modal-enhanced/index.js +1 -1
- package/dist/components/sidebar/index.esm.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sidebar/sidebar/index.esm.js +1 -1
- package/dist/components/sidebar/sidebar/index.js +1 -1
- package/dist/components/team-add-modal/index.esm.js +1 -1
- package/dist/components/team-add-modal/index.js +1 -1
- package/dist/components/toggle-switch/index.esm.js +1 -1
- package/dist/components/toggle-switch/index.js +1 -1
- package/dist/components/toggle-switch/toggle-switch/index.esm.js +1 -1
- package/dist/components/toggle-switch/toggle-switch/index.js +1 -1
- package/dist/components/uom-field-wrapper/index.esm.js +1 -1
- package/dist/components/uom-field-wrapper/index.js +1 -1
- package/dist/components/uom-field-wrapper/uom-field-wrapper/index.esm.js +1 -1
- package/dist/components/uom-field-wrapper/uom-field-wrapper/index.js +1 -1
- package/dist/components/upload-excel/index.esm.js +1 -1
- package/dist/components/upload-excel/upload-excel/index.esm.js +1 -1
- package/dist/contexts/AuthContext/index.esm.js +1 -1
- package/dist/contexts/AuthContext/index.js +1 -1
- package/dist/contexts/index.esm.js +3 -3
- package/dist/contexts/index.js +3 -3
- package/dist/contexts/languageContext/index.esm.js +2 -2
- package/dist/contexts/languageContext/index.js +1 -1
- package/dist/contexts/page-context/index.esm.js +1 -1
- package/dist/contexts/page-context/index.js +1 -1
- package/dist/hooks/common/index.esm.js +1 -1
- package/dist/hooks/common/index.js +1 -1
- package/dist/hooks/index.esm.js +10 -10
- package/dist/hooks/index.js +7 -7
- package/dist/hooks/use-pages/index.esm.js +1 -1
- package/dist/hooks/use-pages/index.js +1 -1
- package/dist/hooks/use-translations/index.esm.js +1 -1
- package/dist/hooks/use-translations/index.js +1 -1
- package/dist/hooks/useAccountSetting/index.esm.js +1 -1
- package/dist/hooks/useAuth/index.esm.js +1 -1
- package/dist/hooks/useAuth/index.js +1 -1
- package/dist/hooks/useAuth.d.ts +2 -3
- package/dist/hooks/useCheckSkuAndName/index.esm.js +1 -1
- package/dist/hooks/useCompanyCountryCode/index.esm.js +1 -1
- package/dist/hooks/useCompanyCountryCode/index.js +1 -1
- package/dist/hooks/useDataFetcher/index.esm.js +1 -1
- package/dist/hooks/useDataFetcher/index.js +1 -1
- package/dist/hooks/useLangauge/index.esm.js +1 -1
- package/dist/hooks/useLangauge/index.js +1 -1
- package/dist/hooks/useReduxIntegration/index.esm.js +1 -1
- package/dist/hooks/useReduxIntegration/index.js +1 -1
- package/dist/hooks/useSetDefaultConfig/index.esm.js +1 -1
- package/dist/hooks/useSetDefaultConfig/index.js +1 -1
- package/dist/hooks/useUniquenessCheck/index.esm.js +1 -1
- package/dist/icons/index.esm.js +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/icons/three-dot-icon/index.esm.js +1 -1
- package/dist/icons/three-dot-icon/index.js +1 -1
- package/dist/index.esm.js +100 -100
- package/dist/index.js +79 -79
- package/dist/layout/fullScreen/fullScreen/index.esm.js +1 -1
- package/dist/layout/fullScreen/fullScreen/index.js +1 -1
- package/dist/layout/fullScreen/index.esm.js +1 -1
- package/dist/layout/fullScreen/index.js +1 -1
- package/dist/layout/index.esm.js +2 -2
- package/dist/layout/index.js +2 -2
- package/dist/layout/sidebarScreen/index.esm.js +1 -1
- package/dist/layout/sidebarScreen/index.js +1 -1
- package/dist/layout/sidebarScreen/sidebarScreen/index.esm.js +1 -1
- package/dist/layout/sidebarScreen/sidebarScreen/index.js +1 -1
- package/dist/redux/actionCreator/index.esm.js +1 -1
- package/dist/redux/index.esm.js +3 -3
- package/dist/redux/module-reducer/index.esm.js +1 -1
- package/dist/redux/store/index.esm.js +1 -1
- package/dist/runtime/index.esm.js +5 -5
- package/dist/runtime/index.js +5 -5
- package/dist/utils/api/index.esm.js +1 -1
- package/dist/utils/api-config/index.esm.js +6 -0
- package/dist/utils/api-config/index.esm.js.map +1 -1
- package/dist/utils/api-config/index.js +6 -0
- package/dist/utils/api-config/index.js.map +1 -1
- package/dist/utils/api-config.d.ts +3 -3
- package/dist/utils/common/index.esm.js +1 -1
- package/dist/utils/common-utility/index.esm.js +1 -1
- package/dist/utils/common-utility/index.js +1 -1
- package/dist/utils/i18n/index.esm.js +1 -1
- package/dist/utils/i18n/index.js +1 -1
- package/dist/utils/index.esm.js +9 -9
- package/dist/utils/index.js +3 -3
- package/dist/utils/server/index.esm.js +2 -2
- package/dist/utils/text-measurement/index.esm.js +1 -1
- package/dist/utils/translations/index.esm.js +1 -1
- package/dist/utils/translations/index.js +1 -1
- package/dist/views/afterAuth/dashboard/index.esm.js +1 -1
- package/dist/views/afterAuth/dashboard/index.js +1 -1
- package/dist/views/afterAuth/index.esm.js +2 -2
- package/dist/views/afterAuth/index.js +2 -2
- package/dist/views/afterAuth/page-view/index.esm.js +1 -1
- package/dist/views/afterAuth/page-view/index.js +1 -1
- package/dist/views/beforeAuth/change-password/index.esm.js +1 -1
- package/dist/views/beforeAuth/change-password/index.js +1 -1
- package/dist/views/beforeAuth/forgot-password/index.esm.js +1 -1
- package/dist/views/beforeAuth/forgot-password/index.js +1 -1
- package/dist/views/beforeAuth/index.esm.js +3 -3
- package/dist/views/beforeAuth/index.js +3 -3
- package/dist/views/beforeAuth/login/index.esm.js +2 -2
- package/dist/views/beforeAuth/login/index.js +2 -2
- package/dist/views/beforeAuth/reset-password/index.esm.js +1 -1
- package/dist/views/beforeAuth/reset-password/index.js +1 -1
- package/dist/views/custom-form/index.esm.js +1 -1
- package/dist/views/custom-form/index.js +1 -1
- package/dist/views/form-builder/custom-form/index.esm.js +1 -1
- package/dist/views/form-builder/custom-form/index.js +1 -1
- package/dist/views/form-builder/element-edit-forms/index.esm.js +1 -1
- package/dist/views/form-builder/form-fields/index.esm.js +1 -1
- package/dist/views/form-builder/form-fields/index.js +1 -1
- package/dist/views/form-builder/index.esm.js +4 -4
- package/dist/views/form-builder/index.js +2 -2
- package/dist/views/form-builder/redux/index.esm.js +1 -1
- package/dist/views/index.esm.js +18 -18
- package/dist/views/index.js +14 -14
- package/dist/views/privateRoute/index.esm.js +1 -1
- package/dist/views/privateRoute/index.js +1 -1
- package/dist/views/routes/index.esm.js +1 -1
- package/dist/views/routes/index.js +1 -1
- package/dist/views/template-editor/add-template/index.esm.js +1 -1
- package/dist/views/template-editor/add-template/index.js +1 -1
- package/dist/views/template-editor/components/index.esm.js +1 -1
- package/dist/views/template-editor/components/index.js +1 -1
- package/dist/views/template-editor/edit-section-modal/index.esm.js +1 -1
- package/dist/views/template-editor/index.esm.js +8 -8
- package/dist/views/template-editor/index.js +6 -6
- package/dist/views/template-editor/routes/index.esm.js +1 -1
- package/dist/views/template-editor/routes/index.js +1 -1
- package/dist/views/template-editor/template-editor-router/index.esm.js +1 -1
- package/dist/views/template-editor/template-editor-router/index.js +1 -1
- package/dist/views/template-editor/template-modal/index.esm.js +1 -1
- package/dist/views/template-editor/template-modal/index.js +1 -1
- package/dist/views/template-editor/template-name-modal/index.esm.js +1 -1
- package/dist/views/template-editor/templates/index.esm.js +1 -1
- package/dist/views/template-editor/templates/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunks/AuthContext-Bqy3zlq_.js +0 -305
- package/dist/chunks/AuthContext-Bqy3zlq_.js.map +0 -1
- package/dist/chunks/AuthContext-eGXp567d.esm.js +0 -306
- package/dist/chunks/AuthContext-eGXp567d.esm.js.map +0 -1
- package/dist/chunks/DonutChart-9GlP0tGi.esm.js +0 -95
- package/dist/chunks/DonutChart-9GlP0tGi.esm.js.map +0 -1
- package/dist/chunks/DonutChart-BamIDLHj.js +0 -111
- package/dist/chunks/DonutChart-BamIDLHj.js.map +0 -1
- package/dist/chunks/DynamicDependentField-DM-pXiRb.esm.js +0 -128
- package/dist/chunks/DynamicDependentField-DM-pXiRb.esm.js.map +0 -1
- package/dist/chunks/DynamicDependentField-RWjHJa1S.js +0 -127
- package/dist/chunks/DynamicDependentField-RWjHJa1S.js.map +0 -1
- package/dist/chunks/DynamicSearchInput-xvamctT5.esm.js +0 -195
- package/dist/chunks/DynamicSearchInput-xvamctT5.esm.js.map +0 -1
- package/dist/chunks/ERPUIProvider-CcbU8Jhs.esm.js +0 -133
- package/dist/chunks/ERPUIProvider-CcbU8Jhs.esm.js.map +0 -1
- package/dist/chunks/ERPUIProvider-CkA346Bx.js +0 -132
- package/dist/chunks/ERPUIProvider-CkA346Bx.js.map +0 -1
- package/dist/chunks/FORMS-6k86P7kx.esm.js +0 -296
- package/dist/chunks/FORMS-6k86P7kx.esm.js.map +0 -1
- package/dist/chunks/FORMS-BOxezXrE.js +0 -295
- package/dist/chunks/FORMS-BOxezXrE.js.map +0 -1
- package/dist/chunks/FlexibleReduxExample-BU7eNVSq.js +0 -148
- package/dist/chunks/FlexibleReduxExample-BU7eNVSq.js.map +0 -1
- package/dist/chunks/FlexibleReduxExample-BV7TsUhl.esm.js +0 -149
- package/dist/chunks/FlexibleReduxExample-BV7TsUhl.esm.js.map +0 -1
- package/dist/chunks/GroupBarChart-dsNa125r.js +0 -103
- package/dist/chunks/GroupBarChart-dsNa125r.js.map +0 -1
- package/dist/chunks/GroupBarChart-jsNqFjC-.esm.js +0 -87
- package/dist/chunks/GroupBarChart-jsNqFjC-.esm.js.map +0 -1
- package/dist/chunks/SectionFlowEditor-DvnZFi2e.js +0 -5460
- package/dist/chunks/SectionFlowEditor-DvnZFi2e.js.map +0 -1
- package/dist/chunks/SectionFlowEditor-Ehnll99q.esm.js +0 -5461
- package/dist/chunks/SectionFlowEditor-Ehnll99q.esm.js.map +0 -1
- package/dist/chunks/action-bar-BE-TNuCe.esm.js +0 -637
- package/dist/chunks/action-bar-BE-TNuCe.esm.js.map +0 -1
- package/dist/chunks/action-bar-CP01wien.js +0 -636
- package/dist/chunks/action-bar-CP01wien.js.map +0 -1
- package/dist/chunks/actionCreator-BlBxlh2l.esm.js +0 -28
- package/dist/chunks/actionCreator-BlBxlh2l.esm.js.map +0 -1
- package/dist/chunks/actionCreator-CHUmAB4_.esm.js +0 -14
- package/dist/chunks/actionCreator-CHUmAB4_.esm.js.map +0 -1
- package/dist/chunks/actionCreator-DCgwFst3.esm.js +0 -80
- package/dist/chunks/actionCreator-DCgwFst3.esm.js.map +0 -1
- package/dist/chunks/actionCreator-DzPzUn_7.esm.js +0 -94
- package/dist/chunks/actionCreator-DzPzUn_7.esm.js.map +0 -1
- package/dist/chunks/actionCreator-RfaAAG4X.esm.js +0 -22
- package/dist/chunks/actionCreator-RfaAAG4X.esm.js.map +0 -1
- package/dist/chunks/activity-tag-B_HyUR6v.js +0 -151
- package/dist/chunks/activity-tag-B_HyUR6v.js.map +0 -1
- package/dist/chunks/activity-tag-Bl99UBhT.esm.js +0 -152
- package/dist/chunks/activity-tag-Bl99UBhT.esm.js.map +0 -1
- package/dist/chunks/add-template-BMXnJyg4.esm.js +0 -11
- package/dist/chunks/add-template-BMXnJyg4.esm.js.map +0 -1
- package/dist/chunks/add-template-Cuwv_toK.js +0 -10
- package/dist/chunks/add-template-Cuwv_toK.js.map +0 -1
- package/dist/chunks/address-modal-CHBvA7Wz.js +0 -687
- package/dist/chunks/address-modal-CHBvA7Wz.js.map +0 -1
- package/dist/chunks/address-modal-DTm-EnU1.esm.js +0 -671
- package/dist/chunks/address-modal-DTm-EnU1.esm.js.map +0 -1
- package/dist/chunks/ai-summary-CxtEHJw9.esm.js +0 -351
- package/dist/chunks/ai-summary-CxtEHJw9.esm.js.map +0 -1
- package/dist/chunks/api-C4WZctJf.esm.js +0 -4682
- package/dist/chunks/api-C4WZctJf.esm.js.map +0 -1
- package/dist/chunks/api-Csn_qx_a.esm.js +0 -2219
- package/dist/chunks/api-Csn_qx_a.esm.js.map +0 -1
- package/dist/chunks/appbar-BSjQ7IAj.js +0 -56
- package/dist/chunks/appbar-BSjQ7IAj.js.map +0 -1
- package/dist/chunks/appbar-CIbFF779.esm.js +0 -57
- package/dist/chunks/appbar-CIbFF779.esm.js.map +0 -1
- package/dist/chunks/approval-wrapper-CAjch4Mf.js +0 -139
- package/dist/chunks/approval-wrapper-CAjch4Mf.js.map +0 -1
- package/dist/chunks/approval-wrapper-DmB_NzBg.esm.js +0 -140
- package/dist/chunks/approval-wrapper-DmB_NzBg.esm.js.map +0 -1
- package/dist/chunks/calculation-summary-DmM2nsnY.esm.js +0 -174
- package/dist/chunks/calculation-summary-DmM2nsnY.esm.js.map +0 -1
- package/dist/chunks/calculation-summary-K2rC_toI.js +0 -173
- package/dist/chunks/calculation-summary-K2rC_toI.js.map +0 -1
- package/dist/chunks/change-password-ABSrNtI8.esm.js +0 -183
- package/dist/chunks/change-password-ABSrNtI8.esm.js.map +0 -1
- package/dist/chunks/change-password-DkeDrR5Y.js +0 -199
- package/dist/chunks/change-password-DkeDrR5Y.js.map +0 -1
- package/dist/chunks/change-user-password-modal-BytpWtdj.esm.js +0 -119
- package/dist/chunks/change-user-password-modal-BytpWtdj.esm.js.map +0 -1
- package/dist/chunks/change-user-password-modal-IAsUvfpF.js +0 -135
- package/dist/chunks/change-user-password-modal-IAsUvfpF.js.map +0 -1
- package/dist/chunks/chat-bot-B9wlHU4B.js +0 -1830
- package/dist/chunks/chat-bot-B9wlHU4B.js.map +0 -1
- package/dist/chunks/chat-bot-DBwAlw7T.esm.js +0 -1831
- package/dist/chunks/chat-bot-DBwAlw7T.esm.js.map +0 -1
- package/dist/chunks/checkbox-BVkAOFmt.js +0 -82
- package/dist/chunks/checkbox-BVkAOFmt.js.map +0 -1
- package/dist/chunks/checkbox-CKDbaXzi.esm.js +0 -83
- package/dist/chunks/checkbox-CKDbaXzi.esm.js.map +0 -1
- package/dist/chunks/common-CmnUWtgz.esm.js +0 -183
- package/dist/chunks/common-CmnUWtgz.esm.js.map +0 -1
- package/dist/chunks/common-DoIQU98P.js +0 -182
- package/dist/chunks/common-DoIQU98P.js.map +0 -1
- package/dist/chunks/common-utility-DVezzQMe.js +0 -305
- package/dist/chunks/common-utility-DVezzQMe.js.map +0 -1
- package/dist/chunks/common-utility-ppCGJWGv.esm.js +0 -305
- package/dist/chunks/common-utility-ppCGJWGv.esm.js.map +0 -1
- package/dist/chunks/confirm-modal-BHn6ByuG.js +0 -97
- package/dist/chunks/confirm-modal-BHn6ByuG.js.map +0 -1
- package/dist/chunks/confirm-modal-CQFU3pec.esm.js +0 -98
- package/dist/chunks/confirm-modal-CQFU3pec.esm.js.map +0 -1
- package/dist/chunks/contact-modal-BVzokAWh.js +0 -185
- package/dist/chunks/contact-modal-BVzokAWh.js.map +0 -1
- package/dist/chunks/contact-modal-Bh1hsSUl.esm.js +0 -169
- package/dist/chunks/contact-modal-Bh1hsSUl.esm.js.map +0 -1
- package/dist/chunks/custom-editor-CAcqS40E.esm.js +0 -1257
- package/dist/chunks/custom-editor-CAcqS40E.esm.js.map +0 -1
- package/dist/chunks/custom-form-BKan6xKs.js +0 -1145
- package/dist/chunks/custom-form-BKan6xKs.js.map +0 -1
- package/dist/chunks/custom-form-M2yaxAU-.esm.js +0 -1146
- package/dist/chunks/custom-form-M2yaxAU-.esm.js.map +0 -1
- package/dist/chunks/dashboard-BLIoRhZz.js +0 -74
- package/dist/chunks/dashboard-BLIoRhZz.js.map +0 -1
- package/dist/chunks/dashboard-DaAOQfw-.esm.js +0 -75
- package/dist/chunks/dashboard-DaAOQfw-.esm.js.map +0 -1
- package/dist/chunks/date-range-picker-BrBrrpNr.esm.js +0 -160
- package/dist/chunks/date-range-picker-BrBrrpNr.esm.js.map +0 -1
- package/dist/chunks/date-range-picker-C_1ZpdRG.js +0 -61
- package/dist/chunks/date-range-picker-C_1ZpdRG.js.map +0 -1
- package/dist/chunks/date-range-picker-CvtalCUN.js +0 -159
- package/dist/chunks/date-range-picker-CvtalCUN.js.map +0 -1
- package/dist/chunks/date-range-picker-DKQsu_dk.esm.js +0 -62
- package/dist/chunks/date-range-picker-DKQsu_dk.esm.js.map +0 -1
- package/dist/chunks/dropdown-button-5Yq1wX-f.esm.js +0 -146
- package/dist/chunks/dropdown-button-5Yq1wX-f.esm.js.map +0 -1
- package/dist/chunks/dropdown-button-CGrcSsw4.js +0 -162
- package/dist/chunks/dropdown-button-CGrcSsw4.js.map +0 -1
- package/dist/chunks/dynamic-layout-wrapper-D0MlkFpa.js +0 -228
- package/dist/chunks/dynamic-layout-wrapper-D0MlkFpa.js.map +0 -1
- package/dist/chunks/dynamic-layout-wrapper-DvYlPKbc.esm.js +0 -229
- package/dist/chunks/dynamic-layout-wrapper-DvYlPKbc.esm.js.map +0 -1
- package/dist/chunks/dynamic-report-BfUbkDtu.esm.js +0 -589
- package/dist/chunks/dynamic-report-BfUbkDtu.esm.js.map +0 -1
- package/dist/chunks/dynamic-report-DBxqcE2b.js +0 -588
- package/dist/chunks/dynamic-report-DBxqcE2b.js.map +0 -1
- package/dist/chunks/dynamic-rows-B_dhcWuK.js +0 -249
- package/dist/chunks/dynamic-rows-B_dhcWuK.js.map +0 -1
- package/dist/chunks/dynamic-rows-Ey-yitNr.esm.js +0 -250
- package/dist/chunks/dynamic-rows-Ey-yitNr.esm.js.map +0 -1
- package/dist/chunks/dynamic-text-editor-GWbqgyUt.esm.js +0 -45
- package/dist/chunks/dynamic-text-editor-GWbqgyUt.esm.js.map +0 -1
- package/dist/chunks/edit-section-modal-CeBTvtMV.esm.js +0 -80
- package/dist/chunks/edit-section-modal-CeBTvtMV.esm.js.map +0 -1
- package/dist/chunks/expandable-summary-wrapper-CT8lYwm1.js +0 -241
- package/dist/chunks/expandable-summary-wrapper-CT8lYwm1.js.map +0 -1
- package/dist/chunks/expandable-summary-wrapper-z6v-k0wd.esm.js +0 -242
- package/dist/chunks/expandable-summary-wrapper-z6v-k0wd.esm.js.map +0 -1
- package/dist/chunks/filter-CvPa_POj.esm.js +0 -410
- package/dist/chunks/filter-CvPa_POj.esm.js.map +0 -1
- package/dist/chunks/filter-ZNZbXdD7.js +0 -409
- package/dist/chunks/filter-ZNZbXdD7.js.map +0 -1
- package/dist/chunks/footer-BZJkANB2.esm.js +0 -64
- package/dist/chunks/footer-BZJkANB2.esm.js.map +0 -1
- package/dist/chunks/footer-DO0bhJxT.js +0 -63
- package/dist/chunks/footer-DO0bhJxT.js.map +0 -1
- package/dist/chunks/forgot-password-DR1x4IbJ.esm.js +0 -178
- package/dist/chunks/forgot-password-DR1x4IbJ.esm.js.map +0 -1
- package/dist/chunks/forgot-password-su6siPVc.js +0 -194
- package/dist/chunks/forgot-password-su6siPVc.js.map +0 -1
- package/dist/chunks/form-fields-BC-5qhhm.esm.js +0 -355
- package/dist/chunks/form-fields-BC-5qhhm.esm.js.map +0 -1
- package/dist/chunks/form-fields-czqYUNw3.js +0 -354
- package/dist/chunks/form-fields-czqYUNw3.js.map +0 -1
- package/dist/chunks/form-parser-DvI-a1ha.esm.js +0 -597
- package/dist/chunks/form-parser-DvI-a1ha.esm.js.map +0 -1
- package/dist/chunks/form-parser-DxuycTXi.js +0 -613
- package/dist/chunks/form-parser-DxuycTXi.js.map +0 -1
- package/dist/chunks/form-section-D8zpeEi0.esm.js +0 -576
- package/dist/chunks/form-section-D8zpeEi0.esm.js.map +0 -1
- package/dist/chunks/form-section-W3f6MVU5.js +0 -575
- package/dist/chunks/form-section-W3f6MVU5.js.map +0 -1
- package/dist/chunks/fullScreen-B-rNqQXY.esm.js +0 -19
- package/dist/chunks/fullScreen-B-rNqQXY.esm.js.map +0 -1
- package/dist/chunks/fullScreen-DOtkOiq5.js +0 -18
- package/dist/chunks/fullScreen-DOtkOiq5.js.map +0 -1
- package/dist/chunks/global-search-DJrjNJ7H.esm.js +0 -150
- package/dist/chunks/global-search-DJrjNJ7H.esm.js.map +0 -1
- package/dist/chunks/grid-view-DmRlpcuu.esm.js +0 -52
- package/dist/chunks/grid-view-DmRlpcuu.esm.js.map +0 -1
- package/dist/chunks/header-Be9klul2.js +0 -92
- package/dist/chunks/header-Be9klul2.js.map +0 -1
- package/dist/chunks/header-BgcU15Q9.esm.js +0 -93
- package/dist/chunks/header-BgcU15Q9.esm.js.map +0 -1
- package/dist/chunks/header-enhanced-BIYQ3ToY.esm.js +0 -403
- package/dist/chunks/header-enhanced-BIYQ3ToY.esm.js.map +0 -1
- package/dist/chunks/header-enhanced-_RVJbWQd.js +0 -402
- package/dist/chunks/header-enhanced-_RVJbWQd.js.map +0 -1
- package/dist/chunks/i18n-C_6nRHMf.esm.js +0 -46
- package/dist/chunks/i18n-C_6nRHMf.esm.js.map +0 -1
- package/dist/chunks/i18n-GoZr_KAX.js +0 -47
- package/dist/chunks/i18n-GoZr_KAX.js.map +0 -1
- package/dist/chunks/index-BmU7fNjb.esm.js +0 -2024
- package/dist/chunks/index-BmU7fNjb.esm.js.map +0 -1
- package/dist/chunks/inline-edit-fields-BeSPpSZT.js +0 -341
- package/dist/chunks/inline-edit-fields-BeSPpSZT.js.map +0 -1
- package/dist/chunks/inline-edit-fields-CfqP1mWE.esm.js +0 -325
- package/dist/chunks/inline-edit-fields-CfqP1mWE.esm.js.map +0 -1
- package/dist/chunks/inventory-reports-title-bar-CXYcllW7.esm.js +0 -733
- package/dist/chunks/inventory-reports-title-bar-CXYcllW7.esm.js.map +0 -1
- package/dist/chunks/inventory-reports-title-bar-D9Zv4QWt.js +0 -732
- package/dist/chunks/inventory-reports-title-bar-D9Zv4QWt.js.map +0 -1
- package/dist/chunks/item-response-details-B9amHUMJ.esm.js +0 -79
- package/dist/chunks/item-response-details-B9amHUMJ.esm.js.map +0 -1
- package/dist/chunks/item-response-details-Dw7UyWq9.js +0 -78
- package/dist/chunks/item-response-details-Dw7UyWq9.js.map +0 -1
- package/dist/chunks/journal-type-add-modal-CHBKAU5b.esm.js +0 -112
- package/dist/chunks/journal-type-add-modal-CHBKAU5b.esm.js.map +0 -1
- package/dist/chunks/journal-type-add-modal-q-GwGzzf.js +0 -128
- package/dist/chunks/journal-type-add-modal-q-GwGzzf.js.map +0 -1
- package/dist/chunks/language-switch-C4G0r5eu.esm.js +0 -111
- package/dist/chunks/language-switch-C4G0r5eu.esm.js.map +0 -1
- package/dist/chunks/language-switch-Cp1Nrrs4.js +0 -110
- package/dist/chunks/language-switch-Cp1Nrrs4.js.map +0 -1
- package/dist/chunks/languageContext-CwkQHvuG.esm.js +0 -224
- package/dist/chunks/languageContext-CwkQHvuG.esm.js.map +0 -1
- package/dist/chunks/languageContext-o3WqMVq_.js +0 -223
- package/dist/chunks/languageContext-o3WqMVq_.js.map +0 -1
- package/dist/chunks/listing-C9yO9SAd.js +0 -276
- package/dist/chunks/listing-C9yO9SAd.js.map +0 -1
- package/dist/chunks/listing-DIK1VmjA.esm.js +0 -277
- package/dist/chunks/listing-DIK1VmjA.esm.js.map +0 -1
- package/dist/chunks/location-select-BgtvHBw3.esm.js +0 -86
- package/dist/chunks/location-select-BgtvHBw3.esm.js.map +0 -1
- package/dist/chunks/location-select-CEBaNXeK.js +0 -85
- package/dist/chunks/location-select-CEBaNXeK.js.map +0 -1
- package/dist/chunks/material-editable-table-B13Kh-dv.esm.js +0 -1448
- package/dist/chunks/material-editable-table-B13Kh-dv.esm.js.map +0 -1
- package/dist/chunks/material-editable-table-CFYlu4SQ.js +0 -1464
- package/dist/chunks/material-editable-table-CFYlu4SQ.js.map +0 -1
- package/dist/chunks/module-reducer-BF5bPega.esm.js +0 -79
- package/dist/chunks/module-reducer-BF5bPega.esm.js.map +0 -1
- package/dist/chunks/notification-menu-exP13DDH.esm.js +0 -606
- package/dist/chunks/notification-menu-exP13DDH.esm.js.map +0 -1
- package/dist/chunks/page-action-BwYdhajb.esm.js +0 -325
- package/dist/chunks/page-action-BwYdhajb.esm.js.map +0 -1
- package/dist/chunks/page-action-D0cYsBbl.js +0 -324
- package/dist/chunks/page-action-D0cYsBbl.js.map +0 -1
- package/dist/chunks/page-context-Bq41DQcz.js +0 -388
- package/dist/chunks/page-context-Bq41DQcz.js.map +0 -1
- package/dist/chunks/page-context-DRRyOB69.esm.js +0 -389
- package/dist/chunks/page-context-DRRyOB69.esm.js.map +0 -1
- package/dist/chunks/page-navigator-D9xKfQ1_.js +0 -243
- package/dist/chunks/page-navigator-D9xKfQ1_.js.map +0 -1
- package/dist/chunks/page-navigator-i8qQR766.esm.js +0 -244
- package/dist/chunks/page-navigator-i8qQR766.esm.js.map +0 -1
- package/dist/chunks/page-view-D8VGZbHd.js +0 -323
- package/dist/chunks/page-view-D8VGZbHd.js.map +0 -1
- package/dist/chunks/page-view-DghcAtNn.esm.js +0 -324
- package/dist/chunks/page-view-DghcAtNn.esm.js.map +0 -1
- package/dist/chunks/pagination-BnH9day1.js +0 -135
- package/dist/chunks/pagination-BnH9day1.js.map +0 -1
- package/dist/chunks/pagination-DTtXsesx.esm.js +0 -136
- package/dist/chunks/pagination-DTtXsesx.esm.js.map +0 -1
- package/dist/chunks/phone-Dy--Zv0Z.esm.js +0 -59
- package/dist/chunks/phone-Dy--Zv0Z.esm.js.map +0 -1
- package/dist/chunks/phone-gdY6annL.js +0 -58
- package/dist/chunks/phone-gdY6annL.js.map +0 -1
- package/dist/chunks/phone-input-CeSnil37.js +0 -254
- package/dist/chunks/phone-input-CeSnil37.js.map +0 -1
- package/dist/chunks/phone-input-XRLBCFtF.esm.js +0 -255
- package/dist/chunks/phone-input-XRLBCFtF.esm.js.map +0 -1
- package/dist/chunks/privateRoute-B5FS0k3Y.js +0 -12
- package/dist/chunks/privateRoute-B5FS0k3Y.js.map +0 -1
- package/dist/chunks/privateRoute-Bu4cOvLU.esm.js +0 -13
- package/dist/chunks/privateRoute-Bu4cOvLU.esm.js.map +0 -1
- package/dist/chunks/quick-approval-modal-g87dyO8k.esm.js +0 -256
- package/dist/chunks/quick-approval-modal-g87dyO8k.esm.js.map +0 -1
- package/dist/chunks/reducer-BEB6cGK7.esm.js +0 -33
- package/dist/chunks/reducer-BEB6cGK7.esm.js.map +0 -1
- package/dist/chunks/reducer-BjtGMJms.esm.js +0 -43
- package/dist/chunks/reducer-BjtGMJms.esm.js.map +0 -1
- package/dist/chunks/reducer-Bz_r_05x.esm.js +0 -56
- package/dist/chunks/reducer-Bz_r_05x.esm.js.map +0 -1
- package/dist/chunks/reducer-DkhymUSb.esm.js +0 -50
- package/dist/chunks/reducer-DkhymUSb.esm.js.map +0 -1
- package/dist/chunks/reducer-cUAFzhbU.esm.js +0 -149
- package/dist/chunks/reducer-cUAFzhbU.esm.js.map +0 -1
- package/dist/chunks/remove-action-B4vV6QLb.esm.js +0 -21
- package/dist/chunks/remove-action-B4vV6QLb.esm.js.map +0 -1
- package/dist/chunks/remove-action-BcjT4Ovp.js +0 -20
- package/dist/chunks/remove-action-BcjT4Ovp.js.map +0 -1
- package/dist/chunks/report-buttons-Bgo3X6NV.js +0 -59
- package/dist/chunks/report-buttons-Bgo3X6NV.js.map +0 -1
- package/dist/chunks/report-buttons-BwiGvh_a.esm.js +0 -60
- package/dist/chunks/report-buttons-BwiGvh_a.esm.js.map +0 -1
- package/dist/chunks/report-buttons-CROwSFWV.js +0 -45
- package/dist/chunks/report-buttons-CROwSFWV.js.map +0 -1
- package/dist/chunks/report-buttons-DZmTnUaC.esm.js +0 -46
- package/dist/chunks/report-buttons-DZmTnUaC.esm.js.map +0 -1
- package/dist/chunks/reportFilter-CsFmE0Vh.esm.js +0 -395
- package/dist/chunks/reportFilter-CsFmE0Vh.esm.js.map +0 -1
- package/dist/chunks/reportFilter-DHTGX5Di.js +0 -394
- package/dist/chunks/reportFilter-DHTGX5Di.js.map +0 -1
- package/dist/chunks/reports-title-bar-DCrnhE1i.js +0 -946
- package/dist/chunks/reports-title-bar-DCrnhE1i.js.map +0 -1
- package/dist/chunks/reports-title-bar-_177KGhZ.esm.js +0 -947
- package/dist/chunks/reports-title-bar-_177KGhZ.esm.js.map +0 -1
- package/dist/chunks/reset-password-B3RgeMda.esm.js +0 -33
- package/dist/chunks/reset-password-B3RgeMda.esm.js.map +0 -1
- package/dist/chunks/reset-password-BF38k5jv.js +0 -32
- package/dist/chunks/reset-password-BF38k5jv.js.map +0 -1
- package/dist/chunks/reset-password-modal-BTbJT7Eu.js +0 -160
- package/dist/chunks/reset-password-modal-BTbJT7Eu.js.map +0 -1
- package/dist/chunks/reset-password-modal-C7x7cxqZ.esm.js +0 -144
- package/dist/chunks/reset-password-modal-C7x7cxqZ.esm.js.map +0 -1
- package/dist/chunks/routes-BkIdmebk.esm.js +0 -36
- package/dist/chunks/routes-BkIdmebk.esm.js.map +0 -1
- package/dist/chunks/routes-DZwVNuAM.js +0 -35
- package/dist/chunks/routes-DZwVNuAM.js.map +0 -1
- package/dist/chunks/schedule-report-QmPH1Wjc.esm.js +0 -236
- package/dist/chunks/schedule-report-QmPH1Wjc.esm.js.map +0 -1
- package/dist/chunks/schedule-report-modal-2548Cnw1.esm.js +0 -288
- package/dist/chunks/schedule-report-modal-2548Cnw1.esm.js.map +0 -1
- package/dist/chunks/schedule-report-modal-x928D6nA.js +0 -287
- package/dist/chunks/schedule-report-modal-x928D6nA.js.map +0 -1
- package/dist/chunks/schedule-report-rQYnxps-.js +0 -235
- package/dist/chunks/schedule-report-rQYnxps-.js.map +0 -1
- package/dist/chunks/searchable-select-C4NlAvAY.js +0 -5412
- package/dist/chunks/searchable-select-C4NlAvAY.js.map +0 -1
- package/dist/chunks/searchable-select-CndbCRaF.esm.js +0 -5396
- package/dist/chunks/searchable-select-CndbCRaF.esm.js.map +0 -1
- package/dist/chunks/share-modal-CSpRfSmH.js +0 -217
- package/dist/chunks/share-modal-CSpRfSmH.js.map +0 -1
- package/dist/chunks/share-modal-D9Oowg3p.esm.js +0 -218
- package/dist/chunks/share-modal-D9Oowg3p.esm.js.map +0 -1
- package/dist/chunks/share-modal-enhanced-BeQwZmEu.js +0 -269
- package/dist/chunks/share-modal-enhanced-BeQwZmEu.js.map +0 -1
- package/dist/chunks/share-modal-enhanced-jVP0v7It.esm.js +0 -270
- package/dist/chunks/share-modal-enhanced-jVP0v7It.esm.js.map +0 -1
- package/dist/chunks/sidebar-D0hF4H3m.js +0 -878
- package/dist/chunks/sidebar-D0hF4H3m.js.map +0 -1
- package/dist/chunks/sidebar-DvML8Jbp.esm.js +0 -879
- package/dist/chunks/sidebar-DvML8Jbp.esm.js.map +0 -1
- package/dist/chunks/sidebarScreen-C0G0gM42.esm.js +0 -202
- package/dist/chunks/sidebarScreen-C0G0gM42.esm.js.map +0 -1
- package/dist/chunks/sidebarScreen-CkwJ1ue3.js +0 -201
- package/dist/chunks/sidebarScreen-CkwJ1ue3.js.map +0 -1
- package/dist/chunks/store-Dmz-DgYy.esm.js +0 -100
- package/dist/chunks/store-Dmz-DgYy.esm.js.map +0 -1
- package/dist/chunks/table-B_s-mIXn.esm.js +0 -185
- package/dist/chunks/table-B_s-mIXn.esm.js.map +0 -1
- package/dist/chunks/table-C5u4p3T_.js +0 -184
- package/dist/chunks/table-C5u4p3T_.js.map +0 -1
- package/dist/chunks/table-form-CufpQulG.esm.js +0 -1537
- package/dist/chunks/table-form-CufpQulG.esm.js.map +0 -1
- package/dist/chunks/template-editor-router-D7bqb67d.esm.js +0 -9
- package/dist/chunks/template-editor-router-D7bqb67d.esm.js.map +0 -1
- package/dist/chunks/template-editor-router-DRN5gx5w.js +0 -8
- package/dist/chunks/template-editor-router-DRN5gx5w.js.map +0 -1
- package/dist/chunks/template-modal-Ca8NM9xP.esm.js +0 -769
- package/dist/chunks/template-modal-Ca8NM9xP.esm.js.map +0 -1
- package/dist/chunks/template-modal-ScshCqGl.js +0 -768
- package/dist/chunks/template-modal-ScshCqGl.js.map +0 -1
- package/dist/chunks/template-name-modal-BbeUUs8-.esm.js +0 -101
- package/dist/chunks/template-name-modal-BbeUUs8-.esm.js.map +0 -1
- package/dist/chunks/templates-CPW4Brw5.js +0 -272
- package/dist/chunks/templates-CPW4Brw5.js.map +0 -1
- package/dist/chunks/templates-CZA7B97W.esm.js +0 -273
- package/dist/chunks/templates-CZA7B97W.esm.js.map +0 -1
- package/dist/chunks/text-measurement-B1c79w3_.esm.js +0 -252
- package/dist/chunks/text-measurement-B1c79w3_.esm.js.map +0 -1
- package/dist/chunks/three-dot-icon-BFKqMnLf.js +0 -40
- package/dist/chunks/three-dot-icon-BFKqMnLf.js.map +0 -1
- package/dist/chunks/three-dot-icon-Dq1ptGgl.esm.js +0 -41
- package/dist/chunks/three-dot-icon-Dq1ptGgl.esm.js.map +0 -1
- package/dist/chunks/toggle-button-CVeo1waU.js +0 -54
- package/dist/chunks/toggle-button-CVeo1waU.js.map +0 -1
- package/dist/chunks/toggle-button-itOKhrc0.esm.js +0 -55
- package/dist/chunks/toggle-button-itOKhrc0.esm.js.map +0 -1
- package/dist/chunks/toggle-switch-BM70h5jL.js +0 -80
- package/dist/chunks/toggle-switch-BM70h5jL.js.map +0 -1
- package/dist/chunks/toggle-switch-Be_pTc_l.esm.js +0 -81
- package/dist/chunks/toggle-switch-Be_pTc_l.esm.js.map +0 -1
- package/dist/chunks/translations-BBP_sDHA.esm.js +0 -128
- package/dist/chunks/translations-BBP_sDHA.esm.js.map +0 -1
- package/dist/chunks/translations-DJj06YLO.js +0 -127
- package/dist/chunks/translations-DJj06YLO.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-DmFBym9X.js +0 -79
- package/dist/chunks/uom-field-wrapper-DmFBym9X.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-QeMbOh1z.esm.js +0 -80
- package/dist/chunks/uom-field-wrapper-QeMbOh1z.esm.js.map +0 -1
- package/dist/chunks/upload-excel-FvuJguoD.esm.js +0 -361
- package/dist/chunks/upload-excel-FvuJguoD.esm.js.map +0 -1
- package/dist/chunks/use-pages-BjXaTIsn.esm.js +0 -30
- package/dist/chunks/use-pages-BjXaTIsn.esm.js.map +0 -1
- package/dist/chunks/use-pages-CfOuWUhZ.js +0 -29
- package/dist/chunks/use-pages-CfOuWUhZ.js.map +0 -1
- package/dist/chunks/use-translations-C6akE0rW.js +0 -68
- package/dist/chunks/use-translations-C6akE0rW.js.map +0 -1
- package/dist/chunks/use-translations-PaBQxwx7.esm.js +0 -69
- package/dist/chunks/use-translations-PaBQxwx7.esm.js.map +0 -1
- package/dist/chunks/useAccountSetting-D58MKAOM.esm.js +0 -174
- package/dist/chunks/useAccountSetting-D58MKAOM.esm.js.map +0 -1
- package/dist/chunks/useCheckSkuAndName-D5VNk0T7.esm.js +0 -50
- package/dist/chunks/useCheckSkuAndName-D5VNk0T7.esm.js.map +0 -1
- package/dist/chunks/useCompanyCountryCode-BFOhrIEg.esm.js +0 -36
- package/dist/chunks/useCompanyCountryCode-BFOhrIEg.esm.js.map +0 -1
- package/dist/chunks/useCompanyCountryCode-NA-dpRoG.js +0 -35
- package/dist/chunks/useCompanyCountryCode-NA-dpRoG.js.map +0 -1
- package/dist/chunks/useDataFetcher-CwfzNyTb.js +0 -79
- package/dist/chunks/useDataFetcher-CwfzNyTb.js.map +0 -1
- package/dist/chunks/useDataFetcher-DrtqG3CG.esm.js +0 -80
- package/dist/chunks/useDataFetcher-DrtqG3CG.esm.js.map +0 -1
- package/dist/chunks/useLangauge-3NKJDL3U.esm.js +0 -49
- package/dist/chunks/useLangauge-3NKJDL3U.esm.js.map +0 -1
- package/dist/chunks/useLangauge-B7MUoWt1.js +0 -48
- package/dist/chunks/useLangauge-B7MUoWt1.js.map +0 -1
- package/dist/chunks/useReduxIntegration-BlZTSHKV.esm.js +0 -39
- package/dist/chunks/useReduxIntegration-BlZTSHKV.esm.js.map +0 -1
- package/dist/chunks/useReduxIntegration-Dv1kXNL3.js +0 -38
- package/dist/chunks/useReduxIntegration-Dv1kXNL3.js.map +0 -1
- package/dist/chunks/useSetDefaultConfig-DXu44f_j.js +0 -100
- package/dist/chunks/useSetDefaultConfig-DXu44f_j.js.map +0 -1
- package/dist/chunks/useSetDefaultConfig-DhCePm1v.esm.js +0 -101
- package/dist/chunks/useSetDefaultConfig-DhCePm1v.esm.js.map +0 -1
- package/dist/chunks/useUniquenessCheck-CEITes-f.esm.js +0 -39
- package/dist/chunks/useUniquenessCheck-CEITes-f.esm.js.map +0 -1
- package/dist/chunks/user-menu-CFjgWPOM.js +0 -104
- package/dist/chunks/user-menu-CFjgWPOM.js.map +0 -1
- package/dist/chunks/user-menu-DwQk2A7L.esm.js +0 -105
- package/dist/chunks/user-menu-DwQk2A7L.esm.js.map +0 -1
- package/dist/chunks/value-editor-C-5t5OUu.js +0 -136
- package/dist/chunks/value-editor-C-5t5OUu.js.map +0 -1
- package/dist/chunks/value-editor-CTm7pEMf.esm.js +0 -137
- package/dist/chunks/value-editor-CTm7pEMf.esm.js.map +0 -1
|
@@ -1,1145 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
-
const React = require("react");
|
|
4
|
-
const reactRouterDom = require("react-router-dom");
|
|
5
|
-
const reactHookForm = require("react-hook-form");
|
|
6
|
-
const material = require("@mui/material");
|
|
7
|
-
const iconsMaterial = require("@mui/icons-material");
|
|
8
|
-
const reactDnd = require("react-dnd");
|
|
9
|
-
const reactDndHtml5Backend = require("react-dnd-html5-backend");
|
|
10
|
-
const reactI18next = require("react-i18next");
|
|
11
|
-
const notistack = require("notistack");
|
|
12
|
-
const section = require("./section-BF0cl17d.js");
|
|
13
|
-
const button = require("./button-Kr1nryDd.js");
|
|
14
|
-
const tabs = require("./tabs-Bl9bFBv5.js");
|
|
15
|
-
const images = require("./images-XKRt_8DP.js");
|
|
16
|
-
const formHeader = require("./form-header-BgVh6ncF.js");
|
|
17
|
-
const typography = require("./typography-Bqfr1Ksf.js");
|
|
18
|
-
const utils_formBuilderConversion = require("../utils/form-builder-conversion/index.js");
|
|
19
|
-
const hooks = require("./hooks-DsdahmnZ.js");
|
|
20
|
-
const utils_formatText = require("../utils/format-text/index.js");
|
|
21
|
-
const toast = require("./toast-D6pKuNek.js");
|
|
22
|
-
const radio = require("./radio-B4q7PaRy.js");
|
|
23
|
-
const utils_constant = require("../utils/constant/index.js");
|
|
24
|
-
const erpLoader = require("./erp-loader-Ca8C6S9x.js");
|
|
25
|
-
const api = require("./api-CiQPN57O.js");
|
|
26
|
-
const formParser = require("./form-parser-DxuycTXi.js");
|
|
27
|
-
const eyeOff = require("./eye-off-DVPrzJt8.js");
|
|
28
|
-
const eye = require("./eye-BM7Zd78y.js");
|
|
29
|
-
const reducer = require("./reducer-Dlmh8UB6.js");
|
|
30
|
-
const views_formBuilder_field_properties = require("../views/form-builder/field_properties/index.js");
|
|
31
|
-
const tableForm = require("./table-form-DFES9cMx.js");
|
|
32
|
-
const formFields = require("./form-fields-czqYUNw3.js");
|
|
33
|
-
const common = require("./common-CYPdrmYE.js");
|
|
34
|
-
const DEFAULT_GRID_COLUMNS = 12;
|
|
35
|
-
const DEFAULT_COLUMN_WIDTH = 2;
|
|
36
|
-
const DEFAULT_TAB_TITLE = "data";
|
|
37
|
-
const isValidNumber = (value) => !isNaN(Number(value)) && isFinite(Number(value));
|
|
38
|
-
const deepClone = (obj) => JSON.parse(JSON.stringify(obj));
|
|
39
|
-
const generateUniqueId = (separator = "") => {
|
|
40
|
-
return { uniqueStringId: `${Date.now()}${separator}${Math.random().toString(36).substr(2, 9)}` };
|
|
41
|
-
};
|
|
42
|
-
function CustomForm({ redirectionPath }) {
|
|
43
|
-
const { t } = reactI18next.useTranslation();
|
|
44
|
-
const dispatch = hooks.useAppDispatch();
|
|
45
|
-
const navigate = reactRouterDom.useNavigate();
|
|
46
|
-
const location = reactRouterDom.useLocation();
|
|
47
|
-
const rowData = location.state ?? [];
|
|
48
|
-
const formBuilder = hooks.useAppSelector((state) => state.formBuilder);
|
|
49
|
-
const { control } = reactHookForm.useForm({
|
|
50
|
-
reValidateMode: "onBlur"
|
|
51
|
-
});
|
|
52
|
-
const {
|
|
53
|
-
fields: members,
|
|
54
|
-
append,
|
|
55
|
-
remove,
|
|
56
|
-
update,
|
|
57
|
-
move,
|
|
58
|
-
insert
|
|
59
|
-
} = reactHookForm.useFieldArray({
|
|
60
|
-
control,
|
|
61
|
-
name: "members"
|
|
62
|
-
});
|
|
63
|
-
const {
|
|
64
|
-
fields: section$1,
|
|
65
|
-
append: appendSection,
|
|
66
|
-
remove: removeSection,
|
|
67
|
-
update: updateSection
|
|
68
|
-
} = reactHookForm.useFieldArray({
|
|
69
|
-
control,
|
|
70
|
-
name: "section"
|
|
71
|
-
});
|
|
72
|
-
const [selectedHoc, setSelectedHoc] = React.useState("");
|
|
73
|
-
const [activeSection, setActiveSection] = React.useState();
|
|
74
|
-
const [activeMember, setActiveMember] = React.useState();
|
|
75
|
-
const [formJSON, setFormJSON] = React.useState([]);
|
|
76
|
-
const [elementJSON, setElementJSON] = React.useState(null);
|
|
77
|
-
const [positionEditedElement, setPositionEditedElement] = React.useState();
|
|
78
|
-
const [sectionFormJSON, setSectionFormJSON] = React.useState([]);
|
|
79
|
-
const [sectionJSON, setSectionJSON] = React.useState({});
|
|
80
|
-
const [sectionPositionEditedElement, setSectionPositionEditedElement] = React.useState();
|
|
81
|
-
const [removeSectionActionPerformed, setRemoveSectionActionPerformed] = React.useState(false);
|
|
82
|
-
const [removeSectionMembersPerformed, setRemoveSectionMembersPerformed] = React.useState(false);
|
|
83
|
-
const [removeSectionPosition, setRemoveSectionPosition] = React.useState();
|
|
84
|
-
const [initialLoading, setInitialLoading] = React.useState(true);
|
|
85
|
-
const [tabsData, setTabsData] = React.useState([]);
|
|
86
|
-
const [activeTabValue, setActiveTabValue] = React.useState(0);
|
|
87
|
-
const [elementSwap, setElementSwap] = React.useState(false);
|
|
88
|
-
const [modifyAccordion, setModifyAccordion] = React.useState(false);
|
|
89
|
-
const [toast$1, setToast] = React.useState(null);
|
|
90
|
-
const [previewFieldsData, setPreviewFields] = React.useState(null);
|
|
91
|
-
const [_, setFormParserMethods] = React.useState();
|
|
92
|
-
let elementPerColumn;
|
|
93
|
-
const currentModule = location.pathname.split("/")[2];
|
|
94
|
-
const path = redirectionPath ? redirectionPath : common.generateModulePath(currentModule);
|
|
95
|
-
common.useFormDataEffect(
|
|
96
|
-
formBuilder,
|
|
97
|
-
tabsData,
|
|
98
|
-
activeTabValue,
|
|
99
|
-
{
|
|
100
|
-
removeSection,
|
|
101
|
-
remove,
|
|
102
|
-
setTabsData,
|
|
103
|
-
append,
|
|
104
|
-
appendSection
|
|
105
|
-
}
|
|
106
|
-
);
|
|
107
|
-
const pickPropertyEditForm = React.useCallback((type) => {
|
|
108
|
-
try {
|
|
109
|
-
if (!type || typeof type !== "string") {
|
|
110
|
-
console.warn("Invalid field type provided to pickPropertyEditForm");
|
|
111
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-gray-500 p-4", children: "Select a field to edit" });
|
|
112
|
-
}
|
|
113
|
-
const normalizedType = type.toLowerCase().trim();
|
|
114
|
-
const formGroups = {
|
|
115
|
-
text: [
|
|
116
|
-
"text",
|
|
117
|
-
"number",
|
|
118
|
-
"email",
|
|
119
|
-
"phone",
|
|
120
|
-
"date",
|
|
121
|
-
"time",
|
|
122
|
-
"url",
|
|
123
|
-
"currency",
|
|
124
|
-
"file",
|
|
125
|
-
"geolocation",
|
|
126
|
-
"image",
|
|
127
|
-
"relation",
|
|
128
|
-
"info",
|
|
129
|
-
"tagsinput"
|
|
130
|
-
],
|
|
131
|
-
select: ["select"],
|
|
132
|
-
section: ["section"],
|
|
133
|
-
checkbox: ["checkbox", "togglebutton", "radiobutton"],
|
|
134
|
-
table: ["table"]
|
|
135
|
-
};
|
|
136
|
-
const commonTextProps = {
|
|
137
|
-
element: elementJSON,
|
|
138
|
-
handlePropertyValueUpdate,
|
|
139
|
-
handleWidthChange,
|
|
140
|
-
handleColumnSelect,
|
|
141
|
-
fields: (formBuilder == null ? void 0 : formBuilder.fields) || []
|
|
142
|
-
};
|
|
143
|
-
const commonSelectProps = {
|
|
144
|
-
element: elementJSON,
|
|
145
|
-
handlePropertyValueUpdate,
|
|
146
|
-
handleSelectOptionValueUpdate,
|
|
147
|
-
handleWidthChange,
|
|
148
|
-
handleColumnSelect
|
|
149
|
-
};
|
|
150
|
-
if (formGroups.text.includes(normalizedType)) {
|
|
151
|
-
return /* @__PURE__ */ React.createElement(
|
|
152
|
-
tableForm.TextEditForm,
|
|
153
|
-
{
|
|
154
|
-
...commonTextProps,
|
|
155
|
-
key: `text-form-${(elementJSON == null ? void 0 : elementJSON.id) || "default"}`
|
|
156
|
-
}
|
|
157
|
-
);
|
|
158
|
-
}
|
|
159
|
-
if (formGroups.select.includes(normalizedType)) {
|
|
160
|
-
return /* @__PURE__ */ React.createElement(
|
|
161
|
-
tableForm.SelectEditForm,
|
|
162
|
-
{
|
|
163
|
-
...commonSelectProps,
|
|
164
|
-
key: `select-form-${(elementJSON == null ? void 0 : elementJSON.id) || "default"}`
|
|
165
|
-
}
|
|
166
|
-
);
|
|
167
|
-
}
|
|
168
|
-
if (formGroups.section.includes(normalizedType)) {
|
|
169
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
170
|
-
tableForm.SectionEditForm,
|
|
171
|
-
{
|
|
172
|
-
element: sectionJSON,
|
|
173
|
-
handlePropertyValueUpdate: handleSectionPropertyValueUpdate
|
|
174
|
-
},
|
|
175
|
-
`section-form-${(sectionJSON == null ? void 0 : sectionJSON.id) || "default"}`
|
|
176
|
-
);
|
|
177
|
-
}
|
|
178
|
-
if (formGroups.checkbox.includes(normalizedType)) {
|
|
179
|
-
return /* @__PURE__ */ React.createElement(
|
|
180
|
-
tableForm.CheckboxEditForm,
|
|
181
|
-
{
|
|
182
|
-
...commonSelectProps,
|
|
183
|
-
key: `checkbox-form-${(elementJSON == null ? void 0 : elementJSON.id) || "default"}`
|
|
184
|
-
}
|
|
185
|
-
);
|
|
186
|
-
}
|
|
187
|
-
if (formGroups.table.includes(normalizedType)) {
|
|
188
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
189
|
-
tableForm.TableEditForm,
|
|
190
|
-
{
|
|
191
|
-
element: elementJSON,
|
|
192
|
-
handlePropertyValueUpdate,
|
|
193
|
-
handleColumnsUpdate,
|
|
194
|
-
fields: (formBuilder == null ? void 0 : formBuilder.fields) || []
|
|
195
|
-
},
|
|
196
|
-
`table-form-${(elementJSON == null ? void 0 : elementJSON.id) || "default"}`
|
|
197
|
-
);
|
|
198
|
-
}
|
|
199
|
-
console.warn(`Unknown field type: ${type}`);
|
|
200
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-gray-500 p-4 border border-gray-200 rounded", children: [
|
|
201
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-medium", children: "Unknown Field Type" }),
|
|
202
|
-
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-sm mt-1", children: [
|
|
203
|
-
'Field type "',
|
|
204
|
-
type,
|
|
205
|
-
'" is not supported. Please select a valid field to edit.'
|
|
206
|
-
] })
|
|
207
|
-
] });
|
|
208
|
-
} catch (error) {
|
|
209
|
-
console.error("Error in pickPropertyEditForm:", error);
|
|
210
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-red-500 p-4 border border-red-200 rounded bg-red-50", children: [
|
|
211
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-medium", children: "Error Loading Form" }),
|
|
212
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm mt-1", children: "There was an error loading the property edit form. Please try again." })
|
|
213
|
-
] });
|
|
214
|
-
}
|
|
215
|
-
}, [elementJSON, sectionJSON, formBuilder]);
|
|
216
|
-
const addNewSection = React.useCallback(() => {
|
|
217
|
-
var _a;
|
|
218
|
-
try {
|
|
219
|
-
if (!((_a = views_formBuilder_field_properties.element) == null ? void 0 : _a.section)) {
|
|
220
|
-
console.error("Element section template is not available");
|
|
221
|
-
return;
|
|
222
|
-
}
|
|
223
|
-
const { uniqueStringId: id } = generateUniqueId("-");
|
|
224
|
-
const newSection = {
|
|
225
|
-
...deepClone(views_formBuilder_field_properties.element.section),
|
|
226
|
-
id
|
|
227
|
-
};
|
|
228
|
-
if (newSection.switcher_forms) {
|
|
229
|
-
newSection.switcher_forms = newSection.switcher_forms.map((form) => ({
|
|
230
|
-
...form,
|
|
231
|
-
id: generateUniqueId("-").uniqueStringId
|
|
232
|
-
}));
|
|
233
|
-
}
|
|
234
|
-
const newSectionIndex = section$1.length;
|
|
235
|
-
appendSection(newSection);
|
|
236
|
-
setActiveSection(newSectionIndex);
|
|
237
|
-
setSelectedHoc("section");
|
|
238
|
-
const sectionData = {
|
|
239
|
-
field_type: newSection.field_type,
|
|
240
|
-
section_type: newSection.section_type,
|
|
241
|
-
switcher_forms: newSection.switcher_forms,
|
|
242
|
-
form_switcher_label: newSection.form_switcher_label,
|
|
243
|
-
form_switcher_name: newSection.form_switcher_name,
|
|
244
|
-
label: newSection.label,
|
|
245
|
-
is_accordion: newSection.is_accordion,
|
|
246
|
-
id: newSection.id ?? newSectionIndex
|
|
247
|
-
};
|
|
248
|
-
setSectionJSON(sectionData);
|
|
249
|
-
setSectionPositionEditedElement(newSectionIndex);
|
|
250
|
-
pickPropertyEditForm(newSection.field_type);
|
|
251
|
-
} catch (error) {
|
|
252
|
-
console.error("Error adding new section:", error);
|
|
253
|
-
}
|
|
254
|
-
}, [views_formBuilder_field_properties.element, section$1, appendSection, setActiveSection, setSelectedHoc, setSectionJSON, setSectionPositionEditedElement, pickPropertyEditForm]);
|
|
255
|
-
const handleAddTab = React.useCallback(() => {
|
|
256
|
-
try {
|
|
257
|
-
const formWithMembers2 = deepClone(sectionFormJSON);
|
|
258
|
-
formWithMembers2.forEach((section2, sectionIndex) => {
|
|
259
|
-
section2.members = members.filter(
|
|
260
|
-
(member) => (member == null ? void 0 : member.section_order) === sectionIndex
|
|
261
|
-
);
|
|
262
|
-
});
|
|
263
|
-
const hasSystemMembers = formWithMembers2.some(
|
|
264
|
-
(section2) => {
|
|
265
|
-
var _a;
|
|
266
|
-
return (_a = section2.members) == null ? void 0 : _a.some((member) => Boolean(member == null ? void 0 : member.is_system_field));
|
|
267
|
-
}
|
|
268
|
-
);
|
|
269
|
-
const shouldRemoveTab = !(tabsData == null ? void 0 : tabsData.length) && hasSystemMembers;
|
|
270
|
-
const newTab = {
|
|
271
|
-
tab_order: tabsData.length + 1,
|
|
272
|
-
title: DEFAULT_TAB_TITLE,
|
|
273
|
-
remove_tab: shouldRemoveTab,
|
|
274
|
-
data: (tabsData == null ? void 0 : tabsData.length) ? [] : formWithMembers2
|
|
275
|
-
};
|
|
276
|
-
setTabsData((prevTabs) => [...prevTabs, newTab]);
|
|
277
|
-
} catch (error) {
|
|
278
|
-
console.error("Error adding new tab:", error);
|
|
279
|
-
}
|
|
280
|
-
}, [sectionFormJSON, members, tabsData, setTabsData]);
|
|
281
|
-
const handleEditTabTitle = React.useCallback((tabId, newTitle) => {
|
|
282
|
-
try {
|
|
283
|
-
if (!isValidNumber(tabId) || !(newTitle == null ? void 0 : newTitle.trim())) {
|
|
284
|
-
console.error("Invalid tab ID or title provided");
|
|
285
|
-
return;
|
|
286
|
-
}
|
|
287
|
-
setTabsData(
|
|
288
|
-
(prevTabs) => prevTabs.map(
|
|
289
|
-
(tab) => tab.tab_order === tabId ? { ...tab, title: newTitle.trim() } : tab
|
|
290
|
-
)
|
|
291
|
-
);
|
|
292
|
-
} catch (error) {
|
|
293
|
-
console.error("Error editing tab title:", error);
|
|
294
|
-
}
|
|
295
|
-
}, [setTabsData]);
|
|
296
|
-
const handleRemoveTab = React.useCallback((id) => {
|
|
297
|
-
try {
|
|
298
|
-
if (!isValidNumber(id)) {
|
|
299
|
-
console.error("Invalid tab ID provided");
|
|
300
|
-
return;
|
|
301
|
-
}
|
|
302
|
-
const filteredTabs = tabsData.filter((tab) => tab.tab_order !== id);
|
|
303
|
-
const reorderedTabs = filteredTabs.map((tab) => ({
|
|
304
|
-
...tab,
|
|
305
|
-
tab_order: tab.tab_order > id ? tab.tab_order - 1 : tab.tab_order
|
|
306
|
-
}));
|
|
307
|
-
setTabsData(reorderedTabs);
|
|
308
|
-
if (activeTabValue == id) {
|
|
309
|
-
setActiveTabValue((reorderedTabs == null ? void 0 : reorderedTabs.length) - 1);
|
|
310
|
-
}
|
|
311
|
-
if (reorderedTabs.length > 0) {
|
|
312
|
-
const activeTab = reorderedTabs.find(
|
|
313
|
-
(tab) => tab.tab_order === (activeTabValue ?? 0) + 1
|
|
314
|
-
);
|
|
315
|
-
if (activeTab == null ? void 0 : activeTab.data) {
|
|
316
|
-
const sections = activeTab.data.map(
|
|
317
|
-
({ field_type, label, is_accordion, id: id2, remove_section }) => ({
|
|
318
|
-
field_type,
|
|
319
|
-
label,
|
|
320
|
-
is_accordion,
|
|
321
|
-
id: id2,
|
|
322
|
-
remove_section
|
|
323
|
-
})
|
|
324
|
-
);
|
|
325
|
-
const membersList = activeTab.data.flatMap(
|
|
326
|
-
(section2) => {
|
|
327
|
-
var _a;
|
|
328
|
-
return ((_a = section2.members) == null ? void 0 : _a.map((member) => ({ ...member }))) || [];
|
|
329
|
-
}
|
|
330
|
-
);
|
|
331
|
-
remove();
|
|
332
|
-
removeSection();
|
|
333
|
-
membersList.forEach((member) => append(member));
|
|
334
|
-
sections.forEach((section2) => appendSection(section2));
|
|
335
|
-
}
|
|
336
|
-
} else {
|
|
337
|
-
remove();
|
|
338
|
-
removeSection();
|
|
339
|
-
}
|
|
340
|
-
} catch (error) {
|
|
341
|
-
console.error("Error removing tab:", error);
|
|
342
|
-
}
|
|
343
|
-
}, [tabsData, activeTabValue, setTabsData, remove, removeSection, append, appendSection]);
|
|
344
|
-
const handleElementSelection = React.useCallback((e) => {
|
|
345
|
-
try {
|
|
346
|
-
const target = e.target;
|
|
347
|
-
const elementPositionIndex = target.dataset.position;
|
|
348
|
-
if (!elementPositionIndex || !isValidNumber(elementPositionIndex)) {
|
|
349
|
-
console.error("Invalid element position index");
|
|
350
|
-
return;
|
|
351
|
-
}
|
|
352
|
-
const positionIndex = Number(elementPositionIndex);
|
|
353
|
-
if (positionIndex < 0 || positionIndex >= formJSON.length) {
|
|
354
|
-
console.error("Element position index out of bounds");
|
|
355
|
-
return;
|
|
356
|
-
}
|
|
357
|
-
setActiveMember(positionIndex);
|
|
358
|
-
const elementDetails = deepClone(formJSON[positionIndex]);
|
|
359
|
-
setPositionEditedElement(positionIndex);
|
|
360
|
-
setElementJSON(elementDetails);
|
|
361
|
-
setSelectedHoc("element");
|
|
362
|
-
} catch (error) {
|
|
363
|
-
console.error("Error selecting element:", error);
|
|
364
|
-
}
|
|
365
|
-
}, [formJSON, setActiveMember, setPositionEditedElement, setElementJSON, setSelectedHoc]);
|
|
366
|
-
const handleSectionSelection = React.useCallback((e) => {
|
|
367
|
-
try {
|
|
368
|
-
const target = e.target;
|
|
369
|
-
const sectionPositionIndex = target.dataset.position;
|
|
370
|
-
if (!sectionPositionIndex || !isValidNumber(sectionPositionIndex)) {
|
|
371
|
-
console.error("Invalid section position index");
|
|
372
|
-
return;
|
|
373
|
-
}
|
|
374
|
-
const positionIndex = Number(sectionPositionIndex);
|
|
375
|
-
if (positionIndex < 0 || positionIndex >= sectionFormJSON.length) {
|
|
376
|
-
console.error("Section position index out of bounds");
|
|
377
|
-
return;
|
|
378
|
-
}
|
|
379
|
-
setActiveSection(positionIndex);
|
|
380
|
-
const sectionDetails = deepClone(sectionFormJSON[positionIndex]);
|
|
381
|
-
setSectionPositionEditedElement(positionIndex);
|
|
382
|
-
setSectionJSON(sectionDetails);
|
|
383
|
-
setSelectedHoc("section");
|
|
384
|
-
} catch (error) {
|
|
385
|
-
console.error("Error selecting section:", error);
|
|
386
|
-
}
|
|
387
|
-
}, [sectionFormJSON, setActiveSection, setSectionPositionEditedElement, setSectionJSON, setSelectedHoc]);
|
|
388
|
-
const handleAddMember = React.useCallback((e, otherProperties) => {
|
|
389
|
-
var _a, _b;
|
|
390
|
-
try {
|
|
391
|
-
const target = e.currentTarget;
|
|
392
|
-
const sectionPositionIndex = (_a = target == null ? void 0 : target.dataset) == null ? void 0 : _a.position;
|
|
393
|
-
if (sectionPositionIndex === void 0 || !isValidNumber(sectionPositionIndex)) {
|
|
394
|
-
console.error("Invalid section position index for adding member");
|
|
395
|
-
return;
|
|
396
|
-
}
|
|
397
|
-
const positionIndex = Number(sectionPositionIndex);
|
|
398
|
-
if (positionIndex < 0) {
|
|
399
|
-
console.error("Section position index cannot be negative");
|
|
400
|
-
return;
|
|
401
|
-
}
|
|
402
|
-
if (!((_b = views_formBuilder_field_properties.element) == null ? void 0 : _b.text)) {
|
|
403
|
-
console.error("Element text template is not available");
|
|
404
|
-
return;
|
|
405
|
-
}
|
|
406
|
-
const newMember = {
|
|
407
|
-
...deepClone(views_formBuilder_field_properties.element.text),
|
|
408
|
-
...otherProperties,
|
|
409
|
-
section_order: positionIndex,
|
|
410
|
-
type: "custom",
|
|
411
|
-
is_new: true,
|
|
412
|
-
custom_width: Math.floor(DEFAULT_GRID_COLUMNS / DEFAULT_COLUMN_WIDTH),
|
|
413
|
-
is_fullwidth: false,
|
|
414
|
-
is_system_field: Boolean(otherProperties == null ? void 0 : otherProperties.is_system_field),
|
|
415
|
-
id: generateUniqueId().uniqueStringId
|
|
416
|
-
};
|
|
417
|
-
setActiveSection(positionIndex);
|
|
418
|
-
append(newMember);
|
|
419
|
-
const elementPositionIndex = members.length;
|
|
420
|
-
setActiveMember(elementPositionIndex);
|
|
421
|
-
setSelectedHoc("element");
|
|
422
|
-
setPositionEditedElement(elementPositionIndex);
|
|
423
|
-
setElementJSON(newMember);
|
|
424
|
-
pickPropertyEditForm(newMember.field_type);
|
|
425
|
-
} catch (error) {
|
|
426
|
-
console.error("Error adding new member:", error);
|
|
427
|
-
}
|
|
428
|
-
}, [views_formBuilder_field_properties.element, members, setActiveSection, append, setActiveMember, setSelectedHoc, setPositionEditedElement, setElementJSON, pickPropertyEditForm]);
|
|
429
|
-
const handleSectionPropertyValueUpdate = React.useCallback((e, overrideValue) => {
|
|
430
|
-
try {
|
|
431
|
-
const { name, type, checked, value } = e.target;
|
|
432
|
-
if (!name) {
|
|
433
|
-
console.error("Property name is required for update");
|
|
434
|
-
return;
|
|
435
|
-
}
|
|
436
|
-
const updatedValue = overrideValue !== void 0 ? overrideValue : type === "checkbox" ? checked : value;
|
|
437
|
-
if (sectionJSON[name] !== updatedValue) {
|
|
438
|
-
setSectionJSON((prev) => ({ ...prev, [name]: updatedValue }));
|
|
439
|
-
}
|
|
440
|
-
} catch (error) {
|
|
441
|
-
console.error("Error updating section property:", error);
|
|
442
|
-
}
|
|
443
|
-
}, [sectionJSON, setSectionJSON]);
|
|
444
|
-
const handleWidthChange = React.useCallback((newCustomWidth) => {
|
|
445
|
-
try {
|
|
446
|
-
if (!isValidNumber(newCustomWidth) || newCustomWidth < 1 || newCustomWidth > DEFAULT_GRID_COLUMNS) {
|
|
447
|
-
console.error("Invalid width value provided");
|
|
448
|
-
return;
|
|
449
|
-
}
|
|
450
|
-
setElementJSON((prevData) => ({
|
|
451
|
-
...prevData,
|
|
452
|
-
custom_width: newCustomWidth
|
|
453
|
-
}));
|
|
454
|
-
} catch (error) {
|
|
455
|
-
console.error("Error updating width:", error);
|
|
456
|
-
}
|
|
457
|
-
}, [setElementJSON]);
|
|
458
|
-
const handleColumnSelect = React.useCallback((e) => {
|
|
459
|
-
try {
|
|
460
|
-
const columnValue = Number(e.target.value);
|
|
461
|
-
if (!isValidNumber(columnValue) || columnValue <= 0) {
|
|
462
|
-
console.error("Invalid column value provided");
|
|
463
|
-
return;
|
|
464
|
-
}
|
|
465
|
-
const elementPerColumn2 = Math.floor(DEFAULT_GRID_COLUMNS / columnValue);
|
|
466
|
-
if (elementPerColumn2 <= 0) {
|
|
467
|
-
console.error("Calculated element per column is invalid");
|
|
468
|
-
return;
|
|
469
|
-
}
|
|
470
|
-
members.forEach((field, index) => {
|
|
471
|
-
update(index, { ...field, custom_width: elementPerColumn2 });
|
|
472
|
-
});
|
|
473
|
-
} catch (error) {
|
|
474
|
-
console.error("Error updating column selection:", error);
|
|
475
|
-
}
|
|
476
|
-
}, [members, update]);
|
|
477
|
-
const handlePropertyValueUpdate = React.useCallback((e, numberValue, val, fieldType) => {
|
|
478
|
-
var _a;
|
|
479
|
-
try {
|
|
480
|
-
const getValue = () => {
|
|
481
|
-
var _a2;
|
|
482
|
-
if (fieldType) return fieldType;
|
|
483
|
-
if (val !== void 0) return val;
|
|
484
|
-
if (numberValue !== void 0) return numberValue;
|
|
485
|
-
return (_a2 = e == null ? void 0 : e.target) == null ? void 0 : _a2.value;
|
|
486
|
-
};
|
|
487
|
-
const value = getValue();
|
|
488
|
-
const elementJSONCopy = deepClone(elementJSON);
|
|
489
|
-
if ((_a = e == null ? void 0 : e.target) == null ? void 0 : _a.name) {
|
|
490
|
-
elementJSONCopy[e.target.name] = e.target.type === "checkbox" ? e.target.checked : value;
|
|
491
|
-
}
|
|
492
|
-
if (fieldType) {
|
|
493
|
-
const { uniqueStringId: uniqueId } = generateUniqueId();
|
|
494
|
-
const copyOfUpdatedElement = {
|
|
495
|
-
...views_formBuilder_field_properties.element[fieldType],
|
|
496
|
-
section_form_id: elementJSONCopy == null ? void 0 : elementJSONCopy.section_form_id,
|
|
497
|
-
is_form_switcher_section: elementJSONCopy == null ? void 0 : elementJSONCopy.is_form_switcher_section,
|
|
498
|
-
section_order: elementJSONCopy.section_order,
|
|
499
|
-
id: uniqueId,
|
|
500
|
-
type: "custom",
|
|
501
|
-
is_system_field: Boolean(elementJSONCopy == null ? void 0 : elementJSONCopy.is_system_field),
|
|
502
|
-
is_new: true,
|
|
503
|
-
column_width: (elementJSONCopy == null ? void 0 : elementJSONCopy.column_width) || 6,
|
|
504
|
-
custom_width: (elementJSONCopy == null ? void 0 : elementJSONCopy.custom_width) || 6
|
|
505
|
-
};
|
|
506
|
-
setElementJSON(copyOfUpdatedElement);
|
|
507
|
-
} else if (JSON.stringify(elementJSON) !== JSON.stringify(elementJSONCopy)) {
|
|
508
|
-
setElementJSON({ ...elementJSON, ...elementJSONCopy });
|
|
509
|
-
}
|
|
510
|
-
} catch (error) {
|
|
511
|
-
console.error("Error updating property value:", error);
|
|
512
|
-
}
|
|
513
|
-
}, [elementJSON, views_formBuilder_field_properties.element, setElementJSON]);
|
|
514
|
-
const handleSelectOptionValueUpdate = React.useCallback((options) => {
|
|
515
|
-
try {
|
|
516
|
-
if (!Array.isArray(options)) {
|
|
517
|
-
console.error("Options must be an array");
|
|
518
|
-
return;
|
|
519
|
-
}
|
|
520
|
-
const elementJSONCopy = deepClone(elementJSON);
|
|
521
|
-
elementJSONCopy.options = [...options];
|
|
522
|
-
const { uniqueStringId: uniqueId } = generateUniqueId("-");
|
|
523
|
-
if (JSON.stringify(elementJSON.options) !== JSON.stringify(options)) {
|
|
524
|
-
setElementJSON({ ...elementJSON, ...elementJSONCopy, id: uniqueId });
|
|
525
|
-
}
|
|
526
|
-
} catch (error) {
|
|
527
|
-
console.error("Error updating select options:", error);
|
|
528
|
-
}
|
|
529
|
-
}, [elementJSON, setElementJSON]);
|
|
530
|
-
const handleColumnsUpdate = React.useCallback((columns) => {
|
|
531
|
-
try {
|
|
532
|
-
if (!Array.isArray(columns)) {
|
|
533
|
-
console.error("Columns must be an array");
|
|
534
|
-
return;
|
|
535
|
-
}
|
|
536
|
-
const elementJSONCopy = deepClone(elementJSON);
|
|
537
|
-
elementJSONCopy.table_columns = [...columns];
|
|
538
|
-
const { uniqueStringId: uniqueId } = generateUniqueId("-");
|
|
539
|
-
if (JSON.stringify(elementJSON.table_columns) !== JSON.stringify(columns)) {
|
|
540
|
-
setElementJSON({ ...elementJSON, ...elementJSONCopy, id: uniqueId });
|
|
541
|
-
}
|
|
542
|
-
} catch (error) {
|
|
543
|
-
console.error("Error updating table columns:", error);
|
|
544
|
-
}
|
|
545
|
-
}, [elementJSON, setElementJSON]);
|
|
546
|
-
const handleRemoveSection = React.useCallback((sectionIndex) => {
|
|
547
|
-
try {
|
|
548
|
-
if (!isValidNumber(sectionIndex) || sectionIndex < 0 || sectionIndex >= section$1.length) {
|
|
549
|
-
console.error("Invalid section index for removal");
|
|
550
|
-
return;
|
|
551
|
-
}
|
|
552
|
-
setRemoveSectionPosition(sectionIndex);
|
|
553
|
-
removeSection(sectionIndex);
|
|
554
|
-
const membersToRemove = [];
|
|
555
|
-
members.forEach((member, index) => {
|
|
556
|
-
if ((member == null ? void 0 : member.section_order) === sectionIndex) {
|
|
557
|
-
membersToRemove.push(index);
|
|
558
|
-
}
|
|
559
|
-
});
|
|
560
|
-
membersToRemove.reverse().forEach((memberIndex) => {
|
|
561
|
-
remove(memberIndex);
|
|
562
|
-
});
|
|
563
|
-
setRemoveSectionActionPerformed(true);
|
|
564
|
-
} catch (error) {
|
|
565
|
-
console.error("Error removing section:", error);
|
|
566
|
-
}
|
|
567
|
-
}, [section$1, members, setRemoveSectionPosition, removeSection, remove, setRemoveSectionActionPerformed]);
|
|
568
|
-
const handleMakeAccordion = React.useCallback((sectionIndex) => {
|
|
569
|
-
try {
|
|
570
|
-
if (!isValidNumber(sectionIndex) || sectionIndex < 0 || sectionIndex >= section$1.length) {
|
|
571
|
-
console.error("Invalid section index for accordion conversion");
|
|
572
|
-
return;
|
|
573
|
-
}
|
|
574
|
-
setModifyAccordion(true);
|
|
575
|
-
setSectionPositionEditedElement(sectionIndex);
|
|
576
|
-
setActiveSection(sectionIndex);
|
|
577
|
-
const copyOfSection = {
|
|
578
|
-
...deepClone(section$1[sectionIndex]),
|
|
579
|
-
is_accordion: true
|
|
580
|
-
};
|
|
581
|
-
updateSection(sectionIndex, copyOfSection);
|
|
582
|
-
setSelectedHoc("section");
|
|
583
|
-
setSectionJSON(copyOfSection);
|
|
584
|
-
pickPropertyEditForm(copyOfSection.field_type);
|
|
585
|
-
} catch (error) {
|
|
586
|
-
console.error("Error making section accordion:", error);
|
|
587
|
-
}
|
|
588
|
-
}, [section$1, setModifyAccordion, setSectionPositionEditedElement, setActiveSection, updateSection, setSelectedHoc, setSectionJSON, pickPropertyEditForm]);
|
|
589
|
-
const handleTabData = React.useCallback(() => {
|
|
590
|
-
try {
|
|
591
|
-
const formWithMembers2 = deepClone(sectionFormJSON);
|
|
592
|
-
formWithMembers2.forEach((section2, sectionIndex) => {
|
|
593
|
-
section2.members = members.filter(
|
|
594
|
-
(member) => (member == null ? void 0 : member.section_order) === sectionIndex
|
|
595
|
-
);
|
|
596
|
-
});
|
|
597
|
-
const hasSystemMembers = formWithMembers2.some(
|
|
598
|
-
(section2) => {
|
|
599
|
-
var _a;
|
|
600
|
-
return (_a = section2.members) == null ? void 0 : _a.some((member) => Boolean(member == null ? void 0 : member.is_system_field));
|
|
601
|
-
}
|
|
602
|
-
);
|
|
603
|
-
const activeTabIndex = Number(activeTabValue);
|
|
604
|
-
if (isValidNumber(activeTabIndex) && activeTabIndex >= 0 && activeTabIndex < tabsData.length) {
|
|
605
|
-
const updatedTabsData = [...tabsData];
|
|
606
|
-
updatedTabsData[activeTabIndex] = {
|
|
607
|
-
...updatedTabsData[activeTabIndex],
|
|
608
|
-
data: formWithMembers2,
|
|
609
|
-
remove_tab: hasSystemMembers
|
|
610
|
-
};
|
|
611
|
-
setTabsData(updatedTabsData);
|
|
612
|
-
remove();
|
|
613
|
-
removeSection();
|
|
614
|
-
setActiveMember(void 0);
|
|
615
|
-
setSelectedHoc("");
|
|
616
|
-
setActiveSection(void 0);
|
|
617
|
-
}
|
|
618
|
-
} catch (error) {
|
|
619
|
-
console.error("Error updating tab data:", error);
|
|
620
|
-
}
|
|
621
|
-
}, [sectionFormJSON, members, activeTabValue, tabsData, setTabsData]);
|
|
622
|
-
const formWithMembers = React.useMemo(() => {
|
|
623
|
-
if (!sectionFormJSON || !members) return null;
|
|
624
|
-
return sectionFormJSON.map((section2, sectionIndex) => ({
|
|
625
|
-
...section2,
|
|
626
|
-
members: members.filter(
|
|
627
|
-
(member) => (member == null ? void 0 : member.section_order) === sectionIndex
|
|
628
|
-
)
|
|
629
|
-
}));
|
|
630
|
-
}, [sectionFormJSON, members]);
|
|
631
|
-
const previewState = React.useMemo(() => {
|
|
632
|
-
if (!formWithMembers) return null;
|
|
633
|
-
return (tabsData == null ? void 0 : tabsData.length) ? { tab: tabsData } : { section: formWithMembers };
|
|
634
|
-
}, [tabsData, formWithMembers]);
|
|
635
|
-
const previewFields = React.useMemo(() => {
|
|
636
|
-
if (!previewState) return null;
|
|
637
|
-
return utils_formBuilderConversion.default(previewState);
|
|
638
|
-
}, [previewState]);
|
|
639
|
-
const showPreview = React.useCallback(() => {
|
|
640
|
-
if (previewFields) {
|
|
641
|
-
setPreviewFields(previewFields);
|
|
642
|
-
}
|
|
643
|
-
}, [previewFields, setPreviewFields]);
|
|
644
|
-
const hidePreview = React.useCallback(() => {
|
|
645
|
-
setPreviewFields(null);
|
|
646
|
-
}, []);
|
|
647
|
-
const handleFormUpdate = React.useCallback(async () => {
|
|
648
|
-
var _a;
|
|
649
|
-
try {
|
|
650
|
-
if (!sectionFormJSON || !Array.isArray(sectionFormJSON)) {
|
|
651
|
-
console.warn("Invalid sectionFormJSON provided");
|
|
652
|
-
return;
|
|
653
|
-
}
|
|
654
|
-
if (!members || !Array.isArray(members)) {
|
|
655
|
-
console.warn("Invalid members array provided");
|
|
656
|
-
return;
|
|
657
|
-
}
|
|
658
|
-
if (!(rowData == null ? void 0 : rowData._id)) {
|
|
659
|
-
console.warn("Missing rowData._id for form update");
|
|
660
|
-
return;
|
|
661
|
-
}
|
|
662
|
-
let formWithMembers2;
|
|
663
|
-
try {
|
|
664
|
-
formWithMembers2 = structuredClone(sectionFormJSON);
|
|
665
|
-
} catch (cloneError) {
|
|
666
|
-
formWithMembers2 = JSON.parse(JSON.stringify(sectionFormJSON));
|
|
667
|
-
}
|
|
668
|
-
formWithMembers2.forEach((section2, sectionIndex) => {
|
|
669
|
-
if (!section2 || typeof section2 !== "object") {
|
|
670
|
-
console.warn(`Invalid section at index ${sectionIndex}`);
|
|
671
|
-
return;
|
|
672
|
-
}
|
|
673
|
-
section2.members = members.filter((member) => {
|
|
674
|
-
return member && typeof member === "object" && typeof member.section_order === "number" && member.section_order === sectionIndex;
|
|
675
|
-
});
|
|
676
|
-
});
|
|
677
|
-
const hasSystemMembers = formWithMembers2.some(
|
|
678
|
-
(section2) => {
|
|
679
|
-
var _a2;
|
|
680
|
-
return (_a2 = section2.members) == null ? void 0 : _a2.some((member) => Boolean(member == null ? void 0 : member.is_system_field));
|
|
681
|
-
}
|
|
682
|
-
);
|
|
683
|
-
const activeTabIndex = Number(activeTabValue);
|
|
684
|
-
let updatedTabsData = [...tabsData];
|
|
685
|
-
if (isValidNumber(activeTabIndex) && activeTabIndex >= 0 && activeTabIndex < tabsData.length) {
|
|
686
|
-
updatedTabsData = [...tabsData];
|
|
687
|
-
updatedTabsData[activeTabIndex] = {
|
|
688
|
-
...updatedTabsData[activeTabIndex],
|
|
689
|
-
data: formWithMembers2,
|
|
690
|
-
remove_tab: hasSystemMembers
|
|
691
|
-
};
|
|
692
|
-
setTabsData(updatedTabsData);
|
|
693
|
-
}
|
|
694
|
-
const state = (updatedTabsData == null ? void 0 : updatedTabsData.length) > 0 ? { tab: updatedTabsData } : { section: formWithMembers2 };
|
|
695
|
-
if (typeof utils_formBuilderConversion.default !== "function") {
|
|
696
|
-
console.error("formBuilderConversion is not a function");
|
|
697
|
-
return;
|
|
698
|
-
}
|
|
699
|
-
let formBuilderConversionResult;
|
|
700
|
-
try {
|
|
701
|
-
formBuilderConversionResult = utils_formBuilderConversion.default(state);
|
|
702
|
-
} catch (conversionError) {
|
|
703
|
-
console.error("Error during form builder conversion:", conversionError);
|
|
704
|
-
return;
|
|
705
|
-
}
|
|
706
|
-
if (!formBuilderConversionResult) {
|
|
707
|
-
console.warn("Form builder conversion returned empty result");
|
|
708
|
-
return;
|
|
709
|
-
}
|
|
710
|
-
const updatePayload = {
|
|
711
|
-
gridCol: elementPerColumn || 2,
|
|
712
|
-
fields: formBuilderConversionResult
|
|
713
|
-
};
|
|
714
|
-
const updateRes = await dispatch(
|
|
715
|
-
reducer.patchFormDataById({
|
|
716
|
-
id: rowData._id,
|
|
717
|
-
data: updatePayload
|
|
718
|
-
})
|
|
719
|
-
);
|
|
720
|
-
if (updateRes.meta.requestStatus === "rejected") {
|
|
721
|
-
const m = api.getErrorMessage((_a = updateRes == null ? void 0 : updateRes.error) == null ? void 0 : _a.message);
|
|
722
|
-
notistack.enqueueSnackbar(m, { variant: "error" });
|
|
723
|
-
} else {
|
|
724
|
-
notistack.enqueueSnackbar("Form updated successfully", { variant: "success" });
|
|
725
|
-
navigate(path);
|
|
726
|
-
}
|
|
727
|
-
} catch (error) {
|
|
728
|
-
const m = (error == null ? void 0 : error.message) || "Something went wrong while updating the form";
|
|
729
|
-
notistack.enqueueSnackbar(m, { variant: "error" });
|
|
730
|
-
}
|
|
731
|
-
}, [
|
|
732
|
-
sectionFormJSON,
|
|
733
|
-
members,
|
|
734
|
-
tabsData,
|
|
735
|
-
rowData == null ? void 0 : rowData._id,
|
|
736
|
-
elementPerColumn,
|
|
737
|
-
dispatch,
|
|
738
|
-
utils_formBuilderConversion.default
|
|
739
|
-
]);
|
|
740
|
-
const handleDuplicateElement = (index) => {
|
|
741
|
-
const copyOfMember = { ...members[index], type: "custom" };
|
|
742
|
-
copyOfMember && insert(index + 1, copyOfMember);
|
|
743
|
-
setActiveMember(index + 1);
|
|
744
|
-
setSelectedHoc("element");
|
|
745
|
-
setPositionEditedElement(index + 1);
|
|
746
|
-
setElementJSON(copyOfMember);
|
|
747
|
-
pickPropertyEditForm(copyOfMember.field_type);
|
|
748
|
-
};
|
|
749
|
-
const breadCrumbPath = [
|
|
750
|
-
{
|
|
751
|
-
link: path,
|
|
752
|
-
label: "Forms"
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
link: "",
|
|
756
|
-
label: utils_formatText.formatLabel(rowData == null ? void 0 : rowData.name)
|
|
757
|
-
},
|
|
758
|
-
{
|
|
759
|
-
link: "",
|
|
760
|
-
label: "Edit Form"
|
|
761
|
-
}
|
|
762
|
-
];
|
|
763
|
-
React.useEffect(() => {
|
|
764
|
-
if (removeSectionActionPerformed) {
|
|
765
|
-
members.forEach((member, index) => {
|
|
766
|
-
if (removeSectionPosition !== void 0 && Boolean(removeSectionPosition == null ? void 0 : removeSectionPosition.toString) && member.section_order > removeSectionPosition) {
|
|
767
|
-
update(index, { ...member, section_order: member.section_order - 1 });
|
|
768
|
-
}
|
|
769
|
-
});
|
|
770
|
-
setRemoveSectionActionPerformed(false);
|
|
771
|
-
setRemoveSectionMembersPerformed(true);
|
|
772
|
-
setRemoveSectionPosition(void 0);
|
|
773
|
-
setSelectedHoc("");
|
|
774
|
-
}
|
|
775
|
-
}, [removeSectionActionPerformed]);
|
|
776
|
-
React.useEffect(() => {
|
|
777
|
-
formBuilder.isSuccess && navigate(path);
|
|
778
|
-
}, [formBuilder.isSuccess]);
|
|
779
|
-
React.useEffect(() => {
|
|
780
|
-
if (formBuilder.isError) {
|
|
781
|
-
setToast({
|
|
782
|
-
type: "alert",
|
|
783
|
-
message: formBuilder.error
|
|
784
|
-
});
|
|
785
|
-
}
|
|
786
|
-
}, [formBuilder.error, formBuilder.isError]);
|
|
787
|
-
React.useEffect(() => {
|
|
788
|
-
if (typeof positionEditedElement !== "number" || typeof positionEditedElement !== "string") {
|
|
789
|
-
const index = Number(positionEditedElement);
|
|
790
|
-
if (formJSON[index]) {
|
|
791
|
-
const copyOfUpdatedFormJson = JSON.parse(
|
|
792
|
-
JSON.stringify(formJSON[index])
|
|
793
|
-
);
|
|
794
|
-
update(index, { ...copyOfUpdatedFormJson });
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
}, [formJSON]);
|
|
798
|
-
React.useEffect(() => {
|
|
799
|
-
const updatedFormJSON = formJSON.map((obj, index) => {
|
|
800
|
-
if (index === Number(positionEditedElement)) {
|
|
801
|
-
return { ...elementJSON };
|
|
802
|
-
} else {
|
|
803
|
-
return { ...obj };
|
|
804
|
-
}
|
|
805
|
-
});
|
|
806
|
-
setFormJSON(updatedFormJSON);
|
|
807
|
-
}, [elementJSON]);
|
|
808
|
-
React.useEffect(() => {
|
|
809
|
-
if (members.length !== formJSON.length) {
|
|
810
|
-
setFormJSON(JSON.parse(JSON.stringify(members)));
|
|
811
|
-
}
|
|
812
|
-
if (Boolean(elementSwap) && JSON.stringify(members) !== JSON.stringify(formJSON)) {
|
|
813
|
-
setFormJSON(JSON.parse(JSON.stringify(members)));
|
|
814
|
-
setElementSwap(false);
|
|
815
|
-
const newMember = positionEditedElement && members[positionEditedElement];
|
|
816
|
-
newMember && setSelectedHoc("element");
|
|
817
|
-
newMember && setElementJSON(newMember);
|
|
818
|
-
newMember && pickPropertyEditForm(newMember.field_type);
|
|
819
|
-
}
|
|
820
|
-
if (removeSectionMembersPerformed && JSON.stringify(members) !== JSON.stringify(formJSON)) {
|
|
821
|
-
setFormJSON(JSON.parse(JSON.stringify(members)));
|
|
822
|
-
setRemoveSectionMembersPerformed(false);
|
|
823
|
-
}
|
|
824
|
-
}, [members, elementSwap]);
|
|
825
|
-
React.useEffect(() => {
|
|
826
|
-
if (typeof sectionPositionEditedElement !== "number" || typeof sectionPositionEditedElement !== "string") {
|
|
827
|
-
const index = Number(sectionPositionEditedElement);
|
|
828
|
-
if (sectionFormJSON[index]) {
|
|
829
|
-
const copyOfUpdatedFormJson = JSON.parse(
|
|
830
|
-
JSON.stringify(sectionFormJSON[index])
|
|
831
|
-
);
|
|
832
|
-
updateSection(index, { ...copyOfUpdatedFormJson });
|
|
833
|
-
}
|
|
834
|
-
}
|
|
835
|
-
}, [sectionFormJSON]);
|
|
836
|
-
React.useEffect(() => {
|
|
837
|
-
const updatedFormJSON = sectionFormJSON.map((obj, index) => {
|
|
838
|
-
if (index === Number(sectionPositionEditedElement)) {
|
|
839
|
-
return { ...obj, ...sectionJSON };
|
|
840
|
-
} else {
|
|
841
|
-
return { ...obj };
|
|
842
|
-
}
|
|
843
|
-
});
|
|
844
|
-
setSectionFormJSON(updatedFormJSON);
|
|
845
|
-
}, [sectionJSON]);
|
|
846
|
-
React.useEffect(() => {
|
|
847
|
-
if (section$1.length !== sectionFormJSON.length) {
|
|
848
|
-
setSectionFormJSON(JSON.parse(JSON.stringify(section$1)));
|
|
849
|
-
}
|
|
850
|
-
if (JSON.stringify(sectionFormJSON) !== JSON.stringify(section$1) && modifyAccordion) {
|
|
851
|
-
setSectionFormJSON(JSON.parse(JSON.stringify(section$1)));
|
|
852
|
-
setModifyAccordion(false);
|
|
853
|
-
}
|
|
854
|
-
}, [section$1]);
|
|
855
|
-
React.useEffect(() => {
|
|
856
|
-
return () => {
|
|
857
|
-
setInitialLoading(false);
|
|
858
|
-
dispatch(reducer.resetState());
|
|
859
|
-
};
|
|
860
|
-
}, []);
|
|
861
|
-
const handleFormData = React.useCallback(async () => {
|
|
862
|
-
setInitialLoading(true);
|
|
863
|
-
try {
|
|
864
|
-
if (rowData == null ? void 0 : rowData._id) {
|
|
865
|
-
setTabsData([]);
|
|
866
|
-
await dispatch(reducer.getFormDataById(rowData == null ? void 0 : rowData._id));
|
|
867
|
-
await dispatch(reducer.getFieldsByFormId({ id: rowData == null ? void 0 : rowData._id }));
|
|
868
|
-
}
|
|
869
|
-
} finally {
|
|
870
|
-
setInitialLoading(false);
|
|
871
|
-
}
|
|
872
|
-
}, [rowData == null ? void 0 : rowData._id]);
|
|
873
|
-
React.useEffect(() => {
|
|
874
|
-
handleFormData();
|
|
875
|
-
}, [handleFormData]);
|
|
876
|
-
const DEFAULT_FIELD_TYPE = "text";
|
|
877
|
-
const HOC_TYPES = {
|
|
878
|
-
ELEMENT: "element",
|
|
879
|
-
SECTION: "section"
|
|
880
|
-
};
|
|
881
|
-
const hasValidContent = (obj) => {
|
|
882
|
-
return obj && Object.keys(obj).length > 0;
|
|
883
|
-
};
|
|
884
|
-
const EmptyStateMessage = () => /* @__PURE__ */ jsxRuntime.jsx(typography.Typography, { type: "s5", color: "theme.secondary.800", className: "formSection--Text", children: "Select a field to edit its properties." });
|
|
885
|
-
const getFieldTypeWithFallback = (json, fallback = DEFAULT_FIELD_TYPE) => {
|
|
886
|
-
return (json == null ? void 0 : json.field_type) || fallback;
|
|
887
|
-
};
|
|
888
|
-
const memoizedForm = React.useMemo(() => {
|
|
889
|
-
if (!selectedHoc) {
|
|
890
|
-
return /* @__PURE__ */ jsxRuntime.jsx(EmptyStateMessage, {});
|
|
891
|
-
}
|
|
892
|
-
if (selectedHoc === HOC_TYPES.ELEMENT) {
|
|
893
|
-
if (!hasValidContent(members)) {
|
|
894
|
-
console.warn("Element selected but no members data available");
|
|
895
|
-
return /* @__PURE__ */ jsxRuntime.jsx(EmptyStateMessage, {});
|
|
896
|
-
}
|
|
897
|
-
const fieldType = getFieldTypeWithFallback(elementJSON);
|
|
898
|
-
return pickPropertyEditForm(fieldType);
|
|
899
|
-
}
|
|
900
|
-
if (selectedHoc === HOC_TYPES.SECTION) {
|
|
901
|
-
if (!hasValidContent(section$1)) {
|
|
902
|
-
console.warn("Section selected but no section data available");
|
|
903
|
-
return /* @__PURE__ */ jsxRuntime.jsx(EmptyStateMessage, {});
|
|
904
|
-
}
|
|
905
|
-
const fieldType = getFieldTypeWithFallback(sectionJSON);
|
|
906
|
-
return pickPropertyEditForm(fieldType);
|
|
907
|
-
}
|
|
908
|
-
console.warn(`Unknown selectedHoc type: ${selectedHoc}`);
|
|
909
|
-
return /* @__PURE__ */ jsxRuntime.jsx(EmptyStateMessage, {});
|
|
910
|
-
}, [
|
|
911
|
-
// Core dependencies
|
|
912
|
-
selectedHoc,
|
|
913
|
-
// Data dependencies
|
|
914
|
-
Object.keys(members).length,
|
|
915
|
-
Object.keys(section$1).length,
|
|
916
|
-
// JSON dependencies with deep comparison consideration
|
|
917
|
-
elementJSON == null ? void 0 : elementJSON.field_type,
|
|
918
|
-
elementJSON == null ? void 0 : elementJSON.field_properties,
|
|
919
|
-
sectionJSON == null ? void 0 : sectionJSON.field_type,
|
|
920
|
-
sectionJSON == null ? void 0 : sectionJSON.field_properties,
|
|
921
|
-
// Function dependency
|
|
922
|
-
pickPropertyEditForm
|
|
923
|
-
]);
|
|
924
|
-
return (
|
|
925
|
-
// <FullScreenLayout className="formSection--Layout">
|
|
926
|
-
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { position: "relative", children: initialLoading ? /* @__PURE__ */ jsxRuntime.jsx(erpLoader.ErpLoader, {}) : /* @__PURE__ */ jsxRuntime.jsxs(reactDnd.DndProvider, { backend: reactDndHtml5Backend.HTML5Backend, children: [
|
|
927
|
-
/* @__PURE__ */ jsxRuntime.jsx(formHeader.FormHeader, { breadCrumbPath, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "formSection--Buttons", children: [
|
|
928
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
929
|
-
button.DynamicButton,
|
|
930
|
-
{
|
|
931
|
-
variant: "outlined",
|
|
932
|
-
className: "formSection--PreviewButton",
|
|
933
|
-
text: "Preview",
|
|
934
|
-
onClick: () => {
|
|
935
|
-
!previewFieldsData ? showPreview() : hidePreview();
|
|
936
|
-
},
|
|
937
|
-
disable: !(members == null ? void 0 : members.length),
|
|
938
|
-
startIcon: previewFieldsData ? /* @__PURE__ */ jsxRuntime.jsx(eyeOff.EyeOff, {}) : /* @__PURE__ */ jsxRuntime.jsx(eye.Eye, {})
|
|
939
|
-
}
|
|
940
|
-
),
|
|
941
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
942
|
-
button.DynamicButton,
|
|
943
|
-
{
|
|
944
|
-
variant: "contained",
|
|
945
|
-
type: "submit",
|
|
946
|
-
text: "Update",
|
|
947
|
-
onClick: handleFormUpdate,
|
|
948
|
-
disable: previewFieldsData
|
|
949
|
-
}
|
|
950
|
-
)
|
|
951
|
-
] }) }),
|
|
952
|
-
!previewFieldsData ? /* @__PURE__ */ jsxRuntime.jsxs(material.Grid, { className: "formSection--Grid", container: true, children: [
|
|
953
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
954
|
-
material.Grid,
|
|
955
|
-
{
|
|
956
|
-
item: true,
|
|
957
|
-
xs: 9,
|
|
958
|
-
component: "form",
|
|
959
|
-
sx: {
|
|
960
|
-
position: "relative",
|
|
961
|
-
background: "#F5F6F5",
|
|
962
|
-
padding: "0.75rem"
|
|
963
|
-
},
|
|
964
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(material.Grid, { className: "formSection--GridContainer", children: [
|
|
965
|
-
/* @__PURE__ */ jsxRuntime.jsxs(material.Box, { className: "formSection--Tab", children: [
|
|
966
|
-
tabsData && /* @__PURE__ */ jsxRuntime.jsx(
|
|
967
|
-
tabs.TabBar,
|
|
968
|
-
{
|
|
969
|
-
tabs: tabsData,
|
|
970
|
-
onEditTabTitle: handleEditTabTitle,
|
|
971
|
-
activeValue: activeTabValue,
|
|
972
|
-
setActiveValue: setActiveTabValue,
|
|
973
|
-
handleTabChange: () => {
|
|
974
|
-
handleTabData();
|
|
975
|
-
},
|
|
976
|
-
handleRemoveTab,
|
|
977
|
-
containerProps: { mb: 0 }
|
|
978
|
-
}
|
|
979
|
-
),
|
|
980
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
981
|
-
button.DynamicButton,
|
|
982
|
-
{
|
|
983
|
-
variant: "outlined",
|
|
984
|
-
text: "Add Tab",
|
|
985
|
-
onClick: handleAddTab,
|
|
986
|
-
style: { color: "#292D32", margin: "0.5rem" }
|
|
987
|
-
}
|
|
988
|
-
)
|
|
989
|
-
] }),
|
|
990
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "formSection--Form", children: [
|
|
991
|
-
section$1 == null ? void 0 : section$1.map((item, i) => {
|
|
992
|
-
var _a;
|
|
993
|
-
const sectionMembers = members.filter(
|
|
994
|
-
(member) => member.section_order === i
|
|
995
|
-
);
|
|
996
|
-
const isFormSwitcher = item.section_type === utils_constant.SECTION_TYPES.FORM_SWITCH_SECTION;
|
|
997
|
-
const switchForms = (_a = item == null ? void 0 : item.switcher_forms) == null ? void 0 : _a.map((form) => ({
|
|
998
|
-
...form,
|
|
999
|
-
formMembers: members.filter(
|
|
1000
|
-
(member) => member.section_form_id === form.id
|
|
1001
|
-
)
|
|
1002
|
-
}));
|
|
1003
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1004
|
-
section.DynamicSectionHOC,
|
|
1005
|
-
{
|
|
1006
|
-
index: i,
|
|
1007
|
-
label: t(item.label),
|
|
1008
|
-
onClick: handleSectionSelection,
|
|
1009
|
-
position: i,
|
|
1010
|
-
fieldArrayName: "section",
|
|
1011
|
-
isFormSwitcher,
|
|
1012
|
-
activeIndex: activeSection === i,
|
|
1013
|
-
removeSection: () => handleRemoveSection(i),
|
|
1014
|
-
handleAccordion: () => handleMakeAccordion(i),
|
|
1015
|
-
handleAddButton: (e) => handleAddMember(e),
|
|
1016
|
-
remove_section: item.remove_section,
|
|
1017
|
-
children: [
|
|
1018
|
-
isFormSwitcher ? /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { width: "100%" }, children: [
|
|
1019
|
-
/* @__PURE__ */ jsxRuntime.jsx(typography.Typography, { type: "s5", style: { fontWeight: 500 }, color: "theme.secondary.800", children: item.form_switcher_label }),
|
|
1020
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1021
|
-
material.RadioGroup,
|
|
1022
|
-
{
|
|
1023
|
-
"aria-labelledby": "theme-radio-buttons-group-label",
|
|
1024
|
-
name: item.form_switcher_name || item.form_switcher_label,
|
|
1025
|
-
children: switchForms == null ? void 0 : switchForms.map(({ name, id, formMembers }) => /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1026
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1027
|
-
material.FormControlLabel,
|
|
1028
|
-
{
|
|
1029
|
-
value: name,
|
|
1030
|
-
control: /* @__PURE__ */ jsxRuntime.jsx(radio.Radio, {}),
|
|
1031
|
-
label: t(name),
|
|
1032
|
-
disabled: true
|
|
1033
|
-
},
|
|
1034
|
-
id
|
|
1035
|
-
) }),
|
|
1036
|
-
/* @__PURE__ */ jsxRuntime.jsx(material.Grid, { container: true, sx: { mb: 3 }, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1037
|
-
formFields.FormFields,
|
|
1038
|
-
{
|
|
1039
|
-
sectionMembers: formMembers || [],
|
|
1040
|
-
members,
|
|
1041
|
-
activeMember,
|
|
1042
|
-
control,
|
|
1043
|
-
t,
|
|
1044
|
-
element: views_formBuilder_field_properties.element,
|
|
1045
|
-
images: images.images,
|
|
1046
|
-
elementJSON,
|
|
1047
|
-
remove,
|
|
1048
|
-
move,
|
|
1049
|
-
handleElementSelection,
|
|
1050
|
-
setElementSwap,
|
|
1051
|
-
handleDuplicateElement,
|
|
1052
|
-
setSelectedHoc,
|
|
1053
|
-
setActiveMember
|
|
1054
|
-
}
|
|
1055
|
-
) }),
|
|
1056
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1057
|
-
button.DynamicButton,
|
|
1058
|
-
{
|
|
1059
|
-
text: "Add",
|
|
1060
|
-
variant: "outlined",
|
|
1061
|
-
className: "formSection--PreviewButton",
|
|
1062
|
-
"data-position": i,
|
|
1063
|
-
onClick: (e) => handleAddMember(e, {
|
|
1064
|
-
section_form_id: id,
|
|
1065
|
-
is_form_switcher_section: true
|
|
1066
|
-
}),
|
|
1067
|
-
startIcon: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.Add, {})
|
|
1068
|
-
}
|
|
1069
|
-
)
|
|
1070
|
-
] }))
|
|
1071
|
-
}
|
|
1072
|
-
)
|
|
1073
|
-
] }) : null,
|
|
1074
|
-
!isFormSwitcher && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1075
|
-
formFields.FormFields,
|
|
1076
|
-
{
|
|
1077
|
-
sectionMembers: sectionMembers || [],
|
|
1078
|
-
members,
|
|
1079
|
-
activeMember,
|
|
1080
|
-
control,
|
|
1081
|
-
t,
|
|
1082
|
-
element: views_formBuilder_field_properties.element,
|
|
1083
|
-
images: images.images,
|
|
1084
|
-
elementJSON,
|
|
1085
|
-
remove,
|
|
1086
|
-
move,
|
|
1087
|
-
handleElementSelection,
|
|
1088
|
-
setElementSwap,
|
|
1089
|
-
handleDuplicateElement,
|
|
1090
|
-
setSelectedHoc,
|
|
1091
|
-
setActiveMember
|
|
1092
|
-
}
|
|
1093
|
-
)
|
|
1094
|
-
]
|
|
1095
|
-
}
|
|
1096
|
-
);
|
|
1097
|
-
}),
|
|
1098
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "formSection--Section", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1099
|
-
button.DynamicButton,
|
|
1100
|
-
{
|
|
1101
|
-
text: "Add a section",
|
|
1102
|
-
variant: "outlined",
|
|
1103
|
-
className: "formSection--PreviewButton",
|
|
1104
|
-
onClick: addNewSection,
|
|
1105
|
-
startIcon: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.Add, {})
|
|
1106
|
-
}
|
|
1107
|
-
) })
|
|
1108
|
-
] })
|
|
1109
|
-
] })
|
|
1110
|
-
}
|
|
1111
|
-
),
|
|
1112
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1113
|
-
material.Grid,
|
|
1114
|
-
{
|
|
1115
|
-
item: true,
|
|
1116
|
-
xs: 3,
|
|
1117
|
-
className: Boolean(selectedHoc) && ((members == null ? void 0 : members.length) || section$1.length) ? "formSection--RightGrid" : "formSection--RightGrid formSection--Text",
|
|
1118
|
-
children: memoizedForm
|
|
1119
|
-
}
|
|
1120
|
-
)
|
|
1121
|
-
] }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1122
|
-
formParser.FormParser,
|
|
1123
|
-
{
|
|
1124
|
-
data: previewFieldsData || [],
|
|
1125
|
-
handleFormSubmit: (data) => console.log("Preview Data", data),
|
|
1126
|
-
className: "form-container",
|
|
1127
|
-
fieldArrayName: "form-builder-preview",
|
|
1128
|
-
getFormMethods: (methods) => setFormParserMethods({ ...methods })
|
|
1129
|
-
}
|
|
1130
|
-
),
|
|
1131
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1132
|
-
toast.Toast,
|
|
1133
|
-
{
|
|
1134
|
-
open: Boolean(toast$1),
|
|
1135
|
-
type: toast$1 == null ? void 0 : toast$1.type,
|
|
1136
|
-
message: toast$1 == null ? void 0 : toast$1.message,
|
|
1137
|
-
handleClose: () => setToast(null),
|
|
1138
|
-
anchorOrigin: { horizontal: "right", vertical: "bottom" }
|
|
1139
|
-
}
|
|
1140
|
-
)
|
|
1141
|
-
] }) })
|
|
1142
|
-
);
|
|
1143
|
-
}
|
|
1144
|
-
exports.CustomForm = CustomForm;
|
|
1145
|
-
//# sourceMappingURL=custom-form-BKan6xKs.js.map
|