hemfixarna-web-components 1.5.7 → 1.6.2

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 (245) hide show
  1. package/dist/{collection/utils/api.js → hemfixarna-components/api-36f73d0d.js} +6 -4
  2. package/dist/hemfixarna-components/api-36f73d0d.js.map +1 -0
  3. package/dist/hemfixarna-components/app-globals-0f993ce5.js +5 -0
  4. package/dist/hemfixarna-components/app-globals-0f993ce5.js.map +1 -0
  5. package/dist/{collection/utils/calc.js → hemfixarna-components/calc-4c79b798.js} +6 -3
  6. package/dist/hemfixarna-components/calc-4c79b798.js.map +1 -0
  7. package/dist/hemfixarna-components/css-shim-62d2171c.js +6 -0
  8. package/dist/hemfixarna-components/css-shim-62d2171c.js.map +1 -0
  9. package/dist/hemfixarna-components/dom-46a68c9b.js +75 -0
  10. package/dist/hemfixarna-components/dom-46a68c9b.js.map +1 -0
  11. package/dist/{collection/utils/form.js → hemfixarna-components/form-c53dca29.js} +4 -2
  12. package/dist/hemfixarna-components/form-c53dca29.js.map +1 -0
  13. package/dist/{collection/components/hemfixarna-address/hemfixarna-address.js → hemfixarna-components/hemfixarna-address.entry.js} +14 -20
  14. package/dist/hemfixarna-components/hemfixarna-address.entry.js.map +1 -0
  15. package/dist/hemfixarna-components/hemfixarna-box.entry.js +49 -0
  16. package/dist/hemfixarna-components/hemfixarna-box.entry.js.map +1 -0
  17. package/dist/{collection/components/hemfixarna-breadcrumbs/hemfixarna-breadcrumbs.js → hemfixarna-components/hemfixarna-breadcrumbs.entry.js} +13 -84
  18. package/dist/hemfixarna-components/hemfixarna-breadcrumbs.entry.js.map +1 -0
  19. package/dist/hemfixarna-components/hemfixarna-byggmax.entry.js +27 -0
  20. package/dist/hemfixarna-components/hemfixarna-byggmax.entry.js.map +1 -0
  21. package/dist/{collection/components/hemfixarna-cart/hemfixarna-cart.js → hemfixarna-components/hemfixarna-cart.entry.js} +11 -31
  22. package/dist/hemfixarna-components/hemfixarna-cart.entry.js.map +1 -0
  23. package/dist/{collection/components/hemfixarna-category.tsx/hemfixarna-category.js → hemfixarna-components/hemfixarna-category.entry.js} +12 -6
  24. package/dist/hemfixarna-components/hemfixarna-category.entry.js.map +1 -0
  25. package/dist/{collection/components/hemfixarna-checkout/hemfixarna-checkout.js → hemfixarna-components/hemfixarna-checkout.entry.js} +48 -44
  26. package/dist/hemfixarna-components/hemfixarna-checkout.entry.js.map +1 -0
  27. package/dist/hemfixarna-components/hemfixarna-component.entry.js +248 -0
  28. package/dist/hemfixarna-components/hemfixarna-component.entry.js.map +1 -0
  29. package/dist/hemfixarna-components/hemfixarna-components.esm.js +162 -1
  30. package/dist/hemfixarna-components/hemfixarna-components.esm.js.map +1 -1
  31. package/dist/{collection/components/hemfixarna-contact/hemfixarna-contact.js → hemfixarna-components/hemfixarna-contact.entry.js} +10 -28
  32. package/dist/hemfixarna-components/hemfixarna-contact.entry.js.map +1 -0
  33. package/dist/hemfixarna-components/hemfixarna-demo.entry.js +138 -0
  34. package/dist/hemfixarna-components/hemfixarna-demo.entry.js.map +1 -0
  35. package/dist/hemfixarna-components/hemfixarna-doro.entry.js +23 -0
  36. package/dist/hemfixarna-components/hemfixarna-doro.entry.js.map +1 -0
  37. package/dist/hemfixarna-components/hemfixarna-elfa.entry.js +24 -0
  38. package/dist/hemfixarna-components/hemfixarna-elfa.entry.js.map +1 -0
  39. package/dist/hemfixarna-components/hemfixarna-fargvaruhuset.entry.js +21 -0
  40. package/dist/hemfixarna-components/hemfixarna-fargvaruhuset.entry.js.map +1 -0
  41. package/dist/hemfixarna-components/hemfixarna-flyttsmart.entry.js +21 -0
  42. package/dist/hemfixarna-components/hemfixarna-flyttsmart.entry.js.map +1 -0
  43. package/dist/hemfixarna-components/hemfixarna-forebygg.entry.js +23 -0
  44. package/dist/hemfixarna-components/hemfixarna-forebygg.entry.js.map +1 -0
  45. package/dist/hemfixarna-components/hemfixarna-getuser.entry.js +770 -0
  46. package/dist/hemfixarna-components/hemfixarna-getuser.entry.js.map +1 -0
  47. package/dist/hemfixarna-components/hemfixarna-hornbach.entry.js +24 -0
  48. package/dist/hemfixarna-components/hemfixarna-hornbach.entry.js.map +1 -0
  49. package/dist/{collection/components/hemfixarna-info/hemfixarna-info.js → hemfixarna-components/hemfixarna-info.entry.js} +11 -7
  50. package/dist/hemfixarna-components/hemfixarna-info.entry.js.map +1 -0
  51. package/dist/{collection/components/hemfixarna-invoice/hemfixarna-invoice.js → hemfixarna-components/hemfixarna-invoice.entry.js} +16 -27
  52. package/dist/hemfixarna-components/hemfixarna-invoice.entry.js.map +1 -0
  53. package/dist/hemfixarna-components/hemfixarna-kbygg.entry.js +21 -0
  54. package/dist/hemfixarna-components/hemfixarna-kbygg.entry.js.map +1 -0
  55. package/dist/hemfixarna-components/hemfixarna-klint.entry.js +20 -0
  56. package/dist/hemfixarna-components/hemfixarna-klint.entry.js.map +1 -0
  57. package/dist/hemfixarna-components/hemfixarna-kund.entry.js +20 -0
  58. package/dist/hemfixarna-components/hemfixarna-kund.entry.js.map +1 -0
  59. package/dist/hemfixarna-components/hemfixarna-norrgavel.entry.js +21 -0
  60. package/dist/hemfixarna-components/hemfixarna-norrgavel.entry.js.map +1 -0
  61. package/dist/{collection/components/hemfixarna-order/hemfixarna-order.js → hemfixarna-components/hemfixarna-order.entry.js} +11 -31
  62. package/dist/hemfixarna-components/hemfixarna-order.entry.js.map +1 -0
  63. package/dist/{collection/components/hemfixarna-orderrows/hemfixarna-orderrows.js → hemfixarna-components/hemfixarna-orderrows.entry.js} +12 -50
  64. package/dist/hemfixarna-components/hemfixarna-orderrows.entry.js.map +1 -0
  65. package/dist/hemfixarna-components/hemfixarna-power.entry.js +21 -0
  66. package/dist/hemfixarna-components/hemfixarna-power.entry.js.map +1 -0
  67. package/dist/{collection/components/hemfixarna-product/hemfixarna-product.js → hemfixarna-components/hemfixarna-product.entry.js} +18 -27
  68. package/dist/hemfixarna-components/hemfixarna-product.entry.js.map +1 -0
  69. package/dist/{collection/components/hemfixarna-service/hemfixarna-service.js → hemfixarna-components/hemfixarna-service.entry.js} +12 -6
  70. package/dist/hemfixarna-components/hemfixarna-service.entry.js.map +1 -0
  71. package/dist/hemfixarna-components/hemfixarna-skanska.entry.js +24 -0
  72. package/dist/hemfixarna-components/hemfixarna-skanska.entry.js.map +1 -0
  73. package/dist/hemfixarna-components/hemfixarna-sparfonster.entry.js +21 -0
  74. package/dist/hemfixarna-components/hemfixarna-sparfonster.entry.js.map +1 -0
  75. package/dist/{collection/components/hemfixarna-start/hemfixarna-start.js → hemfixarna-components/hemfixarna-start.entry.js} +11 -48
  76. package/dist/hemfixarna-components/hemfixarna-start.entry.js.map +1 -0
  77. package/dist/hemfixarna-components/hemfixarna-string-furniture.entry.js +23 -0
  78. package/dist/hemfixarna-components/hemfixarna-string-furniture.entry.js.map +1 -0
  79. package/dist/hemfixarna-components/hemfixarna-superfront.entry.js +20 -0
  80. package/dist/hemfixarna-components/hemfixarna-superfront.entry.js.map +1 -0
  81. package/dist/hemfixarna-components/hemfixarna-tesla.entry.js +21 -0
  82. package/dist/hemfixarna-components/hemfixarna-tesla.entry.js.map +1 -0
  83. package/dist/hemfixarna-components/hemfixarna-traningspartner.entry.js +20 -0
  84. package/dist/hemfixarna-components/hemfixarna-traningspartner.entry.js.map +1 -0
  85. package/dist/hemfixarna-components/hemfixarna-zaptec.entry.js +21 -0
  86. package/dist/hemfixarna-components/hemfixarna-zaptec.entry.js.map +1 -0
  87. package/dist/hemfixarna-components/index-b6a6e994.js +256 -0
  88. package/dist/hemfixarna-components/index-b6a6e994.js.map +1 -0
  89. package/dist/{collection/types/index.js → hemfixarna-components/index-d90ad11b.js} +8 -4
  90. package/dist/hemfixarna-components/index-d90ad11b.js.map +1 -0
  91. package/dist/hemfixarna-components/index-f1a87cf1.js +3397 -0
  92. package/dist/{cjs/hemfixarna-address_35.cjs.entry.js.map → hemfixarna-components/index-f1a87cf1.js.map} +1 -1
  93. package/dist/hemfixarna-components/index.esm.js +1 -0
  94. package/dist/hemfixarna-components/index.esm.js.map +1 -1
  95. package/dist/{collection/utils/scroll.js → hemfixarna-components/scroll-6c26b5da.js} +4 -2
  96. package/dist/hemfixarna-components/scroll-6c26b5da.js.map +1 -0
  97. package/dist/hemfixarna-components/shadow-css-05e0c1f4.js +389 -0
  98. package/dist/hemfixarna-components/shadow-css-05e0c1f4.js.map +1 -0
  99. package/dist/{collection/utils/types.js → hemfixarna-components/types-641c9a1c.js} +6 -3
  100. package/dist/hemfixarna-components/types-641c9a1c.js.map +1 -0
  101. package/dist/types/components/customers/hemfixarna-superfront.tsx/hemfixarna-superfront.d.ts +9 -0
  102. package/dist/types/components.d.ts +23 -0
  103. package/dist/types/types/index.d.ts +2 -1
  104. package/package.json +1 -1
  105. package/dist/cjs/hemfixarna-address_35.cjs.entry.js +0 -2748
  106. package/dist/cjs/hemfixarna-components.cjs.js +0 -28
  107. package/dist/cjs/hemfixarna-components.cjs.js.map +0 -1
  108. package/dist/cjs/index-b83343b9.js +0 -1687
  109. package/dist/cjs/index-b83343b9.js.map +0 -1
  110. package/dist/cjs/index.cjs.js +0 -4
  111. package/dist/cjs/index.cjs.js.map +0 -1
  112. package/dist/cjs/loader.cjs.js +0 -24
  113. package/dist/cjs/loader.cjs.js.map +0 -1
  114. package/dist/collection/assets/back.svg +0 -3
  115. package/dist/collection/assets/cart.svg +0 -10
  116. package/dist/collection/assets/checked.svg +0 -10
  117. package/dist/collection/assets/close.svg +0 -5
  118. package/dist/collection/assets/copy.png +0 -0
  119. package/dist/collection/assets/date.svg +0 -6
  120. package/dist/collection/assets/down.svg +0 -3
  121. package/dist/collection/assets/drag-drop.svg +0 -3
  122. package/dist/collection/assets/elfa.png +0 -0
  123. package/dist/collection/assets/gubbe-pensel.svg +0 -1
  124. package/dist/collection/assets/hemfixarna.svg +0 -11
  125. package/dist/collection/assets/hornbach/logo.svg +0 -42
  126. package/dist/collection/assets/hornbach/nav.jpg +0 -0
  127. package/dist/collection/assets/info.svg +0 -5
  128. package/dist/collection/assets/kbygg.svg +0 -29
  129. package/dist/collection/assets/minus.svg +0 -4
  130. package/dist/collection/assets/montering.svg +0 -15
  131. package/dist/collection/assets/norrgavel.svg +0 -1
  132. package/dist/collection/assets/pensel.svg +0 -1
  133. package/dist/collection/assets/plus.svg +0 -5
  134. package/dist/collection/assets/spinner.gif +0 -0
  135. package/dist/collection/assets/tesla.svg +0 -1
  136. package/dist/collection/assets/zaptec.svg +0 -1
  137. package/dist/collection/collection-manifest.json +0 -46
  138. package/dist/collection/components/customers/hemfixarna-byggmax/hemfixarna-byggmax.css +0 -0
  139. package/dist/collection/components/customers/hemfixarna-byggmax/hemfixarna-byggmax.js +0 -184
  140. package/dist/collection/components/customers/hemfixarna-byggmax/hemfixarna-byggmax.js.map +0 -1
  141. package/dist/collection/components/customers/hemfixarna-doro/hemfixarna-doro.css +0 -0
  142. package/dist/collection/components/customers/hemfixarna-doro/hemfixarna-doro.js +0 -123
  143. package/dist/collection/components/customers/hemfixarna-doro/hemfixarna-doro.js.map +0 -1
  144. package/dist/collection/components/customers/hemfixarna-elfa/hemfixarna-elfa.css +0 -0
  145. package/dist/collection/components/customers/hemfixarna-elfa/hemfixarna-elfa.js +0 -142
  146. package/dist/collection/components/customers/hemfixarna-elfa/hemfixarna-elfa.js.map +0 -1
  147. package/dist/collection/components/customers/hemfixarna-fargvaruhuset/hemfixarna-fargvaruhuset.js +0 -132
  148. package/dist/collection/components/customers/hemfixarna-fargvaruhuset/hemfixarna-fargvaruhuset.js.map +0 -1
  149. package/dist/collection/components/customers/hemfixarna-flyttsmart/hemfixarna-flyttsmart.js +0 -132
  150. package/dist/collection/components/customers/hemfixarna-flyttsmart/hemfixarna-flyttsmart.js.map +0 -1
  151. package/dist/collection/components/customers/hemfixarna-forebygg/hemfixarna-forebygg.css +0 -0
  152. package/dist/collection/components/customers/hemfixarna-forebygg/hemfixarna-forebygg.js +0 -123
  153. package/dist/collection/components/customers/hemfixarna-forebygg/hemfixarna-forebygg.js.map +0 -1
  154. package/dist/collection/components/customers/hemfixarna-hornbach/hemfixarna-hornbach.css +0 -0
  155. package/dist/collection/components/customers/hemfixarna-hornbach/hemfixarna-hornbach.js +0 -142
  156. package/dist/collection/components/customers/hemfixarna-hornbach/hemfixarna-hornbach.js.map +0 -1
  157. package/dist/collection/components/customers/hemfixarna-kbygg/hemfixarna-kbygg.js +0 -132
  158. package/dist/collection/components/customers/hemfixarna-kbygg/hemfixarna-kbygg.js.map +0 -1
  159. package/dist/collection/components/customers/hemfixarna-klint/hemfixarna-klint.js +0 -113
  160. package/dist/collection/components/customers/hemfixarna-klint/hemfixarna-klint.js.map +0 -1
  161. package/dist/collection/components/customers/hemfixarna-kund/hemfixarna-kund.js +0 -113
  162. package/dist/collection/components/customers/hemfixarna-kund/hemfixarna-kund.js.map +0 -1
  163. package/dist/collection/components/customers/hemfixarna-norrgavel/hemfixarna-norrgavel.js +0 -132
  164. package/dist/collection/components/customers/hemfixarna-norrgavel/hemfixarna-norrgavel.js.map +0 -1
  165. package/dist/collection/components/customers/hemfixarna-power/hemfixarna-power.js +0 -131
  166. package/dist/collection/components/customers/hemfixarna-power/hemfixarna-power.js.map +0 -1
  167. package/dist/collection/components/customers/hemfixarna-skanska/hemfixarna-skanska.css +0 -0
  168. package/dist/collection/components/customers/hemfixarna-skanska/hemfixarna-skanska.js +0 -141
  169. package/dist/collection/components/customers/hemfixarna-skanska/hemfixarna-skanska.js.map +0 -1
  170. package/dist/collection/components/customers/hemfixarna-sparfonster/hemfixarna-sparfonster.js +0 -131
  171. package/dist/collection/components/customers/hemfixarna-sparfonster/hemfixarna-sparfonster.js.map +0 -1
  172. package/dist/collection/components/customers/hemfixarna-string/hemfixarna-string-furniture.js +0 -123
  173. package/dist/collection/components/customers/hemfixarna-string/hemfixarna-string-furniture.js.map +0 -1
  174. package/dist/collection/components/customers/hemfixarna-string/hemfixarna-string.css +0 -0
  175. package/dist/collection/components/customers/hemfixarna-tesla/hemfixarna-tesla.js +0 -132
  176. package/dist/collection/components/customers/hemfixarna-tesla/hemfixarna-tesla.js.map +0 -1
  177. package/dist/collection/components/customers/hemfixarna-traningspartner/hemfixarna-traningspartner.js +0 -113
  178. package/dist/collection/components/customers/hemfixarna-traningspartner/hemfixarna-traningspartner.js.map +0 -1
  179. package/dist/collection/components/customers/hemfixarna-zaptec/hemfixarna-zaptec.js +0 -132
  180. package/dist/collection/components/customers/hemfixarna-zaptec/hemfixarna-zaptec.js.map +0 -1
  181. package/dist/collection/components/hemfixarna-address/hemfixarna-address.js.map +0 -1
  182. package/dist/collection/components/hemfixarna-box/hemfixarna-box.js +0 -138
  183. package/dist/collection/components/hemfixarna-box/hemfixarna-box.js.map +0 -1
  184. package/dist/collection/components/hemfixarna-breadcrumbs/hemfixarna-breadcrumbs.js.map +0 -1
  185. package/dist/collection/components/hemfixarna-cart/hemfixarna-cart.js.map +0 -1
  186. package/dist/collection/components/hemfixarna-category.tsx/hemfixarna-category.js.map +0 -1
  187. package/dist/collection/components/hemfixarna-checkout/hemfixarna-checkout.js.map +0 -1
  188. package/dist/collection/components/hemfixarna-component/hemfixarna-component.js +0 -483
  189. package/dist/collection/components/hemfixarna-component/hemfixarna-component.js.map +0 -1
  190. package/dist/collection/components/hemfixarna-component/hemfixarna.css +0 -1031
  191. package/dist/collection/components/hemfixarna-contact/hemfixarna-contact.js.map +0 -1
  192. package/dist/collection/components/hemfixarna-demo/hemfixarna-demo.css +0 -135
  193. package/dist/collection/components/hemfixarna-demo/hemfixarna-demo.js +0 -161
  194. package/dist/collection/components/hemfixarna-demo/hemfixarna-demo.js.map +0 -1
  195. package/dist/collection/components/hemfixarna-getuser/hemfixarna-getuser.js +0 -91
  196. package/dist/collection/components/hemfixarna-getuser/hemfixarna-getuser.js.map +0 -1
  197. package/dist/collection/components/hemfixarna-info/hemfixarna-info.js.map +0 -1
  198. package/dist/collection/components/hemfixarna-invoice/hemfixarna-invoice.css +0 -76
  199. package/dist/collection/components/hemfixarna-invoice/hemfixarna-invoice.js.map +0 -1
  200. package/dist/collection/components/hemfixarna-order/hemfixarna-order.js.map +0 -1
  201. package/dist/collection/components/hemfixarna-orderrows/hemfixarna-orderrows.js.map +0 -1
  202. package/dist/collection/components/hemfixarna-product/hemfixarna-product.css +0 -0
  203. package/dist/collection/components/hemfixarna-product/hemfixarna-product.js.map +0 -1
  204. package/dist/collection/components/hemfixarna-service/hemfixarna-service.js.map +0 -1
  205. package/dist/collection/components/hemfixarna-start/hemfixarna-start.js.map +0 -1
  206. package/dist/collection/index.js +0 -2
  207. package/dist/collection/index.js.map +0 -1
  208. package/dist/collection/store/index.js +0 -62
  209. package/dist/collection/store/index.js.map +0 -1
  210. package/dist/collection/types/felixtypes.js +0 -3
  211. package/dist/collection/types/felixtypes.js.map +0 -1
  212. package/dist/collection/types/index.js.map +0 -1
  213. package/dist/collection/utils/api.js.map +0 -1
  214. package/dist/collection/utils/calc.js.map +0 -1
  215. package/dist/collection/utils/creditSafe.js +0 -18
  216. package/dist/collection/utils/creditSafe.js.map +0 -1
  217. package/dist/collection/utils/felixApi.js +0 -18
  218. package/dist/collection/utils/felixApi.js.map +0 -1
  219. package/dist/collection/utils/felixFunctions.js +0 -189
  220. package/dist/collection/utils/felixFunctions.js.map +0 -1
  221. package/dist/collection/utils/form.js.map +0 -1
  222. package/dist/collection/utils/scroll.js.map +0 -1
  223. package/dist/collection/utils/types.js.map +0 -1
  224. package/dist/esm/hemfixarna-address_35.entry.js +0 -2710
  225. package/dist/esm/hemfixarna-address_35.entry.js.map +0 -1
  226. package/dist/esm/hemfixarna-components.js +0 -23
  227. package/dist/esm/hemfixarna-components.js.map +0 -1
  228. package/dist/esm/index-8c417125.js +0 -1656
  229. package/dist/esm/index-8c417125.js.map +0 -1
  230. package/dist/esm/index.js +0 -3
  231. package/dist/esm/index.js.map +0 -1
  232. package/dist/esm/loader.js +0 -20
  233. package/dist/esm/loader.js.map +0 -1
  234. package/dist/esm/polyfills/core-js.js +0 -11
  235. package/dist/esm/polyfills/css-shim.js +0 -1
  236. package/dist/esm/polyfills/dom.js +0 -79
  237. package/dist/esm/polyfills/es5-html-element.js +0 -1
  238. package/dist/esm/polyfills/index.js +0 -34
  239. package/dist/esm/polyfills/system.js +0 -6
  240. package/dist/hemfixarna-components/p-852e7173.js +0 -3
  241. package/dist/hemfixarna-components/p-852e7173.js.map +0 -1
  242. package/dist/hemfixarna-components/p-960effdc.entry.js +0 -2
  243. package/dist/hemfixarna-components/p-960effdc.entry.js.map +0 -1
  244. package/dist/index.cjs.js +0 -1
  245. package/dist/index.js +0 -1
