@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.
Files changed (98) hide show
  1. package/cjs/index-4199ff85.js +8 -4
  2. package/cjs/loader.cjs.js +1 -1
  3. package/cjs/pn-address-autofill.cjs.entry.js +322 -0
  4. package/cjs/pn-market-web-components.cjs.js +1 -1
  5. package/cjs/pn-marketweb-input.cjs.entry.js +36 -25
  6. package/cjs/pn-marketweb-sitefooter.cjs.entry.js +7 -6
  7. package/cjs/pn-marketweb-siteheader.cjs.entry.js +3 -3
  8. package/cjs/pn-proxio-findprice.cjs.entry.js +3 -3
  9. package/cjs/pn-proxio-pricegroup.cjs.entry.js +3 -3
  10. package/cjs/pn-site-footer_3.cjs.entry.js +3 -2
  11. package/collection/collection-manifest.json +2 -1
  12. package/collection/components/input/pn-address-autofill/pn-address-autofill.css +45 -0
  13. package/collection/components/input/pn-address-autofill/pn-address-autofill.js +537 -0
  14. package/collection/components/input/pn-address-autofill/pn-address-autofill.stories.js +40 -0
  15. package/collection/components/input/pn-marketweb-input/pn-marketweb-input.js +50 -39
  16. package/collection/components/input/pn-multi-formfield/types.js +1 -0
  17. package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js +22 -3
  18. package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.stories.js +2 -0
  19. package/collection/components/minor/pn-swan/pn-swan.css +12 -0
  20. package/collection/components/minor/pn-swan/pn-swan.js +19 -1
  21. package/collection/components/minor/pn-swan/pn-swan.stories.js +1 -1
  22. package/components/index.d.ts +2 -1
  23. package/components/index.js +1 -0
  24. package/components/index2.js +63 -52
  25. package/components/index3.js +52 -63
  26. package/components/pn-address-autofill.d.ts +11 -0
  27. package/components/pn-address-autofill.js +359 -0
  28. package/components/pn-animated-tile.js +1 -1
  29. package/components/pn-dropdown-choice-adds-row.js +1 -1
  30. package/components/pn-marketweb-input2.js +36 -25
  31. package/components/pn-marketweb-sitefooter.js +6 -4
  32. package/components/pn-marketweb-siteheader.js +1 -1
  33. package/components/pn-multi-formfield.js +1 -1
  34. package/components/pn-proxio-findprice.js +1 -1
  35. package/components/pn-proxio-pricegroup.js +1 -1
  36. package/components/pn-spotlight.js +1 -1
  37. package/components/pn-swan2.js +4 -2
  38. package/esm/index-ee44c065.js +8 -4
  39. package/esm/loader.js +1 -1
  40. package/esm/pn-address-autofill.entry.js +318 -0
  41. package/esm/pn-market-web-components.js +1 -1
  42. package/esm/pn-marketweb-input.entry.js +36 -25
  43. package/esm/pn-marketweb-sitefooter.entry.js +5 -4
  44. package/esm/pn-marketweb-siteheader.entry.js +1 -1
  45. package/esm/pn-proxio-findprice.entry.js +1 -1
  46. package/esm/pn-proxio-pricegroup.entry.js +1 -1
  47. package/esm/pn-site-footer_3.entry.js +3 -2
  48. package/esm-es5/FetchHelper-62dc55bf.js +1 -0
  49. package/esm-es5/index-ee44c065.js +1 -1
  50. package/esm-es5/loader.js +1 -1
  51. package/esm-es5/pn-address-autofill.entry.js +1 -0
  52. package/esm-es5/pn-market-web-components.js +1 -1
  53. package/esm-es5/pn-marketweb-input.entry.js +1 -1
  54. package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
  55. package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
  56. package/esm-es5/pn-proxio-findprice.entry.js +1 -1
  57. package/esm-es5/pn-proxio-pricegroup.entry.js +1 -1
  58. package/esm-es5/pn-site-footer_3.entry.js +1 -1
  59. package/package.json +1 -1
  60. package/pn-market-web-components/{p-7e99f631.system.entry.js → p-18aca162.system.entry.js} +1 -1
  61. package/pn-market-web-components/{p-6e11edfe.entry.js → p-1b282c2b.entry.js} +1 -1
  62. package/pn-market-web-components/{p-3c38a67e.system.entry.js → p-256ba011.system.entry.js} +1 -1
  63. package/pn-market-web-components/{p-21bf0e64.system.entry.js → p-356a937e.system.entry.js} +1 -1
  64. package/pn-market-web-components/{p-1a8d7eb8.entry.js → p-372b4cad.entry.js} +1 -1
  65. package/{esm-es5/MarketWebContextService-f6a33f17.js → pn-market-web-components/p-439d5d73.system.js} +1 -1
  66. package/pn-market-web-components/p-4afba818.entry.js +1 -0
  67. package/pn-market-web-components/p-4b0ccb02.system.entry.js +1 -0
  68. package/pn-market-web-components/p-592b66fc.system.entry.js +1 -0
  69. package/pn-market-web-components/{p-8e9abd24.system.entry.js → p-89fcb948.system.entry.js} +1 -1
  70. package/pn-market-web-components/{p-5427a6ba.entry.js → p-90d2fb46.entry.js} +1 -1
  71. package/pn-market-web-components/p-9ad0ceb0.js +1 -0
  72. package/pn-market-web-components/p-b1527c0c.entry.js +1 -0
  73. package/pn-market-web-components/{p-0ae0b140.system.entry.js → p-c06e3588.system.entry.js} +1 -1
  74. package/pn-market-web-components/p-da9e05c0.entry.js +1 -0
  75. package/pn-market-web-components/p-fcdb7381.system.js +1 -1
  76. package/pn-market-web-components/p-ffae5f6b.entry.js +1 -0
  77. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  78. package/types/components/input/pn-address-autofill/pn-address-autofill.d.ts +56 -0
  79. package/types/components/input/pn-address-autofill/types.d.ts +40 -0
  80. package/types/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter-types.d.ts +1 -1
  81. package/types/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.d.ts +2 -0
  82. package/types/components/minor/pn-swan/pn-swan.d.ts +1 -0
  83. package/types/components.d.ts +60 -1
  84. package/pn-market-web-components/p-33322417.system.js +0 -1
  85. package/pn-market-web-components/p-3ba2a479.entry.js +0 -1
  86. package/pn-market-web-components/p-5d21372b.js +0 -1
  87. package/pn-market-web-components/p-f0078106.entry.js +0 -1
  88. package/pn-market-web-components/p-f45f034b.entry.js +0 -1
  89. package/pn-market-web-components/p-f7165a26.system.entry.js +0 -1
  90. package/cjs/{MarketWebContextService-17053565.js → FetchHelper-2130dacf.js} +84 -84
  91. package/collection/components/{layout-components/pn-multi-formfield → input/pn-address-autofill}/types.js +0 -0
  92. package/collection/components/{layout-components → input}/pn-multi-formfield/multi-formfield.stories.js +0 -0
  93. package/collection/components/{layout-components → input}/pn-multi-formfield/pn-multi-formfield.css +0 -0
  94. package/collection/components/{layout-components → input}/pn-multi-formfield/pn-multi-formfield.js +0 -0
  95. package/components/{MarketWebContextService.js → FetchHelper.js} +84 -84
  96. package/esm/{MarketWebContextService-f6a33f17.js → FetchHelper-62dc55bf.js} +84 -84
  97. /package/types/components/{layout-components → input}/pn-multi-formfield/pn-multi-formfield.d.ts +0 -0
  98. /package/types/components/{layout-components → input}/pn-multi-formfield/types.d.ts +0 -0
