@erpsquad/common 1.10.62 → 1.10.64

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.
Files changed (83) hide show
  1. package/dist/chunks/{ERPUIProvider-B65sZuMF.js → ERPUIProvider-B_cYjAdF.js} +5 -5
  2. package/dist/chunks/{ERPUIProvider-B65sZuMF.js.map → ERPUIProvider-B_cYjAdF.js.map} +1 -1
  3. package/dist/chunks/{ERPUIProvider-BH-tnUqi.esm.js → ERPUIProvider-DtSGxSro.esm.js} +5 -5
  4. package/dist/chunks/{ERPUIProvider-BH-tnUqi.esm.js.map → ERPUIProvider-DtSGxSro.esm.js.map} +1 -1
  5. package/dist/chunks/{android-12-switch-CQYha0mS.js → android-12-switch-CQqq1bod.js} +20 -13
  6. package/dist/chunks/{android-12-switch-CQYha0mS.js.map → android-12-switch-CQqq1bod.js.map} +1 -1
  7. package/dist/chunks/{android-12-switch-DRyqP4uj.esm.js → android-12-switch-DMpKRS49.esm.js} +20 -13
  8. package/dist/chunks/{android-12-switch-DRyqP4uj.esm.js.map → android-12-switch-DMpKRS49.esm.js.map} +1 -1
  9. package/dist/chunks/{appbar-0cYh_6R9.esm.js → appbar-BPTUcuZH.esm.js} +3 -3
  10. package/dist/chunks/appbar-BPTUcuZH.esm.js.map +1 -0
  11. package/dist/chunks/{appbar-C1Pi13kq.js → appbar-GvhMl2LR.js} +3 -3
  12. package/dist/chunks/appbar-GvhMl2LR.js.map +1 -0
  13. package/dist/chunks/{checkbox-zzOg8Dgo.esm.js → checkbox-BG9DbVQ5.esm.js} +2 -2
  14. package/dist/chunks/{checkbox-zzOg8Dgo.esm.js.map → checkbox-BG9DbVQ5.esm.js.map} +1 -1
  15. package/dist/chunks/{checkbox-BDWa2DMV.js → checkbox-CS7OvJZk.js} +2 -2
  16. package/dist/chunks/{checkbox-BDWa2DMV.js.map → checkbox-CS7OvJZk.js.map} +1 -1
  17. package/dist/chunks/{default-data-BLCvLPNA.js → default-data-C3gd1olF.js} +11 -11
  18. package/dist/chunks/{default-data-BLCvLPNA.js.map → default-data-C3gd1olF.js.map} +1 -1
  19. package/dist/chunks/{default-data-DLgo7sgM.esm.js → default-data-c7qJW0S-.esm.js} +11 -11
  20. package/dist/chunks/{default-data-DLgo7sgM.esm.js.map → default-data-c7qJW0S-.esm.js.map} +1 -1
  21. package/dist/chunks/{form-builder-deconversion-B7Ico4Wt.js → form-builder-deconversion-CtfddwVS.js} +2 -2
  22. package/dist/chunks/form-builder-deconversion-CtfddwVS.js.map +1 -0
  23. package/dist/chunks/{form-builder-deconversion-CUr6uDVY.esm.js → form-builder-deconversion-DNCtkxQC.esm.js} +2 -2
  24. package/dist/chunks/form-builder-deconversion-DNCtkxQC.esm.js.map +1 -0
  25. package/dist/chunks/{fullScreen-DU59FZfe.js → fullScreen-BvWfY0hb.js} +2 -2
  26. package/dist/chunks/{fullScreen-DU59FZfe.js.map → fullScreen-BvWfY0hb.js.map} +1 -1
  27. package/dist/chunks/{fullScreen-BpbK_CR1.esm.js → fullScreen-CEK_HZnP.esm.js} +2 -2
  28. package/dist/chunks/{fullScreen-BpbK_CR1.esm.js.map → fullScreen-CEK_HZnP.esm.js.map} +1 -1
  29. package/dist/chunks/{page-context-CTlzsb94.esm.js → page-context-BR0JEfCp.esm.js} +2 -2
  30. package/dist/chunks/{page-context-CTlzsb94.esm.js.map → page-context-BR0JEfCp.esm.js.map} +1 -1
  31. package/dist/chunks/{page-context-Bnkk7gz-.js → page-context-D32zeXhS.js} +2 -2
  32. package/dist/chunks/{page-context-Bnkk7gz-.js.map → page-context-D32zeXhS.js.map} +1 -1
  33. package/dist/chunks/{reducer-CEIlU0Ko.esm.js → reducer-BTCTEHl_.esm.js} +2 -2
  34. package/dist/chunks/{reducer-CEIlU0Ko.esm.js.map → reducer-BTCTEHl_.esm.js.map} +1 -1
  35. package/dist/chunks/{reducer-DDNHc1q8.js → reducer-DznW4Uhk.js} +2 -2
  36. package/dist/chunks/{reducer-DDNHc1q8.js.map → reducer-DznW4Uhk.js.map} +1 -1
  37. package/dist/chunks/{sidebar-yJv2LAZU.js → sidebar-C3G058lH.js} +2 -2
  38. package/dist/chunks/{sidebar-yJv2LAZU.js.map → sidebar-C3G058lH.js.map} +1 -1
  39. package/dist/chunks/{sidebar-D3AUBRmN.esm.js → sidebar-PQ4JubXM.esm.js} +2 -2
  40. package/dist/chunks/{sidebar-D3AUBRmN.esm.js.map → sidebar-PQ4JubXM.esm.js.map} +1 -1
  41. package/dist/chunks/{sidebarScreen-Dh-VP79s.esm.js → sidebarScreen-DC7R30eg.esm.js} +3 -3
  42. package/dist/chunks/{sidebarScreen-Dh-VP79s.esm.js.map → sidebarScreen-DC7R30eg.esm.js.map} +1 -1
  43. package/dist/chunks/{sidebarScreen-DiP3hqYZ.js → sidebarScreen-fIj--OhC.js} +3 -3
  44. package/dist/chunks/{sidebarScreen-DiP3hqYZ.js.map → sidebarScreen-fIj--OhC.js.map} +1 -1
  45. package/dist/chunks/{store-4PjkVqCL.js → store-BlcYtLUe.js} +2 -2
  46. package/dist/chunks/{store-4PjkVqCL.js.map → store-BlcYtLUe.js.map} +1 -1
  47. package/dist/chunks/{store-0dCHFFVS.esm.js → store-Djcai2P1.esm.js} +2 -2
  48. package/dist/chunks/{store-0dCHFFVS.esm.js.map → store-Djcai2P1.esm.js.map} +1 -1
  49. package/dist/chunks/{translations-Bizr6l39.esm.js → translations-Df5Mt7kz.esm.js} +4 -4
  50. package/dist/chunks/{translations-Bizr6l39.esm.js.map → translations-Df5Mt7kz.esm.js.map} +1 -1
  51. package/dist/chunks/{translations-BaWBvdnE.js → translations-DoAAs3Sh.js} +4 -4
  52. package/dist/chunks/{translations-BaWBvdnE.js.map → translations-DoAAs3Sh.js.map} +1 -1
  53. package/dist/chunks/{uom-field-wrapper-BUSdiyqz.js → uom-field-wrapper-BMejbao3.js} +18 -18
  54. package/dist/chunks/uom-field-wrapper-BMejbao3.js.map +1 -0
  55. package/dist/chunks/{uom-field-wrapper-CPF4H-zp.esm.js → uom-field-wrapper-BlJaV_Jd.esm.js} +18 -18
  56. package/dist/chunks/uom-field-wrapper-BlJaV_Jd.esm.js.map +1 -0
  57. package/dist/chunks/{useAddressContact-s74WyzbC.esm.js → useAddressContact-Dm7nV19E.esm.js} +4 -4
  58. package/dist/chunks/{useAddressContact-s74WyzbC.esm.js.map → useAddressContact-Dm7nV19E.esm.js.map} +1 -1
  59. package/dist/chunks/{useAddressContact-Bvtr3Tqr.js → useAddressContact-omyt5axK.js} +4 -4
  60. package/dist/chunks/{useAddressContact-Bvtr3Tqr.js.map → useAddressContact-omyt5axK.js.map} +1 -1
  61. package/dist/components/index.esm.js +8 -8
  62. package/dist/components/index.js +8 -8
  63. package/dist/contexts/index.esm.js +1 -1
  64. package/dist/contexts/index.js +1 -1
  65. package/dist/hooks/index.esm.js +3 -3
  66. package/dist/hooks/index.js +3 -3
  67. package/dist/index.esm.js +15 -15
  68. package/dist/index.js +15 -15
  69. package/dist/layout/index.esm.js +2 -2
  70. package/dist/layout/index.js +2 -2
  71. package/dist/redux/index.esm.js +2 -2
  72. package/dist/redux/index.js +2 -2
  73. package/dist/utils/index.esm.js +2 -2
  74. package/dist/utils/index.js +2 -2
  75. package/dist/views/index.esm.js +6 -6
  76. package/dist/views/index.js +5 -5
  77. package/package.json +1 -1
  78. package/dist/chunks/appbar-0cYh_6R9.esm.js.map +0 -1
  79. package/dist/chunks/appbar-C1Pi13kq.js.map +0 -1
  80. package/dist/chunks/form-builder-deconversion-B7Ico4Wt.js.map +0 -1
  81. package/dist/chunks/form-builder-deconversion-CUr6uDVY.esm.js.map +0 -1
  82. package/dist/chunks/uom-field-wrapper-BUSdiyqz.js.map +0 -1
  83. package/dist/chunks/uom-field-wrapper-CPF4H-zp.esm.js.map +0 -1
