@postnord/pn-marketweb-components 2.1.0 → 2.1.1
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/{data-b5ef4f7c.js → data-4fa6b08d.js} +2 -2
- package/cjs/loader.cjs.js +1 -1
- package/cjs/pn-find-price-result.cjs.entry.js +4 -4
- package/cjs/{pn-find-price-store-0b8c195c.js → pn-find-price-store-a91ce3f6.js} +2 -2
- package/cjs/pn-find-price.cjs.entry.js +7 -7
- package/cjs/pn-language-selector_9.cjs.entry.js +29 -19
- package/cjs/pn-market-web-components.cjs.js +1 -1
- package/cjs/{pn-marketweb-siteheader-login-links_2.cjs.entry.js → pn-marketweb-siteheader-login-button_4.cjs.entry.js} +67 -18
- package/cjs/pn-marketweb-siteheader-login-linklist.cjs.entry.js +7 -42
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +2 -2
- package/cjs/{pn-product-card_4.cjs.entry.js → pn-product-card_3.cjs.entry.js} +0 -18
- package/cjs/pn-product-pricelist.cjs.entry.js +1 -1
- package/cjs/pn-proxio-findprice-result.cjs.entry.js +63 -0
- package/cjs/pn-proxio-findprice.cjs.entry.js +311 -0
- package/cjs/pn-proxio-pricegroup.cjs.entry.js +6 -22
- package/cjs/pn-titletag.cjs.entry.js +24 -0
- package/cjs/translations-585711ff.js +21 -0
- package/collection/collection-manifest.json +4 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.css +0 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.js +77 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.css +25 -13
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.js +14 -45
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.js +13 -23
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-mypage-button.css +0 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-mypage-button.js +55 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.js +56 -25
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.css +26 -0
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.js +3 -3
- package/collection/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader.stories.js +4 -5
- package/collection/components/widgets/pn-find-price/data.js +2 -2
- package/collection/components/widgets/pn-find-price/pn-find-price-result.js +7 -7
- package/collection/components/widgets/pn-find-price/pn-find-price-store.js +2 -2
- package/collection/components/widgets/pn-find-price/pn-find-price-translations.js +5 -5
- package/collection/components/widgets/pn-proxio-findprice/data.js +52 -0
- package/collection/components/widgets/pn-proxio-findprice/find-price.stories.js +27 -0
- package/collection/components/widgets/pn-proxio-findprice/img/clouds.svg +5 -0
- package/collection/components/widgets/pn-proxio-findprice/img/large-package.svg +9 -0
- package/collection/components/widgets/pn-proxio-findprice/img/medium-package.svg +9 -0
- package/collection/components/widgets/pn-proxio-findprice/img/postnord-person1.svg +52 -0
- package/collection/components/widgets/pn-proxio-findprice/img/postnord-person2.svg +56 -0
- package/collection/components/widgets/pn-proxio-findprice/img/small-package.svg +23 -0
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.css +9 -0
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.js +234 -0
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-store.js +29 -0
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-translations.js +106 -0
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice-types.js +1 -0
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.css +119 -0
- package/collection/components/widgets/pn-proxio-findprice/pn-proxio-findprice.js +250 -0
- package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.css +3 -0
- package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +1 -0
- package/collection/globals/MarketWebLoginManager.js +1 -1
- package/custom-elements/index.d.ts +24 -0
- package/custom-elements/index.js +634 -242
- package/esm/{data-9c9c5f41.js → data-059c2a58.js} +2 -2
- package/esm/loader.js +1 -1
- package/esm/pn-find-price-result.entry.js +4 -4
- package/esm/{pn-find-price-store-b4556c9b.js → pn-find-price-store-bde5071d.js} +2 -2
- package/esm/pn-find-price.entry.js +7 -7
- package/esm/pn-language-selector_9.entry.js +29 -19
- package/esm/pn-market-web-components.js +1 -1
- package/esm/{pn-marketweb-siteheader-login-links_2.entry.js → pn-marketweb-siteheader-login-button_4.entry.js} +66 -19
- package/esm/pn-marketweb-siteheader-login-linklist.entry.js +7 -42
- package/esm/pn-marketweb-siteheader.entry.js +2 -2
- package/esm/{pn-product-card_4.entry.js → pn-product-card_3.entry.js} +2 -19
- package/esm/pn-product-pricelist.entry.js +1 -1
- package/esm/pn-proxio-findprice-result.entry.js +59 -0
- package/esm/pn-proxio-findprice.entry.js +307 -0
- package/esm/pn-proxio-pricegroup.entry.js +3 -19
- package/esm/pn-titletag.entry.js +20 -0
- package/esm/translations-022fefa0.js +19 -0
- package/esm-es5/{data-9c9c5f41.js → data-059c2a58.js} +1 -1
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-find-price-result.entry.js +1 -1
- package/esm-es5/{pn-find-price-store-b4556c9b.js → pn-find-price-store-bde5071d.js} +1 -1
- package/esm-es5/pn-find-price.entry.js +1 -1
- package/esm-es5/pn-language-selector_9.entry.js +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-marketweb-siteheader-login-button_4.entry.js +1 -0
- package/esm-es5/pn-marketweb-siteheader-login-linklist.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
- package/esm-es5/pn-product-card_3.entry.js +1 -0
- package/esm-es5/pn-product-pricelist.entry.js +1 -1
- package/esm-es5/pn-proxio-findprice-result.entry.js +1 -0
- package/esm-es5/pn-proxio-findprice.entry.js +1 -0
- package/esm-es5/pn-proxio-pricegroup.entry.js +1 -1
- package/esm-es5/pn-titletag.entry.js +1 -0
- package/esm-es5/translations-022fefa0.js +1 -0
- package/package.json +1 -1
- package/pn-market-web-components/p-10eafcd7.entry.js +1 -0
- package/pn-market-web-components/p-20be85a1.system.entry.js +1 -0
- package/pn-market-web-components/p-2b4c41aa.system.entry.js +1 -0
- package/pn-market-web-components/{p-37017f68.system.js → p-3738a2df.system.js} +1 -1
- package/pn-market-web-components/p-3969ec4d.entry.js +1 -0
- package/pn-market-web-components/p-499bb3ac.entry.js +1 -0
- package/pn-market-web-components/p-4a03854b.system.entry.js +1 -0
- package/pn-market-web-components/p-557328e3.system.entry.js +1 -0
- package/pn-market-web-components/{p-ac0e3c22.system.entry.js → p-59be826b.system.entry.js} +1 -1
- package/pn-market-web-components/p-67887512.system.js +1 -1
- package/pn-market-web-components/{p-0b0727dc.entry.js → p-70b360dd.entry.js} +1 -1
- package/pn-market-web-components/{p-d0653c80.system.entry.js → p-7f9c643c.system.entry.js} +1 -1
- package/pn-market-web-components/p-8afa354b.system.entry.js +1 -0
- package/pn-market-web-components/{p-aab2e28f.entry.js → p-8b684578.entry.js} +1 -1
- package/pn-market-web-components/p-951861fa.entry.js +1 -0
- package/pn-market-web-components/{p-736e5b84.system.entry.js → p-98a7ddd1.system.entry.js} +1 -1
- package/pn-market-web-components/p-a120063f.js +1 -0
- package/pn-market-web-components/p-b501b216.system.js +1 -0
- package/pn-market-web-components/{p-3ae38e63.entry.js → p-b9a84e67.entry.js} +1 -1
- package/pn-market-web-components/p-dd01024a.system.entry.js +1 -0
- package/pn-market-web-components/p-de823255.entry.js +1 -0
- package/pn-market-web-components/p-e397e11b.entry.js +1 -0
- package/pn-market-web-components/p-e4ebf17d.system.entry.js +1 -0
- package/pn-market-web-components/p-e7a1cda9.entry.js +1 -0
- package/pn-market-web-components/{p-e4a4e68f.system.entry.js → p-ecdf2b69.system.entry.js} +1 -1
- package/pn-market-web-components/p-f58bde56.js +1 -0
- package/pn-market-web-components/p-f782ce94.system.entry.js +1 -0
- package/pn-market-web-components/p-fe95397b.entry.js +1 -0
- package/pn-market-web-components/p-ff83e974.entry.js +1 -0
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.d.ts +10 -0
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.d.ts +1 -2
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-links.d.ts +1 -1
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-mypage-button.d.ts +6 -0
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login.d.ts +3 -2
- package/types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-types.d.ts +10 -8
- package/types/components/widgets/pn-find-price/pn-find-price-store.d.ts +4 -4
- package/types/components/widgets/pn-find-price/pn-find-price-translations.d.ts +5 -5
- package/types/components/widgets/pn-find-price/pn-find-price-types.d.ts +2 -2
- package/types/components/widgets/pn-proxio-findprice/pn-proxio-findprice-result.d.ts +22 -0
- package/types/components/widgets/pn-proxio-findprice/pn-proxio-findprice-store.d.ts +51 -0
- package/types/components/widgets/pn-proxio-findprice/pn-proxio-findprice-translations.d.ts +106 -0
- package/types/components/widgets/pn-proxio-findprice/pn-proxio-findprice-types.d.ts +39 -0
- package/types/components/widgets/pn-proxio-findprice/pn-proxio-findprice.d.ts +24 -0
- package/types/components/widgets/pn-proxio-pricegroup/types.d.ts +1 -1
- package/types/components.d.ts +85 -1
- package/esm-es5/pn-marketweb-siteheader-login-links_2.entry.js +0 -1
- package/esm-es5/pn-product-card_4.entry.js +0 -1
- package/pn-market-web-components/p-022d9a78.entry.js +0 -1
- package/pn-market-web-components/p-198d9c77.system.entry.js +0 -1
- package/pn-market-web-components/p-332e9005.entry.js +0 -1
- package/pn-market-web-components/p-3c0d63fb.system.entry.js +0 -1
- package/pn-market-web-components/p-63c30175.entry.js +0 -1
- package/pn-market-web-components/p-6b33db5b.system.entry.js +0 -1
- package/pn-market-web-components/p-77557da8.entry.js +0 -1
- package/pn-market-web-components/p-92fd28e6.entry.js +0 -1
- package/pn-market-web-components/p-a119cb8e.entry.js +0 -1
- package/pn-market-web-components/p-c4254e9e.js +0 -1
- package/pn-market-web-components/p-d542a52b.system.entry.js +0 -1
- package/pn-market-web-components/p-eb662559.system.entry.js +0 -1
- /package/pn-market-web-components/{p-bfa7c83f.system.js → p-1534926e.system.js} +0 -0
- /package/pn-market-web-components/{p-86b52823.js → p-a07906d5.js} +0 -0
|
@@ -24,8 +24,8 @@ export interface PnfindPricei18n {
|
|
|
24
24
|
message: string;
|
|
25
25
|
servicePointHeader: string;
|
|
26
26
|
servicePointLink: string;
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
realPostcard: string;
|
|
28
|
+
realPostcardMobile: string;
|
|
29
29
|
ombudHeader: string;
|
|
30
30
|
}
|
|
31
31
|
export interface PnfindPriceMarket {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ProxioPriceGroupi18n, ProxioProduct, ProductWeightGroupListItem, ProxioPriceListGroupResponse } from "../pn-proxio-pricegroup/types";
|
|
2
|
+
export declare class PnProxioFindPriceResult {
|
|
3
|
+
item: ProxioPriceListGroupResponse;
|
|
4
|
+
activeweight: number;
|
|
5
|
+
shownitems: ProxioPriceListGroupResponse[];
|
|
6
|
+
Usp1?: string;
|
|
7
|
+
Usp2?: string;
|
|
8
|
+
Usp3?: string;
|
|
9
|
+
description?: string[];
|
|
10
|
+
showMeasurement?: boolean;
|
|
11
|
+
weightText: string;
|
|
12
|
+
linkId: string;
|
|
13
|
+
shopLabel: string;
|
|
14
|
+
shopUrl: string;
|
|
15
|
+
shopId: string;
|
|
16
|
+
i18n: ProxioPriceGroupi18n;
|
|
17
|
+
componentWillLoad(): void;
|
|
18
|
+
composeItems(): void;
|
|
19
|
+
getPriceString(product: ProxioProduct): string;
|
|
20
|
+
getProductLink(product: ProxioProduct, productWeightGroupList: ProductWeightGroupListItem[]): string;
|
|
21
|
+
render(): any;
|
|
22
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
declare const state: {
|
|
2
|
+
i18n: {
|
|
3
|
+
componentheading: string;
|
|
4
|
+
deliveryscopeheading: string;
|
|
5
|
+
resultlistheading: string;
|
|
6
|
+
sizeheading: string;
|
|
7
|
+
weightheading: string;
|
|
8
|
+
weightlabel: string;
|
|
9
|
+
maxweightlabel: string;
|
|
10
|
+
maxmeasurementlabel: string;
|
|
11
|
+
senddirectcta: string;
|
|
12
|
+
stampshopcta: string;
|
|
13
|
+
message: string;
|
|
14
|
+
servicePointHeader: string;
|
|
15
|
+
servicePointLink: string;
|
|
16
|
+
realPostcard: string;
|
|
17
|
+
realPostcardMobile: string;
|
|
18
|
+
ombudHeader: string;
|
|
19
|
+
};
|
|
20
|
+
market: {
|
|
21
|
+
currency: string;
|
|
22
|
+
country: string;
|
|
23
|
+
servicePoint: string;
|
|
24
|
+
};
|
|
25
|
+
}, onChange: import("@stencil/store/dist/types").OnChangeHandler<{
|
|
26
|
+
i18n: {
|
|
27
|
+
componentheading: string;
|
|
28
|
+
deliveryscopeheading: string;
|
|
29
|
+
resultlistheading: string;
|
|
30
|
+
sizeheading: string;
|
|
31
|
+
weightheading: string;
|
|
32
|
+
weightlabel: string;
|
|
33
|
+
maxweightlabel: string;
|
|
34
|
+
maxmeasurementlabel: string;
|
|
35
|
+
senddirectcta: string;
|
|
36
|
+
stampshopcta: string;
|
|
37
|
+
message: string;
|
|
38
|
+
servicePointHeader: string;
|
|
39
|
+
servicePointLink: string;
|
|
40
|
+
realPostcard: string;
|
|
41
|
+
realPostcardMobile: string;
|
|
42
|
+
ombudHeader: string;
|
|
43
|
+
};
|
|
44
|
+
market: {
|
|
45
|
+
currency: string;
|
|
46
|
+
country: string;
|
|
47
|
+
servicePoint: string;
|
|
48
|
+
};
|
|
49
|
+
}>;
|
|
50
|
+
export { state, onChange };
|
|
51
|
+
export default state;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
export declare const translations: {
|
|
2
|
+
sv: {
|
|
3
|
+
componentheading: string;
|
|
4
|
+
deliveryscopeheading: string;
|
|
5
|
+
resultlistheading: string;
|
|
6
|
+
sizeheading: string;
|
|
7
|
+
weightheading: string;
|
|
8
|
+
weightlabel: string;
|
|
9
|
+
maxweightlabel: string;
|
|
10
|
+
maxmeasurementlabel: string;
|
|
11
|
+
senddirectcta: string;
|
|
12
|
+
stampshopcta: string;
|
|
13
|
+
message: string;
|
|
14
|
+
servicePointHeader: string;
|
|
15
|
+
servicePointLink: string;
|
|
16
|
+
realPostcard: string;
|
|
17
|
+
realPostcardMobile: string;
|
|
18
|
+
ombudHeader: string;
|
|
19
|
+
from: string;
|
|
20
|
+
labelMaxDimensionsRoll: string;
|
|
21
|
+
labelMaxDimensions: string;
|
|
22
|
+
};
|
|
23
|
+
en: {
|
|
24
|
+
componentheading: string;
|
|
25
|
+
deliveryscopeheading: string;
|
|
26
|
+
resultlistheading: string;
|
|
27
|
+
sizeheading: string;
|
|
28
|
+
weightheading: string;
|
|
29
|
+
weightlabel: string;
|
|
30
|
+
maxweightlabel: string;
|
|
31
|
+
maxmeasurementlabel: string;
|
|
32
|
+
senddirectcta: string;
|
|
33
|
+
stampshopcta: string;
|
|
34
|
+
message: string;
|
|
35
|
+
servicePointHeader: string;
|
|
36
|
+
servicePointLink: string;
|
|
37
|
+
realPostcard: string;
|
|
38
|
+
realPostcardMobile: string;
|
|
39
|
+
ombudHeader: string;
|
|
40
|
+
from: string;
|
|
41
|
+
labelMaxDimensionsRoll: string;
|
|
42
|
+
labelMaxDimensions: string;
|
|
43
|
+
};
|
|
44
|
+
da: {
|
|
45
|
+
componentheading: string;
|
|
46
|
+
deliveryscopeheading: string;
|
|
47
|
+
resultlistheading: string;
|
|
48
|
+
sizeheading: string;
|
|
49
|
+
weightheading: string;
|
|
50
|
+
weightlabel: string;
|
|
51
|
+
maxweightlabel: string;
|
|
52
|
+
maxmeasurementlabel: string;
|
|
53
|
+
senddirectcta: string;
|
|
54
|
+
stampshopcta: string;
|
|
55
|
+
message: string;
|
|
56
|
+
servicePointHeader: string;
|
|
57
|
+
servicePointLink: string;
|
|
58
|
+
realPostcard: string;
|
|
59
|
+
ombudHeader: string;
|
|
60
|
+
from: string;
|
|
61
|
+
labelMaxDimensionsRoll: string;
|
|
62
|
+
labelMaxDimensions: string;
|
|
63
|
+
};
|
|
64
|
+
no: {
|
|
65
|
+
componentheading: string;
|
|
66
|
+
deliveryscopeheading: string;
|
|
67
|
+
resultlistheading: string;
|
|
68
|
+
weightlabel: string;
|
|
69
|
+
maxweightlabel: string;
|
|
70
|
+
maxmeasurementlabel: string;
|
|
71
|
+
senddirectcta: string;
|
|
72
|
+
stampshopcta: string;
|
|
73
|
+
};
|
|
74
|
+
fi: {
|
|
75
|
+
componentheading: string;
|
|
76
|
+
deliveryscopeheading: string;
|
|
77
|
+
resultlistheading: string;
|
|
78
|
+
weightlabel: string;
|
|
79
|
+
maxweightlabel: string;
|
|
80
|
+
maxmeasurementlabel: string;
|
|
81
|
+
senddirectcta: string;
|
|
82
|
+
stampshopcta: string;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
export declare const markets: {
|
|
86
|
+
se: {
|
|
87
|
+
currency: string;
|
|
88
|
+
country: string;
|
|
89
|
+
servicePoint: string;
|
|
90
|
+
};
|
|
91
|
+
dk: {
|
|
92
|
+
currency: string;
|
|
93
|
+
country: string;
|
|
94
|
+
servicePoint: string;
|
|
95
|
+
};
|
|
96
|
+
fi: {
|
|
97
|
+
currency: string;
|
|
98
|
+
country: string;
|
|
99
|
+
servicePoint: string;
|
|
100
|
+
};
|
|
101
|
+
no: {
|
|
102
|
+
currency: string;
|
|
103
|
+
country: string;
|
|
104
|
+
servicePoint: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ProxioPriceListGroupResponse } from "../pn-proxio-pricegroup/types";
|
|
2
|
+
export interface ProxioPriceListGroupsResponse {
|
|
3
|
+
proxioProducts: ProxioPriceListGroupResponse[];
|
|
4
|
+
}
|
|
5
|
+
export interface ProxioProductFindPriceWeight {
|
|
6
|
+
name: string;
|
|
7
|
+
abbreviation: string;
|
|
8
|
+
value: number;
|
|
9
|
+
}
|
|
10
|
+
export interface ProxioProductFindPriceSizeCategory {
|
|
11
|
+
name: string;
|
|
12
|
+
value: string;
|
|
13
|
+
icon: string;
|
|
14
|
+
unit: string;
|
|
15
|
+
maxWeight: number;
|
|
16
|
+
}
|
|
17
|
+
export interface ProxioProductFindPriceMarket {
|
|
18
|
+
country: string;
|
|
19
|
+
currency: string;
|
|
20
|
+
servicePoint: string;
|
|
21
|
+
}
|
|
22
|
+
export interface ProxioFindPricei18n {
|
|
23
|
+
componentheading: string;
|
|
24
|
+
deliveryscopeheading: string;
|
|
25
|
+
resultlistheading: string;
|
|
26
|
+
sizeheading: string;
|
|
27
|
+
weightheading: string;
|
|
28
|
+
weightlabel: string;
|
|
29
|
+
maxweightlabel: string;
|
|
30
|
+
maxmeasurementlabel: string;
|
|
31
|
+
senddirectcta: string;
|
|
32
|
+
stampshopcta: string;
|
|
33
|
+
message: string;
|
|
34
|
+
servicePointHeader: string;
|
|
35
|
+
servicePointLink: string;
|
|
36
|
+
realPostcard: string;
|
|
37
|
+
realPostcardMobile: string;
|
|
38
|
+
ombudHeader: string;
|
|
39
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ProxioPriceListGroupResponse } from "../pn-proxio-pricegroup/types";
|
|
2
|
+
import { ProxioPriceListGroupsResponse, ProxioProductFindPriceWeight, ProxioProductFindPriceSizeCategory } from "./pn-proxio-findprice-types";
|
|
3
|
+
import { FetchHelper } from "../../../globals/FetchHelper";
|
|
4
|
+
export declare class PnProxioFindPrice {
|
|
5
|
+
endpoint: string;
|
|
6
|
+
language: string;
|
|
7
|
+
market: string;
|
|
8
|
+
cache: boolean;
|
|
9
|
+
filteredItems: ProxioPriceListGroupResponse[];
|
|
10
|
+
weight: ProxioProductFindPriceWeight;
|
|
11
|
+
weightvalue: number;
|
|
12
|
+
sizecategory: ProxioProductFindPriceSizeCategory;
|
|
13
|
+
data: ProxioPriceListGroupsResponse;
|
|
14
|
+
fetchHelper: FetchHelper;
|
|
15
|
+
componentWillLoad(): void;
|
|
16
|
+
setInitialValues(href?: string): Promise<void>;
|
|
17
|
+
init(): void;
|
|
18
|
+
getDataSource(): Promise<void>;
|
|
19
|
+
fetchData(): Promise<void>;
|
|
20
|
+
onFetchData(data: any): void;
|
|
21
|
+
setState(): void;
|
|
22
|
+
filterItems(): void;
|
|
23
|
+
render(): any;
|
|
24
|
+
}
|
package/types/components.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
|
8
8
|
import { ProductPriceItem } from "./components/widgets/pn-find-price/pn-find-price-types";
|
|
9
9
|
import { ProductPriceItem as ProductPriceItem1 } from "./globals/shared/productprice/product-price-types";
|
|
10
10
|
import { LoginDialog, LoginDialogLink, ProfileSelectorCustomerItem, ProfileSelectorOrganization, SiteHeaderI18N, SiteHeaderSearch } from "./components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-types";
|
|
11
|
-
import { ProductGenericItem } from "./components/widgets/pn-proxio-pricegroup/types";
|
|
11
|
+
import { ProductGenericItem, ProxioPriceListGroupResponse } from "./components/widgets/pn-proxio-pricegroup/types";
|
|
12
12
|
export namespace Components {
|
|
13
13
|
interface PnBonusProgressbar {
|
|
14
14
|
"bonuspercentage": string;
|
|
@@ -364,6 +364,7 @@ export namespace Components {
|
|
|
364
364
|
* Specifies which endpoint domain we should load from
|
|
365
365
|
*/
|
|
366
366
|
"endpoint": string;
|
|
367
|
+
"environment"?: string;
|
|
367
368
|
/**
|
|
368
369
|
* User Fullname
|
|
369
370
|
*/
|
|
@@ -381,6 +382,9 @@ export namespace Components {
|
|
|
381
382
|
*/
|
|
382
383
|
"token": string;
|
|
383
384
|
}
|
|
385
|
+
interface PnMarketwebSiteheaderLoginButton {
|
|
386
|
+
"label": string;
|
|
387
|
+
}
|
|
384
388
|
interface PnMarketwebSiteheaderLoginLinklist {
|
|
385
389
|
"heading": string;
|
|
386
390
|
"idNamespace": string;
|
|
@@ -392,6 +396,10 @@ export namespace Components {
|
|
|
392
396
|
"loginDialog": LoginDialog;
|
|
393
397
|
"username": string;
|
|
394
398
|
}
|
|
399
|
+
interface PnMarketwebSiteheaderLoginMypageButton {
|
|
400
|
+
"label": string;
|
|
401
|
+
"myPageUrl": string;
|
|
402
|
+
}
|
|
395
403
|
interface PnMarketwebSiteheaderLoginProfileselection {
|
|
396
404
|
"currentProfile": ProfileSelectorCustomerItem;
|
|
397
405
|
"endpoint": string;
|
|
@@ -519,6 +527,22 @@ export namespace Components {
|
|
|
519
527
|
"heading": string;
|
|
520
528
|
"url": string;
|
|
521
529
|
}
|
|
530
|
+
interface PnProxioFindprice {
|
|
531
|
+
"cache": boolean;
|
|
532
|
+
"endpoint": string;
|
|
533
|
+
"language": string;
|
|
534
|
+
"market": string;
|
|
535
|
+
}
|
|
536
|
+
interface PnProxioFindpriceResult {
|
|
537
|
+
"Usp1"?: string;
|
|
538
|
+
"Usp2"?: string;
|
|
539
|
+
"Usp3"?: string;
|
|
540
|
+
"activeweight": number;
|
|
541
|
+
"description"?: string[];
|
|
542
|
+
"item": ProxioPriceListGroupResponse;
|
|
543
|
+
"showMeasurement"?: boolean;
|
|
544
|
+
"shownitems": ProxioPriceListGroupResponse[];
|
|
545
|
+
}
|
|
522
546
|
interface PnProxioPricegroup {
|
|
523
547
|
"cache": boolean;
|
|
524
548
|
/**
|
|
@@ -809,6 +833,12 @@ declare global {
|
|
|
809
833
|
prototype: HTMLPnMarketwebSiteheaderLoginElement;
|
|
810
834
|
new (): HTMLPnMarketwebSiteheaderLoginElement;
|
|
811
835
|
};
|
|
836
|
+
interface HTMLPnMarketwebSiteheaderLoginButtonElement extends Components.PnMarketwebSiteheaderLoginButton, HTMLStencilElement {
|
|
837
|
+
}
|
|
838
|
+
var HTMLPnMarketwebSiteheaderLoginButtonElement: {
|
|
839
|
+
prototype: HTMLPnMarketwebSiteheaderLoginButtonElement;
|
|
840
|
+
new (): HTMLPnMarketwebSiteheaderLoginButtonElement;
|
|
841
|
+
};
|
|
812
842
|
interface HTMLPnMarketwebSiteheaderLoginLinklistElement extends Components.PnMarketwebSiteheaderLoginLinklist, HTMLStencilElement {
|
|
813
843
|
}
|
|
814
844
|
var HTMLPnMarketwebSiteheaderLoginLinklistElement: {
|
|
@@ -821,6 +851,12 @@ declare global {
|
|
|
821
851
|
prototype: HTMLPnMarketwebSiteheaderLoginLinksElement;
|
|
822
852
|
new (): HTMLPnMarketwebSiteheaderLoginLinksElement;
|
|
823
853
|
};
|
|
854
|
+
interface HTMLPnMarketwebSiteheaderLoginMypageButtonElement extends Components.PnMarketwebSiteheaderLoginMypageButton, HTMLStencilElement {
|
|
855
|
+
}
|
|
856
|
+
var HTMLPnMarketwebSiteheaderLoginMypageButtonElement: {
|
|
857
|
+
prototype: HTMLPnMarketwebSiteheaderLoginMypageButtonElement;
|
|
858
|
+
new (): HTMLPnMarketwebSiteheaderLoginMypageButtonElement;
|
|
859
|
+
};
|
|
824
860
|
interface HTMLPnMarketwebSiteheaderLoginProfileselectionElement extends Components.PnMarketwebSiteheaderLoginProfileselection, HTMLStencilElement {
|
|
825
861
|
}
|
|
826
862
|
var HTMLPnMarketwebSiteheaderLoginProfileselectionElement: {
|
|
@@ -929,6 +965,18 @@ declare global {
|
|
|
929
965
|
prototype: HTMLPnProfileSelectorOptionElement;
|
|
930
966
|
new (): HTMLPnProfileSelectorOptionElement;
|
|
931
967
|
};
|
|
968
|
+
interface HTMLPnProxioFindpriceElement extends Components.PnProxioFindprice, HTMLStencilElement {
|
|
969
|
+
}
|
|
970
|
+
var HTMLPnProxioFindpriceElement: {
|
|
971
|
+
prototype: HTMLPnProxioFindpriceElement;
|
|
972
|
+
new (): HTMLPnProxioFindpriceElement;
|
|
973
|
+
};
|
|
974
|
+
interface HTMLPnProxioFindpriceResultElement extends Components.PnProxioFindpriceResult, HTMLStencilElement {
|
|
975
|
+
}
|
|
976
|
+
var HTMLPnProxioFindpriceResultElement: {
|
|
977
|
+
prototype: HTMLPnProxioFindpriceResultElement;
|
|
978
|
+
new (): HTMLPnProxioFindpriceResultElement;
|
|
979
|
+
};
|
|
932
980
|
interface HTMLPnProxioPricegroupElement extends Components.PnProxioPricegroup, HTMLStencilElement {
|
|
933
981
|
}
|
|
934
982
|
var HTMLPnProxioPricegroupElement: {
|
|
@@ -1075,8 +1123,10 @@ declare global {
|
|
|
1075
1123
|
"pn-marketweb-sitefooter": HTMLPnMarketwebSitefooterElement;
|
|
1076
1124
|
"pn-marketweb-siteheader": HTMLPnMarketwebSiteheaderElement;
|
|
1077
1125
|
"pn-marketweb-siteheader-login": HTMLPnMarketwebSiteheaderLoginElement;
|
|
1126
|
+
"pn-marketweb-siteheader-login-button": HTMLPnMarketwebSiteheaderLoginButtonElement;
|
|
1078
1127
|
"pn-marketweb-siteheader-login-linklist": HTMLPnMarketwebSiteheaderLoginLinklistElement;
|
|
1079
1128
|
"pn-marketweb-siteheader-login-links": HTMLPnMarketwebSiteheaderLoginLinksElement;
|
|
1129
|
+
"pn-marketweb-siteheader-login-mypage-button": HTMLPnMarketwebSiteheaderLoginMypageButtonElement;
|
|
1080
1130
|
"pn-marketweb-siteheader-login-profileselection": HTMLPnMarketwebSiteheaderLoginProfileselectionElement;
|
|
1081
1131
|
"pn-marketweb-siteheader-search": HTMLPnMarketwebSiteheaderSearchElement;
|
|
1082
1132
|
"pn-parcel-tracker": HTMLPnParcelTrackerElement;
|
|
@@ -1095,6 +1145,8 @@ declare global {
|
|
|
1095
1145
|
"pn-profile-modal-type": HTMLPnProfileModalTypeElement;
|
|
1096
1146
|
"pn-profile-selector": HTMLPnProfileSelectorElement;
|
|
1097
1147
|
"pn-profile-selector-option": HTMLPnProfileSelectorOptionElement;
|
|
1148
|
+
"pn-proxio-findprice": HTMLPnProxioFindpriceElement;
|
|
1149
|
+
"pn-proxio-findprice-result": HTMLPnProxioFindpriceResultElement;
|
|
1098
1150
|
"pn-proxio-pricegroup": HTMLPnProxioPricegroupElement;
|
|
1099
1151
|
"pn-proxio-productcard": HTMLPnProxioProductcardElement;
|
|
1100
1152
|
"pn-proxio-productcard-description": HTMLPnProxioProductcardDescriptionElement;
|
|
@@ -1487,6 +1539,7 @@ declare namespace LocalJSX {
|
|
|
1487
1539
|
* Specifies which endpoint domain we should load from
|
|
1488
1540
|
*/
|
|
1489
1541
|
"endpoint"?: string;
|
|
1542
|
+
"environment"?: string;
|
|
1490
1543
|
/**
|
|
1491
1544
|
* User Fullname
|
|
1492
1545
|
*/
|
|
@@ -1505,6 +1558,9 @@ declare namespace LocalJSX {
|
|
|
1505
1558
|
*/
|
|
1506
1559
|
"token"?: string;
|
|
1507
1560
|
}
|
|
1561
|
+
interface PnMarketwebSiteheaderLoginButton {
|
|
1562
|
+
"label"?: string;
|
|
1563
|
+
}
|
|
1508
1564
|
interface PnMarketwebSiteheaderLoginLinklist {
|
|
1509
1565
|
"heading"?: string;
|
|
1510
1566
|
"idNamespace"?: string;
|
|
@@ -1516,6 +1572,10 @@ declare namespace LocalJSX {
|
|
|
1516
1572
|
"loginDialog"?: LoginDialog;
|
|
1517
1573
|
"username"?: string;
|
|
1518
1574
|
}
|
|
1575
|
+
interface PnMarketwebSiteheaderLoginMypageButton {
|
|
1576
|
+
"label"?: string;
|
|
1577
|
+
"myPageUrl"?: string;
|
|
1578
|
+
}
|
|
1519
1579
|
interface PnMarketwebSiteheaderLoginProfileselection {
|
|
1520
1580
|
"currentProfile"?: ProfileSelectorCustomerItem;
|
|
1521
1581
|
"endpoint"?: string;
|
|
@@ -1646,6 +1706,22 @@ declare namespace LocalJSX {
|
|
|
1646
1706
|
"heading"?: string;
|
|
1647
1707
|
"url"?: string;
|
|
1648
1708
|
}
|
|
1709
|
+
interface PnProxioFindprice {
|
|
1710
|
+
"cache"?: boolean;
|
|
1711
|
+
"endpoint"?: string;
|
|
1712
|
+
"language"?: string;
|
|
1713
|
+
"market"?: string;
|
|
1714
|
+
}
|
|
1715
|
+
interface PnProxioFindpriceResult {
|
|
1716
|
+
"Usp1"?: string;
|
|
1717
|
+
"Usp2"?: string;
|
|
1718
|
+
"Usp3"?: string;
|
|
1719
|
+
"activeweight"?: number;
|
|
1720
|
+
"description"?: string[];
|
|
1721
|
+
"item"?: ProxioPriceListGroupResponse;
|
|
1722
|
+
"showMeasurement"?: boolean;
|
|
1723
|
+
"shownitems"?: ProxioPriceListGroupResponse[];
|
|
1724
|
+
}
|
|
1649
1725
|
interface PnProxioPricegroup {
|
|
1650
1726
|
"cache"?: boolean;
|
|
1651
1727
|
/**
|
|
@@ -1810,8 +1886,10 @@ declare namespace LocalJSX {
|
|
|
1810
1886
|
"pn-marketweb-sitefooter": PnMarketwebSitefooter;
|
|
1811
1887
|
"pn-marketweb-siteheader": PnMarketwebSiteheader;
|
|
1812
1888
|
"pn-marketweb-siteheader-login": PnMarketwebSiteheaderLogin;
|
|
1889
|
+
"pn-marketweb-siteheader-login-button": PnMarketwebSiteheaderLoginButton;
|
|
1813
1890
|
"pn-marketweb-siteheader-login-linklist": PnMarketwebSiteheaderLoginLinklist;
|
|
1814
1891
|
"pn-marketweb-siteheader-login-links": PnMarketwebSiteheaderLoginLinks;
|
|
1892
|
+
"pn-marketweb-siteheader-login-mypage-button": PnMarketwebSiteheaderLoginMypageButton;
|
|
1815
1893
|
"pn-marketweb-siteheader-login-profileselection": PnMarketwebSiteheaderLoginProfileselection;
|
|
1816
1894
|
"pn-marketweb-siteheader-search": PnMarketwebSiteheaderSearch;
|
|
1817
1895
|
"pn-parcel-tracker": PnParcelTracker;
|
|
@@ -1830,6 +1908,8 @@ declare namespace LocalJSX {
|
|
|
1830
1908
|
"pn-profile-modal-type": PnProfileModalType;
|
|
1831
1909
|
"pn-profile-selector": PnProfileSelector;
|
|
1832
1910
|
"pn-profile-selector-option": PnProfileSelectorOption;
|
|
1911
|
+
"pn-proxio-findprice": PnProxioFindprice;
|
|
1912
|
+
"pn-proxio-findprice-result": PnProxioFindpriceResult;
|
|
1833
1913
|
"pn-proxio-pricegroup": PnProxioPricegroup;
|
|
1834
1914
|
"pn-proxio-productcard": PnProxioProductcard;
|
|
1835
1915
|
"pn-proxio-productcard-description": PnProxioProductcardDescription;
|
|
@@ -1881,8 +1961,10 @@ declare module "@stencil/core" {
|
|
|
1881
1961
|
"pn-marketweb-sitefooter": LocalJSX.PnMarketwebSitefooter & JSXBase.HTMLAttributes<HTMLPnMarketwebSitefooterElement>;
|
|
1882
1962
|
"pn-marketweb-siteheader": LocalJSX.PnMarketwebSiteheader & JSXBase.HTMLAttributes<HTMLPnMarketwebSiteheaderElement>;
|
|
1883
1963
|
"pn-marketweb-siteheader-login": LocalJSX.PnMarketwebSiteheaderLogin & JSXBase.HTMLAttributes<HTMLPnMarketwebSiteheaderLoginElement>;
|
|
1964
|
+
"pn-marketweb-siteheader-login-button": LocalJSX.PnMarketwebSiteheaderLoginButton & JSXBase.HTMLAttributes<HTMLPnMarketwebSiteheaderLoginButtonElement>;
|
|
1884
1965
|
"pn-marketweb-siteheader-login-linklist": LocalJSX.PnMarketwebSiteheaderLoginLinklist & JSXBase.HTMLAttributes<HTMLPnMarketwebSiteheaderLoginLinklistElement>;
|
|
1885
1966
|
"pn-marketweb-siteheader-login-links": LocalJSX.PnMarketwebSiteheaderLoginLinks & JSXBase.HTMLAttributes<HTMLPnMarketwebSiteheaderLoginLinksElement>;
|
|
1967
|
+
"pn-marketweb-siteheader-login-mypage-button": LocalJSX.PnMarketwebSiteheaderLoginMypageButton & JSXBase.HTMLAttributes<HTMLPnMarketwebSiteheaderLoginMypageButtonElement>;
|
|
1886
1968
|
"pn-marketweb-siteheader-login-profileselection": LocalJSX.PnMarketwebSiteheaderLoginProfileselection & JSXBase.HTMLAttributes<HTMLPnMarketwebSiteheaderLoginProfileselectionElement>;
|
|
1887
1969
|
"pn-marketweb-siteheader-search": LocalJSX.PnMarketwebSiteheaderSearch & JSXBase.HTMLAttributes<HTMLPnMarketwebSiteheaderSearchElement>;
|
|
1888
1970
|
"pn-parcel-tracker": LocalJSX.PnParcelTracker & JSXBase.HTMLAttributes<HTMLPnParcelTrackerElement>;
|
|
@@ -1901,6 +1983,8 @@ declare module "@stencil/core" {
|
|
|
1901
1983
|
"pn-profile-modal-type": LocalJSX.PnProfileModalType & JSXBase.HTMLAttributes<HTMLPnProfileModalTypeElement>;
|
|
1902
1984
|
"pn-profile-selector": LocalJSX.PnProfileSelector & JSXBase.HTMLAttributes<HTMLPnProfileSelectorElement>;
|
|
1903
1985
|
"pn-profile-selector-option": LocalJSX.PnProfileSelectorOption & JSXBase.HTMLAttributes<HTMLPnProfileSelectorOptionElement>;
|
|
1986
|
+
"pn-proxio-findprice": LocalJSX.PnProxioFindprice & JSXBase.HTMLAttributes<HTMLPnProxioFindpriceElement>;
|
|
1987
|
+
"pn-proxio-findprice-result": LocalJSX.PnProxioFindpriceResult & JSXBase.HTMLAttributes<HTMLPnProxioFindpriceResultElement>;
|
|
1904
1988
|
"pn-proxio-pricegroup": LocalJSX.PnProxioPricegroup & JSXBase.HTMLAttributes<HTMLPnProxioPricegroupElement>;
|
|
1905
1989
|
"pn-proxio-productcard": LocalJSX.PnProxioProductcard & JSXBase.HTMLAttributes<HTMLPnProxioProductcardElement>;
|
|
1906
1990
|
"pn-proxio-productcard-description": LocalJSX.PnProxioProductcardDescription & JSXBase.HTMLAttributes<HTMLPnProxioProductcardDescriptionElement>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,i,n,t){function o(e){return e instanceof n?e:new n((function(i){i(e)}))}return new(n||(n=Promise))((function(n,r){function l(e){try{s(t.next(e))}catch(i){r(i)}}function a(e){try{s(t["throw"](e))}catch(i){r(i)}}function s(e){e.done?n(e.value):o(e.value).then(l,a)}s((t=t.apply(e,i||[])).next())}))};var __generator=this&&this.__generator||function(e,i){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},t,o,r,l;return l={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function a(e){return function(i){return s([e,i])}}function s(l){if(t)throw new TypeError("Generator is already executing.");while(n)try{if(t=1,o&&(r=l[0]&2?o["return"]:l[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,l[1])).done)return r;if(o=0,r)l=[l[0]&2,r.value];switch(l[0]){case 0:case 1:r=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;o=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!r||l[1]>r[0]&&l[1]<r[3])){n.label=l[1];break}if(l[0]===6&&n.label<r[1]){n.label=r[1];r=l;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(l);break}if(r[2])n.ops.pop();n.trys.pop();continue}l=i.call(e,n)}catch(a){l=[6,a];o=0}finally{t=r=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";import{s as state}from"./pn-marketweb-siteheader-store-cd0a1dab.js";import"./index-7b21ecff.js";var pnMarketwebSiteheaderLoginLinksCss="";var PnMarketwebSiteheaderLoginLinks=function(){function e(e){registerInstance(this,e);this.loginDialog=null;this.idNamespace="";this.loggedin=false;this.username=""}e.prototype.componentWillLoad=function(){this.init()};e.prototype.init=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.adjustLoginLinks();return[2]}))}))};e.prototype.adjustLoginLinks=function(){var e,i,n,t;if(!this.loginDialog){return}var o=function(e,i){if(!e.isLogoutLink){e.isLogoutLink=e.pageLink.indexOf("location.href")!==-1&&e.pageLink.indexOf("logout")!==-1}if(e.isLogoutLink){e.href=state.loginManager.getLogoutUrl(e.href)}e.href=e.href.replace("window.location.href",window.location.href);if(i===0&&!e.href){e.href=state.loginManager.getLoginUrl();e.linkType="primary"}if(e.primaryLinkApperance&&!e.linkType){e.linkType="primary"}};if((e=this.loginDialog)===null||e===void 0?void 0:e.loginMenuLinks){(i=this.loginDialog)===null||i===void 0?void 0:i.loginMenuLinks.forEach(o)}if((n=this.loginDialog)===null||n===void 0?void 0:n.loggedInLinks){(t=this.loginDialog)===null||t===void 0?void 0:t.loggedInLinks.forEach(o)}this.loginDialog.legacyLoginLinks=[{href:state.loginManager.getLoginUrl(this.loginDialog.loginUrl),linkText:this.loginDialog.loginLinkText,openInNewWindow:false,isLogoutLink:false,pageLink:null,linkType:"primary",primaryLinkApperance:true},{href:state.loginManager.getLoginUrl(this.loginDialog.registerUrl),linkText:this.loginDialog.createLoginLinkText,openInNewWindow:false,isLogoutLink:false,pageLink:null,primaryLinkApperance:false}]};e.prototype.render=function(){var e;if(!this.loginDialog){return}var i={username:null,loggedin:false};if(this.username){i.username=this.username;i.loggedin=this.loggedin}return h(Host,Object.assign({},i),!this.loginDialog.overrideLoginMenu?h("div",{"data-loggedin":this.loggedin+""},this.loggedin?h("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.loggedInLinks,idNamespace:this.idNamespace}):h("div",null,((e=this.loginDialog.loginMenuLinks)===null||e===void 0?void 0:e.length)>0?h("pn-marketweb-siteheader-login-linklist",{heading:this.loginDialog.loginTitle,links:this.loginDialog.loginMenuLinks,idNamespace:this.idNamespace}):h("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.legacyLoginLinks,idNamespace:this.idNamespace}))):null,this.loginDialog.overrideLoginMenu?h("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.loginMenuLinks,idNamespace:this.idNamespace}):null)};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{loginDialog:["init"]}},enumerable:false,configurable:true});return e}();PnMarketwebSiteheaderLoginLinks.style=pnMarketwebSiteheaderLoginLinksCss;var pnMarketwebSiteheaderLoginProfileselectionCss='.pn-marketweb-siteheader-login-profileselection-heading{display:block;padding:0.5rem 0 1rem}.pn-marketweb-siteheader-login-profileselection-user,.pn-marketweb-siteheader-login-profileselection-currentprofile{margin-top:1rem;margin-bottom:1rem}.pn-marketweb-siteheader-login-profileselection-user-name,.pn-marketweb-siteheader-login-profileselection-currentprofile-name{line-height:1}.pn-marketweb-siteheader-login-profileselection-user-description,.pn-marketweb-siteheader-login-profileselection-currentprofile-description{font-weight:400;white-space:normal;word-break:break-all;color:#5E554A;font-size:0.75em}.pn-marketweb-siteheader-login-profileselection-divider{height:1rem;width:100%;background:#00A0D6;position:relative;margin-left:-1em;margin-top:1.6rem;margin-bottom:1.6rem;border-radius:0 0.6em 0.6em 0;padding:0}.pn-marketweb-siteheader-login-profileselection-divider::after{content:"";width:0.6em;height:0.6em;border-radius:50%;position:absolute;right:0;top:0;background:inherit;-webkit-transform:translateX(calc(100% + 0.2em));transform:translateX(calc(100% + 0.2em))}.pn-marketweb-siteheader-login-profileselection-profileoption-link{display:-ms-flexbox;display:flex;background:#FFFFFF;-webkit-transition:background 0.15s ease-in-out;transition:background 0.15s ease-in-out;margin:0 -1em;padding:0.6rem 1.6rem;text-decoration:none;color:#005D92;-ms-flex-align:center;align-items:center}.pn-marketweb-siteheader-login-profileselection-profileoption-link:hover,.pn-marketweb-siteheader-login-profileselection-profileoption-link:focus,.pn-marketweb-siteheader-login-profileselection-profileoption-link:active{background:#F3F2F2}.pn-marketweb-siteheader-login-profileselection-profileoption-content{-ms-flex-positive:1;flex-grow:1}.pn-marketweb-siteheader-login-profileselection-profileoption-name{font-weight:700}.pn-marketweb-siteheader-login-profileselection-profileoption-description{font-weight:400;white-space:normal;word-break:break-all;color:#5E554A;font-size:0.75em}.pn-marketweb-siteheader-login-profileselection-logout{padding:1.6rem;text-align:center;width:100%}.pn-marketweb-siteheader-login-profileselection-logout-link{display:inline-block;font-weight:500;color:#005D92;text-decoration:none}.pn-marketweb-siteheader-login-profileselection-logout-link:hover,.pn-marketweb-siteheader-login-profileselection-logout-link:focus,.pn-marketweb-siteheader-login-profileselection-logout-link:active{text-decoration:underline}';var PnMarketwebSiteheaderLoginProfileselection=function(){function e(e){registerInstance(this,e);this.loginDialog=null;this.endpoint="";this.loggedin=false;this.idNamespace="";this.heading=null;this.i18n={searchlabel:"",searchplaceholder:"",searchbuttontext:"",menuHomeButton:"",menuGoBackButton:"",mainMenuButton:"",menuStartButton:"",profileSelectionFlyoutHeading:""};this.user=null;this.logoutLink=null;this.userName=null;this.userEmail="";this.currentProfile=null;this.profileoptions=[]}e.prototype.componentWillLoad=function(){var e;if(this.heading===null&&((e=this.i18n)===null||e===void 0?void 0:e.profileSelectionFlyoutHeading)){this.heading=this.i18n.profileSelectionFlyoutHeading}this.init()};e.prototype.init=function(){this.updateUserInfo();this.adjustLoginLinks();this.fetchProfiles()};e.prototype.fetchProfiles=function(){return __awaiter(this,void 0,void 0,(function(){var e,i,n,t,o,r,l;var a=this;return __generator(this,(function(s){switch(s.label){case 0:if(!this.loggedin||this.profileoptions.length>0){return[2]}e="".concat(this.endpoint).concat(this.endpoint.lastIndexOf("/")>-1&&this.endpoint.lastIndexOf("/")===this.endpoint.length-1?"":"/","api/user/parentorganizations");return[4,fetch(e)];case 1:i=s.sent();return[4,i.json()];case 2:n=s.sent();t={loggedin:true,organizations:[{name:"Forsheda Livs AB",customerNumber:"5564513603",id:"dbba867d-1dff-3dbb-b420-c57b4b828b73",selected:true,profiles:[{name:"Forsheda Livs AB",customerNumber:"20685482",id:"f757ba28-9a73-15a2-f128-4b394d970f3f",ssid:"",selected:false,customerGroup:"Business"},{name:"ICA MAXI KUNGSBACKA",customerNumber:"20831191",id:"5aea41df-32b0-3f7e-2946-78598360177d",ssid:"259686",selected:true,customerGroup:"Agent"}]},{name:"Hem Livs i Kungsbacka AB",customerNumber:"5565271250",id:"97ca363c-40ef-cca9-7a3c-9e7f025567c2",selected:false,profiles:[{name:"ICA KVANTUM KUNGSBACKA",customerNumber:"20831193",id:"fbd61ffd-41c6-2206-b88e-cfef91e1dc39",ssid:"259691",selected:false,customerGroup:"Agent"}]},{name:"ICA SUPERMARKET TORGET",customerNumber:"5568902679",id:"7cb76a94-e1a5-5f57-58fd-bc563851b28e",selected:false,profiles:[{name:"ICA SUPERMARKET TORGET",customerNumber:"20831212",id:"3a2db017-b68f-6fa0-fe70-542c08cd97ce",ssid:"",selected:false,customerGroup:"Agent"}]}]};o=window.location.href.indexOf("localhost:6008")!==-1?t:n;if(!o||!o.organizations||!o.organizations.length){return[2]}o.organizations.forEach((function(e){if(e.selected===true&&e.profiles){var i=e.profiles.filter((function(e){return e.selected===true}));if(i&&i[0]&&i[0].customerGroup.toLocaleLowerCase()==="agent"&&i[0].ssid){e.customerNumber=i[0].ssid}}else{if(e.customerNumber.length===10&&e.customerNumber.substring(0,2)==="55"){e.customerNumber=e.customerNumber.substring(0,6)+"-"+e.customerNumber.substring(6)}a.profileoptions.push(e)}}));r=o.organizations.filter((function(e){return e.selected===true}))[0];l={name:this.userName,customerNumber:"",id:"",selected:!r,profiles:[]};if(!r){r=l}if(r&&r.name){this.currentProfile=r}this.profileoptions.push(l);return[2]}}))}))};e.prototype.adjustLoginLinks=function(){var e,i,n,t;var o=function(e,i){if(!e.isLogoutLink){e.isLogoutLink=e.pageLink.indexOf("location.href")!==-1&&e.pageLink.indexOf("logout")!==-1}if(e.isLogoutLink){e.href=state.loginManager.getLogoutUrl(e.href)}if(i===0&&!e.href){e.href=state.loginManager.getLoginUrl();e.linkType="primary"}if(e.primaryLinkApperance&&!e.linkType){e.linkType="primary"}};if((e=this.loginDialog)===null||e===void 0?void 0:e.loggedInLinks){(i=this.loginDialog)===null||i===void 0?void 0:i.loggedInLinks.forEach(o)}this.logoutLink=(t=(n=this.loginDialog)===null||n===void 0?void 0:n.loggedInLinks.filter((function(e){return e.isLogoutLink}))[0])!==null&&t!==void 0?t:null};e.prototype.updateUserInfo=function(){var e=state.loginManager.getUserInfo();this.user=e;if(!e){return}if(e&&e.email){this.userEmail=e.email}if(e&&e.given_name){this.userName=e.given_name+((e===null||e===void 0?void 0:e.family_name)?" ".concat(e===null||e===void 0?void 0:e.family_name):"")}if(e&&e.given_name){this.userName=e.given_name;return}if(e&&e.family_name){this.userName=e.family_name;return}if(e&&e.username){this.userName=e.username;return}};e.prototype.render=function(){var e=this;if(!this.loginDialog){return}var i={};return h(Host,Object.assign({},i),this.heading?h("strong",{class:"pn-marketweb-siteheader-login-profileselection-heading"},this.heading):null,this.currentProfile!==null&&this.currentProfile.name?h("div",{class:"pn-marketweb-siteheader-login-profileselection-currentprofile"},h("div",{class:"pn-marketweb-siteheader-login-profileselection-currentprofile-name"},this.currentProfile.name),h("div",{class:"pn-marketweb-siteheader-login-profileselection-currentprofile-description"},this.currentProfile.customerNumber?this.currentProfile.customerNumber:this.userEmail)):null,h("pn-marketweb-siteheader-login-linklist",{links:this.loginDialog.loggedInLinks,idNamespace:this.idNamespace}),h("div",{class:"pn-marketweb-siteheader-login-profileselection-divider"}),this.profileoptions.filter((function(e){return e.selected!==true})).map((function(i){var n=i.profiles.length>0?i.profiles[0].customerNumber:i.customerNumber;return h("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption"},h("a",{href:"".concat(e.endpoint,"/api/user/setprofile?customernumber=").concat(n,"&returnUrl=").concat(window.location.href),class:"pn-marketweb-siteheader-login-profileselection-profileoption-link"},h("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption-content"},h("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption-name"},i.name),h("div",{class:"pn-marketweb-siteheader-login-profileselection-profileoption-description"},i.customerNumber?i.customerNumber:e.userEmail)),h("pn-icon",{symbol:"arrow-right",small:"false",color:"blue700"})))})),this.logoutLink?h("div",{class:"pn-marketweb-siteheader-login-profileselection-logout"},h("a",{href:this.logoutLink.href,rel:"nofollower noopener",id:"pn-marketweb-header-logoutlink",onClick:function(){return state.loginManager.clearUserData()},class:"pn-marketweb-siteheader-login-profileselection-logout-link"},this.logoutLink.linkText)):null)};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnMarketwebSiteheaderLoginProfileselection.style=pnMarketwebSiteheaderLoginProfileselectionCss;export{PnMarketwebSiteheaderLoginLinks as pn_marketweb_siteheader_login_links,PnMarketwebSiteheaderLoginProfileselection as pn_marketweb_siteheader_login_profileselection};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as registerInstance,h,a as Host,g as getElement}from"./index-5397620b.js";var pnProductCardCss='pn-product-card{border:0.1rem solid #D3CECB;outline:none;background:#FFFFFF;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);display:-ms-flexbox;display:flex;word-break:break-word;text-decoration:none;border-radius:0.8rem;position:relative;padding:11rem 2.4rem 2.4rem;margin-bottom:1.6rem}@media screen and (min-width: 36em){pn-product-card{padding:2.4rem}}pn-product-card [slot=title]{display:-ms-flexbox;display:flex;width:100%;margin-bottom:0.8rem;gap:1.6rem;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (min-width: 36em){pn-product-card [slot=title]{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:inherit;align-items:inherit}}pn-product-card [slot=title] h2{width:100%}@media screen and (min-width: 36em){pn-product-card [slot=title] h2{width:auto}}pn-product-card [slot=title] h2>a{color:#000000}pn-product-card [slot=title] h2>a::after{content:"" !important}pn-product-card [slot=note]{margin-top:1em;margin-bottom:1em;font-size:0.8em}pn-product-card [slot=additionalUSP]{display:-ms-flexbox;display:flex}pn-product-card [slot=additionalUSP] :first-child{margin-left:0em}pn-product-card [slot=additionalUSP] span{margin-left:1em;background:#D3CECB;color:#2D2013;border-radius:0.25em;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0.3em;margin-top:0.5em;font-size:0.75em}pn-product-card>pn-illustration{min-width:8rem;width:8rem;height:8rem;-ms-flex-item-align:center;align-self:center;position:absolute;top:1.6rem;-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);border-radius:100%}@media screen and (min-width: 36em){pn-product-card>pn-illustration{-webkit-box-shadow:none;box-shadow:none;top:1.6rem;right:1.6rem;left:auto;-webkit-transform:none;transform:none}}@media screen and (min-width: 48em){pn-product-card>pn-illustration{position:static;top:auto;right:auto;margin-right:3rem}}pn-product-card .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 48em){pn-product-card .cardcontent{-ms-flex-direction:row;flex-direction:row;gap:1.6rem}}pn-product-card [slot=cardprice]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding:0.6em;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 36em){pn-product-card [slot=cardprice]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=cardprice]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card [slot=mobiledownload]{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card [slot=mobiledownload] #riktiga{-ms-flex-order:4;order:4;margin-top:1em}pn-product-card [slot=mobiledownload] #riktiga>div>a::after{content:"" !important}pn-product-card [slot=mobiledownload] .riktigaAndroidImg{width:6em;margin:0.5em}pn-product-card [slot=mobiledownload] .riktigaAppleImg{width:5.6em;margin:0.5em}pn-product-card [slot=mobiledownload] a{text-decoration:none;color:#005D92}pn-product-card [slot=mobiledownload] a h3{text-decoration:underline}pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:2;flex-grow:2;-ms-flex-align:end;align-items:flex-end;text-align:center}@media screen and (min-width: 36em){pn-product-card [slot=servicepoint]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-card .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;-ms-flex-flow:wrap;flex-flow:wrap;padding:0 1em 0 0}pn-product-card .info>*{min-width:6em;margin:0.5em 1em 0.5em 0}';var PnProductCard=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,null,h("slot",{name:"illustration"}),h("div",{class:"cardcontent"},h("div",{class:"details"},h("slot",{name:"title"}),h("slot",{name:"content"}),h("div",{class:"info"},h("slot",null)),h("slot",{name:"note"}),h("slot",{name:"additionalUSP"})),h("div",{class:"cardprice"},h("slot",{name:"cardprice"}),h("slot",{name:"mobiledownload"}),h("slot",{name:"servicepoint"}))))};return e}();PnProductCard.style=pnProductCardCss;var pnProductCardInfoCss='pn-product-card-info{-ms-flex-item-align:center;align-self:center}.cardinfocontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;font-size:0.875em;gap:1.6rem}@media screen and (min-width: 36em){.cardinfocontent{-ms-flex-direction:row;flex-direction:row}}.cardinfocontent>div p{margin:0.25em 0.25em 0 0}.cardinfocontent-item{margin-top:0.5em}[slot=formatPre]{font-family:"PostNordSans", "Verdana";margin:0.5em 3em 0 0}[slot=formatPre]>strong{font-weight:bold}.cardinfoprice{display:-ms-flexbox;display:flex;font-size:1em;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}';var PnProductCardInfo=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return this.label?h(Host,null,h("div",{class:"cardinfocontent"},this.text?h("pre",{slot:"formatPre"},this.text):null)):h(Host,null,h("div",{class:"cardinfocontent"},this.paket?h("div",{class:"cardinfocontent-item"},h("strong",null,"Maxmått"),this.paket.split("/").map((function(e){return e.split(":").length>1?h("p",null,h("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):h("p",null,e)}))):null,this.rulle?h("div",{class:"cardinfocontent-item"},h("strong",null,"Rulle"),this.rulle.split("/").map((function(e){return e.split(":").length>0?h("p",null,h("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):h("p",null,e)}))):null))};return e}();h("pn-icon",{symbol:"align-center",small:"false",color:"black"});PnProductCardInfo.style=pnProductCardInfoCss;var pnProductCardPriceCss="pn-product-card-price{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-card-price+pn-product-card-price{margin-right:0}pn-product-card-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-card-price .price{font-size:2.5em;font-weight:bold;-ms-flex-order:1;order:1}pn-product-card-price pn-button{min-width:12.8em;font-size:1.25;-ms-flex-order:2;order:2}@media screen and (min-width: 48em){pn-product-card-price pn-button{-ms-flex-order:3;order:3;margin-bottom:1.6rem}}pn-product-card-price p{font-weight:lighter;font-size:0.875em;-ms-flex-item-align:center;align-self:center;margin-top:0.8rem;-ms-flex-order:3;order:3}@media screen and (min-width: 48em){pn-product-card-price p{-ms-flex-order:2;order:2}}";var PnProductCardPrice=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){if(!this.amount){return}return this.url?h(Host,{id:this.linkid},h("div",{class:"price"},this.amount?h("span",null,this.amount):null,this.currency?h("span",null," "+this.currency):null),this.note?h("p",null,this.note):null,this.label?h("pn-button",{id:"pricecta-"+this.linkid,small:"true",icon:"open-in-new",appearance:"light",href:this.url,target:"_blank"},this.label):null):h(Host,null,h("div",{class:"price"},this.amount?h("span",null,this.amount):null,this.currency?h("span",null,this.currency):null))};return e}();PnProductCardPrice.style=pnProductCardPriceCss;var pnTitletagCss="pn-titletag{display:-ms-inline-flexbox;display:inline-flex;border-radius:0.4rem;min-height:2.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding:0.6rem;gap:0.6em}pn-titletag[color=green700],pn-titletag[color=green]{color:#005E41;background:#DCF6E7}pn-titletag[color=blue700],pn-titletag[color=blue]{background:#E0F8FF;color:#005D92}pn-titletag[color=coral700],pn-titletag[color=coral]{background:#FDEFEE;color:#9B1C2E}pn-titletag[color=gray900],pn-titletag[color=gray],pn-titletag[color=grey]{background:#D3CECB;color:#2D2013}pn-titletag[color=gray50],pn-titletag[color=lightgray],pn-titletag[color=lightgrey]{background:#F3F2F2;color:#2D2013}";var PnTiletag=function(){function e(e){registerInstance(this,e);this.icon=null;this.color="green700"}e.prototype.render=function(){return h(Host,null,h("slot",null),this.icon?h("pn-icon",{symbol:this.icon,small:"false",color:this.color}):null)};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();PnTiletag.style=pnTitletagCss;export{PnProductCard as pn_product_card,PnProductCardInfo as pn_product_card_info,PnProductCardPrice as pn_product_card_price,PnTiletag as pn_titletag};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,a as n,g as i}from"./p-58e8d7d5.js";let r=class{constructor(t){e(this,t)}render(){return t(n,null,t("slot",{name:"illustration"}),t("div",{class:"cardcontent"},t("div",{class:"details"},t("slot",{name:"title"}),t("slot",{name:"content"}),t("div",{class:"info"},t("slot",null)),t("slot",{name:"note"}),t("slot",{name:"additionalUSP"})),t("div",{class:"cardprice"},t("slot",{name:"cardprice"}),t("slot",{name:"mobiledownload"}),t("slot",{name:"servicepoint"}))))}};r.style='pn-product-card{border:0.1rem solid #D3CECB;outline:none;background:#FFFFFF;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);display:-ms-flexbox;display:flex;word-break:break-word;text-decoration:none;border-radius:0.8rem;position:relative;padding:11rem 2.4rem 2.4rem;margin-bottom:1.6rem}@media screen and (min-width: 36em){pn-product-card{padding:2.4rem}}pn-product-card [slot=title]{display:-ms-flexbox;display:flex;width:100%;margin-bottom:0.8rem;gap:1.6rem;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (min-width: 36em){pn-product-card [slot=title]{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:inherit;align-items:inherit}}pn-product-card [slot=title] h2{width:100%}@media screen and (min-width: 36em){pn-product-card [slot=title] h2{width:auto}}pn-product-card [slot=title] h2>a{color:#000000}pn-product-card [slot=title] h2>a::after{content:"" !important}pn-product-card [slot=note]{margin-top:1em;margin-bottom:1em;font-size:0.8em}pn-product-card [slot=additionalUSP]{display:-ms-flexbox;display:flex}pn-product-card [slot=additionalUSP] :first-child{margin-left:0em}pn-product-card [slot=additionalUSP] span{margin-left:1em;background:#D3CECB;color:#2D2013;border-radius:0.25em;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0.3em;margin-top:0.5em;font-size:0.75em}pn-product-card>pn-illustration{min-width:8rem;width:8rem;height:8rem;-ms-flex-item-align:center;align-self:center;position:absolute;top:1.6rem;-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);border-radius:100%}@media screen and (min-width: 36em){pn-product-card>pn-illustration{-webkit-box-shadow:none;box-shadow:none;top:1.6rem;right:1.6rem;left:auto;-webkit-transform:none;transform:none}}@media screen and (min-width: 48em){pn-product-card>pn-illustration{position:static;top:auto;right:auto;margin-right:3rem}}pn-product-card .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 48em){pn-product-card .cardcontent{-ms-flex-direction:row;flex-direction:row;gap:1.6rem}}pn-product-card [slot=cardprice]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding:0.6em;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 36em){pn-product-card [slot=cardprice]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=cardprice]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card [slot=mobiledownload]{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card [slot=mobiledownload] #riktiga{-ms-flex-order:4;order:4;margin-top:1em}pn-product-card [slot=mobiledownload] #riktiga>div>a::after{content:"" !important}pn-product-card [slot=mobiledownload] .riktigaAndroidImg{width:6em;margin:0.5em}pn-product-card [slot=mobiledownload] .riktigaAppleImg{width:5.6em;margin:0.5em}pn-product-card [slot=mobiledownload] a{text-decoration:none;color:#005D92}pn-product-card [slot=mobiledownload] a h3{text-decoration:underline}pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:2;flex-grow:2;-ms-flex-align:end;align-items:flex-end;text-align:center}@media screen and (min-width: 36em){pn-product-card [slot=servicepoint]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-card .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;-ms-flex-flow:wrap;flex-flow:wrap;padding:0 1em 0 0}pn-product-card .info>*{min-width:6em;margin:0.5em 1em 0.5em 0}';let o=class{constructor(t){e(this,t)}render(){return t(n,null,this.label?t("div",{class:"cardinfocontent"},this.text?t("pre",{slot:"formatPre"},this.text):null):t("div",{class:"cardinfocontent"},this.paket?t("div",{class:"cardinfocontent-item"},t("strong",null,"Maxmått"),this.paket.split("/").map((e=>e.split(":").length>1?t("p",null,t("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):t("p",null,e)))):null,this.rulle?t("div",{class:"cardinfocontent-item"},t("strong",null,"Rulle"),this.rulle.split("/").map((e=>e.split(":").length>0?t("p",null,t("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):t("p",null,e)))):null))}};t("pn-icon",{symbol:"align-center",small:"false",color:"black"}),o.style='pn-product-card-info{-ms-flex-item-align:center;align-self:center}.cardinfocontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;font-size:0.875em;gap:1.6rem}@media screen and (min-width: 36em){.cardinfocontent{-ms-flex-direction:row;flex-direction:row}}.cardinfocontent>div p{margin:0.25em 0.25em 0 0}.cardinfocontent-item{margin-top:0.5em}[slot=formatPre]{font-family:"PostNordSans", "Verdana";margin:0.5em 3em 0 0}[slot=formatPre]>strong{font-weight:bold}.cardinfoprice{display:-ms-flexbox;display:flex;font-size:1em;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}';let l=class{constructor(t){e(this,t)}render(){if(this.amount)return this.url?t(n,{id:this.linkid},t("div",{class:"price"},this.amount?t("span",null,this.amount):null,this.currency?t("span",null," "+this.currency):null),this.note?t("p",null,this.note):null,this.label?t("pn-button",{id:"pricecta-"+this.linkid,small:"true",icon:"open-in-new",appearance:"light",href:this.url,target:"_blank"},this.label):null):t(n,null,t("div",{class:"price"},this.amount?t("span",null,this.amount):null,this.currency?t("span",null,this.currency):null))}};l.style="pn-product-card-price{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-card-price+pn-product-card-price{margin-right:0}pn-product-card-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-card-price .price{font-size:2.5em;font-weight:bold;-ms-flex-order:1;order:1}pn-product-card-price pn-button{min-width:12.8em;font-size:1.25;-ms-flex-order:2;order:2}@media screen and (min-width: 48em){pn-product-card-price pn-button{-ms-flex-order:3;order:3;margin-bottom:1.6rem}}pn-product-card-price p{font-weight:lighter;font-size:0.875em;-ms-flex-item-align:center;align-self:center;margin-top:0.8rem;-ms-flex-order:3;order:3}@media screen and (min-width: 48em){pn-product-card-price p{-ms-flex-order:2;order:2}}";let a=class{constructor(t){e(this,t),this.icon=null,this.color="green700"}render(){return t(n,null,t("slot",null),this.icon?t("pn-icon",{symbol:this.icon,small:"false",color:this.color}):null)}get hostElement(){return i(this)}};a.style="pn-titletag{display:-ms-inline-flexbox;display:inline-flex;border-radius:0.4rem;min-height:2.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding:0.6rem;gap:0.6em}pn-titletag[color=green700],pn-titletag[color=green]{color:#005E41;background:#DCF6E7}pn-titletag[color=blue700],pn-titletag[color=blue]{background:#E0F8FF;color:#005D92}pn-titletag[color=coral700],pn-titletag[color=coral]{background:#FDEFEE;color:#9B1C2E}pn-titletag[color=gray900],pn-titletag[color=gray],pn-titletag[color=grey]{background:#D3CECB;color:#2D2013}pn-titletag[color=gray50],pn-titletag[color=lightgray],pn-titletag[color=lightgrey]{background:#F3F2F2;color:#2D2013}";export{r as pn_product_card,o as pn_product_card_info,l as pn_product_card_price,a as pn_titletag}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
System.register(["./p-36654f2a.system.js"],(function(e){"use strict";var t,n,i,r;return{setters:[function(e){t=e.r;n=e.h;i=e.a;r=e.g}],execute:function(){var o='pn-product-card{border:0.1rem solid #D3CECB;outline:none;background:#FFFFFF;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);display:-ms-flexbox;display:flex;word-break:break-word;text-decoration:none;border-radius:0.8rem;position:relative;padding:11rem 2.4rem 2.4rem;margin-bottom:1.6rem}@media screen and (min-width: 36em){pn-product-card{padding:2.4rem}}pn-product-card [slot=title]{display:-ms-flexbox;display:flex;width:100%;margin-bottom:0.8rem;gap:1.6rem;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (min-width: 36em){pn-product-card [slot=title]{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:inherit;align-items:inherit}}pn-product-card [slot=title] h2{width:100%}@media screen and (min-width: 36em){pn-product-card [slot=title] h2{width:auto}}pn-product-card [slot=title] h2>a{color:#000000}pn-product-card [slot=title] h2>a::after{content:"" !important}pn-product-card [slot=note]{margin-top:1em;margin-bottom:1em;font-size:0.8em}pn-product-card [slot=additionalUSP]{display:-ms-flexbox;display:flex}pn-product-card [slot=additionalUSP] :first-child{margin-left:0em}pn-product-card [slot=additionalUSP] span{margin-left:1em;background:#D3CECB;color:#2D2013;border-radius:0.25em;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:0.3em;margin-top:0.5em;font-size:0.75em}pn-product-card>pn-illustration{min-width:8rem;width:8rem;height:8rem;-ms-flex-item-align:center;align-self:center;position:absolute;top:1.6rem;-webkit-transform:translateX(-50%);transform:translateX(-50%);left:50%;-webkit-box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);box-shadow:0px 0.6px 1.8px rgba(0, 0, 0, 0.1), 0px 3.2px 7.2px rgba(0, 0, 0, 0.13);border-radius:100%}@media screen and (min-width: 36em){pn-product-card>pn-illustration{-webkit-box-shadow:none;box-shadow:none;top:1.6rem;right:1.6rem;left:auto;-webkit-transform:none;transform:none}}@media screen and (min-width: 48em){pn-product-card>pn-illustration{position:static;top:auto;right:auto;margin-right:3rem}}pn-product-card .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 48em){pn-product-card .cardcontent{-ms-flex-direction:row;flex-direction:row;gap:1.6rem}}pn-product-card [slot=cardprice]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;padding:0.6em;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 36em){pn-product-card [slot=cardprice]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=cardprice]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card [slot=mobiledownload]{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card [slot=mobiledownload] #riktiga{-ms-flex-order:4;order:4;margin-top:1em}pn-product-card [slot=mobiledownload] #riktiga>div>a::after{content:"" !important}pn-product-card [slot=mobiledownload] .riktigaAndroidImg{width:6em;margin:0.5em}pn-product-card [slot=mobiledownload] .riktigaAppleImg{width:5.6em;margin:0.5em}pn-product-card [slot=mobiledownload] a{text-decoration:none;color:#005D92}pn-product-card [slot=mobiledownload] a h3{text-decoration:underline}pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:2;flex-grow:2;-ms-flex-align:end;align-items:flex-end;text-align:center}@media screen and (min-width: 36em){pn-product-card [slot=servicepoint]{-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}}@media screen and (min-width: 48em){pn-product-card [slot=servicepoint]{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:end;align-items:flex-end}}pn-product-card .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;width:100%}pn-product-card .info{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;-ms-flex-flow:wrap;flex-flow:wrap;padding:0 1em 0 0}pn-product-card .info>*{min-width:6em;margin:0.5em 1em 0.5em 0}';var l=e("pn_product_card",function(){function e(e){t(this,e)}e.prototype.render=function(){return n(i,null,n("slot",{name:"illustration"}),n("div",{class:"cardcontent"},n("div",{class:"details"},n("slot",{name:"title"}),n("slot",{name:"content"}),n("div",{class:"info"},n("slot",null)),n("slot",{name:"note"}),n("slot",{name:"additionalUSP"})),n("div",{class:"cardprice"},n("slot",{name:"cardprice"}),n("slot",{name:"mobiledownload"}),n("slot",{name:"servicepoint"}))))};return e}());l.style=o;var a='pn-product-card-info{-ms-flex-item-align:center;align-self:center}.cardinfocontent{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-positive:1;flex-grow:1;font-size:0.875em;gap:1.6rem}@media screen and (min-width: 36em){.cardinfocontent{-ms-flex-direction:row;flex-direction:row}}.cardinfocontent>div p{margin:0.25em 0.25em 0 0}.cardinfocontent-item{margin-top:0.5em}[slot=formatPre]{font-family:"PostNordSans", "Verdana";margin:0.5em 3em 0 0}[slot=formatPre]>strong{font-weight:bold}.cardinfoprice{display:-ms-flexbox;display:flex;font-size:1em;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}';var c=e("pn_product_card_info",function(){function e(e){t(this,e)}e.prototype.render=function(){return this.label?n(i,null,n("div",{class:"cardinfocontent"},this.text?n("pre",{slot:"formatPre"},this.text):null)):n(i,null,n("div",{class:"cardinfocontent"},this.paket?n("div",{class:"cardinfocontent-item"},n("strong",null,"Maxmått"),this.paket.split("/").map((function(e){return e.split(":").length>1?n("p",null,n("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):n("p",null,e)}))):null,this.rulle?n("div",{class:"cardinfocontent-item"},n("strong",null,"Rulle"),this.rulle.split("/").map((function(e){return e.split(":").length>0?n("p",null,n("strong",null,e.split(":")[0]+": ")," ",e.split(":")[1]):n("p",null,e)}))):null))};return e}());n("pn-icon",{symbol:"align-center",small:"false",color:"black"});c.style=a;var d="pn-product-card-price{margin-top:1rem;white-space:nowrap;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-product-card-price span:last-child{display:inline-block;margin-left:0.2em}pn-product-card-price+pn-product-card-price{margin-right:0}pn-product-card-price pn-icon{display:inline-block;-ms-flex-item-align:center;align-self:center}pn-product-card-price .price{font-size:2.5em;font-weight:bold;-ms-flex-order:1;order:1}pn-product-card-price pn-button{min-width:12.8em;font-size:1.25;-ms-flex-order:2;order:2}@media screen and (min-width: 48em){pn-product-card-price pn-button{-ms-flex-order:3;order:3;margin-bottom:1.6rem}}pn-product-card-price p{font-weight:lighter;font-size:0.875em;-ms-flex-item-align:center;align-self:center;margin-top:0.8rem;-ms-flex-order:3;order:3}@media screen and (min-width: 48em){pn-product-card-price p{-ms-flex-order:2;order:2}}";var s=e("pn_product_card_price",function(){function e(e){t(this,e)}e.prototype.render=function(){if(!this.amount){return}return this.url?n(i,{id:this.linkid},n("div",{class:"price"},this.amount?n("span",null,this.amount):null,this.currency?n("span",null," "+this.currency):null),this.note?n("p",null,this.note):null,this.label?n("pn-button",{id:"pricecta-"+this.linkid,small:"true",icon:"open-in-new",appearance:"light",href:this.url,target:"_blank"},this.label):null):n(i,null,n("div",{class:"price"},this.amount?n("span",null,this.amount):null,this.currency?n("span",null,this.currency):null))};return e}());s.style=d;var p="pn-titletag{display:-ms-inline-flexbox;display:inline-flex;border-radius:0.4rem;min-height:2.5em;font-weight:normal;font-size:0.75em;text-align:center;vertical-align:bottom;padding:0.6rem;gap:0.6em}pn-titletag[color=green700],pn-titletag[color=green]{color:#005E41;background:#DCF6E7}pn-titletag[color=blue700],pn-titletag[color=blue]{background:#E0F8FF;color:#005D92}pn-titletag[color=coral700],pn-titletag[color=coral]{background:#FDEFEE;color:#9B1C2E}pn-titletag[color=gray900],pn-titletag[color=gray],pn-titletag[color=grey]{background:#D3CECB;color:#2D2013}pn-titletag[color=gray50],pn-titletag[color=lightgray],pn-titletag[color=lightgrey]{background:#F3F2F2;color:#2D2013}";var m=e("pn_titletag",function(){function e(e){t(this,e);this.icon=null;this.color="green700"}e.prototype.render=function(){return n(i,null,n("slot",null),this.icon?n("pn-icon",{symbol:this.icon,small:"false",color:this.color}):null)};Object.defineProperty(e.prototype,"hostElement",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());m.style=p}}}));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as i,h as t,a as e}from"./p-58e8d7d5.js";import{F as o,M as r}from"./p-74120b9b.js";const n={sv:{from:"Från ",labelMaxDimensionsRoll:"Rulle",labelMaxDimensions:"Maxmått"},da:{from:"Från ",labelMaxDimensionsRoll:"Rulle",labelMaxDimensions:"Maks måle"},en:{from:"From ",labelMaxDimensionsRoll:"Roll",labelMaxDimensions:"Maximum dimensions"}};let a=class{constructor(t){i(this,t),this.endpoint=null,this.language="sv",this.market="se",this.tariffid="",this.cache=!0,this.activeWeightIndex=0,this.data=null,this.i18n=n.sv,this.fetchHelper=new o("proxiopricegroup")}componentWillLoad(){this.setInitialValues().then((()=>{this.init()}))}async setInitialValues(i=window.location.href){const t=new r(i),e=await t.getEnvironmentName();if(!this.endpoint&&-1===(null==e?void 0:e.indexOf("local"))){const i=await t.getMarket();this.endpoint=await t.getEndpoint(e,i)}this.endpoint||(this.endpoint="")}init(){this.setLanguage(),this.fetchData()}async fetchData(){if(!this.market||!this.language||!this.tariffid)return;const i=`${this.endpoint.lastIndexOf("/")===this.endpoint.length-1?this.endpoint.substring(0,this.endpoint.length-1):this.endpoint}/api/proxio/price-list-group?tariffId=${this.tariffid}&market=${this.market}&language=${this.language}&cached=${this.cache}`,t=await this.fetchHelper.fetchJson(i,{mode:"cors"},this.cache,this.onFetchData.bind(this));(null==t?void 0:t.proxioProduct)&&(this.data=t)}onFetchData(i){this.data=i}setActiveWeightIndex(i){var t,e,o;let r=null!==(o=(null===(e=null===(t=this.data.proxioProduct)||void 0===t?void 0:t.weightAndPriceList)||void 0===e?void 0:e.length)-1)&&void 0!==o?o:0;this.activeWeightIndex=i=(i=i>r?r:i)<0?0:i}setLanguage(){n[this.language]&&(this.i18n=n[this.language])}getPriceString(i){var t;let e=i.weightAndPriceList?null===(t=null==i?void 0:i.weightAndPriceList[this.activeWeightIndex])||void 0===t?void 0:t.item2:"";return e?this.i18n.from+e:""}getProductLink(i,t){var e;let o=null===(e=t[this.activeWeightIndex])||void 0===e?void 0:e.item2,r=i.productLink?null==i?void 0:i.productLink:"";return r?r+(o?"?productId="+o:""):""}isActive(i){return i===this.activeWeightIndex}getCarouselPosition(i){switch(i){case this.activeWeightIndex-2:return-2;case this.activeWeightIndex-1:return-1;case this.activeWeightIndex:return 0;case this.activeWeightIndex+1:return 1;case this.activeWeightIndex+2:return 2;default:return"outside"}}getContainerPosition(){let i=this.data.proxioProduct.weightAndPriceList.length-1;switch(this.activeWeightIndex){case 0:return"end50";case 1:return"end75";case i-1:return"start75";case i:return"start50";default:return"default"}}render(){var i,o,r;return t(e,null,(null===(i=this.data)||void 0===i?void 0:i.proxioProduct)?t("div",{class:"proxio-pricegroup-container"},t("div",{class:"weightcontainer"},this.data.proxioProduct.weightAndPriceList?t("div",{class:"weightvaluecontainer"},t("pn-button",{disabled:0===this.activeWeightIndex?"disabled":null,"icon-only":"true",icon:"arrow-left",appearance:"light",small:"true",onClick:()=>this.setActiveWeightIndex(this.activeWeightIndex-1)}),t("div",{class:"weightradios ","data-carousel-container-position":this.getContainerPosition()},t("div",{class:"weightline"}),this.data.proxioProduct.weightAndPriceList.map(((i,e)=>null!==this.getCarouselPosition(e)?t("div",{class:"weightdata","data-carousel-position":this.getCarouselPosition(e),onClick:()=>this.setActiveWeightIndex(e)},t("input",{type:"radio",id:"weightradio"+e,name:"weightradio",value:e,checked:this.isActive(e)}),t("label",{htmlFor:"weightradio"+e},i.item1)):null))),t("pn-button",{disabled:this.activeWeightIndex===(null===(r=null===(o=this.data.proxioProduct)||void 0===o?void 0:o.weightAndPriceList)||void 0===r?void 0:r.length)-1?"disabled":null,icon:"arrow-right",appearance:"light","icon-only":"true",small:"true",onClick:()=>this.setActiveWeightIndex(this.activeWeightIndex+1)})):null),t("pn-proxio-productcard",null,t("pn-illustration",{slot:"illustrationmobile",illustration:this.data.proxioProduct.productIcon}),t("h2",{slot:"title"},this.data.proxioProduct.productTitle),t("pn-proxio-productcard-description",{slot:"description",heading:this.data.proxioProduct.productPreamble,highlight:this.data.proxioProduct.deliveryDateInformation,list:this.data.proxioProduct.productDescriptionBulletListItems}),t("div",{slot:"information"},t("pn-proxio-productcard-information",{label:this.i18n.labelMaxDimensions,information:this.data.proxioProduct.productPackageDimensionsList}),t("pn-proxio-productcard-information",{label:this.i18n.labelMaxDimensionsRoll,information:this.data.proxioProduct.productRollDimensionsList})),t("div",{slot:"bottomtags"},this.data.proxioProduct.usp1?t("pn-titletag",{color:"gray50"},this.data.proxioProduct.usp1):null,this.data.proxioProduct.usp2?t("pn-titletag",{color:"gray50"},this.data.proxioProduct.usp2):null,this.data.proxioProduct.usp3?t("pn-titletag",{color:"gray50"},this.data.proxioProduct.usp3):null),t("pn-illustration",{slot:"illustration",illustration:this.data.proxioProduct.productIcon}),t("div",{slot:"pricelink"},t("pn-proxio-productcard-pricelink",{price:this.getPriceString(this.data.proxioProduct),link:this.getProductLink(this.data.proxioProduct,this.data.proxioProduct.productWeightGroupList),linktext:this.data.proxioProduct.productLinkText}),this.data.relatedProxioProducts?this.data.relatedProxioProducts.map((i=>t("pn-proxio-productcard-pricelink",{price:this.getPriceString(i),link:i.productLink,linktext:i.productLinkText}))):null))):null)}};a.style='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.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}';export{a as pn_proxio_pricegroup}
|