@postnord/pn-marketweb-components 2.0.79 → 2.0.81
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/{MarketWebContextService-5840b8e0.js → FetchHelper-c6cee722.js} +85 -0
- package/cjs/loader.cjs.js +1 -1
- package/cjs/pn-market-web-components.cjs.js +1 -1
- package/cjs/pn-marketweb-sitefooter.cjs.entry.js +2 -3
- package/cjs/pn-marketweb-siteheader.cjs.entry.js +2 -3
- package/cjs/pn-product-card_4.cjs.entry.js +1 -1
- package/cjs/pn-proxio-pricegroup.cjs.entry.js +108 -0
- package/cjs/pn-proxio-productcard_4.cjs.entry.js +67 -0
- package/collection/collection-manifest.json +4 -1
- package/collection/components/minor/pn-titletag/pn-titletag.css +4 -0
- package/collection/components/minor/pn-titletag/title-tag.stories.js +1 -0
- package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.css +71 -0
- package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js +204 -0
- package/collection/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.stories.js +27 -0
- package/collection/components/widgets/pn-proxio-pricegroup/translations.js +16 -0
- package/collection/components/widgets/pn-proxio-pricegroup/types.js +1 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.css +6 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js +93 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.css +6 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js +67 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.css +13 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.js +69 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.css +60 -0
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.js +11 -8
- package/collection/components/widgets/pn-proxio-productcard/pn-proxio-productcard.stories.js +42 -5
- package/custom-elements/index.d.ts +22 -4
- package/custom-elements/index.js +175 -56
- package/esm/{MarketWebContextService-160bf3dd.js → FetchHelper-1dfe8514.js} +85 -1
- package/esm/loader.js +1 -1
- package/esm/pn-market-web-components.js +1 -1
- package/esm/pn-marketweb-sitefooter.entry.js +1 -2
- package/esm/pn-marketweb-siteheader.entry.js +1 -2
- package/esm/pn-product-card_4.entry.js +1 -1
- package/esm/pn-proxio-pricegroup.entry.js +104 -0
- package/esm/pn-proxio-productcard_4.entry.js +60 -0
- package/esm-es5/{MarketWebContextService-160bf3dd.js → FetchHelper-1dfe8514.js} +1 -1
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
- package/esm-es5/pn-marketweb-siteheader.entry.js +1 -1
- package/esm-es5/pn-product-card_4.entry.js +1 -1
- package/esm-es5/pn-proxio-pricegroup.entry.js +1 -0
- package/esm-es5/pn-proxio-productcard_4.entry.js +1 -0
- package/package.json +1 -1
- package/pn-market-web-components/{p-f1812fbb.entry.js → p-022d9a78.entry.js} +1 -1
- package/pn-market-web-components/{p-5b750c06.system.entry.js → p-198d9c77.system.entry.js} +1 -1
- package/pn-market-web-components/p-5482774f.entry.js +1 -0
- package/pn-market-web-components/p-6174a610.system.js +1 -0
- package/pn-market-web-components/p-67887512.system.js +1 -1
- package/pn-market-web-components/p-6c8d3789.system.entry.js +1 -0
- package/pn-market-web-components/p-6d08e5cc.system.entry.js +1 -0
- package/pn-market-web-components/p-942ad206.system.entry.js +1 -0
- package/pn-market-web-components/p-c3ea7666.entry.js +1 -0
- package/pn-market-web-components/p-c5f4d6c1.entry.js +1 -0
- package/pn-market-web-components/p-df9708f2.entry.js +1 -0
- package/pn-market-web-components/p-e54d477c.system.entry.js +1 -0
- package/pn-market-web-components/{p-0a7b7046.js → p-f0f58646.js} +1 -1
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/types/components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.d.ts +23 -0
- package/types/components/widgets/pn-proxio-pricegroup/translations.d.ts +16 -0
- package/types/components/widgets/pn-proxio-pricegroup/types.d.ts +36 -0
- package/types/components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.d.ts +7 -0
- package/types/components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.d.ts +6 -0
- package/types/components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.d.ts +6 -0
- package/types/components.d.ts +77 -11
- package/umd/pn-marketweb-salesforce.js +4 -2
- package/cjs/FetchHelper-f80943bf.js +0 -87
- package/cjs/pn-proxio-pricefinder.cjs.entry.js +0 -43
- package/cjs/pn-proxio-productcard.cjs.entry.js +0 -19
- package/collection/components/widgets/pn-proxio-pricefinder/pn-proxio-pricefinder.css +0 -0
- package/collection/components/widgets/pn-proxio-pricefinder/pn-proxio-pricefinder.js +0 -98
- package/collection/components/widgets/pn-proxio-pricefinder/pn-proxio-pricefinder.stories.js +0 -22
- package/esm/FetchHelper-a0c8aa54.js +0 -85
- package/esm/pn-proxio-pricefinder.entry.js +0 -39
- package/esm/pn-proxio-productcard.entry.js +0 -15
- package/esm-es5/FetchHelper-a0c8aa54.js +0 -1
- package/esm-es5/pn-proxio-pricefinder.entry.js +0 -1
- package/esm-es5/pn-proxio-productcard.entry.js +0 -1
- package/pn-market-web-components/p-1a97780a.system.js +0 -1
- package/pn-market-web-components/p-2745cc43.entry.js +0 -1
- package/pn-market-web-components/p-2b8aa6a9.entry.js +0 -1
- package/pn-market-web-components/p-42a56aeb.entry.js +0 -1
- package/pn-market-web-components/p-831c0495.system.entry.js +0 -1
- package/pn-market-web-components/p-8985b02b.system.entry.js +0 -1
- package/pn-market-web-components/p-8b9961c9.system.entry.js +0 -1
- package/pn-market-web-components/p-97dc5687.js +0 -1
- package/pn-market-web-components/p-b8e9177e.system.entry.js +0 -1
- package/pn-market-web-components/p-c7afc979.entry.js +0 -1
- package/pn-market-web-components/p-d6a17042.system.js +0 -1
- package/types/components/widgets/pn-proxio-pricefinder/pn-proxio-pricefinder.d.ts +0 -13
|
@@ -231,4 +231,89 @@ class MarketWebContextService {
|
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
+
class FetchHelper {
|
|
235
|
+
constructor(namespace = "") {
|
|
236
|
+
this.storagePrefix = "";
|
|
237
|
+
this.store = {
|
|
238
|
+
get: (key, permanentStorageFirst = false) => {
|
|
239
|
+
const firstProfider = permanentStorageFirst ? window.localStorage : window.sessionStorage;
|
|
240
|
+
const secondProvider = permanentStorageFirst ? window.sessionStorage : window.localStorage;
|
|
241
|
+
let value = firstProfider.getItem(`${this.storagePrefix}-${key}`);
|
|
242
|
+
if (!value) {
|
|
243
|
+
value = secondProvider.getItem(`${this.storagePrefix}-${key}`);
|
|
244
|
+
}
|
|
245
|
+
if (!value) {
|
|
246
|
+
return value;
|
|
247
|
+
}
|
|
248
|
+
if (value.indexOf('{') === 0) {
|
|
249
|
+
try {
|
|
250
|
+
return JSON.parse(value);
|
|
251
|
+
}
|
|
252
|
+
catch (e) {
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
if (value.indexOf(',') !== -1) {
|
|
256
|
+
return value.split(',');
|
|
257
|
+
}
|
|
258
|
+
return value;
|
|
259
|
+
},
|
|
260
|
+
set: (key, value, permanent = false) => {
|
|
261
|
+
const provider = permanent ? window.localStorage : window.sessionStorage;
|
|
262
|
+
if (typeof value === "object" && typeof value.length === "undefined") {
|
|
263
|
+
provider.setItem(`${this.storagePrefix}-${key}`, JSON.stringify(value));
|
|
264
|
+
return;
|
|
265
|
+
}
|
|
266
|
+
provider.setItem(`${this.storagePrefix}-${key}`, value);
|
|
267
|
+
},
|
|
268
|
+
remove: (key) => {
|
|
269
|
+
window.sessionStorage.removeItem(`${this.storagePrefix}-${key}`);
|
|
270
|
+
},
|
|
271
|
+
};
|
|
272
|
+
this.storagePrefix = namespace;
|
|
273
|
+
}
|
|
274
|
+
async fetchJson(input, init = {}, useCache = false, onCacheUpdated = null) {
|
|
275
|
+
const requestPromise = new Promise(async (resolve) => {
|
|
276
|
+
let doFetchRequest = true;
|
|
277
|
+
const url = (typeof input === "string") ? input : input.url;
|
|
278
|
+
const cacheKey = url;
|
|
279
|
+
let jsonData = null;
|
|
280
|
+
let cachedData = null;
|
|
281
|
+
if (useCache) {
|
|
282
|
+
cachedData = this.store.get(cacheKey);
|
|
283
|
+
// If the data was stored in session storage, then we don't need to do a full request
|
|
284
|
+
if (cachedData && !cachedData.permanent) {
|
|
285
|
+
doFetchRequest = false;
|
|
286
|
+
}
|
|
287
|
+
if (cachedData && cachedData.data) {
|
|
288
|
+
jsonData = cachedData.data;
|
|
289
|
+
resolve(jsonData);
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
if (doFetchRequest) {
|
|
293
|
+
const response = await window.fetch(input, init);
|
|
294
|
+
jsonData = await response.json();
|
|
295
|
+
resolve(jsonData);
|
|
296
|
+
if (useCache) {
|
|
297
|
+
if (typeof onCacheUpdated === "function" && cachedData != null) {
|
|
298
|
+
onCacheUpdated(jsonData);
|
|
299
|
+
}
|
|
300
|
+
this.store.set(cacheKey, this.wrapJson(jsonData, true), true);
|
|
301
|
+
this.store.set(cacheKey, this.wrapJson(jsonData, false), false);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
});
|
|
305
|
+
return requestPromise;
|
|
306
|
+
}
|
|
307
|
+
wrapJson(data, permanent = false) {
|
|
308
|
+
const now = new Date();
|
|
309
|
+
return {
|
|
310
|
+
timestamp: now.getTime(),
|
|
311
|
+
time: now.toISOString(),
|
|
312
|
+
data: data,
|
|
313
|
+
permanent: permanent
|
|
314
|
+
};
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
exports.FetchHelper = FetchHelper;
|
|
234
319
|
exports.MarketWebContextService = MarketWebContextService;
|
package/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["pn-marketweb-siteheader.cjs",[[4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"siteid":[1],"environment":[1537],"userToken":[1,"user-token"],"userFullname":[1,"user-fullname"],"userLoggedin":[516,"user-loggedin"],"endpoint":[1],"hideSiteSelector":[1540,"hide-site-selector"],"hideLanguageSelector":[1540,"hide-language-selector"],"hideSearch":[1540,"hide-search"],"hideLogin":[1540,"hide-login"],"showProfileSelection":[1540,"show-profile-selection"],"siteDomainInUrls":[4,"site-domain-in-urls"],"AutocompleteEndpoint":[1,"autocomplete-endpoint"],"sessionForward":[4,"session-forward"],"cache":[4],"spaMode":[4,"spa-mode"],"i18n":[32],"gotData":[32],"fetchingData":[32],"homePageLink":[32],"menuItems":[32],"siteDefinition":[32],"search":[32],"siteSelector":[32],"languageSelector":[32],"languageOptions":[32],"loginDialog":[32],"minimizeSearch":[32],"loggedIn":[32],"loginManager":[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["pn-find-price.cjs",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["pn-find-service-and-price.cjs",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["pn-product-pricelist.cjs",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["pn-product-pricelist-result.cjs",[[0,"pn-product-pricelist-result",{"item":[1040],"description":[16],"shownitems":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32]}]]],["pn-marketweb-sitefooter.cjs",[[4,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"siteDomainInUrls":[4,"site-domain-in-urls"],"cache":[4],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]]],["pn-pex-pricefinder.cjs",[[0,"pn-pex-pricefinder",{"language":[1],"currency":[1],"apiUrl":[1,"api-url"],"i18n":[32],"fromzip":[32],"tozip":[32],"weight":[32],"when":[32],"response":[32]},[[0,"language","setLanguage"]]]]],["pn-bonus-progressbar.cjs",[[4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"sumtext":[513],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]]],["pn-bonus-progressbar-level.cjs",[[0,"pn-bonus-progressbar-level",{"current":[516],"value":[1538],"bonuspercentage":[1537],"visualpercentage":[1538],"percentage":[32],"max":[32],"min":[32],"currency":[32]}]]],["pn-customernumber-selector.cjs",[[4,"pn-customernumber-selector",{"language":[1537],"open":[1540],"heading":[1],"description":[1],"i18n":[32]}]]],["pn-customernumber-selector-option.cjs",[[4,"pn-customernumber-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["pn-filter-checkbox.cjs",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-marketweb-search.cjs",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["pn-product-tile.cjs",[[4,"pn-product-tile"]]],["pn-profile-modal.cjs",[[4,"pn-profile-modal",{"heading":[1],"continueCtaText":[1,"continue-cta-text"],"choosenCompanyText":[1,"choosen-company-text"],"toText":[1,"to-text"],"chooseCustomerNumberText":[1,"choose-customer-number-text"],"isLoading":[32]},[[0,"urlSelected","onUrlSelected"]]]]],["pn-profile-modal-customernumber.cjs",[[4,"pn-profile-modal-customernumber",{"url":[513],"customernumber":[513],"selected":[516]}]]],["pn-profile-modal-profile.cjs",[[4,"pn-profile-modal-profile",{"heading":[513],"description":[513],"url":[513],"selected":[1028],"showCustomerNumbers":[516,"show-customer-numbers"],"pleaseSelectText":[513,"please-select-text"],"visible":[1540],"identifier":[32]}]]],["pn-profile-modal-type.cjs",[[4,"pn-profile-modal-type",{"typeid":[513],"name":[1025],"selected":[1028],"selectedprofile":[1025]}]]],["pn-profile-selector.cjs",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"heading":[1],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-profile-selector-option.cjs",[[0,"pn-profile-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["pn-
|
|
17
|
+
return index.bootstrapLazy([["pn-marketweb-siteheader.cjs",[[4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"siteid":[1],"environment":[1537],"userToken":[1,"user-token"],"userFullname":[1,"user-fullname"],"userLoggedin":[516,"user-loggedin"],"endpoint":[1],"hideSiteSelector":[1540,"hide-site-selector"],"hideLanguageSelector":[1540,"hide-language-selector"],"hideSearch":[1540,"hide-search"],"hideLogin":[1540,"hide-login"],"showProfileSelection":[1540,"show-profile-selection"],"siteDomainInUrls":[4,"site-domain-in-urls"],"AutocompleteEndpoint":[1,"autocomplete-endpoint"],"sessionForward":[4,"session-forward"],"cache":[4],"spaMode":[4,"spa-mode"],"i18n":[32],"gotData":[32],"fetchingData":[32],"homePageLink":[32],"menuItems":[32],"siteDefinition":[32],"search":[32],"siteSelector":[32],"languageSelector":[32],"languageOptions":[32],"loginDialog":[32],"minimizeSearch":[32],"loggedIn":[32],"loginManager":[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["pn-find-price.cjs",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["pn-find-service-and-price.cjs",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["pn-product-pricelist.cjs",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["pn-proxio-pricegroup.cjs",[[0,"pn-proxio-pricegroup",{"endpoint":[1025],"culture":[1],"tariffid":[1],"cache":[4],"activeWeightIndex":[32],"data":[32],"i18n":[32]},[[0,"activeWeightIndex","setActiveWeightIndex"],[0,"culture","setCulture"]]]]],["pn-product-pricelist-result.cjs",[[0,"pn-product-pricelist-result",{"item":[1040],"description":[16],"shownitems":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32]}]]],["pn-marketweb-sitefooter.cjs",[[4,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"siteDomainInUrls":[4,"site-domain-in-urls"],"cache":[4],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]]],["pn-pex-pricefinder.cjs",[[0,"pn-pex-pricefinder",{"language":[1],"currency":[1],"apiUrl":[1,"api-url"],"i18n":[32],"fromzip":[32],"tozip":[32],"weight":[32],"when":[32],"response":[32]},[[0,"language","setLanguage"]]]]],["pn-bonus-progressbar.cjs",[[4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"sumtext":[513],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]]],["pn-bonus-progressbar-level.cjs",[[0,"pn-bonus-progressbar-level",{"current":[516],"value":[1538],"bonuspercentage":[1537],"visualpercentage":[1538],"percentage":[32],"max":[32],"min":[32],"currency":[32]}]]],["pn-customernumber-selector.cjs",[[4,"pn-customernumber-selector",{"language":[1537],"open":[1540],"heading":[1],"description":[1],"i18n":[32]}]]],["pn-customernumber-selector-option.cjs",[[4,"pn-customernumber-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["pn-filter-checkbox.cjs",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-marketweb-search.cjs",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["pn-product-tile.cjs",[[4,"pn-product-tile"]]],["pn-profile-modal.cjs",[[4,"pn-profile-modal",{"heading":[1],"continueCtaText":[1,"continue-cta-text"],"choosenCompanyText":[1,"choosen-company-text"],"toText":[1,"to-text"],"chooseCustomerNumberText":[1,"choose-customer-number-text"],"isLoading":[32]},[[0,"urlSelected","onUrlSelected"]]]]],["pn-profile-modal-customernumber.cjs",[[4,"pn-profile-modal-customernumber",{"url":[513],"customernumber":[513],"selected":[516]}]]],["pn-profile-modal-profile.cjs",[[4,"pn-profile-modal-profile",{"heading":[513],"description":[513],"url":[513],"selected":[1028],"showCustomerNumbers":[516,"show-customer-numbers"],"pleaseSelectText":[513,"please-select-text"],"visible":[1540],"identifier":[32]}]]],["pn-profile-modal-type.cjs",[[4,"pn-profile-modal-type",{"typeid":[513],"name":[1025],"selected":[1028],"selectedprofile":[1025]}]]],["pn-profile-selector.cjs",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"heading":[1],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-profile-selector-option.cjs",[[0,"pn-profile-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["pn-sidenav.cjs",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["pn-sidenav-level.cjs",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["pn-sidenav-link.cjs",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-sidenav-togglebutton.cjs",[[4,"pn-sidenav-togglebutton",{"label":[1],"i18n":[32]}]]],["pn-product-card_4.cjs",[[0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}],[0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1],"service":[1],"linkid":[1]}],[4,"pn-titletag",{"icon":[1],"color":[1537]}],[4,"pn-product-card"]]],["pn-find-service-and-price-result.cjs",[[0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-marketweb-input.cjs",[[0,"pn-marketweb-input",{"disabled":[4],"error":[1],"invalid":[4],"helpertext":[1],"label":[1],"placeholder":[1],"inputid":[1],"name":[1],"required":[4],"type":[1025],"autocomplete":[1],"valid":[4],"value":[1],"maxlength":[1],"min":[1],"max":[1],"step":[1],"pattern":[1],"showText":[32]}]]],["pn-find-price-result.cjs",[[0,"pn-find-price-result",{"item":[1040],"shownitems":[16],"Usp1":[1,"usp-1"],"Usp2":[1,"usp-2"],"Usp3":[1,"usp-3"],"description":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32],"linkId":[32],"shopLabel":[32],"shopUrl":[32],"shopId":[32]}]]],["pn-site-footer_2.cjs",[[4,"pn-site-footer",{"url":[1],"linktitle":[1]}],[4,"pn-site-footer-col"]]],["pn-choice-button.cjs",[[4,"pn-choice-button",{"value":[520],"name":[1],"choiceid":[1],"type":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-mainnav-link.cjs",[[4,"pn-mainnav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-marketweb-siteheader-login-linklist.cjs",[[0,"pn-marketweb-siteheader-login-linklist",{"heading":[1],"links":[16],"idNamespace":[1,"id-namespace"],"loginManager":[16]}]]],["pn-marketweb-siteheader-login-links_2.cjs",[[0,"pn-marketweb-siteheader-login-links",{"loginDialog":[1040],"loginManager":[16],"idNamespace":[1,"id-namespace"],"loggedin":[516],"username":[1]}],[0,"pn-marketweb-siteheader-login-profileselection",{"loginDialog":[1040],"loginManager":[16],"endpoint":[1],"loggedin":[4],"idNamespace":[1,"id-namespace"],"heading":[1],"i18n":[16],"currentProfile":[1040],"profileoptions":[1040],"user":[32],"logoutLink":[32],"userName":[32],"userEmail":[32]}]]],["pn-proxio-productcard_4.cjs",[[4,"pn-proxio-productcard"],[0,"pn-proxio-productcard-description",{"heading":[1],"highlight":[1],"description":[1],"list":[1040]}],[0,"pn-proxio-productcard-information",{"label":[1],"information":[16]}],[0,"pn-proxio-productcard-pricelink",{"price":[1],"link":[1],"linktext":[1]}]]],["pn-product-tile-info_2.cjs",[[0,"pn-product-tile-info",{"label":[1],"text":[1],"icon":[1]}],[0,"pn-product-tile-price",{"label":[1],"amount":[1],"currency":[1],"url":[1]}]]],["pn-language-selector_9.cjs",[[0,"pn-marketweb-siteheader-login",{"endpoint":[1],"token":[1],"i18n":[16],"emitEvents":[4,"emit-events"],"loginDialog":[1040],"fullname":[1],"loggedin":[4],"showProfileSelection":[1028,"show-profile-selection"],"loginManager":[32],"loginLinks":[32],"toggleButtonText":[32],"username":[32]}],[4,"pn-mainnav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"listCount":[32],"alignment":[32]}],[4,"pn-language-selector",{"value":[1537],"selectedLanguageName":[32],"options":[32],"i18n":[32]}],[0,"pn-language-selector-option",{"name":[1],"code":[1],"url":[1],"selected":[4],"currentLanguage":[1,"current-language"]}],[4,"pn-mainnav",{"market":[1],"language":[1],"navigationId":[1,"navigation-id"],"openMenu":[1028,"open-menu"],"navLabel":[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{"heading":[1],"linkCount":[32]}],[0,"pn-marketweb-siteheader-search",{"i18n":[8,"i-1-8n"],"showOnlyLink":[1028,"show-only-link"],"hideSearch":[1028,"hide-search"],"language":[1537],"siteid":[1],"search":[1040],"primary":[4],"autoCompleteOptions":[32]}],[4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}],[0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -55,5 +55,5 @@ const patchCloneNodeFix = (HTMLElementPrototype) => {
|
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
patchBrowser().then(options => {
|
|
58
|
-
return index.bootstrapLazy([["pn-marketweb-siteheader.cjs",[[4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"siteid":[1],"environment":[1537],"userToken":[1,"user-token"],"userFullname":[1,"user-fullname"],"userLoggedin":[516,"user-loggedin"],"endpoint":[1],"hideSiteSelector":[1540,"hide-site-selector"],"hideLanguageSelector":[1540,"hide-language-selector"],"hideSearch":[1540,"hide-search"],"hideLogin":[1540,"hide-login"],"showProfileSelection":[1540,"show-profile-selection"],"siteDomainInUrls":[4,"site-domain-in-urls"],"AutocompleteEndpoint":[1,"autocomplete-endpoint"],"sessionForward":[4,"session-forward"],"cache":[4],"spaMode":[4,"spa-mode"],"i18n":[32],"gotData":[32],"fetchingData":[32],"homePageLink":[32],"menuItems":[32],"siteDefinition":[32],"search":[32],"siteSelector":[32],"languageSelector":[32],"languageOptions":[32],"loginDialog":[32],"minimizeSearch":[32],"loggedIn":[32],"loginManager":[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["pn-find-price.cjs",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["pn-find-service-and-price.cjs",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["pn-product-pricelist.cjs",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["pn-product-pricelist-result.cjs",[[0,"pn-product-pricelist-result",{"item":[1040],"description":[16],"shownitems":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32]}]]],["pn-marketweb-sitefooter.cjs",[[4,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"siteDomainInUrls":[4,"site-domain-in-urls"],"cache":[4],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]]],["pn-pex-pricefinder.cjs",[[0,"pn-pex-pricefinder",{"language":[1],"currency":[1],"apiUrl":[1,"api-url"],"i18n":[32],"fromzip":[32],"tozip":[32],"weight":[32],"when":[32],"response":[32]},[[0,"language","setLanguage"]]]]],["pn-bonus-progressbar.cjs",[[4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"sumtext":[513],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]]],["pn-bonus-progressbar-level.cjs",[[0,"pn-bonus-progressbar-level",{"current":[516],"value":[1538],"bonuspercentage":[1537],"visualpercentage":[1538],"percentage":[32],"max":[32],"min":[32],"currency":[32]}]]],["pn-customernumber-selector.cjs",[[4,"pn-customernumber-selector",{"language":[1537],"open":[1540],"heading":[1],"description":[1],"i18n":[32]}]]],["pn-customernumber-selector-option.cjs",[[4,"pn-customernumber-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["pn-filter-checkbox.cjs",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-marketweb-search.cjs",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["pn-product-tile.cjs",[[4,"pn-product-tile"]]],["pn-profile-modal.cjs",[[4,"pn-profile-modal",{"heading":[1],"continueCtaText":[1,"continue-cta-text"],"choosenCompanyText":[1,"choosen-company-text"],"toText":[1,"to-text"],"chooseCustomerNumberText":[1,"choose-customer-number-text"],"isLoading":[32]},[[0,"urlSelected","onUrlSelected"]]]]],["pn-profile-modal-customernumber.cjs",[[4,"pn-profile-modal-customernumber",{"url":[513],"customernumber":[513],"selected":[516]}]]],["pn-profile-modal-profile.cjs",[[4,"pn-profile-modal-profile",{"heading":[513],"description":[513],"url":[513],"selected":[1028],"showCustomerNumbers":[516,"show-customer-numbers"],"pleaseSelectText":[513,"please-select-text"],"visible":[1540],"identifier":[32]}]]],["pn-profile-modal-type.cjs",[[4,"pn-profile-modal-type",{"typeid":[513],"name":[1025],"selected":[1028],"selectedprofile":[1025]}]]],["pn-profile-selector.cjs",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"heading":[1],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-profile-selector-option.cjs",[[0,"pn-profile-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["pn-
|
|
58
|
+
return index.bootstrapLazy([["pn-marketweb-siteheader.cjs",[[4,"pn-marketweb-siteheader",{"market":[1537],"language":[1537],"siteid":[1],"environment":[1537],"userToken":[1,"user-token"],"userFullname":[1,"user-fullname"],"userLoggedin":[516,"user-loggedin"],"endpoint":[1],"hideSiteSelector":[1540,"hide-site-selector"],"hideLanguageSelector":[1540,"hide-language-selector"],"hideSearch":[1540,"hide-search"],"hideLogin":[1540,"hide-login"],"showProfileSelection":[1540,"show-profile-selection"],"siteDomainInUrls":[4,"site-domain-in-urls"],"AutocompleteEndpoint":[1,"autocomplete-endpoint"],"sessionForward":[4,"session-forward"],"cache":[4],"spaMode":[4,"spa-mode"],"i18n":[32],"gotData":[32],"fetchingData":[32],"homePageLink":[32],"menuItems":[32],"siteDefinition":[32],"search":[32],"siteSelector":[32],"languageSelector":[32],"languageOptions":[32],"loginDialog":[32],"minimizeSearch":[32],"loggedIn":[32],"loginManager":[32]},[[0,"setLanguage","onLanguageSelectorChange"],[0,"loginStateChange","onLoginStateChange"],[9,"resize","handleResize"]]]]],["pn-find-price.cjs",[[0,"pn-find-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"weight":[32],"weightvalue":[32],"sourceData":[32],"sizecategory":[32]}]]],["pn-find-service-and-price.cjs",[[0,"pn-find-service-and-price",{"source":[1],"language":[1025],"market":[1025],"filteredItems":[32],"postagetype":[32],"weight":[32],"weightvalue":[32],"deliveryscope":[32],"sourceData":[32]}]]],["pn-product-pricelist.cjs",[[4,"pn-product-pricelist",{"source":[1],"language":[1025],"market":[1025],"productid":[1],"filteredItems":[32],"sourceData":[32],"gotData":[32],"loading":[32],"postagetype":[32],"weight":[32],"weightvalue":[32]}]]],["pn-proxio-pricegroup.cjs",[[0,"pn-proxio-pricegroup",{"endpoint":[1025],"culture":[1],"tariffid":[1],"cache":[4],"activeWeightIndex":[32],"data":[32],"i18n":[32]},[[0,"activeWeightIndex","setActiveWeightIndex"],[0,"culture","setCulture"]]]]],["pn-product-pricelist-result.cjs",[[0,"pn-product-pricelist-result",{"item":[1040],"description":[16],"shownitems":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32]}]]],["pn-marketweb-sitefooter.cjs",[[4,"pn-marketweb-sitefooter",{"market":[1537],"language":[1537],"environment":[1537],"endpoint":[1],"siteDomainInUrls":[4,"site-domain-in-urls"],"cache":[4],"siteDefinition":[32],"footerContent":[32],"i18n":[32],"gotData":[32],"fetchingData":[32]}]]],["pn-pex-pricefinder.cjs",[[0,"pn-pex-pricefinder",{"language":[1],"currency":[1],"apiUrl":[1,"api-url"],"i18n":[32],"fromzip":[32],"tozip":[32],"weight":[32],"when":[32],"response":[32]},[[0,"language","setLanguage"]]]]],["pn-bonus-progressbar.cjs",[[4,"pn-bonus-progressbar",{"icon":[1],"heading":[1],"sumtext":[513],"theme":[513],"bonuspercentage":[1],"currency":[513],"value":[1538],"min":[1538],"max":[1538],"valuepercentage":[32],"progresspercentage":[32],"levelValues":[32],"currentLevelAdjustedValue":[32]}]]],["pn-bonus-progressbar-level.cjs",[[0,"pn-bonus-progressbar-level",{"current":[516],"value":[1538],"bonuspercentage":[1537],"visualpercentage":[1538],"percentage":[32],"max":[32],"min":[32],"currency":[32]}]]],["pn-customernumber-selector.cjs",[[4,"pn-customernumber-selector",{"language":[1537],"open":[1540],"heading":[1],"description":[1],"i18n":[32]}]]],["pn-customernumber-selector-option.cjs",[[4,"pn-customernumber-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["pn-filter-checkbox.cjs",[[1,"pn-filter-checkbox",{"value":[520],"name":[1],"checkboxid":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-marketweb-search.cjs",[[1,"pn-marketweb-search",{"disabled":[4],"placeholder":[1],"inputid":[1],"name":[1],"autocomplete":[1],"list":[1],"value":[1],"label":[1],"loading":[4],"button":[1],"light":[4],"suggestionObserver":[32],"hasClonedInput":[32],"listSuggestion":[32]},[[0,"input","inputHandler"]]]]],["pn-product-tile.cjs",[[4,"pn-product-tile"]]],["pn-profile-modal.cjs",[[4,"pn-profile-modal",{"heading":[1],"continueCtaText":[1,"continue-cta-text"],"choosenCompanyText":[1,"choosen-company-text"],"toText":[1,"to-text"],"chooseCustomerNumberText":[1,"choose-customer-number-text"],"isLoading":[32]},[[0,"urlSelected","onUrlSelected"]]]]],["pn-profile-modal-customernumber.cjs",[[4,"pn-profile-modal-customernumber",{"url":[513],"customernumber":[513],"selected":[516]}]]],["pn-profile-modal-profile.cjs",[[4,"pn-profile-modal-profile",{"heading":[513],"description":[513],"url":[513],"selected":[1028],"showCustomerNumbers":[516,"show-customer-numbers"],"pleaseSelectText":[513,"please-select-text"],"visible":[1540],"identifier":[32]}]]],["pn-profile-modal-type.cjs",[[4,"pn-profile-modal-type",{"typeid":[513],"name":[1025],"selected":[1028],"selectedprofile":[1025]}]]],["pn-profile-selector.cjs",[[4,"pn-profile-selector",{"language":[1537],"returnUrl":[1,"return-url"],"heading":[1],"i18n":[32],"isLoading":[32],"numberOfProfiles":[32]}]]],["pn-profile-selector-option.cjs",[[0,"pn-profile-selector-option",{"heading":[1],"description":[1],"url":[1]}]]],["pn-sidenav.cjs",[[4,"pn-sidenav",{"language":[1],"navLabel":[1,"nav-label"],"i18n":[32]},[[0,"language","setLanguage"],[0,"openSubMenuLevelChange","onOpenSubMenuLevelChange"]]]]],["pn-sidenav-level.cjs",[[4,"pn-sidenav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"alignment":[32]}]]],["pn-sidenav-link.cjs",[[4,"pn-sidenav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"icon":[1],"current":[4],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-sidenav-togglebutton.cjs",[[4,"pn-sidenav-togglebutton",{"label":[1],"i18n":[32]}]]],["pn-product-card_4.cjs",[[0,"pn-product-card-info",{"rulle":[1],"paket":[1],"label":[1],"text":[1]}],[0,"pn-product-card-price",{"label":[1],"amount":[1],"currency":[1],"note":[1],"url":[1],"service":[1],"linkid":[1]}],[4,"pn-titletag",{"icon":[1],"color":[1537]}],[4,"pn-product-card"]]],["pn-find-service-and-price-result.cjs",[[0,"pn-find-service-and-price-result",{"item":[1040],"shownitems":[16],"weightText":[32]}]]],["pn-marketweb-input.cjs",[[0,"pn-marketweb-input",{"disabled":[4],"error":[1],"invalid":[4],"helpertext":[1],"label":[1],"placeholder":[1],"inputid":[1],"name":[1],"required":[4],"type":[1025],"autocomplete":[1],"valid":[4],"value":[1],"maxlength":[1],"min":[1],"max":[1],"step":[1],"pattern":[1],"showText":[32]}]]],["pn-find-price-result.cjs",[[0,"pn-find-price-result",{"item":[1040],"shownitems":[16],"Usp1":[1,"usp-1"],"Usp2":[1,"usp-2"],"Usp3":[1,"usp-3"],"description":[16],"showMeasurement":[4,"show-measurement"],"weightText":[32],"linkId":[32],"shopLabel":[32],"shopUrl":[32],"shopId":[32]}]]],["pn-site-footer_2.cjs",[[4,"pn-site-footer",{"url":[1],"linktitle":[1]}],[4,"pn-site-footer-col"]]],["pn-choice-button.cjs",[[4,"pn-choice-button",{"value":[520],"name":[1],"choiceid":[1],"type":[1],"disabled":[4],"checked":[4],"indeterminate":[1028]},[[0,"change","handlechange"]]]]],["pn-mainnav-link.cjs",[[4,"pn-mainnav-link",{"name":[1],"href":[1],"target":[1],"linkid":[1],"levelId":[32],"open":[32],"hasChildren":[32]}]]],["pn-marketweb-siteheader-login-linklist.cjs",[[0,"pn-marketweb-siteheader-login-linklist",{"heading":[1],"links":[16],"idNamespace":[1,"id-namespace"],"loginManager":[16]}]]],["pn-marketweb-siteheader-login-links_2.cjs",[[0,"pn-marketweb-siteheader-login-links",{"loginDialog":[1040],"loginManager":[16],"idNamespace":[1,"id-namespace"],"loggedin":[516],"username":[1]}],[0,"pn-marketweb-siteheader-login-profileselection",{"loginDialog":[1040],"loginManager":[16],"endpoint":[1],"loggedin":[4],"idNamespace":[1,"id-namespace"],"heading":[1],"i18n":[16],"currentProfile":[1040],"profileoptions":[1040],"user":[32],"logoutLink":[32],"userName":[32],"userEmail":[32]}]]],["pn-proxio-productcard_4.cjs",[[4,"pn-proxio-productcard"],[0,"pn-proxio-productcard-description",{"heading":[1],"highlight":[1],"description":[1],"list":[1040]}],[0,"pn-proxio-productcard-information",{"label":[1],"information":[16]}],[0,"pn-proxio-productcard-pricelink",{"price":[1],"link":[1],"linktext":[1]}]]],["pn-product-tile-info_2.cjs",[[0,"pn-product-tile-info",{"label":[1],"text":[1],"icon":[1]}],[0,"pn-product-tile-price",{"label":[1],"amount":[1],"currency":[1],"url":[1]}]]],["pn-language-selector_9.cjs",[[0,"pn-marketweb-siteheader-login",{"endpoint":[1],"token":[1],"i18n":[16],"emitEvents":[4,"emit-events"],"loginDialog":[1040],"fullname":[1],"loggedin":[4],"showProfileSelection":[1028,"show-profile-selection"],"loginManager":[32],"loginLinks":[32],"toggleButtonText":[32],"username":[32]}],[4,"pn-mainnav-level",{"level":[32],"levelId":[32],"isOpen":[32],"parentName":[32],"parentHref":[32],"parentLinkId":[32],"listCount":[32],"alignment":[32]}],[4,"pn-language-selector",{"value":[1537],"selectedLanguageName":[32],"options":[32],"i18n":[32]}],[0,"pn-language-selector-option",{"name":[1],"code":[1],"url":[1],"selected":[4],"currentLanguage":[1,"current-language"]}],[4,"pn-mainnav",{"market":[1],"language":[1],"navigationId":[1,"navigation-id"],"openMenu":[1028,"open-menu"],"navLabel":[1,"nav-label"]},[[0,"language","setLanguage"],[0,"market","setMarket"],[0,"menuLanguageChange","onLanguageChange"],[0,"setmenuopenstate","setMenuOpenState"],[0,"openMenuLevelChange","onOpenMenuLevelChange"]]],[4,"pn-mainnav-list",{"heading":[1],"linkCount":[32]}],[0,"pn-marketweb-siteheader-search",{"i18n":[8,"i-1-8n"],"showOnlyLink":[1028,"show-only-link"],"hideSearch":[1028,"hide-search"],"language":[1537],"siteid":[1],"search":[1040],"primary":[4],"autoCompleteOptions":[32]}],[4,"pn-site-selector",{"buttontext":[1537],"heading":[1537],"language":[1537],"i18n":[32]}],[0,"pn-site-selector-item",{"url":[1],"heading":[1],"description":[1],"newwindow":[4]}]]]], options);
|
|
59
59
|
});
|
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3e27c79.js');
|
|
6
|
-
const
|
|
7
|
-
const FetchHelper = require('./FetchHelper-f80943bf.js');
|
|
6
|
+
const FetchHelper = require('./FetchHelper-c6cee722.js');
|
|
8
7
|
|
|
9
8
|
const translations = {
|
|
10
9
|
'sv': {
|
|
@@ -84,7 +83,7 @@ let PnMarketwebSiteheader = class {
|
|
|
84
83
|
}
|
|
85
84
|
async setInitialValues(href = window.location.href) {
|
|
86
85
|
var _a;
|
|
87
|
-
const marketWebContextService = new
|
|
86
|
+
const marketWebContextService = new FetchHelper.MarketWebContextService(href);
|
|
88
87
|
if (!this.market) {
|
|
89
88
|
const resolvedMarket = await marketWebContextService.getMarket();
|
|
90
89
|
this.market = resolvedMarket;
|
|
@@ -3,9 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3e27c79.js');
|
|
6
|
-
const
|
|
6
|
+
const FetchHelper = require('./FetchHelper-c6cee722.js');
|
|
7
7
|
const MarketWebLoginManager = require('./MarketWebLoginManager-e4525782.js');
|
|
8
|
-
const FetchHelper = require('./FetchHelper-f80943bf.js');
|
|
9
8
|
|
|
10
9
|
const translations = {
|
|
11
10
|
'sv': {
|
|
@@ -146,7 +145,7 @@ let PnMarketwebSiteheader = class {
|
|
|
146
145
|
}
|
|
147
146
|
async setInitialValues(href = window.location.href) {
|
|
148
147
|
var _a;
|
|
149
|
-
const marketWebContextService = new
|
|
148
|
+
const marketWebContextService = new FetchHelper.MarketWebContextService(href);
|
|
150
149
|
if (!this.market) {
|
|
151
150
|
const resolvedMarket = await marketWebContextService.getMarket();
|
|
152
151
|
this.market = resolvedMarket;
|
|
@@ -49,7 +49,7 @@ let PnProductCardPrice = class {
|
|
|
49
49
|
};
|
|
50
50
|
PnProductCardPrice.style = pnProductCardPriceCss;
|
|
51
51
|
|
|
52
|
-
const 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}";
|
|
52
|
+
const 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}";
|
|
53
53
|
|
|
54
54
|
let PnTiletag = class {
|
|
55
55
|
constructor(hostRef) {
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e3e27c79.js');
|
|
6
|
+
const FetchHelper = require('./FetchHelper-c6cee722.js');
|
|
7
|
+
|
|
8
|
+
const translations = {
|
|
9
|
+
'sv-se': {
|
|
10
|
+
"from": "Från ",
|
|
11
|
+
"labelRoll": "Rulle",
|
|
12
|
+
"labelPackage": "Paket",
|
|
13
|
+
"notTraceable": "Inte spårbart",
|
|
14
|
+
"Creapest": "Billigast"
|
|
15
|
+
},
|
|
16
|
+
'en-gb': {
|
|
17
|
+
"from": "From ",
|
|
18
|
+
"labelRoll": "Roll",
|
|
19
|
+
"labelPackage": "Package",
|
|
20
|
+
"notTraceable": "Not traceable",
|
|
21
|
+
"Creapest": "Cheapest"
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
const pnProxioPricegroupCss = "pn-proxio-pricegroup div.weightcontainer{margin:3rem 0}pn-proxio-pricegroup div.weightvaluecontainer{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-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.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;height:5rem;-ms-flex-pack:justify;justify-content:space-between}pn-proxio-pricegroup input[type=radio]{-webkit-appearance:none;-moz-appearance:none;width:1.3rem;height:1.3rem;background-color:#005D92;border-radius:50%}pn-proxio-pricegroup input[type=radio]:checked{z-index:1;-webkit-transform:translateY(-0.1rem);transform:translateY(-0.1rem);height:1.5rem;width:1.5rem;-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 pn-button[disabled=disabled]{opacity:0.2}pn-proxio-pricegroup pn-button button div.button-tooltip{visibility:hidden;display:none}pn-proxio-pricegroup pn-button button:focus .pn-button-bg{-webkit-box-shadow:none;box-shadow:none}pn-proxio-pricegroup div.weightradios{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap;color:#005D92;width:80%;margin-left:auto;margin-right:auto;position:relative}pn-proxio-pricegroup div.weightline{width:100%;background-color:#F3F2F2;z-index:-1;height:0.7rem;-webkit-transform:translateX(2.1rem) translateY(1.32rem);transform:translateX(2.1rem) translateY(1.32rem);border-radius:3rem;margin-right:3.5rem}pn-proxio-pricegroup .activeweight{font-size:large;font-weight:bold}";
|
|
26
|
+
|
|
27
|
+
let PnProxioPricegroup = class {
|
|
28
|
+
constructor(hostRef) {
|
|
29
|
+
index.registerInstance(this, hostRef);
|
|
30
|
+
/** Specifies which endpoint domain we should load from */
|
|
31
|
+
this.endpoint = null;
|
|
32
|
+
this.culture = "sv-se";
|
|
33
|
+
this.tariffid = "";
|
|
34
|
+
this.cache = true;
|
|
35
|
+
this.activeWeightIndex = 0;
|
|
36
|
+
this.data = null;
|
|
37
|
+
this.i18n = translations["sv-se"];
|
|
38
|
+
this.fetchHelper = new FetchHelper.FetchHelper("proxiopricegroup");
|
|
39
|
+
}
|
|
40
|
+
componentWillLoad() {
|
|
41
|
+
this.setInitialValues().then(() => {
|
|
42
|
+
this.init();
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
async setInitialValues(href = window.location.href) {
|
|
46
|
+
const marketWebContextService = new FetchHelper.MarketWebContextService(href);
|
|
47
|
+
const environment = await marketWebContextService.getEnvironmentName();
|
|
48
|
+
if ((!this.endpoint && (environment === null || environment === void 0 ? void 0 : environment.indexOf('local')) === -1)) {
|
|
49
|
+
const market = await marketWebContextService.getMarket();
|
|
50
|
+
this.endpoint = await marketWebContextService.getEndpoint(environment, market);
|
|
51
|
+
}
|
|
52
|
+
if (!this.endpoint) {
|
|
53
|
+
this.endpoint = "";
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
init() {
|
|
57
|
+
this.setCulture();
|
|
58
|
+
this.fetchData();
|
|
59
|
+
}
|
|
60
|
+
async fetchData() {
|
|
61
|
+
if (!this.culture || !this.tariffid) {
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
const endpoint = (this.endpoint.lastIndexOf("/") === this.endpoint.length - 1) ? this.endpoint.substring(0, this.endpoint.length - 1) : this.endpoint;
|
|
65
|
+
const fetchUrl = `${endpoint}/api/proxio/price-list-group?tariffId=${this.tariffid}&culture=${this.culture}&cached=${this.cache}`;
|
|
66
|
+
const data = await this.fetchHelper.fetchJson(fetchUrl, {
|
|
67
|
+
'mode': 'cors'
|
|
68
|
+
}, this.cache, this.onFetchData.bind(this));
|
|
69
|
+
if (data === null || data === void 0 ? void 0 : data.proxioProduct) {
|
|
70
|
+
this.data = data;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
onFetchData(data) {
|
|
74
|
+
this.data = data;
|
|
75
|
+
}
|
|
76
|
+
setActiveWeightIndex(weightIndex) {
|
|
77
|
+
var _a, _b, _c;
|
|
78
|
+
let minIndex = 0;
|
|
79
|
+
let maxIndex = (_c = ((_b = (_a = this.data.proxioProduct) === null || _a === void 0 ? void 0 : _a.weightAndPriceList) === null || _b === void 0 ? void 0 : _b.length) - 1) !== null && _c !== void 0 ? _c : minIndex;
|
|
80
|
+
weightIndex = weightIndex > maxIndex ? maxIndex : weightIndex;
|
|
81
|
+
weightIndex = weightIndex < minIndex ? minIndex : weightIndex;
|
|
82
|
+
this.activeWeightIndex = weightIndex;
|
|
83
|
+
}
|
|
84
|
+
setCulture() {
|
|
85
|
+
if (translations[this.culture]) {
|
|
86
|
+
this.i18n = translations[this.culture];
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
getPrice(product) {
|
|
90
|
+
var _a;
|
|
91
|
+
return (_a = product === null || product === void 0 ? void 0 : product.weightAndPriceList[this.activeWeightIndex]) === null || _a === void 0 ? void 0 : _a.item2;
|
|
92
|
+
}
|
|
93
|
+
isActive(index) {
|
|
94
|
+
return index === this.activeWeightIndex;
|
|
95
|
+
}
|
|
96
|
+
render() {
|
|
97
|
+
var _a, _b, _c;
|
|
98
|
+
return (index.h(index.Host, null, ((_a = this.data) === null || _a === void 0 ? void 0 : _a.proxioProduct) ? (index.h("div", null, index.h("div", { class: "weightcontainer" }, this.data.proxioProduct.weightAndPriceList ?
|
|
99
|
+
(index.h("div", { class: "weightvaluecontainer" }, index.h("pn-button", { disabled: this.activeWeightIndex === 0 ? ("disabled") : (null), "icon-only": "true", icon: "arrow-left", appearance: "light", small: "true", onClick: () => this.setActiveWeightIndex(this.activeWeightIndex - 1) }), index.h("div", { class: "weightradios" }, index.h("div", { class: "weightline" }), this.data.proxioProduct.weightAndPriceList.map((weightItem, index$1) => index.h("div", { class: "weightdata" + (this.isActive(index$1) ? (" activeweight") : ("")) }, index.h("input", { type: "radio", id: "weightradio" + index$1, name: "weightradio", value: index$1, checked: this.isActive(index$1), onClick: () => this.setActiveWeightIndex(index$1) }), index.h("label", { htmlFor: "weightradio" + index$1 }, weightItem.item1)))), index.h("pn-button", { disabled: this.activeWeightIndex === ((_c = (_b = this.data.proxioProduct) === null || _b === void 0 ? void 0 : _b.weightAndPriceList) === null || _c === void 0 ? void 0 : _c.length) - 1 ? ("disabled") : (null), icon: "arrow-right", appearance: "light", "icon-only": "true", small: "true", onClick: () => this.setActiveWeightIndex(this.activeWeightIndex + 1) }))) : (null)), index.h("pn-proxio-productcard", null, index.h("h2", { slot: "title" }, this.data.proxioProduct.productTitle), index.h("pn-proxio-productcard-description", { slot: "description", heading: this.data.proxioProduct.productPreamble, highlight: this.data.proxioProduct.deliveryDateInformation, list: this.data.proxioProduct.productDescriptionBulletListItems }), index.h("div", { slot: "information" }, index.h("pn-proxio-productcard-information", { label: this.i18n.labelPackage, information: this.data.proxioProduct.productPackageDimensionsList }), index.h("pn-proxio-productcard-information", { label: this.i18n.labelRoll, information: this.data.proxioProduct.productRollDimensionsList })), index.h("div", { slot: "bottomtags" }, this.data.proxioProduct.tracable ?
|
|
100
|
+
(index.h("pn-titletag", { color: "gray50" }, this.i18n.notTraceable)) : (null), this.data.proxioProduct.usp1 ?
|
|
101
|
+
(index.h("pn-titletag", { color: "gray50" }, this.data.proxioProduct.usp1)) : (null), this.data.proxioProduct.usp2 ?
|
|
102
|
+
(index.h("pn-titletag", { color: "gray50" }, this.data.proxioProduct.usp2)) : (null), this.data.proxioProduct.usp3 ?
|
|
103
|
+
(index.h("pn-titletag", { color: "gray50" }, this.data.proxioProduct.usp3)) : (null)), index.h("pn-illustration", { slot: "illustration", illustration: this.data.proxioProduct.productIcon }), index.h("div", { slot: "pricelink" }, index.h("pn-proxio-productcard-pricelink", { price: this.i18n.from + this.getPrice(this.data.proxioProduct), link: this.data.proxioProduct.productLink, linktext: this.data.proxioProduct.productLinkText }), this.data.relatedProxioProducts ? (this.data.relatedProxioProducts.map((product) => (index.h("pn-proxio-productcard-pricelink", { price: this.i18n.from + this.getPrice(product), link: product.productLink, linktext: product.productLinkText })))) : (null))))) : (null)));
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
PnProxioPricegroup.style = pnProxioPricegroupCss;
|
|
107
|
+
|
|
108
|
+
exports.pn_proxio_pricegroup = PnProxioPricegroup;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-e3e27c79.js');
|
|
6
|
+
|
|
7
|
+
const pnProxioProductcardCss = "pn-proxio-productcard .cardcontent{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;border:solid 0.1rem #F9F8F8;border-radius:0.8rem;overflow:hidden;margin-left:auto;margin-right:auto;margin-bottom:1.6rem}pn-proxio-productcard .carddetails{min-width:70%;padding:2rem;display:-ms-flexbox;display:flex;gap:1rem;-ms-flex-direction:column;flex-direction:column}pn-proxio-productcard .cardcalltoactions{min-width:30%;background-color:#EFFBFF;padding:1rem;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center}pn-proxio-productcard .cardcalltoactions pn-illustration[slot=illustration] .pn-illustration{max-width:10rem;margin-left:auto;margin-right:auto}pn-proxio-productcard [slot=information]{display:-ms-flexbox;display:flex;gap:1rem}pn-proxio-productcard [slot=uppertags]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;gap:2rem}pn-proxio-productcard [slot=bottomtags]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center;gap:2rem;margin:1rem 0}pn-proxio-productcard .heading{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:row;flex-direction:row}pn-proxio-productcard [slot=title]{text-decoration:underline}";
|
|
8
|
+
|
|
9
|
+
let PnProxioProductcard = class {
|
|
10
|
+
constructor(hostRef) {
|
|
11
|
+
index.registerInstance(this, hostRef);
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return (index.h(index.Host, null, index.h("div", { class: "cardcontent" }, index.h("div", { class: "carddetails" }, index.h("div", { class: "heading" }, index.h("slot", { name: "title" }), index.h("slot", { name: "uppertags" })), index.h("slot", { name: "description" }), index.h("slot", { name: "information" }), index.h("slot", { name: "bottomtags" })), index.h("div", { class: "cardcalltoactions" }, index.h("slot", { name: "illustration" }), index.h("slot", { name: "pricelink" })))));
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
PnProxioProductcard.style = pnProxioProductcardCss;
|
|
18
|
+
|
|
19
|
+
const pnProxioProductcardDescriptionCss = "pn-proxio-productcard-description h3{font-size:2rem}pn-proxio-productcard-description .highlight{color:#0fa85c}";
|
|
20
|
+
|
|
21
|
+
let PnProxioProductcardDescription = class {
|
|
22
|
+
constructor(hostRef) {
|
|
23
|
+
index.registerInstance(this, hostRef);
|
|
24
|
+
this.list = [];
|
|
25
|
+
}
|
|
26
|
+
render() {
|
|
27
|
+
return (index.h(index.Host, null, this.heading ? (index.h("h3", null, this.heading)) : (null), this.highlight ? (index.h("h3", { class: "highlight" }, this.highlight)) : (null), this.description ? (index.h("span", null, this.description)) : (null), this.list ?
|
|
28
|
+
(index.h("ul", null, this.list.map((text) => {
|
|
29
|
+
return (index.h("li", null, text));
|
|
30
|
+
})))
|
|
31
|
+
: (null)));
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
PnProxioProductcardDescription.style = pnProxioProductcardDescriptionCss;
|
|
35
|
+
|
|
36
|
+
const pnProxioProductcardInformationCss = "pn-proxio-productcard-information{-ms-flex-item-align:center;align-self:center}pn-proxio-productcard-information p strong.label{font-weight:500}";
|
|
37
|
+
|
|
38
|
+
let PnProxioProductcardInformation = class {
|
|
39
|
+
constructor(hostRef) {
|
|
40
|
+
index.registerInstance(this, hostRef);
|
|
41
|
+
this.information = [];
|
|
42
|
+
}
|
|
43
|
+
render() {
|
|
44
|
+
return (index.h(index.Host, null, index.h("div", { class: "cardinfocontent" }, this.information && this.label ? (index.h("div", { class: "cardinfocontent-item" }, index.h("p", null, index.h("strong", null, this.label)), this.information.map((item) => (item ?
|
|
45
|
+
(index.h("p", null, index.h("strong", { class: "label" }, item.item1, ":"), " ", item.item2))
|
|
46
|
+
: (null))))) : null)));
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
PnProxioProductcardInformation.style = pnProxioProductcardInformationCss;
|
|
50
|
+
|
|
51
|
+
const pnProxioProductcardPricelinkCss = "pn-proxio-productcard-pricelink{-ms-flex-item-align:center;align-self:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;margin:2rem 1rem;gap:1rem;-ms-flex-line-pack:center;align-content:center;-ms-flex-wrap:wrap;flex-wrap:wrap}pn-proxio-productcard-pricelink pn-button{min-width:17rem}";
|
|
52
|
+
|
|
53
|
+
let PnProxioProductcardPricelink = class {
|
|
54
|
+
constructor(hostRef) {
|
|
55
|
+
index.registerInstance(this, hostRef);
|
|
56
|
+
}
|
|
57
|
+
render() {
|
|
58
|
+
return this.link && this.linktext ?
|
|
59
|
+
(index.h(index.Host, null, this.price ? (index.h("h2", null, this.price)) : (null), index.h("pn-button", { small: "true", icon: "arrow-right", appearance: "light", href: this.link, target: "_blank", rel: "noopener nofollower noreferrer" }, this.linktext))) : (null);
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
PnProxioProductcardPricelink.style = pnProxioProductcardPricelinkCss;
|
|
63
|
+
|
|
64
|
+
exports.pn_proxio_productcard = PnProxioProductcard;
|
|
65
|
+
exports.pn_proxio_productcard_description = PnProxioProductcardDescription;
|
|
66
|
+
exports.pn_proxio_productcard_information = PnProxioProductcardInformation;
|
|
67
|
+
exports.pn_proxio_productcard_pricelink = PnProxioProductcardPricelink;
|
|
@@ -49,7 +49,10 @@
|
|
|
49
49
|
"./components/widgets/pn-product-tile/pn-product-tile-info.js",
|
|
50
50
|
"./components/widgets/pn-product-tile/pn-product-tile-price.js",
|
|
51
51
|
"./components/widgets/pn-product-tile/pn-product-tile.js",
|
|
52
|
-
"./components/widgets/pn-proxio-
|
|
52
|
+
"./components/widgets/pn-proxio-pricegroup/pn-proxio-pricegroup.js",
|
|
53
|
+
"./components/widgets/pn-proxio-productcard/pn-proxio-productcard-description.js",
|
|
54
|
+
"./components/widgets/pn-proxio-productcard/pn-proxio-productcard-information.js",
|
|
55
|
+
"./components/widgets/pn-proxio-productcard/pn-proxio-productcard-pricelink.js",
|
|
53
56
|
"./components/widgets/pn-proxio-productcard/pn-proxio-productcard.js"
|
|
54
57
|
],
|
|
55
58
|
"compiler": {
|
|
@@ -24,4 +24,8 @@ pn-titletag[color=coral700], pn-titletag[color=coral] {
|
|
|
24
24
|
pn-titletag[color=gray900], pn-titletag[color=gray], pn-titletag[color=grey] {
|
|
25
25
|
background: #D3CECB;
|
|
26
26
|
color: #2D2013;
|
|
27
|
+
}
|
|
28
|
+
pn-titletag[color=gray50], pn-titletag[color=lightgray], pn-titletag[color=lightgrey] {
|
|
29
|
+
background: #F3F2F2;
|
|
30
|
+
color: #2D2013;
|
|
27
31
|
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
pn-proxio-pricegroup div.weightcontainer {
|
|
2
|
+
margin: 3rem 0;
|
|
3
|
+
}
|
|
4
|
+
pn-proxio-pricegroup div.weightvaluecontainer {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: row;
|
|
7
|
+
flex-wrap: wrap;
|
|
8
|
+
align-content: center;
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
align-items: flex-start;
|
|
11
|
+
}
|
|
12
|
+
pn-proxio-pricegroup div.weightdata {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
align-items: center;
|
|
16
|
+
align-content: center;
|
|
17
|
+
flex-wrap: wrap;
|
|
18
|
+
height: 5rem;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
}
|
|
21
|
+
pn-proxio-pricegroup input[type=radio] {
|
|
22
|
+
-webkit-appearance: none;
|
|
23
|
+
-moz-appearance: none;
|
|
24
|
+
width: 1.3rem;
|
|
25
|
+
height: 1.3rem;
|
|
26
|
+
background-color: #005D92;
|
|
27
|
+
border-radius: 50%;
|
|
28
|
+
}
|
|
29
|
+
pn-proxio-pricegroup input[type=radio]:checked {
|
|
30
|
+
z-index: 1;
|
|
31
|
+
transform: translateY(-0.1rem);
|
|
32
|
+
height: 1.5rem;
|
|
33
|
+
width: 1.5rem;
|
|
34
|
+
box-shadow: 0 0 0 0.3rem #FFFFFF, 0 0 0 0.4rem #005D92;
|
|
35
|
+
}
|
|
36
|
+
pn-proxio-pricegroup pn-button[disabled=disabled] {
|
|
37
|
+
opacity: 0.2;
|
|
38
|
+
}
|
|
39
|
+
pn-proxio-pricegroup pn-button button div.button-tooltip {
|
|
40
|
+
visibility: hidden;
|
|
41
|
+
display: none;
|
|
42
|
+
}
|
|
43
|
+
pn-proxio-pricegroup pn-button button:focus .pn-button-bg {
|
|
44
|
+
box-shadow: none;
|
|
45
|
+
}
|
|
46
|
+
pn-proxio-pricegroup div.weightradios {
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: row;
|
|
49
|
+
justify-content: space-between;
|
|
50
|
+
align-items: center;
|
|
51
|
+
flex-wrap: wrap;
|
|
52
|
+
color: #005D92;
|
|
53
|
+
width: 80%;
|
|
54
|
+
margin-left: auto;
|
|
55
|
+
margin-right: auto;
|
|
56
|
+
position: relative;
|
|
57
|
+
}
|
|
58
|
+
pn-proxio-pricegroup div.weightline {
|
|
59
|
+
width: 100%;
|
|
60
|
+
background-color: #F3F2F2;
|
|
61
|
+
z-index: -1;
|
|
62
|
+
height: 0.7rem;
|
|
63
|
+
-webkit-transform: translateX(2.1rem) translateY(1.32rem);
|
|
64
|
+
transform: translateX(2.1rem) translateY(1.32rem);
|
|
65
|
+
border-radius: 3rem;
|
|
66
|
+
margin-right: 3.5rem;
|
|
67
|
+
}
|
|
68
|
+
pn-proxio-pricegroup .activeweight {
|
|
69
|
+
font-size: large;
|
|
70
|
+
font-weight: bold;
|
|
71
|
+
}
|