@erpsquad/common 1.10.57 → 1.10.59
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-DNIk_P9N.js → ERPUIProvider-Dx510YOi.js} +4 -4
- package/dist/chunks/{ERPUIProvider-DNIk_P9N.js.map → ERPUIProvider-Dx510YOi.js.map} +1 -1
- package/dist/chunks/{ERPUIProvider-BJM1qtBf.esm.js → ERPUIProvider-f482ZZks.esm.js} +4 -4
- package/dist/chunks/{ERPUIProvider-BJM1qtBf.esm.js.map → ERPUIProvider-f482ZZks.esm.js.map} +1 -1
- package/dist/chunks/{android-12-switch-DPYQqw4U.js → android-12-switch-CN34IUv6.js} +8 -7
- package/dist/chunks/{android-12-switch-DPYQqw4U.js.map → android-12-switch-CN34IUv6.js.map} +1 -1
- package/dist/chunks/{android-12-switch-SPfvwO74.esm.js → android-12-switch-DMx6Q9Zi.esm.js} +8 -7
- package/dist/chunks/{android-12-switch-SPfvwO74.esm.js.map → android-12-switch-DMx6Q9Zi.esm.js.map} +1 -1
- package/dist/chunks/{appbar-CJ_YiTaE.esm.js → appbar-Cn3nzgcA.esm.js} +3 -3
- package/dist/chunks/{appbar-CJ_YiTaE.esm.js.map → appbar-Cn3nzgcA.esm.js.map} +1 -1
- package/dist/chunks/{appbar-B7Don9mm.js → appbar-DmQnXpjh.js} +3 -3
- package/dist/chunks/{appbar-B7Don9mm.js.map → appbar-DmQnXpjh.js.map} +1 -1
- package/dist/chunks/{checkbox-BhH6VEUa.esm.js → checkbox-CY109f8U.esm.js} +3 -3
- package/dist/chunks/{checkbox-BhH6VEUa.esm.js.map → checkbox-CY109f8U.esm.js.map} +1 -1
- package/dist/chunks/{checkbox-C1ZTJUlQ.js → checkbox-DCDNuj0h.js} +3 -3
- package/dist/chunks/{checkbox-C1ZTJUlQ.js.map → checkbox-DCDNuj0h.js.map} +1 -1
- package/dist/chunks/{default-data-Ci8MCe7E.js → default-data-Av7VuzZ7.js} +6 -6
- package/dist/chunks/{default-data-Ci8MCe7E.js.map → default-data-Av7VuzZ7.js.map} +1 -1
- package/dist/chunks/{default-data-DoAHAkBR.esm.js → default-data-Dl7xjyme.esm.js} +6 -6
- package/dist/chunks/{default-data-DoAHAkBR.esm.js.map → default-data-Dl7xjyme.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-B2LsVuQY.js → fullScreen-BRRYokze.js} +2 -2
- package/dist/chunks/{fullScreen-B2LsVuQY.js.map → fullScreen-BRRYokze.js.map} +1 -1
- package/dist/chunks/{fullScreen-CVRwgry_.esm.js → fullScreen-Dudkmbx3.esm.js} +2 -2
- package/dist/chunks/{fullScreen-CVRwgry_.esm.js.map → fullScreen-Dudkmbx3.esm.js.map} +1 -1
- package/dist/chunks/{modules-BstDoVbN.js → modules-BNuvy7fb.js} +2 -2
- package/dist/chunks/{modules-BstDoVbN.js.map → modules-BNuvy7fb.js.map} +1 -1
- package/dist/chunks/{modules-gZ7sN3SY.esm.js → modules-CrPGQR-7.esm.js} +2 -2
- package/dist/chunks/{modules-gZ7sN3SY.esm.js.map → modules-CrPGQR-7.esm.js.map} +1 -1
- package/dist/chunks/{page-context-ChBO0RIs.js → page-context-Bl5SEL1G.js} +2 -2
- package/dist/chunks/{page-context-ChBO0RIs.js.map → page-context-Bl5SEL1G.js.map} +1 -1
- package/dist/chunks/{page-context-OVe_dHlX.esm.js → page-context-Dy0COu6T.esm.js} +2 -2
- package/dist/chunks/{page-context-OVe_dHlX.esm.js.map → page-context-Dy0COu6T.esm.js.map} +1 -1
- package/dist/chunks/{route-page-map-7BVft1HF.js → route-page-map-C_stv0lM.js} +34 -1
- package/dist/chunks/{route-page-map-7BVft1HF.js.map → route-page-map-C_stv0lM.js.map} +1 -1
- package/dist/chunks/{route-page-map-BHHss936.esm.js → route-page-map-DRdSTiPH.esm.js} +134 -101
- package/dist/chunks/{route-page-map-BHHss936.esm.js.map → route-page-map-DRdSTiPH.esm.js.map} +1 -1
- package/dist/chunks/{sidebar-DDy7Ao3K.js → sidebar-DAyfQ8hX.js} +2 -2
- package/dist/chunks/{sidebar-DDy7Ao3K.js.map → sidebar-DAyfQ8hX.js.map} +1 -1
- package/dist/chunks/{sidebar-Dhnfy7is.esm.js → sidebar-DxMP9e4a.esm.js} +2 -2
- package/dist/chunks/{sidebar-Dhnfy7is.esm.js.map → sidebar-DxMP9e4a.esm.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-DuLhKJQB.js → sidebarScreen-B8a6hQQD.js} +3 -3
- package/dist/chunks/{sidebarScreen-DuLhKJQB.js.map → sidebarScreen-B8a6hQQD.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-Lox6-RBs.esm.js → sidebarScreen-DFeaZmHG.esm.js} +3 -3
- package/dist/chunks/{sidebarScreen-Lox6-RBs.esm.js.map → sidebarScreen-DFeaZmHG.esm.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-CsRIQR4E.esm.js → uom-field-wrapper-BqcSmcAs.esm.js} +32 -11
- package/dist/chunks/uom-field-wrapper-BqcSmcAs.esm.js.map +1 -0
- package/dist/chunks/{uom-field-wrapper-D_c8mueN.js → uom-field-wrapper-DlXciJko.js} +32 -11
- package/dist/chunks/uom-field-wrapper-DlXciJko.js.map +1 -0
- package/dist/chunks/{useAddressContact-DEl4_ZBi.js → useAddressContact-B4kEQFE5.js} +3 -3
- package/dist/chunks/{useAddressContact-DEl4_ZBi.js.map → useAddressContact-B4kEQFE5.js.map} +1 -1
- package/dist/chunks/{useAddressContact-BI2XYnuW.esm.js → useAddressContact-DbPBm_MA.esm.js} +3 -3
- package/dist/chunks/{useAddressContact-BI2XYnuW.esm.js.map → useAddressContact-DbPBm_MA.esm.js.map} +1 -1
- package/dist/components/index.esm.js +7 -7
- package/dist/components/index.js +7 -7
- package/dist/components/material-table/material-table.d.ts +2 -1
- package/dist/components/reports-title-bar/reports-title-bar.d.ts +4 -0
- package/dist/constants/defaultColumns.d.ts +1 -0
- package/dist/constants/index.esm.js +101 -100
- package/dist/constants/index.js +3 -2
- package/dist/constants/index.js.map +1 -1
- 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 +114 -113
- package/dist/index.js +14 -13
- 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/material-table/material-table.d.ts +2 -1
- package/dist/src/components/reports-title-bar/reports-title-bar.d.ts +4 -0
- package/dist/src/constants/defaultColumns.d.ts +1 -0
- package/dist/views/index.esm.js +9 -9
- package/dist/views/index.js +6 -6
- package/package.json +1 -1
- package/dist/chunks/uom-field-wrapper-CsRIQR4E.esm.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-D_c8mueN.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from "./jsx-runtime-ClFauRgV.esm.js";
|
|
2
2
|
import { A as internal_processStyles, e as _objectWithoutPropertiesLoose, x as styled$1, _ as _extends, j as capitalize, b as createTheme, o as isPlainObject, i as internal_serializeStyles, v as styleFunctionSx, B as resolveProps, D as formatMuiErrorMessage, E as clamp, P as PropTypes, F as handleBreakpoints, H as resolveBreakpointValues, I as createUnarySpacing, n as deepmerge, J as mergeBreakpointsInOrder, g as generateUtilityClass, K as getValue, d as defaultTheme$1, T as THEME_ID, k as interopRequireDefaultExports, l as getDefaultExportFromCjs, L as commonjsGlobal, u as useDefaultProps, f as alpha_1, y as lighten_1, z as darken_1 } from "./identifier-0SZUhw_A.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-
|
|
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-Cn3nzgcA.esm.js";
|
|
4
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-BCP231dC.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, 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";
|
|
@@ -19,7 +19,7 @@ import { aX as formatText, A as fetchApi, p as checkUniqueFields, aa as getError
|
|
|
19
19
|
import _, { sortBy, debounce as debounce$2, flatMap } from "lodash";
|
|
20
20
|
import { a as auth, b as getApiConfigSafe } from "./api-config-GOys-syK.esm.js";
|
|
21
21
|
import { Add as Add$1, Close, Upload, KeyboardArrowUp, KeyboardArrowDown as KeyboardArrowDown$1, Cancel, Share, Save as Save$1 } from "@mui/icons-material";
|
|
22
|
-
import { a as useApi, C as Checkbox, f as usePages, b as useDeepMemo, u as useAccountingSetting, d as useLocationFilter, g as usePermissions } from "./checkbox-
|
|
22
|
+
import { a as useApi, C as Checkbox, f as usePages, b as useDeepMemo, u as useAccountingSetting, d as useLocationFilter, g as usePermissions } from "./checkbox-CY109f8U.esm.js";
|
|
23
23
|
import { v as viewTypes } from "./action-bar-BsXTcYpL.esm.js";
|
|
24
24
|
import { QueryBuilder } from "react-querybuilder";
|
|
25
25
|
import { QueryBuilderMaterial } from "@react-querybuilder/material";
|
|
@@ -28,11 +28,11 @@ import { T as Trash, C as CheckBoxIcon, R as RecgtangleIcon, E as Edit } from ".
|
|
|
28
28
|
import { bp as getV1CompanyId, bA as postV1PaymentTerms, bB as postV1JournalTypes, bC as postV1SourceTypes, bD as postV1PartiesIndustry, bE as postV1CategoryItems, bF as postV1Brand, bG as postV1InventoryFixedAssetItems, p as postV1Parties, bH as postV1WarehouseLocation, bI as getV1FilterFilterTable, bJ as deleteV1FilterId, bK as putV1FilterId, A as getV1FilterResource, bL as postV1Filter } from "./api-s4Kstg3E.esm.js";
|
|
29
29
|
import { a as ArrowDown, F as FilledCircle, B as BlankCircle, M as MoreIcon, e as Close$1, c as ArrowUpDown, i as FolderSave, b as ArrowDownTwo, q as Filter$1, h as FilterRemove, g as Export, D as DocumentDownload, j as Import } from "./radio-button-DSUBR45C.esm.js";
|
|
30
30
|
import { enqueueSnackbar } from "notistack";
|
|
31
|
-
import { P as PathnameHrms, a as PathnameUsers,
|
|
31
|
+
import { P as PathnameHrms, a as PathnameUsers, b1 as routeToResourceMap } from "./route-page-map-DRdSTiPH.esm.js";
|
|
32
32
|
import { useNavigate, useLocation, Link, Navigate } from "react-router-dom";
|
|
33
33
|
import { u as useAppDispatch, a as useAppSelector } from "./hooks-Cj9Yhy-E.esm.js";
|
|
34
34
|
import { useDropzone } from "react-dropzone";
|
|
35
|
-
import { i as initialFilter, d as defaultPageState } from "./page-context-
|
|
35
|
+
import { i as initialFilter, d as defaultPageState } from "./page-context-Dy0COu6T.esm.js";
|
|
36
36
|
import { S as Save, b as Search$1 } from "./tick-BKOomNx0.esm.js";
|
|
37
37
|
import { useDispatch, useSelector } from "react-redux";
|
|
38
38
|
import { b as setSharedPage, w as getAllUserAndDepartmentDropdown, p as pinToDashboardList, z as sharePage } from "./reducer-CBsGk-Xh.esm.js";
|
|
@@ -40,7 +40,7 @@ import ReactPhoneInput from "react-phone-input-2";
|
|
|
40
40
|
import { useMaterialReactTable, MaterialReactTable } from "material-react-table";
|
|
41
41
|
import { u as useTheme$1, a as useTheme$2, G as GlobalStyles } from "./CssBaseline-DD305XvW.esm.js";
|
|
42
42
|
import { D as Document } from "./document-rki7DMqA.esm.js";
|
|
43
|
-
import { P as PathnameDocument } from "./modules-
|
|
43
|
+
import { P as PathnameDocument } from "./modules-CrPGQR-7.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-Dvo5a732.esm.js";
|
|
45
45
|
import parsePhoneNumberFromString from "libphonenumber-js";
|
|
46
46
|
import { c as createParties } from "./actionCreator-5jHoKNeA.esm.js";
|
|
@@ -27897,6 +27897,7 @@ const MaterialTable = React__default.memo(({
|
|
|
27897
27897
|
getSelectedData,
|
|
27898
27898
|
disabledDefaultActionColumnIcon = false,
|
|
27899
27899
|
enableAddCustomField = true,
|
|
27900
|
+
disableAddColumn = false,
|
|
27900
27901
|
enableRowDragging = false,
|
|
27901
27902
|
handleColumnResizing = () => {
|
|
27902
27903
|
},
|
|
@@ -28807,7 +28808,7 @@ const MaterialTable = React__default.memo(({
|
|
|
28807
28808
|
column.accessorKey
|
|
28808
28809
|
)),
|
|
28809
28810
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Divider, { flexItem: true, sx: { mt: "0.25rem !important", mb: "0.25rem !important" } }),
|
|
28810
|
-
/* @__PURE__ */ jsxRuntimeExports.jsxs(MenuItem, { onClick: handleAddButtonClick, className: "role-drp-list", children: [
|
|
28811
|
+
!disableAddColumn && /* @__PURE__ */ jsxRuntimeExports.jsxs(MenuItem, { onClick: handleAddButtonClick, className: "role-drp-list", children: [
|
|
28811
28812
|
/* @__PURE__ */ jsxRuntimeExports.jsx(ListItemIcon, { className: "add-icon", children: /* @__PURE__ */ jsxRuntimeExports.jsx("img", { src: images.common.addIcon, alt: "Add Icon" }) }),
|
|
28812
28813
|
/* @__PURE__ */ jsxRuntimeExports.jsx(ListItemText, { className: "title", children: t("common.addColumn_label") }),
|
|
28813
28814
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -41778,4 +41779,4 @@ export {
|
|
|
41778
41779
|
DynamicTagsInput as y,
|
|
41779
41780
|
DynamicTime as z
|
|
41780
41781
|
};
|
|
41781
|
-
//# sourceMappingURL=android-12-switch-
|
|
41782
|
+
//# sourceMappingURL=android-12-switch-DMx6Q9Zi.esm.js.map
|