@erpsquad/common 1.9.98 → 1.9.100
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/{actionCreator-DmP63jZz.esm.js → actionCreator-C-u8gtV-.esm.js} +2 -2
- package/dist/chunks/{actionCreator-DmP63jZz.esm.js.map → actionCreator-C-u8gtV-.esm.js.map} +1 -1
- package/dist/chunks/{actionCreator-DwRQnQNP.js → actionCreator-DSrKE0hh.js} +2 -2
- package/dist/chunks/{actionCreator-DwRQnQNP.js.map → actionCreator-DSrKE0hh.js.map} +1 -1
- package/dist/chunks/{android-12-switch-C3WlgdKQ.esm.js → android-12-switch-DSBIf4t0.esm.js} +39 -33
- package/dist/chunks/android-12-switch-DSBIf4t0.esm.js.map +1 -0
- package/dist/chunks/{android-12-switch-CVH-tc4s.js → android-12-switch-DvCF0gyx.js} +39 -33
- package/dist/chunks/android-12-switch-DvCF0gyx.js.map +1 -0
- package/dist/chunks/{apiHelper-DSbRnRC1.js → apiHelper-5tNsUtSY.js} +12 -9
- package/dist/chunks/apiHelper-5tNsUtSY.js.map +1 -0
- package/dist/chunks/{apiHelper-DOCeCGD-.esm.js → apiHelper-Cv_qWaYo.esm.js} +12 -9
- package/dist/chunks/apiHelper-Cv_qWaYo.esm.js.map +1 -0
- package/dist/chunks/{appbar-CrH_SjSo.esm.js → appbar-DM2iBqb4.esm.js} +4 -4
- package/dist/chunks/{appbar-CrH_SjSo.esm.js.map → appbar-DM2iBqb4.esm.js.map} +1 -1
- package/dist/chunks/{appbar-D6bWAv8x.js → appbar-rfkAYQdQ.js} +4 -4
- package/dist/chunks/{appbar-D6bWAv8x.js.map → appbar-rfkAYQdQ.js.map} +1 -1
- package/dist/chunks/{common-QvMCr1xx.js → common-6VUrYJDq.js} +10 -1
- package/dist/chunks/{common-QvMCr1xx.js.map → common-6VUrYJDq.js.map} +1 -1
- package/dist/chunks/{common-B-nmtH5r.esm.js → common-B6euWODJ.esm.js} +10 -1
- package/dist/chunks/{common-B-nmtH5r.esm.js.map → common-B6euWODJ.esm.js.map} +1 -1
- package/dist/chunks/{custom-editor-BvMlZ1Oc.js → custom-editor-DIQqk_yI.js} +2 -2
- package/dist/chunks/{custom-editor-BvMlZ1Oc.js.map → custom-editor-DIQqk_yI.js.map} +1 -1
- package/dist/chunks/{custom-editor-OrxKsIQY.esm.js → custom-editor-DnfTs5-j.esm.js} +2 -2
- package/dist/chunks/{custom-editor-OrxKsIQY.esm.js.map → custom-editor-DnfTs5-j.esm.js.map} +1 -1
- package/dist/chunks/{default-data-D1f8nbl6.esm.js → default-data-BV_r59U9.esm.js} +12 -12
- package/dist/chunks/{default-data-D1f8nbl6.esm.js.map → default-data-BV_r59U9.esm.js.map} +1 -1
- package/dist/chunks/{default-data-9-BQ_0wq.js → default-data-DQ7VPUoj.js} +12 -12
- package/dist/chunks/{default-data-9-BQ_0wq.js.map → default-data-DQ7VPUoj.js.map} +1 -1
- package/dist/chunks/{form-builder-conversion-Var45CEx.esm.js → form-builder-conversion-BdWASNEo.esm.js} +2 -2
- package/dist/chunks/{form-builder-conversion-Var45CEx.esm.js.map → form-builder-conversion-BdWASNEo.esm.js.map} +1 -1
- package/dist/chunks/{form-builder-conversion-nTpiw7Q2.js → form-builder-conversion-D69EGO5g.js} +2 -2
- package/dist/chunks/{form-builder-conversion-nTpiw7Q2.js.map → form-builder-conversion-D69EGO5g.js.map} +1 -1
- package/dist/chunks/{form-builder-deconversion-BjiEAt-i.esm.js → form-builder-deconversion-CUwBfP4C.esm.js} +3 -3
- package/dist/chunks/{form-builder-deconversion-BjiEAt-i.esm.js.map → form-builder-deconversion-CUwBfP4C.esm.js.map} +1 -1
- package/dist/chunks/{form-builder-deconversion-CFTqjOTb.js → form-builder-deconversion-v5GvXDZ9.js} +3 -3
- package/dist/chunks/{form-builder-deconversion-CFTqjOTb.js.map → form-builder-deconversion-v5GvXDZ9.js.map} +1 -1
- package/dist/chunks/{fullScreen-DSPrY2tY.esm.js → fullScreen-BO0UA3Zr.esm.js} +2 -2
- package/dist/chunks/{fullScreen-DSPrY2tY.esm.js.map → fullScreen-BO0UA3Zr.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-BtbOZq50.js → fullScreen-Bfrr-bT2.js} +2 -2
- package/dist/chunks/{fullScreen-BtbOZq50.js.map → fullScreen-Bfrr-bT2.js.map} +1 -1
- package/dist/chunks/{languageContext-s_EUKz_A.js → languageContext-BP7EvzMv.js} +3 -3
- package/dist/chunks/{languageContext-s_EUKz_A.js.map → languageContext-BP7EvzMv.js.map} +1 -1
- package/dist/chunks/{languageContext-CbCRCTbP.esm.js → languageContext-DM_LTp53.esm.js} +3 -3
- package/dist/chunks/{languageContext-CbCRCTbP.esm.js.map → languageContext-DM_LTp53.esm.js.map} +1 -1
- package/dist/chunks/{migration-utils-Bn35YUJM.esm.js → migration-utils-D9TSOBR0.esm.js} +2 -2
- package/dist/chunks/{migration-utils-Bn35YUJM.esm.js.map → migration-utils-D9TSOBR0.esm.js.map} +1 -1
- package/dist/chunks/{migration-utils-CmzV1tw3.js → migration-utils-DwLXzWtr.js} +2 -2
- package/dist/chunks/{migration-utils-CmzV1tw3.js.map → migration-utils-DwLXzWtr.js.map} +1 -1
- package/dist/chunks/{page-context-DATjzley.esm.js → page-context-B_wK6kLR.esm.js} +3 -3
- package/dist/chunks/{page-context-DATjzley.esm.js.map → page-context-B_wK6kLR.esm.js.map} +1 -1
- package/dist/chunks/{page-context-BKgBvHxw.js → page-context-h7LEMAG0.js} +3 -3
- package/dist/chunks/{page-context-BKgBvHxw.js.map → page-context-h7LEMAG0.js.map} +1 -1
- package/dist/chunks/{reducer-Gajha1Kz.esm.js → reducer-Bpuo5eq1.esm.js} +2 -2
- package/dist/chunks/{reducer-Gajha1Kz.esm.js.map → reducer-Bpuo5eq1.esm.js.map} +1 -1
- package/dist/chunks/{reducer-DGvVphqy.js → reducer-t-U331ho.js} +2 -2
- package/dist/chunks/{reducer-DGvVphqy.js.map → reducer-t-U331ho.js.map} +1 -1
- package/dist/chunks/{shareSlice-Cn2PGA6m.js → shareSlice-Br9IsR9k.js} +2 -2
- package/dist/chunks/{shareSlice-Cn2PGA6m.js.map → shareSlice-Br9IsR9k.js.map} +1 -1
- package/dist/chunks/{shareSlice-DGme6jBu.esm.js → shareSlice-CbG_VJcW.esm.js} +2 -2
- package/dist/chunks/{shareSlice-DGme6jBu.esm.js.map → shareSlice-CbG_VJcW.esm.js.map} +1 -1
- package/dist/chunks/{sidebar-D2Q9rQrz.js → sidebar-C2zkLZyA.js} +4 -4
- package/dist/chunks/{sidebar-D2Q9rQrz.js.map → sidebar-C2zkLZyA.js.map} +1 -1
- package/dist/chunks/{sidebar-gl6ML9FB.esm.js → sidebar-l49eLo8p.esm.js} +4 -4
- package/dist/chunks/{sidebar-gl6ML9FB.esm.js.map → sidebar-l49eLo8p.esm.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-57BCIH9V.esm.js → sidebarScreen-BQN2N8jx.esm.js} +5 -5
- package/dist/chunks/{sidebarScreen-57BCIH9V.esm.js.map → sidebarScreen-BQN2N8jx.esm.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-CnsblLHN.js → sidebarScreen-PoYXto7E.js} +5 -5
- package/dist/chunks/{sidebarScreen-CnsblLHN.js.map → sidebarScreen-PoYXto7E.js.map} +1 -1
- package/dist/chunks/{store-DEoLcgbp.js → store-BdrUnJ3G.js} +3 -3
- package/dist/chunks/{store-DEoLcgbp.js.map → store-BdrUnJ3G.js.map} +1 -1
- package/dist/chunks/{store-zDGOGRDm.esm.js → store-ksRZPIIc.esm.js} +3 -3
- package/dist/chunks/{store-zDGOGRDm.esm.js.map → store-ksRZPIIc.esm.js.map} +1 -1
- package/dist/chunks/{translations-BVvsrCTo.js → translations-1vp9srMj.js} +2 -2
- package/dist/chunks/{translations-BVvsrCTo.js.map → translations-1vp9srMj.js.map} +1 -1
- package/dist/chunks/{translations-DJFxXzIm.esm.js → translations-B5t-KZNN.esm.js} +2 -2
- package/dist/chunks/{translations-DJFxXzIm.esm.js.map → translations-B5t-KZNN.esm.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-CzXOP8fb.esm.js → uom-field-wrapper-DT4aQVEz.esm.js} +15 -13
- package/dist/chunks/uom-field-wrapper-DT4aQVEz.esm.js.map +1 -0
- package/dist/chunks/{uom-field-wrapper-CjqCwlbR.js → uom-field-wrapper-w7UsTsC3.js} +15 -13
- package/dist/chunks/uom-field-wrapper-w7UsTsC3.js.map +1 -0
- package/dist/chunks/{useAccountSetting-nBdUAbgS.esm.js → useAccountSetting-D6Hhq1Pz.esm.js} +3 -3
- package/dist/chunks/{useAccountSetting-nBdUAbgS.esm.js.map → useAccountSetting-D6Hhq1Pz.esm.js.map} +1 -1
- package/dist/chunks/{useAccountSetting-ChWinjqQ.js → useAccountSetting-ngzko7sX.js} +3 -3
- package/dist/chunks/{useAccountSetting-ChWinjqQ.js.map → useAccountSetting-ngzko7sX.js.map} +1 -1
- package/dist/chunks/{useAuth-BhsPEB2T.js → useAuth-HvZ6U960.js} +2 -2
- package/dist/chunks/{useAuth-BhsPEB2T.js.map → useAuth-HvZ6U960.js.map} +1 -1
- package/dist/chunks/{useAuth-C4WcddEE.esm.js → useAuth-Tfx2guEJ.esm.js} +2 -2
- package/dist/chunks/{useAuth-C4WcddEE.esm.js.map → useAuth-Tfx2guEJ.esm.js.map} +1 -1
- package/dist/chunks/{useLangauge-Bie5anLS.esm.js → useLangauge-BU_fP3ZM.esm.js} +2 -2
- package/dist/chunks/{useLangauge-Bie5anLS.esm.js.map → useLangauge-BU_fP3ZM.esm.js.map} +1 -1
- package/dist/chunks/{useLangauge-BtG3kyRv.js → useLangauge-DwsR1jcv.js} +2 -2
- package/dist/chunks/{useLangauge-BtG3kyRv.js.map → useLangauge-DwsR1jcv.js.map} +1 -1
- package/dist/chunks/{useReduxIntegration-D6MZKdkS.js → useReduxIntegration-JMVTp0lq.js} +4 -4
- package/dist/chunks/{useReduxIntegration-D6MZKdkS.js.map → useReduxIntegration-JMVTp0lq.js.map} +1 -1
- package/dist/chunks/{useReduxIntegration--sS2yQ4F.esm.js → useReduxIntegration-VgWJGErE.esm.js} +4 -4
- package/dist/chunks/{useReduxIntegration--sS2yQ4F.esm.js.map → useReduxIntegration-VgWJGErE.esm.js.map} +1 -1
- package/dist/components/index.esm.js +9 -9
- package/dist/components/index.js +9 -9
- 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/index.esm.js +24 -24
- package/dist/index.js +24 -24
- 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/utils/api.d.ts +10 -0
- package/dist/utils/api.d.ts +10 -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/android-12-switch-C3WlgdKQ.esm.js.map +0 -1
- package/dist/chunks/android-12-switch-CVH-tc4s.js.map +0 -1
- package/dist/chunks/apiHelper-DOCeCGD-.esm.js.map +0 -1
- package/dist/chunks/apiHelper-DSbRnRC1.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-CjqCwlbR.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-CzXOP8fb.esm.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as jsxRuntimeExports } from "./jsx-runtime-ClFauRgV.esm.js";
|
|
2
2
|
import { useFieldArray, Controller, useForm, useFormContext } from "react-hook-form";
|
|
3
3
|
import { P as PropTypes, e as _objectWithoutPropertiesLoose, _ as _extends$1, g as generateUtilityClass, j as capitalize, u as useDefaultProps, k as interopRequireDefaultExports, w as lighten_1, x as darken_1, f as alpha_1 } from "./identifier-u4E_J1of.esm.js";
|
|
4
|
-
import { i as default_1$3, T as Typography, e as useForkRef, o as ownerWindow, d as useEnhancedEffect, h as debounce, p as isMuiElement, u as useAuth, q as useControlled, r as requireCreateSvgIcon } from "./useAuth-
|
|
5
|
-
import { an as default_1$4, w as DynamicSelect, i as DateTimePicker, D as DatePicker$1, ao as useThemeProps, A as Accordion$1, C as Checkbox$1, g as ChipOrPlaceholder$1, j as DropdownButton, ad as TitleDropdownButton, T as HeaderCard, ab as TabBar, ap as default_1$5, a6 as SearchableSelect, aq as Chip$1, ac as TimePicker, ah as UploadMedia, a3 as PhoneInput, Z as ModalLoader, Y as MaterialTable, u as DynamicSearchSelect, n as DynamicDate, z as DynamicTime, f as ChipGenerator, l as DynamicCheckBox, M as Footer, F as Fallback, ar as TabContext, as as TabList, at as Tab, au as TabPanel, av as default_1$9, a as ActionBar, aw as SwitchBase } from "./android-12-switch-
|
|
6
|
-
import { D as DynamicInput, E as Typography$1, b as Avatar, G as o, M as Modal, c as Select, B as Button, C as ConfirmPopUp, f as Box$1, d as Toast, u as useTheme$1, S as SearchBar, I as resolveComponentProps, J as mergeSlotProps, K as appendOwnerState, P as Paper$1, o as chainPropTypes, h as ButtonBase$1, y as default_1$6, T as TextField$1, e as Tooltip$1, F as default_1$7, x as default_1$8, N as Menu$2, O as MenuItem$1, Q as IconButton$1, q as useRtl, z as List$1, v as ListItem, U as ListItemText$1, V as refType } from "./appbar-
|
|
4
|
+
import { i as default_1$3, T as Typography, e as useForkRef, o as ownerWindow, d as useEnhancedEffect, h as debounce, p as isMuiElement, u as useAuth, q as useControlled, r as requireCreateSvgIcon } from "./useAuth-Tfx2guEJ.esm.js";
|
|
5
|
+
import { an as default_1$4, w as DynamicSelect, i as DateTimePicker, D as DatePicker$1, ao as useThemeProps, A as Accordion$1, C as Checkbox$1, g as ChipOrPlaceholder$1, j as DropdownButton, ad as TitleDropdownButton, T as HeaderCard, ab as TabBar, ap as default_1$5, a6 as SearchableSelect, aq as Chip$1, ac as TimePicker, ah as UploadMedia, a3 as PhoneInput, Z as ModalLoader, Y as MaterialTable, u as DynamicSearchSelect, n as DynamicDate, z as DynamicTime, f as ChipGenerator, l as DynamicCheckBox, M as Footer, F as Fallback, ar as TabContext, as as TabList, at as Tab, au as TabPanel, av as default_1$9, a as ActionBar, aw as SwitchBase } from "./android-12-switch-DSBIf4t0.esm.js";
|
|
6
|
+
import { D as DynamicInput, E as Typography$1, b as Avatar, G as o, M as Modal, c as Select, B as Button, C as ConfirmPopUp, f as Box$1, d as Toast, u as useTheme$1, S as SearchBar, I as resolveComponentProps, J as mergeSlotProps, K as appendOwnerState, P as Paper$1, o as chainPropTypes, h as ButtonBase$1, y as default_1$6, T as TextField$1, e as Tooltip$1, F as default_1$7, x as default_1$8, N as Menu$2, O as MenuItem$1, Q as IconButton$1, q as useRtl, z as List$1, v as ListItem, U as ListItemText$1, V as refType } from "./appbar-DM2iBqb4.esm.js";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import React__default, { useState, lazy, useMemo, useRef, useEffect, useCallback, useContext, createElement, useLayoutEffect, createContext, cloneElement } from "react";
|
|
9
9
|
import DatePicker from "react-datepicker";
|
|
@@ -11,21 +11,21 @@ import DatePicker from "react-datepicker";
|
|
|
11
11
|
import { C as CalenderIcon, i as images } from "./images-BY6aQF32.esm.js";
|
|
12
12
|
import { KeyboardArrowLeft, KeyboardArrowRight, Close, ChevronLeft, ChevronRight, Add, AccessTimeRounded, KeyboardArrowUp, KeyboardArrowDown, Clear } from "@mui/icons-material";
|
|
13
13
|
import { Box, styled as styled$1, TextField, DialogTitle, IconButton, DialogContent, MenuItem, DialogActions, CircularProgress, FormControlLabel, Checkbox as Checkbox$2, ButtonBase, useTheme, useMediaQuery, Drawer, Grid, Tooltip, Collapse, Divider, ButtonGroup, Button as Button$1, Popper, Grow, Paper, ClickAwayListener, Menu as Menu$1, ListItemIcon, ListItemText, OutlinedInput, InputAdornment, Dialog, FormHelperText, Card as Card$1, CardContent as CardContent$1, TableRow, TableCell, TableContainer, Table, TableHead, TableBody } from "@mui/material";
|
|
14
|
-
import { u as useLanguage } from "./useLangauge-
|
|
14
|
+
import { u as useLanguage } from "./useLangauge-BU_fP3ZM.esm.js";
|
|
15
15
|
import dayjs from "dayjs";
|
|
16
16
|
/* empty css */
|
|
17
|
-
import { aU as formatText, ar as getToken, W as formatLabel, a1 as generateFields, G as fetchRentalResponseItems, H as fetchRfqItemsByIdForResponse, a8 as getErrorMessage, aI as responseItemDetailsColumns, _ as formatTimeForPayload, R as formatDateForPayload, ay as mapApiPayload, Q as formatDate, r as createdOnAndBy, aO as toFixedWithNumbers } from "./common-
|
|
17
|
+
import { aU as formatText, ar as getToken, W as formatLabel, a1 as generateFields, G as fetchRentalResponseItems, H as fetchRfqItemsByIdForResponse, a8 as getErrorMessage, aI as responseItemDetailsColumns, _ as formatTimeForPayload, R as formatDateForPayload, ay as mapApiPayload, Q as formatDate, r as createdOnAndBy, aO as toFixedWithNumbers } from "./common-B6euWODJ.esm.js";
|
|
18
18
|
import { useTranslation } from "react-i18next";
|
|
19
19
|
import { g as generateUtilityClasses, a as clsx, b as composeClasses, s as styled, f as reactIsExports, c as createSvgIcon, r as rootShouldForwardProp } from "./notification-Dr_nE2Dc.esm.js";
|
|
20
20
|
import { AlertTriangle, Clock, TrendingUp, Sparkles, ChevronDown, Check, Copy, ChevronUp } from "lucide-react";
|
|
21
21
|
import * as d3 from "d3";
|
|
22
22
|
import * as Yup from "yup";
|
|
23
|
-
import { C as Chip, M as Menu, t as transformTableColumns, b as formateValueByType, r as renderEmptyRowsFallback } from "./form-builder-deconversion-
|
|
23
|
+
import { C as Chip, M as Menu, t as transformTableColumns, b as formateValueByType, r as renderEmptyRowsFallback } from "./form-builder-deconversion-CUwBfP4C.esm.js";
|
|
24
24
|
import { M as MoreIcon, s as Filter, e as Close$1, b as ArrowUpDown, q as RecgtangleIcon, C as CheckBoxIcon$1, T as Trash, h as Export, r as Calendar$1, E as Edit } from "./trash-jodcm4T5.esm.js";
|
|
25
25
|
import { bc as getV1User, bd as getV1ReportsScheduleReport, M as getV1ReportsReportList, be as deleteV1ReportsScheduleReportId, bf as putV1ReportsUpdateScheduleReportId, bg as postV1ReportsScheduleReport, x as getV1FormBuilder } from "./api-BAbF3OU7.esm.js";
|
|
26
26
|
import { enqueueSnackbar, SnackbarProvider, useSnackbar } from "notistack";
|
|
27
27
|
import { useDispatch } from "react-redux";
|
|
28
|
-
import { a as apiHelper, c as useGenericDataFetcher, b as useAppTranslations } from "./apiHelper-
|
|
28
|
+
import { a as apiHelper, c as useGenericDataFetcher, b as useAppTranslations } from "./apiHelper-Cv_qWaYo.esm.js";
|
|
29
29
|
import Board from "@asseinfo/react-kanban";
|
|
30
30
|
import { c as calculateEntries, g as getEntityId, R as RANGE, a as handleCompareDateRangeSync, h as handleCompareDateRange } from "./navigation-utils-DvSBvB6q.esm.js";
|
|
31
31
|
import FullCalendar from "@fullcalendar/react";
|
|
@@ -39,22 +39,22 @@ import resourceTimelinePlugin from "@fullcalendar/resource-timeline";
|
|
|
39
39
|
import { E as Eye, a as EyeOff, A as ArrowDown } from "./tick-CRp4S9uN.esm.js";
|
|
40
40
|
import ReactFlagsSelect from "react-flags-select";
|
|
41
41
|
import { useParams, useLocation, useNavigate, Navigate } from "react-router-dom";
|
|
42
|
-
import { E as ErpLoader } from "./page-context-
|
|
42
|
+
import { E as ErpLoader } from "./page-context-B_wK6kLR.esm.js";
|
|
43
43
|
import { Gantt, ViewMode } from "gantt-task-react";
|
|
44
44
|
import { DateRange, Calendar } from "react-date-range";
|
|
45
45
|
import { v as viewTypes } from "./action-bar-BsXTcYpL.esm.js";
|
|
46
46
|
import DataEditor, { GridCellKind } from "@glideapps/glide-data-grid";
|
|
47
47
|
import { useExtraCells } from "@glideapps/glide-data-grid-cells";
|
|
48
48
|
import { createPortal } from "react-dom";
|
|
49
|
-
import { C as Collapse$1 } from "./sidebar-
|
|
49
|
+
import { C as Collapse$1 } from "./sidebar-l49eLo8p.esm.js";
|
|
50
50
|
import { useMaterialReactTable, MaterialReactTable } from "material-react-table";
|
|
51
51
|
import _$1 from "lodash";
|
|
52
|
-
import { f as usePages, b as useDeepMemo, g as usePermissions, a as useApi } from "./useAccountSetting-
|
|
52
|
+
import { f as usePages, b as useDeepMemo, g as usePermissions, a as useApi } from "./useAccountSetting-D6Hhq1Pz.esm.js";
|
|
53
53
|
import { P as PathnameDocument } from "./modules-D5_hDIg9.esm.js";
|
|
54
54
|
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";
|
|
55
55
|
import { a as PathnameUsers } from "./pathname.hrms-C5ojsho0.esm.js";
|
|
56
56
|
import { u as useAppDispatch, a as useAppSelector } from "./hooks-Cj9Yhy-E.esm.js";
|
|
57
|
-
import { f as fetchCompanies } from "./store-
|
|
57
|
+
import { f as fetchCompanies } from "./store-ksRZPIIc.esm.js";
|
|
58
58
|
import { useDropzone } from "react-dropzone";
|
|
59
59
|
import { a as auth, g as getApiConfig } from "./api-config-GOys-syK.esm.js";
|
|
60
60
|
/* empty css */
|
|
@@ -910,7 +910,7 @@ DynamicDateTime.propTypes = {
|
|
|
910
910
|
min_date: PropTypes.any,
|
|
911
911
|
max_date: PropTypes.any
|
|
912
912
|
};
|
|
913
|
-
const CustomEditor = lazy(() => import("./custom-editor-
|
|
913
|
+
const CustomEditor = lazy(() => import("./custom-editor-DnfTs5-j.esm.js"));
|
|
914
914
|
const DyanmicTextEditor = ({
|
|
915
915
|
formControl,
|
|
916
916
|
name,
|
|
@@ -8014,6 +8014,8 @@ const MaterialEditableTable = React__default.memo(({
|
|
|
8014
8014
|
v[vl] = val.name;
|
|
8015
8015
|
} else if (cell && (cell == null ? void 0 : cell.editVariant) == "date") {
|
|
8016
8016
|
v[vl] = dayjs(val).format((cell == null ? void 0 : cell.dateFormat) || "DD-MM-YYYY");
|
|
8017
|
+
} else if (cell && (cell == null ? void 0 : cell.editVariant) == "time") {
|
|
8018
|
+
v[vl] = dayjs.isDayjs(val) ? val.format("HH:mm") : val;
|
|
8017
8019
|
} else if (cell && (cell == null ? void 0 : cell.editVariant) == "select" && typeof val === "object" && val !== null) {
|
|
8018
8020
|
v[vl] = val.name || val.label || val.display_name || val.title || val.value || val.id || val;
|
|
8019
8021
|
} else if (cell && (cell == null ? void 0 : cell.editVariant) == "select" && typeof val === "string") {
|
|
@@ -15973,4 +15975,4 @@ export {
|
|
|
15973
15975
|
DynamicDateTime as y,
|
|
15974
15976
|
DynamicLayoutWrapper as z
|
|
15975
15977
|
};
|
|
15976
|
-
//# sourceMappingURL=uom-field-wrapper-
|
|
15978
|
+
//# sourceMappingURL=uom-field-wrapper-DT4aQVEz.esm.js.map
|