@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.
Files changed (62) hide show
  1. package/cjs/index-4199ff85.js +16 -8
  2. package/cjs/loader.cjs.js +1 -1
  3. package/cjs/pn-market-web-components.cjs.js +1 -1
  4. package/cjs/pn-marketweb-sitefooter.cjs.entry.js +2 -2
  5. package/cjs/pn-multi-row-connected-dropdown-row.cjs.entry.js +372 -0
  6. package/cjs/pn-multi-row-connected-dropdown.cjs.entry.js +205 -0
  7. package/cjs/pn-site-footer_3.cjs.entry.js +1 -1
  8. package/collection/collection-manifest.json +2 -0
  9. package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row.css +90 -0
  10. package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row.js +836 -0
  11. package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.css +16 -0
  12. package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.js +631 -0
  13. package/collection/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.stories.js +62 -0
  14. package/collection/components/input/pn-multi-row-connected-dropdown/types.js +1 -0
  15. package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.css +7 -1
  16. package/collection/components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.stories.js +14 -2
  17. package/collection/components/layout-components/pn-marketweb-sitefooter/socialMediaIcons.js +1 -1
  18. package/collection/components/navigation/pn-site-footer/pn-site-footer-col.css +2 -0
  19. package/components/index.d.ts +2 -0
  20. package/components/index.js +2 -0
  21. package/components/pn-filter-checkbox.js +1 -88
  22. package/components/pn-filter-checkbox2.js +90 -0
  23. package/components/pn-marketweb-sitefooter.js +2 -2
  24. package/components/pn-multi-row-connected-dropdown-row.d.ts +11 -0
  25. package/components/pn-multi-row-connected-dropdown-row.js +6 -0
  26. package/components/pn-multi-row-connected-dropdown-row2.js +434 -0
  27. package/components/pn-multi-row-connected-dropdown.d.ts +11 -0
  28. package/components/pn-multi-row-connected-dropdown.js +262 -0
  29. package/components/pn-site-footer-col2.js +1 -1
  30. package/esm/index-ee44c065.js +16 -8
  31. package/esm/loader.js +1 -1
  32. package/esm/pn-market-web-components.js +1 -1
  33. package/esm/pn-marketweb-sitefooter.entry.js +2 -2
  34. package/esm/pn-multi-row-connected-dropdown-row.entry.js +368 -0
  35. package/esm/pn-multi-row-connected-dropdown.entry.js +201 -0
  36. package/esm/pn-site-footer_3.entry.js +1 -1
  37. package/esm-es5/index-ee44c065.js +1 -1
  38. package/esm-es5/loader.js +1 -1
  39. package/esm-es5/pn-market-web-components.js +1 -1
  40. package/esm-es5/pn-marketweb-sitefooter.entry.js +1 -1
  41. package/esm-es5/pn-multi-row-connected-dropdown-row.entry.js +1 -0
  42. package/esm-es5/pn-multi-row-connected-dropdown.entry.js +1 -0
  43. package/esm-es5/pn-site-footer_3.entry.js +1 -1
  44. package/package.json +1 -1
  45. package/pn-market-web-components/p-1024c80b.entry.js +1 -0
  46. package/pn-market-web-components/p-31b84367.system.entry.js +1 -0
  47. package/pn-market-web-components/p-4b510969.entry.js +1 -0
  48. package/pn-market-web-components/p-5d2a19e3.entry.js +1 -0
  49. package/pn-market-web-components/p-743b1d06.system.entry.js +1 -0
  50. package/pn-market-web-components/p-7e81b501.system.entry.js +1 -0
  51. package/pn-market-web-components/p-83c85053.system.entry.js +1 -0
  52. package/pn-market-web-components/p-b4416838.entry.js +1 -0
  53. package/pn-market-web-components/p-fcdb7381.system.js +1 -1
  54. package/pn-market-web-components/pn-market-web-components.esm.js +1 -1
  55. package/types/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row.d.ts +93 -0
  56. package/types/components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.d.ts +45 -0
  57. package/types/components/input/pn-multi-row-connected-dropdown/types.d.ts +32 -0
  58. package/types/components.d.ts +124 -0
  59. package/pn-market-web-components/p-4b0ccb02.system.entry.js +0 -1
  60. package/pn-market-web-components/p-7a4a7a83.system.entry.js +0 -1
  61. package/pn-market-web-components/p-f8a13e03.entry.js +0 -1
  62. package/pn-market-web-components/p-ffae5f6b.entry.js +0 -1
