@erpsquad/common 2.0.0 → 2.0.1
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-DJC2ysdg.esm.js +306 -0
- package/dist/chunks/AuthContext-DJC2ysdg.esm.js.map +1 -0
- package/dist/chunks/AuthContext-DiMzq32w.js +305 -0
- package/dist/chunks/AuthContext-DiMzq32w.js.map +1 -0
- package/dist/chunks/DonutChart-BuAEvr-7.esm.js +95 -0
- package/dist/chunks/DonutChart-BuAEvr-7.esm.js.map +1 -0
- package/dist/chunks/DonutChart-DX4RV8Jz.js +111 -0
- package/dist/chunks/DonutChart-DX4RV8Jz.js.map +1 -0
- package/dist/chunks/DynamicDependentField-CzHv6spL.js +127 -0
- package/dist/chunks/DynamicDependentField-CzHv6spL.js.map +1 -0
- package/dist/chunks/DynamicDependentField-Dt7wZr6f.esm.js +128 -0
- package/dist/chunks/DynamicDependentField-Dt7wZr6f.esm.js.map +1 -0
- package/dist/chunks/DynamicSearchInput-DUXZWvfq.js +194 -0
- package/dist/chunks/DynamicSearchInput-DUXZWvfq.js.map +1 -0
- package/dist/chunks/DynamicSearchInput-DbbDLN2G.esm.js +195 -0
- package/dist/chunks/DynamicSearchInput-DbbDLN2G.esm.js.map +1 -0
- package/dist/chunks/ERPUIProvider-BMJ9XkKp.esm.js +133 -0
- package/dist/chunks/ERPUIProvider-BMJ9XkKp.esm.js.map +1 -0
- package/dist/chunks/ERPUIProvider-D3ggEDf5.js +132 -0
- package/dist/chunks/ERPUIProvider-D3ggEDf5.js.map +1 -0
- package/dist/chunks/FORMS-CCB3EAw4.js +295 -0
- package/dist/chunks/FORMS-CCB3EAw4.js.map +1 -0
- package/dist/chunks/FORMS-t_qnei_5.esm.js +296 -0
- package/dist/chunks/FORMS-t_qnei_5.esm.js.map +1 -0
- package/dist/chunks/FlexibleReduxExample-BHidgXy5.esm.js +149 -0
- package/dist/chunks/FlexibleReduxExample-BHidgXy5.esm.js.map +1 -0
- package/dist/chunks/FlexibleReduxExample-CHCFNMVK.js +148 -0
- package/dist/chunks/FlexibleReduxExample-CHCFNMVK.js.map +1 -0
- package/dist/chunks/GroupBarChart-CvVAPrDI.js +103 -0
- package/dist/chunks/GroupBarChart-CvVAPrDI.js.map +1 -0
- package/dist/chunks/GroupBarChart-D1_ox2Ug.esm.js +87 -0
- package/dist/chunks/GroupBarChart-D1_ox2Ug.esm.js.map +1 -0
- package/dist/chunks/SectionFlowEditor-CDgzdU0q.esm.js +5461 -0
- package/dist/chunks/SectionFlowEditor-CDgzdU0q.esm.js.map +1 -0
- package/dist/chunks/SectionFlowEditor-ghyNNqEk.js +5460 -0
- package/dist/chunks/SectionFlowEditor-ghyNNqEk.js.map +1 -0
- package/dist/chunks/action-bar-CCWXRzfM.esm.js +637 -0
- package/dist/chunks/action-bar-CCWXRzfM.esm.js.map +1 -0
- package/dist/chunks/action-bar-Cnb5wNlI.js +636 -0
- package/dist/chunks/action-bar-Cnb5wNlI.js.map +1 -0
- package/dist/chunks/actionCreator-5NvBOVyG.esm.js +80 -0
- package/dist/chunks/actionCreator-5NvBOVyG.esm.js.map +1 -0
- package/dist/chunks/actionCreator-B-Sv3pj6.esm.js +28 -0
- package/dist/chunks/actionCreator-B-Sv3pj6.esm.js.map +1 -0
- package/dist/chunks/actionCreator-B39ov5Vn.esm.js +14 -0
- package/dist/chunks/actionCreator-B39ov5Vn.esm.js.map +1 -0
- package/dist/chunks/actionCreator-BTG2TiZ0.js +93 -0
- package/dist/chunks/actionCreator-BTG2TiZ0.js.map +1 -0
- package/dist/chunks/actionCreator-Bg8da1Oj.js +79 -0
- package/dist/chunks/actionCreator-Bg8da1Oj.js.map +1 -0
- package/dist/chunks/actionCreator-CDSVXuFH.js +13 -0
- package/dist/chunks/actionCreator-CDSVXuFH.js.map +1 -0
- package/dist/chunks/actionCreator-DVIJK0fv.js +27 -0
- package/dist/chunks/actionCreator-DVIJK0fv.js.map +1 -0
- package/dist/chunks/actionCreator-DyruNsE8.esm.js +94 -0
- package/dist/chunks/actionCreator-DyruNsE8.esm.js.map +1 -0
- package/dist/chunks/actionCreator-Jd_Txvd5.esm.js +22 -0
- package/dist/chunks/actionCreator-Jd_Txvd5.esm.js.map +1 -0
- package/dist/chunks/actionCreator-LLogkBm6.js +21 -0
- package/dist/chunks/actionCreator-LLogkBm6.js.map +1 -0
- package/dist/chunks/activity-tag-BvZ3Tioc.esm.js +152 -0
- package/dist/chunks/activity-tag-BvZ3Tioc.esm.js.map +1 -0
- package/dist/chunks/activity-tag-CIC-kc_o.js +151 -0
- package/dist/chunks/activity-tag-CIC-kc_o.js.map +1 -0
- package/dist/chunks/add-template-C_Qzwj0V.js +10 -0
- package/dist/chunks/add-template-C_Qzwj0V.js.map +1 -0
- package/dist/chunks/add-template-DBcyvW2K.esm.js +11 -0
- package/dist/chunks/add-template-DBcyvW2K.esm.js.map +1 -0
- package/dist/chunks/address-modal--eXGQyui.js +687 -0
- package/dist/chunks/address-modal--eXGQyui.js.map +1 -0
- package/dist/chunks/address-modal-Cf7uvnWB.esm.js +671 -0
- package/dist/chunks/address-modal-Cf7uvnWB.esm.js.map +1 -0
- package/dist/chunks/ai-summary-BlJhcVY0.js +350 -0
- package/dist/chunks/ai-summary-BlJhcVY0.js.map +1 -0
- package/dist/chunks/ai-summary-C2efWmof.esm.js +351 -0
- package/dist/chunks/ai-summary-C2efWmof.esm.js.map +1 -0
- package/dist/chunks/appbar-B01Wv_9P.js +56 -0
- package/dist/chunks/appbar-B01Wv_9P.js.map +1 -0
- package/dist/chunks/appbar-Cmx1JkZb.esm.js +57 -0
- package/dist/chunks/appbar-Cmx1JkZb.esm.js.map +1 -0
- package/dist/chunks/approval-wrapper-BUPccf-C.esm.js +140 -0
- package/dist/chunks/approval-wrapper-BUPccf-C.esm.js.map +1 -0
- package/dist/chunks/approval-wrapper-DeHYMSuu.js +139 -0
- package/dist/chunks/approval-wrapper-DeHYMSuu.js.map +1 -0
- package/dist/chunks/calculation-summary-DKVHrm-k.esm.js +174 -0
- package/dist/chunks/calculation-summary-DKVHrm-k.esm.js.map +1 -0
- package/dist/chunks/calculation-summary-Gl3DFB7K.js +173 -0
- package/dist/chunks/calculation-summary-Gl3DFB7K.js.map +1 -0
- package/dist/chunks/change-password-CcDShhwF.esm.js +183 -0
- package/dist/chunks/change-password-CcDShhwF.esm.js.map +1 -0
- package/dist/chunks/change-password-CwK3e-SN.js +199 -0
- package/dist/chunks/change-password-CwK3e-SN.js.map +1 -0
- package/dist/chunks/change-user-password-modal-DNmY1V2m.js +135 -0
- package/dist/chunks/change-user-password-modal-DNmY1V2m.js.map +1 -0
- package/dist/chunks/change-user-password-modal-K0ReNp41.esm.js +119 -0
- package/dist/chunks/change-user-password-modal-K0ReNp41.esm.js.map +1 -0
- package/dist/chunks/chat-bot-Bi68FUiD.js +1830 -0
- package/dist/chunks/chat-bot-Bi68FUiD.js.map +1 -0
- package/dist/chunks/chat-bot-BuqSp0VN.esm.js +1831 -0
- package/dist/chunks/chat-bot-BuqSp0VN.esm.js.map +1 -0
- package/dist/chunks/checkbox-Bip21a6t.js +82 -0
- package/dist/chunks/checkbox-Bip21a6t.js.map +1 -0
- package/dist/chunks/checkbox-v_d0Yx-x.esm.js +83 -0
- package/dist/chunks/checkbox-v_d0Yx-x.esm.js.map +1 -0
- package/dist/chunks/common-C_EaKnXh.js +4616 -0
- package/dist/chunks/common-C_EaKnXh.js.map +1 -0
- package/dist/chunks/common-CnVHMDbY.esm.js +4617 -0
- package/dist/chunks/common-CnVHMDbY.esm.js.map +1 -0
- package/dist/chunks/common-KLAMsJAi.esm.js +183 -0
- package/dist/chunks/common-KLAMsJAi.esm.js.map +1 -0
- package/dist/chunks/common-qQ4fPO5a.js +182 -0
- package/dist/chunks/common-qQ4fPO5a.js.map +1 -0
- package/dist/chunks/common-utility-Cl3PGy5l.js +305 -0
- package/dist/chunks/common-utility-Cl3PGy5l.js.map +1 -0
- package/dist/chunks/common-utility-D7bVN3zF.esm.js +305 -0
- package/dist/chunks/common-utility-D7bVN3zF.esm.js.map +1 -0
- package/dist/chunks/confirm-modal-lkwpdRuj.js +97 -0
- package/dist/chunks/confirm-modal-lkwpdRuj.js.map +1 -0
- package/dist/chunks/confirm-modal-sxtFXYdS.esm.js +98 -0
- package/dist/chunks/confirm-modal-sxtFXYdS.esm.js.map +1 -0
- package/dist/chunks/contact-modal-B_f9VPcJ.js +185 -0
- package/dist/chunks/contact-modal-B_f9VPcJ.js.map +1 -0
- package/dist/chunks/contact-modal-DRcB51Nb.esm.js +169 -0
- package/dist/chunks/contact-modal-DRcB51Nb.esm.js.map +1 -0
- package/dist/chunks/custom-editor-DNqIxK5s.esm.js +1257 -0
- package/dist/chunks/custom-editor-DNqIxK5s.esm.js.map +1 -0
- package/dist/chunks/custom-editor-nTkpHU2U.js +1257 -0
- package/dist/chunks/custom-editor-nTkpHU2U.js.map +1 -0
- package/dist/chunks/custom-form-BhmbAuav.js +1145 -0
- package/dist/chunks/custom-form-BhmbAuav.js.map +1 -0
- package/dist/chunks/custom-form-Cj3DgDsW.esm.js +1146 -0
- package/dist/chunks/custom-form-Cj3DgDsW.esm.js.map +1 -0
- package/dist/chunks/dashboard-DbPbOg16.js +74 -0
- package/dist/chunks/dashboard-DbPbOg16.js.map +1 -0
- package/dist/chunks/dashboard-stPXD0is.esm.js +75 -0
- package/dist/chunks/dashboard-stPXD0is.esm.js.map +1 -0
- package/dist/chunks/date-range-picker-BVMKqhp_.js +61 -0
- package/dist/chunks/date-range-picker-BVMKqhp_.js.map +1 -0
- package/dist/chunks/date-range-picker-CHHuGA2w.esm.js +160 -0
- package/dist/chunks/date-range-picker-CHHuGA2w.esm.js.map +1 -0
- package/dist/chunks/date-range-picker-D_uQo_G3.esm.js +62 -0
- package/dist/chunks/date-range-picker-D_uQo_G3.esm.js.map +1 -0
- package/dist/chunks/date-range-picker-DbyEWTJz.js +159 -0
- package/dist/chunks/date-range-picker-DbyEWTJz.js.map +1 -0
- package/dist/chunks/dropdown-button-ByMOoZBf.esm.js +146 -0
- package/dist/chunks/dropdown-button-ByMOoZBf.esm.js.map +1 -0
- package/dist/chunks/dropdown-button-dwZiPqaz.js +162 -0
- package/dist/chunks/dropdown-button-dwZiPqaz.js.map +1 -0
- package/dist/chunks/dynamic-layout-wrapper-B-iJDsaQ.esm.js +229 -0
- package/dist/chunks/dynamic-layout-wrapper-B-iJDsaQ.esm.js.map +1 -0
- package/dist/chunks/dynamic-layout-wrapper-mAmSZgi8.js +228 -0
- package/dist/chunks/dynamic-layout-wrapper-mAmSZgi8.js.map +1 -0
- package/dist/chunks/dynamic-report-DyLaLzYp.esm.js +589 -0
- package/dist/chunks/dynamic-report-DyLaLzYp.esm.js.map +1 -0
- package/dist/chunks/dynamic-report-rvUhZHBH.js +588 -0
- package/dist/chunks/dynamic-report-rvUhZHBH.js.map +1 -0
- package/dist/chunks/dynamic-rows-CLvLT8lb.js +249 -0
- package/dist/chunks/dynamic-rows-CLvLT8lb.js.map +1 -0
- package/dist/chunks/dynamic-rows-CjQtTjFn.esm.js +250 -0
- package/dist/chunks/dynamic-rows-CjQtTjFn.esm.js.map +1 -0
- package/dist/chunks/dynamic-text-editor-C8IIOcFl.esm.js +45 -0
- package/dist/chunks/dynamic-text-editor-C8IIOcFl.esm.js.map +1 -0
- package/dist/chunks/dynamic-text-editor-CqNtp8hF.js +44 -0
- package/dist/chunks/dynamic-text-editor-CqNtp8hF.js.map +1 -0
- package/dist/chunks/edit-section-modal-BeVbD6xj.esm.js +80 -0
- package/dist/chunks/edit-section-modal-BeVbD6xj.esm.js.map +1 -0
- package/dist/chunks/edit-section-modal-C36KgbVr.js +79 -0
- package/dist/chunks/edit-section-modal-C36KgbVr.js.map +1 -0
- package/dist/chunks/expandable-summary-wrapper-BAJsvYRS.js +241 -0
- package/dist/chunks/expandable-summary-wrapper-BAJsvYRS.js.map +1 -0
- package/dist/chunks/expandable-summary-wrapper-CgEtxkge.esm.js +242 -0
- package/dist/chunks/expandable-summary-wrapper-CgEtxkge.esm.js.map +1 -0
- package/dist/chunks/filter-BjYruj14.esm.js +410 -0
- package/dist/chunks/filter-BjYruj14.esm.js.map +1 -0
- package/dist/chunks/filter-DIMQtcXr.js +409 -0
- package/dist/chunks/filter-DIMQtcXr.js.map +1 -0
- package/dist/chunks/footer-CzOBvPp2.esm.js +64 -0
- package/dist/chunks/footer-CzOBvPp2.esm.js.map +1 -0
- package/dist/chunks/footer-DHQTL57h.js +63 -0
- package/dist/chunks/footer-DHQTL57h.js.map +1 -0
- package/dist/chunks/forgot-password-49x0zxgs.esm.js +178 -0
- package/dist/chunks/forgot-password-49x0zxgs.esm.js.map +1 -0
- package/dist/chunks/forgot-password-DX_E4HjM.js +194 -0
- package/dist/chunks/forgot-password-DX_E4HjM.js.map +1 -0
- package/dist/chunks/form-fields-BH3GkiaU.js +354 -0
- package/dist/chunks/form-fields-BH3GkiaU.js.map +1 -0
- package/dist/chunks/form-fields-DGoSITAK.esm.js +355 -0
- package/dist/chunks/form-fields-DGoSITAK.esm.js.map +1 -0
- package/dist/chunks/form-parser-BHoA_KqV.esm.js +597 -0
- package/dist/chunks/form-parser-BHoA_KqV.esm.js.map +1 -0
- package/dist/chunks/form-parser-Ddd7RvIY.js +613 -0
- package/dist/chunks/form-parser-Ddd7RvIY.js.map +1 -0
- package/dist/chunks/form-section-ClyItME3.esm.js +576 -0
- package/dist/chunks/form-section-ClyItME3.esm.js.map +1 -0
- package/dist/chunks/form-section-DBsqHFNq.js +575 -0
- package/dist/chunks/form-section-DBsqHFNq.js.map +1 -0
- package/dist/chunks/fullScreen-BIUUt2-7.esm.js +19 -0
- package/dist/chunks/fullScreen-BIUUt2-7.esm.js.map +1 -0
- package/dist/chunks/fullScreen-BZw-oMOF.js +18 -0
- package/dist/chunks/fullScreen-BZw-oMOF.js.map +1 -0
- package/dist/chunks/global-search-88TP77gw.js +149 -0
- package/dist/chunks/global-search-88TP77gw.js.map +1 -0
- package/dist/chunks/global-search-C-FpQyg-.esm.js +150 -0
- package/dist/chunks/global-search-C-FpQyg-.esm.js.map +1 -0
- package/dist/chunks/grid-view-CdeAt3xw.esm.js +52 -0
- package/dist/chunks/grid-view-CdeAt3xw.esm.js.map +1 -0
- package/dist/chunks/grid-view-DzHnDocj.js +51 -0
- package/dist/chunks/grid-view-DzHnDocj.js.map +1 -0
- package/dist/chunks/header-B8JSXWjS.esm.js +93 -0
- package/dist/chunks/header-B8JSXWjS.esm.js.map +1 -0
- package/dist/chunks/header-DKT0X6iq.js +92 -0
- package/dist/chunks/header-DKT0X6iq.js.map +1 -0
- package/dist/chunks/header-enhanced-BJPn0gX8.js +402 -0
- package/dist/chunks/header-enhanced-BJPn0gX8.js.map +1 -0
- package/dist/chunks/header-enhanced-Q-dw4xCq.esm.js +403 -0
- package/dist/chunks/header-enhanced-Q-dw4xCq.esm.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-U3KRuvxo.esm.js +325 -0
- package/dist/chunks/inline-edit-fields-U3KRuvxo.esm.js.map +1 -0
- package/dist/chunks/inline-edit-fields-eXxA-CUz.js +341 -0
- package/dist/chunks/inline-edit-fields-eXxA-CUz.js.map +1 -0
- package/dist/chunks/inventory-reports-title-bar-8qDvgaXt.esm.js +733 -0
- package/dist/chunks/inventory-reports-title-bar-8qDvgaXt.esm.js.map +1 -0
- package/dist/chunks/inventory-reports-title-bar-CAY9W8G1.js +732 -0
- package/dist/chunks/inventory-reports-title-bar-CAY9W8G1.js.map +1 -0
- package/dist/chunks/item-response-details-BK2VsRYR.esm.js +79 -0
- package/dist/chunks/item-response-details-BK2VsRYR.esm.js.map +1 -0
- package/dist/chunks/item-response-details-CEkRTmOL.js +78 -0
- package/dist/chunks/item-response-details-CEkRTmOL.js.map +1 -0
- package/dist/chunks/journal-type-add-modal-CQV7stS1.js +128 -0
- package/dist/chunks/journal-type-add-modal-CQV7stS1.js.map +1 -0
- package/dist/chunks/journal-type-add-modal-CdM0AOLb.esm.js +112 -0
- package/dist/chunks/journal-type-add-modal-CdM0AOLb.esm.js.map +1 -0
- package/dist/chunks/language-switch-CYmUu2ES.js +110 -0
- package/dist/chunks/language-switch-CYmUu2ES.js.map +1 -0
- package/dist/chunks/language-switch-fmfCCZAz.esm.js +111 -0
- package/dist/chunks/language-switch-fmfCCZAz.esm.js.map +1 -0
- package/dist/chunks/languageContext-0aUAsnQC.esm.js +224 -0
- package/dist/chunks/languageContext-0aUAsnQC.esm.js.map +1 -0
- package/dist/chunks/languageContext-CzIj0s4t.js +223 -0
- package/dist/chunks/languageContext-CzIj0s4t.js.map +1 -0
- package/dist/chunks/listing-CTkPb8Th.js +276 -0
- package/dist/chunks/listing-CTkPb8Th.js.map +1 -0
- package/dist/chunks/listing-Cetl2Op2.esm.js +277 -0
- package/dist/chunks/listing-Cetl2Op2.esm.js.map +1 -0
- package/dist/chunks/location-select-YmXCHfDP.esm.js +86 -0
- package/dist/chunks/location-select-YmXCHfDP.esm.js.map +1 -0
- package/dist/chunks/location-select-vlddlFyc.js +85 -0
- package/dist/chunks/location-select-vlddlFyc.js.map +1 -0
- package/dist/chunks/material-editable-table-5atUCMOO.js +1464 -0
- package/dist/chunks/material-editable-table-5atUCMOO.js.map +1 -0
- package/dist/chunks/material-editable-table-DAgxw6nR.esm.js +1448 -0
- package/dist/chunks/material-editable-table-DAgxw6nR.esm.js.map +1 -0
- package/dist/chunks/module-reducer-CkKGv9xU.js +78 -0
- package/dist/chunks/module-reducer-CkKGv9xU.js.map +1 -0
- package/dist/chunks/module-reducer-DlPj1uk3.esm.js +79 -0
- package/dist/chunks/module-reducer-DlPj1uk3.esm.js.map +1 -0
- package/dist/chunks/notification-menu-C4uU4l2S.esm.js +606 -0
- package/dist/chunks/notification-menu-C4uU4l2S.esm.js.map +1 -0
- package/dist/chunks/notification-menu-Do-BRG4A.js +605 -0
- package/dist/chunks/notification-menu-Do-BRG4A.js.map +1 -0
- package/dist/chunks/page-action-Bw-pX0MF.esm.js +325 -0
- package/dist/chunks/page-action-Bw-pX0MF.esm.js.map +1 -0
- package/dist/chunks/page-action-DjimBijB.js +324 -0
- package/dist/chunks/page-action-DjimBijB.js.map +1 -0
- package/dist/chunks/page-context-B4Lxa8Rz.esm.js +389 -0
- package/dist/chunks/page-context-B4Lxa8Rz.esm.js.map +1 -0
- package/dist/chunks/page-context-xrb5feIV.js +388 -0
- package/dist/chunks/page-context-xrb5feIV.js.map +1 -0
- package/dist/chunks/page-navigator-28AQnj8y.js +243 -0
- package/dist/chunks/page-navigator-28AQnj8y.js.map +1 -0
- package/dist/chunks/page-navigator-BHIUvqar.esm.js +244 -0
- package/dist/chunks/page-navigator-BHIUvqar.esm.js.map +1 -0
- package/dist/chunks/page-view-CFTGE9cW.js +323 -0
- package/dist/chunks/page-view-CFTGE9cW.js.map +1 -0
- package/dist/chunks/page-view-CHgTkHo5.esm.js +324 -0
- package/dist/chunks/page-view-CHgTkHo5.esm.js.map +1 -0
- package/dist/chunks/pagination-dYQyETWz.esm.js +136 -0
- package/dist/chunks/pagination-dYQyETWz.esm.js.map +1 -0
- package/dist/chunks/pagination-iCgjni03.js +135 -0
- package/dist/chunks/pagination-iCgjni03.js.map +1 -0
- package/dist/chunks/phone-Dfjto694.js +58 -0
- package/dist/chunks/phone-Dfjto694.js.map +1 -0
- package/dist/chunks/phone-MtCemw0D.esm.js +59 -0
- package/dist/chunks/phone-MtCemw0D.esm.js.map +1 -0
- package/dist/chunks/phone-input-DWHA6chP.esm.js +255 -0
- package/dist/chunks/phone-input-DWHA6chP.esm.js.map +1 -0
- package/dist/chunks/phone-input-WiJlVycw.js +254 -0
- package/dist/chunks/phone-input-WiJlVycw.js.map +1 -0
- package/dist/chunks/privateRoute-BK6_aFSH.js +12 -0
- package/dist/chunks/privateRoute-BK6_aFSH.js.map +1 -0
- package/dist/chunks/privateRoute-CEWpOzUb.esm.js +13 -0
- package/dist/chunks/privateRoute-CEWpOzUb.esm.js.map +1 -0
- package/dist/chunks/quick-approval-modal-BfYMK8vT.js +272 -0
- package/dist/chunks/quick-approval-modal-BfYMK8vT.js.map +1 -0
- package/dist/chunks/quick-approval-modal-D6oQ_XhI.esm.js +256 -0
- package/dist/chunks/quick-approval-modal-D6oQ_XhI.esm.js.map +1 -0
- package/dist/chunks/reducer-B4Sncxa_.js +42 -0
- package/dist/chunks/reducer-B4Sncxa_.js.map +1 -0
- package/dist/chunks/reducer-BLelaWtv.esm.js +56 -0
- package/dist/chunks/reducer-BLelaWtv.esm.js.map +1 -0
- package/dist/chunks/reducer-BMPCIDLt.esm.js +33 -0
- package/dist/chunks/reducer-BMPCIDLt.esm.js.map +1 -0
- package/dist/chunks/reducer-CK74sfRZ.esm.js +43 -0
- package/dist/chunks/reducer-CK74sfRZ.esm.js.map +1 -0
- package/dist/chunks/reducer-CTNLt25L.js +49 -0
- package/dist/chunks/reducer-CTNLt25L.js.map +1 -0
- package/dist/chunks/reducer-D7nIvQSn.esm.js +50 -0
- package/dist/chunks/reducer-D7nIvQSn.esm.js.map +1 -0
- package/dist/chunks/reducer-DdPuNAWE.js +32 -0
- package/dist/chunks/reducer-DdPuNAWE.js.map +1 -0
- package/dist/chunks/reducer-DqC6nRQK.js +55 -0
- package/dist/chunks/reducer-DqC6nRQK.js.map +1 -0
- package/dist/chunks/reducer-YMsDE0gq.js +148 -0
- package/dist/chunks/reducer-YMsDE0gq.js.map +1 -0
- package/dist/chunks/reducer-bkHCJqnY.esm.js +149 -0
- package/dist/chunks/reducer-bkHCJqnY.esm.js.map +1 -0
- package/dist/chunks/remove-action--BhEal0J.js +20 -0
- package/dist/chunks/remove-action--BhEal0J.js.map +1 -0
- package/dist/chunks/remove-action-B-vIy4sD.esm.js +21 -0
- package/dist/chunks/remove-action-B-vIy4sD.esm.js.map +1 -0
- package/dist/chunks/report-buttons-BjLS-8rL.esm.js +60 -0
- package/dist/chunks/report-buttons-BjLS-8rL.esm.js.map +1 -0
- package/dist/chunks/report-buttons-CEpesmN7.esm.js +46 -0
- package/dist/chunks/report-buttons-CEpesmN7.esm.js.map +1 -0
- package/dist/chunks/report-buttons-CSzPZjIq.js +45 -0
- package/dist/chunks/report-buttons-CSzPZjIq.js.map +1 -0
- package/dist/chunks/report-buttons-D3N2KJfd.js +59 -0
- package/dist/chunks/report-buttons-D3N2KJfd.js.map +1 -0
- package/dist/chunks/reportFilter-BVDd4Y7n.js +394 -0
- package/dist/chunks/reportFilter-BVDd4Y7n.js.map +1 -0
- package/dist/chunks/reportFilter-VLxa5JJt.esm.js +395 -0
- package/dist/chunks/reportFilter-VLxa5JJt.esm.js.map +1 -0
- package/dist/chunks/reports-title-bar-BBU76tE9.js +946 -0
- package/dist/chunks/reports-title-bar-BBU76tE9.js.map +1 -0
- package/dist/chunks/reports-title-bar-ZQ8vEc_u.esm.js +947 -0
- package/dist/chunks/reports-title-bar-ZQ8vEc_u.esm.js.map +1 -0
- package/dist/chunks/reset-password-BsyRLrZc.js +32 -0
- package/dist/chunks/reset-password-BsyRLrZc.js.map +1 -0
- package/dist/chunks/reset-password-COFUFRuC.esm.js +33 -0
- package/dist/chunks/reset-password-COFUFRuC.esm.js.map +1 -0
- package/dist/chunks/reset-password-modal-C2uDsuwr.js +160 -0
- package/dist/chunks/reset-password-modal-C2uDsuwr.js.map +1 -0
- package/dist/chunks/reset-password-modal-DwR40494.esm.js +144 -0
- package/dist/chunks/reset-password-modal-DwR40494.esm.js.map +1 -0
- package/dist/chunks/routes-1J3y6ROv.js +35 -0
- package/dist/chunks/routes-1J3y6ROv.js.map +1 -0
- package/dist/chunks/routes-R2ZdkRdk.esm.js +36 -0
- package/dist/chunks/routes-R2ZdkRdk.esm.js.map +1 -0
- package/dist/chunks/schedule-report-BebyOcTt.esm.js +236 -0
- package/dist/chunks/schedule-report-BebyOcTt.esm.js.map +1 -0
- package/dist/chunks/schedule-report-DWhEc_9_.js +235 -0
- package/dist/chunks/schedule-report-DWhEc_9_.js.map +1 -0
- package/dist/chunks/schedule-report-modal-BSANaNBS.js +287 -0
- package/dist/chunks/schedule-report-modal-BSANaNBS.js.map +1 -0
- package/dist/chunks/schedule-report-modal-CJqesX4C.esm.js +288 -0
- package/dist/chunks/schedule-report-modal-CJqesX4C.esm.js.map +1 -0
- package/dist/chunks/searchable-select-C20VrfVc.js +5412 -0
- package/dist/chunks/searchable-select-C20VrfVc.js.map +1 -0
- package/dist/chunks/searchable-select-seJhBYjv.esm.js +5396 -0
- package/dist/chunks/searchable-select-seJhBYjv.esm.js.map +1 -0
- package/dist/chunks/share-modal-CODlSsyO.esm.js +218 -0
- package/dist/chunks/share-modal-CODlSsyO.esm.js.map +1 -0
- package/dist/chunks/share-modal-D-AUZPXN.js +217 -0
- package/dist/chunks/share-modal-D-AUZPXN.js.map +1 -0
- package/dist/chunks/share-modal-enhanced-CLoW2Jax.js +269 -0
- package/dist/chunks/share-modal-enhanced-CLoW2Jax.js.map +1 -0
- package/dist/chunks/share-modal-enhanced-sEHJxTr5.esm.js +270 -0
- package/dist/chunks/share-modal-enhanced-sEHJxTr5.esm.js.map +1 -0
- package/dist/chunks/sidebar-DXUFzMV5.esm.js +879 -0
- package/dist/chunks/sidebar-DXUFzMV5.esm.js.map +1 -0
- package/dist/chunks/sidebar-qrBhuMs7.js +878 -0
- package/dist/chunks/sidebar-qrBhuMs7.js.map +1 -0
- package/dist/chunks/sidebarScreen-BIgpRJ4t.esm.js +202 -0
- package/dist/chunks/sidebarScreen-BIgpRJ4t.esm.js.map +1 -0
- package/dist/chunks/sidebarScreen-D9NLHGpe.js +201 -0
- package/dist/chunks/sidebarScreen-D9NLHGpe.js.map +1 -0
- package/dist/chunks/store-BXzirGeK.esm.js +100 -0
- package/dist/chunks/store-BXzirGeK.esm.js.map +1 -0
- package/dist/chunks/store-Dh91gSjL.js +99 -0
- package/dist/chunks/store-Dh91gSjL.js.map +1 -0
- package/dist/chunks/table-CAK8tLmE.esm.js +185 -0
- package/dist/chunks/table-CAK8tLmE.esm.js.map +1 -0
- package/dist/chunks/table-CyBdiYSs.js +184 -0
- package/dist/chunks/table-CyBdiYSs.js.map +1 -0
- package/dist/chunks/table-form-CaFKYuZu.js +1536 -0
- package/dist/chunks/table-form-CaFKYuZu.js.map +1 -0
- package/dist/chunks/table-form-z5PHDNU3.esm.js +1537 -0
- package/dist/chunks/table-form-z5PHDNU3.esm.js.map +1 -0
- package/dist/chunks/template-editor-router-BkQtkxPD.js +8 -0
- package/dist/chunks/template-editor-router-BkQtkxPD.js.map +1 -0
- package/dist/chunks/template-editor-router-Cw0uFTk_.esm.js +9 -0
- package/dist/chunks/template-editor-router-Cw0uFTk_.esm.js.map +1 -0
- package/dist/chunks/template-modal-B2NVnmtb.esm.js +769 -0
- package/dist/chunks/template-modal-B2NVnmtb.esm.js.map +1 -0
- package/dist/chunks/template-modal-CfbPXVnH.js +768 -0
- package/dist/chunks/template-modal-CfbPXVnH.js.map +1 -0
- package/dist/chunks/templates-CFYUyvGI.esm.js +273 -0
- package/dist/chunks/templates-CFYUyvGI.esm.js.map +1 -0
- package/dist/chunks/templates-CL0Jo6mN.js +272 -0
- package/dist/chunks/templates-CL0Jo6mN.js.map +1 -0
- package/dist/chunks/text-measurement-BVzney11.esm.js +252 -0
- package/dist/chunks/text-measurement-BVzney11.esm.js.map +1 -0
- package/dist/chunks/text-measurement-spx9_n3t.js +251 -0
- package/dist/chunks/text-measurement-spx9_n3t.js.map +1 -0
- package/dist/chunks/toggle-button-DJUyn9rb.esm.js +55 -0
- package/dist/chunks/toggle-button-DJUyn9rb.esm.js.map +1 -0
- package/dist/chunks/toggle-button-DbGxs8d7.js +54 -0
- package/dist/chunks/toggle-button-DbGxs8d7.js.map +1 -0
- package/dist/chunks/toggle-switch-BHVf_Sjx.esm.js +81 -0
- package/dist/chunks/toggle-switch-BHVf_Sjx.esm.js.map +1 -0
- package/dist/chunks/toggle-switch-DX2wV7t3.js +80 -0
- package/dist/chunks/toggle-switch-DX2wV7t3.js.map +1 -0
- package/dist/chunks/translations-BERPFjEP.esm.js +128 -0
- package/dist/chunks/translations-BERPFjEP.esm.js.map +1 -0
- package/dist/chunks/translations-CtIqBToW.js +127 -0
- package/dist/chunks/translations-CtIqBToW.js.map +1 -0
- package/dist/chunks/uom-field-wrapper-Ci8c0KrY.esm.js +80 -0
- package/dist/chunks/uom-field-wrapper-Ci8c0KrY.esm.js.map +1 -0
- package/dist/chunks/uom-field-wrapper-eQXOeV89.js +79 -0
- package/dist/chunks/uom-field-wrapper-eQXOeV89.js.map +1 -0
- package/dist/chunks/upload-excel-CPmhCb2-.js +360 -0
- package/dist/chunks/upload-excel-CPmhCb2-.js.map +1 -0
- package/dist/chunks/upload-excel-ozq4rxbX.esm.js +361 -0
- package/dist/chunks/upload-excel-ozq4rxbX.esm.js.map +1 -0
- package/dist/chunks/use-pages-BSaeoxQ1.esm.js +30 -0
- package/dist/chunks/use-pages-BSaeoxQ1.esm.js.map +1 -0
- package/dist/chunks/use-pages-JD9QELCn.js +29 -0
- package/dist/chunks/use-pages-JD9QELCn.js.map +1 -0
- package/dist/chunks/use-translations-C73kaz1q.esm.js +69 -0
- package/dist/chunks/use-translations-C73kaz1q.esm.js.map +1 -0
- package/dist/chunks/use-translations-CNMvwRSY.js +68 -0
- package/dist/chunks/use-translations-CNMvwRSY.js.map +1 -0
- package/dist/chunks/useAccountSetting-CA5np56I.esm.js +174 -0
- package/dist/chunks/useAccountSetting-CA5np56I.esm.js.map +1 -0
- package/dist/chunks/useAccountSetting-Cy613fOL.js +173 -0
- package/dist/chunks/useAccountSetting-Cy613fOL.js.map +1 -0
- package/dist/chunks/useCheckSkuAndName-BC3uHYiA.js +49 -0
- package/dist/chunks/useCheckSkuAndName-BC3uHYiA.js.map +1 -0
- package/dist/chunks/useCheckSkuAndName-CJiHnxFq.esm.js +50 -0
- package/dist/chunks/useCheckSkuAndName-CJiHnxFq.esm.js.map +1 -0
- package/dist/chunks/useCompanyCountryCode-DKKOaf6e.esm.js +36 -0
- package/dist/chunks/useCompanyCountryCode-DKKOaf6e.esm.js.map +1 -0
- package/dist/chunks/useCompanyCountryCode-DT-k1ck5.js +35 -0
- package/dist/chunks/useCompanyCountryCode-DT-k1ck5.js.map +1 -0
- package/dist/chunks/useDataFetcher-BasQeEky.esm.js +80 -0
- package/dist/chunks/useDataFetcher-BasQeEky.esm.js.map +1 -0
- package/dist/chunks/useDataFetcher-_TuO73Lk.js +79 -0
- package/dist/chunks/useDataFetcher-_TuO73Lk.js.map +1 -0
- package/dist/chunks/useLangauge-DX8BZ0mQ.js +48 -0
- package/dist/chunks/useLangauge-DX8BZ0mQ.js.map +1 -0
- package/dist/chunks/useLangauge-GS9GmHe5.esm.js +49 -0
- package/dist/chunks/useLangauge-GS9GmHe5.esm.js.map +1 -0
- package/dist/chunks/useReduxIntegration-BJjOWqZ2.esm.js +39 -0
- package/dist/chunks/useReduxIntegration-BJjOWqZ2.esm.js.map +1 -0
- package/dist/chunks/useReduxIntegration-CExyQt27.js +38 -0
- package/dist/chunks/useReduxIntegration-CExyQt27.js.map +1 -0
- package/dist/chunks/useSetDefaultConfig-DcNML44i.js +100 -0
- package/dist/chunks/useSetDefaultConfig-DcNML44i.js.map +1 -0
- package/dist/chunks/useSetDefaultConfig-g3tit8Rs.esm.js +101 -0
- package/dist/chunks/useSetDefaultConfig-g3tit8Rs.esm.js.map +1 -0
- package/dist/chunks/useUniquenessCheck-BCAfiWfr.esm.js +39 -0
- package/dist/chunks/useUniquenessCheck-BCAfiWfr.esm.js.map +1 -0
- package/dist/chunks/useUniquenessCheck-ty3LG_AA.js +38 -0
- package/dist/chunks/useUniquenessCheck-ty3LG_AA.js.map +1 -0
- package/dist/chunks/user-menu-BVhoPg93.js +104 -0
- package/dist/chunks/user-menu-BVhoPg93.js.map +1 -0
- package/dist/chunks/user-menu-toQ-4wrO.esm.js +105 -0
- package/dist/chunks/user-menu-toQ-4wrO.esm.js.map +1 -0
- package/dist/chunks/value-editor-CHK0efMX.js +136 -0
- package/dist/chunks/value-editor-CHK0efMX.js.map +1 -0
- package/dist/chunks/value-editor-CNQugxAO.esm.js +137 -0
- package/dist/chunks/value-editor-CNQugxAO.esm.js.map +1 -0
- package/dist/components/ERPUIProvider/index.esm.js +1 -1
- package/dist/components/ERPUIProvider/index.js +1 -1
- package/dist/components/FORMS/index.esm.js +1 -1
- package/dist/components/FORMS/index.js +1 -1
- package/dist/components/action-bar/action-bar/index.esm.js +1 -1
- package/dist/components/action-bar/action-bar/index.js +1 -1
- package/dist/components/action-bar/index.esm.js +1 -1
- package/dist/components/action-bar/index.js +1 -1
- package/dist/components/activity-tag/activity-tag/index.esm.js +1 -1
- package/dist/components/activity-tag/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/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,1448 @@
|
|
|
1
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import React__default, { useState, useEffect, useCallback, useRef, cloneElement } from "react";
|
|
3
|
+
import { useMaterialReactTable, MaterialReactTable } from "material-react-table";
|
|
4
|
+
import { Box, IconButton, styled, MenuItem, ListItemIcon, ListItemText, Divider } from "@mui/material";
|
|
5
|
+
import ChevronRightIcon from "@mui/icons-material/ChevronRight";
|
|
6
|
+
import ChevronLeftIcon from "@mui/icons-material/ChevronLeft";
|
|
7
|
+
import { M as Menu } from "./menu-B2SzzeqF.esm.js";
|
|
8
|
+
import { T as Typography } from "./typography-CG_A0iOJ.esm.js";
|
|
9
|
+
import { S as SearchBar } from "./search-bar-zOtQoJ7I.esm.js";
|
|
10
|
+
import { i as images } from "./images-RPLi8HQs.esm.js";
|
|
11
|
+
import { A as ArrowUpDown } from "./arrow-up-down-kqMqkqGL.esm.js";
|
|
12
|
+
import { C as CheckBoxIcon } from "./check-box-DZA45Wnw.esm.js";
|
|
13
|
+
import { C as Close } from "./close-RLA63UHs.esm.js";
|
|
14
|
+
import { R as RecgtangleIcon } from "./rectangle-BNPQmR-w.esm.js";
|
|
15
|
+
import { T as Trash } from "./trash-Zhhh3VNZ.esm.js";
|
|
16
|
+
import { I as InlineEditFields } from "./inline-edit-fields-U3KRuvxo.esm.js";
|
|
17
|
+
import { T as Tooltip } from "./Tooltip-C4ENi_0y.esm.js";
|
|
18
|
+
import { B as Button } from "./button-afDB0-AM.esm.js";
|
|
19
|
+
import AddIcon from "@mui/icons-material/Add";
|
|
20
|
+
import dayjs from "dayjs";
|
|
21
|
+
import * as Yup from "yup";
|
|
22
|
+
import { C as ConfirmPopUp } from "./confirm-modal-sxtFXYdS.esm.js";
|
|
23
|
+
import { useTranslation } from "react-i18next";
|
|
24
|
+
import { useSnackbar } from "notistack";
|
|
25
|
+
import { x as getErrorMessage } from "./common-CnVHMDbY.esm.js";
|
|
26
|
+
import { u as usePages } from "./use-pages-BSaeoxQ1.esm.js";
|
|
27
|
+
import { useNavigate } from "react-router-dom";
|
|
28
|
+
import { PathnameDocument } from "../constants/pathnames/pathname.document/index.esm.js";
|
|
29
|
+
import { PathnameAccounting } from "../constants/pathnames/pathname.accounting/index.esm.js";
|
|
30
|
+
import { PathnameInventory } from "../constants/pathnames/pathname.inventory/index.esm.js";
|
|
31
|
+
import { PathnameManufacturing } from "../constants/pathnames/pathname.manufacturing/index.esm.js";
|
|
32
|
+
import { PathnamePurchase } from "../constants/pathnames/pathname.procurement/index.esm.js";
|
|
33
|
+
import { PathnameCrm } from "../constants/pathnames/pathname.crm/index.esm.js";
|
|
34
|
+
import { PathnameUsers } from "../constants/pathnames/pathname.user/index.esm.js";
|
|
35
|
+
import { PathnameRental } from "../constants/pathnames/pathname.rental/index.esm.js";
|
|
36
|
+
import { u as useDeepMemo } from "./use-deep-memo-BzDUOQl2.esm.js";
|
|
37
|
+
const TableWrapper = styled(Box)(({ theme: { palette } }) => {
|
|
38
|
+
var _a, _b, _c, _d;
|
|
39
|
+
return {
|
|
40
|
+
".MuiTableCell-root": {
|
|
41
|
+
border: "1px solid #efefef",
|
|
42
|
+
borderBottom: 0,
|
|
43
|
+
borderLeft: 0,
|
|
44
|
+
padding: "0 0.5rem",
|
|
45
|
+
lineHeight: "19px",
|
|
46
|
+
fontSize: "14px",
|
|
47
|
+
minHeight: 32
|
|
48
|
+
// '&:first-child': {
|
|
49
|
+
// borderLeft: '1px solid #efefef'
|
|
50
|
+
// },
|
|
51
|
+
// '&:last-child': {
|
|
52
|
+
// borderBottom: '1px solid #efefef'
|
|
53
|
+
// }
|
|
54
|
+
},
|
|
55
|
+
".MuiTableCell-head": {
|
|
56
|
+
backgroundColor: (_a = palette.theme) == null ? void 0 : _a.secondary[100]
|
|
57
|
+
},
|
|
58
|
+
".MuiTableContainer-root": {
|
|
59
|
+
maxHeight: "clamp(350px, 100vh - 200px, 9999px) !important"
|
|
60
|
+
},
|
|
61
|
+
".MuiPaper-root": {
|
|
62
|
+
boxShadow: "none"
|
|
63
|
+
},
|
|
64
|
+
".MuiPaginationItem-root": {
|
|
65
|
+
"&.Mui-selected": {
|
|
66
|
+
backgroundColor: (_b = palette == null ? void 0 : palette.theme) == null ? void 0 : _b.primary[700],
|
|
67
|
+
color: "white"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
".MuiTableRow-root": {
|
|
71
|
+
"&.Mui-selected": {
|
|
72
|
+
backgroundColor: `${(_c = palette == null ? void 0 : palette.theme) == null ? void 0 : _c.primary[100]} !important`,
|
|
73
|
+
color: "white"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
".MuiCheckbox-indeterminate": {
|
|
77
|
+
color: `${(_d = palette == null ? void 0 : palette.theme) == null ? void 0 : _d.primary[700]} !important`,
|
|
78
|
+
"& svg": {
|
|
79
|
+
height: `20px !important`,
|
|
80
|
+
width: `20px !important`
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
});
|
|
85
|
+
const MaterialEditableTable = React__default.memo(({
|
|
86
|
+
enablePagination = false,
|
|
87
|
+
rows,
|
|
88
|
+
columns,
|
|
89
|
+
totalPages,
|
|
90
|
+
paginationModel,
|
|
91
|
+
columnOrder,
|
|
92
|
+
updateData,
|
|
93
|
+
handleColumnOrdering,
|
|
94
|
+
enableEditing,
|
|
95
|
+
enableColumnDragging,
|
|
96
|
+
states,
|
|
97
|
+
rowActionMenu,
|
|
98
|
+
destructiveActionMenu,
|
|
99
|
+
disableDefaultActionColumn,
|
|
100
|
+
enableRowSelection,
|
|
101
|
+
defaultActionColumnItems = [],
|
|
102
|
+
enableBottomToolbar,
|
|
103
|
+
SetSelectedRowId,
|
|
104
|
+
isResetRow,
|
|
105
|
+
onCreateRow,
|
|
106
|
+
onEditRow,
|
|
107
|
+
onDeleteRow,
|
|
108
|
+
editDisplayMode,
|
|
109
|
+
enableRowCreate,
|
|
110
|
+
onChangeRowField,
|
|
111
|
+
onSelectRow,
|
|
112
|
+
enableColumnResizing = true,
|
|
113
|
+
selectedRowIds = [],
|
|
114
|
+
onColumnVisibility,
|
|
115
|
+
onSortingChange,
|
|
116
|
+
getSelectedData,
|
|
117
|
+
disabledDefaultActionColumnIcon = false,
|
|
118
|
+
enableAddCustomField = true,
|
|
119
|
+
enableRowDragging = false,
|
|
120
|
+
handleColumnResizing = () => {
|
|
121
|
+
},
|
|
122
|
+
columnSizes = {},
|
|
123
|
+
hideSaveButton = false,
|
|
124
|
+
hideDeleteButton,
|
|
125
|
+
enableFirstRowEdit = false,
|
|
126
|
+
// eslint-disable-next-line unused-imports/no-unused-vars, @typescript-eslint/no-unused-vars
|
|
127
|
+
// getRowId,
|
|
128
|
+
// onDelete,
|
|
129
|
+
// onUpdate,
|
|
130
|
+
...rest
|
|
131
|
+
}) => {
|
|
132
|
+
const { t } = useTranslation();
|
|
133
|
+
const { enqueueSnackbar } = useSnackbar();
|
|
134
|
+
const { formData = null, updatePageInfo, activePage: aPage } = usePages();
|
|
135
|
+
const activePage = useDeepMemo(aPage);
|
|
136
|
+
const { pageNo } = paginationModel;
|
|
137
|
+
const [row, setRow] = useState({});
|
|
138
|
+
const [tableColumns, setTableColumns] = useState(columns);
|
|
139
|
+
const [anchorEl, setAnchorEl] = useState(null);
|
|
140
|
+
const [popUpShow, setPopupShow] = useState(false);
|
|
141
|
+
const [rowAnchorEl, setRowAnchorEl] = useState(null);
|
|
142
|
+
const visibleColumns = tableColumns.filter((column) => column.visible);
|
|
143
|
+
const hiddenColumns = tableColumns.filter((column) => !column.visible);
|
|
144
|
+
const [filteredOptions, setFilteredOptions] = useState(hiddenColumns);
|
|
145
|
+
const [selectedRow, setSelectedRow] = useState(null);
|
|
146
|
+
const [validationErrors, setValidationErrors] = useState({});
|
|
147
|
+
const [validationSchema, setValidationSchema] = useState([]);
|
|
148
|
+
const [isCreatingRow, setIsCreatingRow] = useState(false);
|
|
149
|
+
const [isEditingRow, setIsEditingRow] = useState(false);
|
|
150
|
+
const [isDeletingRow, setIsDeletingRow] = useState(false);
|
|
151
|
+
const [rowToDelete, setRowToDelete] = useState(null);
|
|
152
|
+
const [rowSelection, setRowSelection] = useState({});
|
|
153
|
+
const [isChecked, setIsChecked] = useState(false);
|
|
154
|
+
const [sorting, setSorting] = useState([]);
|
|
155
|
+
const [disableNextEdit, setDisableNextEdit] = useState(false);
|
|
156
|
+
const [columnSizing, setColumnSizing] = useState(activePage.column_sizes);
|
|
157
|
+
const [columnSizingInfo, setColumnSizingInfo] = useState({
|
|
158
|
+
columnSizingStart: [],
|
|
159
|
+
deltaOffset: null,
|
|
160
|
+
deltaPercentage: null,
|
|
161
|
+
isResizingColumn: false,
|
|
162
|
+
startOffset: null,
|
|
163
|
+
startSize: null
|
|
164
|
+
});
|
|
165
|
+
const [clickStartTime, setClickStartTime] = useState(0);
|
|
166
|
+
const navigate = useNavigate();
|
|
167
|
+
const currentModule = location.pathname.split("/")[2];
|
|
168
|
+
let redirectionPath = "";
|
|
169
|
+
switch (currentModule) {
|
|
170
|
+
case "accounting":
|
|
171
|
+
redirectionPath = PathnameAccounting.CUSTOM_FORM;
|
|
172
|
+
break;
|
|
173
|
+
case "inventory":
|
|
174
|
+
redirectionPath = PathnameInventory.CUSTOM_FORM;
|
|
175
|
+
break;
|
|
176
|
+
case "manufacturing":
|
|
177
|
+
redirectionPath = PathnameManufacturing.CUSTOM_FORM;
|
|
178
|
+
break;
|
|
179
|
+
case "procurement":
|
|
180
|
+
redirectionPath = PathnamePurchase.CUSTOM_FORM;
|
|
181
|
+
break;
|
|
182
|
+
case "crm":
|
|
183
|
+
redirectionPath = PathnameCrm.CUSTOM_FORM;
|
|
184
|
+
break;
|
|
185
|
+
case "user":
|
|
186
|
+
redirectionPath = PathnameUsers.CUSTOM_FORM;
|
|
187
|
+
break;
|
|
188
|
+
case "rental":
|
|
189
|
+
redirectionPath = PathnameRental.CUSTOM_FORM;
|
|
190
|
+
break;
|
|
191
|
+
case "drive":
|
|
192
|
+
redirectionPath = PathnameDocument.ADD_CUSTOM_FIELDS;
|
|
193
|
+
break;
|
|
194
|
+
}
|
|
195
|
+
const path = `/dashboard/${currentModule}${redirectionPath}`;
|
|
196
|
+
const getValidationType = (column) => {
|
|
197
|
+
var _a;
|
|
198
|
+
switch (column.editVariant) {
|
|
199
|
+
case "select":
|
|
200
|
+
return ((_a = column == null ? void 0 : column.editProperties) == null ? void 0 : _a.is_multiple) ? Yup.array() : Yup.string();
|
|
201
|
+
case "number":
|
|
202
|
+
return Yup.number().nullable().transform((value, originalValue) => originalValue === "" ? null : value);
|
|
203
|
+
case "url":
|
|
204
|
+
return Yup.string().matches(
|
|
205
|
+
/^(https?:\/\/)?((([a-zA-Z0-9_-]+\.)+[a-zA-Z]{2,})|localhost)(:\d{2,5})?(\/[a-zA-Z0-9#_-]+\/?)*(\?[a-zA-Z0-9&=_-]+)?(#\S+)?$/,
|
|
206
|
+
{ excludeEmptyString: true, message: "Please enter valid URL." }
|
|
207
|
+
);
|
|
208
|
+
case "date":
|
|
209
|
+
case "date_time":
|
|
210
|
+
case "time":
|
|
211
|
+
return Yup.date().nullable().transform((value, originalValue) => {
|
|
212
|
+
if (originalValue === "" || originalValue === null || originalValue === void 0) {
|
|
213
|
+
return null;
|
|
214
|
+
}
|
|
215
|
+
if (originalValue && typeof originalValue === "object" && "toDate" in originalValue) {
|
|
216
|
+
return originalValue.toDate();
|
|
217
|
+
}
|
|
218
|
+
return value;
|
|
219
|
+
}).typeError("Valid date is required");
|
|
220
|
+
case "file":
|
|
221
|
+
case "image":
|
|
222
|
+
return Yup.mixed().nullable();
|
|
223
|
+
default:
|
|
224
|
+
return Yup.string();
|
|
225
|
+
}
|
|
226
|
+
};
|
|
227
|
+
const validationReducer = (schema, validation, column) => {
|
|
228
|
+
var _a;
|
|
229
|
+
let vld = schema;
|
|
230
|
+
switch (validation.type) {
|
|
231
|
+
case "required":
|
|
232
|
+
if (validation.value) {
|
|
233
|
+
vld = vld.required(validation.msg_en).typeError(validation.msg_en);
|
|
234
|
+
if (!(column == null ? void 0 : column.editVariant) || (column == null ? void 0 : column.editVariant) === "text") {
|
|
235
|
+
vld = vld.test(
|
|
236
|
+
"no-blank-spaces",
|
|
237
|
+
"Blank space is not allowed",
|
|
238
|
+
(value) => typeof value === "string" ? value.trim().length > 0 : true
|
|
239
|
+
);
|
|
240
|
+
}
|
|
241
|
+
} else if ((_a = column == null ? void 0 : column.editProperties) == null ? void 0 : _a.is_multiple) {
|
|
242
|
+
vld = vld.min(1, validation.msg_en);
|
|
243
|
+
}
|
|
244
|
+
break;
|
|
245
|
+
case "notRequired":
|
|
246
|
+
vld = vld.notRequired();
|
|
247
|
+
break;
|
|
248
|
+
case "nullable":
|
|
249
|
+
vld = vld.nullable(validation.value ?? true);
|
|
250
|
+
break;
|
|
251
|
+
case "defined":
|
|
252
|
+
vld = vld.defined(validation.msg_en);
|
|
253
|
+
break;
|
|
254
|
+
case "optional":
|
|
255
|
+
vld = vld.optional();
|
|
256
|
+
break;
|
|
257
|
+
case "strict":
|
|
258
|
+
vld = vld.strict(validation.value ?? true);
|
|
259
|
+
break;
|
|
260
|
+
case "typeError":
|
|
261
|
+
vld = vld.typeError(validation.msg_en);
|
|
262
|
+
break;
|
|
263
|
+
case "oneOf":
|
|
264
|
+
vld = vld.oneOf(validation.values, validation.msg_en);
|
|
265
|
+
break;
|
|
266
|
+
case "notOneOf":
|
|
267
|
+
vld = vld.notOneOf(validation.values, validation.msg_en);
|
|
268
|
+
break;
|
|
269
|
+
case "default":
|
|
270
|
+
vld = vld.default(validation.value);
|
|
271
|
+
break;
|
|
272
|
+
case "transform":
|
|
273
|
+
vld = vld.transform(validation.fn);
|
|
274
|
+
break;
|
|
275
|
+
case "label":
|
|
276
|
+
vld = vld.label(validation.value);
|
|
277
|
+
break;
|
|
278
|
+
case "meta":
|
|
279
|
+
vld = vld.meta(validation.value);
|
|
280
|
+
break;
|
|
281
|
+
case "trim":
|
|
282
|
+
vld = vld.trim();
|
|
283
|
+
break;
|
|
284
|
+
case "lowercase":
|
|
285
|
+
vld = vld.lowercase();
|
|
286
|
+
break;
|
|
287
|
+
case "uppercase":
|
|
288
|
+
vld = vld.uppercase();
|
|
289
|
+
break;
|
|
290
|
+
case "email":
|
|
291
|
+
vld = vld.email(validation.msg_en);
|
|
292
|
+
break;
|
|
293
|
+
case "url":
|
|
294
|
+
vld = vld.url(validation.msg_en);
|
|
295
|
+
break;
|
|
296
|
+
case "uuid":
|
|
297
|
+
vld = vld.uuid(validation.msg_en);
|
|
298
|
+
break;
|
|
299
|
+
case "length":
|
|
300
|
+
vld = vld.length(validation.value, validation.msg_en);
|
|
301
|
+
break;
|
|
302
|
+
case "min":
|
|
303
|
+
vld = vld.min(validation.value, validation.msg_en);
|
|
304
|
+
break;
|
|
305
|
+
case "max":
|
|
306
|
+
vld = vld.max(validation.value, validation.msg_en);
|
|
307
|
+
break;
|
|
308
|
+
case "matches":
|
|
309
|
+
vld = vld.matches(validation.regex, validation.msg_en);
|
|
310
|
+
break;
|
|
311
|
+
case "startsWith":
|
|
312
|
+
vld = vld.matches(
|
|
313
|
+
new RegExp(`^${validation.value}`),
|
|
314
|
+
validation.msg_en
|
|
315
|
+
);
|
|
316
|
+
break;
|
|
317
|
+
case "endsWith":
|
|
318
|
+
vld = vld.matches(
|
|
319
|
+
new RegExp(`${validation.value}$`),
|
|
320
|
+
validation.msg_en
|
|
321
|
+
);
|
|
322
|
+
break;
|
|
323
|
+
case "lessThan":
|
|
324
|
+
vld = vld.lessThan(validation.value, validation.msg_en);
|
|
325
|
+
break;
|
|
326
|
+
case "moreThan":
|
|
327
|
+
vld = vld.moreThan(validation.value, validation.msg_en);
|
|
328
|
+
break;
|
|
329
|
+
case "positive":
|
|
330
|
+
vld = vld.positive(validation.msg_en);
|
|
331
|
+
break;
|
|
332
|
+
case "negative":
|
|
333
|
+
vld = vld.negative(validation.msg_en);
|
|
334
|
+
break;
|
|
335
|
+
case "integer":
|
|
336
|
+
vld = vld.integer(validation.msg_en);
|
|
337
|
+
break;
|
|
338
|
+
case "round":
|
|
339
|
+
vld = vld.round(validation.method || "round");
|
|
340
|
+
break;
|
|
341
|
+
case "truncate":
|
|
342
|
+
vld = vld.truncate();
|
|
343
|
+
break;
|
|
344
|
+
case "minItems":
|
|
345
|
+
vld = vld.min(validation.value, validation.msg_en);
|
|
346
|
+
break;
|
|
347
|
+
case "maxItems":
|
|
348
|
+
vld = vld.max(validation.value, validation.msg_en);
|
|
349
|
+
break;
|
|
350
|
+
case "ensure":
|
|
351
|
+
vld = vld.ensure();
|
|
352
|
+
break;
|
|
353
|
+
case "compact":
|
|
354
|
+
vld = vld.compact(validation.rejector);
|
|
355
|
+
break;
|
|
356
|
+
case "of":
|
|
357
|
+
vld = vld.of(validation.schema);
|
|
358
|
+
break;
|
|
359
|
+
case "minDate":
|
|
360
|
+
vld = vld.min(validation.value, validation.msg_en);
|
|
361
|
+
break;
|
|
362
|
+
case "maxDate":
|
|
363
|
+
vld = vld.max(validation.value, validation.msg_en);
|
|
364
|
+
break;
|
|
365
|
+
case "shape":
|
|
366
|
+
vld = vld.shape(validation.fields);
|
|
367
|
+
break;
|
|
368
|
+
case "noUnknown":
|
|
369
|
+
vld = vld.noUnknown(validation.value ?? true, validation.msg_en);
|
|
370
|
+
break;
|
|
371
|
+
case "test":
|
|
372
|
+
vld = vld.test(
|
|
373
|
+
validation.name || "custom-test",
|
|
374
|
+
validation.msg_en,
|
|
375
|
+
validation.testFn
|
|
376
|
+
);
|
|
377
|
+
break;
|
|
378
|
+
case "validate":
|
|
379
|
+
if (typeof validation.callback === "function") {
|
|
380
|
+
vld = vld.test(
|
|
381
|
+
validation.name || "custom-validate",
|
|
382
|
+
validation.msg_en || "Validation failed",
|
|
383
|
+
function(value) {
|
|
384
|
+
var _a2;
|
|
385
|
+
const rowObj = ((_a2 = this.options.context) == null ? void 0 : _a2.row) || {
|
|
386
|
+
original: this.parent,
|
|
387
|
+
origin: this.parent,
|
|
388
|
+
_valuesCache: this.parent
|
|
389
|
+
};
|
|
390
|
+
return validation.callback(value, this.parent, rowObj);
|
|
391
|
+
}
|
|
392
|
+
);
|
|
393
|
+
}
|
|
394
|
+
break;
|
|
395
|
+
case "when":
|
|
396
|
+
return vld.when(validation.relation, {
|
|
397
|
+
is: (val) => typeof validation.is === "function" ? validation.is(val) : Array.isArray(validation.values) ? validation.values.includes(val) : val === validation.values,
|
|
398
|
+
then: (s) => {
|
|
399
|
+
var _a2;
|
|
400
|
+
return ((_a2 = validation == null ? void 0 : validation.thenValidations) == null ? void 0 : _a2.reduce(
|
|
401
|
+
(acc, v) => validationReducer(acc, v, column),
|
|
402
|
+
s
|
|
403
|
+
)) || s;
|
|
404
|
+
},
|
|
405
|
+
otherwise: (s) => {
|
|
406
|
+
var _a2;
|
|
407
|
+
return ((_a2 = validation == null ? void 0 : validation.otherWiseValidations) == null ? void 0 : _a2.reduce(
|
|
408
|
+
(acc, v) => validationReducer(acc, v, column),
|
|
409
|
+
s
|
|
410
|
+
)) || s;
|
|
411
|
+
}
|
|
412
|
+
});
|
|
413
|
+
}
|
|
414
|
+
return vld;
|
|
415
|
+
};
|
|
416
|
+
const generateValidationSchema = (columns2) => {
|
|
417
|
+
return columns2.reduce((acc, clm) => {
|
|
418
|
+
var _a;
|
|
419
|
+
const validations = (_a = clm == null ? void 0 : clm.editProperties) == null ? void 0 : _a.validations;
|
|
420
|
+
if (!(validations == null ? void 0 : validations.length)) return acc;
|
|
421
|
+
const baseSchema = getValidationType(clm);
|
|
422
|
+
acc[clm.accessorKey] = validations.reduce(
|
|
423
|
+
(schema, validation) => validationReducer(schema, validation, clm),
|
|
424
|
+
baseSchema
|
|
425
|
+
);
|
|
426
|
+
return acc;
|
|
427
|
+
}, {});
|
|
428
|
+
};
|
|
429
|
+
useEffect(() => {
|
|
430
|
+
setTableColumns(columns);
|
|
431
|
+
const schema = generateValidationSchema(columns);
|
|
432
|
+
setValidationSchema(Yup.object().shape(schema));
|
|
433
|
+
}, [columns]);
|
|
434
|
+
useEffect(() => {
|
|
435
|
+
if (!(columnSizingInfo == null ? void 0 : columnSizingInfo.isResizingColumn)) {
|
|
436
|
+
updatePageInfo({ column_sizes: { ...activePage.column_sizes, ...columnSizing } });
|
|
437
|
+
handleColumnResizing == null ? void 0 : handleColumnResizing(columnSizing);
|
|
438
|
+
}
|
|
439
|
+
}, [columnSizingInfo == null ? void 0 : columnSizingInfo.isResizingColumn, columnSizing]);
|
|
440
|
+
const handleHeaderClick = (event) => {
|
|
441
|
+
setAnchorEl(event.currentTarget);
|
|
442
|
+
};
|
|
443
|
+
const handleHeaderClose = () => {
|
|
444
|
+
setAnchorEl(null);
|
|
445
|
+
};
|
|
446
|
+
const handleVisibleColumn = (column) => {
|
|
447
|
+
const updatedColumns = tableColumns.map((col) => ({
|
|
448
|
+
...col,
|
|
449
|
+
visible: col.accessorKey === column.accessorKey ? false : col.visible
|
|
450
|
+
}));
|
|
451
|
+
setTableColumns(updatedColumns);
|
|
452
|
+
onColumnVisibility == null ? void 0 : onColumnVisibility(JSON.parse(JSON.stringify(updatedColumns)));
|
|
453
|
+
setFilteredOptions([...filteredOptions, column]);
|
|
454
|
+
setAnchorEl(null);
|
|
455
|
+
};
|
|
456
|
+
const handleAddButtonClick = () => {
|
|
457
|
+
setPopupShow(true);
|
|
458
|
+
};
|
|
459
|
+
const handleBackButtonClick = () => {
|
|
460
|
+
setPopupShow(false);
|
|
461
|
+
};
|
|
462
|
+
const handleAddColumn = (column) => {
|
|
463
|
+
const updatedColumns = tableColumns.map((col) => ({
|
|
464
|
+
...col,
|
|
465
|
+
visible: col.accessorKey === column.accessorKey ? true : col.visible
|
|
466
|
+
}));
|
|
467
|
+
onColumnVisibility == null ? void 0 : onColumnVisibility(JSON.parse(JSON.stringify(updatedColumns)));
|
|
468
|
+
setTableColumns(updatedColumns);
|
|
469
|
+
const updatedFilteredOptions = filteredOptions.filter(
|
|
470
|
+
(option) => option.accessorKey !== column.accessorKey
|
|
471
|
+
);
|
|
472
|
+
setFilteredOptions(updatedFilteredOptions);
|
|
473
|
+
setAnchorEl(null);
|
|
474
|
+
setPopupShow(false);
|
|
475
|
+
};
|
|
476
|
+
const handleSearchEvent = (searchQuery) => {
|
|
477
|
+
const filteredColumns = hiddenColumns.filter(
|
|
478
|
+
(option) => option.header.toLowerCase().includes(searchQuery.toLowerCase())
|
|
479
|
+
);
|
|
480
|
+
setFilteredOptions(filteredColumns);
|
|
481
|
+
};
|
|
482
|
+
const handleCustomAddColumn = () => {
|
|
483
|
+
navigate(path, { state: formData });
|
|
484
|
+
setAnchorEl(null);
|
|
485
|
+
setPopupShow(false);
|
|
486
|
+
};
|
|
487
|
+
const handleActionsClick = (event, data) => {
|
|
488
|
+
setRow(data);
|
|
489
|
+
setRowAnchorEl(event.currentTarget);
|
|
490
|
+
};
|
|
491
|
+
const handleActionsClose = () => {
|
|
492
|
+
setRowAnchorEl(null);
|
|
493
|
+
};
|
|
494
|
+
const formtValues = useCallback((values, cells) => {
|
|
495
|
+
const v = {};
|
|
496
|
+
if (values == null ? void 0 : values["mrt-row-actions"]) {
|
|
497
|
+
delete values["mrt-row-actions"];
|
|
498
|
+
}
|
|
499
|
+
Object.keys(values).forEach((vl) => {
|
|
500
|
+
const val = values[vl];
|
|
501
|
+
const cell = cells.find((c) => c.accessorKey == vl);
|
|
502
|
+
if (val) {
|
|
503
|
+
if (val instanceof File) {
|
|
504
|
+
v[vl] = val.name;
|
|
505
|
+
} else if (cell && (cell == null ? void 0 : cell.editVariant) == "date") {
|
|
506
|
+
v[vl] = dayjs(val).format((cell == null ? void 0 : cell.dateFormat) || "DD-MM-YYYY");
|
|
507
|
+
} else if (cell && (cell == null ? void 0 : cell.editVariant) == "time") {
|
|
508
|
+
v[vl] = dayjs.isDayjs(val) ? val.format("HH:mm") : val;
|
|
509
|
+
} else if (cell && (cell == null ? void 0 : cell.editVariant) == "select" && typeof val === "object" && val !== null) {
|
|
510
|
+
v[vl] = val.name || val.label || val.display_name || val.title || val.value || val.id || val;
|
|
511
|
+
} else if (cell && (cell == null ? void 0 : cell.editVariant) == "select" && typeof val === "string") {
|
|
512
|
+
v[vl] = val;
|
|
513
|
+
} else {
|
|
514
|
+
v[vl] = val;
|
|
515
|
+
}
|
|
516
|
+
} else {
|
|
517
|
+
v[vl] = val;
|
|
518
|
+
}
|
|
519
|
+
});
|
|
520
|
+
return v;
|
|
521
|
+
}, []);
|
|
522
|
+
const handleRowDelete = async () => {
|
|
523
|
+
setIsDeletingRow(true);
|
|
524
|
+
if (rowToDelete) {
|
|
525
|
+
await (onDeleteRow == null ? void 0 : onDeleteRow(rowToDelete));
|
|
526
|
+
setRowToDelete(null);
|
|
527
|
+
}
|
|
528
|
+
setIsDeletingRow(false);
|
|
529
|
+
};
|
|
530
|
+
const checkRequired = useCallback((editProperties) => {
|
|
531
|
+
var _a;
|
|
532
|
+
return (_a = editProperties == null ? void 0 : editProperties.validations) == null ? void 0 : _a.some((validation) => validation.type === "required");
|
|
533
|
+
}, []);
|
|
534
|
+
useEffect(() => {
|
|
535
|
+
const selectedRows = {};
|
|
536
|
+
if (!isChecked && selectedRowIds.length) {
|
|
537
|
+
rows.forEach((row2) => {
|
|
538
|
+
if (selectedRowIds.includes(row2.id)) {
|
|
539
|
+
selectedRows[row2.id] = true;
|
|
540
|
+
}
|
|
541
|
+
});
|
|
542
|
+
setRowSelection(selectedRows);
|
|
543
|
+
setIsChecked(true);
|
|
544
|
+
}
|
|
545
|
+
}, [rows, selectedRowIds]);
|
|
546
|
+
useEffect(() => {
|
|
547
|
+
if (onSortingChange instanceof Function) {
|
|
548
|
+
const sortingArray = Array.isArray(sorting) ? sorting : [];
|
|
549
|
+
onSortingChange(sortingArray[0] || null);
|
|
550
|
+
}
|
|
551
|
+
}, [sorting]);
|
|
552
|
+
const resetRowSelection = () => {
|
|
553
|
+
setRowSelection({});
|
|
554
|
+
setDisableNextEdit(false);
|
|
555
|
+
};
|
|
556
|
+
const getTextWidth = (text) => {
|
|
557
|
+
const canvas = document.createElement("canvas");
|
|
558
|
+
const ctx = canvas.getContext("2d");
|
|
559
|
+
if (!ctx) return 50;
|
|
560
|
+
return ctx.measureText(text).width + 5;
|
|
561
|
+
};
|
|
562
|
+
const handleSaveRow = useCallback(
|
|
563
|
+
async ({ row: row2, values, table: table2 }, mode) => {
|
|
564
|
+
const isEditMode = mode === "edit";
|
|
565
|
+
const setLoadingState = isEditMode ? setIsEditingRow : setIsCreatingRow;
|
|
566
|
+
const rowId = row2.id;
|
|
567
|
+
try {
|
|
568
|
+
await validationSchema.validate(values, { abortEarly: false, context: { row: row2 } });
|
|
569
|
+
setValidationErrors((prev) => {
|
|
570
|
+
const next = { ...prev };
|
|
571
|
+
delete next[rowId];
|
|
572
|
+
return next;
|
|
573
|
+
});
|
|
574
|
+
setLoadingState(true);
|
|
575
|
+
setDisableNextEdit(false);
|
|
576
|
+
const cells = row2.getAllCells().map((c) => c.column.columnDef);
|
|
577
|
+
row2._valuesCache = formtValues(values, cells);
|
|
578
|
+
const data = { row: row2, values, table: table2 };
|
|
579
|
+
if (isEditMode) {
|
|
580
|
+
await (onEditRow == null ? void 0 : onEditRow(data, "edit"));
|
|
581
|
+
table2.setEditingRow(null);
|
|
582
|
+
} else {
|
|
583
|
+
await (onCreateRow == null ? void 0 : onCreateRow(data));
|
|
584
|
+
table2.setCreatingRow(null);
|
|
585
|
+
}
|
|
586
|
+
} catch (err) {
|
|
587
|
+
if (err instanceof Yup.ValidationError) {
|
|
588
|
+
const fieldErrors = err.inner.reduce((acc, { path: path2, message }) => {
|
|
589
|
+
if (path2) acc[path2] = message;
|
|
590
|
+
return acc;
|
|
591
|
+
}, {});
|
|
592
|
+
setValidationErrors((prev) => ({ ...prev, [rowId]: fieldErrors }));
|
|
593
|
+
} else {
|
|
594
|
+
enqueueSnackbar(
|
|
595
|
+
getErrorMessage(err instanceof Error ? err.message : "Something went wrong"),
|
|
596
|
+
{ variant: "error" }
|
|
597
|
+
);
|
|
598
|
+
}
|
|
599
|
+
} finally {
|
|
600
|
+
setLoadingState(false);
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
[validationSchema, onEditRow, onCreateRow, formtValues]
|
|
604
|
+
);
|
|
605
|
+
const validate = useCallback(async (values, row2) => {
|
|
606
|
+
try {
|
|
607
|
+
await validationSchema.validate(values, { abortEarly: false, context: { row: row2 } });
|
|
608
|
+
setValidationErrors({});
|
|
609
|
+
return true;
|
|
610
|
+
} catch (err) {
|
|
611
|
+
return false;
|
|
612
|
+
}
|
|
613
|
+
}, [validationSchema]);
|
|
614
|
+
useCallback(
|
|
615
|
+
async (columnId, value, rowId, rowValues) => {
|
|
616
|
+
if (!validationSchema || typeof validationSchema.validateAt !== "function" || !validationSchema.fields || !validationSchema.fields[columnId]) return;
|
|
617
|
+
try {
|
|
618
|
+
await validationSchema.validateAt(
|
|
619
|
+
columnId,
|
|
620
|
+
{
|
|
621
|
+
...rowValues,
|
|
622
|
+
[columnId]: value
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
abortEarly: false
|
|
626
|
+
}
|
|
627
|
+
);
|
|
628
|
+
setValidationErrors((prev) => {
|
|
629
|
+
const next = { ...prev };
|
|
630
|
+
if (next[rowId]) {
|
|
631
|
+
const rowErrs = { ...next[rowId] };
|
|
632
|
+
delete rowErrs[columnId];
|
|
633
|
+
next[rowId] = rowErrs;
|
|
634
|
+
}
|
|
635
|
+
return next;
|
|
636
|
+
});
|
|
637
|
+
} catch (err) {
|
|
638
|
+
if (err instanceof Yup.ValidationError) {
|
|
639
|
+
const fieldErrors = err.inner.reduce((acc, { path: path2, message }) => {
|
|
640
|
+
if (path2) acc[path2] = message;
|
|
641
|
+
return acc;
|
|
642
|
+
}, {});
|
|
643
|
+
setValidationErrors((prev) => ({
|
|
644
|
+
...prev,
|
|
645
|
+
[rowId]: {
|
|
646
|
+
...prev[rowId] ?? {},
|
|
647
|
+
...fieldErrors
|
|
648
|
+
}
|
|
649
|
+
}));
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
[validationSchema]
|
|
654
|
+
);
|
|
655
|
+
const valuesRef = useRef({});
|
|
656
|
+
const syncFieldValue = useCallback(
|
|
657
|
+
(rowId, columnId, value) => {
|
|
658
|
+
valuesRef.current[rowId] = {
|
|
659
|
+
...valuesRef.current[rowId] ?? {},
|
|
660
|
+
[columnId]: value
|
|
661
|
+
};
|
|
662
|
+
},
|
|
663
|
+
[]
|
|
664
|
+
);
|
|
665
|
+
const clearRow = useCallback((rowId) => {
|
|
666
|
+
delete valuesRef.current[rowId];
|
|
667
|
+
}, []);
|
|
668
|
+
const getRowValues = useCallback(
|
|
669
|
+
(row2) => ({
|
|
670
|
+
// 1. original row data — baseline
|
|
671
|
+
...row2.original,
|
|
672
|
+
// 2. MRT's internal cache — contains what MRT-controlled fields wrote
|
|
673
|
+
...row2._valuesCache,
|
|
674
|
+
// 3. Our own cache — authoritative for custom fields
|
|
675
|
+
...valuesRef.current[row2.id] ?? {}
|
|
676
|
+
}),
|
|
677
|
+
[]
|
|
678
|
+
);
|
|
679
|
+
const saveEditingRow = useCallback(
|
|
680
|
+
async (table2) => {
|
|
681
|
+
const editingRow = table2.getState().editingRow;
|
|
682
|
+
const creatingRow = table2.getState().creatingRow;
|
|
683
|
+
if (!editingRow) return;
|
|
684
|
+
const values = getRowValues(editingRow);
|
|
685
|
+
const isValid = await validate(values, editingRow);
|
|
686
|
+
if (!isValid) {
|
|
687
|
+
await handleSaveRow({ row: editingRow, values, table: table2 }, "edit");
|
|
688
|
+
return;
|
|
689
|
+
}
|
|
690
|
+
await handleSaveRow({ row: editingRow, values, table: table2 }, "edit");
|
|
691
|
+
clearRow(editingRow.id);
|
|
692
|
+
if (!creatingRow && enableRowCreate) {
|
|
693
|
+
setDisableNextEdit(false);
|
|
694
|
+
setTimeout(() => table2.setCreatingRow(true), 200);
|
|
695
|
+
} else {
|
|
696
|
+
setDisableNextEdit(false);
|
|
697
|
+
}
|
|
698
|
+
},
|
|
699
|
+
[getRowValues, handleSaveRow, clearRow, validate, enableRowCreate]
|
|
700
|
+
);
|
|
701
|
+
const saveCreatingRow = useCallback(
|
|
702
|
+
async (table2) => {
|
|
703
|
+
const creatingRow = table2.getState().creatingRow;
|
|
704
|
+
if (!creatingRow) return;
|
|
705
|
+
const values = getRowValues(creatingRow);
|
|
706
|
+
if (values == null ? void 0 : values["mrt-row-actions"]) {
|
|
707
|
+
delete values["mrt-row-actions"];
|
|
708
|
+
}
|
|
709
|
+
const isValid = await validate(values, creatingRow);
|
|
710
|
+
await handleSaveRow({ row: creatingRow, values, table: table2 }, "create");
|
|
711
|
+
if (!isValid) return;
|
|
712
|
+
if (isValid) {
|
|
713
|
+
setDisableNextEdit(false);
|
|
714
|
+
clearRow("mrt-row-create");
|
|
715
|
+
setTimeout(() => table2.setCreatingRow(true), 200);
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
[getRowValues, clearRow, validate]
|
|
719
|
+
);
|
|
720
|
+
const table = useMaterialReactTable({
|
|
721
|
+
// options:{
|
|
722
|
+
// tableLayout: "auto", // 👈 important
|
|
723
|
+
// padding: "dense",
|
|
724
|
+
// },
|
|
725
|
+
// columns: visibleColumns,
|
|
726
|
+
defaultColumn: {
|
|
727
|
+
minSize: 0,
|
|
728
|
+
// 👈 remove default min width
|
|
729
|
+
size: void 0
|
|
730
|
+
// 👈 optional, default size
|
|
731
|
+
},
|
|
732
|
+
columns: [
|
|
733
|
+
...visibleColumns.map((c) => {
|
|
734
|
+
getTextWidth(c.header || "");
|
|
735
|
+
Math.max(
|
|
736
|
+
...rows.map((row2) => getTextWidth(String(row2[c.accessorKey] ?? "")))
|
|
737
|
+
);
|
|
738
|
+
return {
|
|
739
|
+
...c,
|
|
740
|
+
...editDisplayMode === "row" ? {
|
|
741
|
+
Edit: ({ cell, row: row2, table: table2, column }) => {
|
|
742
|
+
return /* @__PURE__ */ jsx(
|
|
743
|
+
InlineEditFields,
|
|
744
|
+
{
|
|
745
|
+
cell,
|
|
746
|
+
column,
|
|
747
|
+
col: c,
|
|
748
|
+
row: row2,
|
|
749
|
+
table: table2,
|
|
750
|
+
callback: (s) => console.log("Save", s),
|
|
751
|
+
errors: validationErrors[row2.id] ?? {},
|
|
752
|
+
validationSchema,
|
|
753
|
+
setValidationErrors: (errors) => setValidationErrors((prev) => ({ ...prev, [row2.id]: errors })),
|
|
754
|
+
onChangeRowField,
|
|
755
|
+
getSelectedData: (name, row3) => getSelectedData == null ? void 0 : getSelectedData(name, row3),
|
|
756
|
+
syncFieldValue
|
|
757
|
+
}
|
|
758
|
+
);
|
|
759
|
+
}
|
|
760
|
+
} : {},
|
|
761
|
+
Header: /* @__PURE__ */ jsxs(Box, { display: "flex", alignItems: "center", children: [
|
|
762
|
+
c.header,
|
|
763
|
+
(c == null ? void 0 : c.required) || checkRequired(c == null ? void 0 : c.editProperties) && /* @__PURE__ */ jsx(Typography, { type: "s5", color: "theme.error.600", children: "*" })
|
|
764
|
+
] }),
|
|
765
|
+
enableColumnDragging: c.id !== "actions",
|
|
766
|
+
// cellStyle: { ...c.cellStyle, width: finalWidth },
|
|
767
|
+
// headerStyle: { ...c.headerStyle, width: finalWidth },
|
|
768
|
+
// size: finalWidth
|
|
769
|
+
size: void 0,
|
|
770
|
+
// minSize: 40,
|
|
771
|
+
maxSize: 800
|
|
772
|
+
};
|
|
773
|
+
}),
|
|
774
|
+
...!disableDefaultActionColumn ? [
|
|
775
|
+
{
|
|
776
|
+
id: "actions",
|
|
777
|
+
enableEditing: false,
|
|
778
|
+
size: (defaultActionColumnItems == null ? void 0 : defaultActionColumnItems.length) > 1 ? 80 : 50,
|
|
779
|
+
header: /* @__PURE__ */ jsx(IconButton, { size: "small", sx: { p: 0.5, "&:hover": { backgroundColor: "transparent" } }, onClick: handleHeaderClick, children: /* @__PURE__ */ jsx("img", { src: images.common.arrowIcon, alt: "Arrow Icon" }) }),
|
|
780
|
+
enableColumnDragging: false,
|
|
781
|
+
visible: true,
|
|
782
|
+
muiTableHeadCellProps: {
|
|
783
|
+
className: "pinned-column"
|
|
784
|
+
},
|
|
785
|
+
muiTableBodyCellProps: {
|
|
786
|
+
className: "pinned-column",
|
|
787
|
+
sx: {
|
|
788
|
+
whiteSpace: "pre-wrap"
|
|
789
|
+
}
|
|
790
|
+
},
|
|
791
|
+
Cell: (props) => (defaultActionColumnItems == null ? void 0 : defaultActionColumnItems.length) ? defaultActionColumnItems.map((item) => {
|
|
792
|
+
const updatedProps = {
|
|
793
|
+
...item.props,
|
|
794
|
+
onClick: () => item.props.onClick(props)
|
|
795
|
+
};
|
|
796
|
+
return cloneElement(item, updatedProps);
|
|
797
|
+
}) : !disabledDefaultActionColumnIcon && /* @__PURE__ */ jsx(
|
|
798
|
+
IconButton,
|
|
799
|
+
{
|
|
800
|
+
onClick: (e) => handleActionsClick(e, props.row.original),
|
|
801
|
+
disabled: !(rowActionMenu == null ? void 0 : rowActionMenu.length) && !(destructiveActionMenu == null ? void 0 : destructiveActionMenu.length),
|
|
802
|
+
children: /* @__PURE__ */ jsx("img", { src: images.more, alt: "More Icon" })
|
|
803
|
+
}
|
|
804
|
+
)
|
|
805
|
+
}
|
|
806
|
+
] : []
|
|
807
|
+
],
|
|
808
|
+
data: rows,
|
|
809
|
+
muiTablePaperProps: {
|
|
810
|
+
sx: {
|
|
811
|
+
tableLayout: "auto"
|
|
812
|
+
// lets columns shrink to fit content
|
|
813
|
+
}
|
|
814
|
+
},
|
|
815
|
+
columnResizeMode: "onChange",
|
|
816
|
+
onEditingRowSave: async ({ row: row2, table: table2 }) => {
|
|
817
|
+
await handleSaveRow({ row: row2, values: getRowValues(row2), table: table2 }, "edit");
|
|
818
|
+
},
|
|
819
|
+
onCreatingRowSave: async ({ row: row2, table: table2 }) => {
|
|
820
|
+
await handleSaveRow({ row: row2, values: getRowValues(row2), table: table2 }, "create");
|
|
821
|
+
},
|
|
822
|
+
onCreatingRowCancel: () => resetRowSelection(),
|
|
823
|
+
onEditingRowCancel: () => {
|
|
824
|
+
setDisableNextEdit(false);
|
|
825
|
+
},
|
|
826
|
+
onSortingChange: (states == null ? void 0 : states.sorting) ? onSortingChange : setSorting,
|
|
827
|
+
displayColumnDefOptions: {
|
|
828
|
+
"mrt-row-actions": {
|
|
829
|
+
// size: onDeleteRow ? 80 : 50,
|
|
830
|
+
Header: /* @__PURE__ */ jsx(IconButton, { onClick: handleHeaderClick, size: "small", children: /* @__PURE__ */ jsx("img", { src: images.common.arrowIcon, alt: "Arrow Icon" }) }),
|
|
831
|
+
muiTableBodyCellProps: ({ row: row2, table: table2 }) => {
|
|
832
|
+
var _a, _b;
|
|
833
|
+
const isCreatingRow2 = ((_a = table2.getState().creatingRow) == null ? void 0 : _a.id) === row2.id;
|
|
834
|
+
const isEditingRow2 = ((_b = table2.getState().editingRow) == null ? void 0 : _b.id) === row2.id;
|
|
835
|
+
return {
|
|
836
|
+
sx: {
|
|
837
|
+
"& .MuiBox-root": {
|
|
838
|
+
gap: 0
|
|
839
|
+
},
|
|
840
|
+
backgroundColor: "#fff",
|
|
841
|
+
whiteSpace: "pre-wrap",
|
|
842
|
+
// Hide save button only when editing existing row (not in create mode or non-editable mode)
|
|
843
|
+
...hideSaveButton && (isEditingRow2 || isCreatingRow2) ? {
|
|
844
|
+
"& .MuiBox-root > .MuiIconButton-root:first-of-type": {
|
|
845
|
+
display: "none !important"
|
|
846
|
+
},
|
|
847
|
+
// Also hide any save icon buttons by aria-label or title
|
|
848
|
+
'& button[aria-label*="Save"]': {
|
|
849
|
+
display: "none !important"
|
|
850
|
+
},
|
|
851
|
+
'& button[title*="Save"]': {
|
|
852
|
+
display: "none !important"
|
|
853
|
+
},
|
|
854
|
+
// Hide save icon by class or data attributes
|
|
855
|
+
'& .MuiIconButton-root[class*="save"]': {
|
|
856
|
+
display: "none !important"
|
|
857
|
+
},
|
|
858
|
+
'& .MuiIconButton-root[data-testid*="save"]': {
|
|
859
|
+
display: "none !important"
|
|
860
|
+
}
|
|
861
|
+
} : {}
|
|
862
|
+
}
|
|
863
|
+
};
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
"mrt-row-expand": {
|
|
867
|
+
size: 70
|
|
868
|
+
// Set the size of the expand-collapse arrow column here
|
|
869
|
+
},
|
|
870
|
+
"mrt-row-select": {
|
|
871
|
+
size: 50
|
|
872
|
+
// Set the width of the checkbox column here
|
|
873
|
+
}
|
|
874
|
+
},
|
|
875
|
+
renderRowActions: ({ row: row2, table: table2 }) => /* @__PURE__ */ jsx(Fragment, { children: (rest == null ? void 0 : rest.enableExpanding) ? /* @__PURE__ */ jsx(Fragment, { children: (row2 == null ? void 0 : row2.parentId) && /* @__PURE__ */ jsx(Box, { sx: { display: "flex", gap: 0 }, children: onDeleteRow && !(hideDeleteButton == null ? void 0 : hideDeleteButton(row2.original)) && /* @__PURE__ */ jsx(Tooltip, { title: "Delete", children: /* @__PURE__ */ jsx(IconButton, { disabled: disableNextEdit, onClick: () => setRowToDelete(row2), size: "small", className: "delete-row", children: /* @__PURE__ */ jsx(Trash, { fontSize: "small", sx: { color: "theme.secondary.1000" } }) }) }) }) }) : /* @__PURE__ */ jsx(Box, { sx: { display: "flex", gap: 0 }, children: onDeleteRow && !(hideDeleteButton == null ? void 0 : hideDeleteButton(row2.original)) && /* @__PURE__ */ jsx(Tooltip, { title: "Delete", children: /* @__PURE__ */ jsx(IconButton, { disabled: disableNextEdit, onClick: () => setRowToDelete(row2), className: "delete-row", children: /* @__PURE__ */ jsx(Trash, { fontSize: "small", sx: { color: "theme.secondary.1000" } }) }) }) }) }),
|
|
876
|
+
...Boolean(enableRowCreate) && {
|
|
877
|
+
renderBottomToolbarCustomActions: ({ table: table2 }) => /* @__PURE__ */ jsx(
|
|
878
|
+
Button,
|
|
879
|
+
{
|
|
880
|
+
variant: "outlined",
|
|
881
|
+
startIcon: /* @__PURE__ */ jsx(AddIcon, {}),
|
|
882
|
+
className: "add-row-btn",
|
|
883
|
+
disabled: disableNextEdit,
|
|
884
|
+
onClick: () => {
|
|
885
|
+
table2.setCreatingRow(true);
|
|
886
|
+
setDisableNextEdit(true);
|
|
887
|
+
},
|
|
888
|
+
children: t("common.add")
|
|
889
|
+
}
|
|
890
|
+
)
|
|
891
|
+
},
|
|
892
|
+
onRowSelectionChange: setRowSelection,
|
|
893
|
+
enableColumnOrdering: true,
|
|
894
|
+
enableRowSelection: enableRowSelection ?? true,
|
|
895
|
+
enableEditing: (row2) => enableEditing instanceof Function ? enableEditing(row2) : enableEditing ?? true,
|
|
896
|
+
editDisplayMode: editDisplayMode ?? "row",
|
|
897
|
+
createDisplayMode: "row",
|
|
898
|
+
positionCreatingRow: "bottom",
|
|
899
|
+
enableColumnResizing,
|
|
900
|
+
enableRowDragging,
|
|
901
|
+
enableTopToolbar: false,
|
|
902
|
+
enableColumnActions: false,
|
|
903
|
+
enableSorting: true,
|
|
904
|
+
enableGrouping: true,
|
|
905
|
+
enableBottomToolbar: enableBottomToolbar ?? false,
|
|
906
|
+
enableColumnDragging: enableColumnDragging ?? true,
|
|
907
|
+
enableStickyHeader: true,
|
|
908
|
+
enableSortingRemoval: false,
|
|
909
|
+
// column ordering
|
|
910
|
+
state: {
|
|
911
|
+
// columnOrder: (!columnOrder || columnOrder.length <= 1)
|
|
912
|
+
// ? [...internalColumnOrder]
|
|
913
|
+
// : [...columnOrder],
|
|
914
|
+
columnOrder,
|
|
915
|
+
columnPinning: { left: ["actions", "mrt-row-actions"] },
|
|
916
|
+
isSaving: isCreatingRow || isEditingRow,
|
|
917
|
+
showProgressBars: false,
|
|
918
|
+
rowSelection,
|
|
919
|
+
...states,
|
|
920
|
+
sorting: Array.isArray(states == null ? void 0 : states.sorting) ? states == null ? void 0 : states.sorting : Array.isArray(sorting) ? sorting : [],
|
|
921
|
+
columnSizing
|
|
922
|
+
},
|
|
923
|
+
getRowId: (row2) => row2 == null ? void 0 : row2.id,
|
|
924
|
+
// table.getState().editingRow
|
|
925
|
+
muiTableBodyRowProps: ({ row: row2, table: table2 }) => {
|
|
926
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
927
|
+
const editingRowId = ((_b = (_a = table2.getState()) == null ? void 0 : _a.editingRow) == null ? void 0 : _b.id) || ((_d = (_c = table2.getState()) == null ? void 0 : _c.creatingRow) == null ? void 0 : _d.id) || null;
|
|
928
|
+
((_f = (_e = table2.getState()) == null ? void 0 : _e.creatingRow) == null ? void 0 : _f.id) || null;
|
|
929
|
+
const isErrorRow = Boolean((_g = row2 == null ? void 0 : row2.original) == null ? void 0 : _g.has_error);
|
|
930
|
+
editingRowId === row2.id;
|
|
931
|
+
return {
|
|
932
|
+
onClick: () => {
|
|
933
|
+
setSelectedRow(row2.id);
|
|
934
|
+
},
|
|
935
|
+
sx: {
|
|
936
|
+
cursor: "pointer",
|
|
937
|
+
// backgroundColor: !editingRowId
|
|
938
|
+
// ? (selectedRow === row.id
|
|
939
|
+
// ? '#e8e8e8'
|
|
940
|
+
// : (isErrorRow ? 'theme.error.100' : 'inherit'))
|
|
941
|
+
// : 'inherit',
|
|
942
|
+
backgroundColor: !editingRowId ? isErrorRow ? "theme.error.100" : "inherit" : "inherit",
|
|
943
|
+
"&:hover": {
|
|
944
|
+
backgroundColor: editingRowId ? editingRowId === row2.id ? "transparent" : "inherit" : isErrorRow ? "theme.error.200" : "#e8e8e8"
|
|
945
|
+
},
|
|
946
|
+
"&:hover td:after": {
|
|
947
|
+
backgroundColor: "transparent"
|
|
948
|
+
// Removes the grey background applied via :after
|
|
949
|
+
}
|
|
950
|
+
}
|
|
951
|
+
};
|
|
952
|
+
},
|
|
953
|
+
onColumnOrderChange: (colOrder) => {
|
|
954
|
+
if (handleColumnOrdering) handleColumnOrdering(colOrder);
|
|
955
|
+
},
|
|
956
|
+
onColumnSizingChange: setColumnSizing,
|
|
957
|
+
onColumnSizingInfoChange: setColumnSizingInfo,
|
|
958
|
+
renderEmptyRowsFallback: () => /* @__PURE__ */ jsxs(Box, { className: "no-data", children: [
|
|
959
|
+
/* @__PURE__ */ jsx("img", { src: images.common.tableNoData }),
|
|
960
|
+
/* @__PURE__ */ jsx(Typography, { type: "s3", weight: "medium", color: "theme.secondary.1000", children: t("common.noData") })
|
|
961
|
+
] }),
|
|
962
|
+
// pagination
|
|
963
|
+
enablePagination,
|
|
964
|
+
paginationDisplayMode: "pages",
|
|
965
|
+
muiPaginationProps: {
|
|
966
|
+
shape: "rounded",
|
|
967
|
+
page: pageNo,
|
|
968
|
+
// current page number
|
|
969
|
+
count: totalPages,
|
|
970
|
+
// total pages
|
|
971
|
+
showRowsPerPage: false,
|
|
972
|
+
// Hide rows per page options
|
|
973
|
+
boundaryCount: 3
|
|
974
|
+
},
|
|
975
|
+
muiEditTextFieldProps: ({ row: row2, column }) => ({
|
|
976
|
+
InputProps: {
|
|
977
|
+
disableUnderline: true
|
|
978
|
+
},
|
|
979
|
+
onBlur: (e) => {
|
|
980
|
+
updateData(e.target.value, column, row2.id);
|
|
981
|
+
},
|
|
982
|
+
// onChange: (e) => {
|
|
983
|
+
// updateData(e.target.value, column, row.id);
|
|
984
|
+
// },
|
|
985
|
+
variant: "outlined",
|
|
986
|
+
sx: ({ palette }) => {
|
|
987
|
+
var _a;
|
|
988
|
+
return {
|
|
989
|
+
"& .MuiOutlinedInput-root": {
|
|
990
|
+
"& fieldset": {
|
|
991
|
+
borderColor: `${(_a = palette.theme) == null ? void 0 : _a.primary[700]} !important`
|
|
992
|
+
// backgroundColor: palette.theme?.primary[700]
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
};
|
|
996
|
+
}
|
|
997
|
+
}),
|
|
998
|
+
/* Table loader style */
|
|
999
|
+
muiCircularProgressProps: {
|
|
1000
|
+
sx: {
|
|
1001
|
+
color: "#289B64"
|
|
1002
|
+
}
|
|
1003
|
+
},
|
|
1004
|
+
// Table header cell default styles
|
|
1005
|
+
muiTableHeadCellProps: {
|
|
1006
|
+
sx: {
|
|
1007
|
+
lineHeight: "140%",
|
|
1008
|
+
letterSpacing: "-0.28px",
|
|
1009
|
+
fontWeight: "500",
|
|
1010
|
+
fontSize: "0.875rem",
|
|
1011
|
+
"& .Mui-TableHeadCell-Content": {
|
|
1012
|
+
height: "100%"
|
|
1013
|
+
},
|
|
1014
|
+
"& .Mui-TableHeadCell-Content-Labels": {
|
|
1015
|
+
width: "100%",
|
|
1016
|
+
justifyContent: "space-between"
|
|
1017
|
+
},
|
|
1018
|
+
"&.pinned-column": {
|
|
1019
|
+
backgroundColor: "#fff"
|
|
1020
|
+
},
|
|
1021
|
+
"& .Mui-TableHeadCell-ResizeHandle-Wrapper": {
|
|
1022
|
+
padding: 0,
|
|
1023
|
+
margin: 0,
|
|
1024
|
+
right: "-5px",
|
|
1025
|
+
opacity: 0
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
},
|
|
1029
|
+
// Table body cell default styles
|
|
1030
|
+
muiTableBodyProps: {
|
|
1031
|
+
sx: {
|
|
1032
|
+
zIndex: 500
|
|
1033
|
+
}
|
|
1034
|
+
},
|
|
1035
|
+
muiTableHeadProps: {
|
|
1036
|
+
sx: {
|
|
1037
|
+
zIndex: 600
|
|
1038
|
+
}
|
|
1039
|
+
},
|
|
1040
|
+
muiTableBodyCellProps: ({ cell, column, table: table2, row: row2 }) => ({
|
|
1041
|
+
sx: {
|
|
1042
|
+
lineHeight: "140%",
|
|
1043
|
+
letterSpacing: "-0.26px",
|
|
1044
|
+
fontWeight: "400",
|
|
1045
|
+
fontSize: "0.8125rem",
|
|
1046
|
+
"&.pinned-column": {
|
|
1047
|
+
backgroundColor: "#fff"
|
|
1048
|
+
},
|
|
1049
|
+
"&:hover": {
|
|
1050
|
+
backgroundColor: "transparent"
|
|
1051
|
+
// Removes hover effect globally
|
|
1052
|
+
},
|
|
1053
|
+
whiteSpace: "pre-wrap"
|
|
1054
|
+
},
|
|
1055
|
+
onClick: (e) => {
|
|
1056
|
+
var _a, _b, _c, _d;
|
|
1057
|
+
const target = e.target;
|
|
1058
|
+
const tableCell = target.closest(".MuiTableCell-body");
|
|
1059
|
+
const isInsideTable = tableCell && !tableCell.querySelector(".delete-row");
|
|
1060
|
+
if (!isInsideTable) return;
|
|
1061
|
+
const columnDef = column.columnDef;
|
|
1062
|
+
const isOnClickEditable = columnDef.isOnClickEditable !== false;
|
|
1063
|
+
if (!isOnClickEditable) {
|
|
1064
|
+
return;
|
|
1065
|
+
}
|
|
1066
|
+
const editingRowId = ((_b = (_a = table2.getState()) == null ? void 0 : _a.editingRow) == null ? void 0 : _b.id) || ((_d = (_c = table2.getState()) == null ? void 0 : _c.creatingRow) == null ? void 0 : _d.id) || null;
|
|
1067
|
+
const isCurrentlyEditing = editingRowId === row2.id;
|
|
1068
|
+
if (editingRowId && editingRowId !== row2.id) {
|
|
1069
|
+
const currentEditingRow = table2.getState().editingRow;
|
|
1070
|
+
const currentCreatingRow = table2.getState().creatingRow;
|
|
1071
|
+
(async () => {
|
|
1072
|
+
let saveSucceeded = false;
|
|
1073
|
+
if (currentCreatingRow) {
|
|
1074
|
+
const values = getRowValues(currentCreatingRow);
|
|
1075
|
+
const isValid = await validate(values, currentCreatingRow);
|
|
1076
|
+
if (!isValid) return;
|
|
1077
|
+
await handleSaveRow({ row: currentCreatingRow, values, table: table2 }, "create");
|
|
1078
|
+
clearRow("mrt-row-create");
|
|
1079
|
+
saveSucceeded = true;
|
|
1080
|
+
} else if (currentEditingRow) {
|
|
1081
|
+
const values = getRowValues(currentEditingRow);
|
|
1082
|
+
const isValid = await validate(values, currentEditingRow);
|
|
1083
|
+
if (!isValid) return;
|
|
1084
|
+
await handleSaveRow({ row: currentEditingRow, values, table: table2 }, "edit");
|
|
1085
|
+
clearRow(currentEditingRow.id);
|
|
1086
|
+
saveSucceeded = true;
|
|
1087
|
+
}
|
|
1088
|
+
if (saveSucceeded) {
|
|
1089
|
+
table2.setEditingRow(row2);
|
|
1090
|
+
setDisableNextEdit(true);
|
|
1091
|
+
}
|
|
1092
|
+
})();
|
|
1093
|
+
return;
|
|
1094
|
+
}
|
|
1095
|
+
if (!isCurrentlyEditing && !editingRowId) {
|
|
1096
|
+
table2.setEditingRow(row2);
|
|
1097
|
+
setDisableNextEdit(true);
|
|
1098
|
+
}
|
|
1099
|
+
},
|
|
1100
|
+
onKeyUp: (e) => {
|
|
1101
|
+
var _a;
|
|
1102
|
+
const creatingRowId = ((_a = table2.getState().creatingRow) == null ? void 0 : _a.id) ?? null;
|
|
1103
|
+
if (e.key === "Escape") {
|
|
1104
|
+
if (creatingRowId === row2.id) {
|
|
1105
|
+
clearRow("mrt-row-create");
|
|
1106
|
+
table2.setCreatingRow(null);
|
|
1107
|
+
} else {
|
|
1108
|
+
const editingRow = table2.getState().editingRow;
|
|
1109
|
+
if (editingRow) {
|
|
1110
|
+
clearRow(editingRow.id);
|
|
1111
|
+
table2.setEditingRow(null);
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
setDisableNextEdit(false);
|
|
1115
|
+
setValidationErrors({});
|
|
1116
|
+
e.preventDefault();
|
|
1117
|
+
e.stopPropagation();
|
|
1118
|
+
return;
|
|
1119
|
+
}
|
|
1120
|
+
if (e.key === "Enter") {
|
|
1121
|
+
setTimeout(() => {
|
|
1122
|
+
const currentCreatingRow = table2.getState().creatingRow;
|
|
1123
|
+
const currentEditingRow = table2.getState().editingRow;
|
|
1124
|
+
if (currentCreatingRow) {
|
|
1125
|
+
saveCreatingRow(table2);
|
|
1126
|
+
}
|
|
1127
|
+
if (currentEditingRow) {
|
|
1128
|
+
saveEditingRow(table2);
|
|
1129
|
+
}
|
|
1130
|
+
}, 0);
|
|
1131
|
+
}
|
|
1132
|
+
}
|
|
1133
|
+
}),
|
|
1134
|
+
// Checkbox styling
|
|
1135
|
+
muiSelectCheckboxProps: {
|
|
1136
|
+
sx: {
|
|
1137
|
+
color: "theme.secondary.300",
|
|
1138
|
+
"&.Mui-checked": {
|
|
1139
|
+
color: "theme.primary.600",
|
|
1140
|
+
"&:hover": {
|
|
1141
|
+
color: "theme.primary.500"
|
|
1142
|
+
}
|
|
1143
|
+
},
|
|
1144
|
+
"&.Mui-disabled": {
|
|
1145
|
+
color: "theme.secondary.200"
|
|
1146
|
+
}
|
|
1147
|
+
},
|
|
1148
|
+
icon: /* @__PURE__ */ jsx(RecgtangleIcon, { sx: { width: 20, height: 20 } }),
|
|
1149
|
+
checkedIcon: /* @__PURE__ */ jsx(CheckBoxIcon, { sx: { width: 20, height: 20 } })
|
|
1150
|
+
},
|
|
1151
|
+
muiSelectAllCheckboxProps: {
|
|
1152
|
+
sx: {
|
|
1153
|
+
color: "theme.secondary.300",
|
|
1154
|
+
"&.Mui-checked": {
|
|
1155
|
+
color: "theme.primary.600",
|
|
1156
|
+
"&:hover": {
|
|
1157
|
+
color: "theme.primary.500"
|
|
1158
|
+
}
|
|
1159
|
+
},
|
|
1160
|
+
"&.Mui-disabled": {
|
|
1161
|
+
color: "theme.secondary.600"
|
|
1162
|
+
}
|
|
1163
|
+
},
|
|
1164
|
+
icon: /* @__PURE__ */ jsx(RecgtangleIcon, { sx: { width: 20, height: 20 } }),
|
|
1165
|
+
checkedIcon: /* @__PURE__ */ jsx(CheckBoxIcon, { sx: { width: 20, height: 20 } })
|
|
1166
|
+
},
|
|
1167
|
+
muiBottomToolbarProps: {
|
|
1168
|
+
sx: {
|
|
1169
|
+
boxShadow: "none",
|
|
1170
|
+
"& .MuiBox-root": {
|
|
1171
|
+
paddingLeft: 0
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
},
|
|
1175
|
+
layoutMode: "grid",
|
|
1176
|
+
icons: {
|
|
1177
|
+
DragHandleIcon: () => /* @__PURE__ */ jsx(RecgtangleIcon, { fontSize: "medium" }),
|
|
1178
|
+
SortIcon: () => /* @__PURE__ */ jsx(ArrowUpDown, { fontSize: "medium" }),
|
|
1179
|
+
ArrowDownwardIcon: () => /* @__PURE__ */ jsx(ArrowUpDown, { fontSize: "medium" }),
|
|
1180
|
+
ArrowUpwardIcon: () => /* @__PURE__ */ jsx(ArrowUpDown, { fontSize: "medium" }),
|
|
1181
|
+
ExpandMoreIcon: () => /* @__PURE__ */ jsx(ArrowUpDown, { fontSize: "medium" }),
|
|
1182
|
+
ExpandLessIcon: () => /* @__PURE__ */ jsx(ArrowUpDown, { fontSize: "medium" }),
|
|
1183
|
+
SyncAltIcon: () => /* @__PURE__ */ jsx(ArrowUpDown, { fontSize: "medium" }),
|
|
1184
|
+
CancelIcon: (props) => /* @__PURE__ */ jsx(Close, { fontSize: "small", ...props, color: "theme.secondary.1000" })
|
|
1185
|
+
},
|
|
1186
|
+
...rest
|
|
1187
|
+
});
|
|
1188
|
+
useEffect(() => {
|
|
1189
|
+
var _a, _b;
|
|
1190
|
+
if (enableRowSelection) {
|
|
1191
|
+
if ((_a = table == null ? void 0 : table.getSelectedRowModel()) == null ? void 0 : _a.rows) {
|
|
1192
|
+
SetSelectedRowId == null ? void 0 : SetSelectedRowId((_b = table == null ? void 0 : table.getSelectedRowModel()) == null ? void 0 : _b.rows);
|
|
1193
|
+
}
|
|
1194
|
+
}
|
|
1195
|
+
}, [enableRowSelection]);
|
|
1196
|
+
useEffect(() => {
|
|
1197
|
+
if (onSelectRow) {
|
|
1198
|
+
if (rest == null ? void 0 : rest.enableExpanding) {
|
|
1199
|
+
const selectedRowModels = [];
|
|
1200
|
+
const selection = table.getState().rowSelection;
|
|
1201
|
+
const traverseRows = (rows2, parentKey = "") => {
|
|
1202
|
+
rows2.forEach((row2, index) => {
|
|
1203
|
+
var _a;
|
|
1204
|
+
const rowKey = parentKey ? `${parentKey}.${index}` : `${row2.id}`;
|
|
1205
|
+
if (selection[rowKey]) {
|
|
1206
|
+
selectedRowModels.push(row2);
|
|
1207
|
+
}
|
|
1208
|
+
if ((_a = row2.subRows) == null ? void 0 : _a.length) {
|
|
1209
|
+
traverseRows(row2.subRows, rowKey);
|
|
1210
|
+
}
|
|
1211
|
+
});
|
|
1212
|
+
};
|
|
1213
|
+
traverseRows(table.getRowModel().rows);
|
|
1214
|
+
onSelectRow(selectedRowModels, rowSelection);
|
|
1215
|
+
} else {
|
|
1216
|
+
onSelectRow(table.getSelectedRowModel().rows, rowSelection);
|
|
1217
|
+
}
|
|
1218
|
+
}
|
|
1219
|
+
}, [rowSelection, table]);
|
|
1220
|
+
useEffect(() => {
|
|
1221
|
+
if (isResetRow) {
|
|
1222
|
+
table == null ? void 0 : table.resetRowSelection();
|
|
1223
|
+
}
|
|
1224
|
+
}, [isResetRow, table]);
|
|
1225
|
+
const hasAutoEditedFirstRow = useRef(false);
|
|
1226
|
+
useEffect(() => {
|
|
1227
|
+
if (enableFirstRowEdit && !hasAutoEditedFirstRow.current && (rows == null ? void 0 : rows.length) > 0) {
|
|
1228
|
+
const tableRows = table.getRowModel().rows;
|
|
1229
|
+
const firstRow = tableRows[0];
|
|
1230
|
+
if (firstRow) {
|
|
1231
|
+
hasAutoEditedFirstRow.current = true;
|
|
1232
|
+
if (!firstRow._valuesCache || Object.keys(firstRow._valuesCache).length === 0) {
|
|
1233
|
+
firstRow._valuesCache = { ...firstRow.original };
|
|
1234
|
+
}
|
|
1235
|
+
table.setEditingRow(firstRow);
|
|
1236
|
+
setDisableNextEdit(true);
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
}, [enableFirstRowEdit, rows, table]);
|
|
1240
|
+
useEffect(() => {
|
|
1241
|
+
if (!table) return;
|
|
1242
|
+
let dropdownOpenTimer;
|
|
1243
|
+
let saveTimer;
|
|
1244
|
+
let lastDropdownClick = 0;
|
|
1245
|
+
let isDropdownInteraction = false;
|
|
1246
|
+
const handleMouseDown = (e) => {
|
|
1247
|
+
const target = e.target;
|
|
1248
|
+
const isDropdownElement = target.closest(
|
|
1249
|
+
'.MuiSelect-root, .MuiMenuItem-root, .MuiPopover-root, .MuiList-root, .MuiMenu-list, .MuiButtonBase-root, .MuiFormControl-root, .MuiInputBase-root, .MuiTextField-root, .MuiOutlinedInput-root, .MuiFilledInput-root, .MuiAutocomplete-popper, .MuiPickersPopper-root, [role="option"], [role="listbox"], [role="combobox"]'
|
|
1250
|
+
);
|
|
1251
|
+
if (isDropdownElement) {
|
|
1252
|
+
isDropdownInteraction = true;
|
|
1253
|
+
lastDropdownClick = Date.now();
|
|
1254
|
+
if (saveTimer) {
|
|
1255
|
+
clearTimeout(saveTimer);
|
|
1256
|
+
}
|
|
1257
|
+
if (dropdownOpenTimer) {
|
|
1258
|
+
clearTimeout(dropdownOpenTimer);
|
|
1259
|
+
}
|
|
1260
|
+
dropdownOpenTimer = setTimeout(() => {
|
|
1261
|
+
isDropdownInteraction = false;
|
|
1262
|
+
}, 500);
|
|
1263
|
+
}
|
|
1264
|
+
};
|
|
1265
|
+
const handleClick = (e) => {
|
|
1266
|
+
var _a, _b;
|
|
1267
|
+
const editingRow = (_a = table.getState()) == null ? void 0 : _a.editingRow;
|
|
1268
|
+
const creatingRow = (_b = table.getState()) == null ? void 0 : _b.creatingRow;
|
|
1269
|
+
if (!editingRow && !creatingRow) return;
|
|
1270
|
+
const target = e.target;
|
|
1271
|
+
const now = Date.now();
|
|
1272
|
+
if (isDropdownInteraction || now - lastDropdownClick < 300) {
|
|
1273
|
+
return;
|
|
1274
|
+
}
|
|
1275
|
+
const isInsideTable = target.closest(".MRT-TableWrapper");
|
|
1276
|
+
if (!isInsideTable) {
|
|
1277
|
+
if (saveTimer) {
|
|
1278
|
+
clearTimeout(saveTimer);
|
|
1279
|
+
}
|
|
1280
|
+
saveTimer = setTimeout(async () => {
|
|
1281
|
+
var _a2, _b2;
|
|
1282
|
+
const currentEditingRow = (_a2 = table.getState()) == null ? void 0 : _a2.editingRow;
|
|
1283
|
+
const currentCreatingRow = (_b2 = table.getState()) == null ? void 0 : _b2.creatingRow;
|
|
1284
|
+
if (isDropdownInteraction) return;
|
|
1285
|
+
if (currentCreatingRow) {
|
|
1286
|
+
const values = getRowValues(currentCreatingRow);
|
|
1287
|
+
await handleSaveRow({ row: currentCreatingRow, values, table }, "create");
|
|
1288
|
+
clearRow("mrt-row-create");
|
|
1289
|
+
setDisableNextEdit(false);
|
|
1290
|
+
return;
|
|
1291
|
+
}
|
|
1292
|
+
if (currentEditingRow) {
|
|
1293
|
+
const values = getRowValues(currentEditingRow);
|
|
1294
|
+
await handleSaveRow({ row: currentEditingRow, values, table }, "edit");
|
|
1295
|
+
clearRow(currentEditingRow.id);
|
|
1296
|
+
setDisableNextEdit(false);
|
|
1297
|
+
}
|
|
1298
|
+
}, 200);
|
|
1299
|
+
}
|
|
1300
|
+
};
|
|
1301
|
+
document.addEventListener("mousedown", handleMouseDown, true);
|
|
1302
|
+
document.addEventListener("click", handleClick, true);
|
|
1303
|
+
return () => {
|
|
1304
|
+
document.removeEventListener("mousedown", handleMouseDown, true);
|
|
1305
|
+
document.removeEventListener("click", handleClick, true);
|
|
1306
|
+
if (dropdownOpenTimer) {
|
|
1307
|
+
clearTimeout(dropdownOpenTimer);
|
|
1308
|
+
}
|
|
1309
|
+
if (saveTimer) {
|
|
1310
|
+
clearTimeout(saveTimer);
|
|
1311
|
+
}
|
|
1312
|
+
};
|
|
1313
|
+
}, [table, handleSaveRow, getRowValues, clearRow]);
|
|
1314
|
+
return /* @__PURE__ */ jsxs(TableWrapper, { className: "MRT-TableWrapper custom-table", children: [
|
|
1315
|
+
/* @__PURE__ */ jsx(MaterialReactTable, { table }),
|
|
1316
|
+
/* @__PURE__ */ jsx(
|
|
1317
|
+
Menu,
|
|
1318
|
+
{
|
|
1319
|
+
anchorEl,
|
|
1320
|
+
open: Boolean(anchorEl),
|
|
1321
|
+
onClose: handleHeaderClose,
|
|
1322
|
+
className: "add-role-drp",
|
|
1323
|
+
children: popUpShow ? /* @__PURE__ */ jsxs("div", { children: [
|
|
1324
|
+
/* @__PURE__ */ jsxs(
|
|
1325
|
+
MenuItem,
|
|
1326
|
+
{
|
|
1327
|
+
onClick: handleBackButtonClick,
|
|
1328
|
+
className: "role-drp-list add-column-title",
|
|
1329
|
+
children: [
|
|
1330
|
+
/* @__PURE__ */ jsx(ListItemIcon, { className: "add-icon", children: /* @__PURE__ */ jsx(ChevronLeftIcon, {}) }),
|
|
1331
|
+
/* @__PURE__ */ jsx(ListItemText, { className: "title", children: t("common.addColumn_label") })
|
|
1332
|
+
]
|
|
1333
|
+
}
|
|
1334
|
+
),
|
|
1335
|
+
/* @__PURE__ */ jsx(Divider, { flexItem: true, sx: { mt: "0.25rem !important", mb: "0.25rem !important" } }),
|
|
1336
|
+
/* @__PURE__ */ jsx("div", { className: "searchbar-box-list", children: /* @__PURE__ */ jsx(
|
|
1337
|
+
SearchBar,
|
|
1338
|
+
{
|
|
1339
|
+
placeholder: "Search User",
|
|
1340
|
+
handleSearch: (e) => handleSearchEvent(e)
|
|
1341
|
+
}
|
|
1342
|
+
) }),
|
|
1343
|
+
/* @__PURE__ */ jsx("div", { className: "all-attribute-title", children: /* @__PURE__ */ jsx(Typography, { variant: "body2", color: "text.secondary", children: t("common.allAttributes_label") }) }),
|
|
1344
|
+
filteredOptions.map((column) => /* @__PURE__ */ jsx(
|
|
1345
|
+
MenuItem,
|
|
1346
|
+
{
|
|
1347
|
+
onClick: () => handleAddColumn(column),
|
|
1348
|
+
children: /* @__PURE__ */ jsx(Typography, { color: "theme.secondary.1000", type: "s3", children: column.header })
|
|
1349
|
+
},
|
|
1350
|
+
column.accessorKey
|
|
1351
|
+
)),
|
|
1352
|
+
/* @__PURE__ */ jsx(Divider, { flexItem: true, sx: { mt: "0.25rem !important", mb: "0.25rem !important" } }),
|
|
1353
|
+
enableAddCustomField && /* @__PURE__ */ jsxs(MenuItem, { onClick: handleCustomAddColumn, className: "role-drp-list", children: [
|
|
1354
|
+
/* @__PURE__ */ jsx(ListItemIcon, { className: "add-icon", children: /* @__PURE__ */ jsx("img", { src: images.common.addIcon, alt: "Add Icon" }) }),
|
|
1355
|
+
/* @__PURE__ */ jsx(ListItemText, { className: "title", children: t("common.addCustomField_label") })
|
|
1356
|
+
] })
|
|
1357
|
+
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1358
|
+
visibleColumns.map((column) => /* @__PURE__ */ jsxs(
|
|
1359
|
+
MenuItem,
|
|
1360
|
+
{
|
|
1361
|
+
onClick: () => handleVisibleColumn(column),
|
|
1362
|
+
className: "role-drp-list",
|
|
1363
|
+
children: [
|
|
1364
|
+
/* @__PURE__ */ jsx(ListItemIcon, { className: "add-icon", children: /* @__PURE__ */ jsx("img", { src: images.common.dotsIcon, alt: "Add Icon" }) }),
|
|
1365
|
+
/* @__PURE__ */ jsx(ListItemText, { className: "title", children: column.header }),
|
|
1366
|
+
/* @__PURE__ */ jsx(ListItemIcon, { className: "eye-icon", children: /* @__PURE__ */ jsx("img", { src: images.common.eyeIcon, alt: "Eye Icon" }) })
|
|
1367
|
+
]
|
|
1368
|
+
},
|
|
1369
|
+
column.accessorKey
|
|
1370
|
+
)),
|
|
1371
|
+
/* @__PURE__ */ jsx(Divider, { flexItem: true, sx: { mt: "0.25rem !important", mb: "0.25rem !important" } }),
|
|
1372
|
+
/* @__PURE__ */ jsxs(MenuItem, { onClick: handleAddButtonClick, className: "role-drp-list", children: [
|
|
1373
|
+
/* @__PURE__ */ jsx(ListItemIcon, { className: "add-icon", children: /* @__PURE__ */ jsx("img", { src: images.common.addIcon, alt: "Add Icon" }) }),
|
|
1374
|
+
/* @__PURE__ */ jsx(ListItemText, { className: "title", children: t("common.addColumn_label") }),
|
|
1375
|
+
/* @__PURE__ */ jsx(
|
|
1376
|
+
Typography,
|
|
1377
|
+
{
|
|
1378
|
+
variant: "body2",
|
|
1379
|
+
color: "text.secondary",
|
|
1380
|
+
className: "eye-icon",
|
|
1381
|
+
children: /* @__PURE__ */ jsx(ChevronRightIcon, { sx: { fontSize: "1.25rem !important" } })
|
|
1382
|
+
}
|
|
1383
|
+
)
|
|
1384
|
+
] })
|
|
1385
|
+
] })
|
|
1386
|
+
}
|
|
1387
|
+
),
|
|
1388
|
+
/* @__PURE__ */ jsxs(
|
|
1389
|
+
Menu,
|
|
1390
|
+
{
|
|
1391
|
+
anchorEl: rowAnchorEl,
|
|
1392
|
+
open: Boolean(rowAnchorEl),
|
|
1393
|
+
onClose: handleActionsClose,
|
|
1394
|
+
children: [
|
|
1395
|
+
rowActionMenu == null ? void 0 : rowActionMenu.map((option) => {
|
|
1396
|
+
var _a, _b;
|
|
1397
|
+
if (option.label === "Move" && ((row == null ? void 0 : row.is_directory) === true || (row == null ? void 0 : row.is_directory) === 1) || option.label === "Download" && ((row == null ? void 0 : row.is_directory) === true || (row == null ? void 0 : row.is_directory) === 1 || ((_a = row == null ? void 0 : row.drive) == null ? void 0 : _a.is_directory) === true || ((_b = row == null ? void 0 : row.drive) == null ? void 0 : _b.is_directory) === 1)) ;
|
|
1398
|
+
return /* @__PURE__ */ jsxs(
|
|
1399
|
+
MenuItem,
|
|
1400
|
+
{
|
|
1401
|
+
onClick: async () => {
|
|
1402
|
+
await option.handleAction(row);
|
|
1403
|
+
setRowAnchorEl(null);
|
|
1404
|
+
},
|
|
1405
|
+
disabled: typeof option.disabled === "function" ? option.disabled(row) : Boolean(option.disabled),
|
|
1406
|
+
sx: { alignItems: "center", gap: 0.5 },
|
|
1407
|
+
children: [
|
|
1408
|
+
option == null ? void 0 : option.icon,
|
|
1409
|
+
/* @__PURE__ */ jsx(Typography, { type: "s4", color: "inherit", children: typeof option.label === "function" ? option.label(row) : option.label })
|
|
1410
|
+
]
|
|
1411
|
+
}
|
|
1412
|
+
);
|
|
1413
|
+
}),
|
|
1414
|
+
(destructiveActionMenu == null ? void 0 : destructiveActionMenu.length) > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1415
|
+
/* @__PURE__ */ jsx(Divider, { flexItem: true, sx: { mt: "0.25rem !important", mb: "0.25rem !important" } }),
|
|
1416
|
+
/* @__PURE__ */ jsx("div", { className: "dropdown-inner--DestructiveHeader", children: destructiveActionMenu == null ? void 0 : destructiveActionMenu.map((option) => /* @__PURE__ */ jsx(
|
|
1417
|
+
MenuItem,
|
|
1418
|
+
{
|
|
1419
|
+
onClick: () => {
|
|
1420
|
+
option.handleAction(row);
|
|
1421
|
+
setRowAnchorEl(null);
|
|
1422
|
+
},
|
|
1423
|
+
className: "dropdown-inner--DestructiveActions",
|
|
1424
|
+
disabled: typeof option.disabled === "function" ? option.disabled(row) : Boolean(option.disabled),
|
|
1425
|
+
children: /* @__PURE__ */ jsx(Typography, { type: "s4", color: "inherit", children: typeof option.label === "function" ? option.label(row) : option.label })
|
|
1426
|
+
}
|
|
1427
|
+
)) })
|
|
1428
|
+
] })
|
|
1429
|
+
]
|
|
1430
|
+
}
|
|
1431
|
+
),
|
|
1432
|
+
/* @__PURE__ */ jsx(
|
|
1433
|
+
ConfirmPopUp,
|
|
1434
|
+
{
|
|
1435
|
+
open: Boolean(rowToDelete),
|
|
1436
|
+
onClose: () => setRowToDelete(null),
|
|
1437
|
+
onConfirm: () => handleRowDelete(),
|
|
1438
|
+
title: "Delete Item",
|
|
1439
|
+
description: `Are you sure you want to delete entry ?`,
|
|
1440
|
+
loading: isDeletingRow
|
|
1441
|
+
}
|
|
1442
|
+
)
|
|
1443
|
+
] });
|
|
1444
|
+
});
|
|
1445
|
+
export {
|
|
1446
|
+
MaterialEditableTable as M
|
|
1447
|
+
};
|
|
1448
|
+
//# sourceMappingURL=material-editable-table-DAgxw6nR.esm.js.map
|