@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,1257 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const React = require("react");
|
|
5
|
+
const iconsMaterial = require("@mui/icons-material");
|
|
6
|
+
const material = require("@mui/material");
|
|
7
|
+
const common = require("./common-C_EaKnXh.js");
|
|
8
|
+
const utils_server = require("./index-BQEhOLUH.js");
|
|
9
|
+
const utils_apiConfig = require("../utils/api-config/index.js");
|
|
10
|
+
const components_editor_utils = require("../components/editor/utils/index.js");
|
|
11
|
+
;/* empty css */
|
|
12
|
+
const FONT_FAMILIES = [
|
|
13
|
+
"Arial",
|
|
14
|
+
"Courier New",
|
|
15
|
+
"Georgia",
|
|
16
|
+
"Times New Roman",
|
|
17
|
+
"Trebuchet MS",
|
|
18
|
+
"Verdana"
|
|
19
|
+
];
|
|
20
|
+
const FONT_SIZES = ["10px", "12px", "14px", "16px", "18px", "20px", "24px", "28px", "32px"];
|
|
21
|
+
const HEADING_FORMATS = [
|
|
22
|
+
{ value: "p", label: "Paragraph" },
|
|
23
|
+
{ value: "h1", label: "Heading 1" },
|
|
24
|
+
{ value: "h2", label: "Heading 2" },
|
|
25
|
+
{ value: "h3", label: "Heading 3" },
|
|
26
|
+
{ value: "h4", label: "Heading 4" },
|
|
27
|
+
{ value: "h5", label: "Heading 5" },
|
|
28
|
+
{ value: "h6", label: "Heading 6" }
|
|
29
|
+
];
|
|
30
|
+
const PRESET_COLORS = [
|
|
31
|
+
"#000000",
|
|
32
|
+
"#434343",
|
|
33
|
+
"#666666",
|
|
34
|
+
"#999999",
|
|
35
|
+
"#b7b7b7",
|
|
36
|
+
"#cccccc",
|
|
37
|
+
"#d9d9d9",
|
|
38
|
+
"#ffffff",
|
|
39
|
+
"#ff0000",
|
|
40
|
+
"#ff9900",
|
|
41
|
+
"#ffff00",
|
|
42
|
+
"#00ff00",
|
|
43
|
+
"#00ffff",
|
|
44
|
+
"#4a86e8",
|
|
45
|
+
"#9900ff",
|
|
46
|
+
"#ff00ff",
|
|
47
|
+
"#ea9999",
|
|
48
|
+
"#f9cb9c",
|
|
49
|
+
"#ffe599",
|
|
50
|
+
"#b6d7a8",
|
|
51
|
+
"#a2c4c9",
|
|
52
|
+
"#9fc5e8",
|
|
53
|
+
"#b4a7d6",
|
|
54
|
+
"#d5a6bd",
|
|
55
|
+
"#e06666",
|
|
56
|
+
"#f6b26b",
|
|
57
|
+
"#ffd966",
|
|
58
|
+
"#93c47d",
|
|
59
|
+
"#76a5af",
|
|
60
|
+
"#6fa8dc",
|
|
61
|
+
"#8e7cc3",
|
|
62
|
+
"#c27ba0",
|
|
63
|
+
"#cc0000",
|
|
64
|
+
"#e69138",
|
|
65
|
+
"#f1c232",
|
|
66
|
+
"#6aa84f",
|
|
67
|
+
"#45818e",
|
|
68
|
+
"#3d85c8",
|
|
69
|
+
"#674ea7",
|
|
70
|
+
"#85200c"
|
|
71
|
+
];
|
|
72
|
+
const CustomEditor = React.forwardRef((props, ref) => {
|
|
73
|
+
const {
|
|
74
|
+
editorRef: editorRefProp,
|
|
75
|
+
data = "",
|
|
76
|
+
handleEditorReady,
|
|
77
|
+
onError,
|
|
78
|
+
config = {},
|
|
79
|
+
...rest
|
|
80
|
+
} = props;
|
|
81
|
+
const [error, setError] = React.useState(null);
|
|
82
|
+
const [fontFamily, setFontFamily] = React.useState("Arial");
|
|
83
|
+
const [fontSize, setFontSize] = React.useState("14px");
|
|
84
|
+
const [headingFormat, setHeadingFormat] = React.useState("p");
|
|
85
|
+
const [showSourceMode, setShowSourceMode] = React.useState(false);
|
|
86
|
+
const [sourceCode, setSourceCode] = React.useState(data);
|
|
87
|
+
const [history, setHistory] = React.useState([data]);
|
|
88
|
+
const [historyIndex, setHistoryIndex] = React.useState(0);
|
|
89
|
+
const [selectedElement, setSelectedElement] = React.useState(null);
|
|
90
|
+
const [resizeHandles, setResizeHandles] = React.useState(null);
|
|
91
|
+
const [showTablePicker, setShowTablePicker] = React.useState(false);
|
|
92
|
+
const [tablePickerAnchor, setTablePickerAnchor] = React.useState(null);
|
|
93
|
+
const [textSelectionAnchor, setTextSelectionAnchor] = React.useState(null);
|
|
94
|
+
const [showTextToolbar, setShowTextToolbar] = React.useState(false);
|
|
95
|
+
const [colorPickerState, setColorPickerState] = React.useState(null);
|
|
96
|
+
const [selectedCell, setSelectedCell] = React.useState(null);
|
|
97
|
+
const [showTableToolbar, setShowTableToolbar] = React.useState(false);
|
|
98
|
+
const [tableToolbarPosition, setTableToolbarPosition] = React.useState(null);
|
|
99
|
+
const [cellProperties, setCellProperties] = React.useState({
|
|
100
|
+
borderStyle: "solid",
|
|
101
|
+
borderColor: "#ddd",
|
|
102
|
+
borderWidth: "1px",
|
|
103
|
+
backgroundColor: "transparent",
|
|
104
|
+
width: "auto",
|
|
105
|
+
height: "auto",
|
|
106
|
+
padding: "8px",
|
|
107
|
+
textAlign: "left",
|
|
108
|
+
verticalAlign: "middle"
|
|
109
|
+
});
|
|
110
|
+
const contentEditableRef = React.useRef(null);
|
|
111
|
+
const sourceCodeRef = React.useRef(data);
|
|
112
|
+
const onEditorChangeRef = React.useRef(props.onEditorChange);
|
|
113
|
+
const handleEditorReadyRef = React.useRef(handleEditorReady);
|
|
114
|
+
React.useEffect(() => {
|
|
115
|
+
onEditorChangeRef.current = props.onEditorChange;
|
|
116
|
+
});
|
|
117
|
+
React.useEffect(() => {
|
|
118
|
+
handleEditorReadyRef.current = handleEditorReady;
|
|
119
|
+
});
|
|
120
|
+
const sourceViewContentRef = React.useRef(data);
|
|
121
|
+
const fileInputRef = React.useRef(null);
|
|
122
|
+
const htmlFileInputRef = React.useRef(null);
|
|
123
|
+
const replaceImageInputRef = React.useRef(null);
|
|
124
|
+
const resizeStartRef = React.useRef(null);
|
|
125
|
+
const handlebarsMapRef = React.useRef({});
|
|
126
|
+
const apiConfig = utils_apiConfig.getApiConfig();
|
|
127
|
+
React.useEffect(() => {
|
|
128
|
+
if (!data) return;
|
|
129
|
+
const { html: protectedHtml, map } = components_editor_utils.prepareForEditing(data);
|
|
130
|
+
handlebarsMapRef.current = map;
|
|
131
|
+
sourceCodeRef.current = data;
|
|
132
|
+
if (contentEditableRef.current && contentEditableRef.current.innerHTML !== protectedHtml) {
|
|
133
|
+
contentEditableRef.current.innerHTML = protectedHtml;
|
|
134
|
+
}
|
|
135
|
+
}, [data]);
|
|
136
|
+
React.useEffect(() => {
|
|
137
|
+
var _a;
|
|
138
|
+
if (contentEditableRef.current) {
|
|
139
|
+
try {
|
|
140
|
+
const { html: protectedHtml, map } = components_editor_utils.prepareForEditing(data || "");
|
|
141
|
+
handlebarsMapRef.current = map;
|
|
142
|
+
contentEditableRef.current.innerHTML = protectedHtml;
|
|
143
|
+
const adapter2 = {
|
|
144
|
+
getData: () => {
|
|
145
|
+
return components_editor_utils.prepareForSaving(sourceCodeRef.current, handlebarsMapRef.current);
|
|
146
|
+
},
|
|
147
|
+
setData: (newData) => {
|
|
148
|
+
const { html: protectedHtml2, map: map2 } = components_editor_utils.prepareForEditing(newData);
|
|
149
|
+
handlebarsMapRef.current = map2;
|
|
150
|
+
sourceCodeRef.current = newData;
|
|
151
|
+
if (contentEditableRef.current) {
|
|
152
|
+
contentEditableRef.current.innerHTML = protectedHtml2;
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
model: {
|
|
156
|
+
insertContent: (fragment) => {
|
|
157
|
+
execCommand("insertHTML", fragment);
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
data: {
|
|
161
|
+
processor: {
|
|
162
|
+
toView: (html) => html
|
|
163
|
+
},
|
|
164
|
+
toModel: (html) => html
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
(_a = handleEditorReadyRef.current) == null ? void 0 : _a.call(handleEditorReadyRef, adapter2);
|
|
168
|
+
} catch (e) {
|
|
169
|
+
console.error("[CustomEditor] init effect error:", e);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}, []);
|
|
173
|
+
const execCommand = React.useCallback((command, value) => {
|
|
174
|
+
document.execCommand(command, false, value);
|
|
175
|
+
if (contentEditableRef.current) {
|
|
176
|
+
sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
177
|
+
saveToHistory();
|
|
178
|
+
}
|
|
179
|
+
}, []);
|
|
180
|
+
const saveToHistory = React.useCallback(() => {
|
|
181
|
+
if (contentEditableRef.current) {
|
|
182
|
+
const newHistory = history.slice(0, historyIndex + 1);
|
|
183
|
+
newHistory.push(contentEditableRef.current.innerHTML);
|
|
184
|
+
setHistory(newHistory.slice(-50));
|
|
185
|
+
setHistoryIndex(newHistory.length - 1);
|
|
186
|
+
}
|
|
187
|
+
}, [history, historyIndex]);
|
|
188
|
+
const handleUndo = React.useCallback(() => {
|
|
189
|
+
if (historyIndex > 0) {
|
|
190
|
+
const newIndex = historyIndex - 1;
|
|
191
|
+
setHistoryIndex(newIndex);
|
|
192
|
+
if (contentEditableRef.current) {
|
|
193
|
+
contentEditableRef.current.innerHTML = history[newIndex];
|
|
194
|
+
sourceCodeRef.current = history[newIndex];
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}, [history, historyIndex]);
|
|
198
|
+
const handleRedo = React.useCallback(() => {
|
|
199
|
+
if (historyIndex < history.length - 1) {
|
|
200
|
+
const newIndex = historyIndex + 1;
|
|
201
|
+
setHistoryIndex(newIndex);
|
|
202
|
+
if (contentEditableRef.current) {
|
|
203
|
+
contentEditableRef.current.innerHTML = history[newIndex];
|
|
204
|
+
sourceCodeRef.current = history[newIndex];
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}, [history, historyIndex]);
|
|
208
|
+
const handleInput = React.useCallback(() => {
|
|
209
|
+
var _a;
|
|
210
|
+
if (contentEditableRef.current) {
|
|
211
|
+
const visualHtml = contentEditableRef.current.innerHTML;
|
|
212
|
+
sourceCodeRef.current = components_editor_utils.prepareForSaving(visualHtml, handlebarsMapRef.current);
|
|
213
|
+
(_a = onEditorChangeRef.current) == null ? void 0 : _a.call(onEditorChangeRef, sourceCodeRef.current);
|
|
214
|
+
}
|
|
215
|
+
}, []);
|
|
216
|
+
const sanitizePastedHtml = React.useCallback((html) => {
|
|
217
|
+
const doc = new DOMParser().parseFromString(html, "text/html");
|
|
218
|
+
doc.querySelectorAll("span").forEach((span) => {
|
|
219
|
+
var _a;
|
|
220
|
+
const frag = document.createDocumentFragment();
|
|
221
|
+
while (span.firstChild) frag.appendChild(span.firstChild);
|
|
222
|
+
(_a = span.parentNode) == null ? void 0 : _a.replaceChild(frag, span);
|
|
223
|
+
});
|
|
224
|
+
doc.querySelectorAll("a").forEach((a) => {
|
|
225
|
+
var _a;
|
|
226
|
+
const text = document.createTextNode(a.textContent || "");
|
|
227
|
+
(_a = a.parentNode) == null ? void 0 : _a.replaceChild(text, a);
|
|
228
|
+
});
|
|
229
|
+
doc.querySelectorAll("[style], [class], [color], [bgcolor], [face]").forEach((el) => {
|
|
230
|
+
el.removeAttribute("style");
|
|
231
|
+
el.removeAttribute("class");
|
|
232
|
+
el.removeAttribute("color");
|
|
233
|
+
el.removeAttribute("bgcolor");
|
|
234
|
+
el.removeAttribute("face");
|
|
235
|
+
});
|
|
236
|
+
return doc.body.innerHTML;
|
|
237
|
+
}, []);
|
|
238
|
+
const handlePaste = React.useCallback((e) => {
|
|
239
|
+
e.preventDefault();
|
|
240
|
+
const html = e.clipboardData.getData("text/html");
|
|
241
|
+
const text = e.clipboardData.getData("text/plain");
|
|
242
|
+
if (html) {
|
|
243
|
+
execCommand("insertHTML", sanitizePastedHtml(html));
|
|
244
|
+
} else {
|
|
245
|
+
execCommand("insertText", text);
|
|
246
|
+
}
|
|
247
|
+
}, [execCommand, sanitizePastedHtml]);
|
|
248
|
+
const handleImageUpload = React.useCallback(async (file) => {
|
|
249
|
+
var _a;
|
|
250
|
+
try {
|
|
251
|
+
const uFiles = await common.uploadFiles([file], "document");
|
|
252
|
+
const token = common.getToken();
|
|
253
|
+
const payload = {
|
|
254
|
+
...token,
|
|
255
|
+
"x-timezone": ((_a = token["x-timezone"]) == null ? void 0 : _a.toString()) || "",
|
|
256
|
+
title: file == null ? void 0 : file.name.split(".")[0],
|
|
257
|
+
path: "/",
|
|
258
|
+
is_private: true,
|
|
259
|
+
is_directory: false,
|
|
260
|
+
file_size: file.size,
|
|
261
|
+
is_child: false,
|
|
262
|
+
file_extension: file == null ? void 0 : file.name.split(".")[1],
|
|
263
|
+
type: "image",
|
|
264
|
+
mime_type: file.type,
|
|
265
|
+
url: `${apiConfig == null ? void 0 : apiConfig.s3BucketUrl}${uFiles[0]}`
|
|
266
|
+
};
|
|
267
|
+
await utils_server.postV1Drive(payload);
|
|
268
|
+
execCommand("insertHTML", `<img src="${payload.url}" alt="${file.name}" style="max-width: 100%;" />`);
|
|
269
|
+
} catch (error2) {
|
|
270
|
+
console.error("Image upload failed:", error2);
|
|
271
|
+
onError == null ? void 0 : onError(error2);
|
|
272
|
+
}
|
|
273
|
+
}, [apiConfig, execCommand, onError]);
|
|
274
|
+
const handleFileChange = React.useCallback((e) => {
|
|
275
|
+
var _a;
|
|
276
|
+
const file = (_a = e.target.files) == null ? void 0 : _a[0];
|
|
277
|
+
if (file) {
|
|
278
|
+
handleImageUpload(file);
|
|
279
|
+
}
|
|
280
|
+
}, [handleImageUpload]);
|
|
281
|
+
const handleInsertLink = React.useCallback(() => {
|
|
282
|
+
const url = prompt("Enter URL:");
|
|
283
|
+
if (url) {
|
|
284
|
+
execCommand("createLink", url);
|
|
285
|
+
}
|
|
286
|
+
}, [execCommand]);
|
|
287
|
+
React.useCallback(() => {
|
|
288
|
+
const rows = prompt("Number of rows:", "3");
|
|
289
|
+
const cols = prompt("Number of columns:", "3");
|
|
290
|
+
if (rows && cols) {
|
|
291
|
+
let tableHTML = '<table border="1" style="border-collapse: collapse; width: 100%;">';
|
|
292
|
+
tableHTML += "<thead><tr>";
|
|
293
|
+
for (let i = 0; i < parseInt(cols); i++) {
|
|
294
|
+
tableHTML += '<th style="border: 1px solid #ddd; padding: 8px;">Header</th>';
|
|
295
|
+
}
|
|
296
|
+
tableHTML += "</tr></thead><tbody>";
|
|
297
|
+
for (let i = 0; i < parseInt(rows); i++) {
|
|
298
|
+
tableHTML += "<tr>";
|
|
299
|
+
for (let j = 0; j < parseInt(cols); j++) {
|
|
300
|
+
tableHTML += '<td style="border: 1px solid #ddd; padding: 8px;"></td>';
|
|
301
|
+
}
|
|
302
|
+
tableHTML += "</tr>";
|
|
303
|
+
}
|
|
304
|
+
tableHTML += "</tbody></table>";
|
|
305
|
+
execCommand("insertHTML", tableHTML);
|
|
306
|
+
}
|
|
307
|
+
}, [execCommand]);
|
|
308
|
+
const TablePicker = () => {
|
|
309
|
+
const [hoverCell, setHoverCell] = React.useState(null);
|
|
310
|
+
const maxRows = 10;
|
|
311
|
+
const maxCols = 10;
|
|
312
|
+
const buttonRect = tablePickerAnchor == null ? void 0 : tablePickerAnchor.getBoundingClientRect();
|
|
313
|
+
const editorContainer = document.querySelector(".custom-editor-container");
|
|
314
|
+
const containerRect = editorContainer == null ? void 0 : editorContainer.getBoundingClientRect();
|
|
315
|
+
let top = 0;
|
|
316
|
+
let left = 0;
|
|
317
|
+
if (buttonRect && containerRect) {
|
|
318
|
+
top = buttonRect.bottom - containerRect.top + 5;
|
|
319
|
+
left = buttonRect.left - containerRect.left;
|
|
320
|
+
}
|
|
321
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
322
|
+
material.Box,
|
|
323
|
+
{
|
|
324
|
+
sx: {
|
|
325
|
+
position: "absolute",
|
|
326
|
+
top: `${top}px`,
|
|
327
|
+
left: `${left}px`,
|
|
328
|
+
bgcolor: "white",
|
|
329
|
+
border: "1px solid #ddd",
|
|
330
|
+
borderRadius: 1,
|
|
331
|
+
p: 2,
|
|
332
|
+
boxShadow: 3,
|
|
333
|
+
zIndex: 9999
|
|
334
|
+
},
|
|
335
|
+
children: [
|
|
336
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { sx: { display: "grid", gridTemplateColumns: `repeat(${maxCols}, 20px)`, gap: "2px", mb: 1 }, children: Array.from({ length: maxRows }).map(
|
|
337
|
+
(_, rowIndex) => Array.from({ length: maxCols }).map((_2, colIndex) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
338
|
+
material.Box,
|
|
339
|
+
{
|
|
340
|
+
onMouseEnter: () => setHoverCell({ row: rowIndex + 1, col: colIndex + 1 }),
|
|
341
|
+
onClick: () => {
|
|
342
|
+
handleInsertTableFromPicker(rowIndex + 1, colIndex + 1);
|
|
343
|
+
setHoverCell(null);
|
|
344
|
+
},
|
|
345
|
+
sx: {
|
|
346
|
+
width: 20,
|
|
347
|
+
height: 20,
|
|
348
|
+
border: "1px solid #ddd",
|
|
349
|
+
bgcolor: hoverCell && rowIndex < hoverCell.row && colIndex < hoverCell.col ? "#1976d2" : "white",
|
|
350
|
+
cursor: "pointer",
|
|
351
|
+
"&:hover": {
|
|
352
|
+
bgcolor: "#1976d2"
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
`${rowIndex}-${colIndex}`
|
|
357
|
+
))
|
|
358
|
+
) }),
|
|
359
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Box, { sx: { textAlign: "center", fontSize: "12px", color: "#666" }, children: hoverCell ? `${hoverCell.row} × ${hoverCell.col}` : "1 × 1" })
|
|
360
|
+
]
|
|
361
|
+
}
|
|
362
|
+
);
|
|
363
|
+
};
|
|
364
|
+
const handleFontFamilyChange = React.useCallback((e) => {
|
|
365
|
+
const family = e.target.value;
|
|
366
|
+
setFontFamily(family);
|
|
367
|
+
execCommand("fontName", family);
|
|
368
|
+
}, [execCommand]);
|
|
369
|
+
const handleFontSizeChange = React.useCallback((e) => {
|
|
370
|
+
var _a;
|
|
371
|
+
const size = e.target.value;
|
|
372
|
+
setFontSize(size);
|
|
373
|
+
document.execCommand("fontSize", false, "7");
|
|
374
|
+
if (contentEditableRef.current) {
|
|
375
|
+
const fontTags = Array.from(
|
|
376
|
+
contentEditableRef.current.querySelectorAll('font[size="7"]')
|
|
377
|
+
);
|
|
378
|
+
fontTags.forEach((tag) => {
|
|
379
|
+
var _a2;
|
|
380
|
+
const span = document.createElement("span");
|
|
381
|
+
span.style.fontSize = size;
|
|
382
|
+
while (tag.firstChild) span.appendChild(tag.firstChild);
|
|
383
|
+
(_a2 = tag.parentNode) == null ? void 0 : _a2.replaceChild(span, tag);
|
|
384
|
+
});
|
|
385
|
+
sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
386
|
+
saveToHistory();
|
|
387
|
+
(_a = onEditorChangeRef.current) == null ? void 0 : _a.call(onEditorChangeRef, sourceCodeRef.current);
|
|
388
|
+
}
|
|
389
|
+
}, [saveToHistory]);
|
|
390
|
+
const handleHeadingFormatChange = React.useCallback((e) => {
|
|
391
|
+
const format = e.target.value;
|
|
392
|
+
setHeadingFormat(format);
|
|
393
|
+
execCommand("formatBlock", `<${format}>`);
|
|
394
|
+
}, [execCommand]);
|
|
395
|
+
const handleToggleSource = React.useCallback(() => {
|
|
396
|
+
var _a;
|
|
397
|
+
if (!showSourceMode) {
|
|
398
|
+
const visualHtml = ((_a = contentEditableRef.current) == null ? void 0 : _a.innerHTML) || sourceCodeRef.current || data;
|
|
399
|
+
const restoredHtml = components_editor_utils.prepareForSaving(visualHtml, handlebarsMapRef.current);
|
|
400
|
+
setSourceCode(restoredHtml);
|
|
401
|
+
sourceViewContentRef.current = restoredHtml;
|
|
402
|
+
sourceCodeRef.current = restoredHtml;
|
|
403
|
+
setShowSourceMode(true);
|
|
404
|
+
} else {
|
|
405
|
+
const currentSource = sourceViewContentRef.current.trim();
|
|
406
|
+
if (!currentSource) {
|
|
407
|
+
const defaultHtml = "<p><br></p>";
|
|
408
|
+
sourceCodeRef.current = defaultHtml;
|
|
409
|
+
sourceViewContentRef.current = defaultHtml;
|
|
410
|
+
setSourceCode(defaultHtml);
|
|
411
|
+
} else {
|
|
412
|
+
sourceCodeRef.current = currentSource;
|
|
413
|
+
}
|
|
414
|
+
setShowSourceMode(false);
|
|
415
|
+
}
|
|
416
|
+
}, [showSourceMode, data]);
|
|
417
|
+
const hasProcessedModeSwitch = React.useRef(false);
|
|
418
|
+
React.useEffect(() => {
|
|
419
|
+
if (!showSourceMode && contentEditableRef.current && !hasProcessedModeSwitch.current) {
|
|
420
|
+
hasProcessedModeSwitch.current = true;
|
|
421
|
+
try {
|
|
422
|
+
const currentSource = sourceCodeRef.current.trim();
|
|
423
|
+
if (!currentSource) {
|
|
424
|
+
const defaultHtml = "<p><br></p>";
|
|
425
|
+
const { html: protectedHtml, map } = components_editor_utils.prepareForEditing(defaultHtml);
|
|
426
|
+
handlebarsMapRef.current = map;
|
|
427
|
+
contentEditableRef.current.innerHTML = protectedHtml;
|
|
428
|
+
} else {
|
|
429
|
+
const { html: protectedHtml, map } = components_editor_utils.prepareForEditing(currentSource);
|
|
430
|
+
handlebarsMapRef.current = map;
|
|
431
|
+
if (!protectedHtml || protectedHtml.trim() === "") {
|
|
432
|
+
console.warn("Protected HTML is empty, using original source");
|
|
433
|
+
contentEditableRef.current.innerHTML = currentSource;
|
|
434
|
+
} else {
|
|
435
|
+
contentEditableRef.current.innerHTML = protectedHtml;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
const newHistory = history.slice(0, historyIndex + 1);
|
|
439
|
+
newHistory.push(contentEditableRef.current.innerHTML);
|
|
440
|
+
setHistory(newHistory.slice(-50));
|
|
441
|
+
setHistoryIndex(newHistory.length - 1);
|
|
442
|
+
} catch (error2) {
|
|
443
|
+
console.error("Error updating visual mode:", error2);
|
|
444
|
+
if (contentEditableRef.current && sourceCodeRef.current) {
|
|
445
|
+
try {
|
|
446
|
+
contentEditableRef.current.innerHTML = sourceCodeRef.current;
|
|
447
|
+
} catch (innerError) {
|
|
448
|
+
console.error("Failed to render HTML:", innerError);
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
if (showSourceMode) {
|
|
454
|
+
hasProcessedModeSwitch.current = false;
|
|
455
|
+
}
|
|
456
|
+
}, [showSourceMode, history, historyIndex]);
|
|
457
|
+
const handleHtmlFileUpload = React.useCallback((e) => {
|
|
458
|
+
var _a;
|
|
459
|
+
const file = (_a = e.target.files) == null ? void 0 : _a[0];
|
|
460
|
+
if (!file) return;
|
|
461
|
+
const reader = new FileReader();
|
|
462
|
+
reader.onload = (event) => {
|
|
463
|
+
var _a2;
|
|
464
|
+
const htmlContent = (_a2 = event.target) == null ? void 0 : _a2.result;
|
|
465
|
+
if (htmlContent) {
|
|
466
|
+
setSourceCode(htmlContent);
|
|
467
|
+
sourceViewContentRef.current = htmlContent;
|
|
468
|
+
sourceCodeRef.current = htmlContent;
|
|
469
|
+
if (!showSourceMode && contentEditableRef.current) {
|
|
470
|
+
try {
|
|
471
|
+
const { html: protectedHtml, map } = components_editor_utils.prepareForEditing(htmlContent);
|
|
472
|
+
handlebarsMapRef.current = map;
|
|
473
|
+
contentEditableRef.current.innerHTML = protectedHtml;
|
|
474
|
+
saveToHistory();
|
|
475
|
+
} catch (error2) {
|
|
476
|
+
console.error("Error processing uploaded HTML:", error2);
|
|
477
|
+
alert("There was an error processing the HTML file. Please check the file and try again.");
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
};
|
|
482
|
+
reader.onerror = () => {
|
|
483
|
+
alert("Failed to read HTML file. Please try again.");
|
|
484
|
+
};
|
|
485
|
+
reader.readAsText(file);
|
|
486
|
+
e.target.value = "";
|
|
487
|
+
}, [showSourceMode, saveToHistory]);
|
|
488
|
+
const handleSourceCodeChange = React.useCallback((e) => {
|
|
489
|
+
const newCode = e.target.value;
|
|
490
|
+
setSourceCode(newCode);
|
|
491
|
+
sourceViewContentRef.current = newCode;
|
|
492
|
+
}, []);
|
|
493
|
+
const handleContentClick = React.useCallback((e) => {
|
|
494
|
+
var _a;
|
|
495
|
+
const target = e.target;
|
|
496
|
+
let elementToSelect = null;
|
|
497
|
+
if (target.tagName === "IMG") {
|
|
498
|
+
e.preventDefault();
|
|
499
|
+
e.stopPropagation();
|
|
500
|
+
elementToSelect = target;
|
|
501
|
+
} else if (target.tagName === "TABLE") {
|
|
502
|
+
e.preventDefault();
|
|
503
|
+
e.stopPropagation();
|
|
504
|
+
elementToSelect = target;
|
|
505
|
+
} else if (target.tagName === "TD" || target.tagName === "TH" || target.tagName === "TR" || target.tagName === "TBODY" || target.tagName === "THEAD") {
|
|
506
|
+
e.preventDefault();
|
|
507
|
+
e.stopPropagation();
|
|
508
|
+
elementToSelect = target.closest("table");
|
|
509
|
+
}
|
|
510
|
+
if (elementToSelect) {
|
|
511
|
+
setSelectedElement(elementToSelect);
|
|
512
|
+
const rect = elementToSelect.getBoundingClientRect();
|
|
513
|
+
const containerRect = (_a = contentEditableRef.current) == null ? void 0 : _a.getBoundingClientRect();
|
|
514
|
+
if (containerRect) {
|
|
515
|
+
setResizeHandles({
|
|
516
|
+
x: rect.left - containerRect.left,
|
|
517
|
+
y: rect.top - containerRect.top,
|
|
518
|
+
width: rect.width,
|
|
519
|
+
height: rect.height
|
|
520
|
+
});
|
|
521
|
+
}
|
|
522
|
+
} else {
|
|
523
|
+
setSelectedElement(null);
|
|
524
|
+
setResizeHandles(null);
|
|
525
|
+
}
|
|
526
|
+
}, []);
|
|
527
|
+
const handleDeleteSelected = React.useCallback(() => {
|
|
528
|
+
if (selectedElement) {
|
|
529
|
+
selectedElement.remove();
|
|
530
|
+
setSelectedElement(null);
|
|
531
|
+
setResizeHandles(null);
|
|
532
|
+
if (contentEditableRef.current) {
|
|
533
|
+
sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
534
|
+
saveToHistory();
|
|
535
|
+
}
|
|
536
|
+
}
|
|
537
|
+
}, [selectedElement, saveToHistory]);
|
|
538
|
+
const handleReplaceImage = React.useCallback(async (file) => {
|
|
539
|
+
var _a;
|
|
540
|
+
if (!selectedElement || selectedElement.tagName !== "IMG") return;
|
|
541
|
+
try {
|
|
542
|
+
const uFiles = await common.uploadFiles([file], "document");
|
|
543
|
+
const token = common.getToken();
|
|
544
|
+
const payload = {
|
|
545
|
+
...token,
|
|
546
|
+
"x-timezone": ((_a = token["x-timezone"]) == null ? void 0 : _a.toString()) || "",
|
|
547
|
+
title: file == null ? void 0 : file.name.split(".")[0],
|
|
548
|
+
path: "/",
|
|
549
|
+
is_private: true,
|
|
550
|
+
is_directory: false,
|
|
551
|
+
file_size: file.size,
|
|
552
|
+
is_child: false,
|
|
553
|
+
file_extension: file == null ? void 0 : file.name.split(".")[1],
|
|
554
|
+
type: "image",
|
|
555
|
+
mime_type: file.type,
|
|
556
|
+
url: `${apiConfig == null ? void 0 : apiConfig.s3BucketUrl}${uFiles[0]}`
|
|
557
|
+
};
|
|
558
|
+
await utils_server.postV1Drive(payload);
|
|
559
|
+
selectedElement.src = payload.url;
|
|
560
|
+
if (contentEditableRef.current) {
|
|
561
|
+
sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
562
|
+
saveToHistory();
|
|
563
|
+
}
|
|
564
|
+
} catch (error2) {
|
|
565
|
+
console.error("Image upload failed:", error2);
|
|
566
|
+
onError == null ? void 0 : onError(error2);
|
|
567
|
+
}
|
|
568
|
+
}, [selectedElement, apiConfig, onError, saveToHistory]);
|
|
569
|
+
const handleReplaceImageChange = React.useCallback((e) => {
|
|
570
|
+
var _a;
|
|
571
|
+
const file = (_a = e.target.files) == null ? void 0 : _a[0];
|
|
572
|
+
if (file) {
|
|
573
|
+
handleReplaceImage(file);
|
|
574
|
+
}
|
|
575
|
+
}, [handleReplaceImage]);
|
|
576
|
+
const handleTextSelection = React.useCallback(() => {
|
|
577
|
+
var _a;
|
|
578
|
+
const selection = window.getSelection();
|
|
579
|
+
if (selection && !selection.isCollapsed && selection.rangeCount > 0) {
|
|
580
|
+
const range = selection.getRangeAt(0);
|
|
581
|
+
const rect = range.getBoundingClientRect();
|
|
582
|
+
const containerRect = (_a = contentEditableRef.current) == null ? void 0 : _a.getBoundingClientRect();
|
|
583
|
+
if (containerRect && rect.width > 0) {
|
|
584
|
+
setTextSelectionAnchor({
|
|
585
|
+
x: rect.left + rect.width / 2,
|
|
586
|
+
y: rect.top - 10
|
|
587
|
+
});
|
|
588
|
+
setShowTextToolbar(true);
|
|
589
|
+
}
|
|
590
|
+
let node = selection.anchorNode;
|
|
591
|
+
if ((node == null ? void 0 : node.nodeType) === Node.TEXT_NODE) node = node.parentElement;
|
|
592
|
+
let detectedSize = null;
|
|
593
|
+
let current = node instanceof HTMLElement ? node : null;
|
|
594
|
+
while (current && current !== contentEditableRef.current) {
|
|
595
|
+
if (current.style.fontSize) {
|
|
596
|
+
detectedSize = current.style.fontSize;
|
|
597
|
+
break;
|
|
598
|
+
}
|
|
599
|
+
current = current.parentElement;
|
|
600
|
+
}
|
|
601
|
+
setFontSize(detectedSize ?? "14px");
|
|
602
|
+
} else {
|
|
603
|
+
setShowTextToolbar(false);
|
|
604
|
+
setTextSelectionAnchor(null);
|
|
605
|
+
}
|
|
606
|
+
}, []);
|
|
607
|
+
const handleResizeStart = React.useCallback((e, handle) => {
|
|
608
|
+
e.preventDefault();
|
|
609
|
+
e.stopPropagation();
|
|
610
|
+
if (selectedElement && resizeHandles) {
|
|
611
|
+
resizeStartRef.current = {
|
|
612
|
+
x: e.clientX,
|
|
613
|
+
y: e.clientY,
|
|
614
|
+
width: resizeHandles.width,
|
|
615
|
+
height: resizeHandles.height,
|
|
616
|
+
handle
|
|
617
|
+
};
|
|
618
|
+
document.addEventListener("mousemove", handleResizeMove);
|
|
619
|
+
document.addEventListener("mouseup", handleResizeEnd);
|
|
620
|
+
}
|
|
621
|
+
}, [selectedElement, resizeHandles]);
|
|
622
|
+
const handleResizeMove = React.useCallback((e) => {
|
|
623
|
+
var _a;
|
|
624
|
+
if (!resizeStartRef.current || !selectedElement || !resizeHandles) return;
|
|
625
|
+
const { x, y, width, height, handle } = resizeStartRef.current;
|
|
626
|
+
const deltaX = e.clientX - x;
|
|
627
|
+
const deltaY = e.clientY - y;
|
|
628
|
+
let newWidth = width;
|
|
629
|
+
let newHeight = height;
|
|
630
|
+
if (handle.includes("e")) {
|
|
631
|
+
newWidth = Math.max(50, width + deltaX);
|
|
632
|
+
}
|
|
633
|
+
if (handle.includes("w")) {
|
|
634
|
+
newWidth = Math.max(50, width - deltaX);
|
|
635
|
+
}
|
|
636
|
+
if (handle.includes("s")) {
|
|
637
|
+
newHeight = Math.max(50, height + deltaY);
|
|
638
|
+
}
|
|
639
|
+
if (handle.includes("n")) {
|
|
640
|
+
newHeight = Math.max(50, height - deltaY);
|
|
641
|
+
}
|
|
642
|
+
if (handle.length === 2 && selectedElement.tagName === "IMG") {
|
|
643
|
+
const aspectRatio = width / height;
|
|
644
|
+
newHeight = newWidth / aspectRatio;
|
|
645
|
+
}
|
|
646
|
+
selectedElement.style.width = `${newWidth}px`;
|
|
647
|
+
if (selectedElement.tagName === "IMG" || selectedElement.tagName === "TABLE") {
|
|
648
|
+
selectedElement.style.height = `${newHeight}px`;
|
|
649
|
+
}
|
|
650
|
+
const rect = selectedElement.getBoundingClientRect();
|
|
651
|
+
const containerRect = (_a = contentEditableRef.current) == null ? void 0 : _a.getBoundingClientRect();
|
|
652
|
+
if (containerRect) {
|
|
653
|
+
setResizeHandles({
|
|
654
|
+
x: rect.left - containerRect.left,
|
|
655
|
+
y: rect.top - containerRect.top,
|
|
656
|
+
width: rect.width,
|
|
657
|
+
height: rect.height
|
|
658
|
+
});
|
|
659
|
+
}
|
|
660
|
+
}, [selectedElement, resizeHandles]);
|
|
661
|
+
const handleResizeEnd = React.useCallback(() => {
|
|
662
|
+
document.removeEventListener("mousemove", handleResizeMove);
|
|
663
|
+
document.removeEventListener("mouseup", handleResizeEnd);
|
|
664
|
+
resizeStartRef.current = null;
|
|
665
|
+
if (contentEditableRef.current) {
|
|
666
|
+
sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
667
|
+
saveToHistory();
|
|
668
|
+
}
|
|
669
|
+
}, [handleResizeMove, saveToHistory]);
|
|
670
|
+
const handleShowTablePicker = React.useCallback((e) => {
|
|
671
|
+
setTablePickerAnchor(e.currentTarget);
|
|
672
|
+
setShowTablePicker(true);
|
|
673
|
+
}, []);
|
|
674
|
+
const handleInsertTableFromPicker = React.useCallback((rows, cols) => {
|
|
675
|
+
if (contentEditableRef.current) {
|
|
676
|
+
contentEditableRef.current.focus();
|
|
677
|
+
}
|
|
678
|
+
let tableHTML = '<table border="1" style="border-collapse: collapse; width: 100%; margin: 10px 0;">';
|
|
679
|
+
tableHTML += "<tbody>";
|
|
680
|
+
for (let i = 0; i < rows; i++) {
|
|
681
|
+
tableHTML += "<tr>";
|
|
682
|
+
for (let j = 0; j < cols; j++) {
|
|
683
|
+
tableHTML += '<td style="border: 1px solid #ddd; padding: 8px; min-width: 50px;"></td>';
|
|
684
|
+
}
|
|
685
|
+
tableHTML += "</tr>";
|
|
686
|
+
}
|
|
687
|
+
tableHTML += "</tbody></table><p><br></p>";
|
|
688
|
+
document.execCommand("insertHTML", false, tableHTML);
|
|
689
|
+
if (contentEditableRef.current) {
|
|
690
|
+
sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
691
|
+
saveToHistory();
|
|
692
|
+
}
|
|
693
|
+
setShowTablePicker(false);
|
|
694
|
+
setTablePickerAnchor(null);
|
|
695
|
+
}, [saveToHistory]);
|
|
696
|
+
const adapter = {
|
|
697
|
+
getData: () => {
|
|
698
|
+
return components_editor_utils.prepareForSaving(sourceCodeRef.current, handlebarsMapRef.current);
|
|
699
|
+
},
|
|
700
|
+
setData: (newData) => {
|
|
701
|
+
const { html: protectedHtml, map } = components_editor_utils.prepareForEditing(newData);
|
|
702
|
+
handlebarsMapRef.current = map;
|
|
703
|
+
sourceCodeRef.current = newData;
|
|
704
|
+
if (contentEditableRef.current) {
|
|
705
|
+
contentEditableRef.current.innerHTML = protectedHtml;
|
|
706
|
+
}
|
|
707
|
+
},
|
|
708
|
+
model: {
|
|
709
|
+
insertContent: (fragment) => {
|
|
710
|
+
execCommand("insertHTML", fragment);
|
|
711
|
+
}
|
|
712
|
+
},
|
|
713
|
+
data: {
|
|
714
|
+
processor: {
|
|
715
|
+
toView: (html) => html
|
|
716
|
+
},
|
|
717
|
+
toModel: (html) => html
|
|
718
|
+
}
|
|
719
|
+
};
|
|
720
|
+
React.useImperativeHandle(ref, () => adapter, []);
|
|
721
|
+
React.useEffect(() => {
|
|
722
|
+
if (editorRefProp) {
|
|
723
|
+
editorRefProp.current = adapter;
|
|
724
|
+
}
|
|
725
|
+
}, [editorRefProp]);
|
|
726
|
+
const toolbarCmd = (command, value) => (e) => {
|
|
727
|
+
e.preventDefault();
|
|
728
|
+
execCommand(command, value);
|
|
729
|
+
};
|
|
730
|
+
if (error) {
|
|
731
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "editor-error-container", children: [
|
|
732
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "editor-error-message", children: [
|
|
733
|
+
"Editor Error: ",
|
|
734
|
+
error.message
|
|
735
|
+
] }),
|
|
736
|
+
/* @__PURE__ */ jsxRuntime.jsx("button", { onClick: () => setError(null), className: "editor-retry-button", children: "Retry" })
|
|
737
|
+
] });
|
|
738
|
+
}
|
|
739
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "custom-editor-container", children: [
|
|
740
|
+
/* @__PURE__ */ jsxRuntime.jsxs(material.Box, { sx: {
|
|
741
|
+
display: "flex",
|
|
742
|
+
alignItems: "center",
|
|
743
|
+
gap: 2,
|
|
744
|
+
px: 2,
|
|
745
|
+
py: 0.5,
|
|
746
|
+
borderBottom: "1px solid #ddd",
|
|
747
|
+
bgcolor: "#f8f9fa",
|
|
748
|
+
fontSize: "13px"
|
|
749
|
+
}, children: [
|
|
750
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { style: { cursor: "pointer", color: "#333" }, children: "Edit" }),
|
|
751
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { style: { cursor: "pointer", color: "#333" }, children: "View" }),
|
|
752
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { style: { cursor: "pointer", color: "#333" }, children: "Insert" }),
|
|
753
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { style: { cursor: "pointer", color: "#333" }, children: "Format" }),
|
|
754
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { style: { cursor: "pointer", color: "#333" }, children: "Help" })
|
|
755
|
+
] }),
|
|
756
|
+
/* @__PURE__ */ jsxRuntime.jsxs(material.Box, { sx: {
|
|
757
|
+
display: "flex",
|
|
758
|
+
flexWrap: "wrap",
|
|
759
|
+
gap: 0.5,
|
|
760
|
+
p: 1,
|
|
761
|
+
borderBottom: "1px solid #ddd",
|
|
762
|
+
bgcolor: "#f5f5f5",
|
|
763
|
+
alignItems: "center"
|
|
764
|
+
}, children: [
|
|
765
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: showSourceMode ? "Switch to Visual" : "Switch to Source", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
766
|
+
material.Box,
|
|
767
|
+
{
|
|
768
|
+
onClick: handleToggleSource,
|
|
769
|
+
sx: {
|
|
770
|
+
display: "flex",
|
|
771
|
+
alignItems: "center",
|
|
772
|
+
gap: 0.5,
|
|
773
|
+
px: 1,
|
|
774
|
+
py: 0.5,
|
|
775
|
+
cursor: "pointer",
|
|
776
|
+
borderRadius: 1,
|
|
777
|
+
border: "1px solid",
|
|
778
|
+
borderColor: showSourceMode ? "primary.main" : "transparent",
|
|
779
|
+
bgcolor: showSourceMode ? "primary.50" : "transparent",
|
|
780
|
+
color: showSourceMode ? "primary.main" : "text.secondary",
|
|
781
|
+
"&:hover": {
|
|
782
|
+
bgcolor: showSourceMode ? "primary.100" : "grey.200"
|
|
783
|
+
},
|
|
784
|
+
transition: "all 0.15s ease",
|
|
785
|
+
userSelect: "none"
|
|
786
|
+
},
|
|
787
|
+
children: [
|
|
788
|
+
/* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
789
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 2H6C4.9 2 4 2.9 4 4V20C4 21.1 4.9 22 6 22H18C19.1 22 20 21.1 20 20V8L14 2Z", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
|
|
790
|
+
/* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "14,2 14,8 20,8", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
|
|
791
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M9 13L7 15L9 17", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
792
|
+
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M15 13L17 15L15 17", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
793
|
+
/* @__PURE__ */ jsxRuntime.jsx("line", { x1: "13", y1: "12", x2: "11", y2: "18", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round" })
|
|
794
|
+
] }),
|
|
795
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { style: { fontSize: "13px", fontWeight: 500 }, children: "Source" })
|
|
796
|
+
]
|
|
797
|
+
}
|
|
798
|
+
) }),
|
|
799
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
|
|
800
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Undo", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", onClick: handleUndo, disabled: historyIndex === 0, children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.Undo, { fontSize: "small" }) }) }),
|
|
801
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Redo", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", onClick: handleRedo, disabled: historyIndex === history.length - 1, children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.Redo, { fontSize: "small" }) }) }),
|
|
802
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
|
|
803
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
804
|
+
material.Select,
|
|
805
|
+
{
|
|
806
|
+
value: headingFormat,
|
|
807
|
+
onChange: handleHeadingFormatChange,
|
|
808
|
+
size: "small",
|
|
809
|
+
sx: { minWidth: 100, height: 28, fontSize: "12px" },
|
|
810
|
+
children: HEADING_FORMATS.map((format) => /* @__PURE__ */ jsxRuntime.jsx(material.MenuItem, { value: format.value, children: format.label }, format.value))
|
|
811
|
+
}
|
|
812
|
+
),
|
|
813
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
814
|
+
material.Select,
|
|
815
|
+
{
|
|
816
|
+
value: fontFamily,
|
|
817
|
+
onChange: handleFontFamilyChange,
|
|
818
|
+
size: "small",
|
|
819
|
+
sx: { minWidth: 120, height: 28, fontSize: "12px" },
|
|
820
|
+
children: FONT_FAMILIES.map((font) => /* @__PURE__ */ jsxRuntime.jsx(material.MenuItem, { value: font, style: { fontFamily: font }, children: font }, font))
|
|
821
|
+
}
|
|
822
|
+
),
|
|
823
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
824
|
+
material.Select,
|
|
825
|
+
{
|
|
826
|
+
value: fontSize,
|
|
827
|
+
onChange: handleFontSizeChange,
|
|
828
|
+
size: "small",
|
|
829
|
+
sx: { minWidth: 70, height: 28, fontSize: "12px" },
|
|
830
|
+
children: FONT_SIZES.map((size) => /* @__PURE__ */ jsxRuntime.jsx(material.MenuItem, { value: size, children: size }, size))
|
|
831
|
+
}
|
|
832
|
+
),
|
|
833
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
|
|
834
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Bold", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", onMouseDown: toolbarCmd("bold"), children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.FormatBold, { fontSize: "small" }) }) }),
|
|
835
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Italic", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", onMouseDown: toolbarCmd("italic"), children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.FormatItalic, { fontSize: "small" }) }) }),
|
|
836
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Underline", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", onMouseDown: toolbarCmd("underline"), children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.FormatUnderlined, { fontSize: "small" }) }) }),
|
|
837
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Strikethrough", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", onMouseDown: toolbarCmd("strikeThrough"), children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.FormatStrikethrough, { fontSize: "small" }) }) }),
|
|
838
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Subscript", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", onMouseDown: toolbarCmd("subscript"), children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.Subscript, { fontSize: "small" }) }) }),
|
|
839
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Superscript", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", onMouseDown: toolbarCmd("superscript"), children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.Superscript, { fontSize: "small" }) }) }),
|
|
840
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
|
|
841
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Text Color", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
842
|
+
material.IconButton,
|
|
843
|
+
{
|
|
844
|
+
size: "small",
|
|
845
|
+
onMouseDown: (e) => {
|
|
846
|
+
e.preventDefault();
|
|
847
|
+
setColorPickerState({ anchor: e.currentTarget, type: "text" });
|
|
848
|
+
},
|
|
849
|
+
style: { width: 32, height: 28, border: "1px solid #ddd", borderRadius: "4px", backgroundColor: "white" },
|
|
850
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("span", { style: { fontSize: "16px", fontWeight: "bold", color: "#000" }, children: "A" })
|
|
851
|
+
}
|
|
852
|
+
) }),
|
|
853
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Background Color", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
854
|
+
material.IconButton,
|
|
855
|
+
{
|
|
856
|
+
size: "small",
|
|
857
|
+
onMouseDown: (e) => {
|
|
858
|
+
e.preventDefault();
|
|
859
|
+
setColorPickerState({ anchor: e.currentTarget, type: "bg" });
|
|
860
|
+
},
|
|
861
|
+
style: { width: 32, height: 28, border: "1px solid #ddd", borderRadius: "4px", backgroundColor: "#fffde7" },
|
|
862
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("span", { style: { fontSize: "16px", fontWeight: "bold", color: "#000" }, children: "A" })
|
|
863
|
+
}
|
|
864
|
+
) }),
|
|
865
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
|
|
866
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Align Left", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", onMouseDown: toolbarCmd("justifyLeft"), children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.FormatAlignLeft, { fontSize: "small" }) }) }),
|
|
867
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Align Center", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", onMouseDown: toolbarCmd("justifyCenter"), children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.FormatAlignCenter, { fontSize: "small" }) }) }),
|
|
868
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Align Right", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", onMouseDown: toolbarCmd("justifyRight"), children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.FormatAlignRight, { fontSize: "small" }) }) }),
|
|
869
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Justify", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", onMouseDown: toolbarCmd("justifyFull"), children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.FormatAlignJustify, { fontSize: "small" }) }) }),
|
|
870
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
|
|
871
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Bullet List", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", onMouseDown: toolbarCmd("insertUnorderedList"), children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.FormatListBulleted, { fontSize: "small" }) }) }),
|
|
872
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Numbered List", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", onMouseDown: toolbarCmd("insertOrderedList"), children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.FormatListNumbered, { fontSize: "small" }) }) }),
|
|
873
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
|
|
874
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Insert Link", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", onClick: handleInsertLink, children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.Link, { fontSize: "small" }) }) }),
|
|
875
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Insert Image", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", onClick: () => {
|
|
876
|
+
var _a;
|
|
877
|
+
return (_a = fileInputRef.current) == null ? void 0 : _a.click();
|
|
878
|
+
}, children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.Image, { fontSize: "small" }) }) }),
|
|
879
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Insert Table", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", onClick: handleShowTablePicker, children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.TableChart, { fontSize: "small" }) }) }),
|
|
880
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Code", children: /* @__PURE__ */ jsxRuntime.jsx(material.IconButton, { size: "small", onMouseDown: toolbarCmd("formatBlock", "<pre>"), children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.Code, { fontSize: "small" }) }) })
|
|
881
|
+
] }),
|
|
882
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
883
|
+
"input",
|
|
884
|
+
{
|
|
885
|
+
ref: fileInputRef,
|
|
886
|
+
type: "file",
|
|
887
|
+
accept: "image/*",
|
|
888
|
+
style: { display: "none" },
|
|
889
|
+
onChange: handleFileChange
|
|
890
|
+
}
|
|
891
|
+
),
|
|
892
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
893
|
+
"input",
|
|
894
|
+
{
|
|
895
|
+
ref: htmlFileInputRef,
|
|
896
|
+
type: "file",
|
|
897
|
+
accept: ".html,.htm,text/html",
|
|
898
|
+
style: { display: "none" },
|
|
899
|
+
onChange: handleHtmlFileUpload
|
|
900
|
+
}
|
|
901
|
+
),
|
|
902
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
903
|
+
"input",
|
|
904
|
+
{
|
|
905
|
+
ref: replaceImageInputRef,
|
|
906
|
+
type: "file",
|
|
907
|
+
accept: "image/*",
|
|
908
|
+
style: { display: "none" },
|
|
909
|
+
onChange: handleReplaceImageChange
|
|
910
|
+
}
|
|
911
|
+
),
|
|
912
|
+
showSourceMode ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
913
|
+
"textarea",
|
|
914
|
+
{
|
|
915
|
+
value: sourceCode,
|
|
916
|
+
onChange: handleSourceCodeChange,
|
|
917
|
+
className: "custom-editor-source",
|
|
918
|
+
style: {
|
|
919
|
+
width: "100%",
|
|
920
|
+
minHeight: "300px",
|
|
921
|
+
padding: "16px",
|
|
922
|
+
border: "none",
|
|
923
|
+
outline: "none",
|
|
924
|
+
fontFamily: "Courier New, monospace",
|
|
925
|
+
fontSize: "13px",
|
|
926
|
+
lineHeight: "1.5",
|
|
927
|
+
resize: "vertical"
|
|
928
|
+
}
|
|
929
|
+
}
|
|
930
|
+
) : /* @__PURE__ */ jsxRuntime.jsxs("div", { style: { position: "relative" }, children: [
|
|
931
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
932
|
+
"div",
|
|
933
|
+
{
|
|
934
|
+
ref: contentEditableRef,
|
|
935
|
+
contentEditable: true,
|
|
936
|
+
className: "editor-content",
|
|
937
|
+
onInput: handleInput,
|
|
938
|
+
onPaste: handlePaste,
|
|
939
|
+
onClick: handleContentClick,
|
|
940
|
+
onMouseUp: handleTextSelection,
|
|
941
|
+
onKeyUp: handleTextSelection,
|
|
942
|
+
style: {
|
|
943
|
+
minHeight: "300px",
|
|
944
|
+
padding: "16px",
|
|
945
|
+
border: "1px solid #ddd",
|
|
946
|
+
borderTop: "none",
|
|
947
|
+
outline: "none",
|
|
948
|
+
fontFamily: "inherit",
|
|
949
|
+
fontSize: "inherit",
|
|
950
|
+
lineHeight: "1.6",
|
|
951
|
+
backgroundColor: "white"
|
|
952
|
+
},
|
|
953
|
+
...rest
|
|
954
|
+
}
|
|
955
|
+
),
|
|
956
|
+
selectedElement && resizeHandles && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
957
|
+
"div",
|
|
958
|
+
{
|
|
959
|
+
style: {
|
|
960
|
+
position: "absolute",
|
|
961
|
+
left: resizeHandles.x,
|
|
962
|
+
top: resizeHandles.y,
|
|
963
|
+
width: resizeHandles.width,
|
|
964
|
+
height: resizeHandles.height,
|
|
965
|
+
border: "2px solid #1976d2",
|
|
966
|
+
pointerEvents: "none",
|
|
967
|
+
zIndex: 1e3
|
|
968
|
+
},
|
|
969
|
+
children: [
|
|
970
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
971
|
+
material.Box,
|
|
972
|
+
{
|
|
973
|
+
sx: {
|
|
974
|
+
position: "absolute",
|
|
975
|
+
top: -36,
|
|
976
|
+
left: 0,
|
|
977
|
+
display: "flex",
|
|
978
|
+
gap: 0.5,
|
|
979
|
+
bgcolor: "white",
|
|
980
|
+
border: "1px solid #ddd",
|
|
981
|
+
borderRadius: 1,
|
|
982
|
+
p: 0.25,
|
|
983
|
+
boxShadow: 2,
|
|
984
|
+
pointerEvents: "auto"
|
|
985
|
+
},
|
|
986
|
+
children: [
|
|
987
|
+
selectedElement.tagName === "IMG" && /* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Replace Image", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
988
|
+
material.IconButton,
|
|
989
|
+
{
|
|
990
|
+
size: "small",
|
|
991
|
+
onClick: () => {
|
|
992
|
+
var _a;
|
|
993
|
+
return (_a = replaceImageInputRef.current) == null ? void 0 : _a.click();
|
|
994
|
+
},
|
|
995
|
+
sx: { width: 22, height: 22 },
|
|
996
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.SwapHoriz, { sx: { fontSize: 14 } })
|
|
997
|
+
}
|
|
998
|
+
) }),
|
|
999
|
+
selectedElement.tagName === "TABLE" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1000
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Add Row", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1001
|
+
material.IconButton,
|
|
1002
|
+
{
|
|
1003
|
+
size: "small",
|
|
1004
|
+
onClick: () => {
|
|
1005
|
+
const tbody = selectedElement.querySelector("tbody");
|
|
1006
|
+
if (tbody) {
|
|
1007
|
+
const colCount = selectedElement.querySelectorAll("tr:first-child td, tr:first-child th").length || 1;
|
|
1008
|
+
const tr = document.createElement("tr");
|
|
1009
|
+
for (let i = 0; i < colCount; i++) {
|
|
1010
|
+
const td = document.createElement("td");
|
|
1011
|
+
td.style.cssText = "border: 1px solid #ddd; padding: 8px; min-width: 50px;";
|
|
1012
|
+
tr.appendChild(td);
|
|
1013
|
+
}
|
|
1014
|
+
tbody.appendChild(tr);
|
|
1015
|
+
if (contentEditableRef.current) sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
1016
|
+
}
|
|
1017
|
+
},
|
|
1018
|
+
sx: { width: 22, height: 22 },
|
|
1019
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.AddCircleOutline, { sx: { fontSize: 14 } })
|
|
1020
|
+
}
|
|
1021
|
+
) }),
|
|
1022
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Delete Row", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1023
|
+
material.IconButton,
|
|
1024
|
+
{
|
|
1025
|
+
size: "small",
|
|
1026
|
+
onClick: () => {
|
|
1027
|
+
const rows = selectedElement.querySelectorAll("tbody tr");
|
|
1028
|
+
if (rows.length > 1) {
|
|
1029
|
+
rows[rows.length - 1].remove();
|
|
1030
|
+
if (contentEditableRef.current) sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
1031
|
+
}
|
|
1032
|
+
},
|
|
1033
|
+
sx: { width: 22, height: 22 },
|
|
1034
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.RemoveCircleOutline, { sx: { fontSize: 14 } })
|
|
1035
|
+
}
|
|
1036
|
+
) }),
|
|
1037
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Add Column", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1038
|
+
material.IconButton,
|
|
1039
|
+
{
|
|
1040
|
+
size: "small",
|
|
1041
|
+
onClick: () => {
|
|
1042
|
+
selectedElement.querySelectorAll("tr").forEach((tr) => {
|
|
1043
|
+
const isHeader = tr.closest("thead") !== null;
|
|
1044
|
+
const cell = document.createElement(isHeader ? "th" : "td");
|
|
1045
|
+
cell.style.cssText = "border: 1px solid #ddd; padding: 8px; min-width: 50px;";
|
|
1046
|
+
tr.appendChild(cell);
|
|
1047
|
+
});
|
|
1048
|
+
if (contentEditableRef.current) sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
1049
|
+
},
|
|
1050
|
+
sx: { width: 22, height: 22 },
|
|
1051
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.AddCircleOutline, { sx: { fontSize: 14, transform: "rotate(90deg)" } })
|
|
1052
|
+
}
|
|
1053
|
+
) }),
|
|
1054
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Delete Column", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1055
|
+
material.IconButton,
|
|
1056
|
+
{
|
|
1057
|
+
size: "small",
|
|
1058
|
+
onClick: () => {
|
|
1059
|
+
var _a;
|
|
1060
|
+
const allRows = selectedElement.querySelectorAll("tr");
|
|
1061
|
+
const colCount = ((_a = allRows[0]) == null ? void 0 : _a.children.length) || 0;
|
|
1062
|
+
if (colCount > 1) {
|
|
1063
|
+
allRows.forEach((tr) => {
|
|
1064
|
+
if (tr.lastElementChild) tr.removeChild(tr.lastElementChild);
|
|
1065
|
+
});
|
|
1066
|
+
if (contentEditableRef.current) sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
sx: { width: 22, height: 22 },
|
|
1070
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.RemoveCircleOutline, { sx: { fontSize: 14, transform: "rotate(90deg)" } })
|
|
1071
|
+
}
|
|
1072
|
+
) })
|
|
1073
|
+
] }),
|
|
1074
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Delete", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1075
|
+
material.IconButton,
|
|
1076
|
+
{
|
|
1077
|
+
size: "small",
|
|
1078
|
+
onClick: handleDeleteSelected,
|
|
1079
|
+
sx: {
|
|
1080
|
+
width: 22,
|
|
1081
|
+
height: 22,
|
|
1082
|
+
color: "#f44336",
|
|
1083
|
+
"&:hover": { bgcolor: "#ffebee" }
|
|
1084
|
+
},
|
|
1085
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.Close, { sx: { fontSize: 14 } })
|
|
1086
|
+
}
|
|
1087
|
+
) })
|
|
1088
|
+
]
|
|
1089
|
+
}
|
|
1090
|
+
),
|
|
1091
|
+
["nw", "n", "ne", "e", "se", "s", "sw", "w"].map((handle) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1092
|
+
"div",
|
|
1093
|
+
{
|
|
1094
|
+
onMouseDown: (e) => handleResizeStart(e, handle),
|
|
1095
|
+
style: {
|
|
1096
|
+
position: "absolute",
|
|
1097
|
+
width: 8,
|
|
1098
|
+
height: 8,
|
|
1099
|
+
backgroundColor: "#1976d2",
|
|
1100
|
+
border: "1px solid white",
|
|
1101
|
+
pointerEvents: "auto",
|
|
1102
|
+
cursor: `${handle}-resize`,
|
|
1103
|
+
...handle === "nw" && { top: -4, left: -4 },
|
|
1104
|
+
...handle === "n" && { top: -4, left: "50%", transform: "translateX(-50%)" },
|
|
1105
|
+
...handle === "ne" && { top: -4, right: -4 },
|
|
1106
|
+
...handle === "e" && { top: "50%", right: -4, transform: "translateY(-50%)" },
|
|
1107
|
+
...handle === "se" && { bottom: -4, right: -4 },
|
|
1108
|
+
...handle === "s" && { bottom: -4, left: "50%", transform: "translateX(-50%)" },
|
|
1109
|
+
...handle === "sw" && { bottom: -4, left: -4 },
|
|
1110
|
+
...handle === "w" && { top: "50%", left: -4, transform: "translateY(-50%)" }
|
|
1111
|
+
}
|
|
1112
|
+
},
|
|
1113
|
+
handle
|
|
1114
|
+
))
|
|
1115
|
+
]
|
|
1116
|
+
}
|
|
1117
|
+
),
|
|
1118
|
+
showTextToolbar && textSelectionAnchor && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1119
|
+
material.Box,
|
|
1120
|
+
{
|
|
1121
|
+
sx: {
|
|
1122
|
+
position: "fixed",
|
|
1123
|
+
left: textSelectionAnchor.x,
|
|
1124
|
+
top: textSelectionAnchor.y,
|
|
1125
|
+
transform: "translate(-50%, -100%)",
|
|
1126
|
+
display: "flex",
|
|
1127
|
+
gap: 0.5,
|
|
1128
|
+
bgcolor: "#333",
|
|
1129
|
+
color: "white",
|
|
1130
|
+
borderRadius: 1,
|
|
1131
|
+
p: 0.5,
|
|
1132
|
+
boxShadow: 3,
|
|
1133
|
+
zIndex: 1e4
|
|
1134
|
+
},
|
|
1135
|
+
children: [
|
|
1136
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Bold", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1137
|
+
material.IconButton,
|
|
1138
|
+
{
|
|
1139
|
+
size: "small",
|
|
1140
|
+
onMouseDown: toolbarCmd("bold"),
|
|
1141
|
+
sx: { color: "white", width: 28, height: 28 },
|
|
1142
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.FormatBold, { fontSize: "small" })
|
|
1143
|
+
}
|
|
1144
|
+
) }),
|
|
1145
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Italic", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1146
|
+
material.IconButton,
|
|
1147
|
+
{
|
|
1148
|
+
size: "small",
|
|
1149
|
+
onMouseDown: toolbarCmd("italic"),
|
|
1150
|
+
sx: { color: "white", width: 28, height: 28 },
|
|
1151
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.FormatItalic, { fontSize: "small" })
|
|
1152
|
+
}
|
|
1153
|
+
) }),
|
|
1154
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Underline", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1155
|
+
material.IconButton,
|
|
1156
|
+
{
|
|
1157
|
+
size: "small",
|
|
1158
|
+
onMouseDown: toolbarCmd("underline"),
|
|
1159
|
+
sx: { color: "white", width: 28, height: 28 },
|
|
1160
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(iconsMaterial.FormatUnderlined, { fontSize: "small" })
|
|
1161
|
+
}
|
|
1162
|
+
) }),
|
|
1163
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Divider, { orientation: "vertical", flexItem: true, sx: { bgcolor: "rgba(255,255,255,0.2)", mx: 0.5 } }),
|
|
1164
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Text Color", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1165
|
+
material.IconButton,
|
|
1166
|
+
{
|
|
1167
|
+
size: "small",
|
|
1168
|
+
sx: { color: "white", width: 28, height: 28 },
|
|
1169
|
+
onMouseDown: (e) => {
|
|
1170
|
+
e.preventDefault();
|
|
1171
|
+
setColorPickerState({ anchor: e.currentTarget, type: "text" });
|
|
1172
|
+
},
|
|
1173
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("span", { style: { fontSize: "14px", fontWeight: "bold" }, children: "A" })
|
|
1174
|
+
}
|
|
1175
|
+
) }),
|
|
1176
|
+
/* @__PURE__ */ jsxRuntime.jsx(material.Tooltip, { title: "Font Size", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1177
|
+
material.Select,
|
|
1178
|
+
{
|
|
1179
|
+
size: "small",
|
|
1180
|
+
defaultValue: "14px",
|
|
1181
|
+
onChange: handleFontSizeChange,
|
|
1182
|
+
sx: {
|
|
1183
|
+
color: "white",
|
|
1184
|
+
height: 28,
|
|
1185
|
+
minWidth: 70,
|
|
1186
|
+
"& .MuiOutlinedInput-notchedOutline": { border: "none" },
|
|
1187
|
+
"& .MuiSvgIcon-root": { color: "white" }
|
|
1188
|
+
},
|
|
1189
|
+
children: FONT_SIZES.map((size) => /* @__PURE__ */ jsxRuntime.jsx(material.MenuItem, { value: size, children: size }, size))
|
|
1190
|
+
}
|
|
1191
|
+
) })
|
|
1192
|
+
]
|
|
1193
|
+
}
|
|
1194
|
+
)
|
|
1195
|
+
] }),
|
|
1196
|
+
colorPickerState && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1197
|
+
material.Popover,
|
|
1198
|
+
{
|
|
1199
|
+
open: true,
|
|
1200
|
+
anchorEl: colorPickerState.anchor,
|
|
1201
|
+
onClose: () => setColorPickerState(null),
|
|
1202
|
+
disableAutoFocus: true,
|
|
1203
|
+
disableEnforceFocus: true,
|
|
1204
|
+
anchorOrigin: { vertical: "bottom", horizontal: "left" },
|
|
1205
|
+
transformOrigin: { vertical: "top", horizontal: "left" },
|
|
1206
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(material.Box, { sx: { p: 1 }, children: /* @__PURE__ */ jsxRuntime.jsx(material.Box, { sx: { display: "grid", gridTemplateColumns: "repeat(8, 20px)", gap: "3px" }, children: PRESET_COLORS.map((color) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1207
|
+
material.Box,
|
|
1208
|
+
{
|
|
1209
|
+
onMouseDown: (e) => {
|
|
1210
|
+
e.preventDefault();
|
|
1211
|
+
if (colorPickerState.type === "text") {
|
|
1212
|
+
execCommand("foreColor", color);
|
|
1213
|
+
} else {
|
|
1214
|
+
execCommand("hiliteColor", color);
|
|
1215
|
+
}
|
|
1216
|
+
setColorPickerState(null);
|
|
1217
|
+
},
|
|
1218
|
+
sx: {
|
|
1219
|
+
width: 20,
|
|
1220
|
+
height: 20,
|
|
1221
|
+
bgcolor: color,
|
|
1222
|
+
cursor: "pointer",
|
|
1223
|
+
border: "1px solid rgba(0,0,0,0.15)",
|
|
1224
|
+
borderRadius: "2px",
|
|
1225
|
+
"&:hover": { transform: "scale(1.3)", zIndex: 1, position: "relative" }
|
|
1226
|
+
}
|
|
1227
|
+
},
|
|
1228
|
+
color
|
|
1229
|
+
)) }) })
|
|
1230
|
+
}
|
|
1231
|
+
),
|
|
1232
|
+
showTablePicker && tablePickerAnchor && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1233
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1234
|
+
material.Box,
|
|
1235
|
+
{
|
|
1236
|
+
onClick: () => {
|
|
1237
|
+
setShowTablePicker(false);
|
|
1238
|
+
setTablePickerAnchor(null);
|
|
1239
|
+
},
|
|
1240
|
+
sx: {
|
|
1241
|
+
position: "fixed",
|
|
1242
|
+
top: 0,
|
|
1243
|
+
left: 0,
|
|
1244
|
+
right: 0,
|
|
1245
|
+
bottom: 0,
|
|
1246
|
+
zIndex: 9998
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
),
|
|
1250
|
+
/* @__PURE__ */ jsxRuntime.jsx(TablePicker, {})
|
|
1251
|
+
] })
|
|
1252
|
+
] });
|
|
1253
|
+
});
|
|
1254
|
+
CustomEditor.displayName = "CustomEditor";
|
|
1255
|
+
exports.CustomEditor = CustomEditor;
|
|
1256
|
+
exports.default = CustomEditor;
|
|
1257
|
+
//# sourceMappingURL=custom-editor-nTkpHU2U.js.map
|