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
package/dist/collection/components/customers/hemfixarna-string/hemfixarna-string-furniture.js
DELETED
@@ -1,123 +0,0 @@
|
|
1
|
-
import { h } from '@stencil/core';
|
2
|
-
import { Business, WidgetStyle } from '../../../types';
|
3
|
-
export class MyComponent {
|
4
|
-
constructor() {
|
5
|
-
this.id = undefined;
|
6
|
-
this.loadFromQuery = undefined;
|
7
|
-
this.widgetStyle = WidgetStyle.standard;
|
8
|
-
this.buttonColor = undefined;
|
9
|
-
this.buttonBg = undefined;
|
10
|
-
}
|
11
|
-
render() {
|
12
|
-
return (h("hemfixarna-component", { widgetStyle: this.widgetStyle, buttonBg: this.buttonBg, buttonColor: this.buttonColor, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.string }));
|
13
|
-
}
|
14
|
-
static get is() { return "hemfixarna-string-furniture"; }
|
15
|
-
static get encapsulation() { return "shadow"; }
|
16
|
-
static get originalStyleUrls() {
|
17
|
-
return {
|
18
|
-
"$": ["hemfixarna-string.scss"]
|
19
|
-
};
|
20
|
-
}
|
21
|
-
static get styleUrls() {
|
22
|
-
return {
|
23
|
-
"$": ["hemfixarna-string.css"]
|
24
|
-
};
|
25
|
-
}
|
26
|
-
static get properties() {
|
27
|
-
return {
|
28
|
-
"id": {
|
29
|
-
"type": "string",
|
30
|
-
"mutable": false,
|
31
|
-
"complexType": {
|
32
|
-
"original": "string",
|
33
|
-
"resolved": "string",
|
34
|
-
"references": {}
|
35
|
-
},
|
36
|
-
"required": false,
|
37
|
-
"optional": true,
|
38
|
-
"docs": {
|
39
|
-
"tags": [],
|
40
|
-
"text": ""
|
41
|
-
},
|
42
|
-
"attribute": "id",
|
43
|
-
"reflect": false
|
44
|
-
},
|
45
|
-
"loadFromQuery": {
|
46
|
-
"type": "string",
|
47
|
-
"mutable": false,
|
48
|
-
"complexType": {
|
49
|
-
"original": "string",
|
50
|
-
"resolved": "string",
|
51
|
-
"references": {}
|
52
|
-
},
|
53
|
-
"required": false,
|
54
|
-
"optional": true,
|
55
|
-
"docs": {
|
56
|
-
"tags": [],
|
57
|
-
"text": ""
|
58
|
-
},
|
59
|
-
"attribute": "load-from-query",
|
60
|
-
"reflect": false,
|
61
|
-
"defaultValue": "undefined"
|
62
|
-
},
|
63
|
-
"widgetStyle": {
|
64
|
-
"type": "string",
|
65
|
-
"mutable": false,
|
66
|
-
"complexType": {
|
67
|
-
"original": "WidgetStyle",
|
68
|
-
"resolved": "WidgetStyle.alternative | WidgetStyle.alternative_2 | WidgetStyle.alternative_3 | WidgetStyle.standard",
|
69
|
-
"references": {
|
70
|
-
"WidgetStyle": {
|
71
|
-
"location": "import",
|
72
|
-
"path": "../../../types"
|
73
|
-
}
|
74
|
-
}
|
75
|
-
},
|
76
|
-
"required": false,
|
77
|
-
"optional": true,
|
78
|
-
"docs": {
|
79
|
-
"tags": [],
|
80
|
-
"text": ""
|
81
|
-
},
|
82
|
-
"attribute": "widget-style",
|
83
|
-
"reflect": false,
|
84
|
-
"defaultValue": "WidgetStyle.standard"
|
85
|
-
},
|
86
|
-
"buttonColor": {
|
87
|
-
"type": "string",
|
88
|
-
"mutable": false,
|
89
|
-
"complexType": {
|
90
|
-
"original": "string",
|
91
|
-
"resolved": "string",
|
92
|
-
"references": {}
|
93
|
-
},
|
94
|
-
"required": false,
|
95
|
-
"optional": true,
|
96
|
-
"docs": {
|
97
|
-
"tags": [],
|
98
|
-
"text": ""
|
99
|
-
},
|
100
|
-
"attribute": "button-color",
|
101
|
-
"reflect": false
|
102
|
-
},
|
103
|
-
"buttonBg": {
|
104
|
-
"type": "string",
|
105
|
-
"mutable": false,
|
106
|
-
"complexType": {
|
107
|
-
"original": "string",
|
108
|
-
"resolved": "string",
|
109
|
-
"references": {}
|
110
|
-
},
|
111
|
-
"required": false,
|
112
|
-
"optional": true,
|
113
|
-
"docs": {
|
114
|
-
"tags": [],
|
115
|
-
"text": ""
|
116
|
-
},
|
117
|
-
"attribute": "button-bg",
|
118
|
-
"reflect": false
|
119
|
-
}
|
120
|
-
};
|
121
|
-
}
|
122
|
-
}
|
123
|
-
//# sourceMappingURL=hemfixarna-string-furniture.js.map
|
package/dist/collection/components/customers/hemfixarna-string/hemfixarna-string-furniture.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"hemfixarna-string-furniture.js","sourceRoot":"","sources":["../../../../src/components/customers/hemfixarna-string/hemfixarna-string-furniture.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAOvD,MAAM,OAAO,WAAW;;;yBAEW,SAAS;uBACN,WAAW,CAAC,QAAQ;;;;EAIxD,MAAM;IACJ,OAAO,CACL,4BACE,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,aAAa,EAAE,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,EAC1C,EAAE,EAAE,IAAI,CAAC,EAAE,EACX,QAAQ,EAAE,QAAQ,CAAC,MAAM,GACH,CACzB,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h } from '@stencil/core';\nimport { Business, WidgetStyle } from '../../../types';\n\n@Component({\n tag: 'hemfixarna-string-furniture',\n styleUrl: 'hemfixarna-string.scss',\n shadow: true,\n})\nexport class MyComponent {\n @Prop() id?: string;\n @Prop() loadFromQuery?: string = undefined;\n @Prop() widgetStyle?: WidgetStyle = WidgetStyle.standard;\n @Prop() buttonColor?: string;\n @Prop() buttonBg?: string;\n\n render() {\n return (\n <hemfixarna-component\n widgetStyle={this.widgetStyle}\n buttonBg={this.buttonBg}\n buttonColor={this.buttonColor}\n loadFromQuery={Boolean(this.loadFromQuery)}\n id={this.id}\n business={Business.string}\n ></hemfixarna-component>\n );\n }\n}\n"]}
|
File without changes
|
package/dist/collection/components/customers/hemfixarna-superfront.tsx/hemfixarna-superfront.js
DELETED
@@ -1,113 +0,0 @@
|
|
1
|
-
import { h } from '@stencil/core';
|
2
|
-
import { Business, WidgetStyle } from '../../../types';
|
3
|
-
export class MyComponent {
|
4
|
-
constructor() {
|
5
|
-
this.id = undefined;
|
6
|
-
this.loadFromQuery = undefined;
|
7
|
-
this.widgetStyle = WidgetStyle.standard;
|
8
|
-
this.buttonColor = undefined;
|
9
|
-
this.buttonBg = undefined;
|
10
|
-
}
|
11
|
-
render() {
|
12
|
-
return (h("hemfixarna-component", { widgetStyle: this.widgetStyle, buttonBg: this.buttonBg, buttonColor: this.buttonColor, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.superfront }));
|
13
|
-
}
|
14
|
-
static get is() { return "hemfixarna-superfront"; }
|
15
|
-
static get encapsulation() { return "shadow"; }
|
16
|
-
static get properties() {
|
17
|
-
return {
|
18
|
-
"id": {
|
19
|
-
"type": "string",
|
20
|
-
"mutable": false,
|
21
|
-
"complexType": {
|
22
|
-
"original": "string",
|
23
|
-
"resolved": "string",
|
24
|
-
"references": {}
|
25
|
-
},
|
26
|
-
"required": false,
|
27
|
-
"optional": true,
|
28
|
-
"docs": {
|
29
|
-
"tags": [],
|
30
|
-
"text": ""
|
31
|
-
},
|
32
|
-
"attribute": "id",
|
33
|
-
"reflect": false
|
34
|
-
},
|
35
|
-
"loadFromQuery": {
|
36
|
-
"type": "string",
|
37
|
-
"mutable": false,
|
38
|
-
"complexType": {
|
39
|
-
"original": "string",
|
40
|
-
"resolved": "string",
|
41
|
-
"references": {}
|
42
|
-
},
|
43
|
-
"required": false,
|
44
|
-
"optional": true,
|
45
|
-
"docs": {
|
46
|
-
"tags": [],
|
47
|
-
"text": ""
|
48
|
-
},
|
49
|
-
"attribute": "load-from-query",
|
50
|
-
"reflect": false,
|
51
|
-
"defaultValue": "undefined"
|
52
|
-
},
|
53
|
-
"widgetStyle": {
|
54
|
-
"type": "string",
|
55
|
-
"mutable": false,
|
56
|
-
"complexType": {
|
57
|
-
"original": "WidgetStyle",
|
58
|
-
"resolved": "WidgetStyle.alternative | WidgetStyle.alternative_2 | WidgetStyle.alternative_3 | WidgetStyle.standard",
|
59
|
-
"references": {
|
60
|
-
"WidgetStyle": {
|
61
|
-
"location": "import",
|
62
|
-
"path": "../../../types"
|
63
|
-
}
|
64
|
-
}
|
65
|
-
},
|
66
|
-
"required": false,
|
67
|
-
"optional": true,
|
68
|
-
"docs": {
|
69
|
-
"tags": [],
|
70
|
-
"text": ""
|
71
|
-
},
|
72
|
-
"attribute": "widget-style",
|
73
|
-
"reflect": false,
|
74
|
-
"defaultValue": "WidgetStyle.standard"
|
75
|
-
},
|
76
|
-
"buttonColor": {
|
77
|
-
"type": "string",
|
78
|
-
"mutable": false,
|
79
|
-
"complexType": {
|
80
|
-
"original": "string",
|
81
|
-
"resolved": "string",
|
82
|
-
"references": {}
|
83
|
-
},
|
84
|
-
"required": false,
|
85
|
-
"optional": true,
|
86
|
-
"docs": {
|
87
|
-
"tags": [],
|
88
|
-
"text": ""
|
89
|
-
},
|
90
|
-
"attribute": "button-color",
|
91
|
-
"reflect": false
|
92
|
-
},
|
93
|
-
"buttonBg": {
|
94
|
-
"type": "string",
|
95
|
-
"mutable": false,
|
96
|
-
"complexType": {
|
97
|
-
"original": "string",
|
98
|
-
"resolved": "string",
|
99
|
-
"references": {}
|
100
|
-
},
|
101
|
-
"required": false,
|
102
|
-
"optional": true,
|
103
|
-
"docs": {
|
104
|
-
"tags": [],
|
105
|
-
"text": ""
|
106
|
-
},
|
107
|
-
"attribute": "button-bg",
|
108
|
-
"reflect": false
|
109
|
-
}
|
110
|
-
};
|
111
|
-
}
|
112
|
-
}
|
113
|
-
//# sourceMappingURL=hemfixarna-superfront.js.map
|
package/dist/collection/components/customers/hemfixarna-superfront.tsx/hemfixarna-superfront.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"hemfixarna-superfront.js","sourceRoot":"","sources":["../../../../src/components/customers/hemfixarna-superfront.tsx/hemfixarna-superfront.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAMvD,MAAM,OAAO,WAAW;;;yBAEW,SAAS;uBACN,WAAW,CAAC,QAAQ;;;;EAIxD,MAAM;IACJ,OAAO,CACL,4BACE,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,aAAa,EAAE,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,EAC1C,EAAE,EAAE,IAAI,CAAC,EAAE,EACX,QAAQ,EAAE,QAAQ,CAAC,UAAU,GACP,CACzB,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h } from '@stencil/core';\nimport { Business, WidgetStyle } from '../../../types';\n\n@Component({\n tag: 'hemfixarna-superfront',\n shadow: true,\n})\nexport class MyComponent {\n @Prop() id?: string;\n @Prop() loadFromQuery?: string = undefined;\n @Prop() widgetStyle?: WidgetStyle = WidgetStyle.standard;\n @Prop() buttonColor?: string;\n @Prop() buttonBg?: string;\n\n render() {\n return (\n <hemfixarna-component\n widgetStyle={this.widgetStyle}\n buttonBg={this.buttonBg}\n buttonColor={this.buttonColor}\n loadFromQuery={Boolean(this.loadFromQuery)}\n id={this.id}\n business={Business.superfront}\n ></hemfixarna-component>\n );\n }\n}\n"]}
|
@@ -1,132 +0,0 @@
|
|
1
|
-
import { h } from '@stencil/core';
|
2
|
-
import { Business, WidgetStyle } from '../../../types';
|
3
|
-
export class MyComponent {
|
4
|
-
constructor() {
|
5
|
-
this.id = undefined;
|
6
|
-
this.loadFromQuery = 'true';
|
7
|
-
this.isDemo = false;
|
8
|
-
this.widgetStyle = WidgetStyle.standard;
|
9
|
-
this.buttonColor = undefined;
|
10
|
-
this.buttonBg = undefined;
|
11
|
-
}
|
12
|
-
render() {
|
13
|
-
return (h("hemfixarna-component", { widgetStyle: this.widgetStyle, buttonBg: this.buttonBg, buttonColor: this.buttonColor, nav: { url: 'https://www.tesla.com/sv_se/home-charging', logo: 'assets/tesla.svg' }, isDemo: this.isDemo, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.tesla }));
|
14
|
-
}
|
15
|
-
static get is() { return "hemfixarna-tesla"; }
|
16
|
-
static get encapsulation() { return "shadow"; }
|
17
|
-
static get properties() {
|
18
|
-
return {
|
19
|
-
"id": {
|
20
|
-
"type": "string",
|
21
|
-
"mutable": false,
|
22
|
-
"complexType": {
|
23
|
-
"original": "string",
|
24
|
-
"resolved": "string",
|
25
|
-
"references": {}
|
26
|
-
},
|
27
|
-
"required": false,
|
28
|
-
"optional": true,
|
29
|
-
"docs": {
|
30
|
-
"tags": [],
|
31
|
-
"text": ""
|
32
|
-
},
|
33
|
-
"attribute": "id",
|
34
|
-
"reflect": false
|
35
|
-
},
|
36
|
-
"loadFromQuery": {
|
37
|
-
"type": "string",
|
38
|
-
"mutable": false,
|
39
|
-
"complexType": {
|
40
|
-
"original": "string",
|
41
|
-
"resolved": "string",
|
42
|
-
"references": {}
|
43
|
-
},
|
44
|
-
"required": false,
|
45
|
-
"optional": true,
|
46
|
-
"docs": {
|
47
|
-
"tags": [],
|
48
|
-
"text": ""
|
49
|
-
},
|
50
|
-
"attribute": "load-from-query",
|
51
|
-
"reflect": false,
|
52
|
-
"defaultValue": "'true'"
|
53
|
-
},
|
54
|
-
"isDemo": {
|
55
|
-
"type": "boolean",
|
56
|
-
"mutable": false,
|
57
|
-
"complexType": {
|
58
|
-
"original": "boolean",
|
59
|
-
"resolved": "boolean",
|
60
|
-
"references": {}
|
61
|
-
},
|
62
|
-
"required": false,
|
63
|
-
"optional": true,
|
64
|
-
"docs": {
|
65
|
-
"tags": [],
|
66
|
-
"text": ""
|
67
|
-
},
|
68
|
-
"attribute": "is-demo",
|
69
|
-
"reflect": false,
|
70
|
-
"defaultValue": "false"
|
71
|
-
},
|
72
|
-
"widgetStyle": {
|
73
|
-
"type": "string",
|
74
|
-
"mutable": false,
|
75
|
-
"complexType": {
|
76
|
-
"original": "WidgetStyle",
|
77
|
-
"resolved": "WidgetStyle.alternative | WidgetStyle.alternative_2 | WidgetStyle.alternative_3 | WidgetStyle.standard",
|
78
|
-
"references": {
|
79
|
-
"WidgetStyle": {
|
80
|
-
"location": "import",
|
81
|
-
"path": "../../../types"
|
82
|
-
}
|
83
|
-
}
|
84
|
-
},
|
85
|
-
"required": false,
|
86
|
-
"optional": true,
|
87
|
-
"docs": {
|
88
|
-
"tags": [],
|
89
|
-
"text": ""
|
90
|
-
},
|
91
|
-
"attribute": "widget-style",
|
92
|
-
"reflect": false,
|
93
|
-
"defaultValue": "WidgetStyle.standard"
|
94
|
-
},
|
95
|
-
"buttonColor": {
|
96
|
-
"type": "string",
|
97
|
-
"mutable": false,
|
98
|
-
"complexType": {
|
99
|
-
"original": "string",
|
100
|
-
"resolved": "string",
|
101
|
-
"references": {}
|
102
|
-
},
|
103
|
-
"required": false,
|
104
|
-
"optional": true,
|
105
|
-
"docs": {
|
106
|
-
"tags": [],
|
107
|
-
"text": ""
|
108
|
-
},
|
109
|
-
"attribute": "button-color",
|
110
|
-
"reflect": false
|
111
|
-
},
|
112
|
-
"buttonBg": {
|
113
|
-
"type": "string",
|
114
|
-
"mutable": false,
|
115
|
-
"complexType": {
|
116
|
-
"original": "string",
|
117
|
-
"resolved": "string",
|
118
|
-
"references": {}
|
119
|
-
},
|
120
|
-
"required": false,
|
121
|
-
"optional": true,
|
122
|
-
"docs": {
|
123
|
-
"tags": [],
|
124
|
-
"text": ""
|
125
|
-
},
|
126
|
-
"attribute": "button-bg",
|
127
|
-
"reflect": false
|
128
|
-
}
|
129
|
-
};
|
130
|
-
}
|
131
|
-
}
|
132
|
-
//# sourceMappingURL=hemfixarna-tesla.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"hemfixarna-tesla.js","sourceRoot":"","sources":["../../../../src/components/customers/hemfixarna-tesla/hemfixarna-tesla.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAMvD,MAAM,OAAO,WAAW;;;yBAEW,MAAM;kBACZ,KAAK;uBACI,WAAW,CAAC,QAAQ;;;;EAIxD,MAAM;IACJ,OAAO,CACL,4BACE,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,GAAG,EAAE,EAAE,GAAG,EAAE,2CAA2C,EAAE,IAAI,EAAE,kBAAkB,EAAE,EACnF,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,aAAa,EAAE,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,EAC1C,EAAE,EAAE,IAAI,CAAC,EAAE,EACX,QAAQ,EAAE,QAAQ,CAAC,KAAK,GACF,CACzB,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h } from '@stencil/core';\nimport { Business, WidgetStyle } from '../../../types';\n\n@Component({\n tag: 'hemfixarna-tesla',\n shadow: true,\n})\nexport class MyComponent {\n @Prop() id?: string;\n @Prop() loadFromQuery?: string = 'true';\n @Prop() isDemo?: boolean = false;\n @Prop() widgetStyle?: WidgetStyle = WidgetStyle.standard;\n @Prop() buttonColor?: string;\n @Prop() buttonBg?: string;\n\n render() {\n return (\n <hemfixarna-component\n widgetStyle={this.widgetStyle}\n buttonBg={this.buttonBg}\n buttonColor={this.buttonColor}\n nav={{ url: 'https://www.tesla.com/sv_se/home-charging', logo: 'assets/tesla.svg' }}\n isDemo={this.isDemo}\n loadFromQuery={Boolean(this.loadFromQuery)}\n id={this.id}\n business={Business.tesla}\n ></hemfixarna-component>\n );\n }\n}\n"]}
|
@@ -1,113 +0,0 @@
|
|
1
|
-
import { h } from '@stencil/core';
|
2
|
-
import { Business, WidgetStyle } from '../../../types';
|
3
|
-
export class MyComponent {
|
4
|
-
constructor() {
|
5
|
-
this.id = undefined;
|
6
|
-
this.loadFromQuery = undefined;
|
7
|
-
this.widgetStyle = WidgetStyle.standard;
|
8
|
-
this.buttonColor = undefined;
|
9
|
-
this.buttonBg = undefined;
|
10
|
-
}
|
11
|
-
render() {
|
12
|
-
return (h("hemfixarna-component", { widgetStyle: this.widgetStyle, buttonBg: this.buttonBg, buttonColor: this.buttonColor, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.traningspartner }));
|
13
|
-
}
|
14
|
-
static get is() { return "hemfixarna-traningspartner"; }
|
15
|
-
static get encapsulation() { return "shadow"; }
|
16
|
-
static get properties() {
|
17
|
-
return {
|
18
|
-
"id": {
|
19
|
-
"type": "string",
|
20
|
-
"mutable": false,
|
21
|
-
"complexType": {
|
22
|
-
"original": "string",
|
23
|
-
"resolved": "string",
|
24
|
-
"references": {}
|
25
|
-
},
|
26
|
-
"required": false,
|
27
|
-
"optional": true,
|
28
|
-
"docs": {
|
29
|
-
"tags": [],
|
30
|
-
"text": ""
|
31
|
-
},
|
32
|
-
"attribute": "id",
|
33
|
-
"reflect": false
|
34
|
-
},
|
35
|
-
"loadFromQuery": {
|
36
|
-
"type": "string",
|
37
|
-
"mutable": false,
|
38
|
-
"complexType": {
|
39
|
-
"original": "string",
|
40
|
-
"resolved": "string",
|
41
|
-
"references": {}
|
42
|
-
},
|
43
|
-
"required": false,
|
44
|
-
"optional": true,
|
45
|
-
"docs": {
|
46
|
-
"tags": [],
|
47
|
-
"text": ""
|
48
|
-
},
|
49
|
-
"attribute": "load-from-query",
|
50
|
-
"reflect": false,
|
51
|
-
"defaultValue": "undefined"
|
52
|
-
},
|
53
|
-
"widgetStyle": {
|
54
|
-
"type": "string",
|
55
|
-
"mutable": false,
|
56
|
-
"complexType": {
|
57
|
-
"original": "WidgetStyle",
|
58
|
-
"resolved": "WidgetStyle.alternative | WidgetStyle.alternative_2 | WidgetStyle.alternative_3 | WidgetStyle.standard",
|
59
|
-
"references": {
|
60
|
-
"WidgetStyle": {
|
61
|
-
"location": "import",
|
62
|
-
"path": "../../../types"
|
63
|
-
}
|
64
|
-
}
|
65
|
-
},
|
66
|
-
"required": false,
|
67
|
-
"optional": true,
|
68
|
-
"docs": {
|
69
|
-
"tags": [],
|
70
|
-
"text": ""
|
71
|
-
},
|
72
|
-
"attribute": "widget-style",
|
73
|
-
"reflect": false,
|
74
|
-
"defaultValue": "WidgetStyle.standard"
|
75
|
-
},
|
76
|
-
"buttonColor": {
|
77
|
-
"type": "string",
|
78
|
-
"mutable": false,
|
79
|
-
"complexType": {
|
80
|
-
"original": "string",
|
81
|
-
"resolved": "string",
|
82
|
-
"references": {}
|
83
|
-
},
|
84
|
-
"required": false,
|
85
|
-
"optional": true,
|
86
|
-
"docs": {
|
87
|
-
"tags": [],
|
88
|
-
"text": ""
|
89
|
-
},
|
90
|
-
"attribute": "button-color",
|
91
|
-
"reflect": false
|
92
|
-
},
|
93
|
-
"buttonBg": {
|
94
|
-
"type": "string",
|
95
|
-
"mutable": false,
|
96
|
-
"complexType": {
|
97
|
-
"original": "string",
|
98
|
-
"resolved": "string",
|
99
|
-
"references": {}
|
100
|
-
},
|
101
|
-
"required": false,
|
102
|
-
"optional": true,
|
103
|
-
"docs": {
|
104
|
-
"tags": [],
|
105
|
-
"text": ""
|
106
|
-
},
|
107
|
-
"attribute": "button-bg",
|
108
|
-
"reflect": false
|
109
|
-
}
|
110
|
-
};
|
111
|
-
}
|
112
|
-
}
|
113
|
-
//# sourceMappingURL=hemfixarna-traningspartner.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"hemfixarna-traningspartner.js","sourceRoot":"","sources":["../../../../src/components/customers/hemfixarna-traningspartner/hemfixarna-traningspartner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAMvD,MAAM,OAAO,WAAW;;;yBAEW,SAAS;uBACN,WAAW,CAAC,QAAQ;;;;EAIxD,MAAM;IACJ,OAAO,CACL,4BACE,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,aAAa,EAAE,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,EAC1C,EAAE,EAAE,IAAI,CAAC,EAAE,EACX,QAAQ,EAAE,QAAQ,CAAC,eAAe,GACZ,CACzB,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h } from '@stencil/core';\nimport { Business, WidgetStyle } from '../../../types';\n\n@Component({\n tag: 'hemfixarna-traningspartner',\n shadow: true,\n})\nexport class MyComponent {\n @Prop() id?: string;\n @Prop() loadFromQuery?: string = undefined;\n @Prop() widgetStyle?: WidgetStyle = WidgetStyle.standard;\n @Prop() buttonColor?: string;\n @Prop() buttonBg?: string;\n\n render() {\n return (\n <hemfixarna-component\n widgetStyle={this.widgetStyle}\n buttonBg={this.buttonBg}\n buttonColor={this.buttonColor}\n loadFromQuery={Boolean(this.loadFromQuery)}\n id={this.id}\n business={Business.traningspartner}\n ></hemfixarna-component>\n );\n }\n}\n"]}
|
@@ -1,132 +0,0 @@
|
|
1
|
-
import { h } from '@stencil/core';
|
2
|
-
import { Business, WidgetStyle } from '../../../types';
|
3
|
-
export class MyComponent {
|
4
|
-
constructor() {
|
5
|
-
this.id = undefined;
|
6
|
-
this.loadFromQuery = 'true';
|
7
|
-
this.isDemo = false;
|
8
|
-
this.widgetStyle = WidgetStyle.standard;
|
9
|
-
this.buttonColor = undefined;
|
10
|
-
this.buttonBg = undefined;
|
11
|
-
}
|
12
|
-
render() {
|
13
|
-
return (h("hemfixarna-component", { widgetStyle: this.widgetStyle, buttonBg: this.buttonBg, buttonColor: this.buttonColor, nav: { url: 'https://www.zaptec.com/sv/laddningslosningar/zaptec-go', logo: 'assets/zaptec.svg' }, isDemo: this.isDemo, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.zaptec }));
|
14
|
-
}
|
15
|
-
static get is() { return "hemfixarna-zaptec"; }
|
16
|
-
static get encapsulation() { return "shadow"; }
|
17
|
-
static get properties() {
|
18
|
-
return {
|
19
|
-
"id": {
|
20
|
-
"type": "string",
|
21
|
-
"mutable": false,
|
22
|
-
"complexType": {
|
23
|
-
"original": "string",
|
24
|
-
"resolved": "string",
|
25
|
-
"references": {}
|
26
|
-
},
|
27
|
-
"required": false,
|
28
|
-
"optional": true,
|
29
|
-
"docs": {
|
30
|
-
"tags": [],
|
31
|
-
"text": ""
|
32
|
-
},
|
33
|
-
"attribute": "id",
|
34
|
-
"reflect": false
|
35
|
-
},
|
36
|
-
"loadFromQuery": {
|
37
|
-
"type": "string",
|
38
|
-
"mutable": false,
|
39
|
-
"complexType": {
|
40
|
-
"original": "string",
|
41
|
-
"resolved": "string",
|
42
|
-
"references": {}
|
43
|
-
},
|
44
|
-
"required": false,
|
45
|
-
"optional": true,
|
46
|
-
"docs": {
|
47
|
-
"tags": [],
|
48
|
-
"text": ""
|
49
|
-
},
|
50
|
-
"attribute": "load-from-query",
|
51
|
-
"reflect": false,
|
52
|
-
"defaultValue": "'true'"
|
53
|
-
},
|
54
|
-
"isDemo": {
|
55
|
-
"type": "boolean",
|
56
|
-
"mutable": false,
|
57
|
-
"complexType": {
|
58
|
-
"original": "boolean",
|
59
|
-
"resolved": "boolean",
|
60
|
-
"references": {}
|
61
|
-
},
|
62
|
-
"required": false,
|
63
|
-
"optional": true,
|
64
|
-
"docs": {
|
65
|
-
"tags": [],
|
66
|
-
"text": ""
|
67
|
-
},
|
68
|
-
"attribute": "is-demo",
|
69
|
-
"reflect": false,
|
70
|
-
"defaultValue": "false"
|
71
|
-
},
|
72
|
-
"widgetStyle": {
|
73
|
-
"type": "string",
|
74
|
-
"mutable": false,
|
75
|
-
"complexType": {
|
76
|
-
"original": "WidgetStyle",
|
77
|
-
"resolved": "WidgetStyle.alternative | WidgetStyle.alternative_2 | WidgetStyle.alternative_3 | WidgetStyle.standard",
|
78
|
-
"references": {
|
79
|
-
"WidgetStyle": {
|
80
|
-
"location": "import",
|
81
|
-
"path": "../../../types"
|
82
|
-
}
|
83
|
-
}
|
84
|
-
},
|
85
|
-
"required": false,
|
86
|
-
"optional": true,
|
87
|
-
"docs": {
|
88
|
-
"tags": [],
|
89
|
-
"text": ""
|
90
|
-
},
|
91
|
-
"attribute": "widget-style",
|
92
|
-
"reflect": false,
|
93
|
-
"defaultValue": "WidgetStyle.standard"
|
94
|
-
},
|
95
|
-
"buttonColor": {
|
96
|
-
"type": "string",
|
97
|
-
"mutable": false,
|
98
|
-
"complexType": {
|
99
|
-
"original": "string",
|
100
|
-
"resolved": "string",
|
101
|
-
"references": {}
|
102
|
-
},
|
103
|
-
"required": false,
|
104
|
-
"optional": true,
|
105
|
-
"docs": {
|
106
|
-
"tags": [],
|
107
|
-
"text": ""
|
108
|
-
},
|
109
|
-
"attribute": "button-color",
|
110
|
-
"reflect": false
|
111
|
-
},
|
112
|
-
"buttonBg": {
|
113
|
-
"type": "string",
|
114
|
-
"mutable": false,
|
115
|
-
"complexType": {
|
116
|
-
"original": "string",
|
117
|
-
"resolved": "string",
|
118
|
-
"references": {}
|
119
|
-
},
|
120
|
-
"required": false,
|
121
|
-
"optional": true,
|
122
|
-
"docs": {
|
123
|
-
"tags": [],
|
124
|
-
"text": ""
|
125
|
-
},
|
126
|
-
"attribute": "button-bg",
|
127
|
-
"reflect": false
|
128
|
-
}
|
129
|
-
};
|
130
|
-
}
|
131
|
-
}
|
132
|
-
//# sourceMappingURL=hemfixarna-zaptec.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"hemfixarna-zaptec.js","sourceRoot":"","sources":["../../../../src/components/customers/hemfixarna-zaptec/hemfixarna-zaptec.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAMvD,MAAM,OAAO,WAAW;;;yBAEW,MAAM;kBACZ,KAAK;uBACI,WAAW,CAAC,QAAQ;;;;EAIxD,MAAM;IACJ,OAAO,CACL,4BACE,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,GAAG,EAAE,EAAE,GAAG,EAAE,wDAAwD,EAAE,IAAI,EAAE,mBAAmB,EAAE,EACjG,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,aAAa,EAAE,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,EAC1C,EAAE,EAAE,IAAI,CAAC,EAAE,EACX,QAAQ,EAAE,QAAQ,CAAC,MAAM,GACH,CACzB,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h } from '@stencil/core';\nimport { Business, WidgetStyle } from '../../../types';\n\n@Component({\n tag: 'hemfixarna-zaptec',\n shadow: true,\n})\nexport class MyComponent {\n @Prop() id?: string;\n @Prop() loadFromQuery?: string = 'true';\n @Prop() isDemo?: boolean = false;\n @Prop() widgetStyle?: WidgetStyle = WidgetStyle.standard;\n @Prop() buttonColor?: string;\n @Prop() buttonBg?: string;\n\n render() {\n return (\n <hemfixarna-component\n widgetStyle={this.widgetStyle}\n buttonBg={this.buttonBg}\n buttonColor={this.buttonColor}\n nav={{ url: 'https://www.zaptec.com/sv/laddningslosningar/zaptec-go', logo: 'assets/zaptec.svg' }}\n isDemo={this.isDemo}\n loadFromQuery={Boolean(this.loadFromQuery)}\n id={this.id}\n business={Business.zaptec}\n ></hemfixarna-component>\n );\n }\n}\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"hemfixarna-address.js","sourceRoot":"","sources":["../../../src/components/hemfixarna-address/hemfixarna-address.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Element, State, h } from '@stencil/core';\nimport state from '../../store';\nimport { hideField } from '../../utils/form';\nimport { scrollToTop } from '../../utils/scroll';\n\n@Component({\n tag: 'hemfixarna-address',\n shadow: false,\n})\nexport class HemfixarnaAddress {\n @State() street: string = '';\n @State() streetError: string | null = null;\n @State() zip: string = '';\n @State() zipError: string | null = null;\n @State() town: string = '';\n @State() townError: string | null = null;\n @Element() private el: HTMLElement;\n\n componentWillLoad() {\n if (state.user) {\n this.street = state.user.street;\n this.zip = state.user.zip;\n this.town = state.user.town;\n }\n }\n\n handleSubmit = (e: Event) => {\n e.preventDefault();\n const streetValid = this.street.length > 0;\n if (!streetValid) {\n this.streetError = 'Ange en gatuadress';\n }\n const zipValid = this.zip.length > 0;\n const zipIsNumber = /^\\s*\\d[\\d\\s]*$/.test(this.zip);\n if (!zipIsNumber) {\n this.zipError = 'Postnummer får endast innehålla siffror';\n }\n if (!zipValid) {\n this.zipError = 'Ange ett postnummer';\n }\n const townValid = /^[^\\d\\s]{2,}$/.test(this.town);\n if (!townValid) {\n this.townError = 'Ange en ort';\n }\n if (streetValid && zipValid && townValid && zipIsNumber) {\n state.user = { ...state.user, street: this.street, zip: this.zip, town: this.town };\n state.checkoutStep = 2;\n state.checkoutEdit = false;\n const el = this.el.closest('.hemfixarna_content');\n scrollToTop(el);\n }\n };\n\n handleChangeStreet = (e: Event) => {\n this.streetError = null;\n this.street = this.street === state.user.street ? '' : (e.target as HTMLInputElement).value;\n };\n\n handleChangeZip = (e: Event) => {\n this.zipError = null;\n this.zip = this.zip === state.user.zip ? '' : (e.target as HTMLInputElement).value;\n };\n\n handleChangeTown = (e: Event) => {\n this.townError = null;\n this.town = this.town === state.user.town ? '' : (e.target as HTMLInputElement).value;\n };\n\n render = () => {\n return (\n <form class=\"hemfixarna_address\" onSubmit={e => this.handleSubmit(e)}>\n <div>\n <input\n class={`${this.street.length ? 'input_active' : ''}`}\n onInput={this.handleChangeStreet}\n type=\"text\"\n name=\"street\"\n value={this.street === state.user.street ? hideField(this.street) : this.street}\n />\n <label htmlFor=\"street\">Gatuaddress </label>\n </div>\n {this.streetError && <span>{this.streetError}</span>}\n <div>\n <input\n class={`${this.zip.length ? 'input_active' : ''}`}\n onInput={this.handleChangeZip}\n type=\"tel\"\n name=\"zip\"\n value={this.zip === state.user.zip ? hideField(this.zip) : this.zip}\n />\n <label htmlFor=\"zip\">Postnummer </label>\n </div>\n {this.zipError && <span>{this.zipError}</span>}\n <div>\n <input\n class={`${this.town.length ? 'input_active' : ''}`}\n onInput={this.handleChangeTown}\n type=\"text\"\n name=\"town\"\n value={this.town === state.user.town ? hideField(this.town) : this.town}\n />\n <label htmlFor=\"town\">Ort </label>\n </div>\n {this.townError && <span>{this.townError}</span>}\n <input type=\"submit\" value=\"Fortsätt\" />\n </form>\n );\n };\n}\n"]}
|