@@ -2,23 +2,23 @@ import { h, Host } from "@stencil/core";
2
2
  export class PnMarketwebInput {
3
3
  constructor() {
4
4
  this.disabled = false;
5
- this.error = '';
5
+ this.error = "";
6
6
  this.invalid = false;
7
- this.helpertext = '';
8
- this.label = '';
9
- this.placeholder = '';
7
+ this.helpertext = "";
8
+ this.label = "";
9
+ this.placeholder = "";
10
10
  this.inputid = `${Math.random()}`;
11
- this.name = '';
12
- this.required = null;
13
- this.type = 'text';
14
- this.autocomplete = '';
11
+ this.name = "";
12
+ this.required = false;
13
+ this.type = "text";
14
+ this.autocomplete = "";
15
15
  this.valid = null;
16
- this.value = '';
17
- this.maxlength = '';
18
- this.min = '';
19
- this.max = '';
20
- this.step = '';
21
- this.pattern = '';
16
+ this.value = "";
17
+ this.maxlength = "";
18
+ this.min = "";
19
+ this.max = "";
20
+ this.step = "";
21
+ this.pattern = "";
22
22
  this.showText = false;
23
23
  }
24
24
  getTextMessage() {
@@ -32,8 +32,21 @@ export class PnMarketwebInput {
32
32
  this.showText = !this.showText;
33
33
  }
34
34
  getInputType() {
35
- let types = ['text', 'password', 'url', 'tel', 'search', 'number', 'email', 'date', 'datetime-local', 'month', 'week', 'time'];
36
- return (types.includes(this.type) && !this.showText) ? this.type : 'text';
35
+ let types = [
36
+ "text",
37
+ "password",
38
+ "url",
39
+ "tel",
40
+ "search",
41
+ "number",
42
+ "email",
43
+ "date",
44
+ "datetime-local",
45
+ "month",
46
+ "week",
47
+ "time",
48
+ ];
49
+ return types.includes(this.type) && !this.showText ? this.type : "text";
37
50
  }
38
51
  setVal(e) {
39
52
  var _a;
@@ -41,21 +54,19 @@ export class PnMarketwebInput {
41
54
  this.value = target.value;
42
55
  }
43
56
  getClassNames() {
44
- let classNames = 'pn-input ';
57
+ let classNames = "pn-input ";
45
58
  if (this.error.length > 0 || this.invalid)
46
- classNames += 'error ';
59
+ classNames += "error ";
47
60
  if (this.valid)
48
- classNames += 'valid ';
49
- if (this.type === 'password')
50
- classNames += 'password ';
61
+ classNames += "valid ";
62
+ if (this.type === "password")
63
+ classNames += "password ";
51
64
  if (this.error || this.invalid || this.valid)
52
- classNames += 'icon ';
65
+ classNames += "icon ";
53
66
  return classNames;
54
67
  }
55
68
  render() {
56
- return (h(Host, { class: this.getClassNames() }, (this.label || this.maxlength) &&
57
- h("div", { class: "label-container" }, this.label && h("label", { htmlFor: this.inputid }, this.label), parseInt(this.maxlength) > 0 && h("label", { class: "char-count", htmlFor: this.inputid }, `${this.value.length}/${this.maxlength}`)), h("div", { class: "input-container" }, 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) }), h("svg", { class: "pn-input-checkmark", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none" }, h("polyline", { class: "checkmark-path", points: "4,12 9,17 20,6", "stroke-width": "3" })), this.type === 'password' && !this.disabled && h("button", { onClick: () => this.toggleTextVisibility() }, "Show")), this.getTextMessage() &&
58
- h("small", null, this.error && h("pn-icon", { symbol: "alert-exclamation-circle", small: true, color: "warning" }), this.getTextMessage())));
69
+ return (h(Host, { class: this.getClassNames() }, (this.label || this.maxlength) && (h("div", { class: "label-container" }, this.label && h("label", { htmlFor: this.inputid }, this.label), parseInt(this.maxlength) > 0 && (h("label", { class: "char-count", htmlFor: this.inputid }, `${this.value.length}/${this.maxlength}`)))), h("div", { class: "input-container" }, 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 }), h("svg", { class: "pn-input-checkmark", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none" }, h("polyline", { class: "checkmark-path", points: "4,12 9,17 20,6", "stroke-width": "3" })), this.type === "password" && !this.disabled && (h("button", { onClick: () => this.toggleTextVisibility() }, "Show"))), this.getTextMessage() && (h("small", null, this.error && h("pn-icon", { symbol: "alert-exclamation-circle", small: true, color: "warning" }), this.getTextMessage()))));
59
70
  }
60
71
  static get is() { return "pn-marketweb-input"; }
61
72
  static get originalStyleUrls() {
@@ -104,7 +115,7 @@ export class PnMarketwebInput {
104
115
  },
105
116
  "attribute": "error",
106
117
  "reflect": false,
107
- "defaultValue": "''"
118
+ "defaultValue": "\"\""
108
119
  },
109
120
  "invalid": {
110
121
  "type": "boolean",
@@ -140,7 +151,7 @@ export class PnMarketwebInput {
140
151
  },
141
152
  "attribute": "helpertext",
142
153
  "reflect": false,
143
- "defaultValue": "''"
154
+ "defaultValue": "\"\""
144
155
  },
145
156
  "label": {
146
157
  "type": "string",
@@ -158,7 +169,7 @@ export class PnMarketwebInput {
158
169
  },
159
170
  "attribute": "label",
160
171
  "reflect": false,
161
- "defaultValue": "''"
172
+ "defaultValue": "\"\""
162
173
  },
163
174
  "placeholder": {
164
175
  "type": "string",
@@ -176,7 +187,7 @@ export class PnMarketwebInput {
176
187
  },
177
188
  "attribute": "placeholder",
178
189
  "reflect": false,
179
- "defaultValue": "''"
190
+ "defaultValue": "\"\""
180
191
  },
181
192
  "inputid": {
182
193
  "type": "string",
@@ -212,7 +223,7 @@ export class PnMarketwebInput {
212
223
  },
213
224
  "attribute": "name",
214
225
  "reflect": false,
215
- "defaultValue": "''"
226
+ "defaultValue": "\"\""
216
227
  },
217
228
  "required": {
218
229
  "type": "boolean",
@@ -230,7 +241,7 @@ export class PnMarketwebInput {
230
241
  },
231
242
  "attribute": "required",
232
243
  "reflect": false,
233
- "defaultValue": "null"
244
+ "defaultValue": "false"
234
245
  },
235
246
  "type": {
236
247
  "type": "string",
@@ -248,7 +259,7 @@ export class PnMarketwebInput {
248
259
  },
249
260
  "attribute": "type",
250
261
  "reflect": false,
251
- "defaultValue": "'text'"
262
+ "defaultValue": "\"text\""
252
263
  },
253
264
  "autocomplete": {
254
265
  "type": "string",
@@ -266,7 +277,7 @@ export class PnMarketwebInput {
266
277
  },
267
278
  "attribute": "autocomplete",
268
279
  "reflect": false,
269
- "defaultValue": "''"
280
+ "defaultValue": "\"\""
270
281
  },
271
282
  "valid": {
272
283
  "type": "boolean",
@@ -302,7 +313,7 @@ export class PnMarketwebInput {
302
313
  },
303
314
  "attribute": "value",
304
315
  "reflect": false,
305
- "defaultValue": "''"
316
+ "defaultValue": "\"\""
306
317
  },
307
318
  "maxlength": {
308
319
  "type": "string",
@@ -320,7 +331,7 @@ export class PnMarketwebInput {
320
331
  },
321
332
  "attribute": "maxlength",
322
333
  "reflect": false,
323
- "defaultValue": "''"
334
+ "defaultValue": "\"\""
324
335
  },
325
336
  "min": {
326
337
  "type": "string",
@@ -338,7 +349,7 @@ export class PnMarketwebInput {
338
349
  },
339
350
  "attribute": "min",
340
351
  "reflect": false,
341
- "defaultValue": "''"
352
+ "defaultValue": "\"\""
342
353
  },
343
354
  "max": {
344
355
  "type": "string",
@@ -356,7 +367,7 @@ export class PnMarketwebInput {
356
367
  },
357
368
  "attribute": "max",
358
369
  "reflect": false,
359
- "defaultValue": "''"
370
+ "defaultValue": "\"\""
360
371
  },
361
372
  "step": {
362
373
  "type": "string",
@@ -374,7 +385,7 @@ export class PnMarketwebInput {
374
385
  },
375
386
  "attribute": "step",
376
387
  "reflect": false,
377
- "defaultValue": "''"
388
+ "defaultValue": "\"\""
378
389
  },
379
390
  "pattern": {
380
391
  "type": "string",
@@ -392,7 +403,7 @@ export class PnMarketwebInput {
392
403
  },
393
404
  "attribute": "pattern",
394
405
  "reflect": false,
395
- "defaultValue": "''"
406
+ "defaultValue": "\"\""
396
407
  }
397
408
  };
398
409
  }
@@ -17,6 +17,7 @@ export class PnMarketwebSiteheader {
17
17
  this.cache = false;
18
18
  this.theme = 'default';
19
19
  this.backgroundcolor = 'darkestblue';
20
+ this.showSwan = false;
20
21
  this.siteDefinition = undefined;
21
22
  this.footerContent = undefined;
22
23
  this.i18n = undefined;
@@ -177,11 +178,11 @@ export class PnMarketwebSiteheader {
177
178
  }
178
179
  renderSwanComponent() {
179
180
  var _a, _b, _c, _d;
180
- return (((_b = (_a = this.footerContent) === null || _a === void 0 ? void 0 : _a.swanInfo) === null || _b === void 0 ? void 0 : _b.showSwan) && (h("div", { class: "swan-wrapper" }, h("div", { class: "separator" }), h("pn-swan", { language: this.language, "license-number": (_d = (_c = this.footerContent) === null || _c === void 0 ? void 0 : _c.swanInfo) === null || _d === void 0 ? void 0 : _d.swanLicense }))));
181
+ return (this.showSwan && (h("div", { class: "swan-wrapper" }, h("div", { class: "separator" }), 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 }))));
181
182
  }
182
183
  renderDotComFooter() {
183
- var _a, _b, _c, _d, _e, _f;
184
- return (h(Host, { language: this.language, market: this.market, environment: this.environment }, 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(), h("slot", { name: "middle-extra" }), h("slot", { name: "middle-extra-mobile" }), h("div", { slot: "bottom" }, h("div", { class: `social-media ${((_d = (_c = this.footerContent) === null || _c === void 0 ? void 0 : _c.swanInfo) === null || _d === void 0 ? void 0 : _d.showSwan) ? 'social-media--swan' : ''}` }, h("ul", null, this.renderSocialMeidaIconListElements()), this.renderSwanComponent()), h("div", { class: "copyright" }, this.gotData && ((_e = this.footerContent) === null || _e === void 0 ? void 0 : _e.copyrightText) ? h("span", null, this.footerContent.copyrightText) : null, this.gotData && ((_f = this.footerContent) === null || _f === void 0 ? void 0 : _f.bottomLinks) ? h("ul", null, this.renderBottomLinks()) : null)))));
184
+ var _a, _b, _c, _d;
185
+ return (h(Host, { language: this.language, market: this.market, environment: this.environment }, 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(), h("slot", { name: "middle-extra" }), h("slot", { name: "middle-extra-mobile" }), h("div", { slot: "bottom" }, h("div", { class: `social-media ${this.showSwan ? 'social-media--swan' : ''}` }, h("ul", null, this.renderSocialMeidaIconListElements()), this.renderSwanComponent()), h("div", { class: "copyright" }, this.gotData && ((_c = this.footerContent) === null || _c === void 0 ? void 0 : _c.copyrightText) ? h("span", null, this.footerContent.copyrightText) : null, this.gotData && ((_d = this.footerContent) === null || _d === void 0 ? void 0 : _d.bottomLinks) ? h("ul", null, this.renderBottomLinks()) : null)))));
185
186
  }
186
187
  render() {
187
188
  switch (this.theme) {
@@ -347,6 +348,24 @@ export class PnMarketwebSiteheader {
347
348
  "attribute": "backgroundcolor",
348
349
  "reflect": true,
349
350
  "defaultValue": "'darkestblue'"
351
+ },
352
+ "showSwan": {
353
+ "type": "boolean",
354
+ "mutable": false,
355
+ "complexType": {
356
+ "original": "boolean",
357
+ "resolved": "boolean",
358
+ "references": {}
359
+ },
360
+ "required": false,
361
+ "optional": false,
362
+ "docs": {
363
+ "tags": [],
364
+ "text": "swan flag - default false"
365
+ },
366
+ "attribute": "show-swan",
367
+ "reflect": false,
368
+ "defaultValue": "false"
350
369
  }
351
370
  };
352
371
  }
@@ -175,6 +175,7 @@ const TemplateGrayDotComSwan = ({ ...args }) => {
175
175
  backgroundcolor="gray"
176
176
  site-domain-in-urls="true"
177
177
  theme="dotcom"
178
+ show-swan="${args.showSwan}
178
179
  >
179
180
  </pn-marketweb-sitefooter>
180
181
  `;
@@ -185,6 +186,7 @@ GrayDotComSwan.args = {
185
186
  market: 'se',
186
187
  language: 'sv',
187
188
  endpoint: 'http://localhost:51444/',
189
+ showSwan: true,
188
190
  };
189
191
 
190
192
  const TemplateTPL = ({ ...args }) => {
@@ -1,8 +1,19 @@
1
+ pn-swan a {
2
+ text-decoration: none;
3
+ }
4
+ pn-swan a:hover {
5
+ text-decoration: none;
6
+ }
7
+ pn-swan a:hover span,
8
+ pn-swan a:hover .pn-swan-text {
9
+ text-decoration: underline;
10
+ }
1
11
  pn-swan .pn-swan__wrapper {
2
12
  display: flex;
3
13
  flex-direction: column-reverse;
4
14
  align-items: center;
5
15
  gap: 0.8rem;
16
+ color: #2D2013;
6
17
  }
7
18
  @media screen and (min-width: 768px) {
8
19
  pn-swan .pn-swan__wrapper {
@@ -32,6 +43,7 @@ pn-swan .pn-swan-text {
32
43
  font-size: 1.2rem;
33
44
  max-width: 20rem;
34
45
  text-align: center;
46
+ color: #005D92;
35
47
  }
36
48
  @media screen and (min-width: 768px) {
37
49
  pn-swan .pn-swan-text {
@@ -4,6 +4,7 @@ export class PnSwan {
4
4
  constructor() {
5
5
  this.licenseNumber = undefined;
6
6
  this.language = 'sv';
7
+ this.linkTo = undefined;
7
8
  this.i18n = undefined;
8
9
  }
9
10
  componentWillLoad() {
@@ -21,7 +22,7 @@ export class PnSwan {
21
22
  this.setTranslations();
22
23
  }
23
24
  render() {
24
- return (h(Host, null, h("div", { class: "pn-swan__wrapper" }, h("div", { class: "pn-swan-icon__wrapper" }, h("div", { class: "pn-swan-icon" }, h("svg", { viewBox: "0 0 57 57", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { "clip-path": "url(#clip0_17509_174280)" }, 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" })), h("defs", null, h("clipPath", { id: "clip0_17509_174280" }, h("rect", { width: "56", height: "56", fill: "white", transform: "translate(0.5 0.5)" }))))), h("div", { class: "pn-swan-icon__preamble" }, this.i18n.preamble, " ", h("span", null, this.licenseNumber))), h("div", { class: "pn-swan-text" }, this.i18n.text))));
25
+ return (h(Host, null, h("a", { href: this.linkTo }, h("div", { class: "pn-swan__wrapper" }, h("div", { class: "pn-swan-icon__wrapper" }, h("div", { class: "pn-swan-icon" }, h("svg", { viewBox: "0 0 57 57", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("g", { "clip-path": "url(#clip0_17509_174280)" }, 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" }), 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" })), h("defs", null, h("clipPath", { id: "clip0_17509_174280" }, h("rect", { width: "56", height: "56", fill: "white", transform: "translate(0.5 0.5)" }))))), h("div", { class: "pn-swan-icon__preamble" }, this.i18n.preamble, " ", h("span", null, this.licenseNumber))), h("div", { class: "pn-swan-text" }, this.i18n.text)))));
25
26
  }
26
27
  static get is() { return "pn-swan"; }
27
28
  static get originalStyleUrls() {
@@ -70,6 +71,23 @@ export class PnSwan {
70
71
  "attribute": "language",
71
72
  "reflect": true,
72
73
  "defaultValue": "'sv'"
74
+ },
75
+ "linkTo": {
76
+ "type": "string",
77
+ "mutable": false,
78
+ "complexType": {
79
+ "original": "string",
80
+ "resolved": "string",
81
+ "references": {}
82
+ },
83
+ "required": false,
84
+ "optional": false,
85
+ "docs": {
86
+ "tags": [],
87
+ "text": ""
88
+ },
89
+ "attribute": "link-to",
90
+ "reflect": false
73
91
  }
74
92
  };
75
93
  }
@@ -11,7 +11,7 @@ export default {
11
11
  const Template = ({ ...args }) => {
12
12
  return `
13
13
  <div>
14
- <pn-swan license-number="12-34-556-7H" />
14
+ <pn-swan license-number="12-34-556-7H" link-to="http://www.google.se" />
15
15
  </div>
16
16
  `;
17
17
  };
@@ -1,4 +1,5 @@
1
1
  /* PnMarketWebComponents custom elements */
2
+ export { PnAddressAutofill as PnAddressAutofill } from '../types/components/input/pn-address-autofill/pn-address-autofill';
2
3
  export { PnAnimatedTile as PnAnimatedTile } from '../types/components/animation/pn-animated-tile/pn-animated-tile';
3
4
  export { PnAppBanner as PnAppBanner } from '../types/components/minor/pn-app-banner/pn-app-banner';
4
5
  export { PnBonusProgressbar as PnBonusProgressbar } from '../types/components/input/pn-bonus-progressbar/pn-bonus-progressbar';
@@ -35,7 +36,7 @@ export { PnMarketwebSiteheaderLoginMypageButton as PnMarketwebSiteheaderLoginMyp
35
36
  export { PnMarketwebSiteheaderLoginProfileselection as PnMarketwebSiteheaderLoginProfileselection } from '../types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-profileselection';
36
37
  export { PnMarketwebSiteheaderSearch as PnMarketwebSiteheaderSearch } from '../types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search';
37
38
  export { PnMarketwebSiteheaderUnifiedLogin as PnMarketwebSiteheaderUnifiedLogin } from '../types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login';
38
- export { PnMultiFormField as PnMultiFormfield } from '../types/components/layout-components/pn-multi-formfield/pn-multi-formfield';
39
+ export { PnMultiFormField as PnMultiFormfield } from '../types/components/input/pn-multi-formfield/pn-multi-formfield';
39
40
  export { PnSpotlight as PnParcelTracker } from '../types/components/cta/pn-parcel-tracker/pn-parcel-tracker';
40
41
  export { PnPexPricefinder as PnPexPricefinder } from '../types/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder';
41
42
  export { PnPlayOnScroll as PnPlayOnScroll } from '../types/components/animation/pn-play-on-scroll/pn-play-on-scroll';
@@ -1,4 +1,5 @@
1
1
  export { setAssetPath, setNonce, setPlatformOptions } from '@stencil/core/internal/client';
2
+ export { PnAddressAutofill, defineCustomElement as defineCustomElementPnAddressAutofill } from './pn-address-autofill.js';
2
3
  export { PnAnimatedTile, defineCustomElement as defineCustomElementPnAnimatedTile } from './pn-animated-tile.js';
3
4
  export { PnAppBanner, defineCustomElement as defineCustomElementPnAppBanner } from './pn-app-banner.js';
4
5
  export { PnBonusProgressbar, defineCustomElement as defineCustomElementPnBonusProgressbar } from './pn-bonus-progressbar.js';
@@ -1,59 +1,70 @@
1
- import { c as createCommonjsModule } from './_commonjsHelpers.js';
1
+ /**
2
+ * Returns a function, that, as long as it continues to be invoked, will not
3
+ * be triggered. The function will be called after it stops being called for
4
+ * N milliseconds. If `immediate` is passed, trigger the function on the
5
+ * leading edge, instead of the trailing. The function also has a property 'clear'
6
+ * that is a function which will clear the timer to prevent previously scheduled executions.
7
+ *
8
+ * @source underscore.js
9
+ * @see http://unscriptable.com/2009/03/20/debouncing-javascript-methods/
10
+ * @param {Function} function to wrap
11
+ * @param {Number} timeout in ms (`100`)
12
+ * @param {Boolean} whether to execute at the beginning (`false`)
13
+ * @api public
14
+ */
15
+ function debounce(func, wait, immediate){
16
+ var timeout, args, context, timestamp, result;
17
+ if (null == wait) wait = 100;
2
18
 
3
- var classnames = createCommonjsModule(function (module) {
4
- /*!
5
- Copyright (c) 2018 Jed Watson.
6
- Licensed under the MIT License (MIT), see
7
- http://jedwatson.github.io/classnames
8
- */
9
- /* global define */
19
+ function later() {
20
+ var last = Date.now() - timestamp;
10
21
 
11
- (function () {
22
+ if (last < wait && last >= 0) {
23
+ timeout = setTimeout(later, wait - last);
24
+ } else {
25
+ timeout = null;
26
+ if (!immediate) {
27
+ result = func.apply(context, args);
28
+ context = args = null;
29
+ }
30
+ }
31
+ }
32
+ var debounced = function(){
33
+ context = this;
34
+ args = arguments;
35
+ timestamp = Date.now();
36
+ var callNow = immediate && !timeout;
37
+ if (!timeout) timeout = setTimeout(later, wait);
38
+ if (callNow) {
39
+ result = func.apply(context, args);
40
+ context = args = null;
41
+ }
12
42
 
13
- var hasOwn = {}.hasOwnProperty;
43
+ return result;
44
+ };
14
45
 
15
- function classNames() {
16
- var classes = [];
46
+ debounced.clear = function() {
47
+ if (timeout) {
48
+ clearTimeout(timeout);
49
+ timeout = null;
50
+ }
51
+ };
52
+
53
+ debounced.flush = function() {
54
+ if (timeout) {
55
+ result = func.apply(context, args);
56
+ context = args = null;
57
+
58
+ clearTimeout(timeout);
59
+ timeout = null;
60
+ }
61
+ };
17
62
 
18
- for (var i = 0; i < arguments.length; i++) {
19
- var arg = arguments[i];
20
- if (!arg) continue;
63
+ return debounced;
64
+ }
65
+ // Adds compatibility for ES modules
66
+ debounce.debounce = debounce;
21
67
 
22
- var argType = typeof arg;
68
+ var debounce_1 = debounce;
23
69
 
24
- if (argType === 'string' || argType === 'number') {
25
- classes.push(arg);
26
- } else if (Array.isArray(arg)) {
27
- if (arg.length) {
28
- var inner = classNames.apply(null, arg);
29
- if (inner) {
30
- classes.push(inner);
31
- }
32
- }
33
- } else if (argType === 'object') {
34
- if (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {
35
- classes.push(arg.toString());
36
- continue;
37
- }
38
-
39
- for (var key in arg) {
40
- if (hasOwn.call(arg, key) && arg[key]) {
41
- classes.push(key);
42
- }
43
- }
44
- }
45
- }
46
-
47
- return classes.join(' ');
48
- }
49
-
50
- if (module.exports) {
51
- classNames.default = classNames;
52
- module.exports = classNames;
53
- } else {
54
- window.classNames = classNames;
55
- }
56
- }());
57
- });
58
-
59
- export { classnames as c };
70
+ export { debounce_1 as d };