@erpsquad/common 1.10.54 → 1.10.55

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 (69) hide show
  1. package/dist/chunks/{ERPUIProvider-C8El1kDq.js → ERPUIProvider-BTIgswvG.js} +4 -4
  2. package/dist/chunks/{ERPUIProvider-C8El1kDq.js.map → ERPUIProvider-BTIgswvG.js.map} +1 -1
  3. package/dist/chunks/{ERPUIProvider-CZMi7nJH.esm.js → ERPUIProvider-Bj9B-up-.esm.js} +4 -4
  4. package/dist/chunks/{ERPUIProvider-CZMi7nJH.esm.js.map → ERPUIProvider-Bj9B-up-.esm.js.map} +1 -1
  5. package/dist/chunks/{android-12-switch-BPBVLLQQ.esm.js → android-12-switch-B3g4zZYt.esm.js} +6 -6
  6. package/dist/chunks/{android-12-switch-BPBVLLQQ.esm.js.map → android-12-switch-B3g4zZYt.esm.js.map} +1 -1
  7. package/dist/chunks/{android-12-switch-BK2W3QGe.js → android-12-switch-Cx_8Jzve.js} +6 -6
  8. package/dist/chunks/{android-12-switch-BK2W3QGe.js.map → android-12-switch-Cx_8Jzve.js.map} +1 -1
  9. package/dist/chunks/{appbar-DIoyUDNi.js → appbar-5bmeq0oz.js} +4 -4
  10. package/dist/chunks/{appbar-DIoyUDNi.js.map → appbar-5bmeq0oz.js.map} +1 -1
  11. package/dist/chunks/{appbar-gbIEzbcL.esm.js → appbar-D_JUvwje.esm.js} +4 -4
  12. package/dist/chunks/{appbar-gbIEzbcL.esm.js.map → appbar-D_JUvwje.esm.js.map} +1 -1
  13. package/dist/chunks/{default-data-21YaAynJ.esm.js → default-data-CiN4k49C.esm.js} +21 -9
  14. package/dist/chunks/{default-data-21YaAynJ.esm.js.map → default-data-CiN4k49C.esm.js.map} +1 -1
  15. package/dist/chunks/{default-data-Bo7L13rO.js → default-data-Niy2l95y.js} +21 -9
  16. package/dist/chunks/{default-data-Bo7L13rO.js.map → default-data-Niy2l95y.js.map} +1 -1
  17. package/dist/chunks/{fullScreen-DBFijsSl.esm.js → fullScreen-CNMui3Fm.esm.js} +2 -2
  18. package/dist/chunks/{fullScreen-DBFijsSl.esm.js.map → fullScreen-CNMui3Fm.esm.js.map} +1 -1
  19. package/dist/chunks/{fullScreen-D_7aUq54.js → fullScreen-DyY_5AO5.js} +2 -2
  20. package/dist/chunks/{fullScreen-D_7aUq54.js.map → fullScreen-DyY_5AO5.js.map} +1 -1
  21. package/dist/chunks/{modules-FgmiiBJa.esm.js → modules-CAcdzAZ8.esm.js} +2 -2
  22. package/dist/chunks/{modules-FgmiiBJa.esm.js.map → modules-CAcdzAZ8.esm.js.map} +1 -1
  23. package/dist/chunks/{modules-C1dIk5Nx.js → modules-CDhjgX1n.js} +2 -2
  24. package/dist/chunks/{modules-C1dIk5Nx.js.map → modules-CDhjgX1n.js.map} +1 -1
  25. package/dist/chunks/{page-context--umPXbmG.js → page-context-CCqa-fHp.js} +2 -2
  26. package/dist/chunks/{page-context--umPXbmG.js.map → page-context-CCqa-fHp.js.map} +1 -1
  27. package/dist/chunks/{page-context-tqXPDHmG.esm.js → page-context-CtGoXKJI.esm.js} +2 -2
  28. package/dist/chunks/{page-context-tqXPDHmG.esm.js.map → page-context-CtGoXKJI.esm.js.map} +1 -1
  29. package/dist/chunks/{route-page-map-D4BbMHOR.js → route-page-map-0T-oz-Jy.js} +74 -74
  30. package/dist/chunks/route-page-map-0T-oz-Jy.js.map +1 -0
  31. package/dist/chunks/{route-page-map-BzZ6lfJp.esm.js → route-page-map-CtMZ3tov.esm.js} +74 -74
  32. package/dist/chunks/route-page-map-CtMZ3tov.esm.js.map +1 -0
  33. package/dist/chunks/{sidebar-BSznrU6p.esm.js → sidebar-CMDybORU.esm.js} +2 -2
  34. package/dist/chunks/{sidebar-BSznrU6p.esm.js.map → sidebar-CMDybORU.esm.js.map} +1 -1
  35. package/dist/chunks/{sidebar-9A0i9ntv.js → sidebar-_3fKnBKz.js} +2 -2
  36. package/dist/chunks/{sidebar-9A0i9ntv.js.map → sidebar-_3fKnBKz.js.map} +1 -1
  37. package/dist/chunks/{sidebarScreen-CwGzTabt.esm.js → sidebarScreen-BNXocFo1.esm.js} +3 -3
  38. package/dist/chunks/{sidebarScreen-CwGzTabt.esm.js.map → sidebarScreen-BNXocFo1.esm.js.map} +1 -1
  39. package/dist/chunks/{sidebarScreen-DGNET-H2.js → sidebarScreen-Ddm9YPJI.js} +3 -3
  40. package/dist/chunks/{sidebarScreen-DGNET-H2.js.map → sidebarScreen-Ddm9YPJI.js.map} +1 -1
  41. package/dist/chunks/{uom-field-wrapper-Bl8NNUZP.js → uom-field-wrapper-BIxJNFkv.js} +9 -9
  42. package/dist/chunks/{uom-field-wrapper-Bl8NNUZP.js.map → uom-field-wrapper-BIxJNFkv.js.map} +1 -1
  43. package/dist/chunks/{uom-field-wrapper-ChkvqOGy.esm.js → uom-field-wrapper-CAfiHJa1.esm.js} +9 -9
  44. package/dist/chunks/{uom-field-wrapper-ChkvqOGy.esm.js.map → uom-field-wrapper-CAfiHJa1.esm.js.map} +1 -1
  45. package/dist/chunks/{useAccountSetting-DD-k3B3D.esm.js → useAccountSetting-CySKi-E7.esm.js} +3 -3
  46. package/dist/chunks/{useAccountSetting-DD-k3B3D.esm.js.map → useAccountSetting-CySKi-E7.esm.js.map} +1 -1
  47. package/dist/chunks/{useAccountSetting-BvBQQ6sx.js → useAccountSetting-yWpsQrQj.js} +3 -3
  48. package/dist/chunks/{useAccountSetting-BvBQQ6sx.js.map → useAccountSetting-yWpsQrQj.js.map} +1 -1
  49. package/dist/chunks/{useAdditionalDiscountAutoCalc-DOKc0Hb5.js → useAdditionalDiscountAutoCalc-BGKmcMv2.js} +2 -2
  50. package/dist/chunks/{useAdditionalDiscountAutoCalc-DOKc0Hb5.js.map → useAdditionalDiscountAutoCalc-BGKmcMv2.js.map} +1 -1
  51. package/dist/chunks/{useAdditionalDiscountAutoCalc-D_3BwtF9.esm.js → useAdditionalDiscountAutoCalc-CT5zMwuW.esm.js} +2 -2
  52. package/dist/chunks/{useAdditionalDiscountAutoCalc-D_3BwtF9.esm.js.map → useAdditionalDiscountAutoCalc-CT5zMwuW.esm.js.map} +1 -1
  53. package/dist/components/index.esm.js +6 -6
  54. package/dist/components/index.js +6 -6
  55. package/dist/constants/index.esm.js +2 -2
  56. package/dist/constants/index.js +2 -2
  57. package/dist/contexts/index.esm.js +1 -1
  58. package/dist/contexts/index.js +1 -1
  59. package/dist/hooks/index.esm.js +3 -3
  60. package/dist/hooks/index.js +3 -3
  61. package/dist/index.esm.js +13 -13
  62. package/dist/index.js +13 -13
  63. package/dist/layout/index.esm.js +2 -2
  64. package/dist/layout/index.js +2 -2
  65. package/dist/views/index.esm.js +7 -7
  66. package/dist/views/index.js +6 -6
  67. package/package.json +1 -1
  68. package/dist/chunks/route-page-map-BzZ6lfJp.esm.js.map +0 -1
  69. package/dist/chunks/route-page-map-D4BbMHOR.js.map +0 -1
