hemfixarna-web-components 1.8.17 → 1.8.20
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_15.cjs.entry.js +2 -2
- package/dist/cjs/hemfixarna-address_15.cjs.entry.js.map +1 -1
- package/dist/cjs/hemfixarna-byggmax.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-doro.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-elfa.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-fargvaruhuset.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-flyttsmart.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-forebygg.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-hornbach.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-kbygg.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-klint.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-kund.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-norrgavel.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-power.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-skanska.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-sparfonster.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-string-furniture.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-superfront.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-tesla.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-traningspartner.cjs.entry.js +1 -1
- package/dist/cjs/hemfixarna-zaptec.cjs.entry.js +1 -1
- package/dist/cjs/{index-05b5db47.js → index-49d9fce9.js} +3 -1
- package/dist/cjs/index-49d9fce9.js.map +1 -0
- package/dist/collection/components/hemfixarna-invoice/hemfixarna-invoice.js +1 -1
- package/dist/collection/components/hemfixarna-invoice/hemfixarna-invoice.js.map +1 -1
- package/dist/collection/types/index.js +2 -0
- package/dist/collection/types/index.js.map +1 -1
- package/dist/esm/hemfixarna-address_15.entry.js +2 -2
- package/dist/esm/hemfixarna-address_15.entry.js.map +1 -1
- package/dist/esm/hemfixarna-byggmax.entry.js +1 -1
- package/dist/esm/hemfixarna-doro.entry.js +1 -1
- package/dist/esm/hemfixarna-elfa.entry.js +1 -1
- package/dist/esm/hemfixarna-fargvaruhuset.entry.js +1 -1
- package/dist/esm/hemfixarna-flyttsmart.entry.js +1 -1
- package/dist/esm/hemfixarna-forebygg.entry.js +1 -1
- package/dist/esm/hemfixarna-hornbach.entry.js +1 -1
- package/dist/esm/hemfixarna-kbygg.entry.js +1 -1
- package/dist/esm/hemfixarna-klint.entry.js +1 -1
- package/dist/esm/hemfixarna-kund.entry.js +1 -1
- package/dist/esm/hemfixarna-norrgavel.entry.js +1 -1
- package/dist/esm/hemfixarna-power.entry.js +1 -1
- package/dist/esm/hemfixarna-skanska.entry.js +1 -1
- package/dist/esm/hemfixarna-sparfonster.entry.js +1 -1
- package/dist/esm/hemfixarna-string-furniture.entry.js +1 -1
- package/dist/esm/hemfixarna-superfront.entry.js +1 -1
- package/dist/esm/hemfixarna-tesla.entry.js +1 -1
- package/dist/esm/hemfixarna-traningspartner.entry.js +1 -1
- package/dist/esm/hemfixarna-zaptec.entry.js +1 -1
- package/dist/esm/{index-d27d596d.js → index-9672cefe.js} +3 -1
- package/dist/esm/index-9672cefe.js.map +1 -0
- package/dist/hemfixarna-components/hemfixarna-components.esm.js +1 -1
- package/dist/hemfixarna-components/{p-14272b5b.entry.js → p-004c1f1d.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-55ea5065.entry.js → p-1061430c.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-a4c8441b.js → p-10a794d8.js} +2 -2
- package/dist/hemfixarna-components/p-10a794d8.js.map +1 -0
- package/dist/hemfixarna-components/{p-27f23957.entry.js → p-1646581d.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-5cbbefdf.entry.js → p-1beb4bda.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-0fbe993b.entry.js → p-220d2c98.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-8894735a.entry.js → p-31cc5e86.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-8894735a.entry.js.map → p-31cc5e86.entry.js.map} +1 -1
- package/dist/hemfixarna-components/{p-5d9f3c17.entry.js → p-5565010f.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-d9b25598.entry.js → p-5b12cba8.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-4078e9b0.entry.js → p-69ae798f.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-994acb67.entry.js → p-6d418da6.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-4a1e9c5a.entry.js → p-7187b7f1.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-c26e71dd.entry.js → p-7320766f.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-b7bb7527.entry.js → p-818a2ac5.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-2f2a1b5a.entry.js → p-b98595f1.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-e2e61985.entry.js → p-b9ee2220.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-9155c23b.entry.js → p-e0290221.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-8ae57e00.entry.js → p-e0ce8c29.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-5636360e.entry.js → p-e2385924.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-d056bd9a.entry.js → p-e4a82fea.entry.js} +2 -2
- package/dist/hemfixarna-components/{p-532d7212.entry.js → p-f6d146b4.entry.js} +2 -2
- package/dist/types/types/index.d.ts +3 -1
- package/package.json +1 -1
- package/dist/cjs/index-05b5db47.js.map +0 -1
- package/dist/esm/index-d27d596d.js.map +0 -1
- package/dist/hemfixarna-components/p-a4c8441b.js.map +0 -1
- /package/dist/hemfixarna-components/{p-14272b5b.entry.js.map → p-004c1f1d.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-55ea5065.entry.js.map → p-1061430c.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-27f23957.entry.js.map → p-1646581d.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-5cbbefdf.entry.js.map → p-1beb4bda.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-0fbe993b.entry.js.map → p-220d2c98.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-5d9f3c17.entry.js.map → p-5565010f.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-d9b25598.entry.js.map → p-5b12cba8.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-4078e9b0.entry.js.map → p-69ae798f.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-994acb67.entry.js.map → p-6d418da6.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-4a1e9c5a.entry.js.map → p-7187b7f1.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-c26e71dd.entry.js.map → p-7320766f.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-b7bb7527.entry.js.map → p-818a2ac5.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-2f2a1b5a.entry.js.map → p-b98595f1.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-e2e61985.entry.js.map → p-b9ee2220.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-9155c23b.entry.js.map → p-e0290221.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-8ae57e00.entry.js.map → p-e0ce8c29.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-5636360e.entry.js.map → p-e2385924.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-d056bd9a.entry.js.map → p-e4a82fea.entry.js.map} +0 -0
- /package/dist/hemfixarna-components/{p-532d7212.entry.js.map → p-f6d146b4.entry.js.map} +0 -0
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e6926623.js');
|
|
6
6
|
const index$1 = require('./index-6cce99a1.js');
|
|
7
|
-
const index$2 = require('./index-
|
|
7
|
+
const index$2 = require('./index-49d9fce9.js');
|
|
8
8
|
|
|
9
9
|
const hideField = (field) => {
|
|
10
10
|
return field.split(' ').reduce((acc, curr) => {
|
|
@@ -1890,7 +1890,7 @@ const HemfixarnaInvoice = class {
|
|
|
1890
1890
|
render() {
|
|
1891
1891
|
var _a;
|
|
1892
1892
|
const upload = index.getAssetPath(`./assets/drag-drop.svg`);
|
|
1893
|
-
return (index.h("div", { class: "invoice" }, ((_a = index$1.state.selectedProduct) === null || _a === void 0 ? void 0 : _a.invoice_description) ? index.h("p", null, index$1.state.selectedProduct.invoice_description) : null, index.h("form", { onSubmit: e => this.submit(e) }, index.h("textarea", { name: "descriptionInput", placeholder: "Beskriv ditt \u00E4rende" }), index.h("div", { role: "button", "aria-label": "upload image", onDragOver: e => this.preventDragOver(e), onDrop: e => this.handleImageDrop(e), onClick: () => this.handleImageClick() }, index.h("img", { src: upload, alt: "hemfixarna_logo", width: 24 }), index.h("div", null, index.h("p", null, "Bifoga ev bilder"), index.h("span", null, "(dra bilder hit)")), index.h("input", { onChange: e => this.handleFileInputChange(e), class: "hemfixarna-file-upload", accept: "image/*", type: "file", multiple: true, name: "fileInput" })), index.h("div", { class: "invoice-preview" }, this.displayImages.map((img, i) => (index.h("div", { key: i }, index.h("img", { src: img, alt: "uploaded image" }), index.h("button", { onClick: () => this.removeImage(i) }, index.h("img", { src: index.getAssetPath(`./assets/close.svg`), alt: "close" })))))), index.h("input", { placeholder: "E-post", type: "email", name: "emailInput" }), index.h("input", { placeholder: "Telefonnummer", type: "tel", name: "telInput" }), index$1.state.selectedProduct.terms_show_checkbox ? (index.h("label", null, index.h("input", { type: "checkbox", name: "termsInput" }), index$1.state.selectedProduct.terms)) : null, this.formError ? index.h("span", null, this.formError) : null, index.h("input", { type: "submit", value: this.formState === 'loading' ? 'Skickar' : 'Kontakta mig' }))));
|
|
1893
|
+
return (index.h("div", { class: "invoice" }, ((_a = index$1.state.selectedProduct) === null || _a === void 0 ? void 0 : _a.invoice_description) ? index.h("p", null, index$1.state.selectedProduct.invoice_description) : null, index.h("form", { onSubmit: e => this.submit(e) }, index.h("textarea", { name: "descriptionInput", placeholder: "Beskriv ditt \u00E4rende" }), index.h("div", { role: "button", "aria-label": "upload image", onDragOver: e => this.preventDragOver(e), onDrop: e => this.handleImageDrop(e), onClick: () => this.handleImageClick() }, index.h("img", { src: upload, alt: "hemfixarna_logo", width: 24 }), index.h("div", null, index.h("p", null, "Bifoga ev bilder"), index.h("span", null, "(dra bilder hit)")), index.h("input", { onChange: e => this.handleFileInputChange(e), class: "hemfixarna-file-upload", accept: "image/*", type: "file", multiple: true, name: "fileInput" })), index.h("div", { class: "invoice-preview" }, this.displayImages.map((img, i) => (index.h("div", { key: i }, index.h("img", { src: img, alt: "uploaded image" }), index.h("button", { onClick: () => this.removeImage(i) }, index.h("img", { src: index.getAssetPath(`./assets/close.svg`), alt: "close" })))))), index.h("input", { placeholder: "E-post", type: "email", name: "emailInput" }), index.h("input", { placeholder: "Telefonnummer", type: "tel", name: "telInput" }), index$1.state.selectedProduct.terms_show_checkbox ? (index.h("label", null, index.h("input", { type: "checkbox", name: "termsInput" }), index$1.state.selectedProduct.terms)) : null, this.formError ? index.h("span", null, this.formError) : null, index.h("input", { type: "submit", value: this.formState === 'loading' ? 'Skickar' : 'Kontakta mig', disabled: this.formState === 'loading' }))));
|
|
1894
1894
|
}
|
|
1895
1895
|
get el() { return index.getElement(this); }
|
|
1896
1896
|
};
|