@@ -0,0 +1,372 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-4199ff85.js');
6
+ const index$1 = require('./index-e4882728.js');
7
+ const v4 = require('./v4-45e08b63.js');
8
+
9
+ const pnMultiRowConnectedDropdownRowCss = "pn-multi-row-connected-dropdown-row{gap:1rem}pn-multi-row-connected-dropdown-row .connected-dropdown-parent-element{margin-bottom:0.5rem}pn-multi-row-connected-dropdown-row pn-select{width:35%}pn-multi-row-connected-dropdown-row pn-marketweb-input{width:10%}pn-multi-row-connected-dropdown-row pn-marketweb-input input{height:4.3rem}pn-multi-row-connected-dropdown-row .connected-dropdown{padding:1rem;border-left:0.2rem solid #005D92}pn-multi-row-connected-dropdown-row .connected-dropdown:hover{background-color:#F9F8F8}pn-multi-row-connected-dropdown-row .connected-dropdown__toggle-date-button{width:20%;margin-bottom:0.5rem}pn-multi-row-connected-dropdown-row .connected-dropdown__row{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;gap:1rem;margin-bottom:1rem;-ms-flex-pack:justify;justify-content:space-between}pn-multi-row-connected-dropdown-row .connected-dropdown__row__no-margin{margin:0}pn-multi-row-connected-dropdown-row .connected-dropdown__multi-date-row{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;gap:1rem;margin-bottom:1rem}pn-multi-row-connected-dropdown-row .connected-dropdown__button-container{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;gap:1rem}pn-multi-row-connected-dropdown-row .connected-dropdown__button{background-color:#ffffff;border:solid;border-width:0.1rem;border-radius:0.8rem;border-color:#005D92;padding:0.4rem 0.8rem;color:#005D92;font-size:1.4rem;text-align:center;text-decoration:none;cursor:pointer}pn-multi-row-connected-dropdown-row .connected-dropdown__button:hover,pn-multi-row-connected-dropdown-row .connected-dropdown__button.active{background-color:#0D234B;border-color:#0D234B;color:#ffffff}pn-multi-row-connected-dropdown-row .connected-dropdown__buttom-container-right{display:-ms-flexbox;display:flex}pn-multi-row-connected-dropdown-row .connected-dropdown__button-right{margin-left:auto}pn-multi-row-connected-dropdown-row .connected-dropdown__label-container{margin-bottom:0.4rem;color:#5E554A;font-size:0.875em;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:end;align-items:flex-end}pn-multi-row-connected-dropdown-row .connected-dropdown__checkbox{display:-ms-flexbox;display:flex;gap:0.5rem}pn-multi-row-connected-dropdown-row .connected-dropdown__date-slot{border:0.1rem solid #005D92;margin-bottom:1rem;padding:1rem}pn-multi-row-connected-dropdown-row .generated-date-row{border-bottom:0.1rem solid #005D92}";
10
+
11
+ const PnMultiRowConnectedDropdownRow = class {
12
+ constructor(hostRef) {
13
+ index.registerInstance(this, hostRef);
14
+ this.rowValueChange = index.createEvent(this, "rowValueChange", 7);
15
+ this.deleteRowEvent = index.createEvent(this, "deleteRowEvent", 7);
16
+ this.pnConnectedDropdown = null;
17
+ this.pnConnectedDropdownSlotElement = null;
18
+ this.pnAddFieldButton = null;
19
+ this.pnFirstDropdown = null;
20
+ this.pnSecondDropdown = null;
21
+ this.pnInputField = null;
22
+ this.pnSingleDatePicker = null;
23
+ this.pnStartDate = null;
24
+ this.pnEndDate = null;
25
+ this.pnShowDateRangeFiledButton = null;
26
+ this.pnDateRangeContainer = null;
27
+ this.pnGenerateDatesButton = null;
28
+ this.pnDaysRow = null;
29
+ this.pnGeneratedDatesSlot = null;
30
+ this.pnSaveGeneratedDatesButton = null;
31
+ this.pnDeleteRowButton = null;
32
+ this.dropdownData = null;
33
+ this.languageCode = null;
34
+ this.label = null;
35
+ this.firstDropdownLabel = null;
36
+ this.secondDropdownLabel = null;
37
+ this.dropdownPlaceholder = null;
38
+ this.addRowText = null;
39
+ this.inputFildLabel = null;
40
+ this.inputFildPlaceholder = null;
41
+ this.dateButtonText = null;
42
+ this.datePlaceholder = null;
43
+ this.dateDaysFromToday = 1;
44
+ this.allowMultipleDates = null;
45
+ this.startDateLabel = null;
46
+ this.endDateLabel = null;
47
+ this.multiDateHelperText = null;
48
+ this.generateDatesButtonText = null;
49
+ this.saveDateButtonText = null;
50
+ this.noDatesText = null;
51
+ this.index = null;
52
+ this.predefinedValue = null;
53
+ this.yearsToAddToEndDate = null;
54
+ this.buttonsArray = null;
55
+ this.firstDropdownArr = null;
56
+ this.secondDropdownArr = [];
57
+ this.firstDropdownClass = null;
58
+ this.secondDropdownClass = null;
59
+ this.firstValidDateString = '';
60
+ this.lastValidDateString = '';
61
+ this.firstDropdownPlaceholder = '-';
62
+ this.secondDropdownPlaceholder = '-';
63
+ this.starDateValue = '';
64
+ this.endDateValue = '';
65
+ this.generatedDatesArr = [];
66
+ this.selectedButtonValue = '';
67
+ this.inputFieldValue = '';
68
+ this.dateValue = '';
69
+ this.daysArr = null;
70
+ }
71
+ componentWillLoad() {
72
+ this.getPredefinedValues();
73
+ this.setDropDownData();
74
+ this.setFirstValidDate();
75
+ }
76
+ componentDidLoad() {
77
+ this.setInitialValues();
78
+ this.addEventHandlers();
79
+ this.emittRowValues();
80
+ }
81
+ setDropDownData() {
82
+ if (typeof this.dropdownData === 'string') {
83
+ this._dropdownData = JSON.parse(this.dropdownData);
84
+ }
85
+ else {
86
+ this._dropdownData = this.dropdownData;
87
+ }
88
+ }
89
+ getPredefinedValues() {
90
+ this._predefinedValue = JSON.parse(this.predefinedValue);
91
+ }
92
+ applyPredefinedValue() {
93
+ this.getPredefinedValues();
94
+ this.setInitialValues();
95
+ }
96
+ setInitialValues() {
97
+ this.setButtonsValue();
98
+ this.setFirstDropdownValues();
99
+ this.setSecondDropdownValues();
100
+ this.setInputField();
101
+ this.setDateValue();
102
+ this.setDateRangeDefaults();
103
+ this.firstDropdownClass = this.firstDropdownLabel.replace(' ', '_') + '-dropdown';
104
+ this.secondDropdownClass = this.secondDropdownLabel.replace(' ', '_') + '-dropdown';
105
+ }
106
+ setButtonsValue() {
107
+ var _a;
108
+ this.buttonsArray = [];
109
+ if ((_a = this._predefinedValue.buttons) === null || _a === void 0 ? void 0 : _a.length) {
110
+ this.buttonsArray = this._predefinedValue.buttons;
111
+ this.buttonsArray.forEach(item => {
112
+ if (item.selected) {
113
+ this.selectedButtonValue = item.value;
114
+ }
115
+ });
116
+ }
117
+ else {
118
+ this._dropdownData.forEach(item => {
119
+ const button = { selected: false, value: item.caption, caption: item.caption };
120
+ this.buttonsArray.push(button);
121
+ });
122
+ }
123
+ }
124
+ setFirstDropdownValues() {
125
+ var _a;
126
+ this.firstDropdownArr = [];
127
+ if ((_a = this._predefinedValue.firstDropdown) === null || _a === void 0 ? void 0 : _a.length) {
128
+ this.firstDropdownArr = [...this._predefinedValue.firstDropdown];
129
+ }
130
+ }
131
+ setSecondDropdownValues() {
132
+ var _a;
133
+ this.secondDropdownArr = [];
134
+ if ((_a = this._predefinedValue.secondDropdown) === null || _a === void 0 ? void 0 : _a.length) {
135
+ this.secondDropdownArr = [...this._predefinedValue.secondDropdown];
136
+ }
137
+ }
138
+ setInputField() {
139
+ var _a;
140
+ this.inputFieldValue = ((_a = this._predefinedValue.input) === null || _a === void 0 ? void 0 : _a.length) ? this._predefinedValue.input : '';
141
+ }
142
+ setDateValue() {
143
+ var _a, _b, _c;
144
+ if (this.allowMultipleDates) {
145
+ this.pnDateRangeContainer.style.display = ((_a = this._predefinedValue.dates) === null || _a === void 0 ? void 0 : _a.length) ? '' : 'none';
146
+ this.generatedDatesArr = ((_b = this._predefinedValue.dates) === null || _b === void 0 ? void 0 : _b.length) ? this._predefinedValue.dates.split(',') : [];
147
+ this.saveGeneratedDates();
148
+ }
149
+ else {
150
+ this.dateValue = ((_c = this._predefinedValue.dates) === null || _c === void 0 ? void 0 : _c.length) ? this._predefinedValue.dates : '';
151
+ }
152
+ }
153
+ setDateRangeDefaults() {
154
+ var _a, _b;
155
+ this.daysArr = this._predefinedValue.dateRange.days;
156
+ this.starDateValue = ((_a = this._predefinedValue.dateRange.startDate) === null || _a === void 0 ? void 0 : _a.length) ? this._predefinedValue.dateRange.startDate : '';
157
+ this.endDateValue = ((_b = this._predefinedValue.dateRange.endDate) === null || _b === void 0 ? void 0 : _b.length) ? this._predefinedValue.dateRange.endDate : '';
158
+ }
159
+ setFirstValidDate() {
160
+ var _a;
161
+ const yearsToadd = this.yearsToAddToEndDate ? this.yearsToAddToEndDate : 2;
162
+ const date = new Date();
163
+ date.setDate((_a = date.getDate() + this.dateDaysFromToday) !== null && _a !== void 0 ? _a : 0);
164
+ const year = date.getFullYear();
165
+ const month = (date.getMonth() + 1).toString().padStart(2, '0');
166
+ const day = date.getDate().toString().padStart(2, '0');
167
+ const endYear = year + yearsToadd;
168
+ this.firstValidDateString = `${year.toString()}-${month}-${day}`;
169
+ this.lastValidDateString = `${endYear.toString()}-${month}-${day}`;
170
+ }
171
+ addEventHandlers() {
172
+ const emmitValues = index$1.debounce_1.debounce(this.emittRowValues.bind(this), 500);
173
+ this.pnInputField.addEventListener('keyup', this.handleInput.bind(this));
174
+ this.pnInputField.addEventListener('change', this.handleInput.bind(this));
175
+ this.pnInputField.addEventListener('keyup', emmitValues);
176
+ this.pnInputField.addEventListener('change', emmitValues);
177
+ if (this.allowMultipleDates) {
178
+ this.pnShowDateRangeFiledButton.addEventListener('click', this.showDateRangeRow.bind(this));
179
+ this.pnStartDate.addEventListener('dateselection', this.HandleRangeDatePickers.bind(this));
180
+ this.pnEndDate.addEventListener('dateselection', this.HandleRangeDatePickers.bind(this));
181
+ this.pnGenerateDatesButton.addEventListener('click', this.generateDates.bind(this));
182
+ this.pnSaveGeneratedDatesButton.addEventListener('click', this.saveGeneratedDates.bind(this));
183
+ this.pnSaveGeneratedDatesButton.addEventListener('click', emmitValues);
184
+ }
185
+ else {
186
+ this.pnSingleDatePicker.addEventListener('dateselection', this.setSingleDateValue.bind(this));
187
+ this.pnSingleDatePicker.addEventListener('dateselection', emmitValues);
188
+ }
189
+ if (this.index > 0) {
190
+ this.pnDeleteRowButton.addEventListener('click', this.deleteRow.bind(this));
191
+ }
192
+ }
193
+ generateUniqueId() {
194
+ return v4.v4();
195
+ }
196
+ updateSelectItemArr(arr, val) {
197
+ arr.forEach(item => {
198
+ if (item.value === val) {
199
+ item.selected = !item.selected;
200
+ }
201
+ else {
202
+ item.selected = false;
203
+ }
204
+ });
205
+ return arr;
206
+ }
207
+ handleOptionButtonClick(e) {
208
+ var _a;
209
+ e.preventDefault();
210
+ const elmValue = e.target.innerHTML;
211
+ this.buttonsArray = [...this.updateSelectItemArr(this.buttonsArray, elmValue)];
212
+ this.selectedButtonValue = this.buttonsArray.filter(e => e.selected === true).length > 0 ? elmValue : '';
213
+ if ((_a = this.selectedButtonValue) === null || _a === void 0 ? void 0 : _a.length) {
214
+ this.firstDropdownArr = [];
215
+ const selectionChildren = this._dropdownData.find(arr => arr.caption === elmValue);
216
+ selectionChildren.values.forEach(item => {
217
+ this.firstDropdownArr.push({ selected: false, value: item.caption, caption: item.caption });
218
+ });
219
+ this.firstDropdownArr = [...this.firstDropdownArr];
220
+ this.firstDropdownPlaceholder = this.dropdownPlaceholder;
221
+ const firstDropdownText = this.pnFirstDropdown.querySelector('.current-selection .pn-option-content');
222
+ firstDropdownText.innerHTML = this.dropdownPlaceholder;
223
+ this.secondDropdownArr = [];
224
+ this.secondDropdownPlaceholder = '-';
225
+ const secondDropdownText = this.pnSecondDropdown.querySelector('.current-selection .pn-option-content');
226
+ secondDropdownText.innerHTML = this.secondDropdownPlaceholder;
227
+ }
228
+ else {
229
+ this.firstDropdownArr = [];
230
+ this.firstDropdownPlaceholder = '-';
231
+ const firstDropdownText = this.pnFirstDropdown.querySelector('.current-selection .pn-option-content');
232
+ firstDropdownText.innerHTML = this.firstDropdownPlaceholder;
233
+ this.secondDropdownArr = [];
234
+ this.secondDropdownPlaceholder = '-';
235
+ const secondDropdownText = this.pnSecondDropdown.querySelector('.current-selection .pn-option-content');
236
+ secondDropdownText.innerHTML = this.secondDropdownPlaceholder;
237
+ }
238
+ this.emittRowValues();
239
+ }
240
+ handleFirstDropdownChange() {
241
+ const selected = this.pnFirstDropdown.querySelector('.current-selection .pn-option-content');
242
+ const selectedValue = selected === null || selected === void 0 ? void 0 : selected.textContent;
243
+ this.firstDropdownArr = [...this.updateSelectItemArr(this.firstDropdownArr, selectedValue)];
244
+ this.secondDropdownArr = [];
245
+ const selectedButton = this.buttonsArray.findIndex(item => item.selected === true);
246
+ const firstChildren = this._dropdownData.find(arr => arr.caption === this.buttonsArray[selectedButton].value);
247
+ const secondChildren = firstChildren.values.find(arr => arr.caption === selectedValue);
248
+ secondChildren.values.forEach(item => {
249
+ this.secondDropdownArr.push({ selected: false, value: item.caption, caption: item.caption });
250
+ });
251
+ this.secondDropdownPlaceholder = this.dropdownPlaceholder;
252
+ const secondDropdownText = this.pnSecondDropdown.querySelector('.current-selection .pn-option-content');
253
+ secondDropdownText.innerHTML = this.secondDropdownPlaceholder;
254
+ this.emittRowValues();
255
+ }
256
+ handleSecondDropdownChange() {
257
+ const selected = this.pnSecondDropdown.querySelector('.current-selection .pn-option-content');
258
+ const selectedValue = selected === null || selected === void 0 ? void 0 : selected.textContent;
259
+ this.secondDropdownArr = [...this.updateSelectItemArr(this.secondDropdownArr, selectedValue)];
260
+ this.emittRowValues();
261
+ }
262
+ handleInput(e) {
263
+ const elm = e.target;
264
+ if (elm.value !== '0') {
265
+ this.inputFieldValue = elm.value;
266
+ }
267
+ }
268
+ showDateRangeRow() {
269
+ if (this.pnDateRangeContainer.style.display === 'none') {
270
+ this.pnDateRangeContainer.style.display = '';
271
+ }
272
+ else {
273
+ this.pnDateRangeContainer.style.display = 'none';
274
+ }
275
+ }
276
+ HandleRangeDatePickers(e) {
277
+ const elm = e.target;
278
+ if (elm === this.pnStartDate) {
279
+ this.starDateValue = e.detail;
280
+ }
281
+ if (elm === this.pnEndDate) {
282
+ this.endDateValue = e.detail;
283
+ }
284
+ }
285
+ generateDates(e) {
286
+ var _a;
287
+ e.preventDefault();
288
+ const allCheckboxes = this.pnDaysRow.querySelectorAll('pn-filter-checkbox');
289
+ const selectedDays = [];
290
+ this.generatedDatesArr = [];
291
+ allCheckboxes.forEach(element => {
292
+ const input = element.querySelector('input');
293
+ if (input.value) {
294
+ selectedDays.push(input.value);
295
+ }
296
+ });
297
+ if (selectedDays.length && this.starDateValue && this.endDateValue) {
298
+ this.daysArr.forEach(item => {
299
+ if (selectedDays.some(x => x === item.value)) {
300
+ item.selected = true;
301
+ }
302
+ else {
303
+ item.selected = false;
304
+ }
305
+ });
306
+ const startDate = new Date(Date.parse(this.starDateValue));
307
+ const endDate = new Date(Date.parse(this.endDateValue));
308
+ for (var d = startDate; d <= endDate; d.setDate(d.getDate() + 1)) {
309
+ const i = this.daysArr.findIndex(item => parseInt(item.value) === d.getDay());
310
+ if ((_a = this.daysArr[i]) === null || _a === void 0 ? void 0 : _a.selected) {
311
+ const year = d.getFullYear();
312
+ const month = (d.getMonth() + 1).toString().padStart(2, '0');
313
+ const day = d.getDate().toString().padStart(2, '0');
314
+ this.generatedDatesArr.push(`${year}-${month}-${day}`);
315
+ }
316
+ }
317
+ }
318
+ }
319
+ deleteGeneratedDateRow(index) {
320
+ this.generatedDatesArr.splice(index, 1);
321
+ this.generatedDatesArr = [...this.generatedDatesArr];
322
+ }
323
+ saveGeneratedDates() {
324
+ var _a;
325
+ if ((_a = this.generatedDatesArr) === null || _a === void 0 ? void 0 : _a.length) {
326
+ this.dateValue = String(this.generatedDatesArr);
327
+ const dateCount = this.generatedDatesArr.length;
328
+ const buttonTextElm = this.pnShowDateRangeFiledButton.querySelector('.pn-button-content');
329
+ buttonTextElm.innerHTML = dateCount > 0 ? `${this.dateButtonText} (${dateCount})` : this.dateButtonText;
330
+ this.showDateRangeRow();
331
+ }
332
+ }
333
+ setSingleDateValue(e) {
334
+ const elm = e.target;
335
+ if (elm === this.pnSingleDatePicker) {
336
+ this.dateValue = e.detail;
337
+ }
338
+ }
339
+ emittRowValues() {
340
+ this.rowValueChange.emit({
341
+ id: this._predefinedValue.id,
342
+ buttons: this.buttonsArray,
343
+ firstDropdown: this.firstDropdownArr,
344
+ secondDropdown: this.secondDropdownArr,
345
+ input: this.inputFieldValue,
346
+ dates: this.dateValue,
347
+ dateRange: {
348
+ days: this.daysArr,
349
+ startDate: this.starDateValue,
350
+ endDate: this.endDateValue,
351
+ },
352
+ });
353
+ }
354
+ deleteRow() {
355
+ this.deleteRowEvent.emit(this._predefinedValue.id);
356
+ }
357
+ setActive(active) {
358
+ return active ? 'connected-dropdown__button active' : 'connected-dropdown__button';
359
+ }
360
+ render() {
361
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
362
+ return (index.h(index.Host, null, index.h("div", { ref: el => (this.pnConnectedDropdownSlotElement = el), class: "connected-dropdown-slot-element" }, index.h("div", { class: "connected-dropdown-parent-element connected-dropdown" }, index.h("div", { class: "connected-dropdown__row__no-margin" }, index.h("label", null, this.label)), index.h("div", { class: "connected-dropdown__row button-row" }, index.h("div", { class: "connected-dropdown__button-container option-buttons" }, (_a = this.buttonsArray) === null || _a === void 0 ? void 0 : _a.map(item => (index.h("button", { class: `${this.setActive(item.selected)}`, id: this.generateUniqueId(), onClick: this.handleOptionButtonClick.bind(this) }, item.value)))), index.h("div", { class: "connected-dropdown__button-container delete-button" }, this.index > 0 ? (index.h("pn-button", { ref: el => (this.pnDeleteRowButton = el), small: "true", "icon-only": "true", icon: "minus", appearance: "warning", index: this.index }, "Delete")) : null)), index.h("div", { class: "connected-dropdown__row input-row" }, index.h("pn-select", { ref: el => (this.pnFirstDropdown = el), class: "pn-row-select-dropdown dropDown1-dropdown", placeholder: this.firstDropdownPlaceholder, label: this.firstDropdownLabel }, (_b = this.firstDropdownArr) === null || _b === void 0 ? void 0 : _b.map((item, i) => (index.h("pn-option", { index: i, value: item.value, selected: item.selected, onClick: index$1.debounce_1.debounce(this.handleFirstDropdownChange.bind(this), 500) }, item.value)))), index.h("pn-select", { ref: el => (this.pnSecondDropdown = el), class: "pn-row-select-dropdown dropDown2-dropdown", placeholder: this.secondDropdownPlaceholder, label: this.secondDropdownLabel }, (_c = this.secondDropdownArr) === null || _c === void 0 ? void 0 : _c.map((item, i) => (index.h("pn-option", { index: i, value: item.value, selected: item.selected, onClick: index$1.debounce_1.debounce(this.handleSecondDropdownChange.bind(this), 500) }, item.value)))), index.h("pn-marketweb-input", { ref: el => (this.pnInputField = el), type: "number", placeholder: "0", label: this.inputFildLabel, value: this.inputFieldValue, min: "1" }), this.allowMultipleDates ? (index.h("pn-button", { ref: el => (this.pnShowDateRangeFiledButton = el), class: "connected-dropdown__toggle-date-button", small: "true", appearance: "light" }, this.dateButtonText)) : (index.h("div", { class: "connected-dropdown__date-container" }, index.h("div", { class: "connected-dropdown__label-container" }, index.h("label", null, this.dateButtonText)), index.h("pn-date-picker", { ref: el => (this.pnSingleDatePicker = el), range: "false", "disable-weekends": true, "min-date": this.firstValidDateString, language: this.languageCode, placeholder: this.datePlaceholder, class: "connected-dropdown__date-picker", start: ((_d = this.dateValue) === null || _d === void 0 ? void 0 : _d.length) ? this.dateValue : null })))), this.allowMultipleDates ? (index.h("div", { ref: el => (this.pnDateRangeContainer = el), class: "connected-dropdown__date-container", style: { display: 'none' } }, this.multiDateHelperText ? (index.h("div", { class: "connected-dropdown__row" }, index.h("p", null, this.multiDateHelperText))) : null, index.h("div", { class: "connected-dropdown__multi-date-row" }, index.h("div", { class: "connected-dropdown__date-container" }, index.h("div", { class: "connected-dropdown__label-container" }, index.h("label", null, this.startDateLabel)), index.h("pn-date-picker", { ref: el => (this.pnStartDate = el), range: "false", "disable-weekends": true, class: "connected-dropdown__date-picker", "min-date": this.firstValidDateString, "max-date": this.lastValidDateString, language: this.languageCode, placeholder: this.datePlaceholder, start: ((_e = this.starDateValue) === null || _e === void 0 ? void 0 : _e.length) ? this.starDateValue : null })), index.h("div", { class: "connected-dropdown__date-container" }, index.h("div", { class: "connected-dropdown__label-container" }, index.h("label", null, this.endDateLabel)), index.h("pn-date-picker", { ref: el => (this.pnEndDate = el), range: "false", "disable-weekends": true, class: "connected-dropdown__date-picker", "min-date": this.firstValidDateString, "max-date": this.lastValidDateString, language: this.languageCode, placeholder: this.datePlaceholder, start: ((_f = this.endDateValue) === null || _f === void 0 ? void 0 : _f.length) ? this.endDateValue : null }))), index.h("div", { ref: el => (this.pnDaysRow = el), class: "connected-dropdown__multi-date-row" }, (_g = this.daysArr) === null || _g === void 0 ? void 0 : _g.map((day) => (index.h("div", { class: "connected-dropdown__checkbox" }, index.h("pn-filter-checkbox", { checkboxid: 'day-' + day.value, name: '__' + day.caption, value: day.value, checked: day.selected }), index.h("label", { htmlFor: 'day-' + day.value }, day.caption))))), index.h("div", { class: "connected-dropdown__row" }, index.h("pn-button", { ref: el => (this.pnGenerateDatesButton = el), small: "true" }, this.generateDatesButtonText)), index.h("div", { ref: el => (this.pnGeneratedDatesSlot = el), class: "connected-dropdown__date-slot" }, (_h = this.generatedDatesArr) === null || _h === void 0 ? void 0 :
363
+ _h.map((date, i) => (index.h("div", { class: "connected-dropdown__row generated-date-row" }, index.h("p", null, date), index.h("pn-button", { index: i, small: "true", "icon-only": "true", icon: "minus", appearance: "warning", id: 'delete-date-' + i, onClick: this.deleteGeneratedDateRow.bind(this, i) }, date)))), !((_j = this.generatedDatesArr) === null || _j === void 0 ? void 0 : _j.length) ? index.h("p", null, this.noDatesText) : null), index.h("div", { class: "connected-dropdown__row" }, index.h("pn-button", { ref: el => (this.pnSaveGeneratedDatesButton = el), class: "connected-dropdown__button-right", small: "true" }, this.saveDateButtonText)))) : null))));
364
+ }
365
+ get hostElement() { return index.getElement(this); }
366
+ static get watchers() { return {
367
+ "predefinedValue": ["applyPredefinedValue"]
368
+ }; }
369
+ };
370
+ PnMultiRowConnectedDropdownRow.style = pnMultiRowConnectedDropdownRowCss;
371
+
372
+ exports.pn_multi_row_connected_dropdown_row = PnMultiRowConnectedDropdownRow;
@@ -0,0 +1,205 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-4199ff85.js');
6
+ const v4 = require('./v4-45e08b63.js');
7
+
8
+ const pnMultiRowConnectedDropdownCss = "pn-multi-row-connected-dropdown{gap:1rem}pn-multi-row-connected-dropdown .connected-dropdown__row{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;gap:1rem;margin-bottom:1rem;-ms-flex-pack:justify;justify-content:space-between}pn-multi-row-connected-dropdown .connected-dropdown__row__no-margin{margin:0}pn-multi-row-connected-dropdown .connected-dropdown__button-right{margin-left:auto}";
9
+
10
+ const PnMultiRowConnectedDropdown = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.allFormValues = index.createEvent(this, "allFormValues", 7);
14
+ this._buttonValueName = null;
15
+ this._firstDropdownValueName = null;
16
+ this._secondDropdownValueName = null;
17
+ this._inputValueName = null;
18
+ this._dateValueName = null;
19
+ this._defaultRow = {
20
+ id: this.generateUniqueId(),
21
+ buttons: [],
22
+ firstDropdown: [],
23
+ secondDropdown: [],
24
+ input: '',
25
+ dates: '',
26
+ dateRange: {
27
+ days: [],
28
+ startDate: '',
29
+ endDate: '',
30
+ },
31
+ };
32
+ this.dropdownData = null;
33
+ this.languageCode = null;
34
+ this.label = null;
35
+ this.firstDropdownLabel = null;
36
+ this.secondDropdownLabel = null;
37
+ this.dropdownPlaceholder = null;
38
+ this.addRowText = null;
39
+ this.inputFildLabel = null;
40
+ this.inputFildPlaceholder = null;
41
+ this.dateButtonText = null;
42
+ this.datePlaceholder = null;
43
+ this.dateDaysFromToday = null;
44
+ this.allowMultipleRows = false;
45
+ this.allowMultipleDates = false;
46
+ this.startDateLabel = null;
47
+ this.endDateLabel = null;
48
+ this.multiDateHelperText = null;
49
+ this.generateDatesButtonText = null;
50
+ this.saveDateButtonText = null;
51
+ this.noDatesText = null;
52
+ this.yearsToAddToEndDate = null;
53
+ this.rowCount = null;
54
+ this.rowData = null;
55
+ this.formValues = null;
56
+ }
57
+ componentWillLoad() {
58
+ var _a, _b, _c, _d, _e;
59
+ this.setDaysArr();
60
+ this.formValues = [];
61
+ this.rowData = [this._defaultRow];
62
+ this.rowCount = this.rowData.length;
63
+ this._buttonValueName = ((_a = this.label) === null || _a === void 0 ? void 0 : _a.length) ? this.label : 'value0';
64
+ this._firstDropdownValueName = ((_b = this.firstDropdownLabel) === null || _b === void 0 ? void 0 : _b.length) ? this.firstDropdownLabel : 'value1';
65
+ this._secondDropdownValueName = ((_c = this.secondDropdownLabel) === null || _c === void 0 ? void 0 : _c.length) ? this.secondDropdownLabel : 'value2';
66
+ this._inputValueName = ((_d = this.inputFildLabel) === null || _d === void 0 ? void 0 : _d.length) ? this.inputFildLabel : 'value3';
67
+ this._dateValueName = ((_e = this.dateButtonText) === null || _e === void 0 ? void 0 : _e.length) ? this.dateButtonText : 'value4';
68
+ }
69
+ componentDidLoad() { }
70
+ emittValuesIfValid() {
71
+ this.formValues = [];
72
+ this.rowData.forEach(item => {
73
+ const rowValue = { row: [] };
74
+ const buttonSelection = item.buttons.find(x => x.selected === true);
75
+ if (buttonSelection) {
76
+ const buttonValue = { name: this._buttonValueName, value: buttonSelection.caption };
77
+ rowValue.row.push(buttonValue);
78
+ }
79
+ const firstDropdownSelection = item.firstDropdown.find(x => x.selected === true);
80
+ if (firstDropdownSelection) {
81
+ const firstDropdownValue = { name: this._firstDropdownValueName, value: firstDropdownSelection.caption };
82
+ rowValue.row.push(firstDropdownValue);
83
+ }
84
+ const secondDropdownSelection = item.secondDropdown.find(x => x.selected === true);
85
+ if (secondDropdownSelection) {
86
+ const secondDropdownValue = { name: this._secondDropdownValueName, value: secondDropdownSelection.caption };
87
+ rowValue.row.push(secondDropdownValue);
88
+ }
89
+ const input = item.input;
90
+ if (input === null || input === void 0 ? void 0 : input.length) {
91
+ const inputValue = { name: this._inputValueName, value: input };
92
+ rowValue.row.push(inputValue);
93
+ }
94
+ const dates = item.dates;
95
+ if (dates === null || dates === void 0 ? void 0 : dates.length) {
96
+ const datestValue = { name: this._dateValueName, value: dates };
97
+ rowValue.row.push(datestValue);
98
+ }
99
+ if (rowValue.row.length === 5) {
100
+ this.formValues.push(rowValue);
101
+ }
102
+ });
103
+ if (this.formValues.length === this.rowData.length) {
104
+ const valueJsonString = JSON.stringify(this.formValues);
105
+ this.allFormValues.emit(valueJsonString);
106
+ }
107
+ else {
108
+ this.allFormValues.emit('');
109
+ }
110
+ }
111
+ predefinedValueChange(e) {
112
+ const indexToUpdate = this.rowData.findIndex(data => data.id === e.detail.id);
113
+ const val = e.detail;
114
+ this.rowData[indexToUpdate] = Object.assign(Object.assign({}, this.rowData[indexToUpdate]), { buttons: val.buttons, firstDropdown: val.firstDropdown, secondDropdown: val.secondDropdown, input: val.input, dates: val.dates, dateRange: val.dateRange });
115
+ this.emittValuesIfValid();
116
+ }
117
+ deleteRowEvent(e) {
118
+ const indexToRemove = this.rowData.findIndex(data => data.id === e.detail);
119
+ this.rowData.splice(indexToRemove, 1);
120
+ this.rowData = [...this.rowData];
121
+ this.rowCount = this.rowData.length;
122
+ this.emittValuesIfValid();
123
+ }
124
+ generateUniqueId() {
125
+ return v4.v4();
126
+ }
127
+ addRow() {
128
+ const newRow = this._defaultRow;
129
+ newRow.id = this.generateUniqueId();
130
+ this.rowData = [...this.rowData, newRow];
131
+ this.rowCount = this.rowData.length;
132
+ }
133
+ setDaysArr() {
134
+ const language = this.languageCode.toLowerCase();
135
+ switch (language) {
136
+ case 'en':
137
+ this._defaultRow.dateRange.days = [
138
+ { caption: 'Monday', value: '1', selected: false },
139
+ { caption: 'Tuesday', value: '2', selected: false },
140
+ { caption: 'Wednesday', value: '3', selected: false },
141
+ { caption: 'Thursday', value: '4', selected: false },
142
+ { caption: 'Friday', value: '5', selected: false },
143
+ ];
144
+ break;
145
+ case 'sv':
146
+ this._defaultRow.dateRange.days = [
147
+ { caption: 'Måndag', value: '1', selected: false },
148
+ { caption: 'Tisdag', value: '2', selected: false },
149
+ { caption: 'Onsdag', value: '3', selected: false },
150
+ { caption: 'Torsdag', value: '4', selected: false },
151
+ { caption: 'Fredag', value: '5', selected: false },
152
+ ];
153
+ break;
154
+ case 'da':
155
+ this._defaultRow.dateRange.days = [
156
+ { caption: 'Mandag', value: '1', selected: false },
157
+ { caption: 'Tirsdag', value: '2', selected: false },
158
+ { caption: 'Onsdag', value: '3', selected: false },
159
+ { caption: 'Torsdag', value: '4', selected: false },
160
+ { caption: 'Fredag', value: '5', selected: false },
161
+ ];
162
+ break;
163
+ case 'fi':
164
+ this._defaultRow.dateRange.days = [
165
+ { caption: 'Maanantai', value: '1', selected: false },
166
+ { caption: 'Tiistai', value: '2', selected: false },
167
+ { caption: 'Keskiviikko', value: '3', selected: false },
168
+ { caption: 'Torstai', value: '4', selected: false },
169
+ { caption: 'Perjantai', value: '5', selected: false },
170
+ ];
171
+ break;
172
+ case 'no':
173
+ this._defaultRow.dateRange.days = [
174
+ { caption: 'Mandag', value: '1', selected: false },
175
+ { caption: 'Tirsdag', value: '2', selected: false },
176
+ { caption: 'Onsdag', value: '3', selected: false },
177
+ { caption: 'Torsdag', value: '4', selected: false },
178
+ { caption: 'Fredag', value: '5', selected: false },
179
+ ];
180
+ break;
181
+ default:
182
+ this._defaultRow.dateRange.days = [
183
+ { caption: 'Monday', value: '1', selected: false },
184
+ { caption: 'Tuesday', value: '2', selected: false },
185
+ { caption: 'Wednesday', value: '3', selected: false },
186
+ { caption: 'Thursday', value: '4', selected: false },
187
+ { caption: 'Friday', value: '5', selected: false },
188
+ ];
189
+ break;
190
+ }
191
+ }
192
+ render() {
193
+ var _a;
194
+ return (index.h(index.Host, null, (_a = this.rowData) === null || _a === void 0 ? void 0 :
195
+ _a.map((data, i) => {
196
+ return (index.h("div", { class: 'generated-row-' + i, id: 'generated-row-connected-dropdown-' + i }, index.h("pn-multi-row-connected-dropdown-row", { "dropdown-data": this.dropdownData, "language-code": this.languageCode, label: this.label, "first-dropdown-label": this.firstDropdownLabel, "second-dropdown-label": this.secondDropdownLabel, "dropdown-placeholder": this.dropdownPlaceholder, "add-row-text": this.addRowText, "input-fild-label": this.inputFildLabel, "input-fild-placeholder": this.inputFildPlaceholder, "date-button-text": this.dateButtonText, "date-placeholder": this.datePlaceholder, "date-days-from-today": 1, "allow-multiple-dates": this.allowMultipleDates, "start-date-label": this.startDateLabel, "end-date-label": this.endDateLabel, "multi-date-helper-text": this.multiDateHelperText, "generate-dates-button-text": this.generateDatesButtonText, "save-date-button-text": this.saveDateButtonText, "no-dates-text": this.noDatesText, index: i, "predefined-value": JSON.stringify(data), "years-to-add-to-end-date": this.yearsToAddToEndDate })));
197
+ }), this.allowMultipleRows ? (index.h("div", { class: "connected-dropdown__row" }, index.h("pn-button", { "icon-only": this.addRowText ? false : true, "left-icon": "true", "aria-label": "Add", icon: "plus", appearance: "light", variant: "borderless", class: "connected-dropdown__button-right", onClick: () => {
198
+ this.addRow();
199
+ } }, this.addRowText))) : null));
200
+ }
201
+ get hostElement() { return index.getElement(this); }
202
+ };
203
+ PnMultiRowConnectedDropdown.style = pnMultiRowConnectedDropdownCss;
204
+
205
+ exports.pn_multi_row_connected_dropdown = PnMultiRowConnectedDropdown;
@@ -20,7 +20,7 @@ const PnSiteFooter = class {
20
20
  };