@@ -1,33 +1,15 @@
1
- import { h } from '@stencil/core';
2
- export class HemfixarnaInfo {
3
- constructor() {
1
+ import { r as registerInstance, h } from './index-f1a87cf1.js';
2
+
3
+ const HemfixarnaInfo = class {
4
+ constructor(hostRef) {
5
+ registerInstance(this, hostRef);
4
6
  this.vertical = false;
5
7
  }
6
8
  render() {
7
9
  return (h("div", { class: `hemfixarna_contact ${this.vertical ? 'hemfixarna_contact--vertical' : 'hemfixarna_contact--horizontal'}` }, h("a", { href: "tel:0770-220 720" }, h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M7 4V20H17V4H7ZM6 2H18C18.5523 2 19 2.44772 19 3V21C19 21.5523 18.5523 22 18 22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z", fill: "#C84E18" })), h("span", null, "0770-220 720")), h("a", { href: "https://hemfixarna.se/kundservice/", target: "_blank" }, h("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { "clip-path": "url(#clip0_1001_894)" }, h("path", { d: "M21 12.22C21 6.73 16.74 3 12 3C7.31 3 3 6.65 3 12.28C2.4 12.62 2 13.26 2 14V16C2 17.1 2.9 18 4 18H5V11.9C5 8.03 8.13 4.9 12 4.9C15.87 4.9 19 8.03 19 11.9V19H11V21H19C20.1 21 21 20.1 21 19V17.78C21.59 17.47 22 16.86 22 16.14V13.84C22 13.14 21.59 12.53 21 12.22Z", fill: "#C84E18" }), h("path", { d: "M9 14C9.55228 14 10 13.5523 10 13C10 12.4477 9.55228 12 9 12C8.44772 12 8 12.4477 8 13C8 13.5523 8.44772 14 9 14Z", fill: "#C84E18" }), h("path", { d: "M15 14C15.5523 14 16 13.5523 16 13C16 12.4477 15.5523 12 15 12C14.4477 12 14 12.4477 14 13C14 13.5523 14.4477 14 15 14Z", fill: "#C84E18" }), h("path", { d: "M18 11.03C17.52 8.18 15.04 6 12.05 6C9.01997 6 5.75997 8.51 6.01997 12.45C8.48997 11.44 10.35 9.24 10.88 6.56C12.19 9.19 14.88 11 18 11.03Z", fill: "#C84E18" })), h("defs", null, h("clipPath", { id: "clip0_1001_894" }, h("rect", { width: "24", height: "24", fill: "white" })))), h("span", null, "Kundservice"))));
8
10
  }
9
- static get is() { return "hemfixarna-contact"; }
10
- static get properties() {
11
- return {
12
- "vertical": {
13
- "type": "boolean",
14
- "mutable": false,
15
- "complexType": {
16
- "original": "boolean",
17
- "resolved": "boolean",
18
- "references": {}
19
- },
20
- "required": false,
21
- "optional": true,
22
- "docs": {
23
- "tags": [],
24
- "text": ""
25
- },
26
- "attribute": "vertical",
27
- "reflect": false,
28
- "defaultValue": "false"
29
- }
30
- };
31
- }
32
- }
33
- //# sourceMappingURL=hemfixarna-contact.js.map
11
+ };
12
+
13
+ export { HemfixarnaInfo as hemfixarna_contact };
14
+
15
+ //# sourceMappingURL=hemfixarna-contact.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"hemfixarna-contact.entry.esm.js","mappings":";;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -0,0 +1,138 @@
1
+ import { r as registerInstance, g as getAssetPath, h } from './index-f1a87cf1.js';
2
+ import { W as WidgetStyle, B as Business, T as TopCategory } from './index-d90ad11b.js';
3
+ import { g as getTaxonomy, a as getCustomer } from './api-36f73d0d.js';
4
+ import { i as isBusiness } from './types-641c9a1c.js';
5
+
6
+ const hemfixarnaDemoCss = "@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap\"); :host{font-family:\"Inter\", sans-serif}:host .hemfixarna_widgetstyles label{cursor:pointer}:host .hemfixarna_widgetstyles>div{display:flex;gap:1rem}:host .hemfixarna_widgetstyles h5{margin:1rem 0}:host .hemfixarna_example{margin-bottom:16px;background:#000;padding:16px;color:#fff;display:flex;justify-content:space-between;cursor:pointer;max-width:500px;box-sizing:border-box;position:relative}:host .hemfixarna_example--tooltip{background:#000;top:-48px;font-size:16px;left:40%;color:white;padding:8px;position:absolute;opacity:0}:host .hemfixarna_example--tooltip::after{content:\"\";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#000 transparent transparent transparent}:host .hemfixarna_example:hover .hemfixarna_example--tooltip{opacity:1}:host .hemfixarna_example p{font-size:14px}:host .hemfixarna_example img{filter:invert(1)}:host .hemfixarna_install{display:grid;gap:8px;margin-top:16px}:host .hemfixarna_product--label{background:#e1e0f5}:host .hemfixarna_categories{max-height:100%;overflow:auto;position:relative}:host .hemfixarna_categories--label{display:flex;align-items:center;justify-content:space-between;padding:8px}:host .hemfixarna_categories--label button{background:#3f3a92;border:none;font-weight:600;padding:3.2px 9.6px;border-radius:10px;margin-right:8px;color:#ece8e8}:host .hemfixarna_categories--label button:active{transform:scale(0.95)}:host .hemfixarna_categories--label--big{font-weight:600;border-bottom:1px solid black}:host p{margin:0}:host span{color:darkolivegreen;font-size:10px}:host button{cursor:pointer}:host>div:not(.hemfixarna_hosted){grid-template-columns:1fr 1fr}:host .hemfixarna_hosted .hemfixarna_scripts{display:none}:host>div{display:grid;gap:32px;width:100%;height:100vh;place-items:center;overflow:hidden;padding:16px 32px;box-sizing:border-box}:host>div>*{width:100%}:host>div>div{max-width:500px}:host>div ul{margin:0;padding:0;list-style:none}:host>div ul ul{gap:1px;display:grid}:host>div ul li{padding-left:16px;background:#fff}";
7
+
8
+ const MyComponent = class {
9
+ constructor(hostRef) {
10
+ registerInstance(this, hostRef);
11
+ this.debounce = null;
12
+ this.cdnLink = '<script type="module" src="https://cdn.jsdelivr.net/npm//hemfixarna-web-components@latest/dist/hemfixarna-components/hemfixarna-components.esm.js"></script>';
13
+ this.selectedSlug = undefined;
14
+ this.selectedID = undefined;
15
+ this.tooltipText = 'Kopiera till urklipp';
16
+ this.tree = null;
17
+ this.customer = null;
18
+ this.widgetStyle = WidgetStyle.standard;
19
+ this.buttonBg = '';
20
+ this.buttonColor = '';
21
+ this.partner = undefined;
22
+ this.colorAccessibility = undefined;
23
+ }
24
+ debouncedFunction() {
25
+ if (this.debounce !== null) {
26
+ clearTimeout(this.debounce);
27
+ this.debounce = null;
28
+ }
29
+ this.debounce = window.setTimeout(() => {
30
+ this.checkColorAccessibility();
31
+ this.debounce = null;
32
+ }, 1500);
33
+ }
34
+ async checkColorAccessibility() {
35
+ const defaultTextColor = '#fff';
36
+ const defaultBgColor = '#c84e18';
37
+ const firstColor = this.buttonBg.length ? (this.buttonBg.startsWith('#') ? this.buttonBg : `#${this.buttonBg}`) : defaultBgColor;
38
+ const secondColor = this.buttonColor.length ? (this.buttonColor.startsWith('#') ? this.buttonColor : `#${this.buttonColor}`) : defaultTextColor;
39
+ fetch('https://www.aremycolorsaccessible.com/api/are-they', {
40
+ mode: 'cors',
41
+ method: 'POST',
42
+ body: JSON.stringify({ colors: [firstColor, secondColor] }),
43
+ })
44
+ .then(response => response.json())
45
+ .then(json => {
46
+ if (json && (json)) {
47
+ this.colorAccessibility = json;
48
+ }
49
+ });
50
+ // Your color accessibility logic here
51
+ }
52
+ getTopLevelCategory() {
53
+ switch (process.env.BUSINESS) {
54
+ case Business.byggmax:
55
+ return TopCategory.byggmax;
56
+ default:
57
+ return '';
58
+ }
59
+ }
60
+ getColor(rating) {
61
+ switch (rating) {
62
+ case 'AAA':
63
+ return 'green';
64
+ case 'AA':
65
+ return 'orange';
66
+ case 'A':
67
+ return 'yellow';
68
+ case 'Fail':
69
+ return 'red';
70
+ default:
71
+ return 'black';
72
+ }
73
+ }
74
+ async componentWillLoad() {
75
+ var _a;
76
+ if (process.env.FORCE_OLD_TREE) {
77
+ const tree = await getTaxonomy(this.getTopLevelCategory());
78
+ if ((tree === null || tree === void 0 ? void 0 : tree.code) === 'not_found') {
79
+ // console.warn('tree not found');
80
+ }
81
+ else if (tree) {
82
+ this.tree = tree;
83
+ }
84
+ }
85
+ else {
86
+ const partner = window.location.pathname.replace('/', '');
87
+ this.partner = isBusiness(partner) ? partner : (_a = process.env.BUSINESS) !== null && _a !== void 0 ? _a : Business.kund;
88
+ const customer = await getCustomer(this.partner);
89
+ if (customer.code !== 'not_found' && customer) {
90
+ this.customer = customer;
91
+ }
92
+ }
93
+ }
94
+ getExample() {
95
+ return `<hemfixarna-${this.partner}${this.selectedSlug ? ` slug="${this.selectedSlug}" ` : ''}${this.selectedID ? ` id="${this.selectedID}" ` : ''} ${this.widgetStyle === WidgetStyle.standard ? '' : `widget-style="${this.widgetStyle}"`} ${this.buttonColor.length ? `button-color="${this.buttonColor}"` : ''} ${this.buttonBg.length ? `button-bg="${this.buttonBg}"` : ''}></hemfixarna-${this.partner}>`;
96
+ }
97
+ copyExample() {
98
+ navigator.clipboard.writeText(this.getExample());
99
+ this.tooltipText = 'Snippet kopierad';
100
+ setTimeout(() => {
101
+ this.tooltipText = 'Kopiera till urklipp';
102
+ }, 2000);
103
+ }
104
+ copyCdn() {
105
+ navigator.clipboard.writeText(this.cdnLink);
106
+ this.tooltipText = 'Text kopierad';
107
+ setTimeout(() => {
108
+ this.tooltipText = 'Kopiera till urklipp';
109
+ }, 2000);
110
+ }
111
+ copyNpmInstall() {
112
+ navigator.clipboard.writeText('npm i hemfixarna-web-components');
113
+ this.tooltipText = 'Text kopierad';
114
+ setTimeout(() => {
115
+ this.tooltipText = 'Kopiera till urklipp';
116
+ }, 2000);
117
+ }
118
+ showMaleri() {
119
+ var _a;
120
+ const allCategories = (_a = this.customer) === null || _a === void 0 ? void 0 : _a.categories.map(c => (c.sub_categories ? c.sub_categories : c)).flat();
121
+ return allCategories === null || allCategories === void 0 ? void 0 : allCategories.some(c => c.add_painting);
122
+ }
123
+ render() {
124
+ var _a;
125
+ const copy = getAssetPath(`./assets/copy.png`);
126
+ return (h("div", { class: ((_a = this.customer) === null || _a === void 0 ? void 0 : _a.at_hemfixarna) ? 'hemfixarna_hosted' : '' }, h("div", { class: "hemfixarna_scripts" }, h("div", { onClick: () => this.copyExample(), class: "hemfixarna_example" }, h("p", null, this.getExample()), h("img", { src: copy, height: 20 }), h("span", { class: "hemfixarna_example--tooltip" }, this.tooltipText)), this.partner === Business.byggmax && (h("hemfixarna-byggmax", { buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, forceOldTree: Boolean(process.env.FORCE_OLD_TREE), slug: this.selectedSlug, id: this.selectedID })), this.partner === Business.skanska && h("hemfixarna-skanska", { buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, id: this.selectedID }), this.partner === Business.sparfonster && (h("hemfixarna-sparfonster", { buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, id: this.selectedID })), this.partner === Business.string && (h("hemfixarna-string-furniture", { buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, id: this.selectedID })), this.partner === Business.hornbach && (h("hemfixarna-hornbach", { isDemo: true, buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, id: this.selectedID })), this.partner === Business.traningspartner && (h("hemfixarna-traningspartner", { buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, id: this.selectedID })), this.partner === Business.superfront && (h("hemfixarna-superfront", { buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, id: this.selectedID })), this.partner === Business.zaptec && (h("hemfixarna-zaptec", { isDemo: true, buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, id: this.selectedID })), this.partner === Business.tesla && (h("hemfixarna-tesla", { isDemo: true, buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, id: this.selectedID })), this.partner === Business.forebygg && (h("hemfixarna-forebygg", { buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, id: this.selectedID })), this.partner === Business.doro && h("hemfixarna-doro", { buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, id: this.selectedID }), this.partner === Business.elfa && h("hemfixarna-elfa", { isDemo: true, buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, id: this.selectedID }), this.partner === Business.kbygg && (h("hemfixarna-kbygg", { isDemo: true, buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, id: this.selectedID })), this.partner === Business.fargvaruhuset && (h("hemfixarna-fargvaruhuset", { isDemo: true, buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, id: this.selectedID })), this.partner === Business.norrgavel && (h("hemfixarna-norrgavel", { isDemo: true, buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, id: this.selectedID })), this.partner === Business.klint && h("hemfixarna-klint", { buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, id: this.selectedID }), this.partner === Business.flyttsmart && (h("hemfixarna-flyttsmart", { buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, id: this.selectedID })), this.partner === Business.power && h("hemfixarna-power", { buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, id: this.selectedID }), this.partner === Business.kund && h("hemfixarna-kund", { buttonColor: this.buttonColor, buttonBg: this.buttonBg, widgetStyle: this.widgetStyle, id: this.selectedID }), h("div", { class: "hemfixarna_install" }, h("div", { onClick: () => this.copyCdn(), class: "hemfixarna_example" }, h("p", null, this.cdnLink), h("span", { class: "hemfixarna_example--tooltip" }, this.tooltipText), h("img", { src: copy, height: 20 }))), h("div", { class: "hemfixarna_widgetstyles" }, h("h5", null, "Widget styles"), h("div", null, Object.values(WidgetStyle).map(style => (h("label", { key: style }, h("input", { type: "radio", value: style, checked: this.widgetStyle === style, onChange: () => (this.widgetStyle = style) }), style)))), h("div", null, h("div", null, h("h5", null, "Button background color"), h("input", { type: "text", value: this.buttonBg, onInput: e => (this.buttonBg = e.target.value) })), h("div", null, h("h5", null, "Button text color"), h("input", { type: "text", value: this.buttonColor, onInput: e => (this.buttonColor = e.target.value) })))), h("span", null, "Write an hexa code no # needed"), this.colorAccessibility ? (h("div", null, h("h5", null, "Tillg\u00E4nglighetsrapport"), h("div", null, h("strong", null, "Liten text:"), h("span", { style: { color: this.getColor(this.colorAccessibility.small) } }, this.colorAccessibility.small), h("br", null), h("strong", null, "Fet text:"), h("span", { style: { color: this.getColor(this.colorAccessibility.bold) } }, this.colorAccessibility.bold), h("br", null), h("strong", null, "Stor text:"), h("span", { style: { color: this.getColor(this.colorAccessibility.large) } }, this.colorAccessibility.large), h("br", null), h("strong", null, "Kontrastf\u00F6rh\u00E5llande:"), " ", this.colorAccessibility.contrast))) : null), h("ul", { class: "hemfixarna_categories" }, this.customer ? (h("div", null, this.customer.logo ? (h("div", { style: { width: '100%', display: 'flex', justifyContent: 'center' } }, h("img", { style: { maxWidth: '250px', height: 'auto', margin: '0 auto 2rem' }, src: this.customer.logo.url, alt: this.customer.post_title }))) : null, this.showMaleri() ? (h("li", null, h("div", { class: "hemfixarna_categories--label hemfixarna_categories--label--big" }, h("div", null, h("p", null, "M\u00E5leriverktyget"), h("span", null, "maleri")), h("div", null, h("button", { onClick: () => navigator.clipboard.writeText('maleri') }, "Kopiera ID"), this.customer.at_hemfixarna ? (h("button", { onClick: () => { var _a; return navigator.clipboard.writeText(`${(_a = "https://hemfixarna.se") !== null && _a !== void 0 ? _a : 'https://hemfixarna.se'}/partner/${this.customer.post_name}?id=maleri`); } }, "Kopiera URL")) : (h("button", { onClick: () => (this.selectedID = 'maleri') }, "Ladda m\u00E5leri")))))) : null, this.customer.categories.map(c => (h("li", null, h("div", { class: "hemfixarna_categories--label hemfixarna_categories--label--big" }, h("div", null, h("p", null, c.name), h("span", null, `c-${c.id}`)), h("div", null, h("button", { onClick: () => navigator.clipboard.writeText(`c-${c.id}`) }, "Kopiera ID"), this.customer.at_hemfixarna ? (h("button", { onClick: () => { var _a; return navigator.clipboard.writeText(`${(_a = "https://hemfixarna.se") !== null && _a !== void 0 ? _a : 'https://hemfixarna.se'}/partner/${this.customer.post_name}?id=c-${c.id}`); } }, "Kopiera URL")) : (h("button", { onClick: () => (this.selectedID = `c-${c.id}`) }, "Ladda kategori")))), c.show_products && c.products ? (h("ul", null, c.products.map(p => (h("li", null, h("div", { class: "hemfixarna_categories--label hemfixarna_product--label" }, h("div", null, h("p", null, p.fields.title), h("span", null, p.fields.ID)), h("div", null, h("button", { onClick: () => navigator.clipboard.writeText(String(p.fields.ID)) }, "Kopiera ID"), this.customer.at_hemfixarna ? (h("button", { onClick: () => { var _a; return navigator.clipboard.writeText(`${(_a = "https://hemfixarna.se") !== null && _a !== void 0 ? _a : 'https://hemfixarna.se'}/partner/${this.customer.post_name}?id=${p.fields.ID}`); } }, "Kopiera URL")) : (h("button", { onClick: () => (this.selectedID = String(p.fields.ID)) }, "Ladda produkt"))))))))) : (h("ul", null, c.sub_categories &&
127
+ c.sub_categories.map(sc => (h("li", null, h("div", { class: "hemfixarna_categories--label" }, h("div", null, h("p", null, sc.name), h("span", null, `c-${sc.id}`)), h("div", null, h("button", { onClick: () => navigator.clipboard.writeText(`c-${sc.id}`) }, "Kopiera ID"), this.customer.at_hemfixarna ? (h("button", { onClick: () => { var _a; return navigator.clipboard.writeText(`${(_a = "https://hemfixarna.se") !== null && _a !== void 0 ? _a : 'https://hemfixarna.se'}/partner/${this.customer.post_name}?id=c-${c.id}`); } }, "Kopiera URL")) : (h("button", { onClick: () => (this.selectedID = `c-${sc.id}`) }, "Ladda kategori")))), h("ul", null, sc.products.map(p => (h("li", null, h("div", { class: "hemfixarna_categories--label hemfixarna_product--label" }, h("div", null, h("p", null, p.fields.title), h("span", null, p.fields.ID)), h("div", null, h("button", { onClick: () => navigator.clipboard.writeText(String(p.fields.ID)) }, "Kopiera ID"), this.customer.at_hemfixarna ? (h("button", { onClick: () => { var _a; return navigator.clipboard.writeText(`${(_a = "https://hemfixarna.se") !== null && _a !== void 0 ? _a : 'https://hemfixarna.se'}/partner/${this.customer.post_name}?id=${p.fields.ID}`); } }, "Kopiera URL")) : (h("button", { onClick: () => (this.selectedID = String(p.fields.ID)) }, "Ladda produkt")))))))))))))))))) : this.tree ? (h("div", null, this.tree.sub_cats.map(c => (h("li", null, h("div", { class: "hemfixarna_categories--label hemfixarna_categories--label--big" }, h("div", null, h("p", null, c.name), h("span", null, `category/${c.slug}`)), h("div", null, h("button", { onClick: () => navigator.clipboard.writeText(`category/${c.slug}`) }, "Kopiera slug"), h("button", { onClick: () => (this.selectedSlug = `category/${c.slug}`) }, "Ladda kategori"))), h("ul", null, c.services.map(sc => (h("li", null, h("div", { class: "hemfixarna_categories--label" }, h("div", null, h("p", null, sc.post_title), h("span", null, `service/${sc.post_name}`)), h("div", null, h("button", { onClick: () => navigator.clipboard.writeText(`service/${sc.post_name}`) }, "Kopiera slug"), h("button", { onClick: () => (this.selectedSlug = `service/${sc.post_name}`) }, "Ladda kategori"))), h("ul", null, sc.products.map(sc => (h("li", null, h("div", { class: "hemfixarna_categories--label" }, h("div", null, h("p", null, sc.post_title), h("span", null, `product/${sc.post_name}`)), h("div", null, h("button", { onClick: () => navigator.clipboard.writeText(`product/${sc.post_name}`) }, "Kopiera slug"), h("button", { onClick: () => (this.selectedSlug = `product/${sc.post_name}`) }, "Ladda produkt")))))))))))))))) : null)));
128
+ }
129
+ static get watchers() { return {
130
+ "buttonBg": ["debouncedFunction"],
131
+ "buttonColor": ["debouncedFunction"]
132
+ }; }
133
+ };
134
+ MyComponent.style = hemfixarnaDemoCss;
135
+
136
+ export { MyComponent as hemfixarna_demo };
137
+
138
+ //# sourceMappingURL=hemfixarna-demo.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"hemfixarna-demo.entry.esm.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -0,0 +1,23 @@
1
+ import { r as registerInstance, h } from './index-f1a87cf1.js';
2
+ import { W as WidgetStyle, B as Business } from './index-d90ad11b.js';
3
+
4
+ const hemfixarnaDoroCss = "";
5
+
6
+ const MyComponent = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.id = undefined;
10
+ this.loadFromQuery = undefined;
11
+ this.widgetStyle = WidgetStyle.standard;
12
+ this.buttonColor = undefined;
13
+ this.buttonBg = undefined;
14
+ }
15
+ render() {
16
+ return (h("hemfixarna-component", { widgetStyle: this.widgetStyle, buttonBg: this.buttonBg, buttonColor: this.buttonColor, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.doro }));
17
+ }
18
+ };
19
+ MyComponent.style = hemfixarnaDoroCss;
20
+
21
+ export { MyComponent as hemfixarna_doro };
22
+
23
+ //# sourceMappingURL=hemfixarna-doro.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"hemfixarna-doro.entry.esm.js","mappings":";;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -0,0 +1,24 @@
1
+ import { r as registerInstance, h } from './index-f1a87cf1.js';
2
+ import { W as WidgetStyle, B as Business } from './index-d90ad11b.js';
3
+
4
+ const hemfixarnaElfaCss = "";
5
+
6
+ const MyComponent = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.id = undefined;
10
+ this.loadFromQuery = 'true';
11
+ this.widgetStyle = WidgetStyle.standard;
12
+ this.buttonColor = undefined;
13
+ this.buttonBg = undefined;
14
+ this.isDemo = false;
15
+ }
16
+ render() {
17
+ return (h("hemfixarna-component", { widgetStyle: this.widgetStyle, buttonBg: this.buttonBg, buttonColor: this.buttonColor, nav: { url: 'https://elfa.com', logo: 'assets/elfa.png' }, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.elfa, isDemo: this.isDemo }));
18
+ }
19
+ };
20
+ MyComponent.style = hemfixarnaElfaCss;
21
+
22
+ export { MyComponent as hemfixarna_elfa };
23
+
24
+ //# sourceMappingURL=hemfixarna-elfa.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"hemfixarna-elfa.entry.esm.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -0,0 +1,21 @@
1
+ import { r as registerInstance, h } from './index-f1a87cf1.js';
2
+ import { W as WidgetStyle, B as Business } from './index-d90ad11b.js';
3
+
4
+ const MyComponent = class {
5
+ constructor(hostRef) {
6
+ registerInstance(this, hostRef);
7
+ this.id = undefined;
8
+ this.loadFromQuery = undefined;
9
+ this.widgetStyle = WidgetStyle.standard;
10
+ this.buttonColor = undefined;
11
+ this.buttonBg = undefined;
12
+ this.isDemo = false;
13
+ }
14
+ render() {
15
+ return (h("hemfixarna-component", { widgetStyle: this.widgetStyle, buttonBg: this.buttonBg, buttonColor: this.buttonColor, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.fargvaruhuset, isDemo: this.isDemo }));
16
+ }
17
+ };
18
+
19
+ export { MyComponent as hemfixarna_fargvaruhuset };
20
+
21
+ //# sourceMappingURL=hemfixarna-fargvaruhuset.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"hemfixarna-fargvaruhuset.entry.esm.js","mappings":";;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -0,0 +1,21 @@
1
+ import { r as registerInstance, h } from './index-f1a87cf1.js';
2
+ import { W as WidgetStyle, B as Business } from './index-d90ad11b.js';
3
+
4
+ const MyComponent = class {
5
+ constructor(hostRef) {
6
+ registerInstance(this, hostRef);
7
+ this.id = undefined;
8
+ this.loadFromQuery = undefined;
9
+ this.widgetStyle = WidgetStyle.standard;
10
+ this.buttonColor = undefined;
11
+ this.buttonBg = undefined;
12
+ this.isDemo = false;
13
+ }
14
+ render() {
15
+ return (h("hemfixarna-component", { widgetStyle: this.widgetStyle, buttonBg: this.buttonBg, buttonColor: this.buttonColor, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.flyttsmart, isDemo: this.isDemo }));
16
+ }
17
+ };
18
+
19
+ export { MyComponent as hemfixarna_flyttsmart };
20
+
21
+ //# sourceMappingURL=hemfixarna-flyttsmart.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"hemfixarna-flyttsmart.entry.esm.js","mappings":";;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -0,0 +1,23 @@
1
+ import { r as registerInstance, h } from './index-f1a87cf1.js';
2
+ import { W as WidgetStyle, B as Business } from './index-d90ad11b.js';
3
+
4
+ const hemfixarnaForebyggCss = "";
5
+
6
+ const MyComponent = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.id = undefined;
10
+ this.loadFromQuery = undefined;
11
+ this.widgetStyle = WidgetStyle.standard;
12
+ this.buttonColor = undefined;
13
+ this.buttonBg = undefined;
14
+ }
15
+ render() {
16
+ return (h("hemfixarna-component", { widgetStyle: this.widgetStyle, buttonBg: this.buttonBg, buttonColor: this.buttonColor, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.forebygg }));
17
+ }
18
+ };
19
+ MyComponent.style = hemfixarnaForebyggCss;
20
+
21
+ export { MyComponent as hemfixarna_forebygg };
22
+
23
+ //# sourceMappingURL=hemfixarna-forebygg.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"hemfixarna-forebygg.entry.esm.js","mappings":";;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}