@@ -2,8 +2,8 @@ import { j as jsxRuntimeExports } from "./jsx-runtime-ClFauRgV.esm.js";
2
2
  import { useFieldArray, Controller, useForm, useWatch, 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, y as lighten_1, z as darken_1, f as alpha_1 } from "./identifier-0SZUhw_A.esm.js";
4
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-BVQ2r4xx.esm.js";
5
- import { aq as default_1$4, w as DynamicSelect, h as DateTimePicker, D as DatePicker$1, ar as useThemeProps, A as Accordion$1, a8 as Select, f as ChipOrPlaceholder$1, i as DropdownButton, s as DynamicPhone, u as DynamicSearchSelect, k as DynamicCheckBox, af as TitleDropdownButton, T as HeaderCard, ad as TabBar, as as default_1$5, a7 as SearchableSelect, at as Chip$1, ae as TimePicker, aj as UploadMedia, a3 as PhoneInput, Z as ModalLoader, Y as MaterialTable, m as DynamicDate, z as DynamicTime, C as ChipGenerator, M as Footer, F as Fallback, au as IconButton$1, av as TabContext, aw as TabList, ax as Tab, ay as TabPanel, az as default_1$9, a as ActionBar, aA as SwitchBase } from "./android-12-switch-DRyqP4uj.esm.js";
6
- import { D as DynamicInput, E as Typography$1, b as Avatar, G as o, M as Modal, 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 useRtl, z as List$1, v as ListItem, Q as ListItemText$1, U as refType } from "./appbar-0cYh_6R9.esm.js";
5
+ import { aq as default_1$4, w as DynamicSelect, h as DateTimePicker, D as DatePicker$1, ar as useThemeProps, A as Accordion$1, a8 as Select, f as ChipOrPlaceholder$1, i as DropdownButton, s as DynamicPhone, u as DynamicSearchSelect, k as DynamicCheckBox, af as TitleDropdownButton, T as HeaderCard, ad as TabBar, as as default_1$5, a7 as SearchableSelect, at as Chip$1, ae as TimePicker, aj as UploadMedia, a3 as PhoneInput, Z as ModalLoader, Y as MaterialTable, m as DynamicDate, z as DynamicTime, C as ChipGenerator, M as Footer, F as Fallback, au as IconButton$1, av as TabContext, aw as TabList, ax as Tab, ay as TabPanel, az as default_1$9, a as ActionBar, aA as SwitchBase } from "./android-12-switch-DMpKRS49.esm.js";
6
+ import { D as DynamicInput, E as Typography$1, b as Avatar, G as o, M as Modal, 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 useRtl, z as List$1, v as ListItem, Q as ListItemText$1, U as refType } from "./appbar-BPTUcuZH.esm.js";
7
7
  import * as React from "react";
