hemfixarna-web-components 1.8.3 → 1.8.5

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 (366) hide show
  1. package/dist/{collection/utils/api.js → hemfixarna-components/api-e3c51cb3.js} +7 -4
  2. package/dist/hemfixarna-components/api-e3c51cb3.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-b3b6593c.js} +7 -13
  6. package/dist/hemfixarna-components/calc-b3b6593c.js.map +1 -0
  7. package/dist/hemfixarna-components/css-shim-4fde41f0.js +6 -0
  8. package/dist/hemfixarna-components/css-shim-4fde41f0.js.map +1 -0
  9. package/dist/hemfixarna-components/dom-8de30773.js +75 -0
  10. package/dist/hemfixarna-components/dom-8de30773.js.map +1 -0
  11. package/dist/{collection/utils/enviroment.js → hemfixarna-components/enviroment-fd0a763a.js} +8 -6
  12. package/dist/hemfixarna-components/enviroment-fd0a763a.js.map +1 -0
  13. package/dist/{collection/utils/form.js → hemfixarna-components/form-c53dca29.js} +4 -2
  14. package/dist/hemfixarna-components/form-c53dca29.js.map +1 -0
  15. package/dist/{collection/components/hemfixarna-address/hemfixarna-address.js → hemfixarna-components/hemfixarna-address.entry.js} +14 -20
  16. package/dist/hemfixarna-components/hemfixarna-address.entry.js.map +1 -0
  17. package/dist/hemfixarna-components/hemfixarna-box.entry.js +49 -0
  18. package/dist/hemfixarna-components/hemfixarna-box.entry.js.map +1 -0
  19. package/dist/{collection/components/hemfixarna-breadcrumbs/hemfixarna-breadcrumbs.js → hemfixarna-components/hemfixarna-breadcrumbs.entry.js} +13 -28
  20. package/dist/hemfixarna-components/hemfixarna-breadcrumbs.entry.js.map +1 -0
  21. package/dist/{esm → hemfixarna-components}/hemfixarna-byggmax.entry.js +2 -2
  22. package/dist/hemfixarna-components/hemfixarna-byggmax.entry.js.map +1 -0
  23. package/dist/{collection/components/hemfixarna-cart/hemfixarna-cart.js → hemfixarna-components/hemfixarna-cart.entry.js} +12 -6
  24. package/dist/hemfixarna-components/hemfixarna-cart.entry.js.map +1 -0
  25. package/dist/{esm → hemfixarna-components}/hemfixarna-category.entry.js +2 -2
  26. package/dist/hemfixarna-components/hemfixarna-category.entry.js.map +1 -0
  27. package/dist/{collection/components/hemfixarna-checkout/hemfixarna-checkout.js → hemfixarna-components/hemfixarna-checkout.entry.js} +33 -26
  28. package/dist/hemfixarna-components/hemfixarna-checkout.entry.js.map +1 -0
  29. package/dist/hemfixarna-components/hemfixarna-component.entry.js +189 -0
  30. package/dist/hemfixarna-components/hemfixarna-component.entry.js.map +1 -0
  31. package/dist/hemfixarna-components/hemfixarna-components.esm.js +162 -1
  32. package/dist/hemfixarna-components/hemfixarna-components.esm.js.map +1 -1
  33. package/dist/{collection/components/hemfixarna-contact/hemfixarna-contact.js → hemfixarna-components/hemfixarna-contact.entry.js} +11 -29
  34. package/dist/hemfixarna-components/hemfixarna-contact.entry.js.map +1 -0
  35. package/dist/{collection/components/hemfixarna-demo/hemfixarna-demo.js → hemfixarna-components/hemfixarna-demo.entry.js} +21 -46
  36. package/dist/hemfixarna-components/hemfixarna-demo.entry.js.map +1 -0
  37. package/dist/{esm → hemfixarna-components}/hemfixarna-doro.entry.js +2 -2
  38. package/dist/hemfixarna-components/hemfixarna-doro.entry.js.map +1 -0
  39. package/dist/{esm → hemfixarna-components}/hemfixarna-elfa.entry.js +2 -2
  40. package/dist/hemfixarna-components/hemfixarna-elfa.entry.js.map +1 -0
  41. package/dist/{esm → hemfixarna-components}/hemfixarna-fargvaruhuset.entry.js +2 -2
  42. package/dist/hemfixarna-components/hemfixarna-fargvaruhuset.entry.js.map +1 -0
  43. package/dist/{esm → hemfixarna-components}/hemfixarna-flyttsmart.entry.js +2 -2
  44. package/dist/hemfixarna-components/hemfixarna-flyttsmart.entry.js.map +1 -0
  45. package/dist/{esm → hemfixarna-components}/hemfixarna-forebygg.entry.js +2 -2
  46. package/dist/hemfixarna-components/hemfixarna-forebygg.entry.js.map +1 -0
  47. package/dist/hemfixarna-components/hemfixarna-getuser.entry.js +770 -0
  48. package/dist/hemfixarna-components/hemfixarna-getuser.entry.js.map +1 -0
  49. package/dist/{esm → hemfixarna-components}/hemfixarna-hornbach.entry.js +2 -2
  50. package/dist/hemfixarna-components/hemfixarna-hornbach.entry.js.map +1 -0
  51. package/dist/{collection/components/hemfixarna-info/hemfixarna-info.js → hemfixarna-components/hemfixarna-info.entry.js} +11 -7
  52. package/dist/hemfixarna-components/hemfixarna-info.entry.js.map +1 -0
  53. package/dist/{collection/components/hemfixarna-invoice/hemfixarna-invoice.js → hemfixarna-components/hemfixarna-invoice.entry.js} +16 -27
  54. package/dist/hemfixarna-components/hemfixarna-invoice.entry.js.map +1 -0
  55. package/dist/{esm → hemfixarna-components}/hemfixarna-kbygg.entry.js +2 -2
  56. package/dist/hemfixarna-components/hemfixarna-kbygg.entry.js.map +1 -0
  57. package/dist/{esm → hemfixarna-components}/hemfixarna-klint.entry.js +2 -2
  58. package/dist/hemfixarna-components/hemfixarna-klint.entry.js.map +1 -0
  59. package/dist/{esm → hemfixarna-components}/hemfixarna-kund.entry.js +2 -2
  60. package/dist/hemfixarna-components/hemfixarna-kund.entry.js.map +1 -0
  61. package/dist/{esm → hemfixarna-components}/hemfixarna-norrgavel.entry.js +2 -2
  62. package/dist/hemfixarna-components/hemfixarna-norrgavel.entry.js.map +1 -0
  63. package/dist/{collection/components/hemfixarna-order/hemfixarna-order.js → hemfixarna-components/hemfixarna-order.entry.js} +11 -7
  64. package/dist/hemfixarna-components/hemfixarna-order.entry.js.map +1 -0
  65. package/dist/{collection/components/hemfixarna-orderrows/hemfixarna-orderrows.js → hemfixarna-components/hemfixarna-orderrows.entry.js} +12 -30
  66. package/dist/hemfixarna-components/hemfixarna-orderrows.entry.js.map +1 -0
  67. package/dist/{esm → hemfixarna-components}/hemfixarna-power.entry.js +2 -2
  68. package/dist/hemfixarna-components/hemfixarna-power.entry.js.map +1 -0
  69. package/dist/{collection/components/hemfixarna-product/hemfixarna-product.js → hemfixarna-components/hemfixarna-product.entry.js} +18 -27
  70. package/dist/hemfixarna-components/hemfixarna-product.entry.js.map +1 -0
  71. package/dist/{esm → hemfixarna-components}/hemfixarna-service.entry.js +2 -2
  72. package/dist/hemfixarna-components/hemfixarna-service.entry.js.map +1 -0
  73. package/dist/{esm → hemfixarna-components}/hemfixarna-skanska.entry.js +2 -2
  74. package/dist/hemfixarna-components/hemfixarna-skanska.entry.js.map +1 -0
  75. package/dist/{esm → hemfixarna-components}/hemfixarna-sparfonster.entry.js +2 -2
  76. package/dist/hemfixarna-components/hemfixarna-sparfonster.entry.js.map +1 -0
  77. package/dist/{collection/components/hemfixarna-start/hemfixarna-start.js → hemfixarna-components/hemfixarna-start.entry.js} +11 -48
  78. package/dist/hemfixarna-components/hemfixarna-start.entry.js.map +1 -0
  79. package/dist/{esm → hemfixarna-components}/hemfixarna-string-furniture.entry.js +2 -2
  80. package/dist/hemfixarna-components/hemfixarna-string-furniture.entry.js.map +1 -0
  81. package/dist/{esm → hemfixarna-components}/hemfixarna-superfront.entry.js +2 -2
  82. package/dist/hemfixarna-components/hemfixarna-superfront.entry.js.map +1 -0
  83. package/dist/{esm → hemfixarna-components}/hemfixarna-tesla.entry.js +2 -2
  84. package/dist/hemfixarna-components/hemfixarna-tesla.entry.js.map +1 -0
  85. package/dist/{esm → hemfixarna-components}/hemfixarna-traningspartner.entry.js +2 -2
  86. package/dist/hemfixarna-components/hemfixarna-traningspartner.entry.js.map +1 -0
  87. package/dist/{esm → hemfixarna-components}/hemfixarna-zaptec.entry.js +2 -2
  88. package/dist/hemfixarna-components/hemfixarna-zaptec.entry.js.map +1 -0
  89. package/dist/{esm/index-8282f88e.js → hemfixarna-components/index-21ba2b05.js} +2 -2
  90. package/dist/{esm/index-8282f88e.js.map → hemfixarna-components/index-21ba2b05.js.map} +1 -1
  91. package/dist/hemfixarna-components/index-2ce8b901.js +3461 -0
  92. package/dist/hemfixarna-components/index-2ce8b901.js.map +1 -0
  93. package/dist/{esm/index-c8aebf0d.js → hemfixarna-components/index-c8ce6f4b.js} +6 -1
  94. package/dist/hemfixarna-components/index-c8ce6f4b.js.map +1 -0
  95. package/dist/hemfixarna-components/index.esm.js +1 -0
  96. package/dist/hemfixarna-components/index.esm.js.map +1 -1
  97. package/dist/{collection/utils/scroll.js → hemfixarna-components/scroll-6c26b5da.js} +4 -2
  98. package/dist/hemfixarna-components/scroll-6c26b5da.js.map +1 -0
  99. package/dist/hemfixarna-components/shadow-css-af2290df.js +389 -0
  100. package/dist/hemfixarna-components/shadow-css-af2290df.js.map +1 -0
  101. package/dist/{collection/utils/types.js → hemfixarna-components/types-6da209ae.js} +6 -3
  102. package/dist/hemfixarna-components/types-6da209ae.js.map +1 -0
  103. package/dist/types/stencil-public-runtime.d.ts +3 -0
  104. package/dist/types/types/index.d.ts +6 -1
  105. package/package.json +1 -1
  106. package/dist/cjs/hemfixarna-address_15.cjs.entry.js +0 -2180
  107. package/dist/cjs/hemfixarna-address_15.cjs.entry.js.map +0 -1
  108. package/dist/cjs/hemfixarna-byggmax.cjs.entry.js +0 -27
  109. package/dist/cjs/hemfixarna-byggmax.cjs.entry.js.map +0 -1
  110. package/dist/cjs/hemfixarna-category.cjs.entry.js +0 -28
  111. package/dist/cjs/hemfixarna-category.cjs.entry.js.map +0 -1
  112. package/dist/cjs/hemfixarna-components.cjs.js +0 -28
  113. package/dist/cjs/hemfixarna-components.cjs.js.map +0 -1
  114. package/dist/cjs/hemfixarna-doro.cjs.entry.js +0 -26
  115. package/dist/cjs/hemfixarna-doro.cjs.entry.js.map +0 -1
  116. package/dist/cjs/hemfixarna-elfa.cjs.entry.js +0 -26
  117. package/dist/cjs/hemfixarna-elfa.cjs.entry.js.map +0 -1
  118. package/dist/cjs/hemfixarna-fargvaruhuset.cjs.entry.js +0 -23
  119. package/dist/cjs/hemfixarna-fargvaruhuset.cjs.entry.js.map +0 -1
  120. package/dist/cjs/hemfixarna-flyttsmart.cjs.entry.js +0 -23
  121. package/dist/cjs/hemfixarna-flyttsmart.cjs.entry.js.map +0 -1
  122. package/dist/cjs/hemfixarna-forebygg.cjs.entry.js +0 -26
  123. package/dist/cjs/hemfixarna-forebygg.cjs.entry.js.map +0 -1
  124. package/dist/cjs/hemfixarna-hornbach.cjs.entry.js +0 -26
  125. package/dist/cjs/hemfixarna-hornbach.cjs.entry.js.map +0 -1
  126. package/dist/cjs/hemfixarna-kbygg.cjs.entry.js +0 -23
  127. package/dist/cjs/hemfixarna-kbygg.cjs.entry.js.map +0 -1
  128. package/dist/cjs/hemfixarna-klint.cjs.entry.js +0 -23
  129. package/dist/cjs/hemfixarna-klint.cjs.entry.js.map +0 -1
  130. package/dist/cjs/hemfixarna-kund.cjs.entry.js +0 -23
  131. package/dist/cjs/hemfixarna-kund.cjs.entry.js.map +0 -1
  132. package/dist/cjs/hemfixarna-norrgavel.cjs.entry.js +0 -23
  133. package/dist/cjs/hemfixarna-norrgavel.cjs.entry.js.map +0 -1
  134. package/dist/cjs/hemfixarna-power.cjs.entry.js +0 -23
  135. package/dist/cjs/hemfixarna-power.cjs.entry.js.map +0 -1
  136. package/dist/cjs/hemfixarna-service.cjs.entry.js +0 -24
  137. package/dist/cjs/hemfixarna-service.cjs.entry.js.map +0 -1
  138. package/dist/cjs/hemfixarna-skanska.cjs.entry.js +0 -26
  139. package/dist/cjs/hemfixarna-skanska.cjs.entry.js.map +0 -1
  140. package/dist/cjs/hemfixarna-sparfonster.cjs.entry.js +0 -23
  141. package/dist/cjs/hemfixarna-sparfonster.cjs.entry.js.map +0 -1
  142. package/dist/cjs/hemfixarna-string-furniture.cjs.entry.js +0 -26
  143. package/dist/cjs/hemfixarna-string-furniture.cjs.entry.js.map +0 -1
  144. package/dist/cjs/hemfixarna-superfront.cjs.entry.js +0 -24
  145. package/dist/cjs/hemfixarna-superfront.cjs.entry.js.map +0 -1
  146. package/dist/cjs/hemfixarna-tesla.cjs.entry.js +0 -23
  147. package/dist/cjs/hemfixarna-tesla.cjs.entry.js.map +0 -1
  148. package/dist/cjs/hemfixarna-traningspartner.cjs.entry.js +0 -23
  149. package/dist/cjs/hemfixarna-traningspartner.cjs.entry.js.map +0 -1
  150. package/dist/cjs/hemfixarna-zaptec.cjs.entry.js +0 -23
  151. package/dist/cjs/hemfixarna-zaptec.cjs.entry.js.map +0 -1
  152. package/dist/cjs/index-6af772cf.js +0 -265
  153. package/dist/cjs/index-6af772cf.js.map +0 -1
  154. package/dist/cjs/index-739bf321.js +0 -44
  155. package/dist/cjs/index-739bf321.js.map +0 -1
  156. package/dist/cjs/index-b83343b9.js +0 -1687
  157. package/dist/cjs/index-b83343b9.js.map +0 -1
  158. package/dist/cjs/index.cjs.js +0 -4
  159. package/dist/cjs/index.cjs.js.map +0 -1
  160. package/dist/cjs/loader.cjs.js +0 -24
  161. package/dist/cjs/loader.cjs.js.map +0 -1
  162. package/dist/collection/assets/back.svg +0 -3
  163. package/dist/collection/assets/cart.svg +0 -10
  164. package/dist/collection/assets/checked.svg +0 -10
  165. package/dist/collection/assets/close.svg +0 -5
  166. package/dist/collection/assets/copy.png +0 -0
  167. package/dist/collection/assets/date.svg +0 -6
  168. package/dist/collection/assets/down.svg +0 -3
  169. package/dist/collection/assets/drag-drop.svg +0 -3
  170. package/dist/collection/assets/elfa.png +0 -0
  171. package/dist/collection/assets/gubbe-pensel.svg +0 -1
  172. package/dist/collection/assets/hemfixarna.svg +0 -11
  173. package/dist/collection/assets/hornbach/logo.svg +0 -42
  174. package/dist/collection/assets/hornbach/nav.jpg +0 -0
  175. package/dist/collection/assets/info.svg +0 -5
  176. package/dist/collection/assets/kbygg.svg +0 -29
  177. package/dist/collection/assets/minus.svg +0 -4
  178. package/dist/collection/assets/montering.svg +0 -15
  179. package/dist/collection/assets/norrgavel.svg +0 -1
  180. package/dist/collection/assets/pensel.svg +0 -1
  181. package/dist/collection/assets/plus.svg +0 -5
  182. package/dist/collection/assets/spinner.gif +0 -0
  183. package/dist/collection/assets/tesla.svg +0 -1
  184. package/dist/collection/assets/zaptec.svg +0 -1
  185. package/dist/collection/collection-manifest.json +0 -47
  186. package/dist/collection/components/customers/hemfixarna-byggmax/hemfixarna-byggmax.css +0 -0
  187. package/dist/collection/components/customers/hemfixarna-byggmax/hemfixarna-byggmax.js +0 -122
  188. package/dist/collection/components/customers/hemfixarna-byggmax/hemfixarna-byggmax.js.map +0 -1
  189. package/dist/collection/components/customers/hemfixarna-doro/hemfixarna-doro.css +0 -0
  190. package/dist/collection/components/customers/hemfixarna-doro/hemfixarna-doro.js +0 -104
  191. package/dist/collection/components/customers/hemfixarna-doro/hemfixarna-doro.js.map +0 -1
  192. package/dist/collection/components/customers/hemfixarna-elfa/hemfixarna-elfa.css +0 -0
  193. package/dist/collection/components/customers/hemfixarna-elfa/hemfixarna-elfa.js +0 -104
  194. package/dist/collection/components/customers/hemfixarna-elfa/hemfixarna-elfa.js.map +0 -1
  195. package/dist/collection/components/customers/hemfixarna-fargvaruhuset/hemfixarna-fargvaruhuset.js +0 -94
  196. package/dist/collection/components/customers/hemfixarna-fargvaruhuset/hemfixarna-fargvaruhuset.js.map +0 -1
  197. package/dist/collection/components/customers/hemfixarna-flyttsmart/hemfixarna-flyttsmart.js +0 -94
  198. package/dist/collection/components/customers/hemfixarna-flyttsmart/hemfixarna-flyttsmart.js.map +0 -1
  199. package/dist/collection/components/customers/hemfixarna-forebygg/hemfixarna-forebygg.css +0 -0
  200. package/dist/collection/components/customers/hemfixarna-forebygg/hemfixarna-forebygg.js +0 -104
  201. package/dist/collection/components/customers/hemfixarna-forebygg/hemfixarna-forebygg.js.map +0 -1
  202. package/dist/collection/components/customers/hemfixarna-hornbach/hemfixarna-hornbach.css +0 -0
  203. package/dist/collection/components/customers/hemfixarna-hornbach/hemfixarna-hornbach.js +0 -104
  204. package/dist/collection/components/customers/hemfixarna-hornbach/hemfixarna-hornbach.js.map +0 -1
  205. package/dist/collection/components/customers/hemfixarna-kbygg/hemfixarna-kbygg.js +0 -94
  206. package/dist/collection/components/customers/hemfixarna-kbygg/hemfixarna-kbygg.js.map +0 -1
  207. package/dist/collection/components/customers/hemfixarna-klint/hemfixarna-klint.js +0 -94
  208. package/dist/collection/components/customers/hemfixarna-klint/hemfixarna-klint.js.map +0 -1
  209. package/dist/collection/components/customers/hemfixarna-kund/hemfixarna-kund.js +0 -94
  210. package/dist/collection/components/customers/hemfixarna-kund/hemfixarna-kund.js.map +0 -1
  211. package/dist/collection/components/customers/hemfixarna-norrgavel/hemfixarna-norrgavel.js +0 -94
  212. package/dist/collection/components/customers/hemfixarna-norrgavel/hemfixarna-norrgavel.js.map +0 -1
  213. package/dist/collection/components/customers/hemfixarna-power/hemfixarna-power.js +0 -94
  214. package/dist/collection/components/customers/hemfixarna-power/hemfixarna-power.js.map +0 -1
  215. package/dist/collection/components/customers/hemfixarna-skanska/hemfixarna-skanska.css +0 -0
  216. package/dist/collection/components/customers/hemfixarna-skanska/hemfixarna-skanska.js +0 -104
  217. package/dist/collection/components/customers/hemfixarna-skanska/hemfixarna-skanska.js.map +0 -1
  218. package/dist/collection/components/customers/hemfixarna-sparfonster/hemfixarna-sparfonster.js +0 -94
  219. package/dist/collection/components/customers/hemfixarna-sparfonster/hemfixarna-sparfonster.js.map +0 -1
  220. package/dist/collection/components/customers/hemfixarna-string/hemfixarna-string-furniture.js +0 -104
  221. package/dist/collection/components/customers/hemfixarna-string/hemfixarna-string-furniture.js.map +0 -1
  222. package/dist/collection/components/customers/hemfixarna-string/hemfixarna-string.css +0 -0
  223. package/dist/collection/components/customers/hemfixarna-superfront.tsx/hemfixarna-superfront.js +0 -113
  224. package/dist/collection/components/customers/hemfixarna-superfront.tsx/hemfixarna-superfront.js.map +0 -1
  225. package/dist/collection/components/customers/hemfixarna-tesla/hemfixarna-tesla.js +0 -94
  226. package/dist/collection/components/customers/hemfixarna-tesla/hemfixarna-tesla.js.map +0 -1
  227. package/dist/collection/components/customers/hemfixarna-traningspartner/hemfixarna-traningspartner.js +0 -94
  228. package/dist/collection/components/customers/hemfixarna-traningspartner/hemfixarna-traningspartner.js.map +0 -1
  229. package/dist/collection/components/customers/hemfixarna-zaptec/hemfixarna-zaptec.js +0 -94
  230. package/dist/collection/components/customers/hemfixarna-zaptec/hemfixarna-zaptec.js.map +0 -1
  231. package/dist/collection/components/hemfixarna-address/hemfixarna-address.js.map +0 -1
  232. package/dist/collection/components/hemfixarna-box/hemfixarna-box.js +0 -138
  233. package/dist/collection/components/hemfixarna-box/hemfixarna-box.js.map +0 -1
  234. package/dist/collection/components/hemfixarna-breadcrumbs/hemfixarna-breadcrumbs.js.map +0 -1
  235. package/dist/collection/components/hemfixarna-cart/hemfixarna-cart.js.map +0 -1
  236. package/dist/collection/components/hemfixarna-category.tsx/hemfixarna-category.js +0 -18
  237. package/dist/collection/components/hemfixarna-category.tsx/hemfixarna-category.js.map +0 -1
  238. package/dist/collection/components/hemfixarna-checkout/hemfixarna-checkout.js.map +0 -1
  239. package/dist/collection/components/hemfixarna-component/hemfixarna-component.js +0 -330
  240. package/dist/collection/components/hemfixarna-component/hemfixarna-component.js.map +0 -1
  241. package/dist/collection/components/hemfixarna-component/hemfixarna.css +0 -1061
  242. package/dist/collection/components/hemfixarna-contact/hemfixarna-contact.js.map +0 -1
  243. package/dist/collection/components/hemfixarna-demo/hemfixarna-demo.css +0 -135
  244. package/dist/collection/components/hemfixarna-demo/hemfixarna-demo.js.map +0 -1
  245. package/dist/collection/components/hemfixarna-getuser/hemfixarna-getuser.js +0 -91
  246. package/dist/collection/components/hemfixarna-getuser/hemfixarna-getuser.js.map +0 -1
  247. package/dist/collection/components/hemfixarna-info/hemfixarna-info.js.map +0 -1
  248. package/dist/collection/components/hemfixarna-invoice/hemfixarna-invoice.css +0 -76
  249. package/dist/collection/components/hemfixarna-invoice/hemfixarna-invoice.js.map +0 -1
  250. package/dist/collection/components/hemfixarna-order/hemfixarna-order.js.map +0 -1
  251. package/dist/collection/components/hemfixarna-orderrows/hemfixarna-orderrows.js.map +0 -1
  252. package/dist/collection/components/hemfixarna-product/hemfixarna-product.css +0 -0
  253. package/dist/collection/components/hemfixarna-product/hemfixarna-product.js.map +0 -1
  254. package/dist/collection/components/hemfixarna-service/hemfixarna-service.js +0 -14
  255. package/dist/collection/components/hemfixarna-service/hemfixarna-service.js.map +0 -1
  256. package/dist/collection/components/hemfixarna-start/hemfixarna-start.js.map +0 -1
  257. package/dist/collection/index.js +0 -2
  258. package/dist/collection/index.js.map +0 -1
  259. package/dist/collection/store/index.js +0 -69
  260. package/dist/collection/store/index.js.map +0 -1
  261. package/dist/collection/types/felixtypes.js +0 -3
  262. package/dist/collection/types/felixtypes.js.map +0 -1
  263. package/dist/collection/types/index.js +0 -41
  264. package/dist/collection/types/index.js.map +0 -1
  265. package/dist/collection/utils/api.js.map +0 -1
  266. package/dist/collection/utils/calc.js.map +0 -1
  267. package/dist/collection/utils/creditSafe.js +0 -18
  268. package/dist/collection/utils/creditSafe.js.map +0 -1
  269. package/dist/collection/utils/enviroment.js.map +0 -1
  270. package/dist/collection/utils/felixApi.js +0 -19
  271. package/dist/collection/utils/felixApi.js.map +0 -1
  272. package/dist/collection/utils/felixFunctions.js +0 -188
  273. package/dist/collection/utils/felixFunctions.js.map +0 -1
  274. package/dist/collection/utils/form.js.map +0 -1
  275. package/dist/collection/utils/scroll.js.map +0 -1
  276. package/dist/collection/utils/types.js.map +0 -1
  277. package/dist/esm/hemfixarna-address_15.entry.js +0 -2162
  278. package/dist/esm/hemfixarna-address_15.entry.js.map +0 -1
  279. package/dist/esm/hemfixarna-byggmax.entry.js.map +0 -1
  280. package/dist/esm/hemfixarna-category.entry.js.map +0 -1
  281. package/dist/esm/hemfixarna-components.js +0 -23
  282. package/dist/esm/hemfixarna-components.js.map +0 -1
  283. package/dist/esm/hemfixarna-doro.entry.js.map +0 -1
  284. package/dist/esm/hemfixarna-elfa.entry.js.map +0 -1
  285. package/dist/esm/hemfixarna-fargvaruhuset.entry.js.map +0 -1
  286. package/dist/esm/hemfixarna-flyttsmart.entry.js.map +0 -1
  287. package/dist/esm/hemfixarna-forebygg.entry.js.map +0 -1
  288. package/dist/esm/hemfixarna-hornbach.entry.js.map +0 -1
  289. package/dist/esm/hemfixarna-kbygg.entry.js.map +0 -1
  290. package/dist/esm/hemfixarna-klint.entry.js.map +0 -1
  291. package/dist/esm/hemfixarna-kund.entry.js.map +0 -1
  292. package/dist/esm/hemfixarna-norrgavel.entry.js.map +0 -1
  293. package/dist/esm/hemfixarna-power.entry.js.map +0 -1
  294. package/dist/esm/hemfixarna-service.entry.js.map +0 -1
  295. package/dist/esm/hemfixarna-skanska.entry.js.map +0 -1
  296. package/dist/esm/hemfixarna-sparfonster.entry.js.map +0 -1
  297. package/dist/esm/hemfixarna-string-furniture.entry.js.map +0 -1
  298. package/dist/esm/hemfixarna-superfront.entry.js.map +0 -1
  299. package/dist/esm/hemfixarna-tesla.entry.js.map +0 -1
  300. package/dist/esm/hemfixarna-traningspartner.entry.js.map +0 -1
  301. package/dist/esm/hemfixarna-zaptec.entry.js.map +0 -1
  302. package/dist/esm/index-04bcf90e.js +0 -1656
  303. package/dist/esm/index-04bcf90e.js.map +0 -1
  304. package/dist/esm/index-c8aebf0d.js.map +0 -1
  305. package/dist/esm/index.js +0 -3
  306. package/dist/esm/index.js.map +0 -1
  307. package/dist/esm/loader.js +0 -20
  308. package/dist/esm/loader.js.map +0 -1
  309. package/dist/esm/polyfills/core-js.js +0 -11
  310. package/dist/esm/polyfills/css-shim.js +0 -1
  311. package/dist/esm/polyfills/dom.js +0 -79
  312. package/dist/esm/polyfills/es5-html-element.js +0 -1
  313. package/dist/esm/polyfills/index.js +0 -34
  314. package/dist/esm/polyfills/system.js +0 -6
  315. package/dist/hemfixarna-components/p-075a13b6.entry.js +0 -2
  316. package/dist/hemfixarna-components/p-075a13b6.entry.js.map +0 -1
  317. package/dist/hemfixarna-components/p-0aa722e7.entry.js +0 -2
  318. package/dist/hemfixarna-components/p-0aa722e7.entry.js.map +0 -1
  319. package/dist/hemfixarna-components/p-1cbfbf5a.entry.js +0 -2
  320. package/dist/hemfixarna-components/p-1cbfbf5a.entry.js.map +0 -1
  321. package/dist/hemfixarna-components/p-226a06bb.entry.js +0 -2
  322. package/dist/hemfixarna-components/p-226a06bb.entry.js.map +0 -1
  323. package/dist/hemfixarna-components/p-24b53f91.entry.js +0 -2
  324. package/dist/hemfixarna-components/p-24b53f91.entry.js.map +0 -1
  325. package/dist/hemfixarna-components/p-32a8152b.js +0 -3
  326. package/dist/hemfixarna-components/p-32a8152b.js.map +0 -1
  327. package/dist/hemfixarna-components/p-49c372d6.entry.js +0 -2
  328. package/dist/hemfixarna-components/p-49c372d6.entry.js.map +0 -1
  329. package/dist/hemfixarna-components/p-506c766c.entry.js +0 -2
  330. package/dist/hemfixarna-components/p-506c766c.entry.js.map +0 -1
  331. package/dist/hemfixarna-components/p-53edf50e.entry.js +0 -2
  332. package/dist/hemfixarna-components/p-53edf50e.entry.js.map +0 -1
  333. package/dist/hemfixarna-components/p-66515865.entry.js +0 -2
  334. package/dist/hemfixarna-components/p-66515865.entry.js.map +0 -1
  335. package/dist/hemfixarna-components/p-6c0e0f95.entry.js +0 -2
  336. package/dist/hemfixarna-components/p-6c0e0f95.entry.js.map +0 -1
  337. package/dist/hemfixarna-components/p-8cc96dd9.entry.js +0 -2
  338. package/dist/hemfixarna-components/p-8cc96dd9.entry.js.map +0 -1
  339. package/dist/hemfixarna-components/p-9b409902.entry.js +0 -2
  340. package/dist/hemfixarna-components/p-9b409902.entry.js.map +0 -1
  341. package/dist/hemfixarna-components/p-a09f4a5d.entry.js +0 -2
  342. package/dist/hemfixarna-components/p-a09f4a5d.entry.js.map +0 -1
  343. package/dist/hemfixarna-components/p-b397b966.js +0 -2
  344. package/dist/hemfixarna-components/p-b397b966.js.map +0 -1
  345. package/dist/hemfixarna-components/p-bf515028.entry.js +0 -2
  346. package/dist/hemfixarna-components/p-bf515028.entry.js.map +0 -1
  347. package/dist/hemfixarna-components/p-d013eeee.entry.js +0 -2
  348. package/dist/hemfixarna-components/p-d013eeee.entry.js.map +0 -1
  349. package/dist/hemfixarna-components/p-d281e9e3.entry.js +0 -2
  350. package/dist/hemfixarna-components/p-d281e9e3.entry.js.map +0 -1
  351. package/dist/hemfixarna-components/p-d297cb30.js +0 -2
  352. package/dist/hemfixarna-components/p-d297cb30.js.map +0 -1
  353. package/dist/hemfixarna-components/p-d6af83de.entry.js +0 -2
  354. package/dist/hemfixarna-components/p-d6af83de.entry.js.map +0 -1
  355. package/dist/hemfixarna-components/p-e8800c3b.entry.js +0 -2
  356. package/dist/hemfixarna-components/p-e8800c3b.entry.js.map +0 -1
  357. package/dist/hemfixarna-components/p-eaa3e1c0.entry.js +0 -2
  358. package/dist/hemfixarna-components/p-eaa3e1c0.entry.js.map +0 -1
  359. package/dist/hemfixarna-components/p-ee6d1a35.entry.js +0 -2
  360. package/dist/hemfixarna-components/p-ee6d1a35.entry.js.map +0 -1
  361. package/dist/hemfixarna-components/p-f6de66c8.entry.js +0 -2
  362. package/dist/hemfixarna-components/p-f6de66c8.entry.js.map +0 -1
  363. package/dist/hemfixarna-components/p-facaf951.entry.js +0 -2
  364. package/dist/hemfixarna-components/p-facaf951.entry.js.map +0 -1
  365. package/dist/index.cjs.js +0 -1
  366. package/dist/index.js +0 -1
