@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,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const jsxRuntime = require("./jsx-runtime-B6vEU3CM.js");
|
|
3
|
-
const identifier = require("./identifier-
|
|
4
|
-
const appbar = require("./appbar-
|
|
5
|
-
const useAuth = require("./useAuth-
|
|
3
|
+
const identifier = require("./identifier-B8P9ZGxG.js");
|
|
4
|
+
const appbar = require("./appbar-qIKar8ys.js");
|
|
5
|
+
const useAuth = require("./useAuth-CzJz540A.js");
|
|
6
6
|
const material = require("@mui/material");
|
|
7
7
|
const reactDnd = require("react-dnd");
|
|
8
8
|
;/* empty css */
|
|
@@ -11,19 +11,19 @@ const React$1 = require("react");
|
|
|
11
11
|
const reactHookForm = require("react-hook-form");
|
|
12
12
|
;/* empty css */
|
|
13
13
|
const reactI18next = require("react-i18next");
|
|
14
|
-
const notification = require("./notification-
|
|
15
|
-
const formBuilderDeconversion = require("./form-builder-deconversion-
|
|
14
|
+
const notification = require("./notification-lAbbtOBF.js");
|
|
15
|
+
const formBuilderDeconversion = require("./form-builder-deconversion-Frxbsshp.js");
|
|
16
16
|
const Yup = require("yup");
|
|
17
17
|
const dayjs = require("dayjs");
|
|
18
|
-
const common = require("./common-
|
|
18
|
+
const common = require("./common-Db7LxP2e.js");
|
|
19
19
|
const _ = require("lodash");
|
|
20
20
|
const iconsMaterial = require("@mui/icons-material");
|
|
21
|
-
const useAccountSetting = require("./useAccountSetting-
|
|
21
|
+
const useAccountSetting = require("./useAccountSetting-kUpknE1Q.js");
|
|
22
22
|
const actionBar = require("./action-bar-DMv6sqDP.js");
|
|
23
23
|
const reactQuerybuilder = require("react-querybuilder");
|
|
24
24
|
const material$1 = require("@react-querybuilder/material");
|
|
25
|
-
const useLangauge = require("./useLangauge-
|
|
26
|
-
const trash = require("./trash-
|
|
25
|
+
const useLangauge = require("./useLangauge-qN02MgCA.js");
|
|
26
|
+
const trash = require("./trash-CiU_aN5l.js");
|
|
27
27
|
const api = require("./api-BygscvSz.js");
|
|
28
28
|
const apiConfig = require("./api-config-DXwDMFn-.js");
|
|
29
29
|
const notistack = require("notistack");
|
|
@@ -31,20 +31,20 @@ const routePageMap = require("./route-page-map-C5Q89eFJ.js");
|
|
|
31
31
|
const reactRouterDom = require("react-router-dom");
|
|
32
32
|
const hooks = require("./hooks-DsdahmnZ.js");
|
|
33
33
|
const reactDropzone = require("react-dropzone");
|
|
34
|
-
const pageContext = require("./page-context-
|
|
35
|
-
const tick = require("./tick-
|
|
34
|
+
const pageContext = require("./page-context-8ys1c1uL.js");
|
|
35
|
+
const tick = require("./tick-BSpZzKHb.js");
|
|
36
36
|
const reactRedux = require("react-redux");
|
|
37
|
-
const reducer = require("./reducer-
|
|
37
|
+
const reducer = require("./reducer-CEhmf5WQ.js");
|
|
38
38
|
const ReactPhoneInput = require("react-phone-input-2");
|
|
39
39
|
const materialReactTable = require("material-react-table");
|
|
40
|
-
const CssBaseline = require("./CssBaseline-
|
|
40
|
+
const CssBaseline = require("./CssBaseline-Ba0wbudi.js");
|
|
41
41
|
const _commonjsHelpers = require("./_commonjsHelpers-Cq6wktVC.js");
|
|
42
|
-
const document$1 = require("./document-
|
|
42
|
+
const document$1 = require("./document-D7m0P_S2.js");
|
|
43
43
|
const modules = require("./modules-C3T2Pnwc.js");
|
|
44
44
|
const pathname_rental = require("./pathname.rental-C9fm1WTq.js");
|
|
45
45
|
const pathname_hrms = require("./pathname.hrms-2_BEXO_r.js");
|
|
46
46
|
const parsePhoneNumberFromString = require("libphonenumber-js");
|
|
47
|
-
const actionCreator = require("./actionCreator-
|
|
47
|
+
const actionCreator = require("./actionCreator-DnAKnwWs.js");
|
|
48
48
|
function _interopNamespaceDefault(e) {
|
|
49
49
|
const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
|
|
50
50
|
if (e) {
|
|
@@ -39143,6 +39143,7 @@ const ActionBar = React$1.memo((props) => {
|
|
|
39143
39143
|
const [openSaveFilter, setIsOpenSaveFilter] = React$1.useState(false);
|
|
39144
39144
|
const [rowAnchorEl, setRowAnchorEl] = React$1.useState(null);
|
|
39145
39145
|
const [isUploadModalOpen, setIsUploadModalOpen] = React$1.useState(false);
|
|
39146
|
+
const [isDownloading, setIsDownloading] = React$1.useState(false);
|
|
39146
39147
|
const [savedFilters, setSavedFilters] = React$1.useState([]);
|
|
39147
39148
|
const [searchedText, setSearchedText] = React$1.useState("");
|
|
39148
39149
|
const { t } = reactI18next.useTranslation();
|
|
@@ -39226,65 +39227,80 @@ const ActionBar = React$1.memo((props) => {
|
|
|
39226
39227
|
setActive(data2 == null ? void 0 : data2.label);
|
|
39227
39228
|
};
|
|
39228
39229
|
const downloadTemplate = async (moduleName) => {
|
|
39229
|
-
|
|
39230
|
-
|
|
39231
|
-
|
|
39232
|
-
|
|
39233
|
-
|
|
39234
|
-
|
|
39235
|
-
|
|
39236
|
-
|
|
39237
|
-
|
|
39238
|
-
|
|
39239
|
-
|
|
39240
|
-
|
|
39241
|
-
|
|
39242
|
-
|
|
39230
|
+
setIsDownloading(true);
|
|
39231
|
+
try {
|
|
39232
|
+
const templateURL = await common.getExcelTemplateGenerateTemplate({
|
|
39233
|
+
"x-token": token,
|
|
39234
|
+
resource: moduleName
|
|
39235
|
+
});
|
|
39236
|
+
if (templateURL) {
|
|
39237
|
+
const blob = await templateURL.blob();
|
|
39238
|
+
const link = document.createElement("a");
|
|
39239
|
+
const url = window.URL.createObjectURL(blob);
|
|
39240
|
+
link.href = url;
|
|
39241
|
+
link.download = `${moduleName}.xlsx`;
|
|
39242
|
+
document.body.appendChild(link);
|
|
39243
|
+
link.click();
|
|
39244
|
+
document.body.removeChild(link);
|
|
39245
|
+
window.URL.revokeObjectURL(url);
|
|
39246
|
+
}
|
|
39247
|
+
} finally {
|
|
39248
|
+
setIsDownloading(false);
|
|
39243
39249
|
}
|
|
39244
39250
|
};
|
|
39245
39251
|
const exportExcel = async (moduleName, filterQueryString, selectedIds2, title22) => {
|
|
39246
|
-
|
|
39247
|
-
|
|
39248
|
-
|
|
39249
|
-
|
|
39250
|
-
|
|
39251
|
-
|
|
39252
|
-
|
|
39253
|
-
|
|
39254
|
-
|
|
39255
|
-
|
|
39256
|
-
|
|
39257
|
-
|
|
39258
|
-
|
|
39259
|
-
|
|
39260
|
-
|
|
39261
|
-
|
|
39262
|
-
|
|
39252
|
+
setIsDownloading(true);
|
|
39253
|
+
try {
|
|
39254
|
+
const templateURL = await common.getExcelExportTemplate({
|
|
39255
|
+
"x-token": token,
|
|
39256
|
+
activePage,
|
|
39257
|
+
filterQueryString,
|
|
39258
|
+
selectedIds: selectedIds2,
|
|
39259
|
+
title: title22
|
|
39260
|
+
});
|
|
39261
|
+
if (templateURL) {
|
|
39262
|
+
const blob = await templateURL.blob();
|
|
39263
|
+
const link = document.createElement("a");
|
|
39264
|
+
const url = window.URL.createObjectURL(blob);
|
|
39265
|
+
link.href = url;
|
|
39266
|
+
link.download = `${moduleName}.xlsx`;
|
|
39267
|
+
document.body.appendChild(link);
|
|
39268
|
+
link.click();
|
|
39269
|
+
document.body.removeChild(link);
|
|
39270
|
+
window.URL.revokeObjectURL(url);
|
|
39271
|
+
}
|
|
39272
|
+
} finally {
|
|
39273
|
+
setIsDownloading(false);
|
|
39263
39274
|
}
|
|
39264
39275
|
};
|
|
39265
39276
|
const exportPdf = async (moduleName, filterQueryString, selectedIds2, title22) => {
|
|
39266
|
-
|
|
39267
|
-
|
|
39268
|
-
|
|
39269
|
-
|
|
39270
|
-
|
|
39271
|
-
|
|
39272
|
-
|
|
39273
|
-
|
|
39274
|
-
|
|
39275
|
-
|
|
39276
|
-
|
|
39277
|
-
|
|
39278
|
-
|
|
39279
|
-
|
|
39280
|
-
|
|
39281
|
-
|
|
39282
|
-
|
|
39283
|
-
|
|
39284
|
-
|
|
39285
|
-
|
|
39286
|
-
|
|
39287
|
-
|
|
39277
|
+
setIsDownloading(true);
|
|
39278
|
+
try {
|
|
39279
|
+
const columns = activePage.visible_columns.map((col) => ({
|
|
39280
|
+
...col,
|
|
39281
|
+
header: t(col.header)
|
|
39282
|
+
}));
|
|
39283
|
+
const templateURL = await common.getPdfExportTemplate({
|
|
39284
|
+
"x-token": token,
|
|
39285
|
+
activePage,
|
|
39286
|
+
filterQueryString,
|
|
39287
|
+
selectedIds: selectedIds2,
|
|
39288
|
+
title: title22,
|
|
39289
|
+
columns
|
|
39290
|
+
});
|
|
39291
|
+
if (templateURL) {
|
|
39292
|
+
const blob = await templateURL.blob();
|
|
39293
|
+
const link = document.createElement("a");
|
|
39294
|
+
const url = window.URL.createObjectURL(blob);
|
|
39295
|
+
link.href = url;
|
|
39296
|
+
link.download = `${moduleName}.pdf`;
|
|
39297
|
+
document.body.appendChild(link);
|
|
39298
|
+
link.click();
|
|
39299
|
+
document.body.removeChild(link);
|
|
39300
|
+
window.URL.revokeObjectURL(url);
|
|
39301
|
+
}
|
|
39302
|
+
} finally {
|
|
39303
|
+
setIsDownloading(false);
|
|
39288
39304
|
}
|
|
39289
39305
|
};
|
|
39290
39306
|
const openImportTemplate = () => {
|
|
@@ -39534,7 +39550,7 @@ const ActionBar = React$1.memo((props) => {
|
|
|
39534
39550
|
children: t("common.add")
|
|
39535
39551
|
}
|
|
39536
39552
|
) }),
|
|
39537
|
-
pageName ? /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(material.IconButton, { onClick: (e) => handleImportClick(e), children: /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("img", { src: images.images.more, alt: "More Icon" }) }) : "",
|
|
39553
|
+
pageName ? /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(material.IconButton, { onClick: (e) => !isDownloading && handleImportClick(e), disabled: isDownloading, children: isDownloading ? /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(material.CircularProgress, { size: 20, color: "inherit" }) : /* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx("img", { src: images.images.more, alt: "More Icon" }) }) : "",
|
|
39538
39554
|
/* @__PURE__ */ jsxRuntime.jsxRuntimeExports.jsx(
|
|
39539
39555
|
material.Menu,
|
|
39540
39556
|
{
|
|
@@ -41593,4 +41609,4 @@ exports.createPermissionConfig = createPermissionConfig;
|
|
|
41593
41609
|
exports.dynamicSelectAdd = dynamicSelectAdd;
|
|
41594
41610
|
exports.useThemeProps = useThemeProps;
|
|
41595
41611
|
exports.userRoles = userRoles;
|
|
41596
|
-
//# sourceMappingURL=android-12-switch-
|
|
41612
|
+
//# sourceMappingURL=android-12-switch-Bcn1C0tv.js.map
|