8
8
  import React__default, { useState, lazy, useMemo, useRef, useEffect, useCallback, useLayoutEffect, useContext, createElement, createContext, cloneElement } from "react";
9
9
  import DatePicker from "react-datepicker";
@@ -23,14 +23,14 @@ import { marked } from "marked";
23
23
  import { bw as streamV1AiFeatureChat, aF as getV1User, bx as getV1ReportsScheduleReport, J as getV1ReportsReportList, by as deleteV1ReportsScheduleReportId, bz as putV1ReportsUpdateScheduleReportId, bA as postV1ReportsScheduleReport, y as getV1FormBuilder } from "./api-DhR7H-jj.esm.js";
24
24
  import { b as getApiConfigSafe, a as auth, g as getApiConfig } from "./api-config-GOys-syK.esm.js";
25
25
  import * as Yup from "yup";
26
- import { C as Checkbox$1, f as usePages, b as useDeepMemo, a as useApi } from "./checkbox-zzOg8Dgo.esm.js";
27
- import { C as Chip, M as Menu, t as transformTableColumns, b as formateValueByType, r as renderEmptyRowsFallback } from "./form-builder-deconversion-CUr6uDVY.esm.js";
26
+ import { C as Checkbox$1, f as usePages, b as useDeepMemo, a as useApi } from "./checkbox-BG9DbVQ5.esm.js";
27
+ import { C as Chip, M as Menu, t as transformTableColumns, b as formateValueByType, r as renderEmptyRowsFallback } from "./form-builder-deconversion-DNCtkxQC.esm.js";
28
28
  import { M as MoreIcon, q as Filter, e as Close$1, c as ArrowUpDown, g as Export, p as Calendar$1, a as ArrowDown } from "./radio-button-DSUBR45C.esm.js";
