hemfixarna-web-components 1.6.2 → 1.6.3
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/cjs/hemfixarna-address_36.cjs.entry.js +2763 -0
- package/dist/{hemfixarna-components/index-f1a87cf1.js.map → cjs/hemfixarna-address_36.cjs.entry.js.map} +1 -1
- package/dist/cjs/hemfixarna-components.cjs.js +28 -0
- package/dist/cjs/hemfixarna-components.cjs.js.map +1 -0
- package/dist/cjs/index-b83343b9.js +1687 -0
- package/dist/cjs/index-b83343b9.js.map +1 -0
- package/dist/cjs/index.cjs.js +4 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +24 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/collection/assets/back.svg +3 -0
- package/dist/collection/assets/cart.svg +10 -0
- package/dist/collection/assets/checked.svg +10 -0
- package/dist/collection/assets/close.svg +5 -0
- package/dist/collection/assets/copy.png +0 -0
- package/dist/collection/assets/date.svg +6 -0
- package/dist/collection/assets/down.svg +3 -0
- package/dist/collection/assets/drag-drop.svg +3 -0
- package/dist/collection/assets/elfa.png +0 -0
- package/dist/collection/assets/gubbe-pensel.svg +1 -0
- package/dist/collection/assets/hemfixarna.svg +11 -0
- package/dist/collection/assets/hornbach/logo.svg +42 -0
- package/dist/collection/assets/hornbach/nav.jpg +0 -0
- package/dist/collection/assets/info.svg +5 -0
- package/dist/collection/assets/kbygg.svg +29 -0
- package/dist/collection/assets/minus.svg +4 -0
- package/dist/collection/assets/montering.svg +15 -0
- package/dist/collection/assets/norrgavel.svg +1 -0
- package/dist/collection/assets/pensel.svg +1 -0
- package/dist/collection/assets/plus.svg +5 -0
- package/dist/collection/assets/spinner.gif +0 -0
- package/dist/collection/assets/tesla.svg +1 -0
- package/dist/collection/assets/zaptec.svg +1 -0
- package/dist/collection/collection-manifest.json +47 -0
- package/dist/collection/components/customers/hemfixarna-byggmax/hemfixarna-byggmax.css +0 -0
- package/dist/collection/components/customers/hemfixarna-byggmax/hemfixarna-byggmax.js +184 -0
- package/dist/collection/components/customers/hemfixarna-byggmax/hemfixarna-byggmax.js.map +1 -0
- package/dist/collection/components/customers/hemfixarna-doro/hemfixarna-doro.css +0 -0
- package/dist/collection/components/customers/hemfixarna-doro/hemfixarna-doro.js +123 -0
- package/dist/collection/components/customers/hemfixarna-doro/hemfixarna-doro.js.map +1 -0
- package/dist/collection/components/customers/hemfixarna-elfa/hemfixarna-elfa.css +0 -0
- package/dist/collection/components/customers/hemfixarna-elfa/hemfixarna-elfa.js +142 -0
- package/dist/collection/components/customers/hemfixarna-elfa/hemfixarna-elfa.js.map +1 -0
- package/dist/collection/components/customers/hemfixarna-fargvaruhuset/hemfixarna-fargvaruhuset.js +132 -0
- package/dist/collection/components/customers/hemfixarna-fargvaruhuset/hemfixarna-fargvaruhuset.js.map +1 -0
- package/dist/collection/components/customers/hemfixarna-flyttsmart/hemfixarna-flyttsmart.js +132 -0
- package/dist/collection/components/customers/hemfixarna-flyttsmart/hemfixarna-flyttsmart.js.map +1 -0
- package/dist/collection/components/customers/hemfixarna-forebygg/hemfixarna-forebygg.css +0 -0
- package/dist/collection/components/customers/hemfixarna-forebygg/hemfixarna-forebygg.js +123 -0
- package/dist/collection/components/customers/hemfixarna-forebygg/hemfixarna-forebygg.js.map +1 -0
- package/dist/collection/components/customers/hemfixarna-hornbach/hemfixarna-hornbach.css +0 -0
- package/dist/collection/components/customers/hemfixarna-hornbach/hemfixarna-hornbach.js +142 -0
- package/dist/collection/components/customers/hemfixarna-hornbach/hemfixarna-hornbach.js.map +1 -0
- package/dist/collection/components/customers/hemfixarna-kbygg/hemfixarna-kbygg.js +132 -0
- package/dist/collection/components/customers/hemfixarna-kbygg/hemfixarna-kbygg.js.map +1 -0
- package/dist/collection/components/customers/hemfixarna-klint/hemfixarna-klint.js +113 -0
- package/dist/collection/components/customers/hemfixarna-klint/hemfixarna-klint.js.map +1 -0
- package/dist/collection/components/customers/hemfixarna-kund/hemfixarna-kund.js +113 -0
- package/dist/collection/components/customers/hemfixarna-kund/hemfixarna-kund.js.map +1 -0
- package/dist/collection/components/customers/hemfixarna-norrgavel/hemfixarna-norrgavel.js +132 -0
- package/dist/collection/components/customers/hemfixarna-norrgavel/hemfixarna-norrgavel.js.map +1 -0
- package/dist/collection/components/customers/hemfixarna-power/hemfixarna-power.js +131 -0
- package/dist/collection/components/customers/hemfixarna-power/hemfixarna-power.js.map +1 -0
- package/dist/collection/components/customers/hemfixarna-skanska/hemfixarna-skanska.css +0 -0
- package/dist/collection/components/customers/hemfixarna-skanska/hemfixarna-skanska.js +141 -0
- package/dist/collection/components/customers/hemfixarna-skanska/hemfixarna-skanska.js.map +1 -0
- package/dist/collection/components/customers/hemfixarna-sparfonster/hemfixarna-sparfonster.js +131 -0
- package/dist/collection/components/customers/hemfixarna-sparfonster/hemfixarna-sparfonster.js.map +1 -0
- package/dist/collection/components/customers/hemfixarna-string/hemfixarna-string-furniture.js +123 -0
- package/dist/collection/components/customers/hemfixarna-string/hemfixarna-string-furniture.js.map +1 -0
- package/dist/collection/components/customers/hemfixarna-string/hemfixarna-string.css +0 -0
- package/dist/collection/components/customers/hemfixarna-superfront.tsx/hemfixarna-superfront.js +113 -0
- package/dist/collection/components/customers/hemfixarna-superfront.tsx/hemfixarna-superfront.js.map +1 -0
- package/dist/collection/components/customers/hemfixarna-tesla/hemfixarna-tesla.js +132 -0
- package/dist/collection/components/customers/hemfixarna-tesla/hemfixarna-tesla.js.map +1 -0
- package/dist/collection/components/customers/hemfixarna-traningspartner/hemfixarna-traningspartner.js +113 -0
- package/dist/collection/components/customers/hemfixarna-traningspartner/hemfixarna-traningspartner.js.map +1 -0
- package/dist/collection/components/customers/hemfixarna-zaptec/hemfixarna-zaptec.js +132 -0
- package/dist/collection/components/customers/hemfixarna-zaptec/hemfixarna-zaptec.js.map +1 -0
- package/dist/{hemfixarna-components/hemfixarna-address.entry.js → collection/components/hemfixarna-address/hemfixarna-address.js} +20 -14
- package/dist/collection/components/hemfixarna-address/hemfixarna-address.js.map +1 -0
- package/dist/collection/components/hemfixarna-box/hemfixarna-box.js +138 -0
- package/dist/collection/components/hemfixarna-box/hemfixarna-box.js.map +1 -0
- package/dist/{hemfixarna-components/hemfixarna-breadcrumbs.entry.js → collection/components/hemfixarna-breadcrumbs/hemfixarna-breadcrumbs.js} +84 -13
- package/dist/collection/components/hemfixarna-breadcrumbs/hemfixarna-breadcrumbs.js.map +1 -0
- package/dist/{hemfixarna-components/hemfixarna-cart.entry.js → collection/components/hemfixarna-cart/hemfixarna-cart.js} +31 -11
- package/dist/collection/components/hemfixarna-cart/hemfixarna-cart.js.map +1 -0
- package/dist/{hemfixarna-components/hemfixarna-category.entry.js → collection/components/hemfixarna-category.tsx/hemfixarna-category.js} +6 -12
- package/dist/collection/components/hemfixarna-category.tsx/hemfixarna-category.js.map +1 -0
- package/dist/{hemfixarna-components/hemfixarna-checkout.entry.js → collection/components/hemfixarna-checkout/hemfixarna-checkout.js} +27 -32
- package/dist/collection/components/hemfixarna-checkout/hemfixarna-checkout.js.map +1 -0
- package/dist/collection/components/hemfixarna-component/hemfixarna-component.js +483 -0
- package/dist/collection/components/hemfixarna-component/hemfixarna-component.js.map +1 -0
- package/dist/collection/components/hemfixarna-component/hemfixarna.css +1031 -0
- package/dist/{hemfixarna-components/hemfixarna-contact.entry.js → collection/components/hemfixarna-contact/hemfixarna-contact.js} +28 -10
- package/dist/collection/components/hemfixarna-contact/hemfixarna-contact.js.map +1 -0
- package/dist/collection/components/hemfixarna-demo/hemfixarna-demo.css +135 -0
- package/dist/{hemfixarna-components/hemfixarna-demo.entry.js → collection/components/hemfixarna-demo/hemfixarna-demo.js} +46 -23
- package/dist/collection/components/hemfixarna-demo/hemfixarna-demo.js.map +1 -0
- package/dist/collection/components/hemfixarna-getuser/hemfixarna-getuser.js +91 -0
- package/dist/collection/components/hemfixarna-getuser/hemfixarna-getuser.js.map +1 -0
- package/dist/{hemfixarna-components/hemfixarna-info.entry.js → collection/components/hemfixarna-info/hemfixarna-info.js} +7 -11
- package/dist/collection/components/hemfixarna-info/hemfixarna-info.js.map +1 -0
- package/dist/collection/components/hemfixarna-invoice/hemfixarna-invoice.css +76 -0
- package/dist/{hemfixarna-components/hemfixarna-invoice.entry.js → collection/components/hemfixarna-invoice/hemfixarna-invoice.js} +27 -16
- package/dist/collection/components/hemfixarna-invoice/hemfixarna-invoice.js.map +1 -0
- package/dist/{hemfixarna-components/hemfixarna-order.entry.js → collection/components/hemfixarna-order/hemfixarna-order.js} +31 -11
- package/dist/collection/components/hemfixarna-order/hemfixarna-order.js.map +1 -0
- package/dist/{hemfixarna-components/hemfixarna-orderrows.entry.js → collection/components/hemfixarna-orderrows/hemfixarna-orderrows.js} +50 -12
- package/dist/collection/components/hemfixarna-orderrows/hemfixarna-orderrows.js.map +1 -0
- package/dist/collection/components/hemfixarna-product/hemfixarna-product.css +0 -0
- package/dist/{hemfixarna-components/hemfixarna-product.entry.js → collection/components/hemfixarna-product/hemfixarna-product.js} +27 -18
- package/dist/collection/components/hemfixarna-product/hemfixarna-product.js.map +1 -0
- package/dist/{hemfixarna-components/hemfixarna-service.entry.js → collection/components/hemfixarna-service/hemfixarna-service.js} +6 -12
- package/dist/collection/components/hemfixarna-service/hemfixarna-service.js.map +1 -0
- package/dist/{hemfixarna-components/hemfixarna-start.entry.js → collection/components/hemfixarna-start/hemfixarna-start.js} +48 -11
- package/dist/collection/components/hemfixarna-start/hemfixarna-start.js.map +1 -0
- package/dist/collection/index.js +2 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/store/index.js +62 -0
- package/dist/collection/store/index.js.map +1 -0
- package/dist/collection/types/felixtypes.js +3 -0
- package/dist/collection/types/felixtypes.js.map +1 -0
- package/dist/{hemfixarna-components/index-d90ad11b.js → collection/types/index.js} +4 -7
- package/dist/collection/types/index.js.map +1 -0
- package/dist/{hemfixarna-components/api-36f73d0d.js → collection/utils/api.js} +4 -6
- package/dist/collection/utils/api.js.map +1 -0
- package/dist/{hemfixarna-components/calc-4c79b798.js → collection/utils/calc.js} +3 -6
- package/dist/collection/utils/calc.js.map +1 -0
- package/dist/collection/utils/creditSafe.js +18 -0
- package/dist/collection/utils/creditSafe.js.map +1 -0
- package/dist/collection/utils/felixApi.js +18 -0
- package/dist/collection/utils/felixApi.js.map +1 -0
- package/dist/collection/utils/felixFunctions.js +189 -0
- package/dist/collection/utils/felixFunctions.js.map +1 -0
- package/dist/{hemfixarna-components/form-c53dca29.js → collection/utils/form.js} +2 -4
- package/dist/collection/utils/form.js.map +1 -0
- package/dist/{hemfixarna-components/scroll-6c26b5da.js → collection/utils/scroll.js} +2 -4
- package/dist/collection/utils/scroll.js.map +1 -0
- package/dist/{hemfixarna-components/types-641c9a1c.js → collection/utils/types.js} +3 -6
- package/dist/collection/utils/types.js.map +1 -0
- package/dist/esm/hemfixarna-address_36.entry.js +2724 -0
- package/dist/esm/hemfixarna-address_36.entry.js.map +1 -0
- package/dist/esm/hemfixarna-components.js +23 -0
- package/dist/esm/hemfixarna-components.js.map +1 -0
- package/dist/esm/index-8c417125.js +1656 -0
- package/dist/esm/index-8c417125.js.map +1 -0
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +20 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/hemfixarna-components/hemfixarna-components.esm.js +1 -162
- package/dist/hemfixarna-components/hemfixarna-components.esm.js.map +1 -1
- package/dist/hemfixarna-components/index.esm.js +0 -1
- package/dist/hemfixarna-components/index.esm.js.map +1 -1
- package/dist/hemfixarna-components/p-852e7173.js +3 -0
- package/dist/hemfixarna-components/p-852e7173.js.map +1 -0
- package/dist/hemfixarna-components/p-97461831.entry.js +2 -0
- package/dist/hemfixarna-components/p-97461831.entry.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
- package/dist/hemfixarna-components/api-36f73d0d.js.map +0 -1
- package/dist/hemfixarna-components/app-globals-0f993ce5.js +0 -5
- package/dist/hemfixarna-components/app-globals-0f993ce5.js.map +0 -1
- package/dist/hemfixarna-components/calc-4c79b798.js.map +0 -1
- package/dist/hemfixarna-components/css-shim-62d2171c.js +0 -6
- package/dist/hemfixarna-components/css-shim-62d2171c.js.map +0 -1
- package/dist/hemfixarna-components/dom-46a68c9b.js +0 -75
- package/dist/hemfixarna-components/dom-46a68c9b.js.map +0 -1
- package/dist/hemfixarna-components/form-c53dca29.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-address.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-box.entry.js +0 -49
- package/dist/hemfixarna-components/hemfixarna-box.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-breadcrumbs.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-byggmax.entry.js +0 -27
- package/dist/hemfixarna-components/hemfixarna-byggmax.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-cart.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-category.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-checkout.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-component.entry.js +0 -248
- package/dist/hemfixarna-components/hemfixarna-component.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-contact.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-demo.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-doro.entry.js +0 -23
- package/dist/hemfixarna-components/hemfixarna-doro.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-elfa.entry.js +0 -24
- package/dist/hemfixarna-components/hemfixarna-elfa.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-fargvaruhuset.entry.js +0 -21
- package/dist/hemfixarna-components/hemfixarna-fargvaruhuset.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-flyttsmart.entry.js +0 -21
- package/dist/hemfixarna-components/hemfixarna-flyttsmart.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-forebygg.entry.js +0 -23
- package/dist/hemfixarna-components/hemfixarna-forebygg.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-getuser.entry.js +0 -770
- package/dist/hemfixarna-components/hemfixarna-getuser.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-hornbach.entry.js +0 -24
- package/dist/hemfixarna-components/hemfixarna-hornbach.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-info.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-invoice.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-kbygg.entry.js +0 -21
- package/dist/hemfixarna-components/hemfixarna-kbygg.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-klint.entry.js +0 -20
- package/dist/hemfixarna-components/hemfixarna-klint.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-kund.entry.js +0 -20
- package/dist/hemfixarna-components/hemfixarna-kund.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-norrgavel.entry.js +0 -21
- package/dist/hemfixarna-components/hemfixarna-norrgavel.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-order.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-orderrows.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-power.entry.js +0 -21
- package/dist/hemfixarna-components/hemfixarna-power.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-product.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-service.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-skanska.entry.js +0 -24
- package/dist/hemfixarna-components/hemfixarna-skanska.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-sparfonster.entry.js +0 -21
- package/dist/hemfixarna-components/hemfixarna-sparfonster.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-start.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-string-furniture.entry.js +0 -23
- package/dist/hemfixarna-components/hemfixarna-string-furniture.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-superfront.entry.js +0 -20
- package/dist/hemfixarna-components/hemfixarna-superfront.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-tesla.entry.js +0 -21
- package/dist/hemfixarna-components/hemfixarna-tesla.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-traningspartner.entry.js +0 -20
- package/dist/hemfixarna-components/hemfixarna-traningspartner.entry.js.map +0 -1
- package/dist/hemfixarna-components/hemfixarna-zaptec.entry.js +0 -21
- package/dist/hemfixarna-components/hemfixarna-zaptec.entry.js.map +0 -1
- package/dist/hemfixarna-components/index-b6a6e994.js +0 -256
- package/dist/hemfixarna-components/index-b6a6e994.js.map +0 -1
- package/dist/hemfixarna-components/index-d90ad11b.js.map +0 -1
- package/dist/hemfixarna-components/index-f1a87cf1.js +0 -3397
- package/dist/hemfixarna-components/scroll-6c26b5da.js.map +0 -1
- package/dist/hemfixarna-components/shadow-css-05e0c1f4.js +0 -389
- package/dist/hemfixarna-components/shadow-css-05e0c1f4.js.map +0 -1
- package/dist/hemfixarna-components/types-641c9a1c.js.map +0 -1
@@ -0,0 +1,113 @@
|
|
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.kund }));
|
13
|
+
}
|
14
|
+
static get is() { return "hemfixarna-kund"; }
|
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-kund.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hemfixarna-kund.js","sourceRoot":"","sources":["../../../../src/components/customers/hemfixarna-kund/hemfixarna-kund.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,IAAI,GACD,CACzB,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h } from '@stencil/core';\nimport { Business, WidgetStyle } from '../../../types';\n\n@Component({\n tag: 'hemfixarna-kund',\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.kund}\n ></hemfixarna-component>\n );\n }\n}\n"]}
|
@@ -0,0 +1,132 @@
|
|
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.widgetStyle = WidgetStyle.standard;
|
8
|
+
this.buttonColor = undefined;
|
9
|
+
this.buttonBg = undefined;
|
10
|
+
this.isDemo = false;
|
11
|
+
}
|
12
|
+
render() {
|
13
|
+
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 }));
|
14
|
+
}
|
15
|
+
static get is() { return "hemfixarna-norrgavel"; }
|
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
|
+
"widgetStyle": {
|
55
|
+
"type": "string",
|
56
|
+
"mutable": false,
|
57
|
+
"complexType": {
|
58
|
+
"original": "WidgetStyle",
|
59
|
+
"resolved": "WidgetStyle.alternative | WidgetStyle.alternative_2 | WidgetStyle.alternative_3 | WidgetStyle.standard",
|
60
|
+
"references": {
|
61
|
+
"WidgetStyle": {
|
62
|
+
"location": "import",
|
63
|
+
"path": "../../../types"
|
64
|
+
}
|
65
|
+
}
|
66
|
+
},
|
67
|
+
"required": false,
|
68
|
+
"optional": true,
|
69
|
+
"docs": {
|
70
|
+
"tags": [],
|
71
|
+
"text": ""
|
72
|
+
},
|
73
|
+
"attribute": "widget-style",
|
74
|
+
"reflect": false,
|
75
|
+
"defaultValue": "WidgetStyle.standard"
|
76
|
+
},
|
77
|
+
"buttonColor": {
|
78
|
+
"type": "string",
|
79
|
+
"mutable": false,
|
80
|
+
"complexType": {
|
81
|
+
"original": "string",
|
82
|
+
"resolved": "string",
|
83
|
+
"references": {}
|
84
|
+
},
|
85
|
+
"required": false,
|
86
|
+
"optional": true,
|
87
|
+
"docs": {
|
88
|
+
"tags": [],
|
89
|
+
"text": ""
|
90
|
+
},
|
91
|
+
"attribute": "button-color",
|
92
|
+
"reflect": false
|
93
|
+
},
|
94
|
+
"buttonBg": {
|
95
|
+
"type": "string",
|
96
|
+
"mutable": false,
|
97
|
+
"complexType": {
|
98
|
+
"original": "string",
|
99
|
+
"resolved": "string",
|
100
|
+
"references": {}
|
101
|
+
},
|
102
|
+
"required": false,
|
103
|
+
"optional": true,
|
104
|
+
"docs": {
|
105
|
+
"tags": [],
|
106
|
+
"text": ""
|
107
|
+
},
|
108
|
+
"attribute": "button-bg",
|
109
|
+
"reflect": false
|
110
|
+
},
|
111
|
+
"isDemo": {
|
112
|
+
"type": "boolean",
|
113
|
+
"mutable": false,
|
114
|
+
"complexType": {
|
115
|
+
"original": "boolean",
|
116
|
+
"resolved": "boolean",
|
117
|
+
"references": {}
|
118
|
+
},
|
119
|
+
"required": false,
|
120
|
+
"optional": true,
|
121
|
+
"docs": {
|
122
|
+
"tags": [],
|
123
|
+
"text": ""
|
124
|
+
},
|
125
|
+
"attribute": "is-demo",
|
126
|
+
"reflect": false,
|
127
|
+
"defaultValue": "false"
|
128
|
+
}
|
129
|
+
};
|
130
|
+
}
|
131
|
+
}
|
132
|
+
//# sourceMappingURL=hemfixarna-norrgavel.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hemfixarna-norrgavel.js","sourceRoot":"","sources":["../../../../src/components/customers/hemfixarna-norrgavel/hemfixarna-norrgavel.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;uBACH,WAAW,CAAC,QAAQ;;;kBAG7B,KAAK;;EAEhC,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,sBAAsB,EAAE,IAAI,EAAE,sBAAsB,EAAE,EAClE,aAAa,EAAE,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,EAC1C,EAAE,EAAE,IAAI,CAAC,EAAE,EACX,QAAQ,EAAE,QAAQ,CAAC,SAAS,EAC5B,MAAM,EAAE,IAAI,CAAC,MAAM,GACG,CACzB,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h } from '@stencil/core';\nimport { Business, WidgetStyle } from '../../../types';\n\n@Component({\n tag: 'hemfixarna-norrgavel',\n shadow: true,\n})\nexport class MyComponent {\n @Prop() id?: string;\n @Prop() loadFromQuery?: string = 'true';\n @Prop() widgetStyle?: WidgetStyle = WidgetStyle.standard;\n @Prop() buttonColor?: string;\n @Prop() buttonBg?: string;\n @Prop() isDemo?: boolean = false;\n\n render() {\n return (\n <hemfixarna-component\n widgetStyle={this.widgetStyle}\n buttonBg={this.buttonBg}\n buttonColor={this.buttonColor}\n nav={{ url: 'https://norrgavel.se', logo: 'assets/norrgavel.svg' }}\n loadFromQuery={Boolean(this.loadFromQuery)}\n id={this.id}\n business={Business.norrgavel}\n isDemo={this.isDemo}\n ></hemfixarna-component>\n );\n }\n}\n"]}
|
@@ -0,0 +1,131 @@
|
|
1
|
+
import { h } from '@stencil/core';
|
2
|
+
import { Business, WidgetStyle } from '../../../types';
|
3
|
+
export class MyComponent {
|
4
|
+
constructor() {
|
5
|
+
this.id = undefined;
|
6
|
+
this.customer = undefined;
|
7
|
+
this.loadFromQuery = undefined;
|
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, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.power }));
|
14
|
+
}
|
15
|
+
static get is() { return "hemfixarna-power"; }
|
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
|
+
"customer": {
|
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": "customer",
|
51
|
+
"reflect": false
|
52
|
+
},
|
53
|
+
"loadFromQuery": {
|
54
|
+
"type": "string",
|
55
|
+
"mutable": false,
|
56
|
+
"complexType": {
|
57
|
+
"original": "string",
|
58
|
+
"resolved": "string",
|
59
|
+
"references": {}
|
60
|
+
},
|
61
|
+
"required": false,
|
62
|
+
"optional": true,
|
63
|
+
"docs": {
|
64
|
+
"tags": [],
|
65
|
+
"text": ""
|
66
|
+
},
|
67
|
+
"attribute": "load-from-query",
|
68
|
+
"reflect": false,
|
69
|
+
"defaultValue": "undefined"
|
70
|
+
},
|
71
|
+
"widgetStyle": {
|
72
|
+
"type": "string",
|
73
|
+
"mutable": false,
|
74
|
+
"complexType": {
|
75
|
+
"original": "WidgetStyle",
|
76
|
+
"resolved": "WidgetStyle.alternative | WidgetStyle.alternative_2 | WidgetStyle.alternative_3 | WidgetStyle.standard",
|
77
|
+
"references": {
|
78
|
+
"WidgetStyle": {
|
79
|
+
"location": "import",
|
80
|
+
"path": "../../../types"
|
81
|
+
}
|
82
|
+
}
|
83
|
+
},
|
84
|
+
"required": false,
|
85
|
+
"optional": true,
|
86
|
+
"docs": {
|
87
|
+
"tags": [],
|
88
|
+
"text": ""
|
89
|
+
},
|
90
|
+
"attribute": "widget-style",
|
91
|
+
"reflect": false,
|
92
|
+
"defaultValue": "WidgetStyle.standard"
|
93
|
+
},
|
94
|
+
"buttonColor": {
|
95
|
+
"type": "string",
|
96
|
+
"mutable": false,
|
97
|
+
"complexType": {
|
98
|
+
"original": "string",
|
99
|
+
"resolved": "string",
|
100
|
+
"references": {}
|
101
|
+
},
|
102
|
+
"required": false,
|
103
|
+
"optional": true,
|
104
|
+
"docs": {
|
105
|
+
"tags": [],
|
106
|
+
"text": ""
|
107
|
+
},
|
108
|
+
"attribute": "button-color",
|
109
|
+
"reflect": false
|
110
|
+
},
|
111
|
+
"buttonBg": {
|
112
|
+
"type": "string",
|
113
|
+
"mutable": false,
|
114
|
+
"complexType": {
|
115
|
+
"original": "string",
|
116
|
+
"resolved": "string",
|
117
|
+
"references": {}
|
118
|
+
},
|
119
|
+
"required": false,
|
120
|
+
"optional": true,
|
121
|
+
"docs": {
|
122
|
+
"tags": [],
|
123
|
+
"text": ""
|
124
|
+
},
|
125
|
+
"attribute": "button-bg",
|
126
|
+
"reflect": false
|
127
|
+
}
|
128
|
+
};
|
129
|
+
}
|
130
|
+
}
|
131
|
+
//# sourceMappingURL=hemfixarna-power.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hemfixarna-power.js","sourceRoot":"","sources":["../../../../src/components/customers/hemfixarna-power/hemfixarna-power.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;;;;yBAGW,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,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-power',\n shadow: true,\n})\nexport class MyComponent {\n @Prop() id?: string;\n @Prop() customer?: 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.power}\n ></hemfixarna-component>\n );\n }\n}\n"]}
|
File without changes
|
@@ -0,0 +1,141 @@
|
|
1
|
+
import { h } from '@stencil/core';
|
2
|
+
import { Business, WidgetStyle } from '../../../types';
|
3
|
+
export class MyComponent {
|
4
|
+
constructor() {
|
5
|
+
this.id = undefined;
|
6
|
+
this.customer = undefined;
|
7
|
+
this.loadFromQuery = undefined;
|
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, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.skanska }));
|
14
|
+
}
|
15
|
+
static get is() { return "hemfixarna-skanska"; }
|
16
|
+
static get encapsulation() { return "shadow"; }
|
17
|
+
static get originalStyleUrls() {
|
18
|
+
return {
|
19
|
+
"$": ["hemfixarna-skanska.scss"]
|
20
|
+
};
|
21
|
+
}
|
22
|
+
static get styleUrls() {
|
23
|
+
return {
|
24
|
+
"$": ["hemfixarna-skanska.css"]
|
25
|
+
};
|
26
|
+
}
|
27
|
+
static get properties() {
|
28
|
+
return {
|
29
|
+
"id": {
|
30
|
+
"type": "string",
|
31
|
+
"mutable": false,
|
32
|
+
"complexType": {
|
33
|
+
"original": "string",
|
34
|
+
"resolved": "string",
|
35
|
+
"references": {}
|
36
|
+
},
|
37
|
+
"required": false,
|
38
|
+
"optional": true,
|
39
|
+
"docs": {
|
40
|
+
"tags": [],
|
41
|
+
"text": ""
|
42
|
+
},
|
43
|
+
"attribute": "id",
|
44
|
+
"reflect": false
|
45
|
+
},
|
46
|
+
"customer": {
|
47
|
+
"type": "string",
|
48
|
+
"mutable": false,
|
49
|
+
"complexType": {
|
50
|
+
"original": "string",
|
51
|
+
"resolved": "string",
|
52
|
+
"references": {}
|
53
|
+
},
|
54
|
+
"required": false,
|
55
|
+
"optional": true,
|
56
|
+
"docs": {
|
57
|
+
"tags": [],
|
58
|
+
"text": ""
|
59
|
+
},
|
60
|
+
"attribute": "customer",
|
61
|
+
"reflect": false
|
62
|
+
},
|
63
|
+
"loadFromQuery": {
|
64
|
+
"type": "string",
|
65
|
+
"mutable": false,
|
66
|
+
"complexType": {
|
67
|
+
"original": "string",
|
68
|
+
"resolved": "string",
|
69
|
+
"references": {}
|
70
|
+
},
|
71
|
+
"required": false,
|
72
|
+
"optional": true,
|
73
|
+
"docs": {
|
74
|
+
"tags": [],
|
75
|
+
"text": ""
|
76
|
+
},
|
77
|
+
"attribute": "load-from-query",
|
78
|
+
"reflect": false,
|
79
|
+
"defaultValue": "undefined"
|
80
|
+
},
|
81
|
+
"widgetStyle": {
|
82
|
+
"type": "string",
|
83
|
+
"mutable": false,
|
84
|
+
"complexType": {
|
85
|
+
"original": "WidgetStyle",
|
86
|
+
"resolved": "WidgetStyle.alternative | WidgetStyle.alternative_2 | WidgetStyle.alternative_3 | WidgetStyle.standard",
|
87
|
+
"references": {
|
88
|
+
"WidgetStyle": {
|
89
|
+
"location": "import",
|
90
|
+
"path": "../../../types"
|
91
|
+
}
|
92
|
+
}
|
93
|
+
},
|
94
|
+
"required": false,
|
95
|
+
"optional": true,
|
96
|
+
"docs": {
|
97
|
+
"tags": [],
|
98
|
+
"text": ""
|
99
|
+
},
|
100
|
+
"attribute": "widget-style",
|
101
|
+
"reflect": false,
|
102
|
+
"defaultValue": "WidgetStyle.standard"
|
103
|
+
},
|
104
|
+
"buttonColor": {
|
105
|
+
"type": "string",
|
106
|
+
"mutable": false,
|
107
|
+
"complexType": {
|
108
|
+
"original": "string",
|
109
|
+
"resolved": "string",
|
110
|
+
"references": {}
|
111
|
+
},
|
112
|
+
"required": false,
|
113
|
+
"optional": true,
|
114
|
+
"docs": {
|
115
|
+
"tags": [],
|
116
|
+
"text": ""
|
117
|
+
},
|
118
|
+
"attribute": "button-color",
|
119
|
+
"reflect": false
|
120
|
+
},
|
121
|
+
"buttonBg": {
|
122
|
+
"type": "string",
|
123
|
+
"mutable": false,
|
124
|
+
"complexType": {
|
125
|
+
"original": "string",
|
126
|
+
"resolved": "string",
|
127
|
+
"references": {}
|
128
|
+
},
|
129
|
+
"required": false,
|
130
|
+
"optional": true,
|
131
|
+
"docs": {
|
132
|
+
"tags": [],
|
133
|
+
"text": ""
|
134
|
+
},
|
135
|
+
"attribute": "button-bg",
|
136
|
+
"reflect": false
|
137
|
+
}
|
138
|
+
};
|
139
|
+
}
|
140
|
+
}
|
141
|
+
//# sourceMappingURL=hemfixarna-skanska.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hemfixarna-skanska.js","sourceRoot":"","sources":["../../../../src/components/customers/hemfixarna-skanska/hemfixarna-skanska.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;;;;yBAGW,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,OAAO,GACJ,CACzB,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h } from '@stencil/core';\nimport { Business, WidgetStyle } from '../../../types';\n\n@Component({\n tag: 'hemfixarna-skanska',\n styleUrl: 'hemfixarna-skanska.scss',\n shadow: true,\n})\nexport class MyComponent {\n @Prop() id?: string;\n @Prop() customer?: 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.skanska}\n ></hemfixarna-component>\n );\n }\n}\n"]}
|
@@ -0,0 +1,131 @@
|
|
1
|
+
import { h } from '@stencil/core';
|
2
|
+
import { Business, WidgetStyle } from '../../../types';
|
3
|
+
export class MyComponent {
|
4
|
+
constructor() {
|
5
|
+
this.id = undefined;
|
6
|
+
this.customer = undefined;
|
7
|
+
this.loadFromQuery = undefined;
|
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, loadFromQuery: Boolean(this.loadFromQuery), id: this.id, business: Business.sparfonster }));
|
14
|
+
}
|
15
|
+
static get is() { return "hemfixarna-sparfonster"; }
|
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
|
+
"customer": {
|
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": "customer",
|
51
|
+
"reflect": false
|
52
|
+
},
|
53
|
+
"loadFromQuery": {
|
54
|
+
"type": "string",
|
55
|
+
"mutable": false,
|
56
|
+
"complexType": {
|
57
|
+
"original": "string",
|
58
|
+
"resolved": "string",
|
59
|
+
"references": {}
|
60
|
+
},
|
61
|
+
"required": false,
|
62
|
+
"optional": true,
|
63
|
+
"docs": {
|
64
|
+
"tags": [],
|
65
|
+
"text": ""
|
66
|
+
},
|
67
|
+
"attribute": "load-from-query",
|
68
|
+
"reflect": false,
|
69
|
+
"defaultValue": "undefined"
|
70
|
+
},
|
71
|
+
"widgetStyle": {
|
72
|
+
"type": "string",
|
73
|
+
"mutable": false,
|
74
|
+
"complexType": {
|
75
|
+
"original": "WidgetStyle",
|
76
|
+
"resolved": "WidgetStyle.alternative | WidgetStyle.alternative_2 | WidgetStyle.alternative_3 | WidgetStyle.standard",
|
77
|
+
"references": {
|
78
|
+
"WidgetStyle": {
|
79
|
+
"location": "import",
|
80
|
+
"path": "../../../types"
|
81
|
+
}
|
82
|
+
}
|
83
|
+
},
|
84
|
+
"required": false,
|
85
|
+
"optional": true,
|
86
|
+
"docs": {
|
87
|
+
"tags": [],
|
88
|
+
"text": ""
|
89
|
+
},
|
90
|
+
"attribute": "widget-style",
|
91
|
+
"reflect": false,
|
92
|
+
"defaultValue": "WidgetStyle.standard"
|
93
|
+
},
|
94
|
+
"buttonColor": {
|
95
|
+
"type": "string",
|
96
|
+
"mutable": false,
|
97
|
+
"complexType": {
|
98
|
+
"original": "string",
|
99
|
+
"resolved": "string",
|
100
|
+
"references": {}
|
101
|
+
},
|
102
|
+
"required": false,
|
103
|
+
"optional": true,
|
104
|
+
"docs": {
|
105
|
+
"tags": [],
|
106
|
+
"text": ""
|
107
|
+
},
|
108
|
+
"attribute": "button-color",
|
109
|
+
"reflect": false
|
110
|
+
},
|
111
|
+
"buttonBg": {
|
112
|
+
"type": "string",
|
113
|
+
"mutable": false,
|
114
|
+
"complexType": {
|
115
|
+
"original": "string",
|
116
|
+
"resolved": "string",
|
117
|
+
"references": {}
|
118
|
+
},
|
119
|
+
"required": false,
|
120
|
+
"optional": true,
|
121
|
+
"docs": {
|
122
|
+
"tags": [],
|
123
|
+
"text": ""
|
124
|
+
},
|
125
|
+
"attribute": "button-bg",
|
126
|
+
"reflect": false
|
127
|
+
}
|
128
|
+
};
|
129
|
+
}
|
130
|
+
}
|
131
|
+
//# sourceMappingURL=hemfixarna-sparfonster.js.map
|
package/dist/collection/components/customers/hemfixarna-sparfonster/hemfixarna-sparfonster.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"hemfixarna-sparfonster.js","sourceRoot":"","sources":["../../../../src/components/customers/hemfixarna-sparfonster/hemfixarna-sparfonster.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;;;;yBAGW,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,WAAW,GACR,CACzB,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, h } from '@stencil/core';\nimport { Business, WidgetStyle } from '../../../types';\n\n@Component({\n tag: 'hemfixarna-sparfonster',\n shadow: true,\n})\nexport class MyComponent {\n @Prop() id?: string;\n @Prop() customer?: 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.sparfonster}\n ></hemfixarna-component>\n );\n }\n}\n"]}
|