@postnord/pn-marketweb-components 2.3.6 → 2.3.8
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/loader.cjs.js +1 -1
- package/cjs/pn-animated-tile.cjs.entry.js +2 -2
- package/cjs/pn-market-web-components.cjs.js +1 -1
- package/cjs/pn-multi-formfield.cjs.entry.js +253 -0
- package/collection/collection-manifest.json +1 -1
- package/collection/components/animation/pn-animated-tile/pn-animated-tile.css +54 -20
- package/collection/components/animation/pn-animated-tile/pn-animated-tile.js +2 -2
- package/collection/components/layout-components/pn-multi-formfield/multi-formfield.stories.js +55 -0
- package/collection/components/layout-components/pn-multi-formfield/pn-multi-formfield.css +4 -0
- package/collection/components/layout-components/pn-multi-formfield/pn-multi-formfield.js +267 -0
- package/collection/components/layout-components/pn-multi-formfield/types.js +1 -0
- package/custom-elements/index.d.ts +4 -4
- package/custom-elements/index.js +303 -83
- package/esm/loader.js +1 -1
- package/esm/pn-animated-tile.entry.js +2 -2
- package/esm/pn-market-web-components.js +1 -1
- package/esm/pn-multi-formfield.entry.js +249 -0
- package/esm-es5/loader.js +1 -1
- package/esm-es5/pn-animated-tile.entry.js +1 -1
- package/esm-es5/pn-market-web-components.js +1 -1
- package/esm-es5/pn-multi-formfield.entry.js +1 -0
- package/package.json +2 -1
- package/pn-market-web-components/p-070f1309.system.entry.js +1 -0
- package/pn-market-web-components/p-468025b2.system.entry.js +1 -0
- package/pn-market-web-components/p-5776275b.entry.js +1 -0
- package/pn-market-web-components/p-67887512.system.js +1 -1
- package/pn-market-web-components/p-96e6d92c.entry.js +1 -0
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/types/components/layout-components/pn-multi-formfield/pn-multi-formfield.d.ts +36 -0
- package/types/components/layout-components/pn-multi-formfield/types.d.ts +4 -0
- package/types/components.d.ts +17 -9
- package/cjs/pn-multi-input.cjs.entry.js +0 -32
- package/collection/components/layout-components/pn-multi-input/multi-input.stories.js +0 -22
- package/collection/components/layout-components/pn-multi-input/pn-multi-input.css +0 -0
- package/collection/components/layout-components/pn-multi-input/pn-multi-input.js +0 -31
- package/esm/pn-multi-input.entry.js +0 -28
- package/esm-es5/pn-multi-input.entry.js +0 -1
- package/pn-market-web-components/p-7cab2106.system.entry.js +0 -1
- package/pn-market-web-components/p-97aafcf4.entry.js +0 -1
- package/pn-market-web-components/p-b66743b3.system.entry.js +0 -1
- package/pn-market-web-components/p-d74172bc.entry.js +0 -1
- package/types/components/layout-components/pn-multi-input/pn-multi-input.d.ts +0 -8
package/custom-elements/index.js
CHANGED
|
@@ -88,7 +88,7 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
88
88
|
}());
|
|
89
89
|
});
|
|
90
90
|
|
|
91
|
-
const pnAnimatedTileCss = "pn-animated-tile .pn-animated-tile__container{position:relative;border-radius:2.4rem;height:56rem;cursor:default}pn-animated-tile .pn-animated-tile__content{position:relative;display:-ms-flexbox;display:flex;height:100%;width:100%;background-color:transparent}pn-animated-tile [slot=side-a],pn-animated-tile [slot=side-b]{position:absolute;-ms-flex-item-align:stretch;align-self:stretch;top:0;left:0;width:100%;height:100
|
|
91
|
+
const pnAnimatedTileCss = "pn-animated-tile .pn-animated-tile__container{position:relative;border-radius:2.4rem;height:56rem;cursor:default}pn-animated-tile .pn-animated-tile__content{position:relative;display:-ms-flexbox;display:flex;height:100%;width:100%;background-color:transparent}pn-animated-tile [slot=side-a],pn-animated-tile [slot=side-b]{position:absolute;-ms-flex-item-align:stretch;align-self:stretch;top:0;left:0;width:100%;height:100%}pn-animated-tile [slot=side-a]{padding:0;opacity:1}pn-animated-tile [slot=side-b]{padding:2.4rem 2.4rem 7rem 2.4rem;opacity:0;-webkit-transform:translateY(50px);transform:translateY(50px)}pn-animated-tile .pn-animated-tile__toggle{position:absolute;bottom:2.4rem;right:2.4rem;padding:0.8rem;border-radius:50%;border:none;cursor:pointer}pn-animated-tile .pn-animated-tile__toggle:hover{background-color:#e9e6e5}pn-animated-tile .pn-animated-tile__toggle:hover pn-icon{background-color:#e9e6e5}pn-animated-tile .button-tooltip{display:none}.cat-animate [slot=side-a],.cat-animate [slot=side-b]{-webkit-transition:opacity 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out 0.2s;transition:opacity 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out 0.2s;transition:opacity 0.5s ease-in-out, transform 0.5s ease-in-out 0.2s;transition:opacity 0.5s ease-in-out, transform 0.5s ease-in-out 0.2s, -webkit-transform 0.5s ease-in-out 0.2s}.cat-animate.fade [slot=side-a]{opacity:0}.cat-animate.fade [slot=side-b]{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-webkit-transition-delay:0.5s;transition-delay:0.5s}.cat-animate.fade--reversed [slot=side-a]{opacity:1;-webkit-transition-delay:0.5s;transition-delay:0.5s}.cat-animate.fade--reversed [slot=side-b]{opacity:0;-webkit-transform:translateY(50px);transform:translateY(50px)}.cat-animate.toggle pn-icon{-webkit-transition:-webkit-transform 0.45s ease-in-out;transition:-webkit-transform 0.45s ease-in-out;transition:transform 0.45s ease-in-out;transition:transform 0.45s ease-in-out, -webkit-transform 0.45s ease-in-out;-webkit-transition-delay:0.5s;transition-delay:0.5s}.cat-animate.toggle.animate pn-icon{-webkit-transform:rotate(45deg);transform:rotate(45deg)}[data-cat-theme=white] .pn-animated-tile__container{background-color:#FFFFFF}[data-cat-theme=white] .pn-animated-tile__toggle{background-color:#FFFFFF}[data-cat-theme=white] .pn-animated-tile__toggle pn-icon{background-color:#FFFFFF}[data-cat-theme=white] .pn-animated-tile__toggle pn-icon svg>path{fill:#00A0D6}[data-cat-theme=white] .pn-animated-tile__toggle:focus,[data-cat-theme=white] .pn-animated-tile__toggle:focus-visible{outline-color:#00A0D6}[data-cat-theme=coral400] .pn-animated-tile__container{background-color:#F06365}[data-cat-theme=coral400] .pn-animated-tile__toggle{background-color:#FFFFFF}[data-cat-theme=coral400] .pn-animated-tile__toggle pn-icon{background-color:#FFFFFF}[data-cat-theme=coral400] .pn-animated-tile__toggle pn-icon svg>path{fill:#F06365}[data-cat-theme=coral400] .pn-animated-tile__toggle:focus,[data-cat-theme=coral400] .pn-animated-tile__toggle:focus-visible{outline-color:#F06365}[data-cat-theme=private] .pn-animated-tile__container{background-color:#00A0D6}[data-cat-theme=private] .pn-animated-tile__toggle{background-color:#FFFFFF}[data-cat-theme=private] .pn-animated-tile__toggle pn-icon{background-color:#FFFFFF}[data-cat-theme=private] .pn-animated-tile__toggle pn-icon svg>path{fill:#00A0D6}[data-cat-theme=private] .pn-animated-tile__toggle:focus,[data-cat-theme=private] .pn-animated-tile__toggle:focus-visible{outline-color:#00A0D6}[data-cat-theme=business] .pn-animated-tile__container{background-color:#0D234B}[data-cat-theme=business] .pn-animated-tile__toggle{background-color:#FFFFFF}[data-cat-theme=business] .pn-animated-tile__toggle pn-icon{background-color:#FFFFFF}[data-cat-theme=business] .pn-animated-tile__toggle pn-icon svg>path{fill:#0D234B}[data-cat-theme=business] .pn-animated-tile__toggle:focus,[data-cat-theme=business] .pn-animated-tile__toggle:focus-visible{outline-color:#0D234B}[data-cat-theme=hybrid] .pn-animated-tile__container{background-color:#e9e6e5}[data-cat-theme=hybrid] .pn-animated-tile__toggle{background-color:#FFFFFF}[data-cat-theme=hybrid] .pn-animated-tile__toggle pn-icon{background-color:#FFFFFF}[data-cat-theme=hybrid] .pn-animated-tile__toggle pn-icon svg>path{fill:#005D92}[data-cat-theme=hybrid] .pn-animated-tile__toggle:focus,[data-cat-theme=hybrid] .pn-animated-tile__toggle:focus-visible{outline-color:#005D92}[data-cat-firstpage-only=true] [slot=side-b],[data-cat-firstpage-only=true] .pn-animated-tile__toggle{display:none}";
|
|
92
92
|
|
|
93
93
|
let PnAnimatedTile$1 = class extends HTMLElement {
|
|
94
94
|
constructor() {
|
|
@@ -106,7 +106,7 @@ let PnAnimatedTile$1 = class extends HTMLElement {
|
|
|
106
106
|
this.animateIcon = classnames({ 'animate': this.toggled, '': !this.toggled });
|
|
107
107
|
}
|
|
108
108
|
render() {
|
|
109
|
-
return (h(Host, null, h("div", { class: "pn-animated-tile__container" }, h("div", { class: `pn-animated-tile__content cat-animate ${this.transitionClassName}` }, h("slot", { name: "side-a" }), h("slot", { name: "side-b" })), h("
|
|
109
|
+
return (h(Host, null, h("div", { class: "pn-animated-tile__container" }, h("div", { class: `pn-animated-tile__content cat-animate ${this.transitionClassName}` }, h("slot", { name: "side-a" }), h("slot", { name: "side-b" })), h("button", { class: `pn-animated-tile__toggle cat-animate toggle ${this.animateIcon}`, onClick: this.onClickHandler }, h("pn-icon", { symbol: "plus" })))));
|
|
110
110
|
}
|
|
111
111
|
get hostElement() { return this; }
|
|
112
112
|
static get watchers() { return {
|
|
@@ -24555,7 +24555,7 @@ const appendToMap = (map, propName, value) => {
|
|
|
24555
24555
|
items.push(value);
|
|
24556
24556
|
}
|
|
24557
24557
|
};
|
|
24558
|
-
const debounce = (fn, ms) => {
|
|
24558
|
+
const debounce$1 = (fn, ms) => {
|
|
24559
24559
|
let timeoutId;
|
|
24560
24560
|
return (...args) => {
|
|
24561
24561
|
if (timeoutId) {
|
|
@@ -24578,7 +24578,7 @@ const debounce = (fn, ms) => {
|
|
|
24578
24578
|
* Better leak in Edge than to be useless.
|
|
24579
24579
|
*/
|
|
24580
24580
|
const isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;
|
|
24581
|
-
const cleanupElements = debounce((map) => {
|
|
24581
|
+
const cleanupElements = debounce$1((map) => {
|
|
24582
24582
|
for (let key of map.keys()) {
|
|
24583
24583
|
map.set(key, map.get(key).filter(isConnected));
|
|
24584
24584
|
}
|
|
@@ -27963,30 +27963,315 @@ let PnMarketwebSiteheaderUnifiedLogin$1 = class extends HTMLElement {
|
|
|
27963
27963
|
static get style() { return pnMarketwebSiteheaderUnifiedLoginCss; }
|
|
27964
27964
|
};
|
|
27965
27965
|
|
|
27966
|
-
|
|
27966
|
+
/**
|
|
27967
|
+
* Returns a function, that, as long as it continues to be invoked, will not
|
|
27968
|
+
* be triggered. The function will be called after it stops being called for
|
|
27969
|
+
* N milliseconds. If `immediate` is passed, trigger the function on the
|
|
27970
|
+
* leading edge, instead of the trailing. The function also has a property 'clear'
|
|
27971
|
+
* that is a function which will clear the timer to prevent previously scheduled executions.
|
|
27972
|
+
*
|
|
27973
|
+
* @source underscore.js
|
|
27974
|
+
* @see http://unscriptable.com/2009/03/20/debouncing-javascript-methods/
|
|
27975
|
+
* @param {Function} function to wrap
|
|
27976
|
+
* @param {Number} timeout in ms (`100`)
|
|
27977
|
+
* @param {Boolean} whether to execute at the beginning (`false`)
|
|
27978
|
+
* @api public
|
|
27979
|
+
*/
|
|
27980
|
+
function debounce(func, wait, immediate){
|
|
27981
|
+
var timeout, args, context, timestamp, result;
|
|
27982
|
+
if (null == wait) wait = 100;
|
|
27983
|
+
|
|
27984
|
+
function later() {
|
|
27985
|
+
var last = Date.now() - timestamp;
|
|
27986
|
+
|
|
27987
|
+
if (last < wait && last >= 0) {
|
|
27988
|
+
timeout = setTimeout(later, wait - last);
|
|
27989
|
+
} else {
|
|
27990
|
+
timeout = null;
|
|
27991
|
+
if (!immediate) {
|
|
27992
|
+
result = func.apply(context, args);
|
|
27993
|
+
context = args = null;
|
|
27994
|
+
}
|
|
27995
|
+
}
|
|
27996
|
+
}
|
|
27997
|
+
var debounced = function(){
|
|
27998
|
+
context = this;
|
|
27999
|
+
args = arguments;
|
|
28000
|
+
timestamp = Date.now();
|
|
28001
|
+
var callNow = immediate && !timeout;
|
|
28002
|
+
if (!timeout) timeout = setTimeout(later, wait);
|
|
28003
|
+
if (callNow) {
|
|
28004
|
+
result = func.apply(context, args);
|
|
28005
|
+
context = args = null;
|
|
28006
|
+
}
|
|
28007
|
+
|
|
28008
|
+
return result;
|
|
28009
|
+
};
|
|
28010
|
+
|
|
28011
|
+
debounced.clear = function() {
|
|
28012
|
+
if (timeout) {
|
|
28013
|
+
clearTimeout(timeout);
|
|
28014
|
+
timeout = null;
|
|
28015
|
+
}
|
|
28016
|
+
};
|
|
28017
|
+
|
|
28018
|
+
debounced.flush = function() {
|
|
28019
|
+
if (timeout) {
|
|
28020
|
+
result = func.apply(context, args);
|
|
28021
|
+
context = args = null;
|
|
28022
|
+
|
|
28023
|
+
clearTimeout(timeout);
|
|
28024
|
+
timeout = null;
|
|
28025
|
+
}
|
|
28026
|
+
};
|
|
28027
|
+
|
|
28028
|
+
return debounced;
|
|
28029
|
+
}
|
|
28030
|
+
// Adds compatibility for ES modules
|
|
28031
|
+
debounce.debounce = debounce;
|
|
28032
|
+
|
|
28033
|
+
var debounce_1 = debounce;
|
|
28034
|
+
|
|
28035
|
+
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
|
28036
|
+
// require the crypto API and do not support built-in fallback to lower quality random number
|
|
28037
|
+
// generators (like Math.random()).
|
|
28038
|
+
let getRandomValues;
|
|
28039
|
+
const rnds8 = new Uint8Array(16);
|
|
28040
|
+
function rng() {
|
|
28041
|
+
// lazy load so that environments that need to polyfill have a chance to do so
|
|
28042
|
+
if (!getRandomValues) {
|
|
28043
|
+
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
|
|
28044
|
+
getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
|
|
28045
|
+
|
|
28046
|
+
if (!getRandomValues) {
|
|
28047
|
+
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
|
28048
|
+
}
|
|
28049
|
+
}
|
|
28050
|
+
|
|
28051
|
+
return getRandomValues(rnds8);
|
|
28052
|
+
}
|
|
28053
|
+
|
|
28054
|
+
/**
|
|
28055
|
+
* Convert array of 16 byte values to UUID string format of the form:
|
|
28056
|
+
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
|
28057
|
+
*/
|
|
28058
|
+
|
|
28059
|
+
const byteToHex = [];
|
|
27967
28060
|
|
|
27968
|
-
let
|
|
28061
|
+
for (let i = 0; i < 256; ++i) {
|
|
28062
|
+
byteToHex.push((i + 0x100).toString(16).slice(1));
|
|
28063
|
+
}
|
|
28064
|
+
|
|
28065
|
+
function unsafeStringify(arr, offset = 0) {
|
|
28066
|
+
// Note: Be careful editing this code! It's been tuned for performance
|
|
28067
|
+
// and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
|
|
28068
|
+
return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
|
|
28069
|
+
}
|
|
28070
|
+
|
|
28071
|
+
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
28072
|
+
const native = {
|
|
28073
|
+
randomUUID
|
|
28074
|
+
};
|
|
28075
|
+
|
|
28076
|
+
function v4(options, buf, offset) {
|
|
28077
|
+
if (native.randomUUID && !buf && !options) {
|
|
28078
|
+
return native.randomUUID();
|
|
28079
|
+
}
|
|
28080
|
+
|
|
28081
|
+
options = options || {};
|
|
28082
|
+
const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
|
|
28083
|
+
|
|
28084
|
+
rnds[6] = rnds[6] & 0x0f | 0x40;
|
|
28085
|
+
rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
|
|
28086
|
+
|
|
28087
|
+
if (buf) {
|
|
28088
|
+
offset = offset || 0;
|
|
28089
|
+
|
|
28090
|
+
for (let i = 0; i < 16; ++i) {
|
|
28091
|
+
buf[offset + i] = rnds[i];
|
|
28092
|
+
}
|
|
28093
|
+
|
|
28094
|
+
return buf;
|
|
28095
|
+
}
|
|
28096
|
+
|
|
28097
|
+
return unsafeStringify(rnds);
|
|
28098
|
+
}
|
|
28099
|
+
|
|
28100
|
+
const pnMultiFormfieldCss = ".pn-multi-formfield{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}";
|
|
28101
|
+
|
|
28102
|
+
let PnMultiFormField = class extends HTMLElement {
|
|
27969
28103
|
constructor() {
|
|
27970
28104
|
super();
|
|
27971
28105
|
this.__registerHost();
|
|
27972
|
-
this.
|
|
28106
|
+
this.changed = createEvent(this, "changed", 7);
|
|
28107
|
+
this.containerElm = null;
|
|
28108
|
+
this.slotElm = null;
|
|
28109
|
+
this.formFields = null;
|
|
28110
|
+
this.formFieldTypes = ["input", "textarea", "select"];
|
|
28111
|
+
this.additionalRowStartIndex = 2;
|
|
28112
|
+
this.formRow = [];
|
|
28113
|
+
this.formValues = [];
|
|
28114
|
+
this.elementToCopy = null;
|
|
28115
|
+
this.fieldsPerRowCount = 0;
|
|
28116
|
+
this.newRowStartIndex = 2;
|
|
28117
|
+
this.originalLabelNames = [];
|
|
28118
|
+
this.value = [];
|
|
28119
|
+
this.formFieldClassName = "form-control";
|
|
28120
|
+
this.formFieldOuterParentClassName = "formelement";
|
|
28121
|
+
this.formFieldEvent = (e) => {
|
|
28122
|
+
if (e.target.matches(`.${this.formFieldClassName}`)) {
|
|
28123
|
+
["change", "keyup"].forEach((eventName) => {
|
|
28124
|
+
const debouncedAddValue = debounce_1.debounce(this.updateValues.bind(this, e.target), 1000);
|
|
28125
|
+
e.target.addEventListener(eventName, debouncedAddValue);
|
|
28126
|
+
});
|
|
28127
|
+
}
|
|
28128
|
+
};
|
|
28129
|
+
}
|
|
28130
|
+
generateUniqueId() {
|
|
28131
|
+
return v4();
|
|
27973
28132
|
}
|
|
27974
|
-
|
|
28133
|
+
componentDidLoad() {
|
|
27975
28134
|
this.init();
|
|
27976
28135
|
}
|
|
27977
|
-
init() {
|
|
27978
|
-
this.
|
|
28136
|
+
async init() {
|
|
28137
|
+
this.addEventHandlers();
|
|
28138
|
+
this.setDefaultValues();
|
|
27979
28139
|
}
|
|
27980
|
-
|
|
27981
|
-
|
|
27982
|
-
|
|
28140
|
+
addEventHandlers() {
|
|
28141
|
+
this.hostElement.addEventListener("click", this.formFieldEvent);
|
|
28142
|
+
}
|
|
28143
|
+
setDefaultValues() {
|
|
28144
|
+
var _a;
|
|
28145
|
+
const labelElms = (_a = this.containerElm) === null || _a === void 0 ? void 0 : _a.querySelectorAll("label");
|
|
28146
|
+
if (labelElms) {
|
|
28147
|
+
this.fieldsPerRowCount = labelElms.length;
|
|
28148
|
+
this.originalLabelNames = [...labelElms].map((label) => label.innerHTML);
|
|
28149
|
+
const emptyValues = this.originalLabelNames.map((label) => {
|
|
28150
|
+
const obj = { Name: label, Value: "" };
|
|
28151
|
+
return obj;
|
|
28152
|
+
});
|
|
28153
|
+
this.formValues = [...emptyValues];
|
|
28154
|
+
this.setHiddenValue();
|
|
28155
|
+
}
|
|
28156
|
+
}
|
|
28157
|
+
setHiddenValue() {
|
|
28158
|
+
var _a;
|
|
28159
|
+
const hiddenField = (_a = this.hostElement) === null || _a === void 0 ? void 0 : _a.querySelector(".hiddenValue");
|
|
28160
|
+
if (hiddenField) {
|
|
28161
|
+
hiddenField.value = JSON.stringify(this.formValues);
|
|
28162
|
+
}
|
|
28163
|
+
}
|
|
28164
|
+
updateValues(field, e) {
|
|
28165
|
+
var _a;
|
|
28166
|
+
e.preventDefault();
|
|
28167
|
+
const slotElm = field.closest(".pn-multi-formfield-slot");
|
|
28168
|
+
const isSlotParent = !!slotElm;
|
|
28169
|
+
let containerElm = isSlotParent ? slotElm : field.closest(".generated-parent");
|
|
28170
|
+
if (containerElm) {
|
|
28171
|
+
const formFields = (_a = [...containerElm === null || containerElm === void 0 ? void 0 : containerElm.querySelectorAll(`.${this.formFieldClassName}`)]) === null || _a === void 0 ? void 0 : _a.filter((x) => this.formFieldTypes.includes(x.nodeName.toLowerCase()));
|
|
28172
|
+
formFields === null || formFields === void 0 ? void 0 : formFields.map((elm) => {
|
|
28173
|
+
const fieldElm = elm;
|
|
28174
|
+
const closestLabelElm = fieldElm.closest("div").querySelector("label");
|
|
28175
|
+
const label = (closestLabelElm === null || closestLabelElm === void 0 ? void 0 : closestLabelElm.dataset.label) || (closestLabelElm === null || closestLabelElm === void 0 ? void 0 : closestLabelElm.innerHTML);
|
|
28176
|
+
const newItem = { Name: label, Value: fieldElm.value };
|
|
28177
|
+
this.setFormValues(newItem);
|
|
28178
|
+
});
|
|
28179
|
+
}
|
|
28180
|
+
this.setHiddenValue();
|
|
28181
|
+
}
|
|
28182
|
+
setFormValues(obj) {
|
|
28183
|
+
const item = this.formValues.find((item) => item.Name === obj.Name);
|
|
28184
|
+
if (item === undefined) {
|
|
28185
|
+
this.formValues.push(obj);
|
|
28186
|
+
}
|
|
28187
|
+
if (item !== undefined) {
|
|
28188
|
+
item.Value = obj.Value;
|
|
27983
28189
|
}
|
|
28190
|
+
this.formValues = [...this.formValues];
|
|
28191
|
+
this.value = this.formValues;
|
|
28192
|
+
this.changed.emit(this.formValues);
|
|
28193
|
+
}
|
|
28194
|
+
addRow(e) {
|
|
28195
|
+
if (e.type === "click") {
|
|
28196
|
+
this.addFormElements();
|
|
28197
|
+
}
|
|
28198
|
+
}
|
|
28199
|
+
addFormElements() {
|
|
28200
|
+
if (!this.elementToCopy) {
|
|
28201
|
+
const elm = this.hostElement.querySelector(".pn-multi-formfield");
|
|
28202
|
+
const clone = elm.cloneNode(true);
|
|
28203
|
+
this.elementToCopy = clone;
|
|
28204
|
+
}
|
|
28205
|
+
const setFormElements = [
|
|
28206
|
+
...this.elementToCopy.querySelectorAll(`.${this.formFieldOuterParentClassName}`),
|
|
28207
|
+
].map((elm) => {
|
|
28208
|
+
const labelElm = elm.querySelector("label");
|
|
28209
|
+
const fieldElm = elm.querySelector(`.${this.formFieldClassName}`);
|
|
28210
|
+
const newId = this.generateUniqueId();
|
|
28211
|
+
labelElm.dataset.label = `${labelElm.innerText} ${this.newRowStartIndex}`;
|
|
28212
|
+
labelElm.setAttribute("for", newId);
|
|
28213
|
+
fieldElm.setAttribute("id", newId);
|
|
28214
|
+
fieldElm.setAttribute("name", `__${newId}`);
|
|
28215
|
+
return elm;
|
|
28216
|
+
});
|
|
28217
|
+
this.newRowStartIndex++;
|
|
28218
|
+
const parentId = this.generateUniqueId();
|
|
28219
|
+
const parentElm = document.createElement("div");
|
|
28220
|
+
parentElm.setAttribute("id", parentId);
|
|
28221
|
+
parentElm.setAttribute("class", "generated-parent");
|
|
28222
|
+
setFormElements.map((clone) => {
|
|
28223
|
+
parentElm.innerHTML += clone.innerHTML;
|
|
28224
|
+
});
|
|
28225
|
+
parentElm.appendChild(this.createDeleteButton());
|
|
28226
|
+
this.containerElm.appendChild(parentElm);
|
|
28227
|
+
}
|
|
28228
|
+
createDeleteButton() {
|
|
28229
|
+
const buttonElm = document.createElement("pn-button");
|
|
28230
|
+
buttonElm.onclick = (e) => this.deleteRow(e);
|
|
28231
|
+
buttonElm.setAttribute("icon-only", "true");
|
|
28232
|
+
buttonElm.setAttribute("icon", "minus");
|
|
28233
|
+
buttonElm.setAttribute("appearance", "warning");
|
|
28234
|
+
buttonElm.appendChild(document.createTextNode(`X`));
|
|
28235
|
+
return buttonElm;
|
|
28236
|
+
}
|
|
28237
|
+
deleteRow(e) {
|
|
28238
|
+
e.preventDefault();
|
|
28239
|
+
const targetElm = e.currentTarget;
|
|
28240
|
+
const parentElm = targetElm.parentElement;
|
|
28241
|
+
const allFieldElms = parentElm.querySelectorAll(`.${this.formFieldClassName}`);
|
|
28242
|
+
allFieldElms.forEach((elm) => {
|
|
28243
|
+
elm.remove();
|
|
28244
|
+
});
|
|
28245
|
+
parentElm.remove();
|
|
28246
|
+
this.newRowStartIndex--;
|
|
28247
|
+
this.formValues = [...this.formValues.slice(0, this.fieldsPerRowCount)];
|
|
28248
|
+
const allGeneratedElms = [...this.containerElm.querySelectorAll(".generated-parent")];
|
|
28249
|
+
allGeneratedElms.map((elm, index) => {
|
|
28250
|
+
const allLabelElms = [...elm.querySelectorAll("label")];
|
|
28251
|
+
allLabelElms.map((labelElm) => {
|
|
28252
|
+
const labelParts = this.getLabelParts(labelElm.dataset.label);
|
|
28253
|
+
labelElm.dataset.label = this.getLabelName(labelParts[0], index);
|
|
28254
|
+
const associatedField = labelElm.parentElement.querySelector(`.${this.formFieldClassName}`);
|
|
28255
|
+
const updateItem = { Name: labelElm.dataset.label, Value: associatedField.value };
|
|
28256
|
+
this.setFormValues(updateItem);
|
|
28257
|
+
});
|
|
28258
|
+
});
|
|
28259
|
+
this.setHiddenValue();
|
|
28260
|
+
}
|
|
28261
|
+
getLabelParts(label) {
|
|
28262
|
+
const part1 = label.substring(0, label.lastIndexOf(" "));
|
|
28263
|
+
const part2 = label.substring(label.lastIndexOf(" ") + 1);
|
|
28264
|
+
const parts = [part1, part2];
|
|
28265
|
+
return parts;
|
|
28266
|
+
}
|
|
28267
|
+
getLabelName(name, index) {
|
|
28268
|
+
return `${name} ${index + this.additionalRowStartIndex}`;
|
|
27984
28269
|
}
|
|
27985
28270
|
render() {
|
|
27986
|
-
return (h(Host, null, h("div", { class: "pn-multi-
|
|
28271
|
+
return (h(Host, null, h("div", { ref: (el) => (this.containerElm = el), class: "pn-multi-formfield" }, h("div", { ref: (el) => (this.slotElm = el), class: "pn-multi-formfield-slot" }, h("slot", null))), h("pn-button", { "icon-only": "true", "aria-label": "Add", icon: "plus", onClick: (e) => this.addRow(e) }, "+")));
|
|
27987
28272
|
}
|
|
27988
28273
|
get hostElement() { return this; }
|
|
27989
|
-
static get style() { return
|
|
28274
|
+
static get style() { return pnMultiFormfieldCss; }
|
|
27990
28275
|
};
|
|
27991
28276
|
|
|
27992
28277
|
const pnParcelTrackerCss = "pn-spotlight .pn-spotlight__container:has(pn-parcel-tracker) [slot=mobile-heading]{color:#005D92}.pn-spotlight__container__wrapper__content [slot=content]:has(pn-parcel-tracker){padding-left:2rem}pn-parcel-tracker{width:100%}pn-parcel-tracker .pn-parcel-tracker__container form{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:end;justify-content:flex-end;gap:1.6rem}pn-parcel-tracker .pn-parcel-tracker__container form .pn-parcel-tracker__container__heading{color:#005D92;font-weight:500;margin-bottom:0}@media screen and (max-width: 768px){pn-parcel-tracker .pn-parcel-tracker__container form .pn-parcel-tracker__container__heading{display:none}}@media screen and (min-width: 1640px){pn-parcel-tracker .pn-parcel-tracker__container form .pn-parcel-tracker__container__heading{font-size:2.4rem;font-weight:700}}pn-parcel-tracker .pn-parcel-tracker__container form pn-marketweb-input{-ms-flex-positive:1;flex-grow:1;max-width:80%}@media screen and (min-width: 768px){pn-parcel-tracker .pn-parcel-tracker__container form pn-marketweb-input{max-width:50%}}@media screen and (min-width: 992px){pn-parcel-tracker .pn-parcel-tracker__container form pn-marketweb-input{max-width:45%}}@media screen and (min-width: 1640px){pn-parcel-tracker .pn-parcel-tracker__container form pn-marketweb-input{max-width:35%}}pn-parcel-tracker .pn-parcel-tracker__container form pn-marketweb-input input{border-radius:6.4rem}";
|
|
@@ -29464,71 +29749,6 @@ let PnQuoteCard$1 = class extends HTMLElement {
|
|
|
29464
29749
|
static get style() { return pnQuoteCardCss; }
|
|
29465
29750
|
};
|
|
29466
29751
|
|
|
29467
|
-
// Unique ID creation requires a high quality random # generator. In the browser we therefore
|
|
29468
|
-
// require the crypto API and do not support built-in fallback to lower quality random number
|
|
29469
|
-
// generators (like Math.random()).
|
|
29470
|
-
let getRandomValues;
|
|
29471
|
-
const rnds8 = new Uint8Array(16);
|
|
29472
|
-
function rng() {
|
|
29473
|
-
// lazy load so that environments that need to polyfill have a chance to do so
|
|
29474
|
-
if (!getRandomValues) {
|
|
29475
|
-
// getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
|
|
29476
|
-
getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
|
|
29477
|
-
|
|
29478
|
-
if (!getRandomValues) {
|
|
29479
|
-
throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
|
|
29480
|
-
}
|
|
29481
|
-
}
|
|
29482
|
-
|
|
29483
|
-
return getRandomValues(rnds8);
|
|
29484
|
-
}
|
|
29485
|
-
|
|
29486
|
-
/**
|
|
29487
|
-
* Convert array of 16 byte values to UUID string format of the form:
|
|
29488
|
-
* XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
|
|
29489
|
-
*/
|
|
29490
|
-
|
|
29491
|
-
const byteToHex = [];
|
|
29492
|
-
|
|
29493
|
-
for (let i = 0; i < 256; ++i) {
|
|
29494
|
-
byteToHex.push((i + 0x100).toString(16).slice(1));
|
|
29495
|
-
}
|
|
29496
|
-
|
|
29497
|
-
function unsafeStringify(arr, offset = 0) {
|
|
29498
|
-
// Note: Be careful editing this code! It's been tuned for performance
|
|
29499
|
-
// and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
|
|
29500
|
-
return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
|
|
29501
|
-
}
|
|
29502
|
-
|
|
29503
|
-
const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
29504
|
-
const native = {
|
|
29505
|
-
randomUUID
|
|
29506
|
-
};
|
|
29507
|
-
|
|
29508
|
-
function v4(options, buf, offset) {
|
|
29509
|
-
if (native.randomUUID && !buf && !options) {
|
|
29510
|
-
return native.randomUUID();
|
|
29511
|
-
}
|
|
29512
|
-
|
|
29513
|
-
options = options || {};
|
|
29514
|
-
const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
|
|
29515
|
-
|
|
29516
|
-
rnds[6] = rnds[6] & 0x0f | 0x40;
|
|
29517
|
-
rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
|
|
29518
|
-
|
|
29519
|
-
if (buf) {
|
|
29520
|
-
offset = offset || 0;
|
|
29521
|
-
|
|
29522
|
-
for (let i = 0; i < 16; ++i) {
|
|
29523
|
-
buf[offset + i] = rnds[i];
|
|
29524
|
-
}
|
|
29525
|
-
|
|
29526
|
-
return buf;
|
|
29527
|
-
}
|
|
29528
|
-
|
|
29529
|
-
return unsafeStringify(rnds);
|
|
29530
|
-
}
|
|
29531
|
-
|
|
29532
29752
|
const pnScrollCss = "pn-scroll .scroll-wrapper{-webkit-transition:all var(--transition-duration) ease-in-out 250ms;transition:all var(--transition-duration) ease-in-out 250ms}pn-scroll .scroll-wrapper.fade{opacity:0}pn-scroll .scroll-wrapper.fade.in-view{opacity:1}pn-scroll .scroll-wrapper.slide-up{-webkit-transform:translateY(50px);transform:translateY(50px)}pn-scroll .scroll-wrapper.slide-up.in-view{-webkit-transform:translateY(0);transform:translateY(0)}";
|
|
29533
29753
|
|
|
29534
29754
|
const defaultIntersectionCallback = (entries, observer, shouldLoop = false) => {
|
|
@@ -30177,7 +30397,7 @@ const PnMarketwebSiteheaderLoginMypageButton = /*@__PURE__*/proxyCustomElement(P
|
|
|
30177
30397
|
const PnMarketwebSiteheaderLoginProfileselection = /*@__PURE__*/proxyCustomElement(PnMarketwebSiteheaderLoginProfileselection$1, [0,"pn-marketweb-siteheader-login-profileselection",{"loginDialog":[1040],"endpoint":[1],"loggedin":[4],"idNamespace":[1,"id-namespace"],"heading":[1],"i18n":[16],"currentProfile":[1040],"profileoptions":[1040],"user":[32],"logoutLink":[32],"userName":[32],"userEmail":[32]}]);
|
|
30178
30398
|
const PnMarketwebSiteheaderSearch = /*@__PURE__*/proxyCustomElement(PnMarketwebSiteheaderSearch$1, [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],"icononly":[4],"autoCompleteOptions":[32]}]);
|
|
30179
30399
|
const PnMarketwebSiteheaderUnifiedLogin = /*@__PURE__*/proxyCustomElement(PnMarketwebSiteheaderUnifiedLogin$1, [0,"pn-marketweb-siteheader-unified-login",{"loggedIn":[4,"logged-in"],"myPageLabel":[1,"my-page-label"],"myPageUrl":[1,"my-page-url"],"logInLabel":[1,"log-in-label"]}]);
|
|
30180
|
-
const
|
|
30400
|
+
const PnMultiFormfield = /*@__PURE__*/proxyCustomElement(PnMultiFormField, [4,"pn-multi-formfield",{"value":[1040],"formFieldClassName":[1,"form-field-class-name"],"formFieldOuterParentClassName":[1,"form-field-outer-parent-class-name"],"formRow":[32],"formValues":[32],"elementToCopy":[32],"fieldsPerRowCount":[32],"newRowStartIndex":[32],"originalLabelNames":[32]}]);
|
|
30181
30401
|
const PnParcelTracker = /*@__PURE__*/proxyCustomElement(PnSpotlight$2, [0,"pn-parcel-tracker",{"formActionUrl":[1,"form-action-url"],"heading":[1],"buttonLabel":[1,"button-label"],"locale":[1],"placeholder":[1],"inputName":[1,"input-name"],"currentWidth":[32]},[[9,"resize","handleViewportSizeChange"]]]);
|
|
30182
30402
|
const PnPexPricefinder = /*@__PURE__*/proxyCustomElement(PnPexPricefinder$1, [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"]]]);
|
|
30183
30403
|
const PnProductCard = /*@__PURE__*/proxyCustomElement(PnProductCard$1, [4,"pn-product-card"]);
|
|
@@ -30255,7 +30475,7 @@ const defineCustomElements = (opts) => {
|
|
|
30255
30475
|
PnMarketwebSiteheaderLoginProfileselection,
|
|
30256
30476
|
PnMarketwebSiteheaderSearch,
|
|
30257
30477
|
PnMarketwebSiteheaderUnifiedLogin,
|
|
30258
|
-
|
|
30478
|
+
PnMultiFormfield,
|
|
30259
30479
|
PnParcelTracker,
|
|
30260
30480
|
PnPexPricefinder,
|
|
30261
30481
|
PnProductCard,
|
|
@@ -30305,4 +30525,4 @@ const defineCustomElements = (opts) => {
|
|
|
30305
30525
|
}
|
|
30306
30526
|
};
|
|
30307
30527
|
|
|
30308
|
-
export { PnAnimatedTile, PnBonusProgressbar, PnBonusProgressbarLevel, PnBreakpoints, PnChart, PnChartsCard, PnChoiceButton, PnCustomernumberSelector, PnCustomernumberSelectorOption, PnFilterCheckbox, PnFindPrice, PnFindPriceResult, PnFindServiceAndPrice, PnFindServiceAndPriceResult, PnLanguageSelector, PnLanguageSelectorOption, PnLineShape, PnMainnav, PnMainnavLevel, PnMainnavLink, PnMainnavList, PnMarketwebInput, PnMarketwebSearch, PnMarketwebSitefooter, PnMarketwebSiteheader, PnMarketwebSiteheaderLogin, PnMarketwebSiteheaderLoginButton, PnMarketwebSiteheaderLoginLinklist, PnMarketwebSiteheaderLoginLinks, PnMarketwebSiteheaderLoginMypageButton, PnMarketwebSiteheaderLoginProfileselection, PnMarketwebSiteheaderSearch, PnMarketwebSiteheaderUnifiedLogin,
|
|
30528
|
+
export { PnAnimatedTile, PnBonusProgressbar, PnBonusProgressbarLevel, PnBreakpoints, PnChart, PnChartsCard, PnChoiceButton, PnCustomernumberSelector, PnCustomernumberSelectorOption, PnFilterCheckbox, PnFindPrice, PnFindPriceResult, PnFindServiceAndPrice, PnFindServiceAndPriceResult, PnLanguageSelector, PnLanguageSelectorOption, PnLineShape, PnMainnav, PnMainnavLevel, PnMainnavLink, PnMainnavList, PnMarketwebInput, PnMarketwebSearch, PnMarketwebSitefooter, PnMarketwebSiteheader, PnMarketwebSiteheaderLogin, PnMarketwebSiteheaderLoginButton, PnMarketwebSiteheaderLoginLinklist, PnMarketwebSiteheaderLoginLinks, PnMarketwebSiteheaderLoginMypageButton, PnMarketwebSiteheaderLoginProfileselection, PnMarketwebSiteheaderSearch, PnMarketwebSiteheaderUnifiedLogin, PnMultiFormfield, PnParcelTracker, PnPexPricefinder, PnProductCard, PnProductCardInfo, PnProductCardPrice, PnProductPricelist, PnProductPricelistResult, PnProductTile, PnProductTileInfo, PnProductTilePrice, PnProfileModal, PnProfileModalCustomernumber, PnProfileModalProfile, PnProfileModalType, PnProfileSelector, PnProfileSelectorOption, PnProxioFindprice, PnProxioFindpriceResult, PnProxioPricegroup, PnProxioProductcard, PnProxioProductcardDescription, PnProxioProductcardInformation, PnProxioProductcardPricelink, PnQuickCta, PnQuoteCard, PnScroll, PnShare, PnShareItem, PnSidenav, PnSidenavLevel, PnSidenavLink, PnSidenavTogglebutton, PnSiteFooter, PnSiteFooterCol, PnSiteSelector, PnSiteSelectorItem, PnSpotlight, PnStatsInfo, PnStatsInfoData, PnTeaserCard, PnTitletag, defineCustomElements };
|
package/esm/loader.js
CHANGED
|
@@ -10,7 +10,7 @@ const patchEsm = () => {
|
|
|
10
10
|
const defineCustomElements = (win, options) => {
|
|
11
11
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
12
12
|
return patchEsm().then(() => {
|
|
13
|
-
return bootstrapLazy(JSON.parse("[[\"pn-marketweb-siteheader\",[[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\"],\"hideHomeMenuItem\":[1540,\"hide-home-menu-item\"],\"hideLanguageSelector\":[1540,\"hide-language-selector\"],\"hideSearch\":[1540,\"hide-search\"],\"hideLogin\":[1540,\"hide-login\"],\"showProfileSelection\":[1540,\"show-profile-selection\"],\"showUnifiedLogin\":[4,\"show-unified-login\"],\"siteDomainInUrls\":[4,\"site-domain-in-urls\"],\"AutocompleteEndpoint\":[1,\"autocomplete-endpoint\"],\"sessionForward\":[4,\"session-forward\"],\"cache\":[4],\"searchPlaceholder\":[1,\"search-placeholder\"],\"spaMode\":[4,\"spa-mode\"],\"checkUserLoggedInStateInterval\":[2,\"check-user-logged-in-state-interval\"],\"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]},[[0,\"setLanguage\",\"onLanguageSelectorChange\"],[0,\"loginStateChange\",\"onLoginStateChange\"],[9,\"resize\",\"handleResize\"]]]]],[\"pn-proxio-findprice\",[[0,\"pn-proxio-findprice\",{\"endpoint\":[1025],\"language\":[1025],\"market\":[1025],\"showMedium\":[4,\"show-medium\"],\"cache\":[4],\"filteredItems\":[32],\"weight\":[32],\"weightvalue\":[32],\"sizecategory\":[32],\"data\":[32]}]]],[\"pn-find-price\",[[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\",[[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\",[[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\",[[0,\"pn-proxio-pricegroup\",{\"endpoint\":[1025],\"language\":[1],\"market\":[1],\"tariffid\":[1],\"cache\":[4],\"activeWeightIndex\":[32],\"data\":[32],\"i18n\":[32]},[[0,\"activeWeightIndex\",\"setActiveWeightIndex\"],[0,\"language\",\"setLanguage\"]]]]],[\"pn-product-pricelist-result\",[[0,\"pn-product-pricelist-result\",{\"item\":[1040],\"description\":[16],\"shownitems\":[16],\"showMeasurement\":[4,\"show-measurement\"],\"weightText\":[32]}]]],[\"pn-marketweb-sitefooter\",[[4,\"pn-marketweb-sitefooter\",{\"market\":[1537],\"language\":[1537],\"environment\":[1537],\"endpoint\":[1],\"siteDomainInUrls\":[4,\"site-domain-in-urls\"],\"cache\":[4],\"theme\":[513],\"backgroundcolor\":[513],\"siteDefinition\":[32],\"footerContent\":[32],\"i18n\":[32],\"gotData\":[32],\"fetchingData\":[32]}]]],[\"pn-parcel-tracker\",[[0,\"pn-parcel-tracker\",{\"formActionUrl\":[1,\"form-action-url\"],\"heading\":[1],\"buttonLabel\":[1,\"button-label\"],\"locale\":[1],\"placeholder\":[1],\"inputName\":[1,\"input-name\"],\"currentWidth\":[32]},[[9,\"resize\",\"handleViewportSizeChange\"]]]]],[\"pn-pex-pricefinder\",[[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-share\",[[0,\"pn-share\",{\"link\":[1],\"language\":[1537],\"i18n\":[32]}]]],[\"pn-stats-info\",[[4,\"pn-stats-info\",{\"heading\":[1],\"dataArray\":[1,\"data-array\"],\"backgroundUrl\":[1,\"background-url\"],\"myParsedArray\":[32]}]]],[\"pn-animated-tile\",[[4,\"pn-animated-tile\",{\"toggled\":[32],\"transitionClassName\":[32],\"animateIcon\":[32]}]]],[\"pn-bonus-progressbar\",[[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\",[[0,\"pn-bonus-progressbar-level\",{\"current\":[516],\"value\":[1538],\"bonuspercentage\":[1537],\"visualpercentage\":[1538],\"percentage\":[32],\"max\":[32],\"min\":[32],\"currency\":[32]}]]],[\"pn-breakpoints\",[[0,\"pn-breakpoints\",{\"breakPointClass\":[1,\"break-point-class\"],\"currentWidth\":[32]},[[9,\"resize\",\"handleViewportSizeChange\"]]]]],[\"pn-chart\",[[0,\"pn-chart\",{\"labels\":[1],\"dataSets\":[1,\"data-sets\"],\"dataChartType\":[8,\"data-chart-type\"],\"myChartCtxRef\":[32]}]]],[\"pn-charts-card\",[[4,\"pn-charts-card\",{\"header\":[1],\"highlight\":[1],\"preamble\":[1],\"label\":[1],\"source\":[1],\"sourceUrl\":[1,\"source-url\"],\"ctaLinkText\":[1,\"cta-link-text\"],\"openInNewWindow\":[4,\"open-in-new-window\"]}]]],[\"pn-customernumber-selector\",[[4,\"pn-customernumber-selector\",{\"language\":[1537],\"open\":[1540],\"heading\":[1],\"description\":[1],\"i18n\":[32]}]]],[\"pn-customernumber-selector-option\",[[4,\"pn-customernumber-selector-option\",{\"heading\":[1],\"description\":[1],\"url\":[1]}]]],[\"pn-filter-checkbox\",[[1,\"pn-filter-checkbox\",{\"value\":[520],\"name\":[1],\"checkboxid\":[1],\"disabled\":[4],\"checked\":[4],\"indeterminate\":[1028]},[[0,\"change\",\"handlechange\"]]]]],[\"pn-line-shape\",[[0,\"pn-line-shape\"]]],[\"pn-marketweb-search\",[[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-multi-input\",[[4,\"pn-multi-input\"]]],[\"pn-product-tile\",[[4,\"pn-product-tile\"]]],[\"pn-profile-modal\",[[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\",[[4,\"pn-profile-modal-customernumber\",{\"url\":[513],\"customernumber\":[513],\"selected\":[516]}]]],[\"pn-profile-modal-profile\",[[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\",[[4,\"pn-profile-modal-type\",{\"typeid\":[513],\"name\":[1025],\"selected\":[1028],\"selectedprofile\":[1025]}]]],[\"pn-profile-selector\",[[4,\"pn-profile-selector\",{\"language\":[1537],\"returnUrl\":[1,\"return-url\"],\"heading\":[1],\"i18n\":[32],\"isLoading\":[32],\"numberOfProfiles\":[32]}]]],[\"pn-profile-selector-option\",[[0,\"pn-profile-selector-option\",{\"heading\":[1],\"description\":[1],\"url\":[1]}]]],[\"pn-quick-cta\",[[4,\"pn-quick-cta\",{\"heading\":[1],\"preamble\":[1]}]]],[\"pn-quote-card\",[[4,\"pn-quote-card\",{\"quote\":[1],\"name\":[1],\"occupation\":[1]}]]],[\"pn-scroll\",[[4,\"pn-scroll\",{\"intersectionCustomCallback\":[16],\"observerOptions\":[16],\"behaviourClasses\":[1,\"behaviour-classes\"],\"transitionDurationSeconds\":[2,\"transition-duration-seconds\"],\"compId\":[32]}]]],[\"pn-sidenav\",[[4,\"pn-sidenav\",{\"language\":[1],\"navLabel\":[1,\"nav-label\"],\"i18n\":[32]},[[0,\"language\",\"setLanguage\"],[0,\"openSubMenuLevelChange\",\"onOpenSubMenuLevelChange\"]]]]],[\"pn-sidenav-level\",[[4,\"pn-sidenav-level\",{\"level\":[32],\"levelId\":[32],\"isOpen\":[32],\"parentName\":[32],\"parentHref\":[32],\"parentLinkId\":[32],\"alignment\":[32]}]]],[\"pn-sidenav-link\",[[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\",[[4,\"pn-sidenav-togglebutton\",{\"label\":[1],\"i18n\":[32]}]]],[\"pn-spotlight\",[[4,\"pn-spotlight\",{\"heading\":[1],\"preamble\":[1],\"isDynamic\":[4,\"is-dynamic\"],\"addDynamic\":[32]}]]],[\"pn-teaser-card\",[[4,\"pn-teaser-card\",{\"text\":[1],\"heading\":[1],\"label\":[1],\"dataCardColor\":[513,\"data-card-color\"],\"dataCardAlignment\":[513,\"data-card-alignment\"],\"hasCtaSlotContent\":[32],\"hasIllustrationSlot\":[32]}]]],[\"pn-titletag\",[[4,\"pn-titletag\",{\"icon\":[1],\"color\":[1537]}]]],[\"pn-proxio-findprice-result\",[[0,\"pn-proxio-findprice-result\",{\"item\":[1040],\"activeweight\":[1026],\"shownitems\":[16],\"Usp1\":[1,\"usp-1\"],\"Usp2\":[1,\"usp-2\"],\"Usp3\":[1,\"usp-3\"],\"description\":[16],\"showMeasurement\":[4,\"show-measurement\"],\"language\":[1025],\"weightText\":[32],\"linkId\":[32],\"shopLabel\":[32],\"shopUrl\":[32],\"shopId\":[32],\"i18n\":[32]}]]],[\"pn-product-card_3\",[[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-product-card\"]]],[\"pn-find-service-and-price-result\",[[0,\"pn-find-service-and-price-result\",{\"item\":[1040],\"shownitems\":[16],\"weightText\":[32]}]]],[\"pn-share-item\",[[4,\"pn-share-item\",{\"link\":[1],\"text\":[1]}]]],[\"pn-stats-info-data\",[[0,\"pn-stats-info-data\",{\"data\":[2],\"unit\":[1],\"preamble\":[1],\"duration\":[2],\"index\":[2],\"hasBeenShown\":[32],\"compId\":[32]}]]],[\"pn-find-price-result\",[[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\",[[4,\"pn-site-footer\",{\"url\":[1],\"linktitle\":[1],\"theme\":[513]}],[4,\"pn-site-footer-col\",{\"theme\":[513]}]]],[\"pn-mainnav-link\",[[4,\"pn-mainnav-link\",{\"name\":[1],\"href\":[1],\"target\":[1],\"linkid\":[1],\"levelId\":[32],\"open\":[32],\"hasChildren\":[32]}]]],[\"pn-marketweb-input\",[[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-choice-button\",[[4,\"pn-choice-button\",{\"value\":[520],\"name\":[1],\"choiceid\":[1],\"type\":[1],\"disabled\":[4],\"checked\":[4],\"indeterminate\":[1028]},[[0,\"change\",\"handlechange\"]]]]],[\"pn-product-tile-info_2\",[[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-marketweb-siteheader-login-linklist\",[[0,\"pn-marketweb-siteheader-login-linklist\",{\"heading\":[1],\"links\":[16],\"idNamespace\":[1,\"id-namespace\"],\"showUnifiedLogin\":[4,\"show-unified-login\"]}]]],[\"pn-marketweb-siteheader-login-button_5\",[[0,\"pn-marketweb-siteheader-unified-login\",{\"loggedIn\":[4,\"logged-in\"],\"myPageLabel\":[1,\"my-page-label\"],\"myPageUrl\":[1,\"my-page-url\"],\"logInLabel\":[1,\"log-in-label\"]}],[0,\"pn-marketweb-siteheader-login-links\",{\"loginDialog\":[1040],\"idNamespace\":[1,\"id-namespace\"],\"loggedin\":[516],\"username\":[1],\"showUnifiedLogin\":[4,\"show-unified-login\"]}],[0,\"pn-marketweb-siteheader-login-profileselection\",{\"loginDialog\":[1040],\"endpoint\":[1],\"loggedin\":[4],\"idNamespace\":[1,\"id-namespace\"],\"heading\":[1],\"i18n\":[16],\"currentProfile\":[1040],\"profileoptions\":[1040],\"user\":[32],\"logoutLink\":[32],\"userName\":[32],\"userEmail\":[32]}],[0,\"pn-marketweb-siteheader-login-button\",{\"label\":[1]}],[0,\"pn-marketweb-siteheader-login-mypage-button\",{\"label\":[1],\"myPageUrl\":[1,\"my-page-url\"]}]]],[\"pn-language-selector_9\",[[0,\"pn-marketweb-siteheader-login\",{\"endpoint\":[1],\"token\":[1],\"i18n\":[16],\"siteUrl\":[1,\"site-url\"],\"emitEvents\":[4,\"emit-events\"],\"loginDialog\":[1040],\"fullname\":[1],\"loggedin\":[4],\"showProfileSelection\":[1028,\"show-profile-selection\"],\"showUnifiedLogin\":[4,\"show-unified-login\"],\"checkUserLoggedInStateInterval\":[2,\"check-user-logged-in-state-interval\"],\"environment\":[1],\"loginLinks\":[32],\"toggleButtonText\":[32],\"username\":[32]}],[4,\"pn-mainnav-level\",{\"label\":[1537],\"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],\"icononly\":[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]}]]],[\"pn-proxio-productcard_4\",[[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],\"vatText\":[1,\"vat-text\"],\"link\":[1],\"linktext\":[1]}]]]]"), options);
|
|
13
|
+
return bootstrapLazy(JSON.parse("[[\"pn-marketweb-siteheader\",[[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\"],\"hideHomeMenuItem\":[1540,\"hide-home-menu-item\"],\"hideLanguageSelector\":[1540,\"hide-language-selector\"],\"hideSearch\":[1540,\"hide-search\"],\"hideLogin\":[1540,\"hide-login\"],\"showProfileSelection\":[1540,\"show-profile-selection\"],\"showUnifiedLogin\":[4,\"show-unified-login\"],\"siteDomainInUrls\":[4,\"site-domain-in-urls\"],\"AutocompleteEndpoint\":[1,\"autocomplete-endpoint\"],\"sessionForward\":[4,\"session-forward\"],\"cache\":[4],\"searchPlaceholder\":[1,\"search-placeholder\"],\"spaMode\":[4,\"spa-mode\"],\"checkUserLoggedInStateInterval\":[2,\"check-user-logged-in-state-interval\"],\"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]},[[0,\"setLanguage\",\"onLanguageSelectorChange\"],[0,\"loginStateChange\",\"onLoginStateChange\"],[9,\"resize\",\"handleResize\"]]]]],[\"pn-proxio-findprice\",[[0,\"pn-proxio-findprice\",{\"endpoint\":[1025],\"language\":[1025],\"market\":[1025],\"showMedium\":[4,\"show-medium\"],\"cache\":[4],\"filteredItems\":[32],\"weight\":[32],\"weightvalue\":[32],\"sizecategory\":[32],\"data\":[32]}]]],[\"pn-find-price\",[[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\",[[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\",[[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\",[[0,\"pn-proxio-pricegroup\",{\"endpoint\":[1025],\"language\":[1],\"market\":[1],\"tariffid\":[1],\"cache\":[4],\"activeWeightIndex\":[32],\"data\":[32],\"i18n\":[32]},[[0,\"activeWeightIndex\",\"setActiveWeightIndex\"],[0,\"language\",\"setLanguage\"]]]]],[\"pn-product-pricelist-result\",[[0,\"pn-product-pricelist-result\",{\"item\":[1040],\"description\":[16],\"shownitems\":[16],\"showMeasurement\":[4,\"show-measurement\"],\"weightText\":[32]}]]],[\"pn-marketweb-sitefooter\",[[4,\"pn-marketweb-sitefooter\",{\"market\":[1537],\"language\":[1537],\"environment\":[1537],\"endpoint\":[1],\"siteDomainInUrls\":[4,\"site-domain-in-urls\"],\"cache\":[4],\"theme\":[513],\"backgroundcolor\":[513],\"siteDefinition\":[32],\"footerContent\":[32],\"i18n\":[32],\"gotData\":[32],\"fetchingData\":[32]}]]],[\"pn-parcel-tracker\",[[0,\"pn-parcel-tracker\",{\"formActionUrl\":[1,\"form-action-url\"],\"heading\":[1],\"buttonLabel\":[1,\"button-label\"],\"locale\":[1],\"placeholder\":[1],\"inputName\":[1,\"input-name\"],\"currentWidth\":[32]},[[9,\"resize\",\"handleViewportSizeChange\"]]]]],[\"pn-pex-pricefinder\",[[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-share\",[[0,\"pn-share\",{\"link\":[1],\"language\":[1537],\"i18n\":[32]}]]],[\"pn-stats-info\",[[4,\"pn-stats-info\",{\"heading\":[1],\"dataArray\":[1,\"data-array\"],\"backgroundUrl\":[1,\"background-url\"],\"myParsedArray\":[32]}]]],[\"pn-animated-tile\",[[4,\"pn-animated-tile\",{\"toggled\":[32],\"transitionClassName\":[32],\"animateIcon\":[32]}]]],[\"pn-bonus-progressbar\",[[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\",[[0,\"pn-bonus-progressbar-level\",{\"current\":[516],\"value\":[1538],\"bonuspercentage\":[1537],\"visualpercentage\":[1538],\"percentage\":[32],\"max\":[32],\"min\":[32],\"currency\":[32]}]]],[\"pn-breakpoints\",[[0,\"pn-breakpoints\",{\"breakPointClass\":[1,\"break-point-class\"],\"currentWidth\":[32]},[[9,\"resize\",\"handleViewportSizeChange\"]]]]],[\"pn-chart\",[[0,\"pn-chart\",{\"labels\":[1],\"dataSets\":[1,\"data-sets\"],\"dataChartType\":[8,\"data-chart-type\"],\"myChartCtxRef\":[32]}]]],[\"pn-charts-card\",[[4,\"pn-charts-card\",{\"header\":[1],\"highlight\":[1],\"preamble\":[1],\"label\":[1],\"source\":[1],\"sourceUrl\":[1,\"source-url\"],\"ctaLinkText\":[1,\"cta-link-text\"],\"openInNewWindow\":[4,\"open-in-new-window\"]}]]],[\"pn-customernumber-selector\",[[4,\"pn-customernumber-selector\",{\"language\":[1537],\"open\":[1540],\"heading\":[1],\"description\":[1],\"i18n\":[32]}]]],[\"pn-customernumber-selector-option\",[[4,\"pn-customernumber-selector-option\",{\"heading\":[1],\"description\":[1],\"url\":[1]}]]],[\"pn-filter-checkbox\",[[1,\"pn-filter-checkbox\",{\"value\":[520],\"name\":[1],\"checkboxid\":[1],\"disabled\":[4],\"checked\":[4],\"indeterminate\":[1028]},[[0,\"change\",\"handlechange\"]]]]],[\"pn-line-shape\",[[0,\"pn-line-shape\"]]],[\"pn-marketweb-search\",[[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-multi-formfield\",[[4,\"pn-multi-formfield\",{\"value\":[1040],\"formFieldClassName\":[1,\"form-field-class-name\"],\"formFieldOuterParentClassName\":[1,\"form-field-outer-parent-class-name\"],\"formRow\":[32],\"formValues\":[32],\"elementToCopy\":[32],\"fieldsPerRowCount\":[32],\"newRowStartIndex\":[32],\"originalLabelNames\":[32]}]]],[\"pn-product-tile\",[[4,\"pn-product-tile\"]]],[\"pn-profile-modal\",[[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\",[[4,\"pn-profile-modal-customernumber\",{\"url\":[513],\"customernumber\":[513],\"selected\":[516]}]]],[\"pn-profile-modal-profile\",[[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\",[[4,\"pn-profile-modal-type\",{\"typeid\":[513],\"name\":[1025],\"selected\":[1028],\"selectedprofile\":[1025]}]]],[\"pn-profile-selector\",[[4,\"pn-profile-selector\",{\"language\":[1537],\"returnUrl\":[1,\"return-url\"],\"heading\":[1],\"i18n\":[32],\"isLoading\":[32],\"numberOfProfiles\":[32]}]]],[\"pn-profile-selector-option\",[[0,\"pn-profile-selector-option\",{\"heading\":[1],\"description\":[1],\"url\":[1]}]]],[\"pn-quick-cta\",[[4,\"pn-quick-cta\",{\"heading\":[1],\"preamble\":[1]}]]],[\"pn-quote-card\",[[4,\"pn-quote-card\",{\"quote\":[1],\"name\":[1],\"occupation\":[1]}]]],[\"pn-scroll\",[[4,\"pn-scroll\",{\"intersectionCustomCallback\":[16],\"observerOptions\":[16],\"behaviourClasses\":[1,\"behaviour-classes\"],\"transitionDurationSeconds\":[2,\"transition-duration-seconds\"],\"compId\":[32]}]]],[\"pn-sidenav\",[[4,\"pn-sidenav\",{\"language\":[1],\"navLabel\":[1,\"nav-label\"],\"i18n\":[32]},[[0,\"language\",\"setLanguage\"],[0,\"openSubMenuLevelChange\",\"onOpenSubMenuLevelChange\"]]]]],[\"pn-sidenav-level\",[[4,\"pn-sidenav-level\",{\"level\":[32],\"levelId\":[32],\"isOpen\":[32],\"parentName\":[32],\"parentHref\":[32],\"parentLinkId\":[32],\"alignment\":[32]}]]],[\"pn-sidenav-link\",[[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\",[[4,\"pn-sidenav-togglebutton\",{\"label\":[1],\"i18n\":[32]}]]],[\"pn-spotlight\",[[4,\"pn-spotlight\",{\"heading\":[1],\"preamble\":[1],\"isDynamic\":[4,\"is-dynamic\"],\"addDynamic\":[32]}]]],[\"pn-teaser-card\",[[4,\"pn-teaser-card\",{\"text\":[1],\"heading\":[1],\"label\":[1],\"dataCardColor\":[513,\"data-card-color\"],\"dataCardAlignment\":[513,\"data-card-alignment\"],\"hasCtaSlotContent\":[32],\"hasIllustrationSlot\":[32]}]]],[\"pn-titletag\",[[4,\"pn-titletag\",{\"icon\":[1],\"color\":[1537]}]]],[\"pn-proxio-findprice-result\",[[0,\"pn-proxio-findprice-result\",{\"item\":[1040],\"activeweight\":[1026],\"shownitems\":[16],\"Usp1\":[1,\"usp-1\"],\"Usp2\":[1,\"usp-2\"],\"Usp3\":[1,\"usp-3\"],\"description\":[16],\"showMeasurement\":[4,\"show-measurement\"],\"language\":[1025],\"weightText\":[32],\"linkId\":[32],\"shopLabel\":[32],\"shopUrl\":[32],\"shopId\":[32],\"i18n\":[32]}]]],[\"pn-product-card_3\",[[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-product-card\"]]],[\"pn-find-service-and-price-result\",[[0,\"pn-find-service-and-price-result\",{\"item\":[1040],\"shownitems\":[16],\"weightText\":[32]}]]],[\"pn-share-item\",[[4,\"pn-share-item\",{\"link\":[1],\"text\":[1]}]]],[\"pn-stats-info-data\",[[0,\"pn-stats-info-data\",{\"data\":[2],\"unit\":[1],\"preamble\":[1],\"duration\":[2],\"index\":[2],\"hasBeenShown\":[32],\"compId\":[32]}]]],[\"pn-find-price-result\",[[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\",[[4,\"pn-site-footer\",{\"url\":[1],\"linktitle\":[1],\"theme\":[513]}],[4,\"pn-site-footer-col\",{\"theme\":[513]}]]],[\"pn-mainnav-link\",[[4,\"pn-mainnav-link\",{\"name\":[1],\"href\":[1],\"target\":[1],\"linkid\":[1],\"levelId\":[32],\"open\":[32],\"hasChildren\":[32]}]]],[\"pn-marketweb-input\",[[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-choice-button\",[[4,\"pn-choice-button\",{\"value\":[520],\"name\":[1],\"choiceid\":[1],\"type\":[1],\"disabled\":[4],\"checked\":[4],\"indeterminate\":[1028]},[[0,\"change\",\"handlechange\"]]]]],[\"pn-product-tile-info_2\",[[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-marketweb-siteheader-login-linklist\",[[0,\"pn-marketweb-siteheader-login-linklist\",{\"heading\":[1],\"links\":[16],\"idNamespace\":[1,\"id-namespace\"],\"showUnifiedLogin\":[4,\"show-unified-login\"]}]]],[\"pn-marketweb-siteheader-login-button_5\",[[0,\"pn-marketweb-siteheader-unified-login\",{\"loggedIn\":[4,\"logged-in\"],\"myPageLabel\":[1,\"my-page-label\"],\"myPageUrl\":[1,\"my-page-url\"],\"logInLabel\":[1,\"log-in-label\"]}],[0,\"pn-marketweb-siteheader-login-links\",{\"loginDialog\":[1040],\"idNamespace\":[1,\"id-namespace\"],\"loggedin\":[516],\"username\":[1],\"showUnifiedLogin\":[4,\"show-unified-login\"]}],[0,\"pn-marketweb-siteheader-login-profileselection\",{\"loginDialog\":[1040],\"endpoint\":[1],\"loggedin\":[4],\"idNamespace\":[1,\"id-namespace\"],\"heading\":[1],\"i18n\":[16],\"currentProfile\":[1040],\"profileoptions\":[1040],\"user\":[32],\"logoutLink\":[32],\"userName\":[32],\"userEmail\":[32]}],[0,\"pn-marketweb-siteheader-login-button\",{\"label\":[1]}],[0,\"pn-marketweb-siteheader-login-mypage-button\",{\"label\":[1],\"myPageUrl\":[1,\"my-page-url\"]}]]],[\"pn-language-selector_9\",[[0,\"pn-marketweb-siteheader-login\",{\"endpoint\":[1],\"token\":[1],\"i18n\":[16],\"siteUrl\":[1,\"site-url\"],\"emitEvents\":[4,\"emit-events\"],\"loginDialog\":[1040],\"fullname\":[1],\"loggedin\":[4],\"showProfileSelection\":[1028,\"show-profile-selection\"],\"showUnifiedLogin\":[4,\"show-unified-login\"],\"checkUserLoggedInStateInterval\":[2,\"check-user-logged-in-state-interval\"],\"environment\":[1],\"loginLinks\":[32],\"toggleButtonText\":[32],\"username\":[32]}],[4,\"pn-mainnav-level\",{\"label\":[1537],\"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],\"icononly\":[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]}]]],[\"pn-proxio-productcard_4\",[[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],\"vatText\":[1,\"vat-text\"],\"link\":[1],\"linktext\":[1]}]]]]"), options);
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, h, a as Host, g as getElement } from './index-53
|
|
|
2
2
|
import { c as classnames } from './index-45541632.js';
|
|
3
3
|
import './_commonjsHelpers-27f122dd.js';
|
|
4
4
|
|
|
5
|
-
const pnAnimatedTileCss = "pn-animated-tile .pn-animated-tile__container{position:relative;border-radius:2.4rem;height:56rem;cursor:default}pn-animated-tile .pn-animated-tile__content{position:relative;display:-ms-flexbox;display:flex;height:100%;width:100%;background-color:transparent}pn-animated-tile [slot=side-a],pn-animated-tile [slot=side-b]{position:absolute;-ms-flex-item-align:stretch;align-self:stretch;top:0;left:0;width:100%;height:100
|
|
5
|
+
const pnAnimatedTileCss = "pn-animated-tile .pn-animated-tile__container{position:relative;border-radius:2.4rem;height:56rem;cursor:default}pn-animated-tile .pn-animated-tile__content{position:relative;display:-ms-flexbox;display:flex;height:100%;width:100%;background-color:transparent}pn-animated-tile [slot=side-a],pn-animated-tile [slot=side-b]{position:absolute;-ms-flex-item-align:stretch;align-self:stretch;top:0;left:0;width:100%;height:100%}pn-animated-tile [slot=side-a]{padding:0;opacity:1}pn-animated-tile [slot=side-b]{padding:2.4rem 2.4rem 7rem 2.4rem;opacity:0;-webkit-transform:translateY(50px);transform:translateY(50px)}pn-animated-tile .pn-animated-tile__toggle{position:absolute;bottom:2.4rem;right:2.4rem;padding:0.8rem;border-radius:50%;border:none;cursor:pointer}pn-animated-tile .pn-animated-tile__toggle:hover{background-color:#e9e6e5}pn-animated-tile .pn-animated-tile__toggle:hover pn-icon{background-color:#e9e6e5}pn-animated-tile .button-tooltip{display:none}.cat-animate [slot=side-a],.cat-animate [slot=side-b]{-webkit-transition:opacity 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out 0.2s;transition:opacity 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out 0.2s;transition:opacity 0.5s ease-in-out, transform 0.5s ease-in-out 0.2s;transition:opacity 0.5s ease-in-out, transform 0.5s ease-in-out 0.2s, -webkit-transform 0.5s ease-in-out 0.2s}.cat-animate.fade [slot=side-a]{opacity:0}.cat-animate.fade [slot=side-b]{opacity:1;-webkit-transform:translateY(0);transform:translateY(0);-webkit-transition-delay:0.5s;transition-delay:0.5s}.cat-animate.fade--reversed [slot=side-a]{opacity:1;-webkit-transition-delay:0.5s;transition-delay:0.5s}.cat-animate.fade--reversed [slot=side-b]{opacity:0;-webkit-transform:translateY(50px);transform:translateY(50px)}.cat-animate.toggle pn-icon{-webkit-transition:-webkit-transform 0.45s ease-in-out;transition:-webkit-transform 0.45s ease-in-out;transition:transform 0.45s ease-in-out;transition:transform 0.45s ease-in-out, -webkit-transform 0.45s ease-in-out;-webkit-transition-delay:0.5s;transition-delay:0.5s}.cat-animate.toggle.animate pn-icon{-webkit-transform:rotate(45deg);transform:rotate(45deg)}[data-cat-theme=white] .pn-animated-tile__container{background-color:#FFFFFF}[data-cat-theme=white] .pn-animated-tile__toggle{background-color:#FFFFFF}[data-cat-theme=white] .pn-animated-tile__toggle pn-icon{background-color:#FFFFFF}[data-cat-theme=white] .pn-animated-tile__toggle pn-icon svg>path{fill:#00A0D6}[data-cat-theme=white] .pn-animated-tile__toggle:focus,[data-cat-theme=white] .pn-animated-tile__toggle:focus-visible{outline-color:#00A0D6}[data-cat-theme=coral400] .pn-animated-tile__container{background-color:#F06365}[data-cat-theme=coral400] .pn-animated-tile__toggle{background-color:#FFFFFF}[data-cat-theme=coral400] .pn-animated-tile__toggle pn-icon{background-color:#FFFFFF}[data-cat-theme=coral400] .pn-animated-tile__toggle pn-icon svg>path{fill:#F06365}[data-cat-theme=coral400] .pn-animated-tile__toggle:focus,[data-cat-theme=coral400] .pn-animated-tile__toggle:focus-visible{outline-color:#F06365}[data-cat-theme=private] .pn-animated-tile__container{background-color:#00A0D6}[data-cat-theme=private] .pn-animated-tile__toggle{background-color:#FFFFFF}[data-cat-theme=private] .pn-animated-tile__toggle pn-icon{background-color:#FFFFFF}[data-cat-theme=private] .pn-animated-tile__toggle pn-icon svg>path{fill:#00A0D6}[data-cat-theme=private] .pn-animated-tile__toggle:focus,[data-cat-theme=private] .pn-animated-tile__toggle:focus-visible{outline-color:#00A0D6}[data-cat-theme=business] .pn-animated-tile__container{background-color:#0D234B}[data-cat-theme=business] .pn-animated-tile__toggle{background-color:#FFFFFF}[data-cat-theme=business] .pn-animated-tile__toggle pn-icon{background-color:#FFFFFF}[data-cat-theme=business] .pn-animated-tile__toggle pn-icon svg>path{fill:#0D234B}[data-cat-theme=business] .pn-animated-tile__toggle:focus,[data-cat-theme=business] .pn-animated-tile__toggle:focus-visible{outline-color:#0D234B}[data-cat-theme=hybrid] .pn-animated-tile__container{background-color:#e9e6e5}[data-cat-theme=hybrid] .pn-animated-tile__toggle{background-color:#FFFFFF}[data-cat-theme=hybrid] .pn-animated-tile__toggle pn-icon{background-color:#FFFFFF}[data-cat-theme=hybrid] .pn-animated-tile__toggle pn-icon svg>path{fill:#005D92}[data-cat-theme=hybrid] .pn-animated-tile__toggle:focus,[data-cat-theme=hybrid] .pn-animated-tile__toggle:focus-visible{outline-color:#005D92}[data-cat-firstpage-only=true] [slot=side-b],[data-cat-firstpage-only=true] .pn-animated-tile__toggle{display:none}";
|
|
6
6
|
|
|
7
7
|
let PnAnimatedTile = class {
|
|
8
8
|
constructor(hostRef) {
|
|
@@ -19,7 +19,7 @@ let PnAnimatedTile = class {
|
|
|
19
19
|
this.animateIcon = classnames({ 'animate': this.toggled, '': !this.toggled });
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (h(Host, null, h("div", { class: "pn-animated-tile__container" }, h("div", { class: `pn-animated-tile__content cat-animate ${this.transitionClassName}` }, h("slot", { name: "side-a" }), h("slot", { name: "side-b" })), h("
|
|
22
|
+
return (h(Host, null, h("div", { class: "pn-animated-tile__container" }, h("div", { class: `pn-animated-tile__content cat-animate ${this.transitionClassName}` }, h("slot", { name: "side-a" }), h("slot", { name: "side-b" })), h("button", { class: `pn-animated-tile__toggle cat-animate toggle ${this.animateIcon}`, onClick: this.onClickHandler }, h("pn-icon", { symbol: "plus" })))));
|
|
23
23
|
}
|
|
24
24
|
get hostElement() { return getElement(this); }
|
|
25
25
|
static get watchers() { return {
|