hemfixarna-web-components 1.6.1 → 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.
- package/dist/{collection/utils/api.js → hemfixarna-components/api-36f73d0d.js} +6 -4
- package/dist/hemfixarna-components/api-36f73d0d.js.map +1 -0
- package/dist/hemfixarna-components/app-globals-0f993ce5.js +5 -0
- package/dist/hemfixarna-components/app-globals-0f993ce5.js.map +1 -0
- package/dist/{collection/utils/calc.js → hemfixarna-components/calc-4c79b798.js} +6 -3
- package/dist/hemfixarna-components/calc-4c79b798.js.map +1 -0
- package/dist/hemfixarna-components/css-shim-62d2171c.js +6 -0
- package/dist/hemfixarna-components/css-shim-62d2171c.js.map +1 -0
- package/dist/hemfixarna-components/dom-46a68c9b.js +75 -0
- package/dist/hemfixarna-components/dom-46a68c9b.js.map +1 -0
- package/dist/{collection/utils/form.js → hemfixarna-components/form-c53dca29.js} +4 -2
- package/dist/hemfixarna-components/form-c53dca29.js.map +1 -0
- package/dist/{collection/components/hemfixarna-address/hemfixarna-address.js → hemfixarna-components/hemfixarna-address.entry.js} +14 -20
- package/dist/hemfixarna-components/hemfixarna-address.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-box.entry.js +49 -0
- package/dist/hemfixarna-components/hemfixarna-box.entry.js.map +1 -0
- package/dist/{collection/components/hemfixarna-breadcrumbs/hemfixarna-breadcrumbs.js → hemfixarna-components/hemfixarna-breadcrumbs.entry.js} +13 -84
- package/dist/hemfixarna-components/hemfixarna-breadcrumbs.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-byggmax.entry.js +27 -0
- package/dist/hemfixarna-components/hemfixarna-byggmax.entry.js.map +1 -0
- package/dist/{collection/components/hemfixarna-cart/hemfixarna-cart.js → hemfixarna-components/hemfixarna-cart.entry.js} +11 -31
- package/dist/hemfixarna-components/hemfixarna-cart.entry.js.map +1 -0
- package/dist/{collection/components/hemfixarna-category.tsx/hemfixarna-category.js → hemfixarna-components/hemfixarna-category.entry.js} +12 -6
- package/dist/hemfixarna-components/hemfixarna-category.entry.js.map +1 -0
- package/dist/{collection/components/hemfixarna-checkout/hemfixarna-checkout.js → hemfixarna-components/hemfixarna-checkout.entry.js} +38 -33
- package/dist/hemfixarna-components/hemfixarna-checkout.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-component.entry.js +248 -0
- package/dist/hemfixarna-components/hemfixarna-component.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-components.esm.js +162 -1
- package/dist/hemfixarna-components/hemfixarna-components.esm.js.map +1 -1
- package/dist/{collection/components/hemfixarna-contact/hemfixarna-contact.js → hemfixarna-components/hemfixarna-contact.entry.js} +10 -28
- package/dist/hemfixarna-components/hemfixarna-contact.entry.js.map +1 -0
- package/dist/{collection/components/hemfixarna-demo/hemfixarna-demo.js → hemfixarna-components/hemfixarna-demo.entry.js} +23 -46
- package/dist/hemfixarna-components/hemfixarna-demo.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-doro.entry.js +23 -0
- package/dist/hemfixarna-components/hemfixarna-doro.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-elfa.entry.js +24 -0
- package/dist/hemfixarna-components/hemfixarna-elfa.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-fargvaruhuset.entry.js +21 -0
- package/dist/hemfixarna-components/hemfixarna-fargvaruhuset.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-flyttsmart.entry.js +21 -0
- package/dist/hemfixarna-components/hemfixarna-flyttsmart.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-forebygg.entry.js +23 -0
- package/dist/hemfixarna-components/hemfixarna-forebygg.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-getuser.entry.js +770 -0
- package/dist/hemfixarna-components/hemfixarna-getuser.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-hornbach.entry.js +24 -0
- package/dist/hemfixarna-components/hemfixarna-hornbach.entry.js.map +1 -0
- package/dist/{collection/components/hemfixarna-info/hemfixarna-info.js → hemfixarna-components/hemfixarna-info.entry.js} +11 -7
- package/dist/hemfixarna-components/hemfixarna-info.entry.js.map +1 -0
- package/dist/{collection/components/hemfixarna-invoice/hemfixarna-invoice.js → hemfixarna-components/hemfixarna-invoice.entry.js} +16 -27
- package/dist/hemfixarna-components/hemfixarna-invoice.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-kbygg.entry.js +21 -0
- package/dist/hemfixarna-components/hemfixarna-kbygg.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-klint.entry.js +20 -0
- package/dist/hemfixarna-components/hemfixarna-klint.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-kund.entry.js +20 -0
- package/dist/hemfixarna-components/hemfixarna-kund.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-norrgavel.entry.js +21 -0
- package/dist/hemfixarna-components/hemfixarna-norrgavel.entry.js.map +1 -0
- package/dist/{collection/components/hemfixarna-order/hemfixarna-order.js → hemfixarna-components/hemfixarna-order.entry.js} +11 -31
- package/dist/hemfixarna-components/hemfixarna-order.entry.js.map +1 -0
- package/dist/{collection/components/hemfixarna-orderrows/hemfixarna-orderrows.js → hemfixarna-components/hemfixarna-orderrows.entry.js} +12 -50
- package/dist/hemfixarna-components/hemfixarna-orderrows.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-power.entry.js +21 -0
- package/dist/hemfixarna-components/hemfixarna-power.entry.js.map +1 -0
- package/dist/{collection/components/hemfixarna-product/hemfixarna-product.js → hemfixarna-components/hemfixarna-product.entry.js} +18 -27
- package/dist/hemfixarna-components/hemfixarna-product.entry.js.map +1 -0
- package/dist/{collection/components/hemfixarna-service/hemfixarna-service.js → hemfixarna-components/hemfixarna-service.entry.js} +12 -6
- package/dist/hemfixarna-components/hemfixarna-service.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-skanska.entry.js +24 -0
- package/dist/hemfixarna-components/hemfixarna-skanska.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-sparfonster.entry.js +21 -0
- package/dist/hemfixarna-components/hemfixarna-sparfonster.entry.js.map +1 -0
- package/dist/{collection/components/hemfixarna-start/hemfixarna-start.js → hemfixarna-components/hemfixarna-start.entry.js} +11 -48
- package/dist/hemfixarna-components/hemfixarna-start.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-string-furniture.entry.js +23 -0
- package/dist/hemfixarna-components/hemfixarna-string-furniture.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-superfront.entry.js +20 -0
- package/dist/hemfixarna-components/hemfixarna-superfront.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-tesla.entry.js +21 -0
- package/dist/hemfixarna-components/hemfixarna-tesla.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-traningspartner.entry.js +20 -0
- package/dist/hemfixarna-components/hemfixarna-traningspartner.entry.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-zaptec.entry.js +21 -0
- package/dist/hemfixarna-components/hemfixarna-zaptec.entry.js.map +1 -0
- package/dist/hemfixarna-components/index-b6a6e994.js +256 -0
- package/dist/hemfixarna-components/index-b6a6e994.js.map +1 -0
- package/dist/{collection/types/index.js → hemfixarna-components/index-d90ad11b.js} +7 -4
- package/dist/hemfixarna-components/index-d90ad11b.js.map +1 -0
- package/dist/hemfixarna-components/index-f1a87cf1.js +3397 -0
- package/dist/{cjs/hemfixarna-address_36.cjs.entry.js.map → hemfixarna-components/index-f1a87cf1.js.map} +1 -1
- package/dist/hemfixarna-components/index.esm.js +1 -0
- package/dist/hemfixarna-components/index.esm.js.map +1 -1
- package/dist/{collection/utils/scroll.js → hemfixarna-components/scroll-6c26b5da.js} +4 -2
- package/dist/hemfixarna-components/scroll-6c26b5da.js.map +1 -0
- package/dist/hemfixarna-components/shadow-css-05e0c1f4.js +389 -0
- package/dist/hemfixarna-components/shadow-css-05e0c1f4.js.map +1 -0
- package/dist/{collection/utils/types.js → hemfixarna-components/types-641c9a1c.js} +6 -3
- package/dist/hemfixarna-components/types-641c9a1c.js.map +1 -0
- package/package.json +1 -1
- package/dist/cjs/hemfixarna-address_36.cjs.entry.js +0 -2763
- package/dist/cjs/hemfixarna-components.cjs.js +0 -28
- package/dist/cjs/hemfixarna-components.cjs.js.map +0 -1
- package/dist/cjs/index-b83343b9.js +0 -1687
- package/dist/cjs/index-b83343b9.js.map +0 -1
- package/dist/cjs/index.cjs.js +0 -4
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js +0 -24
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/collection/assets/back.svg +0 -3
- package/dist/collection/assets/cart.svg +0 -10
- package/dist/collection/assets/checked.svg +0 -10
- package/dist/collection/assets/close.svg +0 -5
- package/dist/collection/assets/copy.png +0 -0
- package/dist/collection/assets/date.svg +0 -6
- package/dist/collection/assets/down.svg +0 -3
- package/dist/collection/assets/drag-drop.svg +0 -3
- package/dist/collection/assets/elfa.png +0 -0
- package/dist/collection/assets/gubbe-pensel.svg +0 -1
- package/dist/collection/assets/hemfixarna.svg +0 -11
- package/dist/collection/assets/hornbach/logo.svg +0 -42
- package/dist/collection/assets/hornbach/nav.jpg +0 -0
- package/dist/collection/assets/info.svg +0 -5
- package/dist/collection/assets/kbygg.svg +0 -29
- package/dist/collection/assets/minus.svg +0 -4
- package/dist/collection/assets/montering.svg +0 -15
- package/dist/collection/assets/norrgavel.svg +0 -1
- package/dist/collection/assets/pensel.svg +0 -1
- package/dist/collection/assets/plus.svg +0 -5
- package/dist/collection/assets/spinner.gif +0 -0
- package/dist/collection/assets/tesla.svg +0 -1
- package/dist/collection/assets/zaptec.svg +0 -1
- package/dist/collection/collection-manifest.json +0 -47
- package/dist/collection/components/customers/hemfixarna-byggmax/hemfixarna-byggmax.css +0 -0
- package/dist/collection/components/customers/hemfixarna-byggmax/hemfixarna-byggmax.js +0 -184
- package/dist/collection/components/customers/hemfixarna-byggmax/hemfixarna-byggmax.js.map +0 -1
- package/dist/collection/components/customers/hemfixarna-doro/hemfixarna-doro.css +0 -0
- package/dist/collection/components/customers/hemfixarna-doro/hemfixarna-doro.js +0 -123
- package/dist/collection/components/customers/hemfixarna-doro/hemfixarna-doro.js.map +0 -1
- package/dist/collection/components/customers/hemfixarna-elfa/hemfixarna-elfa.css +0 -0
- package/dist/collection/components/customers/hemfixarna-elfa/hemfixarna-elfa.js +0 -142
- package/dist/collection/components/customers/hemfixarna-elfa/hemfixarna-elfa.js.map +0 -1
- package/dist/collection/components/customers/hemfixarna-fargvaruhuset/hemfixarna-fargvaruhuset.js +0 -132
- package/dist/collection/components/customers/hemfixarna-fargvaruhuset/hemfixarna-fargvaruhuset.js.map +0 -1
- package/dist/collection/components/customers/hemfixarna-flyttsmart/hemfixarna-flyttsmart.js +0 -132
- package/dist/collection/components/customers/hemfixarna-flyttsmart/hemfixarna-flyttsmart.js.map +0 -1
- package/dist/collection/components/customers/hemfixarna-forebygg/hemfixarna-forebygg.css +0 -0
- package/dist/collection/components/customers/hemfixarna-forebygg/hemfixarna-forebygg.js +0 -123
- package/dist/collection/components/customers/hemfixarna-forebygg/hemfixarna-forebygg.js.map +0 -1
- package/dist/collection/components/customers/hemfixarna-hornbach/hemfixarna-hornbach.css +0 -0
- package/dist/collection/components/customers/hemfixarna-hornbach/hemfixarna-hornbach.js +0 -142
- package/dist/collection/components/customers/hemfixarna-hornbach/hemfixarna-hornbach.js.map +0 -1
- package/dist/collection/components/customers/hemfixarna-kbygg/hemfixarna-kbygg.js +0 -132
- package/dist/collection/components/customers/hemfixarna-kbygg/hemfixarna-kbygg.js.map +0 -1
- package/dist/collection/components/customers/hemfixarna-klint/hemfixarna-klint.js +0 -113
- package/dist/collection/components/customers/hemfixarna-klint/hemfixarna-klint.js.map +0 -1
- package/dist/collection/components/customers/hemfixarna-kund/hemfixarna-kund.js +0 -113
- package/dist/collection/components/customers/hemfixarna-kund/hemfixarna-kund.js.map +0 -1
- package/dist/collection/components/customers/hemfixarna-norrgavel/hemfixarna-norrgavel.js +0 -132
- package/dist/collection/components/customers/hemfixarna-norrgavel/hemfixarna-norrgavel.js.map +0 -1
- package/dist/collection/components/customers/hemfixarna-power/hemfixarna-power.js +0 -131
- package/dist/collection/components/customers/hemfixarna-power/hemfixarna-power.js.map +0 -1
- package/dist/collection/components/customers/hemfixarna-skanska/hemfixarna-skanska.css +0 -0
- package/dist/collection/components/customers/hemfixarna-skanska/hemfixarna-skanska.js +0 -141
- package/dist/collection/components/customers/hemfixarna-skanska/hemfixarna-skanska.js.map +0 -1
- package/dist/collection/components/customers/hemfixarna-sparfonster/hemfixarna-sparfonster.js +0 -131
- package/dist/collection/components/customers/hemfixarna-sparfonster/hemfixarna-sparfonster.js.map +0 -1
- package/dist/collection/components/customers/hemfixarna-string/hemfixarna-string-furniture.js +0 -123
- package/dist/collection/components/customers/hemfixarna-string/hemfixarna-string-furniture.js.map +0 -1
- package/dist/collection/components/customers/hemfixarna-string/hemfixarna-string.css +0 -0
- package/dist/collection/components/customers/hemfixarna-superfront.tsx/hemfixarna-superfront.js +0 -113
- package/dist/collection/components/customers/hemfixarna-superfront.tsx/hemfixarna-superfront.js.map +0 -1
- package/dist/collection/components/customers/hemfixarna-tesla/hemfixarna-tesla.js +0 -132
- package/dist/collection/components/customers/hemfixarna-tesla/hemfixarna-tesla.js.map +0 -1
- package/dist/collection/components/customers/hemfixarna-traningspartner/hemfixarna-traningspartner.js +0 -113
- package/dist/collection/components/customers/hemfixarna-traningspartner/hemfixarna-traningspartner.js.map +0 -1
- package/dist/collection/components/customers/hemfixarna-zaptec/hemfixarna-zaptec.js +0 -132
- package/dist/collection/components/customers/hemfixarna-zaptec/hemfixarna-zaptec.js.map +0 -1
- package/dist/collection/components/hemfixarna-address/hemfixarna-address.js.map +0 -1
- package/dist/collection/components/hemfixarna-box/hemfixarna-box.js +0 -138
- package/dist/collection/components/hemfixarna-box/hemfixarna-box.js.map +0 -1
- package/dist/collection/components/hemfixarna-breadcrumbs/hemfixarna-breadcrumbs.js.map +0 -1
- package/dist/collection/components/hemfixarna-cart/hemfixarna-cart.js.map +0 -1
- package/dist/collection/components/hemfixarna-category.tsx/hemfixarna-category.js.map +0 -1
- package/dist/collection/components/hemfixarna-checkout/hemfixarna-checkout.js.map +0 -1
- package/dist/collection/components/hemfixarna-component/hemfixarna-component.js +0 -483
- package/dist/collection/components/hemfixarna-component/hemfixarna-component.js.map +0 -1
- package/dist/collection/components/hemfixarna-component/hemfixarna.css +0 -1031
- package/dist/collection/components/hemfixarna-contact/hemfixarna-contact.js.map +0 -1
- package/dist/collection/components/hemfixarna-demo/hemfixarna-demo.css +0 -135
- package/dist/collection/components/hemfixarna-demo/hemfixarna-demo.js.map +0 -1
- package/dist/collection/components/hemfixarna-getuser/hemfixarna-getuser.js +0 -91
- package/dist/collection/components/hemfixarna-getuser/hemfixarna-getuser.js.map +0 -1
- package/dist/collection/components/hemfixarna-info/hemfixarna-info.js.map +0 -1
- package/dist/collection/components/hemfixarna-invoice/hemfixarna-invoice.css +0 -76
- package/dist/collection/components/hemfixarna-invoice/hemfixarna-invoice.js.map +0 -1
- package/dist/collection/components/hemfixarna-order/hemfixarna-order.js.map +0 -1
- package/dist/collection/components/hemfixarna-orderrows/hemfixarna-orderrows.js.map +0 -1
- package/dist/collection/components/hemfixarna-product/hemfixarna-product.css +0 -0
- package/dist/collection/components/hemfixarna-product/hemfixarna-product.js.map +0 -1
- package/dist/collection/components/hemfixarna-service/hemfixarna-service.js.map +0 -1
- package/dist/collection/components/hemfixarna-start/hemfixarna-start.js.map +0 -1
- package/dist/collection/index.js +0 -2
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/store/index.js +0 -62
- package/dist/collection/store/index.js.map +0 -1
- package/dist/collection/types/felixtypes.js +0 -3
- package/dist/collection/types/felixtypes.js.map +0 -1
- package/dist/collection/types/index.js.map +0 -1
- package/dist/collection/utils/api.js.map +0 -1
- package/dist/collection/utils/calc.js.map +0 -1
- package/dist/collection/utils/creditSafe.js +0 -18
- package/dist/collection/utils/creditSafe.js.map +0 -1
- package/dist/collection/utils/felixApi.js +0 -18
- package/dist/collection/utils/felixApi.js.map +0 -1
- package/dist/collection/utils/felixFunctions.js +0 -189
- package/dist/collection/utils/felixFunctions.js.map +0 -1
- package/dist/collection/utils/form.js.map +0 -1
- package/dist/collection/utils/scroll.js.map +0 -1
- package/dist/collection/utils/types.js.map +0 -1
- package/dist/esm/hemfixarna-address_36.entry.js +0 -2724
- package/dist/esm/hemfixarna-address_36.entry.js.map +0 -1
- package/dist/esm/hemfixarna-components.js +0 -23
- package/dist/esm/hemfixarna-components.js.map +0 -1
- package/dist/esm/index-8c417125.js +0 -1656
- package/dist/esm/index-8c417125.js.map +0 -1
- package/dist/esm/index.js +0 -3
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js +0 -20
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/hemfixarna-components/p-211cfa04.entry.js +0 -2
- package/dist/hemfixarna-components/p-211cfa04.entry.js.map +0 -1
- package/dist/hemfixarna-components/p-852e7173.js +0 -3
- package/dist/hemfixarna-components/p-852e7173.js.map +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"hemfixarna-getuser.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 hemfixarnaHornbachCss = "";
|
5
|
+
|
6
|
+
const MyComponent = class {
|
7
|
+
constructor(hostRef) {
|
8
|
+
registerInstance(this, hostRef);
|
9
|
+
this.id = undefined;
|
10
|
+
this.loadFromQuery = 'true';
|
11
|
+
this.isDemo = false;
|
12
|
+
this.widgetStyle = WidgetStyle.standard;
|
13
|
+
this.buttonColor = undefined;
|
14
|
+
this.buttonBg = undefined;
|
15
|
+
}
|
16
|
+
render() {
|
17
|
+
return (h("hemfixarna-component", { widgetStyle: this.widgetStyle, buttonBg: this.buttonBg, buttonColor: this.buttonColor, nav: { url: 'https://www.hornbach.se/', logo: 'assets/hornbach/logo.svg', background: './assets/hornbach/nav.jpg' }, isDemo: this.isDemo, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.hornbach }));
|
18
|
+
}
|
19
|
+
};
|
20
|
+
MyComponent.style = hemfixarnaHornbachCss;
|
21
|
+
|
22
|
+
export { MyComponent as hemfixarna_hornbach };
|
23
|
+
|
24
|
+
//# sourceMappingURL=hemfixarna-hornbach.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"hemfixarna-hornbach.entry.esm.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,7 +1,9 @@
|
|
1
|
-
import {
|
2
|
-
import state from '
|
3
|
-
|
4
|
-
|
1
|
+
import { r as registerInstance, g as getAssetPath, h, F as Fragment } from './index-f1a87cf1.js';
|
2
|
+
import { s as state } from './index-b6a6e994.js';
|
3
|
+
|
4
|
+
const HemfixarnaInfo = class {
|
5
|
+
constructor(hostRef) {
|
6
|
+
registerInstance(this, hostRef);
|
5
7
|
this.logo = getAssetPath(`./assets/hemfixarna.svg`);
|
6
8
|
}
|
7
9
|
render() {
|
@@ -9,6 +11,8 @@ export class HemfixarnaInfo {
|
|
9
11
|
const checked = getAssetPath(`./assets/checked.svg`);
|
10
12
|
return (h("div", { class: "hemfixarna_info" }, state.step < 5 ? (h(Fragment, null, h("h2", null, state.customer.info_title), h("p", null, state.customer.info_text))) : (h("h2", null, state.customer.checkout_title)), h("ul", { class: "hemfixarna_features" }, state.step < 5 ? (h(Fragment, null, ((_a = state.customer.trust_badges) === null || _a === void 0 ? void 0 : _a.length) ? (h(Fragment, null, state.customer.trust_badges.map(l => (h("li", { key: l.text }, h("img", { src: checked, alt: "checked" }), h("p", null, l.text)))))) : (h(Fragment, null, state.options.trust.map(l => (h("li", { key: l.trust_badge }, h("img", { src: checked, alt: "checked" }), h("p", null, l.trust_badge)))))))) : (h(Fragment, null, state.customer.checkout_trust_badges.map(l => (h("li", { key: l.text }, h("img", { src: checked, alt: "checked" }), h("p", null, l.text))))))), h("img", { src: this.logo, width: 200, alt: "hemfixarna" }), h("a", { class: "hemfixarna_product--link", target: "_blank", href: state.options.link.url }, state.options.link.title)));
|
11
13
|
}
|
12
|
-
|
13
|
-
|
14
|
-
|
14
|
+
};
|
15
|
+
|
16
|
+
export { HemfixarnaInfo as hemfixarna_info };
|
17
|
+
|
18
|
+
//# sourceMappingURL=hemfixarna-info.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"hemfixarna-info.entry.esm.js","mappings":";;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,8 +1,12 @@
|
|
1
|
-
import { getAssetPath, h } from '
|
2
|
-
import state from '
|
3
|
-
|
4
|
-
|
5
|
-
|
1
|
+
import { r as registerInstance, g as getAssetPath, h, e as getElement } from './index-f1a87cf1.js';
|
2
|
+
import { s as state } from './index-b6a6e994.js';
|
3
|
+
|
4
|
+
const hemfixarnaInvoiceCss = ":host .invoice{gap:16px;display:grid}:host .invoice form>span{text-align:center;padding:16px 0}:host .invoice img{right:unset;left:unset;position:initial;transform:none}:host .invoice label{cursor:pointer;font-size:14px;display:flex;align-items:flex-start;padding:16px 0}:host .invoice label input{margin:0 5px 0 0;accent-color:#ea662c}:host .invoice-preview{display:flex;gap:4px}:host .invoice-preview div{position:relative}:host .invoice-preview div button{position:absolute;top:0;right:0;padding:0}:host .invoice-preview div button img{width:24px;height:24px}:host .invoice-preview div>img{width:100px;height:80px;object-fit:cover}:host .invoice input[type=email],:host .invoice input[type=tel],:host .invoice textarea{padding:16px;border:1px solid #fcd9c9;font-size:16px}:host .invoice textarea{resize:none;height:200px;font-family:\"Inter\", sans-serif}:host .invoice div:has(>input[type=file]){display:flex;align-items:center;justify-content:center;cursor:pointer;background:#fff;border:1px solid #fcd9c9;padding:32px 16px;gap:16px}:host .invoice div:has(>input[type=file]) span{color:#000;font-size:12px}:host .invoice input[type=file]{display:none}";
|
5
|
+
|
6
|
+
const base = "https://hemfixarna.se" ? `${"https://hemfixarna.se"}/wp-json/headless` : 'https://hemfixarna.se/wp-json/headless';
|
7
|
+
const HemfixarnaInvoice = class {
|
8
|
+
constructor(hostRef) {
|
9
|
+
registerInstance(this, hostRef);
|
6
10
|
this.formError = null;
|
7
11
|
this.displayImages = [];
|
8
12
|
this.formImages = [];
|
@@ -141,25 +145,10 @@ export class HemfixarnaInvoice {
|
|
141
145
|
const upload = getAssetPath(`./assets/drag-drop.svg`);
|
142
146
|
return (h("div", { class: "invoice" }, h("p", null, state.selectedProduct.invoice_description), h("form", { onSubmit: e => this.submit(e) }, h("textarea", { name: "descriptionInput", placeholder: "Beskriv ditt \u00E4rende" }), h("div", { role: "button", "aria-label": "upload image", onDragOver: e => this.preventDragOver(e), onDrop: e => this.handleImageDrop(e), onClick: () => this.handleImageClick() }, h("img", { src: upload, alt: "hemfixarna_logo", width: 24 }), h("div", null, h("p", null, "Bifoga ev bilder"), h("span", null, "(dra bilder hit)")), h("input", { onChange: e => this.handleFileInputChange(e), class: "hemfixarna-file-upload", accept: "image/*", type: "file", multiple: true, name: "fileInput" })), h("div", { class: "invoice-preview" }, this.displayImages.map((img, i) => (h("div", { key: i }, h("img", { src: img, alt: "uploaded image" }), h("button", { onClick: () => this.removeImage(i) }, h("img", { src: getAssetPath(`./assets/close.svg`), alt: "close" })))))), h("input", { placeholder: "E-post", type: "email", name: "emailInput" }), h("input", { placeholder: "Telefonnummer", type: "tel", name: "telInput" }), state.selectedProduct.terms_show_checkbox ? (h("label", null, h("input", { type: "checkbox", name: "termsInput" }), state.selectedProduct.terms)) : null, this.formError ? h("span", null, this.formError) : null, h("input", { type: "submit", value: this.formState === 'loading' ? 'Skickar' : 'Kontakta mig' }))));
|
143
147
|
}
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
return {
|
152
|
-
"$": ["hemfixarna-invoice.css"]
|
153
|
-
};
|
154
|
-
}
|
155
|
-
static get states() {
|
156
|
-
return {
|
157
|
-
"formError": {},
|
158
|
-
"displayImages": {},
|
159
|
-
"formImages": {},
|
160
|
-
"formState": {}
|
161
|
-
};
|
162
|
-
}
|
163
|
-
static get elementRef() { return "el"; }
|
164
|
-
}
|
165
|
-
//# sourceMappingURL=hemfixarna-invoice.js.map
|
148
|
+
get el() { return getElement(this); }
|
149
|
+
};
|
150
|
+
HemfixarnaInvoice.style = hemfixarnaInvoiceCss;
|
151
|
+
|
152
|
+
export { HemfixarnaInvoice as hemfixarna_invoice };
|
153
|
+
|
154
|
+
//# sourceMappingURL=hemfixarna-invoice.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"hemfixarna-invoice.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 = 'true';
|
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, nav: { url: 'https://k-bygg.se', logo: 'assets/kbygg.svg', backgroundColor: '#651d32' }, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.kbygg, isDemo: this.isDemo }));
|
16
|
+
}
|
17
|
+
};
|
18
|
+
|
19
|
+
export { MyComponent as hemfixarna_kbygg };
|
20
|
+
|
21
|
+
//# sourceMappingURL=hemfixarna-kbygg.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"hemfixarna-kbygg.entry.esm.js","mappings":";;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -0,0 +1,20 @@
|
|
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
|
+
}
|
13
|
+
render() {
|
14
|
+
return (h("hemfixarna-component", { widgetStyle: this.widgetStyle, buttonBg: this.buttonBg, buttonColor: this.buttonColor, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.klint }));
|
15
|
+
}
|
16
|
+
};
|
17
|
+
|
18
|
+
export { MyComponent as hemfixarna_klint };
|
19
|
+
|
20
|
+
//# sourceMappingURL=hemfixarna-klint.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"hemfixarna-klint.entry.esm.js","mappings":";;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -0,0 +1,20 @@
|
|
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
|
+
}
|
13
|
+
render() {
|
14
|
+
return (h("hemfixarna-component", { widgetStyle: this.widgetStyle, buttonBg: this.buttonBg, buttonColor: this.buttonColor, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.kund }));
|
15
|
+
}
|
16
|
+
};
|
17
|
+
|
18
|
+
export { MyComponent as hemfixarna_kund };
|
19
|
+
|
20
|
+
//# sourceMappingURL=hemfixarna-kund.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"hemfixarna-kund.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 = 'true';
|
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, nav: { url: 'https://norrgavel.se', logo: 'assets/norrgavel.svg' }, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.norrgavel, isDemo: this.isDemo }));
|
16
|
+
}
|
17
|
+
};
|
18
|
+
|
19
|
+
export { MyComponent as hemfixarna_norrgavel };
|
20
|
+
|
21
|
+
//# sourceMappingURL=hemfixarna-norrgavel.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"hemfixarna-norrgavel.entry.esm.js","mappings":";;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,7 +1,9 @@
|
|
1
|
-
import { h } from '
|
2
|
-
import state from '
|
3
|
-
|
4
|
-
|
1
|
+
import { r as registerInstance, h } from './index-f1a87cf1.js';
|
2
|
+
import { s as state } from './index-b6a6e994.js';
|
3
|
+
|
4
|
+
const HemfixarnaOrder = class {
|
5
|
+
constructor(hostRef) {
|
6
|
+
registerInstance(this, hostRef);
|
5
7
|
this.render = () => {
|
6
8
|
return (h("div", { style: { background: `url(${state.options.thank_you_image})` }, class: "hemfixarna_order" }, h("div", null), h("div", null, h("h2", null, state.checkoutInvoice ? 'Tack för din förfrågan' : 'Tack för din bokning'), state.checkoutInvoice ? h("p", null, "Vi \u00E5terkommer inom kort till dig p\u00E5 angivet telefonnummer eller epost") : null, state.checkoutInvoice ? h("div", null) : h("hemfixarna-orderrows", { tree: this.tree, cart: false }), h("span", { onClick: () => this.resetShop() }, h("button", null, "G\u00F6r en ny bokning")), h("hemfixarna-info", null))));
|
7
9
|
};
|
@@ -19,30 +21,8 @@ export class HemfixarnaOrder {
|
|
19
21
|
disconnectedCallback() {
|
20
22
|
this.resetShop();
|
21
23
|
}
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
"mutable": false,
|
28
|
-
"complexType": {
|
29
|
-
"original": "Category",
|
30
|
-
"resolved": "Category",
|
31
|
-
"references": {
|
32
|
-
"Category": {
|
33
|
-
"location": "import",
|
34
|
-
"path": "../../types"
|
35
|
-
}
|
36
|
-
}
|
37
|
-
},
|
38
|
-
"required": false,
|
39
|
-
"optional": false,
|
40
|
-
"docs": {
|
41
|
-
"tags": [],
|
42
|
-
"text": ""
|
43
|
-
}
|
44
|
-
}
|
45
|
-
};
|
46
|
-
}
|
47
|
-
}
|
48
|
-
//# sourceMappingURL=hemfixarna-order.js.map
|
24
|
+
};
|
25
|
+
|
26
|
+
export { HemfixarnaOrder as hemfixarna_order };
|
27
|
+
|
28
|
+
//# sourceMappingURL=hemfixarna-order.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"hemfixarna-order.entry.esm.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,8 +1,10 @@
|
|
1
|
-
import {
|
2
|
-
import state from '
|
3
|
-
import {
|
4
|
-
|
5
|
-
|
1
|
+
import { r as registerInstance, g as getAssetPath, h, F as Fragment } from './index-f1a87cf1.js';
|
2
|
+
import { s as state } from './index-b6a6e994.js';
|
3
|
+
import { a as getProductPrice, b as getPartPrice, c as getStartFee, d as calculateRot, e as calculateRut, f as calculateGreenDiscount, h as getTotalPrice } from './calc-4c79b798.js';
|
4
|
+
|
5
|
+
const HemfixarnaOrderrows = class {
|
6
|
+
constructor(hostRef) {
|
7
|
+
registerInstance(this, hostRef);
|
6
8
|
this.cart = true;
|
7
9
|
this.tree = undefined;
|
8
10
|
}
|
@@ -69,48 +71,8 @@ export class HemfixarnaOrderrows {
|
|
69
71
|
return (h("li", { class: "hemfixarna_cart--item" }, h("div", null, h("div", null, item.icon && h("img", { width: 30, src: (_a = item.icon.url) !== null && _a !== void 0 ? _a : item.icon, alt: item.name }), h("p", null, h("strong", null, item.amount, "x "), item.name)), this.cart && h("button", { onClick: () => this.goToProduct(item.id) }, "\u00C4ndra")), h("p", null, h("strong", null, getProductPrice(item, item.price, item.amount), "kr"), h("span", null, this.getDiscountedInfo(item))), item.parts.length > 0 && (h("ul", null, item.parts.map(part => (h("li", null, h("p", null, h("strong", null, part.amount, "x "), part.name), h("p", null, h("strong", null, getPartPrice(part, item, part.amount), "kr")))))))));
|
70
72
|
})), h("div", { class: "hemfixarna_cart--additional" }, h("div", null, getStartFee().rot > 0 && (h("div", { class: "hemfixarna_cart--startfee" }, h("p", null, h("strong", { onClick: () => this.openRot() }, state.rotOptions.rot_start_fee_heading, h("img", { height: 16, src: info, alt: "info monteringsavgift" }))), h("p", null, getStartFee().rot, "kr"))), getStartFee().rut > 0 && (h("div", { class: "hemfixarna_cart--startfee" }, h("p", null, h("strong", { onClick: () => this.openRut() }, state.rutOptions.rut_start_fee_heading, h("img", { height: 16, src: info, alt: "info monteringsavgift" }))), h("p", null, getStartFee().rut, "kr"))), getStartFee().green > 0 && (h("div", { class: "hemfixarna_cart--startfee" }, h("p", null, h("strong", { onClick: () => this.openGreen() }, state.greenOptions.green_start_fee_heading, h("img", { height: 16, src: info, alt: "info monteringsavgift" }))), h("p", null, getStartFee().green, "kr")))), state.cart.find((item) => item.rot) && (h("div", { class: "hemfixarna_cart--rutrot" }, h("div", null, this.cart && (h("label", { class: "switch" }, h("input", { checked: state.rot, onChange: () => (state.rot = !state.rot), type: "checkbox" }), h("span", { class: "slider" }))), h("p", null, "ROT-avdrag")), h("p", null, "(-", state.rot ? calculateRot() : 0, "kr)"))), state.cart.find((item) => item.rut) && (h("div", { class: "hemfixarna_cart--rutrot" }, h("div", null, h("label", { class: "switch" }, h("input", { onChange: () => (state.rut = !state.rut), checked: state.rut, type: "checkbox" }), h("span", { class: "slider" })), h("p", null, "RUT-avdrag")), h("p", null, "(-", state.rut ? calculateRut() : 0, "kr)"))), state.cart.find((item) => item.green) && (h("div", { class: "hemfixarna_cart--rutrot" }, h("div", null, h("label", { class: "switch" }, h("input", { onChange: () => (state.green = !state.green), checked: state.green, type: "checkbox" }), h("span", { class: "slider" })), h("p", null, "Gr\u00F6n teknik avdrag")), h("p", null, "(-", state.green ? calculateGreenDiscount() : 0, "kr)")))), h("div", { class: "hemfixarna_cart--price" }, h("h2", null, "Totalbelopp: "), h("h2", null, getTotalPrice(), "kr"))));
|
71
73
|
}
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
"mutable": false,
|
78
|
-
"complexType": {
|
79
|
-
"original": "boolean",
|
80
|
-
"resolved": "boolean",
|
81
|
-
"references": {}
|
82
|
-
},
|
83
|
-
"required": false,
|
84
|
-
"optional": false,
|
85
|
-
"docs": {
|
86
|
-
"tags": [],
|
87
|
-
"text": ""
|
88
|
-
},
|
89
|
-
"attribute": "cart",
|
90
|
-
"reflect": false,
|
91
|
-
"defaultValue": "true"
|
92
|
-
},
|
93
|
-
"tree": {
|
94
|
-
"type": "unknown",
|
95
|
-
"mutable": false,
|
96
|
-
"complexType": {
|
97
|
-
"original": "Category",
|
98
|
-
"resolved": "Category",
|
99
|
-
"references": {
|
100
|
-
"Category": {
|
101
|
-
"location": "import",
|
102
|
-
"path": "../../types"
|
103
|
-
}
|
104
|
-
}
|
105
|
-
},
|
106
|
-
"required": false,
|
107
|
-
"optional": false,
|
108
|
-
"docs": {
|
109
|
-
"tags": [],
|
110
|
-
"text": ""
|
111
|
-
}
|
112
|
-
}
|
113
|
-
};
|
114
|
-
}
|
115
|
-
}
|
116
|
-
//# sourceMappingURL=hemfixarna-orderrows.js.map
|
74
|
+
};
|
75
|
+
|
76
|
+
export { HemfixarnaOrderrows as hemfixarna_orderrows };
|
77
|
+
|
78
|
+
//# sourceMappingURL=hemfixarna-orderrows.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"hemfixarna-orderrows.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.customer = undefined;
|
9
|
+
this.loadFromQuery = undefined;
|
10
|
+
this.widgetStyle = WidgetStyle.standard;
|
11
|
+
this.buttonColor = undefined;
|
12
|
+
this.buttonBg = undefined;
|
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.power }));
|
16
|
+
}
|
17
|
+
};
|
18
|
+
|
19
|
+
export { MyComponent as hemfixarna_power };
|
20
|
+
|
21
|
+
//# sourceMappingURL=hemfixarna-power.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"hemfixarna-power.entry.esm.js","mappings":";;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,10 +1,14 @@
|
|
1
|
-
import {
|
2
|
-
import state from '
|
3
|
-
import { Business } from '
|
4
|
-
import {
|
5
|
-
import { scrollToTop } from '
|
6
|
-
|
7
|
-
|
1
|
+
import { r as registerInstance, g as getAssetPath, h, F as Fragment, e as getElement } from './index-f1a87cf1.js';
|
2
|
+
import { s as state } from './index-b6a6e994.js';
|
3
|
+
import { B as Business } from './index-d90ad11b.js';
|
4
|
+
import { a as getProductPrice, b as getPartPrice } from './calc-4c79b798.js';
|
5
|
+
import { s as scrollToTop } from './scroll-6c26b5da.js';
|
6
|
+
|
7
|
+
const hemfixarnaProductCss = "";
|
8
|
+
|
9
|
+
const HemfixarnaProduct = class {
|
10
|
+
constructor(hostRef) {
|
11
|
+
registerInstance(this, hostRef);
|
8
12
|
this.amount = 0;
|
9
13
|
this.hideDescription = true;
|
10
14
|
}
|
@@ -143,23 +147,10 @@ export class HemfixarnaProduct {
|
|
143
147
|
return (h("li", { class: "hemfixarna_part" }, h("div", null, h("p", null, (_a = p.title) !== null && _a !== void 0 ? _a : p.title), h("p", { class: "hemfixarna_product--price" }, getPartPrice(p, state.selectedProduct), "kr/st")), h("div", { class: "hemfixarna_counter" }, h("img", { class: `${this.getPartAmount(p.ID) === 0 ? 'disabled' : ''}`, src: minus, onClick: () => this.removePart(p) }), h("span", null, this.getPartAmount(p.ID)), h("img", { class: `${this.getAmount() === 0 ? 'disabled' : ''}`, src: plus, onClick: () => this.addPart(p) }))));
|
144
148
|
})), h("h4", { class: "hemfixarna_product--total" }, "Totalt ", this.getTotalPrice(), " kr"), h("button", { onClick: () => this.goToCart(), class: `hemfixarna_buy ${this.getAmount() === 0 ? 'disabled' : ''}` }, "Forts\u00E4tt"))), !state.selectedProduct.hide_start_fee && (state.selectedProduct.rot || state.selectedProduct.rut) && state.rutOptions && state.rotOptions && (h("p", { class: "hemfixarna_terms" }, h("strong", null, state.selectedProduct.rot ? state.rotOptions.rot_start_fee_heading : state.rutOptions.rut_start_fee_heading), h("br", null), h("span", { innerHTML: state.selectedProduct.rot ? state.rotOptions.rot_start_fee_text : state.rutOptions.rut_start_fee_text }))), state.options && h("hemfixarna-info", null))))) : null;
|
145
149
|
}
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
return {
|
154
|
-
"$": ["hemfixarna-product.css"]
|
155
|
-
};
|
156
|
-
}
|
157
|
-
static get states() {
|
158
|
-
return {
|
159
|
-
"amount": {},
|
160
|
-
"hideDescription": {}
|
161
|
-
};
|
162
|
-
}
|
163
|
-
static get elementRef() { return "el"; }
|
164
|
-
}
|
165
|
-
//# sourceMappingURL=hemfixarna-product.js.map
|
150
|
+
get el() { return getElement(this); }
|
151
|
+
};
|
152
|
+
HemfixarnaProduct.style = hemfixarnaProductCss;
|
153
|
+
|
154
|
+
export { HemfixarnaProduct as hemfixarna_product };
|
155
|
+
|
156
|
+
//# sourceMappingURL=hemfixarna-product.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"hemfixarna-product.entry.esm.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,6 +1,10 @@
|
|
1
|
-
import { h } from '
|
2
|
-
import state from '
|
3
|
-
|
1
|
+
import { r as registerInstance, h } from './index-f1a87cf1.js';
|
2
|
+
import { s as state } from './index-b6a6e994.js';
|
3
|
+
|
4
|
+
const HemfixarnaService = class {
|
5
|
+
constructor(hostRef) {
|
6
|
+
registerInstance(this, hostRef);
|
7
|
+
}
|
4
8
|
render() {
|
5
9
|
return (h("div", null, h("h2", null, state.selectedService.post_title), h("div", { class: "hemfixarna_categories--wrapper" }, h("div", null, h("ul", { class: "hemfixarna_categories" }, state.selectedService.products
|
6
10
|
.sort((a, b) => (a.post_title < b.post_title ? -1 : 1))
|
@@ -9,6 +13,8 @@ export class HemfixarnaService {
|
|
9
13
|
return (h("hemfixarna-box", { post: p, icon: (_a = p.icon.url) !== null && _a !== void 0 ? _a : p.icon, postTitle: p.title }));
|
10
14
|
}))), h("hemfixarna-info", null))));
|
11
15
|
}
|
12
|
-
|
13
|
-
|
14
|
-
|
16
|
+
};
|
17
|
+
|
18
|
+
export { HemfixarnaService as hemfixarna_service };
|
19
|
+
|
20
|
+
//# sourceMappingURL=hemfixarna-service.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"hemfixarna-service.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 hemfixarnaSkanskaCss = "";
|
5
|
+
|
6
|
+
const MyComponent = class {
|
7
|
+
constructor(hostRef) {
|
8
|
+
registerInstance(this, hostRef);
|
9
|
+
this.id = undefined;
|
10
|
+
this.customer = undefined;
|
11
|
+
this.loadFromQuery = undefined;
|
12
|
+
this.widgetStyle = WidgetStyle.standard;
|
13
|
+
this.buttonColor = undefined;
|
14
|
+
this.buttonBg = undefined;
|
15
|
+
}
|
16
|
+
render() {
|
17
|
+
return (h("hemfixarna-component", { widgetStyle: this.widgetStyle, buttonBg: this.buttonBg, buttonColor: this.buttonColor, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.skanska }));
|
18
|
+
}
|
19
|
+
};
|
20
|
+
MyComponent.style = hemfixarnaSkanskaCss;
|
21
|
+
|
22
|
+
export { MyComponent as hemfixarna_skanska };
|
23
|
+
|
24
|
+
//# sourceMappingURL=hemfixarna-skanska.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"hemfixarna-skanska.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.customer = undefined;
|
9
|
+
this.loadFromQuery = undefined;
|
10
|
+
this.widgetStyle = WidgetStyle.standard;
|
11
|
+
this.buttonColor = undefined;
|
12
|
+
this.buttonBg = undefined;
|
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.sparfonster }));
|
16
|
+
}
|
17
|
+
};
|
18
|
+
|
19
|
+
export { MyComponent as hemfixarna_sparfonster };
|
20
|
+
|
21
|
+
//# sourceMappingURL=hemfixarna-sparfonster.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"hemfixarna-sparfonster.entry.esm.js","mappings":";;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|
@@ -1,7 +1,9 @@
|
|
1
|
-
import { getAssetPath, h } from '
|
2
|
-
import state from '
|
3
|
-
|
4
|
-
|
1
|
+
import { r as registerInstance, g as getAssetPath, h } from './index-f1a87cf1.js';
|
2
|
+
import { s as state } from './index-b6a6e994.js';
|
3
|
+
|
4
|
+
const HemfixarnaGrid = class {
|
5
|
+
constructor(hostRef) {
|
6
|
+
registerInstance(this, hostRef);
|
5
7
|
this.tree = undefined;
|
6
8
|
this.slug = undefined;
|
7
9
|
}
|
@@ -28,47 +30,8 @@ export class HemfixarnaGrid {
|
|
28
30
|
return (h("hemfixarna-box", { post: c, icon: (_a = c.icon.url) !== null && _a !== void 0 ? _a : c.icon, postTitle: c.name }));
|
29
31
|
})), h("hemfixarna-info", null))));
|
30
32
|
}
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
"mutable": false,
|
37
|
-
"complexType": {
|
38
|
-
"original": "Category",
|
39
|
-
"resolved": "Category",
|
40
|
-
"references": {
|
41
|
-
"Category": {
|
42
|
-
"location": "import",
|
43
|
-
"path": "../../types"
|
44
|
-
}
|
45
|
-
}
|
46
|
-
},
|
47
|
-
"required": false,
|
48
|
-
"optional": true,
|
49
|
-
"docs": {
|
50
|
-
"tags": [],
|
51
|
-
"text": ""
|
52
|
-
}
|
53
|
-
},
|
54
|
-
"slug": {
|
55
|
-
"type": "string",
|
56
|
-
"mutable": false,
|
57
|
-
"complexType": {
|
58
|
-
"original": "string",
|
59
|
-
"resolved": "string",
|
60
|
-
"references": {}
|
61
|
-
},
|
62
|
-
"required": false,
|
63
|
-
"optional": true,
|
64
|
-
"docs": {
|
65
|
-
"tags": [],
|
66
|
-
"text": ""
|
67
|
-
},
|
68
|
-
"attribute": "slug",
|
69
|
-
"reflect": false
|
70
|
-
}
|
71
|
-
};
|
72
|
-
}
|
73
|
-
}
|
74
|
-
//# sourceMappingURL=hemfixarna-start.js.map
|
33
|
+
};
|
34
|
+
|
35
|
+
export { HemfixarnaGrid as hemfixarna_start };
|
36
|
+
|
37
|
+
//# sourceMappingURL=hemfixarna-start.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"hemfixarna-start.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 hemfixarnaStringCss = "";
|
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.string }));
|
17
|
+
}
|
18
|
+
};
|
19
|
+
MyComponent.style = hemfixarnaStringCss;
|
20
|
+
|
21
|
+
export { MyComponent as hemfixarna_string_furniture };
|
22
|
+
|
23
|
+
//# sourceMappingURL=hemfixarna-string-furniture.entry.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"file":"hemfixarna-string-furniture.entry.esm.js","mappings":";;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":[],"sourcesContent":[],"version":3}
|