@@ -26,6 +26,11 @@ var Business;
26
26
  Business["inet"] = "inet";
27
27
  Business["design24"] = "design24";
28
28
  Business["netatonce"] = "netatonce";
29
+ Business["bygghemma"] = "bygghemma";
30
+ Business["badshop"] = "badshop";
31
+ Business["byggshop"] = "byggshop";
32
+ Business["golvshop"] = "golvshop";
33
+ Business["golvpoolen"] = "golvpoolen";
29
34
  })(Business || (Business = {}));
30
35
  var WidgetStyle;
31
36
  (function (WidgetStyle) {
@@ -41,4 +46,4 @@ var TopCategory;
41
46
 
42
47
  export { Business as B, WidgetStyle as W };
43
48
 
44
- //# sourceMappingURL=index-c8aebf0d.js.map
49
+ //# sourceMappingURL=index-c8ce6f4b.js.map
@@ -0,0 +1 @@
1
+ {"file":"index-c8ce6f4b.js","mappings":"AAAA;AACA;AACA;IAEY;AAAZ,WAAY,QAAQ;EAClB,yBAAa,CAAA;EACb,+BAAmB,CAAA;EACnB,+BAAmB,CAAA;EACnB,uCAA2B,CAAA;EAC3B,iCAAqB,CAAA;EACrB,iCAAqB,CAAA;EACrB,yBAAa,CAAA;EACb,yBAAa,CAAA;EACb,4BAAgB,CAAA;EAChB,mCAAuB,CAAA;EACvB,2CAA+B,CAAA;EAC/B,6BAAiB,CAAA;EACjB,2BAAe,CAAA;EACf,2BAAe,CAAA;EACf,qCAAyB,CAAA;EACzB,qBAAS,CAAA;EACT,uCAA2B,CAAA;EAC3B,2BAAe,CAAA;EACf,+CAAmC,CAAA;EACnC,qCAAyB,CAAA;EACzB,yBAAa,CAAA;EACb,iCAAqB,CAAA;EACrB,mCAAuB,CAAA;EACvB,mCAAuB,CAAA;EACvB,+BAAmB,CAAA;EACnB,iCAAqB,CAAA;EACrB,iCAAqB,CAAA;EACrB,qCAAyB,CAAA;AAC3B,CAAC,EA7BW,QAAQ,KAAR,QAAQ,QA6BnB;IAqMW;AAAZ,WAAY,WAAW;EACrB,oCAAqB,CAAA;EACrB,0CAA2B,CAAA;EAC3B,8CAA+B,CAAA;EAC/B,8CAA+B,CAAA;AACjC,CAAC,EALW,WAAW,KAAX,WAAW,QAKtB;AAED,IAAY,WAEX;AAFD,WAAY,WAAW;EACrB,wCAAyB,CAAA;AAC3B,CAAC,EAFW,WAAW,KAAX,WAAW;;;;","names":[],"sources":["./src/types/index.ts"],"sourcesContent":["// Match slug with partner slug in wp admin\n// Dont forget to add the partners url to cors for creditsafe\n// https://bitbucket.org/afonso-sweden/creditsafe-lookup/src/main/api/index.ts\n\nexport enum Business {\n kund = 'kund',\n byggmax = 'byggmax',\n skanska = 'skanska',\n string = 'string-furniture',\n hornbach = 'hornbach',\n forebygg = 'forebygg',\n doro = 'doro',\n elfa = 'elfa',\n kbygg = 'k-bygg',\n norrgavel = 'norrgavel',\n fargvaruhuset = 'fargvaruhuset',\n zaptec = 'zaptec',\n tesla = 'tesla',\n klint = 'klint',\n flyttsmart = 'flyttsmart',\n lg = 'lg',\n sparfonster = 'sparfonster',\n power = 'power',\n traningspartner = 'traningspartner',\n superfront = 'superfront',\n inet = 'inet',\n design24 = 'design24',\n netatonce = 'netatonce',\n bygghemma = 'bygghemma',\n badshop = 'badshop',\n byggshop = 'byggshop',\n golvshop = 'golvshop',\n golvpoolen = 'golvpoolen',\n}\n\ntype Icon = {\n url: string;\n};\n\ninterface Customer {\n ID: number;\n post_title: string;\n post_name: string;\n post_type: string;\n filter: string;\n categories: CustomerCategory[];\n logo?: Icon;\n partner_url?: string;\n at_hemfixarna: boolean;\n info_title: string;\n widget_title?: string;\n info_text: string;\n checkout_title: string;\n checkout_trust_badges: { text: string }[];\n trust_badges: { text: string }[];\n source?: Source;\n password_protected: boolean;\n}\n\ninterface CustomerCategory {\n id: string;\n name: string;\n widget_title?: string;\n icon: string;\n show_products: boolean;\n products: { fields: Product }[] | false;\n sub_categories: CustomerSubCategory[] | false;\n add_painting: boolean;\n}\n\ninterface CustomerSubCategory {\n id: string;\n name: string;\n widget_title?: string;\n icon: string;\n products: { fields: Product }[];\n parent: string;\n add_painting: boolean;\n}\n\ninterface Part {\n ID: number;\n post_author: number;\n post_date: Date;\n post_date_gmt: Date;\n post_content: string;\n post_title: string;\n post_excerpt: string;\n post_status: string;\n comment_status: string;\n ping_status: string;\n post_password: string;\n post_name: string;\n to_ping: string;\n pinged: string;\n post_modified: Date;\n post_modified_gmt: Date;\n post_content_filtered: string;\n post_parent: 0 | 1;\n guid: string;\n menu_order: 0;\n post_type: string;\n post_mime_type: string;\n comment_count: number;\n filter: string;\n price: number;\n title: string;\n}\n\ninterface Product {\n ID: number;\n post_author: string;\n post_date: Date;\n post_date_gmt: Date;\n post_content: string;\n post_title: string;\n post_excerpt: string;\n post_status: string;\n comment_status: string;\n ping_status: string;\n post_password: string;\n post_name: string;\n to_ping: string;\n pinged: string;\n post_modified: Date;\n post_modified_gmt: Date;\n post_content_filtered: string;\n post_parent: 0;\n guid: string;\n menu_order: 0;\n post_type: string;\n post_mime_type: string;\n comment_count: 0;\n filter: string;\n price: number;\n icon?: Icon | string;\n parts?: Array<Part>;\n list: Array<{ bullet: string }>;\n terms: string;\n terms_checkout: string;\n terms_show_checkbox: boolean;\n rut: boolean;\n rot: boolean;\n green: boolean;\n hide_start_fee: boolean;\n description: string;\n category: string;\n title: string;\n invoice: string;\n invoice_price: string;\n invoice_description?: string;\n start_fee_obj: StartFee | null;\n}\n\ninterface Service {\n ID: 41857;\n icon?: Icon | string;\n post_author: 34419;\n post_date: Date;\n post_date_gmt: Date;\n post_content: string;\n post_title: string;\n post_excerpt: string;\n post_status: string;\n comment_status: string;\n ping_status: string;\n post_password: string;\n post_name: string;\n to_ping: string;\n pinged: string;\n post_modified: Date;\n post_modified_gmt: Date;\n post_content_filtered: string;\n post_parent: 0;\n guid: string;\n menu_order: 0;\n post_type: 'service';\n post_mime_type: string;\n comment_count: 0;\n filter: string;\n products: Array<Product>;\n}\n\ninterface Category {\n count: number;\n description: string;\n name: string;\n icon?: Icon | string;\n parent: 0 | 1;\n slug: string;\n taxonomy: 'service_cat';\n term_group: 0 | 1;\n term_id: number;\n term_order: string;\n term_taxonomy_id: number;\n sub_cats?: Array<Category>;\n services?: Array<Service>;\n}\n\ninterface WpOptions {\n link: { title: string; url: string };\n trust: { trust_badge: string }[];\n thank_you_image: string;\n start_fee: number;\n terms: string;\n maleri_title: string;\n maleri_text: string;\n}\ninterface CartPart {\n id: number;\n amount: number;\n price: number;\n name: string;\n}\n\ninterface CartItem {\n id: number;\n price: number;\n name: string;\n amount: number;\n parts: CartPart[];\n rut: boolean;\n rot: boolean;\n green: boolean;\n start_fee: boolean;\n terms_checkout: string;\n icon?: Icon | string;\n start_fee_obj: StartFee | null;\n}\n\nexport enum WidgetStyle {\n standard = 'standard',\n alternative = 'alternative',\n alternative_2 = 'alternative_2',\n alternative_3 = 'alternative_3',\n}\n\nexport enum TopCategory {\n byggmax = 'category/bygg',\n}\n\ninterface User {\n email: string;\n phone: string;\n ssn: string;\n firstName: string;\n lastName: string;\n street: string;\n zip: string;\n town: string;\n}\n\ninterface RutOptions {\n rut_start_fee_heading: string;\n rut_start_fee_text: string;\n rut_start_fee_text_secondary: string;\n}\n\ninterface RotOptions {\n rot_start_fee_heading: string;\n rot_start_fee_text: string;\n rot_start_fee_text_secondary: string;\n}\n\ninterface GreenOptions {\n green_start_fee_heading: string;\n green_start_fee_text: string;\n green_start_fee_text_secondary: string;\n}\n\ninterface SubSource {\n 'recordId': string;\n 'So_SubSource::Sus01_Name': string;\n 'So_SubSource::_id': string;\n 'So_SubSource::_id_Source': string;\n 'modId': string;\n}\n\ninterface FieldData {\n _id: string;\n So01_Name: string;\n So457_Aktiv_ac: number;\n So40_WebSubSource: string | number;\n So39_WebSource: number;\n rec_id: number;\n}\n\ninterface Source {\n fieldData: FieldData;\n sub_sources: SubSource[];\n}\n\ninterface SourcesRespone {\n dataInfo: {\n database: string;\n layout: string;\n table: string;\n totalRecordCount: number;\n foundCount: number;\n returnedCount: number;\n };\n data: Source[];\n}\n\ninterface StartFee {\n ID: number;\n title: string;\n price: number;\n pop_up: string | null;\n discount_type: string | null;\n description: string;\n}\n\nexport type {\n CartItem,\n CartPart,\n Category,\n Customer,\n CustomerCategory,\n CustomerSubCategory,\n GreenOptions,\n Icon,\n Part,\n Product,\n RotOptions,\n RutOptions,\n Service,\n Source,\n SourcesRespone,\n StartFee,\n User,\n WpOptions,\n};\n"],"version":3}
@@ -1,2 +1,3 @@
1
1
 
2
+
2
3
  //# sourceMappingURL=index.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":[],"mappings":""}
1
+ {"file":"index.esm.js","mappings":"","names":[],"sources":[],"sourcesContent":[],"version":3}
@@ -6,5 +6,7 @@ const scrollToTop = (el) => {
6
6
  behavior: 'smooth',
7
7
  });
8
8
  };
