@erpsquad/common 1.9.97 → 1.9.98
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/{android-12-switch-D3fU6Qtm.esm.js → android-12-switch-C3WlgdKQ.esm.js} +11 -9
- package/dist/chunks/{android-12-switch-D3fU6Qtm.esm.js.map → android-12-switch-C3WlgdKQ.esm.js.map} +1 -1
- package/dist/chunks/{android-12-switch-B5UmJZxg.js → android-12-switch-CVH-tc4s.js} +11 -9
- package/dist/chunks/{android-12-switch-B5UmJZxg.js.map → android-12-switch-CVH-tc4s.js.map} +1 -1
- package/dist/chunks/{apiHelper-BvnhN2uo.esm.js → apiHelper-DOCeCGD-.esm.js} +9 -4
- package/dist/chunks/apiHelper-DOCeCGD-.esm.js.map +1 -0
- package/dist/chunks/{apiHelper-BrzRrxpx.js → apiHelper-DSbRnRC1.js} +9 -4
- package/dist/chunks/apiHelper-DSbRnRC1.js.map +1 -0
- package/dist/chunks/{appbar-Dn00gF0A.esm.js → appbar-CrH_SjSo.esm.js} +2 -2
- package/dist/chunks/{appbar-Dn00gF0A.esm.js.map → appbar-CrH_SjSo.esm.js.map} +1 -1
- package/dist/chunks/{appbar-dBRF2bDa.js → appbar-D6bWAv8x.js} +2 -2
- package/dist/chunks/{appbar-dBRF2bDa.js.map → appbar-D6bWAv8x.js.map} +1 -1
- package/dist/chunks/{default-data-BCroqbYg.js → default-data-9-BQ_0wq.js} +7 -7
- package/dist/chunks/{default-data-BCroqbYg.js.map → default-data-9-BQ_0wq.js.map} +1 -1
- package/dist/chunks/{default-data-otyfdCNu.esm.js → default-data-D1f8nbl6.esm.js} +7 -7
- package/dist/chunks/{default-data-otyfdCNu.esm.js.map → default-data-D1f8nbl6.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-BHrQ0vTa.js → fullScreen-BtbOZq50.js} +2 -2
- package/dist/chunks/{fullScreen-BHrQ0vTa.js.map → fullScreen-BtbOZq50.js.map} +1 -1
- package/dist/chunks/{fullScreen-BdyRsEBm.esm.js → fullScreen-DSPrY2tY.esm.js} +2 -2
- package/dist/chunks/{fullScreen-BdyRsEBm.esm.js.map → fullScreen-DSPrY2tY.esm.js.map} +1 -1
- package/dist/chunks/module-routes-config-B8IucBuj.js +19 -0
- package/dist/chunks/module-routes-config-B8IucBuj.js.map +1 -0
- package/dist/chunks/module-routes-config-CCkZEtfg.esm.js +20 -0
- package/dist/chunks/module-routes-config-CCkZEtfg.esm.js.map +1 -0
- package/dist/chunks/{modules-BDHGBfwa.js → modules-C3T2Pnwc.js} +10 -5
- package/dist/chunks/modules-C3T2Pnwc.js.map +1 -0
- package/dist/chunks/{modules-UIv-lDBW.esm.js → modules-D5_hDIg9.esm.js} +10 -5
- package/dist/chunks/modules-D5_hDIg9.esm.js.map +1 -0
- package/dist/chunks/{page-context-DRbgpYFO.js → page-context-BKgBvHxw.js} +2 -2
- package/dist/chunks/{page-context-DRbgpYFO.js.map → page-context-BKgBvHxw.js.map} +1 -1
- package/dist/chunks/{page-context-DLUB4Qx9.esm.js → page-context-DATjzley.esm.js} +2 -2
- package/dist/chunks/{page-context-DLUB4Qx9.esm.js.map → page-context-DATjzley.esm.js.map} +1 -1
- package/dist/chunks/pathname.hrms-2_BEXO_r.js +262 -0
- package/dist/chunks/pathname.hrms-2_BEXO_r.js.map +1 -0
- package/dist/chunks/pathname.hrms-C5ojsho0.esm.js +263 -0
- package/dist/chunks/pathname.hrms-C5ojsho0.esm.js.map +1 -0
- package/dist/chunks/{route-page-map-DPlRjCJm.esm.js → route-page-map-C4wM0M4A.esm.js} +2 -2
- package/dist/chunks/{route-page-map-DPlRjCJm.esm.js.map → route-page-map-C4wM0M4A.esm.js.map} +1 -1
- package/dist/chunks/{route-page-map-Btth_lp5.js → route-page-map-CJLyl6P1.js} +2 -2
- package/dist/chunks/{route-page-map-Btth_lp5.js.map → route-page-map-CJLyl6P1.js.map} +1 -1
- package/dist/chunks/{sidebar-Dcw_6aQ7.js → sidebar-D2Q9rQrz.js} +2 -2
- package/dist/chunks/{sidebar-Dcw_6aQ7.js.map → sidebar-D2Q9rQrz.js.map} +1 -1
- package/dist/chunks/{sidebar-PZqii53B.esm.js → sidebar-gl6ML9FB.esm.js} +2 -2
- package/dist/chunks/{sidebar-PZqii53B.esm.js.map → sidebar-gl6ML9FB.esm.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-DY4Uklrh.esm.js → sidebarScreen-57BCIH9V.esm.js} +3 -3
- package/dist/chunks/{sidebarScreen-DY4Uklrh.esm.js.map → sidebarScreen-57BCIH9V.esm.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-FH1CEH8k.js → sidebarScreen-CnsblLHN.js} +3 -3
- package/dist/chunks/{sidebarScreen-FH1CEH8k.js.map → sidebarScreen-CnsblLHN.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-UBPKubPh.js → uom-field-wrapper-CjqCwlbR.js} +9 -9
- package/dist/chunks/{uom-field-wrapper-UBPKubPh.js.map → uom-field-wrapper-CjqCwlbR.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-CeeTt3Ph.esm.js → uom-field-wrapper-CzXOP8fb.esm.js} +9 -9
- package/dist/chunks/{uom-field-wrapper-CeeTt3Ph.esm.js.map → uom-field-wrapper-CzXOP8fb.esm.js.map} +1 -1
- package/dist/chunks/{useAccountSetting-B5qXSiGa.js → useAccountSetting-ChWinjqQ.js} +2 -2
- package/dist/chunks/{useAccountSetting-B5qXSiGa.js.map → useAccountSetting-ChWinjqQ.js.map} +1 -1
- package/dist/chunks/{useAccountSetting-BcPg1o6H.esm.js → useAccountSetting-nBdUAbgS.esm.js} +2 -2
- package/dist/chunks/{useAccountSetting-BcPg1o6H.esm.js.map → useAccountSetting-nBdUAbgS.esm.js.map} +1 -1
- package/dist/chunks/{useReduxIntegration-CPPcf1p7.esm.js → useReduxIntegration--sS2yQ4F.esm.js} +2 -2
- package/dist/chunks/{useReduxIntegration-CPPcf1p7.esm.js.map → useReduxIntegration--sS2yQ4F.esm.js.map} +1 -1
- package/dist/chunks/{useReduxIntegration-DvUNoDIr.js → useReduxIntegration-D6MZKdkS.js} +2 -2
- package/dist/chunks/{useReduxIntegration-DvUNoDIr.js.map → useReduxIntegration-D6MZKdkS.js.map} +1 -1
- package/dist/components/index.esm.js +6 -6
- package/dist/components/index.js +6 -6
- package/dist/components/providers/ERPUIProvider.d.ts +1 -0
- package/dist/constants/index.esm.js +3 -3
- package/dist/constants/index.js +3 -3
- package/dist/constants/pathnames/pathname.hrms.d.ts +61 -3
- package/dist/contexts/index.esm.js +1 -1
- package/dist/contexts/index.js +1 -1
- package/dist/hooks/index.esm.js +3 -3
- package/dist/hooks/index.js +3 -3
- package/dist/index.esm.js +45 -40
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +19 -14
- package/dist/index.js.map +1 -1
- package/dist/layout/index.esm.js +2 -2
- package/dist/layout/index.js +2 -2
- package/dist/src/components/providers/ERPUIProvider.d.ts +1 -0
- package/dist/src/constants/pathnames/pathname.hrms.d.ts +61 -3
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/module-routes-config.d.ts +34 -0
- package/dist/src/views/form-builder/utils/common.d.ts +1 -1
- package/dist/utils/index.esm.js +5 -0
- package/dist/utils/index.esm.js.map +1 -1
- package/dist/utils/index.js +5 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/module-routes-config.d.ts +34 -0
- package/dist/views/form-builder/utils/common.d.ts +1 -1
- package/dist/views/index.esm.js +7 -7
- package/dist/views/index.js +6 -6
- package/package.json +1 -1
- package/dist/chunks/apiHelper-BrzRrxpx.js.map +0 -1
- package/dist/chunks/apiHelper-BvnhN2uo.esm.js.map +0 -1
- package/dist/chunks/modules-BDHGBfwa.js.map +0 -1
- package/dist/chunks/modules-UIv-lDBW.esm.js.map +0 -1
- package/dist/chunks/pathname.hrms-BVwbtB1M.js +0 -109
- package/dist/chunks/pathname.hrms-BVwbtB1M.js.map +0 -1
- package/dist/chunks/pathname.hrms-BiL7sQv0.esm.js +0 -110
- package/dist/chunks/pathname.hrms-BiL7sQv0.esm.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from "./jsx-runtime-ClFauRgV.esm.js";
|
|
2
2
|
import { k as interopRequireDefaultExports, y as internal_processStyles, e as _objectWithoutPropertiesLoose, v as styled$2, _ 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, 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$9, B as Button$1, M as Modal, c as Select$1, S as SearchBar, E as Typography$1, _ as _inheritsLoose, W as forceReflow, i as Transition, X as classNamesShape, u as useTheme$4, Y as useSlotProps, Q as IconButton$1, P as Paper, Z as Fade, s as Modal$1, $ as Backdrop, a0 as Portal, V as refType, p as HTMLElementType, o as chainPropTypes, a1 as Grow, a2 as FocusTrap, h as ButtonBase, z as List, v as ListItem, a3 as TransitionGroup, a4 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, a5 as MenuList, a6 as Divider$1, T as TextField$1, e as Tooltip$1, F as default_1$b, x as default_1$c, C as ConfirmPopUp, D as DynamicInput, d as Toast, n as elementAcceptingRef, a7 as exactProp, f as Box$1, b as Avatar } from "./appbar-
|
|
3
|
+
import { y as default_1$9, B as Button$1, M as Modal, c as Select$1, S as SearchBar, E as Typography$1, _ as _inheritsLoose, W as forceReflow, i as Transition, X as classNamesShape, u as useTheme$4, Y as useSlotProps, Q as IconButton$1, P as Paper, Z as Fade, s as Modal$1, $ as Backdrop, a0 as Portal, V as refType, p as HTMLElementType, o as chainPropTypes, a1 as Grow, a2 as FocusTrap, h as ButtonBase, z as List, v as ListItem, a3 as TransitionGroup, a4 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, a5 as MenuList, a6 as Divider$1, T as TextField$1, e as Tooltip$1, F as default_1$b, x as default_1$c, C as ConfirmPopUp, D as DynamicInput, d as Toast, n as elementAcceptingRef, a7 as exactProp, f as Box$1, b as Avatar } from "./appbar-CrH_SjSo.esm.js";
|
|
4
4
|
import { r as requireCreateSvgIcon, d as useEnhancedEffect, T as Typography, i as default_1$a, 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-C4WcddEE.esm.js";
|
|
5
5
|
import { AccordionSummary, AccordionDetails, styled as styled$1, Accordion as Accordion$1, useTheme as useTheme$3, useMediaQuery as useMediaQuery$1, DialogTitle, IconButton, Tabs as Tabs$1, Tab as Tab$1, MenuItem, DialogActions as DialogActions$1, Box, Checkbox as Checkbox$1, Radio as Radio$1, RadioGroup, FormControlLabel, Tooltip, Divider, CircularProgress, OutlinedInput as OutlinedInput$1, InputAdornment as InputAdornment$1, ListItemIcon, ListItemText, Grid, DialogContent as DialogContent$1, Stack as Stack$1, Select as Select$2, Autocomplete, Menu as Menu$3, Alert as Alert$1, FormControl as FormControl$1, FormHelperText as FormHelperText$1, Chip as Chip$2, Dialog as Dialog$1, Grow as Grow$1, Breadcrumbs, TextField as TextField$2, List as List$1, ListItem as ListItem$1, ListItemAvatar, Switch as Switch$1 } from "@mui/material";
|
|
6
6
|
import { useDrag, useDrop } from "react-dnd";
|
|
@@ -18,7 +18,7 @@ import dayjs from "dayjs";
|
|
|
18
18
|
import { aU as formatText, A as fetchApi, a8 as getErrorMessage, aO as toFixedWithNumbers, ac as getFileName, M as formatAmount, Q as formatDate, W as formatLabel, S as SECTION_TYPES, aL as skuGenerator, aT as fetchOptions, ar as getToken, aZ as postV1Designation, a_ as postV1DepartmentsTeams, a$ 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-B-nmtH5r.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 { f as usePages, b as useDeepMemo, u as useAccountingSetting, d as useLocationFilter } from "./useAccountSetting-
|
|
21
|
+
import { f as usePages, b as useDeepMemo, u as useAccountingSetting, d as useLocationFilter } from "./useAccountSetting-nBdUAbgS.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";
|
|
@@ -27,11 +27,11 @@ import { T as Trash, C as CheckBoxIcon, q as RecgtangleIcon, F as FilledCircle,
|
|
|
27
27
|
import { bh as postV1JournalTypes, bi as postV1SourceTypes, bj as postV1PartiesIndustry, bk as postV1CategoryItems, bl as postV1Brand, bm as postV1InventoryFixedAssetItems, p as postV1Parties, bn as postV1WarehouseLocation, bo as getV1FilterFilterTable, bp as deleteV1FilterId, bq as putV1FilterId, z as getV1FilterResource, br as postV1Filter } from "./api-BAbF3OU7.esm.js";
|
|
28
28
|
import { a as auth } from "./api-config-GOys-syK.esm.js";
|
|
29
29
|
import { enqueueSnackbar } from "notistack";
|
|
30
|
-
import { aZ as routeToResourceMap } from "./route-page-map-
|
|
30
|
+
import { aZ as routeToResourceMap } from "./route-page-map-C4wM0M4A.esm.js";
|
|
31
31
|
import { useNavigate, useLocation, Link } 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-
|
|
34
|
+
import { i as initialFilter, d as defaultPageState } from "./page-context-DATjzley.esm.js";
|
|
35
35
|
import { S as Search } from "./tick-CRp4S9uN.esm.js";
|
|
36
36
|
import { useDispatch, useSelector } from "react-redux";
|
|
37
37
|
import { b as setSharedPage, v as getAllUserAndDepartmentDropdown, p as pinToDashboardList, y as sharePage } from "./reducer-Gajha1Kz.esm.js";
|
|
@@ -40,9 +40,9 @@ import { useMaterialReactTable, MaterialReactTable } from "material-react-table"
|
|
|
40
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
42
|
import { D as Document } from "./document-DKQMhgnk.esm.js";
|
|
43
|
-
import { P as PathnameDocument } from "./modules-
|
|
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
|
-
import { a as PathnameUsers } from "./pathname.hrms-
|
|
45
|
+
import { a as PathnameUsers } from "./pathname.hrms-C5ojsho0.esm.js";
|
|
46
46
|
import parsePhoneNumberFromString from "libphonenumber-js";
|
|
47
47
|
import { c as createParties } from "./actionCreator-DmP63jZz.esm.js";
|
|
48
48
|
let cachedType;
|
|
@@ -32840,8 +32840,10 @@ const DynamicToggleButton = memo(({
|
|
|
32840
32840
|
{
|
|
32841
32841
|
...toggleSwitchProps,
|
|
32842
32842
|
name,
|
|
32843
|
-
checked: field.value,
|
|
32844
|
-
onChange:
|
|
32843
|
+
checked: Boolean(field.value),
|
|
32844
|
+
onChange: (e) => {
|
|
32845
|
+
field.onChange(e.target.checked);
|
|
32846
|
+
},
|
|
32845
32847
|
label: title2,
|
|
32846
32848
|
disabled: Boolean(disabled),
|
|
32847
32849
|
labelPosition: titlePosition
|
|
@@ -40716,4 +40718,4 @@ export {
|
|
|
40716
40718
|
DynamicTagsInput as y,
|
|
40717
40719
|
DynamicTime as z
|
|
40718
40720
|
};
|
|
40719
|
-
//# sourceMappingURL=android-12-switch-
|
|
40721
|
+
//# sourceMappingURL=android-12-switch-C3WlgdKQ.esm.js.map
|