@erpsquad/common 2.0.0 → 2.0.2
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 +1 -1
- package/dist/api-client/index.js +1 -1
- package/dist/chunks/AuthContext-Bd-pW9_C.js +305 -0
- package/dist/chunks/AuthContext-Bd-pW9_C.js.map +1 -0
- package/dist/chunks/AuthContext-Cuh3fG0O.esm.js +306 -0
- package/dist/chunks/AuthContext-Cuh3fG0O.esm.js.map +1 -0
- package/dist/chunks/DonutChart-VApw6LQF.js +111 -0
- package/dist/chunks/DonutChart-VApw6LQF.js.map +1 -0
- package/dist/chunks/DonutChart-nycnaqkH.esm.js +95 -0
- package/dist/chunks/DonutChart-nycnaqkH.esm.js.map +1 -0
- package/dist/chunks/DynamicDependentField-66AbpCYH.esm.js +128 -0
- package/dist/chunks/DynamicDependentField-66AbpCYH.esm.js.map +1 -0
- package/dist/chunks/DynamicDependentField-BgIGaefz.js +127 -0
- package/dist/chunks/DynamicDependentField-BgIGaefz.js.map +1 -0
- package/dist/chunks/DynamicSearchInput-BibaFgRT.esm.js +195 -0
- package/dist/chunks/DynamicSearchInput-BibaFgRT.esm.js.map +1 -0
- package/dist/chunks/DynamicSearchInput-b7N-9yI9.js +194 -0
- package/dist/chunks/DynamicSearchInput-b7N-9yI9.js.map +1 -0
- package/dist/chunks/ERPUIProvider-BA5eRy9W.js +132 -0
- package/dist/chunks/ERPUIProvider-BA5eRy9W.js.map +1 -0
- package/dist/chunks/ERPUIProvider-BKfUubT7.esm.js +133 -0
- package/dist/chunks/ERPUIProvider-BKfUubT7.esm.js.map +1 -0
- package/dist/chunks/FORMS-DYuCKYdO.js +295 -0
- package/dist/chunks/FORMS-DYuCKYdO.js.map +1 -0
- package/dist/chunks/FORMS-DcEv0TTW.esm.js +296 -0
- package/dist/chunks/FORMS-DcEv0TTW.esm.js.map +1 -0
- package/dist/chunks/FlexibleReduxExample-2KlbugQr.js +148 -0
- package/dist/chunks/FlexibleReduxExample-2KlbugQr.js.map +1 -0
- package/dist/chunks/FlexibleReduxExample-3G_Vo2uC.esm.js +149 -0
- package/dist/chunks/FlexibleReduxExample-3G_Vo2uC.esm.js.map +1 -0
- package/dist/chunks/GroupBarChart-CJdPAoHv.esm.js +87 -0
- package/dist/chunks/GroupBarChart-CJdPAoHv.esm.js.map +1 -0
- package/dist/chunks/GroupBarChart-Ubok0U6H.js +103 -0
- package/dist/chunks/GroupBarChart-Ubok0U6H.js.map +1 -0
- package/dist/chunks/SectionFlowEditor-C0Fws5sw.esm.js +5461 -0
- package/dist/chunks/SectionFlowEditor-C0Fws5sw.esm.js.map +1 -0
- package/dist/chunks/SectionFlowEditor-mQ1mYinL.js +5460 -0
- package/dist/chunks/SectionFlowEditor-mQ1mYinL.js.map +1 -0
- package/dist/chunks/action-bar-BZRfkR6g.esm.js +637 -0
- package/dist/chunks/action-bar-BZRfkR6g.esm.js.map +1 -0
- package/dist/chunks/action-bar-UzExEdnO.js +636 -0
- package/dist/chunks/action-bar-UzExEdnO.js.map +1 -0
- package/dist/chunks/actionCreator-BA8JQE1F.js +27 -0
- package/dist/chunks/actionCreator-BA8JQE1F.js.map +1 -0
- package/dist/chunks/actionCreator-BUuRpv33.js +21 -0
- package/dist/chunks/actionCreator-BUuRpv33.js.map +1 -0
- package/dist/chunks/actionCreator-C8df_-jS.esm.js +28 -0
- package/dist/chunks/actionCreator-C8df_-jS.esm.js.map +1 -0
- package/dist/chunks/actionCreator-Cinu9E-i.js +13 -0
- package/dist/chunks/actionCreator-Cinu9E-i.js.map +1 -0
- package/dist/chunks/actionCreator-Ck-OyJvi.esm.js +14 -0
- package/dist/chunks/actionCreator-Ck-OyJvi.esm.js.map +1 -0
- package/dist/chunks/actionCreator-CstS7Lg7.js +79 -0
- package/dist/chunks/actionCreator-CstS7Lg7.js.map +1 -0
- package/dist/chunks/actionCreator-DD-dzfpR.js +93 -0
- package/dist/chunks/actionCreator-DD-dzfpR.js.map +1 -0
- package/dist/chunks/actionCreator-DsBkDzFh.esm.js +80 -0
- package/dist/chunks/actionCreator-DsBkDzFh.esm.js.map +1 -0
- package/dist/chunks/actionCreator-OumJMOS4.esm.js +94 -0
- package/dist/chunks/actionCreator-OumJMOS4.esm.js.map +1 -0
- package/dist/chunks/actionCreator-eIvoA4Dm.esm.js +22 -0
- package/dist/chunks/actionCreator-eIvoA4Dm.esm.js.map +1 -0
- package/dist/chunks/activity-tag-Blp0PxFl.js +151 -0
- package/dist/chunks/activity-tag-Blp0PxFl.js.map +1 -0
- package/dist/chunks/activity-tag-opL1r_kP.esm.js +152 -0
- package/dist/chunks/activity-tag-opL1r_kP.esm.js.map +1 -0
- package/dist/chunks/add-template-B4jRG2qV.js +10 -0
- package/dist/chunks/add-template-B4jRG2qV.js.map +1 -0
- package/dist/chunks/add-template-CJDi6o-P.esm.js +11 -0
- package/dist/chunks/add-template-CJDi6o-P.esm.js.map +1 -0
- package/dist/chunks/address-modal-BtBrxJ8r.esm.js +671 -0
- package/dist/chunks/address-modal-BtBrxJ8r.esm.js.map +1 -0
- package/dist/chunks/address-modal-Cmurq1wQ.js +687 -0
- package/dist/chunks/address-modal-Cmurq1wQ.js.map +1 -0
- package/dist/chunks/ai-summary-Di7PXNDU.esm.js +351 -0
- package/dist/chunks/ai-summary-Di7PXNDU.esm.js.map +1 -0
- package/dist/chunks/ai-summary-jbaXCgHv.js +350 -0
- package/dist/chunks/ai-summary-jbaXCgHv.js.map +1 -0
- package/dist/chunks/appbar-CFZlCbmU.js +56 -0
- package/dist/chunks/appbar-CFZlCbmU.js.map +1 -0
- package/dist/chunks/appbar-JIdxKVeN.esm.js +57 -0
- package/dist/chunks/appbar-JIdxKVeN.esm.js.map +1 -0
- package/dist/chunks/approval-wrapper-Cb-0gRTm.js +139 -0
- package/dist/chunks/approval-wrapper-Cb-0gRTm.js.map +1 -0
- package/dist/chunks/approval-wrapper-DJvbdS4s.esm.js +140 -0
- package/dist/chunks/approval-wrapper-DJvbdS4s.esm.js.map +1 -0
- package/dist/chunks/calculation-summary-Bc9GsyiF.js +173 -0
- package/dist/chunks/calculation-summary-Bc9GsyiF.js.map +1 -0
- package/dist/chunks/calculation-summary-qczX0BJv.esm.js +174 -0
- package/dist/chunks/calculation-summary-qczX0BJv.esm.js.map +1 -0
- package/dist/chunks/change-password-Cfry-8_9.js +199 -0
- package/dist/chunks/change-password-Cfry-8_9.js.map +1 -0
- package/dist/chunks/change-password-q_qGS0Dt.esm.js +183 -0
- package/dist/chunks/change-password-q_qGS0Dt.esm.js.map +1 -0
- package/dist/chunks/change-user-password-modal-DDmXxsbz.js +135 -0
- package/dist/chunks/change-user-password-modal-DDmXxsbz.js.map +1 -0
- package/dist/chunks/change-user-password-modal-DYCEO4Tp.esm.js +119 -0
- package/dist/chunks/change-user-password-modal-DYCEO4Tp.esm.js.map +1 -0
- package/dist/chunks/chat-bot-BnWb7UaF.js +1830 -0
- package/dist/chunks/chat-bot-BnWb7UaF.js.map +1 -0
- package/dist/chunks/chat-bot-DFo1-Ca-.esm.js +1831 -0
- package/dist/chunks/chat-bot-DFo1-Ca-.esm.js.map +1 -0
- package/dist/chunks/checkbox-B2bTjkrl.esm.js +83 -0
- package/dist/chunks/checkbox-B2bTjkrl.esm.js.map +1 -0
- package/dist/chunks/checkbox-BYaP2PMi.js +82 -0
- package/dist/chunks/checkbox-BYaP2PMi.js.map +1 -0
- package/dist/chunks/common-C-k0HdiF.js +182 -0
- package/dist/chunks/common-C-k0HdiF.js.map +1 -0
- package/dist/chunks/common-DtcSQ2Hw.js +4617 -0
- package/dist/chunks/common-DtcSQ2Hw.js.map +1 -0
- package/dist/chunks/common-ZbRPBumn.esm.js +4618 -0
- package/dist/chunks/common-ZbRPBumn.esm.js.map +1 -0
- package/dist/chunks/common-jYaxKjd4.esm.js +183 -0
- package/dist/chunks/common-jYaxKjd4.esm.js.map +1 -0
- package/dist/chunks/common-utility-CLiv4p3j.esm.js +305 -0
- package/dist/chunks/common-utility-CLiv4p3j.esm.js.map +1 -0
- package/dist/chunks/common-utility-DvnYDKXB.js +305 -0
- package/dist/chunks/common-utility-DvnYDKXB.js.map +1 -0
- package/dist/chunks/confirm-modal-kQL1-Ndp.js +97 -0
- package/dist/chunks/confirm-modal-kQL1-Ndp.js.map +1 -0
- package/dist/chunks/confirm-modal-vQN1AVRN.esm.js +98 -0
- package/dist/chunks/confirm-modal-vQN1AVRN.esm.js.map +1 -0
- package/dist/chunks/contact-modal-BPfQSD60.esm.js +169 -0
- package/dist/chunks/contact-modal-BPfQSD60.esm.js.map +1 -0
- package/dist/chunks/contact-modal-a355OgXn.js +185 -0
- package/dist/chunks/contact-modal-a355OgXn.js.map +1 -0
- package/dist/chunks/custom-editor-CP-yjJR8.js +1257 -0
- package/dist/chunks/custom-editor-CP-yjJR8.js.map +1 -0
- package/dist/chunks/custom-editor-PXyqv096.esm.js +1257 -0
- package/dist/chunks/custom-editor-PXyqv096.esm.js.map +1 -0
- package/dist/chunks/custom-form-D-hsaa0D.esm.js +1146 -0
- package/dist/chunks/custom-form-D-hsaa0D.esm.js.map +1 -0
- package/dist/chunks/custom-form-fo9n8UmL.js +1145 -0
- package/dist/chunks/custom-form-fo9n8UmL.js.map +1 -0
- package/dist/chunks/dashboard-BLH_gfct.esm.js +75 -0
- package/dist/chunks/dashboard-BLH_gfct.esm.js.map +1 -0
- package/dist/chunks/dashboard-DBOPsRea.js +74 -0
- package/dist/chunks/dashboard-DBOPsRea.js.map +1 -0
- package/dist/chunks/date-range-picker-BDK3CB14.esm.js +62 -0
- package/dist/chunks/date-range-picker-BDK3CB14.esm.js.map +1 -0
- package/dist/chunks/date-range-picker-BqecEXXw.js +61 -0
- package/dist/chunks/date-range-picker-BqecEXXw.js.map +1 -0
- package/dist/chunks/date-range-picker-DcasK2dD.js +159 -0
- package/dist/chunks/date-range-picker-DcasK2dD.js.map +1 -0
- package/dist/chunks/date-range-picker-O_kGkSak.esm.js +160 -0
- package/dist/chunks/date-range-picker-O_kGkSak.esm.js.map +1 -0
- package/dist/chunks/dropdown-button-CTDbg0JS.esm.js +146 -0
- package/dist/chunks/dropdown-button-CTDbg0JS.esm.js.map +1 -0
- package/dist/chunks/dropdown-button-XZZT9qWf.js +162 -0
- package/dist/chunks/dropdown-button-XZZT9qWf.js.map +1 -0
- package/dist/chunks/dynamic-layout-wrapper-CBz_xPSQ.js +228 -0
- package/dist/chunks/dynamic-layout-wrapper-CBz_xPSQ.js.map +1 -0
- package/dist/chunks/dynamic-layout-wrapper-b4tF1ElX.esm.js +229 -0
- package/dist/chunks/dynamic-layout-wrapper-b4tF1ElX.esm.js.map +1 -0
- package/dist/chunks/dynamic-report-CP3jpaE3.js +588 -0
- package/dist/chunks/dynamic-report-CP3jpaE3.js.map +1 -0
- package/dist/chunks/dynamic-report-DehnAckZ.esm.js +589 -0
- package/dist/chunks/dynamic-report-DehnAckZ.esm.js.map +1 -0
- package/dist/chunks/dynamic-rows-Brag-jJH.esm.js +250 -0
- package/dist/chunks/dynamic-rows-Brag-jJH.esm.js.map +1 -0
- package/dist/chunks/dynamic-rows-CdQNLqEu.js +249 -0
- package/dist/chunks/dynamic-rows-CdQNLqEu.js.map +1 -0
- package/dist/chunks/dynamic-text-editor-DElG1sER.js +44 -0
- package/dist/chunks/dynamic-text-editor-DElG1sER.js.map +1 -0
- package/dist/chunks/dynamic-text-editor-lGb7Tah8.esm.js +45 -0
- package/dist/chunks/dynamic-text-editor-lGb7Tah8.esm.js.map +1 -0
- package/dist/chunks/edit-section-modal-CQTg6Fdp.esm.js +80 -0
- package/dist/chunks/edit-section-modal-CQTg6Fdp.esm.js.map +1 -0
- package/dist/chunks/edit-section-modal-Dmt5nYWA.js +79 -0
- package/dist/chunks/edit-section-modal-Dmt5nYWA.js.map +1 -0
- package/dist/chunks/expandable-summary-wrapper-BbCQSDM7.js +241 -0
- package/dist/chunks/expandable-summary-wrapper-BbCQSDM7.js.map +1 -0
- package/dist/chunks/expandable-summary-wrapper-BiTUaZSn.esm.js +242 -0
- package/dist/chunks/expandable-summary-wrapper-BiTUaZSn.esm.js.map +1 -0
- package/dist/chunks/filter-J89FXV64.js +409 -0
- package/dist/chunks/filter-J89FXV64.js.map +1 -0
- package/dist/chunks/filter-alZQLFMr.esm.js +410 -0
- package/dist/chunks/filter-alZQLFMr.esm.js.map +1 -0
- package/dist/chunks/footer-Dq2BBwub.esm.js +64 -0
- package/dist/chunks/footer-Dq2BBwub.esm.js.map +1 -0
- package/dist/chunks/footer-z4W_ojDV.js +63 -0
- package/dist/chunks/footer-z4W_ojDV.js.map +1 -0
- package/dist/chunks/forgot-password-BjJohULr.js +194 -0
- package/dist/chunks/forgot-password-BjJohULr.js.map +1 -0
- package/dist/chunks/forgot-password-R_yO_gQO.esm.js +178 -0
- package/dist/chunks/forgot-password-R_yO_gQO.esm.js.map +1 -0
- package/dist/chunks/form-fields-DyFHl_6b.js +354 -0
- package/dist/chunks/form-fields-DyFHl_6b.js.map +1 -0
- package/dist/chunks/form-fields-xJZylTz0.esm.js +355 -0
- package/dist/chunks/form-fields-xJZylTz0.esm.js.map +1 -0
- package/dist/chunks/form-parser-1OSEcBwz.js +613 -0
- package/dist/chunks/form-parser-1OSEcBwz.js.map +1 -0
- package/dist/chunks/form-parser-DiHpkYd4.esm.js +597 -0
- package/dist/chunks/form-parser-DiHpkYd4.esm.js.map +1 -0
- package/dist/chunks/form-section-BYbb8LeG.js +575 -0
- package/dist/chunks/form-section-BYbb8LeG.js.map +1 -0
- package/dist/chunks/form-section-Dx3KCBgy.esm.js +576 -0
- package/dist/chunks/form-section-Dx3KCBgy.esm.js.map +1 -0
- package/dist/chunks/fullScreen-C8hX2pTC.esm.js +19 -0
- package/dist/chunks/fullScreen-C8hX2pTC.esm.js.map +1 -0
- package/dist/chunks/fullScreen-CLiduHav.js +18 -0
- package/dist/chunks/fullScreen-CLiduHav.js.map +1 -0
- package/dist/chunks/global-search-Cv05uLrl.esm.js +150 -0
- package/dist/chunks/global-search-Cv05uLrl.esm.js.map +1 -0
- package/dist/chunks/global-search-DbznIAl6.js +149 -0
- package/dist/chunks/global-search-DbznIAl6.js.map +1 -0
- package/dist/chunks/grid-view-DU2QULeu.js +51 -0
- package/dist/chunks/grid-view-DU2QULeu.js.map +1 -0
- package/dist/chunks/grid-view-GlNJVcKj.esm.js +52 -0
- package/dist/chunks/grid-view-GlNJVcKj.esm.js.map +1 -0
- package/dist/chunks/header-BFW20E1d.js +92 -0
- package/dist/chunks/header-BFW20E1d.js.map +1 -0
- package/dist/chunks/header-Bixl452K.esm.js +93 -0
- package/dist/chunks/header-Bixl452K.esm.js.map +1 -0
- package/dist/chunks/header-enhanced-B1QMUejl.esm.js +403 -0
- package/dist/chunks/header-enhanced-B1QMUejl.esm.js.map +1 -0
- package/dist/chunks/header-enhanced-BhPzBxKE.js +402 -0
- package/dist/chunks/header-enhanced-BhPzBxKE.js.map +1 -0
- package/dist/chunks/index-BQEhOLUH.js +2023 -0
- package/dist/chunks/index-BQEhOLUH.js.map +1 -0
- package/dist/chunks/index-D8ZndEil.esm.js +2024 -0
- package/dist/chunks/index-D8ZndEil.esm.js.map +1 -0
- package/dist/chunks/inline-edit-fields-CroglKKT.js +341 -0
- package/dist/chunks/inline-edit-fields-CroglKKT.js.map +1 -0
- package/dist/chunks/inline-edit-fields-D7cT0GBD.esm.js +325 -0
- package/dist/chunks/inline-edit-fields-D7cT0GBD.esm.js.map +1 -0
- package/dist/chunks/inventory-reports-title-bar-BfYJpRZS.js +732 -0
- package/dist/chunks/inventory-reports-title-bar-BfYJpRZS.js.map +1 -0
- package/dist/chunks/inventory-reports-title-bar-ChJIZCt3.esm.js +733 -0
- package/dist/chunks/inventory-reports-title-bar-ChJIZCt3.esm.js.map +1 -0
- package/dist/chunks/item-response-details-Bn3llCOZ.esm.js +79 -0
- package/dist/chunks/item-response-details-Bn3llCOZ.esm.js.map +1 -0
- package/dist/chunks/item-response-details-MAPF6ZUl.js +78 -0
- package/dist/chunks/item-response-details-MAPF6ZUl.js.map +1 -0
- package/dist/chunks/journal-type-add-modal-B4gNVBp2.esm.js +112 -0
- package/dist/chunks/journal-type-add-modal-B4gNVBp2.esm.js.map +1 -0
- package/dist/chunks/journal-type-add-modal-BPsJofLg.js +128 -0
- package/dist/chunks/journal-type-add-modal-BPsJofLg.js.map +1 -0
- package/dist/chunks/language-switch-CXAd9UyU.js +110 -0
- package/dist/chunks/language-switch-CXAd9UyU.js.map +1 -0
- package/dist/chunks/language-switch-DYq3B_O_.esm.js +111 -0
- package/dist/chunks/language-switch-DYq3B_O_.esm.js.map +1 -0
- package/dist/chunks/languageContext-BrkEneRJ.js +223 -0
- package/dist/chunks/languageContext-BrkEneRJ.js.map +1 -0
- package/dist/chunks/languageContext-CoD2SowZ.esm.js +224 -0
- package/dist/chunks/languageContext-CoD2SowZ.esm.js.map +1 -0
- package/dist/chunks/listing-C-FOEJNE.js +276 -0
- package/dist/chunks/listing-C-FOEJNE.js.map +1 -0
- package/dist/chunks/listing-D6sHJn5U.esm.js +277 -0
- package/dist/chunks/listing-D6sHJn5U.esm.js.map +1 -0
- package/dist/chunks/location-select-CdbfLOA7.js +85 -0
- package/dist/chunks/location-select-CdbfLOA7.js.map +1 -0
- package/dist/chunks/location-select-CvxPG5TQ.esm.js +86 -0
- package/dist/chunks/location-select-CvxPG5TQ.esm.js.map +1 -0
- package/dist/chunks/material-editable-table-5wu_-L3Y.esm.js +1448 -0
- package/dist/chunks/material-editable-table-5wu_-L3Y.esm.js.map +1 -0
- package/dist/chunks/material-editable-table-BuxU4MGq.js +1464 -0
- package/dist/chunks/material-editable-table-BuxU4MGq.js.map +1 -0
- package/dist/chunks/module-reducer-BPqyboZO.esm.js +79 -0
- package/dist/chunks/module-reducer-BPqyboZO.esm.js.map +1 -0
- package/dist/chunks/module-reducer-BSbqZihG.js +78 -0
- package/dist/chunks/module-reducer-BSbqZihG.js.map +1 -0
- package/dist/chunks/notification-menu-Dh3tEyed.esm.js +606 -0
- package/dist/chunks/notification-menu-Dh3tEyed.esm.js.map +1 -0
- package/dist/chunks/notification-menu-nyOPgnh_.js +605 -0
- package/dist/chunks/notification-menu-nyOPgnh_.js.map +1 -0
- package/dist/chunks/page-action-Bc7YrQu6.esm.js +325 -0
- package/dist/chunks/page-action-Bc7YrQu6.esm.js.map +1 -0
- package/dist/chunks/page-action-CHn9L4jG.js +324 -0
- package/dist/chunks/page-action-CHn9L4jG.js.map +1 -0
- package/dist/chunks/page-context-CeZ13sfe.js +388 -0
- package/dist/chunks/page-context-CeZ13sfe.js.map +1 -0
- package/dist/chunks/page-context-DOyoR4Mb.esm.js +389 -0
- package/dist/chunks/page-context-DOyoR4Mb.esm.js.map +1 -0
- package/dist/chunks/page-navigator-C_6CZ-96.js +243 -0
- package/dist/chunks/page-navigator-C_6CZ-96.js.map +1 -0
- package/dist/chunks/page-navigator-DlCuhgXf.esm.js +244 -0
- package/dist/chunks/page-navigator-DlCuhgXf.esm.js.map +1 -0
- package/dist/chunks/page-view-B3mxo6gm.js +323 -0
- package/dist/chunks/page-view-B3mxo6gm.js.map +1 -0
- package/dist/chunks/page-view-DXApF6A-.esm.js +324 -0
- package/dist/chunks/page-view-DXApF6A-.esm.js.map +1 -0
- package/dist/chunks/pagination-BJffYmua.esm.js +136 -0
- package/dist/chunks/pagination-BJffYmua.esm.js.map +1 -0
- package/dist/chunks/pagination-DWbXofhv.js +135 -0
- package/dist/chunks/pagination-DWbXofhv.js.map +1 -0
- package/dist/chunks/phone-CpvIlogv.js +58 -0
- package/dist/chunks/phone-CpvIlogv.js.map +1 -0
- package/dist/chunks/phone-DVLpLugC.esm.js +59 -0
- package/dist/chunks/phone-DVLpLugC.esm.js.map +1 -0
- package/dist/chunks/phone-input-BdkVAoH2.js +254 -0
- package/dist/chunks/phone-input-BdkVAoH2.js.map +1 -0
- package/dist/chunks/phone-input-DKJjbvou.esm.js +255 -0
- package/dist/chunks/phone-input-DKJjbvou.esm.js.map +1 -0
- package/dist/chunks/privateRoute-D6jVrjoG.js +12 -0
- package/dist/chunks/privateRoute-D6jVrjoG.js.map +1 -0
- package/dist/chunks/privateRoute-DEZzvs2N.esm.js +13 -0
- package/dist/chunks/privateRoute-DEZzvs2N.esm.js.map +1 -0
- package/dist/chunks/quick-approval-modal-B7i-YKl2.js +272 -0
- package/dist/chunks/quick-approval-modal-B7i-YKl2.js.map +1 -0
- package/dist/chunks/quick-approval-modal-BVMwgp4Z.esm.js +256 -0
- package/dist/chunks/quick-approval-modal-BVMwgp4Z.esm.js.map +1 -0
- package/dist/chunks/reducer-BzLi-LrE.js +32 -0
- package/dist/chunks/reducer-BzLi-LrE.js.map +1 -0
- package/dist/chunks/reducer-C6sHvXbS.js +148 -0
- package/dist/chunks/reducer-C6sHvXbS.js.map +1 -0
- package/dist/chunks/reducer-Cngb_Mdn.js +49 -0
- package/dist/chunks/reducer-Cngb_Mdn.js.map +1 -0
- package/dist/chunks/reducer-Cpk59NOP.esm.js +43 -0
- package/dist/chunks/reducer-Cpk59NOP.esm.js.map +1 -0
- package/dist/chunks/reducer-DW2Bqjc6.js +55 -0
- package/dist/chunks/reducer-DW2Bqjc6.js.map +1 -0
- package/dist/chunks/reducer-DWDtIvnX.esm.js +50 -0
- package/dist/chunks/reducer-DWDtIvnX.esm.js.map +1 -0
- package/dist/chunks/reducer-DiLDehJI.esm.js +33 -0
- package/dist/chunks/reducer-DiLDehJI.esm.js.map +1 -0
- package/dist/chunks/reducer-KL35iBYz.esm.js +56 -0
- package/dist/chunks/reducer-KL35iBYz.esm.js.map +1 -0
- package/dist/chunks/reducer-dliimPMJ.js +42 -0
- package/dist/chunks/reducer-dliimPMJ.js.map +1 -0
- package/dist/chunks/reducer-lFoBnaC5.esm.js +149 -0
- package/dist/chunks/reducer-lFoBnaC5.esm.js.map +1 -0
- package/dist/chunks/remove-action-DERJ0rtA.js +20 -0
- package/dist/chunks/remove-action-DERJ0rtA.js.map +1 -0
- package/dist/chunks/remove-action-DNtURLvU.esm.js +21 -0
- package/dist/chunks/remove-action-DNtURLvU.esm.js.map +1 -0
- package/dist/chunks/report-buttons-B2i_Q-lC.js +59 -0
- package/dist/chunks/report-buttons-B2i_Q-lC.js.map +1 -0
- package/dist/chunks/report-buttons-BdTnws2T.js +45 -0
- package/dist/chunks/report-buttons-BdTnws2T.js.map +1 -0
- package/dist/chunks/report-buttons-CCc9rCkl.esm.js +46 -0
- package/dist/chunks/report-buttons-CCc9rCkl.esm.js.map +1 -0
- package/dist/chunks/report-buttons-psZVgpe_.esm.js +60 -0
- package/dist/chunks/report-buttons-psZVgpe_.esm.js.map +1 -0
- package/dist/chunks/reportFilter-C39KSw3l.esm.js +395 -0
- package/dist/chunks/reportFilter-C39KSw3l.esm.js.map +1 -0
- package/dist/chunks/reportFilter-DGd4ekg-.js +394 -0
- package/dist/chunks/reportFilter-DGd4ekg-.js.map +1 -0
- package/dist/chunks/reports-title-bar-Dd3iOfR-.esm.js +947 -0
- package/dist/chunks/reports-title-bar-Dd3iOfR-.esm.js.map +1 -0
- package/dist/chunks/reports-title-bar-DlPpSwiw.js +946 -0
- package/dist/chunks/reports-title-bar-DlPpSwiw.js.map +1 -0
- package/dist/chunks/reset-password-DReduw70.esm.js +33 -0
- package/dist/chunks/reset-password-DReduw70.esm.js.map +1 -0
- package/dist/chunks/reset-password-DZvsTWlD.js +32 -0
- package/dist/chunks/reset-password-DZvsTWlD.js.map +1 -0
- package/dist/chunks/reset-password-modal-Cr05IyG1.js +160 -0
- package/dist/chunks/reset-password-modal-Cr05IyG1.js.map +1 -0
- package/dist/chunks/reset-password-modal-lPlOVnJq.esm.js +144 -0
- package/dist/chunks/reset-password-modal-lPlOVnJq.esm.js.map +1 -0
- package/dist/chunks/routes-DH1b-Q2W.js +35 -0
- package/dist/chunks/routes-DH1b-Q2W.js.map +1 -0
- package/dist/chunks/routes-Dreutj_J.esm.js +36 -0
- package/dist/chunks/routes-Dreutj_J.esm.js.map +1 -0
- package/dist/chunks/schedule-report-CJGqP8tZ.esm.js +236 -0
- package/dist/chunks/schedule-report-CJGqP8tZ.esm.js.map +1 -0
- package/dist/chunks/schedule-report-CgjIY66p.js +235 -0
- package/dist/chunks/schedule-report-CgjIY66p.js.map +1 -0
- package/dist/chunks/schedule-report-modal-0SVNj3s-.js +287 -0
- package/dist/chunks/schedule-report-modal-0SVNj3s-.js.map +1 -0
- package/dist/chunks/schedule-report-modal-BjVPnuxt.esm.js +288 -0
- package/dist/chunks/schedule-report-modal-BjVPnuxt.esm.js.map +1 -0
- package/dist/chunks/searchable-select-1icZNvnP.esm.js +5396 -0
- package/dist/chunks/searchable-select-1icZNvnP.esm.js.map +1 -0
- package/dist/chunks/searchable-select-Blsu4iXR.js +5412 -0
- package/dist/chunks/searchable-select-Blsu4iXR.js.map +1 -0
- package/dist/chunks/share-modal-Cz_WL8EW.js +217 -0
- package/dist/chunks/share-modal-Cz_WL8EW.js.map +1 -0
- package/dist/chunks/share-modal-DJ2_JFTx.esm.js +218 -0
- package/dist/chunks/share-modal-DJ2_JFTx.esm.js.map +1 -0
- package/dist/chunks/share-modal-enhanced-DNHOBVhS.esm.js +270 -0
- package/dist/chunks/share-modal-enhanced-DNHOBVhS.esm.js.map +1 -0
- package/dist/chunks/share-modal-enhanced-DiPHMaXt.js +269 -0
- package/dist/chunks/share-modal-enhanced-DiPHMaXt.js.map +1 -0
- package/dist/chunks/sidebar-CMAUcvl9.js +878 -0
- package/dist/chunks/sidebar-CMAUcvl9.js.map +1 -0
- package/dist/chunks/sidebar-JNFt3JH3.esm.js +879 -0
- package/dist/chunks/sidebar-JNFt3JH3.esm.js.map +1 -0
- package/dist/chunks/sidebarScreen-DhReSLjB.js +201 -0
- package/dist/chunks/sidebarScreen-DhReSLjB.js.map +1 -0
- package/dist/chunks/sidebarScreen-ZU78XP7H.esm.js +202 -0
- package/dist/chunks/sidebarScreen-ZU78XP7H.esm.js.map +1 -0
- package/dist/chunks/store-ClgTK2sV.esm.js +100 -0
- package/dist/chunks/store-ClgTK2sV.esm.js.map +1 -0
- package/dist/chunks/store-D8N3NY1-.js +99 -0
- package/dist/chunks/store-D8N3NY1-.js.map +1 -0
- package/dist/chunks/table-C_9RyXid.esm.js +185 -0
- package/dist/chunks/table-C_9RyXid.esm.js.map +1 -0
- package/dist/chunks/table-V7XmJkmH.js +184 -0
- package/dist/chunks/table-V7XmJkmH.js.map +1 -0
- package/dist/chunks/table-form-CWUSN_Vo.esm.js +1537 -0
- package/dist/chunks/table-form-CWUSN_Vo.esm.js.map +1 -0
- package/dist/chunks/table-form-DAYhvUNf.js +1536 -0
- package/dist/chunks/table-form-DAYhvUNf.js.map +1 -0
- package/dist/chunks/template-editor-router-BrdHuf1M.esm.js +9 -0
- package/dist/chunks/template-editor-router-BrdHuf1M.esm.js.map +1 -0
- package/dist/chunks/template-editor-router-DLlK7QoQ.js +8 -0
- package/dist/chunks/template-editor-router-DLlK7QoQ.js.map +1 -0
- package/dist/chunks/template-modal-CaihVS6c.esm.js +769 -0
- package/dist/chunks/template-modal-CaihVS6c.esm.js.map +1 -0
- package/dist/chunks/template-modal-DR44UCdO.js +768 -0
- package/dist/chunks/template-modal-DR44UCdO.js.map +1 -0
- package/dist/chunks/templates-BSItbYyn.esm.js +273 -0
- package/dist/chunks/templates-BSItbYyn.esm.js.map +1 -0
- package/dist/chunks/templates-lQXS-JbW.js +272 -0
- package/dist/chunks/templates-lQXS-JbW.js.map +1 -0
- package/dist/chunks/text-measurement-CKsi7roR.js +251 -0
- package/dist/chunks/text-measurement-CKsi7roR.js.map +1 -0
- package/dist/chunks/text-measurement-CzTbKujq.esm.js +252 -0
- package/dist/chunks/text-measurement-CzTbKujq.esm.js.map +1 -0
- package/dist/chunks/toggle-button-BAzK-F4f.js +54 -0
- package/dist/chunks/toggle-button-BAzK-F4f.js.map +1 -0
- package/dist/chunks/toggle-button-wxw3vqQm.esm.js +55 -0
- package/dist/chunks/toggle-button-wxw3vqQm.esm.js.map +1 -0
- package/dist/chunks/toggle-switch-BpYaTgi8.js +80 -0
- package/dist/chunks/toggle-switch-BpYaTgi8.js.map +1 -0
- package/dist/chunks/toggle-switch-CQSli7Ay.esm.js +81 -0
- package/dist/chunks/toggle-switch-CQSli7Ay.esm.js.map +1 -0
- package/dist/chunks/translations-BEM7tglD.js +127 -0
- package/dist/chunks/translations-BEM7tglD.js.map +1 -0
- package/dist/chunks/translations-C1zjzcqi.esm.js +128 -0
- package/dist/chunks/translations-C1zjzcqi.esm.js.map +1 -0
- package/dist/chunks/uom-field-wrapper-BflzOvzr.js +79 -0
- package/dist/chunks/uom-field-wrapper-BflzOvzr.js.map +1 -0
- package/dist/chunks/uom-field-wrapper-C9YwPiwb.esm.js +80 -0
- package/dist/chunks/uom-field-wrapper-C9YwPiwb.esm.js.map +1 -0
- package/dist/chunks/upload-excel-DRZMnZD7.js +360 -0
- package/dist/chunks/upload-excel-DRZMnZD7.js.map +1 -0
- package/dist/chunks/upload-excel-iZv0_wk0.esm.js +361 -0
- package/dist/chunks/upload-excel-iZv0_wk0.esm.js.map +1 -0
- package/dist/chunks/use-pages-ChcQwCXQ.js +29 -0
- package/dist/chunks/use-pages-ChcQwCXQ.js.map +1 -0
- package/dist/chunks/use-pages-Dip08ksi.esm.js +30 -0
- package/dist/chunks/use-pages-Dip08ksi.esm.js.map +1 -0
- package/dist/chunks/use-translations-Dov2gaPx.js +68 -0
- package/dist/chunks/use-translations-Dov2gaPx.js.map +1 -0
- package/dist/chunks/use-translations-HClmwwE_.esm.js +69 -0
- package/dist/chunks/use-translations-HClmwwE_.esm.js.map +1 -0
- package/dist/chunks/useAccountSetting-DPk-tXqj.esm.js +174 -0
- package/dist/chunks/useAccountSetting-DPk-tXqj.esm.js.map +1 -0
- package/dist/chunks/useAccountSetting-DzYd7M2W.js +173 -0
- package/dist/chunks/useAccountSetting-DzYd7M2W.js.map +1 -0
- package/dist/chunks/useCheckSkuAndName-CP9L3hQL.esm.js +50 -0
- package/dist/chunks/useCheckSkuAndName-CP9L3hQL.esm.js.map +1 -0
- package/dist/chunks/useCheckSkuAndName-DE2GEFo6.js +49 -0
- package/dist/chunks/useCheckSkuAndName-DE2GEFo6.js.map +1 -0
- package/dist/chunks/useCompanyCountryCode-Cv_pe0VV.js +35 -0
- package/dist/chunks/useCompanyCountryCode-Cv_pe0VV.js.map +1 -0
- package/dist/chunks/useCompanyCountryCode-DdqpAORy.esm.js +36 -0
- package/dist/chunks/useCompanyCountryCode-DdqpAORy.esm.js.map +1 -0
- package/dist/chunks/useDataFetcher-D0pW_enR.esm.js +80 -0
- package/dist/chunks/useDataFetcher-D0pW_enR.esm.js.map +1 -0
- package/dist/chunks/useDataFetcher-N1rD6Kfn.js +79 -0
- package/dist/chunks/useDataFetcher-N1rD6Kfn.js.map +1 -0
- package/dist/chunks/useLangauge-BG9ygywe.esm.js +49 -0
- package/dist/chunks/useLangauge-BG9ygywe.esm.js.map +1 -0
- package/dist/chunks/useLangauge-XogfBoCI.js +48 -0
- package/dist/chunks/useLangauge-XogfBoCI.js.map +1 -0
- package/dist/chunks/useReduxIntegration-CfVVtnD7.esm.js +39 -0
- package/dist/chunks/useReduxIntegration-CfVVtnD7.esm.js.map +1 -0
- package/dist/chunks/useReduxIntegration-D5PrXQel.js +38 -0
- package/dist/chunks/useReduxIntegration-D5PrXQel.js.map +1 -0
- package/dist/chunks/useSetDefaultConfig-BPluNr91.esm.js +101 -0
- package/dist/chunks/useSetDefaultConfig-BPluNr91.esm.js.map +1 -0
- package/dist/chunks/useSetDefaultConfig-D7MeVt3h.js +100 -0
- package/dist/chunks/useSetDefaultConfig-D7MeVt3h.js.map +1 -0
- package/dist/chunks/useUniquenessCheck-C7DJT7Ga.esm.js +39 -0
- package/dist/chunks/useUniquenessCheck-C7DJT7Ga.esm.js.map +1 -0
- package/dist/chunks/useUniquenessCheck-CrkmkQn9.js +38 -0
- package/dist/chunks/useUniquenessCheck-CrkmkQn9.js.map +1 -0
- package/dist/chunks/user-menu-D4vfwfEU.esm.js +105 -0
- package/dist/chunks/user-menu-D4vfwfEU.esm.js.map +1 -0
- package/dist/chunks/user-menu-gPZ-eIhh.js +104 -0
- package/dist/chunks/user-menu-gPZ-eIhh.js.map +1 -0
- package/dist/chunks/value-editor-CHtw6kdm.esm.js +137 -0
- package/dist/chunks/value-editor-CHtw6kdm.esm.js.map +1 -0
- package/dist/chunks/value-editor-Nn6CvIU1.js +136 -0
- package/dist/chunks/value-editor-Nn6CvIU1.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/ai-summary/index.js +1 -1
- package/dist/components/ai-summary/index.esm.js +1 -1
- package/dist/components/ai-summary/index.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/grid-view/index.js +1 -1
- package/dist/components/custom-forms/grid-view/index.esm.js +1 -1
- package/dist/components/custom-forms/grid-view/index.js +1 -1
- package/dist/components/custom-forms/index.esm.js +2 -2
- package/dist/components/custom-forms/index.js +2 -2
- 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/custom-editor/index.js +1 -1
- package/dist/components/editor/index.esm.js +1 -1
- package/dist/components/editor/index.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 +9 -9
- 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/dynamic-text-editor/index.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 +9 -9
- 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 +9 -9
- 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 +11 -11
- 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/global-search/index.js +1 -1
- package/dist/components/header/components/index.esm.js +2 -2
- package/dist/components/header/components/index.js +2 -2
- 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/index.js +1 -1
- package/dist/components/header/components/notification-menu/notification-menu/index.esm.js +1 -1
- package/dist/components/header/components/notification-menu/notification-menu/index.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 +6 -6
- package/dist/components/header/redux/actionCreator/index.esm.js +1 -1
- package/dist/components/header/redux/actionCreator/index.js +1 -1
- package/dist/components/header/redux/index.esm.js +2 -2
- package/dist/components/header/redux/index.js +2 -2
- package/dist/components/header/redux/reducer/index.esm.js +1 -1
- package/dist/components/header/redux/reducer/index.js +1 -1
- package/dist/components/index.esm.js +59 -59
- package/dist/components/index.js +59 -59
- 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 +5 -5
- 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/actionCreator/index.js +1 -1
- package/dist/components/inventory-reports-title-bar/redux/index.esm.js +2 -2
- package/dist/components/inventory-reports-title-bar/redux/index.js +2 -2
- package/dist/components/inventory-reports-title-bar/redux/reducer/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/redux/reducer/index.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/index.js +1 -1
- package/dist/components/quick-approval-modal/quick-approval-modal/index.esm.js +1 -1
- package/dist/components/quick-approval-modal/quick-approval-modal/index.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 +4 -4
- package/dist/components/reports-title-bar/redux/actionCreator/index.esm.js +1 -1
- package/dist/components/reports-title-bar/redux/actionCreator/index.js +1 -1
- package/dist/components/reports-title-bar/redux/index.esm.js +2 -2
- package/dist/components/reports-title-bar/redux/index.js +2 -2
- package/dist/components/reports-title-bar/redux/reducer/index.esm.js +1 -1
- package/dist/components/reports-title-bar/redux/reducer/index.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-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 +4 -4
- package/dist/components/share-modal/redux/actionCreator/index.esm.js +1 -1
- package/dist/components/share-modal/redux/actionCreator/index.js +1 -1
- package/dist/components/share-modal/redux/index.esm.js +2 -2
- package/dist/components/share-modal/redux/index.js +2 -2
- package/dist/components/share-modal/redux/reducer/index.esm.js +1 -1
- package/dist/components/share-modal/redux/reducer/index.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/index.js +1 -1
- package/dist/components/upload-excel/upload-excel/index.esm.js +1 -1
- package/dist/components/upload-excel/upload-excel/index.js +1 -1
- package/dist/constants/pathnames/pathname.crm/index.esm.js +5 -5
- package/dist/constants/pathnames/pathname.crm/index.esm.js.map +1 -1
- package/dist/constants/pathnames/pathname.crm/index.js +5 -5
- package/dist/constants/pathnames/pathname.crm/index.js.map +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 +10 -10
- 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/useAccountSetting/index.js +1 -1
- package/dist/hooks/useAuth/index.esm.js +1 -1
- package/dist/hooks/useAuth/index.js +1 -1
- package/dist/hooks/useCheckSkuAndName/index.esm.js +1 -1
- package/dist/hooks/useCheckSkuAndName/index.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/hooks/useUniquenessCheck/index.js +1 -1
- package/dist/index.esm.js +96 -96
- package/dist/index.js +96 -96
- 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/actionCreator/index.js +1 -1
- package/dist/redux/index.esm.js +3 -3
- package/dist/redux/index.js +3 -3
- package/dist/redux/module-reducer/index.esm.js +1 -1
- package/dist/redux/module-reducer/index.js +1 -1
- package/dist/redux/store/index.esm.js +1 -1
- package/dist/redux/store/index.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/index.js +1 -1
- package/dist/utils/common/index.esm.js +1 -1
- package/dist/utils/common/index.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/index.esm.js +6 -6
- package/dist/utils/index.js +5 -5
- package/dist/utils/server/index.esm.js +1 -1
- package/dist/utils/server/index.js +1 -1
- package/dist/utils/text-measurement/index.esm.js +1 -1
- package/dist/utils/text-measurement/index.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/element-edit-forms/index.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 +4 -4
- package/dist/views/form-builder/redux/index.esm.js +1 -1
- package/dist/views/form-builder/redux/index.js +1 -1
- package/dist/views/index.esm.js +17 -17
- package/dist/views/index.js +17 -17
- 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/edit-section-modal/index.js +1 -1
- package/dist/views/template-editor/index.esm.js +7 -7
- package/dist/views/template-editor/index.js +7 -7
- 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/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-CItUFhA2.esm.js +0 -306
- package/dist/chunks/AuthContext-CItUFhA2.esm.js.map +0 -1
- package/dist/chunks/AuthContext-Cs_BXvVj.js +0 -305
- package/dist/chunks/AuthContext-Cs_BXvVj.js.map +0 -1
- package/dist/chunks/DonutChart-Dr60XGH5.esm.js +0 -95
- package/dist/chunks/DonutChart-Dr60XGH5.esm.js.map +0 -1
- package/dist/chunks/DonutChart-WB5LIvys.js +0 -111
- package/dist/chunks/DonutChart-WB5LIvys.js.map +0 -1
- package/dist/chunks/DynamicDependentField-BVqAKO1B.js +0 -127
- package/dist/chunks/DynamicDependentField-BVqAKO1B.js.map +0 -1
- package/dist/chunks/DynamicDependentField-C6DytUY_.esm.js +0 -128
- package/dist/chunks/DynamicDependentField-C6DytUY_.esm.js.map +0 -1
- package/dist/chunks/DynamicSearchInput-Ccs5S_-Y.js +0 -194
- package/dist/chunks/DynamicSearchInput-Ccs5S_-Y.js.map +0 -1
- package/dist/chunks/DynamicSearchInput-u9rb_yyw.esm.js +0 -195
- package/dist/chunks/DynamicSearchInput-u9rb_yyw.esm.js.map +0 -1
- package/dist/chunks/ERPUIProvider-2S46JHUa.js +0 -132
- package/dist/chunks/ERPUIProvider-2S46JHUa.js.map +0 -1
- package/dist/chunks/ERPUIProvider-ba7WsKJT.esm.js +0 -133
- package/dist/chunks/ERPUIProvider-ba7WsKJT.esm.js.map +0 -1
- package/dist/chunks/FORMS-CjfTyARI.esm.js +0 -296
- package/dist/chunks/FORMS-CjfTyARI.esm.js.map +0 -1
- package/dist/chunks/FORMS-_Fww4MYI.js +0 -295
- package/dist/chunks/FORMS-_Fww4MYI.js.map +0 -1
- package/dist/chunks/FlexibleReduxExample-BiSBR36q.esm.js +0 -149
- package/dist/chunks/FlexibleReduxExample-BiSBR36q.esm.js.map +0 -1
- package/dist/chunks/FlexibleReduxExample-D6V3clJh.js +0 -148
- package/dist/chunks/FlexibleReduxExample-D6V3clJh.js.map +0 -1
- package/dist/chunks/GroupBarChart-DLofFCpW.esm.js +0 -87
- package/dist/chunks/GroupBarChart-DLofFCpW.esm.js.map +0 -1
- package/dist/chunks/GroupBarChart-pLMPgiFq.js +0 -103
- package/dist/chunks/GroupBarChart-pLMPgiFq.js.map +0 -1
- package/dist/chunks/SectionFlowEditor-DxHvrDry.js +0 -5460
- package/dist/chunks/SectionFlowEditor-DxHvrDry.js.map +0 -1
- package/dist/chunks/SectionFlowEditor-sTXTk6Pp.esm.js +0 -5461
- package/dist/chunks/SectionFlowEditor-sTXTk6Pp.esm.js.map +0 -1
- package/dist/chunks/action-bar-DAkDP8jy.esm.js +0 -637
- package/dist/chunks/action-bar-DAkDP8jy.esm.js.map +0 -1
- package/dist/chunks/action-bar-ZiKnHLpN.js +0 -636
- package/dist/chunks/action-bar-ZiKnHLpN.js.map +0 -1
- package/dist/chunks/actionCreator--nyJOZdo.esm.js +0 -94
- package/dist/chunks/actionCreator--nyJOZdo.esm.js.map +0 -1
- package/dist/chunks/actionCreator-B9RMDke4.esm.js +0 -28
- package/dist/chunks/actionCreator-B9RMDke4.esm.js.map +0 -1
- package/dist/chunks/actionCreator-BHJND4-K.js +0 -21
- package/dist/chunks/actionCreator-BHJND4-K.js.map +0 -1
- package/dist/chunks/actionCreator-Bvkp-9kz.js +0 -13
- package/dist/chunks/actionCreator-Bvkp-9kz.js.map +0 -1
- package/dist/chunks/actionCreator-C6pvyodH.esm.js +0 -22
- package/dist/chunks/actionCreator-C6pvyodH.esm.js.map +0 -1
- package/dist/chunks/actionCreator-CDyPIbaz.js +0 -79
- package/dist/chunks/actionCreator-CDyPIbaz.js.map +0 -1
- package/dist/chunks/actionCreator-CuO9Tyc1.esm.js +0 -14
- package/dist/chunks/actionCreator-CuO9Tyc1.esm.js.map +0 -1
- package/dist/chunks/actionCreator-DEgSg3Sh.js +0 -93
- package/dist/chunks/actionCreator-DEgSg3Sh.js.map +0 -1
- package/dist/chunks/actionCreator-DhHH6Hfz.js +0 -27
- package/dist/chunks/actionCreator-DhHH6Hfz.js.map +0 -1
- package/dist/chunks/actionCreator-WaxefxF5.esm.js +0 -80
- package/dist/chunks/actionCreator-WaxefxF5.esm.js.map +0 -1
- package/dist/chunks/activity-tag-4P5hWkZ0.esm.js +0 -152
- package/dist/chunks/activity-tag-4P5hWkZ0.esm.js.map +0 -1
- package/dist/chunks/activity-tag-Bb8tcLXo.js +0 -151
- package/dist/chunks/activity-tag-Bb8tcLXo.js.map +0 -1
- package/dist/chunks/add-template-DMLULyMa.js +0 -10
- package/dist/chunks/add-template-DMLULyMa.js.map +0 -1
- package/dist/chunks/add-template-DmPewqnt.esm.js +0 -11
- package/dist/chunks/add-template-DmPewqnt.esm.js.map +0 -1
- package/dist/chunks/address-modal-BBrMcIzB.js +0 -687
- package/dist/chunks/address-modal-BBrMcIzB.js.map +0 -1
- package/dist/chunks/address-modal-cD-efDDf.esm.js +0 -671
- package/dist/chunks/address-modal-cD-efDDf.esm.js.map +0 -1
- package/dist/chunks/ai-summary-BKoUOoq6.js +0 -350
- package/dist/chunks/ai-summary-BKoUOoq6.js.map +0 -1
- package/dist/chunks/ai-summary-C8DZpNz5.esm.js +0 -351
- package/dist/chunks/ai-summary-C8DZpNz5.esm.js.map +0 -1
- package/dist/chunks/appbar-Bp4faPV6.js +0 -56
- package/dist/chunks/appbar-Bp4faPV6.js.map +0 -1
- package/dist/chunks/appbar-C0FLygTF.esm.js +0 -57
- package/dist/chunks/appbar-C0FLygTF.esm.js.map +0 -1
- package/dist/chunks/approval-wrapper-BygcocPB.esm.js +0 -140
- package/dist/chunks/approval-wrapper-BygcocPB.esm.js.map +0 -1
- package/dist/chunks/approval-wrapper-CF7TX7sM.js +0 -139
- package/dist/chunks/approval-wrapper-CF7TX7sM.js.map +0 -1
- package/dist/chunks/calculation-summary-B6AhRJp6.js +0 -173
- package/dist/chunks/calculation-summary-B6AhRJp6.js.map +0 -1
- package/dist/chunks/calculation-summary-Dho9p-GP.esm.js +0 -174
- package/dist/chunks/calculation-summary-Dho9p-GP.esm.js.map +0 -1
- package/dist/chunks/change-password-BnADMmEw.esm.js +0 -183
- package/dist/chunks/change-password-BnADMmEw.esm.js.map +0 -1
- package/dist/chunks/change-password-DdkfFUPr.js +0 -199
- package/dist/chunks/change-password-DdkfFUPr.js.map +0 -1
- package/dist/chunks/change-user-password-modal-BfVbsGA8.esm.js +0 -119
- package/dist/chunks/change-user-password-modal-BfVbsGA8.esm.js.map +0 -1
- package/dist/chunks/change-user-password-modal-CkFyRcMf.js +0 -135
- package/dist/chunks/change-user-password-modal-CkFyRcMf.js.map +0 -1
- package/dist/chunks/chat-bot-CFuFhsP0.esm.js +0 -1831
- package/dist/chunks/chat-bot-CFuFhsP0.esm.js.map +0 -1
- package/dist/chunks/chat-bot-Da19s5yk.js +0 -1830
- package/dist/chunks/chat-bot-Da19s5yk.js.map +0 -1
- package/dist/chunks/checkbox-C2BeoVnl.js +0 -82
- package/dist/chunks/checkbox-C2BeoVnl.js.map +0 -1
- package/dist/chunks/checkbox-jf_YLLyu.esm.js +0 -83
- package/dist/chunks/checkbox-jf_YLLyu.esm.js.map +0 -1
- package/dist/chunks/common-B57Y6C3m.js +0 -182
- package/dist/chunks/common-B57Y6C3m.js.map +0 -1
- package/dist/chunks/common-BKREMeF3.js +0 -4616
- package/dist/chunks/common-BKREMeF3.js.map +0 -1
- package/dist/chunks/common-DPGU5cvK.esm.js +0 -183
- package/dist/chunks/common-DPGU5cvK.esm.js.map +0 -1
- package/dist/chunks/common-Dx7tnk6m.esm.js +0 -4617
- package/dist/chunks/common-Dx7tnk6m.esm.js.map +0 -1
- package/dist/chunks/common-utility-BArlMUt8.js +0 -305
- package/dist/chunks/common-utility-BArlMUt8.js.map +0 -1
- package/dist/chunks/common-utility-fEu6O9r5.esm.js +0 -305
- package/dist/chunks/common-utility-fEu6O9r5.esm.js.map +0 -1
- package/dist/chunks/confirm-modal-DTmaF3fh.js +0 -97
- package/dist/chunks/confirm-modal-DTmaF3fh.js.map +0 -1
- package/dist/chunks/confirm-modal-Dn6_XVen.esm.js +0 -98
- package/dist/chunks/confirm-modal-Dn6_XVen.esm.js.map +0 -1
- package/dist/chunks/contact-modal-DQZ7sNio.esm.js +0 -169
- package/dist/chunks/contact-modal-DQZ7sNio.esm.js.map +0 -1
- package/dist/chunks/contact-modal-DYgiqXzl.js +0 -185
- package/dist/chunks/contact-modal-DYgiqXzl.js.map +0 -1
- package/dist/chunks/custom-editor-BsGSIut7.js +0 -1257
- package/dist/chunks/custom-editor-BsGSIut7.js.map +0 -1
- package/dist/chunks/custom-editor-U1b8LqMi.esm.js +0 -1257
- package/dist/chunks/custom-editor-U1b8LqMi.esm.js.map +0 -1
- package/dist/chunks/custom-form-BVldaNOk.js +0 -1145
- package/dist/chunks/custom-form-BVldaNOk.js.map +0 -1
- package/dist/chunks/custom-form-vRYQMnnO.esm.js +0 -1146
- package/dist/chunks/custom-form-vRYQMnnO.esm.js.map +0 -1
- package/dist/chunks/dashboard-RdyxLVBz.esm.js +0 -75
- package/dist/chunks/dashboard-RdyxLVBz.esm.js.map +0 -1
- package/dist/chunks/dashboard-WJlAESNI.js +0 -74
- package/dist/chunks/dashboard-WJlAESNI.js.map +0 -1
- package/dist/chunks/date-range-picker-BBWpUuFU.js +0 -61
- package/dist/chunks/date-range-picker-BBWpUuFU.js.map +0 -1
- package/dist/chunks/date-range-picker-Ck43XjEE.esm.js +0 -62
- package/dist/chunks/date-range-picker-Ck43XjEE.esm.js.map +0 -1
- package/dist/chunks/date-range-picker-JBGuBpJi.js +0 -159
- package/dist/chunks/date-range-picker-JBGuBpJi.js.map +0 -1
- package/dist/chunks/date-range-picker-_vgdd2Mj.esm.js +0 -160
- package/dist/chunks/date-range-picker-_vgdd2Mj.esm.js.map +0 -1
- package/dist/chunks/dropdown-button-C6Yjdk-q.esm.js +0 -146
- package/dist/chunks/dropdown-button-C6Yjdk-q.esm.js.map +0 -1
- package/dist/chunks/dropdown-button-ChWNEQO-.js +0 -162
- package/dist/chunks/dropdown-button-ChWNEQO-.js.map +0 -1
- package/dist/chunks/dynamic-layout-wrapper-B-N9TvxZ.js +0 -228
- package/dist/chunks/dynamic-layout-wrapper-B-N9TvxZ.js.map +0 -1
- package/dist/chunks/dynamic-layout-wrapper-CYi-Q4TF.esm.js +0 -229
- package/dist/chunks/dynamic-layout-wrapper-CYi-Q4TF.esm.js.map +0 -1
- package/dist/chunks/dynamic-report-B-tJnqiW.js +0 -588
- package/dist/chunks/dynamic-report-B-tJnqiW.js.map +0 -1
- package/dist/chunks/dynamic-report-C1BLcOcT.esm.js +0 -589
- package/dist/chunks/dynamic-report-C1BLcOcT.esm.js.map +0 -1
- package/dist/chunks/dynamic-rows-3BcmufgN.esm.js +0 -250
- package/dist/chunks/dynamic-rows-3BcmufgN.esm.js.map +0 -1
- package/dist/chunks/dynamic-rows-BVKRmFdW.js +0 -249
- package/dist/chunks/dynamic-rows-BVKRmFdW.js.map +0 -1
- package/dist/chunks/dynamic-text-editor-DNwNCQ41.js +0 -44
- package/dist/chunks/dynamic-text-editor-DNwNCQ41.js.map +0 -1
- package/dist/chunks/dynamic-text-editor-OUcokGgL.esm.js +0 -45
- package/dist/chunks/dynamic-text-editor-OUcokGgL.esm.js.map +0 -1
- package/dist/chunks/edit-section-modal-CxLrKCOU.esm.js +0 -80
- package/dist/chunks/edit-section-modal-CxLrKCOU.esm.js.map +0 -1
- package/dist/chunks/edit-section-modal-xqhmDL66.js +0 -79
- package/dist/chunks/edit-section-modal-xqhmDL66.js.map +0 -1
- package/dist/chunks/expandable-summary-wrapper-BWQYltN_.js +0 -241
- package/dist/chunks/expandable-summary-wrapper-BWQYltN_.js.map +0 -1
- package/dist/chunks/expandable-summary-wrapper-DZsULfLF.esm.js +0 -242
- package/dist/chunks/expandable-summary-wrapper-DZsULfLF.esm.js.map +0 -1
- package/dist/chunks/filter-Co5Up7hd.esm.js +0 -410
- package/dist/chunks/filter-Co5Up7hd.esm.js.map +0 -1
- package/dist/chunks/filter-_ZeZCq8N.js +0 -409
- package/dist/chunks/filter-_ZeZCq8N.js.map +0 -1
- package/dist/chunks/footer-BFio62UN.esm.js +0 -64
- package/dist/chunks/footer-BFio62UN.esm.js.map +0 -1
- package/dist/chunks/footer-Dyu2mKhn.js +0 -63
- package/dist/chunks/footer-Dyu2mKhn.js.map +0 -1
- package/dist/chunks/forgot-password-Ct6Uv_5q.js +0 -194
- package/dist/chunks/forgot-password-Ct6Uv_5q.js.map +0 -1
- package/dist/chunks/forgot-password-DDMLbagX.esm.js +0 -178
- package/dist/chunks/forgot-password-DDMLbagX.esm.js.map +0 -1
- package/dist/chunks/form-fields-D2pcLGqp.esm.js +0 -355
- package/dist/chunks/form-fields-D2pcLGqp.esm.js.map +0 -1
- package/dist/chunks/form-fields-o5mMlVZm.js +0 -354
- package/dist/chunks/form-fields-o5mMlVZm.js.map +0 -1
- package/dist/chunks/form-parser-Dy8hI5vV.esm.js +0 -597
- package/dist/chunks/form-parser-Dy8hI5vV.esm.js.map +0 -1
- package/dist/chunks/form-parser-gVQya70w.js +0 -613
- package/dist/chunks/form-parser-gVQya70w.js.map +0 -1
- package/dist/chunks/form-section-BmLixh5S.js +0 -575
- package/dist/chunks/form-section-BmLixh5S.js.map +0 -1
- package/dist/chunks/form-section-lrISEwWZ.esm.js +0 -576
- package/dist/chunks/form-section-lrISEwWZ.esm.js.map +0 -1
- package/dist/chunks/fullScreen-B3pVmUAN.js +0 -18
- package/dist/chunks/fullScreen-B3pVmUAN.js.map +0 -1
- package/dist/chunks/fullScreen-bvFiiF9s.esm.js +0 -19
- package/dist/chunks/fullScreen-bvFiiF9s.esm.js.map +0 -1
- package/dist/chunks/global-search-9SeBhF5P.esm.js +0 -150
- package/dist/chunks/global-search-9SeBhF5P.esm.js.map +0 -1
- package/dist/chunks/global-search-Dq7FlvS5.js +0 -149
- package/dist/chunks/global-search-Dq7FlvS5.js.map +0 -1
- package/dist/chunks/grid-view-BmG_39gB.js +0 -51
- package/dist/chunks/grid-view-BmG_39gB.js.map +0 -1
- package/dist/chunks/grid-view-DCbDctFE.esm.js +0 -52
- package/dist/chunks/grid-view-DCbDctFE.esm.js.map +0 -1
- package/dist/chunks/header-F4w_8oWo.js +0 -92
- package/dist/chunks/header-F4w_8oWo.js.map +0 -1
- package/dist/chunks/header-IjjjlGPb.esm.js +0 -93
- package/dist/chunks/header-IjjjlGPb.esm.js.map +0 -1
- package/dist/chunks/header-enhanced-DEn3BKBp.esm.js +0 -403
- package/dist/chunks/header-enhanced-DEn3BKBp.esm.js.map +0 -1
- package/dist/chunks/header-enhanced-msUcDfn6.js +0 -402
- package/dist/chunks/header-enhanced-msUcDfn6.js.map +0 -1
- package/dist/chunks/index-BoLOZQo2.js +0 -2019
- package/dist/chunks/index-BoLOZQo2.js.map +0 -1
- package/dist/chunks/index-CmW3Zdrr.esm.js +0 -2020
- package/dist/chunks/index-CmW3Zdrr.esm.js.map +0 -1
- package/dist/chunks/inline-edit-fields-CX85osyU.js +0 -341
- package/dist/chunks/inline-edit-fields-CX85osyU.js.map +0 -1
- package/dist/chunks/inline-edit-fields-tRhdMLp9.esm.js +0 -325
- package/dist/chunks/inline-edit-fields-tRhdMLp9.esm.js.map +0 -1
- package/dist/chunks/inventory-reports-title-bar-BgyeKjXJ.esm.js +0 -733
- package/dist/chunks/inventory-reports-title-bar-BgyeKjXJ.esm.js.map +0 -1
- package/dist/chunks/inventory-reports-title-bar-n55HIJhu.js +0 -732
- package/dist/chunks/inventory-reports-title-bar-n55HIJhu.js.map +0 -1
- package/dist/chunks/item-response-details-CJ-rbzqs.esm.js +0 -79
- package/dist/chunks/item-response-details-CJ-rbzqs.esm.js.map +0 -1
- package/dist/chunks/item-response-details-Cl42lIpK.js +0 -78
- package/dist/chunks/item-response-details-Cl42lIpK.js.map +0 -1
- package/dist/chunks/journal-type-add-modal-CI6q6HqD.js +0 -128
- package/dist/chunks/journal-type-add-modal-CI6q6HqD.js.map +0 -1
- package/dist/chunks/journal-type-add-modal-iXBEPmyH.esm.js +0 -112
- package/dist/chunks/journal-type-add-modal-iXBEPmyH.esm.js.map +0 -1
- package/dist/chunks/language-switch-CDgYeZpu.esm.js +0 -111
- package/dist/chunks/language-switch-CDgYeZpu.esm.js.map +0 -1
- package/dist/chunks/language-switch-CGMB4bwl.js +0 -110
- package/dist/chunks/language-switch-CGMB4bwl.js.map +0 -1
- package/dist/chunks/languageContext-CGFeFANe.js +0 -223
- package/dist/chunks/languageContext-CGFeFANe.js.map +0 -1
- package/dist/chunks/languageContext-NvDBmtCQ.esm.js +0 -224
- package/dist/chunks/languageContext-NvDBmtCQ.esm.js.map +0 -1
- package/dist/chunks/listing-D9CwaU4T.js +0 -276
- package/dist/chunks/listing-D9CwaU4T.js.map +0 -1
- package/dist/chunks/listing-Dyx0Mirh.esm.js +0 -277
- package/dist/chunks/listing-Dyx0Mirh.esm.js.map +0 -1
- package/dist/chunks/location-select-BMJPc3NA.esm.js +0 -86
- package/dist/chunks/location-select-BMJPc3NA.esm.js.map +0 -1
- package/dist/chunks/location-select-dUkE7wln.js +0 -85
- package/dist/chunks/location-select-dUkE7wln.js.map +0 -1
- package/dist/chunks/material-editable-table-BBuW5DLg.esm.js +0 -1448
- package/dist/chunks/material-editable-table-BBuW5DLg.esm.js.map +0 -1
- package/dist/chunks/material-editable-table-CLLJ22hR.js +0 -1464
- package/dist/chunks/material-editable-table-CLLJ22hR.js.map +0 -1
- package/dist/chunks/module-reducer-BGH8lAqY.js +0 -78
- package/dist/chunks/module-reducer-BGH8lAqY.js.map +0 -1
- package/dist/chunks/module-reducer-C0oXjw8G.esm.js +0 -79
- package/dist/chunks/module-reducer-C0oXjw8G.esm.js.map +0 -1
- package/dist/chunks/notification-menu-7JH5abny.js +0 -605
- package/dist/chunks/notification-menu-7JH5abny.js.map +0 -1
- package/dist/chunks/notification-menu-lLUBoCir.esm.js +0 -606
- package/dist/chunks/notification-menu-lLUBoCir.esm.js.map +0 -1
- package/dist/chunks/page-action-CIGGDLKn.esm.js +0 -325
- package/dist/chunks/page-action-CIGGDLKn.esm.js.map +0 -1
- package/dist/chunks/page-action-CUTJzxKo.js +0 -324
- package/dist/chunks/page-action-CUTJzxKo.js.map +0 -1
- package/dist/chunks/page-context-CRlrjYeU.esm.js +0 -389
- package/dist/chunks/page-context-CRlrjYeU.esm.js.map +0 -1
- package/dist/chunks/page-context-sWB9lWkV.js +0 -388
- package/dist/chunks/page-context-sWB9lWkV.js.map +0 -1
- package/dist/chunks/page-navigator-CffhPjmI.esm.js +0 -244
- package/dist/chunks/page-navigator-CffhPjmI.esm.js.map +0 -1
- package/dist/chunks/page-navigator-MmJSpust.js +0 -243
- package/dist/chunks/page-navigator-MmJSpust.js.map +0 -1
- package/dist/chunks/page-view-B5F1_m7T.js +0 -323
- package/dist/chunks/page-view-B5F1_m7T.js.map +0 -1
- package/dist/chunks/page-view-BZ3v52E0.esm.js +0 -324
- package/dist/chunks/page-view-BZ3v52E0.esm.js.map +0 -1
- package/dist/chunks/pagination-Dm9DnsrM.js +0 -135
- package/dist/chunks/pagination-Dm9DnsrM.js.map +0 -1
- package/dist/chunks/pagination-MyUaSjQq.esm.js +0 -136
- package/dist/chunks/pagination-MyUaSjQq.esm.js.map +0 -1
- package/dist/chunks/phone-BpIIryp0.esm.js +0 -59
- package/dist/chunks/phone-BpIIryp0.esm.js.map +0 -1
- package/dist/chunks/phone-D35-eNyG.js +0 -58
- package/dist/chunks/phone-D35-eNyG.js.map +0 -1
- package/dist/chunks/phone-input-Bogr4PHd.js +0 -254
- package/dist/chunks/phone-input-Bogr4PHd.js.map +0 -1
- package/dist/chunks/phone-input-CW81GG_I.esm.js +0 -255
- package/dist/chunks/phone-input-CW81GG_I.esm.js.map +0 -1
- package/dist/chunks/privateRoute-Czv_e-HG.esm.js +0 -13
- package/dist/chunks/privateRoute-Czv_e-HG.esm.js.map +0 -1
- package/dist/chunks/privateRoute-acT0YZUW.js +0 -12
- package/dist/chunks/privateRoute-acT0YZUW.js.map +0 -1
- package/dist/chunks/quick-approval-modal-CJHHFOUg.esm.js +0 -256
- package/dist/chunks/quick-approval-modal-CJHHFOUg.esm.js.map +0 -1
- package/dist/chunks/quick-approval-modal-DjGVpSoa.js +0 -272
- package/dist/chunks/quick-approval-modal-DjGVpSoa.js.map +0 -1
- package/dist/chunks/reducer-5S5_al3O.js +0 -32
- package/dist/chunks/reducer-5S5_al3O.js.map +0 -1
- package/dist/chunks/reducer-B2_uBvEN.esm.js +0 -56
- package/dist/chunks/reducer-B2_uBvEN.esm.js.map +0 -1
- package/dist/chunks/reducer-CaW0CURj.js +0 -148
- package/dist/chunks/reducer-CaW0CURj.js.map +0 -1
- package/dist/chunks/reducer-D23ioWk3.js +0 -55
- package/dist/chunks/reducer-D23ioWk3.js.map +0 -1
- package/dist/chunks/reducer-D4sCikWQ.js +0 -42
- package/dist/chunks/reducer-D4sCikWQ.js.map +0 -1
- package/dist/chunks/reducer-D8APZS-d.esm.js +0 -33
- package/dist/chunks/reducer-D8APZS-d.esm.js.map +0 -1
- package/dist/chunks/reducer-DmccJkiL.esm.js +0 -149
- package/dist/chunks/reducer-DmccJkiL.esm.js.map +0 -1
- package/dist/chunks/reducer-Dt2e90Jo.js +0 -49
- package/dist/chunks/reducer-Dt2e90Jo.js.map +0 -1
- package/dist/chunks/reducer-f_PrcdZ4.esm.js +0 -43
- package/dist/chunks/reducer-f_PrcdZ4.esm.js.map +0 -1
- package/dist/chunks/reducer-kj_mMVhq.esm.js +0 -50
- package/dist/chunks/reducer-kj_mMVhq.esm.js.map +0 -1
- package/dist/chunks/remove-action-C4vk55sF.esm.js +0 -21
- package/dist/chunks/remove-action-C4vk55sF.esm.js.map +0 -1
- package/dist/chunks/remove-action-wgH3tjSh.js +0 -20
- package/dist/chunks/remove-action-wgH3tjSh.js.map +0 -1
- package/dist/chunks/report-buttons-BbPCRSOt.esm.js +0 -46
- package/dist/chunks/report-buttons-BbPCRSOt.esm.js.map +0 -1
- package/dist/chunks/report-buttons-BlgYL2Bm.js +0 -59
- package/dist/chunks/report-buttons-BlgYL2Bm.js.map +0 -1
- package/dist/chunks/report-buttons-D5tjbwgy.esm.js +0 -60
- package/dist/chunks/report-buttons-D5tjbwgy.esm.js.map +0 -1
- package/dist/chunks/report-buttons-DTIsMU6-.js +0 -45
- package/dist/chunks/report-buttons-DTIsMU6-.js.map +0 -1
- package/dist/chunks/reportFilter-B8ANX3ve.esm.js +0 -395
- package/dist/chunks/reportFilter-B8ANX3ve.esm.js.map +0 -1
- package/dist/chunks/reportFilter-CtWt_vKu.js +0 -394
- package/dist/chunks/reportFilter-CtWt_vKu.js.map +0 -1
- package/dist/chunks/reports-title-bar-BggbS-Tb.js +0 -946
- package/dist/chunks/reports-title-bar-BggbS-Tb.js.map +0 -1
- package/dist/chunks/reports-title-bar-CBfcBeWm.esm.js +0 -947
- package/dist/chunks/reports-title-bar-CBfcBeWm.esm.js.map +0 -1
- package/dist/chunks/reset-password-D6fTo7PP.js +0 -32
- package/dist/chunks/reset-password-D6fTo7PP.js.map +0 -1
- package/dist/chunks/reset-password-DHsZ0i0m.esm.js +0 -33
- package/dist/chunks/reset-password-DHsZ0i0m.esm.js.map +0 -1
- package/dist/chunks/reset-password-modal-DhtIlWB5.js +0 -160
- package/dist/chunks/reset-password-modal-DhtIlWB5.js.map +0 -1
- package/dist/chunks/reset-password-modal-pX1e8reV.esm.js +0 -144
- package/dist/chunks/reset-password-modal-pX1e8reV.esm.js.map +0 -1
- package/dist/chunks/routes-BW3ty4u3.js +0 -35
- package/dist/chunks/routes-BW3ty4u3.js.map +0 -1
- package/dist/chunks/routes-CZUhkfnc.esm.js +0 -36
- package/dist/chunks/routes-CZUhkfnc.esm.js.map +0 -1
- package/dist/chunks/schedule-report-CdDcoWCH.js +0 -235
- package/dist/chunks/schedule-report-CdDcoWCH.js.map +0 -1
- package/dist/chunks/schedule-report-D-zLbOxU.esm.js +0 -236
- package/dist/chunks/schedule-report-D-zLbOxU.esm.js.map +0 -1
- package/dist/chunks/schedule-report-modal-CrbeZXpC.js +0 -287
- package/dist/chunks/schedule-report-modal-CrbeZXpC.js.map +0 -1
- package/dist/chunks/schedule-report-modal-DJBMRIwR.esm.js +0 -288
- package/dist/chunks/schedule-report-modal-DJBMRIwR.esm.js.map +0 -1
- package/dist/chunks/searchable-select-B6MUgCdo.js +0 -5412
- package/dist/chunks/searchable-select-B6MUgCdo.js.map +0 -1
- package/dist/chunks/searchable-select-Cp2JQ-ma.esm.js +0 -5396
- package/dist/chunks/searchable-select-Cp2JQ-ma.esm.js.map +0 -1
- package/dist/chunks/share-modal-BQz9DT8w.esm.js +0 -218
- package/dist/chunks/share-modal-BQz9DT8w.esm.js.map +0 -1
- package/dist/chunks/share-modal-DS7uWv8L.js +0 -217
- package/dist/chunks/share-modal-DS7uWv8L.js.map +0 -1
- package/dist/chunks/share-modal-enhanced-ClVTuNyl.esm.js +0 -270
- package/dist/chunks/share-modal-enhanced-ClVTuNyl.esm.js.map +0 -1
- package/dist/chunks/share-modal-enhanced-DDsOmNGE.js +0 -269
- package/dist/chunks/share-modal-enhanced-DDsOmNGE.js.map +0 -1
- package/dist/chunks/sidebar-DDWxJgOI.esm.js +0 -879
- package/dist/chunks/sidebar-DDWxJgOI.esm.js.map +0 -1
- package/dist/chunks/sidebar-DZUrBtkU.js +0 -878
- package/dist/chunks/sidebar-DZUrBtkU.js.map +0 -1
- package/dist/chunks/sidebarScreen-BVehiM72.esm.js +0 -202
- package/dist/chunks/sidebarScreen-BVehiM72.esm.js.map +0 -1
- package/dist/chunks/sidebarScreen-Dyasx_un.js +0 -201
- package/dist/chunks/sidebarScreen-Dyasx_un.js.map +0 -1
- package/dist/chunks/store-0k7BuH6N.esm.js +0 -100
- package/dist/chunks/store-0k7BuH6N.esm.js.map +0 -1
- package/dist/chunks/store-D0UGtNyn.js +0 -99
- package/dist/chunks/store-D0UGtNyn.js.map +0 -1
- package/dist/chunks/table-BFVmn9er.js +0 -184
- package/dist/chunks/table-BFVmn9er.js.map +0 -1
- package/dist/chunks/table-DZ4iT9yr.esm.js +0 -185
- package/dist/chunks/table-DZ4iT9yr.esm.js.map +0 -1
- package/dist/chunks/table-form-BweS8HY4.esm.js +0 -1537
- package/dist/chunks/table-form-BweS8HY4.esm.js.map +0 -1
- package/dist/chunks/table-form-C08FE3l-.js +0 -1536
- package/dist/chunks/table-form-C08FE3l-.js.map +0 -1
- package/dist/chunks/template-editor-router-D99QWgsY.esm.js +0 -9
- package/dist/chunks/template-editor-router-D99QWgsY.esm.js.map +0 -1
- package/dist/chunks/template-editor-router-DslCflw6.js +0 -8
- package/dist/chunks/template-editor-router-DslCflw6.js.map +0 -1
- package/dist/chunks/template-modal-7ED61IRQ.js +0 -768
- package/dist/chunks/template-modal-7ED61IRQ.js.map +0 -1
- package/dist/chunks/template-modal-Pc_7Ko4n.esm.js +0 -769
- package/dist/chunks/template-modal-Pc_7Ko4n.esm.js.map +0 -1
- package/dist/chunks/templates-Z4PvElMl.js +0 -272
- package/dist/chunks/templates-Z4PvElMl.js.map +0 -1
- package/dist/chunks/templates-qd8xCqe3.esm.js +0 -273
- package/dist/chunks/templates-qd8xCqe3.esm.js.map +0 -1
- package/dist/chunks/text-measurement-Blnt6jDd.esm.js +0 -252
- package/dist/chunks/text-measurement-Blnt6jDd.esm.js.map +0 -1
- package/dist/chunks/text-measurement-Cp_YwDdV.js +0 -251
- package/dist/chunks/text-measurement-Cp_YwDdV.js.map +0 -1
- package/dist/chunks/toggle-button-CHNfZ0px.esm.js +0 -55
- package/dist/chunks/toggle-button-CHNfZ0px.esm.js.map +0 -1
- package/dist/chunks/toggle-button-D60s8gEP.js +0 -54
- package/dist/chunks/toggle-button-D60s8gEP.js.map +0 -1
- package/dist/chunks/toggle-switch-BYq0pxMx.js +0 -80
- package/dist/chunks/toggle-switch-BYq0pxMx.js.map +0 -1
- package/dist/chunks/toggle-switch-C5eW7j13.esm.js +0 -81
- package/dist/chunks/toggle-switch-C5eW7j13.esm.js.map +0 -1
- package/dist/chunks/translations-BBu_7rQ3.esm.js +0 -128
- package/dist/chunks/translations-BBu_7rQ3.esm.js.map +0 -1
- package/dist/chunks/translations-DFI0dn0H.js +0 -127
- package/dist/chunks/translations-DFI0dn0H.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-BAtgnuyo.js +0 -79
- package/dist/chunks/uom-field-wrapper-BAtgnuyo.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-E4JPg4cL.esm.js +0 -80
- package/dist/chunks/uom-field-wrapper-E4JPg4cL.esm.js.map +0 -1
- package/dist/chunks/upload-excel-C8lWc-h6.esm.js +0 -361
- package/dist/chunks/upload-excel-C8lWc-h6.esm.js.map +0 -1
- package/dist/chunks/upload-excel-Y1ngDyko.js +0 -360
- package/dist/chunks/upload-excel-Y1ngDyko.js.map +0 -1
- package/dist/chunks/use-pages-CtwNsLRG.esm.js +0 -30
- package/dist/chunks/use-pages-CtwNsLRG.esm.js.map +0 -1
- package/dist/chunks/use-pages-DXVEXNG0.js +0 -29
- package/dist/chunks/use-pages-DXVEXNG0.js.map +0 -1
- package/dist/chunks/use-translations-C8VCxHUP.js +0 -68
- package/dist/chunks/use-translations-C8VCxHUP.js.map +0 -1
- package/dist/chunks/use-translations-GJRyMyMm.esm.js +0 -69
- package/dist/chunks/use-translations-GJRyMyMm.esm.js.map +0 -1
- package/dist/chunks/useAccountSetting-C3j-kzsn.esm.js +0 -174
- package/dist/chunks/useAccountSetting-C3j-kzsn.esm.js.map +0 -1
- package/dist/chunks/useAccountSetting-CVdUkHyh.js +0 -173
- package/dist/chunks/useAccountSetting-CVdUkHyh.js.map +0 -1
- package/dist/chunks/useCheckSkuAndName-DGwsN62c.js +0 -49
- package/dist/chunks/useCheckSkuAndName-DGwsN62c.js.map +0 -1
- package/dist/chunks/useCheckSkuAndName-DkIeUSOy.esm.js +0 -50
- package/dist/chunks/useCheckSkuAndName-DkIeUSOy.esm.js.map +0 -1
- package/dist/chunks/useCompanyCountryCode-D4uxUfQC.esm.js +0 -36
- package/dist/chunks/useCompanyCountryCode-D4uxUfQC.esm.js.map +0 -1
- package/dist/chunks/useCompanyCountryCode-FfjhJ8aJ.js +0 -35
- package/dist/chunks/useCompanyCountryCode-FfjhJ8aJ.js.map +0 -1
- package/dist/chunks/useDataFetcher-CPHhFBB1.js +0 -79
- package/dist/chunks/useDataFetcher-CPHhFBB1.js.map +0 -1
- package/dist/chunks/useDataFetcher-dHGm5XO0.esm.js +0 -80
- package/dist/chunks/useDataFetcher-dHGm5XO0.esm.js.map +0 -1
- package/dist/chunks/useLangauge-CSNpcfX6.js +0 -48
- package/dist/chunks/useLangauge-CSNpcfX6.js.map +0 -1
- package/dist/chunks/useLangauge-CXedllBc.esm.js +0 -49
- package/dist/chunks/useLangauge-CXedllBc.esm.js.map +0 -1
- package/dist/chunks/useReduxIntegration-BcngB5eN.js +0 -38
- package/dist/chunks/useReduxIntegration-BcngB5eN.js.map +0 -1
- package/dist/chunks/useReduxIntegration-BeFIVANA.esm.js +0 -39
- package/dist/chunks/useReduxIntegration-BeFIVANA.esm.js.map +0 -1
- package/dist/chunks/useSetDefaultConfig-B0T1TesA.js +0 -100
- package/dist/chunks/useSetDefaultConfig-B0T1TesA.js.map +0 -1
- package/dist/chunks/useSetDefaultConfig-BGhAQcVv.esm.js +0 -101
- package/dist/chunks/useSetDefaultConfig-BGhAQcVv.esm.js.map +0 -1
- package/dist/chunks/useUniquenessCheck-C39yEqX_.esm.js +0 -39
- package/dist/chunks/useUniquenessCheck-C39yEqX_.esm.js.map +0 -1
- package/dist/chunks/useUniquenessCheck-CHtl6HMF.js +0 -38
- package/dist/chunks/useUniquenessCheck-CHtl6HMF.js.map +0 -1
- package/dist/chunks/user-menu-BFS7gNsI.esm.js +0 -105
- package/dist/chunks/user-menu-BFS7gNsI.esm.js.map +0 -1
- package/dist/chunks/user-menu-BbMEP9w1.js +0 -104
- package/dist/chunks/user-menu-BbMEP9w1.js.map +0 -1
- package/dist/chunks/value-editor-CAfyA4_t.js +0 -136
- package/dist/chunks/value-editor-CAfyA4_t.js.map +0 -1
- package/dist/chunks/value-editor-D5xWqrQa.esm.js +0 -137
- package/dist/chunks/value-editor-D5xWqrQa.esm.js.map +0 -1
|
@@ -0,0 +1,1145 @@
|
|
|
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 common$1 = require("./common-DtcSQ2Hw.js");
|
|
26
|
+
const formParser = require("./form-parser-1OSEcBwz.js");
|
|
27
|
+
const eyeOff = require("./eye-off-DVPrzJt8.js");
|
|
28
|
+
const eye = require("./eye-BM7Zd78y.js");
|
|
29
|
+
const reducer = require("./reducer-C6sHvXbS.js");
|
|
30
|
+
const views_formBuilder_field_properties = require("../views/form-builder/field_properties/index.js");
|
|
31
|
+
const tableForm = require("./table-form-DAYhvUNf.js");
|
|
32
|
+
const formFields = require("./form-fields-DyFHl_6b.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 = common$1.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-fo9n8UmL.js.map
|