9
- export { scrollToTop };
10
- //# sourceMappingURL=scroll.js.map
9
+
10
+ export { scrollToTop as s };
11
+
12
+ //# sourceMappingURL=scroll-6c26b5da.js.map
@@ -0,0 +1 @@
1
+ {"file":"scroll-6c26b5da.js","mappings":"MAAM,WAAW,GAAG,CAAC,EAAuB;EAC1C,IAAI,CAAC,EAAE;IAAE,OAAO;EAChB,EAAE,CAAC,QAAQ,CAAC;IACV,GAAG,EAAE,CAAC;IACN,QAAQ,EAAE,QAAQ;GACnB,CAAC,CAAC;AACL;;;;","names":[],"sources":["./src/utils/scroll.ts"],"sourcesContent":["const scrollToTop = (el: Element | undefined) => {\n if (!el) return;\n el.scrollTo({\n top: 0,\n behavior: 'smooth',\n });\n};\n\nexport { scrollToTop };\n"],"version":3}
@@ -0,0 +1,389 @@
1
+ /*
2
+ Stencil Client Platform v3.4.2 | MIT Licensed | https://stenciljs.com
3
+ */
4
+ /**
5
+ * @license
6
+ * Copyright Google Inc. All Rights Reserved.
7
+ *
8
+ * Use of this source code is governed by an MIT-style license that can be
9
+ * found in the LICENSE file at https://angular.io/license
10
+ *
11
+ * This file is a port of shadowCSS from webcomponents.js to TypeScript.
12
+ * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js
13
+ * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts
14
+ */
15
+ const safeSelector = (selector) => {
16
+ const placeholders = [];
17
+ let index = 0;
18
+ // Replaces attribute selectors with placeholders.
19
+ // The WS in [attr="va lue"] would otherwise be interpreted as a selector separator.
20
+ selector = selector.replace(/(\[[^\]]*\])/g, (_, keep) => {
21
+ const replaceBy = `__ph-${index}__`;
22
+ placeholders.push(keep);
23
+ index++;
24
+ return replaceBy;
25
+ });
26
+ // Replaces the expression in `:nth-child(2n + 1)` with a placeholder.
27
+ // WS and "+" would otherwise be interpreted as selector separators.
28
+ const content = selector.replace(/(:nth-[-\w]+)(\([^)]+\))/g, (_, pseudo, exp) => {
29
+ const replaceBy = `__ph-${index}__`;
30
+ placeholders.push(exp);
31
+ index++;
32
+ return pseudo + replaceBy;
33
+ });
34
+ const ss = {
35
+ content,
36
+ placeholders,
37
+ };
38
+ return ss;
39
+ };
40
+ const restoreSafeSelector = (placeholders, content) => {
41
+ return content.replace(/__ph-(\d+)__/g, (_, index) => placeholders[+index]);
42
+ };
43
+ const _polyfillHost = '-shadowcsshost';
44
+ const _polyfillSlotted = '-shadowcssslotted';
45
+ // note: :host-context pre-processed to -shadowcsshostcontext.
46
+ const _polyfillHostContext = '-shadowcsscontext';
47
+ const _parenSuffix = ')(?:\\((' + '(?:\\([^)(]*\\)|[^)(]*)+?' + ')\\))?([^,{]*)';
48
+ const _cssColonHostRe = new RegExp('(' + _polyfillHost + _parenSuffix, 'gim');
49
+ const _cssColonHostContextRe = new RegExp('(' + _polyfillHostContext + _parenSuffix, 'gim');
50
+ const _cssColonSlottedRe = new RegExp('(' + _polyfillSlotted + _parenSuffix, 'gim');
51
+ const _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';
52
+ const _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
53
+ const _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];
54
+ const _selectorReSuffix = '([>\\s~+[.,{:][\\s\\S]*)?$';
55
+ const _polyfillHostRe = /-shadowcsshost/gim;
56
+ const _colonHostRe = /:host/gim;
57
+ const _colonSlottedRe = /::slotted/gim;
58
+ const _colonHostContextRe = /:host-context/gim;
59
+ const _commentRe = /\/\*\s*[\s\S]*?\*\//g;
60
+ const stripComments = (input) => {
61
+ return input.replace(_commentRe, '');
62
+ };
63
+ const _commentWithHashRe = /\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g;
64
+ const extractCommentsWithHash = (input) => {
65
+ return input.match(_commentWithHashRe) || [];
66
+ };
67
+ const _ruleRe = /(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g;
68
+ const _curlyRe = /([{}])/g;
69
+ const _selectorPartsRe = /(^.*?[^\\])??((:+)(.*)|$)/;
70
+ const OPEN_CURLY = '{';
71
+ const CLOSE_CURLY = '}';
72
+ const BLOCK_PLACEHOLDER = '%BLOCK%';
73
+ const processRules = (input, ruleCallback) => {
74
+ const inputWithEscapedBlocks = escapeBlocks(input);
75
+ let nextBlockIndex = 0;
76
+ return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {
77
+ const selector = m[2];
78
+ let content = '';
79
+ let suffix = m[4];
80
+ let contentPrefix = '';
81
+ if (suffix && suffix.startsWith('{' + BLOCK_PLACEHOLDER)) {
82
+ content = inputWithEscapedBlocks.blocks[nextBlockIndex++];
83
+ suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);
84
+ contentPrefix = '{';
85
+ }
86
+ const cssRule = {
87
+ selector,
88
+ content,
89
+ };
90
+ const rule = ruleCallback(cssRule);
91
+ return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;
92
+ });
93
+ };
94
+ const escapeBlocks = (input) => {
95
+ const inputParts = input.split(_curlyRe);
96
+ const resultParts = [];
97
+ const escapedBlocks = [];
98
+ let bracketCount = 0;
99
+ let currentBlockParts = [];
100
+ for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {
101
+ const part = inputParts[partIndex];
102
+ if (part === CLOSE_CURLY) {
103
+ bracketCount--;
104
+ }
105
+ if (bracketCount > 0) {
106
+ currentBlockParts.push(part);
107
+ }
108
+ else {
109
+ if (currentBlockParts.length > 0) {
110
+ escapedBlocks.push(currentBlockParts.join(''));
111
+ resultParts.push(BLOCK_PLACEHOLDER);
112
+ currentBlockParts = [];
113
+ }
114
+ resultParts.push(part);
115
+ }
116
+ if (part === OPEN_CURLY) {
117
+ bracketCount++;
118
+ }
119
+ }
120
+ if (currentBlockParts.length > 0) {
121
+ escapedBlocks.push(currentBlockParts.join(''));
122
+ resultParts.push(BLOCK_PLACEHOLDER);
123
+ }
124
+ const strEscapedBlocks = {
125
+ escapedString: resultParts.join(''),
126
+ blocks: escapedBlocks,
127
+ };
128
+ return strEscapedBlocks;
129
+ };
130
+ const insertPolyfillHostInCssText = (selector) => {
131
+ selector = selector
132
+ .replace(_colonHostContextRe, _polyfillHostContext)
133
+ .replace(_colonHostRe, _polyfillHost)
134
+ .replace(_colonSlottedRe, _polyfillSlotted);
135
+ return selector;
136
+ };
137
+ const convertColonRule = (cssText, regExp, partReplacer) => {
138
+ // m[1] = :host(-context), m[2] = contents of (), m[3] rest of rule
139
+ return cssText.replace(regExp, (...m) => {
140
+ if (m[2]) {
141
+ const parts = m[2].split(',');
142
+ const r = [];
143
+ for (let i = 0; i < parts.length; i++) {
144
+ const p = parts[i].trim();
145
+ if (!p)
146
+ break;
147
+ r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));
148
+ }
149
+ return r.join(',');
150
+ }
151
+ else {
152
+ return _polyfillHostNoCombinator + m[3];
153
+ }
154
+ });
155
+ };
156
+ const colonHostPartReplacer = (host, part, suffix) => {
157
+ return host + part.replace(_polyfillHost, '') + suffix;
158
+ };
159
+ const convertColonHost = (cssText) => {
160
+ return convertColonRule(cssText, _cssColonHostRe, colonHostPartReplacer);
161
+ };
162
+ const colonHostContextPartReplacer = (host, part, suffix) => {
163
+ if (part.indexOf(_polyfillHost) > -1) {
164
+ return colonHostPartReplacer(host, part, suffix);
165
+ }
166
+ else {
167
+ return host + part + suffix + ', ' + part + ' ' + host + suffix;
168
+ }
169
+ };
170
+ const convertColonSlotted = (cssText, slotScopeId) => {
171
+ const slotClass = '.' + slotScopeId + ' > ';
172
+ const selectors = [];
173
+ cssText = cssText.replace(_cssColonSlottedRe, (...m) => {
174
+ if (m[2]) {
175
+ const compound = m[2].trim();
176
+ const suffix = m[3];
177
+ const slottedSelector = slotClass + compound + suffix;
178
+ let prefixSelector = '';
179
+ for (let i = m[4] - 1; i >= 0; i--) {
180
+ const char = m[5][i];
181
+ if (char === '}' || char === ',') {
182
+ break;
183
+ }
184
+ prefixSelector = char + prefixSelector;
185
+ }
186
+ const orgSelector = prefixSelector + slottedSelector;
187
+ const addedSelector = `${prefixSelector.trimRight()}${slottedSelector.trim()}`;
188
+ if (orgSelector.trim() !== addedSelector.trim()) {
189
+ const updatedSelector = `${addedSelector}, ${orgSelector}`;
190
+ selectors.push({
191
+ orgSelector,
192
+ updatedSelector,
193
+ });
194
+ }
195
+ return slottedSelector;
196
+ }
197
+ else {
198
+ return _polyfillHostNoCombinator + m[3];
199
+ }
200
+ });
201
+ return {
202
+ selectors,
203
+ cssText,
204
+ };
205
+ };
206
+ const convertColonHostContext = (cssText) => {
207
+ return convertColonRule(cssText, _cssColonHostContextRe, colonHostContextPartReplacer);
208
+ };
209
+ const convertShadowDOMSelectors = (cssText) => {
210
+ return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, ' '), cssText);
211
+ };
212
+ const makeScopeMatcher = (scopeSelector) => {
213
+ const lre = /\[/g;
214
+ const rre = /\]/g;
215
+ scopeSelector = scopeSelector.replace(lre, '\\[').replace(rre, '\\]');
216
+ return new RegExp('^(' + scopeSelector + ')' + _selectorReSuffix, 'm');
217
+ };
218
+ const selectorNeedsScoping = (selector, scopeSelector) => {
219
+ const re = makeScopeMatcher(scopeSelector);
220
+ return !re.test(selector);
221
+ };
222
+ const injectScopingSelector = (selector, scopingSelector) => {
223
+ return selector.replace(_selectorPartsRe, (_, before = '', _colonGroup, colon = '', after = '') => {
224
+ return before + scopingSelector + colon + after;
225
+ });
226
+ };
227
+ const applySimpleSelectorScope = (selector, scopeSelector, hostSelector) => {
228
+ // In Android browser, the lastIndex is not reset when the regex is used in String.replace()
229
+ _polyfillHostRe.lastIndex = 0;
230
+ if (_polyfillHostRe.test(selector)) {
231
+ const replaceBy = `.${hostSelector}`;
232
+ return selector
233
+ .replace(_polyfillHostNoCombinatorRe, (_, selector) => injectScopingSelector(selector, replaceBy))
234
+ .replace(_polyfillHostRe, replaceBy + ' ');
235
+ }
236
+ return scopeSelector + ' ' + selector;
237
+ };
238
+ const applyStrictSelectorScope = (selector, scopeSelector, hostSelector) => {
239
+ const isRe = /\[is=([^\]]*)\]/g;
240
+ scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);
241
+ const className = '.' + scopeSelector;
242
+ const _scopeSelectorPart = (p) => {
243
+ let scopedP = p.trim();
244
+ if (!scopedP) {
245
+ return '';
246
+ }
247
+ if (p.indexOf(_polyfillHostNoCombinator) > -1) {
248
+ scopedP = applySimpleSelectorScope(p, scopeSelector, hostSelector);
249
+ }
250
+ else {
251
+ // remove :host since it should be unnecessary
252
+ const t = p.replace(_polyfillHostRe, '');
253
+ if (t.length > 0) {
254
+ scopedP = injectScopingSelector(t, className);
255
+ }
256
+ }
257
+ return scopedP;
258
+ };
259
+ const safeContent = safeSelector(selector);
260
+ selector = safeContent.content;
261
+ let scopedSelector = '';
262
+ let startIndex = 0;
263
+ let res;
264
+ const sep = /( |>|\+|~(?!=))\s*/g;
265
+ // If a selector appears before :host it should not be shimmed as it
266
+ // matches on ancestor elements and not on elements in the host's shadow
267
+ // `:host-context(div)` is transformed to
268
+ // `-shadowcsshost-no-combinatordiv, div -shadowcsshost-no-combinator`
269
+ // the `div` is not part of the component in the 2nd selectors and should not be scoped.
270
+ // Historically `component-tag:host` was matching the component so we also want to preserve
271
+ // this behavior to avoid breaking legacy apps (it should not match).
272
+ // The behavior should be:
273
+ // - `tag:host` -> `tag[h]` (this is to avoid breaking legacy apps, should not match anything)
274
+ // - `tag :host` -> `tag [h]` (`tag` is not scoped because it's considered part of a
275
+ // `:host-context(tag)`)
276
+ const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;
277
+ // Only scope parts after the first `-shadowcsshost-no-combinator` when it is present
278
+ let shouldScope = !hasHost;
279
+ while ((res = sep.exec(selector)) !== null) {
280
+ const separator = res[1];
281
+ const part = selector.slice(startIndex, res.index).trim();
282
+ shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;
283
+ const scopedPart = shouldScope ? _scopeSelectorPart(part) : part;
284
+ scopedSelector += `${scopedPart} ${separator} `;
285
+ startIndex = sep.lastIndex;
286
+ }
287
+ const part = selector.substring(startIndex);
288
+ shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;
289
+ scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
290
+ // replace the placeholders with their original values
291
+ return restoreSafeSelector(safeContent.placeholders, scopedSelector);
292
+ };
293
+ const scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {
294
+ return selector
295
+ .split(',')
296
+ .map((shallowPart) => {
297
+ if (slotSelector && shallowPart.indexOf('.' + slotSelector) > -1) {
298
+ return shallowPart.trim();
299
+ }
300
+ if (selectorNeedsScoping(shallowPart, scopeSelectorText)) {
301
+ return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();
302
+ }
303
+ else {
304
+ return shallowPart.trim();
305
+ }
306
+ })
307
+ .join(', ');
308
+ };
309
+ const scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {
310
+ return processRules(cssText, (rule) => {
311
+ let selector = rule.selector;
312
+ let content = rule.content;
313
+ if (rule.selector[0] !== '@') {
314
+ selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);
315
+ }
316
+ else if (rule.selector.startsWith('@media') ||
317
+ rule.selector.startsWith('@supports') ||
318
+ rule.selector.startsWith('@page') ||
319
+ rule.selector.startsWith('@document')) {
320
+ content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);
321
+ }
322
+ const cssRule = {
323
+ selector: selector.replace(/\s{2,}/g, ' ').trim(),
324
+ content,
325
+ };
326
+ return cssRule;
327
+ });
328
+ };
329
+ const scopeCssText = (cssText, scopeId, hostScopeId, slotScopeId, commentOriginalSelector) => {
330
+ cssText = insertPolyfillHostInCssText(cssText);
331
+ cssText = convertColonHost(cssText);
332
+ cssText = convertColonHostContext(cssText);
333
+ const slotted = convertColonSlotted(cssText, slotScopeId);
334
+ cssText = slotted.cssText;
335
+ cssText = convertShadowDOMSelectors(cssText);
336
+ if (scopeId) {
337
+ cssText = scopeSelectors(cssText, scopeId, hostScopeId, slotScopeId);
338
+ }
339
+ cssText = cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);
340
+ cssText = cssText.replace(/>\s*\*\s+([^{, ]+)/gm, ' $1 ');
341
+ return {
342
+ cssText: cssText.trim(),
343
+ slottedSelectors: slotted.selectors,
344
+ };
345
+ };
346
+ const scopeCss = (cssText, scopeId, commentOriginalSelector) => {
347
+ const hostScopeId = scopeId + '-h';
348
+ const slotScopeId = scopeId + '-s';
349
+ const commentsWithHash = extractCommentsWithHash(cssText);
350
+ cssText = stripComments(cssText);
351
+ const orgSelectors = [];
352
+ if (commentOriginalSelector) {
353
+ const processCommentedSelector = (rule) => {
354
+ const placeholder = `/*!@___${orgSelectors.length}___*/`;
355
+ const comment = `/*!@${rule.selector}*/`;
356
+ orgSelectors.push({ placeholder, comment });
357
+ rule.selector = placeholder + rule.selector;
358
+ return rule;
359
+ };
360
+ cssText = processRules(cssText, (rule) => {
361
+ if (rule.selector[0] !== '@') {
362
+ return processCommentedSelector(rule);
363
+ }
364
+ else if (rule.selector.startsWith('@media') ||
365
+ rule.selector.startsWith('@supports') ||
366
+ rule.selector.startsWith('@page') ||
367
+ rule.selector.startsWith('@document')) {
368
+ rule.content = processRules(rule.content, processCommentedSelector);
369
+ return rule;
370
+ }
371
+ return rule;
372
+ });
373
+ }
374
+ const scoped = scopeCssText(cssText, scopeId, hostScopeId, slotScopeId);
375
+ cssText = [scoped.cssText, ...commentsWithHash].join('\n');
376
+ if (commentOriginalSelector) {
377
+ orgSelectors.forEach(({ placeholder, comment }) => {
378
+ cssText = cssText.replace(placeholder, comment);
379
+ });
380
+ }
381
+ scoped.slottedSelectors.forEach((slottedSelector) => {
382
+ cssText = cssText.replace(slottedSelector.orgSelector, slottedSelector.updatedSelector);
383
+ });
384
+ return cssText;
385
+ };
386
+
387
+ export { scopeCss };
388
+
389
+ //# sourceMappingURL=shadow-css-af2290df.js.map
@@ -0,0 +1 @@
1
+ {"file":"shadow-css-af2290df.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,YAAY,GAAG,CAAC,QAAQ,KAAK;AACnC,IAAI,MAAM,YAAY,GAAG,EAAE,CAAC;AAC5B,IAAI,IAAI,KAAK,GAAG,CAAC,CAAC;AAClB;AACA;AACA,IAAI,QAAQ,GAAG,QAAQ,CAAC,OAAO,CAAC,eAAe,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK;AAC9D,QAAQ,MAAM,SAAS,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC;AAC5C,QAAQ,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAChC,QAAQ,KAAK,EAAE,CAAC;AAChB,QAAQ,OAAO,SAAS,CAAC;AACzB,KAAK,CAAC,CAAC;AACP;AACA;AACA,IAAI,MAAM,OAAO,GAAG,QAAQ,CAAC,OAAO,CAAC,2BAA2B,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,GAAG,KAAK;AACtF,QAAQ,MAAM,SAAS,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,CAAC;AAC5C,QAAQ,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC/B,QAAQ,KAAK,EAAE,CAAC;AAChB,QAAQ,OAAO,MAAM,GAAG,SAAS,CAAC;AAClC,KAAK,CAAC,CAAC;AACP,IAAI,MAAM,EAAE,GAAG;AACf,QAAQ,OAAO;AACf,QAAQ,YAAY;AACpB,KAAK,CAAC;AACN,IAAI,OAAO,EAAE,CAAC;AACd,CAAC,CAAC;AACF,MAAM,mBAAmB,GAAG,CAAC,YAAY,EAAE,OAAO,KAAK;AACvD,IAAI,OAAO,OAAO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Aa;AACb,YAAY,OAAO,IAAI,CAAC;AACxB,SAAS,CAAC,CAAC;AACX,KAAK;AACL,IAAI,MAAM,MAAM,GAAG,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;AAC5E,IAAI,OAAO,GAAG,CAAC,MAAM,CAAC,OAAO,EAAE,GAAG,gBAAgB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AAC/D,IAAI,IAAI,uBAAuB,EAAE;AACjC,QAAQ,YAAY,CAAC,OAAO,CAAC,CAAC,EAAE,WAAW,EAAE,OAAO,EAAE,KAAK;AAC3D,YAAY,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;AAC5D,SAAS,CAAC,CAAC;AACX,KAAK;AACL,IAAI,MAAM,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,eAAe,KAAK;AACzD,QAAQ,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,eAAe,CAAC,WAAW,EAAE,eAAe,CAAC,eAAe,CAAC,CAAC;AAChG,KAAK,CAAC,CAAC;AACP,IAAI,OAAO,OAAO,CAAC;AACnB;;;;","names":[],"sources":["./node_modules/@stencil/core/internal/client/shadow-css.js"],"sourcesContent":["/*\n Stencil Client Platform v3.4.2 | MIT Licensed | https://stenciljs.com\n */\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n *\n * This file is a port of shadowCSS from webcomponents.js to TypeScript.\n * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js\n * https://github.com/angular/angular/blob/master/packages/compiler/src/shadow_css.ts\n */\nconst safeSelector = (selector) => {\n const placeholders = [];\n let index = 0;\n // Replaces attribute selectors with placeholders.\n // The WS in [attr=\"va lue\"] would otherwise be interpreted as a selector separator.\n selector = selector.replace(/(\\[[^\\]]*\\])/g, (_, keep) => {\n const replaceBy = `__ph-${index}__`;\n placeholders.push(keep);\n index++;\n return replaceBy;\n });\n // Replaces the expression in `:nth-child(2n + 1)` with a placeholder.\n // WS and \"+\" would otherwise be interpreted as selector separators.\n const content = selector.replace(/(:nth-[-\\w]+)(\\([^)]+\\))/g, (_, pseudo, exp) => {\n const replaceBy = `__ph-${index}__`;\n placeholders.push(exp);\n index++;\n return pseudo + replaceBy;\n });\n const ss = {\n content,\n placeholders,\n };\n return ss;\n};\nconst restoreSafeSelector = (placeholders, content) => {\n return content.replace(/__ph-(\\d+)__/g, (_, index) => placeholders[+index]);\n};\nconst _polyfillHost = '-shadowcsshost';\nconst _polyfillSlotted = '-shadowcssslotted';\n// note: :host-context pre-processed to -shadowcsshostcontext.\nconst _polyfillHostContext = '-shadowcsscontext';\nconst _parenSuffix = ')(?:\\\\((' + '(?:\\\\([^)(]*\\\\)|[^)(]*)+?' + ')\\\\))?([^,{]*)';\nconst _cssColonHostRe = new RegExp('(' + _polyfillHost + _parenSuffix, 'gim');\nconst _cssColonHostContextRe = new RegExp('(' + _polyfillHostContext + _parenSuffix, 'gim');\nconst _cssColonSlottedRe = new RegExp('(' + _polyfillSlotted + _parenSuffix, 'gim');\nconst _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';\nconst _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\\s]*)/;\nconst _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];\nconst _selectorReSuffix = '([>\\\\s~+[.,{:][\\\\s\\\\S]*)?$';\nconst _polyfillHostRe = /-shadowcsshost/gim;\nconst _colonHostRe = /:host/gim;\nconst _colonSlottedRe = /::slotted/gim;\nconst _colonHostContextRe = /:host-context/gim;\nconst _commentRe = /\\/\\*\\s*[\\s\\S]*?\\*\\//g;\nconst stripComments = (input) => {\n return input.replace(_commentRe, '');\n};\nconst _commentWithHashRe = /\\/\\*\\s*#\\s*source(Mapping)?URL=[\\s\\S]+?\\*\\//g;\nconst extractCommentsWithHash = (input) => {\n return input.match(_commentWithHashRe) || [];\n};\nconst _ruleRe = /(\\s*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))/g;\nconst _curlyRe = /([{}])/g;\nconst _selectorPartsRe = /(^.*?[^\\\\])??((:+)(.*)|$)/;\nconst OPEN_CURLY = '{';\nconst CLOSE_CURLY = '}';\nconst BLOCK_PLACEHOLDER = '%BLOCK%';\nconst processRules = (input, ruleCallback) => {\n const inputWithEscapedBlocks = escapeBlocks(input);\n let nextBlockIndex = 0;\n return inputWithEscapedBlocks.escapedString.replace(_ruleRe, (...m) => {\n const selector = m[2];\n let content = '';\n let suffix = m[4];\n let contentPrefix = '';\n if (suffix && suffix.startsWith('{' + BLOCK_PLACEHOLDER)) {\n content = inputWithEscapedBlocks.blocks[nextBlockIndex++];\n suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);\n contentPrefix = '{';\n }\n const cssRule = {\n selector,\n content,\n };\n const rule = ruleCallback(cssRule);\n return `${m[1]}${rule.selector}${m[3]}${contentPrefix}${rule.content}${suffix}`;\n });\n};\nconst escapeBlocks = (input) => {\n const inputParts = input.split(_curlyRe);\n const resultParts = [];\n const escapedBlocks = [];\n let bracketCount = 0;\n let currentBlockParts = [];\n for (let partIndex = 0; partIndex < inputParts.length; partIndex++) {\n const part = inputParts[partIndex];\n if (part === CLOSE_CURLY) {\n bracketCount--;\n }\n if (bracketCount > 0) {\n currentBlockParts.push(part);\n }\n else {\n if (currentBlockParts.length > 0) {\n escapedBlocks.push(currentBlockParts.join(''));\n resultParts.push(BLOCK_PLACEHOLDER);\n currentBlockParts = [];\n }\n resultParts.push(part);\n }\n if (part === OPEN_CURLY) {\n bracketCount++;\n }\n }\n if (currentBlockParts.length > 0) {\n escapedBlocks.push(currentBlockParts.join(''));\n resultParts.push(BLOCK_PLACEHOLDER);\n }\n const strEscapedBlocks = {\n escapedString: resultParts.join(''),\n blocks: escapedBlocks,\n };\n return strEscapedBlocks;\n};\nconst insertPolyfillHostInCssText = (selector) => {\n selector = selector\n .replace(_colonHostContextRe, _polyfillHostContext)\n .replace(_colonHostRe, _polyfillHost)\n .replace(_colonSlottedRe, _polyfillSlotted);\n return selector;\n};\nconst convertColonRule = (cssText, regExp, partReplacer) => {\n // m[1] = :host(-context), m[2] = contents of (), m[3] rest of rule\n return cssText.replace(regExp, (...m) => {\n if (m[2]) {\n const parts = m[2].split(',');\n const r = [];\n for (let i = 0; i < parts.length; i++) {\n const p = parts[i].trim();\n if (!p)\n break;\n r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));\n }\n return r.join(',');\n }\n else {\n return _polyfillHostNoCombinator + m[3];\n }\n });\n};\nconst colonHostPartReplacer = (host, part, suffix) => {\n return host + part.replace(_polyfillHost, '') + suffix;\n};\nconst convertColonHost = (cssText) => {\n return convertColonRule(cssText, _cssColonHostRe, colonHostPartReplacer);\n};\nconst colonHostContextPartReplacer = (host, part, suffix) => {\n if (part.indexOf(_polyfillHost) > -1) {\n return colonHostPartReplacer(host, part, suffix);\n }\n else {\n return host + part + suffix + ', ' + part + ' ' + host + suffix;\n }\n};\nconst convertColonSlotted = (cssText, slotScopeId) => {\n const slotClass = '.' + slotScopeId + ' > ';\n const selectors = [];\n cssText = cssText.replace(_cssColonSlottedRe, (...m) => {\n if (m[2]) {\n const compound = m[2].trim();\n const suffix = m[3];\n const slottedSelector = slotClass + compound + suffix;\n let prefixSelector = '';\n for (let i = m[4] - 1; i >= 0; i--) {\n const char = m[5][i];\n if (char === '}' || char === ',') {\n break;\n }\n prefixSelector = char + prefixSelector;\n }\n const orgSelector = prefixSelector + slottedSelector;\n const addedSelector = `${prefixSelector.trimRight()}${slottedSelector.trim()}`;\n if (orgSelector.trim() !== addedSelector.trim()) {\n const updatedSelector = `${addedSelector}, ${orgSelector}`;\n selectors.push({\n orgSelector,\n updatedSelector,\n });\n }\n return slottedSelector;\n }\n else {\n return _polyfillHostNoCombinator + m[3];\n }\n });\n return {\n selectors,\n cssText,\n };\n};\nconst convertColonHostContext = (cssText) => {\n return convertColonRule(cssText, _cssColonHostContextRe, colonHostContextPartReplacer);\n};\nconst convertShadowDOMSelectors = (cssText) => {\n return _shadowDOMSelectorsRe.reduce((result, pattern) => result.replace(pattern, ' '), cssText);\n};\nconst makeScopeMatcher = (scopeSelector) => {\n const lre = /\\[/g;\n const rre = /\\]/g;\n scopeSelector = scopeSelector.replace(lre, '\\\\[').replace(rre, '\\\\]');\n return new RegExp('^(' + scopeSelector + ')' + _selectorReSuffix, 'm');\n};\nconst selectorNeedsScoping = (selector, scopeSelector) => {\n const re = makeScopeMatcher(scopeSelector);\n return !re.test(selector);\n};\nconst injectScopingSelector = (selector, scopingSelector) => {\n return selector.replace(_selectorPartsRe, (_, before = '', _colonGroup, colon = '', after = '') => {\n return before + scopingSelector + colon + after;\n });\n};\nconst applySimpleSelectorScope = (selector, scopeSelector, hostSelector) => {\n // In Android browser, the lastIndex is not reset when the regex is used in String.replace()\n _polyfillHostRe.lastIndex = 0;\n if (_polyfillHostRe.test(selector)) {\n const replaceBy = `.${hostSelector}`;\n return selector\n .replace(_polyfillHostNoCombinatorRe, (_, selector) => injectScopingSelector(selector, replaceBy))\n .replace(_polyfillHostRe, replaceBy + ' ');\n }\n return scopeSelector + ' ' + selector;\n};\nconst applyStrictSelectorScope = (selector, scopeSelector, hostSelector) => {\n const isRe = /\\[is=([^\\]]*)\\]/g;\n scopeSelector = scopeSelector.replace(isRe, (_, ...parts) => parts[0]);\n const className = '.' + scopeSelector;\n const _scopeSelectorPart = (p) => {\n let scopedP = p.trim();\n if (!scopedP) {\n return '';\n }\n if (p.indexOf(_polyfillHostNoCombinator) > -1) {\n scopedP = applySimpleSelectorScope(p, scopeSelector, hostSelector);\n }\n else {\n // remove :host since it should be unnecessary\n const t = p.replace(_polyfillHostRe, '');\n if (t.length > 0) {\n scopedP = injectScopingSelector(t, className);\n }\n }\n return scopedP;\n };\n const safeContent = safeSelector(selector);\n selector = safeContent.content;\n let scopedSelector = '';\n let startIndex = 0;\n let res;\n const sep = /( |>|\\+|~(?!=))\\s*/g;\n // If a selector appears before :host it should not be shimmed as it\n // matches on ancestor elements and not on elements in the host's shadow\n // `:host-context(div)` is transformed to\n // `-shadowcsshost-no-combinatordiv, div -shadowcsshost-no-combinator`\n // the `div` is not part of the component in the 2nd selectors and should not be scoped.\n // Historically `component-tag:host` was matching the component so we also want to preserve\n // this behavior to avoid breaking legacy apps (it should not match).\n // The behavior should be:\n // - `tag:host` -> `tag[h]` (this is to avoid breaking legacy apps, should not match anything)\n // - `tag :host` -> `tag [h]` (`tag` is not scoped because it's considered part of a\n // `:host-context(tag)`)\n const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;\n // Only scope parts after the first `-shadowcsshost-no-combinator` when it is present\n let shouldScope = !hasHost;\n while ((res = sep.exec(selector)) !== null) {\n const separator = res[1];\n const part = selector.slice(startIndex, res.index).trim();\n shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;\n const scopedPart = shouldScope ? _scopeSelectorPart(part) : part;\n scopedSelector += `${scopedPart} ${separator} `;\n startIndex = sep.lastIndex;\n }\n const part = selector.substring(startIndex);\n shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;\n scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;\n // replace the placeholders with their original values\n return restoreSafeSelector(safeContent.placeholders, scopedSelector);\n};\nconst scopeSelector = (selector, scopeSelectorText, hostSelector, slotSelector) => {\n return selector\n .split(',')\n .map((shallowPart) => {\n if (slotSelector && shallowPart.indexOf('.' + slotSelector) > -1) {\n return shallowPart.trim();\n }\n if (selectorNeedsScoping(shallowPart, scopeSelectorText)) {\n return applyStrictSelectorScope(shallowPart, scopeSelectorText, hostSelector).trim();\n }\n else {\n return shallowPart.trim();\n }\n })\n .join(', ');\n};\nconst scopeSelectors = (cssText, scopeSelectorText, hostSelector, slotSelector, commentOriginalSelector) => {\n return processRules(cssText, (rule) => {\n let selector = rule.selector;\n let content = rule.content;\n if (rule.selector[0] !== '@') {\n selector = scopeSelector(rule.selector, scopeSelectorText, hostSelector, slotSelector);\n }\n else if (rule.selector.startsWith('@media') ||\n rule.selector.startsWith('@supports') ||\n rule.selector.startsWith('@page') ||\n rule.selector.startsWith('@document')) {\n content = scopeSelectors(rule.content, scopeSelectorText, hostSelector, slotSelector);\n }\n const cssRule = {\n selector: selector.replace(/\\s{2,}/g, ' ').trim(),\n content,\n };\n return cssRule;\n });\n};\nconst scopeCssText = (cssText, scopeId, hostScopeId, slotScopeId, commentOriginalSelector) => {\n cssText = insertPolyfillHostInCssText(cssText);\n cssText = convertColonHost(cssText);\n cssText = convertColonHostContext(cssText);\n const slotted = convertColonSlotted(cssText, slotScopeId);\n cssText = slotted.cssText;\n cssText = convertShadowDOMSelectors(cssText);\n if (scopeId) {\n cssText = scopeSelectors(cssText, scopeId, hostScopeId, slotScopeId);\n }\n cssText = cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);\n cssText = cssText.replace(/>\\s*\\*\\s+([^{, ]+)/gm, ' $1 ');\n return {\n cssText: cssText.trim(),\n slottedSelectors: slotted.selectors,\n };\n};\nconst scopeCss = (cssText, scopeId, commentOriginalSelector) => {\n const hostScopeId = scopeId + '-h';\n const slotScopeId = scopeId + '-s';\n const commentsWithHash = extractCommentsWithHash(cssText);\n cssText = stripComments(cssText);\n const orgSelectors = [];\n if (commentOriginalSelector) {\n const processCommentedSelector = (rule) => {\n const placeholder = `/*!@___${orgSelectors.length}___*/`;\n const comment = `/*!@${rule.selector}*/`;\n orgSelectors.push({ placeholder, comment });\n rule.selector = placeholder + rule.selector;\n return rule;\n };\n cssText = processRules(cssText, (rule) => {\n if (rule.selector[0] !== '@') {\n return processCommentedSelector(rule);\n }\n else if (rule.selector.startsWith('@media') ||\n rule.selector.startsWith('@supports') ||\n rule.selector.startsWith('@page') ||\n rule.selector.startsWith('@document')) {\n rule.content = processRules(rule.content, processCommentedSelector);\n return rule;\n }\n return rule;\n });\n }\n const scoped = scopeCssText(cssText, scopeId, hostScopeId, slotScopeId);\n cssText = [scoped.cssText, ...commentsWithHash].join('\\n');\n if (commentOriginalSelector) {\n orgSelectors.forEach(({ placeholder, comment }) => {\n cssText = cssText.replace(placeholder, comment);\n });\n }\n scoped.slottedSelectors.forEach((slottedSelector) => {\n cssText = cssText.replace(slottedSelector.orgSelector, slottedSelector.updatedSelector);\n });\n return cssText;\n};\n\nexport { scopeCss };\n"],"version":3}
@@ -1,9 +1,12 @@
1
- import { Business } from '../types';
1
+ import { B as Business } from './index-c8ce6f4b.js';
2
+
2
3
  const isProduct = (category) => {
3
4
  return category.post_name !== undefined;
4
5
  };