@@ -3,12 +3,12 @@ import React__default, { useEffect, Component, useMemo, useState, useRef, useCal
3
3
  import { Outlet, Navigate, useLocation, useNavigate, useSearchParams, Link as Link$2, useParams } from "react-router-dom";
4
4
  import { P as Pathname, f as PathnameRental, b as PathnameCrm, e as PathnamePurchase, d as PathnameManufacturing, c as PathnameInventory, a as PathnameAccounting } from "./pathname.rental-VYOFVGX6.esm.js";
5
5
  import { T as Typography, u as useAuth, i as default_1$d, r as requireCreateSvgIcon } from "./useAuth-BKKsDQan.esm.js";
6
- import { X as Loader, Z as MaterialTable, N as Footer, a9 as Select, C as Checkbox, a6 as Radio, y as DynamicTable, l as DynamicCheckBox, u as DynamicRadioButton, F as DynamicToggleButton, q as DynamicInfo, s as DynamicMedia, E as DynamicTime, n as DynamicDate, x as DynamicSelect, t as DynamicPhone, p as DynamicElementHOC, P as FormHeader, k as DynamicButton, ae as TabBar, w as DynamicSectionHOC, Q as FormParser, aq as default_1$e, h as ColorPickerInput, e as Android12Switch$2, ar as default_1$f, a8 as SearchableSelect, a as ActionBar, G as Fallback, a5 as ProtectedRoute } from "./android-12-switch-BPBVLLQQ.esm.js";
6
+ import { X as Loader, Z as MaterialTable, N as Footer, a9 as Select, C as Checkbox, a6 as Radio, y as DynamicTable, l as DynamicCheckBox, u as DynamicRadioButton, F as DynamicToggleButton, q as DynamicInfo, s as DynamicMedia, E as DynamicTime, n as DynamicDate, x as DynamicSelect, t as DynamicPhone, p as DynamicElementHOC, P as FormHeader, k as DynamicButton, ae as TabBar, w as DynamicSectionHOC, Q as FormParser, aq as default_1$e, h as ColorPickerInput, e as Android12Switch$2, ar as default_1$f, a8 as SearchableSelect, a as ActionBar, G as Fallback, a5 as ProtectedRoute } from "./android-12-switch-B3g4zZYt.esm.js";
7
7
  import { u as useAppDispatch, a as useAppSelector } from "./hooks-Cj9Yhy-E.esm.js";
8
8
  import { createAsyncThunk, createSlice } from "@reduxjs/toolkit";
9
9
  import { M as Menu, h as aggregationFns, D as DefaultAggregation, f as formBuilderDeConversion, C as Chip, t as transformTableColumns } from "./form-builder-deconversion-tb15DZ1d.esm.js";
10
10
  import { MenuItem, Box, styled, Grid, Stack, FormControl, Slider, FormControlLabel, DialogTitle, IconButton, DialogContent, DialogActions, Select as Select$1, Button as Button$1, RadioGroup, TextField as TextField$1, InputAdornment, AppBar, Toolbar, Link as Link$1, Divider, Skeleton, Paper, Fade, Tooltip, ToggleButton, ToggleButtonGroup, toggleButtonGroupClasses, Switch, Tabs, Tab, Chip as Chip$1, Alert, AccordionSummary, AccordionDetails, Table, TableHead, TableRow, TableCell, TableBody, Dialog, Accordion as Accordion$1, Typography as Typography$1, CircularProgress, ListItemIcon, ListItemText, ListItem, Container } from "@mui/material";
11
- import { B as Button, G as o, D as DynamicInput, d as Toast, T as TextField, M as Modal, y as default_1$g, S as SearchBar, c as ConfirmPopUp } from "./appbar-gbIEzbcL.esm.js";
11
+ import { B as Button, G as o, D as DynamicInput, d as Toast, T as TextField, M as Modal, y as default_1$g, S as SearchBar, c as ConfirmPopUp } from "./appbar-D_JUvwje.esm.js";
12
12
  import { i as images } from "./images-DvZ6-RV8.esm.js";
13
13
  import { useForm, useFieldArray } from "react-hook-form";
14
14
  import { E as Eye, a as EyeOff } from "./tick-wc8bi2Fu.esm.js";
@@ -24,11 +24,11 @@ import { useTranslation } from "react-i18next";
24
24
  import { enqueueSnackbar } from "notistack";
25
25
  import { f as formBuilderConversion } from "./form-builder-conversion-DCfIymXW.esm.js";
26
26
  import { aX as formatText$1, S as SECTION_TYPES, a3 as generateRandomId, aa as getErrorMessage, W as formatLabel, aU as uploadFiles, at as getToken, j as appendConditionSafely, v as defaultCurrencySymbol, A as fetchApi } from "./common-B-qcI4G1.esm.js";
27
- import { E as ErpLoader } from "./page-context-tqXPDHmG.esm.js";
27
+ import { E as ErpLoader } from "./page-context-CtGoXKJI.esm.js";
28
28
  import { i as patchFormDataById, v as resetState, h as getFormDataById, g as getFieldsByFormId } from "./reducer-debyUu9f.esm.js";
29
29
  import { p as Paragraph, H as Hashtag, A as ArrowCircleDown, s as Calendar, P as PaperClip, L as Link, h as Email, q as Phone, g as DollarCircle, e as Clock, G as Grid$1, o as Location, d as CheckboxSquare, I as Image, n as LinkHorizontal, m as InfoCircle, R as RadioButton, T as Trash, E as Edit, S as Save } from "./trash-UdiORwWn.esm.js";
30
30
  import { T as ToggleSwitch } from "./toggle-switch-BEmygLUi.esm.js";
31
- import { P as PathnameHrms, a as PathnameUsers, bE as initialStyles, bD as TEMPLATE_EDITOR_PATHS } from "./route-page-map-BzZ6lfJp.esm.js";
31
+ import { P as PathnameHrms, a as PathnameUsers, bE as initialStyles, bD as TEMPLATE_EDITOR_PATHS } from "./route-page-map-CtMZ3tov.esm.js";
32
32
  import { k as interopRequireDefaultExports } from "./identifier-0SZUhw_A.esm.js";
33
33
  import { useDraggable, useDroppable, DndContext, pointerWithin } from "@dnd-kit/core";
34
34
  import _, { debounce } from "lodash";
@@ -37,7 +37,7 @@ import { FileCode, Heading, Text, Image as Image$1, Table as Table$1, Blocks, Qr
37
37
  import { v as postV1Drive, b5 as getV1Drive, b6 as patchV1TemplatesId, b7 as postV1Templates, b8 as patchV1TemplateHeaderFooterId, b9 as postV1TemplateHeaderFooter, ba as getV1SubjectsId, bb as getV1FormBuilderRelationalSchemaFieldsName, bc as getV1TemplatesId, bd as getV1TemplateHeaderFooterCompanyIdHeaderFooter, H as getV1Templates, be as patchV1TemplatesIdSetDefault, bf as deleteV1TemplatesId, bg as getV1Subjects } from "./api-CAAYzky9.esm.js";
38
38
  import { v4 } from "uuid";
39
39
  import { v as viewTypes } from "./action-bar-BsXTcYpL.esm.js";
40
- import { f as usePages, b as useDeepMemo, g as usePermissions } from "./useAccountSetting-DD-k3B3D.esm.js";
40
+ import { f as usePages, b as useDeepMemo, g as usePermissions } from "./useAccountSetting-CySKi-E7.esm.js";
41
41
  const allAggregations = [
42
42
  {
43
43
  label: "Average",
@@ -12790,15 +12790,27 @@ const templateEditorRoutes = (modulePath, module) => [
12790
12790
  },
12791
12791
  {
12792
12792
  path: `${TEMPLATE_EDITOR_PATHS.TEMPLATES_LIST("pdf")}`,
12793
- element: /* @__PURE__ */ jsxRuntimeExports.jsx(ProtectedRoute, { module: "Templates", action: "canView", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Templates, { module, type: "pdf", modulePath }) })
12793
+ element: (
12794
+ // <ProtectedRoute module="Templates" action="canView">
12795
+ /* @__PURE__ */ jsxRuntimeExports.jsx(Templates, { module, type: "pdf", modulePath })
12796
+ )
12797
+ // </ProtectedRoute>
12794
12798
  },
12795
12799
  {
12796
12800
  path: `${TEMPLATE_EDITOR_PATHS.TEMPLATES_ADD("pdf")}`,
12797
- element: /* @__PURE__ */ jsxRuntimeExports.jsx(ProtectedRoute, { module: "Templates", action: "canView", children: /* @__PURE__ */ jsxRuntimeExports.jsx(AddTemplate, { modulePath, type: "pdf", module }) })
12801
+ element: (
12802
+ // <ProtectedRoute module="Templates" action="canView">
12803
+ /* @__PURE__ */ jsxRuntimeExports.jsx(AddTemplate, { modulePath, type: "pdf", module })
12804
+ )
12805
+ // </ProtectedRoute>
12798
12806
  },
12799
12807
  {
12800
12808
  path: `${TEMPLATE_EDITOR_PATHS.TEMPLATES_EDIT("pdf")}`,
12801
- element: /* @__PURE__ */ jsxRuntimeExports.jsx(ProtectedRoute, { module: "Templates", action: "canView", children: /* @__PURE__ */ jsxRuntimeExports.jsx(AddTemplate, { modulePath, type: "pdf", module }) })
12809
+ element: (
12810
+ // <ProtectedRoute module="Templates" action="canView">
12811
+ /* @__PURE__ */ jsxRuntimeExports.jsx(AddTemplate, { modulePath, type: "pdf", module })
12812
+ )
12813
+ // </ProtectedRoute>
12802
12814
  }
12803
12815
  ];
12804
12816
  const textOptions = [
@@ -12908,4 +12920,4 @@ export {
12908
12920
  activityTag as y,
12909
12921
  board as z
12910
12922
  };
12911
- //# sourceMappingURL=default-data-21YaAynJ.esm.js.map
12923
+ //# sourceMappingURL=default-data-CiN4k49C.esm.js.map