29
29
  import { enqueueSnackbar, useSnackbar, SnackbarProvider } from "notistack";
30
30
  import { useDispatch } from "react-redux";
31
- import { a as apiHelper, c as useGenericDataFetcher, b as useAppTranslations } from "./ERPUIProvider-BH-tnUqi.esm.js";
31
+ import { a as apiHelper, c as useGenericDataFetcher, b as useAppTranslations } from "./ERPUIProvider-DtSGxSro.esm.js";
32
32
  import Board from "@asseinfo/react-kanban";
33
- import { a as calculateEntries, t as truncateDecimals } from "./translations-Bizr6l39.esm.js";
33
+ import { a as calculateEntries, t as truncateDecimals } from "./translations-Df5Mt7kz.esm.js";
34
34
  import FullCalendar from "@fullcalendar/react";
35
35
  import dayGridPlugin from "@fullcalendar/daygrid";
36
36
  import listPlugin from "@fullcalendar/list";
@@ -44,14 +44,14 @@ import { j as Copy$1, e as ArrowUp } from "./arrow-up-BDkqlEB_.esm.js";
44
44
  import ReactFlagsSelect from "react-flags-select";
45
45
  import { useParams, useLocation, useNavigate } from "react-router-dom";
46
46
  import { g as getEntityId, R as RANGE, a as handleCompareDateRangeSync, h as handleCompareDateRange } from "./navigation-utils-ChG-fDRf.esm.js";
47
- import { E as ErpLoader } from "./page-context-CTlzsb94.esm.js";
47
+ import { E as ErpLoader } from "./page-context-BR0JEfCp.esm.js";
48
48
  import { Gantt, ViewMode } from "gantt-task-react";
49
49
  import { DateRange, Calendar } from "react-date-range";
50
50
  import { v as viewTypes } from "./action-bar-BsXTcYpL.esm.js";
51
51
  import DataEditor, { GridCellKind } from "@glideapps/glide-data-grid";
52
52
  import { useExtraCells } from "@glideapps/glide-data-grid-cells";
53
53
  import { createPortal } from "react-dom";
54
- import { C as Collapse$1 } from "./sidebar-D3AUBRmN.esm.js";
54
+ import { C as Collapse$1 } from "./sidebar-PQ4JubXM.esm.js";
55
55
  import { useMaterialReactTable, MaterialReactTable } from "material-react-table";
56
56
  import { R as RecgtangleIcon, C as CheckBoxIcon$1, T as Trash, E as Edit } from "./trash-Dgfsw2UY.esm.js";
57
57
  import _$1 from "lodash";
@@ -59,7 +59,7 @@ import { P as PathnameDocument } from "./modules-BjL8mfuw.esm.js";
59
59
  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";