5
6
  const isBusiness = (partner) => {
6
7
  return Object.values(Business).includes(partner);
7
8
  };
8
- export { isBusiness, isProduct };
9
- //# sourceMappingURL=types.js.map
9
+
10
+ export { isProduct as a, isBusiness as i };
11
+
12
+ //# sourceMappingURL=types-6da209ae.js.map
@@ -0,0 +1 @@
1
+ {"file":"types-6da209ae.js","mappings":";;MAEM,SAAS,GAAG,CAAC,QAA0D;EAC3E,OAAQ,QAAoB,CAAC,SAAS,KAAK,SAAS,CAAC;AACvD,EAAE;MAEI,UAAU,GAAG,CAAC,OAAe;EACjC,OAAO,MAAM,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,OAAmB,CAAC,CAAC;AAC/D;;;;","names":[],"sources":["./src/utils/types.ts"],"sourcesContent":["import { Business, CustomerCategory, CustomerSubCategory, Product } from '../types';\n\nconst isProduct = (category: CustomerCategory | CustomerSubCategory | Product): category is Product => {\n return (category as Product).post_name !== undefined;\n};\n\nconst isBusiness = (partner: string): partner is Business => {\n return Object.values(Business).includes(partner as Business);\n};\n\nexport { isBusiness, isProduct };\n"],"version":3}
@@ -812,6 +812,7 @@ export declare namespace JSXBase {
812
812
  datetime?: string;
813
813
  }
