@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.
- package/dist/chunks/{ERPUIProvider-BK3ErZzr.js → ERPUIProvider-B65sZuMF.js} +5 -5
- package/dist/chunks/{ERPUIProvider-BK3ErZzr.js.map → ERPUIProvider-B65sZuMF.js.map} +1 -1
- package/dist/chunks/{ERPUIProvider-J0ITULsH.esm.js → ERPUIProvider-BH-tnUqi.esm.js} +5 -5
- package/dist/chunks/{ERPUIProvider-J0ITULsH.esm.js.map → ERPUIProvider-BH-tnUqi.esm.js.map} +1 -1
- package/dist/chunks/{android-12-switch-DwQ80MjS.js → android-12-switch-CQYha0mS.js} +6 -6
- package/dist/chunks/{android-12-switch-DwQ80MjS.js.map → android-12-switch-CQYha0mS.js.map} +1 -1
- package/dist/chunks/{android-12-switch-CWsjQ9_V.esm.js → android-12-switch-DRyqP4uj.esm.js} +6 -6
- package/dist/chunks/{android-12-switch-CWsjQ9_V.esm.js.map → android-12-switch-DRyqP4uj.esm.js.map} +1 -1
- package/dist/chunks/{appbar-CQ5FSUhV.esm.js → appbar-0cYh_6R9.esm.js} +5 -5
- package/dist/chunks/appbar-0cYh_6R9.esm.js.map +1 -0
- package/dist/chunks/{appbar-BKCYuYKD.js → appbar-C1Pi13kq.js} +5 -5
- package/dist/chunks/appbar-C1Pi13kq.js.map +1 -0
- package/dist/chunks/{checkbox-D9Q_dONB.js → checkbox-BDWa2DMV.js} +3 -3
- package/dist/chunks/{checkbox-D9Q_dONB.js.map → checkbox-BDWa2DMV.js.map} +1 -1
- package/dist/chunks/{checkbox-DVpvboV2.esm.js → checkbox-zzOg8Dgo.esm.js} +3 -3
- package/dist/chunks/{checkbox-DVpvboV2.esm.js.map → checkbox-zzOg8Dgo.esm.js.map} +1 -1
- package/dist/chunks/{default-data-BOPncQrd.js → default-data-BLCvLPNA.js} +6 -6
- package/dist/chunks/{default-data-BOPncQrd.js.map → default-data-BLCvLPNA.js.map} +1 -1
- package/dist/chunks/{default-data-B1mGeShg.esm.js → default-data-DLgo7sgM.esm.js} +6 -6
- package/dist/chunks/{default-data-B1mGeShg.esm.js.map → default-data-DLgo7sgM.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-C6wmX53f.esm.js → fullScreen-BpbK_CR1.esm.js} +2 -2
- package/dist/chunks/{fullScreen-C6wmX53f.esm.js.map → fullScreen-BpbK_CR1.esm.js.map} +1 -1
- package/dist/chunks/{fullScreen-Ilje5t_2.js → fullScreen-DU59FZfe.js} +2 -2
- package/dist/chunks/{fullScreen-Ilje5t_2.js.map → fullScreen-DU59FZfe.js.map} +1 -1
- package/dist/chunks/{modules-DhLwjN8v.js → modules-BEfRrTxc.js} +2 -2
- package/dist/chunks/{modules-DhLwjN8v.js.map → modules-BEfRrTxc.js.map} +1 -1
- package/dist/chunks/{modules-tItvvhnF.esm.js → modules-BjL8mfuw.esm.js} +2 -2
- package/dist/chunks/{modules-tItvvhnF.esm.js.map → modules-BjL8mfuw.esm.js.map} +1 -1
- package/dist/chunks/{page-context-C1aLBCMN.js → page-context-Bnkk7gz-.js} +2 -2
- package/dist/chunks/{page-context-C1aLBCMN.js.map → page-context-Bnkk7gz-.js.map} +1 -1
- package/dist/chunks/{page-context-CvxEbMEs.esm.js → page-context-CTlzsb94.esm.js} +2 -2
- package/dist/chunks/{page-context-CvxEbMEs.esm.js.map → page-context-CTlzsb94.esm.js.map} +1 -1
- package/dist/chunks/{route-page-map-pK2cJVjt.js → route-page-map-CuVKVc8s.js} +12 -5
- package/dist/chunks/route-page-map-CuVKVc8s.js.map +1 -0
- package/dist/chunks/{route-page-map-B-P_qkAc.esm.js → route-page-map-gBJ6YfCI.esm.js} +12 -5
- package/dist/chunks/route-page-map-gBJ6YfCI.esm.js.map +1 -0
- package/dist/chunks/{sidebar-XnB3MZSx.esm.js → sidebar-D3AUBRmN.esm.js} +2 -2
- package/dist/chunks/{sidebar-XnB3MZSx.esm.js.map → sidebar-D3AUBRmN.esm.js.map} +1 -1
- package/dist/chunks/{sidebar-CuuG9Cro.js → sidebar-yJv2LAZU.js} +2 -2
- package/dist/chunks/{sidebar-CuuG9Cro.js.map → sidebar-yJv2LAZU.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-wd1XHW7h.esm.js → sidebarScreen-Dh-VP79s.esm.js} +3 -3
- package/dist/chunks/{sidebarScreen-wd1XHW7h.esm.js.map → sidebarScreen-Dh-VP79s.esm.js.map} +1 -1
- package/dist/chunks/{sidebarScreen-oRVnKUwK.js → sidebarScreen-DiP3hqYZ.js} +3 -3
- package/dist/chunks/{sidebarScreen-oRVnKUwK.js.map → sidebarScreen-DiP3hqYZ.js.map} +1 -1
- package/dist/chunks/{translations-C3zIy7AK.js → translations-BaWBvdnE.js} +12 -5
- package/dist/chunks/translations-BaWBvdnE.js.map +1 -0
- package/dist/chunks/{translations-DQnNjq2i.esm.js → translations-Bizr6l39.esm.js} +13 -6
- package/dist/chunks/translations-Bizr6l39.esm.js.map +1 -0
- package/dist/chunks/{uom-field-wrapper-DfH09cqm.js → uom-field-wrapper-BUSdiyqz.js} +41 -29
- package/dist/chunks/uom-field-wrapper-BUSdiyqz.js.map +1 -0
- package/dist/chunks/{uom-field-wrapper-D9vQnJ7u.esm.js → uom-field-wrapper-CPF4H-zp.esm.js} +41 -29
- package/dist/chunks/uom-field-wrapper-CPF4H-zp.esm.js.map +1 -0
- package/dist/chunks/{useAddressContact-D7bXJ169.js → useAddressContact-Bvtr3Tqr.js} +4 -4
- package/dist/chunks/{useAddressContact-D7bXJ169.js.map → useAddressContact-Bvtr3Tqr.js.map} +1 -1
- package/dist/chunks/{useAddressContact-CgADuA2u.esm.js → useAddressContact-s74WyzbC.esm.js} +4 -4
- package/dist/chunks/{useAddressContact-CgADuA2u.esm.js.map → useAddressContact-s74WyzbC.esm.js.map} +1 -1
- package/dist/components/calculation-summary/calculation-summary.d.ts +2 -0
- package/dist/components/index.esm.js +7 -7
- package/dist/components/index.js +7 -7
- package/dist/constants/index.esm.js +2 -2
- package/dist/constants/index.js +2 -2
- package/dist/contexts/index.esm.js +1 -1
- package/dist/contexts/index.js +1 -1
- package/dist/hooks/index.esm.js +3 -3
- package/dist/hooks/index.js +3 -3
- package/dist/index.esm.js +20 -19
- package/dist/index.js +15 -14
- package/dist/index.js.map +1 -1
- package/dist/layout/index.esm.js +2 -2
- package/dist/layout/index.js +2 -2
- package/dist/src/components/calculation-summary/calculation-summary.d.ts +2 -0
- package/dist/src/utils/calculation.d.ts +3 -2
- package/dist/utils/calculation.d.ts +3 -2
- package/dist/utils/index.esm.js +4 -3
- package/dist/utils/index.js +2 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/views/index.esm.js +7 -7
- package/dist/views/index.js +6 -6
- package/package.json +1 -1
- package/dist/chunks/appbar-BKCYuYKD.js.map +0 -1
- package/dist/chunks/appbar-CQ5FSUhV.esm.js.map +0 -1
- package/dist/chunks/route-page-map-B-P_qkAc.esm.js.map +0 -1
- package/dist/chunks/route-page-map-pK2cJVjt.js.map +0 -1
- package/dist/chunks/translations-C3zIy7AK.js.map +0 -1
- package/dist/chunks/translations-DQnNjq2i.esm.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-D9vQnJ7u.esm.js.map +0 -1
- package/dist/chunks/uom-field-wrapper-DfH09cqm.js.map +0 -1
|
@@ -15,10 +15,10 @@ const material = require("@mui/material");
|
|
|
15
15
|
const notification = require("./notification-vWmhkTRo.js");
|
|
16
16
|
const reactRouterDom = require("react-router-dom");
|
|
17
17
|
const reactI18next = require("react-i18next");
|
|
18
|
-
const modules = require("./modules-
|
|
18
|
+
const modules = require("./modules-BEfRrTxc.js");
|
|
19
19
|
const images = require("./images-CY-_BlWh.js");
|
|
20
20
|
const pathname_rental = require("./pathname.rental-C0Yjyyx7.js");
|
|
21
|
-
const routePageMap = require("./route-page-map-
|
|
21
|
+
const routePageMap = require("./route-page-map-CuVKVc8s.js");
|
|
22
22
|
const CssBaseline = require("./CssBaseline-BtFw_t3c.js");
|
|
23
23
|
const ReactDOM = require("react-dom");
|
|
24
24
|
const notistack = require("notistack");
|
|
@@ -6638,9 +6638,9 @@ const DynamicInput = React.memo((props) => {
|
|
|
6638
6638
|
placeholder: props.placeholder,
|
|
6639
6639
|
type: props.type === "currency" || props.type === "geoLocation" || props.type === "relation" ? "text" : props.type || "text",
|
|
6640
6640
|
value: props.type === "number" && typeof field.value === "number" ? (props == null ? void 0 : props.shouldApplyPrecission) === false || ["exchange_rate"].includes(props.name) ? field.value : (() => {
|
|
6641
|
-
var _a2;
|
|
6641
|
+
var _a2, _b2;
|
|
6642
6642
|
const step = props == null ? void 0 : props.float_step;
|
|
6643
|
-
const decimalPlaces = step && step !== "any" ? ((_a2 = String(step).split(".")[1]) == null ? void 0 : _a2.length) ?? 2 : 2;
|
|
6643
|
+
const decimalPlaces = step && step !== "any" ? ((_a2 = String(step).split(".")[1]) == null ? void 0 : _a2.length) ?? 2 : ((_b2 = apiConfig.getApiConfigSafe()) == null ? void 0 : _b2.countryEnv) === "spar" ? 4 : 2;
|
|
6644
6644
|
console.log("+++++++", field.value, decimalPlaces);
|
|
6645
6645
|
return Number(field.value.toFixed(decimalPlaces)).toString();
|
|
6646
6646
|
})() : field.value || "",
|
|
@@ -9501,4 +9501,4 @@ exports.resolveComponentProps = resolveComponentProps;
|
|
|
9501
9501
|
exports.useRtl = useRtl;
|
|
9502
9502
|
exports.useSlotProps = useSlotProps;
|
|
9503
9503
|
exports.useTheme = useTheme;
|
|
9504
|
-
//# sourceMappingURL=appbar-
|
|
9504
|
+
//# sourceMappingURL=appbar-C1Pi13kq.js.map
|