@postnord/pn-marketweb-components 2.4.20 → 2.4.22
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/cjs/index-4199ff85.js +8 -4
- package/cjs/loader.cjs.js +1 -1
- package/cjs/pn-address-autofill.cjs.entry.js +322 -0
- package/cjs/pn-market-web-components.cjs.js +1 -1
- package/cjs/pn-marketweb-input.cjs.entry.js +36 -25
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +7 -6
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +3 -3
- package/cjs/pn-proxio-findprice.cjs.entry.js +3 -3
- package/cjs/pn-proxio-pricegroup.cjs.entry.js +3 -3
- package/cjs/pn-site-footer_3.cjs.entry.js +3 -2
- package/collection/collection-manifest.json +2 -1
- package/collection/components/input/pn-address-autofill/pn-address-autofill.css +45 -0
- package/collection/components/input/pn-address-autofill/pn-address-autofill.js +537 -0
- package/collection/components/input/pn-address-autofill/pn-address-autofill.stories.js +40 -0
- package/collection/components/input/pn-marketweb-input/pn-marketweb-input.js +50 -39
- package/collection/components/input/pn-multi-formfield/types.js +1 -0
- package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js +22 -3
- package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.stories.js +2 -0
- package/collection/components/minor/pn-swan/pn-swan.css +12 -0
- package/collection/components/minor/pn-swan/pn-swan.js +19 -1
- package/collection/components/minor/pn-swan/pn-swan.stories.js +1 -1
- package/components/index.d.ts +2 -1
- package/components/index.js +1 -0
- package/components/index2.js +63 -52
- package/components/index3.js +52 -63
- package/components/pn-address-autofill.d.ts +11 -0
- package/components/pn-address-autofill.js +359 -0
- package/components/pn-animated-tile.js +1 -1
- package/components/pn-dropdown-choice-adds-row.js +1 -1
- package/components/pn-marketweb-input2.js +36 -25
- package/components/pn-marketweb-sitefooter.js +6 -4
- package/components/pn-marketweb-siteheader.js +1 -1
- package/components/pn-multi-formfield.js +1 -1
- package/components/pn-proxio-findprice.js +1 -1
- package/components/pn-proxio-pricegroup.js +1 -1
- package/components/pn-spotlight.js +1 -1
- package/components/pn-swan2.js +4 -2
- package/esm/index-ee44c065.js +8 -4
- package/esm/loader.js +1 -1
- package/esm/pn-address-autofill.entry.js +318 -0
- package/esm/pn-market-web-components.js +1 -1
- package/esm/pn-marketweb-input.entry.js +36 -25
- package/esm/pn-marketweb-sitefooter.entry.js +5 -4
- package/esm/pn-marketweb-siteheader.entry.js +1 -1
- package/esm/pn-proxio-findprice.entry.js +1 -1
- package/esm/pn-proxio-pricegroup.entry.js +1 -1
- package/esm/pn-site-footer_3.entry.js +3 -2
- package/esm-es5/FetchHelper-62dc55bf.js +1 -0
- package/esm-es5/index-ee44c065.js +1 -1
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-address-autofill.entry.js +1 -0
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-marketweb-input.entry.js +1 -1
- package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
- package/esm-es5/pn-proxio-findprice.entry.js +1 -1
- package/esm-es5/pn-proxio-pricegroup.entry.js +1 -1
- package/esm-es5/pn-site-footer_3.entry.js +1 -1
- package/package.json +1 -1
- package/pn-market-web-components/{p-7e99f631.system.entry.js → p-18aca162.system.entry.js} +1 -1
- package/pn-market-web-components/{p-6e11edfe.entry.js → p-1b282c2b.entry.js} +1 -1
- package/pn-market-web-components/{p-3c38a67e.system.entry.js → p-256ba011.system.entry.js} +1 -1
- package/pn-market-web-components/{p-21bf0e64.system.entry.js → p-356a937e.system.entry.js} +1 -1
- package/pn-market-web-components/{p-1a8d7eb8.entry.js → p-372b4cad.entry.js} +1 -1
- package/{esm-es5/MarketWebContextService-f6a33f17.js → pn-market-web-components/p-439d5d73.system.js} +1 -1
- package/pn-market-web-components/p-4afba818.entry.js +1 -0
- package/pn-market-web-components/p-4b0ccb02.system.entry.js +1 -0
- package/pn-market-web-components/p-592b66fc.system.entry.js +1 -0
- package/pn-market-web-components/{p-8e9abd24.system.entry.js → p-89fcb948.system.entry.js} +1 -1
- package/pn-market-web-components/{p-5427a6ba.entry.js → p-90d2fb46.entry.js} +1 -1
- package/pn-market-web-components/p-9ad0ceb0.js +1 -0
- package/pn-market-web-components/p-b1527c0c.entry.js +1 -0
- package/pn-market-web-components/{p-0ae0b140.system.entry.js → p-c06e3588.system.entry.js} +1 -1
- package/pn-market-web-components/p-da9e05c0.entry.js +1 -0
- package/pn-market-web-components/p-fcdb7381.system.js +1 -1
- package/pn-market-web-components/p-ffae5f6b.entry.js +1 -0
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/types/components/input/pn-address-autofill/pn-address-autofill.d.ts +56 -0
- package/types/components/input/pn-address-autofill/types.d.ts +40 -0
- package/types/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter-types.d.ts +1 -1
- package/types/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.d.ts +2 -0
- package/types/components/minor/pn-swan/pn-swan.d.ts +1 -0
- package/types/components.d.ts +60 -1
- package/pn-market-web-components/p-33322417.system.js +0 -1
- package/pn-market-web-components/p-3ba2a479.entry.js +0 -1
- package/pn-market-web-components/p-5d21372b.js +0 -1
- package/pn-market-web-components/p-f0078106.entry.js +0 -1
- package/pn-market-web-components/p-f45f034b.entry.js +0 -1
- package/pn-market-web-components/p-f7165a26.system.entry.js +0 -1
- package/cjs/{MarketWebContextService-17053565.js → FetchHelper-2130dacf.js} +84 -84
- package/collection/components/{layout-components/pn-multi-formfield → input/pn-address-autofill}/types.js +0 -0
- package/collection/components/{layout-components → input}/pn-multi-formfield/multi-formfield.stories.js +0 -0
- package/collection/components/{layout-components → input}/pn-multi-formfield/pn-multi-formfield.css +0 -0
- package/collection/components/{layout-components → input}/pn-multi-formfield/pn-multi-formfield.js +0 -0
- package/components/{MarketWebContextService.js → FetchHelper.js} +84 -84
- package/esm/{MarketWebContextService-f6a33f17.js → FetchHelper-62dc55bf.js} +84 -84
- /package/types/components/{layout-components → input}/pn-multi-formfield/pn-multi-formfield.d.ts +0 -0
- /package/types/components/{layout-components → input}/pn-multi-formfield/types.d.ts +0 -0
|
@@ -10,23 +10,23 @@ const PnMarketwebInput = class {
|
|
|
10
10
|
constructor(hostRef) {
|
|
11
11
|
index.registerInstance(this, hostRef);
|
|
12
12
|
this.disabled = false;
|
|
13
|
-
this.error =
|
|
13
|
+
this.error = "";
|
|
14
14
|
this.invalid = false;
|
|
15
|
-
this.helpertext =
|
|
16
|
-
this.label =
|
|
17
|
-
this.placeholder =
|
|
15
|
+
this.helpertext = "";
|
|
16
|
+
this.label = "";
|
|
17
|
+
this.placeholder = "";
|
|
18
18
|
this.inputid = `${Math.random()}`;
|
|
19
|
-
this.name =
|
|
20
|
-
this.required =
|
|
21
|
-
this.type =
|
|
22
|
-
this.autocomplete =
|
|
19
|
+
this.name = "";
|
|
20
|
+
this.required = false;
|
|
21
|
+
this.type = "text";
|
|
22
|
+
this.autocomplete = "";
|
|
23
23
|
this.valid = null;
|
|
24
|
-
this.value =
|
|
25
|
-
this.maxlength =
|
|
26
|
-
this.min =
|
|
27
|
-
this.max =
|
|
28
|
-
this.step =
|
|
29
|
-
this.pattern =
|
|
24
|
+
this.value = "";
|
|
25
|
+
this.maxlength = "";
|
|
26
|
+
this.min = "";
|
|
27
|
+
this.max = "";
|
|
28
|
+
this.step = "";
|
|
29
|
+
this.pattern = "";
|
|
30
30
|
this.showText = false;
|
|
31
31
|
}
|
|
32
32
|
getTextMessage() {
|
|
@@ -40,8 +40,21 @@ const PnMarketwebInput = class {
|
|
|
40
40
|
this.showText = !this.showText;
|
|
41
41
|
}
|
|
42
42
|
getInputType() {
|
|
43
|
-
let types = [
|
|
44
|
-
|
|
43
|
+
let types = [
|
|
44
|
+
"text",
|
|
45
|
+
"password",
|
|
46
|
+
"url",
|
|
47
|
+
"tel",
|
|
48
|
+
"search",
|
|
49
|
+
"number",
|
|
50
|
+
"email",
|
|
51
|
+
"date",
|
|
52
|
+
"datetime-local",
|
|
53
|
+
"month",
|
|
54
|
+
"week",
|
|
55
|
+
"time",
|
|
56
|
+
];
|
|
57
|
+
return types.includes(this.type) && !this.showText ? this.type : "text";
|
|
45
58
|
}
|
|
46
59
|
setVal(e) {
|
|
47
60
|
var _a;
|
|
@@ -49,21 +62,19 @@ const PnMarketwebInput = class {
|
|
|
49
62
|
this.value = target.value;
|
|
50
63
|
}
|
|
51
64
|
getClassNames() {
|
|
52
|
-
let classNames =
|
|
65
|
+
let classNames = "pn-input ";
|
|
53
66
|
if (this.error.length > 0 || this.invalid)
|
|
54
|
-
classNames +=
|
|
67
|
+
classNames += "error ";
|
|
55
68
|
if (this.valid)
|
|
56
|
-
classNames +=
|
|
57
|
-
if (this.type ===
|
|
58
|
-
classNames +=
|
|
69
|
+
classNames += "valid ";
|
|
70
|
+
if (this.type === "password")
|
|
71
|
+
classNames += "password ";
|
|
59
72
|
if (this.error || this.invalid || this.valid)
|
|
60
|
-
classNames +=
|
|
73
|
+
classNames += "icon ";
|
|
61
74
|
return classNames;
|
|
62
75
|
}
|
|
63
76
|
render() {
|
|
64
|
-
return (index.h(index.Host, { class: this.getClassNames() }, (this.label || this.maxlength) &&
|
|
65
|
-
index.h("div", { class: "label-container" }, this.label && index.h("label", { htmlFor: this.inputid }, this.label), parseInt(this.maxlength) > 0 && index.h("label", { class: "char-count", htmlFor: this.inputid }, `${this.value.length}/${this.maxlength}`)), index.h("div", { class: "input-container" }, index.h("input", { type: this.getInputType(), value: this.value, id: this.inputid, name: this.name, placeholder: this.placeholder, disabled: this.disabled, autocomplete: this.autocomplete, onInput: (e) => this.setVal(e), maxlength: this.maxlength ? this.maxlength : null, min: (this.min ? this.min : null), max: (this.max ? this.max : null), step: (this.step ? this.step : null), pattern: (this.pattern ? this.pattern : null) }), index.h("svg", { class: "pn-input-checkmark", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none" }, index.h("polyline", { class: "checkmark-path", points: "4,12 9,17 20,6", "stroke-width": "3" })), this.type === 'password' && !this.disabled && index.h("button", { onClick: () => this.toggleTextVisibility() }, "Show")), this.getTextMessage() &&
|
|
66
|
-
index.h("small", null, this.error && index.h("pn-icon", { symbol: "alert-exclamation-circle", small: true, color: "warning" }), this.getTextMessage())));
|
|
77
|
+
return (index.h(index.Host, { class: this.getClassNames() }, (this.label || this.maxlength) && (index.h("div", { class: "label-container" }, this.label && index.h("label", { htmlFor: this.inputid }, this.label), parseInt(this.maxlength) > 0 && (index.h("label", { class: "char-count", htmlFor: this.inputid }, `${this.value.length}/${this.maxlength}`)))), index.h("div", { class: "input-container" }, index.h("input", { type: this.getInputType(), value: this.value, id: this.inputid, name: this.name, placeholder: this.placeholder, disabled: this.disabled, required: this.required, autocomplete: this.autocomplete, onInput: (e) => this.setVal(e), maxlength: this.maxlength ? this.maxlength : null, min: this.min ? this.min : null, max: this.max ? this.max : null, step: this.step ? this.step : null, pattern: this.pattern ? this.pattern : null }), index.h("svg", { class: "pn-input-checkmark", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none" }, index.h("polyline", { class: "checkmark-path", points: "4,12 9,17 20,6", "stroke-width": "3" })), this.type === "password" && !this.disabled && (index.h("button", { onClick: () => this.toggleTextVisibility() }, "Show"))), this.getTextMessage() && (index.h("small", null, this.error && index.h("pn-icon", { symbol: "alert-exclamation-circle", small: true, color: "warning" }), this.getTextMessage()))));
|
|
67
78
|
}
|
|
68
79
|
};
|
|
69
80
|
PnMarketwebInput.style = pnMarketwebInputCss;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-4199ff85.js');
|
|
6
|
-
const
|
|
6
|
+
const FetchHelper = require('./FetchHelper-2130dacf.js');
|
|
7
7
|
|
|
8
8
|
const getSocialMediaIconsByType = (linkType = '', fill = '#005D92') => {
|
|
9
9
|
switch (linkType) {
|
|
@@ -128,7 +128,7 @@ const PnMarketwebSiteheader = class {
|
|
|
128
128
|
constructor(hostRef) {
|
|
129
129
|
index.registerInstance(this, hostRef);
|
|
130
130
|
// FetchHelper
|
|
131
|
-
this.fetchHelper = new
|
|
131
|
+
this.fetchHelper = new FetchHelper.FetchHelper('sitefooter');
|
|
132
132
|
//endpoint
|
|
133
133
|
this.endpointPath = '/api/footer/footer';
|
|
134
134
|
this.market = 'se';
|
|
@@ -139,6 +139,7 @@ const PnMarketwebSiteheader = class {
|
|
|
139
139
|
this.cache = false;
|
|
140
140
|
this.theme = 'default';
|
|
141
141
|
this.backgroundcolor = 'darkestblue';
|
|
142
|
+
this.showSwan = false;
|
|
142
143
|
this.siteDefinition = undefined;
|
|
143
144
|
this.footerContent = undefined;
|
|
144
145
|
this.i18n = undefined;
|
|
@@ -152,7 +153,7 @@ const PnMarketwebSiteheader = class {
|
|
|
152
153
|
}
|
|
153
154
|
async setInitialValues(href = window.location.href) {
|
|
154
155
|
var _a;
|
|
155
|
-
const marketWebContextService = new
|
|
156
|
+
const marketWebContextService = new FetchHelper.MarketWebContextService(href);
|
|
156
157
|
if (!this.market) {
|
|
157
158
|
const resolvedMarket = await marketWebContextService.getMarket();
|
|
158
159
|
this.market = resolvedMarket;
|
|
@@ -299,11 +300,11 @@ const PnMarketwebSiteheader = class {
|
|
|
299
300
|
}
|
|
300
301
|
renderSwanComponent() {
|
|
301
302
|
var _a, _b, _c, _d;
|
|
302
|
-
return (
|
|
303
|
+
return (this.showSwan && (index.h("div", { class: "swan-wrapper" }, index.h("div", { class: "separator" }), index.h("pn-swan", { language: this.language, "license-number": (_b = (_a = this.footerContent) === null || _a === void 0 ? void 0 : _a.swanInfo) === null || _b === void 0 ? void 0 : _b.swanLicense, "link-to": (_d = (_c = this.footerContent) === null || _c === void 0 ? void 0 : _c.swanInfo) === null || _d === void 0 ? void 0 : _d.swanLink }))));
|
|
303
304
|
}
|
|
304
305
|
renderDotComFooter() {
|
|
305
|
-
var _a, _b, _c, _d
|
|
306
|
-
return (index.h(index.Host, { language: this.language, market: this.market, environment: this.environment }, index.h("pn-site-footer", { theme: this.theme, url: (_b = (_a = this.siteDefinition) === null || _a === void 0 ? void 0 : _a.url) !== null && _b !== void 0 ? _b : '' }, this.renderCols(), index.h("slot", { name: "middle-extra" }), index.h("slot", { name: "middle-extra-mobile" }), index.h("div", { slot: "bottom" }, index.h("div", { class: `social-media ${
|
|
306
|
+
var _a, _b, _c, _d;
|
|
307
|
+
return (index.h(index.Host, { language: this.language, market: this.market, environment: this.environment }, index.h("pn-site-footer", { theme: this.theme, url: (_b = (_a = this.siteDefinition) === null || _a === void 0 ? void 0 : _a.url) !== null && _b !== void 0 ? _b : '' }, this.renderCols(), index.h("slot", { name: "middle-extra" }), index.h("slot", { name: "middle-extra-mobile" }), index.h("div", { slot: "bottom" }, index.h("div", { class: `social-media ${this.showSwan ? 'social-media--swan' : ''}` }, index.h("ul", null, this.renderSocialMeidaIconListElements()), this.renderSwanComponent()), index.h("div", { class: "copyright" }, this.gotData && ((_c = this.footerContent) === null || _c === void 0 ? void 0 : _c.copyrightText) ? index.h("span", null, this.footerContent.copyrightText) : null, this.gotData && ((_d = this.footerContent) === null || _d === void 0 ? void 0 : _d.bottomLinks) ? index.h("ul", null, this.renderBottomLinks()) : null)))));
|
|
307
308
|
}
|
|
308
309
|
render() {
|
|
309
310
|
switch (this.theme) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-4199ff85.js');
|
|
6
|
-
const
|
|
6
|
+
const FetchHelper = require('./FetchHelper-2130dacf.js');
|
|
7
7
|
const pnMarketwebSiteheaderStore = require('./pn-marketweb-siteheader-store-5ced6902.js');
|
|
8
8
|
require('./index-95e5b7f9.js');
|
|
9
9
|
|
|
@@ -148,7 +148,7 @@ const PnMarketwebSiteheader = class {
|
|
|
148
148
|
this.changeMarket = index.createEvent(this, "changeMarket", 7);
|
|
149
149
|
this.endpointPath = '/api/navigation/header';
|
|
150
150
|
// FetchHelper
|
|
151
|
-
this.fetchHelper = new
|
|
151
|
+
this.fetchHelper = new FetchHelper.FetchHelper('siteheader');
|
|
152
152
|
this.market = null;
|
|
153
153
|
this.language = null;
|
|
154
154
|
this.siteid = null;
|
|
@@ -203,7 +203,7 @@ const PnMarketwebSiteheader = class {
|
|
|
203
203
|
}
|
|
204
204
|
async setInitialValues(href = window.location.href) {
|
|
205
205
|
var _a;
|
|
206
|
-
const marketWebContextService = new
|
|
206
|
+
const marketWebContextService = new FetchHelper.MarketWebContextService(href);
|
|
207
207
|
if (!this.market) {
|
|
208
208
|
const resolvedMarket = await marketWebContextService.getMarket();
|
|
209
209
|
this.market = resolvedMarket;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index$1 = require('./index-4199ff85.js');
|
|
6
|
-
const
|
|
6
|
+
const FetchHelper = require('./FetchHelper-2130dacf.js');
|
|
7
7
|
const index = require('./index-95e5b7f9.js');
|
|
8
8
|
|
|
9
9
|
const translations = {
|
|
@@ -234,7 +234,7 @@ const pnProxioFindpriceCss = "@charset \"UTF-8\";pn-proxio-findprice .findprice-
|
|
|
234
234
|
const PnProxioFindPrice = class {
|
|
235
235
|
constructor(hostRef) {
|
|
236
236
|
index$1.registerInstance(this, hostRef);
|
|
237
|
-
this.fetchHelper = new
|
|
237
|
+
this.fetchHelper = new FetchHelper.FetchHelper("proxiopricegroups");
|
|
238
238
|
this.endpoint = null;
|
|
239
239
|
this.language = "da";
|
|
240
240
|
this.market = "dk";
|
|
@@ -255,7 +255,7 @@ const PnProxioFindPrice = class {
|
|
|
255
255
|
});
|
|
256
256
|
}
|
|
257
257
|
async setInitialValues(href = window.location.href) {
|
|
258
|
-
const marketWebContextService = new
|
|
258
|
+
const marketWebContextService = new FetchHelper.MarketWebContextService(href);
|
|
259
259
|
const environment = await marketWebContextService.getEnvironmentName();
|
|
260
260
|
if ((!this.endpoint && (environment === null || environment === void 0 ? void 0 : environment.indexOf('local')) === -1)) {
|
|
261
261
|
const market = await marketWebContextService.getMarket();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-4199ff85.js');
|
|
6
|
-
const
|
|
6
|
+
const FetchHelper = require('./FetchHelper-2130dacf.js');
|
|
7
7
|
const translations = require('./translations-aef1609e.js');
|
|
8
8
|
|
|
9
9
|
const pnProxioPricegroupCss = "pn-proxio-pricegroup div.proxio-pricegroup-container{max-width:99.4rem}pn-proxio-pricegroup div.weightcontainer{margin:2.8rem 0}pn-proxio-pricegroup div.weightvaluecontainer{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:start;align-items:flex-start}pn-proxio-pricegroup div.weightvaluecontainer pn-button{-webkit-transform:translateY(-0.4rem);transform:translateY(-0.4rem)}pn-proxio-pricegroup div.weightvaluecontainer pn-button button::before{display:none}pn-proxio-pricegroup div.weightradios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;color:#005D92;width:80%;margin:0 3.6rem;position:relative;width:0%}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end50]{width:45%;margin-left:auto;margin-right:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end50]{width:40%}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end75]{width:65%;margin-left:auto;margin-right:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=end75]{margin-right:auto}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start50]{width:45%;margin-right:auto;margin-left:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start50]{width:40%}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start75]{width:65%;margin-right:auto;margin-left:3.6rem}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=start75]{margin-left:auto}}pn-proxio-pricegroup div.weightradios[data-carousel-container-position=default]{-ms-flex:0 0 auto;flex:0 0 auto;width:80%}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightradios[data-carousel-container-position=default]{width:65%}}pn-proxio-pricegroup div.weightdata{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:justify;justify-content:space-between;gap:1.2rem;min-width:4rem;cursor:pointer}pn-proxio-pricegroup div.weightdata label{font-size:1.4rem;cursor:pointer}pn-proxio-pricegroup div.weightdata[data-carousel-position=\"0\"]{font-size:2rem;font-weight:700}@media screen and (max-width: 48em){pn-proxio-pricegroup div.weightdata[data-carousel-position=\"2\"],pn-proxio-pricegroup div.weightdata[data-carousel-position=\"-2\"]{display:none}}pn-proxio-pricegroup div.weightdata[data-carousel-position=outside]{display:none}pn-proxio-pricegroup div.weightdata input[type=radio]{-webkit-appearance:none;-moz-appearance:none;width:1.2rem;height:1.2rem;background-color:#005D92;border-radius:50%;margin:0;cursor:pointer}pn-proxio-pricegroup div.weightdata input[type=radio]:checked{z-index:1;-webkit-transform:translateY(-0.1rem);transform:translateY(-0.1rem);height:1.4rem;width:1.4rem;-webkit-box-shadow:0 0 0 0.3rem #FFFFFF, 0 0 0 0.4rem #005D92;box-shadow:0 0 0 0.3rem #FFFFFF, 0 0 0 0.4rem #005D92}pn-proxio-pricegroup div.weightline{width:100%;background-color:#F3F2F2;z-index:-1;height:0.8rem;-webkit-transform:translateX(2.1rem) translateY(1.32rem);transform:translateX(2.1rem) translateY(1rem);border-radius:2rem;margin-right:3.5rem}pn-proxio-pricegroup pn-button[disabled=disabled]{opacity:0.2}pn-proxio-pricegroup pn-button[disabled=disabled] button{cursor:default}pn-proxio-pricegroup pn-button[disabled=disabled] button.pn-button-light .pn-button-bg:after{background-color:#FFFFFF}pn-proxio-pricegroup pn-button[disabled=disabled] button[data-tooltip-open]:before{display:none}pn-proxio-pricegroup pn-button button div.button-tooltip{display:none}pn-proxio-pricegroup pn-button button:focus .pn-button-bg{-webkit-box-shadow:none;box-shadow:none}";
|
|
@@ -11,7 +11,7 @@ const pnProxioPricegroupCss = "pn-proxio-pricegroup div.proxio-pricegroup-contai
|
|
|
11
11
|
const PnProxioPricegroup = class {
|
|
12
12
|
constructor(hostRef) {
|
|
13
13
|
index.registerInstance(this, hostRef);
|
|
14
|
-
this.fetchHelper = new
|
|
14
|
+
this.fetchHelper = new FetchHelper.FetchHelper("proxiopricegroup");
|
|
15
15
|
this.endpoint = null;
|
|
16
16
|
this.language = "sv";
|
|
17
17
|
this.market = "se";
|
|
@@ -27,7 +27,7 @@ const PnProxioPricegroup = class {
|
|
|
27
27
|
});
|
|
28
28
|
}
|
|
29
29
|
async setInitialValues(href = window.location.href) {
|
|
30
|
-
const marketWebContextService = new
|
|
30
|
+
const marketWebContextService = new FetchHelper.MarketWebContextService(href);
|
|
31
31
|
const environment = await marketWebContextService.getEnvironmentName();
|
|
32
32
|
if ((!this.endpoint && (environment === null || environment === void 0 ? void 0 : environment.indexOf('local')) === -1)) {
|
|
33
33
|
const market = await marketWebContextService.getMarket();
|
|
@@ -56,13 +56,14 @@ const translations = {
|
|
|
56
56
|
},
|
|
57
57
|
};
|
|
58
58
|
|
|
59
|
-
const pnSwanCss = "pn-swan .pn-swan__wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-ms-flex-align:center;align-items:center;gap:0.8rem}@media screen and (min-width: 768px){pn-swan .pn-swan__wrapper{-ms-flex-direction:row;flex-direction:row;gap:2.4rem}}pn-swan .pn-swan-icon__wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}pn-swan .pn-swan-icon svg{width:6rem}pn-swan .pn-swan-icon__preamble{text-align:center;font-size:1rem;font-weight:500}pn-swan .pn-swan-icon__preamble span{display:block;font-weight:400}pn-swan .pn-swan-text{font-size:1.2rem;max-width:20rem;text-align:center}@media screen and (min-width: 768px){pn-swan .pn-swan-text{text-align:left}}";
|
|
59
|
+
const pnSwanCss = "pn-swan a{text-decoration:none}pn-swan a:hover{text-decoration:none}pn-swan a:hover span,pn-swan a:hover .pn-swan-text{text-decoration:underline}pn-swan .pn-swan__wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse;-ms-flex-align:center;align-items:center;gap:0.8rem;color:#2D2013}@media screen and (min-width: 768px){pn-swan .pn-swan__wrapper{-ms-flex-direction:row;flex-direction:row;gap:2.4rem}}pn-swan .pn-swan-icon__wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}pn-swan .pn-swan-icon svg{width:6rem}pn-swan .pn-swan-icon__preamble{text-align:center;font-size:1rem;font-weight:500}pn-swan .pn-swan-icon__preamble span{display:block;font-weight:400}pn-swan .pn-swan-text{font-size:1.2rem;max-width:20rem;text-align:center;color:#005D92}@media screen and (min-width: 768px){pn-swan .pn-swan-text{text-align:left}}";
|
|
60
60
|
|
|
61
61
|
const PnSwan = class {
|
|
62
62
|
constructor(hostRef) {
|
|
63
63
|
index.registerInstance(this, hostRef);
|
|
64
64
|
this.licenseNumber = undefined;
|
|
65
65
|
this.language = 'sv';
|
|
66
|
+
this.linkTo = undefined;
|
|
66
67
|
this.i18n = undefined;
|
|
67
68
|
}
|
|
68
69
|
componentWillLoad() {
|
|
@@ -80,7 +81,7 @@ const PnSwan = class {
|
|
|
80
81
|
this.setTranslations();
|
|
81
82
|
}
|
|
82
83
|
render() {
|
|
83
|
-
return (index.h(index.Host, null, index.h("div", { class: "pn-swan__wrapper" }, index.h("div", { class: "pn-swan-icon__wrapper" }, index.h("div", { class: "pn-swan-icon" }, index.h("svg", { viewBox: "0 0 57 57", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { "clip-path": "url(#clip0_17509_174280)" }, index.h("path", { d: "M28.5003 52.5053C41.0088 52.5053 51.149 42.4597 51.149 30.0679C51.149 17.6762 41.0088 7.63062 28.5003 7.63062C15.9917 7.63062 5.85156 17.6762 5.85156 30.0679C5.85156 42.4597 15.9917 52.5053 28.5003 52.5053Z", fill: "white" }), index.h("path", { d: "M28.5 56.5C43.964 56.5 56.5 43.964 56.5 28.5C56.5 13.036 43.964 0.5 28.5 0.5C13.036 0.5 0.5 13.036 0.5 28.5C0.5 43.964 13.036 56.5 28.5 56.5Z", fill: "white" }), index.h("path", { d: "M22.3195 8.48928L5.88882 30.9266C5.88882 30.6653 5.88882 30.3666 5.88882 30.0679C5.85114 19.8013 12.8229 11.1399 22.3195 8.48928ZM41.3128 11.5506C40.0315 10.6919 38.6748 9.94528 37.2428 9.34795L16.9682 37.0493C17.9104 37.5346 18.4379 38.356 20.0207 38.356C20.9252 38.356 22.0934 37.7586 23.2239 36.228L41.3128 11.5506ZM7.99919 39.6253C9.54427 39.6253 11.5793 39.0653 12.6721 38.1693C13.6896 37.348 14.2549 36.6386 15.3101 36.6386C15.4608 36.6386 15.6493 36.6386 15.8 36.676L36.1122 8.93728C34.5672 8.37728 32.9467 8.00395 31.2885 7.81728L7.99919 39.6253ZM8.52678 40.6333C9.12974 41.7533 9.84575 42.836 10.5995 43.8066L12.9359 40.6333H8.52678ZM35.5846 40.6333L26.9171 52.468C27.4447 52.5053 27.9723 52.5053 28.4999 52.5053C29.9696 52.5053 31.4393 52.356 32.8336 52.0946L41.2374 40.596L35.5846 40.6333ZM29.9696 7.66795C29.4797 7.63062 28.9898 7.63062 28.4999 7.63062C26.9548 7.63062 25.4474 7.77995 24.0153 8.07861L6.00188 32.644C6.22799 34.66 6.7179 36.564 7.4716 38.3933L29.9696 7.66795ZM42.6694 40.6333L34.5295 51.7213C40.5591 50.0786 45.6089 46.0093 48.4729 40.6333H42.6694ZM28.4999 40.6333L20.7744 51.1986C22.3195 51.7586 23.94 52.132 25.5981 52.3559L34.1903 40.6333H28.4999ZM21.4151 40.6333L15.6116 48.548C16.8929 49.4066 18.2118 50.1533 19.6439 50.7506L27.0678 40.6333H21.4151ZM14.3303 40.6333L11.3155 44.74C12.333 45.8973 13.4635 46.9426 14.6694 47.876L19.983 40.6333H14.3303ZM15.3478 37.3479C14.8956 37.3479 14.5187 37.7213 14.5187 38.1693C14.5187 38.6173 14.8956 38.9906 15.3478 38.9906C15.8 38.9906 16.1768 38.6173 16.1768 38.1693C16.1768 37.7213 15.8 37.3479 15.3478 37.3479ZM51.1486 29.06C51.1109 28.4626 51.0732 27.9026 50.9978 27.3053L43.0463 38.132H44.4783L51.1486 29.06ZM48.9628 20.436L35.9615 38.1693H37.3935L49.5281 21.6306C49.3397 21.2199 49.1513 20.8093 48.9628 20.436ZM45.6089 15.3586L28.8767 38.1693H30.3087L46.3626 16.2546C46.1365 15.9559 45.8727 15.6573 45.6089 15.3586Z", fill: "#005D92" }), index.h("path", { d: "M9.2805 13.492C9.73272 13.9026 10.2226 13.7533 10.6372 13.3426C11.0517 12.8946 11.014 12.5213 10.7879 12.2973C10.5618 12.0733 10.3357 12.1106 10.1849 12.2226C9.92114 12.372 9.61966 12.596 9.09207 12.8946C8.48911 13.268 8.03689 13.156 7.73541 12.8573C7.13245 12.2973 7.39624 11.5133 7.88615 10.9533C8.48911 10.3186 9.2805 10.132 9.88346 10.692L9.39355 11.2146C8.97902 10.8786 8.60217 11.028 8.263 11.364C8.03689 11.588 7.84846 11.9986 8.11226 12.26C8.30069 12.4466 8.56448 12.4093 8.82828 12.26C8.86596 12.2226 9.65735 11.7373 9.88346 11.6253C10.3734 11.3266 10.8633 11.476 11.1647 11.7373C11.8054 12.3346 11.5416 13.1933 10.9763 13.7906C10.3357 14.4626 9.50661 14.724 8.75291 14.052L9.2805 13.492Z", fill: "black" }), index.h("path", { d: "M9.69531 9.23587L10.2983 8.78787L13.087 10.6172L11.9564 7.4812L12.5217 7.0332L13.916 11.0279L13.2754 11.5132L9.69531 9.23587Z", fill: "black" }), index.h("path", { d: "M14.1426 6.06254L14.8209 5.68921L18.2126 8.37721L17.5342 8.75054L16.6675 8.04121L15.2354 8.86254L15.4239 9.98254L14.7832 10.3559L14.1426 6.06254ZM15.1224 8.26521L16.2153 7.63054L14.8209 6.47321L15.1224 8.26521Z", fill: "black" }), index.h("path", { d: "M17.2695 4.42005L17.9855 4.15872L20.7742 6.28672L19.7567 3.52405L20.3974 3.30005L21.7917 7.03338L21.0757 7.29472L18.3247 5.16672L19.3422 7.92938L18.7016 8.15338L17.2695 4.42005Z", fill: "black" }), index.h("path", { d: "M21.9805 2.88937L24.8822 2.3667L24.9953 2.96403L22.8095 3.3747L22.998 4.42003L25.033 4.0467L25.146 4.6067L23.111 4.98003L23.3371 6.13737L25.5605 5.7267L25.6736 6.32403L22.7342 6.80937L21.9805 2.88937Z", fill: "black" }), index.h("path", { d: "M26.3145 2.21726H27.0682L28.9901 5.12927L28.9524 2.17993H29.6307L29.7061 6.1746H28.9524L27.0305 3.2626L27.0682 6.21193H26.3898L26.3145 2.21726Z", fill: "black" }), index.h("path", { d: "M31.4016 2.25464L32.3814 2.44131L32.9467 5.72664L34.6048 2.85197L35.5846 3.03864L34.8686 6.95864L34.1903 6.84664L34.7555 3.82264L33.0974 6.65997L32.4944 6.47331L31.9292 3.26264L31.3639 6.28664L30.6855 6.17464L31.4016 2.25464Z", fill: "black" }), index.h("path", { d: "M38.3359 3.93468L39.0519 4.19601V8.48934L38.3359 8.22801L38.3736 7.10801L36.8285 6.51068L36.0748 7.36934L35.3965 7.10801L38.3359 3.93468ZM37.2054 6.06268L38.3736 6.51068L38.4113 4.68134L37.2054 6.06268ZM38.0721 3.33734L38.2982 2.77734L38.9012 3.00134L38.6751 3.56134L38.0721 3.33734ZM39.8433 3.37468L39.6172 3.93468L39.0142 3.71068L39.2404 3.15068L39.8433 3.37468Z", fill: "black" }), index.h("path", { d: "M41.576 5.31592L43.2718 6.32392C44.0255 6.77192 44.214 7.36925 43.8748 7.92925C43.4603 8.60125 42.895 8.48925 42.7819 8.45192C42.9704 8.60125 43.1965 8.93725 42.8573 9.49725C42.6312 9.90792 42.4428 10.2813 42.5181 10.5053L41.8398 10.1319C41.8398 9.94525 41.9529 9.75858 42.0659 9.57192C42.4428 8.93725 42.4805 8.60125 41.9152 8.26525L41.0107 7.74258L40.144 9.16125L39.541 8.78792L41.576 5.31592ZM41.2368 7.21992L42.2543 7.81725C42.6312 8.04125 42.9704 8.00392 43.1965 7.63058C43.4603 7.18258 43.2342 6.92125 42.895 6.73458L41.8775 6.13725L41.2368 7.21992Z", fill: "black" }), index.h("path", { d: "M45.7214 7.96655L46.249 8.41455L45.043 9.79589L47.6056 9.57189L48.2463 10.1319L45.9852 10.2812L45.7214 13.1932L45.043 12.6332L45.3068 10.3186L44.5154 10.3559L43.6487 11.3639L43.1211 10.9159L45.7214 7.96655Z", fill: "black" }), index.h("path", { d: "M48.6246 10.5054L50.7727 12.932L50.3204 13.3427L49.4914 12.372L46.9288 14.612L46.4766 14.0894L49.0391 11.8494L48.2101 10.916L48.6246 10.5054Z", fill: "black" }), index.h("path", { d: "M28.5003 52.5053C41.0088 52.5053 51.149 42.4597 51.149 30.0679C51.149 17.6762 41.0088 7.63062 28.5003 7.63062C15.9917 7.63062 5.85156 17.6762 5.85156 30.0679C5.85156 42.4597 15.9917 52.5053 28.5003 52.5053Z", fill: "white" }), index.h("path", { d: "M28.5 56.5C43.964 56.5 56.5 43.964 56.5 28.5C56.5 13.036 43.964 0.5 28.5 0.5C13.036 0.5 0.5 13.036 0.5 28.5C0.5 43.964 13.036 56.5 28.5 56.5Z", fill: "white" }), index.h("path", { d: "M22.3195 8.48928L5.88882 30.9266C5.88882 30.6653 5.88882 30.3666 5.88882 30.0679C5.85114 19.8013 12.8229 11.1399 22.3195 8.48928ZM41.3128 11.5506C40.0315 10.6919 38.6748 9.94528 37.2428 9.34795L16.9682 37.0493C17.9104 37.5346 18.4379 38.356 20.0207 38.356C20.9252 38.356 22.0934 37.7586 23.2239 36.228L41.3128 11.5506ZM7.99919 39.6253C9.54427 39.6253 11.5793 39.0653 12.6721 38.1693C13.6896 37.348 14.2549 36.6386 15.3101 36.6386C15.4608 36.6386 15.6493 36.6386 15.8 36.676L36.1122 8.93728C34.5672 8.37728 32.9467 8.00395 31.2885 7.81728L7.99919 39.6253ZM8.52678 40.6333C9.12974 41.7533 9.84575 42.836 10.5995 43.8066L12.9359 40.6333H8.52678ZM35.5846 40.6333L26.9171 52.4679C27.4447 52.5053 27.9723 52.5053 28.4999 52.5053C29.9696 52.5053 31.4393 52.3559 32.8336 52.0946L41.2374 40.596L35.5846 40.6333ZM29.9696 7.66795C29.4797 7.63062 28.9898 7.63062 28.4999 7.63062C26.9548 7.63062 25.4474 7.77995 24.0153 8.07861L6.00188 32.644C6.22799 34.66 6.71789 36.5639 7.4716 38.3933L29.9696 7.66795ZM42.6694 40.6333L34.5295 51.7213C40.5591 50.0786 45.6089 46.0093 48.4729 40.6333H42.6694ZM28.4999 40.6333L20.7744 51.1986C22.3195 51.7586 23.94 52.132 25.5981 52.3559L34.1903 40.6333H28.4999ZM21.4151 40.6333L15.6116 48.548C16.8929 49.4066 18.2118 50.1533 19.6439 50.7506L27.0678 40.6333H21.4151ZM14.3303 40.6333L11.3155 44.74C12.333 45.8973 13.4635 46.9426 14.6694 47.876L19.983 40.6333H14.3303ZM15.3478 37.3479C14.8956 37.3479 14.5187 37.7213 14.5187 38.1693C14.5187 38.6173 14.8956 38.9906 15.3478 38.9906C15.8 38.9906 16.1768 38.6173 16.1768 38.1693C16.1768 37.7213 15.8 37.3479 15.3478 37.3479ZM51.1486 29.0599C51.1109 28.4626 51.0732 27.9026 50.9978 27.3053L43.0463 38.132H44.4783L51.1486 29.0599ZM48.9628 20.436L35.9615 38.1693H37.3935L49.5281 21.6306C49.3397 21.2199 49.1513 20.8093 48.9628 20.436ZM45.6089 15.3586L28.8767 38.1693H30.3087L46.3626 16.2546C46.1365 15.9559 45.8727 15.6573 45.6089 15.3586Z", fill: "#00A65D" }), index.h("path", { d: "M9.2805 13.492C9.73272 13.9026 10.2226 13.7533 10.6372 13.3426C11.0517 12.8946 11.014 12.5213 10.7879 12.2973C10.5618 12.0733 10.3357 12.1106 10.1849 12.2226C9.92114 12.372 9.61966 12.596 9.09207 12.8946C8.48911 13.268 8.03689 13.156 7.73541 12.8573C7.13245 12.2973 7.39624 11.5133 7.88615 10.9533C8.48911 10.3186 9.2805 10.132 9.88346 10.692L9.39355 11.2146C8.97902 10.8786 8.60217 11.028 8.263 11.364C8.03689 11.588 7.84846 11.9986 8.11226 12.26C8.30069 12.4466 8.56448 12.4093 8.82828 12.26C8.86596 12.2226 9.65735 11.7373 9.88346 11.6253C10.3734 11.3266 10.8633 11.476 11.1647 11.7373C11.8054 12.3346 11.5416 13.1933 10.9763 13.7906C10.3357 14.4626 9.50661 14.724 8.75291 14.052L9.2805 13.492Z", fill: "black" }), index.h("path", { d: "M9.69531 9.23587L10.2983 8.78787L13.087 10.6172L11.9564 7.4812L12.5217 7.0332L13.916 11.0279L13.2754 11.5132L9.69531 9.23587Z", fill: "black" }), index.h("path", { d: "M14.1426 6.06254L14.8209 5.68921L18.2126 8.37721L17.5342 8.75054L16.6675 8.04121L15.2354 8.86254L15.4239 9.98254L14.7832 10.3559L14.1426 6.06254ZM15.1224 8.26521L16.2153 7.63054L14.8209 6.47321L15.1224 8.26521Z", fill: "black" }), index.h("path", { d: "M17.2695 4.42005L17.9855 4.15872L20.7742 6.28672L19.7567 3.52405L20.3974 3.30005L21.7917 7.03338L21.0757 7.29472L18.3247 5.16672L19.3422 7.92938L18.7016 8.15338L17.2695 4.42005Z", fill: "black" }), index.h("path", { d: "M21.9805 2.88937L24.8822 2.3667L24.9953 2.96403L22.8095 3.3747L22.998 4.42003L25.033 4.0467L25.146 4.6067L23.111 4.98003L23.3371 6.13737L25.5605 5.7267L25.6736 6.32403L22.7342 6.80937L21.9805 2.88937Z", fill: "black" }), index.h("path", { d: "M26.3145 2.21726H27.0682L28.9901 5.12927L28.9524 2.17993H29.6307L29.7061 6.1746H28.9524L27.0305 3.2626L27.0682 6.21193H26.3898L26.3145 2.21726Z", fill: "black" }), index.h("path", { d: "M31.4016 2.25464L32.3814 2.44131L32.9467 5.72664L34.6048 2.85197L35.5846 3.03864L34.8686 6.95864L34.1903 6.84664L34.7555 3.82264L33.0974 6.65997L32.4944 6.47331L31.9292 3.26264L31.3639 6.28664L30.6855 6.17464L31.4016 2.25464Z", fill: "black" }), index.h("path", { d: "M38.3359 3.93468L39.0519 4.19601V8.48934L38.3359 8.22801L38.3736 7.10801L36.8285 6.51068L36.0748 7.36934L35.3965 7.10801L38.3359 3.93468ZM37.2054 6.06268L38.3736 6.51068L38.4113 4.68134L37.2054 6.06268ZM38.0721 3.33734L38.2982 2.77734L38.9012 3.00134L38.6751 3.56134L38.0721 3.33734ZM39.8433 3.37468L39.6172 3.93468L39.0142 3.71068L39.2404 3.15068L39.8433 3.37468Z", fill: "black" }), index.h("path", { d: "M41.576 5.31592L43.2718 6.32392C44.0255 6.77192 44.214 7.36925 43.8748 7.92925C43.4603 8.60125 42.895 8.48925 42.7819 8.45192C42.9704 8.60125 43.1965 8.93725 42.8573 9.49725C42.6312 9.90792 42.4428 10.2813 42.5181 10.5053L41.8398 10.1319C41.8398 9.94525 41.9529 9.75858 42.0659 9.57192C42.4428 8.93725 42.4805 8.60125 41.9152 8.26525L41.0107 7.74258L40.144 9.16125L39.541 8.78792L41.576 5.31592ZM41.2368 7.21992L42.2543 7.81725C42.6312 8.04125 42.9704 8.00392 43.1965 7.63058C43.4603 7.18258 43.2342 6.92125 42.895 6.73458L41.8775 6.13725L41.2368 7.21992Z", fill: "black" }), index.h("path", { d: "M45.7214 7.96655L46.249 8.41455L45.043 9.79589L47.6056 9.57189L48.2463 10.1319L45.9852 10.2812L45.7214 13.1932L45.043 12.6332L45.3068 10.3186L44.5154 10.3559L43.6487 11.3639L43.1211 10.9159L45.7214 7.96655Z", fill: "black" }), index.h("path", { d: "M48.6246 10.5054L50.7727 12.932L50.3204 13.3427L49.4914 12.372L46.9288 14.612L46.4766 14.0894L49.0391 11.8494L48.2101 10.916L48.6246 10.5054Z", fill: "black" })), index.h("defs", null, index.h("clipPath", { id: "clip0_17509_174280" }, index.h("rect", { width: "56", height: "56", fill: "white", transform: "translate(0.5 0.5)" }))))), index.h("div", { class: "pn-swan-icon__preamble" }, this.i18n.preamble, " ", index.h("span", null, this.licenseNumber))), index.h("div", { class: "pn-swan-text" }, this.i18n.text))));
|
|
84
|
+
return (index.h(index.Host, null, index.h("a", { href: this.linkTo }, index.h("div", { class: "pn-swan__wrapper" }, index.h("div", { class: "pn-swan-icon__wrapper" }, index.h("div", { class: "pn-swan-icon" }, index.h("svg", { viewBox: "0 0 57 57", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("g", { "clip-path": "url(#clip0_17509_174280)" }, index.h("path", { d: "M28.5003 52.5053C41.0088 52.5053 51.149 42.4597 51.149 30.0679C51.149 17.6762 41.0088 7.63062 28.5003 7.63062C15.9917 7.63062 5.85156 17.6762 5.85156 30.0679C5.85156 42.4597 15.9917 52.5053 28.5003 52.5053Z", fill: "white" }), index.h("path", { d: "M28.5 56.5C43.964 56.5 56.5 43.964 56.5 28.5C56.5 13.036 43.964 0.5 28.5 0.5C13.036 0.5 0.5 13.036 0.5 28.5C0.5 43.964 13.036 56.5 28.5 56.5Z", fill: "white" }), index.h("path", { d: "M22.3195 8.48928L5.88882 30.9266C5.88882 30.6653 5.88882 30.3666 5.88882 30.0679C5.85114 19.8013 12.8229 11.1399 22.3195 8.48928ZM41.3128 11.5506C40.0315 10.6919 38.6748 9.94528 37.2428 9.34795L16.9682 37.0493C17.9104 37.5346 18.4379 38.356 20.0207 38.356C20.9252 38.356 22.0934 37.7586 23.2239 36.228L41.3128 11.5506ZM7.99919 39.6253C9.54427 39.6253 11.5793 39.0653 12.6721 38.1693C13.6896 37.348 14.2549 36.6386 15.3101 36.6386C15.4608 36.6386 15.6493 36.6386 15.8 36.676L36.1122 8.93728C34.5672 8.37728 32.9467 8.00395 31.2885 7.81728L7.99919 39.6253ZM8.52678 40.6333C9.12974 41.7533 9.84575 42.836 10.5995 43.8066L12.9359 40.6333H8.52678ZM35.5846 40.6333L26.9171 52.468C27.4447 52.5053 27.9723 52.5053 28.4999 52.5053C29.9696 52.5053 31.4393 52.356 32.8336 52.0946L41.2374 40.596L35.5846 40.6333ZM29.9696 7.66795C29.4797 7.63062 28.9898 7.63062 28.4999 7.63062C26.9548 7.63062 25.4474 7.77995 24.0153 8.07861L6.00188 32.644C6.22799 34.66 6.7179 36.564 7.4716 38.3933L29.9696 7.66795ZM42.6694 40.6333L34.5295 51.7213C40.5591 50.0786 45.6089 46.0093 48.4729 40.6333H42.6694ZM28.4999 40.6333L20.7744 51.1986C22.3195 51.7586 23.94 52.132 25.5981 52.3559L34.1903 40.6333H28.4999ZM21.4151 40.6333L15.6116 48.548C16.8929 49.4066 18.2118 50.1533 19.6439 50.7506L27.0678 40.6333H21.4151ZM14.3303 40.6333L11.3155 44.74C12.333 45.8973 13.4635 46.9426 14.6694 47.876L19.983 40.6333H14.3303ZM15.3478 37.3479C14.8956 37.3479 14.5187 37.7213 14.5187 38.1693C14.5187 38.6173 14.8956 38.9906 15.3478 38.9906C15.8 38.9906 16.1768 38.6173 16.1768 38.1693C16.1768 37.7213 15.8 37.3479 15.3478 37.3479ZM51.1486 29.06C51.1109 28.4626 51.0732 27.9026 50.9978 27.3053L43.0463 38.132H44.4783L51.1486 29.06ZM48.9628 20.436L35.9615 38.1693H37.3935L49.5281 21.6306C49.3397 21.2199 49.1513 20.8093 48.9628 20.436ZM45.6089 15.3586L28.8767 38.1693H30.3087L46.3626 16.2546C46.1365 15.9559 45.8727 15.6573 45.6089 15.3586Z", fill: "#005D92" }), index.h("path", { d: "M9.2805 13.492C9.73272 13.9026 10.2226 13.7533 10.6372 13.3426C11.0517 12.8946 11.014 12.5213 10.7879 12.2973C10.5618 12.0733 10.3357 12.1106 10.1849 12.2226C9.92114 12.372 9.61966 12.596 9.09207 12.8946C8.48911 13.268 8.03689 13.156 7.73541 12.8573C7.13245 12.2973 7.39624 11.5133 7.88615 10.9533C8.48911 10.3186 9.2805 10.132 9.88346 10.692L9.39355 11.2146C8.97902 10.8786 8.60217 11.028 8.263 11.364C8.03689 11.588 7.84846 11.9986 8.11226 12.26C8.30069 12.4466 8.56448 12.4093 8.82828 12.26C8.86596 12.2226 9.65735 11.7373 9.88346 11.6253C10.3734 11.3266 10.8633 11.476 11.1647 11.7373C11.8054 12.3346 11.5416 13.1933 10.9763 13.7906C10.3357 14.4626 9.50661 14.724 8.75291 14.052L9.2805 13.492Z", fill: "black" }), index.h("path", { d: "M9.69531 9.23587L10.2983 8.78787L13.087 10.6172L11.9564 7.4812L12.5217 7.0332L13.916 11.0279L13.2754 11.5132L9.69531 9.23587Z", fill: "black" }), index.h("path", { d: "M14.1426 6.06254L14.8209 5.68921L18.2126 8.37721L17.5342 8.75054L16.6675 8.04121L15.2354 8.86254L15.4239 9.98254L14.7832 10.3559L14.1426 6.06254ZM15.1224 8.26521L16.2153 7.63054L14.8209 6.47321L15.1224 8.26521Z", fill: "black" }), index.h("path", { d: "M17.2695 4.42005L17.9855 4.15872L20.7742 6.28672L19.7567 3.52405L20.3974 3.30005L21.7917 7.03338L21.0757 7.29472L18.3247 5.16672L19.3422 7.92938L18.7016 8.15338L17.2695 4.42005Z", fill: "black" }), index.h("path", { d: "M21.9805 2.88937L24.8822 2.3667L24.9953 2.96403L22.8095 3.3747L22.998 4.42003L25.033 4.0467L25.146 4.6067L23.111 4.98003L23.3371 6.13737L25.5605 5.7267L25.6736 6.32403L22.7342 6.80937L21.9805 2.88937Z", fill: "black" }), index.h("path", { d: "M26.3145 2.21726H27.0682L28.9901 5.12927L28.9524 2.17993H29.6307L29.7061 6.1746H28.9524L27.0305 3.2626L27.0682 6.21193H26.3898L26.3145 2.21726Z", fill: "black" }), index.h("path", { d: "M31.4016 2.25464L32.3814 2.44131L32.9467 5.72664L34.6048 2.85197L35.5846 3.03864L34.8686 6.95864L34.1903 6.84664L34.7555 3.82264L33.0974 6.65997L32.4944 6.47331L31.9292 3.26264L31.3639 6.28664L30.6855 6.17464L31.4016 2.25464Z", fill: "black" }), index.h("path", { d: "M38.3359 3.93468L39.0519 4.19601V8.48934L38.3359 8.22801L38.3736 7.10801L36.8285 6.51068L36.0748 7.36934L35.3965 7.10801L38.3359 3.93468ZM37.2054 6.06268L38.3736 6.51068L38.4113 4.68134L37.2054 6.06268ZM38.0721 3.33734L38.2982 2.77734L38.9012 3.00134L38.6751 3.56134L38.0721 3.33734ZM39.8433 3.37468L39.6172 3.93468L39.0142 3.71068L39.2404 3.15068L39.8433 3.37468Z", fill: "black" }), index.h("path", { d: "M41.576 5.31592L43.2718 6.32392C44.0255 6.77192 44.214 7.36925 43.8748 7.92925C43.4603 8.60125 42.895 8.48925 42.7819 8.45192C42.9704 8.60125 43.1965 8.93725 42.8573 9.49725C42.6312 9.90792 42.4428 10.2813 42.5181 10.5053L41.8398 10.1319C41.8398 9.94525 41.9529 9.75858 42.0659 9.57192C42.4428 8.93725 42.4805 8.60125 41.9152 8.26525L41.0107 7.74258L40.144 9.16125L39.541 8.78792L41.576 5.31592ZM41.2368 7.21992L42.2543 7.81725C42.6312 8.04125 42.9704 8.00392 43.1965 7.63058C43.4603 7.18258 43.2342 6.92125 42.895 6.73458L41.8775 6.13725L41.2368 7.21992Z", fill: "black" }), index.h("path", { d: "M45.7214 7.96655L46.249 8.41455L45.043 9.79589L47.6056 9.57189L48.2463 10.1319L45.9852 10.2812L45.7214 13.1932L45.043 12.6332L45.3068 10.3186L44.5154 10.3559L43.6487 11.3639L43.1211 10.9159L45.7214 7.96655Z", fill: "black" }), index.h("path", { d: "M48.6246 10.5054L50.7727 12.932L50.3204 13.3427L49.4914 12.372L46.9288 14.612L46.4766 14.0894L49.0391 11.8494L48.2101 10.916L48.6246 10.5054Z", fill: "black" }), index.h("path", { d: "M28.5003 52.5053C41.0088 52.5053 51.149 42.4597 51.149 30.0679C51.149 17.6762 41.0088 7.63062 28.5003 7.63062C15.9917 7.63062 5.85156 17.6762 5.85156 30.0679C5.85156 42.4597 15.9917 52.5053 28.5003 52.5053Z", fill: "white" }), index.h("path", { d: "M28.5 56.5C43.964 56.5 56.5 43.964 56.5 28.5C56.5 13.036 43.964 0.5 28.5 0.5C13.036 0.5 0.5 13.036 0.5 28.5C0.5 43.964 13.036 56.5 28.5 56.5Z", fill: "white" }), index.h("path", { d: "M22.3195 8.48928L5.88882 30.9266C5.88882 30.6653 5.88882 30.3666 5.88882 30.0679C5.85114 19.8013 12.8229 11.1399 22.3195 8.48928ZM41.3128 11.5506C40.0315 10.6919 38.6748 9.94528 37.2428 9.34795L16.9682 37.0493C17.9104 37.5346 18.4379 38.356 20.0207 38.356C20.9252 38.356 22.0934 37.7586 23.2239 36.228L41.3128 11.5506ZM7.99919 39.6253C9.54427 39.6253 11.5793 39.0653 12.6721 38.1693C13.6896 37.348 14.2549 36.6386 15.3101 36.6386C15.4608 36.6386 15.6493 36.6386 15.8 36.676L36.1122 8.93728C34.5672 8.37728 32.9467 8.00395 31.2885 7.81728L7.99919 39.6253ZM8.52678 40.6333C9.12974 41.7533 9.84575 42.836 10.5995 43.8066L12.9359 40.6333H8.52678ZM35.5846 40.6333L26.9171 52.4679C27.4447 52.5053 27.9723 52.5053 28.4999 52.5053C29.9696 52.5053 31.4393 52.3559 32.8336 52.0946L41.2374 40.596L35.5846 40.6333ZM29.9696 7.66795C29.4797 7.63062 28.9898 7.63062 28.4999 7.63062C26.9548 7.63062 25.4474 7.77995 24.0153 8.07861L6.00188 32.644C6.22799 34.66 6.71789 36.5639 7.4716 38.3933L29.9696 7.66795ZM42.6694 40.6333L34.5295 51.7213C40.5591 50.0786 45.6089 46.0093 48.4729 40.6333H42.6694ZM28.4999 40.6333L20.7744 51.1986C22.3195 51.7586 23.94 52.132 25.5981 52.3559L34.1903 40.6333H28.4999ZM21.4151 40.6333L15.6116 48.548C16.8929 49.4066 18.2118 50.1533 19.6439 50.7506L27.0678 40.6333H21.4151ZM14.3303 40.6333L11.3155 44.74C12.333 45.8973 13.4635 46.9426 14.6694 47.876L19.983 40.6333H14.3303ZM15.3478 37.3479C14.8956 37.3479 14.5187 37.7213 14.5187 38.1693C14.5187 38.6173 14.8956 38.9906 15.3478 38.9906C15.8 38.9906 16.1768 38.6173 16.1768 38.1693C16.1768 37.7213 15.8 37.3479 15.3478 37.3479ZM51.1486 29.0599C51.1109 28.4626 51.0732 27.9026 50.9978 27.3053L43.0463 38.132H44.4783L51.1486 29.0599ZM48.9628 20.436L35.9615 38.1693H37.3935L49.5281 21.6306C49.3397 21.2199 49.1513 20.8093 48.9628 20.436ZM45.6089 15.3586L28.8767 38.1693H30.3087L46.3626 16.2546C46.1365 15.9559 45.8727 15.6573 45.6089 15.3586Z", fill: "#00A65D" }), index.h("path", { d: "M9.2805 13.492C9.73272 13.9026 10.2226 13.7533 10.6372 13.3426C11.0517 12.8946 11.014 12.5213 10.7879 12.2973C10.5618 12.0733 10.3357 12.1106 10.1849 12.2226C9.92114 12.372 9.61966 12.596 9.09207 12.8946C8.48911 13.268 8.03689 13.156 7.73541 12.8573C7.13245 12.2973 7.39624 11.5133 7.88615 10.9533C8.48911 10.3186 9.2805 10.132 9.88346 10.692L9.39355 11.2146C8.97902 10.8786 8.60217 11.028 8.263 11.364C8.03689 11.588 7.84846 11.9986 8.11226 12.26C8.30069 12.4466 8.56448 12.4093 8.82828 12.26C8.86596 12.2226 9.65735 11.7373 9.88346 11.6253C10.3734 11.3266 10.8633 11.476 11.1647 11.7373C11.8054 12.3346 11.5416 13.1933 10.9763 13.7906C10.3357 14.4626 9.50661 14.724 8.75291 14.052L9.2805 13.492Z", fill: "black" }), index.h("path", { d: "M9.69531 9.23587L10.2983 8.78787L13.087 10.6172L11.9564 7.4812L12.5217 7.0332L13.916 11.0279L13.2754 11.5132L9.69531 9.23587Z", fill: "black" }), index.h("path", { d: "M14.1426 6.06254L14.8209 5.68921L18.2126 8.37721L17.5342 8.75054L16.6675 8.04121L15.2354 8.86254L15.4239 9.98254L14.7832 10.3559L14.1426 6.06254ZM15.1224 8.26521L16.2153 7.63054L14.8209 6.47321L15.1224 8.26521Z", fill: "black" }), index.h("path", { d: "M17.2695 4.42005L17.9855 4.15872L20.7742 6.28672L19.7567 3.52405L20.3974 3.30005L21.7917 7.03338L21.0757 7.29472L18.3247 5.16672L19.3422 7.92938L18.7016 8.15338L17.2695 4.42005Z", fill: "black" }), index.h("path", { d: "M21.9805 2.88937L24.8822 2.3667L24.9953 2.96403L22.8095 3.3747L22.998 4.42003L25.033 4.0467L25.146 4.6067L23.111 4.98003L23.3371 6.13737L25.5605 5.7267L25.6736 6.32403L22.7342 6.80937L21.9805 2.88937Z", fill: "black" }), index.h("path", { d: "M26.3145 2.21726H27.0682L28.9901 5.12927L28.9524 2.17993H29.6307L29.7061 6.1746H28.9524L27.0305 3.2626L27.0682 6.21193H26.3898L26.3145 2.21726Z", fill: "black" }), index.h("path", { d: "M31.4016 2.25464L32.3814 2.44131L32.9467 5.72664L34.6048 2.85197L35.5846 3.03864L34.8686 6.95864L34.1903 6.84664L34.7555 3.82264L33.0974 6.65997L32.4944 6.47331L31.9292 3.26264L31.3639 6.28664L30.6855 6.17464L31.4016 2.25464Z", fill: "black" }), index.h("path", { d: "M38.3359 3.93468L39.0519 4.19601V8.48934L38.3359 8.22801L38.3736 7.10801L36.8285 6.51068L36.0748 7.36934L35.3965 7.10801L38.3359 3.93468ZM37.2054 6.06268L38.3736 6.51068L38.4113 4.68134L37.2054 6.06268ZM38.0721 3.33734L38.2982 2.77734L38.9012 3.00134L38.6751 3.56134L38.0721 3.33734ZM39.8433 3.37468L39.6172 3.93468L39.0142 3.71068L39.2404 3.15068L39.8433 3.37468Z", fill: "black" }), index.h("path", { d: "M41.576 5.31592L43.2718 6.32392C44.0255 6.77192 44.214 7.36925 43.8748 7.92925C43.4603 8.60125 42.895 8.48925 42.7819 8.45192C42.9704 8.60125 43.1965 8.93725 42.8573 9.49725C42.6312 9.90792 42.4428 10.2813 42.5181 10.5053L41.8398 10.1319C41.8398 9.94525 41.9529 9.75858 42.0659 9.57192C42.4428 8.93725 42.4805 8.60125 41.9152 8.26525L41.0107 7.74258L40.144 9.16125L39.541 8.78792L41.576 5.31592ZM41.2368 7.21992L42.2543 7.81725C42.6312 8.04125 42.9704 8.00392 43.1965 7.63058C43.4603 7.18258 43.2342 6.92125 42.895 6.73458L41.8775 6.13725L41.2368 7.21992Z", fill: "black" }), index.h("path", { d: "M45.7214 7.96655L46.249 8.41455L45.043 9.79589L47.6056 9.57189L48.2463 10.1319L45.9852 10.2812L45.7214 13.1932L45.043 12.6332L45.3068 10.3186L44.5154 10.3559L43.6487 11.3639L43.1211 10.9159L45.7214 7.96655Z", fill: "black" }), index.h("path", { d: "M48.6246 10.5054L50.7727 12.932L50.3204 13.3427L49.4914 12.372L46.9288 14.612L46.4766 14.0894L49.0391 11.8494L48.2101 10.916L48.6246 10.5054Z", fill: "black" })), index.h("defs", null, index.h("clipPath", { id: "clip0_17509_174280" }, index.h("rect", { width: "56", height: "56", fill: "white", transform: "translate(0.5 0.5)" }))))), index.h("div", { class: "pn-swan-icon__preamble" }, this.i18n.preamble, " ", index.h("span", null, this.licenseNumber))), index.h("div", { class: "pn-swan-text" }, this.i18n.text)))));
|
|
84
85
|
}
|
|
85
86
|
get hostElement() { return index.getElement(this); }
|
|
86
87
|
static get watchers() { return {
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"./components/cta/pn-spotlight/pn-spotlight.js",
|
|
17
17
|
"./components/data-visualization/pn-stats-info/pn-stats-info.js",
|
|
18
18
|
"./components/data-visualization/pn-stats-info/pn-stats-info-data/pn-stats-info-data.js",
|
|
19
|
+
"./components/input/pn-address-autofill/pn-address-autofill.js",
|
|
19
20
|
"./components/input/pn-bonus-progressbar/pn-bonus-progressbar-level.js",
|
|
20
21
|
"./components/input/pn-bonus-progressbar/pn-bonus-progressbar.js",
|
|
21
22
|
"./components/input/pn-choice-button/pn-choice-button.js",
|
|
@@ -24,6 +25,7 @@
|
|
|
24
25
|
"./components/input/pn-filter-checkbox/pn-filter-checkbox.js",
|
|
25
26
|
"./components/input/pn-marketweb-input/pn-marketweb-input.js",
|
|
26
27
|
"./components/input/pn-marketweb-search/pn-marketweb-search.js",
|
|
28
|
+
"./components/input/pn-multi-formfield/pn-multi-formfield.js",
|
|
27
29
|
"./components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js",
|
|
28
30
|
"./components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.js",
|
|
29
31
|
"./components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.js",
|
|
@@ -34,7 +36,6 @@
|
|
|
34
36
|
"./components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search.js",
|
|
35
37
|
"./components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login.js",
|
|
36
38
|
"./components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js",
|
|
37
|
-
"./components/layout-components/pn-multi-formfield/pn-multi-formfield.js",
|
|
38
39
|
"./components/minor/pn-app-banner/pn-app-banner.js",
|
|
39
40
|
"./components/minor/pn-swan/pn-swan.js",
|
|
40
41
|
"./components/minor/pn-titletag/pn-titletag.js",
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
pn-address-autofill pn-marketweb-input {
|
|
2
|
+
width: 50%;
|
|
3
|
+
}
|
|
4
|
+
pn-address-autofill .input-container-row {
|
|
5
|
+
display: flex;
|
|
6
|
+
gap: 1rem;
|
|
7
|
+
margin-bottom: 1rem;
|
|
8
|
+
}
|
|
9
|
+
pn-address-autofill .label-container {
|
|
10
|
+
color: #5E554A;
|
|
11
|
+
font-size: 0.875em;
|
|
12
|
+
display: flex;
|
|
13
|
+
justify-content: space-between;
|
|
14
|
+
align-items: flex-end;
|
|
15
|
+
}
|
|
16
|
+
pn-address-autofill .autocomplete-items {
|
|
17
|
+
position: absolute;
|
|
18
|
+
border-radius: 0.8rem;
|
|
19
|
+
border: 0.1rem solid #5E554A;
|
|
20
|
+
width: 100%;
|
|
21
|
+
max-height: 30rem;
|
|
22
|
+
overflow-y: auto;
|
|
23
|
+
}
|
|
24
|
+
pn-address-autofill .autocomplete-items:hover,
|
|
25
|
+
pn-address-autofill .autocomplete-items :focus {
|
|
26
|
+
border: 0.1rem solid #00A0D6;
|
|
27
|
+
}
|
|
28
|
+
pn-address-autofill .autocomplete-items div {
|
|
29
|
+
padding: 1.6rem;
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
background-color: #fff;
|
|
32
|
+
border: 0.1rem solid transparent;
|
|
33
|
+
}
|
|
34
|
+
pn-address-autofill .autocomplete-items div:first-child {
|
|
35
|
+
border-radius: 0.8rem 0.8rem 0 0;
|
|
36
|
+
}
|
|
37
|
+
pn-address-autofill .autocomplete-items div:last-child {
|
|
38
|
+
border-radius: 0 0 0.8rem 0.8rem;
|
|
39
|
+
}
|
|
40
|
+
pn-address-autofill .autocomplete-items div:hover {
|
|
41
|
+
background-color: #e0f8ff;
|
|
42
|
+
}
|
|
43
|
+
pn-address-autofill .autocomplete-items .autocomplete-active {
|
|
44
|
+
background-color: #e0f8ff;
|
|
45
|
+
}
|