hemfixarna-web-components 1.8.4 → 1.8.7
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/cjs/hemfixarna-address_15.cjs.entry.js +7 -7
- package/dist/cjs/hemfixarna-address_15.cjs.entry.js.map +1 -1
- package/dist/cjs/hemfixarna-byggmax.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-category.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-doro.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-elfa.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-fargvaruhuset.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-flyttsmart.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-forebygg.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-hornbach.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-kbygg.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-klint.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-kund.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-norrgavel.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-power.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-service.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-skanska.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-sparfonster.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-string-furniture.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-superfront.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-tesla.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-traningspartner.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-zaptec.cjs.entry.js +1 -1
- package/dist/cjs/{index-3e8dcb29.js → index-6cce99a1.js} +4 -5
- package/dist/cjs/index-6cce99a1.js.map +1 -0
- package/dist/cjs/{index-e81df82e.js → index-dc8e80e4.js} +5 -1
- package/dist/cjs/index-dc8e80e4.js.map +1 -0
- package/dist/collection/types/index.js +4 -0
- package/dist/collection/types/index.js.map +1 -1
- package/dist/collection/utils/calc.js +1 -10
- package/dist/collection/utils/calc.js.map +1 -1
- package/dist/esm/hemfixarna-address_15.entry.js +7 -7
- package/dist/esm/hemfixarna-address_15.entry.js.map +1 -1
- package/dist/esm/hemfixarna-byggmax.entry.js +1 -1
- package/dist/esm/hemfixarna-category.entry.js +1 -1
- package/dist/esm/hemfixarna-doro.entry.js +1 -1
- package/dist/esm/hemfixarna-elfa.entry.js +1 -1
- package/dist/esm/hemfixarna-fargvaruhuset.entry.js +1 -1
- package/dist/esm/hemfixarna-flyttsmart.entry.js +1 -1
- package/dist/esm/hemfixarna-forebygg.entry.js +1 -1
- package/dist/esm/hemfixarna-hornbach.entry.js +1 -1
- package/dist/esm/hemfixarna-kbygg.entry.js +1 -1
- package/dist/esm/hemfixarna-klint.entry.js +1 -1
- package/dist/esm/hemfixarna-kund.entry.js +1 -1
- package/dist/esm/hemfixarna-norrgavel.entry.js +1 -1
- package/dist/esm/hemfixarna-power.entry.js +1 -1
- package/dist/esm/hemfixarna-service.entry.js +1 -1
- package/dist/esm/hemfixarna-skanska.entry.js +1 -1
- package/dist/esm/hemfixarna-sparfonster.entry.js +1 -1
- package/dist/esm/hemfixarna-string-furniture.entry.js +1 -1
- package/dist/esm/hemfixarna-superfront.entry.js +1 -1
- package/dist/esm/hemfixarna-tesla.entry.js +1 -1
- package/dist/esm/hemfixarna-traningspartner.entry.js +1 -1
- package/dist/esm/hemfixarna-zaptec.entry.js +1 -1
- package/dist/esm/{index-c8ce6f4b.js → index-17dff2be.js} +5 -1
- package/dist/esm/index-17dff2be.js.map +1 -0
- package/dist/esm/{index-aa51ad9d.js → index-20d4c934.js} +4 -5
- package/dist/esm/index-20d4c934.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-components.esm.js +1 -1
- package/dist/hemfixarna-components/p-13c814e5.entry.js +2 -0
- package/dist/hemfixarna-components/{p-d2135574.entry.js → p-22402dcd.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-6f9913cb.entry.js → p-2af882e6.entry.js} +2 -2
- package/dist/hemfixarna-components/p-3038b208.entry.js +2 -0
- package/dist/hemfixarna-components/p-45ab00f1.entry.js +2 -0
- package/dist/hemfixarna-components/{p-a66f910f.entry.js → p-5c9563b4.entry.js} +2 -2
- package/dist/hemfixarna-components/p-6bd272c5.entry.js +2 -0
- package/dist/hemfixarna-components/{p-5cc10f3e.js → p-6e20e1b0.js} +2 -2
- package/dist/hemfixarna-components/p-6e20e1b0.js.map +1 -0
- package/dist/hemfixarna-components/p-7b495586.entry.js +2 -0
- package/dist/hemfixarna-components/{p-e2cd711c.entry.js → p-7c0e45f5.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-80044bef.entry.js → p-7cb8e61f.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-d452b6c8.entry.js → p-7df046a3.entry.js} +2 -2
- package/dist/hemfixarna-components/p-81571614.entry.js +2 -0
- package/dist/hemfixarna-components/{p-d522ece7.entry.js → p-82273497.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-5f8e1f23.entry.js → p-8b7e8357.entry.js} +2 -2
- package/dist/hemfixarna-components/p-9c484473.entry.js +2 -0
- package/dist/hemfixarna-components/{p-dcf4f921.entry.js → p-9cf1fb6b.entry.js} +2 -2
- package/dist/hemfixarna-components/p-b115aec3.entry.js +2 -0
- package/dist/hemfixarna-components/p-b115aec3.entry.js.map +1 -0
- package/dist/hemfixarna-components/p-cdc0d010.js +2 -0
- package/dist/hemfixarna-components/p-cdc0d010.js.map +1 -0
- package/dist/hemfixarna-components/{p-9defa3dc.entry.js → p-de0582a4.entry.js} +2 -2
- package/dist/hemfixarna-components/p-e162b027.entry.js +2 -0
- package/dist/hemfixarna-components/p-ea31b5fc.entry.js +2 -0
- package/dist/hemfixarna-components/{p-cc0920f6.entry.js → p-f9fdaa51.entry.js} +2 -2
- package/dist/hemfixarna-components/p-fe40c699.entry.js +2 -0
- package/dist/types/types/index.d.ts +5 -1
- package/package.json +1 -1
- package/dist/cjs/index-3e8dcb29.js.map +0 -1
- package/dist/cjs/index-e81df82e.js.map +0 -1
- package/dist/esm/index-aa51ad9d.js.map +0 -1
- package/dist/esm/index-c8ce6f4b.js.map +0 -1
- package/dist/hemfixarna-components/p-0106398c.entry.js +0 -2
- package/dist/hemfixarna-components/p-2171ef72.entry.js +0 -2
- package/dist/hemfixarna-components/p-21f904c4.entry.js +0 -2
- package/dist/hemfixarna-components/p-30539ae5.entry.js +0 -2
- package/dist/hemfixarna-components/p-3064ec85.entry.js +0 -2
- package/dist/hemfixarna-components/p-31254a9b.entry.js +0 -2
- package/dist/hemfixarna-components/p-5cc10f3e.js.map +0 -1
- package/dist/hemfixarna-components/p-62fdb014.entry.js +0 -2
- package/dist/hemfixarna-components/p-642db21e.js +0 -2
- package/dist/hemfixarna-components/p-642db21e.js.map +0 -1
- package/dist/hemfixarna-components/p-695b4ab5.entry.js +0 -2
- package/dist/hemfixarna-components/p-695b4ab5.entry.js.map +0 -1
- package/dist/hemfixarna-components/p-b904e94f.entry.js +0 -2
- package/dist/hemfixarna-components/p-d31b9a6e.entry.js +0 -2
- package/dist/hemfixarna-components/p-ff1548ae.entry.js +0 -2
- /package/dist/hemfixarna-components/{p-21f904c4.entry.js.map → p-13c814e5.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-d2135574.entry.js.map → p-22402dcd.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-0106398c.entry.js.map → p-2af882e6.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-31254a9b.entry.js.map → p-3038b208.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-3064ec85.entry.js.map → p-45ab00f1.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-a66f910f.entry.js.map → p-5c9563b4.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-d31b9a6e.entry.js.map → p-6bd272c5.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-62fdb014.entry.js.map → p-7b495586.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-e2cd711c.entry.js.map → p-7c0e45f5.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-80044bef.entry.js.map → p-7cb8e61f.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-d452b6c8.entry.js.map → p-7df046a3.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-6f9913cb.entry.js.map → p-81571614.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-d522ece7.entry.js.map → p-82273497.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-5f8e1f23.entry.js.map → p-8b7e8357.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-2171ef72.entry.js.map → p-9c484473.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-ff1548ae.entry.js.map → p-9cf1fb6b.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-9defa3dc.entry.js.map → p-de0582a4.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-cc0920f6.entry.js.map → p-e162b027.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-dcf4f921.entry.js.map → p-ea31b5fc.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-30539ae5.entry.js.map → p-f9fdaa51.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-b904e94f.entry.js.map → p-fe40c699.entry.js.map} +0 -0
@@ -3,8 +3,8 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-e6926623.js');
|
6
|
-
const index$1 = require('./index-
|
7
|
-
const index$2 = require('./index-
|
6
|
+
const index$1 = require('./index-6cce99a1.js');
|
7
|
+
const index$2 = require('./index-dc8e80e4.js');
|
8
8
|
|
9
9
|
const hideField = (field) => {
|
10
10
|
return field.split(' ').reduce((acc, curr) => {
|
@@ -91,7 +91,7 @@ const getRutPrice = (price) => {
|
|
91
91
|
return Math.ceil(price / 2);
|
92
92
|
};
|
93
93
|
const getRotPrice = (price) => {
|
94
|
-
return Math.ceil(price
|
94
|
+
return Math.ceil(price / 2);
|
95
95
|
};
|
96
96
|
const getGreenPrice = (price) => {
|
97
97
|
return Math.ceil(price * 0.5);
|
@@ -381,8 +381,8 @@ const getDefaultApiUrl = () => {
|
|
381
381
|
}
|
382
382
|
};
|
383
383
|
const getApiUrl = () => {
|
384
|
-
if (typeof process !== 'undefined' && process.env &&
|
385
|
-
return
|
384
|
+
if (typeof process !== 'undefined' && process.env && "https://hemfixare.dev.afonso.se") {
|
385
|
+
return "https://hemfixare.dev.afonso.se";
|
386
386
|
}
|
387
387
|
return getDefaultApiUrl();
|
388
388
|
};
|
@@ -395,8 +395,8 @@ const getDefaultCreditSafeApiUrl = () => {
|
|
395
395
|
}
|
396
396
|
};
|
397
397
|
const getCreditSafeApiUrl = () => {
|
398
|
-
if (typeof process !== 'undefined' && process.env &&
|
399
|
-
return
|
398
|
+
if (typeof process !== 'undefined' && process.env && "https://hemfixare-lookup-dev.vercel.app/api") {
|
399
|
+
return "https://hemfixare-lookup-dev.vercel.app/api";
|
400
400
|
}
|
401
401
|
return getDefaultCreditSafeApiUrl();
|
402
402
|
};
|