@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
|
@@ -23,6 +23,7 @@ interface Props {
|
|
|
23
23
|
onDocDelete?: () => void;
|
|
24
24
|
onDocUpload?: () => void;
|
|
25
25
|
onMultiDocDelete?: (docId?: string) => void;
|
|
26
|
+
onDocDetach?: (docId: string) => void;
|
|
26
27
|
}
|
|
27
|
-
declare const ChatBotInput: ({ inputValue, isTyping, mode, formType, showSlashMenu, filteredCommands, slashIndex, textareaRef, onChange, onKeyDown, onSend, onSlashHover, onSlashSelect, onModeChange, onFormTypeChange, activeDocument, activeDocuments, onDocDelete, onDocUpload, onMultiDocDelete, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
declare const ChatBotInput: ({ inputValue, isTyping, mode, formType, showSlashMenu, filteredCommands, slashIndex, textareaRef, onChange, onKeyDown, onSend, onSlashHover, onSlashSelect, onModeChange, onFormTypeChange, activeDocument, activeDocuments, onDocDelete, onDocUpload, onMultiDocDelete, onDocDetach, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
28
29
|
export default ChatBotInput;
|
|
@@ -38,6 +38,11 @@ interface ActionBarPropsType extends Partial<TabProps>, IReportButtons {
|
|
|
38
38
|
*/
|
|
39
39
|
showDateFilter?: boolean;
|
|
40
40
|
dateFilter?: string;
|
|
41
|
+
/** Optional bounds for the custom date range popup: days outside are disabled. */
|
|
42
|
+
minDate?: Date;
|
|
43
|
+
maxDate?: Date;
|
|
44
|
+
/** Opt-in: when true (with isDateRange) and start/end dates are already supplied, skip the default date preset on first load. */
|
|
45
|
+
preserveInitialDates?: boolean;
|
|
41
46
|
showCancelButton?: boolean;
|
|
42
47
|
searchBar?: React.ReactNode;
|
|
43
48
|
/**
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Date/time display settings (Accounting > Settings > Date Format).
|
|
3
|
+
* Display only: API payloads and stored values always stay YYYY-MM-DD / ISO.
|
|
4
|
+
*
|
|
5
|
+
* The saved settings are loaded once after login (see AuthContext) and cached in localStorage so plain
|
|
6
|
+
* (non-React) helpers can read them synchronously, exactly like the currency number format.
|
|
7
|
+
* Until they have loaded - or if the setting does not exist yet - everything falls back to DD-MM-YYYY / HH:mm.
|
|
8
|
+
*/
|
|
9
|
+
export type DateFormatScope = 'table' | 'view' | 'print';
|
|
10
|
+
export interface DateFormatSettings {
|
|
11
|
+
table_format: string;
|
|
12
|
+
view_format: string;
|
|
13
|
+
print_format: string;
|
|
14
|
+
time_format: string;
|
|
15
|
+
}
|
|
16
|
+
interface FormatOption {
|
|
17
|
+
value: string;
|
|
18
|
+
month_year?: string;
|
|
19
|
+
}
|
|
20
|
+
interface CachedSettings extends DateFormatSettings {
|
|
21
|
+
/** month-year format matching each chosen date format, e.g. DD-MM-YYYY -> MM-YYYY */
|
|
22
|
+
month_year: Record<DateFormatScope, string>;
|
|
23
|
+
}
|
|
24
|
+
export declare const DATE_FORMAT_STORAGE_KEY = "_date_format_settings";
|
|
25
|
+
export declare const DATE_FORMAT_CHANGED_EVENT = "date-format-settings-changed";
|
|
26
|
+
export declare const DEFAULT_DATE_FORMAT_SETTINGS: CachedSettings;
|
|
27
|
+
export declare const getDateFormatSettings: () => CachedSettings;
|
|
28
|
+
/** Date format for where it is shown: list tables, record view pages, or printed/exported output. */
|
|
29
|
+
export declare const getDateFormat: (scope?: DateFormatScope) => string;
|
|
30
|
+
export declare const getTimeFormat: (withSeconds?: boolean) => string;
|
|
31
|
+
export declare const getDateTimeFormat: (scope?: DateFormatScope, withSeconds?: boolean) => string;
|
|
32
|
+
/** True when the format shows a day, a month and a year (a partial format like MM-YYYY cannot drive a date picker). */
|
|
33
|
+
export declare const isFullDateFormat: (format: string) => boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Format for date pickers / date inputs and their placeholders: the configured View format when it is a
|
|
36
|
+
* full date, otherwise DD-MM-YYYY (a picker cannot be edited through a day+year or month+year format).
|
|
37
|
+
*/
|
|
38
|
+
export declare const getPickerDateFormat: () => string;
|
|
39
|
+
export declare const getPickerDateTimeFormat: (withSeconds?: boolean) => string;
|
|
40
|
+
/**
|
|
41
|
+
* True for a column whose name says it is a calendar date ("date", "expiration_date", "due_date", "customer.start_date"...).
|
|
42
|
+
* The backend often types such fields as `datetime`, but the time part is meaningless (usually midnight), so
|
|
43
|
+
* lists should show only the date. Names like *_date_time / *_datetime / *_time and workflow timestamps are excluded.
|
|
44
|
+
*/
|
|
45
|
+
export declare const isDateOnlyColumn: (accessorKey?: string) => boolean;
|
|
46
|
+
export declare const getMonthYearFormat: (scope?: DateFormatScope) => string;
|
|
47
|
+
/** Format a value with the configured format of `scope`. Returns '' for empty/invalid input. */
|
|
48
|
+
export declare const formatWithSetting: (value: unknown, scope?: DateFormatScope, kind?: "date" | "datetime" | "monthYear") => string;
|
|
49
|
+
/** Store settings (+ the month-year mapping from the format list) and tell listeners. */
|
|
50
|
+
export declare const cacheDateFormatSettings: (settings: DateFormatSettings, dateFormats?: FormatOption[]) => void;
|
|
51
|
+
/**
|
|
52
|
+
* Load the saved settings from the backend and cache them. Never throws: on any failure
|
|
53
|
+
* (not logged in, service down, setting not created yet) the previous cache / defaults stay in effect.
|
|
54
|
+
*/
|
|
55
|
+
export declare const loadDateFormatSettings: (token: string) => Promise<void>;
|
|
56
|
+
/** Day.js tokens -> date-fns / react-datepicker tokens (YYYY -> yyyy, DD -> dd, D -> d). */
|
|
57
|
+
export declare const toDateFnsFormat: (format: string) => string;
|
|
58
|
+
/** True when a (translated) placeholder is just a date pattern like "DD/MM/YYYY", which must follow the real format instead. */
|
|
59
|
+
export declare const isDateFormatPlaceholder: (placeholder?: string) => boolean;
|
|
60
|
+
export {};
|
|
@@ -10,3 +10,4 @@ export declare const getMinutesFromTime: (timeString: any) => number;
|
|
|
10
10
|
export declare const getTimeFromMinutes: (minutes: any) => string;
|
|
11
11
|
export declare const UTCDateFormat: (date: string, format: any) => string;
|
|
12
12
|
export declare const formatUtcDate: (date?: any, format?: any) => any;
|
|
13
|
+
export * from './date-format-settings';
|
package/dist/style.css
CHANGED
|
@@ -3233,6 +3233,7 @@
|
|
|
3233
3233
|
|
|
3234
3234
|
.chatBot--doc-chip-bar {
|
|
3235
3235
|
display: flex;
|
|
3236
|
+
flex-wrap: wrap;
|
|
3236
3237
|
align-items: center;
|
|
3237
3238
|
gap: 4px;
|
|
3238
3239
|
padding: 4px 0 6px;
|
|
@@ -3249,11 +3250,37 @@
|
|
|
3249
3250
|
font-size: 11px;
|
|
3250
3251
|
font-weight: 500;
|
|
3251
3252
|
color: #1F2125;
|
|
3252
|
-
flex: 1;
|
|
3253
|
+
flex: 1 1 160px;
|
|
3253
3254
|
min-width: 0;
|
|
3255
|
+
max-width: 100%;
|
|
3254
3256
|
overflow: hidden;
|
|
3255
3257
|
}
|
|
3256
3258
|
|
|
3259
|
+
.chatBot--doc-chip-remove {
|
|
3260
|
+
margin-left: auto;
|
|
3261
|
+
width: 16px;
|
|
3262
|
+
height: 16px;
|
|
3263
|
+
padding: 0;
|
|
3264
|
+
border: none;
|
|
3265
|
+
border-radius: 50%;
|
|
3266
|
+
background: none;
|
|
3267
|
+
color: #8E8E93;
|
|
3268
|
+
cursor: pointer;
|
|
3269
|
+
display: flex;
|
|
3270
|
+
align-items: center;
|
|
3271
|
+
justify-content: center;
|
|
3272
|
+
flex-shrink: 0;
|
|
3273
|
+
transition: background 0.12s, color 0.12s;
|
|
3274
|
+
}
|
|
3275
|
+
.chatBot--doc-chip-remove:hover:not(:disabled) {
|
|
3276
|
+
background: #FFEBEE;
|
|
3277
|
+
color: #C62828;
|
|
3278
|
+
}
|
|
3279
|
+
.chatBot--doc-chip-remove:disabled {
|
|
3280
|
+
cursor: not-allowed;
|
|
3281
|
+
opacity: 0.5;
|
|
3282
|
+
}
|
|
3283
|
+
|
|
3257
3284
|
.chatBot--doc-chip-dot {
|
|
3258
3285
|
width: 6px;
|
|
3259
3286
|
height: 6px;
|
package/dist/utils/api/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const api = require("../../chunks/api-
|
|
3
|
+
const api = require("../../chunks/api-DwmixHAO.js");
|
|
4
4
|
exports.apiConfigurations = api.apiConfigurations;
|
|
5
5
|
exports.extendApiConfigurations = api.extendApiConfigurations;
|
|
6
6
|
exports.fetchApi = api.fetchApi;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I, a, c, d, e, f, g, h, i, j, k, l, m, n, o, p, s, t, u, v, w, aE, x, y, z, A, B, C, D, E, F, G, H, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az } from "../../chunks/api-
|
|
1
|
+
import { I, a, c, d, e, f, g, h, i, j, k, l, m, n, o, p, s, t, u, v, w, aE, x, y, z, A, B, C, D, E, F, G, H, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az } from "../../chunks/api-u1lKzJVv.esm.js";
|
|
2
2
|
export {
|
|
3
3
|
I as InvoiceStatus,
|
|
4
4
|
a as addOrEditArray,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const api = require("../../chunks/api-
|
|
3
|
+
const api = require("../../chunks/api-DwmixHAO.js");
|
|
4
4
|
exports.InvoiceStatus = api.InvoiceStatus;
|
|
5
5
|
exports.addOrEditArray = api.addOrEditArray;
|
|
6
6
|
exports.appendConditionSafely = api.appendConditionSafely;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const commonUtility = require("../../chunks/common-utility-
|
|
3
|
+
const commonUtility = require("../../chunks/common-utility-BLazlXzI.js");
|
|
4
4
|
exports.configMapper = commonUtility.configMapper;
|
|
5
5
|
exports.formateValueByType = commonUtility.formateValueByType;
|
|
6
6
|
exports.getFileNamesFromUrls = commonUtility.getFileNamesFromUrls;
|
|
@@ -1,13 +1,31 @@
|
|
|
1
|
-
import { U, d, d as d2, f, a, b, c, g, e } from "../../chunks/dateFormat-
|
|
1
|
+
import { U, d, d as d2, f, a, b, c, g, e } from "../../chunks/dateFormat-BU9us1HO.esm.js";
|
|
2
|
+
import { D, a as a2, b as b2, c as c2, f as f2, g as g2, d as d3, e as e2, h, i, j, k, l, m, n, o, t } from "../../chunks/date-format-settings-DohP3zvG.esm.js";
|
|
2
3
|
export {
|
|
4
|
+
D as DATE_FORMAT_CHANGED_EVENT,
|
|
5
|
+
a2 as DATE_FORMAT_STORAGE_KEY,
|
|
6
|
+
b2 as DEFAULT_DATE_FORMAT_SETTINGS,
|
|
3
7
|
U as UTCDateFormat,
|
|
8
|
+
c2 as cacheDateFormatSettings,
|
|
4
9
|
d as dateFormat,
|
|
5
10
|
d2 as default,
|
|
6
11
|
f as formatDataTime,
|
|
7
12
|
a as formatDate,
|
|
8
13
|
b as formatOnlyTime,
|
|
9
14
|
c as formatUtcDate,
|
|
15
|
+
f2 as formatWithSetting,
|
|
16
|
+
g2 as getDateFormat,
|
|
17
|
+
d3 as getDateFormatSettings,
|
|
18
|
+
e2 as getDateTimeFormat,
|
|
10
19
|
g as getMinutesFromTime,
|
|
11
|
-
|
|
20
|
+
h as getMonthYearFormat,
|
|
21
|
+
i as getPickerDateFormat,
|
|
22
|
+
j as getPickerDateTimeFormat,
|
|
23
|
+
k as getTimeFormat,
|
|
24
|
+
e as getTimeFromMinutes,
|
|
25
|
+
l as isDateFormatPlaceholder,
|
|
26
|
+
m as isDateOnlyColumn,
|
|
27
|
+
n as isFullDateFormat,
|
|
28
|
+
o as loadDateFormatSettings,
|
|
29
|
+
t as toDateFnsFormat
|
|
12
30
|
};
|
|
13
31
|
//# sourceMappingURL=index.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const dateFormat = require("../../chunks/dateFormat-
|
|
3
|
+
const dateFormat = require("../../chunks/dateFormat-MGjtBNwQ.js");
|
|
4
|
+
const dateFormatSettings = require("../../chunks/date-format-settings-QiQTyiTn.js");
|
|
4
5
|
exports.UTCDateFormat = dateFormat.UTCDateFormat;
|
|
5
6
|
exports.dateFormat = dateFormat.dateFormat;
|
|
6
7
|
exports.default = dateFormat.dateFormat;
|
|
@@ -10,4 +11,21 @@ exports.formatOnlyTime = dateFormat.formatOnlyTime;
|
|
|
10
11
|
exports.formatUtcDate = dateFormat.formatUtcDate;
|
|
11
12
|
exports.getMinutesFromTime = dateFormat.getMinutesFromTime;
|
|
12
13
|
exports.getTimeFromMinutes = dateFormat.getTimeFromMinutes;
|
|
14
|
+
exports.DATE_FORMAT_CHANGED_EVENT = dateFormatSettings.DATE_FORMAT_CHANGED_EVENT;
|
|
15
|
+
exports.DATE_FORMAT_STORAGE_KEY = dateFormatSettings.DATE_FORMAT_STORAGE_KEY;
|
|
16
|
+
exports.DEFAULT_DATE_FORMAT_SETTINGS = dateFormatSettings.DEFAULT_DATE_FORMAT_SETTINGS;
|
|
17
|
+
exports.cacheDateFormatSettings = dateFormatSettings.cacheDateFormatSettings;
|
|
18
|
+
exports.formatWithSetting = dateFormatSettings.formatWithSetting;
|
|
19
|
+
exports.getDateFormat = dateFormatSettings.getDateFormat;
|
|
20
|
+
exports.getDateFormatSettings = dateFormatSettings.getDateFormatSettings;
|
|
21
|
+
exports.getDateTimeFormat = dateFormatSettings.getDateTimeFormat;
|
|
22
|
+
exports.getMonthYearFormat = dateFormatSettings.getMonthYearFormat;
|
|
23
|
+
exports.getPickerDateFormat = dateFormatSettings.getPickerDateFormat;
|
|
24
|
+
exports.getPickerDateTimeFormat = dateFormatSettings.getPickerDateTimeFormat;
|
|
25
|
+
exports.getTimeFormat = dateFormatSettings.getTimeFormat;
|
|
26
|
+
exports.isDateFormatPlaceholder = dateFormatSettings.isDateFormatPlaceholder;
|
|
27
|
+
exports.isDateOnlyColumn = dateFormatSettings.isDateOnlyColumn;
|
|
28
|
+
exports.isFullDateFormat = dateFormatSettings.isFullDateFormat;
|
|
29
|
+
exports.loadDateFormatSettings = dateFormatSettings.loadDateFormatSettings;
|
|
30
|
+
exports.toDateFnsFormat = dateFormatSettings.toDateFnsFormat;
|
|
13
31
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -15,7 +15,7 @@ const formBuilderDeConversion = (formData) => {
|
|
|
15
15
|
let otherSectionDetails = {};
|
|
16
16
|
let sectionOrder = null;
|
|
17
17
|
formData.forEach((item) => {
|
|
18
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C;
|
|
18
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D;
|
|
19
19
|
if (item == null ? void 0 : item.is_section_field) {
|
|
20
20
|
otherSectionDetails = {
|
|
21
21
|
field_type: item == null ? void 0 : item.field_type,
|
|
@@ -136,7 +136,10 @@ const formBuilderDeConversion = (formData) => {
|
|
|
136
136
|
table: (_z = item.field_properties) == null ? void 0 : _z.table,
|
|
137
137
|
table_columns: convertTableColumns((_A = item.field_properties) == null ? void 0 : _A.table_columns),
|
|
138
138
|
table_rows: (_B = item.field_properties) == null ? void 0 : _B.table_rows,
|
|
139
|
-
otherButtons: ((_C = item.field_properties) == null ? void 0 : _C.other_buttons) || []
|
|
139
|
+
otherButtons: ((_C = item.field_properties) == null ? void 0 : _C.other_buttons) || [],
|
|
140
|
+
...((_D = item.field_properties) == null ? void 0 : _D.currency_symbol) && {
|
|
141
|
+
currencySymbol: item.field_properties.currency_symbol
|
|
142
|
+
}
|
|
140
143
|
}
|
|
141
144
|
};
|
|
142
145
|
if (currentSection) {
|
|
@@ -161,7 +164,7 @@ const formBuilderDeConversion = (formData) => {
|
|
|
161
164
|
let sectionOrder = null;
|
|
162
165
|
formData.forEach(
|
|
163
166
|
(item) => {
|
|
164
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D;
|
|
167
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E;
|
|
165
168
|
if (item.is_section_field) {
|
|
166
169
|
otherSectionDetails = {
|
|
167
170
|
field_type: item == null ? void 0 : item.field_type,
|
|
@@ -272,7 +275,10 @@ const formBuilderDeConversion = (formData) => {
|
|
|
272
275
|
table: (_A = item.field_properties) == null ? void 0 : _A.table,
|
|
273
276
|
table_columns: convertTableColumns((_B = item.field_properties) == null ? void 0 : _B.table_columns),
|
|
274
277
|
table_rows: (_C = item.field_properties) == null ? void 0 : _C.table_rows,
|
|
275
|
-
otherButtons: ((_D = item.field_properties) == null ? void 0 : _D.other_buttons) || []
|
|
278
|
+
otherButtons: ((_D = item.field_properties) == null ? void 0 : _D.other_buttons) || [],
|
|
279
|
+
...((_E = item.field_properties) == null ? void 0 : _E.currency_symbol) && {
|
|
280
|
+
currencySymbol: item.field_properties.currency_symbol
|
|
281
|
+
}
|
|
276
282
|
}
|
|
277
283
|
};
|
|
278
284
|
currentSection.members.push(member);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.esm.js","sources":["../../../src/utils/form-builder-deconversion.ts"],"sourcesContent":["type ItemType = {\n section_name: any;\n is_system_field: boolean;\n field_type: string;\n label: string;\n name?: string;\n placeholder: string;\n default_value: any;\n validation: any[];\n is_multiline: any;\n section_order: any;\n option?: any;\n time_format?: string;\n currency?: string;\n field_properties: {\n is_accordion?: boolean;\n float_step?: any;\n options: any;\n is_multiselect: any;\n title: string;\n title_position: \"start\" | \"end\";\n is_multiline: boolean\n is_checked: boolean\n table: string,\n table_columns: string[]\n table_rows?: any\n is_multiple: boolean\n enable_footer?: boolean\n footer_action?: 'add'\n other_buttons?: React.ReactNode[]\n };\n is_section_field?: true;\n section_type?: \"default\" | \"Form switcher section\";\n form_switcher_label?: string;\n form_switcher_name?: string;\n switcher_forms?: {\n value?: string;\n name?: string;\n id?: number;\n }[];\n is_accordion?: boolean;\n}\n\nconst getFirstNonSectionField = (formData: any[]) => {\n const firstField = formData?.find((field) => !field.is_section_field)\n return firstField\n}\n\nconst formBuilderDeConversion = (formData: any) => {\n const outputData: any = {};\n if (formData.length === 0) {\n return outputData;\n }\n\n const firstItem = getFirstNonSectionField(formData);\n\n if (firstItem?.tab_name) {\n outputData.tab = <any>[];\n let currentTab: {\n title: string;\n data: any;\n remove_tab?: any;\n tab_order?: any;\n } | null = null;\n let currentSection: {\n label: string;\n members: any;\n remove_section: any;\n field_type?: string;\n is_accordion?: boolean;\n } | null = null;\n let otherSectionDetails: any = {}\n let sectionOrder: any = null\n\n formData.forEach((item: any) => {\n if (item?.is_section_field) {\n otherSectionDetails = {\n field_type: item?.field_type,\n label: item?.label,\n is_accordion: item?.is_accordion,\n is_section_field: item?.is_section_field,\n section_type: item?.section_type,\n form_switcher_label: item?.form_switcher_label,\n form_switcher_name: item?.form_switcher_name,\n switcher_forms: item?.switcher_forms,\n disabled: Boolean(item?.disabled)\n }\n currentSection = null\n sectionOrder = sectionOrder++\n } else {\n if (!currentTab || currentTab.title !== item.tab_name) {\n\n currentTab = {\n tab_order: item.tab_order || 1,\n title: item.tab_name,\n data: [],\n };\n const checkIfTabExist = outputData.tab.find(tab => tab.title === currentTab?.title)\n\n if (!checkIfTabExist) {\n outputData.tab.push(currentTab);\n } else {\n currentTab = checkIfTabExist\n }\n currentSection = null;\n }\n\n if (!currentSection || currentSection.label !== item.section_name || sectionOrder !== item.section_order) {\n currentSection = {\n field_type: \"section\",\n label: item.section_name || \"\",\n is_accordion: item.field_properties?.is_accordion,\n members: [],\n remove_section: item.is_system_field === true ? true : false,\n };\n\n const checkIfSectionExist = currentTab.data.find(section => section.label === currentSection?.label)\n if (!checkIfSectionExist) {\n // Merge section details and update currentSection reference to the actual pushed object\n currentSection = { ...otherSectionDetails, ...currentSection };\n currentTab.data.push(currentSection);\n } else {\n currentSection = checkIfSectionExist\n }\n otherSectionDetails = null\n }\n sectionOrder = item.section_order\n\n const thenValidations = item?.validation?.find((v: { type: string }) => v.type === \"when\")?.thenValidations || []\n\n const member = {\n ...item,\n id: `${Date.now()}-${Math.random()}`,\n field_type:\n item.field_type === \"media\" ? \"file\" : item.field_type || \"text\",\n type: item.is_system_field ? \"system\" : \"custom\",\n label: item.label || \"\",\n placeholder: item.placeholder || \"\",\n default_value: item.default_value || \"\",\n ...(item?.time_format &&\n item?.field_type === \"time\" && { option: item?.time_format }),\n ...(item?.currency &&\n item?.field_type === \"currency\" && { option: item?.currency }),\n ...(item.field_type === \"text\" && {\n min_length:\n item.validation.find(\n (v: { type: string }) => v.type === \"min_length\",\n )?.value || null,\n }),\n ...(item.field_type === \"text\" && {\n max_length:\n item.validation.find(\n (v: { type: string }) => v.type === \"max_length\",\n )?.value || null,\n }),\n ...(item.field_type === \"number\" && {\n min_length:\n item.validation.find((v: { type: string }) => v.type === \"min_val\")\n ?.value || null,\n }),\n ...(item.field_type === \"number\" && {\n max_length:\n item.validation.find((v: { type: string }) => v.type === \"max_val\")\n ?.value || null,\n }),\n ...((item.is_multiline !== undefined || item.field_properties?.is_multiline !== undefined) && {\n is_multiline: item.is_multiline || item.field_properties?.is_multiline,\n }),\n is_required:\n item.validation.find((v: { type: string }) => v.type === \"required\")?.value ||\n thenValidations?.find((v: { type: string }) => v.type === \"required\")?.value ||\n false,\n is_unique:\n item.validation.find((v: { type: string }) => v.type === \"unique\")\n ?.value || false,\n section_order: item.section_order || 0,\n ...(item.field_properties?.float_step && {\n float_step: item.field_properties.float_step.toString(),\n }),\n ...(item.field_properties?.options && {\n options: item.field_properties.options,\n }),\n ...(item.field_properties?.is_multiselect !== undefined && {\n is_multiselect: item.field_properties.is_multiselect,\n }),\n ...(item.field_properties?.enable_footer !== undefined && {\n enable_footer: Boolean(item.field_properties.enable_footer),\n }),\n ...(item.field_properties?.footer_action !== undefined && {\n footer_action: item.field_properties.footer_action || 'add',\n }),\n ...(item.field_type === \"date\" && {\n is_future_dates_allowed:\n item.validation.find(\n (v: { type: string }) => v.type === \"is_future_dates_allowed\",\n )?.value || null,\n }),\n ...(item.field_type === \"date\" && {\n is_past_dates_allowed:\n item.validation.find(\n (v: { type: string }) => v.type === \"is_past_dates_allowed\",\n )?.value || null,\n }),\n ...((item.field_type === \"image\" || item.field_type === \"media\" || item.field_type === \"file\") && {\n max_size:\n item.validation.find(\n (v: { type: string }) => v.type === \"max_file_size\",\n )?.value || undefined,\n is_multiple: item.field_properties?.is_multiple\n }),\n ...((item.field_type === \"toggleButton\" || item.field_type === \"checkbox\" || item.field_type === \"radioButton\") && {\n title: item.field_properties?.title ? item.field_properties?.title : '',\n title_position: item.field_properties?.title_position ?? \"end\",\n is_checked: item.field_properties?.is_checked\n }),\n ...((item.field_type === \"table\") && {\n table: item.field_properties?.table,\n table_columns: convertTableColumns(item.field_properties?.table_columns),\n table_rows: item.field_properties?.table_rows,\n otherButtons: item.field_properties?.other_buttons || []\n }),\n };\n if (currentSection) {\n currentSection.members.push(member);\n if (\n currentSection.members.some((member: any) => member.type === \"system\")\n ) {\n currentSection.remove_section = true;\n } else {\n currentSection.remove_section = false;\n }\n currentTab.remove_tab = currentTab.data.some(\n (section: { members: any[] }) =>\n section.members.some(\n (member: { type: string }) => member.type === \"system\",\n ),\n );\n }\n }\n });\n } else {\n // Convert to sections format\n outputData.section = [];\n let currentSection: {\n label: any;\n members: any;\n remove_section: any;\n field_type?: string;\n is_accordion?: boolean;\n } | null = null;\n let otherSectionDetails: any = {}\n let sectionOrder: any = null\n\n formData.forEach(\n (item: ItemType) => {\n if (item.is_section_field) {\n otherSectionDetails = {\n field_type: item?.field_type,\n label: item?.label,\n is_accordion: item?.is_accordion,\n is_section_field: item?.is_section_field,\n section_type: item?.section_type,\n form_switcher_label: item?.form_switcher_label,\n form_switcher_name: item?.form_switcher_name,\n switcher_forms: item?.switcher_forms,\n disabled: Boolean(item?.disabled)\n }\n sectionOrder = sectionOrder++\n currentSection = null\n } else {\n if (!currentSection || currentSection.label !== item.section_name || sectionOrder !== item.section_order) {\n currentSection = {\n field_type: \"section\",\n label: item.section_name || \"\",\n is_accordion: item.field_properties?.is_accordion,\n members: [],\n remove_section: item.is_system_field === true ? true : false,\n };\n\n const checkIfSectionExist = outputData?.section?.find(section => section.label === currentSection?.label)\n if (!checkIfSectionExist) {\n // Merge section details and update currentSection reference to the actual pushed object\n currentSection = { ...otherSectionDetails, ...currentSection };\n outputData.section.push(currentSection);\n } else {\n currentSection = checkIfSectionExist\n }\n\n // outputData.section.push({ ...otherSectionDetails, ...currentSection });\n\n otherSectionDetails = null\n }\n sectionOrder = item.section_order\n\n const thenValidations = item?.validation?.find((v: { type: string }) => v.type === \"when\")?.thenValidations || []\n\n const member = {\n ...item,\n id: `${Date.now()}-${Math.random()}`,\n field_type:\n item.field_type === \"media\" ? \"file\" : item.field_type || \"text\",\n type: item.is_system_field ? \"system\" : \"custom\",\n label: item.label,\n placeholder: item.placeholder || \"\",\n default_value: item.default_value || \"\",\n ...(item?.time_format &&\n item?.field_type === \"time\" && { option: item?.time_format }),\n ...(item?.currency &&\n item?.field_type === \"currency\" && { option: item?.currency }),\n ...(item.field_type === \"text\" && {\n min_length:\n item.validation.find(\n (v: { type: string }) => v.type === \"min_length\",\n )?.value || null,\n }),\n ...(item.field_type === \"text\" && {\n max_length:\n item.validation.find(\n (v: { type: string }) => v.type === \"max_length\",\n )?.value || null,\n }),\n ...(item.field_type === \"number\" && {\n min_length:\n item.validation.find(\n (v: { type: string }) => v.type === \"min_val\",\n )?.value || null,\n }),\n ...(item.field_type === \"number\" && {\n max_length:\n item.validation.find(\n (v: { type: string }) => v.type === \"max_val\",\n )?.value || null,\n }),\n ...((item.is_multiline !== undefined || item.field_properties?.is_multiline !== undefined) && {\n is_multiline: item.is_multiline || item.field_properties?.is_multiline,\n }),\n is_required:\n item.validation.find((v: { type: string }) => v.type === \"required\")?.value ||\n thenValidations?.find((v: { type: string }) => v.type === \"required\")?.value ||\n false,\n is_unique:\n item.validation.find((v: { type: string }) => v.type === \"unique\")\n ?.value || false,\n section_order: item.section_order || 0,\n ...(item.field_properties?.float_step && {\n float_step: Number(item.field_properties.float_step),\n }),\n ...(item.field_properties?.options && {\n options: item.field_properties.options,\n }),\n ...(item.field_properties?.is_multiselect !== undefined && {\n is_multiselect: item.field_properties.is_multiselect,\n }),\n ...(item.field_properties?.enable_footer !== undefined && {\n enable_footer: Boolean(item.field_properties.enable_footer),\n }),\n ...(item.field_properties?.footer_action !== undefined && {\n footer_action: item.field_properties.footer_action || 'add',\n }),\n ...(item.field_type === \"date\" && {\n is_future_dates_allowed:\n item.validation.find(\n (v: { type: string }) => v.type === \"is_future_dates_allowed\",\n )?.value || null,\n }),\n ...(item.field_type === \"date\" && {\n is_past_dates_allowed:\n item.validation.find(\n (v: { type: string }) => v.type === \"is_past_dates_allowed\",\n )?.value || null,\n }),\n ...((item.field_type === \"image\" || item.field_type === \"media\" || item.field_type === \"file\") && {\n max_size:\n item.validation.find(\n (v: { type: string }) => v.type === \"max_file_size\",\n )?.value || undefined,\n is_multiple: item.field_properties?.is_multiple\n }),\n ...((item.field_type === \"toggleButton\" || item.field_type === \"checkbox\") && {\n title: item.field_properties?.title ? item.field_properties?.title : item.label,\n title_position: item.field_properties?.title_position ?? \"end\",\n is_checked: item.field_properties?.is_checked\n }),\n ...((item.field_type === \"table\") && {\n table: item.field_properties?.table,\n table_columns: convertTableColumns(item.field_properties?.table_columns),\n table_rows: item.field_properties?.table_rows,\n otherButtons: item.field_properties?.other_buttons || []\n }),\n };\n\n currentSection.members.push(member);\n if (\n currentSection.members.some((member: any) => member.type === \"system\")\n ) {\n currentSection.remove_section = true;\n } else {\n currentSection.remove_section = false;\n }\n }\n }\n );\n }\n\n return outputData;\n};\n\n\n\nfunction formatText(key: string): string {\n return key ? key\n .split(/[:_-]/)\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join(\" \") : key;\n}\n\nexport const convertTableColumns = (columns: string[]) => {\n if (!Array.isArray(columns)) return [];\n\n return columns.map(column => {\n if (typeof column === 'object') {\n return { ...column }\n } else {\n const colArr = column.split(\".\").filter(str => str)\n const header = colArr.length ? (colArr.length > 1 ? formatText(colArr[colArr.length - 1]) : formatText(colArr[0])) : \"-\"\n\n return {\n header,\n accessorKey: column,\n visible: true,\n }\n }\n })\n}\n\nexport default formBuilderDeConversion;\n"],"names":["member"],"mappings":"AA2CA,MAAM,0BAA0B,CAAC,aAAoB;AACnD,QAAM,aAAa,qCAAU,KAAK,CAAC,UAAU,CAAC,MAAM;AACp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AErH,aAAO;AAAA,QACL;AAAA,QACA,aAAa;AAAA,QACb,SAAS;AAAA,MAAA;AAAA,IAEb;AAAA,EACF,CAAC;AACH;"}
|
|
1
|
+
{"version":3,"file":"index.esm.js","sources":["../../../src/utils/form-builder-deconversion.ts"],"sourcesContent":["type ItemType = {\n section_name: any;\n is_system_field: boolean;\n field_type: string;\n label: string;\n name?: string;\n placeholder: string;\n default_value: any;\n validation: any[];\n is_multiline: any;\n section_order: any;\n option?: any;\n time_format?: string;\n currency?: string;\n field_properties: {\n is_accordion?: boolean;\n float_step?: any;\n options: any;\n is_multiselect: any;\n title: string;\n title_position: \"start\" | \"end\";\n is_multiline: boolean\n is_checked: boolean\n table: string,\n table_columns: string[]\n table_rows?: any\n is_multiple: boolean\n enable_footer?: boolean\n footer_action?: 'add'\n other_buttons?: React.ReactNode[]\n currency_symbol?: string\n };\n is_section_field?: true;\n section_type?: \"default\" | \"Form switcher section\";\n form_switcher_label?: string;\n form_switcher_name?: string;\n switcher_forms?: {\n value?: string;\n name?: string;\n id?: number;\n }[];\n is_accordion?: boolean;\n}\n\nconst getFirstNonSectionField = (formData: any[]) => {\n const firstField = formData?.find((field) => !field.is_section_field)\n return firstField\n}\n\nconst formBuilderDeConversion = (formData: any) => {\n const outputData: any = {};\n if (formData.length === 0) {\n return outputData;\n }\n\n const firstItem = getFirstNonSectionField(formData);\n\n if (firstItem?.tab_name) {\n outputData.tab = <any>[];\n let currentTab: {\n title: string;\n data: any;\n remove_tab?: any;\n tab_order?: any;\n } | null = null;\n let currentSection: {\n label: string;\n members: any;\n remove_section: any;\n field_type?: string;\n is_accordion?: boolean;\n } | null = null;\n let otherSectionDetails: any = {}\n let sectionOrder: any = null\n\n formData.forEach((item: any) => {\n if (item?.is_section_field) {\n otherSectionDetails = {\n field_type: item?.field_type,\n label: item?.label,\n is_accordion: item?.is_accordion,\n is_section_field: item?.is_section_field,\n section_type: item?.section_type,\n form_switcher_label: item?.form_switcher_label,\n form_switcher_name: item?.form_switcher_name,\n switcher_forms: item?.switcher_forms,\n disabled: Boolean(item?.disabled)\n }\n currentSection = null\n sectionOrder = sectionOrder++\n } else {\n if (!currentTab || currentTab.title !== item.tab_name) {\n\n currentTab = {\n tab_order: item.tab_order || 1,\n title: item.tab_name,\n data: [],\n };\n const checkIfTabExist = outputData.tab.find(tab => tab.title === currentTab?.title)\n\n if (!checkIfTabExist) {\n outputData.tab.push(currentTab);\n } else {\n currentTab = checkIfTabExist\n }\n currentSection = null;\n }\n\n if (!currentSection || currentSection.label !== item.section_name || sectionOrder !== item.section_order) {\n currentSection = {\n field_type: \"section\",\n label: item.section_name || \"\",\n is_accordion: item.field_properties?.is_accordion,\n members: [],\n remove_section: item.is_system_field === true ? true : false,\n };\n\n const checkIfSectionExist = currentTab.data.find(section => section.label === currentSection?.label)\n if (!checkIfSectionExist) {\n // Merge section details and update currentSection reference to the actual pushed object\n currentSection = { ...otherSectionDetails, ...currentSection };\n currentTab.data.push(currentSection);\n } else {\n currentSection = checkIfSectionExist\n }\n otherSectionDetails = null\n }\n sectionOrder = item.section_order\n\n const thenValidations = item?.validation?.find((v: { type: string }) => v.type === \"when\")?.thenValidations || []\n\n const member = {\n ...item,\n id: `${Date.now()}-${Math.random()}`,\n field_type:\n item.field_type === \"media\" ? \"file\" : item.field_type || \"text\",\n type: item.is_system_field ? \"system\" : \"custom\",\n label: item.label || \"\",\n placeholder: item.placeholder || \"\",\n default_value: item.default_value || \"\",\n ...(item?.time_format &&\n item?.field_type === \"time\" && { option: item?.time_format }),\n ...(item?.currency &&\n item?.field_type === \"currency\" && { option: item?.currency }),\n ...(item.field_type === \"text\" && {\n min_length:\n item.validation.find(\n (v: { type: string }) => v.type === \"min_length\",\n )?.value || null,\n }),\n ...(item.field_type === \"text\" && {\n max_length:\n item.validation.find(\n (v: { type: string }) => v.type === \"max_length\",\n )?.value || null,\n }),\n ...(item.field_type === \"number\" && {\n min_length:\n item.validation.find((v: { type: string }) => v.type === \"min_val\")\n ?.value || null,\n }),\n ...(item.field_type === \"number\" && {\n max_length:\n item.validation.find((v: { type: string }) => v.type === \"max_val\")\n ?.value || null,\n }),\n ...((item.is_multiline !== undefined || item.field_properties?.is_multiline !== undefined) && {\n is_multiline: item.is_multiline || item.field_properties?.is_multiline,\n }),\n is_required:\n item.validation.find((v: { type: string }) => v.type === \"required\")?.value ||\n thenValidations?.find((v: { type: string }) => v.type === \"required\")?.value ||\n false,\n is_unique:\n item.validation.find((v: { type: string }) => v.type === \"unique\")\n ?.value || false,\n section_order: item.section_order || 0,\n ...(item.field_properties?.float_step && {\n float_step: item.field_properties.float_step.toString(),\n }),\n ...(item.field_properties?.options && {\n options: item.field_properties.options,\n }),\n ...(item.field_properties?.is_multiselect !== undefined && {\n is_multiselect: item.field_properties.is_multiselect,\n }),\n ...(item.field_properties?.enable_footer !== undefined && {\n enable_footer: Boolean(item.field_properties.enable_footer),\n }),\n ...(item.field_properties?.footer_action !== undefined && {\n footer_action: item.field_properties.footer_action || 'add',\n }),\n ...(item.field_type === \"date\" && {\n is_future_dates_allowed:\n item.validation.find(\n (v: { type: string }) => v.type === \"is_future_dates_allowed\",\n )?.value || null,\n }),\n ...(item.field_type === \"date\" && {\n is_past_dates_allowed:\n item.validation.find(\n (v: { type: string }) => v.type === \"is_past_dates_allowed\",\n )?.value || null,\n }),\n ...((item.field_type === \"image\" || item.field_type === \"media\" || item.field_type === \"file\") && {\n max_size:\n item.validation.find(\n (v: { type: string }) => v.type === \"max_file_size\",\n )?.value || undefined,\n is_multiple: item.field_properties?.is_multiple\n }),\n ...((item.field_type === \"toggleButton\" || item.field_type === \"checkbox\" || item.field_type === \"radioButton\") && {\n title: item.field_properties?.title ? item.field_properties?.title : '',\n title_position: item.field_properties?.title_position ?? \"end\",\n is_checked: item.field_properties?.is_checked\n }),\n ...((item.field_type === \"table\") && {\n table: item.field_properties?.table,\n table_columns: convertTableColumns(item.field_properties?.table_columns),\n table_rows: item.field_properties?.table_rows,\n otherButtons: item.field_properties?.other_buttons || [],\n ...(item.field_properties?.currency_symbol && {\n currencySymbol: item.field_properties.currency_symbol,\n }),\n }),\n };\n if (currentSection) {\n currentSection.members.push(member);\n if (\n currentSection.members.some((member: any) => member.type === \"system\")\n ) {\n currentSection.remove_section = true;\n } else {\n currentSection.remove_section = false;\n }\n currentTab.remove_tab = currentTab.data.some(\n (section: { members: any[] }) =>\n section.members.some(\n (member: { type: string }) => member.type === \"system\",\n ),\n );\n }\n }\n });\n } else {\n // Convert to sections format\n outputData.section = [];\n let currentSection: {\n label: any;\n members: any;\n remove_section: any;\n field_type?: string;\n is_accordion?: boolean;\n } | null = null;\n let otherSectionDetails: any = {}\n let sectionOrder: any = null\n\n formData.forEach(\n (item: ItemType) => {\n if (item.is_section_field) {\n otherSectionDetails = {\n field_type: item?.field_type,\n label: item?.label,\n is_accordion: item?.is_accordion,\n is_section_field: item?.is_section_field,\n section_type: item?.section_type,\n form_switcher_label: item?.form_switcher_label,\n form_switcher_name: item?.form_switcher_name,\n switcher_forms: item?.switcher_forms,\n disabled: Boolean(item?.disabled)\n }\n sectionOrder = sectionOrder++\n currentSection = null\n } else {\n if (!currentSection || currentSection.label !== item.section_name || sectionOrder !== item.section_order) {\n currentSection = {\n field_type: \"section\",\n label: item.section_name || \"\",\n is_accordion: item.field_properties?.is_accordion,\n members: [],\n remove_section: item.is_system_field === true ? true : false,\n };\n\n const checkIfSectionExist = outputData?.section?.find(section => section.label === currentSection?.label)\n if (!checkIfSectionExist) {\n // Merge section details and update currentSection reference to the actual pushed object\n currentSection = { ...otherSectionDetails, ...currentSection };\n outputData.section.push(currentSection);\n } else {\n currentSection = checkIfSectionExist\n }\n\n // outputData.section.push({ ...otherSectionDetails, ...currentSection });\n\n otherSectionDetails = null\n }\n sectionOrder = item.section_order\n\n const thenValidations = item?.validation?.find((v: { type: string }) => v.type === \"when\")?.thenValidations || []\n\n const member = {\n ...item,\n id: `${Date.now()}-${Math.random()}`,\n field_type:\n item.field_type === \"media\" ? \"file\" : item.field_type || \"text\",\n type: item.is_system_field ? \"system\" : \"custom\",\n label: item.label,\n placeholder: item.placeholder || \"\",\n default_value: item.default_value || \"\",\n ...(item?.time_format &&\n item?.field_type === \"time\" && { option: item?.time_format }),\n ...(item?.currency &&\n item?.field_type === \"currency\" && { option: item?.currency }),\n ...(item.field_type === \"text\" && {\n min_length:\n item.validation.find(\n (v: { type: string }) => v.type === \"min_length\",\n )?.value || null,\n }),\n ...(item.field_type === \"text\" && {\n max_length:\n item.validation.find(\n (v: { type: string }) => v.type === \"max_length\",\n )?.value || null,\n }),\n ...(item.field_type === \"number\" && {\n min_length:\n item.validation.find(\n (v: { type: string }) => v.type === \"min_val\",\n )?.value || null,\n }),\n ...(item.field_type === \"number\" && {\n max_length:\n item.validation.find(\n (v: { type: string }) => v.type === \"max_val\",\n )?.value || null,\n }),\n ...((item.is_multiline !== undefined || item.field_properties?.is_multiline !== undefined) && {\n is_multiline: item.is_multiline || item.field_properties?.is_multiline,\n }),\n is_required:\n item.validation.find((v: { type: string }) => v.type === \"required\")?.value ||\n thenValidations?.find((v: { type: string }) => v.type === \"required\")?.value ||\n false,\n is_unique:\n item.validation.find((v: { type: string }) => v.type === \"unique\")\n ?.value || false,\n section_order: item.section_order || 0,\n ...(item.field_properties?.float_step && {\n float_step: Number(item.field_properties.float_step),\n }),\n ...(item.field_properties?.options && {\n options: item.field_properties.options,\n }),\n ...(item.field_properties?.is_multiselect !== undefined && {\n is_multiselect: item.field_properties.is_multiselect,\n }),\n ...(item.field_properties?.enable_footer !== undefined && {\n enable_footer: Boolean(item.field_properties.enable_footer),\n }),\n ...(item.field_properties?.footer_action !== undefined && {\n footer_action: item.field_properties.footer_action || 'add',\n }),\n ...(item.field_type === \"date\" && {\n is_future_dates_allowed:\n item.validation.find(\n (v: { type: string }) => v.type === \"is_future_dates_allowed\",\n )?.value || null,\n }),\n ...(item.field_type === \"date\" && {\n is_past_dates_allowed:\n item.validation.find(\n (v: { type: string }) => v.type === \"is_past_dates_allowed\",\n )?.value || null,\n }),\n ...((item.field_type === \"image\" || item.field_type === \"media\" || item.field_type === \"file\") && {\n max_size:\n item.validation.find(\n (v: { type: string }) => v.type === \"max_file_size\",\n )?.value || undefined,\n is_multiple: item.field_properties?.is_multiple\n }),\n ...((item.field_type === \"toggleButton\" || item.field_type === \"checkbox\") && {\n title: item.field_properties?.title ? item.field_properties?.title : item.label,\n title_position: item.field_properties?.title_position ?? \"end\",\n is_checked: item.field_properties?.is_checked\n }),\n ...((item.field_type === \"table\") && {\n table: item.field_properties?.table,\n table_columns: convertTableColumns(item.field_properties?.table_columns),\n table_rows: item.field_properties?.table_rows,\n otherButtons: item.field_properties?.other_buttons || [],\n ...(item.field_properties?.currency_symbol && {\n currencySymbol: item.field_properties.currency_symbol,\n }),\n }),\n };\n\n currentSection.members.push(member);\n if (\n currentSection.members.some((member: any) => member.type === \"system\")\n ) {\n currentSection.remove_section = true;\n } else {\n currentSection.remove_section = false;\n }\n }\n }\n );\n }\n\n return outputData;\n};\n\n\n\nfunction formatText(key: string): string {\n return key ? key\n .split(/[:_-]/)\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1))\n .join(\" \") : key;\n}\n\nexport const convertTableColumns = (columns: string[]) => {\n if (!Array.isArray(columns)) return [];\n\n return columns.map(column => {\n if (typeof column === 'object') {\n return { ...column }\n } else {\n const colArr = column.split(\".\").filter(str => str)\n const header = colArr.length ? (colArr.length > 1 ? formatText(colArr[colArr.length - 1]) : formatText(colArr[0])) : \"-\"\n\n return {\n header,\n accessorKey: column,\n visible: true,\n }\n }\n })\n}\n\nexport default formBuilderDeConversion;\n"],"names":["member"],"mappings":"AA4CA,MAAM,0BAA0B,CAAC,aAAoB;AACnD,QAAM,aAAa,qCAAU,KAAK,CAAC,UAAU,CAAC,MAAM;AACpD,SAAO;AACT;AAEA,MAAM,0BAA0B,CAAC,aAAkB;AACjD,QAAM,aAAkB,CAAA;AACxB,MAAI,SAAS,WAAW,GAAG;AACzB,WAAO;AAAA,EACT;AAEA,QAAM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SAAS,CAAC,CAAC,IAAI,WAAW,OAAO,CAAC,CAAC,IAAK;AAErH,aAAO;AAAA,QACL;AAAA,QACA,aAAa;AAAA,QACb,SAAS;AAAA,MAAA;AAAA,IAEb;AAAA,EACF,CAAC;AACH;"}
|
|
@@ -17,7 +17,7 @@ const formBuilderDeConversion = (formData) => {
|
|
|
17
17
|
let otherSectionDetails = {};
|
|
18
18
|
let sectionOrder = null;
|
|
19
19
|
formData.forEach((item) => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C;
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D;
|
|
21
21
|
if (item == null ? void 0 : item.is_section_field) {
|
|
22
22
|
otherSectionDetails = {
|
|
23
23
|
field_type: item == null ? void 0 : item.field_type,
|
|
@@ -138,7 +138,10 @@ const formBuilderDeConversion = (formData) => {
|
|
|
138
138
|
table: (_z = item.field_properties) == null ? void 0 : _z.table,
|
|
139
139
|
table_columns: convertTableColumns((_A = item.field_properties) == null ? void 0 : _A.table_columns),
|
|
140
140
|
table_rows: (_B = item.field_properties) == null ? void 0 : _B.table_rows,
|
|
141
|
-
otherButtons: ((_C = item.field_properties) == null ? void 0 : _C.other_buttons) || []
|
|
141
|
+
otherButtons: ((_C = item.field_properties) == null ? void 0 : _C.other_buttons) || [],
|
|
142
|
+
...((_D = item.field_properties) == null ? void 0 : _D.currency_symbol) && {
|
|
143
|
+
currencySymbol: item.field_properties.currency_symbol
|
|
144
|
+
}
|
|
142
145
|
}
|
|
143
146
|
};
|
|
144
147
|
if (currentSection) {
|
|
@@ -163,7 +166,7 @@ const formBuilderDeConversion = (formData) => {
|
|
|
163
166
|
let sectionOrder = null;
|
|
164
167
|
formData.forEach(
|
|
165
168
|
(item) => {
|
|
166
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D;
|
|
169
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E;
|
|
167
170
|
if (item.is_section_field) {
|
|
168
171
|
otherSectionDetails = {
|
|
169
172
|
field_type: item == null ? void 0 : item.field_type,
|
|
@@ -274,7 +277,10 @@ const formBuilderDeConversion = (formData) => {
|
|
|
274
277
|
table: (_A = item.field_properties) == null ? void 0 : _A.table,
|
|
275
278
|
table_columns: convertTableColumns((_B = item.field_properties) == null ? void 0 : _B.table_columns),
|
|
276
279
|
table_rows: (_C = item.field_properties) == null ? void 0 : _C.table_rows,
|
|
277
|
-
otherButtons: ((_D = item.field_properties) == null ? void 0 : _D.other_buttons) || []
|
|
280
|
+
otherButtons: ((_D = item.field_properties) == null ? void 0 : _D.other_buttons) || [],
|
|
281
|
+
...((_E = item.field_properties) == null ? void 0 : _E.currency_symbol) && {
|
|
282
|
+
currencySymbol: item.field_properties.currency_symbol
|
|
283
|
+
}
|
|
278
284
|
}
|
|
279
285
|
};
|
|
280
286
|
currentSection.members.push(member);
|