@erpsquad/common 1.11.29 → 1.11.30
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/chunks/DonutChart-BlzVwF9V.js +104 -0
- package/dist/chunks/DonutChart-BlzVwF9V.js.map +1 -0
- package/dist/chunks/DonutChart-CBaRNVKd.esm.js +88 -0
- package/dist/chunks/DonutChart-CBaRNVKd.esm.js.map +1 -0
- package/dist/chunks/DynamicDependentField-B1jkZzNW.js +127 -0
- package/dist/chunks/DynamicDependentField-B1jkZzNW.js.map +1 -0
- package/dist/chunks/DynamicDependentField-m4v2i_Ss.esm.js +128 -0
- package/dist/chunks/DynamicDependentField-m4v2i_Ss.esm.js.map +1 -0
- package/dist/chunks/ERPUIProvider-D1yQ1CmD.esm.js +130 -0
- package/dist/chunks/ERPUIProvider-D1yQ1CmD.esm.js.map +1 -0
- package/dist/chunks/ERPUIProvider-O6cQFkJq.js +129 -0
- package/dist/chunks/ERPUIProvider-O6cQFkJq.js.map +1 -0
- package/dist/chunks/FORMS-CP_bWKVd.js +295 -0
- package/dist/chunks/FORMS-CP_bWKVd.js.map +1 -0
- package/dist/chunks/FORMS-D1M0DgHQ.esm.js +296 -0
- package/dist/chunks/FORMS-D1M0DgHQ.esm.js.map +1 -0
- package/dist/chunks/FlexibleReduxExample-Ckz_L6d8.esm.js +149 -0
- package/dist/chunks/FlexibleReduxExample-Ckz_L6d8.esm.js.map +1 -0
- package/dist/chunks/FlexibleReduxExample-Df-bAX9S.js +148 -0
- package/dist/chunks/FlexibleReduxExample-Df-bAX9S.js.map +1 -0
- package/dist/chunks/GroupBarChart-BSLOA0iQ.js +102 -0
- package/dist/chunks/GroupBarChart-BSLOA0iQ.js.map +1 -0
- package/dist/chunks/GroupBarChart-lhrIpM1h.esm.js +86 -0
- package/dist/chunks/GroupBarChart-lhrIpM1h.esm.js.map +1 -0
- package/dist/chunks/SectionFlowEditor-D1v29JFf.esm.js +5479 -0
- package/dist/chunks/SectionFlowEditor-D1v29JFf.esm.js.map +1 -0
- package/dist/chunks/SectionFlowEditor-D58o14CY.js +5478 -0
- package/dist/chunks/SectionFlowEditor-D58o14CY.js.map +1 -0
- package/dist/chunks/action-bar-D4SYJgTT.js +660 -0
- package/dist/chunks/action-bar-D4SYJgTT.js.map +1 -0
- package/dist/chunks/action-bar-D4Siz93J.esm.js +661 -0
- package/dist/chunks/action-bar-D4Siz93J.esm.js.map +1 -0
- package/dist/chunks/actionCreator-0uQghTUt.esm.js +22 -0
- package/dist/chunks/actionCreator-0uQghTUt.esm.js.map +1 -0
- package/dist/chunks/actionCreator-BIur2_cF.esm.js +28 -0
- package/dist/chunks/actionCreator-BIur2_cF.esm.js.map +1 -0
- package/dist/chunks/actionCreator-BYzzSzcP.esm.js +14 -0
- package/dist/chunks/actionCreator-BYzzSzcP.esm.js.map +1 -0
- package/dist/chunks/actionCreator-Cddz6Hfa.js +27 -0
- package/dist/chunks/actionCreator-Cddz6Hfa.js.map +1 -0
- package/dist/chunks/actionCreator-D45ZRUYG.js +13 -0
- package/dist/chunks/actionCreator-D45ZRUYG.js.map +1 -0
- package/dist/chunks/actionCreator-DA134jFh.js +21 -0
- package/dist/chunks/actionCreator-DA134jFh.js.map +1 -0
- package/dist/chunks/actionCreator-DCvH3aya.esm.js +79 -0
- package/dist/chunks/actionCreator-DCvH3aya.esm.js.map +1 -0
- package/dist/chunks/actionCreator-P2el50Ij.js +93 -0
- package/dist/chunks/actionCreator-P2el50Ij.js.map +1 -0
- package/dist/chunks/actionCreator-Ux93gVSu.esm.js +94 -0
- package/dist/chunks/actionCreator-Ux93gVSu.esm.js.map +1 -0
- package/dist/chunks/actionCreator-tNh5lk4r.js +78 -0
- package/dist/chunks/actionCreator-tNh5lk4r.js.map +1 -0
- package/dist/chunks/activity-log-ByIo_G8q.esm.js +104 -0
- package/dist/chunks/activity-log-ByIo_G8q.esm.js.map +1 -0
- package/dist/chunks/activity-log-Cyne0qwm.js +103 -0
- package/dist/chunks/activity-log-Cyne0qwm.js.map +1 -0
- package/dist/chunks/add-template-BYyqpxVx.js +10 -0
- package/dist/chunks/add-template-BYyqpxVx.js.map +1 -0
- package/dist/chunks/add-template-D1Ro9dcG.esm.js +11 -0
- package/dist/chunks/add-template-D1Ro9dcG.esm.js.map +1 -0
- package/dist/chunks/address-modal-CfE5Ae8t.js +680 -0
- package/dist/chunks/address-modal-CfE5Ae8t.js.map +1 -0
- package/dist/chunks/address-modal-gRlouRj8.esm.js +664 -0
- package/dist/chunks/address-modal-gRlouRj8.esm.js.map +1 -0
- package/dist/chunks/ai-summary-BxB8Rnuk.js +350 -0
- package/dist/chunks/ai-summary-BxB8Rnuk.js.map +1 -0
- package/dist/chunks/ai-summary-CxAKUX2p.esm.js +351 -0
- package/dist/chunks/ai-summary-CxAKUX2p.esm.js.map +1 -0
- package/dist/chunks/api-DwmixHAO.js +5922 -0
- package/dist/chunks/api-DwmixHAO.js.map +1 -0
- package/dist/chunks/api-u1lKzJVv.esm.js +5923 -0
- package/dist/chunks/api-u1lKzJVv.esm.js.map +1 -0
- package/dist/chunks/appbar-B9EKR8QS.esm.js +57 -0
- package/dist/chunks/appbar-B9EKR8QS.esm.js.map +1 -0
- package/dist/chunks/appbar-Dt_exHJ3.js +56 -0
- package/dist/chunks/appbar-Dt_exHJ3.js.map +1 -0
- package/dist/chunks/approval-wrapper-C8iOUYeE.js +139 -0
- package/dist/chunks/approval-wrapper-C8iOUYeE.js.map +1 -0
- package/dist/chunks/approval-wrapper-OmXAoB9R.esm.js +140 -0
- package/dist/chunks/approval-wrapper-OmXAoB9R.esm.js.map +1 -0
- package/dist/chunks/areaLinerChart-BEiJvhIq.esm.js +104 -0
- package/dist/chunks/areaLinerChart-BEiJvhIq.esm.js.map +1 -0
- package/dist/chunks/areaLinerChart-DetB92LI.js +120 -0
- package/dist/chunks/areaLinerChart-DetB92LI.js.map +1 -0
- package/dist/chunks/bar-chart-BjAvgQJP.esm.js +87 -0
- package/dist/chunks/bar-chart-BjAvgQJP.esm.js.map +1 -0
- package/dist/chunks/bar-chart-HkOgepOg.js +103 -0
- package/dist/chunks/bar-chart-HkOgepOg.js.map +1 -0
- package/dist/chunks/barChart-B-WO75Ok.js +160 -0
- package/dist/chunks/barChart-B-WO75Ok.js.map +1 -0
- package/dist/chunks/barChart-BLhVsRwm.esm.js +144 -0
- package/dist/chunks/barChart-BLhVsRwm.esm.js.map +1 -0
- package/dist/chunks/barLinechart-D3G4VUJZ.esm.js +180 -0
- package/dist/chunks/barLinechart-D3G4VUJZ.esm.js.map +1 -0
- package/dist/chunks/barLinechart-DEfYJvJj.js +196 -0
- package/dist/chunks/barLinechart-DEfYJvJj.js.map +1 -0
- package/dist/chunks/calculation-summary-GdbtqnzK.esm.js +193 -0
- package/dist/chunks/calculation-summary-GdbtqnzK.esm.js.map +1 -0
- package/dist/chunks/calculation-summary-IGoIPXGL.js +192 -0
- package/dist/chunks/calculation-summary-IGoIPXGL.js.map +1 -0
- package/dist/chunks/chat-bot-BIXoGUj-.js +3609 -0
- package/dist/chunks/chat-bot-BIXoGUj-.js.map +1 -0
- package/dist/chunks/chat-bot-DURQfOqY.esm.js +3610 -0
- package/dist/chunks/chat-bot-DURQfOqY.esm.js.map +1 -0
- package/dist/chunks/common-utility-BLazlXzI.js +300 -0
- package/dist/chunks/common-utility-BLazlXzI.js.map +1 -0
- package/dist/chunks/common-utility-BQcU3rOh.esm.js +301 -0
- package/dist/chunks/common-utility-BQcU3rOh.esm.js.map +1 -0
- package/dist/chunks/custom-date-picker-BCcOhhvL.js +55 -0
- package/dist/chunks/custom-date-picker-BCcOhhvL.js.map +1 -0
- package/dist/chunks/custom-date-picker-qIdI_Mxe.esm.js +56 -0
- package/dist/chunks/custom-date-picker-qIdI_Mxe.esm.js.map +1 -0
- package/dist/chunks/custom-editor-CPTkZWIZ.js +1257 -0
- package/dist/chunks/custom-editor-CPTkZWIZ.js.map +1 -0
- package/dist/chunks/custom-editor-De9IWFLM.esm.js +1257 -0
- package/dist/chunks/custom-editor-De9IWFLM.esm.js.map +1 -0
- package/dist/chunks/custom-form-BoIrVoZW.esm.js +1146 -0
- package/dist/chunks/custom-form-BoIrVoZW.esm.js.map +1 -0
- package/dist/chunks/custom-form-DgnkFIZM.js +1145 -0
- package/dist/chunks/custom-form-DgnkFIZM.js.map +1 -0
- package/dist/chunks/custom-grid-card-DWv2PDQb.esm.js +128 -0
- package/dist/chunks/custom-grid-card-DWv2PDQb.esm.js.map +1 -0
- package/dist/chunks/custom-grid-card-H63FyqOk.js +127 -0
- package/dist/chunks/custom-grid-card-H63FyqOk.js.map +1 -0
- package/dist/chunks/dashboard-CVAH7i-8.esm.js +75 -0
- package/dist/chunks/dashboard-CVAH7i-8.esm.js.map +1 -0
- package/dist/chunks/dashboard-Drpz8zP5.js +74 -0
- package/dist/chunks/dashboard-Drpz8zP5.js.map +1 -0
- package/dist/chunks/date-BN5rVQeb.js +55 -0
- package/dist/chunks/date-BN5rVQeb.js.map +1 -0
- package/dist/chunks/date-CZNWJ8r7.esm.js +56 -0
- package/dist/chunks/date-CZNWJ8r7.esm.js.map +1 -0
- package/dist/chunks/date-format-settings-DohP3zvG.esm.js +117 -0
- package/dist/chunks/date-format-settings-DohP3zvG.esm.js.map +1 -0
- package/dist/chunks/date-format-settings-QiQTyiTn.js +116 -0
- package/dist/chunks/date-format-settings-QiQTyiTn.js.map +1 -0
- package/dist/chunks/date-picker-BAf8u-E9.esm.js +129 -0
- package/dist/chunks/date-picker-BAf8u-E9.esm.js.map +1 -0
- package/dist/chunks/date-picker-Dv_dfc9e.js +128 -0
- package/dist/chunks/date-picker-Dv_dfc9e.js.map +1 -0
- package/dist/chunks/date-range-picker-BHAVj3qf.js +62 -0
- package/dist/chunks/date-range-picker-BHAVj3qf.js.map +1 -0
- package/dist/chunks/date-range-picker-Ce01L3eF.esm.js +198 -0
- package/dist/chunks/date-range-picker-Ce01L3eF.esm.js.map +1 -0
- package/dist/chunks/date-range-picker-Dt6ODTKk.js +197 -0
- package/dist/chunks/date-range-picker-Dt6ODTKk.js.map +1 -0
- package/dist/chunks/date-range-picker-XrXYvhk6.esm.js +63 -0
- package/dist/chunks/date-range-picker-XrXYvhk6.esm.js.map +1 -0
- package/dist/chunks/date-time-Cscyu2JC.esm.js +55 -0
- package/dist/chunks/date-time-Cscyu2JC.esm.js.map +1 -0
- package/dist/chunks/date-time-DnEKq5ca.js +54 -0
- package/dist/chunks/date-time-DnEKq5ca.js.map +1 -0
- package/dist/chunks/date-time-picker-DOjxcYjT.js +115 -0
- package/dist/chunks/date-time-picker-DOjxcYjT.js.map +1 -0
- package/dist/chunks/date-time-picker-Dcs1e1Bc.esm.js +116 -0
- package/dist/chunks/date-time-picker-Dcs1e1Bc.esm.js.map +1 -0
- package/dist/chunks/dateFormat-BU9us1HO.esm.js +58 -0
- package/dist/chunks/dateFormat-BU9us1HO.esm.js.map +1 -0
- package/dist/chunks/dateFormat-MGjtBNwQ.js +57 -0
- package/dist/chunks/dateFormat-MGjtBNwQ.js.map +1 -0
- package/dist/chunks/discount-summary-C2L7GwJ5.esm.js +60 -0
- package/dist/chunks/discount-summary-C2L7GwJ5.esm.js.map +1 -0
- package/dist/chunks/discount-summary-CdrsdFbM.js +59 -0
- package/dist/chunks/discount-summary-CdrsdFbM.js.map +1 -0
- package/dist/chunks/dynamic-report-Bq614rL9.esm.js +589 -0
- package/dist/chunks/dynamic-report-Bq614rL9.esm.js.map +1 -0
- package/dist/chunks/dynamic-report-Dc2pd29H.js +588 -0
- package/dist/chunks/dynamic-report-Dc2pd29H.js.map +1 -0
- package/dist/chunks/dynamic-rows-BMj3evxl.js +249 -0
- package/dist/chunks/dynamic-rows-BMj3evxl.js.map +1 -0
- package/dist/chunks/dynamic-rows-Bi_L6K1Q.esm.js +250 -0
- package/dist/chunks/dynamic-rows-Bi_L6K1Q.esm.js.map +1 -0
- package/dist/chunks/dynamic-text-editor-BzyWihOp.js +44 -0
- package/dist/chunks/dynamic-text-editor-BzyWihOp.js.map +1 -0
- package/dist/chunks/dynamic-text-editor-FtzncH90.esm.js +45 -0
- package/dist/chunks/dynamic-text-editor-FtzncH90.esm.js.map +1 -0
- package/dist/chunks/edit-section-modal-By1pY8Kd.js +76 -0
- package/dist/chunks/edit-section-modal-By1pY8Kd.js.map +1 -0
- package/dist/chunks/edit-section-modal-lx44BKxM.esm.js +77 -0
- package/dist/chunks/edit-section-modal-lx44BKxM.esm.js.map +1 -0
- package/dist/chunks/filter-3x9UWii1.js +414 -0
- package/dist/chunks/filter-3x9UWii1.js.map +1 -0
- package/dist/chunks/filter-BnSYAact.esm.js +415 -0
- package/dist/chunks/filter-BnSYAact.esm.js.map +1 -0
- package/dist/chunks/footer-BDXx5kJG.esm.js +64 -0
- package/dist/chunks/footer-BDXx5kJG.esm.js.map +1 -0
- package/dist/chunks/footer-CNUL1un1.js +63 -0
- package/dist/chunks/footer-CNUL1un1.js.map +1 -0
- package/dist/chunks/form-fields-D7-_tDuw.esm.js +355 -0
- package/dist/chunks/form-fields-D7-_tDuw.esm.js.map +1 -0
- package/dist/chunks/form-fields-DYqWfI4L.js +354 -0
- package/dist/chunks/form-fields-DYqWfI4L.js.map +1 -0
- package/dist/chunks/form-parser-DgKyP2XE.esm.js +591 -0
- package/dist/chunks/form-parser-DgKyP2XE.esm.js.map +1 -0
- package/dist/chunks/form-parser-r9UB3j_l.js +607 -0
- package/dist/chunks/form-parser-r9UB3j_l.js.map +1 -0
- package/dist/chunks/form-section-B0UL95xN.esm.js +476 -0
- package/dist/chunks/form-section-B0UL95xN.esm.js.map +1 -0
- package/dist/chunks/form-section-Ra3TDNTJ.js +475 -0
- package/dist/chunks/form-section-Ra3TDNTJ.js.map +1 -0
- package/dist/chunks/format-chart-value-EdWQQL_n.esm.js +37 -0
- package/dist/chunks/format-chart-value-EdWQQL_n.esm.js.map +1 -0
- package/dist/chunks/format-chart-value-liFH0bwI.js +53 -0
- package/dist/chunks/format-chart-value-liFH0bwI.js.map +1 -0
- package/dist/chunks/fullScreen-CIO00GJA.js +20 -0
- package/dist/chunks/fullScreen-CIO00GJA.js.map +1 -0
- package/dist/chunks/fullScreen-Cf1lZpPP.esm.js +21 -0
- package/dist/chunks/fullScreen-Cf1lZpPP.esm.js.map +1 -0
- package/dist/chunks/global-search-BsF1AKA-.js +149 -0
- package/dist/chunks/global-search-BsF1AKA-.js.map +1 -0
- package/dist/chunks/global-search-DyHFvWRQ.esm.js +150 -0
- package/dist/chunks/global-search-DyHFvWRQ.esm.js.map +1 -0
- package/dist/chunks/grid-view-5_HV93Hf.esm.js +52 -0
- package/dist/chunks/grid-view-5_HV93Hf.esm.js.map +1 -0
- package/dist/chunks/grid-view-D0q_qMd2.js +51 -0
- package/dist/chunks/grid-view-D0q_qMd2.js.map +1 -0
- package/dist/chunks/header-DAad5p_7.js +90 -0
- package/dist/chunks/header-DAad5p_7.js.map +1 -0
- package/dist/chunks/header-S5MMcx4g.esm.js +91 -0
- package/dist/chunks/header-S5MMcx4g.esm.js.map +1 -0
- package/dist/chunks/header-enhanced-BPJQGGo7.js +400 -0
- package/dist/chunks/header-enhanced-BPJQGGo7.js.map +1 -0
- package/dist/chunks/header-enhanced-BtUsM1g3.esm.js +401 -0
- package/dist/chunks/header-enhanced-BtUsM1g3.esm.js.map +1 -0
- package/dist/chunks/inline-edit-fields-BXrrK0UT.esm.js +324 -0
- package/dist/chunks/inline-edit-fields-BXrrK0UT.esm.js.map +1 -0
- package/dist/chunks/inline-edit-fields-DeS-sx9_.js +340 -0
- package/dist/chunks/inline-edit-fields-DeS-sx9_.js.map +1 -0
- package/dist/chunks/inventory-reports-title-bar-CFqheEGb.js +733 -0
- package/dist/chunks/inventory-reports-title-bar-CFqheEGb.js.map +1 -0
- package/dist/chunks/inventory-reports-title-bar-CuPn69g7.esm.js +734 -0
- package/dist/chunks/inventory-reports-title-bar-CuPn69g7.esm.js.map +1 -0
- package/dist/chunks/item-response-details-BkE8ExKF.js +78 -0
- package/dist/chunks/item-response-details-BkE8ExKF.js.map +1 -0
- package/dist/chunks/item-response-details-FLk2xeBs.esm.js +79 -0
- package/dist/chunks/item-response-details-FLk2xeBs.esm.js.map +1 -0
- package/dist/chunks/listing-BlTk1lk7.js +275 -0
- package/dist/chunks/listing-BlTk1lk7.js.map +1 -0
- package/dist/chunks/listing-CBjRBr5T.esm.js +276 -0
- package/dist/chunks/listing-CBjRBr5T.esm.js.map +1 -0
- package/dist/chunks/location-select-BfXoscUj.esm.js +86 -0
- package/dist/chunks/location-select-BfXoscUj.esm.js.map +1 -0
- package/dist/chunks/location-select-C4r-bjZM.js +85 -0
- package/dist/chunks/location-select-C4r-bjZM.js.map +1 -0
- package/dist/chunks/material-editable-table-CUi1XChG.esm.js +1469 -0
- package/dist/chunks/material-editable-table-CUi1XChG.esm.js.map +1 -0
- package/dist/chunks/material-editable-table-DvOXRsag.js +1485 -0
- package/dist/chunks/material-editable-table-DvOXRsag.js.map +1 -0
- package/dist/chunks/module-reducer-1oIfrGzZ.js +91 -0
- package/dist/chunks/module-reducer-1oIfrGzZ.js.map +1 -0
- package/dist/chunks/module-reducer-Brv5y-yX.esm.js +92 -0
- package/dist/chunks/module-reducer-Brv5y-yX.esm.js.map +1 -0
- package/dist/chunks/multi-line-chart-CrQ7Hgm6.esm.js +96 -0
- package/dist/chunks/multi-line-chart-CrQ7Hgm6.esm.js.map +1 -0
- package/dist/chunks/multi-line-chart-DR6mEZ86.js +112 -0
- package/dist/chunks/multi-line-chart-DR6mEZ86.js.map +1 -0
- package/dist/chunks/notification-menu-B6DQbph4.js +600 -0
- package/dist/chunks/notification-menu-B6DQbph4.js.map +1 -0
- package/dist/chunks/notification-menu-BBEzqTvl.esm.js +601 -0
- package/dist/chunks/notification-menu-BBEzqTvl.esm.js.map +1 -0
- package/dist/chunks/page-action-BmdnKUie.js +324 -0
- package/dist/chunks/page-action-BmdnKUie.js.map +1 -0
- package/dist/chunks/page-action-DGnAycU4.esm.js +325 -0
- package/dist/chunks/page-action-DGnAycU4.esm.js.map +1 -0
- package/dist/chunks/page-navigator-BnJz0dir.esm.js +243 -0
- package/dist/chunks/page-navigator-BnJz0dir.esm.js.map +1 -0
- package/dist/chunks/page-navigator-qI4ptpIo.js +242 -0
- package/dist/chunks/page-navigator-qI4ptpIo.js.map +1 -0
- package/dist/chunks/page-view-BzUYT4aO.esm.js +324 -0
- package/dist/chunks/page-view-BzUYT4aO.esm.js.map +1 -0
- package/dist/chunks/page-view-CgKAg8Fs.js +323 -0
- package/dist/chunks/page-view-CgKAg8Fs.js.map +1 -0
- package/dist/chunks/quick-approval-modal--Uat95AK.js +272 -0
- package/dist/chunks/quick-approval-modal--Uat95AK.js.map +1 -0
- package/dist/chunks/quick-approval-modal-Cf5zDkO6.esm.js +256 -0
- package/dist/chunks/quick-approval-modal-Cf5zDkO6.esm.js.map +1 -0
- package/dist/chunks/reducer-5KSgWLUj.js +49 -0
- package/dist/chunks/reducer-5KSgWLUj.js.map +1 -0
- package/dist/chunks/reducer-BVEMC024.esm.js +33 -0
- package/dist/chunks/reducer-BVEMC024.esm.js.map +1 -0
- package/dist/chunks/reducer-Ba-Uxr0O.js +42 -0
- package/dist/chunks/reducer-Ba-Uxr0O.js.map +1 -0
- package/dist/chunks/reducer-C3gV86mN.esm.js +56 -0
- package/dist/chunks/reducer-C3gV86mN.esm.js.map +1 -0
- package/dist/chunks/reducer-C_1a_Ybe.js +32 -0
- package/dist/chunks/reducer-C_1a_Ybe.js.map +1 -0
- package/dist/chunks/reducer-DXCv8Ljo.esm.js +43 -0
- package/dist/chunks/reducer-DXCv8Ljo.esm.js.map +1 -0
- package/dist/chunks/reducer-DklAfYwo.js +55 -0
- package/dist/chunks/reducer-DklAfYwo.js.map +1 -0
- package/dist/chunks/reducer-DujEnCl-.js +147 -0
- package/dist/chunks/reducer-DujEnCl-.js.map +1 -0
- package/dist/chunks/reducer-PeqRGVlz.esm.js +148 -0
- package/dist/chunks/reducer-PeqRGVlz.esm.js.map +1 -0
- package/dist/chunks/reducer-e3sR-XbO.esm.js +50 -0
- package/dist/chunks/reducer-e3sR-XbO.esm.js.map +1 -0
- package/dist/chunks/reportFilter-DoD3vUsz.esm.js +396 -0
- package/dist/chunks/reportFilter-DoD3vUsz.esm.js.map +1 -0
- package/dist/chunks/reportFilter-DzgDlbu8.js +395 -0
- package/dist/chunks/reportFilter-DzgDlbu8.js.map +1 -0
- package/dist/chunks/reports-title-bar-BpeDKpyV.js +1027 -0
- package/dist/chunks/reports-title-bar-BpeDKpyV.js.map +1 -0
- package/dist/chunks/reports-title-bar-Bt9ogCT7.esm.js +1028 -0
- package/dist/chunks/reports-title-bar-Bt9ogCT7.esm.js.map +1 -0
- package/dist/chunks/route-page-map-LXxD_klV.js +8054 -0
- package/dist/chunks/route-page-map-LXxD_klV.js.map +1 -0
- package/dist/chunks/route-page-map-j4V1FsT3.esm.js +8055 -0
- package/dist/chunks/route-page-map-j4V1FsT3.esm.js.map +1 -0
- package/dist/chunks/routes-7yLS4Qxk.js +46 -0
- package/dist/chunks/routes-7yLS4Qxk.js.map +1 -0
- package/dist/chunks/routes-BE9OtJcV.esm.js +47 -0
- package/dist/chunks/routes-BE9OtJcV.esm.js.map +1 -0
- package/dist/chunks/schedule-report-B4hM1BQS.esm.js +236 -0
- package/dist/chunks/schedule-report-B4hM1BQS.esm.js.map +1 -0
- package/dist/chunks/schedule-report-D5Gtf9VF.js +235 -0
- package/dist/chunks/schedule-report-D5Gtf9VF.js.map +1 -0
- package/dist/chunks/schedule-report-modal-CFAdRSIO.esm.js +288 -0
- package/dist/chunks/schedule-report-modal-CFAdRSIO.esm.js.map +1 -0
- package/dist/chunks/schedule-report-modal-DDsrLqOm.js +287 -0
- package/dist/chunks/schedule-report-modal-DDsrLqOm.js.map +1 -0
- package/dist/chunks/searchable-select-5i6MO2Ys.esm.js +5431 -0
- package/dist/chunks/searchable-select-5i6MO2Ys.esm.js.map +1 -0
- package/dist/chunks/searchable-select-BsG-QlJk.js +5447 -0
- package/dist/chunks/searchable-select-BsG-QlJk.js.map +1 -0
- package/dist/chunks/share-modal-Bpa_0udn.esm.js +218 -0
- package/dist/chunks/share-modal-Bpa_0udn.esm.js.map +1 -0
- package/dist/chunks/share-modal-CaYg96t_.js +217 -0
- package/dist/chunks/share-modal-CaYg96t_.js.map +1 -0
- package/dist/chunks/share-modal-enhanced-B7JfgceP.esm.js +270 -0
- package/dist/chunks/share-modal-enhanced-B7JfgceP.esm.js.map +1 -0
- package/dist/chunks/share-modal-enhanced-BguLEFga.js +269 -0
- package/dist/chunks/share-modal-enhanced-BguLEFga.js.map +1 -0
- package/dist/chunks/sidebarScreen-DgpLalyG.js +200 -0
- package/dist/chunks/sidebarScreen-DgpLalyG.js.map +1 -0
- package/dist/chunks/sidebarScreen-Dp1e8Luz.esm.js +201 -0
- package/dist/chunks/sidebarScreen-Dp1e8Luz.esm.js.map +1 -0
- package/dist/chunks/store-CuKFQXI5.js +88 -0
- package/dist/chunks/store-CuKFQXI5.js.map +1 -0
- package/dist/chunks/store-KAx-wGcm.esm.js +89 -0
- package/dist/chunks/store-KAx-wGcm.esm.js.map +1 -0
- package/dist/chunks/table-CbV-bnb7.js +184 -0
- package/dist/chunks/table-CbV-bnb7.js.map +1 -0
- package/dist/chunks/table-Cdo7w_gv.esm.js +185 -0
- package/dist/chunks/table-Cdo7w_gv.esm.js.map +1 -0
- package/dist/chunks/table-form-CsxWI8HQ.esm.js +1537 -0
- package/dist/chunks/table-form-CsxWI8HQ.esm.js.map +1 -0
- package/dist/chunks/table-form-Dd2DNL6w.js +1536 -0
- package/dist/chunks/table-form-Dd2DNL6w.js.map +1 -0
- package/dist/chunks/template-editor-router-3FVvWm8W.js +8 -0
- package/dist/chunks/template-editor-router-3FVvWm8W.js.map +1 -0
- package/dist/chunks/template-editor-router-D0yZgK0u.esm.js +9 -0
- package/dist/chunks/template-editor-router-D0yZgK0u.esm.js.map +1 -0
- package/dist/chunks/template-modal-BHZbvEx9.esm.js +769 -0
- package/dist/chunks/template-modal-BHZbvEx9.esm.js.map +1 -0
- package/dist/chunks/template-modal-BuKxVaFw.js +768 -0
- package/dist/chunks/template-modal-BuKxVaFw.js.map +1 -0
- package/dist/chunks/templates-B_y-ywXc.esm.js +279 -0
- package/dist/chunks/templates-B_y-ywXc.esm.js.map +1 -0
- package/dist/chunks/templates-CtBwZgn9.js +278 -0
- package/dist/chunks/templates-CtBwZgn9.js.map +1 -0
- package/dist/chunks/text-measurement-BcBEexWP.js +251 -0
- package/dist/chunks/text-measurement-BcBEexWP.js.map +1 -0
- package/dist/chunks/text-measurement-w3Vk7SeS.esm.js +252 -0
- package/dist/chunks/text-measurement-w3Vk7SeS.esm.js.map +1 -0
- package/dist/chunks/total-summary-DPOMR8e4.esm.js +41 -0
- package/dist/chunks/total-summary-DPOMR8e4.esm.js.map +1 -0
- package/dist/chunks/total-summary-erUelIxr.js +40 -0
- package/dist/chunks/total-summary-erUelIxr.js.map +1 -0
- package/dist/chunks/translations-BnLuKxeJ.js +58 -0
- package/dist/chunks/translations-BnLuKxeJ.js.map +1 -0
- package/dist/chunks/translations-DQJAYm2A.esm.js +59 -0
- package/dist/chunks/translations-DQJAYm2A.esm.js.map +1 -0
- package/dist/chunks/uom-field-wrapper-BlwUeXmo.js +79 -0
- package/dist/chunks/uom-field-wrapper-BlwUeXmo.js.map +1 -0
- package/dist/chunks/uom-field-wrapper-D2QSsD7M.esm.js +80 -0
- package/dist/chunks/uom-field-wrapper-D2QSsD7M.esm.js.map +1 -0
- package/dist/chunks/upload-excel-DF6rPBeA.esm.js +361 -0
- package/dist/chunks/upload-excel-DF6rPBeA.esm.js.map +1 -0
- package/dist/chunks/upload-excel-vbTf63qn.js +360 -0
- package/dist/chunks/upload-excel-vbTf63qn.js.map +1 -0
- package/dist/chunks/use-translations-C_AFtNWf.esm.js +62 -0
- package/dist/chunks/use-translations-C_AFtNWf.esm.js.map +1 -0
- package/dist/chunks/use-translations-Dnm_y9o4.js +61 -0
- package/dist/chunks/use-translations-Dnm_y9o4.js.map +1 -0
- package/dist/chunks/useAccountSetting-BimM7OxP.js +172 -0
- package/dist/chunks/useAccountSetting-BimM7OxP.js.map +1 -0
- package/dist/chunks/useAccountSetting-BsIE2d1l.esm.js +173 -0
- package/dist/chunks/useAccountSetting-BsIE2d1l.esm.js.map +1 -0
- package/dist/chunks/useCheckSkuAndName-C0twPQja.esm.js +50 -0
- package/dist/chunks/useCheckSkuAndName-C0twPQja.esm.js.map +1 -0
- package/dist/chunks/useCheckSkuAndName-CQq8Le-_.js +49 -0
- package/dist/chunks/useCheckSkuAndName-CQq8Le-_.js.map +1 -0
- package/dist/chunks/useReduxIntegration-B5GrPUbT.js +38 -0
- package/dist/chunks/useReduxIntegration-B5GrPUbT.js.map +1 -0
- package/dist/chunks/useReduxIntegration-DzhcP34r.esm.js +39 -0
- package/dist/chunks/useReduxIntegration-DzhcP34r.esm.js.map +1 -0
- package/dist/chunks/useUniquenessCheck-BIT9TNYY.esm.js +39 -0
- package/dist/chunks/useUniquenessCheck-BIT9TNYY.esm.js.map +1 -0
- package/dist/chunks/useUniquenessCheck-VBBQqtYP.js +38 -0
- package/dist/chunks/useUniquenessCheck-VBBQqtYP.js.map +1 -0
- package/dist/chunks/useVendorAICompare-Bu4fjpby.esm.js +31 -0
- package/dist/chunks/useVendorAICompare-Bu4fjpby.esm.js.map +1 -0
- package/dist/chunks/useVendorAICompare-Cad1SOQx.js +30 -0
- package/dist/chunks/useVendorAICompare-Cad1SOQx.js.map +1 -0
- package/dist/chunks/value-editor-CtppXtUW.js +266 -0
- package/dist/chunks/value-editor-CtppXtUW.js.map +1 -0
- package/dist/chunks/value-editor-xwtdV2gn.esm.js +267 -0
- package/dist/chunks/value-editor-xwtdV2gn.esm.js.map +1 -0
- package/dist/chunks/vendor-ai-summary-Cf8yBCJC.js +227 -0
- package/dist/chunks/vendor-ai-summary-Cf8yBCJC.js.map +1 -0
- package/dist/chunks/vendor-ai-summary-w6_aC72U.esm.js +228 -0
- package/dist/chunks/vendor-ai-summary-w6_aC72U.esm.js.map +1 -0
- 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/activityLog/activity-log/index.esm.js +1 -1
- package/dist/components/activityLog/activity-log/index.js +1 -1
- package/dist/components/activityLog/index.esm.js +1 -1
- package/dist/components/activityLog/index.js +1 -1
- package/dist/components/address-modal/index.esm.js +1 -1
- package/dist/components/address-modal/index.js +1 -1
- package/dist/components/ai-summary/ai-summary/index.esm.js +1 -1
- package/dist/components/ai-summary/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/components/discount-summary/index.esm.js +1 -1
- package/dist/components/calculation-summary/components/discount-summary/index.js +1 -1
- package/dist/components/calculation-summary/components/index.esm.js +2 -2
- package/dist/components/calculation-summary/components/index.js +2 -2
- package/dist/components/calculation-summary/components/total-summary/index.esm.js +1 -1
- package/dist/components/calculation-summary/components/total-summary/index.js +1 -1
- package/dist/components/calculation-summary/index.esm.js +3 -3
- package/dist/components/calculation-summary/index.js +3 -3
- package/dist/components/charts/areaLinerChart/index.esm.js +1 -1
- package/dist/components/charts/areaLinerChart/index.js +1 -1
- package/dist/components/charts/bar-chart/bar-chart/index.esm.js +1 -1
- package/dist/components/charts/bar-chart/bar-chart/index.js +1 -1
- package/dist/components/charts/bar-chart/index.esm.js +1 -1
- package/dist/components/charts/bar-chart/index.js +1 -1
- package/dist/components/charts/barChart/barChart/index.esm.js +1 -1
- package/dist/components/charts/barChart/barChart/index.js +1 -1
- package/dist/components/charts/barChart/index.esm.js +1 -1
- package/dist/components/charts/barChart/index.js +1 -1
- package/dist/components/charts/barLineChart/barLinechart/index.esm.js +1 -1
- package/dist/components/charts/barLineChart/barLinechart/index.js +1 -1
- package/dist/components/charts/barLineChart/index.esm.js +1 -1
- package/dist/components/charts/barLineChart/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 +7 -7
- package/dist/components/charts/index.js +7 -7
- package/dist/components/charts/multiLineChart/index.esm.js +1 -1
- package/dist/components/charts/multiLineChart/index.js +1 -1
- package/dist/components/charts/multiLineChart/multi-line-chart/index.esm.js +1 -1
- package/dist/components/charts/multiLineChart/multi-line-chart/index.js +1 -1
- package/dist/components/chat-bot/index.esm.js +2 -1
- package/dist/components/chat-bot/index.js +2 -1
- package/dist/components/chat-bot/index.js.map +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/customer-ai-summary/index.esm.js +1 -1
- package/dist/components/customer-ai-summary/index.js +1 -1
- package/dist/components/date-picker/date-picker/index.esm.js +1 -1
- package/dist/components/date-picker/date-picker/index.js +1 -1
- package/dist/components/date-picker/index.esm.js +2 -2
- package/dist/components/date-picker/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/date-time-picker/date-time-picker/index.esm.js +1 -1
- package/dist/components/date-time-picker/date-time-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.esm.js +2 -2
- package/dist/components/date-time-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/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/filter/components/index.esm.js +1 -1
- package/dist/components/filter/components/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 +2 -2
- package/dist/components/filter/index.js +2 -2
- 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-control/form-builder/form-builder-element/custom-date-picker/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/custom-date-picker/index.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/date/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/date/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/date-time/index.esm.js +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/date-time/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 +8 -8
- package/dist/components/form-control/form-builder/form-builder-element/index.js +8 -8
- 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/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/index.esm.js +8 -8
- package/dist/components/form-control/form-builder/index.js +8 -8
- 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 +10 -10
- package/dist/components/form-control/index.js +10 -10
- package/dist/components/grid/custom-grid-card/custom-grid-card/index.esm.js +1 -1
- package/dist/components/grid/custom-grid-card/custom-grid-card/index.js +1 -1
- package/dist/components/grid/custom-grid-card/index.esm.js +1 -1
- package/dist/components/grid/custom-grid-card/index.js +1 -1
- package/dist/components/grid/index.esm.js +1 -1
- package/dist/components/grid/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 +1 -1
- package/dist/components/header/components/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/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 +5 -5
- package/dist/components/header/index.js +5 -5
- 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 +53 -53
- package/dist/components/index.js +53 -53
- package/dist/components/inventory-reports-title-bar/component/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/component/index.js +1 -1
- package/dist/components/inventory-reports-title-bar/component/reportFilter/index.esm.js +1 -1
- package/dist/components/inventory-reports-title-bar/component/reportFilter/index.js +1 -1
- package/dist/components/inventory-reports-title-bar/index.esm.js +4 -4
- package/dist/components/inventory-reports-title-bar/index.js +4 -4
- 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/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/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/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/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 +3 -3
- package/dist/components/reports-title-bar/index.js +3 -3
- 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/reports-title-bar/index.esm.js +1 -1
- package/dist/components/reports-title-bar/reports-title-bar/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/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/team-add-modal/index.esm.js +1 -1
- package/dist/components/team-add-modal/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/components/vendor-ai-summary/index.esm.js +1 -1
- package/dist/components/vendor-ai-summary/index.js +1 -1
- package/dist/constants/index.esm.js +1 -1
- package/dist/constants/index.js +1 -1
- package/dist/hooks/index.esm.js +6 -6
- package/dist/hooks/index.js +6 -6
- 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/useCheckSkuAndName/index.esm.js +1 -1
- package/dist/hooks/useCheckSkuAndName/index.js +1 -1
- package/dist/hooks/useReduxIntegration/index.esm.js +1 -1
- package/dist/hooks/useReduxIntegration/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 +137 -119
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +100 -82
- package/dist/index.js.map +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/redux/index.esm.js +3 -3
- package/dist/redux/index.js +3 -3
- package/dist/runtime/index.esm.js +6 -2
- package/dist/runtime/index.esm.js.map +1 -1
- package/dist/runtime/index.js +6 -2
- package/dist/runtime/index.js.map +1 -1
- package/dist/src/components/calculation-summary/components/discount-summary.d.ts +1 -0
- package/dist/src/components/calculation-summary/components/total-summary.d.ts +1 -0
- package/dist/src/components/chat-bot/chat-bot-input.d.ts +2 -1
- package/dist/src/components/chat-bot/constants.d.ts +1 -0
- package/dist/src/components/reports-title-bar/reports-title-bar.d.ts +5 -0
- package/dist/src/utils/date-format-settings.d.ts +60 -0
- package/dist/src/utils/dateFormat.d.ts +1 -0
- package/dist/style.css +28 -1
- 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/dateFormat/index.esm.js +20 -2
- package/dist/utils/dateFormat/index.esm.js.map +1 -1
- package/dist/utils/dateFormat/index.js +19 -1
- package/dist/utils/dateFormat/index.js.map +1 -1
- package/dist/utils/form-builder-deconversion/index.esm.js +10 -4
- package/dist/utils/form-builder-deconversion/index.esm.js.map +1 -1
- package/dist/utils/form-builder-deconversion/index.js +10 -4
- package/dist/utils/form-builder-deconversion/index.js.map +1 -1
- package/dist/utils/index.esm.js +28 -10
- package/dist/utils/index.esm.js.map +1 -1
- package/dist/utils/index.js +23 -5
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/text-measurement/index.esm.js +1 -1
- package/dist/utils/text-measurement/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/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 +13 -13
- package/dist/views/index.js +13 -13
- 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-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 +1 -1
- package/dist/chunks/DonutChart-BSM45IZR.js +0 -104
- package/dist/chunks/DonutChart-BSM45IZR.js.map +0 -1
- package/dist/chunks/DonutChart-CwRZ69d2.esm.js +0 -88
- package/dist/chunks/DonutChart-CwRZ69d2.esm.js.map +0 -1
- package/dist/chunks/DynamicDependentField-CxvG77Nz.esm.js +0 -128
- package/dist/chunks/DynamicDependentField-CxvG77Nz.esm.js.map +0 -1
- package/dist/chunks/DynamicDependentField-s4kwIrGN.js +0 -127
- package/dist/chunks/DynamicDependentField-s4kwIrGN.js.map +0 -1
- package/dist/chunks/ERPUIProvider-BzseBepc.esm.js +0 -130
- package/dist/chunks/ERPUIProvider-BzseBepc.esm.js.map +0 -1
- package/dist/chunks/ERPUIProvider-iB39BUBd.js +0 -129
- package/dist/chunks/ERPUIProvider-iB39BUBd.js.map +0 -1
- package/dist/chunks/FORMS-0-6vG5vm.js +0 -295
- package/dist/chunks/FORMS-0-6vG5vm.js.map +0 -1
- package/dist/chunks/FORMS-QrgpyEK_.esm.js +0 -296
- package/dist/chunks/FORMS-QrgpyEK_.esm.js.map +0 -1
- package/dist/chunks/FlexibleReduxExample-BgpligMk.js +0 -148
- package/dist/chunks/FlexibleReduxExample-BgpligMk.js.map +0 -1
- package/dist/chunks/FlexibleReduxExample-Dwvx4wTb.esm.js +0 -149
- package/dist/chunks/FlexibleReduxExample-Dwvx4wTb.esm.js.map +0 -1
- package/dist/chunks/GroupBarChart-Bqvs5N3s.esm.js +0 -86
- package/dist/chunks/GroupBarChart-Bqvs5N3s.esm.js.map +0 -1
- package/dist/chunks/GroupBarChart-CQjr7Ow8.js +0 -102
- package/dist/chunks/GroupBarChart-CQjr7Ow8.js.map +0 -1
- package/dist/chunks/SectionFlowEditor-Blhdf4jD.esm.js +0 -5479
- package/dist/chunks/SectionFlowEditor-Blhdf4jD.esm.js.map +0 -1
- package/dist/chunks/SectionFlowEditor-CNchIJ-0.js +0 -5478
- package/dist/chunks/SectionFlowEditor-CNchIJ-0.js.map +0 -1
- package/dist/chunks/action-bar-BCAyZghg.esm.js +0 -660
- package/dist/chunks/action-bar-BCAyZghg.esm.js.map +0 -1
- package/dist/chunks/action-bar-D6G70JMr.js +0 -659
- package/dist/chunks/action-bar-D6G70JMr.js.map +0 -1
- package/dist/chunks/actionCreator-2cZZuVFH.js +0 -93
- package/dist/chunks/actionCreator-2cZZuVFH.js.map +0 -1
- package/dist/chunks/actionCreator-BxsSTjDD.esm.js +0 -28
- package/dist/chunks/actionCreator-BxsSTjDD.esm.js.map +0 -1
- package/dist/chunks/actionCreator-CCbS63RH.js +0 -21
- package/dist/chunks/actionCreator-CCbS63RH.js.map +0 -1
- package/dist/chunks/actionCreator-CmAgJzDP.esm.js +0 -94
- package/dist/chunks/actionCreator-CmAgJzDP.esm.js.map +0 -1
- package/dist/chunks/actionCreator-D5jnL5Pv.js +0 -78
- package/dist/chunks/actionCreator-D5jnL5Pv.js.map +0 -1
- package/dist/chunks/actionCreator-DaS-QGI4.esm.js +0 -79
- package/dist/chunks/actionCreator-DaS-QGI4.esm.js.map +0 -1
- package/dist/chunks/actionCreator-DkS_8UbT.esm.js +0 -22
- package/dist/chunks/actionCreator-DkS_8UbT.esm.js.map +0 -1
- package/dist/chunks/actionCreator-QCAcDFaI.js +0 -27
- package/dist/chunks/actionCreator-QCAcDFaI.js.map +0 -1
- package/dist/chunks/actionCreator-jriFS6rf.esm.js +0 -14
- package/dist/chunks/actionCreator-jriFS6rf.esm.js.map +0 -1
- package/dist/chunks/actionCreator-tRYKJL_l.js +0 -13
- package/dist/chunks/actionCreator-tRYKJL_l.js.map +0 -1
- package/dist/chunks/activity-log-3DTR9uiM.esm.js +0 -103
- package/dist/chunks/activity-log-3DTR9uiM.esm.js.map +0 -1
- package/dist/chunks/activity-log-Hw1K_cMJ.js +0 -102
- package/dist/chunks/activity-log-Hw1K_cMJ.js.map +0 -1
- package/dist/chunks/add-template-B8cAl6jP.esm.js +0 -11
- package/dist/chunks/add-template-B8cAl6jP.esm.js.map +0 -1
- package/dist/chunks/add-template-DXfjAhLS.js +0 -10
- package/dist/chunks/add-template-DXfjAhLS.js.map +0 -1
- package/dist/chunks/address-modal-DDs0_DwZ.esm.js +0 -664
- package/dist/chunks/address-modal-DDs0_DwZ.esm.js.map +0 -1
- package/dist/chunks/address-modal-eIuNxXg0.js +0 -680
- package/dist/chunks/address-modal-eIuNxXg0.js.map +0 -1
- package/dist/chunks/ai-summary-CAKlYLnt.js +0 -350
- package/dist/chunks/ai-summary-CAKlYLnt.js.map +0 -1
- package/dist/chunks/ai-summary-Dto8NzAC.esm.js +0 -351
- package/dist/chunks/ai-summary-Dto8NzAC.esm.js.map +0 -1
- package/dist/chunks/api-BSqZ2y7J.esm.js +0 -5922
- package/dist/chunks/api-BSqZ2y7J.esm.js.map +0 -1
- package/dist/chunks/api-Ce693XLe.js +0 -5921
- package/dist/chunks/api-Ce693XLe.js.map +0 -1
- package/dist/chunks/appbar-C35Euxp4.js +0 -56
- package/dist/chunks/appbar-C35Euxp4.js.map +0 -1
- package/dist/chunks/appbar-DCoI9W6A.esm.js +0 -57
- package/dist/chunks/appbar-DCoI9W6A.esm.js.map +0 -1
- package/dist/chunks/approval-wrapper-B-41mLZw.esm.js +0 -140
- package/dist/chunks/approval-wrapper-B-41mLZw.esm.js.map +0 -1
- package/dist/chunks/approval-wrapper-C6-tXwaf.js +0 -139
- package/dist/chunks/approval-wrapper-C6-tXwaf.js.map +0 -1
- package/dist/chunks/areaLinerChart-BSaqONGz.esm.js +0 -104
- package/dist/chunks/areaLinerChart-BSaqONGz.esm.js.map +0 -1
- package/dist/chunks/areaLinerChart-CV1NKCGz.js +0 -120
- package/dist/chunks/areaLinerChart-CV1NKCGz.js.map +0 -1
- package/dist/chunks/bar-chart-C0okUFJS.js +0 -103
- package/dist/chunks/bar-chart-C0okUFJS.js.map +0 -1
- package/dist/chunks/bar-chart-D4myXwbk.esm.js +0 -87
- package/dist/chunks/bar-chart-D4myXwbk.esm.js.map +0 -1
- package/dist/chunks/barChart-B6SjqFTi.esm.js +0 -144
- package/dist/chunks/barChart-B6SjqFTi.esm.js.map +0 -1
- package/dist/chunks/barChart-_v5HVNeD.js +0 -160
- package/dist/chunks/barChart-_v5HVNeD.js.map +0 -1
- package/dist/chunks/barLinechart-BGRDgzAX.esm.js +0 -180
- package/dist/chunks/barLinechart-BGRDgzAX.esm.js.map +0 -1
- package/dist/chunks/barLinechart-Cybr4t95.js +0 -196
- package/dist/chunks/barLinechart-Cybr4t95.js.map +0 -1
- package/dist/chunks/calculation-summary-BhWssEJP.esm.js +0 -182
- package/dist/chunks/calculation-summary-BhWssEJP.esm.js.map +0 -1
- package/dist/chunks/calculation-summary-DdAaSwoG.js +0 -181
- package/dist/chunks/calculation-summary-DdAaSwoG.js.map +0 -1
- package/dist/chunks/chat-bot-C0ohNCRY.js +0 -3546
- package/dist/chunks/chat-bot-C0ohNCRY.js.map +0 -1
- package/dist/chunks/chat-bot-CzRxCBcZ.esm.js +0 -3547
- package/dist/chunks/chat-bot-CzRxCBcZ.esm.js.map +0 -1
- package/dist/chunks/common-utility-DNOInB1J.esm.js +0 -299
- package/dist/chunks/common-utility-DNOInB1J.esm.js.map +0 -1
- package/dist/chunks/common-utility-DXlg6tQv.js +0 -298
- package/dist/chunks/common-utility-DXlg6tQv.js.map +0 -1
- package/dist/chunks/custom-date-picker-Bj_9n8p8.esm.js +0 -56
- package/dist/chunks/custom-date-picker-Bj_9n8p8.esm.js.map +0 -1
- package/dist/chunks/custom-date-picker-Dt54H6AR.js +0 -55
- package/dist/chunks/custom-date-picker-Dt54H6AR.js.map +0 -1
- package/dist/chunks/custom-editor-D99-i2rN.js +0 -1257
- package/dist/chunks/custom-editor-D99-i2rN.js.map +0 -1
- package/dist/chunks/custom-editor-DbaK32F2.esm.js +0 -1257
- package/dist/chunks/custom-editor-DbaK32F2.esm.js.map +0 -1
- package/dist/chunks/custom-form-CiSSDja3.esm.js +0 -1146
- package/dist/chunks/custom-form-CiSSDja3.esm.js.map +0 -1
- package/dist/chunks/custom-form-rhJ1xvOV.js +0 -1145
- package/dist/chunks/custom-form-rhJ1xvOV.js.map +0 -1
- package/dist/chunks/custom-grid-card-25R5RDYY.js +0 -126
- package/dist/chunks/custom-grid-card-25R5RDYY.js.map +0 -1
- package/dist/chunks/custom-grid-card-ChSQynhf.esm.js +0 -127
- package/dist/chunks/custom-grid-card-ChSQynhf.esm.js.map +0 -1
- package/dist/chunks/dashboard-D7cAtema.js +0 -74
- package/dist/chunks/dashboard-D7cAtema.js.map +0 -1
- package/dist/chunks/dashboard-uhHB0n9T.esm.js +0 -75
- package/dist/chunks/dashboard-uhHB0n9T.esm.js.map +0 -1
- package/dist/chunks/date-BEkOnPLg.js +0 -55
- package/dist/chunks/date-BEkOnPLg.js.map +0 -1
- package/dist/chunks/date-DWW33q1y.esm.js +0 -56
- package/dist/chunks/date-DWW33q1y.esm.js.map +0 -1
- package/dist/chunks/date-picker-C0qJ2Ceq.js +0 -127
- package/dist/chunks/date-picker-C0qJ2Ceq.js.map +0 -1
- package/dist/chunks/date-picker-CqiwV3fq.esm.js +0 -128
- package/dist/chunks/date-picker-CqiwV3fq.esm.js.map +0 -1
- package/dist/chunks/date-range-picker-Bt_heXbX.js +0 -196
- package/dist/chunks/date-range-picker-Bt_heXbX.js.map +0 -1
- package/dist/chunks/date-range-picker-CXYyecdN.js +0 -61
- package/dist/chunks/date-range-picker-CXYyecdN.js.map +0 -1
- package/dist/chunks/date-range-picker-CvkYXRaH.esm.js +0 -197
- package/dist/chunks/date-range-picker-CvkYXRaH.esm.js.map +0 -1
- package/dist/chunks/date-range-picker-DDI-vDlU.esm.js +0 -62
- package/dist/chunks/date-range-picker-DDI-vDlU.esm.js.map +0 -1
- package/dist/chunks/date-time-Bmf9tUWN.js +0 -54
- package/dist/chunks/date-time-Bmf9tUWN.js.map +0 -1
- package/dist/chunks/date-time-TwBpGcVi.esm.js +0 -55
- package/dist/chunks/date-time-TwBpGcVi.esm.js.map +0 -1
- package/dist/chunks/date-time-picker-BiVDvz7V.esm.js +0 -115
- package/dist/chunks/date-time-picker-BiVDvz7V.esm.js.map +0 -1
- package/dist/chunks/date-time-picker-HC1XkaJG.js +0 -114
- package/dist/chunks/date-time-picker-HC1XkaJG.js.map +0 -1
- package/dist/chunks/dateFormat-DruK2Qh9.js +0 -56
- package/dist/chunks/dateFormat-DruK2Qh9.js.map +0 -1
- package/dist/chunks/dateFormat-VzMEQghL.esm.js +0 -57
- package/dist/chunks/dateFormat-VzMEQghL.esm.js.map +0 -1
- package/dist/chunks/discount-summary-Cfxk2tZa.esm.js +0 -60
- package/dist/chunks/discount-summary-Cfxk2tZa.esm.js.map +0 -1
- package/dist/chunks/discount-summary-RCy2t_AM.js +0 -59
- package/dist/chunks/discount-summary-RCy2t_AM.js.map +0 -1
- package/dist/chunks/dynamic-report-BfnrD-zq.js +0 -588
- package/dist/chunks/dynamic-report-BfnrD-zq.js.map +0 -1
- package/dist/chunks/dynamic-report-CmL56Rs0.esm.js +0 -589
- package/dist/chunks/dynamic-report-CmL56Rs0.esm.js.map +0 -1
- package/dist/chunks/dynamic-rows-5iZHYEWp.js +0 -249
- package/dist/chunks/dynamic-rows-5iZHYEWp.js.map +0 -1
- package/dist/chunks/dynamic-rows-Db28dAgS.esm.js +0 -250
- package/dist/chunks/dynamic-rows-Db28dAgS.esm.js.map +0 -1
- package/dist/chunks/dynamic-text-editor-B2k2GRDf.js +0 -44
- package/dist/chunks/dynamic-text-editor-B2k2GRDf.js.map +0 -1
- package/dist/chunks/dynamic-text-editor-DSyNRqGU.esm.js +0 -45
- package/dist/chunks/dynamic-text-editor-DSyNRqGU.esm.js.map +0 -1
- package/dist/chunks/edit-section-modal-Bg_OubEc.js +0 -76
- package/dist/chunks/edit-section-modal-Bg_OubEc.js.map +0 -1
- package/dist/chunks/edit-section-modal-CqbrHCo2.esm.js +0 -77
- package/dist/chunks/edit-section-modal-CqbrHCo2.esm.js.map +0 -1
- package/dist/chunks/filter-Br7IBDbh.esm.js +0 -415
- package/dist/chunks/filter-Br7IBDbh.esm.js.map +0 -1
- package/dist/chunks/filter-DqL-Ey7H.js +0 -414
- package/dist/chunks/filter-DqL-Ey7H.js.map +0 -1
- package/dist/chunks/footer-BmDKMyLP.js +0 -63
- package/dist/chunks/footer-BmDKMyLP.js.map +0 -1
- package/dist/chunks/footer-BmKXTODa.esm.js +0 -64
- package/dist/chunks/footer-BmKXTODa.esm.js.map +0 -1
- package/dist/chunks/form-fields-BiRJ8Gyp.esm.js +0 -355
- package/dist/chunks/form-fields-BiRJ8Gyp.esm.js.map +0 -1
- package/dist/chunks/form-fields-mWRtoHVX.js +0 -354
- package/dist/chunks/form-fields-mWRtoHVX.js.map +0 -1
- package/dist/chunks/form-parser-6_MQHzfU.js +0 -607
- package/dist/chunks/form-parser-6_MQHzfU.js.map +0 -1
- package/dist/chunks/form-parser-D0ZqEsBx.esm.js +0 -591
- package/dist/chunks/form-parser-D0ZqEsBx.esm.js.map +0 -1
- package/dist/chunks/form-section-D0ipOYv3.esm.js +0 -476
- package/dist/chunks/form-section-D0ipOYv3.esm.js.map +0 -1
- package/dist/chunks/form-section-DJJ5O8QE.js +0 -475
- package/dist/chunks/form-section-DJJ5O8QE.js.map +0 -1
- package/dist/chunks/format-chart-value-B5ClGhlz.esm.js +0 -37
- package/dist/chunks/format-chart-value-B5ClGhlz.esm.js.map +0 -1
- package/dist/chunks/format-chart-value-Cy1P2lbF.js +0 -53
- package/dist/chunks/format-chart-value-Cy1P2lbF.js.map +0 -1
- package/dist/chunks/fullScreen-CV2gntC3.js +0 -20
- package/dist/chunks/fullScreen-CV2gntC3.js.map +0 -1
- package/dist/chunks/fullScreen-DwP10GLK.esm.js +0 -21
- package/dist/chunks/fullScreen-DwP10GLK.esm.js.map +0 -1
- package/dist/chunks/global-search-BUpAIn8K.js +0 -149
- package/dist/chunks/global-search-BUpAIn8K.js.map +0 -1
- package/dist/chunks/global-search-C_L-lmq1.esm.js +0 -150
- package/dist/chunks/global-search-C_L-lmq1.esm.js.map +0 -1
- package/dist/chunks/grid-view-7yv8BBGS.esm.js +0 -52
- package/dist/chunks/grid-view-7yv8BBGS.esm.js.map +0 -1
- package/dist/chunks/grid-view-LeS2Q6Zy.js +0 -51
- package/dist/chunks/grid-view-LeS2Q6Zy.js.map +0 -1
- package/dist/chunks/header-BfLMcRXF.js +0 -90
- package/dist/chunks/header-BfLMcRXF.js.map +0 -1
- package/dist/chunks/header-CgGEFjRD.esm.js +0 -91
- package/dist/chunks/header-CgGEFjRD.esm.js.map +0 -1
- package/dist/chunks/header-enhanced-CP0w1-Dn.js +0 -400
- package/dist/chunks/header-enhanced-CP0w1-Dn.js.map +0 -1
- package/dist/chunks/header-enhanced-Cd3gRkWV.esm.js +0 -401
- package/dist/chunks/header-enhanced-Cd3gRkWV.esm.js.map +0 -1
- package/dist/chunks/inline-edit-fields-C7sJKda2.js +0 -340
- package/dist/chunks/inline-edit-fields-C7sJKda2.js.map +0 -1
- package/dist/chunks/inline-edit-fields-D0gvI8T3.esm.js +0 -324
- package/dist/chunks/inline-edit-fields-D0gvI8T3.esm.js.map +0 -1
- package/dist/chunks/inventory-reports-title-bar-C8Qo7NEx.js +0 -732
- package/dist/chunks/inventory-reports-title-bar-C8Qo7NEx.js.map +0 -1
- package/dist/chunks/inventory-reports-title-bar-DpG06q1U.esm.js +0 -733
- package/dist/chunks/inventory-reports-title-bar-DpG06q1U.esm.js.map +0 -1
- package/dist/chunks/item-response-details-Q4dR3qmN.js +0 -78
- package/dist/chunks/item-response-details-Q4dR3qmN.js.map +0 -1
- package/dist/chunks/item-response-details-TEvdMqA7.esm.js +0 -79
- package/dist/chunks/item-response-details-TEvdMqA7.esm.js.map +0 -1
- package/dist/chunks/listing-B7oUf-ga.esm.js +0 -276
- package/dist/chunks/listing-B7oUf-ga.esm.js.map +0 -1
- package/dist/chunks/listing-DINZMGWq.js +0 -275
- package/dist/chunks/listing-DINZMGWq.js.map +0 -1
- package/dist/chunks/location-select-B91gVEZg.esm.js +0 -86
- package/dist/chunks/location-select-B91gVEZg.esm.js.map +0 -1
- package/dist/chunks/location-select-DJGf2z9B.js +0 -85
- package/dist/chunks/location-select-DJGf2z9B.js.map +0 -1
- package/dist/chunks/material-editable-table-Bsy2JLb6.esm.js +0 -1469
- package/dist/chunks/material-editable-table-Bsy2JLb6.esm.js.map +0 -1
- package/dist/chunks/material-editable-table-CzJhE63R.js +0 -1485
- package/dist/chunks/material-editable-table-CzJhE63R.js.map +0 -1
- package/dist/chunks/module-reducer-CCZD_gz4.js +0 -91
- package/dist/chunks/module-reducer-CCZD_gz4.js.map +0 -1
- package/dist/chunks/module-reducer-DNm9BZ0L.esm.js +0 -92
- package/dist/chunks/module-reducer-DNm9BZ0L.esm.js.map +0 -1
- package/dist/chunks/multi-line-chart-BYBYGBdy.esm.js +0 -96
- package/dist/chunks/multi-line-chart-BYBYGBdy.esm.js.map +0 -1
- package/dist/chunks/multi-line-chart-Bt3wdHU7.js +0 -112
- package/dist/chunks/multi-line-chart-Bt3wdHU7.js.map +0 -1
- package/dist/chunks/notification-menu-BCCLpwDZ.js +0 -600
- package/dist/chunks/notification-menu-BCCLpwDZ.js.map +0 -1
- package/dist/chunks/notification-menu-PJM37Tp2.esm.js +0 -601
- package/dist/chunks/notification-menu-PJM37Tp2.esm.js.map +0 -1
- package/dist/chunks/page-action-CUTFLYyt.esm.js +0 -325
- package/dist/chunks/page-action-CUTFLYyt.esm.js.map +0 -1
- package/dist/chunks/page-action-EfPBRwHo.js +0 -324
- package/dist/chunks/page-action-EfPBRwHo.js.map +0 -1
- package/dist/chunks/page-navigator-J9GdrKkm.js +0 -242
- package/dist/chunks/page-navigator-J9GdrKkm.js.map +0 -1
- package/dist/chunks/page-navigator-PBXn7Eh_.esm.js +0 -243
- package/dist/chunks/page-navigator-PBXn7Eh_.esm.js.map +0 -1
- package/dist/chunks/page-view-D_Erav8n.js +0 -323
- package/dist/chunks/page-view-D_Erav8n.js.map +0 -1
- package/dist/chunks/page-view-DsptSruT.esm.js +0 -324
- package/dist/chunks/page-view-DsptSruT.esm.js.map +0 -1
- package/dist/chunks/quick-approval-modal-Bi9f6kIj.esm.js +0 -256
- package/dist/chunks/quick-approval-modal-Bi9f6kIj.esm.js.map +0 -1
- package/dist/chunks/quick-approval-modal-CoFcxeD9.js +0 -272
- package/dist/chunks/quick-approval-modal-CoFcxeD9.js.map +0 -1
- package/dist/chunks/reducer-BSDSt8P5.js +0 -49
- package/dist/chunks/reducer-BSDSt8P5.js.map +0 -1
- package/dist/chunks/reducer-Btzbg-kC.js +0 -55
- package/dist/chunks/reducer-Btzbg-kC.js.map +0 -1
- package/dist/chunks/reducer-C0vp7c_5.esm.js +0 -43
- package/dist/chunks/reducer-C0vp7c_5.esm.js.map +0 -1
- package/dist/chunks/reducer-C5hytm3p.js +0 -42
- package/dist/chunks/reducer-C5hytm3p.js.map +0 -1
- package/dist/chunks/reducer-C_iAxDoX.js +0 -32
- package/dist/chunks/reducer-C_iAxDoX.js.map +0 -1
- package/dist/chunks/reducer-DlQPn2Yf.js +0 -147
- package/dist/chunks/reducer-DlQPn2Yf.js.map +0 -1
- package/dist/chunks/reducer-DpGhVrVl.esm.js +0 -50
- package/dist/chunks/reducer-DpGhVrVl.esm.js.map +0 -1
- package/dist/chunks/reducer-DvN85Zfx.esm.js +0 -33
- package/dist/chunks/reducer-DvN85Zfx.esm.js.map +0 -1
- package/dist/chunks/reducer-LfwRh77b.esm.js +0 -56
- package/dist/chunks/reducer-LfwRh77b.esm.js.map +0 -1
- package/dist/chunks/reducer-qhCDNTSp.esm.js +0 -148
- package/dist/chunks/reducer-qhCDNTSp.esm.js.map +0 -1
- package/dist/chunks/reportFilter-CqxvTM6T.js +0 -394
- package/dist/chunks/reportFilter-CqxvTM6T.js.map +0 -1
- package/dist/chunks/reportFilter-DTsM7pWt.esm.js +0 -395
- package/dist/chunks/reportFilter-DTsM7pWt.esm.js.map +0 -1
- package/dist/chunks/reports-title-bar-BPCvX-LI.esm.js +0 -1016
- package/dist/chunks/reports-title-bar-BPCvX-LI.esm.js.map +0 -1
- package/dist/chunks/reports-title-bar-L1k7t3uz.js +0 -1015
- package/dist/chunks/reports-title-bar-L1k7t3uz.js.map +0 -1
- package/dist/chunks/route-page-map-Bz7COHkD.esm.js +0 -7427
- package/dist/chunks/route-page-map-Bz7COHkD.esm.js.map +0 -1
- package/dist/chunks/route-page-map-DfVJnKQA.js +0 -7426
- package/dist/chunks/route-page-map-DfVJnKQA.js.map +0 -1
- package/dist/chunks/routes-BC185juT.esm.js +0 -47
- package/dist/chunks/routes-BC185juT.esm.js.map +0 -1
- package/dist/chunks/routes-PNRu_AV8.js +0 -46
- package/dist/chunks/routes-PNRu_AV8.js.map +0 -1
- package/dist/chunks/schedule-report-CkrAwjTf.js +0 -235
- package/dist/chunks/schedule-report-CkrAwjTf.js.map +0 -1
- package/dist/chunks/schedule-report-YXW8mqxX.esm.js +0 -236
- package/dist/chunks/schedule-report-YXW8mqxX.esm.js.map +0 -1
- package/dist/chunks/schedule-report-modal-CDieUlju.esm.js +0 -288
- package/dist/chunks/schedule-report-modal-CDieUlju.esm.js.map +0 -1
- package/dist/chunks/schedule-report-modal-DbDqxLtB.js +0 -287
- package/dist/chunks/schedule-report-modal-DbDqxLtB.js.map +0 -1
- package/dist/chunks/searchable-select-Kg6j3WHo.js +0 -5447
- package/dist/chunks/searchable-select-Kg6j3WHo.js.map +0 -1
- package/dist/chunks/searchable-select-UNDm_sU3.esm.js +0 -5431
- package/dist/chunks/searchable-select-UNDm_sU3.esm.js.map +0 -1
- package/dist/chunks/share-modal-BkfNmJ6Q.esm.js +0 -218
- package/dist/chunks/share-modal-BkfNmJ6Q.esm.js.map +0 -1
- package/dist/chunks/share-modal-CfxRsno1.js +0 -217
- package/dist/chunks/share-modal-CfxRsno1.js.map +0 -1
- package/dist/chunks/share-modal-enhanced-B7ROQZkD.esm.js +0 -270
- package/dist/chunks/share-modal-enhanced-B7ROQZkD.esm.js.map +0 -1
- package/dist/chunks/share-modal-enhanced-CdPdyiPt.js +0 -269
- package/dist/chunks/share-modal-enhanced-CdPdyiPt.js.map +0 -1
- package/dist/chunks/sidebarScreen-CUDpCssG.js +0 -200
- package/dist/chunks/sidebarScreen-CUDpCssG.js.map +0 -1
- package/dist/chunks/sidebarScreen-ES06jsUC.esm.js +0 -201
- package/dist/chunks/sidebarScreen-ES06jsUC.esm.js.map +0 -1
- package/dist/chunks/store-BhWKdIyL.esm.js +0 -89
- package/dist/chunks/store-BhWKdIyL.esm.js.map +0 -1
- package/dist/chunks/store-DED99V-p.js +0 -88
- package/dist/chunks/store-DED99V-p.js.map +0 -1
- package/dist/chunks/table-D60IIwv_.js +0 -184
- package/dist/chunks/table-D60IIwv_.js.map +0 -1
- package/dist/chunks/table-DqRPlxNW.esm.js +0 -185
- package/dist/chunks/table-DqRPlxNW.esm.js.map +0 -1
- package/dist/chunks/table-form-5eM4xAoE.js +0 -1536
- package/dist/chunks/table-form-5eM4xAoE.js.map +0 -1
- package/dist/chunks/table-form-lDShKPGv.esm.js +0 -1537
- package/dist/chunks/table-form-lDShKPGv.esm.js.map +0 -1
- package/dist/chunks/template-editor-router-BDTAwEPd.esm.js +0 -9
- package/dist/chunks/template-editor-router-BDTAwEPd.esm.js.map +0 -1
- package/dist/chunks/template-editor-router-DQU440rt.js +0 -8
- package/dist/chunks/template-editor-router-DQU440rt.js.map +0 -1
- package/dist/chunks/template-modal-BEbtkxK2.esm.js +0 -769
- package/dist/chunks/template-modal-BEbtkxK2.esm.js.map +0 -1
- package/dist/chunks/template-modal-DM8bWq5q.js +0 -768
- package/dist/chunks/template-modal-DM8bWq5q.js.map +0 -1
- package/dist/chunks/templates-CcbbOv90.js +0 -278
- package/dist/chunks/templates-CcbbOv90.js.map +0 -1
- package/dist/chunks/templates-DchjIAQf.esm.js +0 -279
- package/dist/chunks/templates-DchjIAQf.esm.js.map +0 -1
- package/dist/chunks/text-measurement-B2SY4MOI.js +0 -251
- package/dist/chunks/text-measurement-B2SY4MOI.js.map +0 -1
- package/dist/chunks/text-measurement-C4VHjrOM.esm.js +0 -252
- package/dist/chunks/text-measurement-C4VHjrOM.esm.js.map +0 -1
- package/dist/chunks/total-summary-BCNJd8iL.esm.js +0 -41
- package/dist/chunks/total-summary-BCNJd8iL.esm.js.map +0 -1
- package/dist/chunks/total-summary-BhLK6YOW.js +0 -40
- package/dist/chunks/total-summary-BhLK6YOW.js.map +0 -1
- package/dist/chunks/translations-CzTYlXLs.js +0 -58
- package/dist/chunks/translations-CzTYlXLs.js.map +0 -1
- package/dist/chunks/translations-s7kQoO4z.esm.js +0 -59
- package/dist/chunks/translations-s7kQoO4z.esm.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-CftM69IH.esm.js +0 -80
- package/dist/chunks/uom-field-wrapper-CftM69IH.esm.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-DGJXWRgH.js +0 -79
- package/dist/chunks/uom-field-wrapper-DGJXWRgH.js.map +0 -1
- package/dist/chunks/upload-excel-BzL5o4KR.esm.js +0 -361
- package/dist/chunks/upload-excel-BzL5o4KR.esm.js.map +0 -1
- package/dist/chunks/upload-excel-WxhTn3iL.js +0 -360
- package/dist/chunks/upload-excel-WxhTn3iL.js.map +0 -1
- package/dist/chunks/use-translations-DK7JAMUq.esm.js +0 -62
- package/dist/chunks/use-translations-DK7JAMUq.esm.js.map +0 -1
- package/dist/chunks/use-translations-fvRLagN8.js +0 -61
- package/dist/chunks/use-translations-fvRLagN8.js.map +0 -1
- package/dist/chunks/useAccountSetting-0o3CgYbA.esm.js +0 -173
- package/dist/chunks/useAccountSetting-0o3CgYbA.esm.js.map +0 -1
- package/dist/chunks/useAccountSetting-DP26D8yo.js +0 -172
- package/dist/chunks/useAccountSetting-DP26D8yo.js.map +0 -1
- package/dist/chunks/useCheckSkuAndName-CoCwHFgC.js +0 -49
- package/dist/chunks/useCheckSkuAndName-CoCwHFgC.js.map +0 -1
- package/dist/chunks/useCheckSkuAndName-rkZ4hHCO.esm.js +0 -50
- package/dist/chunks/useCheckSkuAndName-rkZ4hHCO.esm.js.map +0 -1
- package/dist/chunks/useReduxIntegration-Cd6hvE5r.js +0 -38
- package/dist/chunks/useReduxIntegration-Cd6hvE5r.js.map +0 -1
- package/dist/chunks/useReduxIntegration-DM__4RiP.esm.js +0 -39
- package/dist/chunks/useReduxIntegration-DM__4RiP.esm.js.map +0 -1
- package/dist/chunks/useUniquenessCheck-B2o3fIcX.esm.js +0 -39
- package/dist/chunks/useUniquenessCheck-B2o3fIcX.esm.js.map +0 -1
- package/dist/chunks/useUniquenessCheck-pXvzabHu.js +0 -38
- package/dist/chunks/useUniquenessCheck-pXvzabHu.js.map +0 -1
- package/dist/chunks/useVendorAICompare-BkBY0x5p.js +0 -30
- package/dist/chunks/useVendorAICompare-BkBY0x5p.js.map +0 -1
- package/dist/chunks/useVendorAICompare-fc4aJtj1.esm.js +0 -31
- package/dist/chunks/useVendorAICompare-fc4aJtj1.esm.js.map +0 -1
- package/dist/chunks/value-editor-BmMNObtT.js +0 -265
- package/dist/chunks/value-editor-BmMNObtT.js.map +0 -1
- package/dist/chunks/value-editor-Djz4sP71.esm.js +0 -266
- package/dist/chunks/value-editor-Djz4sP71.esm.js.map +0 -1
- package/dist/chunks/vendor-ai-summary-B_2B-IuL.js +0 -227
- package/dist/chunks/vendor-ai-summary-B_2B-IuL.js.map +0 -1
- package/dist/chunks/vendor-ai-summary-CXNxB7TQ.esm.js +0 -228
- package/dist/chunks/vendor-ai-summary-CXNxB7TQ.esm.js.map +0 -1
|
@@ -0,0 +1,1257 @@
|
|
|
1
|
+
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef, useState, useRef, useEffect, useCallback, useImperativeHandle } from "react";
|
|
3
|
+
import { Undo, Redo, FormatBold, FormatItalic, FormatUnderlined, FormatStrikethrough, Subscript, Superscript, FormatAlignLeft, FormatAlignCenter, FormatAlignRight, FormatAlignJustify, FormatListBulleted, FormatListNumbered, Link, Image, TableChart, Code, SwapHoriz, AddCircleOutline, RemoveCircleOutline, Close } from "@mui/icons-material";
|
|
4
|
+
import { Box, Tooltip, Divider, IconButton, Select, MenuItem, Popover } from "@mui/material";
|
|
5
|
+
import { ay as uploadFiles, ab as getToken } from "./api-u1lKzJVv.esm.js";
|
|
6
|
+
import { p as postV1Drive } from "./index-rN4vc8IA.esm.js";
|
|
7
|
+
import { getApiConfig } from "../utils/api-config/index.esm.js";
|
|
8
|
+
import { prepareForEditing, prepareForSaving } from "../components/editor/utils/index.esm.js";
|
|
9
|
+
/* empty css */
|
|
10
|
+
const FONT_FAMILIES = [
|
|
11
|
+
"Arial",
|
|
12
|
+
"Courier New",
|
|
13
|
+
"Georgia",
|
|
14
|
+
"Times New Roman",
|
|
15
|
+
"Trebuchet MS",
|
|
16
|
+
"Verdana"
|
|
17
|
+
];
|
|
18
|
+
const FONT_SIZES = ["10px", "12px", "14px", "16px", "18px", "20px", "24px", "28px", "32px"];
|
|
19
|
+
const HEADING_FORMATS = [
|
|
20
|
+
{ value: "p", label: "Paragraph" },
|
|
21
|
+
{ value: "h1", label: "Heading 1" },
|
|
22
|
+
{ value: "h2", label: "Heading 2" },
|
|
23
|
+
{ value: "h3", label: "Heading 3" },
|
|
24
|
+
{ value: "h4", label: "Heading 4" },
|
|
25
|
+
{ value: "h5", label: "Heading 5" },
|
|
26
|
+
{ value: "h6", label: "Heading 6" }
|
|
27
|
+
];
|
|
28
|
+
const PRESET_COLORS = [
|
|
29
|
+
"#000000",
|
|
30
|
+
"#434343",
|
|
31
|
+
"#666666",
|
|
32
|
+
"#999999",
|
|
33
|
+
"#b7b7b7",
|
|
34
|
+
"#cccccc",
|
|
35
|
+
"#d9d9d9",
|
|
36
|
+
"#ffffff",
|
|
37
|
+
"#ff0000",
|
|
38
|
+
"#ff9900",
|
|
39
|
+
"#ffff00",
|
|
40
|
+
"#00ff00",
|
|
41
|
+
"#00ffff",
|
|
42
|
+
"#4a86e8",
|
|
43
|
+
"#9900ff",
|
|
44
|
+
"#ff00ff",
|
|
45
|
+
"#ea9999",
|
|
46
|
+
"#f9cb9c",
|
|
47
|
+
"#ffe599",
|
|
48
|
+
"#b6d7a8",
|
|
49
|
+
"#a2c4c9",
|
|
50
|
+
"#9fc5e8",
|
|
51
|
+
"#b4a7d6",
|
|
52
|
+
"#d5a6bd",
|
|
53
|
+
"#e06666",
|
|
54
|
+
"#f6b26b",
|
|
55
|
+
"#ffd966",
|
|
56
|
+
"#93c47d",
|
|
57
|
+
"#76a5af",
|
|
58
|
+
"#6fa8dc",
|
|
59
|
+
"#8e7cc3",
|
|
60
|
+
"#c27ba0",
|
|
61
|
+
"#cc0000",
|
|
62
|
+
"#e69138",
|
|
63
|
+
"#f1c232",
|
|
64
|
+
"#6aa84f",
|
|
65
|
+
"#45818e",
|
|
66
|
+
"#3d85c8",
|
|
67
|
+
"#674ea7",
|
|
68
|
+
"#85200c"
|
|
69
|
+
];
|
|
70
|
+
const CustomEditor = forwardRef((props, ref) => {
|
|
71
|
+
const {
|
|
72
|
+
editorRef: editorRefProp,
|
|
73
|
+
data = "",
|
|
74
|
+
handleEditorReady,
|
|
75
|
+
onError,
|
|
76
|
+
config = {},
|
|
77
|
+
...rest
|
|
78
|
+
} = props;
|
|
79
|
+
const [error, setError] = useState(null);
|
|
80
|
+
const [fontFamily, setFontFamily] = useState("Arial");
|
|
81
|
+
const [fontSize, setFontSize] = useState("14px");
|
|
82
|
+
const [headingFormat, setHeadingFormat] = useState("p");
|
|
83
|
+
const [showSourceMode, setShowSourceMode] = useState(false);
|
|
84
|
+
const [sourceCode, setSourceCode] = useState(data);
|
|
85
|
+
const [history, setHistory] = useState([data]);
|
|
86
|
+
const [historyIndex, setHistoryIndex] = useState(0);
|
|
87
|
+
const [selectedElement, setSelectedElement] = useState(null);
|
|
88
|
+
const [resizeHandles, setResizeHandles] = useState(null);
|
|
89
|
+
const [showTablePicker, setShowTablePicker] = useState(false);
|
|
90
|
+
const [tablePickerAnchor, setTablePickerAnchor] = useState(null);
|
|
91
|
+
const [textSelectionAnchor, setTextSelectionAnchor] = useState(null);
|
|
92
|
+
const [showTextToolbar, setShowTextToolbar] = useState(false);
|
|
93
|
+
const [colorPickerState, setColorPickerState] = useState(null);
|
|
94
|
+
const [selectedCell, setSelectedCell] = useState(null);
|
|
95
|
+
const [showTableToolbar, setShowTableToolbar] = useState(false);
|
|
96
|
+
const [tableToolbarPosition, setTableToolbarPosition] = useState(null);
|
|
97
|
+
const [cellProperties, setCellProperties] = useState({
|
|
98
|
+
borderStyle: "solid",
|
|
99
|
+
borderColor: "#ddd",
|
|
100
|
+
borderWidth: "1px",
|
|
101
|
+
backgroundColor: "transparent",
|
|
102
|
+
width: "auto",
|
|
103
|
+
height: "auto",
|
|
104
|
+
padding: "8px",
|
|
105
|
+
textAlign: "left",
|
|
106
|
+
verticalAlign: "middle"
|
|
107
|
+
});
|
|
108
|
+
const contentEditableRef = useRef(null);
|
|
109
|
+
const sourceCodeRef = useRef(data);
|
|
110
|
+
const onEditorChangeRef = useRef(props.onEditorChange);
|
|
111
|
+
const handleEditorReadyRef = useRef(handleEditorReady);
|
|
112
|
+
useEffect(() => {
|
|
113
|
+
onEditorChangeRef.current = props.onEditorChange;
|
|
114
|
+
});
|
|
115
|
+
useEffect(() => {
|
|
116
|
+
handleEditorReadyRef.current = handleEditorReady;
|
|
117
|
+
});
|
|
118
|
+
const sourceViewContentRef = useRef(data);
|
|
119
|
+
const fileInputRef = useRef(null);
|
|
120
|
+
const htmlFileInputRef = useRef(null);
|
|
121
|
+
const replaceImageInputRef = useRef(null);
|
|
122
|
+
const resizeStartRef = useRef(null);
|
|
123
|
+
const handlebarsMapRef = useRef({});
|
|
124
|
+
const apiConfig = getApiConfig();
|
|
125
|
+
useEffect(() => {
|
|
126
|
+
if (!data) return;
|
|
127
|
+
const { html: protectedHtml, map } = prepareForEditing(data);
|
|
128
|
+
handlebarsMapRef.current = map;
|
|
129
|
+
sourceCodeRef.current = data;
|
|
130
|
+
if (contentEditableRef.current && contentEditableRef.current.innerHTML !== protectedHtml) {
|
|
131
|
+
contentEditableRef.current.innerHTML = protectedHtml;
|
|
132
|
+
}
|
|
133
|
+
}, [data]);
|
|
134
|
+
useEffect(() => {
|
|
135
|
+
var _a;
|
|
136
|
+
if (contentEditableRef.current) {
|
|
137
|
+
try {
|
|
138
|
+
const { html: protectedHtml, map } = prepareForEditing(data || "");
|
|
139
|
+
handlebarsMapRef.current = map;
|
|
140
|
+
contentEditableRef.current.innerHTML = protectedHtml;
|
|
141
|
+
const adapter2 = {
|
|
142
|
+
getData: () => {
|
|
143
|
+
return prepareForSaving(sourceCodeRef.current, handlebarsMapRef.current);
|
|
144
|
+
},
|
|
145
|
+
setData: (newData) => {
|
|
146
|
+
const { html: protectedHtml2, map: map2 } = prepareForEditing(newData);
|
|
147
|
+
handlebarsMapRef.current = map2;
|
|
148
|
+
sourceCodeRef.current = newData;
|
|
149
|
+
if (contentEditableRef.current) {
|
|
150
|
+
contentEditableRef.current.innerHTML = protectedHtml2;
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
model: {
|
|
154
|
+
insertContent: (fragment) => {
|
|
155
|
+
execCommand("insertHTML", fragment);
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
data: {
|
|
159
|
+
processor: {
|
|
160
|
+
toView: (html) => html
|
|
161
|
+
},
|
|
162
|
+
toModel: (html) => html
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
(_a = handleEditorReadyRef.current) == null ? void 0 : _a.call(handleEditorReadyRef, adapter2);
|
|
166
|
+
} catch (e) {
|
|
167
|
+
console.error("[CustomEditor] init effect error:", e);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}, []);
|
|
171
|
+
const execCommand = useCallback((command, value) => {
|
|
172
|
+
document.execCommand(command, false, value);
|
|
173
|
+
if (contentEditableRef.current) {
|
|
174
|
+
sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
175
|
+
saveToHistory();
|
|
176
|
+
}
|
|
177
|
+
}, []);
|
|
178
|
+
const saveToHistory = useCallback(() => {
|
|
179
|
+
if (contentEditableRef.current) {
|
|
180
|
+
const newHistory = history.slice(0, historyIndex + 1);
|
|
181
|
+
newHistory.push(contentEditableRef.current.innerHTML);
|
|
182
|
+
setHistory(newHistory.slice(-50));
|
|
183
|
+
setHistoryIndex(newHistory.length - 1);
|
|
184
|
+
}
|
|
185
|
+
}, [history, historyIndex]);
|
|
186
|
+
const handleUndo = useCallback(() => {
|
|
187
|
+
if (historyIndex > 0) {
|
|
188
|
+
const newIndex = historyIndex - 1;
|
|
189
|
+
setHistoryIndex(newIndex);
|
|
190
|
+
if (contentEditableRef.current) {
|
|
191
|
+
contentEditableRef.current.innerHTML = history[newIndex];
|
|
192
|
+
sourceCodeRef.current = history[newIndex];
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}, [history, historyIndex]);
|
|
196
|
+
const handleRedo = useCallback(() => {
|
|
197
|
+
if (historyIndex < history.length - 1) {
|
|
198
|
+
const newIndex = historyIndex + 1;
|
|
199
|
+
setHistoryIndex(newIndex);
|
|
200
|
+
if (contentEditableRef.current) {
|
|
201
|
+
contentEditableRef.current.innerHTML = history[newIndex];
|
|
202
|
+
sourceCodeRef.current = history[newIndex];
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}, [history, historyIndex]);
|
|
206
|
+
const handleInput = useCallback(() => {
|
|
207
|
+
var _a;
|
|
208
|
+
if (contentEditableRef.current) {
|
|
209
|
+
const visualHtml = contentEditableRef.current.innerHTML;
|
|
210
|
+
sourceCodeRef.current = prepareForSaving(visualHtml, handlebarsMapRef.current);
|
|
211
|
+
(_a = onEditorChangeRef.current) == null ? void 0 : _a.call(onEditorChangeRef, sourceCodeRef.current);
|
|
212
|
+
}
|
|
213
|
+
}, []);
|
|
214
|
+
const sanitizePastedHtml = useCallback((html) => {
|
|
215
|
+
const doc = new DOMParser().parseFromString(html, "text/html");
|
|
216
|
+
doc.querySelectorAll("span").forEach((span) => {
|
|
217
|
+
var _a;
|
|
218
|
+
const frag = document.createDocumentFragment();
|
|
219
|
+
while (span.firstChild) frag.appendChild(span.firstChild);
|
|
220
|
+
(_a = span.parentNode) == null ? void 0 : _a.replaceChild(frag, span);
|
|
221
|
+
});
|
|
222
|
+
doc.querySelectorAll("a").forEach((a) => {
|
|
223
|
+
var _a;
|
|
224
|
+
const text = document.createTextNode(a.textContent || "");
|
|
225
|
+
(_a = a.parentNode) == null ? void 0 : _a.replaceChild(text, a);
|
|
226
|
+
});
|
|
227
|
+
doc.querySelectorAll("[style], [class], [color], [bgcolor], [face]").forEach((el) => {
|
|
228
|
+
el.removeAttribute("style");
|
|
229
|
+
el.removeAttribute("class");
|
|
230
|
+
el.removeAttribute("color");
|
|
231
|
+
el.removeAttribute("bgcolor");
|
|
232
|
+
el.removeAttribute("face");
|
|
233
|
+
});
|
|
234
|
+
return doc.body.innerHTML;
|
|
235
|
+
}, []);
|
|
236
|
+
const handlePaste = useCallback((e) => {
|
|
237
|
+
e.preventDefault();
|
|
238
|
+
const html = e.clipboardData.getData("text/html");
|
|
239
|
+
const text = e.clipboardData.getData("text/plain");
|
|
240
|
+
if (html) {
|
|
241
|
+
execCommand("insertHTML", sanitizePastedHtml(html));
|
|
242
|
+
} else {
|
|
243
|
+
execCommand("insertText", text);
|
|
244
|
+
}
|
|
245
|
+
}, [execCommand, sanitizePastedHtml]);
|
|
246
|
+
const handleImageUpload = useCallback(async (file) => {
|
|
247
|
+
var _a;
|
|
248
|
+
try {
|
|
249
|
+
const uFiles = await uploadFiles([file], "document");
|
|
250
|
+
const token = getToken();
|
|
251
|
+
const payload = {
|
|
252
|
+
...token,
|
|
253
|
+
"x-timezone": ((_a = token["x-timezone"]) == null ? void 0 : _a.toString()) || "",
|
|
254
|
+
title: file == null ? void 0 : file.name.split(".")[0],
|
|
255
|
+
path: "/",
|
|
256
|
+
is_private: true,
|
|
257
|
+
is_directory: false,
|
|
258
|
+
file_size: file.size,
|
|
259
|
+
is_child: false,
|
|
260
|
+
file_extension: file == null ? void 0 : file.name.split(".")[1],
|
|
261
|
+
type: "image",
|
|
262
|
+
mime_type: file.type,
|
|
263
|
+
url: `${apiConfig == null ? void 0 : apiConfig.s3BucketUrl}${uFiles[0]}`
|
|
264
|
+
};
|
|
265
|
+
await postV1Drive(payload);
|
|
266
|
+
execCommand("insertHTML", `<img src="${payload.url}" alt="${file.name}" style="max-width: 100%;" />`);
|
|
267
|
+
} catch (error2) {
|
|
268
|
+
console.error("Image upload failed:", error2);
|
|
269
|
+
onError == null ? void 0 : onError(error2);
|
|
270
|
+
}
|
|
271
|
+
}, [apiConfig, execCommand, onError]);
|
|
272
|
+
const handleFileChange = useCallback((e) => {
|
|
273
|
+
var _a;
|
|
274
|
+
const file = (_a = e.target.files) == null ? void 0 : _a[0];
|
|
275
|
+
if (file) {
|
|
276
|
+
handleImageUpload(file);
|
|
277
|
+
}
|
|
278
|
+
}, [handleImageUpload]);
|
|
279
|
+
const handleInsertLink = useCallback(() => {
|
|
280
|
+
const url = prompt("Enter URL:");
|
|
281
|
+
if (url) {
|
|
282
|
+
execCommand("createLink", url);
|
|
283
|
+
}
|
|
284
|
+
}, [execCommand]);
|
|
285
|
+
useCallback(() => {
|
|
286
|
+
const rows = prompt("Number of rows:", "3");
|
|
287
|
+
const cols = prompt("Number of columns:", "3");
|
|
288
|
+
if (rows && cols) {
|
|
289
|
+
let tableHTML = '<table border="1" style="border-collapse: collapse; width: 100%;">';
|
|
290
|
+
tableHTML += "<thead><tr>";
|
|
291
|
+
for (let i = 0; i < parseInt(cols); i++) {
|
|
292
|
+
tableHTML += '<th style="border: 1px solid #ddd; padding: 8px;">Header</th>';
|
|
293
|
+
}
|
|
294
|
+
tableHTML += "</tr></thead><tbody>";
|
|
295
|
+
for (let i = 0; i < parseInt(rows); i++) {
|
|
296
|
+
tableHTML += "<tr>";
|
|
297
|
+
for (let j = 0; j < parseInt(cols); j++) {
|
|
298
|
+
tableHTML += '<td style="border: 1px solid #ddd; padding: 8px;"></td>';
|
|
299
|
+
}
|
|
300
|
+
tableHTML += "</tr>";
|
|
301
|
+
}
|
|
302
|
+
tableHTML += "</tbody></table>";
|
|
303
|
+
execCommand("insertHTML", tableHTML);
|
|
304
|
+
}
|
|
305
|
+
}, [execCommand]);
|
|
306
|
+
const TablePicker = () => {
|
|
307
|
+
const [hoverCell, setHoverCell] = useState(null);
|
|
308
|
+
const maxRows = 10;
|
|
309
|
+
const maxCols = 10;
|
|
310
|
+
const buttonRect = tablePickerAnchor == null ? void 0 : tablePickerAnchor.getBoundingClientRect();
|
|
311
|
+
const editorContainer = document.querySelector(".custom-editor-container");
|
|
312
|
+
const containerRect = editorContainer == null ? void 0 : editorContainer.getBoundingClientRect();
|
|
313
|
+
let top = 0;
|
|
314
|
+
let left = 0;
|
|
315
|
+
if (buttonRect && containerRect) {
|
|
316
|
+
top = buttonRect.bottom - containerRect.top + 5;
|
|
317
|
+
left = buttonRect.left - containerRect.left;
|
|
318
|
+
}
|
|
319
|
+
return /* @__PURE__ */ jsxs(
|
|
320
|
+
Box,
|
|
321
|
+
{
|
|
322
|
+
sx: {
|
|
323
|
+
position: "absolute",
|
|
324
|
+
top: `${top}px`,
|
|
325
|
+
left: `${left}px`,
|
|
326
|
+
bgcolor: "white",
|
|
327
|
+
border: "1px solid #ddd",
|
|
328
|
+
borderRadius: 1,
|
|
329
|
+
p: 2,
|
|
330
|
+
boxShadow: 3,
|
|
331
|
+
zIndex: 9999
|
|
332
|
+
},
|
|
333
|
+
children: [
|
|
334
|
+
/* @__PURE__ */ jsx(Box, { sx: { display: "grid", gridTemplateColumns: `repeat(${maxCols}, 20px)`, gap: "2px", mb: 1 }, children: Array.from({ length: maxRows }).map(
|
|
335
|
+
(_, rowIndex) => Array.from({ length: maxCols }).map((_2, colIndex) => /* @__PURE__ */ jsx(
|
|
336
|
+
Box,
|
|
337
|
+
{
|
|
338
|
+
onMouseEnter: () => setHoverCell({ row: rowIndex + 1, col: colIndex + 1 }),
|
|
339
|
+
onClick: () => {
|
|
340
|
+
handleInsertTableFromPicker(rowIndex + 1, colIndex + 1);
|
|
341
|
+
setHoverCell(null);
|
|
342
|
+
},
|
|
343
|
+
sx: {
|
|
344
|
+
width: 20,
|
|
345
|
+
height: 20,
|
|
346
|
+
border: "1px solid #ddd",
|
|
347
|
+
bgcolor: hoverCell && rowIndex < hoverCell.row && colIndex < hoverCell.col ? "#1976d2" : "white",
|
|
348
|
+
cursor: "pointer",
|
|
349
|
+
"&:hover": {
|
|
350
|
+
bgcolor: "#1976d2"
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
},
|
|
354
|
+
`${rowIndex}-${colIndex}`
|
|
355
|
+
))
|
|
356
|
+
) }),
|
|
357
|
+
/* @__PURE__ */ jsx(Box, { sx: { textAlign: "center", fontSize: "12px", color: "#666" }, children: hoverCell ? `${hoverCell.row} × ${hoverCell.col}` : "1 × 1" })
|
|
358
|
+
]
|
|
359
|
+
}
|
|
360
|
+
);
|
|
361
|
+
};
|
|
362
|
+
const handleFontFamilyChange = useCallback((e) => {
|
|
363
|
+
const family = e.target.value;
|
|
364
|
+
setFontFamily(family);
|
|
365
|
+
execCommand("fontName", family);
|
|
366
|
+
}, [execCommand]);
|
|
367
|
+
const handleFontSizeChange = useCallback((e) => {
|
|
368
|
+
var _a;
|
|
369
|
+
const size = e.target.value;
|
|
370
|
+
setFontSize(size);
|
|
371
|
+
document.execCommand("fontSize", false, "7");
|
|
372
|
+
if (contentEditableRef.current) {
|
|
373
|
+
const fontTags = Array.from(
|
|
374
|
+
contentEditableRef.current.querySelectorAll('font[size="7"]')
|
|
375
|
+
);
|
|
376
|
+
fontTags.forEach((tag) => {
|
|
377
|
+
var _a2;
|
|
378
|
+
const span = document.createElement("span");
|
|
379
|
+
span.style.fontSize = size;
|
|
380
|
+
while (tag.firstChild) span.appendChild(tag.firstChild);
|
|
381
|
+
(_a2 = tag.parentNode) == null ? void 0 : _a2.replaceChild(span, tag);
|
|
382
|
+
});
|
|
383
|
+
sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
384
|
+
saveToHistory();
|
|
385
|
+
(_a = onEditorChangeRef.current) == null ? void 0 : _a.call(onEditorChangeRef, sourceCodeRef.current);
|
|
386
|
+
}
|
|
387
|
+
}, [saveToHistory]);
|
|
388
|
+
const handleHeadingFormatChange = useCallback((e) => {
|
|
389
|
+
const format = e.target.value;
|
|
390
|
+
setHeadingFormat(format);
|
|
391
|
+
execCommand("formatBlock", `<${format}>`);
|
|
392
|
+
}, [execCommand]);
|
|
393
|
+
const handleToggleSource = useCallback(() => {
|
|
394
|
+
var _a;
|
|
395
|
+
if (!showSourceMode) {
|
|
396
|
+
const visualHtml = ((_a = contentEditableRef.current) == null ? void 0 : _a.innerHTML) || sourceCodeRef.current || data;
|
|
397
|
+
const restoredHtml = prepareForSaving(visualHtml, handlebarsMapRef.current);
|
|
398
|
+
setSourceCode(restoredHtml);
|
|
399
|
+
sourceViewContentRef.current = restoredHtml;
|
|
400
|
+
sourceCodeRef.current = restoredHtml;
|
|
401
|
+
setShowSourceMode(true);
|
|
402
|
+
} else {
|
|
403
|
+
const currentSource = sourceViewContentRef.current.trim();
|
|
404
|
+
if (!currentSource) {
|
|
405
|
+
const defaultHtml = "<p><br></p>";
|
|
406
|
+
sourceCodeRef.current = defaultHtml;
|
|
407
|
+
sourceViewContentRef.current = defaultHtml;
|
|
408
|
+
setSourceCode(defaultHtml);
|
|
409
|
+
} else {
|
|
410
|
+
sourceCodeRef.current = currentSource;
|
|
411
|
+
}
|
|
412
|
+
setShowSourceMode(false);
|
|
413
|
+
}
|
|
414
|
+
}, [showSourceMode, data]);
|
|
415
|
+
const hasProcessedModeSwitch = useRef(false);
|
|
416
|
+
useEffect(() => {
|
|
417
|
+
if (!showSourceMode && contentEditableRef.current && !hasProcessedModeSwitch.current) {
|
|
418
|
+
hasProcessedModeSwitch.current = true;
|
|
419
|
+
try {
|
|
420
|
+
const currentSource = sourceCodeRef.current.trim();
|
|
421
|
+
if (!currentSource) {
|
|
422
|
+
const defaultHtml = "<p><br></p>";
|
|
423
|
+
const { html: protectedHtml, map } = prepareForEditing(defaultHtml);
|
|
424
|
+
handlebarsMapRef.current = map;
|
|
425
|
+
contentEditableRef.current.innerHTML = protectedHtml;
|
|
426
|
+
} else {
|
|
427
|
+
const { html: protectedHtml, map } = prepareForEditing(currentSource);
|
|
428
|
+
handlebarsMapRef.current = map;
|
|
429
|
+
if (!protectedHtml || protectedHtml.trim() === "") {
|
|
430
|
+
console.warn("Protected HTML is empty, using original source");
|
|
431
|
+
contentEditableRef.current.innerHTML = currentSource;
|
|
432
|
+
} else {
|
|
433
|
+
contentEditableRef.current.innerHTML = protectedHtml;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
const newHistory = history.slice(0, historyIndex + 1);
|
|
437
|
+
newHistory.push(contentEditableRef.current.innerHTML);
|
|
438
|
+
setHistory(newHistory.slice(-50));
|
|
439
|
+
setHistoryIndex(newHistory.length - 1);
|
|
440
|
+
} catch (error2) {
|
|
441
|
+
console.error("Error updating visual mode:", error2);
|
|
442
|
+
if (contentEditableRef.current && sourceCodeRef.current) {
|
|
443
|
+
try {
|
|
444
|
+
contentEditableRef.current.innerHTML = sourceCodeRef.current;
|
|
445
|
+
} catch (innerError) {
|
|
446
|
+
console.error("Failed to render HTML:", innerError);
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
if (showSourceMode) {
|
|
452
|
+
hasProcessedModeSwitch.current = false;
|
|
453
|
+
}
|
|
454
|
+
}, [showSourceMode, history, historyIndex]);
|
|
455
|
+
const handleHtmlFileUpload = useCallback((e) => {
|
|
456
|
+
var _a;
|
|
457
|
+
const file = (_a = e.target.files) == null ? void 0 : _a[0];
|
|
458
|
+
if (!file) return;
|
|
459
|
+
const reader = new FileReader();
|
|
460
|
+
reader.onload = (event) => {
|
|
461
|
+
var _a2;
|
|
462
|
+
const htmlContent = (_a2 = event.target) == null ? void 0 : _a2.result;
|
|
463
|
+
if (htmlContent) {
|
|
464
|
+
setSourceCode(htmlContent);
|
|
465
|
+
sourceViewContentRef.current = htmlContent;
|
|
466
|
+
sourceCodeRef.current = htmlContent;
|
|
467
|
+
if (!showSourceMode && contentEditableRef.current) {
|
|
468
|
+
try {
|
|
469
|
+
const { html: protectedHtml, map } = prepareForEditing(htmlContent);
|
|
470
|
+
handlebarsMapRef.current = map;
|
|
471
|
+
contentEditableRef.current.innerHTML = protectedHtml;
|
|
472
|
+
saveToHistory();
|
|
473
|
+
} catch (error2) {
|
|
474
|
+
console.error("Error processing uploaded HTML:", error2);
|
|
475
|
+
alert("There was an error processing the HTML file. Please check the file and try again.");
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
};
|
|
480
|
+
reader.onerror = () => {
|
|
481
|
+
alert("Failed to read HTML file. Please try again.");
|
|
482
|
+
};
|
|
483
|
+
reader.readAsText(file);
|
|
484
|
+
e.target.value = "";
|
|
485
|
+
}, [showSourceMode, saveToHistory]);
|
|
486
|
+
const handleSourceCodeChange = useCallback((e) => {
|
|
487
|
+
const newCode = e.target.value;
|
|
488
|
+
setSourceCode(newCode);
|
|
489
|
+
sourceViewContentRef.current = newCode;
|
|
490
|
+
}, []);
|
|
491
|
+
const handleContentClick = useCallback((e) => {
|
|
492
|
+
var _a;
|
|
493
|
+
const target = e.target;
|
|
494
|
+
let elementToSelect = null;
|
|
495
|
+
if (target.tagName === "IMG") {
|
|
496
|
+
e.preventDefault();
|
|
497
|
+
e.stopPropagation();
|
|
498
|
+
elementToSelect = target;
|
|
499
|
+
} else if (target.tagName === "TABLE") {
|
|
500
|
+
e.preventDefault();
|
|
501
|
+
e.stopPropagation();
|
|
502
|
+
elementToSelect = target;
|
|
503
|
+
} else if (target.tagName === "TD" || target.tagName === "TH" || target.tagName === "TR" || target.tagName === "TBODY" || target.tagName === "THEAD") {
|
|
504
|
+
e.preventDefault();
|
|
505
|
+
e.stopPropagation();
|
|
506
|
+
elementToSelect = target.closest("table");
|
|
507
|
+
}
|
|
508
|
+
if (elementToSelect) {
|
|
509
|
+
setSelectedElement(elementToSelect);
|
|
510
|
+
const rect = elementToSelect.getBoundingClientRect();
|
|
511
|
+
const containerRect = (_a = contentEditableRef.current) == null ? void 0 : _a.getBoundingClientRect();
|
|
512
|
+
if (containerRect) {
|
|
513
|
+
setResizeHandles({
|
|
514
|
+
x: rect.left - containerRect.left,
|
|
515
|
+
y: rect.top - containerRect.top,
|
|
516
|
+
width: rect.width,
|
|
517
|
+
height: rect.height
|
|
518
|
+
});
|
|
519
|
+
}
|
|
520
|
+
} else {
|
|
521
|
+
setSelectedElement(null);
|
|
522
|
+
setResizeHandles(null);
|
|
523
|
+
}
|
|
524
|
+
}, []);
|
|
525
|
+
const handleDeleteSelected = useCallback(() => {
|
|
526
|
+
if (selectedElement) {
|
|
527
|
+
selectedElement.remove();
|
|
528
|
+
setSelectedElement(null);
|
|
529
|
+
setResizeHandles(null);
|
|
530
|
+
if (contentEditableRef.current) {
|
|
531
|
+
sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
532
|
+
saveToHistory();
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
}, [selectedElement, saveToHistory]);
|
|
536
|
+
const handleReplaceImage = useCallback(async (file) => {
|
|
537
|
+
var _a;
|
|
538
|
+
if (!selectedElement || selectedElement.tagName !== "IMG") return;
|
|
539
|
+
try {
|
|
540
|
+
const uFiles = await uploadFiles([file], "document");
|
|
541
|
+
const token = getToken();
|
|
542
|
+
const payload = {
|
|
543
|
+
...token,
|
|
544
|
+
"x-timezone": ((_a = token["x-timezone"]) == null ? void 0 : _a.toString()) || "",
|
|
545
|
+
title: file == null ? void 0 : file.name.split(".")[0],
|
|
546
|
+
path: "/",
|
|
547
|
+
is_private: true,
|
|
548
|
+
is_directory: false,
|
|
549
|
+
file_size: file.size,
|
|
550
|
+
is_child: false,
|
|
551
|
+
file_extension: file == null ? void 0 : file.name.split(".")[1],
|
|
552
|
+
type: "image",
|
|
553
|
+
mime_type: file.type,
|
|
554
|
+
url: `${apiConfig == null ? void 0 : apiConfig.s3BucketUrl}${uFiles[0]}`
|
|
555
|
+
};
|
|
556
|
+
await postV1Drive(payload);
|
|
557
|
+
selectedElement.src = payload.url;
|
|
558
|
+
if (contentEditableRef.current) {
|
|
559
|
+
sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
560
|
+
saveToHistory();
|
|
561
|
+
}
|
|
562
|
+
} catch (error2) {
|
|
563
|
+
console.error("Image upload failed:", error2);
|
|
564
|
+
onError == null ? void 0 : onError(error2);
|
|
565
|
+
}
|
|
566
|
+
}, [selectedElement, apiConfig, onError, saveToHistory]);
|
|
567
|
+
const handleReplaceImageChange = useCallback((e) => {
|
|
568
|
+
var _a;
|
|
569
|
+
const file = (_a = e.target.files) == null ? void 0 : _a[0];
|
|
570
|
+
if (file) {
|
|
571
|
+
handleReplaceImage(file);
|
|
572
|
+
}
|
|
573
|
+
}, [handleReplaceImage]);
|
|
574
|
+
const handleTextSelection = useCallback(() => {
|
|
575
|
+
var _a;
|
|
576
|
+
const selection = window.getSelection();
|
|
577
|
+
if (selection && !selection.isCollapsed && selection.rangeCount > 0) {
|
|
578
|
+
const range = selection.getRangeAt(0);
|
|
579
|
+
const rect = range.getBoundingClientRect();
|
|
580
|
+
const containerRect = (_a = contentEditableRef.current) == null ? void 0 : _a.getBoundingClientRect();
|
|
581
|
+
if (containerRect && rect.width > 0) {
|
|
582
|
+
setTextSelectionAnchor({
|
|
583
|
+
x: rect.left + rect.width / 2,
|
|
584
|
+
y: rect.top - 10
|
|
585
|
+
});
|
|
586
|
+
setShowTextToolbar(true);
|
|
587
|
+
}
|
|
588
|
+
let node = selection.anchorNode;
|
|
589
|
+
if ((node == null ? void 0 : node.nodeType) === Node.TEXT_NODE) node = node.parentElement;
|
|
590
|
+
let detectedSize = null;
|
|
591
|
+
let current = node instanceof HTMLElement ? node : null;
|
|
592
|
+
while (current && current !== contentEditableRef.current) {
|
|
593
|
+
if (current.style.fontSize) {
|
|
594
|
+
detectedSize = current.style.fontSize;
|
|
595
|
+
break;
|
|
596
|
+
}
|
|
597
|
+
current = current.parentElement;
|
|
598
|
+
}
|
|
599
|
+
setFontSize(detectedSize ?? "14px");
|
|
600
|
+
} else {
|
|
601
|
+
setShowTextToolbar(false);
|
|
602
|
+
setTextSelectionAnchor(null);
|
|
603
|
+
}
|
|
604
|
+
}, []);
|
|
605
|
+
const handleResizeStart = useCallback((e, handle) => {
|
|
606
|
+
e.preventDefault();
|
|
607
|
+
e.stopPropagation();
|
|
608
|
+
if (selectedElement && resizeHandles) {
|
|
609
|
+
resizeStartRef.current = {
|
|
610
|
+
x: e.clientX,
|
|
611
|
+
y: e.clientY,
|
|
612
|
+
width: resizeHandles.width,
|
|
613
|
+
height: resizeHandles.height,
|
|
614
|
+
handle
|
|
615
|
+
};
|
|
616
|
+
document.addEventListener("mousemove", handleResizeMove);
|
|
617
|
+
document.addEventListener("mouseup", handleResizeEnd);
|
|
618
|
+
}
|
|
619
|
+
}, [selectedElement, resizeHandles]);
|
|
620
|
+
const handleResizeMove = useCallback((e) => {
|
|
621
|
+
var _a;
|
|
622
|
+
if (!resizeStartRef.current || !selectedElement || !resizeHandles) return;
|
|
623
|
+
const { x, y, width, height, handle } = resizeStartRef.current;
|
|
624
|
+
const deltaX = e.clientX - x;
|
|
625
|
+
const deltaY = e.clientY - y;
|
|
626
|
+
let newWidth = width;
|
|
627
|
+
let newHeight = height;
|
|
628
|
+
if (handle.includes("e")) {
|
|
629
|
+
newWidth = Math.max(50, width + deltaX);
|
|
630
|
+
}
|
|
631
|
+
if (handle.includes("w")) {
|
|
632
|
+
newWidth = Math.max(50, width - deltaX);
|
|
633
|
+
}
|
|
634
|
+
if (handle.includes("s")) {
|
|
635
|
+
newHeight = Math.max(50, height + deltaY);
|
|
636
|
+
}
|
|
637
|
+
if (handle.includes("n")) {
|
|
638
|
+
newHeight = Math.max(50, height - deltaY);
|
|
639
|
+
}
|
|
640
|
+
if (handle.length === 2 && selectedElement.tagName === "IMG") {
|
|
641
|
+
const aspectRatio = width / height;
|
|
642
|
+
newHeight = newWidth / aspectRatio;
|
|
643
|
+
}
|
|
644
|
+
selectedElement.style.width = `${newWidth}px`;
|
|
645
|
+
if (selectedElement.tagName === "IMG" || selectedElement.tagName === "TABLE") {
|
|
646
|
+
selectedElement.style.height = `${newHeight}px`;
|
|
647
|
+
}
|
|
648
|
+
const rect = selectedElement.getBoundingClientRect();
|
|
649
|
+
const containerRect = (_a = contentEditableRef.current) == null ? void 0 : _a.getBoundingClientRect();
|
|
650
|
+
if (containerRect) {
|
|
651
|
+
setResizeHandles({
|
|
652
|
+
x: rect.left - containerRect.left,
|
|
653
|
+
y: rect.top - containerRect.top,
|
|
654
|
+
width: rect.width,
|
|
655
|
+
height: rect.height
|
|
656
|
+
});
|
|
657
|
+
}
|
|
658
|
+
}, [selectedElement, resizeHandles]);
|
|
659
|
+
const handleResizeEnd = useCallback(() => {
|
|
660
|
+
document.removeEventListener("mousemove", handleResizeMove);
|
|
661
|
+
document.removeEventListener("mouseup", handleResizeEnd);
|
|
662
|
+
resizeStartRef.current = null;
|
|
663
|
+
if (contentEditableRef.current) {
|
|
664
|
+
sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
665
|
+
saveToHistory();
|
|
666
|
+
}
|
|
667
|
+
}, [handleResizeMove, saveToHistory]);
|
|
668
|
+
const handleShowTablePicker = useCallback((e) => {
|
|
669
|
+
setTablePickerAnchor(e.currentTarget);
|
|
670
|
+
setShowTablePicker(true);
|
|
671
|
+
}, []);
|
|
672
|
+
const handleInsertTableFromPicker = useCallback((rows, cols) => {
|
|
673
|
+
if (contentEditableRef.current) {
|
|
674
|
+
contentEditableRef.current.focus();
|
|
675
|
+
}
|
|
676
|
+
let tableHTML = '<table border="1" style="border-collapse: collapse; width: 100%; margin: 10px 0;">';
|
|
677
|
+
tableHTML += "<tbody>";
|
|
678
|
+
for (let i = 0; i < rows; i++) {
|
|
679
|
+
tableHTML += "<tr>";
|
|
680
|
+
for (let j = 0; j < cols; j++) {
|
|
681
|
+
tableHTML += '<td style="border: 1px solid #ddd; padding: 8px; min-width: 50px;"></td>';
|
|
682
|
+
}
|
|
683
|
+
tableHTML += "</tr>";
|
|
684
|
+
}
|
|
685
|
+
tableHTML += "</tbody></table><p><br></p>";
|
|
686
|
+
document.execCommand("insertHTML", false, tableHTML);
|
|
687
|
+
if (contentEditableRef.current) {
|
|
688
|
+
sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
689
|
+
saveToHistory();
|
|
690
|
+
}
|
|
691
|
+
setShowTablePicker(false);
|
|
692
|
+
setTablePickerAnchor(null);
|
|
693
|
+
}, [saveToHistory]);
|
|
694
|
+
const adapter = {
|
|
695
|
+
getData: () => {
|
|
696
|
+
return prepareForSaving(sourceCodeRef.current, handlebarsMapRef.current);
|
|
697
|
+
},
|
|
698
|
+
setData: (newData) => {
|
|
699
|
+
const { html: protectedHtml, map } = prepareForEditing(newData);
|
|
700
|
+
handlebarsMapRef.current = map;
|
|
701
|
+
sourceCodeRef.current = newData;
|
|
702
|
+
if (contentEditableRef.current) {
|
|
703
|
+
contentEditableRef.current.innerHTML = protectedHtml;
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
model: {
|
|
707
|
+
insertContent: (fragment) => {
|
|
708
|
+
execCommand("insertHTML", fragment);
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
data: {
|
|
712
|
+
processor: {
|
|
713
|
+
toView: (html) => html
|
|
714
|
+
},
|
|
715
|
+
toModel: (html) => html
|
|
716
|
+
}
|
|
717
|
+
};
|
|
718
|
+
useImperativeHandle(ref, () => adapter, []);
|
|
719
|
+
useEffect(() => {
|
|
720
|
+
if (editorRefProp) {
|
|
721
|
+
editorRefProp.current = adapter;
|
|
722
|
+
}
|
|
723
|
+
}, [editorRefProp]);
|
|
724
|
+
const toolbarCmd = (command, value) => (e) => {
|
|
725
|
+
e.preventDefault();
|
|
726
|
+
execCommand(command, value);
|
|
727
|
+
};
|
|
728
|
+
if (error) {
|
|
729
|
+
return /* @__PURE__ */ jsxs("div", { className: "editor-error-container", children: [
|
|
730
|
+
/* @__PURE__ */ jsxs("div", { className: "editor-error-message", children: [
|
|
731
|
+
"Editor Error: ",
|
|
732
|
+
error.message
|
|
733
|
+
] }),
|
|
734
|
+
/* @__PURE__ */ jsx("button", { onClick: () => setError(null), className: "editor-retry-button", children: "Retry" })
|
|
735
|
+
] });
|
|
736
|
+
}
|
|
737
|
+
return /* @__PURE__ */ jsxs("div", { className: "custom-editor-container", children: [
|
|
738
|
+
/* @__PURE__ */ jsxs(Box, { sx: {
|
|
739
|
+
display: "flex",
|
|
740
|
+
alignItems: "center",
|
|
741
|
+
gap: 2,
|
|
742
|
+
px: 2,
|
|
743
|
+
py: 0.5,
|
|
744
|
+
borderBottom: "1px solid #ddd",
|
|
745
|
+
bgcolor: "#f8f9fa",
|
|
746
|
+
fontSize: "13px"
|
|
747
|
+
}, children: [
|
|
748
|
+
/* @__PURE__ */ jsx("span", { style: { cursor: "pointer", color: "#333" }, children: "Edit" }),
|
|
749
|
+
/* @__PURE__ */ jsx("span", { style: { cursor: "pointer", color: "#333" }, children: "View" }),
|
|
750
|
+
/* @__PURE__ */ jsx("span", { style: { cursor: "pointer", color: "#333" }, children: "Insert" }),
|
|
751
|
+
/* @__PURE__ */ jsx("span", { style: { cursor: "pointer", color: "#333" }, children: "Format" }),
|
|
752
|
+
/* @__PURE__ */ jsx("span", { style: { cursor: "pointer", color: "#333" }, children: "Help" })
|
|
753
|
+
] }),
|
|
754
|
+
/* @__PURE__ */ jsxs(Box, { sx: {
|
|
755
|
+
display: "flex",
|
|
756
|
+
flexWrap: "wrap",
|
|
757
|
+
gap: 0.5,
|
|
758
|
+
p: 1,
|
|
759
|
+
borderBottom: "1px solid #ddd",
|
|
760
|
+
bgcolor: "#f5f5f5",
|
|
761
|
+
alignItems: "center"
|
|
762
|
+
}, children: [
|
|
763
|
+
/* @__PURE__ */ jsx(Tooltip, { title: showSourceMode ? "Switch to Visual" : "Switch to Source", children: /* @__PURE__ */ jsxs(
|
|
764
|
+
Box,
|
|
765
|
+
{
|
|
766
|
+
onClick: handleToggleSource,
|
|
767
|
+
sx: {
|
|
768
|
+
display: "flex",
|
|
769
|
+
alignItems: "center",
|
|
770
|
+
gap: 0.5,
|
|
771
|
+
px: 1,
|
|
772
|
+
py: 0.5,
|
|
773
|
+
cursor: "pointer",
|
|
774
|
+
borderRadius: 1,
|
|
775
|
+
border: "1px solid",
|
|
776
|
+
borderColor: showSourceMode ? "primary.main" : "transparent",
|
|
777
|
+
bgcolor: showSourceMode ? "primary.50" : "transparent",
|
|
778
|
+
color: showSourceMode ? "primary.main" : "text.secondary",
|
|
779
|
+
"&:hover": {
|
|
780
|
+
bgcolor: showSourceMode ? "primary.100" : "grey.200"
|
|
781
|
+
},
|
|
782
|
+
transition: "all 0.15s ease",
|
|
783
|
+
userSelect: "none"
|
|
784
|
+
},
|
|
785
|
+
children: [
|
|
786
|
+
/* @__PURE__ */ jsxs("svg", { width: "18", height: "18", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
787
|
+
/* @__PURE__ */ 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" }),
|
|
788
|
+
/* @__PURE__ */ jsx("polyline", { points: "14,2 14,8 20,8", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", fill: "none" }),
|
|
789
|
+
/* @__PURE__ */ jsx("path", { d: "M9 13L7 15L9 17", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
790
|
+
/* @__PURE__ */ jsx("path", { d: "M15 13L17 15L15 17", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
791
|
+
/* @__PURE__ */ jsx("line", { x1: "13", y1: "12", x2: "11", y2: "18", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round" })
|
|
792
|
+
] }),
|
|
793
|
+
/* @__PURE__ */ jsx("span", { style: { fontSize: "13px", fontWeight: 500 }, children: "Source" })
|
|
794
|
+
]
|
|
795
|
+
}
|
|
796
|
+
) }),
|
|
797
|
+
/* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
|
|
798
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Undo", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: handleUndo, disabled: historyIndex === 0, children: /* @__PURE__ */ jsx(Undo, { fontSize: "small" }) }) }),
|
|
799
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Redo", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: handleRedo, disabled: historyIndex === history.length - 1, children: /* @__PURE__ */ jsx(Redo, { fontSize: "small" }) }) }),
|
|
800
|
+
/* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
|
|
801
|
+
/* @__PURE__ */ jsx(
|
|
802
|
+
Select,
|
|
803
|
+
{
|
|
804
|
+
value: headingFormat,
|
|
805
|
+
onChange: handleHeadingFormatChange,
|
|
806
|
+
size: "small",
|
|
807
|
+
sx: { minWidth: 100, height: 28, fontSize: "12px" },
|
|
808
|
+
children: HEADING_FORMATS.map((format) => /* @__PURE__ */ jsx(MenuItem, { value: format.value, children: format.label }, format.value))
|
|
809
|
+
}
|
|
810
|
+
),
|
|
811
|
+
/* @__PURE__ */ jsx(
|
|
812
|
+
Select,
|
|
813
|
+
{
|
|
814
|
+
value: fontFamily,
|
|
815
|
+
onChange: handleFontFamilyChange,
|
|
816
|
+
size: "small",
|
|
817
|
+
sx: { minWidth: 120, height: 28, fontSize: "12px" },
|
|
818
|
+
children: FONT_FAMILIES.map((font) => /* @__PURE__ */ jsx(MenuItem, { value: font, style: { fontFamily: font }, children: font }, font))
|
|
819
|
+
}
|
|
820
|
+
),
|
|
821
|
+
/* @__PURE__ */ jsx(
|
|
822
|
+
Select,
|
|
823
|
+
{
|
|
824
|
+
value: fontSize,
|
|
825
|
+
onChange: handleFontSizeChange,
|
|
826
|
+
size: "small",
|
|
827
|
+
sx: { minWidth: 70, height: 28, fontSize: "12px" },
|
|
828
|
+
children: FONT_SIZES.map((size) => /* @__PURE__ */ jsx(MenuItem, { value: size, children: size }, size))
|
|
829
|
+
}
|
|
830
|
+
),
|
|
831
|
+
/* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
|
|
832
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Bold", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("bold"), children: /* @__PURE__ */ jsx(FormatBold, { fontSize: "small" }) }) }),
|
|
833
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Italic", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("italic"), children: /* @__PURE__ */ jsx(FormatItalic, { fontSize: "small" }) }) }),
|
|
834
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Underline", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("underline"), children: /* @__PURE__ */ jsx(FormatUnderlined, { fontSize: "small" }) }) }),
|
|
835
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Strikethrough", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("strikeThrough"), children: /* @__PURE__ */ jsx(FormatStrikethrough, { fontSize: "small" }) }) }),
|
|
836
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Subscript", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("subscript"), children: /* @__PURE__ */ jsx(Subscript, { fontSize: "small" }) }) }),
|
|
837
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Superscript", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("superscript"), children: /* @__PURE__ */ jsx(Superscript, { fontSize: "small" }) }) }),
|
|
838
|
+
/* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
|
|
839
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Text Color", children: /* @__PURE__ */ jsx(
|
|
840
|
+
IconButton,
|
|
841
|
+
{
|
|
842
|
+
size: "small",
|
|
843
|
+
onMouseDown: (e) => {
|
|
844
|
+
e.preventDefault();
|
|
845
|
+
setColorPickerState({ anchor: e.currentTarget, type: "text" });
|
|
846
|
+
},
|
|
847
|
+
style: { width: 32, height: 28, border: "1px solid #ddd", borderRadius: "4px", backgroundColor: "white" },
|
|
848
|
+
children: /* @__PURE__ */ jsx("span", { style: { fontSize: "16px", fontWeight: "bold", color: "#000" }, children: "A" })
|
|
849
|
+
}
|
|
850
|
+
) }),
|
|
851
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Background Color", children: /* @__PURE__ */ jsx(
|
|
852
|
+
IconButton,
|
|
853
|
+
{
|
|
854
|
+
size: "small",
|
|
855
|
+
onMouseDown: (e) => {
|
|
856
|
+
e.preventDefault();
|
|
857
|
+
setColorPickerState({ anchor: e.currentTarget, type: "bg" });
|
|
858
|
+
},
|
|
859
|
+
style: { width: 32, height: 28, border: "1px solid #ddd", borderRadius: "4px", backgroundColor: "#fffde7" },
|
|
860
|
+
children: /* @__PURE__ */ jsx("span", { style: { fontSize: "16px", fontWeight: "bold", color: "#000" }, children: "A" })
|
|
861
|
+
}
|
|
862
|
+
) }),
|
|
863
|
+
/* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
|
|
864
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Align Left", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("justifyLeft"), children: /* @__PURE__ */ jsx(FormatAlignLeft, { fontSize: "small" }) }) }),
|
|
865
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Align Center", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("justifyCenter"), children: /* @__PURE__ */ jsx(FormatAlignCenter, { fontSize: "small" }) }) }),
|
|
866
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Align Right", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("justifyRight"), children: /* @__PURE__ */ jsx(FormatAlignRight, { fontSize: "small" }) }) }),
|
|
867
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Justify", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("justifyFull"), children: /* @__PURE__ */ jsx(FormatAlignJustify, { fontSize: "small" }) }) }),
|
|
868
|
+
/* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
|
|
869
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Bullet List", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("insertUnorderedList"), children: /* @__PURE__ */ jsx(FormatListBulleted, { fontSize: "small" }) }) }),
|
|
870
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Numbered List", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("insertOrderedList"), children: /* @__PURE__ */ jsx(FormatListNumbered, { fontSize: "small" }) }) }),
|
|
871
|
+
/* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: { mx: 0.5 } }),
|
|
872
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Insert Link", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: handleInsertLink, children: /* @__PURE__ */ jsx(Link, { fontSize: "small" }) }) }),
|
|
873
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Insert Image", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: () => {
|
|
874
|
+
var _a;
|
|
875
|
+
return (_a = fileInputRef.current) == null ? void 0 : _a.click();
|
|
876
|
+
}, children: /* @__PURE__ */ jsx(Image, { fontSize: "small" }) }) }),
|
|
877
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Insert Table", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onClick: handleShowTablePicker, children: /* @__PURE__ */ jsx(TableChart, { fontSize: "small" }) }) }),
|
|
878
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Code", children: /* @__PURE__ */ jsx(IconButton, { size: "small", onMouseDown: toolbarCmd("formatBlock", "<pre>"), children: /* @__PURE__ */ jsx(Code, { fontSize: "small" }) }) })
|
|
879
|
+
] }),
|
|
880
|
+
/* @__PURE__ */ jsx(
|
|
881
|
+
"input",
|
|
882
|
+
{
|
|
883
|
+
ref: fileInputRef,
|
|
884
|
+
type: "file",
|
|
885
|
+
accept: "image/*",
|
|
886
|
+
style: { display: "none" },
|
|
887
|
+
onChange: handleFileChange
|
|
888
|
+
}
|
|
889
|
+
),
|
|
890
|
+
/* @__PURE__ */ jsx(
|
|
891
|
+
"input",
|
|
892
|
+
{
|
|
893
|
+
ref: htmlFileInputRef,
|
|
894
|
+
type: "file",
|
|
895
|
+
accept: ".html,.htm,text/html",
|
|
896
|
+
style: { display: "none" },
|
|
897
|
+
onChange: handleHtmlFileUpload
|
|
898
|
+
}
|
|
899
|
+
),
|
|
900
|
+
/* @__PURE__ */ jsx(
|
|
901
|
+
"input",
|
|
902
|
+
{
|
|
903
|
+
ref: replaceImageInputRef,
|
|
904
|
+
type: "file",
|
|
905
|
+
accept: "image/*",
|
|
906
|
+
style: { display: "none" },
|
|
907
|
+
onChange: handleReplaceImageChange
|
|
908
|
+
}
|
|
909
|
+
),
|
|
910
|
+
showSourceMode ? /* @__PURE__ */ jsx(
|
|
911
|
+
"textarea",
|
|
912
|
+
{
|
|
913
|
+
value: sourceCode,
|
|
914
|
+
onChange: handleSourceCodeChange,
|
|
915
|
+
className: "custom-editor-source",
|
|
916
|
+
style: {
|
|
917
|
+
width: "100%",
|
|
918
|
+
minHeight: "300px",
|
|
919
|
+
padding: "16px",
|
|
920
|
+
border: "none",
|
|
921
|
+
outline: "none",
|
|
922
|
+
fontFamily: "Courier New, monospace",
|
|
923
|
+
fontSize: "13px",
|
|
924
|
+
lineHeight: "1.5",
|
|
925
|
+
resize: "vertical"
|
|
926
|
+
}
|
|
927
|
+
}
|
|
928
|
+
) : /* @__PURE__ */ jsxs("div", { style: { position: "relative" }, children: [
|
|
929
|
+
/* @__PURE__ */ jsx(
|
|
930
|
+
"div",
|
|
931
|
+
{
|
|
932
|
+
ref: contentEditableRef,
|
|
933
|
+
contentEditable: true,
|
|
934
|
+
className: "editor-content",
|
|
935
|
+
onInput: handleInput,
|
|
936
|
+
onPaste: handlePaste,
|
|
937
|
+
onClick: handleContentClick,
|
|
938
|
+
onMouseUp: handleTextSelection,
|
|
939
|
+
onKeyUp: handleTextSelection,
|
|
940
|
+
style: {
|
|
941
|
+
minHeight: "300px",
|
|
942
|
+
padding: "16px",
|
|
943
|
+
border: "1px solid #ddd",
|
|
944
|
+
borderTop: "none",
|
|
945
|
+
outline: "none",
|
|
946
|
+
fontFamily: "inherit",
|
|
947
|
+
fontSize: "inherit",
|
|
948
|
+
lineHeight: "1.6",
|
|
949
|
+
backgroundColor: "white"
|
|
950
|
+
},
|
|
951
|
+
...rest
|
|
952
|
+
}
|
|
953
|
+
),
|
|
954
|
+
selectedElement && resizeHandles && /* @__PURE__ */ jsxs(
|
|
955
|
+
"div",
|
|
956
|
+
{
|
|
957
|
+
style: {
|
|
958
|
+
position: "absolute",
|
|
959
|
+
left: resizeHandles.x,
|
|
960
|
+
top: resizeHandles.y,
|
|
961
|
+
width: resizeHandles.width,
|
|
962
|
+
height: resizeHandles.height,
|
|
963
|
+
border: "2px solid #1976d2",
|
|
964
|
+
pointerEvents: "none",
|
|
965
|
+
zIndex: 1e3
|
|
966
|
+
},
|
|
967
|
+
children: [
|
|
968
|
+
/* @__PURE__ */ jsxs(
|
|
969
|
+
Box,
|
|
970
|
+
{
|
|
971
|
+
sx: {
|
|
972
|
+
position: "absolute",
|
|
973
|
+
top: -36,
|
|
974
|
+
left: 0,
|
|
975
|
+
display: "flex",
|
|
976
|
+
gap: 0.5,
|
|
977
|
+
bgcolor: "white",
|
|
978
|
+
border: "1px solid #ddd",
|
|
979
|
+
borderRadius: 1,
|
|
980
|
+
p: 0.25,
|
|
981
|
+
boxShadow: 2,
|
|
982
|
+
pointerEvents: "auto"
|
|
983
|
+
},
|
|
984
|
+
children: [
|
|
985
|
+
selectedElement.tagName === "IMG" && /* @__PURE__ */ jsx(Tooltip, { title: "Replace Image", children: /* @__PURE__ */ jsx(
|
|
986
|
+
IconButton,
|
|
987
|
+
{
|
|
988
|
+
size: "small",
|
|
989
|
+
onClick: () => {
|
|
990
|
+
var _a;
|
|
991
|
+
return (_a = replaceImageInputRef.current) == null ? void 0 : _a.click();
|
|
992
|
+
},
|
|
993
|
+
sx: { width: 22, height: 22 },
|
|
994
|
+
children: /* @__PURE__ */ jsx(SwapHoriz, { sx: { fontSize: 14 } })
|
|
995
|
+
}
|
|
996
|
+
) }),
|
|
997
|
+
selectedElement.tagName === "TABLE" && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
998
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Add Row", children: /* @__PURE__ */ jsx(
|
|
999
|
+
IconButton,
|
|
1000
|
+
{
|
|
1001
|
+
size: "small",
|
|
1002
|
+
onClick: () => {
|
|
1003
|
+
const tbody = selectedElement.querySelector("tbody");
|
|
1004
|
+
if (tbody) {
|
|
1005
|
+
const colCount = selectedElement.querySelectorAll("tr:first-child td, tr:first-child th").length || 1;
|
|
1006
|
+
const tr = document.createElement("tr");
|
|
1007
|
+
for (let i = 0; i < colCount; i++) {
|
|
1008
|
+
const td = document.createElement("td");
|
|
1009
|
+
td.style.cssText = "border: 1px solid #ddd; padding: 8px; min-width: 50px;";
|
|
1010
|
+
tr.appendChild(td);
|
|
1011
|
+
}
|
|
1012
|
+
tbody.appendChild(tr);
|
|
1013
|
+
if (contentEditableRef.current) sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
1014
|
+
}
|
|
1015
|
+
},
|
|
1016
|
+
sx: { width: 22, height: 22 },
|
|
1017
|
+
children: /* @__PURE__ */ jsx(AddCircleOutline, { sx: { fontSize: 14 } })
|
|
1018
|
+
}
|
|
1019
|
+
) }),
|
|
1020
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Delete Row", children: /* @__PURE__ */ jsx(
|
|
1021
|
+
IconButton,
|
|
1022
|
+
{
|
|
1023
|
+
size: "small",
|
|
1024
|
+
onClick: () => {
|
|
1025
|
+
const rows = selectedElement.querySelectorAll("tbody tr");
|
|
1026
|
+
if (rows.length > 1) {
|
|
1027
|
+
rows[rows.length - 1].remove();
|
|
1028
|
+
if (contentEditableRef.current) sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
1029
|
+
}
|
|
1030
|
+
},
|
|
1031
|
+
sx: { width: 22, height: 22 },
|
|
1032
|
+
children: /* @__PURE__ */ jsx(RemoveCircleOutline, { sx: { fontSize: 14 } })
|
|
1033
|
+
}
|
|
1034
|
+
) }),
|
|
1035
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Add Column", children: /* @__PURE__ */ jsx(
|
|
1036
|
+
IconButton,
|
|
1037
|
+
{
|
|
1038
|
+
size: "small",
|
|
1039
|
+
onClick: () => {
|
|
1040
|
+
selectedElement.querySelectorAll("tr").forEach((tr) => {
|
|
1041
|
+
const isHeader = tr.closest("thead") !== null;
|
|
1042
|
+
const cell = document.createElement(isHeader ? "th" : "td");
|
|
1043
|
+
cell.style.cssText = "border: 1px solid #ddd; padding: 8px; min-width: 50px;";
|
|
1044
|
+
tr.appendChild(cell);
|
|
1045
|
+
});
|
|
1046
|
+
if (contentEditableRef.current) sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
1047
|
+
},
|
|
1048
|
+
sx: { width: 22, height: 22 },
|
|
1049
|
+
children: /* @__PURE__ */ jsx(AddCircleOutline, { sx: { fontSize: 14, transform: "rotate(90deg)" } })
|
|
1050
|
+
}
|
|
1051
|
+
) }),
|
|
1052
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Delete Column", children: /* @__PURE__ */ jsx(
|
|
1053
|
+
IconButton,
|
|
1054
|
+
{
|
|
1055
|
+
size: "small",
|
|
1056
|
+
onClick: () => {
|
|
1057
|
+
var _a;
|
|
1058
|
+
const allRows = selectedElement.querySelectorAll("tr");
|
|
1059
|
+
const colCount = ((_a = allRows[0]) == null ? void 0 : _a.children.length) || 0;
|
|
1060
|
+
if (colCount > 1) {
|
|
1061
|
+
allRows.forEach((tr) => {
|
|
1062
|
+
if (tr.lastElementChild) tr.removeChild(tr.lastElementChild);
|
|
1063
|
+
});
|
|
1064
|
+
if (contentEditableRef.current) sourceCodeRef.current = contentEditableRef.current.innerHTML;
|
|
1065
|
+
}
|
|
1066
|
+
},
|
|
1067
|
+
sx: { width: 22, height: 22 },
|
|
1068
|
+
children: /* @__PURE__ */ jsx(RemoveCircleOutline, { sx: { fontSize: 14, transform: "rotate(90deg)" } })
|
|
1069
|
+
}
|
|
1070
|
+
) })
|
|
1071
|
+
] }),
|
|
1072
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Delete", children: /* @__PURE__ */ jsx(
|
|
1073
|
+
IconButton,
|
|
1074
|
+
{
|
|
1075
|
+
size: "small",
|
|
1076
|
+
onClick: handleDeleteSelected,
|
|
1077
|
+
sx: {
|
|
1078
|
+
width: 22,
|
|
1079
|
+
height: 22,
|
|
1080
|
+
color: "#f44336",
|
|
1081
|
+
"&:hover": { bgcolor: "#ffebee" }
|
|
1082
|
+
},
|
|
1083
|
+
children: /* @__PURE__ */ jsx(Close, { sx: { fontSize: 14 } })
|
|
1084
|
+
}
|
|
1085
|
+
) })
|
|
1086
|
+
]
|
|
1087
|
+
}
|
|
1088
|
+
),
|
|
1089
|
+
["nw", "n", "ne", "e", "se", "s", "sw", "w"].map((handle) => /* @__PURE__ */ jsx(
|
|
1090
|
+
"div",
|
|
1091
|
+
{
|
|
1092
|
+
onMouseDown: (e) => handleResizeStart(e, handle),
|
|
1093
|
+
style: {
|
|
1094
|
+
position: "absolute",
|
|
1095
|
+
width: 8,
|
|
1096
|
+
height: 8,
|
|
1097
|
+
backgroundColor: "#1976d2",
|
|
1098
|
+
border: "1px solid white",
|
|
1099
|
+
pointerEvents: "auto",
|
|
1100
|
+
cursor: `${handle}-resize`,
|
|
1101
|
+
...handle === "nw" && { top: -4, left: -4 },
|
|
1102
|
+
...handle === "n" && { top: -4, left: "50%", transform: "translateX(-50%)" },
|
|
1103
|
+
...handle === "ne" && { top: -4, right: -4 },
|
|
1104
|
+
...handle === "e" && { top: "50%", right: -4, transform: "translateY(-50%)" },
|
|
1105
|
+
...handle === "se" && { bottom: -4, right: -4 },
|
|
1106
|
+
...handle === "s" && { bottom: -4, left: "50%", transform: "translateX(-50%)" },
|
|
1107
|
+
...handle === "sw" && { bottom: -4, left: -4 },
|
|
1108
|
+
...handle === "w" && { top: "50%", left: -4, transform: "translateY(-50%)" }
|
|
1109
|
+
}
|
|
1110
|
+
},
|
|
1111
|
+
handle
|
|
1112
|
+
))
|
|
1113
|
+
]
|
|
1114
|
+
}
|
|
1115
|
+
),
|
|
1116
|
+
showTextToolbar && textSelectionAnchor && /* @__PURE__ */ jsxs(
|
|
1117
|
+
Box,
|
|
1118
|
+
{
|
|
1119
|
+
sx: {
|
|
1120
|
+
position: "fixed",
|
|
1121
|
+
left: textSelectionAnchor.x,
|
|
1122
|
+
top: textSelectionAnchor.y,
|
|
1123
|
+
transform: "translate(-50%, -100%)",
|
|
1124
|
+
display: "flex",
|
|
1125
|
+
gap: 0.5,
|
|
1126
|
+
bgcolor: "#333",
|
|
1127
|
+
color: "white",
|
|
1128
|
+
borderRadius: 1,
|
|
1129
|
+
p: 0.5,
|
|
1130
|
+
boxShadow: 3,
|
|
1131
|
+
zIndex: 1e4
|
|
1132
|
+
},
|
|
1133
|
+
children: [
|
|
1134
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Bold", children: /* @__PURE__ */ jsx(
|
|
1135
|
+
IconButton,
|
|
1136
|
+
{
|
|
1137
|
+
size: "small",
|
|
1138
|
+
onMouseDown: toolbarCmd("bold"),
|
|
1139
|
+
sx: { color: "white", width: 28, height: 28 },
|
|
1140
|
+
children: /* @__PURE__ */ jsx(FormatBold, { fontSize: "small" })
|
|
1141
|
+
}
|
|
1142
|
+
) }),
|
|
1143
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Italic", children: /* @__PURE__ */ jsx(
|
|
1144
|
+
IconButton,
|
|
1145
|
+
{
|
|
1146
|
+
size: "small",
|
|
1147
|
+
onMouseDown: toolbarCmd("italic"),
|
|
1148
|
+
sx: { color: "white", width: 28, height: 28 },
|
|
1149
|
+
children: /* @__PURE__ */ jsx(FormatItalic, { fontSize: "small" })
|
|
1150
|
+
}
|
|
1151
|
+
) }),
|
|
1152
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Underline", children: /* @__PURE__ */ jsx(
|
|
1153
|
+
IconButton,
|
|
1154
|
+
{
|
|
1155
|
+
size: "small",
|
|
1156
|
+
onMouseDown: toolbarCmd("underline"),
|
|
1157
|
+
sx: { color: "white", width: 28, height: 28 },
|
|
1158
|
+
children: /* @__PURE__ */ jsx(FormatUnderlined, { fontSize: "small" })
|
|
1159
|
+
}
|
|
1160
|
+
) }),
|
|
1161
|
+
/* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: { bgcolor: "rgba(255,255,255,0.2)", mx: 0.5 } }),
|
|
1162
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Text Color", children: /* @__PURE__ */ jsx(
|
|
1163
|
+
IconButton,
|
|
1164
|
+
{
|
|
1165
|
+
size: "small",
|
|
1166
|
+
sx: { color: "white", width: 28, height: 28 },
|
|
1167
|
+
onMouseDown: (e) => {
|
|
1168
|
+
e.preventDefault();
|
|
1169
|
+
setColorPickerState({ anchor: e.currentTarget, type: "text" });
|
|
1170
|
+
},
|
|
1171
|
+
children: /* @__PURE__ */ jsx("span", { style: { fontSize: "14px", fontWeight: "bold" }, children: "A" })
|
|
1172
|
+
}
|
|
1173
|
+
) }),
|
|
1174
|
+
/* @__PURE__ */ jsx(Tooltip, { title: "Font Size", children: /* @__PURE__ */ jsx(
|
|
1175
|
+
Select,
|
|
1176
|
+
{
|
|
1177
|
+
size: "small",
|
|
1178
|
+
defaultValue: "14px",
|
|
1179
|
+
onChange: handleFontSizeChange,
|
|
1180
|
+
sx: {
|
|
1181
|
+
color: "white",
|
|
1182
|
+
height: 28,
|
|
1183
|
+
minWidth: 70,
|
|
1184
|
+
"& .MuiOutlinedInput-notchedOutline": { border: "none" },
|
|
1185
|
+
"& .MuiSvgIcon-root": { color: "white" }
|
|
1186
|
+
},
|
|
1187
|
+
children: FONT_SIZES.map((size) => /* @__PURE__ */ jsx(MenuItem, { value: size, children: size }, size))
|
|
1188
|
+
}
|
|
1189
|
+
) })
|
|
1190
|
+
]
|
|
1191
|
+
}
|
|
1192
|
+
)
|
|
1193
|
+
] }),
|
|
1194
|
+
colorPickerState && /* @__PURE__ */ jsx(
|
|
1195
|
+
Popover,
|
|
1196
|
+
{
|
|
1197
|
+
open: true,
|
|
1198
|
+
anchorEl: colorPickerState.anchor,
|
|
1199
|
+
onClose: () => setColorPickerState(null),
|
|
1200
|
+
disableAutoFocus: true,
|
|
1201
|
+
disableEnforceFocus: true,
|
|
1202
|
+
anchorOrigin: { vertical: "bottom", horizontal: "left" },
|
|
1203
|
+
transformOrigin: { vertical: "top", horizontal: "left" },
|
|
1204
|
+
children: /* @__PURE__ */ jsx(Box, { sx: { p: 1 }, children: /* @__PURE__ */ jsx(Box, { sx: { display: "grid", gridTemplateColumns: "repeat(8, 20px)", gap: "3px" }, children: PRESET_COLORS.map((color) => /* @__PURE__ */ jsx(
|
|
1205
|
+
Box,
|
|
1206
|
+
{
|
|
1207
|
+
onMouseDown: (e) => {
|
|
1208
|
+
e.preventDefault();
|
|
1209
|
+
if (colorPickerState.type === "text") {
|
|
1210
|
+
execCommand("foreColor", color);
|
|
1211
|
+
} else {
|
|
1212
|
+
execCommand("hiliteColor", color);
|
|
1213
|
+
}
|
|
1214
|
+
setColorPickerState(null);
|
|
1215
|
+
},
|
|
1216
|
+
sx: {
|
|
1217
|
+
width: 20,
|
|
1218
|
+
height: 20,
|
|
1219
|
+
bgcolor: color,
|
|
1220
|
+
cursor: "pointer",
|
|
1221
|
+
border: "1px solid rgba(0,0,0,0.15)",
|
|
1222
|
+
borderRadius: "2px",
|
|
1223
|
+
"&:hover": { transform: "scale(1.3)", zIndex: 1, position: "relative" }
|
|
1224
|
+
}
|
|
1225
|
+
},
|
|
1226
|
+
color
|
|
1227
|
+
)) }) })
|
|
1228
|
+
}
|
|
1229
|
+
),
|
|
1230
|
+
showTablePicker && tablePickerAnchor && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1231
|
+
/* @__PURE__ */ jsx(
|
|
1232
|
+
Box,
|
|
1233
|
+
{
|
|
1234
|
+
onClick: () => {
|
|
1235
|
+
setShowTablePicker(false);
|
|
1236
|
+
setTablePickerAnchor(null);
|
|
1237
|
+
},
|
|
1238
|
+
sx: {
|
|
1239
|
+
position: "fixed",
|
|
1240
|
+
top: 0,
|
|
1241
|
+
left: 0,
|
|
1242
|
+
right: 0,
|
|
1243
|
+
bottom: 0,
|
|
1244
|
+
zIndex: 9998
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
),
|
|
1248
|
+
/* @__PURE__ */ jsx(TablePicker, {})
|
|
1249
|
+
] })
|
|
1250
|
+
] });
|
|
1251
|
+
});
|
|
1252
|
+
CustomEditor.displayName = "CustomEditor";
|
|
1253
|
+
export {
|
|
1254
|
+
CustomEditor,
|
|
1255
|
+
CustomEditor as default
|
|
1256
|
+
};
|
|
1257
|
+
//# sourceMappingURL=custom-editor-De9IWFLM.esm.js.map
|