@erpsquad/common 1.10.24 → 1.10.25
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/{apiHelper-YfmCaxm2.js → ERPUIProvider-CrB9KZsT.js} +61 -48
- package/dist/chunks/ERPUIProvider-CrB9KZsT.js.map +1 -0
- package/dist/chunks/{apiHelper-5ZV2nDef.esm.js → ERPUIProvider-D4NsKF7q.esm.js} +62 -49
- package/dist/chunks/ERPUIProvider-D4NsKF7q.esm.js.map +1 -0
- package/dist/chunks/{actionCreator-voIBps7Q.esm.js → actionCreator-BAILdRTa.esm.js} +2 -2
- package/dist/chunks/{actionCreator-voIBps7Q.esm.js.map → actionCreator-BAILdRTa.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-P8dFlHV6.js → actionCreator-CQvKspmp.js} +2 -2
- package/dist/chunks/{actionCreator-P8dFlHV6.js.map → actionCreator-CQvKspmp.js.map} +1 -1
- package/dist/chunks/{android-12-switch-CKgLjgON.esm.js → android-12-switch-B1V8Mdoy.esm.js} +10 -10
- package/dist/chunks/{android-12-switch-CKgLjgON.esm.js.map → android-12-switch-B1V8Mdoy.esm.js.map} +1 -1
- package/dist/chunks/{android-12-switch-skUWjY_v.js → android-12-switch-iAmzX2gj.js} +10 -10
- package/dist/chunks/{android-12-switch-skUWjY_v.js.map → android-12-switch-iAmzX2gj.js.map} +1 -1
- package/dist/chunks/{appbar-Cn0j_jYL.js → appbar-D6v-YliE.js} +4 -4
- package/dist/chunks/{appbar-Cn0j_jYL.js.map → appbar-D6v-YliE.js.map} +1 -1
- package/dist/chunks/{appbar-BJnWfKbV.esm.js → appbar-fEKefSEI.esm.js} +4 -4
- package/dist/chunks/{appbar-BJnWfKbV.esm.js.map → appbar-fEKefSEI.esm.js.map} +1 -1
- package/dist/chunks/{common-DMEKZWbV.esm.js → common-CnMuPSgy.esm.js} +2 -1
- package/dist/chunks/{common-DMEKZWbV.esm.js.map → common-CnMuPSgy.esm.js.map} +1 -1
- package/dist/chunks/{common-B2dL8ZW6.js → common-DiZBInYB.js} +2 -1
- package/dist/chunks/{common-B2dL8ZW6.js.map → common-DiZBInYB.js.map} +1 -1
- package/dist/chunks/{custom-editor-D0rhYTTV.js → custom-editor-BrhoUYdE.js} +2 -2
- package/dist/chunks/{custom-editor-D0rhYTTV.js.map → custom-editor-BrhoUYdE.js.map} +1 -1
- package/dist/chunks/{custom-editor-BcVZsuni.esm.js → custom-editor-CDesXJOD.esm.js} +2 -2
- package/dist/chunks/{custom-editor-BcVZsuni.esm.js.map → custom-editor-CDesXJOD.esm.js.map} +1 -1
- package/dist/chunks/{default-data-Bkg9tRHr.js → default-data-BT7rMux6.js} +12 -12
- package/dist/chunks/{default-data-Bkg9tRHr.js.map → default-data-BT7rMux6.js.map} +1 -1
- package/dist/chunks/{default-data-DRkQfhCi.esm.js → default-data-oRrC02zr.esm.js} +12 -12
- package/dist/chunks/{default-data-DRkQfhCi.esm.js.map → default-data-oRrC02zr.esm.js.map} +1 -1
- package/dist/chunks/{form-builder-conversion-CLVSz4Zu.js → form-builder-conversion-5H7D0hVp.js} +2 -2
- package/dist/chunks/{form-builder-conversion-CLVSz4Zu.js.map → form-builder-conversion-5H7D0hVp.js.map} +1 -1
- package/dist/chunks/{form-builder-conversion-DPgJqCQ_.esm.js → form-builder-conversion-BwDuDJ-X.esm.js} +2 -2
- package/dist/chunks/{form-builder-conversion-DPgJqCQ_.esm.js.map → form-builder-conversion-BwDuDJ-X.esm.js.map} +1 -1
- package/dist/chunks/{form-builder-deconversion-DUT3hEGI.esm.js → form-builder-deconversion-B-2fkPNG.esm.js} +3 -3
- package/dist/chunks/{form-builder-deconversion-DUT3hEGI.esm.js.map → form-builder-deconversion-B-2fkPNG.esm.js.map} +1 -1
- package/dist/chunks/{form-builder-deconversion-DM9J4Yl8.js → form-builder-deconversion-CBwoLSBg.js} +3 -3
- package/dist/chunks/{form-builder-deconversion-DM9J4Yl8.js.map → form-builder-deconversion-CBwoLSBg.js.map} +1 -1
- package/dist/chunks/{fullScreen-DfFeN4Jw.esm.js → fullScreen-B7t6N37V.esm.js} +2 -2
- package/dist/chunks/{fullScreen-DfFeN4Jw.esm.js.map → fullScreen-B7t6N37V.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-B6YoHNI0.js → fullScreen-bWxDzWnS.js} +2 -2
- package/dist/chunks/{fullScreen-B6YoHNI0.js.map → fullScreen-bWxDzWnS.js.map} +1 -1
- package/dist/chunks/{languageContext-C0IfVXd6.js → languageContext-Dc-IgAEQ.js} +3 -3
- package/dist/chunks/{languageContext-C0IfVXd6.js.map → languageContext-Dc-IgAEQ.js.map} +1 -1
- package/dist/chunks/{languageContext-CUI59OnI.esm.js → languageContext-EvruPI4i.esm.js} +3 -3
- package/dist/chunks/{languageContext-CUI59OnI.esm.js.map → languageContext-EvruPI4i.esm.js.map} +1 -1
- package/dist/chunks/{migration-utils-D-9-VA86.esm.js → migration-utils-CEY5cPxm.esm.js} +61 -44
- package/dist/chunks/migration-utils-CEY5cPxm.esm.js.map +1 -0
- package/dist/chunks/{migration-utils-Bxds-psK.js → migration-utils-nmxjTyJE.js} +61 -44
- package/dist/chunks/migration-utils-nmxjTyJE.js.map +1 -0
- package/dist/chunks/{page-context-BG7UpJiv.esm.js → page-context-Cfc_2QVL.esm.js} +4 -4
- package/dist/chunks/page-context-Cfc_2QVL.esm.js.map +1 -0
- package/dist/chunks/{page-context-B-0cNWoa.js → page-context-DaqBerFa.js} +4 -4
- package/dist/chunks/page-context-DaqBerFa.js.map +1 -0
- package/dist/chunks/{reducer-Cuwiryn_.js → reducer-7GjSCUVb.js} +2 -2
- package/dist/chunks/{reducer-Cuwiryn_.js.map → reducer-7GjSCUVb.js.map} +1 -1
- package/dist/chunks/{reducer-D_JPGt1Y.esm.js → reducer-CZRNLb87.esm.js} +2 -2
- package/dist/chunks/{reducer-D_JPGt1Y.esm.js.map → reducer-CZRNLb87.esm.js.map} +1 -1
- package/dist/chunks/{shareSlice-DI6_UPCh.js → shareSlice-Cvu_KDva.js} +2 -2
- package/dist/chunks/{shareSlice-DI6_UPCh.js.map → shareSlice-Cvu_KDva.js.map} +1 -1
- package/dist/chunks/{shareSlice-DMrBQKgP.esm.js → shareSlice-euR_TjzN.esm.js} +2 -2
- package/dist/chunks/{shareSlice-DMrBQKgP.esm.js.map → shareSlice-euR_TjzN.esm.js.map} +1 -1
- package/dist/chunks/{sidebar-DoFAl7ou.js → sidebar-By5UAoF9.js} +4 -4
- package/dist/chunks/{sidebar-DoFAl7ou.js.map → sidebar-By5UAoF9.js.map} +1 -1
- package/dist/chunks/{sidebar-djdFYyr7.esm.js → sidebar-D1m9wO0D.esm.js} +4 -4
- package/dist/chunks/{sidebar-djdFYyr7.esm.js.map → sidebar-D1m9wO0D.esm.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-C1rbIa2b.js → sidebarScreen-Cjomg91b.js} +5 -5
- package/dist/chunks/{sidebarScreen-C1rbIa2b.js.map → sidebarScreen-Cjomg91b.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-CfN-ptZ_.esm.js → sidebarScreen-Cl_ofemY.esm.js} +5 -5
- package/dist/chunks/{sidebarScreen-CfN-ptZ_.esm.js.map → sidebarScreen-Cl_ofemY.esm.js.map} +1 -1
- package/dist/chunks/{store-BhiVVV8I.js → store-CzlB6v7r.js} +3 -3
- package/dist/chunks/{store-BhiVVV8I.js.map → store-CzlB6v7r.js.map} +1 -1
- package/dist/chunks/{store-Br89XceL.esm.js → store-DP59wikr.esm.js} +3 -3
- package/dist/chunks/{store-Br89XceL.esm.js.map → store-DP59wikr.esm.js.map} +1 -1
- package/dist/chunks/{translations-DVyOW8jq.js → translations-CJg8TTyD.js} +2 -2
- package/dist/chunks/{translations-DVyOW8jq.js.map → translations-CJg8TTyD.js.map} +1 -1
- package/dist/chunks/{translations-DdmKMXfq.esm.js → translations-Ce-dESd2.esm.js} +2 -2
- package/dist/chunks/{translations-DdmKMXfq.esm.js.map → translations-Ce-dESd2.esm.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-DX8jbxE5.js → uom-field-wrapper-BxTvhAet.js} +21 -19
- package/dist/chunks/{uom-field-wrapper-DX8jbxE5.js.map → uom-field-wrapper-BxTvhAet.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-CIlNmr8q.esm.js → uom-field-wrapper-D-qbttkm.esm.js} +16 -14
- package/dist/chunks/{uom-field-wrapper-CIlNmr8q.esm.js.map → uom-field-wrapper-D-qbttkm.esm.js.map} +1 -1
- package/dist/chunks/{useAccountSetting-jzXMXidb.js → useAccountSetting-C8elrC5R.js} +3 -3
- package/dist/chunks/{useAccountSetting-jzXMXidb.js.map → useAccountSetting-C8elrC5R.js.map} +1 -1
- package/dist/chunks/{useAccountSetting-ChvhLNww.esm.js → useAccountSetting-lLzhLq50.esm.js} +3 -3
- package/dist/chunks/{useAccountSetting-ChvhLNww.esm.js.map → useAccountSetting-lLzhLq50.esm.js.map} +1 -1
- package/dist/chunks/{useAuth-Bgbk1EVk.esm.js → useAuth-BLMBjfAV.esm.js} +2 -2
- package/dist/chunks/{useAuth-Bgbk1EVk.esm.js.map → useAuth-BLMBjfAV.esm.js.map} +1 -1
- package/dist/chunks/{useAuth-ChQOSfij.js → useAuth-DkZpOvrQ.js} +2 -2
- package/dist/chunks/{useAuth-ChQOSfij.js.map → useAuth-DkZpOvrQ.js.map} +1 -1
- package/dist/chunks/{useLangauge-C4uJpw2D.js → useLangauge-BIXFbbDo.js} +2 -2
- package/dist/chunks/{useLangauge-C4uJpw2D.js.map → useLangauge-BIXFbbDo.js.map} +1 -1
- package/dist/chunks/{useLangauge-BYAnFSUW.esm.js → useLangauge-BtIw2mfN.esm.js} +2 -2
- package/dist/chunks/{useLangauge-BYAnFSUW.esm.js.map → useLangauge-BtIw2mfN.esm.js.map} +1 -1
- package/dist/chunks/{useReduxIntegration-BwvsiyBq.js → useReduxIntegration-BaZ9dXj6.js} +5 -5
- package/dist/chunks/{useReduxIntegration-BwvsiyBq.js.map → useReduxIntegration-BaZ9dXj6.js.map} +1 -1
- package/dist/chunks/{useReduxIntegration-DvxRtJuE.esm.js → useReduxIntegration-DUiiK2sU.esm.js} +4 -4
- package/dist/chunks/{useReduxIntegration-DvxRtJuE.esm.js.map → useReduxIntegration-DUiiK2sU.esm.js.map} +1 -1
- package/dist/components/index.esm.js +9 -9
- package/dist/components/index.js +11 -11
- package/dist/contexts/index.esm.js +3 -3
- package/dist/contexts/index.js +3 -3
- package/dist/contexts/permission-context.d.ts +1 -1
- package/dist/hooks/apiHelper.d.ts +1 -0
- package/dist/hooks/index.esm.js +6 -5
- package/dist/hooks/index.js +9 -8
- package/dist/hooks/index.js.map +1 -1
- package/dist/index.esm.js +35 -34
- package/dist/index.js +30 -29
- package/dist/index.js.map +1 -1
- 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/contexts/permission-context.d.ts +1 -1
- package/dist/src/hooks/apiHelper.d.ts +1 -0
- package/dist/src/utils/api.d.ts +3 -0
- package/dist/utils/api.d.ts +3 -0
- 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/apiHelper-5ZV2nDef.esm.js.map +0 -1
- package/dist/chunks/apiHelper-YfmCaxm2.js.map +0 -1
- package/dist/chunks/migration-utils-Bxds-psK.js.map +0 -1
- package/dist/chunks/migration-utils-D-9-VA86.esm.js.map +0 -1
- package/dist/chunks/page-context-B-0cNWoa.js.map +0 -1
- package/dist/chunks/page-context-BG7UpJiv.esm.js.map +0 -1
|
@@ -2,13 +2,13 @@ import { j as jsxRuntimeExports } from "./jsx-runtime-ClFauRgV.esm.js";
|
|
|
2
2
|
import React__default, { useEffect, Component, useMemo, useState, useRef, useCallback, memo, createElement, Suspense, lazy } from "react";
|
|
3
3
|
import { Outlet, Navigate, useLocation, useNavigate, useSearchParams, Link as Link$2, useParams } from "react-router-dom";
|
|
4
4
|
import { P as Pathname, f as PathnameRental, b as PathnameCrm, e as PathnamePurchase, d as PathnameManufacturing, c as PathnameInventory, a as PathnameAccounting } from "./pathname.rental-VYOFVGX6.esm.js";
|
|
5
|
-
import { T as Typography, u as useAuth, i as default_1$d, r as requireCreateSvgIcon } from "./useAuth-
|
|
6
|
-
import { W as Loader, Y as MaterialTable, M as Footer, a7 as Select, C as Checkbox, a4 as Radio, x as DynamicTable, l as DynamicCheckBox, t as DynamicRadioButton, E as DynamicToggleButton, p as DynamicInfo, r as DynamicMedia, z as DynamicTime, n as DynamicDate, w as DynamicSelect, s as DynamicPhone, o as DynamicElementHOC, N as FormHeader, k as DynamicButton, ac as TabBar, v as DynamicSectionHOC, P as FormParser, an as default_1$e, h as ColorPickerInput, e as Android12Switch$2, ao as default_1$f, a6 as SearchableSelect, a as ActionBar, F as Fallback } from "./android-12-switch-
|
|
5
|
+
import { T as Typography, u as useAuth, i as default_1$d, r as requireCreateSvgIcon } from "./useAuth-BLMBjfAV.esm.js";
|
|
6
|
+
import { W as Loader, Y as MaterialTable, M as Footer, a7 as Select, C as Checkbox, a4 as Radio, x as DynamicTable, l as DynamicCheckBox, t as DynamicRadioButton, E as DynamicToggleButton, p as DynamicInfo, r as DynamicMedia, z as DynamicTime, n as DynamicDate, w as DynamicSelect, s as DynamicPhone, o as DynamicElementHOC, N as FormHeader, k as DynamicButton, ac as TabBar, v as DynamicSectionHOC, P as FormParser, an as default_1$e, h as ColorPickerInput, e as Android12Switch$2, ao as default_1$f, a6 as SearchableSelect, a as ActionBar, F as Fallback } from "./android-12-switch-B1V8Mdoy.esm.js";
|
|
7
7
|
import { u as useAppDispatch, a as useAppSelector } from "./hooks-Cj9Yhy-E.esm.js";
|
|
8
8
|
import { createAsyncThunk, createSlice } from "@reduxjs/toolkit";
|
|
9
|
-
import { M as Menu, h as aggregationFns, D as DefaultAggregation, f as formBuilderDeConversion, C as Chip, t as transformTableColumns } from "./form-builder-deconversion-
|
|
9
|
+
import { M as Menu, h as aggregationFns, D as DefaultAggregation, f as formBuilderDeConversion, C as Chip, t as transformTableColumns } from "./form-builder-deconversion-B-2fkPNG.esm.js";
|
|
10
10
|
import { MenuItem, Box, styled, Grid, Stack, FormControl, Slider, FormControlLabel, DialogTitle, IconButton, DialogContent, DialogActions, Select as Select$1, Button as Button$1, RadioGroup, TextField as TextField$1, InputAdornment, AppBar, Toolbar, Link as Link$1, Divider, Skeleton, Paper, Fade, Tooltip, ToggleButton, ToggleButtonGroup, toggleButtonGroupClasses, Switch, Tabs, Tab, Chip as Chip$1, Alert, AccordionSummary, AccordionDetails, Table, TableHead, TableRow, TableCell, TableBody, Dialog, Accordion as Accordion$1, Typography as Typography$1, CircularProgress, ListItemIcon, ListItemText, ListItem, Container } from "@mui/material";
|
|
11
|
-
import { B as Button, G as o, D as DynamicInput, d as Toast, T as TextField, M as Modal, y as default_1$g, S as SearchBar, c as ConfirmPopUp } from "./appbar-
|
|
11
|
+
import { B as Button, G as o, D as DynamicInput, d as Toast, T as TextField, M as Modal, y as default_1$g, S as SearchBar, c as ConfirmPopUp } from "./appbar-fEKefSEI.esm.js";
|
|
12
12
|
import { i as images } from "./images-BY6aQF32.esm.js";
|
|
13
13
|
import { useForm, useFieldArray } from "react-hook-form";
|
|
14
14
|
import { E as Eye, a as EyeOff } from "./tick-CCBMlWKE.esm.js";
|
|
@@ -22,10 +22,10 @@ import { DndProvider } from "react-dnd";
|
|
|
22
22
|
import { HTML5Backend } from "react-dnd-html5-backend";
|
|
23
23
|
import { useTranslation } from "react-i18next";
|
|
24
24
|
import { enqueueSnackbar } from "notistack";
|
|
25
|
-
import { f as formBuilderConversion } from "./form-builder-conversion-
|
|
26
|
-
import { aV as formatText$1, S as SECTION_TYPES, a3 as generateRandomId, a8 as getErrorMessage, W as formatLabel, aS as uploadFiles, ar as getToken, j as appendConditionSafely, v as defaultCurrencySymbol, A as fetchApi } from "./common-
|
|
27
|
-
import { E as ErpLoader } from "./page-context-
|
|
28
|
-
import { i as patchFormDataById, h as getFormDataById, g as getFieldsByFormId } from "./reducer-
|
|
25
|
+
import { f as formBuilderConversion } from "./form-builder-conversion-BwDuDJ-X.esm.js";
|
|
26
|
+
import { aV as formatText$1, S as SECTION_TYPES, a3 as generateRandomId, a8 as getErrorMessage, W as formatLabel, aS as uploadFiles, ar as getToken, j as appendConditionSafely, v as defaultCurrencySymbol, A as fetchApi } from "./common-CnMuPSgy.esm.js";
|
|
27
|
+
import { E as ErpLoader } from "./page-context-Cfc_2QVL.esm.js";
|
|
28
|
+
import { i as patchFormDataById, h as getFormDataById, g as getFieldsByFormId } from "./reducer-CZRNLb87.esm.js";
|
|
29
29
|
import { p as Paragraph, H as Hashtag, A as ArrowCircleDown, s as Calendar, P as PaperClip, L as Link, h as Email, q as Phone, g as DollarCircle, e as Clock, G as Grid$1, o as Location, d as CheckboxSquare, I as Image, n as LinkHorizontal, m as InfoCircle, R as RadioButton, T as Trash, E as Edit, S as Save } from "./trash-DPtM6xPA.esm.js";
|
|
30
30
|
import { T as ToggleSwitch } from "./toggle-switch-BHNFcNhi.esm.js";
|
|
31
31
|
import { P as PathnameHrms, a as PathnameUsers } from "./pathname.hrms-C5ojsho0.esm.js";
|
|
@@ -38,7 +38,7 @@ import { FileCode, Heading, Text, Image as Image$1, Table as Table$1, Blocks, Qr
|
|
|
38
38
|
import { v as postV1Drive, b5 as getV1Drive, b6 as patchV1TemplatesId, b7 as postV1Templates, b8 as patchV1TemplateHeaderFooterId, b9 as postV1TemplateHeaderFooter, ba as getV1SubjectsId, bb as getV1FormBuilderRelationalSchemaFieldsName, bc as getV1TemplatesId, bd as getV1TemplateHeaderFooterCompanyIdHeaderFooter, M as getV1Templates, be as patchV1TemplatesIdSetDefault, bf as deleteV1TemplatesId, bg as getV1Subjects } from "./api-Bdpeu33R.esm.js";
|
|
39
39
|
import { v4 } from "uuid";
|
|
40
40
|
import { v as viewTypes } from "./action-bar-BsXTcYpL.esm.js";
|
|
41
|
-
import { f as usePages, b as useDeepMemo, g as usePermissions } from "./useAccountSetting-
|
|
41
|
+
import { f as usePages, b as useDeepMemo, g as usePermissions } from "./useAccountSetting-lLzhLq50.esm.js";
|
|
42
42
|
const allAggregations = [
|
|
43
43
|
{
|
|
44
44
|
label: "Average",
|
|
@@ -5980,7 +5980,7 @@ var _jsxRuntime$a = jsxRuntimeExports;
|
|
|
5980
5980
|
default_1$a = CallSplit.default = (0, _createSvgIcon$a.default)(/* @__PURE__ */ (0, _jsxRuntime$a.jsx)("path", {
|
|
5981
5981
|
d: "m14 4 2.29 2.29-2.88 2.88 1.42 1.42 2.88-2.88L20 10V4zm-4 0H4v6l2.29-2.29 4.71 4.7V20h2v-8.41l-5.29-5.3z"
|
|
5982
5982
|
}), "CallSplit");
|
|
5983
|
-
const CustomEditor$1 = lazy(() => import("./custom-editor-
|
|
5983
|
+
const CustomEditor$1 = lazy(() => import("./custom-editor-CDesXJOD.esm.js"));
|
|
5984
5984
|
const EditSectionModal = ({
|
|
5985
5985
|
isOpen,
|
|
5986
5986
|
setIsOpen,
|
|
@@ -6400,7 +6400,7 @@ const useDebouncedUpdate = (callback, delay = 300) => {
|
|
|
6400
6400
|
);
|
|
6401
6401
|
return debouncedCallback;
|
|
6402
6402
|
};
|
|
6403
|
-
const CustomEditor = lazy(() => import("./custom-editor-
|
|
6403
|
+
const CustomEditor = lazy(() => import("./custom-editor-CDesXJOD.esm.js"));
|
|
6404
6404
|
const editableSections = ["text", "text-block", "heading", "heading-1", "heading-2", "heading-3", "heading-4"];
|
|
6405
6405
|
const EditorSection = ({
|
|
6406
6406
|
section: section2,
|
|
@@ -12907,4 +12907,4 @@ export {
|
|
|
12907
12907
|
activityTag as y,
|
|
12908
12908
|
board as z
|
|
12909
12909
|
};
|
|
12910
|
-
//# sourceMappingURL=default-data-
|
|
12910
|
+
//# sourceMappingURL=default-data-oRrC02zr.esm.js.map
|