@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.
Files changed (103) hide show
  1. package/dist/chunks/{ERPUIProvider-J0ITULsH.esm.js → ERPUIProvider-BBpkVsj9.esm.js} +6 -6
  2. package/dist/chunks/{ERPUIProvider-J0ITULsH.esm.js.map → ERPUIProvider-BBpkVsj9.esm.js.map} +1 -1
  3. package/dist/chunks/{ERPUIProvider-BK3ErZzr.js → ERPUIProvider-PAl_tpW_.js} +6 -6
  4. package/dist/chunks/{ERPUIProvider-BK3ErZzr.js.map → ERPUIProvider-PAl_tpW_.js.map} +1 -1
  5. package/dist/chunks/{android-12-switch-DwQ80MjS.js → android-12-switch-WBRkjBCP.js} +22 -15
  6. package/dist/chunks/{android-12-switch-DwQ80MjS.js.map → android-12-switch-WBRkjBCP.js.map} +1 -1
  7. package/dist/chunks/{android-12-switch-CWsjQ9_V.esm.js → android-12-switch-XAicROeO.esm.js} +22 -15
  8. package/dist/chunks/{android-12-switch-CWsjQ9_V.esm.js.map → android-12-switch-XAicROeO.esm.js.map} +1 -1
  9. package/dist/chunks/{appbar-BKCYuYKD.js → appbar-17zpqli4.js} +6 -6
  10. package/dist/chunks/appbar-17zpqli4.js.map +1 -0
  11. package/dist/chunks/{appbar-CQ5FSUhV.esm.js → appbar-BBLrVA6U.esm.js} +6 -6
  12. package/dist/chunks/appbar-BBLrVA6U.esm.js.map +1 -0
  13. package/dist/chunks/{checkbox-DVpvboV2.esm.js → checkbox-BG9DbVQ5.esm.js} +3 -3
  14. package/dist/chunks/{checkbox-DVpvboV2.esm.js.map → checkbox-BG9DbVQ5.esm.js.map} +1 -1
  15. package/dist/chunks/{checkbox-D9Q_dONB.js → checkbox-CS7OvJZk.js} +3 -3
  16. package/dist/chunks/{checkbox-D9Q_dONB.js.map → checkbox-CS7OvJZk.js.map} +1 -1
  17. package/dist/chunks/{default-data-B1mGeShg.esm.js → default-data-CK-90IND.esm.js} +12 -12
  18. package/dist/chunks/{default-data-B1mGeShg.esm.js.map → default-data-CK-90IND.esm.js.map} +1 -1
  19. package/dist/chunks/{default-data-BOPncQrd.js → default-data-Do_oTvMU.js} +12 -12
  20. package/dist/chunks/{default-data-BOPncQrd.js.map → default-data-Do_oTvMU.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-C6wmX53f.esm.js → fullScreen-B5e0kvj4.esm.js} +2 -2
  26. package/dist/chunks/{fullScreen-C6wmX53f.esm.js.map → fullScreen-B5e0kvj4.esm.js.map} +1 -1
  27. package/dist/chunks/{fullScreen-Ilje5t_2.js → fullScreen-CzRFGTzg.js} +2 -2
  28. package/dist/chunks/{fullScreen-Ilje5t_2.js.map → fullScreen-CzRFGTzg.js.map} +1 -1
  29. package/dist/chunks/{modules-DhLwjN8v.js → modules-BEfRrTxc.js} +2 -2
  30. package/dist/chunks/{modules-DhLwjN8v.js.map → modules-BEfRrTxc.js.map} +1 -1
  31. package/dist/chunks/{modules-tItvvhnF.esm.js → modules-BjL8mfuw.esm.js} +2 -2
  32. package/dist/chunks/{modules-tItvvhnF.esm.js.map → modules-BjL8mfuw.esm.js.map} +1 -1
  33. package/dist/chunks/{page-context-CvxEbMEs.esm.js → page-context-BR0JEfCp.esm.js} +3 -3
  34. package/dist/chunks/{page-context-CvxEbMEs.esm.js.map → page-context-BR0JEfCp.esm.js.map} +1 -1
  35. package/dist/chunks/{page-context-C1aLBCMN.js → page-context-D32zeXhS.js} +3 -3
  36. package/dist/chunks/{page-context-C1aLBCMN.js.map → page-context-D32zeXhS.js.map} +1 -1
  37. package/dist/chunks/{reducer-CEIlU0Ko.esm.js → reducer-BTCTEHl_.esm.js} +2 -2
  38. package/dist/chunks/{reducer-CEIlU0Ko.esm.js.map → reducer-BTCTEHl_.esm.js.map} +1 -1
  39. package/dist/chunks/{reducer-DDNHc1q8.js → reducer-DznW4Uhk.js} +2 -2
  40. package/dist/chunks/{reducer-DDNHc1q8.js.map → reducer-DznW4Uhk.js.map} +1 -1
  41. package/dist/chunks/{route-page-map-pK2cJVjt.js → route-page-map-CuVKVc8s.js} +12 -5
  42. package/dist/chunks/route-page-map-CuVKVc8s.js.map +1 -0
  43. package/dist/chunks/{route-page-map-B-P_qkAc.esm.js → route-page-map-gBJ6YfCI.esm.js} +12 -5
  44. package/dist/chunks/route-page-map-gBJ6YfCI.esm.js.map +1 -0
  45. package/dist/chunks/{sidebar-CuuG9Cro.js → sidebar-CGHpNE59.js} +2 -2
  46. package/dist/chunks/{sidebar-CuuG9Cro.js.map → sidebar-CGHpNE59.js.map} +1 -1
  47. package/dist/chunks/{sidebar-XnB3MZSx.esm.js → sidebar-CaMjOaT0.esm.js} +2 -2
  48. package/dist/chunks/{sidebar-XnB3MZSx.esm.js.map → sidebar-CaMjOaT0.esm.js.map} +1 -1
  49. package/dist/chunks/{sidebarScreen-oRVnKUwK.js → sidebarScreen-BMRTGPNT.js} +3 -3
  50. package/dist/chunks/{sidebarScreen-oRVnKUwK.js.map → sidebarScreen-BMRTGPNT.js.map} +1 -1
  51. package/dist/chunks/{sidebarScreen-wd1XHW7h.esm.js → sidebarScreen-vQN2vT2D.esm.js} +3 -3
  52. package/dist/chunks/{sidebarScreen-wd1XHW7h.esm.js.map → sidebarScreen-vQN2vT2D.esm.js.map} +1 -1
  53. package/dist/chunks/{store-4PjkVqCL.js → store-BlcYtLUe.js} +2 -2
  54. package/dist/chunks/{store-4PjkVqCL.js.map → store-BlcYtLUe.js.map} +1 -1
  55. package/dist/chunks/{store-0dCHFFVS.esm.js → store-Djcai2P1.esm.js} +2 -2
  56. package/dist/chunks/{store-0dCHFFVS.esm.js.map → store-Djcai2P1.esm.js.map} +1 -1
  57. package/dist/chunks/{translations-C3zIy7AK.js → translations-BUtRMBGm.js} +12 -5
  58. package/dist/chunks/translations-BUtRMBGm.js.map +1 -0
  59. package/dist/chunks/{translations-DQnNjq2i.esm.js → translations-D-6zNK2j.esm.js} +13 -6
  60. package/dist/chunks/translations-D-6zNK2j.esm.js.map +1 -0
  61. package/dist/chunks/{uom-field-wrapper-D9vQnJ7u.esm.js → uom-field-wrapper-DtW2ZDgN.esm.js} +48 -36
  62. package/dist/chunks/uom-field-wrapper-DtW2ZDgN.esm.js.map +1 -0
  63. package/dist/chunks/{uom-field-wrapper-DfH09cqm.js → uom-field-wrapper-xtQt1ONl.js} +48 -36
  64. package/dist/chunks/uom-field-wrapper-xtQt1ONl.js.map +1 -0
  65. package/dist/chunks/{useAddressContact-D7bXJ169.js → useAddressContact-CpNYDTXT.js} +4 -4
  66. package/dist/chunks/{useAddressContact-D7bXJ169.js.map → useAddressContact-CpNYDTXT.js.map} +1 -1
  67. package/dist/chunks/{useAddressContact-CgADuA2u.esm.js → useAddressContact-Cz2yg1H9.esm.js} +4 -4
  68. package/dist/chunks/{useAddressContact-CgADuA2u.esm.js.map → useAddressContact-Cz2yg1H9.esm.js.map} +1 -1
  69. package/dist/components/calculation-summary/calculation-summary.d.ts +2 -0
  70. package/dist/components/index.esm.js +8 -8
  71. package/dist/components/index.js +8 -8
  72. package/dist/constants/index.esm.js +2 -2
  73. package/dist/constants/index.js +2 -2
  74. package/dist/contexts/index.esm.js +1 -1
  75. package/dist/contexts/index.js +1 -1
  76. package/dist/hooks/index.esm.js +3 -3
  77. package/dist/hooks/index.js +3 -3
  78. package/dist/index.esm.js +22 -21
  79. package/dist/index.js +18 -17
  80. package/dist/index.js.map +1 -1
  81. package/dist/layout/index.esm.js +2 -2
  82. package/dist/layout/index.js +2 -2
  83. package/dist/redux/index.esm.js +2 -2
  84. package/dist/redux/index.js +2 -2
  85. package/dist/src/components/calculation-summary/calculation-summary.d.ts +2 -0
  86. package/dist/src/utils/calculation.d.ts +3 -2
  87. package/dist/utils/calculation.d.ts +3 -2
  88. package/dist/utils/index.esm.js +4 -3
  89. package/dist/utils/index.js +3 -2
  90. package/dist/utils/index.js.map +1 -1
  91. package/dist/views/index.esm.js +8 -8
  92. package/dist/views/index.js +7 -7
  93. package/package.json +1 -1
  94. package/dist/chunks/appbar-BKCYuYKD.js.map +0 -1
  95. package/dist/chunks/appbar-CQ5FSUhV.esm.js.map +0 -1
  96. package/dist/chunks/form-builder-deconversion-B7Ico4Wt.js.map +0 -1
  97. package/dist/chunks/form-builder-deconversion-CUr6uDVY.esm.js.map +0 -1
  98. package/dist/chunks/route-page-map-B-P_qkAc.esm.js.map +0 -1
  99. package/dist/chunks/route-page-map-pK2cJVjt.js.map +0 -1
  100. package/dist/chunks/translations-C3zIy7AK.js.map +0 -1
  101. package/dist/chunks/translations-DQnNjq2i.esm.js.map +0 -1
  102. package/dist/chunks/uom-field-wrapper-D9vQnJ7u.esm.js.map +0 -1
  103. package/dist/chunks/uom-field-wrapper-DfH09cqm.js.map +0 -1
