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.
Files changed (128) hide show
  1. package/dist/cjs/hemfixarna-address_15.cjs.entry.js +7 -7
  2. package/dist/cjs/hemfixarna-address_15.cjs.entry.js.map +1 -1
  3. package/dist/cjs/hemfixarna-byggmax.cjs.entry.js +1 -1
  4. package/dist/cjs/hemfixarna-category.cjs.entry.js +1 -1
  5. package/dist/cjs/hemfixarna-doro.cjs.entry.js +1 -1
  6. package/dist/cjs/hemfixarna-elfa.cjs.entry.js +1 -1
  7. package/dist/cjs/hemfixarna-fargvaruhuset.cjs.entry.js +1 -1
  8. package/dist/cjs/hemfixarna-flyttsmart.cjs.entry.js +1 -1
  9. package/dist/cjs/hemfixarna-forebygg.cjs.entry.js +1 -1
  10. package/dist/cjs/hemfixarna-hornbach.cjs.entry.js +1 -1
  11. package/dist/cjs/hemfixarna-kbygg.cjs.entry.js +1 -1
  12. package/dist/cjs/hemfixarna-klint.cjs.entry.js +1 -1
  13. package/dist/cjs/hemfixarna-kund.cjs.entry.js +1 -1
  14. package/dist/cjs/hemfixarna-norrgavel.cjs.entry.js +1 -1
  15. package/dist/cjs/hemfixarna-power.cjs.entry.js +1 -1
  16. package/dist/cjs/hemfixarna-service.cjs.entry.js +1 -1
  17. package/dist/cjs/hemfixarna-skanska.cjs.entry.js +1 -1
  18. package/dist/cjs/hemfixarna-sparfonster.cjs.entry.js +1 -1
  19. package/dist/cjs/hemfixarna-string-furniture.cjs.entry.js +1 -1
  20. package/dist/cjs/hemfixarna-superfront.cjs.entry.js +1 -1
  21. package/dist/cjs/hemfixarna-tesla.cjs.entry.js +1 -1
  22. package/dist/cjs/hemfixarna-traningspartner.cjs.entry.js +1 -1
  23. package/dist/cjs/hemfixarna-zaptec.cjs.entry.js +1 -1
  24. package/dist/cjs/{index-3e8dcb29.js → index-6cce99a1.js} +4 -5
  25. package/dist/cjs/index-6cce99a1.js.map +1 -0
  26. package/dist/cjs/{index-e81df82e.js → index-dc8e80e4.js} +5 -1
  27. package/dist/cjs/index-dc8e80e4.js.map +1 -0
  28. package/dist/collection/types/index.js +4 -0
  29. package/dist/collection/types/index.js.map +1 -1
  30. package/dist/collection/utils/calc.js +1 -10
  31. package/dist/collection/utils/calc.js.map +1 -1
  32. package/dist/esm/hemfixarna-address_15.entry.js +7 -7
  33. package/dist/esm/hemfixarna-address_15.entry.js.map +1 -1
  34. package/dist/esm/hemfixarna-byggmax.entry.js +1 -1
  35. package/dist/esm/hemfixarna-category.entry.js +1 -1
  36. package/dist/esm/hemfixarna-doro.entry.js +1 -1
  37. package/dist/esm/hemfixarna-elfa.entry.js +1 -1
  38. package/dist/esm/hemfixarna-fargvaruhuset.entry.js +1 -1
  39. package/dist/esm/hemfixarna-flyttsmart.entry.js +1 -1
  40. package/dist/esm/hemfixarna-forebygg.entry.js +1 -1
  41. package/dist/esm/hemfixarna-hornbach.entry.js +1 -1
  42. package/dist/esm/hemfixarna-kbygg.entry.js +1 -1
  43. package/dist/esm/hemfixarna-klint.entry.js +1 -1
  44. package/dist/esm/hemfixarna-kund.entry.js +1 -1
  45. package/dist/esm/hemfixarna-norrgavel.entry.js +1 -1
  46. package/dist/esm/hemfixarna-power.entry.js +1 -1
  47. package/dist/esm/hemfixarna-service.entry.js +1 -1
  48. package/dist/esm/hemfixarna-skanska.entry.js +1 -1
  49. package/dist/esm/hemfixarna-sparfonster.entry.js +1 -1
  50. package/dist/esm/hemfixarna-string-furniture.entry.js +1 -1
  51. package/dist/esm/hemfixarna-superfront.entry.js +1 -1
  52. package/dist/esm/hemfixarna-tesla.entry.js +1 -1
  53. package/dist/esm/hemfixarna-traningspartner.entry.js +1 -1
  54. package/dist/esm/hemfixarna-zaptec.entry.js +1 -1
  55. package/dist/esm/{index-c8ce6f4b.js → index-17dff2be.js} +5 -1
  56. package/dist/esm/index-17dff2be.js.map +1 -0
  57. package/dist/esm/{index-aa51ad9d.js → index-20d4c934.js} +4 -5
  58. package/dist/esm/index-20d4c934.js.map +1 -0
  59. package/dist/hemfixarna-components/hemfixarna-components.esm.js +1 -1
  60. package/dist/hemfixarna-components/p-13c814e5.entry.js +2 -0
  61. package/dist/hemfixarna-components/{p-d2135574.entry.js → p-22402dcd.entry.js} +2 -2
  62. package/dist/hemfixarna-components/{p-6f9913cb.entry.js → p-2af882e6.entry.js} +2 -2
  63. package/dist/hemfixarna-components/p-3038b208.entry.js +2 -0
  64. package/dist/hemfixarna-components/p-45ab00f1.entry.js +2 -0
  65. package/dist/hemfixarna-components/{p-a66f910f.entry.js → p-5c9563b4.entry.js} +2 -2
  66. package/dist/hemfixarna-components/p-6bd272c5.entry.js +2 -0
  67. package/dist/hemfixarna-components/{p-5cc10f3e.js → p-6e20e1b0.js} +2 -2
  68. package/dist/hemfixarna-components/p-6e20e1b0.js.map +1 -0
  69. package/dist/hemfixarna-components/p-7b495586.entry.js +2 -0
  70. package/dist/hemfixarna-components/{p-e2cd711c.entry.js → p-7c0e45f5.entry.js} +2 -2
  71. package/dist/hemfixarna-components/{p-80044bef.entry.js → p-7cb8e61f.entry.js} +2 -2
  72. package/dist/hemfixarna-components/{p-d452b6c8.entry.js → p-7df046a3.entry.js} +2 -2
  73. package/dist/hemfixarna-components/p-81571614.entry.js +2 -0
  74. package/dist/hemfixarna-components/{p-d522ece7.entry.js → p-82273497.entry.js} +2 -2
  75. package/dist/hemfixarna-components/{p-5f8e1f23.entry.js → p-8b7e8357.entry.js} +2 -2
  76. package/dist/hemfixarna-components/p-9c484473.entry.js +2 -0
  77. package/dist/hemfixarna-components/{p-dcf4f921.entry.js → p-9cf1fb6b.entry.js} +2 -2
  78. package/dist/hemfixarna-components/p-b115aec3.entry.js +2 -0
  79. package/dist/hemfixarna-components/p-b115aec3.entry.js.map +1 -0
  80. package/dist/hemfixarna-components/p-cdc0d010.js +2 -0
  81. package/dist/hemfixarna-components/p-cdc0d010.js.map +1 -0
  82. package/dist/hemfixarna-components/{p-9defa3dc.entry.js → p-de0582a4.entry.js} +2 -2
  83. package/dist/hemfixarna-components/p-e162b027.entry.js +2 -0
  84. package/dist/hemfixarna-components/p-ea31b5fc.entry.js +2 -0
  85. package/dist/hemfixarna-components/{p-cc0920f6.entry.js → p-f9fdaa51.entry.js} +2 -2
  86. package/dist/hemfixarna-components/p-fe40c699.entry.js +2 -0
  87. package/dist/types/types/index.d.ts +5 -1
  88. package/package.json +1 -1
  89. package/dist/cjs/index-3e8dcb29.js.map +0 -1
  90. package/dist/cjs/index-e81df82e.js.map +0 -1
  91. package/dist/esm/index-aa51ad9d.js.map +0 -1
  92. package/dist/esm/index-c8ce6f4b.js.map +0 -1
  93. package/dist/hemfixarna-components/p-0106398c.entry.js +0 -2
  94. package/dist/hemfixarna-components/p-2171ef72.entry.js +0 -2
  95. package/dist/hemfixarna-components/p-21f904c4.entry.js +0 -2
  96. package/dist/hemfixarna-components/p-30539ae5.entry.js +0 -2
  97. package/dist/hemfixarna-components/p-3064ec85.entry.js +0 -2
  98. package/dist/hemfixarna-components/p-31254a9b.entry.js +0 -2
  99. package/dist/hemfixarna-components/p-5cc10f3e.js.map +0 -1
  100. package/dist/hemfixarna-components/p-62fdb014.entry.js +0 -2
  101. package/dist/hemfixarna-components/p-642db21e.js +0 -2
  102. package/dist/hemfixarna-components/p-642db21e.js.map +0 -1
  103. package/dist/hemfixarna-components/p-695b4ab5.entry.js +0 -2
  104. package/dist/hemfixarna-components/p-695b4ab5.entry.js.map +0 -1
  105. package/dist/hemfixarna-components/p-b904e94f.entry.js +0 -2
  106. package/dist/hemfixarna-components/p-d31b9a6e.entry.js +0 -2
  107. package/dist/hemfixarna-components/p-ff1548ae.entry.js +0 -2
  108. /package/dist/hemfixarna-components/{p-21f904c4.entry.js.map → p-13c814e5.entry.js.map} +0 -0
  109. /package/dist/hemfixarna-components/{p-d2135574.entry.js.map → p-22402dcd.entry.js.map} +0 -0
  110. /package/dist/hemfixarna-components/{p-0106398c.entry.js.map → p-2af882e6.entry.js.map} +0 -0
  111. /package/dist/hemfixarna-components/{p-31254a9b.entry.js.map → p-3038b208.entry.js.map} +0 -0
  112. /package/dist/hemfixarna-components/{p-3064ec85.entry.js.map → p-45ab00f1.entry.js.map} +0 -0
  113. /package/dist/hemfixarna-components/{p-a66f910f.entry.js.map → p-5c9563b4.entry.js.map} +0 -0
  114. /package/dist/hemfixarna-components/{p-d31b9a6e.entry.js.map → p-6bd272c5.entry.js.map} +0 -0
  115. /package/dist/hemfixarna-components/{p-62fdb014.entry.js.map → p-7b495586.entry.js.map} +0 -0
  116. /package/dist/hemfixarna-components/{p-e2cd711c.entry.js.map → p-7c0e45f5.entry.js.map} +0 -0
  117. /package/dist/hemfixarna-components/{p-80044bef.entry.js.map → p-7cb8e61f.entry.js.map} +0 -0
  118. /package/dist/hemfixarna-components/{p-d452b6c8.entry.js.map → p-7df046a3.entry.js.map} +0 -0
  119. /package/dist/hemfixarna-components/{p-6f9913cb.entry.js.map → p-81571614.entry.js.map} +0 -0
  120. /package/dist/hemfixarna-components/{p-d522ece7.entry.js.map → p-82273497.entry.js.map} +0 -0
  121. /package/dist/hemfixarna-components/{p-5f8e1f23.entry.js.map → p-8b7e8357.entry.js.map} +0 -0
  122. /package/dist/hemfixarna-components/{p-2171ef72.entry.js.map → p-9c484473.entry.js.map} +0 -0
  123. /package/dist/hemfixarna-components/{p-ff1548ae.entry.js.map → p-9cf1fb6b.entry.js.map} +0 -0
  124. /package/dist/hemfixarna-components/{p-9defa3dc.entry.js.map → p-de0582a4.entry.js.map} +0 -0
  125. /package/dist/hemfixarna-components/{p-cc0920f6.entry.js.map → p-e162b027.entry.js.map} +0 -0
  126. /package/dist/hemfixarna-components/{p-dcf4f921.entry.js.map → p-ea31b5fc.entry.js.map} +0 -0
  127. /package/dist/hemfixarna-components/{p-30539ae5.entry.js.map → p-f9fdaa51.entry.js.map} +0 -0
  128. /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-3e8dcb29.js');
7
- const index$2 = require('./index-e81df82e.js');
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 * 0.7);
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 && process.env.API_URL) {
385
- return process.env.API_URL;
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 && process.env.CREDIT_SAFE_API_URL) {
399
- return process.env.CREDIT_SAFE_API_URL;
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
  };