@erpsquad/common 1.10.61 → 1.10.63
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-J0ITULsH.esm.js → ERPUIProvider-BBpkVsj9.esm.js} +6 -6
- package/dist/chunks/{ERPUIProvider-J0ITULsH.esm.js.map → ERPUIProvider-BBpkVsj9.esm.js.map} +1 -1
- package/dist/chunks/{ERPUIProvider-BK3ErZzr.js → ERPUIProvider-PAl_tpW_.js} +6 -6
- package/dist/chunks/{ERPUIProvider-BK3ErZzr.js.map → ERPUIProvider-PAl_tpW_.js.map} +1 -1
- package/dist/chunks/{android-12-switch-DwQ80MjS.js → android-12-switch-WBRkjBCP.js} +22 -15
- package/dist/chunks/{android-12-switch-DwQ80MjS.js.map → android-12-switch-WBRkjBCP.js.map} +1 -1
- package/dist/chunks/{android-12-switch-CWsjQ9_V.esm.js → android-12-switch-XAicROeO.esm.js} +22 -15
- package/dist/chunks/{android-12-switch-CWsjQ9_V.esm.js.map → android-12-switch-XAicROeO.esm.js.map} +1 -1
- package/dist/chunks/{appbar-BKCYuYKD.js → appbar-17zpqli4.js} +6 -6
- package/dist/chunks/appbar-17zpqli4.js.map +1 -0
- package/dist/chunks/{appbar-CQ5FSUhV.esm.js → appbar-BBLrVA6U.esm.js} +6 -6
- package/dist/chunks/appbar-BBLrVA6U.esm.js.map +1 -0
- package/dist/chunks/{checkbox-DVpvboV2.esm.js → checkbox-BG9DbVQ5.esm.js} +3 -3
- package/dist/chunks/{checkbox-DVpvboV2.esm.js.map → checkbox-BG9DbVQ5.esm.js.map} +1 -1
- package/dist/chunks/{checkbox-D9Q_dONB.js → checkbox-CS7OvJZk.js} +3 -3
- package/dist/chunks/{checkbox-D9Q_dONB.js.map → checkbox-CS7OvJZk.js.map} +1 -1
- package/dist/chunks/{default-data-B1mGeShg.esm.js → default-data-CK-90IND.esm.js} +12 -12
- package/dist/chunks/{default-data-B1mGeShg.esm.js.map → default-data-CK-90IND.esm.js.map} +1 -1
- package/dist/chunks/{default-data-BOPncQrd.js → default-data-Do_oTvMU.js} +12 -12
- package/dist/chunks/{default-data-BOPncQrd.js.map → default-data-Do_oTvMU.js.map} +1 -1
- package/dist/chunks/{form-builder-deconversion-B7Ico4Wt.js → form-builder-deconversion-CtfddwVS.js} +2 -2
- package/dist/chunks/form-builder-deconversion-CtfddwVS.js.map +1 -0
- package/dist/chunks/{form-builder-deconversion-CUr6uDVY.esm.js → form-builder-deconversion-DNCtkxQC.esm.js} +2 -2
- package/dist/chunks/form-builder-deconversion-DNCtkxQC.esm.js.map +1 -0
- package/dist/chunks/{fullScreen-C6wmX53f.esm.js → fullScreen-B5e0kvj4.esm.js} +2 -2
- package/dist/chunks/{fullScreen-C6wmX53f.esm.js.map → fullScreen-B5e0kvj4.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-Ilje5t_2.js → fullScreen-CzRFGTzg.js} +2 -2
- package/dist/chunks/{fullScreen-Ilje5t_2.js.map → fullScreen-CzRFGTzg.js.map} +1 -1
- package/dist/chunks/{modules-DhLwjN8v.js → modules-BEfRrTxc.js} +2 -2
- package/dist/chunks/{modules-DhLwjN8v.js.map → modules-BEfRrTxc.js.map} +1 -1
- package/dist/chunks/{modules-tItvvhnF.esm.js → modules-BjL8mfuw.esm.js} +2 -2
- package/dist/chunks/{modules-tItvvhnF.esm.js.map → modules-BjL8mfuw.esm.js.map} +1 -1
- package/dist/chunks/{page-context-CvxEbMEs.esm.js → page-context-BR0JEfCp.esm.js} +3 -3
- package/dist/chunks/{page-context-CvxEbMEs.esm.js.map → page-context-BR0JEfCp.esm.js.map} +1 -1
- package/dist/chunks/{page-context-C1aLBCMN.js → page-context-D32zeXhS.js} +3 -3
- package/dist/chunks/{page-context-C1aLBCMN.js.map → page-context-D32zeXhS.js.map} +1 -1
- package/dist/chunks/{reducer-CEIlU0Ko.esm.js → reducer-BTCTEHl_.esm.js} +2 -2
- package/dist/chunks/{reducer-CEIlU0Ko.esm.js.map → reducer-BTCTEHl_.esm.js.map} +1 -1
- package/dist/chunks/{reducer-DDNHc1q8.js → reducer-DznW4Uhk.js} +2 -2
- package/dist/chunks/{reducer-DDNHc1q8.js.map → reducer-DznW4Uhk.js.map} +1 -1
- package/dist/chunks/{route-page-map-pK2cJVjt.js → route-page-map-CuVKVc8s.js} +12 -5
- package/dist/chunks/route-page-map-CuVKVc8s.js.map +1 -0
- package/dist/chunks/{route-page-map-B-P_qkAc.esm.js → route-page-map-gBJ6YfCI.esm.js} +12 -5
- package/dist/chunks/route-page-map-gBJ6YfCI.esm.js.map +1 -0
- package/dist/chunks/{sidebar-CuuG9Cro.js → sidebar-CGHpNE59.js} +2 -2
- package/dist/chunks/{sidebar-CuuG9Cro.js.map → sidebar-CGHpNE59.js.map} +1 -1
- package/dist/chunks/{sidebar-XnB3MZSx.esm.js → sidebar-CaMjOaT0.esm.js} +2 -2
- package/dist/chunks/{sidebar-XnB3MZSx.esm.js.map → sidebar-CaMjOaT0.esm.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-oRVnKUwK.js → sidebarScreen-BMRTGPNT.js} +3 -3
- package/dist/chunks/{sidebarScreen-oRVnKUwK.js.map → sidebarScreen-BMRTGPNT.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-wd1XHW7h.esm.js → sidebarScreen-vQN2vT2D.esm.js} +3 -3
- package/dist/chunks/{sidebarScreen-wd1XHW7h.esm.js.map → sidebarScreen-vQN2vT2D.esm.js.map} +1 -1
- package/dist/chunks/{store-4PjkVqCL.js → store-BlcYtLUe.js} +2 -2
- package/dist/chunks/{store-4PjkVqCL.js.map → store-BlcYtLUe.js.map} +1 -1
- package/dist/chunks/{store-0dCHFFVS.esm.js → store-Djcai2P1.esm.js} +2 -2
- package/dist/chunks/{store-0dCHFFVS.esm.js.map → store-Djcai2P1.esm.js.map} +1 -1
- package/dist/chunks/{translations-C3zIy7AK.js → translations-BUtRMBGm.js} +12 -5
- package/dist/chunks/translations-BUtRMBGm.js.map +1 -0
- package/dist/chunks/{translations-DQnNjq2i.esm.js → translations-D-6zNK2j.esm.js} +13 -6
- package/dist/chunks/translations-D-6zNK2j.esm.js.map +1 -0
- package/dist/chunks/{uom-field-wrapper-D9vQnJ7u.esm.js → uom-field-wrapper-DtW2ZDgN.esm.js} +48 -36
- package/dist/chunks/uom-field-wrapper-DtW2ZDgN.esm.js.map +1 -0
- package/dist/chunks/{uom-field-wrapper-DfH09cqm.js → uom-field-wrapper-xtQt1ONl.js} +48 -36
- package/dist/chunks/uom-field-wrapper-xtQt1ONl.js.map +1 -0
- package/dist/chunks/{useAddressContact-D7bXJ169.js → useAddressContact-CpNYDTXT.js} +4 -4
- package/dist/chunks/{useAddressContact-D7bXJ169.js.map → useAddressContact-CpNYDTXT.js.map} +1 -1
- package/dist/chunks/{useAddressContact-CgADuA2u.esm.js → useAddressContact-Cz2yg1H9.esm.js} +4 -4
- package/dist/chunks/{useAddressContact-CgADuA2u.esm.js.map → useAddressContact-Cz2yg1H9.esm.js.map} +1 -1
- package/dist/components/calculation-summary/calculation-summary.d.ts +2 -0
- package/dist/components/index.esm.js +8 -8
- package/dist/components/index.js +8 -8
- package/dist/constants/index.esm.js +2 -2
- package/dist/constants/index.js +2 -2
- 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 +22 -21
- package/dist/index.js +18 -17
- 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 +2 -2
- package/dist/redux/index.js +2 -2
- package/dist/src/components/calculation-summary/calculation-summary.d.ts +2 -0
- package/dist/src/utils/calculation.d.ts +3 -2
- package/dist/utils/calculation.d.ts +3 -2
- package/dist/utils/index.esm.js +4 -3
- package/dist/utils/index.js +3 -2
- package/dist/utils/index.js.map +1 -1
- package/dist/views/index.esm.js +8 -8
- package/dist/views/index.js +7 -7
- package/package.json +1 -1
- package/dist/chunks/appbar-BKCYuYKD.js.map +0 -1
- package/dist/chunks/appbar-CQ5FSUhV.esm.js.map +0 -1
- package/dist/chunks/form-builder-deconversion-B7Ico4Wt.js.map +0 -1
- package/dist/chunks/form-builder-deconversion-CUr6uDVY.esm.js.map +0 -1
- package/dist/chunks/route-page-map-B-P_qkAc.esm.js.map +0 -1
- package/dist/chunks/route-page-map-pK2cJVjt.js.map +0 -1
- package/dist/chunks/translations-C3zIy7AK.js.map +0 -1
- package/dist/chunks/translations-DQnNjq2i.esm.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-D9vQnJ7u.esm.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-DfH09cqm.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-BBLrVA6U.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-BVQ2r4xx.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";
|
|
@@ -12,14 +12,14 @@ import { Controller, useWatch, useFormContext, useForm, FormProvider } from "rea
|
|
|
12
12
|
/* empty css */
|
|
13
13
|
import { useTranslation } from "react-i18next";
|
|
14
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-_WEc_EZI.esm.js";
|
|
15
|
-
import { C as Chip$1, M as Menu$2, t as transformTableColumns, f as formBuilderDeConversion } from "./form-builder-deconversion-
|
|
15
|
+
import { C as Chip$1, M as Menu$2, t as transformTableColumns, f as formBuilderDeConversion } from "./form-builder-deconversion-DNCtkxQC.esm.js";
|
|
16
16
|
import * as Yup from "yup";
|
|
17
17
|
import dayjs from "dayjs";
|
|
18
18
|
import { aX as formatText, A as fetchApi, p as checkUniqueFields, aa as getErrorMessage, ae as getFileName, M as formatAmount, Q as formatDate, W as formatLabel, aR as toFixedWithNumbers, S as SECTION_TYPES, aO as skuGenerator, aW as fetchOptions, at as getToken, b1 as postV1Designation, b2 as postV1DepartmentsTeams, b3 as postV1Departments, a1 as generateFields, a2 as generateQueryString, aG as postImportSheet, ak as getOperatorLabel, ab as getExcelExportTemplate, ao as getPdfExportTemplate, ac as getExcelTemplateGenerateTemplate, a3 as generateRandomId } from "./common-BrAjOeOq.esm.js";
|
|
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-BG9DbVQ5.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,19 +28,19 @@ import { T as Trash, C as CheckBoxIcon, R as RecgtangleIcon, E as Edit } from ".
|
|
|
28
28
|
import { bp as getV1CompanyId, bB as postV1PaymentTerms, bC as postV1JournalTypes, bD as postV1SourceTypes, bE as postV1PartiesIndustry, bF as postV1CategoryItems, bG as postV1Brand, bH as postV1InventoryFixedAssetItems, p as postV1Parties, bI as postV1WarehouseLocation, bJ as getV1FilterFilterTable, bK as deleteV1FilterId, bL as putV1FilterId, A as getV1FilterResource, bM as postV1Filter } from "./api-DhR7H-jj.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, b1 as routeToResourceMap } from "./route-page-map-
|
|
31
|
+
import { P as PathnameHrms, a as PathnameUsers, b1 as routeToResourceMap } from "./route-page-map-gBJ6YfCI.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-BR0JEfCp.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
|
-
import { b as setSharedPage, w as getAllUserAndDepartmentDropdown, p as pinToDashboardList, z as sharePage } from "./reducer-
|
|
38
|
+
import { b as setSharedPage, w as getAllUserAndDepartmentDropdown, p as pinToDashboardList, z as sharePage } from "./reducer-BTCTEHl_.esm.js";
|
|
39
39
|
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-BjL8mfuw.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-aSdoEAnQ.esm.js";
|
|
@@ -29567,7 +29567,7 @@ ${val}`;
|
|
|
29567
29567
|
{
|
|
29568
29568
|
rows: [...addressRows],
|
|
29569
29569
|
columns: tableColumns(addressColumns(isKSA)),
|
|
29570
|
-
paginationModel: { pageNo: 1, limit:
|
|
29570
|
+
paginationModel: { pageNo: 1, limit: 20 },
|
|
29571
29571
|
totalPages: 20,
|
|
29572
29572
|
enableColumnDragging: false,
|
|
29573
29573
|
isResetRow: false,
|
|
@@ -29605,7 +29605,7 @@ ${val}`;
|
|
|
29605
29605
|
{
|
|
29606
29606
|
rows: [...contactRows],
|
|
29607
29607
|
columns: tableColumns(contactColumns),
|
|
29608
|
-
paginationModel: { pageNo: 1, limit:
|
|
29608
|
+
paginationModel: { pageNo: 1, limit: 20 },
|
|
29609
29609
|
totalPages: 20,
|
|
29610
29610
|
enableColumnDragging: false,
|
|
29611
29611
|
isResetRow: false,
|
|
@@ -30861,12 +30861,19 @@ const DynamicTable = React__default.memo(({
|
|
|
30861
30861
|
...column,
|
|
30862
30862
|
header: t(column.header),
|
|
30863
30863
|
Cell: (cellProps) => {
|
|
30864
|
-
var _a2, _b2, _c2, _d2;
|
|
30864
|
+
var _a2, _b2, _c2, _d2, _e;
|
|
30865
30865
|
if (originalCell) {
|
|
30866
30866
|
return originalCell(cellProps);
|
|
30867
30867
|
}
|
|
30868
30868
|
let v = cellProps.renderedCellValue;
|
|
30869
|
-
if (
|
|
30869
|
+
if ((_a2 = column.accessorKey) == null ? void 0 : _a2.endsWith(".items.name")) {
|
|
30870
|
+
const prefix = column.accessorKey.replace(/\.name$/, "");
|
|
30871
|
+
const item = _.get(cellProps.row.original, prefix);
|
|
30872
|
+
if (item == null ? void 0 : item.sku) {
|
|
30873
|
+
v = `${item.sku} - ${item.name}`;
|
|
30874
|
+
}
|
|
30875
|
+
}
|
|
30876
|
+
if (isSpar && column.type !== "currency" && typeof v === "number" && v && ((_b2 = String(v)) == null ? void 0 : _b2.includes("."))) {
|
|
30870
30877
|
return v = toFixedWithNumbers(v, 4);
|
|
30871
30878
|
}
|
|
30872
30879
|
switch (column.type) {
|
|
@@ -30876,14 +30883,14 @@ const DynamicTable = React__default.memo(({
|
|
|
30876
30883
|
case "date":
|
|
30877
30884
|
v = formatDate(
|
|
30878
30885
|
cellProps.renderedCellValue,
|
|
30879
|
-
((
|
|
30886
|
+
((_c2 = column.editProperties) == null ? void 0 : _c2.dateFormat) || "DD-MM-YYYY"
|
|
30880
30887
|
) || "-";
|
|
30881
30888
|
break;
|
|
30882
30889
|
case "currency":
|
|
30883
30890
|
v = cellProps.renderedCellValue ? `${formatAmount(cellProps.renderedCellValue, currencyFormat, symbolPosition, cs, isSpar ? 4 : void 0)}` : "-";
|
|
30884
30891
|
break;
|
|
30885
30892
|
case "stringOrArray": {
|
|
30886
|
-
const type = (
|
|
30893
|
+
const type = (_e = (_d2 = cellProps.row.original) == null ? void 0 : _d2.promotion_map_data) == null ? void 0 : _e.type;
|
|
30887
30894
|
v = Array.isArray(cellProps.renderedCellValue) ? cellProps.renderedCellValue.map((rcv) => rcv ? /* @__PURE__ */ jsxRuntimeExports.jsx(Chip$1, { label: takeCurencyOrPercentage(type, rcv) }) : null) : takeCurencyOrPercentage(type, cellProps.renderedCellValue);
|
|
30888
30895
|
break;
|
|
30889
30896
|
}
|
|
@@ -30941,7 +30948,7 @@ const DynamicTable = React__default.memo(({
|
|
|
30941
30948
|
rows,
|
|
30942
30949
|
columns: tableColumns(columns ? columns.map((col) => ({ ...col })) : []),
|
|
30943
30950
|
totalPages: 20,
|
|
30944
|
-
paginationModel: { pageNo: 1, limit:
|
|
30951
|
+
paginationModel: { pageNo: 1, limit: 20 },
|
|
30945
30952
|
enableEditing: false,
|
|
30946
30953
|
enableColumnDragging: false,
|
|
30947
30954
|
enableBottomToolbar: false,
|
|
@@ -41779,4 +41786,4 @@ export {
|
|
|
41779
41786
|
DynamicTagsInput as y,
|
|
41780
41787
|
DynamicTime as z
|
|
41781
41788
|
};
|
|
41782
|
-
//# sourceMappingURL=android-12-switch-
|
|
41789
|
+
//# sourceMappingURL=android-12-switch-XAicROeO.esm.js.map
|