60
60
  import { a as PathnameUsers } from "./route-page-map-gBJ6YfCI.esm.js";
61
61
  import { u as useAppDispatch, a as useAppSelector } from "./hooks-Cj9Yhy-E.esm.js";
62
- import { f as fetchCompanies } from "./store-0dCHFFVS.esm.js";
62
+ import { f as fetchCompanies } from "./store-Djcai2P1.esm.js";
63
63
  import { useDropzone } from "react-dropzone";
64
64
  /* empty css */
65
65
  import { css, keyframes } from "@emotion/react";
@@ -3482,9 +3482,9 @@ const CalculationSummary = ({
3482
3482
  var _a, _b;
3483
3483
  const { user } = useAuth();
3484
3484
  const defaultCurrencySymbol = currencySymbol || ((_a = user == null ? void 0 : user.currency_data) == null ? void 0 : _a.symbol) || "";
3485
- const isSpar = ((_b = getApiConfigSafe()) == null ? void 0 : _b.countryEnv) === "spar";
3486
- const finalDecimals = isSpar ? 4 : decimals;
3487
- const finalUseTruncation = isSpar ? true : useTruncation;
3485
+ const isArabia = ((_b = getApiConfigSafe()) == null ? void 0 : _b.countryEnv) === "ksa";
3486
+ const finalDecimals = isArabia ? 4 : decimals;
3487
+ const finalUseTruncation = isArabia ? true : useTruncation;
3488
3488
  const [itemsData, setItemsData] = useState({
3489
3489
  totalQuantity: 0,
3490
3490
  total: 0,
@@ -11026,7 +11026,7 @@ const ItemResponseDetails = (props) => {
11026
11026
  }
11027
11027
  }
11028
11028
  }),
11029
- paginationModel: { pageNo: 1, limit: 10 },
11029
+ paginationModel: { pageNo: 1, limit: 20 },
11030
11030
  totalPages: 20,
11031
11031
  enableColumnDragging: true,
11032
11032
  isResetRow: false,
@@ -11468,7 +11468,7 @@ const ScheduleReportModal = ({
11468
11468
  const GeneralScheduleReport = ({ module = "accounting", title = "Schedule report" }) => {
11469
11469
  const [pagination, setPagination] = useState({
11470
11470
  pageNo: 1,
11471
- limit: 10,
11471
+ limit: 20,
11472
11472
  totalCount: 0
11473
11473
  });
11474
11474
  const [toast, setToast] = useState(null);
@@ -11593,7 +11593,7 @@ const GeneralScheduleReport = ({ module = "accounting", title = "Schedule report
11593
11593
  enableEditing: false,
11594
11594
  isResetRow: false,
11595
11595
  enableRowSelection: false,
11596
- paginationModel: { pageNo: 1, limit: 10 },
11596
+ paginationModel: { pageNo: 1, limit: 20 },
11597
11597
  defaultActionColumnItems: [
11598
11598
  /* @__PURE__ */ jsxRuntimeExports.jsx(
11599
11599
  IconButton,
@@ -15122,7 +15122,7 @@ const Forms = ({ config }) => {
15122
15122
  isLoading: false,
15123
15123
  paginationModel: {
15124
15124
  pageNo: 1,
15125
- limit: 10,
15125
+ limit: 20,
15126
15126
  totalCount: 0
15127
15127
  }
15128
15128
  });
@@ -15349,7 +15349,7 @@ const Forms = ({ config }) => {
15349
15349
  rows: formBuilder.rows,
15350
15350
  columns: columns2,
15351
15351
  totalPages: 1,
15352
- paginationModel: { pageNo: 1, limit: 10 },
15352
+ paginationModel: { pageNo: 1, limit: 20 },
15353
15353
  enableEditing: false,
15354
15354
  states: { sorting: sorting || [] },
15355
15355
  onSortingChange: setSorting,
@@ -16815,4 +16815,4 @@ export {
16815
16815
  DyanmicTextEditor as y,
16816
16816
  DynamicDateRange as z
16817
16817
  };
16818
- //# sourceMappingURL=uom-field-wrapper-CPF4H-zp.esm.js.map
16818
+ //# sourceMappingURL=uom-field-wrapper-BlJaV_Jd.esm.js.map