@erpsquad/common 1.10.74 → 1.10.76
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/{ERPUIProvider-Ce7EhOa_.js → ERPUIProvider-CUwFzQDS.js} +8 -8
- package/dist/chunks/{ERPUIProvider-Ce7EhOa_.js.map → ERPUIProvider-CUwFzQDS.js.map} +1 -1
- package/dist/chunks/{ERPUIProvider-CmmabhgQ.esm.js → ERPUIProvider-CjIWXAFQ.esm.js} +8 -8
- package/dist/chunks/{ERPUIProvider-CmmabhgQ.esm.js.map → ERPUIProvider-CjIWXAFQ.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-DqVmiGzl.js → actionCreator-B-xXGO_F.js} +2 -2
- package/dist/chunks/{actionCreator-DqVmiGzl.js.map → actionCreator-B-xXGO_F.js.map} +1 -1
- package/dist/chunks/{actionCreator-Cy_J6Xfp.esm.js → actionCreator-CWeYbk0a.esm.js} +2 -2
- package/dist/chunks/{actionCreator-Cy_J6Xfp.esm.js.map → actionCreator-CWeYbk0a.esm.js.map} +1 -1
- package/dist/chunks/{android-12-switch-CXEiaZf0.js → android-12-switch-BwWhufNY.js} +14 -16
- package/dist/chunks/{android-12-switch-CXEiaZf0.js.map → android-12-switch-BwWhufNY.js.map} +1 -1
- package/dist/chunks/{android-12-switch-DOruO2DA.esm.js → android-12-switch-CqzSpWic.esm.js} +13 -15
- package/dist/chunks/{android-12-switch-DOruO2DA.esm.js.map → android-12-switch-CqzSpWic.esm.js.map} +1 -1
- package/dist/chunks/{appbar-ByiY9Ehc.esm.js → appbar-BHhB-1U-.esm.js} +105 -6
- package/dist/chunks/appbar-BHhB-1U-.esm.js.map +1 -0
- package/dist/chunks/{appbar-Cht2DM8y.js → appbar-NZcZPNzx.js} +105 -6
- package/dist/chunks/appbar-NZcZPNzx.js.map +1 -0
- package/dist/chunks/{checkbox-DNW1SYc0.js → checkbox-CKG0IzuP.js} +3 -3
- package/dist/chunks/{checkbox-DNW1SYc0.js.map → checkbox-CKG0IzuP.js.map} +1 -1
- package/dist/chunks/{checkbox-Vd4h25n2.esm.js → checkbox-DdtsMxO8.esm.js} +3 -3
- package/dist/chunks/{checkbox-Vd4h25n2.esm.js.map → checkbox-DdtsMxO8.esm.js.map} +1 -1
- package/dist/chunks/{common-B1hGK8kQ.js → common-CbkoxxEu.js} +23 -9
- package/dist/chunks/{common-B1hGK8kQ.js.map → common-CbkoxxEu.js.map} +1 -1
- package/dist/chunks/{common-BVfS06ca.esm.js → common-r5LBzRrd.esm.js} +23 -9
- package/dist/chunks/{common-BVfS06ca.esm.js.map → common-r5LBzRrd.esm.js.map} +1 -1
- package/dist/chunks/{custom-editor-e50eHmKt.esm.js → custom-editor-C7xbAktX.esm.js} +2 -2
- package/dist/chunks/{custom-editor-e50eHmKt.esm.js.map → custom-editor-C7xbAktX.esm.js.map} +1 -1
- package/dist/chunks/{custom-editor-iUZb8s2v.js → custom-editor-DPF1mYl4.js} +2 -2
- package/dist/chunks/{custom-editor-iUZb8s2v.js.map → custom-editor-DPF1mYl4.js.map} +1 -1
- package/dist/chunks/{default-data-AYPWIApH.js → default-data-CL2V5IF-.js} +14 -14
- package/dist/chunks/{default-data-AYPWIApH.js.map → default-data-CL2V5IF-.js.map} +1 -1
- package/dist/chunks/{default-data-BJi3OcW1.esm.js → default-data-CewDRdY9.esm.js} +14 -14
- package/dist/chunks/{default-data-BJi3OcW1.esm.js.map → default-data-CewDRdY9.esm.js.map} +1 -1
- package/dist/chunks/{form-builder-conversion-DrA9C0NQ.esm.js → form-builder-conversion-5PObjQmo.esm.js} +2 -2
- package/dist/chunks/{form-builder-conversion-DrA9C0NQ.esm.js.map → form-builder-conversion-5PObjQmo.esm.js.map} +1 -1
- package/dist/chunks/{form-builder-conversion-BcJXOpRp.js → form-builder-conversion-CZUD_4rn.js} +2 -2
- package/dist/chunks/{form-builder-conversion-BcJXOpRp.js.map → form-builder-conversion-CZUD_4rn.js.map} +1 -1
- package/dist/chunks/{form-builder-deconversion-BmHlW07j.js → form-builder-deconversion-Bgk1q6Fa.js} +3 -3
- package/dist/chunks/{form-builder-deconversion-BmHlW07j.js.map → form-builder-deconversion-Bgk1q6Fa.js.map} +1 -1
- package/dist/chunks/{form-builder-deconversion-1hYI2jWw.esm.js → form-builder-deconversion-ELcu8H0N.esm.js} +3 -3
- package/dist/chunks/{form-builder-deconversion-1hYI2jWw.esm.js.map → form-builder-deconversion-ELcu8H0N.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-BT9r6A8F.esm.js → fullScreen-7u2dFYMi.esm.js} +2 -2
- package/dist/chunks/{fullScreen-BT9r6A8F.esm.js.map → fullScreen-7u2dFYMi.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-C1yKeusg.js → fullScreen-BjtERQfx.js} +2 -2
- package/dist/chunks/{fullScreen-C1yKeusg.js.map → fullScreen-BjtERQfx.js.map} +1 -1
- package/dist/chunks/{languageContext-DfIURMbF.esm.js → languageContext-BDBjPlEp.esm.js} +3 -3
- package/dist/chunks/{languageContext-DfIURMbF.esm.js.map → languageContext-BDBjPlEp.esm.js.map} +1 -1
- package/dist/chunks/{languageContext-CANlRoA0.js → languageContext-D5aFHu92.js} +3 -3
- package/dist/chunks/{languageContext-CANlRoA0.js.map → languageContext-D5aFHu92.js.map} +1 -1
- package/dist/chunks/{migration-utils-Dc_6VdeJ.js → migration-utils-CKsbzmGE.js} +2 -2
- package/dist/chunks/{migration-utils-Dc_6VdeJ.js.map → migration-utils-CKsbzmGE.js.map} +1 -1
- package/dist/chunks/{migration-utils-D4OMb4fL.esm.js → migration-utils-DLHDD2HQ.esm.js} +2 -2
- package/dist/chunks/{migration-utils-D4OMb4fL.esm.js.map → migration-utils-DLHDD2HQ.esm.js.map} +1 -1
- package/dist/chunks/{page-context-DfmpUWuf.esm.js → page-context-Cvdc6oCn.esm.js} +3 -3
- package/dist/chunks/{page-context-DfmpUWuf.esm.js.map → page-context-Cvdc6oCn.esm.js.map} +1 -1
- package/dist/chunks/{page-context-Cg2MyCmD.js → page-context-DbmNiYCW.js} +3 -3
- package/dist/chunks/{page-context-Cg2MyCmD.js.map → page-context-DbmNiYCW.js.map} +1 -1
- package/dist/chunks/{radio-button-BYtmY0l-.js → radio-button-Bxl9UISl.js} +1 -18
- package/dist/chunks/radio-button-Bxl9UISl.js.map +1 -0
- package/dist/chunks/{radio-button-wgwiOmaZ.esm.js → radio-button-mbPNQ3rc.esm.js} +16 -33
- package/dist/chunks/radio-button-mbPNQ3rc.esm.js.map +1 -0
- package/dist/chunks/{reducer-C0cHDjmv.esm.js → reducer-B-83-Uuu.esm.js} +2 -2
- package/dist/chunks/{reducer-C0cHDjmv.esm.js.map → reducer-B-83-Uuu.esm.js.map} +1 -1
- package/dist/chunks/{reducer-BuEwR2fM.js → reducer-dJC7462F.js} +2 -2
- package/dist/chunks/{reducer-BuEwR2fM.js.map → reducer-dJC7462F.js.map} +1 -1
- package/dist/chunks/{shareSlice-BHlSQRKw.js → shareSlice-CLJDkmkc.js} +2 -2
- package/dist/chunks/{shareSlice-BHlSQRKw.js.map → shareSlice-CLJDkmkc.js.map} +1 -1
- package/dist/chunks/{shareSlice-DvnaG9GO.esm.js → shareSlice-bLbaaebU.esm.js} +2 -2
- package/dist/chunks/{shareSlice-DvnaG9GO.esm.js.map → shareSlice-bLbaaebU.esm.js.map} +1 -1
- package/dist/chunks/{sidebar-CwqNppLF.js → sidebar-DjLVz3cn.js} +5 -5
- package/dist/chunks/{sidebar-CwqNppLF.js.map → sidebar-DjLVz3cn.js.map} +1 -1
- package/dist/chunks/{sidebar-CG90JVRA.esm.js → sidebar-Dvkxcr0w.esm.js} +5 -5
- package/dist/chunks/{sidebar-CG90JVRA.esm.js.map → sidebar-Dvkxcr0w.esm.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-DVwqG-Hi.js → sidebarScreen-CAcPjFlR.js} +5 -5
- package/dist/chunks/{sidebarScreen-DVwqG-Hi.js.map → sidebarScreen-CAcPjFlR.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-C3OHGWsn.esm.js → sidebarScreen-LBfnbAnh.esm.js} +5 -5
- package/dist/chunks/{sidebarScreen-C3OHGWsn.esm.js.map → sidebarScreen-LBfnbAnh.esm.js.map} +1 -1
- package/dist/chunks/{store-giqheYvw.esm.js → store-Bs2TLIwy.esm.js} +3 -3
- package/dist/chunks/{store-giqheYvw.esm.js.map → store-Bs2TLIwy.esm.js.map} +1 -1
- package/dist/chunks/{store-6mckWhh4.js → store-pSoHSTnK.js} +3 -3
- package/dist/chunks/{store-6mckWhh4.js.map → store-pSoHSTnK.js.map} +1 -1
- package/dist/chunks/{tick-B4IAsV4W.js → tick-COMAwRR1.js} +18 -1
- package/dist/chunks/tick-COMAwRR1.js.map +1 -0
- package/dist/chunks/{tick-DUuDXLjB.esm.js → tick-DaxkNl7E.esm.js} +18 -1
- package/dist/chunks/tick-DaxkNl7E.esm.js.map +1 -0
- package/dist/chunks/{translations-vAZ7RIc7.js → translations-B6NX87Xk.js} +2 -2
- package/dist/chunks/{translations-vAZ7RIc7.js.map → translations-B6NX87Xk.js.map} +1 -1
- package/dist/chunks/{translations-DiE6kTBI.esm.js → translations-Da-xM_ve.esm.js} +2 -2
- package/dist/chunks/{translations-DiE6kTBI.esm.js.map → translations-Da-xM_ve.esm.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-DHhz5pod.js → uom-field-wrapper-B90Jdtz1.js} +87 -30
- package/dist/chunks/uom-field-wrapper-B90Jdtz1.js.map +1 -0
- package/dist/chunks/{uom-field-wrapper-DalNHR65.esm.js → uom-field-wrapper-DGM5Po80.esm.js} +86 -29
- package/dist/chunks/uom-field-wrapper-DGM5Po80.esm.js.map +1 -0
- package/dist/chunks/{useAddressContact-VUXo0xxq.esm.js → useAddressContact-COPal7kl.esm.js} +6 -6
- package/dist/chunks/{useAddressContact-VUXo0xxq.esm.js.map → useAddressContact-COPal7kl.esm.js.map} +1 -1
- package/dist/chunks/{useAddressContact-3jZsdmGS.js → useAddressContact-Df1RW91F.js} +6 -6
- package/dist/chunks/{useAddressContact-3jZsdmGS.js.map → useAddressContact-Df1RW91F.js.map} +1 -1
- package/dist/chunks/{useAuth-BNR7N60-.js → useAuth-PKEPSrPi.js} +2 -2
- package/dist/chunks/{useAuth-BNR7N60-.js.map → useAuth-PKEPSrPi.js.map} +1 -1
- package/dist/chunks/{useAuth-b1FMAFmO.esm.js → useAuth-rLGEr4kR.esm.js} +2 -2
- package/dist/chunks/{useAuth-b1FMAFmO.esm.js.map → useAuth-rLGEr4kR.esm.js.map} +1 -1
- package/dist/chunks/{useLangauge-dxTIlPe-.esm.js → useLangauge-DM-_vu9I.esm.js} +2 -2
- package/dist/chunks/{useLangauge-dxTIlPe-.esm.js.map → useLangauge-DM-_vu9I.esm.js.map} +1 -1
- package/dist/chunks/{useLangauge-DsEM05Ll.js → useLangauge-DTmhopi3.js} +2 -2
- package/dist/chunks/{useLangauge-DsEM05Ll.js.map → useLangauge-DTmhopi3.js.map} +1 -1
- package/dist/components/accordion/accordion.d.ts +1 -1
- package/dist/components/action-bar/action-bar.d.ts +1 -1
- package/dist/components/checkbox/checkbox.d.ts +1 -1
- package/dist/components/date-picker/date-picker.d.ts +1 -1
- package/dist/components/footer/footer.d.ts +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/media.d.ts +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/phone.d.ts +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/select.d.ts +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/text.d.ts +1 -1
- package/dist/components/form-control/form-builder/form-builder-element/time.d.ts +1 -1
- package/dist/components/form-control/form-parser/form-switcher.d.ts +1 -1
- package/dist/components/header/components/index.d.ts +1 -0
- package/dist/components/header/components/language-switch/index.d.ts +2 -0
- package/dist/components/header/components/language-switch/language-switch.d.ts +2 -0
- package/dist/components/icons/action-arrow.d.ts +3 -3
- package/dist/components/icons/add-circle.d.ts +3 -3
- package/dist/components/icons/arrow-bidirectional.d.ts +3 -3
- package/dist/components/icons/arrow-circle-down.d.ts +3 -3
- package/dist/components/icons/arrow-down-three.d.ts +3 -3
- package/dist/components/icons/arrow-down-two.d.ts +3 -3
- package/dist/components/icons/arrow-down.d.ts +3 -3
- package/dist/components/icons/arrow-up-down.d.ts +3 -3
- package/dist/components/icons/arrow-up-two.d.ts +3 -3
- package/dist/components/icons/arrow-up.d.ts +3 -3
- package/dist/components/icons/assignments.d.ts +3 -3
- package/dist/components/icons/blank-circle.d.ts +3 -3
- package/dist/components/icons/block-filled.d.ts +3 -3
- package/dist/components/icons/calendar-add.d.ts +3 -3
- package/dist/components/icons/calendar.d.ts +3 -3
- package/dist/components/icons/checkbox-square.d.ts +3 -3
- package/dist/components/icons/circular-arrow-setting.d.ts +3 -3
- package/dist/components/icons/clock.d.ts +3 -3
- package/dist/components/icons/close.d.ts +3 -3
- package/dist/components/icons/coin-outline.d.ts +3 -3
- package/dist/components/icons/copy.d.ts +3 -3
- package/dist/components/icons/coupon.d.ts +3 -3
- package/dist/components/icons/cross-hire.d.ts +3 -3
- package/dist/components/icons/custom-styled-icon.d.ts +3 -3
- package/dist/components/icons/dashboard.d.ts +3 -3
- package/dist/components/icons/document-download.d.ts +3 -3
- package/dist/components/icons/document.d.ts +3 -3
- package/dist/components/icons/dollar-circle-filled.d.ts +3 -3
- package/dist/components/icons/dollar-circle.d.ts +3 -3
- package/dist/components/icons/edit.d.ts +3 -3
- package/dist/components/icons/email.d.ts +3 -3
- package/dist/components/icons/export.d.ts +3 -3
- package/dist/components/icons/eye-off.d.ts +3 -3
- package/dist/components/icons/eye-plus-circle.d.ts +3 -3
- package/dist/components/icons/eye.d.ts +3 -3
- package/dist/components/icons/filled-circle.d.ts +3 -3
- package/dist/components/icons/filter-remove.d.ts +3 -3
- package/dist/components/icons/filter.d.ts +3 -3
- package/dist/components/icons/folder-save.d.ts +3 -3
- package/dist/components/icons/grid.d.ts +3 -3
- package/dist/components/icons/hashtag.d.ts +3 -3
- package/dist/components/icons/image.d.ts +3 -3
- package/dist/components/icons/import.d.ts +3 -3
- package/dist/components/icons/info-circle.d.ts +3 -3
- package/dist/components/icons/info.d.ts +3 -3
- package/dist/components/icons/link-horizontal.d.ts +3 -3
- package/dist/components/icons/link.d.ts +3 -3
- package/dist/components/icons/location.d.ts +3 -3
- package/dist/components/icons/lowest-lead-time.d.ts +3 -3
- package/dist/components/icons/lowest-min-qty.d.ts +3 -3
- package/dist/components/icons/lowest-price.d.ts +3 -3
- package/dist/components/icons/more.d.ts +3 -3
- package/dist/components/icons/notification.d.ts +3 -3
- package/dist/components/icons/paper-clip.d.ts +3 -3
- package/dist/components/icons/paragraph.d.ts +3 -3
- package/dist/components/icons/payment-request.d.ts +3 -3
- package/dist/components/icons/phone.d.ts +3 -3
- package/dist/components/icons/printer.d.ts +3 -3
- package/dist/components/icons/process-calendar.d.ts +3 -3
- package/dist/components/icons/promotion.d.ts +3 -3
- package/dist/components/icons/radio-button.d.ts +3 -3
- package/dist/components/icons/receipt-filled.d.ts +3 -3
- package/dist/components/icons/receipt-outline.d.ts +3 -3
- package/dist/components/icons/receipt.d.ts +3 -3
- package/dist/components/icons/refresh-icon.d.ts +3 -3
- package/dist/components/icons/replace.d.ts +3 -3
- package/dist/components/icons/save.d.ts +3 -3
- package/dist/components/icons/search-status.d.ts +3 -3
- package/dist/components/icons/search.d.ts +3 -3
- package/dist/components/icons/settings-fallback.d.ts +3 -3
- package/dist/components/icons/sort-arrow-icon.d.ts +3 -3
- package/dist/components/icons/stacked-layer.d.ts +3 -3
- package/dist/components/icons/start-filled.d.ts +3 -3
- package/dist/components/icons/three-dot-icon.d.ts +3 -3
- package/dist/components/icons/tick-circle-filled.d.ts +3 -3
- package/dist/components/icons/tick-circle.d.ts +3 -3
- package/dist/components/icons/tick-octagon.d.ts +3 -3
- package/dist/components/icons/tick.d.ts +3 -3
- package/dist/components/icons/toggle-switch.d.ts +3 -3
- package/dist/components/icons/trash.d.ts +3 -3
- package/dist/components/icons/wave.d.ts +3 -3
- package/dist/components/icons/with-out-tick-octagon.d.ts +3 -3
- package/dist/components/icons/work-centre.d.ts +3 -3
- package/dist/components/index.esm.js +34 -34
- package/dist/components/index.js +18 -18
- package/dist/components/location-select.d.ts +1 -1
- package/dist/components/material-editable-table/material-editable-table.d.ts +1 -1
- package/dist/components/material-table/material-table.d.ts +1 -1
- package/dist/components/phone-input/phone-input.d.ts +1 -1
- package/dist/components/radio/radio.d.ts +1 -1
- package/dist/components/select/select.d.ts +1 -1
- package/dist/components/switches/android-12-switch.d.ts +1 -3
- package/dist/components/text-field/text-field.d.ts +1 -1
- package/dist/components/time-picker/time-picker.d.ts +1 -1
- package/dist/components/upload-media/upload-media.d.ts +1 -1
- package/dist/contexts/index.esm.js +3 -3
- package/dist/contexts/index.js +3 -3
- package/dist/hooks/index.esm.js +5 -5
- package/dist/hooks/index.js +5 -5
- package/dist/icons/index.esm.js +26 -26
- package/dist/icons/index.js +8 -8
- package/dist/index.esm.js +58 -58
- package/dist/index.js +32 -32
- package/dist/layout/index.esm.js +2 -2
- package/dist/layout/index.js +2 -2
- package/dist/redux/index.esm.js +4 -4
- package/dist/redux/index.js +4 -4
- package/dist/src/components/accordion/accordion.d.ts +1 -1
- package/dist/src/components/action-bar/action-bar.d.ts +1 -1
- package/dist/src/components/checkbox/checkbox.d.ts +1 -1
- package/dist/src/components/date-picker/date-picker.d.ts +1 -1
- package/dist/src/components/footer/footer.d.ts +1 -1
- package/dist/src/components/form-control/form-builder/form-builder-element/media.d.ts +1 -1
- package/dist/src/components/form-control/form-builder/form-builder-element/phone.d.ts +1 -1
- package/dist/src/components/form-control/form-builder/form-builder-element/select.d.ts +1 -1
- package/dist/src/components/form-control/form-builder/form-builder-element/text.d.ts +1 -1
- package/dist/src/components/form-control/form-builder/form-builder-element/time.d.ts +1 -1
- package/dist/src/components/form-control/form-parser/form-switcher.d.ts +1 -1
- package/dist/src/components/header/components/index.d.ts +1 -0
- package/dist/src/components/header/components/language-switch/index.d.ts +2 -0
- package/dist/src/components/header/components/language-switch/language-switch.d.ts +2 -0
- package/dist/src/components/icons/action-arrow.d.ts +3 -3
- package/dist/src/components/icons/add-circle.d.ts +3 -3
- package/dist/src/components/icons/arrow-bidirectional.d.ts +3 -3
- package/dist/src/components/icons/arrow-circle-down.d.ts +3 -3
- package/dist/src/components/icons/arrow-down-three.d.ts +3 -3
- package/dist/src/components/icons/arrow-down-two.d.ts +3 -3
- package/dist/src/components/icons/arrow-down.d.ts +3 -3
- package/dist/src/components/icons/arrow-up-down.d.ts +3 -3
- package/dist/src/components/icons/arrow-up-two.d.ts +3 -3
- package/dist/src/components/icons/arrow-up.d.ts +3 -3
- package/dist/src/components/icons/assignments.d.ts +3 -3
- package/dist/src/components/icons/blank-circle.d.ts +3 -3
- package/dist/src/components/icons/block-filled.d.ts +3 -3
- package/dist/src/components/icons/calendar-add.d.ts +3 -3
- package/dist/src/components/icons/calendar.d.ts +3 -3
- package/dist/src/components/icons/checkbox-square.d.ts +3 -3
- package/dist/src/components/icons/circular-arrow-setting.d.ts +3 -3
- package/dist/src/components/icons/clock.d.ts +3 -3
- package/dist/src/components/icons/close.d.ts +3 -3
- package/dist/src/components/icons/coin-outline.d.ts +3 -3
- package/dist/src/components/icons/copy.d.ts +3 -3
- package/dist/src/components/icons/coupon.d.ts +3 -3
- package/dist/src/components/icons/cross-hire.d.ts +3 -3
- package/dist/src/components/icons/custom-styled-icon.d.ts +3 -3
- package/dist/src/components/icons/dashboard.d.ts +3 -3
- package/dist/src/components/icons/document-download.d.ts +3 -3
- package/dist/src/components/icons/document.d.ts +3 -3
- package/dist/src/components/icons/dollar-circle-filled.d.ts +3 -3
- package/dist/src/components/icons/dollar-circle.d.ts +3 -3
- package/dist/src/components/icons/edit.d.ts +3 -3
- package/dist/src/components/icons/email.d.ts +3 -3
- package/dist/src/components/icons/export.d.ts +3 -3
- package/dist/src/components/icons/eye-off.d.ts +3 -3
- package/dist/src/components/icons/eye-plus-circle.d.ts +3 -3
- package/dist/src/components/icons/eye.d.ts +3 -3
- package/dist/src/components/icons/filled-circle.d.ts +3 -3
- package/dist/src/components/icons/filter-remove.d.ts +3 -3
- package/dist/src/components/icons/filter.d.ts +3 -3
- package/dist/src/components/icons/folder-save.d.ts +3 -3
- package/dist/src/components/icons/grid.d.ts +3 -3
- package/dist/src/components/icons/hashtag.d.ts +3 -3
- package/dist/src/components/icons/image.d.ts +3 -3
- package/dist/src/components/icons/import.d.ts +3 -3
- package/dist/src/components/icons/info-circle.d.ts +3 -3
- package/dist/src/components/icons/info.d.ts +3 -3
- package/dist/src/components/icons/link-horizontal.d.ts +3 -3
- package/dist/src/components/icons/link.d.ts +3 -3
- package/dist/src/components/icons/location.d.ts +3 -3
- package/dist/src/components/icons/lowest-lead-time.d.ts +3 -3
- package/dist/src/components/icons/lowest-min-qty.d.ts +3 -3
- package/dist/src/components/icons/lowest-price.d.ts +3 -3
- package/dist/src/components/icons/more.d.ts +3 -3
- package/dist/src/components/icons/notification.d.ts +3 -3
- package/dist/src/components/icons/paper-clip.d.ts +3 -3
- package/dist/src/components/icons/paragraph.d.ts +3 -3
- package/dist/src/components/icons/payment-request.d.ts +3 -3
- package/dist/src/components/icons/phone.d.ts +3 -3
- package/dist/src/components/icons/printer.d.ts +3 -3
- package/dist/src/components/icons/process-calendar.d.ts +3 -3
- package/dist/src/components/icons/promotion.d.ts +3 -3
- package/dist/src/components/icons/radio-button.d.ts +3 -3
- package/dist/src/components/icons/receipt-filled.d.ts +3 -3
- package/dist/src/components/icons/receipt-outline.d.ts +3 -3
- package/dist/src/components/icons/receipt.d.ts +3 -3
- package/dist/src/components/icons/refresh-icon.d.ts +3 -3
- package/dist/src/components/icons/replace.d.ts +3 -3
- package/dist/src/components/icons/save.d.ts +3 -3
- package/dist/src/components/icons/search-status.d.ts +3 -3
- package/dist/src/components/icons/search.d.ts +3 -3
- package/dist/src/components/icons/settings-fallback.d.ts +3 -3
- package/dist/src/components/icons/sort-arrow-icon.d.ts +3 -3
- package/dist/src/components/icons/stacked-layer.d.ts +3 -3
- package/dist/src/components/icons/start-filled.d.ts +3 -3
- package/dist/src/components/icons/three-dot-icon.d.ts +3 -3
- package/dist/src/components/icons/tick-circle-filled.d.ts +3 -3
- package/dist/src/components/icons/tick-circle.d.ts +3 -3
- package/dist/src/components/icons/tick-octagon.d.ts +3 -3
- package/dist/src/components/icons/tick.d.ts +3 -3
- package/dist/src/components/icons/toggle-switch.d.ts +3 -3
- package/dist/src/components/icons/trash.d.ts +3 -3
- package/dist/src/components/icons/wave.d.ts +3 -3
- package/dist/src/components/icons/with-out-tick-octagon.d.ts +3 -3
- package/dist/src/components/icons/work-centre.d.ts +3 -3
- package/dist/src/components/location-select.d.ts +1 -1
- package/dist/src/components/material-editable-table/material-editable-table.d.ts +1 -1
- package/dist/src/components/material-table/material-table.d.ts +1 -1
- package/dist/src/components/phone-input/phone-input.d.ts +1 -1
- package/dist/src/components/radio/radio.d.ts +1 -1
- package/dist/src/components/select/select.d.ts +1 -1
- package/dist/src/components/switches/android-12-switch.d.ts +1 -3
- package/dist/src/components/text-field/text-field.d.ts +1 -1
- package/dist/src/components/time-picker/time-picker.d.ts +1 -1
- package/dist/src/components/upload-media/upload-media.d.ts +1 -1
- package/dist/src/utils/common-utility.d.ts +2 -2
- package/dist/style.css +43 -0
- package/dist/utils/common-utility.d.ts +2 -2
- package/dist/utils/index.esm.js +7 -7
- package/dist/utils/index.js +6 -6
- package/dist/views/index.esm.js +8 -8
- package/dist/views/index.js +7 -7
- package/package.json +1 -1
- package/dist/chunks/appbar-ByiY9Ehc.esm.js.map +0 -1
- package/dist/chunks/appbar-Cht2DM8y.js.map +0 -1
- package/dist/chunks/radio-button-BYtmY0l-.js.map +0 -1
- package/dist/chunks/radio-button-wgwiOmaZ.esm.js.map +0 -1
- package/dist/chunks/tick-B4IAsV4W.js.map +0 -1
- package/dist/chunks/tick-DUuDXLjB.esm.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-DHhz5pod.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-DalNHR65.esm.js.map +0 -1
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
const jsxRuntime = require("./jsx-runtime-B6vEU3CM.js");
|
|
3
3
|
const React = require("react");
|
|
4
4
|
const marked = require("marked");
|
|
5
|
-
const useAuth = require("./useAuth-
|
|
5
|
+
const useAuth = require("./useAuth-PKEPSrPi.js");
|
|
6
6
|
const apiConfig = require("./api-config-DXwDMFn-.js");
|
|
7
|
-
const common = require("./common-
|
|
7
|
+
const common = require("./common-CbkoxxEu.js");
|
|
8
8
|
const api = require("./api-CrXXYiZ2.js");
|
|
9
9
|
const iconsMaterial = require("@mui/icons-material");
|
|
10
10
|
const button = require("./button-GxDcw3FY.js");
|
|
11
|
-
const tick = require("./tick-
|
|
11
|
+
const tick = require("./tick-COMAwRR1.js");
|
|
12
12
|
const identifier = require("./identifier-CaTy7Osd.js");
|
|
13
13
|
const _$1 = require("lodash");
|
|
14
14
|
const material = require("@mui/material");
|
|
@@ -23,12 +23,12 @@ const routePageMap = require("./route-page-map-BMisO6c3.js");
|
|
|
23
23
|
const CssBaseline = require("./CssBaseline-BtFw_t3c.js");
|
|
24
24
|
const ReactDOM = require("react-dom");
|
|
25
25
|
const notistack = require("notistack");
|
|
26
|
-
const useLangauge = require("./useLangauge-
|
|
26
|
+
const useLangauge = require("./useLangauge-DTmhopi3.js");
|
|
27
|
+
const react = require("@emotion/react");
|
|
27
28
|
const reactHookForm = require("react-hook-form");
|
|
28
29
|
const resolvers = require("@hookform/resolvers");
|
|
29
30
|
const Yup = require("yup");
|
|
30
31
|
const eye = require("./eye-CPMoo4Zm.js");
|
|
31
|
-
const react = require("@emotion/react");
|
|
32
32
|
function _interopNamespaceDefault(e) {
|
|
33
33
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
34
34
|
if (e) {
|
|
@@ -8866,6 +8866,104 @@ function GlobalSearch() {
|
|
|
8866
8866
|
] })
|
|
8867
8867
|
] });
|
|
8868
8868
|
}
|
|
8869
|
+
const createEnglishFallback = () => ({
|
|
8870
|
+
code: "en",
|
|
8871
|
+
label: "English",
|
|
8872
|
+
direction: "ltr"
|
|
8873
|
+
});
|
|
8874
|
+
function LanguageSwitch() {
|
|
8875
|
+
const { t } = reactI18next.useTranslation();
|
|
8876
|
+
const {
|
|
8877
|
+
languages,
|
|
8878
|
+
currentLanguage,
|
|
8879
|
+
changeLanguage,
|
|
8880
|
+
isLoading,
|
|
8881
|
+
error: languageContextError,
|
|
8882
|
+
isFallbackActive,
|
|
8883
|
+
fetchLanguages
|
|
8884
|
+
} = useLangauge.useLanguage();
|
|
8885
|
+
const [localLanguageError, setLocalLanguageError] = React.useState(null);
|
|
8886
|
+
const [anchorEl, setAnchorEl] = React.useState(null);
|
|
8887
|
+
const isMenuOpen = Boolean(anchorEl);
|
|
8888
|
+
const handleMenuOpen = (event) => setAnchorEl(event.currentTarget);
|
|
8889
|
+
const handleMenuClose = () => setAnchorEl(null);
|
|
8890
|
+
const getLanguagesForDropdown = () => {
|
|
8891
|
+
if (!languages || languages.length === 0) {
|
|
8892
|
+
return [createEnglishFallback()];
|
|
8893
|
+
}
|
|
8894
|
+
const hasEnglish = languages.some((lang) => lang.code === "en");
|
|
8895
|
+
if (!hasEnglish) {
|
|
8896
|
+
return [createEnglishFallback(), ...languages];
|
|
8897
|
+
}
|
|
8898
|
+
return languages;
|
|
8899
|
+
};
|
|
8900
|
+
const getCurrentLanguageDisplay = () => {
|
|
8901
|
+
if (!currentLanguage) return "EN";
|
|
8902
|
+
return currentLanguage.code.toUpperCase();
|
|
8903
|
+
};
|
|
8904
|
+
const onChangeLang = (lang_code) => {
|
|
8905
|
+
setLocalLanguageError(null);
|
|
8906
|
+
handleMenuClose();
|
|
8907
|
+
if (!languages || languages.length === 0) {
|
|
8908
|
+
const errorMsg = t("header.language_not_available") || "Languages not available";
|
|
8909
|
+
setLocalLanguageError(errorMsg);
|
|
8910
|
+
return;
|
|
8911
|
+
}
|
|
8912
|
+
const languageExists = languages.some((lang) => lang.code === lang_code);
|
|
8913
|
+
if (languageExists) {
|
|
8914
|
+
try {
|
|
8915
|
+
changeLanguage(lang_code);
|
|
8916
|
+
} catch (error) {
|
|
8917
|
+
setLocalLanguageError(error instanceof Error ? error.message : "Failed to change language");
|
|
8918
|
+
}
|
|
8919
|
+
} else {
|
|
8920
|
+
const errorMsg = t("header.language_not_found", { language: lang_code }) || `Selected language "${lang_code}" is not available`;
|
|
8921
|
+
setLocalLanguageError(errorMsg);
|
|
8922
|
+
}
|
|
8923
|
+
};
|
|
8924
|
+
const handleRetryLanguages = async () => {
|
|
8925
|
+
setLocalLanguageError(null);
|
|
8926
|
+
try {
|
|
8927
|
+
await fetchLanguages();
|
|
8928
|
+
} catch (error) {
|
|
8929
|
+
setLocalLanguageError("Failed to reload languages");
|
|
8930
|
+
}
|
|
8931
|
+
};
|
|
8932
|
+
const availableLanguages = getLanguagesForDropdown();
|
|
8933
|
+
if (isLoading) {
|
|
8934
|
+
return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(Box, { className: "language-chip language-chip-loading", children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("span", { children: t("header.language_loading") || "Loading..." }) });
|
|
8935
|
+
}
|
|
8936
|
+
return /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(Box, { className: "language-selector-wrapper", children: [
|
|
8937
|
+
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
|
|
8938
|
+
"button",
|
|
8939
|
+
{
|
|
8940
|
+
className: `hdr-lang-btn ${isFallbackActive || languageContextError ? "language-fallback-active" : ""}`,
|
|
8941
|
+
type: "button",
|
|
8942
|
+
onClick: handleMenuOpen,
|
|
8943
|
+
children: [
|
|
8944
|
+
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("span", { className: "lang-text", children: getCurrentLanguageDisplay() }),
|
|
8945
|
+
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(tick.ArrowDown, { width: 14, height: 14 })
|
|
8946
|
+
]
|
|
8947
|
+
}
|
|
8948
|
+
),
|
|
8949
|
+
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsxs(
|
|
8950
|
+
Menu,
|
|
8951
|
+
{
|
|
8952
|
+
className: "main-profile-menu",
|
|
8953
|
+
anchorEl,
|
|
8954
|
+
open: isMenuOpen,
|
|
8955
|
+
onClose: handleMenuClose,
|
|
8956
|
+
anchorOrigin: { vertical: "bottom", horizontal: "right" },
|
|
8957
|
+
transformOrigin: { vertical: "top", horizontal: "right" },
|
|
8958
|
+
children: [
|
|
8959
|
+
availableLanguages.map(({ code, label }) => /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(MenuItem, { onClick: () => onChangeLang(code), children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(useAuth.Typography, { type: "s4", weight: "medium", color: (currentLanguage == null ? void 0 : currentLanguage.code) === code ? "theme.primary.1000" : "theme.secondary.1000", children: label }) }, code)),
|
|
8960
|
+
languageContextError && /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(MenuItem, { onClick: handleRetryLanguages, style: { fontStyle: "italic" }, children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(useAuth.Typography, { type: "s4", weight: "medium", color: "theme.secondary.500", children: t("header.retry_languages") || "Retry loading languages" }) })
|
|
8961
|
+
]
|
|
8962
|
+
}
|
|
8963
|
+
),
|
|
8964
|
+
localLanguageError && /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(useAuth.Typography, { type: "s5", color: "theme.error.600", style: { position: "absolute", bottom: "-15px", whiteSpace: "nowrap" }, children: localLanguageError })
|
|
8965
|
+
] });
|
|
8966
|
+
}
|
|
8869
8967
|
const getNotificationUrl = (data) => {
|
|
8870
8968
|
var _a;
|
|
8871
8969
|
const { moduleName = "", moduleId = "", notificationData = {} } = data;
|
|
@@ -9727,6 +9825,7 @@ function Header(props) {
|
|
|
9727
9825
|
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { style: { flex: 1 } }),
|
|
9728
9826
|
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(GlobalSearch, {}),
|
|
9729
9827
|
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { className: "notif-wrap", children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(NotificationMenu, {}) }),
|
|
9828
|
+
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(LanguageSwitch, {}),
|
|
9730
9829
|
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("div", { className: "v-divider" }),
|
|
9731
9830
|
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(UserMenu, {})
|
|
9732
9831
|
] });
|
|
@@ -9837,4 +9936,4 @@ exports.resolveComponentProps = resolveComponentProps;
|
|
|
9837
9936
|
exports.useRtl = useRtl;
|
|
9838
9937
|
exports.useSlotProps = useSlotProps;
|
|
9839
9938
|
exports.useTheme = useTheme;
|
|
9840
|
-
//# sourceMappingURL=appbar-
|
|
9939
|
+
//# sourceMappingURL=appbar-NZcZPNzx.js.map
|