@erpsquad/common 1.10.61 → 1.10.62

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 (87) hide show
  1. package/dist/chunks/{ERPUIProvider-BK3ErZzr.js → ERPUIProvider-B65sZuMF.js} +5 -5
  2. package/dist/chunks/{ERPUIProvider-BK3ErZzr.js.map → ERPUIProvider-B65sZuMF.js.map} +1 -1
  3. package/dist/chunks/{ERPUIProvider-J0ITULsH.esm.js → ERPUIProvider-BH-tnUqi.esm.js} +5 -5
  4. package/dist/chunks/{ERPUIProvider-J0ITULsH.esm.js.map → ERPUIProvider-BH-tnUqi.esm.js.map} +1 -1
  5. package/dist/chunks/{android-12-switch-DwQ80MjS.js → android-12-switch-CQYha0mS.js} +6 -6
  6. package/dist/chunks/{android-12-switch-DwQ80MjS.js.map → android-12-switch-CQYha0mS.js.map} +1 -1
  7. package/dist/chunks/{android-12-switch-CWsjQ9_V.esm.js → android-12-switch-DRyqP4uj.esm.js} +6 -6
  8. package/dist/chunks/{android-12-switch-CWsjQ9_V.esm.js.map → android-12-switch-DRyqP4uj.esm.js.map} +1 -1
  9. package/dist/chunks/{appbar-CQ5FSUhV.esm.js → appbar-0cYh_6R9.esm.js} +5 -5
  10. package/dist/chunks/appbar-0cYh_6R9.esm.js.map +1 -0
  11. package/dist/chunks/{appbar-BKCYuYKD.js → appbar-C1Pi13kq.js} +5 -5
  12. package/dist/chunks/appbar-C1Pi13kq.js.map +1 -0
  13. package/dist/chunks/{checkbox-D9Q_dONB.js → checkbox-BDWa2DMV.js} +3 -3
  14. package/dist/chunks/{checkbox-D9Q_dONB.js.map → checkbox-BDWa2DMV.js.map} +1 -1
  15. package/dist/chunks/{checkbox-DVpvboV2.esm.js → checkbox-zzOg8Dgo.esm.js} +3 -3
  16. package/dist/chunks/{checkbox-DVpvboV2.esm.js.map → checkbox-zzOg8Dgo.esm.js.map} +1 -1
  17. package/dist/chunks/{default-data-BOPncQrd.js → default-data-BLCvLPNA.js} +6 -6
  18. package/dist/chunks/{default-data-BOPncQrd.js.map → default-data-BLCvLPNA.js.map} +1 -1
  19. package/dist/chunks/{default-data-B1mGeShg.esm.js → default-data-DLgo7sgM.esm.js} +6 -6
  20. package/dist/chunks/{default-data-B1mGeShg.esm.js.map → default-data-DLgo7sgM.esm.js.map} +1 -1
  21. package/dist/chunks/{fullScreen-C6wmX53f.esm.js → fullScreen-BpbK_CR1.esm.js} +2 -2
  22. package/dist/chunks/{fullScreen-C6wmX53f.esm.js.map → fullScreen-BpbK_CR1.esm.js.map} +1 -1
  23. package/dist/chunks/{fullScreen-Ilje5t_2.js → fullScreen-DU59FZfe.js} +2 -2
  24. package/dist/chunks/{fullScreen-Ilje5t_2.js.map → fullScreen-DU59FZfe.js.map} +1 -1
  25. package/dist/chunks/{modules-DhLwjN8v.js → modules-BEfRrTxc.js} +2 -2
  26. package/dist/chunks/{modules-DhLwjN8v.js.map → modules-BEfRrTxc.js.map} +1 -1
  27. package/dist/chunks/{modules-tItvvhnF.esm.js → modules-BjL8mfuw.esm.js} +2 -2
  28. package/dist/chunks/{modules-tItvvhnF.esm.js.map → modules-BjL8mfuw.esm.js.map} +1 -1
  29. package/dist/chunks/{page-context-C1aLBCMN.js → page-context-Bnkk7gz-.js} +2 -2
  30. package/dist/chunks/{page-context-C1aLBCMN.js.map → page-context-Bnkk7gz-.js.map} +1 -1
  31. package/dist/chunks/{page-context-CvxEbMEs.esm.js → page-context-CTlzsb94.esm.js} +2 -2
  32. package/dist/chunks/{page-context-CvxEbMEs.esm.js.map → page-context-CTlzsb94.esm.js.map} +1 -1
  33. package/dist/chunks/{route-page-map-pK2cJVjt.js → route-page-map-CuVKVc8s.js} +12 -5
  34. package/dist/chunks/route-page-map-CuVKVc8s.js.map +1 -0
  35. package/dist/chunks/{route-page-map-B-P_qkAc.esm.js → route-page-map-gBJ6YfCI.esm.js} +12 -5
  36. package/dist/chunks/route-page-map-gBJ6YfCI.esm.js.map +1 -0
  37. package/dist/chunks/{sidebar-XnB3MZSx.esm.js → sidebar-D3AUBRmN.esm.js} +2 -2
  38. package/dist/chunks/{sidebar-XnB3MZSx.esm.js.map → sidebar-D3AUBRmN.esm.js.map} +1 -1
  39. package/dist/chunks/{sidebar-CuuG9Cro.js → sidebar-yJv2LAZU.js} +2 -2
  40. package/dist/chunks/{sidebar-CuuG9Cro.js.map → sidebar-yJv2LAZU.js.map} +1 -1
  41. package/dist/chunks/{sidebarScreen-wd1XHW7h.esm.js → sidebarScreen-Dh-VP79s.esm.js} +3 -3
  42. package/dist/chunks/{sidebarScreen-wd1XHW7h.esm.js.map → sidebarScreen-Dh-VP79s.esm.js.map} +1 -1
  43. package/dist/chunks/{sidebarScreen-oRVnKUwK.js → sidebarScreen-DiP3hqYZ.js} +3 -3
  44. package/dist/chunks/{sidebarScreen-oRVnKUwK.js.map → sidebarScreen-DiP3hqYZ.js.map} +1 -1
  45. package/dist/chunks/{translations-C3zIy7AK.js → translations-BaWBvdnE.js} +12 -5
  46. package/dist/chunks/translations-BaWBvdnE.js.map +1 -0
  47. package/dist/chunks/{translations-DQnNjq2i.esm.js → translations-Bizr6l39.esm.js} +13 -6
  48. package/dist/chunks/translations-Bizr6l39.esm.js.map +1 -0
  49. package/dist/chunks/{uom-field-wrapper-DfH09cqm.js → uom-field-wrapper-BUSdiyqz.js} +41 -29
  50. package/dist/chunks/uom-field-wrapper-BUSdiyqz.js.map +1 -0
  51. package/dist/chunks/{uom-field-wrapper-D9vQnJ7u.esm.js → uom-field-wrapper-CPF4H-zp.esm.js} +41 -29
  52. package/dist/chunks/uom-field-wrapper-CPF4H-zp.esm.js.map +1 -0
  53. package/dist/chunks/{useAddressContact-D7bXJ169.js → useAddressContact-Bvtr3Tqr.js} +4 -4
  54. package/dist/chunks/{useAddressContact-D7bXJ169.js.map → useAddressContact-Bvtr3Tqr.js.map} +1 -1
  55. package/dist/chunks/{useAddressContact-CgADuA2u.esm.js → useAddressContact-s74WyzbC.esm.js} +4 -4
  56. package/dist/chunks/{useAddressContact-CgADuA2u.esm.js.map → useAddressContact-s74WyzbC.esm.js.map} +1 -1
  57. package/dist/components/calculation-summary/calculation-summary.d.ts +2 -0
  58. package/dist/components/index.esm.js +7 -7
  59. package/dist/components/index.js +7 -7
  60. package/dist/constants/index.esm.js +2 -2
  61. package/dist/constants/index.js +2 -2
  62. package/dist/contexts/index.esm.js +1 -1
  63. package/dist/contexts/index.js +1 -1
  64. package/dist/hooks/index.esm.js +3 -3
  65. package/dist/hooks/index.js +3 -3
  66. package/dist/index.esm.js +20 -19
  67. package/dist/index.js +15 -14
  68. package/dist/index.js.map +1 -1
  69. package/dist/layout/index.esm.js +2 -2
  70. package/dist/layout/index.js +2 -2
  71. package/dist/src/components/calculation-summary/calculation-summary.d.ts +2 -0
  72. package/dist/src/utils/calculation.d.ts +3 -2
  73. package/dist/utils/calculation.d.ts +3 -2
  74. package/dist/utils/index.esm.js +4 -3
  75. package/dist/utils/index.js +2 -1
  76. package/dist/utils/index.js.map +1 -1
  77. package/dist/views/index.esm.js +7 -7
  78. package/dist/views/index.js +6 -6
  79. package/package.json +1 -1
  80. package/dist/chunks/appbar-BKCYuYKD.js.map +0 -1
  81. package/dist/chunks/appbar-CQ5FSUhV.esm.js.map +0 -1
  82. package/dist/chunks/route-page-map-B-P_qkAc.esm.js.map +0 -1
  83. package/dist/chunks/route-page-map-pK2cJVjt.js.map +0 -1
  84. package/dist/chunks/translations-C3zIy7AK.js.map +0 -1
  85. package/dist/chunks/translations-DQnNjq2i.esm.js.map +0 -1
  86. package/dist/chunks/uom-field-wrapper-D9vQnJ7u.esm.js.map +0 -1
  87. 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) === "spar" ? 4 : 2;
6626
6626
  console.log("+++++++", field.value, decimalPlaces);
6627
6627
  return Number(field.value.toFixed(decimalPlaces)).toString();
6628
6628
  })() : field.value || "",
@@ -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-0cYh_6R9.esm.js.map