@erpsquad/common 1.10.32 → 1.10.33
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/{CssBaseline-CaG36t1j.js → CssBaseline-Ba0wbudi.js} +2 -2
- package/dist/chunks/{CssBaseline-CaG36t1j.js.map → CssBaseline-Ba0wbudi.js.map} +1 -1
- package/dist/chunks/{CssBaseline-GdktO2pw.esm.js → CssBaseline-qnbPrAjr.esm.js} +2 -2
- package/dist/chunks/{CssBaseline-GdktO2pw.esm.js.map → CssBaseline-qnbPrAjr.esm.js.map} +1 -1
- package/dist/chunks/{ERPUIProvider-CUNVdiFg.esm.js → ERPUIProvider-BuOtmLGt.esm.js} +9 -9
- package/dist/chunks/{ERPUIProvider-CUNVdiFg.esm.js.map → ERPUIProvider-BuOtmLGt.esm.js.map} +1 -1
- package/dist/chunks/{ERPUIProvider-_9GOPvZM.js → ERPUIProvider-DJv0EzMM.js} +9 -9
- package/dist/chunks/{ERPUIProvider-_9GOPvZM.js.map → ERPUIProvider-DJv0EzMM.js.map} +1 -1
- package/dist/chunks/{actionCreator-I4VSt19l.esm.js → actionCreator-DQC4sWLZ.esm.js} +2 -2
- package/dist/chunks/{actionCreator-I4VSt19l.esm.js.map → actionCreator-DQC4sWLZ.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-DU1uRym8.js → actionCreator-DnAKnwWs.js} +2 -2
- package/dist/chunks/{actionCreator-DU1uRym8.js.map → actionCreator-DnAKnwWs.js.map} +1 -1
- package/dist/chunks/{android-12-switch-P8EfQP4Q.js → android-12-switch-Bcn1C0tv.js} +86 -70
- package/dist/chunks/{android-12-switch-P8EfQP4Q.js.map → android-12-switch-Bcn1C0tv.js.map} +1 -1
- package/dist/chunks/{android-12-switch-CSaEC498.esm.js → android-12-switch-Hmyn7okF.esm.js} +86 -70
- package/dist/chunks/{android-12-switch-CSaEC498.esm.js.map → android-12-switch-Hmyn7okF.esm.js.map} +1 -1
- package/dist/chunks/{appbar-RrmOhtKK.esm.js → appbar-CqX9V_qG.esm.js} +20 -11
- package/dist/chunks/appbar-CqX9V_qG.esm.js.map +1 -0
- package/dist/chunks/{appbar-BzLf_0tp.js → appbar-qIKar8ys.js} +19 -10
- package/dist/chunks/appbar-qIKar8ys.js.map +1 -0
- package/dist/chunks/{arrow-up-DL3NGhTM.js → arrow-up-BC9MfTDu.js} +2 -2
- package/dist/chunks/{arrow-up-DL3NGhTM.js.map → arrow-up-BC9MfTDu.js.map} +1 -1
- package/dist/chunks/{arrow-up-Bp6K1xq8.esm.js → arrow-up-Cz4A_O0J.esm.js} +2 -2
- package/dist/chunks/{arrow-up-Bp6K1xq8.esm.js.map → arrow-up-Cz4A_O0J.esm.js.map} +1 -1
- package/dist/chunks/{common-D4vDKxkp.esm.js → common-C6CXq5HY.esm.js} +3 -2
- package/dist/chunks/{common-D4vDKxkp.esm.js.map → common-C6CXq5HY.esm.js.map} +1 -1
- package/dist/chunks/{common-U6kOt2hQ.js → common-Db7LxP2e.js} +3 -2
- package/dist/chunks/{common-U6kOt2hQ.js.map → common-Db7LxP2e.js.map} +1 -1
- package/dist/chunks/{custom-editor-D4TVY1He.js → custom-editor-DqHjZOtS.js} +2 -2
- package/dist/chunks/{custom-editor-D4TVY1He.js.map → custom-editor-DqHjZOtS.js.map} +1 -1
- package/dist/chunks/{custom-editor-Vcwzlhqw.esm.js → custom-editor-r79bq3e6.esm.js} +2 -2
- package/dist/chunks/{custom-editor-Vcwzlhqw.esm.js.map → custom-editor-r79bq3e6.esm.js.map} +1 -1
- package/dist/chunks/{dashboard-D-jCCLFt.esm.js → dashboard-CmeL1xk8.esm.js} +2 -2
- package/dist/chunks/{dashboard-D-jCCLFt.esm.js.map → dashboard-CmeL1xk8.esm.js.map} +1 -1
- package/dist/chunks/{dashboard-MOyqxPUY.js → dashboard-DZujrViq.js} +2 -2
- package/dist/chunks/{dashboard-MOyqxPUY.js.map → dashboard-DZujrViq.js.map} +1 -1
- package/dist/chunks/{default-data-CNlLQody.esm.js → default-data-0yDUzOLG.esm.js} +17 -17
- package/dist/chunks/{default-data-CNlLQody.esm.js.map → default-data-0yDUzOLG.esm.js.map} +1 -1
- package/dist/chunks/{default-data-C74EGP6Z.js → default-data-CPrUDrQs.js} +17 -17
- package/dist/chunks/{default-data-C74EGP6Z.js.map → default-data-CPrUDrQs.js.map} +1 -1
- package/dist/chunks/{document-BFgGr8K0.js → document-D7m0P_S2.js} +2 -2
- package/dist/chunks/{document-BFgGr8K0.js.map → document-D7m0P_S2.js.map} +1 -1
- package/dist/chunks/{document-zEiaIfTI.esm.js → document-DKQMhgnk.esm.js} +2 -2
- package/dist/chunks/{document-zEiaIfTI.esm.js.map → document-DKQMhgnk.esm.js.map} +1 -1
- package/dist/chunks/{form-builder-conversion-jkVsqP9D.esm.js → form-builder-conversion-A5eJqgTP.esm.js} +2 -2
- package/dist/chunks/{form-builder-conversion-jkVsqP9D.esm.js.map → form-builder-conversion-A5eJqgTP.esm.js.map} +1 -1
- package/dist/chunks/{form-builder-conversion-I6wvPlxu.js → form-builder-conversion-wCGVkK65.js} +2 -2
- package/dist/chunks/{form-builder-conversion-I6wvPlxu.js.map → form-builder-conversion-wCGVkK65.js.map} +1 -1
- package/dist/chunks/{form-builder-deconversion-BpfS5Hm2.esm.js → form-builder-deconversion-1RmrTuBM.esm.js} +4 -4
- package/dist/chunks/{form-builder-deconversion-BpfS5Hm2.esm.js.map → form-builder-deconversion-1RmrTuBM.esm.js.map} +1 -1
- package/dist/chunks/{form-builder-deconversion-Dhp1SOzf.js → form-builder-deconversion-Frxbsshp.js} +4 -4
- package/dist/chunks/{form-builder-deconversion-Dhp1SOzf.js.map → form-builder-deconversion-Frxbsshp.js.map} +1 -1
- package/dist/chunks/{fullScreen-B5gZ_772.esm.js → fullScreen-CWUfSS7u.esm.js} +3 -3
- package/dist/chunks/{fullScreen-B5gZ_772.esm.js.map → fullScreen-CWUfSS7u.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-DAz6j4ZH.js → fullScreen-D2FPgGoa.js} +3 -3
- package/dist/chunks/{fullScreen-DAz6j4ZH.js.map → fullScreen-D2FPgGoa.js.map} +1 -1
- package/dist/chunks/{identifier-BTBl-PeG.js → identifier-B8P9ZGxG.js} +67 -74
- package/dist/chunks/{identifier-BTBl-PeG.js.map → identifier-B8P9ZGxG.js.map} +1 -1
- package/dist/chunks/{identifier-DOIuZkWc.esm.js → identifier-u4E_J1of.esm.js} +67 -74
- package/dist/chunks/{identifier-DOIuZkWc.esm.js.map → identifier-u4E_J1of.esm.js.map} +1 -1
- package/dist/chunks/{languageContext-BAIK6NLh.esm.js → languageContext-B8Z5aIP8.esm.js} +3 -3
- package/dist/chunks/{languageContext-BAIK6NLh.esm.js.map → languageContext-B8Z5aIP8.esm.js.map} +1 -1
- package/dist/chunks/{languageContext-CndqvmtZ.js → languageContext-DjPnICFH.js} +3 -3
- package/dist/chunks/{languageContext-CndqvmtZ.js.map → languageContext-DjPnICFH.js.map} +1 -1
- package/dist/chunks/{migration-utils-C8du3QgY.js → migration-utils-8cBgDll_.js} +3 -3
- package/dist/chunks/{migration-utils-C8du3QgY.js.map → migration-utils-8cBgDll_.js.map} +1 -1
- package/dist/chunks/{migration-utils-AO-DbF1S.esm.js → migration-utils-DAwIYUh8.esm.js} +3 -3
- package/dist/chunks/{migration-utils-AO-DbF1S.esm.js.map → migration-utils-DAwIYUh8.esm.js.map} +1 -1
- package/dist/chunks/{notification-BkYKSve7.esm.js → notification-Dr_nE2Dc.esm.js} +2 -2
- package/dist/chunks/{notification-BkYKSve7.esm.js.map → notification-Dr_nE2Dc.esm.js.map} +1 -1
- package/dist/chunks/{notification-mmnVEZtt.js → notification-lAbbtOBF.js} +2 -2
- package/dist/chunks/{notification-mmnVEZtt.js.map → notification-lAbbtOBF.js.map} +1 -1
- package/dist/chunks/{page-context-BrC7Wd8T.js → page-context-8ys1c1uL.js} +4 -4
- package/dist/chunks/{page-context-BrC7Wd8T.js.map → page-context-8ys1c1uL.js.map} +1 -1
- package/dist/chunks/{page-context-tfQcKhpr.esm.js → page-context-D7WCRMqd.esm.js} +4 -4
- package/dist/chunks/{page-context-tfQcKhpr.esm.js.map → page-context-D7WCRMqd.esm.js.map} +1 -1
- package/dist/chunks/{reducer-K5Sv6PoP.js → reducer-CEhmf5WQ.js} +2 -2
- package/dist/chunks/{reducer-K5Sv6PoP.js.map → reducer-CEhmf5WQ.js.map} +1 -1
- package/dist/chunks/{reducer-D_4LShIw.esm.js → reducer-WQipBShx.esm.js} +2 -2
- package/dist/chunks/{reducer-D_4LShIw.esm.js.map → reducer-WQipBShx.esm.js.map} +1 -1
- package/dist/chunks/{shareSlice-BXiaTM_W.js → shareSlice-C7DOv9jA.js} +2 -2
- package/dist/chunks/{shareSlice-BXiaTM_W.js.map → shareSlice-C7DOv9jA.js.map} +1 -1
- package/dist/chunks/{shareSlice-BS3ezjBN.esm.js → shareSlice-CdmIlatk.esm.js} +2 -2
- package/dist/chunks/{shareSlice-BS3ezjBN.esm.js.map → shareSlice-CdmIlatk.esm.js.map} +1 -1
- package/dist/chunks/{sidebar-BEnaRF9y.esm.js → sidebar-B7EmkFqf.esm.js} +7 -7
- package/dist/chunks/{sidebar-BEnaRF9y.esm.js.map → sidebar-B7EmkFqf.esm.js.map} +1 -1
- package/dist/chunks/{sidebar-BOPV5KIw.js → sidebar-W7yGsqza.js} +7 -7
- package/dist/chunks/{sidebar-BOPV5KIw.js.map → sidebar-W7yGsqza.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-DsougCY1.js → sidebarScreen-C97CfkRn.js} +5 -5
- package/dist/chunks/{sidebarScreen-DsougCY1.js.map → sidebarScreen-C97CfkRn.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-By-cjnIf.esm.js → sidebarScreen-V1f4gdoM.esm.js} +5 -5
- package/dist/chunks/{sidebarScreen-By-cjnIf.esm.js.map → sidebarScreen-V1f4gdoM.esm.js.map} +1 -1
- package/dist/chunks/{store-uOp69T6w.js → store-Cen1Lroq.js} +3 -3
- package/dist/chunks/{store-uOp69T6w.js.map → store-Cen1Lroq.js.map} +1 -1
- package/dist/chunks/{store-D-j4Dxvy.esm.js → store-Vr1RGPtT.esm.js} +3 -3
- package/dist/chunks/{store-D-j4Dxvy.esm.js.map → store-Vr1RGPtT.esm.js.map} +1 -1
- package/dist/chunks/{theme-impl-DiwS-WWR.esm.js → theme-impl-B5ncd0_-.esm.js} +3 -3
- package/dist/chunks/{theme-impl-DiwS-WWR.esm.js.map → theme-impl-B5ncd0_-.esm.js.map} +1 -1
- package/dist/chunks/{theme-impl-B-jAlah0.js → theme-impl-BgGLJiHC.js} +3 -3
- package/dist/chunks/{theme-impl-B-jAlah0.js.map → theme-impl-BgGLJiHC.js.map} +1 -1
- package/dist/chunks/{themeSelector-Cpzcr0j7.js → themeSelector-CkbUQSqY.js} +2 -2
- package/dist/chunks/{themeSelector-Cpzcr0j7.js.map → themeSelector-CkbUQSqY.js.map} +1 -1
- package/dist/chunks/{themeSelector-C9iyIueK.esm.js → themeSelector-Y7FIaMIK.esm.js} +2 -2
- package/dist/chunks/{themeSelector-C9iyIueK.esm.js.map → themeSelector-Y7FIaMIK.esm.js.map} +1 -1
- package/dist/chunks/{tick-BV40I2Gv.js → tick-BSpZzKHb.js} +2 -2
- package/dist/chunks/{tick-BV40I2Gv.js.map → tick-BSpZzKHb.js.map} +1 -1
- package/dist/chunks/{tick-CUJ09Tf2.esm.js → tick-CCBMlWKE.esm.js} +2 -2
- package/dist/chunks/{tick-CUJ09Tf2.esm.js.map → tick-CCBMlWKE.esm.js.map} +1 -1
- package/dist/chunks/{toggle-switch-DiErs4or.esm.js → toggle-switch-BHNFcNhi.esm.js} +2 -2
- package/dist/chunks/{toggle-switch-DiErs4or.esm.js.map → toggle-switch-BHNFcNhi.esm.js.map} +1 -1
- package/dist/chunks/{toggle-switch-C2GpPNpX.js → toggle-switch-cUD3eGwN.js} +2 -2
- package/dist/chunks/{toggle-switch-C2GpPNpX.js.map → toggle-switch-cUD3eGwN.js.map} +1 -1
- package/dist/chunks/{translations-BUPz3ESL.esm.js → translations-DX7mFOBw.esm.js} +2 -2
- package/dist/chunks/{translations-BUPz3ESL.esm.js.map → translations-DX7mFOBw.esm.js.map} +1 -1
- package/dist/chunks/{translations-BXsZTXlz.js → translations-ryWVeDxw.js} +2 -2
- package/dist/chunks/{translations-BXsZTXlz.js.map → translations-ryWVeDxw.js.map} +1 -1
- package/dist/chunks/{trash-ByNEb8Ml.js → trash-CiU_aN5l.js} +2 -2
- package/dist/chunks/{trash-ByNEb8Ml.js.map → trash-CiU_aN5l.js.map} +1 -1
- package/dist/chunks/{trash-Cf5vXORx.esm.js → trash-DPtM6xPA.esm.js} +2 -2
- package/dist/chunks/{trash-Cf5vXORx.esm.js.map → trash-DPtM6xPA.esm.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-BjCDv6cq.esm.js → uom-field-wrapper-BbCKj-ok.esm.js} +19 -19
- package/dist/chunks/{uom-field-wrapper-BjCDv6cq.esm.js.map → uom-field-wrapper-BbCKj-ok.esm.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-CSjekF6e.js → uom-field-wrapper-CAdzcqwt.js} +19 -19
- package/dist/chunks/{uom-field-wrapper-CSjekF6e.js.map → uom-field-wrapper-CAdzcqwt.js.map} +1 -1
- package/dist/chunks/{useAccountSetting-D4sHvZqA.esm.js → useAccountSetting-3euVEixu.esm.js} +3 -3
- package/dist/chunks/{useAccountSetting-D4sHvZqA.esm.js.map → useAccountSetting-3euVEixu.esm.js.map} +1 -1
- package/dist/chunks/{useAccountSetting-Co7ifzjr.js → useAccountSetting-kUpknE1Q.js} +3 -3
- package/dist/chunks/{useAccountSetting-Co7ifzjr.js.map → useAccountSetting-kUpknE1Q.js.map} +1 -1
- package/dist/chunks/{useAdditionalDiscountAutoCalc-Ddmto1yx.js → useAdditionalDiscountAutoCalc-D6nWZYf0.js} +5 -5
- package/dist/chunks/{useAdditionalDiscountAutoCalc-Ddmto1yx.js.map → useAdditionalDiscountAutoCalc-D6nWZYf0.js.map} +1 -1
- package/dist/chunks/{useAdditionalDiscountAutoCalc-NC77u819.esm.js → useAdditionalDiscountAutoCalc-DCAq08ZG.esm.js} +5 -5
- package/dist/chunks/{useAdditionalDiscountAutoCalc-NC77u819.esm.js.map → useAdditionalDiscountAutoCalc-DCAq08ZG.esm.js.map} +1 -1
- package/dist/chunks/{useAuth-q_DMpyVB.esm.js → useAuth-BU25GfBq.esm.js} +4 -4
- package/dist/chunks/{useAuth-q_DMpyVB.esm.js.map → useAuth-BU25GfBq.esm.js.map} +1 -1
- package/dist/chunks/{useAuth-D9jpGbRk.js → useAuth-CzJz540A.js} +4 -4
- package/dist/chunks/{useAuth-D9jpGbRk.js.map → useAuth-CzJz540A.js.map} +1 -1
- package/dist/chunks/{useLangauge-CJx2b0e3.esm.js → useLangauge-BYUW3wWy.esm.js} +2 -2
- package/dist/chunks/{useLangauge-CJx2b0e3.esm.js.map → useLangauge-BYUW3wWy.esm.js.map} +1 -1
- package/dist/chunks/{useLangauge-CRlWdLmA.js → useLangauge-qN02MgCA.js} +2 -2
- package/dist/chunks/{useLangauge-CRlWdLmA.js.map → useLangauge-qN02MgCA.js.map} +1 -1
- package/dist/components/button/button.d.ts +4 -1
- package/dist/components/index.esm.js +15 -15
- package/dist/components/index.js +15 -15
- 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 +7 -7
- package/dist/icons/index.js +7 -7
- package/dist/index.esm.js +31 -31
- package/dist/index.js +31 -31
- 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/button/button.d.ts +4 -1
- package/dist/theme/index.esm.js +2 -2
- package/dist/theme/index.js +2 -2
- package/dist/utils/index.esm.js +7 -7
- package/dist/utils/index.js +6 -6
- package/dist/views/index.esm.js +9 -9
- package/dist/views/index.js +8 -8
- package/package.json +1 -1
- package/dist/chunks/appbar-BzLf_0tp.js.map +0 -1
- package/dist/chunks/appbar-RrmOhtKK.esm.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from "./jsx-runtime-ClFauRgV.esm.js";
|
|
2
|
-
import { y as internal_processStyles, e as _objectWithoutPropertiesLoose, v as styled$1, _ as _extends, j as capitalize, b as createTheme, m as isPlainObject, i as internal_serializeStyles, q as styleFunctionSx, z as resolveProps, A as formatMuiErrorMessage, B as clamp, P as PropTypes, D as handleBreakpoints, E as resolveBreakpointValues, F as createUnarySpacing, l as deepmerge, H as mergeBreakpointsInOrder, g as generateUtilityClass, I as getValue, d as defaultTheme$1, T as THEME_ID, k as interopRequireDefaultExports, u as useDefaultProps, f as alpha_1, w as lighten_1, x as darken_1 } from "./identifier-
|
|
3
|
-
import { y as default_1$a, B as Button$1, M as Modal, S as SearchBar, E as Typography$1, _ as _inheritsLoose, V as forceReflow, i as Transition, W as classNamesShape, h as ButtonBase, o as chainPropTypes, u as useTheme$4, X as useSlotProps, P as Paper, Y as Fade, s as Modal$1, Z as Backdrop, $ as Portal, U as refType, p as HTMLElementType, a0 as Grow, a1 as FocusTrap, z as List, v as ListItem, a2 as TransitionGroup, a3 as isHostComponent, k as elementTypeAcceptingRef, N as Menu$1, m as getReactElementRef, I as resolveComponentProps, G as o, q as useRtl, O as MenuItem$1, a4 as MenuList, a5 as Divider$1, T as TextField$2, e as Tooltip$1, F as default_1$c, x as default_1$d, c as ConfirmPopUp, D as DynamicInput, d as Toast, n as elementAcceptingRef, a6 as exactProp, f as Box$1, b as Avatar } from "./appbar-
|
|
4
|
-
import { d as useEnhancedEffect, r as requireCreateSvgIcon, T as Typography, i as default_1$b, t as useId, l as ownerDocument, e as useForkRef, k as useEventCallback, q as useControlled, v as unsupportedProp, o as ownerWindow, h as debounce$1, p as isMuiElement, u as useAuth } from "./useAuth-
|
|
2
|
+
import { y as internal_processStyles, e as _objectWithoutPropertiesLoose, v as styled$1, _ as _extends, j as capitalize, b as createTheme, m as isPlainObject, i as internal_serializeStyles, q as styleFunctionSx, z as resolveProps, A as formatMuiErrorMessage, B as clamp, P as PropTypes, D as handleBreakpoints, E as resolveBreakpointValues, F as createUnarySpacing, l as deepmerge, H as mergeBreakpointsInOrder, g as generateUtilityClass, I as getValue, d as defaultTheme$1, T as THEME_ID, k as interopRequireDefaultExports, u as useDefaultProps, f as alpha_1, w as lighten_1, x as darken_1 } from "./identifier-u4E_J1of.esm.js";
|
|
3
|
+
import { y as default_1$a, B as Button$1, M as Modal, S as SearchBar, E as Typography$1, _ as _inheritsLoose, V as forceReflow, i as Transition, W as classNamesShape, h as ButtonBase, o as chainPropTypes, u as useTheme$4, X as useSlotProps, P as Paper, Y as Fade, s as Modal$1, Z as Backdrop, $ as Portal, U as refType, p as HTMLElementType, a0 as Grow, a1 as FocusTrap, z as List, v as ListItem, a2 as TransitionGroup, a3 as isHostComponent, k as elementTypeAcceptingRef, N as Menu$1, m as getReactElementRef, I as resolveComponentProps, G as o, q as useRtl, O as MenuItem$1, a4 as MenuList, a5 as Divider$1, T as TextField$2, e as Tooltip$1, F as default_1$c, x as default_1$d, c as ConfirmPopUp, D as DynamicInput, d as Toast, n as elementAcceptingRef, a6 as exactProp, f as Box$1, b as Avatar } from "./appbar-CqX9V_qG.esm.js";
|
|
4
|
+
import { d as useEnhancedEffect, r as requireCreateSvgIcon, T as Typography, i as default_1$b, t as useId, l as ownerDocument, e as useForkRef, k as useEventCallback, q as useControlled, v as unsupportedProp, o as ownerWindow, h as debounce$1, p as isMuiElement, u as useAuth } from "./useAuth-BU25GfBq.esm.js";
|
|
5
5
|
import { AccordionSummary, AccordionDetails, styled as styled$2, Accordion as Accordion$1, InputAdornment as InputAdornment$1, TextField as TextField$1, Box, CircularProgress, FormHelperText as FormHelperText$1, Select as Select$2, useTheme as useTheme$3, useMediaQuery as useMediaQuery$1, DialogTitle, IconButton as IconButton$1, Tabs as Tabs$1, Tab as Tab$1, MenuItem, DialogActions as DialogActions$1, Checkbox as Checkbox$1, Radio as Radio$1, RadioGroup, FormControlLabel, Tooltip, Divider, OutlinedInput as OutlinedInput$1, ListItemIcon, ListItemText, Grid, DialogContent as DialogContent$1, Stack as Stack$1, Autocomplete, Menu as Menu$3, Alert as Alert$1, FormControl as FormControl$1, Chip as Chip$2, Dialog as Dialog$1, Grow as Grow$1, Breadcrumbs, List as List$1, ListItem as ListItem$1, ListItemAvatar, Switch as Switch$1 } from "@mui/material";
|
|
6
6
|
import { useDrag, useDrop } from "react-dnd";
|
|
7
7
|
/* empty css */
|
|
@@ -11,19 +11,19 @@ import React__default, { memo, forwardRef, useRef, useState, useEffect, useCallb
|
|
|
11
11
|
import { Controller, useWatch, useFormContext, useForm, FormProvider } from "react-hook-form";
|
|
12
12
|
/* empty css */
|
|
13
13
|
import { useTranslation } from "react-i18next";
|
|
14
|
-
import { h as getDisplayName, e as extendSxProp, a as clsx, b as composeClasses, s as styled$3, g as generateUtilityClasses, c as createSvgIcon, i as require$$1, r as rootShouldForwardProp, f as reactIsExports, j as slotShouldForwardProp } from "./notification-
|
|
15
|
-
import { C as Chip$1, M as Menu$2, t as transformTableColumns, f as formBuilderDeConversion } from "./form-builder-deconversion-
|
|
14
|
+
import { h as getDisplayName, e as extendSxProp, a as clsx, b as composeClasses, s as styled$3, g as generateUtilityClasses, c as createSvgIcon, i as require$$1, r as rootShouldForwardProp, f as reactIsExports, j as slotShouldForwardProp } from "./notification-Dr_nE2Dc.esm.js";
|
|
15
|
+
import { C as Chip$1, M as Menu$2, t as transformTableColumns, f as formBuilderDeConversion } from "./form-builder-deconversion-1RmrTuBM.esm.js";
|
|
16
16
|
import * as Yup from "yup";
|
|
17
17
|
import dayjs from "dayjs";
|
|
18
|
-
import { aV as formatText, A as fetchApi, p as checkUniqueFields, a8 as getErrorMessage, aP as toFixedWithNumbers, ac as getFileName, M as formatAmount, Q as formatDate, W as formatLabel, S as SECTION_TYPES, aM as skuGenerator, aU as fetchOptions, ar as getToken, a_ as postV1Designation, a$ as postV1DepartmentsTeams, b0 as postV1Departments, a1 as generateFields, a2 as generateQueryString, aE as postImportSheet, ai as getOperatorLabel, a9 as getExcelExportTemplate, am as getPdfExportTemplate, aa as getExcelTemplateGenerateTemplate, a3 as generateRandomId } from "./common-
|
|
18
|
+
import { aV as formatText, A as fetchApi, p as checkUniqueFields, a8 as getErrorMessage, aP as toFixedWithNumbers, ac as getFileName, M as formatAmount, Q as formatDate, W as formatLabel, S as SECTION_TYPES, aM as skuGenerator, aU as fetchOptions, ar as getToken, a_ as postV1Designation, a$ as postV1DepartmentsTeams, b0 as postV1Departments, a1 as generateFields, a2 as generateQueryString, aE as postImportSheet, ai as getOperatorLabel, a9 as getExcelExportTemplate, am as getPdfExportTemplate, aa as getExcelTemplateGenerateTemplate, a3 as generateRandomId } from "./common-C6CXq5HY.esm.js";
|
|
19
19
|
import _, { sortBy, debounce as debounce$2, flatMap } from "lodash";
|
|
20
20
|
import { Add as Add$1, Close, Upload, KeyboardArrowUp, KeyboardArrowDown as KeyboardArrowDown$1, Cancel, Share, Save as Save$1 } from "@mui/icons-material";
|
|
21
|
-
import { a as useApi, f as usePages, b as useDeepMemo, u as useAccountingSetting, d as useLocationFilter, g as usePermissions } from "./useAccountSetting-
|
|
21
|
+
import { a as useApi, f as usePages, b as useDeepMemo, u as useAccountingSetting, d as useLocationFilter, g as usePermissions } from "./useAccountSetting-3euVEixu.esm.js";
|
|
22
22
|
import { v as viewTypes } from "./action-bar-BsXTcYpL.esm.js";
|
|
23
23
|
import { QueryBuilder } from "react-querybuilder";
|
|
24
24
|
import { QueryBuilderMaterial } from "@react-querybuilder/material";
|
|
25
|
-
import { u as useLanguage } from "./useLangauge-
|
|
26
|
-
import { a as ArrowDown, T as Trash, C as CheckBoxIcon, r as RecgtangleIcon, F as FilledCircle, B as BlankCircle, M as MoreIcon, S as Save, f as Close$1, c as ArrowUpDown, E as Edit, k as FolderSave, b as ArrowDownTwo, t as Filter$1, j as FilterRemove, i as Export, D as DocumentDownload, l as Import } from "./trash-
|
|
25
|
+
import { u as useLanguage } from "./useLangauge-BYUW3wWy.esm.js";
|
|
26
|
+
import { a as ArrowDown, T as Trash, C as CheckBoxIcon, r as RecgtangleIcon, F as FilledCircle, B as BlankCircle, M as MoreIcon, S as Save, f as Close$1, c as ArrowUpDown, E as Edit, k as FolderSave, b as ArrowDownTwo, t as Filter$1, j as FilterRemove, i as Export, D as DocumentDownload, l as Import } from "./trash-DPtM6xPA.esm.js";
|
|
27
27
|
import { br as getV1CompanyId, bs as postV1PaymentTerms, bt as postV1JournalTypes, bu as postV1SourceTypes, bv as postV1PartiesIndustry, bw as postV1CategoryItems, bx as postV1Brand, by as postV1InventoryFixedAssetItems, p as postV1Parties, bz as postV1WarehouseLocation, bA as getV1FilterFilterTable, bB as deleteV1FilterId, bC as putV1FilterId, A as getV1FilterResource, bD as postV1Filter } from "./api-BQ_tS-9F.esm.js";
|
|
28
28
|
import { a as auth } from "./api-config-GOys-syK.esm.js";
|
|
29
29
|
import { enqueueSnackbar } from "notistack";
|
|
@@ -31,20 +31,20 @@ import { aZ as routeToResourceMap } from "./route-page-map-BXyFv1TG.esm.js";
|
|
|
31
31
|
import { useNavigate, useLocation, Link, Navigate } from "react-router-dom";
|
|
32
32
|
import { u as useAppDispatch, a as useAppSelector } from "./hooks-Cj9Yhy-E.esm.js";
|
|
33
33
|
import { useDropzone } from "react-dropzone";
|
|
34
|
-
import { i as initialFilter, d as defaultPageState } from "./page-context-
|
|
35
|
-
import { S as Search$1 } from "./tick-
|
|
34
|
+
import { i as initialFilter, d as defaultPageState } from "./page-context-D7WCRMqd.esm.js";
|
|
35
|
+
import { S as Search$1 } from "./tick-CCBMlWKE.esm.js";
|
|
36
36
|
import { useDispatch, useSelector } from "react-redux";
|
|
37
|
-
import { b as setSharedPage, v as getAllUserAndDepartmentDropdown, p as pinToDashboardList, y as sharePage } from "./reducer-
|
|
37
|
+
import { b as setSharedPage, v as getAllUserAndDepartmentDropdown, p as pinToDashboardList, y as sharePage } from "./reducer-WQipBShx.esm.js";
|
|
38
38
|
import ReactPhoneInput from "react-phone-input-2";
|
|
39
39
|
import { useMaterialReactTable, MaterialReactTable } from "material-react-table";
|
|
40
|
-
import { u as useTheme$1, a as useTheme$2, G as GlobalStyles } from "./CssBaseline-
|
|
40
|
+
import { u as useTheme$1, a as useTheme$2, G as GlobalStyles } from "./CssBaseline-qnbPrAjr.esm.js";
|
|
41
41
|
import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./_commonjsHelpers-CcAunmGO.esm.js";
|
|
42
|
-
import { D as Document } from "./document-
|
|
42
|
+
import { D as Document } from "./document-DKQMhgnk.esm.js";
|
|
43
43
|
import { P as PathnameDocument } from "./modules-D5_hDIg9.esm.js";
|
|
44
44
|
import { f as PathnameRental, b as PathnameCrm, e as PathnamePurchase, d as PathnameManufacturing, c as PathnameInventory, a as PathnameAccounting } from "./pathname.rental-VYOFVGX6.esm.js";
|
|
45
45
|
import { P as PathnameHrms, a as PathnameUsers } from "./pathname.hrms-C5ojsho0.esm.js";
|
|
46
46
|
import parsePhoneNumberFromString from "libphonenumber-js";
|
|
47
|
-
import { c as createParties } from "./actionCreator-
|
|
47
|
+
import { c as createParties } from "./actionCreator-DQC4sWLZ.esm.js";
|
|
48
48
|
let cachedType;
|
|
49
49
|
function detectScrollType() {
|
|
50
50
|
if (cachedType) {
|
|
@@ -39125,6 +39125,7 @@ const ActionBar = React__default.memo((props) => {
|
|
|
39125
39125
|
const [openSaveFilter, setIsOpenSaveFilter] = useState(false);
|
|
39126
39126
|
const [rowAnchorEl, setRowAnchorEl] = useState(null);
|
|
39127
39127
|
const [isUploadModalOpen, setIsUploadModalOpen] = useState(false);
|
|
39128
|
+
const [isDownloading, setIsDownloading] = useState(false);
|
|
39128
39129
|
const [savedFilters, setSavedFilters] = useState([]);
|
|
39129
39130
|
const [searchedText, setSearchedText] = useState("");
|
|
39130
39131
|
const { t } = useTranslation();
|
|
@@ -39208,65 +39209,80 @@ const ActionBar = React__default.memo((props) => {
|
|
|
39208
39209
|
setActive(data2 == null ? void 0 : data2.label);
|
|
39209
39210
|
};
|
|
39210
39211
|
const downloadTemplate = async (moduleName) => {
|
|
39211
|
-
|
|
39212
|
-
|
|
39213
|
-
|
|
39214
|
-
|
|
39215
|
-
|
|
39216
|
-
|
|
39217
|
-
|
|
39218
|
-
|
|
39219
|
-
|
|
39220
|
-
|
|
39221
|
-
|
|
39222
|
-
|
|
39223
|
-
|
|
39224
|
-
|
|
39212
|
+
setIsDownloading(true);
|
|
39213
|
+
try {
|
|
39214
|
+
const templateURL = await getExcelTemplateGenerateTemplate({
|
|
39215
|
+
"x-token": token,
|
|
39216
|
+
resource: moduleName
|
|
39217
|
+
});
|
|
39218
|
+
if (templateURL) {
|
|
39219
|
+
const blob = await templateURL.blob();
|
|
39220
|
+
const link = document.createElement("a");
|
|
39221
|
+
const url = window.URL.createObjectURL(blob);
|
|
39222
|
+
link.href = url;
|
|
39223
|
+
link.download = `${moduleName}.xlsx`;
|
|
39224
|
+
document.body.appendChild(link);
|
|
39225
|
+
link.click();
|
|
39226
|
+
document.body.removeChild(link);
|
|
39227
|
+
window.URL.revokeObjectURL(url);
|
|
39228
|
+
}
|
|
39229
|
+
} finally {
|
|
39230
|
+
setIsDownloading(false);
|
|
39225
39231
|
}
|
|
39226
39232
|
};
|
|
39227
39233
|
const exportExcel = async (moduleName, filterQueryString, selectedIds2, title22) => {
|
|
39228
|
-
|
|
39229
|
-
|
|
39230
|
-
|
|
39231
|
-
|
|
39232
|
-
|
|
39233
|
-
|
|
39234
|
-
|
|
39235
|
-
|
|
39236
|
-
|
|
39237
|
-
|
|
39238
|
-
|
|
39239
|
-
|
|
39240
|
-
|
|
39241
|
-
|
|
39242
|
-
|
|
39243
|
-
|
|
39244
|
-
|
|
39234
|
+
setIsDownloading(true);
|
|
39235
|
+
try {
|
|
39236
|
+
const templateURL = await getExcelExportTemplate({
|
|
39237
|
+
"x-token": token,
|
|
39238
|
+
activePage,
|
|
39239
|
+
filterQueryString,
|
|
39240
|
+
selectedIds: selectedIds2,
|
|
39241
|
+
title: title22
|
|
39242
|
+
});
|
|
39243
|
+
if (templateURL) {
|
|
39244
|
+
const blob = await templateURL.blob();
|
|
39245
|
+
const link = document.createElement("a");
|
|
39246
|
+
const url = window.URL.createObjectURL(blob);
|
|
39247
|
+
link.href = url;
|
|
39248
|
+
link.download = `${moduleName}.xlsx`;
|
|
39249
|
+
document.body.appendChild(link);
|
|
39250
|
+
link.click();
|
|
39251
|
+
document.body.removeChild(link);
|
|
39252
|
+
window.URL.revokeObjectURL(url);
|
|
39253
|
+
}
|
|
39254
|
+
} finally {
|
|
39255
|
+
setIsDownloading(false);
|
|
39245
39256
|
}
|
|
39246
39257
|
};
|
|
39247
39258
|
const exportPdf = async (moduleName, filterQueryString, selectedIds2, title22) => {
|
|
39248
|
-
|
|
39249
|
-
|
|
39250
|
-
|
|
39251
|
-
|
|
39252
|
-
|
|
39253
|
-
|
|
39254
|
-
|
|
39255
|
-
|
|
39256
|
-
|
|
39257
|
-
|
|
39258
|
-
|
|
39259
|
-
|
|
39260
|
-
|
|
39261
|
-
|
|
39262
|
-
|
|
39263
|
-
|
|
39264
|
-
|
|
39265
|
-
|
|
39266
|
-
|
|
39267
|
-
|
|
39268
|
-
|
|
39269
|
-
|
|
39259
|
+
setIsDownloading(true);
|
|
39260
|
+
try {
|
|
39261
|
+
const columns = activePage.visible_columns.map((col) => ({
|
|
39262
|
+
...col,
|
|
39263
|
+
header: t(col.header)
|
|
39264
|
+
}));
|
|
39265
|
+
const templateURL = await getPdfExportTemplate({
|
|
39266
|
+
"x-token": token,
|
|
39267
|
+
activePage,
|
|
39268
|
+
filterQueryString,
|
|
39269
|
+
selectedIds: selectedIds2,
|
|
39270
|
+
title: title22,
|
|
39271
|
+
columns
|
|
39272
|
+
});
|
|
39273
|
+
if (templateURL) {
|
|
39274
|
+
const blob = await templateURL.blob();
|
|
39275
|
+
const link = document.createElement("a");
|
|
39276
|
+
const url = window.URL.createObjectURL(blob);
|
|
39277
|
+
link.href = url;
|
|
39278
|
+
link.download = `${moduleName}.pdf`;
|
|
39279
|
+
document.body.appendChild(link);
|
|
39280
|
+
link.click();
|
|
39281
|
+
document.body.removeChild(link);
|
|
39282
|
+
window.URL.revokeObjectURL(url);
|
|
39283
|
+
}
|
|
39284
|
+
} finally {
|
|
39285
|
+
setIsDownloading(false);
|
|
39270
39286
|
}
|
|
39271
39287
|
};
|
|
39272
39288
|
const openImportTemplate = () => {
|
|
@@ -39516,7 +39532,7 @@ const ActionBar = React__default.memo((props) => {
|
|
|
39516
39532
|
children: t("common.add")
|
|
39517
39533
|
}
|
|
39518
39534
|
) }),
|
|
39519
|
-
pageName ? /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton$1, { onClick: (e) => handleImportClick(e), children: /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: images.more, alt: "More Icon" }) }) : "",
|
|
39535
|
+
pageName ? /* @__PURE__ */ jsxRuntimeExports.jsx(IconButton$1, { onClick: (e) => !isDownloading && handleImportClick(e), disabled: isDownloading, children: isDownloading ? /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgress, { size: 20, color: "inherit" }) : /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: images.more, alt: "More Icon" }) }) : "",
|
|
39520
39536
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
39521
39537
|
Menu$3,
|
|
39522
39538
|
{
|
|
@@ -41581,4 +41597,4 @@ export {
|
|
|
41581
41597
|
DynamicTagsInput as y,
|
|
41582
41598
|
DynamicTime as z
|
|
41583
41599
|
};
|
|
41584
|
-
//# sourceMappingURL=android-12-switch-
|
|
41600
|
+
//# sourceMappingURL=android-12-switch-Hmyn7okF.esm.js.map
|