@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,57 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Toolbar, styled, AppBar as AppBar$1 } from "@mui/material";
|
|
3
|
+
import { H as Header } from "./header-S5MMcx4g.esm.js";
|
|
4
|
+
import "./appbar-l0sNRNKZ.esm.js";
|
|
5
|
+
let drawerWidth;
|
|
6
|
+
const closedSidebarWidth = (theme) => `calc(${theme.spacing(8)} + 1px)`;
|
|
7
|
+
const AppBar = styled(AppBar$1, {
|
|
8
|
+
shouldForwardProp: (prop) => prop !== "open"
|
|
9
|
+
})(({ theme, open }) => {
|
|
10
|
+
const isRtl = document.body.dir === "rtl";
|
|
11
|
+
const collapsedW = closedSidebarWidth(theme);
|
|
12
|
+
return {
|
|
13
|
+
zIndex: theme.zIndex.drawer + 2,
|
|
14
|
+
transition: theme.transitions.create(["width", "margin"], {
|
|
15
|
+
easing: theme.transitions.easing.sharp,
|
|
16
|
+
duration: theme.transitions.duration.leavingScreen
|
|
17
|
+
}),
|
|
18
|
+
// Base: always offset by collapsed sidebar so the header never hides behind it
|
|
19
|
+
marginLeft: isRtl ? 0 : collapsedW,
|
|
20
|
+
marginRight: isRtl ? collapsedW : 0,
|
|
21
|
+
width: `calc(100% - ${collapsedW})`,
|
|
22
|
+
...open && {
|
|
23
|
+
marginLeft: isRtl ? 0 : drawerWidth,
|
|
24
|
+
marginRight: isRtl ? drawerWidth : 0,
|
|
25
|
+
width: `calc(100% - ${drawerWidth}px)`,
|
|
26
|
+
transition: theme.transitions.create(["width", "margin"], {
|
|
27
|
+
easing: theme.transitions.easing.sharp,
|
|
28
|
+
duration: theme.transitions.duration.enteringScreen
|
|
29
|
+
})
|
|
30
|
+
},
|
|
31
|
+
boxShadow: "none",
|
|
32
|
+
overflow: "visible"
|
|
33
|
+
};
|
|
34
|
+
});
|
|
35
|
+
const AppBarWrapper = (props) => {
|
|
36
|
+
drawerWidth = props.width;
|
|
37
|
+
return /* @__PURE__ */ jsx(
|
|
38
|
+
AppBar,
|
|
39
|
+
{
|
|
40
|
+
position: "fixed",
|
|
41
|
+
open: props == null ? void 0 : props.open,
|
|
42
|
+
sx: (theme) => {
|
|
43
|
+
var _a, _b;
|
|
44
|
+
return {
|
|
45
|
+
borderBottom: "1px solid",
|
|
46
|
+
borderColor: (_a = theme.palette.theme) == null ? void 0 : _a.secondary[200],
|
|
47
|
+
backgroundColor: (_b = theme.palette.theme) == null ? void 0 : _b.secondary[100]
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
children: /* @__PURE__ */ jsx(Toolbar, { disableGutters: true, sx: { backgroundColor: "grey.100", minHeight: "60px !important", p: 0 }, children: /* @__PURE__ */ jsx(Header, {}) })
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
};
|
|
54
|
+
export {
|
|
55
|
+
AppBarWrapper as A
|
|
56
|
+
};
|
|
57
|
+
//# sourceMappingURL=appbar-B9EKR8QS.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appbar-B9EKR8QS.esm.js","sources":["../../src/components/appbar/appbar.tsx"],"sourcesContent":["import { styled } from \"@mui/material\";\nimport { AppBar as MuiAppBar, AppBarProps as MuiAppBarProps } from \"@mui/material\";\nimport { Toolbar } from \"@mui/material\";\n// import MenuIcon from \"@mui/icons-material/Menu\";\nimport { IconButton } from \"@mui/material\";\n\n// import { Box, FormControl, FormControlLabel, FormLabel, Radio, RadioGroup, ThemeProvider } from '@mui/material';\n\nimport Header from \"../header/header\";\n// import ThemeSelector from \"../../utils/themeSelector\";\n\nimport \"./appbar.scss\";\nimport images from \"../../assets/images\";\n// import { Box } from \"@mui/material\";\n\nlet drawerWidth: any;\n\ninterface AppBarProps extends MuiAppBarProps {\n open?: boolean;\n}\n\n// const getTheme = (selectedTheme: any) => {\n// switch (selectedTheme) {\n// case ThemeSelector.PRIMARY:\n// return themes.redStone;\n// case ThemeSelector.SECONDARY:\n// return themes.blueNavy;\n// case ThemeSelector.TERTIARY:\n// return themes.oliveGreen;\n// default:\n// return themes.redStone;\n// }\n// };\n\n// Width of the sidebar when collapsed — must match sidebar.tsx closedMixin\nconst closedSidebarWidth = (theme: any) => `calc(${theme.spacing(8)} + 1px)`;\n\nconst AppBar = styled(MuiAppBar, {\n shouldForwardProp: (prop) => prop !== \"open\",\n})<AppBarProps>(({ theme, open }) => {\n const isRtl = document.body.dir === \"rtl\";\n const collapsedW = closedSidebarWidth(theme);\n return {\n zIndex: theme.zIndex.drawer + 2,\n transition: theme.transitions.create([\"width\", \"margin\"], {\n easing: theme.transitions.easing.sharp,\n duration: theme.transitions.duration.leavingScreen,\n }),\n // Base: always offset by collapsed sidebar so the header never hides behind it\n marginLeft: isRtl ? 0 : collapsedW,\n marginRight: isRtl ? collapsedW : 0,\n width: `calc(100% - ${collapsedW})`,\n ...(open && {\n marginLeft: isRtl ? 0 : drawerWidth,\n marginRight: isRtl ? drawerWidth : 0,\n width: `calc(100% - ${drawerWidth}px)`,\n transition: theme.transitions.create([\"width\", \"margin\"], {\n easing: theme.transitions.easing.sharp,\n duration: theme.transitions.duration.enteringScreen,\n }),\n }),\n boxShadow: \"none\",\n overflow: \"visible\",\n };\n});\n\nexport const AppBarWrapper = (props: any) => {\n drawerWidth = props.width;\n\n // const handleThemeChange = (e: any) => setSelectedTheme(e.target.value);\n\n return (\n <AppBar\n position=\"fixed\"\n open={props?.open}\n sx={(theme) => ({\n borderBottom: \"1px solid\",\n borderColor: theme.palette.theme?.secondary[200],\n backgroundColor: theme.palette.theme?.secondary[100],\n })}\n >\n {/* <FormControl>\n <FormLabel id=\"theme-radio-buttons-group-label\">Theme</FormLabel>\n <RadioGroup\n row\n value={selectedTheme}\n onChange={handleThemeChange}\n aria-labelledby=\"theme-radio-buttons-group-label\"\n name=\"row-radio-buttons-group\"\n >\n {Object.keys(ThemeSelector)?.map((variant: any, index: any) => (\n <FormControlLabel\n key={index}\n value={ThemeSelector[variant]}\n control={<Radio />}\n label={ThemeSelector[variant]}\n sx={{\n '.MuiFormControlLabel-label': {\n color: 'theme.text',\n },\n }}\n />\n ))}\n </RadioGroup>\n </FormControl> */}\n <Toolbar disableGutters sx={{ backgroundColor: 'grey.100', minHeight: '60px !important', p: 0 }}>\n <Header />\n </Toolbar>\n {/* <Header /> */}\n </AppBar>\n );\n};\n\nexport default AppBarWrapper;\n"],"names":["MuiAppBar"],"mappings":";;;;AAeA,IAAI;AAoBJ,MAAM,qBAAqB,CAAC,UAAe,QAAQ,MAAM,QAAQ,CAAC,CAAC;AAEnE,MAAM,SAAS,OAAOA,UAAW;AAAA,EAC/B,mBAAmB,CAAC,SAAS,SAAS;AACxC,CAAC,EAAe,CAAC,EAAE,OAAO,WAAW;AACnC,QAAM,QAAQ,SAAS,KAAK,QAAQ;AACpC,QAAM,aAAa,mBAAmB,KAAK;AAC3C,SAAO;AAAA,IACL,QAAQ,MAAM,OAAO,SAAS;AAAA,IAC9B,YAAY,MAAM,YAAY,OAAO,CAAC,SAAS,QAAQ,GAAG;AAAA,MACxD,QAAQ,MAAM,YAAY,OAAO;AAAA,MACjC,UAAU,MAAM,YAAY,SAAS;AAAA,IAAA,CACtC;AAAA;AAAA,IAED,YAAY,QAAQ,IAAI;AAAA,IACxB,aAAa,QAAQ,aAAa;AAAA,IAClC,OAAO,eAAe,UAAU;AAAA,IAChC,GAAI,QAAQ;AAAA,MACV,YAAY,QAAQ,IAAI;AAAA,MACxB,aAAa,QAAQ,cAAc;AAAA,MACnC,OAAO,eAAe,WAAW;AAAA,MACjC,YAAY,MAAM,YAAY,OAAO,CAAC,SAAS,QAAQ,GAAG;AAAA,QACxD,QAAQ,MAAM,YAAY,OAAO;AAAA,QACjC,UAAU,MAAM,YAAY,SAAS;AAAA,MAAA,CACtC;AAAA,IAAA;AAAA,IAEH,WAAW;AAAA,IACX,UAAU;AAAA,EAAA;AAEd,CAAC;AAEM,MAAM,gBAAgB,CAAC,UAAe;AAC3C,gBAAc,MAAM;AAIpB,SACE;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,UAAS;AAAA,MACT,MAAM,+BAAO;AAAA,MACb,IAAI,CAAC,UAAA;;AAAW;AAAA,UACd,cAAc;AAAA,UACd,cAAa,WAAM,QAAQ,UAAd,mBAAqB,UAAU;AAAA,UAC5C,kBAAiB,WAAM,QAAQ,UAAd,mBAAqB,UAAU;AAAA,QAAG;AAAA;AAAA,MA2BrD,UAAA,oBAAC,SAAA,EAAQ,gBAAc,MAAC,IAAI,EAAE,iBAAiB,YAAY,WAAW,mBAAmB,GAAG,EAAA,GAC1F,UAAA,oBAAC,UAAO,EAAA,CACV;AAAA,IAAA;AAAA,EAAA;AAIN;"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
+
const material = require("@mui/material");
|
|
4
|
+
const header = require("./header-DAad5p_7.js");
|
|
5
|
+
require("./appbar-Dyvby5gX.js");
|
|
6
|
+
let drawerWidth;
|
|
7
|
+
const closedSidebarWidth = (theme) => `calc(${theme.spacing(8)} + 1px)`;
|
|
8
|
+
const AppBar = material.styled(material.AppBar, {
|
|
9
|
+
shouldForwardProp: (prop) => prop !== "open"
|
|
10
|
+
})(({ theme, open }) => {
|
|
11
|
+
const isRtl = document.body.dir === "rtl";
|
|
12
|
+
const collapsedW = closedSidebarWidth(theme);
|
|
13
|
+
return {
|
|
14
|
+
zIndex: theme.zIndex.drawer + 2,
|
|
15
|
+
transition: theme.transitions.create(["width", "margin"], {
|
|
16
|
+
easing: theme.transitions.easing.sharp,
|
|
17
|
+
duration: theme.transitions.duration.leavingScreen
|
|
18
|
+
}),
|
|
19
|
+
// Base: always offset by collapsed sidebar so the header never hides behind it
|
|
20
|
+
marginLeft: isRtl ? 0 : collapsedW,
|
|
21
|
+
marginRight: isRtl ? collapsedW : 0,
|
|
22
|
+
width: `calc(100% - ${collapsedW})`,
|
|
23
|
+
...open && {
|
|
24
|
+
marginLeft: isRtl ? 0 : drawerWidth,
|
|
25
|
+
marginRight: isRtl ? drawerWidth : 0,
|
|
26
|
+
width: `calc(100% - ${drawerWidth}px)`,
|
|
27
|
+
transition: theme.transitions.create(["width", "margin"], {
|
|
28
|
+
easing: theme.transitions.easing.sharp,
|
|
29
|
+
duration: theme.transitions.duration.enteringScreen
|
|
30
|
+
})
|
|
31
|
+
},
|
|
32
|
+
boxShadow: "none",
|
|
33
|
+
overflow: "visible"
|
|
34
|
+
};
|
|
35
|
+
});
|
|
36
|
+
const AppBarWrapper = (props) => {
|
|
37
|
+
drawerWidth = props.width;
|
|
38
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
39
|
+
AppBar,
|
|
40
|
+
{
|
|
41
|
+
position: "fixed",
|
|
42
|
+
open: props == null ? void 0 : props.open,
|
|
43
|
+
sx: (theme) => {
|
|
44
|
+
var _a, _b;
|
|
45
|
+
return {
|
|
46
|
+
borderBottom: "1px solid",
|
|
47
|
+
borderColor: (_a = theme.palette.theme) == null ? void 0 : _a.secondary[200],
|
|
48
|
+
backgroundColor: (_b = theme.palette.theme) == null ? void 0 : _b.secondary[100]
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(material.Toolbar, { disableGutters: true, sx: { backgroundColor: "grey.100", minHeight: "60px !important", p: 0 }, children: /* @__PURE__ */ jsxRuntime.jsx(header.Header, {}) })
|
|
52
|
+
}
|
|
53
|
+
);
|
|
54
|
+
};
|
|
55
|
+
exports.AppBarWrapper = AppBarWrapper;
|
|
56
|
+
//# sourceMappingURL=appbar-Dt_exHJ3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"appbar-Dt_exHJ3.js","sources":["../../src/components/appbar/appbar.tsx"],"sourcesContent":["import { styled } from \"@mui/material\";\nimport { AppBar as MuiAppBar, AppBarProps as MuiAppBarProps } from \"@mui/material\";\nimport { Toolbar } from \"@mui/material\";\n// import MenuIcon from \"@mui/icons-material/Menu\";\nimport { IconButton } from \"@mui/material\";\n\n// import { Box, FormControl, FormControlLabel, FormLabel, Radio, RadioGroup, ThemeProvider } from '@mui/material';\n\nimport Header from \"../header/header\";\n// import ThemeSelector from \"../../utils/themeSelector\";\n\nimport \"./appbar.scss\";\nimport images from \"../../assets/images\";\n// import { Box } from \"@mui/material\";\n\nlet drawerWidth: any;\n\ninterface AppBarProps extends MuiAppBarProps {\n open?: boolean;\n}\n\n// const getTheme = (selectedTheme: any) => {\n// switch (selectedTheme) {\n// case ThemeSelector.PRIMARY:\n// return themes.redStone;\n// case ThemeSelector.SECONDARY:\n// return themes.blueNavy;\n// case ThemeSelector.TERTIARY:\n// return themes.oliveGreen;\n// default:\n// return themes.redStone;\n// }\n// };\n\n// Width of the sidebar when collapsed — must match sidebar.tsx closedMixin\nconst closedSidebarWidth = (theme: any) => `calc(${theme.spacing(8)} + 1px)`;\n\nconst AppBar = styled(MuiAppBar, {\n shouldForwardProp: (prop) => prop !== \"open\",\n})<AppBarProps>(({ theme, open }) => {\n const isRtl = document.body.dir === \"rtl\";\n const collapsedW = closedSidebarWidth(theme);\n return {\n zIndex: theme.zIndex.drawer + 2,\n transition: theme.transitions.create([\"width\", \"margin\"], {\n easing: theme.transitions.easing.sharp,\n duration: theme.transitions.duration.leavingScreen,\n }),\n // Base: always offset by collapsed sidebar so the header never hides behind it\n marginLeft: isRtl ? 0 : collapsedW,\n marginRight: isRtl ? collapsedW : 0,\n width: `calc(100% - ${collapsedW})`,\n ...(open && {\n marginLeft: isRtl ? 0 : drawerWidth,\n marginRight: isRtl ? drawerWidth : 0,\n width: `calc(100% - ${drawerWidth}px)`,\n transition: theme.transitions.create([\"width\", \"margin\"], {\n easing: theme.transitions.easing.sharp,\n duration: theme.transitions.duration.enteringScreen,\n }),\n }),\n boxShadow: \"none\",\n overflow: \"visible\",\n };\n});\n\nexport const AppBarWrapper = (props: any) => {\n drawerWidth = props.width;\n\n // const handleThemeChange = (e: any) => setSelectedTheme(e.target.value);\n\n return (\n <AppBar\n position=\"fixed\"\n open={props?.open}\n sx={(theme) => ({\n borderBottom: \"1px solid\",\n borderColor: theme.palette.theme?.secondary[200],\n backgroundColor: theme.palette.theme?.secondary[100],\n })}\n >\n {/* <FormControl>\n <FormLabel id=\"theme-radio-buttons-group-label\">Theme</FormLabel>\n <RadioGroup\n row\n value={selectedTheme}\n onChange={handleThemeChange}\n aria-labelledby=\"theme-radio-buttons-group-label\"\n name=\"row-radio-buttons-group\"\n >\n {Object.keys(ThemeSelector)?.map((variant: any, index: any) => (\n <FormControlLabel\n key={index}\n value={ThemeSelector[variant]}\n control={<Radio />}\n label={ThemeSelector[variant]}\n sx={{\n '.MuiFormControlLabel-label': {\n color: 'theme.text',\n },\n }}\n />\n ))}\n </RadioGroup>\n </FormControl> */}\n <Toolbar disableGutters sx={{ backgroundColor: 'grey.100', minHeight: '60px !important', p: 0 }}>\n <Header />\n </Toolbar>\n {/* <Header /> */}\n </AppBar>\n );\n};\n\nexport default AppBarWrapper;\n"],"names":["styled","MuiAppBar","jsx","Toolbar","Header"],"mappings":";;;;;AAeA,IAAI;AAoBJ,MAAM,qBAAqB,CAAC,UAAe,QAAQ,MAAM,QAAQ,CAAC,CAAC;AAEnE,MAAM,SAASA,SAAAA,OAAOC,iBAAW;AAAA,EAC/B,mBAAmB,CAAC,SAAS,SAAS;AACxC,CAAC,EAAe,CAAC,EAAE,OAAO,WAAW;AACnC,QAAM,QAAQ,SAAS,KAAK,QAAQ;AACpC,QAAM,aAAa,mBAAmB,KAAK;AAC3C,SAAO;AAAA,IACL,QAAQ,MAAM,OAAO,SAAS;AAAA,IAC9B,YAAY,MAAM,YAAY,OAAO,CAAC,SAAS,QAAQ,GAAG;AAAA,MACxD,QAAQ,MAAM,YAAY,OAAO;AAAA,MACjC,UAAU,MAAM,YAAY,SAAS;AAAA,IAAA,CACtC;AAAA;AAAA,IAED,YAAY,QAAQ,IAAI;AAAA,IACxB,aAAa,QAAQ,aAAa;AAAA,IAClC,OAAO,eAAe,UAAU;AAAA,IAChC,GAAI,QAAQ;AAAA,MACV,YAAY,QAAQ,IAAI;AAAA,MACxB,aAAa,QAAQ,cAAc;AAAA,MACnC,OAAO,eAAe,WAAW;AAAA,MACjC,YAAY,MAAM,YAAY,OAAO,CAAC,SAAS,QAAQ,GAAG;AAAA,QACxD,QAAQ,MAAM,YAAY,OAAO;AAAA,QACjC,UAAU,MAAM,YAAY,SAAS;AAAA,MAAA,CACtC;AAAA,IAAA;AAAA,IAEH,WAAW;AAAA,IACX,UAAU;AAAA,EAAA;AAEd,CAAC;AAEM,MAAM,gBAAgB,CAAC,UAAe;AAC3C,gBAAc,MAAM;AAIpB,SACEC,2BAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,UAAS;AAAA,MACT,MAAM,+BAAO;AAAA,MACb,IAAI,CAAC,UAAA;;AAAW;AAAA,UACd,cAAc;AAAA,UACd,cAAa,WAAM,QAAQ,UAAd,mBAAqB,UAAU;AAAA,UAC5C,kBAAiB,WAAM,QAAQ,UAAd,mBAAqB,UAAU;AAAA,QAAG;AAAA;AAAA,MA2BrD,UAAAA,2BAAAA,IAACC,kBAAA,EAAQ,gBAAc,MAAC,IAAI,EAAE,iBAAiB,YAAY,WAAW,mBAAmB,GAAG,EAAA,GAC1F,UAAAD,+BAACE,OAAAA,UAAO,EAAA,CACV;AAAA,IAAA;AAAA,EAAA;AAIN;;"}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
3
|
+
const reactI18next = require("react-i18next");
|
|
4
|
+
const dropdownButton = require("./dropdown-button-CGs2RJcs.js");
|
|
5
|
+
const quickApprovalModal = require("./quick-approval-modal--Uat95AK.js");
|
|
6
|
+
const React = require("react");
|
|
7
|
+
const reactRedux = require("react-redux");
|
|
8
|
+
const notistack = require("notistack");
|
|
9
|
+
const apiHelper = require("./apiHelper-D0nLelx3.js");
|
|
10
|
+
const confirmModal = require("./confirm-modal-BpCtXddt.js");
|
|
11
|
+
const ApprovalWrapper = ({
|
|
12
|
+
data,
|
|
13
|
+
addApprover,
|
|
14
|
+
fetchApi,
|
|
15
|
+
showAcceptOrReject,
|
|
16
|
+
moduleIdKey,
|
|
17
|
+
moduleId,
|
|
18
|
+
successMessage,
|
|
19
|
+
showSubmitBtn,
|
|
20
|
+
updateApi,
|
|
21
|
+
approvalDetails,
|
|
22
|
+
title
|
|
23
|
+
}) => {
|
|
24
|
+
const { t } = reactI18next.useTranslation();
|
|
25
|
+
const dispatch = reactRedux.useDispatch();
|
|
26
|
+
const { enqueueSnackbar } = notistack.useSnackbar();
|
|
27
|
+
const [isUpdatingApproval, setIsUpdatingApproval] = React.useState(false);
|
|
28
|
+
const [openQuickApprovalModal, setOpenQuickApprovalModal] = React.useState(false);
|
|
29
|
+
const [approvalToAcceptOrReject, setApprovalToAcceptOrReject] = React.useState("");
|
|
30
|
+
const FetchApprovalDetails = () => {
|
|
31
|
+
if (successMessage) {
|
|
32
|
+
enqueueSnackbar(t(successMessage));
|
|
33
|
+
}
|
|
34
|
+
fetchApi();
|
|
35
|
+
};
|
|
36
|
+
const handleSubmitForApproval = async (type, approvers) => {
|
|
37
|
+
if (data) {
|
|
38
|
+
setIsUpdatingApproval(true);
|
|
39
|
+
const payload = {
|
|
40
|
+
[moduleIdKey]: moduleId,
|
|
41
|
+
type,
|
|
42
|
+
...approvers && (approvers == null ? void 0 : approvers.length) && { approver_id: approvers }
|
|
43
|
+
};
|
|
44
|
+
const response = await dispatch(addApprover(payload));
|
|
45
|
+
setIsUpdatingApproval(false);
|
|
46
|
+
apiHelper.apiHelper(response, () => FetchApprovalDetails(), enqueueSnackbar);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
const handleApprovalAcceptOrReject = async () => {
|
|
50
|
+
if ((approvalDetails == null ? void 0 : approvalDetails.id) && approvalToAcceptOrReject) {
|
|
51
|
+
const payload = {
|
|
52
|
+
id: approvalDetails == null ? void 0 : approvalDetails.id,
|
|
53
|
+
[moduleIdKey]: moduleId,
|
|
54
|
+
status: approvalToAcceptOrReject
|
|
55
|
+
};
|
|
56
|
+
setIsUpdatingApproval(true);
|
|
57
|
+
const response = await dispatch(updateApi(payload));
|
|
58
|
+
setIsUpdatingApproval(false);
|
|
59
|
+
const rStatus = approvalToAcceptOrReject;
|
|
60
|
+
setApprovalToAcceptOrReject("");
|
|
61
|
+
apiHelper.apiHelper(response, () => fetchApi(), enqueueSnackbar);
|
|
62
|
+
if (response.meta.requestStatus === "fulfilled") {
|
|
63
|
+
const msg = `${title} ${rStatus === "Approved" ? t("common.accepted") : t("common.rejected")}`;
|
|
64
|
+
enqueueSnackbar(msg);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
69
|
+
(showSubmitBtn || (data == null ? void 0 : data.status) === "Rejected") && /* @__PURE__ */ jsxRuntime.jsx(
|
|
70
|
+
dropdownButton.DropdownButton,
|
|
71
|
+
{
|
|
72
|
+
isMenuThirdItemDisabled: true,
|
|
73
|
+
onClick: () => handleSubmitForApproval("submit_for_approval"),
|
|
74
|
+
options: [
|
|
75
|
+
{
|
|
76
|
+
label: t("common.submitForApproval"),
|
|
77
|
+
callback: () => handleSubmitForApproval("submit_for_approval")
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
label: t("common.quickApproval"),
|
|
81
|
+
callback: () => setOpenQuickApprovalModal(true)
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
loading: isUpdatingApproval,
|
|
85
|
+
children: (data == null ? void 0 : data.status) === "Rejected" ? t("common.reSubmit") : t("common.submit")
|
|
86
|
+
}
|
|
87
|
+
),
|
|
88
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
89
|
+
quickApprovalModal.QuickApprovalModal,
|
|
90
|
+
{
|
|
91
|
+
isOpen: openQuickApprovalModal,
|
|
92
|
+
setIsOpen: () => setOpenQuickApprovalModal(false),
|
|
93
|
+
onConfirm: (approverIds) => handleSubmitForApproval("quick_approval", approverIds),
|
|
94
|
+
isProcessing: isUpdatingApproval
|
|
95
|
+
}
|
|
96
|
+
),
|
|
97
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
98
|
+
confirmModal.ConfirmPopUp,
|
|
99
|
+
{
|
|
100
|
+
open: Boolean(approvalToAcceptOrReject),
|
|
101
|
+
onClose: () => setApprovalToAcceptOrReject(""),
|
|
102
|
+
onConfirm: handleApprovalAcceptOrReject,
|
|
103
|
+
title: `${approvalToAcceptOrReject} request`,
|
|
104
|
+
description: `Are you sure you want to ${approvalToAcceptOrReject} ${title} : ${data == null ? void 0 : data.id} ?`,
|
|
105
|
+
buttonTexts: {
|
|
106
|
+
confirm: t("common.submit"),
|
|
107
|
+
cancel: t("common.cancel")
|
|
108
|
+
},
|
|
109
|
+
buttonColors: {
|
|
110
|
+
confirm: approvalToAcceptOrReject === "Rejected" ? "error" : "info"
|
|
111
|
+
},
|
|
112
|
+
modalType: "info",
|
|
113
|
+
loading: isUpdatingApproval
|
|
114
|
+
}
|
|
115
|
+
),
|
|
116
|
+
showAcceptOrReject && /* @__PURE__ */ jsxRuntime.jsx(
|
|
117
|
+
dropdownButton.DropdownButton,
|
|
118
|
+
{
|
|
119
|
+
isMenuThirdItemDisabled: true,
|
|
120
|
+
onClick: () => setApprovalToAcceptOrReject("Approved"),
|
|
121
|
+
options: [
|
|
122
|
+
{
|
|
123
|
+
label: t("common.accept"),
|
|
124
|
+
callback: () => setApprovalToAcceptOrReject("Approved")
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
label: t("common.reject"),
|
|
128
|
+
callback: () => setApprovalToAcceptOrReject("Rejected"),
|
|
129
|
+
color: "theme.error.500"
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
loading: isUpdatingApproval,
|
|
133
|
+
children: t("common.accept")
|
|
134
|
+
}
|
|
135
|
+
)
|
|
136
|
+
] });
|
|
137
|
+
};
|
|
138
|
+
exports.ApprovalWrapper = ApprovalWrapper;
|
|
139
|
+
//# sourceMappingURL=approval-wrapper-C8iOUYeE.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval-wrapper-C8iOUYeE.js","sources":["../../src/components/approval-wrapper/approval-wrapper.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next';\nimport DropdownButton from '../dropdown-button/dropdown-button';\nimport QuickApprovalModal from '../quick-approval-modal/quick-approval-modal';\nimport { useState } from 'react';\nimport { useDispatch } from 'react-redux';\nimport { useSnackbar } from 'notistack';\nimport { apiHelper } from '../../hooks/apiHelper';\nimport ConfirmPopUp from '../confirm-modal/confirm-modal';\n\nexport const ApprovalWrapper = ({\n\tdata,\n\taddApprover,\n\tfetchApi,\n\tshowAcceptOrReject,\n\tmoduleIdKey,\n\tmoduleId,\n\tsuccessMessage,\n\tshowSubmitBtn,\n\tupdateApi,\n\tapprovalDetails,\n\ttitle\n}: any) => {\n\t//Translations\n\tconst { t } = useTranslation();\n\n\t//Redux\n\tconst dispatch = useDispatch();\n\n\t//Snackbar\n\tconst { enqueueSnackbar } = useSnackbar();\n\n\t//Local State\n\tconst [isUpdatingApproval, setIsUpdatingApproval] = useState(false);\n\tconst [openQuickApprovalModal, setOpenQuickApprovalModal] = useState(false);\n\tconst [approvalToAcceptOrReject, setApprovalToAcceptOrReject] =\n\t\tuseState<string>('');\n\n\t//Handlers\n\n\tconst FetchApprovalDetails = () => {\n\t\tif (successMessage) {\n\t\t\tenqueueSnackbar(t(successMessage));\n\t\t}\n\t\tfetchApi();\n\t};\n\n\tconst handleSubmitForApproval = async (\n\t\ttype: 'submit_for_approval' | 'quick_approval',\n\t\tapprovers?: number[]\n\t) => {\n\t\tif (data) {\n\t\t\tsetIsUpdatingApproval(true);\n\t\t\tconst payload = {\n\t\t\t\t[moduleIdKey]: moduleId,\n\t\t\t\ttype,\n\t\t\t\t...(approvers && approvers?.length && { approver_id: approvers })\n\t\t\t};\n\n\t\t\tconst response = await dispatch(addApprover(payload));\n\n\t\t\tsetIsUpdatingApproval(false);\n\t\t\tapiHelper(response, () => FetchApprovalDetails(), enqueueSnackbar);\n\t\t}\n\t};\n\n\tconst handleApprovalAcceptOrReject = async () => {\n\t\tif (approvalDetails?.id && approvalToAcceptOrReject) {\n\t\t\tconst payload = {\n\t\t\t\tid: approvalDetails?.id,\n\t\t\t\t[moduleIdKey]: moduleId,\n\t\t\t\tstatus: approvalToAcceptOrReject\n\t\t\t};\n\t\t\tsetIsUpdatingApproval(true);\n\t\t\tconst response = await dispatch(updateApi(payload));\n\t\t\tsetIsUpdatingApproval(false);\n\t\t\tconst rStatus = approvalToAcceptOrReject;\n\t\t\tsetApprovalToAcceptOrReject('');\n\t\t\tapiHelper(response, () => fetchApi(), enqueueSnackbar);\n\t\t\tif (response.meta.requestStatus === 'fulfilled') {\n\t\t\t\tconst msg = `${title} ${rStatus === 'Approved' ? t('common.accepted') : t('common.rejected')}`;\n\t\t\t\tenqueueSnackbar(msg);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t{(showSubmitBtn || data?.status === 'Rejected') && (\n\t\t\t\t<DropdownButton\n\t\t\t\t\tisMenuThirdItemDisabled={true}\n\t\t\t\t\tonClick={() => handleSubmitForApproval('submit_for_approval')}\n\t\t\t\t\toptions={[\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: t('common.submitForApproval'),\n\t\t\t\t\t\t\tcallback: () => handleSubmitForApproval('submit_for_approval')\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: t('common.quickApproval'),\n\t\t\t\t\t\t\tcallback: () => setOpenQuickApprovalModal(true)\n\t\t\t\t\t\t}\n\t\t\t\t\t]}\n\t\t\t\t\tloading={isUpdatingApproval}>\n\t\t\t\t\t{data?.status === 'Rejected'\n\t\t\t\t\t\t? t('common.reSubmit')\n\t\t\t\t\t\t: t('common.submit')}\n\t\t\t\t</DropdownButton>\n\t\t\t)}\n\t\t\t<QuickApprovalModal\n\t\t\t\tisOpen={openQuickApprovalModal}\n\t\t\t\tsetIsOpen={() => setOpenQuickApprovalModal(false)}\n\t\t\t\tonConfirm={(approverIds) =>\n\t\t\t\t\thandleSubmitForApproval('quick_approval', approverIds)\n\t\t\t\t}\n\t\t\t\tisProcessing={isUpdatingApproval}\n\t\t\t/>\n\t\t\t<ConfirmPopUp\n\t\t\t\topen={Boolean(approvalToAcceptOrReject)}\n\t\t\t\tonClose={() => setApprovalToAcceptOrReject('')}\n\t\t\t\tonConfirm={handleApprovalAcceptOrReject}\n\t\t\t\ttitle={`${approvalToAcceptOrReject} request`}\n\t\t\t\tdescription={`Are you sure you want to ${approvalToAcceptOrReject} ${title} : ${data?.id} ?`}\n\t\t\t\tbuttonTexts={{\n\t\t\t\t\tconfirm: t('common.submit'),\n\t\t\t\t\tcancel: t('common.cancel')\n\t\t\t\t}}\n\t\t\t\tbuttonColors={{\n\t\t\t\t\tconfirm: approvalToAcceptOrReject === 'Rejected' ? 'error' : 'info'\n\t\t\t\t}}\n\t\t\t\tmodalType='info'\n\t\t\t\tloading={isUpdatingApproval}\n\t\t\t/>\n\t\t\t{showAcceptOrReject && (\n\t\t\t\t<DropdownButton\n\t\t\t\t\tisMenuThirdItemDisabled={true}\n\t\t\t\t\tonClick={() => setApprovalToAcceptOrReject('Approved')}\n\t\t\t\t\toptions={[\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: t('common.accept'),\n\t\t\t\t\t\t\tcallback: () => setApprovalToAcceptOrReject('Approved')\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: t('common.reject'),\n\t\t\t\t\t\t\tcallback: () => setApprovalToAcceptOrReject('Rejected'),\n\t\t\t\t\t\t\tcolor: 'theme.error.500'\n\t\t\t\t\t\t}\n\t\t\t\t\t]}\n\t\t\t\t\tloading={isUpdatingApproval}>\n\t\t\t\t\t{t('common.accept')}\n\t\t\t\t</DropdownButton>\n\t\t\t)}\n\t\t</>\n\t);\n};\n\nexport default ApprovalWrapper;\n"],"names":["useTranslation","useDispatch","useSnackbar","useState","apiHelper","jsxs","Fragment","jsx","DropdownButton","QuickApprovalModal","ConfirmPopUp"],"mappings":"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"}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation } from "react-i18next";
|
|
3
|
+
import { D as DropdownButton } from "./dropdown-button-BwOoxO0G.esm.js";
|
|
4
|
+
import { Q as QuickApprovalModal } from "./quick-approval-modal-Cf5zDkO6.esm.js";
|
|
5
|
+
import { useState } from "react";
|
|
6
|
+
import { useDispatch } from "react-redux";
|
|
7
|
+
import { useSnackbar } from "notistack";
|
|
8
|
+
import { a as apiHelper } from "./apiHelper-DDX_eiu9.esm.js";
|
|
9
|
+
import { C as ConfirmPopUp } from "./confirm-modal-PbguB4YV.esm.js";
|
|
10
|
+
const ApprovalWrapper = ({
|
|
11
|
+
data,
|
|
12
|
+
addApprover,
|
|
13
|
+
fetchApi,
|
|
14
|
+
showAcceptOrReject,
|
|
15
|
+
moduleIdKey,
|
|
16
|
+
moduleId,
|
|
17
|
+
successMessage,
|
|
18
|
+
showSubmitBtn,
|
|
19
|
+
updateApi,
|
|
20
|
+
approvalDetails,
|
|
21
|
+
title
|
|
22
|
+
}) => {
|
|
23
|
+
const { t } = useTranslation();
|
|
24
|
+
const dispatch = useDispatch();
|
|
25
|
+
const { enqueueSnackbar } = useSnackbar();
|
|
26
|
+
const [isUpdatingApproval, setIsUpdatingApproval] = useState(false);
|
|
27
|
+
const [openQuickApprovalModal, setOpenQuickApprovalModal] = useState(false);
|
|
28
|
+
const [approvalToAcceptOrReject, setApprovalToAcceptOrReject] = useState("");
|
|
29
|
+
const FetchApprovalDetails = () => {
|
|
30
|
+
if (successMessage) {
|
|
31
|
+
enqueueSnackbar(t(successMessage));
|
|
32
|
+
}
|
|
33
|
+
fetchApi();
|
|
34
|
+
};
|
|
35
|
+
const handleSubmitForApproval = async (type, approvers) => {
|
|
36
|
+
if (data) {
|
|
37
|
+
setIsUpdatingApproval(true);
|
|
38
|
+
const payload = {
|
|
39
|
+
[moduleIdKey]: moduleId,
|
|
40
|
+
type,
|
|
41
|
+
...approvers && (approvers == null ? void 0 : approvers.length) && { approver_id: approvers }
|
|
42
|
+
};
|
|
43
|
+
const response = await dispatch(addApprover(payload));
|
|
44
|
+
setIsUpdatingApproval(false);
|
|
45
|
+
apiHelper(response, () => FetchApprovalDetails(), enqueueSnackbar);
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
const handleApprovalAcceptOrReject = async () => {
|
|
49
|
+
if ((approvalDetails == null ? void 0 : approvalDetails.id) && approvalToAcceptOrReject) {
|
|
50
|
+
const payload = {
|
|
51
|
+
id: approvalDetails == null ? void 0 : approvalDetails.id,
|
|
52
|
+
[moduleIdKey]: moduleId,
|
|
53
|
+
status: approvalToAcceptOrReject
|
|
54
|
+
};
|
|
55
|
+
setIsUpdatingApproval(true);
|
|
56
|
+
const response = await dispatch(updateApi(payload));
|
|
57
|
+
setIsUpdatingApproval(false);
|
|
58
|
+
const rStatus = approvalToAcceptOrReject;
|
|
59
|
+
setApprovalToAcceptOrReject("");
|
|
60
|
+
apiHelper(response, () => fetchApi(), enqueueSnackbar);
|
|
61
|
+
if (response.meta.requestStatus === "fulfilled") {
|
|
62
|
+
const msg = `${title} ${rStatus === "Approved" ? t("common.accepted") : t("common.rejected")}`;
|
|
63
|
+
enqueueSnackbar(msg);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
68
|
+
(showSubmitBtn || (data == null ? void 0 : data.status) === "Rejected") && /* @__PURE__ */ jsx(
|
|
69
|
+
DropdownButton,
|
|
70
|
+
{
|
|
71
|
+
isMenuThirdItemDisabled: true,
|
|
72
|
+
onClick: () => handleSubmitForApproval("submit_for_approval"),
|
|
73
|
+
options: [
|
|
74
|
+
{
|
|
75
|
+
label: t("common.submitForApproval"),
|
|
76
|
+
callback: () => handleSubmitForApproval("submit_for_approval")
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
label: t("common.quickApproval"),
|
|
80
|
+
callback: () => setOpenQuickApprovalModal(true)
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
loading: isUpdatingApproval,
|
|
84
|
+
children: (data == null ? void 0 : data.status) === "Rejected" ? t("common.reSubmit") : t("common.submit")
|
|
85
|
+
}
|
|
86
|
+
),
|
|
87
|
+
/* @__PURE__ */ jsx(
|
|
88
|
+
QuickApprovalModal,
|
|
89
|
+
{
|
|
90
|
+
isOpen: openQuickApprovalModal,
|
|
91
|
+
setIsOpen: () => setOpenQuickApprovalModal(false),
|
|
92
|
+
onConfirm: (approverIds) => handleSubmitForApproval("quick_approval", approverIds),
|
|
93
|
+
isProcessing: isUpdatingApproval
|
|
94
|
+
}
|
|
95
|
+
),
|
|
96
|
+
/* @__PURE__ */ jsx(
|
|
97
|
+
ConfirmPopUp,
|
|
98
|
+
{
|
|
99
|
+
open: Boolean(approvalToAcceptOrReject),
|
|
100
|
+
onClose: () => setApprovalToAcceptOrReject(""),
|
|
101
|
+
onConfirm: handleApprovalAcceptOrReject,
|
|
102
|
+
title: `${approvalToAcceptOrReject} request`,
|
|
103
|
+
description: `Are you sure you want to ${approvalToAcceptOrReject} ${title} : ${data == null ? void 0 : data.id} ?`,
|
|
104
|
+
buttonTexts: {
|
|
105
|
+
confirm: t("common.submit"),
|
|
106
|
+
cancel: t("common.cancel")
|
|
107
|
+
},
|
|
108
|
+
buttonColors: {
|
|
109
|
+
confirm: approvalToAcceptOrReject === "Rejected" ? "error" : "info"
|
|
110
|
+
},
|
|
111
|
+
modalType: "info",
|
|
112
|
+
loading: isUpdatingApproval
|
|
113
|
+
}
|
|
114
|
+
),
|
|
115
|
+
showAcceptOrReject && /* @__PURE__ */ jsx(
|
|
116
|
+
DropdownButton,
|
|
117
|
+
{
|
|
118
|
+
isMenuThirdItemDisabled: true,
|
|
119
|
+
onClick: () => setApprovalToAcceptOrReject("Approved"),
|
|
120
|
+
options: [
|
|
121
|
+
{
|
|
122
|
+
label: t("common.accept"),
|
|
123
|
+
callback: () => setApprovalToAcceptOrReject("Approved")
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
label: t("common.reject"),
|
|
127
|
+
callback: () => setApprovalToAcceptOrReject("Rejected"),
|
|
128
|
+
color: "theme.error.500"
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
loading: isUpdatingApproval,
|
|
132
|
+
children: t("common.accept")
|
|
133
|
+
}
|
|
134
|
+
)
|
|
135
|
+
] });
|
|
136
|
+
};
|
|
137
|
+
export {
|
|
138
|
+
ApprovalWrapper as A
|
|
139
|
+
};
|
|
140
|
+
//# sourceMappingURL=approval-wrapper-OmXAoB9R.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"approval-wrapper-OmXAoB9R.esm.js","sources":["../../src/components/approval-wrapper/approval-wrapper.tsx"],"sourcesContent":["import { useTranslation } from 'react-i18next';\nimport DropdownButton from '../dropdown-button/dropdown-button';\nimport QuickApprovalModal from '../quick-approval-modal/quick-approval-modal';\nimport { useState } from 'react';\nimport { useDispatch } from 'react-redux';\nimport { useSnackbar } from 'notistack';\nimport { apiHelper } from '../../hooks/apiHelper';\nimport ConfirmPopUp from '../confirm-modal/confirm-modal';\n\nexport const ApprovalWrapper = ({\n\tdata,\n\taddApprover,\n\tfetchApi,\n\tshowAcceptOrReject,\n\tmoduleIdKey,\n\tmoduleId,\n\tsuccessMessage,\n\tshowSubmitBtn,\n\tupdateApi,\n\tapprovalDetails,\n\ttitle\n}: any) => {\n\t//Translations\n\tconst { t } = useTranslation();\n\n\t//Redux\n\tconst dispatch = useDispatch();\n\n\t//Snackbar\n\tconst { enqueueSnackbar } = useSnackbar();\n\n\t//Local State\n\tconst [isUpdatingApproval, setIsUpdatingApproval] = useState(false);\n\tconst [openQuickApprovalModal, setOpenQuickApprovalModal] = useState(false);\n\tconst [approvalToAcceptOrReject, setApprovalToAcceptOrReject] =\n\t\tuseState<string>('');\n\n\t//Handlers\n\n\tconst FetchApprovalDetails = () => {\n\t\tif (successMessage) {\n\t\t\tenqueueSnackbar(t(successMessage));\n\t\t}\n\t\tfetchApi();\n\t};\n\n\tconst handleSubmitForApproval = async (\n\t\ttype: 'submit_for_approval' | 'quick_approval',\n\t\tapprovers?: number[]\n\t) => {\n\t\tif (data) {\n\t\t\tsetIsUpdatingApproval(true);\n\t\t\tconst payload = {\n\t\t\t\t[moduleIdKey]: moduleId,\n\t\t\t\ttype,\n\t\t\t\t...(approvers && approvers?.length && { approver_id: approvers })\n\t\t\t};\n\n\t\t\tconst response = await dispatch(addApprover(payload));\n\n\t\t\tsetIsUpdatingApproval(false);\n\t\t\tapiHelper(response, () => FetchApprovalDetails(), enqueueSnackbar);\n\t\t}\n\t};\n\n\tconst handleApprovalAcceptOrReject = async () => {\n\t\tif (approvalDetails?.id && approvalToAcceptOrReject) {\n\t\t\tconst payload = {\n\t\t\t\tid: approvalDetails?.id,\n\t\t\t\t[moduleIdKey]: moduleId,\n\t\t\t\tstatus: approvalToAcceptOrReject\n\t\t\t};\n\t\t\tsetIsUpdatingApproval(true);\n\t\t\tconst response = await dispatch(updateApi(payload));\n\t\t\tsetIsUpdatingApproval(false);\n\t\t\tconst rStatus = approvalToAcceptOrReject;\n\t\t\tsetApprovalToAcceptOrReject('');\n\t\t\tapiHelper(response, () => fetchApi(), enqueueSnackbar);\n\t\t\tif (response.meta.requestStatus === 'fulfilled') {\n\t\t\t\tconst msg = `${title} ${rStatus === 'Approved' ? t('common.accepted') : t('common.rejected')}`;\n\t\t\t\tenqueueSnackbar(msg);\n\t\t\t}\n\t\t}\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t{(showSubmitBtn || data?.status === 'Rejected') && (\n\t\t\t\t<DropdownButton\n\t\t\t\t\tisMenuThirdItemDisabled={true}\n\t\t\t\t\tonClick={() => handleSubmitForApproval('submit_for_approval')}\n\t\t\t\t\toptions={[\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: t('common.submitForApproval'),\n\t\t\t\t\t\t\tcallback: () => handleSubmitForApproval('submit_for_approval')\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: t('common.quickApproval'),\n\t\t\t\t\t\t\tcallback: () => setOpenQuickApprovalModal(true)\n\t\t\t\t\t\t}\n\t\t\t\t\t]}\n\t\t\t\t\tloading={isUpdatingApproval}>\n\t\t\t\t\t{data?.status === 'Rejected'\n\t\t\t\t\t\t? t('common.reSubmit')\n\t\t\t\t\t\t: t('common.submit')}\n\t\t\t\t</DropdownButton>\n\t\t\t)}\n\t\t\t<QuickApprovalModal\n\t\t\t\tisOpen={openQuickApprovalModal}\n\t\t\t\tsetIsOpen={() => setOpenQuickApprovalModal(false)}\n\t\t\t\tonConfirm={(approverIds) =>\n\t\t\t\t\thandleSubmitForApproval('quick_approval', approverIds)\n\t\t\t\t}\n\t\t\t\tisProcessing={isUpdatingApproval}\n\t\t\t/>\n\t\t\t<ConfirmPopUp\n\t\t\t\topen={Boolean(approvalToAcceptOrReject)}\n\t\t\t\tonClose={() => setApprovalToAcceptOrReject('')}\n\t\t\t\tonConfirm={handleApprovalAcceptOrReject}\n\t\t\t\ttitle={`${approvalToAcceptOrReject} request`}\n\t\t\t\tdescription={`Are you sure you want to ${approvalToAcceptOrReject} ${title} : ${data?.id} ?`}\n\t\t\t\tbuttonTexts={{\n\t\t\t\t\tconfirm: t('common.submit'),\n\t\t\t\t\tcancel: t('common.cancel')\n\t\t\t\t}}\n\t\t\t\tbuttonColors={{\n\t\t\t\t\tconfirm: approvalToAcceptOrReject === 'Rejected' ? 'error' : 'info'\n\t\t\t\t}}\n\t\t\t\tmodalType='info'\n\t\t\t\tloading={isUpdatingApproval}\n\t\t\t/>\n\t\t\t{showAcceptOrReject && (\n\t\t\t\t<DropdownButton\n\t\t\t\t\tisMenuThirdItemDisabled={true}\n\t\t\t\t\tonClick={() => setApprovalToAcceptOrReject('Approved')}\n\t\t\t\t\toptions={[\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: t('common.accept'),\n\t\t\t\t\t\t\tcallback: () => setApprovalToAcceptOrReject('Approved')\n\t\t\t\t\t\t},\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tlabel: t('common.reject'),\n\t\t\t\t\t\t\tcallback: () => setApprovalToAcceptOrReject('Rejected'),\n\t\t\t\t\t\t\tcolor: 'theme.error.500'\n\t\t\t\t\t\t}\n\t\t\t\t\t]}\n\t\t\t\t\tloading={isUpdatingApproval}>\n\t\t\t\t\t{t('common.accept')}\n\t\t\t\t</DropdownButton>\n\t\t\t)}\n\t\t</>\n\t);\n};\n\nexport default ApprovalWrapper;\n"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { Box } from "@mui/material";
|
|
3
|
+
import * as d3 from "d3";
|
|
4
|
+
import { g as getAxisLeftMargin, f as formatChartValueLabel } from "./format-chart-value-EdWQQL_n.esm.js";
|
|
5
|
+
import { useRef, useState, useEffect } from "react";
|
|
6
|
+
const formatNumber = (num, symbol, labelType) => {
|
|
7
|
+
if (labelType === "inPercent") {
|
|
8
|
+
return `${d3.format(".0%")(num / 100)}`;
|
|
9
|
+
} else if (labelType === "inValue") {
|
|
10
|
+
return formatChartValueLabel(num, symbol);
|
|
11
|
+
}
|
|
12
|
+
return num.toString();
|
|
13
|
+
};
|
|
14
|
+
const AreaLineChart = ({ data, height = 400, customLabelFormatter, yAxisLabelType = "inValue", currency, colors, customLegend }) => {
|
|
15
|
+
const svgRef = useRef(null);
|
|
16
|
+
const wrapperRef = useRef(null);
|
|
17
|
+
const [containerWidth, setContainerWidth] = useState(0);
|
|
18
|
+
const [tooltipData, setTooltipData] = useState(null);
|
|
19
|
+
useEffect(() => {
|
|
20
|
+
const wrapper = wrapperRef.current;
|
|
21
|
+
const resizeObserver = new ResizeObserver((entries) => {
|
|
22
|
+
if (entries[0]) {
|
|
23
|
+
const newWidth = entries[0].contentRect.width;
|
|
24
|
+
setContainerWidth(newWidth);
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
if (wrapper) {
|
|
28
|
+
resizeObserver.observe(wrapper);
|
|
29
|
+
}
|
|
30
|
+
return () => {
|
|
31
|
+
if (wrapper) {
|
|
32
|
+
resizeObserver.unobserve(wrapper);
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
}, []);
|
|
36
|
+
useEffect(() => {
|
|
37
|
+
var _a, _b;
|
|
38
|
+
if (containerWidth === 0) return;
|
|
39
|
+
const axisMax = d3.max(data, (dataset) => d3.max(dataset.values, (d) => d.value)) || 0;
|
|
40
|
+
const margin = { top: 20, right: 30, bottom: 30, left: currency ? getAxisLeftMargin(d3.scaleLinear().domain([0, axisMax]).nice().domain()[1], 40) : 40 };
|
|
41
|
+
const width = containerWidth - margin.left - margin.right;
|
|
42
|
+
const chartHeight = height - margin.top - margin.bottom;
|
|
43
|
+
d3.select(svgRef.current).selectAll("*").remove();
|
|
44
|
+
const svg = d3.select(svgRef.current).attr("width", containerWidth).attr("height", height).append("g").attr("transform", `translate(${margin.left},${margin.top})`);
|
|
45
|
+
const x = d3.scalePoint().domain((_b = (_a = data[0]) == null ? void 0 : _a.values) == null ? void 0 : _b.map((d) => d.month)).range([0, width]);
|
|
46
|
+
const y = d3.scaleLinear().domain([0, d3.max(data, (dataset) => d3.max(dataset.values, (d) => d.value))]).range([chartHeight, 0]);
|
|
47
|
+
const numTicks = Math.floor(width / 80);
|
|
48
|
+
const xAxis = d3.axisBottom(x).ticks(numTicks);
|
|
49
|
+
const xAxisGroup = svg.append("g").attr("transform", `translate(0,${chartHeight})`).call(xAxis);
|
|
50
|
+
xAxisGroup.selectAll("text").attr("transform", "translate(0, 10)").attr("color", "#8E8E93").style("text-anchor", "middle");
|
|
51
|
+
const yAxis = svg.append("g");
|
|
52
|
+
yAxis.append("g").attr("color", "#8E8E93").attr("transform", `translate(-10,0)`).call(d3.axisLeft(y).tickSize(-width).tickFormat(
|
|
53
|
+
(d) => customLabelFormatter ? customLabelFormatter(d) : formatNumber(d, currency, yAxisLabelType)
|
|
54
|
+
).tickSizeOuter(0)).selectAll("line").attr("stroke-dasharray", "3,3").attr("stroke", "#D3D3D4");
|
|
55
|
+
xAxisGroup.selectAll(".tick line").remove();
|
|
56
|
+
yAxis.select(".domain").attr("stroke", "none");
|
|
57
|
+
xAxisGroup.select(".domain").attr("stroke", "none");
|
|
58
|
+
const line = (isSmooth) => d3.line().x((d) => x(d.month)).y((d) => y(d.value)).curve(isSmooth ? d3.curveMonotoneX : d3.curveLinear);
|
|
59
|
+
const area = d3.area().x((d) => x(d.month)).y0(chartHeight).y1((d) => y(d.value));
|
|
60
|
+
data.forEach((dataset, i) => {
|
|
61
|
+
const gradient = svg.append("defs").append("linearGradient").attr("id", `area-gradient-${i}`).attr("x1", "0%").attr("x2", "0%").attr("y1", "0%").attr("y2", "100%");
|
|
62
|
+
gradient.append("stop").attr("offset", "0%").attr("stop-color", colors[i]).attr("stop-opacity", 0.4);
|
|
63
|
+
gradient.append("stop").attr("offset", "100%").attr("stop-color", colors[i]).attr("stop-opacity", 0.1);
|
|
64
|
+
svg.append("path").datum(dataset.values).attr("fill", `url(#area-gradient-${i})`).attr("d", area);
|
|
65
|
+
svg.append("path").datum(dataset.values).attr("fill", "none").attr("stroke", colors[i]).attr("stroke-width", 2).attr("d", line(dataset.isSmooth || false));
|
|
66
|
+
{
|
|
67
|
+
(dataset == null ? void 0 : dataset.showCircle) && svg.selectAll(`circle-${i}`).data(dataset.values).enter().append("circle").attr("cx", (d) => x(d.month)).attr("cy", (d) => y(d.value)).attr("r", 5).attr("fill", colors[i]).attr("stroke", "#fff").style("cursor", "pointer").on("mouseover", function(event, d) {
|
|
68
|
+
setTooltipData({
|
|
69
|
+
x: `${event.pageX + 10}px`,
|
|
70
|
+
y: `${event.pageY - 30}px`,
|
|
71
|
+
content: `${dataset.name}: ${d.value}`
|
|
72
|
+
});
|
|
73
|
+
d3.select(this).transition().attr("r", 7).attr("fill", "#ff4500");
|
|
74
|
+
}).on("mouseout", function() {
|
|
75
|
+
setTooltipData(null);
|
|
76
|
+
d3.select(this).transition().attr("r", 5).attr("fill", colors[i]);
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
}, [data, containerWidth, height, customLabelFormatter, yAxisLabelType, currency, colors, customLegend]);
|
|
81
|
+
return /* @__PURE__ */ jsxs("div", { ref: wrapperRef, style: { width: "100%", height: "100%" }, children: [
|
|
82
|
+
/* @__PURE__ */ jsxs("div", { style: { position: "relative" }, children: [
|
|
83
|
+
/* @__PURE__ */ jsx("svg", { ref: svgRef, width: "100%", height }),
|
|
84
|
+
customLegend && customLegend
|
|
85
|
+
] }),
|
|
86
|
+
tooltipData && /* @__PURE__ */ jsx(Box, { sx: {
|
|
87
|
+
position: "absolute",
|
|
88
|
+
left: tooltipData.x,
|
|
89
|
+
top: tooltipData.y,
|
|
90
|
+
pointerEvents: "none",
|
|
91
|
+
backgroundColor: "#2EB273",
|
|
92
|
+
zIndex: 10,
|
|
93
|
+
border: "none",
|
|
94
|
+
borderRadius: "3px",
|
|
95
|
+
transform: "translate(-50%, -100%)",
|
|
96
|
+
padding: "2px 6px 2px 6px",
|
|
97
|
+
gap: "10px"
|
|
98
|
+
}, children: /* @__PURE__ */ jsx("span", { style: { fontSize: "16px", weight: "500", color: "#ffff" }, children: tooltipData.content }) })
|
|
99
|
+
] });
|
|
100
|
+
};
|
|
101
|
+
export {
|
|
102
|
+
AreaLineChart as A
|
|
103
|
+
};
|
|
104
|
+
//# sourceMappingURL=areaLinerChart-BEiJvhIq.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"areaLinerChart-BEiJvhIq.esm.js","sources":["../../src/components/charts/areaLinerChart.tsx"],"sourcesContent":["import { Box } from '@mui/material';\nimport * as d3 from 'd3';\nimport { formatChartValueLabel, getAxisLeftMargin } from './format-chart-value';\nimport { useEffect, useRef, useState } from 'react';\n\ninterface IChartProps {\n data: { name: string, values: { month: string, value: number }[], isSmooth?: boolean }[],\n height: number,\n yAxisLabelType?: 'inPercent' | 'inValue' | 'custom';\n customLabelFormatter?: (value: number) => string;\n currency?: string;\n colors?: string[];\n customLegend: React.ReactNode\n}\n\nconst formatNumber = (num: number, symbol: string, labelType: string) => {\n if (labelType === 'inPercent') {\n return `${d3.format(\".0%\")(num / 100)}`;\n } else if (labelType === 'inValue') {\n return formatChartValueLabel(num, symbol);\n }\n return num.toString();\n};\n\nconst AreaLineChart = ({ data, height = 400, customLabelFormatter, yAxisLabelType = 'inValue', currency, colors, customLegend }: IChartProps) => {\n const svgRef = useRef<SVGSVGElement | null>(null);\n const wrapperRef = useRef<HTMLDivElement>(null);\n const [containerWidth, setContainerWidth] = useState<number>(0);\n const [tooltipData, setTooltipData] = useState<any>(null);\n useEffect(() => {\n const wrapper = wrapperRef.current;\n\n const resizeObserver = new ResizeObserver((entries) => {\n if (entries[0]) {\n const newWidth = entries[0].contentRect.width;\n setContainerWidth(newWidth);\n }\n });\n\n if (wrapper) {\n resizeObserver.observe(wrapper);\n }\n\n return () => {\n if (wrapper) {\n resizeObserver.unobserve(wrapper);\n }\n };\n }, []);\n\n useEffect(() => {\n if (containerWidth === 0) return; // Wait for the container width\n\n const axisMax = d3.max(data, dataset => d3.max(dataset.values, d => d.value)) || 0;\n const margin = { top: 20, right: 30, bottom: 30, left: currency ? getAxisLeftMargin(d3.scaleLinear().domain([0, axisMax]).nice().domain()[1], 40) : 40 };\n const width = containerWidth - margin.left - margin.right;\n const chartHeight = height - margin.top - margin.bottom;\n\n // Clear the SVG\n d3.select(svgRef.current).selectAll('*').remove();\n\n const svg = d3\n .select(svgRef.current)\n .attr('width', containerWidth)\n .attr('height', height)\n .append('g')\n .attr('transform', `translate(${margin.left},${margin.top})`);\n\n // Define scales\n const x = d3\n .scalePoint()\n .domain(data[0]?.values?.map(d => d.month)) // Assuming all datasets share the same x-domain\n .range([0, width]);\n\n const y = d3\n .scaleLinear()\n .domain([0, d3.max(data, dataset => d3.max(dataset.values, d => d.value))!]) // Max value across all datasets\n .range([chartHeight, 0]);\n\n // Limit x-axis ticks dynamically based on width\n const numTicks = Math.floor(width / 80); // Adjust the factor (80) based on chart width\n const xAxis = d3.axisBottom(x).ticks(numTicks);\n\n const xAxisGroup = svg.append('g')\n .attr('transform', `translate(0,${chartHeight})`)\n .call(xAxis);\n\n xAxisGroup.selectAll(\"text\")\n .attr(\"transform\", \"translate(0, 10)\")\n .attr('color', '#8E8E93')\n .style(\"text-anchor\", \"middle\");\n\n // Y Axis\n const yAxis = svg.append('g')\n yAxis.append('g').attr('color', '#8E8E93').attr(\"transform\", `translate(-10,0)`)\n .call(d3.axisLeft(y).tickSize(-width).tickFormat((d: any) =>\n customLabelFormatter\n ? customLabelFormatter(d)\n : formatNumber(d, currency, yAxisLabelType)\n ).tickSizeOuter(0) as any)\n .selectAll('line')\n .attr('stroke-dasharray', '3,3')\n .attr('stroke', '#D3D3D4');\n\n xAxisGroup.selectAll(\".tick line\").remove();\n yAxis.select(\".domain\").attr(\"stroke\", \"none\");\n xAxisGroup.select(\".domain\").attr(\"stroke\", \"none\");\n\n // Define color scale for lines\n // const color = d3.scaleOrdinal(d3.schemeCategory10);\n\n // Line and area generators\n const line = (isSmooth: boolean) => d3.line<any>()\n .x(d => x(d.month)!)\n .y(d => y(d.value))\n .curve(isSmooth ? d3.curveMonotoneX : d3.curveLinear); // Conditionally smooth the line\n\n const area = d3.area<any>()\n .x(d => x(d.month)!)\n .y0(chartHeight)\n .y1(d => y(d.value));\n\n // Iterate over each dataset to create lines and areas\n data.forEach((dataset, i) => {\n // const datasetColor = color(i.toString());\n\n // Create gradient for each area\n const gradient = svg.append('defs')\n .append('linearGradient')\n .attr('id', `area-gradient-${i}`)\n .attr('x1', '0%')\n .attr('x2', '0%')\n .attr('y1', '0%')\n .attr('y2', '100%');\n\n gradient.append('stop')\n .attr('offset', '0%')\n .attr('stop-color', colors[i])\n .attr('stop-opacity', 0.4);\n\n gradient.append('stop')\n .attr('offset', '100%')\n .attr('stop-color', colors[i])\n .attr('stop-opacity', 0.1);\n\n // Append the area with gradient\n svg.append('path')\n .datum(dataset.values)\n .attr('fill', `url(#area-gradient-${i})`)\n .attr('d', area);\n\n // Append the line with smoothness condition\n svg.append('path')\n .datum(dataset.values)\n .attr('fill', 'none')\n .attr('stroke', colors[i])\n .attr('stroke-width', 2)\n .attr('d', line(dataset.isSmooth || false)); // Use smoothness from the dataset\n\n // Append circles for hover effect\n {\n dataset?.showCircle &&\n svg.selectAll(`circle-${i}`)\n .data(dataset.values)\n .enter()\n .append('circle')\n .attr('cx', d => x(d.month)!)\n .attr('cy', d => y(d.value))\n .attr('r', 5)\n .attr('fill', colors[i])\n .attr('stroke', '#fff')\n .style('cursor', 'pointer')\n .on('mouseover', function (event, d) {\n setTooltipData({\n x: `${event.pageX + 10}px`,\n y: `${event.pageY - 30}px`,\n content: `${dataset.name}: ${d.value}`\n });\n d3.select(this).transition().attr('r', 7).attr('fill', '#ff4500');\n })\n .on('mouseout', function () {\n setTooltipData(null);\n d3.select(this).transition().attr('r', 5).attr('fill', colors[i]);\n });\n }\n\n });\n\n }, [data, containerWidth, height, customLabelFormatter, yAxisLabelType, currency, colors, customLegend]);\n\n return (\n <div ref={wrapperRef} style={{ width: '100%', height: '100%' }}>\n <div style={{ position: 'relative' }}>\n <svg ref={svgRef} width=\"100%\" height={height} />\n {\n customLegend &&\n customLegend\n\n }\n </div>\n {tooltipData &&\n <Box sx={{\n position: 'absolute',\n left: tooltipData.x,\n top: tooltipData.y,\n pointerEvents: 'none',\n backgroundColor: '#2EB273',\n zIndex: 10,\n border: 'none',\n borderRadius: '3px',\n transform: 'translate(-50%, -100%)',\n padding: '2px 6px 2px 6px',\n gap: '10px'\n }}>\n <span style={{ fontSize: '16px', weight: '500', color: '#ffff' }}>\n {tooltipData.content}\n </span>\n </Box>\n }\n </div>\n );\n};\n\nexport { AreaLineChart };\nexport default AreaLineChart;\n"],"names":[],"mappings":"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"}
|