@@ -15,10 +15,10 @@ import { CircularProgress, styled as styled$1, Button as Button$1, Dialog, TextF
15
15
  import { a as clsx, e as extendSxProp, g as generateUtilityClasses, b as composeClasses, s as styled$2, f as reactIsExports, r as rootShouldForwardProp, N as Notification } from "./notification-_WEc_EZI.esm.js";
16
16
  import { useNavigate, useLocation, matchRoutes, Link } from "react-router-dom";
17
17
  import { useTranslation } from "react-i18next";
18
- import { m as modules } from "./modules-tItvvhnF.esm.js";
18
+ import { m as modules } from "./modules-BjL8mfuw.esm.js";
19
19
  import { i as images } from "./images-DvZ6-RV8.esm.js";
20
20
  import { f as PathnameRental, B as gateEntriesCrudPaths, z as equipmentsCrudPaths, a2 as productionPlanPaths, H as jobCardsCrudPaths, l as buildOrderCrudPaths, h as billOfMaterialCrudPaths, aH as workOrderCrudPaths, c as PathnameInventory, e as PathnamePurchase, b as PathnameCrm, a as PathnameAccounting, P as Pathname, aJ as PathnameGenerator, aL as PathnameGenerator$1, aK as PathnameGenerator$2, aP as ROUTES, aM as PathnameGenerator$3, d as PathnameManufacturing, aN as PathnameGenerator$4, aO as PathnameGenerator$5 } from "./pathname.rental-Dvo5a732.esm.js";
21
- import { p as breadcrumbSegmentLabelMap } from "./route-page-map-B-P_qkAc.esm.js";
21
+ import { p as breadcrumbSegmentLabelMap } from "./route-page-map-gBJ6YfCI.esm.js";
22
22
  import { u as useTheme$1 } from "./CssBaseline-DD305XvW.esm.js";
23
23
  import * as ReactDOM from "react-dom";
24
24
  import ReactDOM__default from "react-dom";
@@ -6620,9 +6620,9 @@ const DynamicInput = React__default.memo((props) => {
6620
6620
  placeholder: props.placeholder,
6621
6621
  type: props.type === "currency" || props.type === "geoLocation" || props.type === "relation" ? "text" : props.type || "text",
6622
6622
  value: props.type === "number" && typeof field.value === "number" ? (props == null ? void 0 : props.shouldApplyPrecission) === false || ["exchange_rate"].includes(props.name) ? field.value : (() => {
6623
- var _a2;
6623
+ var _a2, _b2;
6624
6624
  const step = props == null ? void 0 : props.float_step;
6625
- const decimalPlaces = step && step !== "any" ? ((_a2 = String(step).split(".")[1]) == null ? void 0 : _a2.length) ?? 2 : 2;
6625
+ const decimalPlaces = step && step !== "any" ? ((_a2 = String(step).split(".")[1]) == null ? void 0 : _a2.length) ?? 2 : ((_b2 = getApiConfigSafe()) == null ? void 0 : _b2.countryEnv) === "arabia" ? 4 : 2;
6626
6626
  console.log("+++++++", field.value, decimalPlaces);
6627
6627
  return Number(field.value.toFixed(decimalPlaces)).toString();
6628
6628
  })() : field.value || "",
@@ -8585,7 +8585,7 @@ const NotificationMenu = () => {
8585
8585
  const [markingAllAsRead, setMarkingAllAsRead] = useState(false);
8586
8586
  const [pagination, setPagination] = useState({
8587
8587
  skip: 0,
8588
- limit: 10,
8588
+ limit: 20,
8589
8589
  totalCount: 0,
8590
8590
  hasMore: true
8591
8591
  });
@@ -9488,4 +9488,4 @@ export {
9488
9488
  default_1$5 as y,
9489
9489
  List as z
9490
9490
  };
9491
- //# sourceMappingURL=appbar-CQ5FSUhV.esm.js.map
9491
+ //# sourceMappingURL=appbar-BBLrVA6U.esm.js.map