@erpsquad/common 1.10.13 → 1.10.14
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-DfoWAHND.js → actionCreator-D12DAbZ9.js} +2 -2
- package/dist/chunks/{actionCreator-DfoWAHND.js.map → actionCreator-D12DAbZ9.js.map} +1 -1
- package/dist/chunks/{actionCreator-wLPS1L4r.esm.js → actionCreator-lW4xJwo6.esm.js} +2 -2
- package/dist/chunks/{actionCreator-wLPS1L4r.esm.js.map → actionCreator-lW4xJwo6.esm.js.map} +1 -1
- package/dist/chunks/{android-12-switch-DhBR2E6R.esm.js → android-12-switch-CoThnqwA.esm.js} +10 -10
- package/dist/chunks/{android-12-switch-DhBR2E6R.esm.js.map → android-12-switch-CoThnqwA.esm.js.map} +1 -1
- package/dist/chunks/{android-12-switch-DvuYyJVA.js → android-12-switch-qRyUMiBR.js} +10 -10
- package/dist/chunks/{android-12-switch-DvuYyJVA.js.map → android-12-switch-qRyUMiBR.js.map} +1 -1
- package/dist/chunks/{apiHelper-Jpafa_JZ.esm.js → apiHelper-Bq4r8G-i.esm.js} +8 -8
- package/dist/chunks/{apiHelper-Jpafa_JZ.esm.js.map → apiHelper-Bq4r8G-i.esm.js.map} +1 -1
- package/dist/chunks/{apiHelper-xDWohh3M.js → apiHelper-_PRkyV1m.js} +8 -8
- package/dist/chunks/{apiHelper-xDWohh3M.js.map → apiHelper-_PRkyV1m.js.map} +1 -1
- package/dist/chunks/{appbar-D5u8rgOE.js → appbar-1U7U1Fvp.js} +4 -4
- package/dist/chunks/{appbar-D5u8rgOE.js.map → appbar-1U7U1Fvp.js.map} +1 -1
- package/dist/chunks/{appbar-DyD5mmWK.esm.js → appbar-vt61cSmt.esm.js} +4 -4
- package/dist/chunks/{appbar-DyD5mmWK.esm.js.map → appbar-vt61cSmt.esm.js.map} +1 -1
- package/dist/chunks/{common-CFOdrxGp.esm.js → common-CV3mgXKS.esm.js} +3 -3
- package/dist/chunks/{common-CFOdrxGp.esm.js.map → common-CV3mgXKS.esm.js.map} +1 -1
- package/dist/chunks/{common-B2d6aBap.js → common-_5nWR1og.js} +3 -3
- package/dist/chunks/{common-B2d6aBap.js.map → common-_5nWR1og.js.map} +1 -1
- package/dist/chunks/{custom-editor-5c9aykO1.esm.js → custom-editor-BZmByuu8.esm.js} +2 -2
- package/dist/chunks/{custom-editor-5c9aykO1.esm.js.map → custom-editor-BZmByuu8.esm.js.map} +1 -1
- package/dist/chunks/{custom-editor-C1KaEDrG.js → custom-editor-BmBkLFvo.js} +2 -2
- package/dist/chunks/{custom-editor-C1KaEDrG.js.map → custom-editor-BmBkLFvo.js.map} +1 -1
- package/dist/chunks/{default-data-DoKULVXg.esm.js → default-data-DGwWib7U.esm.js} +12 -12
- package/dist/chunks/{default-data-DoKULVXg.esm.js.map → default-data-DGwWib7U.esm.js.map} +1 -1
- package/dist/chunks/{default-data-Dzkk4uas.js → default-data-Dd73GJn0.js} +12 -12
- package/dist/chunks/{default-data-Dzkk4uas.js.map → default-data-Dd73GJn0.js.map} +1 -1
- package/dist/chunks/{form-builder-conversion-D9e3zpA1.esm.js → form-builder-conversion-BXoZIlka.esm.js} +2 -2
- package/dist/chunks/{form-builder-conversion-D9e3zpA1.esm.js.map → form-builder-conversion-BXoZIlka.esm.js.map} +1 -1
- package/dist/chunks/{form-builder-conversion-BwteCHVR.js → form-builder-conversion-C5mieOtj.js} +2 -2
- package/dist/chunks/{form-builder-conversion-BwteCHVR.js.map → form-builder-conversion-C5mieOtj.js.map} +1 -1
- package/dist/chunks/{form-builder-deconversion-Xk6yu3De.esm.js → form-builder-deconversion-DHU0Mcmc.esm.js} +3 -3
- package/dist/chunks/{form-builder-deconversion-Xk6yu3De.esm.js.map → form-builder-deconversion-DHU0Mcmc.esm.js.map} +1 -1
- package/dist/chunks/{form-builder-deconversion-CO59U4ww.js → form-builder-deconversion-_MiPmlIj.js} +3 -3
- package/dist/chunks/{form-builder-deconversion-CO59U4ww.js.map → form-builder-deconversion-_MiPmlIj.js.map} +1 -1
- package/dist/chunks/{fullScreen-CuNxcBCj.esm.js → fullScreen-DQxTHz1C.esm.js} +2 -2
- package/dist/chunks/{fullScreen-CuNxcBCj.esm.js.map → fullScreen-DQxTHz1C.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-JU0VMLaz.js → fullScreen-DXp-yHYf.js} +2 -2
- package/dist/chunks/{fullScreen-JU0VMLaz.js.map → fullScreen-DXp-yHYf.js.map} +1 -1
- package/dist/chunks/{languageContext-OrRFQDHd.esm.js → languageContext-Bw8B9BL_.esm.js} +3 -3
- package/dist/chunks/{languageContext-OrRFQDHd.esm.js.map → languageContext-Bw8B9BL_.esm.js.map} +1 -1
- package/dist/chunks/{languageContext-BpwmUDYR.js → languageContext-CT35Azi8.js} +3 -3
- package/dist/chunks/{languageContext-BpwmUDYR.js.map → languageContext-CT35Azi8.js.map} +1 -1
- package/dist/chunks/{migration-utils-DNqXzp5a.js → migration-utils-CnEwX72x.js} +2 -2
- package/dist/chunks/{migration-utils-DNqXzp5a.js.map → migration-utils-CnEwX72x.js.map} +1 -1
- package/dist/chunks/{migration-utils-CKH20lju.esm.js → migration-utils-Ds3uaVjM.esm.js} +2 -2
- package/dist/chunks/{migration-utils-CKH20lju.esm.js.map → migration-utils-Ds3uaVjM.esm.js.map} +1 -1
- package/dist/chunks/{page-context-CEL5twLl.js → page-context-C8gnS9FC.js} +3 -3
- package/dist/chunks/{page-context-CEL5twLl.js.map → page-context-C8gnS9FC.js.map} +1 -1
- package/dist/chunks/{page-context-BWGW9o99.esm.js → page-context-CaNYCJWQ.esm.js} +3 -3
- package/dist/chunks/{page-context-BWGW9o99.esm.js.map → page-context-CaNYCJWQ.esm.js.map} +1 -1
- package/dist/chunks/{reducer-Xe9fz1Ri.js → reducer-7sOKLwKI.js} +2 -2
- package/dist/chunks/{reducer-Xe9fz1Ri.js.map → reducer-7sOKLwKI.js.map} +1 -1
- package/dist/chunks/{reducer-BdM0KAS7.esm.js → reducer-DJIq7qoO.esm.js} +2 -2
- package/dist/chunks/{reducer-BdM0KAS7.esm.js.map → reducer-DJIq7qoO.esm.js.map} +1 -1
- package/dist/chunks/{shareSlice-BXbQtArP.esm.js → shareSlice-51WScgr_.esm.js} +2 -2
- package/dist/chunks/{shareSlice-BXbQtArP.esm.js.map → shareSlice-51WScgr_.esm.js.map} +1 -1
- package/dist/chunks/{shareSlice-DypX5NrR.js → shareSlice-7mdZ3RA4.js} +2 -2
- package/dist/chunks/{shareSlice-DypX5NrR.js.map → shareSlice-7mdZ3RA4.js.map} +1 -1
- package/dist/chunks/{sidebar-BsAEf8hQ.js → sidebar-BN0XT839.js} +4 -4
- package/dist/chunks/{sidebar-BsAEf8hQ.js.map → sidebar-BN0XT839.js.map} +1 -1
- package/dist/chunks/{sidebar-BhQfV42E.esm.js → sidebar-CpWfNjUT.esm.js} +4 -4
- package/dist/chunks/{sidebar-BhQfV42E.esm.js.map → sidebar-CpWfNjUT.esm.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-D5QznPYz.js → sidebarScreen-Bt1RH_Lr.js} +5 -5
- package/dist/chunks/{sidebarScreen-D5QznPYz.js.map → sidebarScreen-Bt1RH_Lr.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-M7KOyvgb.esm.js → sidebarScreen-CPB8iFBn.esm.js} +5 -5
- package/dist/chunks/{sidebarScreen-M7KOyvgb.esm.js.map → sidebarScreen-CPB8iFBn.esm.js.map} +1 -1
- package/dist/chunks/{store-fFrvVVmd.js → store-BD-qLowI.js} +3 -3
- package/dist/chunks/{store-fFrvVVmd.js.map → store-BD-qLowI.js.map} +1 -1
- package/dist/chunks/{store-CAn4frEa.esm.js → store-DDgy6GBV.esm.js} +3 -3
- package/dist/chunks/{store-CAn4frEa.esm.js.map → store-DDgy6GBV.esm.js.map} +1 -1
- package/dist/chunks/{translations-CYJNrF1X.js → translations-B10m4l5x.js} +2 -2
- package/dist/chunks/{translations-CYJNrF1X.js.map → translations-B10m4l5x.js.map} +1 -1
- package/dist/chunks/{translations-CKuQj_34.esm.js → translations-DwY28SKt.esm.js} +2 -2
- package/dist/chunks/{translations-CKuQj_34.esm.js.map → translations-DwY28SKt.esm.js.map} +1 -1
- package/dist/chunks/{uom-field-wrapper-T9-HbUmQ.js → uom-field-wrapper-DBP9cQ6T.js} +15 -15
- package/dist/chunks/uom-field-wrapper-DBP9cQ6T.js.map +1 -0
- package/dist/chunks/{uom-field-wrapper-M8gDlNVA.esm.js → uom-field-wrapper-FO_gQY3H.esm.js} +15 -15
- package/dist/chunks/uom-field-wrapper-FO_gQY3H.esm.js.map +1 -0
- package/dist/chunks/{useAccountSetting-CC-D9-ay.js → useAccountSetting-Bycshg6O.js} +3 -3
- package/dist/chunks/{useAccountSetting-CC-D9-ay.js.map → useAccountSetting-Bycshg6O.js.map} +1 -1
- package/dist/chunks/{useAccountSetting-Crm7aLUS.esm.js → useAccountSetting-CB9ljz-G.esm.js} +3 -3
- package/dist/chunks/{useAccountSetting-Crm7aLUS.esm.js.map → useAccountSetting-CB9ljz-G.esm.js.map} +1 -1
- package/dist/chunks/{useAuth-D2vRvoAH.js → useAuth-CD5vn_uv.js} +2 -2
- package/dist/chunks/{useAuth-D2vRvoAH.js.map → useAuth-CD5vn_uv.js.map} +1 -1
- package/dist/chunks/{useAuth-BgLRSfLQ.esm.js → useAuth-D3DsEPuu.esm.js} +2 -2
- package/dist/chunks/{useAuth-BgLRSfLQ.esm.js.map → useAuth-D3DsEPuu.esm.js.map} +1 -1
- package/dist/chunks/{useLangauge-BqzZoUJb.js → useLangauge-B9SPPP5T.js} +2 -2
- package/dist/chunks/{useLangauge-BqzZoUJb.js.map → useLangauge-B9SPPP5T.js.map} +1 -1
- package/dist/chunks/{useLangauge-C0b2vY_V.esm.js → useLangauge-DofTENls.esm.js} +2 -2
- package/dist/chunks/{useLangauge-C0b2vY_V.esm.js.map → useLangauge-DofTENls.esm.js.map} +1 -1
- package/dist/chunks/{useReduxIntegration-fS2xvU8e.js → useReduxIntegration-BBWYc304.js} +4 -4
- package/dist/chunks/{useReduxIntegration-fS2xvU8e.js.map → useReduxIntegration-BBWYc304.js.map} +1 -1
- package/dist/chunks/{useReduxIntegration-C8wACPoZ.esm.js → useReduxIntegration-BIxrhV9q.esm.js} +4 -4
- package/dist/chunks/{useReduxIntegration-C8wACPoZ.esm.js.map → useReduxIntegration-BIxrhV9q.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/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/uom-field-wrapper-M8gDlNVA.esm.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-T9-HbUmQ.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-D3DsEPuu.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-CoThnqwA.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-vt61cSmt.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,20 +11,20 @@ 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-DofTENls.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, a8 as getErrorMessage, G as fetchRentalResponseItems, H as fetchRfqItemsByIdForResponse, 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, a8 as getErrorMessage, G as fetchRentalResponseItems, H as fetchRfqItemsByIdForResponse, aI as responseItemDetailsColumns, _ as formatTimeForPayload, R as formatDateForPayload, ay as mapApiPayload, Q as formatDate, r as createdOnAndBy, aO as toFixedWithNumbers } from "./common-CV3mgXKS.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 "lucide-react";
|
|
21
21
|
import * as Yup from "yup";
|
|
22
|
-
import { C as Chip, M as Menu, t as transformTableColumns, b as formateValueByType, r as renderEmptyRowsFallback } from "./form-builder-deconversion-
|
|
22
|
+
import { C as Chip, M as Menu, t as transformTableColumns, b as formateValueByType, r as renderEmptyRowsFallback } from "./form-builder-deconversion-DHU0Mcmc.esm.js";
|
|
23
23
|
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";
|
|
24
24
|
import { aJ as getV1User, bk as getV1ReportsScheduleReport, N as getV1ReportsReportList, bl as deleteV1ReportsScheduleReportId, bm as putV1ReportsUpdateScheduleReportId, bn as postV1ReportsScheduleReport, y as getV1FormBuilder } from "./api-BaAELcXO.esm.js";
|
|
25
25
|
import { enqueueSnackbar, useSnackbar, SnackbarProvider } from "notistack";
|
|
26
26
|
import { useDispatch } from "react-redux";
|
|
27
|
-
import { a as apiHelper, c as useGenericDataFetcher, b as useAppTranslations } from "./apiHelper-
|
|
27
|
+
import { a as apiHelper, c as useGenericDataFetcher, b as useAppTranslations } from "./apiHelper-Bq4r8G-i.esm.js";
|
|
28
28
|
import Board from "@asseinfo/react-kanban";
|
|
29
29
|
import { c as calculateEntries, g as getEntityId, R as RANGE, a as handleCompareDateRangeSync, h as handleCompareDateRange } from "./navigation-utils-DvSBvB6q.esm.js";
|
|
30
30
|
import FullCalendar from "@fullcalendar/react";
|
|
@@ -38,22 +38,22 @@ import resourceTimelinePlugin from "@fullcalendar/resource-timeline";
|
|
|
38
38
|
import { E as Eye, a as EyeOff, A as ArrowDown } from "./tick-CRp4S9uN.esm.js";
|
|
39
39
|
import ReactFlagsSelect from "react-flags-select";
|
|
40
40
|
import { useParams, useLocation, useNavigate, Navigate } from "react-router-dom";
|
|
41
|
-
import { E as ErpLoader } from "./page-context-
|
|
41
|
+
import { E as ErpLoader } from "./page-context-CaNYCJWQ.esm.js";
|
|
42
42
|
import { Gantt, ViewMode } from "gantt-task-react";
|
|
43
43
|
import { DateRange, Calendar } from "react-date-range";
|
|
44
44
|
import { v as viewTypes } from "./action-bar-BsXTcYpL.esm.js";
|
|
45
45
|
import DataEditor, { GridCellKind } from "@glideapps/glide-data-grid";
|
|
46
46
|
import { useExtraCells } from "@glideapps/glide-data-grid-cells";
|
|
47
47
|
import { createPortal } from "react-dom";
|
|
48
|
-
import { C as Collapse$1 } from "./sidebar-
|
|
48
|
+
import { C as Collapse$1 } from "./sidebar-CpWfNjUT.esm.js";
|
|
49
49
|
import { useMaterialReactTable, MaterialReactTable } from "material-react-table";
|
|
50
50
|
import _$1 from "lodash";
|
|
51
|
-
import { f as usePages, b as useDeepMemo, g as usePermissions, a as useApi } from "./useAccountSetting-
|
|
51
|
+
import { f as usePages, b as useDeepMemo, g as usePermissions, a as useApi } from "./useAccountSetting-CB9ljz-G.esm.js";
|
|
52
52
|
import { P as PathnameDocument } from "./modules-D5_hDIg9.esm.js";
|
|
53
53
|
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";
|
|
54
54
|
import { a as PathnameUsers } from "./pathname.hrms-C5ojsho0.esm.js";
|
|
55
55
|
import { u as useAppDispatch, a as useAppSelector } from "./hooks-Cj9Yhy-E.esm.js";
|
|
56
|
-
import { f as fetchCompanies } from "./store-
|
|
56
|
+
import { f as fetchCompanies } from "./store-DDgy6GBV.esm.js";
|
|
57
57
|
import { useDropzone } from "react-dropzone";
|
|
58
58
|
import { a as auth, g as getApiConfig } from "./api-config-GOys-syK.esm.js";
|
|
59
59
|
/* 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-BZmByuu8.esm.js"));
|
|
914
914
|
const DyanmicTextEditor = ({
|
|
915
915
|
formControl,
|
|
916
916
|
name,
|
|
@@ -6896,7 +6896,7 @@ const InlineEditFields = ({
|
|
|
6896
6896
|
helperText: errors == null ? void 0 : errors[column.id],
|
|
6897
6897
|
format: fieldProperties == null ? void 0 : fieldProperties.dateFormat,
|
|
6898
6898
|
placeholder: (fieldProperties == null ? void 0 : fieldProperties.placeholder) || (fieldProperties == null ? void 0 : fieldProperties.dateFormat),
|
|
6899
|
-
value: dayjs(row._valuesCache[column.id]).isValid() ? dayjs(row._valuesCache[column.id]) : void 0,
|
|
6899
|
+
value: dayjs(row._valuesCache[column.id]).isValid() && row._valuesCache[column.id] ? dayjs(row._valuesCache[column.id]) : void 0,
|
|
6900
6900
|
disabled: fieldDisbled,
|
|
6901
6901
|
minDate: fieldProperties == null ? void 0 : fieldProperties.min_date,
|
|
6902
6902
|
maxDate: fieldProperties == null ? void 0 : fieldProperties.max_date
|
|
@@ -7422,7 +7422,7 @@ const MaterialEditableTable = React__default.memo(({
|
|
|
7422
7422
|
if (val) {
|
|
7423
7423
|
if (val instanceof File) {
|
|
7424
7424
|
v[vl] = val.name;
|
|
7425
|
-
} else if (cell && (cell == null ? void 0 : cell.editVariant) == "date") {
|
|
7425
|
+
} else if (cell && (cell == null ? void 0 : cell.editVariant) == "date" && val) {
|
|
7426
7426
|
v[vl] = dayjs(val).format((cell == null ? void 0 : cell.dateFormat) || "DD-MM-YYYY");
|
|
7427
7427
|
} else if (cell && (cell == null ? void 0 : cell.editVariant) == "time") {
|
|
7428
7428
|
v[vl] = dayjs.isDayjs(val) ? val.format("HH:mm") : val;
|
|
@@ -15413,4 +15413,4 @@ export {
|
|
|
15413
15413
|
DynamicDateTime as y,
|
|
15414
15414
|
DynamicLayoutWrapper as z
|
|
15415
15415
|
};
|
|
15416
|
-
//# sourceMappingURL=uom-field-wrapper-
|
|
15416
|
+
//# sourceMappingURL=uom-field-wrapper-FO_gQY3H.esm.js.map
|