21
21
  PnSiteFooter.style = pnSiteFooterCss;
22
22
 
23
- const pnSiteFooterColCss = "pn-site-footer-col:not([theme=dotcom]){min-width:15em;padding:2.5em 1.5rem 0;width:100%}@media screen and (min-width: 33.125em){pn-site-footer-col:not([theme=dotcom]){width:50%}}@media screen and (min-width: 60em){pn-site-footer-col:not([theme=dotcom]){max-width:25%}}pn-site-footer-col:not([theme=dotcom]) ul{list-style-type:none;padding:0;margin:0}pn-site-footer-col:not([theme=dotcom]) li{margin-bottom:1.6rem}pn-site-footer-col:not([theme=dotcom]) a{text-decoration:none;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}pn-site-footer-col:not([theme=dotcom]) a h3{color:#000000}pn-site-footer-col:not([theme=dotcom]) p{margin-top:0;margin-bottom:1rem}pn-site-footer-col[theme=dotcom]{width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-site-footer-col[theme=dotcom] *{color:#FFFFFF}@media screen and (min-width: 768px){pn-site-footer-col[theme=dotcom]{width:33%;padding-left:0.8rem;padding-right:0.8rem}pn-site-footer-col[theme=dotcom]:nth-child(1),pn-site-footer-col[theme=dotcom]:nth-child(4){padding-left:0}pn-site-footer-col[theme=dotcom]:nth-child(3),pn-site-footer-col[theme=dotcom]:nth-child(5){padding-right:0}}@media screen and (min-width: 1024px){pn-site-footer-col[theme=dotcom]{width:20%;padding-left:1.6rem;padding-right:1.6rem}pn-site-footer-col[theme=dotcom]:nth-child(1){width:20%;padding-left:0}pn-site-footer-col[theme=dotcom]:nth-child(4){padding-left:1.6rem}pn-site-footer-col[theme=dotcom]:nth-child(3){padding-right:1.6rem}pn-site-footer-col[theme=dotcom]:nth-child(5){padding-right:0}}pn-site-footer-col[theme=dotcom] h3{margin-bottom:1rem;font-weight:700;font-size:2rem;line-height:2.2rem}@media screen and (min-width: 1200px){pn-site-footer-col[theme=dotcom] h3{font-size:2.4rem;line-height:2.64rem}}pn-site-footer-col[theme=dotcom] ul{list-style-type:none;padding:0;margin:0;margin-bottom:1.4rem}pn-site-footer-col[theme=dotcom] ul li{margin-bottom:1rem}pn-site-footer-col[theme=dotcom] a{text-decoration:none;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font-weight:400;font-size:1.6rem;line-height:2.24rem}pn-site-footer-col[theme=dotcom] a h3{color:#FFFFFF}pn-site-footer-col[theme=dotcom] p{margin-top:0;margin-bottom:1rem}pn-site-footer-col[theme=dotcom] div{min-height:150px;margin-bottom:1.4rem}pn-site-footer-col[theme=dotcom] div p:nth-child(odd){font-weight:500}";
23
+ const pnSiteFooterColCss = "pn-site-footer-col:not([theme=dotcom]){min-width:15em;padding:2.5em 1.5rem 0;width:100%}@media screen and (min-width: 33.125em){pn-site-footer-col:not([theme=dotcom]){width:50%}}@media screen and (min-width: 60em){pn-site-footer-col:not([theme=dotcom]){max-width:25%}}pn-site-footer-col:not([theme=dotcom]) ul{list-style-type:none;padding:0;margin:0}pn-site-footer-col:not([theme=dotcom]) li{margin-bottom:1.6rem}pn-site-footer-col:not([theme=dotcom]) a{text-decoration:none;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}pn-site-footer-col:not([theme=dotcom]) a h3{color:#000000}pn-site-footer-col:not([theme=dotcom]) p{margin-top:0;margin-bottom:1rem}pn-site-footer-col[theme=dotcom]{width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}pn-site-footer-col[theme=dotcom] *{color:#FFFFFF}@media screen and (min-width: 768px){pn-site-footer-col[theme=dotcom]{width:33%;padding-left:0.8rem;padding-right:0.8rem}pn-site-footer-col[theme=dotcom]:nth-child(1),pn-site-footer-col[theme=dotcom]:nth-child(4){padding-left:0}pn-site-footer-col[theme=dotcom]:nth-child(3),pn-site-footer-col[theme=dotcom]:nth-child(5){padding-right:0}}@media screen and (min-width: 1024px){pn-site-footer-col[theme=dotcom]{width:20%;padding-left:1.6rem;padding-right:1.6rem}pn-site-footer-col[theme=dotcom]:nth-child(1){width:20%;padding-left:0}pn-site-footer-col[theme=dotcom]:nth-child(4){padding-left:1.6rem}pn-site-footer-col[theme=dotcom]:nth-child(3){padding-right:1.6rem}pn-site-footer-col[theme=dotcom]:nth-child(5){padding-right:0}}pn-site-footer-col[theme=dotcom] h3{margin-bottom:1rem;font-weight:700;font-size:2rem;line-height:2.2rem}@media screen and (min-width: 1200px){pn-site-footer-col[theme=dotcom] h3{font-size:2.4rem;line-height:2.64rem}}pn-site-footer-col[theme=dotcom] ul{list-style-type:none;padding:0;margin:0;margin-bottom:1.4rem}pn-site-footer-col[theme=dotcom] ul li{margin-bottom:1rem}pn-site-footer-col[theme=dotcom] a{display:-ms-flexbox;display:flex;-ms-flex-align:baseline;align-items:baseline;text-decoration:none;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;font-weight:400;font-size:1.6rem;line-height:2.24rem}pn-site-footer-col[theme=dotcom] a h3{color:#FFFFFF}pn-site-footer-col[theme=dotcom] p{margin-top:0;margin-bottom:1rem}pn-site-footer-col[theme=dotcom] div{min-height:150px;margin-bottom:1.4rem}pn-site-footer-col[theme=dotcom] div p:nth-child(odd){font-weight:500}";
24
24
 
25
25
  const PnSiteFooterCol = class {
26
26
  constructor(hostRef) {
@@ -26,6 +26,8 @@
26
26
  "./components/input/pn-marketweb-input/pn-marketweb-input.js",
27
27
  "./components/input/pn-marketweb-search/pn-marketweb-search.js",
28
28
  "./components/input/pn-multi-formfield/pn-multi-formfield.js",
29
+ "./components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown-row.js",
30
+ "./components/input/pn-multi-row-connected-dropdown/pn-multi-row-connected-dropdown.js",
29
31
  "./components/layout-components/pn-marketweb-sitefooter/pn-marketweb-sitefooter.js",
30
32
  "./components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-button.js",
31
33
  "./components/layout-components/pn-marketweb-siteheader/pn-marketweb-siteheader-login-linklist.js",