@postnord/pn-marketweb-components 2.4.24 → 2.4.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index-4199ff85.js +16 -8
- 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 -2
- package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +372 -0
- package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +205 -0
- package/cjs/pn-site-footer_3.cjs.entry.js +1 -1
- package/collection/collection-manifest.json +2 -0
- package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row.css +90 -0
- package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row.js +836 -0
- package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.css +16 -0
- package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.js +631 -0
- package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.stories.js +62 -0
- package/collection/components/input/pn-multi-row-connected-dropdown/types.js +1 -0
- package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.css +7 -1
- package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.stories.js +14 -2
- package/collection/components/layout-components/pn-marketweb-sitefooter/socialMediaIcons.js +1 -1
- package/collection/components/navigation/pn-site-footer/pn-site-footer-col.css +2 -0
- package/components/index.d.ts +2 -0
- package/components/index.js +2 -0
- package/components/pn-filter-checkbox.js +1 -88
- package/components/pn-filter-checkbox2.js +90 -0
- package/components/pn-marketweb-sitefooter.js +2 -2
- package/components/pn-multi-row-connected-dropdown-row.d.ts +11 -0
- package/components/pn-multi-row-connected-dropdown-row.js +6 -0
- package/components/pn-multi-row-connected-dropdown-row2.js +434 -0
- package/components/pn-multi-row-connected-dropdown.d.ts +11 -0
- package/components/pn-multi-row-connected-dropdown.js +262 -0
- package/components/pn-site-footer-col2.js +1 -1
- package/esm/index-ee44c065.js +16 -8
- package/esm/loader.js +1 -1
- package/esm/pn-market-web-components.js +1 -1
- package/esm/pn-marketweb-sitefooter.entry.js +2 -2
- package/esm/pn-multi-row-connected-dropdown-row.entry.js +368 -0
- package/esm/pn-multi-row-connected-dropdown.entry.js +201 -0
- package/esm/pn-site-footer_3.entry.js +1 -1
- package/esm-es5/index-ee44c065.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-multi-row-connected-dropdown-row.entry.js +1 -0
- package/esm-es5/pn-multi-row-connected-dropdown.entry.js +1 -0
- package/esm-es5/pn-site-footer_3.entry.js +1 -1
- package/package.json +1 -1
- package/pn-market-web-components/p-1024c80b.entry.js +1 -0
- package/pn-market-web-components/p-31b84367.system.entry.js +1 -0
- package/pn-market-web-components/p-4b510969.entry.js +1 -0
- package/pn-market-web-components/p-5d2a19e3.entry.js +1 -0
- package/pn-market-web-components/p-743b1d06.system.entry.js +1 -0
- package/pn-market-web-components/p-7e81b501.system.entry.js +1 -0
- package/pn-market-web-components/p-83c85053.system.entry.js +1 -0
- package/pn-market-web-components/p-b4416838.entry.js +1 -0
- package/pn-market-web-components/p-fcdb7381.system.js +1 -1
- package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
- package/types/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row.d.ts +93 -0
- package/types/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.d.ts +45 -0
- package/types/components/input/pn-multi-row-connected-dropdown/types.d.ts +32 -0
- package/types/components.d.ts +124 -0
- package/pn-market-web-components/p-4b0ccb02.system.entry.js +0 -1
- package/pn-market-web-components/p-7a4a7a83.system.entry.js +0 -1
- package/pn-market-web-components/p-f8a13e03.entry.js +0 -1
- package/pn-market-web-components/p-ffae5f6b.entry.js +0 -1
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import readme from './readme.md';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'input/Multi Row Connected Dropdown',
|
|
5
|
+
parameters: {
|
|
6
|
+
notes: readme,
|
|
7
|
+
},
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
const Template = ({ ...args }) => {
|
|
11
|
+
return `
|
|
12
|
+
<pn-multi-row-connected-dropdown
|
|
13
|
+
dropdown-data='${args.dropdownData}'
|
|
14
|
+
label='${args.buttonsLabel}'
|
|
15
|
+
dropdown-placeholder='${args.dropdownPlaceholder}'
|
|
16
|
+
first-dropdown-label='${args.firstDropdownLabel}'
|
|
17
|
+
second-dropdown-label='${args.secondDropdownLabel}'
|
|
18
|
+
input-fild-label='${args.inputFildLabel}'
|
|
19
|
+
input-fild-placeholder='${args.inputFildPlaceholder}'
|
|
20
|
+
allow-multiple-rows='${args.allowMultipleRows}'
|
|
21
|
+
allow-multiple-dates='${args.allowMultipleDates}'
|
|
22
|
+
date-button-text='${args.dateButtonText}'
|
|
23
|
+
date-placeholder='${args.datePlaceHolder}'
|
|
24
|
+
date-days-from-today='${args.dateDaysFromToday}'
|
|
25
|
+
language-code='${args.languageCode}'
|
|
26
|
+
add-row-text='${args.addRowText}'
|
|
27
|
+
generate-dates-button-text='${args.generateDatesButtonText}'
|
|
28
|
+
multi-date-helper-text='${args.multiDateHelperText}'
|
|
29
|
+
save-date-button-text='${args.saveDateButtonText}'
|
|
30
|
+
no-dates-text='${args.noDatesText}'
|
|
31
|
+
start-date-label='${args.startDateLabel}'
|
|
32
|
+
end-date-label='${args.endDateLabel}'
|
|
33
|
+
years-to-add-to-end-date='${args.yearsToAddToEndDate}'
|
|
34
|
+
>
|
|
35
|
+
</pn-multi-row-connected-dropdown>`;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export const Primary = Template.bind({});
|
|
39
|
+
Primary.args = {
|
|
40
|
+
dropdownData:
|
|
41
|
+
'[{"caption":"First","value":"First","values":[{"caption":"First-1","value":"First-1","values":[{"caption":"First-1-1","value":"First-1-1"}]},{"caption":"First-2","value":"First-2","values":[{"caption":"First-2-1","value":"First-2-1"}]}]},{"caption":"Second","value":"Second","values":[{"caption":"Second-1","value":"Second-1","values":[{"caption":"Second-1-1","value":"Second-1-1"}]},{"caption":"Second-2","value":"Second-2","values":[{"caption":"Second-2-1","value":"Second-2-1"}]}]}]',
|
|
42
|
+
buttonsLabel: 'ButtonOptions',
|
|
43
|
+
dropdownPlaceholder: 'Chose',
|
|
44
|
+
firstDropdownLabel: 'dropDown1',
|
|
45
|
+
secondDropdownLabel: 'dropDown2',
|
|
46
|
+
inputFildLabel: 'Amount',
|
|
47
|
+
inputFildPlaceholder: '0',
|
|
48
|
+
allowMultipleRows: false,
|
|
49
|
+
allowMultipleDates: false,
|
|
50
|
+
dateButtonText: 'Delivery dates',
|
|
51
|
+
datePlaceHolder: 'YYYY-MM-DD',
|
|
52
|
+
dateDaysFromToday: '1',
|
|
53
|
+
languageCode: 'en',
|
|
54
|
+
addRowText: 'Add field',
|
|
55
|
+
generateDatesButtonText: 'Generate dates',
|
|
56
|
+
saveDateButtonText: 'Save dates',
|
|
57
|
+
multiDateHelperText: 'Some helpful text',
|
|
58
|
+
noDatesText: 'No dates',
|
|
59
|
+
startDateLabel: 'Start date',
|
|
60
|
+
endDateLabel: 'End date',
|
|
61
|
+
yearsToAddToEndDate: 2,
|
|
62
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.css
CHANGED
|
@@ -119,9 +119,12 @@ pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-medi
|
|
|
119
119
|
justify-self: center;
|
|
120
120
|
align-self: center;
|
|
121
121
|
}
|
|
122
|
-
pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=
|
|
122
|
+
pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=bluedarkest] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] svg path {
|
|
123
123
|
fill: #FFFFFF;
|
|
124
124
|
}
|
|
125
|
+
pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=bluedarkest] pn-site-footer[theme=dotcom] pn-swan * {
|
|
126
|
+
color: white;
|
|
127
|
+
}
|
|
125
128
|
pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] {
|
|
126
129
|
background-color: #005D92;
|
|
127
130
|
}
|
|
@@ -142,6 +145,9 @@ pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme
|
|
|
142
145
|
pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] svg path {
|
|
143
146
|
fill: #FFFFFF;
|
|
144
147
|
}
|
|
148
|
+
pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] pn-swan * {
|
|
149
|
+
color: white;
|
|
150
|
+
}
|
|
145
151
|
pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] {
|
|
146
152
|
background-color: #F3F2F2;
|
|
147
153
|
}
|
|
@@ -172,11 +172,23 @@ const TemplateGrayDotComSwan = ({ ...args }) => {
|
|
|
172
172
|
language="${args.language}"
|
|
173
173
|
endpoint="${args.endpoint}"
|
|
174
174
|
environment="${args.environment}"
|
|
175
|
-
backgroundcolor="
|
|
175
|
+
backgroundcolor="blue"
|
|
176
176
|
site-domain-in-urls="true"
|
|
177
177
|
theme="dotcom"
|
|
178
178
|
show-swan="${args.showSwan}
|
|
179
|
-
>
|
|
179
|
+
>
|
|
180
|
+
<div slot="middle-extra">
|
|
181
|
+
<script type="text/javascript" src="//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js" async></script>
|
|
182
|
+
<div class="trustpilot-widget" data-locale="sv-SE" data-template-id="5419b637fa0340045cd0c936" data-businessunit-id="5ea5ecf38e73e600018e171a" data-style-height="20px" data-style-width="60%" data-theme="light">
|
|
183
|
+
<a href="https://se.trustpilot.com/review/postnord.se" target="_blank" rel="noopener">Trustpilot</a>
|
|
184
|
+
</div>
|
|
185
|
+
</div>
|
|
186
|
+
<div slot="middle-extra-mobile">
|
|
187
|
+
<script type="text/javascript" src="//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js" async></script>
|
|
188
|
+
<div class="trustpilot-widget" data-locale="sv-SE" data-template-id="5419b637fa0340045cd0c936" data-businessunit-id="5ea5ecf38e73e600018e171a" data-style-height="20px" data-style-width="60%" data-theme="light">
|
|
189
|
+
<a href="https://se.trustpilot.com/review/postnord.se" target="_blank" rel="noopener">Trustpilot</a>
|
|
190
|
+
</div>
|
|
191
|
+
</div>
|
|
180
192
|
</pn-marketweb-sitefooter>
|
|
181
193
|
`;
|
|
182
194
|
};
|
|
@@ -7,7 +7,7 @@ export const getSocialMediaIconsByType = (linkType = '', fill = '#005D92') => {
|
|
|
7
7
|
</svg>`;
|
|
8
8
|
case 'twitter':
|
|
9
9
|
return `<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10
|
-
<circle cx="28" cy="28" r="28" fill="
|
|
10
|
+
<circle cx="28" cy="28" r="28" fill="${fill}"/>
|
|
11
11
|
<path d="M34.8996 17.5H38.5996L30.5996 26.4L39.9996 38.6H32.5996L26.7996 31.2L20.1996 38.6H16.4996L25.0996 29L16.0996 17.5H23.5996L28.7996 24.2L34.8996 17.5ZM33.5996 36.4H35.5996L22.4996 19.5H20.2996L33.5996 36.4Z" fill="white"/>
|
|
12
12
|
</svg>`;
|
|
13
13
|
case 'linkedin':
|
package/components/index.d.ts
CHANGED
|
@@ -37,6 +37,8 @@ export { PnMarketwebSiteheaderLoginProfileselection as PnMarketwebSiteheaderLogi
|
|
|
37
37
|
export { PnMarketwebSiteheaderSearch as PnMarketwebSiteheaderSearch } from '../types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-search';
|
|
38
38
|
export { PnMarketwebSiteheaderUnifiedLogin as PnMarketwebSiteheaderUnifiedLogin } from '../types/components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-unified-login';
|
|
39
39
|
export { PnMultiFormField as PnMultiFormfield } from '../types/components/input/pn-multi-formfield/pn-multi-formfield';
|
|
40
|
+
export { PnMultiRowConnectedDropdown as PnMultiRowConnectedDropdown } from '../types/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown';
|
|
41
|
+
export { PnMultiRowConnectedDropdownRow as PnMultiRowConnectedDropdownRow } from '../types/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row';
|
|
40
42
|
export { PnSpotlight as PnParcelTracker } from '../types/components/cta/pn-parcel-tracker/pn-parcel-tracker';
|
|
41
43
|
export { PnPexPricefinder as PnPexPricefinder } from '../types/components/widgets/pn-pex-pricefinder/pn-pex-pricefinder';
|
|
42
44
|
export { PnPlayOnScroll as PnPlayOnScroll } from '../types/components/animation/pn-play-on-scroll/pn-play-on-scroll';
|
package/components/index.js
CHANGED
|
@@ -37,6 +37,8 @@ export { PnMarketwebSiteheaderLoginProfileselection, defineCustomElement as defi
|
|
|
37
37
|
export { PnMarketwebSiteheaderSearch, defineCustomElement as defineCustomElementPnMarketwebSiteheaderSearch } from './pn-marketweb-siteheader-search.js';
|
|
38
38
|
export { PnMarketwebSiteheaderUnifiedLogin, defineCustomElement as defineCustomElementPnMarketwebSiteheaderUnifiedLogin } from './pn-marketweb-siteheader-unified-login.js';
|
|
39
39
|
export { PnMultiFormfield, defineCustomElement as defineCustomElementPnMultiFormfield } from './pn-multi-formfield.js';
|
|
40
|
+
export { PnMultiRowConnectedDropdown, defineCustomElement as defineCustomElementPnMultiRowConnectedDropdown } from './pn-multi-row-connected-dropdown.js';
|
|
41
|
+
export { PnMultiRowConnectedDropdownRow, defineCustomElement as defineCustomElementPnMultiRowConnectedDropdownRow } from './pn-multi-row-connected-dropdown-row.js';
|
|
40
42
|
export { PnParcelTracker, defineCustomElement as defineCustomElementPnParcelTracker } from './pn-parcel-tracker.js';
|
|
41
43
|
export { PnPexPricefinder, defineCustomElement as defineCustomElementPnPexPricefinder } from './pn-pex-pricefinder.js';
|
|
42
44
|
export { PnPlayOnScroll, defineCustomElement as defineCustomElementPnPlayOnScroll } from './pn-play-on-scroll.js';
|
|
@@ -1,91 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
const pnFilterCheckboxCss = ":host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host input{opacity:0;position:absolute}:host input[type=checkbox]+label.pn-checkbox{width:1.5em;min-width:1.5em;height:1.5em;min-height:1.5em;background:#fff;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative;border:0.1rem solid #969087;cursor:pointer;border-radius:0.4rem;cursor:pointer;-webkit-transition-duration:220ms;transition-duration:220ms;-webkit-transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);-webkit-transition-property:border, background, -webkit-box-shadow;transition-property:border, background, -webkit-box-shadow;transition-property:border, background, box-shadow;transition-property:border, background, box-shadow, -webkit-box-shadow}:host input[type=checkbox]+label.pn-checkbox svg{width:80%;fill:none}:host input[type=checkbox]+label.pn-checkbox svg polyline{stroke:#FFF;-webkit-transform-origin:0 0;transform-origin:0 0;stroke-linecap:round;stroke-dasharray:23;stroke-dashoffset:23;-webkit-transition-delay:none;transition-delay:none;-webkit-transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86)}:host input[type=checkbox]:hover+label.pn-checkbox{border:0.1rem solid #005D92;background:#E0F8FF}:host input[type=checkbox]:checked+label.pn-checkbox,:host input[type=checkbox]:indeterminate+label.pn-checkbox{background:#005D92;border:0.1rem solid #005D92}:host input[type=checkbox]:checked+label.pn-checkbox svg polyline,:host input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline{-webkit-transition-delay:220ms;transition-delay:220ms}:host input[type=checkbox]:checked+label.pn-checkbox svg polyline.checkmark-path{stroke-dashoffset:0}:host input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline.indeterminate-path{stroke-dashoffset:0}:host input[type=checkbox]:focus+label.pn-checkbox,:host input[type=checkbox]:active+label.pn-checkbox{-webkit-box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92;box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92}:host input[type=checkbox]:disabled+label.pn-checkbox{background-color:#D3CECB;border:0.1rem solid #969087;cursor:not-allowed}:host input[type=checkbox]:disabled+label.pn-checkbox svg polyline{stroke:#969087}:host input[type=checkbox]:disabled:checked+label.pn-checkbox{border:0.1rem solid transparent}:host input[type=checkbox]:disabled:active+label.pn-checkbox{-webkit-box-shadow:none;box-shadow:none}";
|
|
4
|
-
|
|
5
|
-
const PnFilterCheckbox$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
|
-
constructor() {
|
|
7
|
-
super();
|
|
8
|
-
this.__registerHost();
|
|
9
|
-
this.__attachShadow();
|
|
10
|
-
this.value = undefined;
|
|
11
|
-
this.name = undefined;
|
|
12
|
-
this.checkboxid = undefined;
|
|
13
|
-
this.disabled = false;
|
|
14
|
-
this.checked = false;
|
|
15
|
-
this.indeterminate = false;
|
|
16
|
-
}
|
|
17
|
-
handlechange() {
|
|
18
|
-
this.indeterminate = false;
|
|
19
|
-
}
|
|
20
|
-
componentDidLoad() {
|
|
21
|
-
this.checkAndSetIndeterminateState();
|
|
22
|
-
this.bindEvents();
|
|
23
|
-
}
|
|
24
|
-
componentDidUpdate() {
|
|
25
|
-
this.checkAndSetIndeterminateState();
|
|
26
|
-
}
|
|
27
|
-
bindEvents() {
|
|
28
|
-
const labels = document.querySelectorAll('label[for="' + this.checkboxid + '"]');
|
|
29
|
-
labels.forEach((label) => {
|
|
30
|
-
label.addEventListener('click', () => {
|
|
31
|
-
this.hostElement.shadowRoot.querySelector('label').click();
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
|
-
const checkboxInput = this.hostElement.shadowRoot.querySelector('input');
|
|
35
|
-
checkboxInput.addEventListener('change', this.onCheckboxChange.bind(this, checkboxInput));
|
|
36
|
-
}
|
|
37
|
-
onCheckboxChange(checkboxInput) {
|
|
38
|
-
let outsideInput = this.hostElement.querySelector("input.hidden-" + this.checkboxid);
|
|
39
|
-
if (outsideInput) {
|
|
40
|
-
outsideInput.value = (checkboxInput.checked) ? this.value : "";
|
|
41
|
-
outsideInput.dispatchEvent(new CustomEvent("change", { detail: outsideInput }));
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
checkAndSetIndeterminateState() {
|
|
45
|
-
let checkbox = this.hostElement.querySelector(`#${this.checkboxid}`);
|
|
46
|
-
if (checkbox) {
|
|
47
|
-
checkbox.indeterminate = this.indeterminate;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
renderInputOutsideShadowRoot() {
|
|
51
|
-
var _a;
|
|
52
|
-
let input = this.hostElement.querySelector("input.hidden-" + this.checkboxid);
|
|
53
|
-
if (!input) {
|
|
54
|
-
input = this.hostElement.ownerDocument.createElement("input");
|
|
55
|
-
input.type = "hidden";
|
|
56
|
-
input.classList.add("hidden-" + this.checkboxid);
|
|
57
|
-
this.hostElement.appendChild(input);
|
|
58
|
-
}
|
|
59
|
-
input.name = (_a = this.name) !== null && _a !== void 0 ? _a : this.checkboxid;
|
|
60
|
-
}
|
|
61
|
-
render() {
|
|
62
|
-
this.renderInputOutsideShadowRoot();
|
|
63
|
-
return (h(Host, { checked: this.checked, id: this.checkboxid }, h("input", { type: "checkbox", id: this.checkboxid, value: this.value, name: this.name || this.checkboxid, disabled: this.disabled, checked: this.checked }), h("label", { htmlFor: this.checkboxid, class: "pn-checkbox" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none" }, h("polyline", { class: "checkmark-path", points: "4,12 9,17 20,6", "stroke-width": "3" }), h("polyline", { class: "indeterminate-path", points: "4,12 20,12", "stroke-width": "3" })))));
|
|
64
|
-
}
|
|
65
|
-
get hostElement() { return this; }
|
|
66
|
-
static get style() { return pnFilterCheckboxCss; }
|
|
67
|
-
}, [1, "pn-filter-checkbox", {
|
|
68
|
-
"value": [520],
|
|
69
|
-
"name": [1],
|
|
70
|
-
"checkboxid": [1],
|
|
71
|
-
"disabled": [4],
|
|
72
|
-
"checked": [4],
|
|
73
|
-
"indeterminate": [1028]
|
|
74
|
-
}, [[0, "change", "handlechange"]]]);
|
|
75
|
-
function defineCustomElement$1() {
|
|
76
|
-
if (typeof customElements === "undefined") {
|
|
77
|
-
return;
|
|
78
|
-
}
|
|
79
|
-
const components = ["pn-filter-checkbox"];
|
|
80
|
-
components.forEach(tagName => { switch (tagName) {
|
|
81
|
-
case "pn-filter-checkbox":
|
|
82
|
-
if (!customElements.get(tagName)) {
|
|
83
|
-
customElements.define(tagName, PnFilterCheckbox$1);
|
|
84
|
-
}
|
|
85
|
-
break;
|
|
86
|
-
} });
|
|
87
|
-
}
|
|
88
|
-
defineCustomElement$1();
|
|
1
|
+
import { P as PnFilterCheckbox$1, d as defineCustomElement$1 } from './pn-filter-checkbox2.js';
|
|
89
2
|
|
|
90
3
|
const PnFilterCheckbox = PnFilterCheckbox$1;
|
|
91
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const pnFilterCheckboxCss = ":host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}:host input{opacity:0;position:absolute}:host input[type=checkbox]+label.pn-checkbox{width:1.5em;min-width:1.5em;height:1.5em;min-height:1.5em;background:#fff;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;position:relative;border:0.1rem solid #969087;cursor:pointer;border-radius:0.4rem;cursor:pointer;-webkit-transition-duration:220ms;transition-duration:220ms;-webkit-transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);transition-timing-function:cubic-bezier(0.79, 0.14, 0.15, 0.86);-webkit-transition-property:border, background, -webkit-box-shadow;transition-property:border, background, -webkit-box-shadow;transition-property:border, background, box-shadow;transition-property:border, background, box-shadow, -webkit-box-shadow}:host input[type=checkbox]+label.pn-checkbox svg{width:80%;fill:none}:host input[type=checkbox]+label.pn-checkbox svg polyline{stroke:#FFF;-webkit-transform-origin:0 0;transform-origin:0 0;stroke-linecap:round;stroke-dasharray:23;stroke-dashoffset:23;-webkit-transition-delay:none;transition-delay:none;-webkit-transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86);transition:stroke-dashoffset 180ms cubic-bezier(0.79, 0.14, 0.15, 0.86)}:host input[type=checkbox]:hover+label.pn-checkbox{border:0.1rem solid #005D92;background:#E0F8FF}:host input[type=checkbox]:checked+label.pn-checkbox,:host input[type=checkbox]:indeterminate+label.pn-checkbox{background:#005D92;border:0.1rem solid #005D92}:host input[type=checkbox]:checked+label.pn-checkbox svg polyline,:host input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline{-webkit-transition-delay:220ms;transition-delay:220ms}:host input[type=checkbox]:checked+label.pn-checkbox svg polyline.checkmark-path{stroke-dashoffset:0}:host input[type=checkbox]:indeterminate+label.pn-checkbox svg polyline.indeterminate-path{stroke-dashoffset:0}:host input[type=checkbox]:focus+label.pn-checkbox,:host input[type=checkbox]:active+label.pn-checkbox{-webkit-box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92;box-shadow:0 0 0 0.1rem white, 0 0 0 0.3rem #005D92}:host input[type=checkbox]:disabled+label.pn-checkbox{background-color:#D3CECB;border:0.1rem solid #969087;cursor:not-allowed}:host input[type=checkbox]:disabled+label.pn-checkbox svg polyline{stroke:#969087}:host input[type=checkbox]:disabled:checked+label.pn-checkbox{border:0.1rem solid transparent}:host input[type=checkbox]:disabled:active+label.pn-checkbox{-webkit-box-shadow:none;box-shadow:none}";
|
|
4
|
+
|
|
5
|
+
const PnFilterCheckbox = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.__attachShadow();
|
|
10
|
+
this.value = undefined;
|
|
11
|
+
this.name = undefined;
|
|
12
|
+
this.checkboxid = undefined;
|
|
13
|
+
this.disabled = false;
|
|
14
|
+
this.checked = false;
|
|
15
|
+
this.indeterminate = false;
|
|
16
|
+
}
|
|
17
|
+
handlechange() {
|
|
18
|
+
this.indeterminate = false;
|
|
19
|
+
}
|
|
20
|
+
componentDidLoad() {
|
|
21
|
+
this.checkAndSetIndeterminateState();
|
|
22
|
+
this.bindEvents();
|
|
23
|
+
}
|
|
24
|
+
componentDidUpdate() {
|
|
25
|
+
this.checkAndSetIndeterminateState();
|
|
26
|
+
}
|
|
27
|
+
bindEvents() {
|
|
28
|
+
const labels = document.querySelectorAll('label[for="' + this.checkboxid + '"]');
|
|
29
|
+
labels.forEach((label) => {
|
|
30
|
+
label.addEventListener('click', () => {
|
|
31
|
+
this.hostElement.shadowRoot.querySelector('label').click();
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
const checkboxInput = this.hostElement.shadowRoot.querySelector('input');
|
|
35
|
+
checkboxInput.addEventListener('change', this.onCheckboxChange.bind(this, checkboxInput));
|
|
36
|
+
}
|
|
37
|
+
onCheckboxChange(checkboxInput) {
|
|
38
|
+
let outsideInput = this.hostElement.querySelector("input.hidden-" + this.checkboxid);
|
|
39
|
+
if (outsideInput) {
|
|
40
|
+
outsideInput.value = (checkboxInput.checked) ? this.value : "";
|
|
41
|
+
outsideInput.dispatchEvent(new CustomEvent("change", { detail: outsideInput }));
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
checkAndSetIndeterminateState() {
|
|
45
|
+
let checkbox = this.hostElement.querySelector(`#${this.checkboxid}`);
|
|
46
|
+
if (checkbox) {
|
|
47
|
+
checkbox.indeterminate = this.indeterminate;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
renderInputOutsideShadowRoot() {
|
|
51
|
+
var _a;
|
|
52
|
+
let input = this.hostElement.querySelector("input.hidden-" + this.checkboxid);
|
|
53
|
+
if (!input) {
|
|
54
|
+
input = this.hostElement.ownerDocument.createElement("input");
|
|
55
|
+
input.type = "hidden";
|
|
56
|
+
input.classList.add("hidden-" + this.checkboxid);
|
|
57
|
+
this.hostElement.appendChild(input);
|
|
58
|
+
}
|
|
59
|
+
input.name = (_a = this.name) !== null && _a !== void 0 ? _a : this.checkboxid;
|
|
60
|
+
}
|
|
61
|
+
render() {
|
|
62
|
+
this.renderInputOutsideShadowRoot();
|
|
63
|
+
return (h(Host, { checked: this.checked, id: this.checkboxid }, h("input", { type: "checkbox", id: this.checkboxid, value: this.value, name: this.name || this.checkboxid, disabled: this.disabled, checked: this.checked }), h("label", { htmlFor: this.checkboxid, class: "pn-checkbox" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none" }, h("polyline", { class: "checkmark-path", points: "4,12 9,17 20,6", "stroke-width": "3" }), h("polyline", { class: "indeterminate-path", points: "4,12 20,12", "stroke-width": "3" })))));
|
|
64
|
+
}
|
|
65
|
+
get hostElement() { return this; }
|
|
66
|
+
static get style() { return pnFilterCheckboxCss; }
|
|
67
|
+
}, [1, "pn-filter-checkbox", {
|
|
68
|
+
"value": [520],
|
|
69
|
+
"name": [1],
|
|
70
|
+
"checkboxid": [1],
|
|
71
|
+
"disabled": [4],
|
|
72
|
+
"checked": [4],
|
|
73
|
+
"indeterminate": [1028]
|
|
74
|
+
}, [[0, "change", "handlechange"]]]);
|
|
75
|
+
function defineCustomElement() {
|
|
76
|
+
if (typeof customElements === "undefined") {
|
|
77
|
+
return;
|
|
78
|
+
}
|
|
79
|
+
const components = ["pn-filter-checkbox"];
|
|
80
|
+
components.forEach(tagName => { switch (tagName) {
|
|
81
|
+
case "pn-filter-checkbox":
|
|
82
|
+
if (!customElements.get(tagName)) {
|
|
83
|
+
customElements.define(tagName, PnFilterCheckbox);
|
|
84
|
+
}
|
|
85
|
+
break;
|
|
86
|
+
} });
|
|
87
|
+
}
|
|
88
|
+
defineCustomElement();
|
|
89
|
+
|
|
90
|
+
export { PnFilterCheckbox as P, defineCustomElement as d };
|
|
@@ -13,7 +13,7 @@ const getSocialMediaIconsByType = (linkType = '', fill = '#005D92') => {
|
|
|
13
13
|
</svg>`;
|
|
14
14
|
case 'twitter':
|
|
15
15
|
return `<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
16
|
-
<circle cx="28" cy="28" r="28" fill="
|
|
16
|
+
<circle cx="28" cy="28" r="28" fill="${fill}"/>
|
|
17
17
|
<path d="M34.8996 17.5H38.5996L30.5996 26.4L39.9996 38.6H32.5996L26.7996 31.2L20.1996 38.6H16.4996L25.0996 29L16.0996 17.5H23.5996L28.7996 24.2L34.8996 17.5ZM33.5996 36.4H35.5996L22.4996 19.5H20.2996L33.5996 36.4Z" fill="white"/>
|
|
18
18
|
</svg>`;
|
|
19
19
|
case 'linkedin':
|
|
@@ -121,7 +121,7 @@ const translations = {
|
|
|
121
121
|
},
|
|
122
122
|
};
|
|
123
123
|
|
|
124
|
-
const pnMarketwebSitefooterCss = "pn-marketweb-sitefooter .social-media a[target=_blank]:not(.pn-button):after{content:none}@media screen and (min-width: 60em){pn-marketweb-sitefooter:not([theme=dotcom]) pn-site-footer-col:has(div[slot=bottomsocialmediadesktop]){display:-ms-flexbox;display:flex;-ms-flex-line-pack:start;align-content:flex-start;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content}pn-marketweb-sitefooter:not([theme=dotcom]) pn-site-footer-col:has(div[slot=bottomsocialmediadesktop]) div[slot=bottomsocialmediadesktop]{display:block;margin-top:auto;margin-bottom:1.6rem}pn-marketweb-sitefooter:not([theme=dotcom]) pn-site-footer-col:has(div[slot=bottomsocialmediadesktop]) div[slot=bottomsocialmediadesktop] .trustpilot-widget{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start}}pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile]{display:block;margin-top:1rem;margin-bottom:2.3rem}pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile] .trustpilot-widget{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}@media screen and (min-width: 33.125em){pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile] .trustpilot-widget{-ms-flex-pack:start;justify-content:flex-start}}@media screen and (min-width: 60em){pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile]{display:none}}div[slot=middle-extra-mobile],div[slot=middle-extra]{display:none}pn-marketweb-sitefooter[theme=dotcom]{width:100%}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottomsocialmediamobile],pn-marketweb-sitefooter[theme=dotcom] div[slot=bottomsocialmediadesktop]{display:none}pn-marketweb-sitefooter[theme=dotcom] div[slot=middle-extra-mobile]{display:block;width:100%;text-align:-webkit-center;margin:2.4rem 0}@media screen and (min-width: 1024px){pn-marketweb-sitefooter[theme=dotcom] div[slot=middle-extra-mobile]{display:none}pn-marketweb-sitefooter[theme=dotcom] div[slot=middle-extra]{display:block;width:100%;text-align:-webkit-center;margin:3.2rem 0}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (min-width: 769px){pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan{-ms-flex-direction:row;flex-direction:row}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan ul{margin-bottom:1.6rem}@media screen and (min-width: 768px){pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan ul{margin-bottom:0;margin-right:4.8rem}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%}@media screen and (min-width: 768px){pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper{width:auto;-ms-flex-direction:row;flex-direction:row}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper .separator{border-top:1px solid #d3cecb;margin-bottom:1.6rem}@media screen and (min-width: 768px){pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper .separator{display:-ms-flexbox;display:flex;width:1px;height:auto;min-height:90%;background-color:#d3cecb;margin-right:4.8rem;margin-bottom:0}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper .swan{justify-self:center;-ms-flex-item-align:center;align-self:center}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=darkestblue] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] svg path{fill:#FFFFFF}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom]{background-color:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-top,pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom{background-color:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom]>svg path{fill:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media{border-top:0.1rem solid #D3CECB;border-bottom:0.1rem solid #D3CECB}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media>ul>li:hover svg>circle{fill:#8EDDF9}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] svg path{fill:#FFFFFF}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom]{background-color:#F3F2F2}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom]>svg path{fill:#F3F2F2}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-top,pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom{background-color:#F3F2F2}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media{border-top:0.1rem solid #D3CECB;border-bottom:0.1rem solid #D3CECB}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media li svg circle{fill:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media li svg:hover>circle{fill:#00A0D6}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom>[slot=bottom]>.copyright *{color:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] *{color:#0D234B}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] svg path{fill:#0D234B}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] a:not(h3){color:#005D92}pn-marketweb-sitefooter[theme=tpl] pn-site-footer{background-color:#0D234B;padding-top:6rem}@media screen and (max-width: 33.125em){pn-marketweb-sitefooter[theme=tpl] pn-site-footer{padding-left:2.6rem;padding-right:2.6rem}}pn-marketweb-sitefooter[theme=tpl] pn-site-footer>svg{display:none}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom{background-color:#0D234B;color:#FFFFFF;margin:2.5rem 0}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom div[slot=bottom]{border-top:1px solid #005D92;border-bottom:1px solid #005D92}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom a{color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom a:hover{text-decoration:underline;color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top,pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-logo{background-color:#0D234B;color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top a,pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-logo a{color:#FBC2C1}pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top a:hover,pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-logo a:hover{text-decoration:underline;color:#FBC2C1}@media screen and (max-width: 60em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{padding:0 8rem}}@media screen and (max-width: 60em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{padding:0 5rem}}@media screen and (max-width: 48em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{padding:0 3rem}}@media screen and (min-width: 33.125em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{width:114rem;-ms-flex-pack:justify;justify-content:space-between}}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-logo a svg path{fill:#00A0D6}@media screen and (min-width: 33.125em){pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col{width:unset;min-width:unset}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col:first-child{min-width:45%}}@media screen and (max-width: 60em){pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col:first-child{min-width:100%;padding-top:0}}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a{display:-ms-inline-flexbox;display:inline-flex;gap:0.7rem;-ms-flex-align:start;align-items:flex-start}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a h3{color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a span.footer-tpl-links{display:none}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a:hover{text-decoration:underline;color:#FBC2C1}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a pn-icon svg{background-color:#FBC2C1;border-radius:0.3rem;height:1.7rem;width:1.7rem;margin-top:0.3rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a pn-icon svg path{fill:#0D234B}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col h3{margin-bottom:3.5rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media{-ms-flex-direction:column;flex-direction:column;gap:0.5rem;row-gap:0rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media li{max-height:4rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a{-ms-flex-align:center;align-items:center;gap:0}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a circle{display:none}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a span.footer-tpl-links{display:block}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a svg{height:3.7rem;width:3.7rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a svg path{fill:#FBC2C1}";
|
|
124
|
+
const pnMarketwebSitefooterCss = "pn-marketweb-sitefooter .social-media a[target=_blank]:not(.pn-button):after{content:none}@media screen and (min-width: 60em){pn-marketweb-sitefooter:not([theme=dotcom]) pn-site-footer-col:has(div[slot=bottomsocialmediadesktop]){display:-ms-flexbox;display:flex;-ms-flex-line-pack:start;align-content:flex-start;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;min-width:-webkit-min-content;min-width:-moz-min-content;min-width:min-content}pn-marketweb-sitefooter:not([theme=dotcom]) pn-site-footer-col:has(div[slot=bottomsocialmediadesktop]) div[slot=bottomsocialmediadesktop]{display:block;margin-top:auto;margin-bottom:1.6rem}pn-marketweb-sitefooter:not([theme=dotcom]) pn-site-footer-col:has(div[slot=bottomsocialmediadesktop]) div[slot=bottomsocialmediadesktop] .trustpilot-widget{display:-ms-flexbox;display:flex;-ms-flex-pack:start;justify-content:flex-start}}pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile]{display:block;margin-top:1rem;margin-bottom:2.3rem}pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile] .trustpilot-widget{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}@media screen and (min-width: 33.125em){pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile] .trustpilot-widget{-ms-flex-pack:start;justify-content:flex-start}}@media screen and (min-width: 60em){pn-marketweb-sitefooter:not([theme=dotcom]) [slot=bottomsocialmediamobile]{display:none}}div[slot=middle-extra-mobile],div[slot=middle-extra]{display:none}pn-marketweb-sitefooter[theme=dotcom]{width:100%}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottomsocialmediamobile],pn-marketweb-sitefooter[theme=dotcom] div[slot=bottomsocialmediadesktop]{display:none}pn-marketweb-sitefooter[theme=dotcom] div[slot=middle-extra-mobile]{display:block;width:100%;text-align:-webkit-center;margin:2.4rem 0}@media screen and (min-width: 1024px){pn-marketweb-sitefooter[theme=dotcom] div[slot=middle-extra-mobile]{display:none}pn-marketweb-sitefooter[theme=dotcom] div[slot=middle-extra]{display:block;width:100%;text-align:-webkit-center;margin:3.2rem 0}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}@media screen and (min-width: 769px){pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan{-ms-flex-direction:row;flex-direction:row}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan ul{margin-bottom:1.6rem}@media screen and (min-width: 768px){pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan ul{margin-bottom:0;margin-right:4.8rem}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;width:100%}@media screen and (min-width: 768px){pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper{width:auto;-ms-flex-direction:row;flex-direction:row}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper .separator{border-top:1px solid #d3cecb;margin-bottom:1.6rem}@media screen and (min-width: 768px){pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper .separator{display:-ms-flexbox;display:flex;width:1px;height:auto;min-height:90%;background-color:#d3cecb;margin-right:4.8rem;margin-bottom:0}}pn-marketweb-sitefooter[theme=dotcom] div[slot=bottom] .social-media.social-media--swan .swan-wrapper .swan{justify-self:center;-ms-flex-item-align:center;align-self:center}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=bluedarkest] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] svg path{fill:#FFFFFF}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=bluedarkest] pn-site-footer[theme=dotcom] pn-swan *{color:white}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom]{background-color:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-top,pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom{background-color:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom]>svg path{fill:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media{border-top:0.1rem solid #D3CECB;border-bottom:0.1rem solid #D3CECB}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media>ul>li:hover svg>circle{fill:#8EDDF9}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] svg path{fill:#FFFFFF}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=blue] pn-site-footer[theme=dotcom] pn-swan *{color:white}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom]{background-color:#F3F2F2}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom]>svg path{fill:#F3F2F2}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-top,pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom{background-color:#F3F2F2}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media{border-top:0.1rem solid #D3CECB;border-bottom:0.1rem solid #D3CECB}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media li svg circle{fill:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom .social-media li svg:hover>circle{fill:#00A0D6}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] .pn-sitefooter-bottom>[slot=bottom]>.copyright *{color:#005D92}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] *{color:#0D234B}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] svg path{fill:#0D234B}pn-marketweb-sitefooter[theme=dotcom][backgroundcolor=gray] pn-site-footer[theme=dotcom] pn-site-footer-col[theme=dotcom] a:not(h3){color:#005D92}pn-marketweb-sitefooter[theme=tpl] pn-site-footer{background-color:#0D234B;padding-top:6rem}@media screen and (max-width: 33.125em){pn-marketweb-sitefooter[theme=tpl] pn-site-footer{padding-left:2.6rem;padding-right:2.6rem}}pn-marketweb-sitefooter[theme=tpl] pn-site-footer>svg{display:none}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom{background-color:#0D234B;color:#FFFFFF;margin:2.5rem 0}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom div[slot=bottom]{border-top:1px solid #005D92;border-bottom:1px solid #005D92}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom a{color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-bottom a:hover{text-decoration:underline;color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top,pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-logo{background-color:#0D234B;color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top a,pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-logo a{color:#FBC2C1}pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top a:hover,pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-logo a:hover{text-decoration:underline;color:#FBC2C1}@media screen and (max-width: 60em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{padding:0 8rem}}@media screen and (max-width: 60em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{padding:0 5rem}}@media screen and (max-width: 48em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{padding:0 3rem}}@media screen and (min-width: 33.125em){pn-marketweb-sitefooter[theme=tpl] .pn-sitefooter-top .pn-sitefooter-cols{width:114rem;-ms-flex-pack:justify;justify-content:space-between}}pn-marketweb-sitefooter[theme=tpl] div.pn-sitefooter-logo a svg path{fill:#00A0D6}@media screen and (min-width: 33.125em){pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col{width:unset;min-width:unset}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col:first-child{min-width:45%}}@media screen and (max-width: 60em){pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col:first-child{min-width:100%;padding-top:0}}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a{display:-ms-inline-flexbox;display:inline-flex;gap:0.7rem;-ms-flex-align:start;align-items:flex-start}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a h3{color:#FFFFFF}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a span.footer-tpl-links{display:none}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a:hover{text-decoration:underline;color:#FBC2C1}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a pn-icon svg{background-color:#FBC2C1;border-radius:0.3rem;height:1.7rem;width:1.7rem;margin-top:0.3rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col a pn-icon svg path{fill:#0D234B}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col h3{margin-bottom:3.5rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media{-ms-flex-direction:column;flex-direction:column;gap:0.5rem;row-gap:0rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media li{max-height:4rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a{-ms-flex-align:center;align-items:center;gap:0}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a circle{display:none}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a span.footer-tpl-links{display:block}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a svg{height:3.7rem;width:3.7rem}pn-marketweb-sitefooter[theme=tpl] div pn-site-footer-col ul.social-media a svg path{fill:#FBC2C1}";
|
|
125
125
|
|
|
126
126
|
const PnMarketwebSiteheader = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
127
127
|
constructor() {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface PnMultiRowConnectedDropdownRow extends Components.PnMultiRowConnectedDropdownRow, HTMLElement {}
|
|
4
|
+
export const PnMultiRowConnectedDropdownRow: {
|
|
5
|
+
prototype: PnMultiRowConnectedDropdownRow;
|
|
6
|
+
new (): PnMultiRowConnectedDropdownRow;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { P as PnMultiRowConnectedDropdownRow$1, d as defineCustomElement$1 } from './pn-multi-row-connected-dropdown-row2.js';
|
|
2
|
+
|
|
3
|
+
const PnMultiRowConnectedDropdownRow = PnMultiRowConnectedDropdownRow$1;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { PnMultiRowConnectedDropdownRow, defineCustomElement };
|