814
814
  interface DialogHTMLAttributes<T> extends HTMLAttributes<T> {
815
+ onCancel?: (event: Event) => void;
815
816
  onClose?: (event: Event) => void;
816
817
  open?: boolean;
817
818
  returnValue?: string;
@@ -1130,6 +1131,8 @@ export declare namespace JSXBase {
1130
1131
  summary?: string;
1131
1132
  }
1132
1133
  interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
1134
+ autoComplete?: string;
1135
+ autocomplete?: string;
1133
1136
  autoFocus?: boolean;
1134
1137
  autofocus?: boolean | string;
1135
1138
  cols?: number;
@@ -21,7 +21,12 @@ export declare enum Business {
21
21
  superfront = "superfront",
22
22
  inet = "inet",
23
23
  design24 = "design24",
24
- netatonce = "netatonce"
24
+ netatonce = "netatonce",
25
+ bygghemma = "bygghemma",
26
+ badshop = "badshop",
27
+ byggshop = "byggshop",
28
+ golvshop = "golvshop",
29
+ golvpoolen = "golvpoolen"
25
30
  }
26
31
  type Icon = {
27
32
  url: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hemfixarna-web-components",
3
- "version": "1.8.3",
3
+ "version": "1.8.5",
4
4
  "author": "Afonso <info@afonso.se> (http://afonso.se)",
5
5
  "description": "Web components to integrate with hemfixarna api",
6
6
  "main": "dist/index.cjs.js",