@otto-de/b2b-core-components 1.29.0 → 1.29.2

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 (76) hide show
  1. package/dist/b2b-core-components/b2b-core-components.esm.js +1 -1
  2. package/dist/b2b-core-components/p-436b4f63.entry.js +1 -0
  3. package/dist/b2b-core-components/p-e59239ce.entry.js +1 -0
  4. package/dist/cjs/b2b-core-components.cjs.js +1 -1
  5. package/dist/cjs/b2b-date-picker.cjs.entry.js +23 -1
  6. package/dist/cjs/b2b-dropdown.cjs.entry.js +6 -18
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/collection/components/alert/alert.css +2 -2
  9. package/dist/collection/components/anchor/anchor.css +2 -2
  10. package/dist/collection/components/background-box/background-box.css +2 -2
  11. package/dist/collection/components/breadcrumb/breadcrumb.css +2 -2
  12. package/dist/collection/components/button/button.css +2 -2
  13. package/dist/collection/components/card/card.css +2 -2
  14. package/dist/collection/components/checkbox/checkbox.css +2 -2
  15. package/dist/collection/components/checkbox-group/checkbox-group.css +2 -2
  16. package/dist/collection/components/chip/chip.css +2 -2
  17. package/dist/collection/components/date-picker/date-picker-days-header.css +2 -2
  18. package/dist/collection/components/date-picker/date-picker-days.css +2 -2
  19. package/dist/collection/components/date-picker/date-picker-header.css +2 -2
  20. package/dist/collection/components/date-picker/date-picker-months.css +2 -2
  21. package/dist/collection/components/date-picker/date-picker-years.css +2 -2
  22. package/dist/collection/components/date-picker/date-picker.css +2 -2
  23. package/dist/collection/components/date-picker/date-picker.js +32 -0
  24. package/dist/collection/components/dropdown/dropdown.css +2 -2
  25. package/dist/collection/components/dropdown/dropdown.js +6 -18
  26. package/dist/collection/components/flyout-menu/flyout-menu-option.css +2 -2
  27. package/dist/collection/components/flyout-menu/flyout-menu.css +2 -2
  28. package/dist/collection/components/headline/headline.css +2 -2
  29. package/dist/collection/components/icon/icon.css +2 -2
  30. package/dist/collection/components/icon-100/icon-100.css +2 -2
  31. package/dist/collection/components/icon-50/icon-50.css +2 -2
  32. package/dist/collection/components/input/input.css +2 -2
  33. package/dist/collection/components/input-group/input-group.css +2 -2
  34. package/dist/collection/components/input-list/input-list.css +2 -2
  35. package/dist/collection/components/label/label.css +2 -2
  36. package/dist/collection/components/modal/modal.css +2 -2
  37. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +2 -2
  38. package/dist/collection/components/pagination/pagination.css +2 -2
  39. package/dist/collection/components/paragraph/paragraph.css +2 -2
  40. package/dist/collection/components/progress-bar/progress-bar.css +2 -2
  41. package/dist/collection/components/radio/radio.css +2 -2
  42. package/dist/collection/components/radio-group/radio-group.css +2 -2
  43. package/dist/collection/components/required-separator/required-separator.css +2 -2
  44. package/dist/collection/components/rounded-icon/rounded-icon.css +2 -2
  45. package/dist/collection/components/scrollable-container/scrollable-container.css +2 -2
  46. package/dist/collection/components/separator/separator.css +2 -2
  47. package/dist/collection/components/shimmer/shimmer.css +2 -2
  48. package/dist/collection/components/snackbar/snackbar.css +2 -2
  49. package/dist/collection/components/spinner/spinner.css +2 -2
  50. package/dist/collection/components/tab/tab.css +2 -2
  51. package/dist/collection/components/tab-panel/tab-panel.css +2 -2
  52. package/dist/collection/components/table/table-cell/table-cell.css +2 -2
  53. package/dist/collection/components/table/table-header/table-header.css +2 -2
  54. package/dist/collection/components/table/table-row/table-row.css +2 -2
  55. package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +2 -2
  56. package/dist/collection/components/table/table.css +2 -2
  57. package/dist/collection/components/textarea/textarea.css +2 -2
  58. package/dist/collection/components/toggle-button/toggle-button.css +2 -2
  59. package/dist/collection/components/toggle-chip/toggle-chip.css +2 -2
  60. package/dist/collection/components/toggle-group/toggle-group.css +2 -2
  61. package/dist/collection/components/toggle-switch/toggle-switch.css +2 -2
  62. package/dist/collection/components/tooltip/tooltip.css +2 -2
  63. package/dist/collection/components/wizard/wizard.css +2 -2
  64. package/dist/collection/components/wizard-icon/wizard-icon.css +2 -2
  65. package/dist/components/b2b-date-picker.js +29 -2
  66. package/dist/components/b2b-dropdown.js +6 -18
  67. package/dist/esm/b2b-core-components.js +1 -1
  68. package/dist/esm/b2b-date-picker.entry.js +23 -1
  69. package/dist/esm/b2b-dropdown.entry.js +6 -18
  70. package/dist/esm/loader.js +1 -1
  71. package/dist/types/components/date-picker/date-picker.d.ts +5 -0
  72. package/dist/types/components/dropdown/dropdown.d.ts +0 -1
  73. package/dist/web-types.json +1 -1
  74. package/package.json +2 -2
  75. package/dist/b2b-core-components/p-6731435f.entry.js +0 -1
  76. package/dist/b2b-core-components/p-993fdb28.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 27 May 2025 05:29:32 GMT
3
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Tue, 27 May 2025 05:29:33 GMT
127
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 27 May 2025 05:29:32 GMT
3
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Tue, 27 May 2025 05:29:33 GMT
127
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 27 May 2025 05:29:32 GMT
3
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Tue, 27 May 2025 05:29:33 GMT
127
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 27 May 2025 05:29:32 GMT
3
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Tue, 27 May 2025 05:29:33 GMT
127
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 27 May 2025 05:29:32 GMT
3
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Tue, 27 May 2025 05:29:33 GMT
127
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 27 May 2025 05:29:32 GMT
3
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Tue, 27 May 2025 05:29:33 GMT
127
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 27 May 2025 05:29:32 GMT
3
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Tue, 27 May 2025 05:29:33 GMT
127
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 27 May 2025 05:29:32 GMT
3
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Tue, 27 May 2025 05:29:33 GMT
127
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 27 May 2025 05:29:32 GMT
3
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Tue, 27 May 2025 05:29:33 GMT
127
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 27 May 2025 05:29:32 GMT
3
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Tue, 27 May 2025 05:29:33 GMT
127
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 27 May 2025 05:29:32 GMT
3
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Tue, 27 May 2025 05:29:33 GMT
127
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 27 May 2025 05:29:32 GMT
3
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Tue, 27 May 2025 05:29:33 GMT
127
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 27 May 2025 05:29:32 GMT
3
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Tue, 27 May 2025 05:29:33 GMT
127
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 27 May 2025 05:29:32 GMT
3
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Tue, 27 May 2025 05:29:33 GMT
127
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 27 May 2025 05:29:32 GMT
3
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Tue, 27 May 2025 05:29:33 GMT
127
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 27 May 2025 05:29:32 GMT
3
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Tue, 27 May 2025 05:29:33 GMT
127
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 27 May 2025 05:29:32 GMT
3
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Tue, 27 May 2025 05:29:33 GMT
127
+ * Generated on Tue, 03 Jun 2025 06:55:39 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -215,6 +215,23 @@ const B2bDatePicker$1 = /*@__PURE__*/ proxyCustomElement(class B2bDatePicker ext
215
215
  handleDisableDaysChanged(newVal) {
216
216
  this.normalizedDisableEvery = this.normalizeArrayInput(newVal);
217
217
  }
218
+ handleDisableDatesUntilChanged(newVal) {
219
+ this.normalizedDisableDatesUntil =
220
+ this.normalizeDisableDatesUntilAndFrom(newVal);
221
+ }
222
+ handleDisableDatesFromChanged(newVal) {
223
+ this.normalizedDisableDatesFrom =
224
+ this.normalizeDisableDatesUntilAndFrom(newVal);
225
+ }
226
+ handleDisablePastDatesChanged(newVal) {
227
+ this.disablePastDates = newVal;
228
+ }
229
+ handleDisableFutureDatesChanged(newVal) {
230
+ this.disableFutureDates = newVal;
231
+ }
232
+ handleDisableWeekendsChanged(newVal) {
233
+ this.disableWeekends = newVal;
234
+ }
218
235
  parseDateInput(dateString) {
219
236
  const regex = /^(0[1-9]|[12][0-9]|3[01])\.(0[1-9]|1[0-2])\.\d{4}$/;
220
237
  if (dateString == '' || dateString === undefined) {
@@ -408,7 +425,12 @@ const B2bDatePicker$1 = /*@__PURE__*/ proxyCustomElement(class B2bDatePicker ext
408
425
  get host() { return this; }
409
426
  static get watchers() { return {
410
427
  "disableDates": ["handleDisableDatesChanged"],
411
- "disableDays": ["handleDisableDaysChanged"]
428
+ "disableDays": ["handleDisableDaysChanged"],
429
+ "disableDatesUntil": ["handleDisableDatesUntilChanged"],
430
+ "disableDatesFrom": ["handleDisableDatesFromChanged"],
431
+ "disablePastDates": ["handleDisablePastDatesChanged"],
432
+ "disableFutureDates": ["handleDisableFutureDatesChanged"],
433
+ "disableWeekends": ["handleDisableWeekendsChanged"]
412
434
  }; }
413
435
  static get style() { return B2bDatePickerStyle0; }
414
436
  }, [1, "b2b-date-picker", {
@@ -443,7 +465,12 @@ const B2bDatePicker$1 = /*@__PURE__*/ proxyCustomElement(class B2bDatePicker ext
443
465
  "normalizedDisableDatesFrom": [32]
444
466
  }, [[0, "b2b-date-picker-escape", "handleEscapePress"], [0, "b2b-date-selected", "handleDateSelection"], [0, "b2b-date-picker-previous-month", "getPreviousMonth"], [0, "b2b-date-picker-next-month", "getNextMonth"], [0, "b2b-date-picker-view-changed", "handleDatePickerViewChanged"], [0, "b2b-date-picker-month-selected", "handleMonthSelected"], [0, "b2b-date-picker-year-selected", "handleYearSelected"]], {
445
467
  "disableDates": ["handleDisableDatesChanged"],
446
- "disableDays": ["handleDisableDaysChanged"]
468
+ "disableDays": ["handleDisableDaysChanged"],
469
+ "disableDatesUntil": ["handleDisableDatesUntilChanged"],
470
+ "disableDatesFrom": ["handleDisableDatesFromChanged"],
471
+ "disablePastDates": ["handleDisablePastDatesChanged"],
472
+ "disableFutureDates": ["handleDisableFutureDatesChanged"],
473
+ "disableWeekends": ["handleDisableWeekendsChanged"]
447
474
  }]);
448
475
  function defineCustomElement$1() {
449
476
  if (typeof customElements === "undefined") {
@@ -94,27 +94,14 @@ const DropdownComponent = /*@__PURE__*/ proxyCustomElement(class DropdownCompone
94
94
  this.selectedValue = this.placeholderValue || '';
95
95
  this.selectedText = '';
96
96
  }
97
- refreshOptions() {
98
- const optionElements = Array.from(this.hostElement.querySelectorAll('option'));
99
- this.options = optionElements.map(option => {
100
- var _a;
101
- return ({
102
- value: option.getAttribute('value') || '',
103
- label: ((_a = option.textContent) === null || _a === void 0 ? void 0 : _a.trim()) || '',
104
- selected: option.hasAttribute('selected'),
105
- disabled: option.hasAttribute('disabled'),
106
- });
107
- });
108
- }
109
97
  componentDidLoad() {
110
98
  this.initializeOptions();
111
99
  this.updateTruncatedText();
112
100
  document.addEventListener('click', this.onClickOutside);
113
101
  window.addEventListener('resize', this.updateTruncatedText);
114
- this.refreshOptions();
115
102
  if (typeof MutationObserver !== 'undefined') {
116
103
  this.mutationObserver = new MutationObserver(() => {
117
- this.refreshOptions();
104
+ this.initializeOptions();
118
105
  });
119
106
  this.mutationObserver.observe(this.hostElement, {
120
107
  childList: true,
@@ -140,8 +127,8 @@ const DropdownComponent = /*@__PURE__*/ proxyCustomElement(class DropdownCompone
140
127
  return ({
141
128
  value: opt.value,
142
129
  label: ((_a = opt.textContent) === null || _a === void 0 ? void 0 : _a.trim()) || '',
143
- selected: opt.hasAttribute('selected'),
144
- disabled: opt.hasAttribute('disabled'),
130
+ selected: opt.selected || opt.hasAttribute('selected'),
131
+ disabled: opt.disabled || opt.hasAttribute('disabled'),
145
132
  });
146
133
  });
147
134
  const selected = this.options.find(o => o.selected);
@@ -149,6 +136,7 @@ const DropdownComponent = /*@__PURE__*/ proxyCustomElement(class DropdownCompone
149
136
  this.selectedValue = selected.value;
150
137
  this.selectedText = selected.label;
151
138
  }
139
+ this.updateTruncatedText();
152
140
  }
153
141
  closeOtherDropdowns() {
154
142
  const others = document.querySelectorAll('b2b-dropdown');
@@ -161,11 +149,11 @@ const DropdownComponent = /*@__PURE__*/ proxyCustomElement(class DropdownCompone
161
149
  const hasError = this.invalid && !this.disabled;
162
150
  const showHint = this.hint && (!this.invalid || this.disabled);
163
151
  const showError = this.error && hasError;
164
- return (h(Host, { key: 'c637b01d1726e3986a086fda92e76baf3a4aebf3', class: {
152
+ return (h(Host, { key: 'a2b06d84969c61375e9768f7f6c268e33f3d3d3b', class: {
165
153
  'b2b-dropdown': true,
166
154
  'b2b-dropdown--error': hasError,
167
155
  'b2b-dropdown--disabled': this.disabled,
168
- } }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("div", { key: 'de226d45b1c2f01ab465c180c3adcd646d714a6d', class: "b2b-dropdown__wrapper", onFocus: this.onFocus, onBlur: this.onBlur }, h("div", { key: '4cbf77b6f513e0f00987ef7aa95b63377f8d2169', class: {
156
+ } }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("div", { key: '22f461ff3cde097705ef0832fe24178678a5ac90', class: "b2b-dropdown__wrapper", onFocus: this.onFocus, onBlur: this.onBlur }, h("div", { key: '937e9b977f1259375cb86c8e7f96c62bad6dac2d', class: {
169
157
  'b2b-dropdown__select': true,
170
158
  'b2b-dropdown__select--open': this.isOpen,
171
159
  'b2b-dropdown__select--focused': this.focused,
@@ -16,5 +16,5 @@ const patchBrowser = () => {
16
16
 
17
17
  patchBrowser().then(async (options) => {
18
18
  await globalScripts();
19
- return bootstrapLazy(JSON.parse("[[\"b2b-date-picker\",[[1,\"b2b-date-picker\",{\"disablePastDates\":[4,\"disable-past-dates\"],\"disableFutureDates\":[4,\"disable-future-dates\"],\"disableWeekends\":[4,\"disable-weekends\"],\"disableDates\":[1,\"disable-dates\"],\"label\":[1],\"required\":[516],\"preSelectedDate\":[1,\"pre-selected-date\"],\"showHint\":[4,\"show-hint\"],\"width\":[2],\"disableDays\":[1,\"disable-days\"],\"disableDatesUntil\":[1,\"disable-dates-until\"],\"disableDatesFrom\":[1,\"disable-dates-from\"],\"hint\":[1],\"placeholder\":[513],\"language\":[1],\"showDatePicker\":[32],\"focused\":[32],\"datePickerView\":[32],\"selectedMonth\":[32],\"selectedYear\":[32],\"selectedDay\":[32],\"selectedDate\":[32],\"userInputDate\":[32],\"invalid\":[32],\"errorMessage\":[32],\"datesToBeDisabled\":[32],\"normalizedDisableEvery\":[32],\"normalizedDisableDatesUntil\":[32],\"normalizedDisableDatesFrom\":[32]},[[0,\"b2b-date-picker-escape\",\"handleEscapePress\"],[0,\"b2b-date-selected\",\"handleDateSelection\"],[0,\"b2b-date-picker-previous-month\",\"getPreviousMonth\"],[0,\"b2b-date-picker-next-month\",\"getNextMonth\"],[0,\"b2b-date-picker-view-changed\",\"handleDatePickerViewChanged\"],[0,\"b2b-date-picker-month-selected\",\"handleMonthSelected\"],[0,\"b2b-date-picker-year-selected\",\"handleYearSelected\"]],{\"disableDates\":[\"handleDisableDatesChanged\"],\"disableDays\":[\"handleDisableDaysChanged\"]}]]],[\"b2b-search\",[[1,\"b2b-search\",{\"placeholder\":[1],\"optionsList\":[16],\"value\":[1537],\"disabled\":[516],\"closed\":[32]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"b2b-multiselect-dropdown\",[[1,\"b2b-multiselect-dropdown\",{\"label\":[1],\"placeholder\":[513],\"selectedValues\":[1,\"selected-values\"],\"optionsList\":[1,\"options-list\"],\"searchPlaceholder\":[1,\"search-placeholder\"],\"selectAllLabel\":[1,\"select-all-label\"],\"maxOptionsVisible\":[2,\"max-options-visible\"],\"required\":[516],\"invalid\":[516],\"errorMessage\":[1,\"error-message\"],\"hint\":[1],\"disabled\":[516],\"currentSelectedValues\":[32],\"currentList\":[32],\"value\":[32],\"isElementFocused\":[32],\"isOpen\":[32],\"hasOptionList\":[32]},null,{\"optionsList\":[\"watchPropHandler\"],\"selectedValues\":[\"handleSelectedValuesChangeFromOutside\"],\"currentSelectedValues\":[\"handleSelectedValuesChange\"]}]]],[\"b2b-table-row\",[[1,\"b2b-table-row\",{\"highlight\":[4],\"color\":[1],\"selectable\":[4],\"size\":[1],\"value\":[1],\"indeterminate\":[4],\"checked\":[1028],\"isAccordionValue\":[32],\"isOpen\":[32],\"toggleAccordion\":[64]},[[0,\"b2b-change\",\"toggleSelected\"]]]]],[\"b2b-wizard-step\",[[1,\"b2b-wizard-step\",{\"state\":[1],\"step\":[1],\"checkIcon\":[4,\"check-icon\"]}]]],[\"b2b-modal\",[[1,\"b2b-modal\",{\"heading\":[1],\"opened\":[1540],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"escDismiss\":[4,\"esc-dismiss\"],\"variant\":[1],\"iconHover\":[32],\"isOpen\":[32]},[[0,\"keydown\",\"handleKeypress\"]],{\"opened\":[\"openedChanged\"]}]]],[\"b2b-pagination\",[[1,\"b2b-pagination\",{\"totalPages\":[2,\"total-pages\"],\"activePage\":[1538,\"active-page\"],\"ariaLabelNextPage\":[1,\"aria-label-next-page\"],\"ariaLabelPreviousPage\":[1,\"aria-label-previous-page\"]},null,{\"totalPages\":[\"onTotalPagesChange\"],\"activePage\":[\"onActivePageChange\"]}]]],[\"b2b-alert\",[[1,\"b2b-alert\",{\"type\":[1],\"size\":[1],\"opened\":[1028],\"hasCloseButton\":[4,\"has-close-button\"],\"customIcon\":[4,\"custom-icon\"]},null,{\"opened\":[\"openedChanged\"]}]]],[\"b2b-checkbox-group\",[[1,\"b2b-checkbox-group\",{\"label\":[1],\"required\":[4],\"disabled\":[4],\"invalid\":[4],\"alignment\":[1],\"hint\":[1],\"error\":[1]},[[0,\"b2b-change\",\"handleCheckboxChange\"]],{\"disabled\":[\"disabledChanged\"],\"invalid\":[\"invalidChanged\"]}]]],[\"b2b-dropdown\",[[1,\"b2b-dropdown\",{\"label\":[1],\"required\":[516],\"name\":[513],\"placeholder\":[1],\"placeholderValue\":[1,\"placeholder-value\"],\"disabled\":[516],\"invalid\":[516],\"hint\":[1],\"error\":[1],\"isOpen\":[32],\"focused\":[32],\"selectedValue\":[32],\"selectedText\":[32],\"options\":[32],\"clearSelection\":[64]},null,{\"isOpen\":[\"watchDropdownState\"]}]]],[\"b2b-radio-button\",[[1,\"b2b-radio-button\",{\"label\":[1],\"required\":[516],\"name\":[513],\"checked\":[1540],\"disabled\":[516],\"invalid\":[4],\"value\":[513],\"hint\":[1],\"error\":[1]}]]],[\"b2b-radio-group\",[[1,\"b2b-radio-group\",{\"name\":[1],\"label\":[1],\"required\":[4],\"alignment\":[1],\"disabled\":[516],\"invalid\":[516],\"hint\":[1],\"error\":[1],\"currentValue\":[32]},[[0,\"b2b-change\",\"handleRadioButtonChange\"]],{\"invalid\":[\"invalidChanged\"],\"disabled\":[\"disabledChanged\"]}]]],[\"b2b-required-separator\",[[1,\"b2b-required-separator\",{\"label\":[1]}]]],[\"b2b-snackbar\",[[1,\"b2b-snackbar\",{\"description\":[1],\"type\":[1],\"opened\":[1540],\"timed\":[4],\"duration\":[2],\"hasAction\":[4,\"has-action\"],\"actionLabel\":[1,\"action-label\"],\"width\":[1]},null,{\"opened\":[\"onVisibleChange\"]}]]],[\"b2b-tab-group\",[[1,\"b2b-tab-group\",{\"useRouter\":[4,\"use-router\"]},[[0,\"click\",\"handleClick\"],[0,\"keydown\",\"handleKeydown\"]]]]],[\"b2b-textarea\",[[1,\"b2b-textarea\",{\"label\":[1],\"required\":[516],\"placeholder\":[513],\"disabled\":[516],\"invalid\":[516],\"autofocus\":[516],\"resize\":[513],\"hint\":[1],\"error\":[1],\"value\":[1537],\"name\":[513],\"maxLength\":[514,\"max-length\"],\"height\":[1]}]]],[\"b2b-anchor\",[[1,\"b2b-anchor\",{\"href\":[1],\"download\":[1],\"target\":[1],\"size\":[1],\"hoverColor\":[1,\"hover-color\"],\"underlineText\":[4,\"underline-text\"]}]]],[\"b2b-background-box\",[[1,\"b2b-background-box\",{\"maxWidth\":[4,\"max-width\"],\"noPadding\":[4,\"no-padding\"],\"borderTop\":[1,\"border-top\"],\"borderRight\":[1,\"border-right\"],\"borderBottom\":[1,\"border-bottom\"],\"borderLeft\":[1,\"border-left\"]}]]],[\"b2b-breadcrumb\",[[1,\"b2b-breadcrumb\",{\"paddingTop\":[2,\"padding-top\"],\"paddingBottom\":[2,\"padding-bottom\"]},[[0,\"b2b-change\",\"onSelectedChange\"]]]]],[\"b2b-breadcrumb-item\",[[1,\"b2b-breadcrumb-item\",{\"href\":[1],\"value\":[8],\"active\":[1028]}]]],[\"b2b-card\",[[1,\"b2b-card\",{\"disabled\":[4],\"href\":[1],\"target\":[1]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"onKeyDown\"]]]]],[\"b2b-flyout-menu\",[[1,\"b2b-flyout-menu\",{\"opened\":[1028]},[[0,\"keydown\",\"handleKeyDown\"],[0,\"b2b-option-selected\",\"handleSelected\"],[4,\"click\",\"handleClickOutside\"]]]]],[\"b2b-flyout-menu-option\",[[1,\"b2b-flyout-menu-option\",{\"option\":[1],\"disabled\":[516],\"separator\":[4]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"b2b-grid\",[[1,\"b2b-grid\",{\"margin\":[2]}]]],[\"b2b-grid-col\",[[1,\"b2b-grid-col\",{\"span\":[514],\"textAlign\":[1,\"text-align\"]}]]],[\"b2b-grid-row\",[[1,\"b2b-grid-row\",{\"columnGap\":[2,\"column-gap\"],\"rowGap\":[2,\"row-gap\"],\"alignItems\":[1,\"align-items\"],\"justify\":[1]}]]],[\"b2b-icon\",[[1,\"b2b-icon\",{\"icon\":[1],\"color\":[1],\"size\":[1],\"clickable\":[4],\"focusable\":[4],\"pathData\":[32]},null,{\"icon\":[\"loadIconPathData\"]}]]],[\"b2b-icon-50\",[[1,\"b2b-icon-50\",{\"icon\":[1],\"color\":[1],\"clickable\":[4],\"focusable\":[4],\"pathData\":[32]},null,{\"icon\":[\"loadIconPathData\"]}]]],[\"b2b-label\",[[1,\"b2b-label\",{\"type\":[1]}]]],[\"b2b-paragraph\",[[1,\"b2b-paragraph\",{\"weight\":[1],\"size\":[1],\"align\":[1],\"margin\":[4],\"variant\":[1],\"display\":[1]}]]],[\"b2b-progress-bar\",[[1,\"b2b-progress-bar\",{\"progress\":[2],\"label\":[1],\"labelType\":[1,\"label-type\"],\"labelPosition\":[1,\"label-position\"]}]]],[\"b2b-scrollable-container\",[[1,\"b2b-scrollable-container\"]]],[\"b2b-shimmer\",[[1,\"b2b-shimmer\",{\"loading\":[4],\"width\":[2],\"height\":[2]}]]],[\"b2b-tab\",[[1,\"b2b-tab\",{\"selected\":[516],\"disabled\":[4],\"invalid\":[4]},null,{\"selected\":[\"propagateChange\"]}]]],[\"b2b-tab-panel\",[[1,\"b2b-tab-panel\"]]],[\"b2b-table\",[[1,\"b2b-table\",{\"size\":[1]},[[0,\"b2b-change\",\"onColumnSelected\"]]]]],[\"b2b-table-rowgroup\",[[1,\"b2b-table-rowgroup\",{\"type\":[1],\"size\":[1],\"accordion\":[516],\"selectable\":[4],\"fixed\":[4],\"opened\":[516],\"selectedValues\":[32]},[[0,\"b2b-open\",\"handleOpenChange\"],[0,\"b2b-row-selected\",\"handleSelectedChange\"]]]]],[\"b2b-toggle-button\",[[1,\"b2b-toggle-button\",{\"label\":[1],\"name\":[513],\"checked\":[1540],\"disabled\":[516],\"value\":[513]}]]],[\"b2b-toggle-chip\",[[1,\"b2b-toggle-chip\",{\"label\":[1],\"value\":[520],\"name\":[513],\"active\":[1028],\"disabled\":[516]}]]],[\"b2b-toggle-group\",[[1,\"b2b-toggle-group\",{\"name\":[1],\"disabled\":[516],\"currentValue\":[32]},[[0,\"b2b-change\",\"handleToggleButtonChange\"]],{\"disabled\":[\"disabledChanged\"]}]]],[\"b2b-toggle-switch\",[[1,\"b2b-toggle-switch\",{\"label\":[1],\"name\":[1],\"labelPosition\":[1,\"label-position\"],\"disabled\":[4],\"state\":[1028]}]]],[\"b2b-tooltip\",[[1,\"b2b-tooltip\",{\"position\":[1],\"content\":[1],\"trigger\":[1],\"opened\":[1540]},null,{\"opened\":[\"handleOpenedChange\"]}]]],[\"b2b-wizard\",[[1,\"b2b-wizard\",{\"activeStep\":[1,\"active-step\"],\"custom\":[4],\"checkIcon\":[4,\"check-icon\"]}]]],[\"b2b-wizard-icon\",[[1,\"b2b-wizard-icon\",{\"step\":[1],\"state\":[1],\"checkIcon\":[4,\"check-icon\"]}]]],[\"b2b-input-group_2\",[[1,\"b2b-input-list\",{\"label\":[1],\"required\":[516],\"placeholder\":[513],\"optionsList\":[16],\"value\":[1537],\"disabled\":[516],\"groupDisabled\":[4,\"group-disabled\"],\"hasOptionList\":[32],\"isElementFocused\":[32]},[[0,\"keydown\",\"handleKeyDown\"]],{\"optionsList\":[\"watchPropHandler\"]}],[1,\"b2b-input-group\",{\"invalid\":[4],\"disabled\":[4],\"error\":[1],\"hint\":[1]},null,{\"invalid\":[\"invalidChanged\"],\"disabled\":[\"disabledChanged\"]}]]],[\"b2b-chip-component_2\",[[0,\"b2b-multiselect-option\",{\"option\":[1],\"selected\":[1028],\"indeterminate\":[4]}],[1,\"b2b-chip-component\",{\"label\":[1],\"type\":[1],\"labelStyle\":[1,\"label-style\"],\"disabled\":[4],\"hasCloseButton\":[4,\"has-close-button\"],\"value\":[520],\"customMargin\":[1,\"custom-margin\"]}]]],[\"b2b-table-cell_2\",[[1,\"b2b-table-cell\",{\"textWrap\":[516,\"text-wrap\"],\"size\":[1],\"align\":[1],\"divider\":[4],\"color\":[1],\"colspan\":[2],\"totalCols\":[2,\"total-cols\"],\"useTextEllipsis\":[32]}],[1,\"b2b-table-header\",{\"divider\":[4],\"size\":[1],\"fixed\":[4],\"sortDirection\":[1537,\"sort-direction\"],\"sortId\":[1,\"sort-id\"],\"colspan\":[2],\"contentAlign\":[1,\"content-align\"],\"totalCols\":[2,\"total-cols\"],\"active\":[32],\"iconAlign\":[32]}]]],[\"b2b-rounded-icon\",[[1,\"b2b-rounded-icon\",{\"color\":[1],\"borderColor\":[1,\"border-color\"],\"contentColor\":[1,\"content-color\"]}]]],[\"b2b-separator\",[[1,\"b2b-separator\",{\"alignment\":[1]}]]],[\"b2b-checkbox\",[[1,\"b2b-checkbox\",{\"label\":[1],\"required\":[516],\"checked\":[1540],\"disabled\":[516],\"indeterminate\":[1028],\"error\":[1],\"hint\":[1],\"name\":[513],\"value\":[520],\"invalid\":[4],\"standalone\":[4],\"groupDisabled\":[4,\"group-disabled\"]}]]],[\"b2b-headline\",[[1,\"b2b-headline\",{\"size\":[1],\"align\":[1],\"noMargin\":[4,\"no-margin\"]}]]],[\"b2b-input_2\",[[1,\"b2b-input\",{\"label\":[1],\"required\":[516],\"type\":[513],\"disabled\":[516],\"invalid\":[516],\"placeholder\":[513],\"value\":[1537],\"name\":[513],\"hint\":[1],\"error\":[1],\"autofocus\":[4],\"groupDisabled\":[4,\"group-disabled\"],\"inputTextAlign\":[1,\"input-text-align\"],\"hasFocus\":[32],\"hasTextPrefix\":[32],\"hasTextSuffix\":[32],\"setFocus\":[64],\"clearInput\":[64]}],[0,\"b2b-input-list-option\",{\"option\":[1]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"b2b-date-picker-days_5\",[[1,\"b2b-date-picker-header\",{\"selectedMonth\":[2,\"selected-month\"],\"selectedYear\":[2,\"selected-year\"],\"language\":[1]}],[1,\"b2b-date-picker-days\",{\"selectedMonth\":[2,\"selected-month\"],\"selectedYear\":[2,\"selected-year\"],\"selectedDay\":[2,\"selected-day\"],\"disablePastDates\":[4,\"disable-past-dates\"],\"disableFutureDates\":[4,\"disable-future-dates\"],\"disableWeekends\":[4,\"disable-weekends\"],\"disableDates\":[16],\"disableEvery\":[16],\"disableDatesUntil\":[16],\"disableDatesFrom\":[16],\"disabled\":[32]},[[0,\"keydown\",\"handleKeyDown\"]]],[1,\"b2b-date-picker-days-header\",{\"language\":[1]}],[1,\"b2b-date-picker-months\",{\"selectedMonth\":[2,\"selected-month\"],\"language\":[1]},[[0,\"keydown\",\"handleKeyDown\"]]],[1,\"b2b-date-picker-years\",{\"selectedYear\":[2,\"selected-year\"],\"yearsRange\":[32]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"b2b-button_2\",[[1,\"b2b-button\",{\"variant\":[1],\"type\":[1],\"size\":[1],\"width\":[1],\"disabled\":[516],\"loading\":[4],\"active\":[516],\"href\":[1],\"target\":[1],\"download\":[1],\"groupDisabled\":[4,\"group-disabled\"],\"setFocus\":[64]},[[2,\"click\",\"handleHostClick\"]]],[1,\"b2b-spinner\",{\"size\":[1],\"color\":[1]}]]],[\"b2b-icon-100\",[[1,\"b2b-icon-100\",{\"icon\":[1],\"color\":[1],\"size\":[2],\"clickable\":[4],\"focusable\":[4],\"pathData\":[32]},null,{\"icon\":[\"loadIconPathData\"]}]]],[\"b2b-input-label\",[[1,\"b2b-input-label\",{\"required\":[4],\"disabled\":[4]}]]]]"), options);
19
+ return bootstrapLazy(JSON.parse("[[\"b2b-date-picker\",[[1,\"b2b-date-picker\",{\"disablePastDates\":[4,\"disable-past-dates\"],\"disableFutureDates\":[4,\"disable-future-dates\"],\"disableWeekends\":[4,\"disable-weekends\"],\"disableDates\":[1,\"disable-dates\"],\"label\":[1],\"required\":[516],\"preSelectedDate\":[1,\"pre-selected-date\"],\"showHint\":[4,\"show-hint\"],\"width\":[2],\"disableDays\":[1,\"disable-days\"],\"disableDatesUntil\":[1,\"disable-dates-until\"],\"disableDatesFrom\":[1,\"disable-dates-from\"],\"hint\":[1],\"placeholder\":[513],\"language\":[1],\"showDatePicker\":[32],\"focused\":[32],\"datePickerView\":[32],\"selectedMonth\":[32],\"selectedYear\":[32],\"selectedDay\":[32],\"selectedDate\":[32],\"userInputDate\":[32],\"invalid\":[32],\"errorMessage\":[32],\"datesToBeDisabled\":[32],\"normalizedDisableEvery\":[32],\"normalizedDisableDatesUntil\":[32],\"normalizedDisableDatesFrom\":[32]},[[0,\"b2b-date-picker-escape\",\"handleEscapePress\"],[0,\"b2b-date-selected\",\"handleDateSelection\"],[0,\"b2b-date-picker-previous-month\",\"getPreviousMonth\"],[0,\"b2b-date-picker-next-month\",\"getNextMonth\"],[0,\"b2b-date-picker-view-changed\",\"handleDatePickerViewChanged\"],[0,\"b2b-date-picker-month-selected\",\"handleMonthSelected\"],[0,\"b2b-date-picker-year-selected\",\"handleYearSelected\"]],{\"disableDates\":[\"handleDisableDatesChanged\"],\"disableDays\":[\"handleDisableDaysChanged\"],\"disableDatesUntil\":[\"handleDisableDatesUntilChanged\"],\"disableDatesFrom\":[\"handleDisableDatesFromChanged\"],\"disablePastDates\":[\"handleDisablePastDatesChanged\"],\"disableFutureDates\":[\"handleDisableFutureDatesChanged\"],\"disableWeekends\":[\"handleDisableWeekendsChanged\"]}]]],[\"b2b-search\",[[1,\"b2b-search\",{\"placeholder\":[1],\"optionsList\":[16],\"value\":[1537],\"disabled\":[516],\"closed\":[32]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"b2b-multiselect-dropdown\",[[1,\"b2b-multiselect-dropdown\",{\"label\":[1],\"placeholder\":[513],\"selectedValues\":[1,\"selected-values\"],\"optionsList\":[1,\"options-list\"],\"searchPlaceholder\":[1,\"search-placeholder\"],\"selectAllLabel\":[1,\"select-all-label\"],\"maxOptionsVisible\":[2,\"max-options-visible\"],\"required\":[516],\"invalid\":[516],\"errorMessage\":[1,\"error-message\"],\"hint\":[1],\"disabled\":[516],\"currentSelectedValues\":[32],\"currentList\":[32],\"value\":[32],\"isElementFocused\":[32],\"isOpen\":[32],\"hasOptionList\":[32]},null,{\"optionsList\":[\"watchPropHandler\"],\"selectedValues\":[\"handleSelectedValuesChangeFromOutside\"],\"currentSelectedValues\":[\"handleSelectedValuesChange\"]}]]],[\"b2b-table-row\",[[1,\"b2b-table-row\",{\"highlight\":[4],\"color\":[1],\"selectable\":[4],\"size\":[1],\"value\":[1],\"indeterminate\":[4],\"checked\":[1028],\"isAccordionValue\":[32],\"isOpen\":[32],\"toggleAccordion\":[64]},[[0,\"b2b-change\",\"toggleSelected\"]]]]],[\"b2b-wizard-step\",[[1,\"b2b-wizard-step\",{\"state\":[1],\"step\":[1],\"checkIcon\":[4,\"check-icon\"]}]]],[\"b2b-modal\",[[1,\"b2b-modal\",{\"heading\":[1],\"opened\":[1540],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"escDismiss\":[4,\"esc-dismiss\"],\"variant\":[1],\"iconHover\":[32],\"isOpen\":[32]},[[0,\"keydown\",\"handleKeypress\"]],{\"opened\":[\"openedChanged\"]}]]],[\"b2b-pagination\",[[1,\"b2b-pagination\",{\"totalPages\":[2,\"total-pages\"],\"activePage\":[1538,\"active-page\"],\"ariaLabelNextPage\":[1,\"aria-label-next-page\"],\"ariaLabelPreviousPage\":[1,\"aria-label-previous-page\"]},null,{\"totalPages\":[\"onTotalPagesChange\"],\"activePage\":[\"onActivePageChange\"]}]]],[\"b2b-alert\",[[1,\"b2b-alert\",{\"type\":[1],\"size\":[1],\"opened\":[1028],\"hasCloseButton\":[4,\"has-close-button\"],\"customIcon\":[4,\"custom-icon\"]},null,{\"opened\":[\"openedChanged\"]}]]],[\"b2b-checkbox-group\",[[1,\"b2b-checkbox-group\",{\"label\":[1],\"required\":[4],\"disabled\":[4],\"invalid\":[4],\"alignment\":[1],\"hint\":[1],\"error\":[1]},[[0,\"b2b-change\",\"handleCheckboxChange\"]],{\"disabled\":[\"disabledChanged\"],\"invalid\":[\"invalidChanged\"]}]]],[\"b2b-dropdown\",[[1,\"b2b-dropdown\",{\"label\":[1],\"required\":[516],\"name\":[513],\"placeholder\":[1],\"placeholderValue\":[1,\"placeholder-value\"],\"disabled\":[516],\"invalid\":[516],\"hint\":[1],\"error\":[1],\"isOpen\":[32],\"focused\":[32],\"selectedValue\":[32],\"selectedText\":[32],\"options\":[32],\"clearSelection\":[64]},null,{\"isOpen\":[\"watchDropdownState\"]}]]],[\"b2b-radio-button\",[[1,\"b2b-radio-button\",{\"label\":[1],\"required\":[516],\"name\":[513],\"checked\":[1540],\"disabled\":[516],\"invalid\":[4],\"value\":[513],\"hint\":[1],\"error\":[1]}]]],[\"b2b-radio-group\",[[1,\"b2b-radio-group\",{\"name\":[1],\"label\":[1],\"required\":[4],\"alignment\":[1],\"disabled\":[516],\"invalid\":[516],\"hint\":[1],\"error\":[1],\"currentValue\":[32]},[[0,\"b2b-change\",\"handleRadioButtonChange\"]],{\"invalid\":[\"invalidChanged\"],\"disabled\":[\"disabledChanged\"]}]]],[\"b2b-required-separator\",[[1,\"b2b-required-separator\",{\"label\":[1]}]]],[\"b2b-snackbar\",[[1,\"b2b-snackbar\",{\"description\":[1],\"type\":[1],\"opened\":[1540],\"timed\":[4],\"duration\":[2],\"hasAction\":[4,\"has-action\"],\"actionLabel\":[1,\"action-label\"],\"width\":[1]},null,{\"opened\":[\"onVisibleChange\"]}]]],[\"b2b-tab-group\",[[1,\"b2b-tab-group\",{\"useRouter\":[4,\"use-router\"]},[[0,\"click\",\"handleClick\"],[0,\"keydown\",\"handleKeydown\"]]]]],[\"b2b-textarea\",[[1,\"b2b-textarea\",{\"label\":[1],\"required\":[516],\"placeholder\":[513],\"disabled\":[516],\"invalid\":[516],\"autofocus\":[516],\"resize\":[513],\"hint\":[1],\"error\":[1],\"value\":[1537],\"name\":[513],\"maxLength\":[514,\"max-length\"],\"height\":[1]}]]],[\"b2b-anchor\",[[1,\"b2b-anchor\",{\"href\":[1],\"download\":[1],\"target\":[1],\"size\":[1],\"hoverColor\":[1,\"hover-color\"],\"underlineText\":[4,\"underline-text\"]}]]],[\"b2b-background-box\",[[1,\"b2b-background-box\",{\"maxWidth\":[4,\"max-width\"],\"noPadding\":[4,\"no-padding\"],\"borderTop\":[1,\"border-top\"],\"borderRight\":[1,\"border-right\"],\"borderBottom\":[1,\"border-bottom\"],\"borderLeft\":[1,\"border-left\"]}]]],[\"b2b-breadcrumb\",[[1,\"b2b-breadcrumb\",{\"paddingTop\":[2,\"padding-top\"],\"paddingBottom\":[2,\"padding-bottom\"]},[[0,\"b2b-change\",\"onSelectedChange\"]]]]],[\"b2b-breadcrumb-item\",[[1,\"b2b-breadcrumb-item\",{\"href\":[1],\"value\":[8],\"active\":[1028]}]]],[\"b2b-card\",[[1,\"b2b-card\",{\"disabled\":[4],\"href\":[1],\"target\":[1]},[[0,\"click\",\"onClick\"],[0,\"keydown\",\"onKeyDown\"]]]]],[\"b2b-flyout-menu\",[[1,\"b2b-flyout-menu\",{\"opened\":[1028]},[[0,\"keydown\",\"handleKeyDown\"],[0,\"b2b-option-selected\",\"handleSelected\"],[4,\"click\",\"handleClickOutside\"]]]]],[\"b2b-flyout-menu-option\",[[1,\"b2b-flyout-menu-option\",{\"option\":[1],\"disabled\":[516],\"separator\":[4]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"b2b-grid\",[[1,\"b2b-grid\",{\"margin\":[2]}]]],[\"b2b-grid-col\",[[1,\"b2b-grid-col\",{\"span\":[514],\"textAlign\":[1,\"text-align\"]}]]],[\"b2b-grid-row\",[[1,\"b2b-grid-row\",{\"columnGap\":[2,\"column-gap\"],\"rowGap\":[2,\"row-gap\"],\"alignItems\":[1,\"align-items\"],\"justify\":[1]}]]],[\"b2b-icon\",[[1,\"b2b-icon\",{\"icon\":[1],\"color\":[1],\"size\":[1],\"clickable\":[4],\"focusable\":[4],\"pathData\":[32]},null,{\"icon\":[\"loadIconPathData\"]}]]],[\"b2b-icon-50\",[[1,\"b2b-icon-50\",{\"icon\":[1],\"color\":[1],\"clickable\":[4],\"focusable\":[4],\"pathData\":[32]},null,{\"icon\":[\"loadIconPathData\"]}]]],[\"b2b-label\",[[1,\"b2b-label\",{\"type\":[1]}]]],[\"b2b-paragraph\",[[1,\"b2b-paragraph\",{\"weight\":[1],\"size\":[1],\"align\":[1],\"margin\":[4],\"variant\":[1],\"display\":[1]}]]],[\"b2b-progress-bar\",[[1,\"b2b-progress-bar\",{\"progress\":[2],\"label\":[1],\"labelType\":[1,\"label-type\"],\"labelPosition\":[1,\"label-position\"]}]]],[\"b2b-scrollable-container\",[[1,\"b2b-scrollable-container\"]]],[\"b2b-shimmer\",[[1,\"b2b-shimmer\",{\"loading\":[4],\"width\":[2],\"height\":[2]}]]],[\"b2b-tab\",[[1,\"b2b-tab\",{\"selected\":[516],\"disabled\":[4],\"invalid\":[4]},null,{\"selected\":[\"propagateChange\"]}]]],[\"b2b-tab-panel\",[[1,\"b2b-tab-panel\"]]],[\"b2b-table\",[[1,\"b2b-table\",{\"size\":[1]},[[0,\"b2b-change\",\"onColumnSelected\"]]]]],[\"b2b-table-rowgroup\",[[1,\"b2b-table-rowgroup\",{\"type\":[1],\"size\":[1],\"accordion\":[516],\"selectable\":[4],\"fixed\":[4],\"opened\":[516],\"selectedValues\":[32]},[[0,\"b2b-open\",\"handleOpenChange\"],[0,\"b2b-row-selected\",\"handleSelectedChange\"]]]]],[\"b2b-toggle-button\",[[1,\"b2b-toggle-button\",{\"label\":[1],\"name\":[513],\"checked\":[1540],\"disabled\":[516],\"value\":[513]}]]],[\"b2b-toggle-chip\",[[1,\"b2b-toggle-chip\",{\"label\":[1],\"value\":[520],\"name\":[513],\"active\":[1028],\"disabled\":[516]}]]],[\"b2b-toggle-group\",[[1,\"b2b-toggle-group\",{\"name\":[1],\"disabled\":[516],\"currentValue\":[32]},[[0,\"b2b-change\",\"handleToggleButtonChange\"]],{\"disabled\":[\"disabledChanged\"]}]]],[\"b2b-toggle-switch\",[[1,\"b2b-toggle-switch\",{\"label\":[1],\"name\":[1],\"labelPosition\":[1,\"label-position\"],\"disabled\":[4],\"state\":[1028]}]]],[\"b2b-tooltip\",[[1,\"b2b-tooltip\",{\"position\":[1],\"content\":[1],\"trigger\":[1],\"opened\":[1540]},null,{\"opened\":[\"handleOpenedChange\"]}]]],[\"b2b-wizard\",[[1,\"b2b-wizard\",{\"activeStep\":[1,\"active-step\"],\"custom\":[4],\"checkIcon\":[4,\"check-icon\"]}]]],[\"b2b-wizard-icon\",[[1,\"b2b-wizard-icon\",{\"step\":[1],\"state\":[1],\"checkIcon\":[4,\"check-icon\"]}]]],[\"b2b-input-group_2\",[[1,\"b2b-input-list\",{\"label\":[1],\"required\":[516],\"placeholder\":[513],\"optionsList\":[16],\"value\":[1537],\"disabled\":[516],\"groupDisabled\":[4,\"group-disabled\"],\"hasOptionList\":[32],\"isElementFocused\":[32]},[[0,\"keydown\",\"handleKeyDown\"]],{\"optionsList\":[\"watchPropHandler\"]}],[1,\"b2b-input-group\",{\"invalid\":[4],\"disabled\":[4],\"error\":[1],\"hint\":[1]},null,{\"invalid\":[\"invalidChanged\"],\"disabled\":[\"disabledChanged\"]}]]],[\"b2b-chip-component_2\",[[0,\"b2b-multiselect-option\",{\"option\":[1],\"selected\":[1028],\"indeterminate\":[4]}],[1,\"b2b-chip-component\",{\"label\":[1],\"type\":[1],\"labelStyle\":[1,\"label-style\"],\"disabled\":[4],\"hasCloseButton\":[4,\"has-close-button\"],\"value\":[520],\"customMargin\":[1,\"custom-margin\"]}]]],[\"b2b-table-cell_2\",[[1,\"b2b-table-cell\",{\"textWrap\":[516,\"text-wrap\"],\"size\":[1],\"align\":[1],\"divider\":[4],\"color\":[1],\"colspan\":[2],\"totalCols\":[2,\"total-cols\"],\"useTextEllipsis\":[32]}],[1,\"b2b-table-header\",{\"divider\":[4],\"size\":[1],\"fixed\":[4],\"sortDirection\":[1537,\"sort-direction\"],\"sortId\":[1,\"sort-id\"],\"colspan\":[2],\"contentAlign\":[1,\"content-align\"],\"totalCols\":[2,\"total-cols\"],\"active\":[32],\"iconAlign\":[32]}]]],[\"b2b-rounded-icon\",[[1,\"b2b-rounded-icon\",{\"color\":[1],\"borderColor\":[1,\"border-color\"],\"contentColor\":[1,\"content-color\"]}]]],[\"b2b-separator\",[[1,\"b2b-separator\",{\"alignment\":[1]}]]],[\"b2b-checkbox\",[[1,\"b2b-checkbox\",{\"label\":[1],\"required\":[516],\"checked\":[1540],\"disabled\":[516],\"indeterminate\":[1028],\"error\":[1],\"hint\":[1],\"name\":[513],\"value\":[520],\"invalid\":[4],\"standalone\":[4],\"groupDisabled\":[4,\"group-disabled\"]}]]],[\"b2b-headline\",[[1,\"b2b-headline\",{\"size\":[1],\"align\":[1],\"noMargin\":[4,\"no-margin\"]}]]],[\"b2b-input_2\",[[1,\"b2b-input\",{\"label\":[1],\"required\":[516],\"type\":[513],\"disabled\":[516],\"invalid\":[516],\"placeholder\":[513],\"value\":[1537],\"name\":[513],\"hint\":[1],\"error\":[1],\"autofocus\":[4],\"groupDisabled\":[4,\"group-disabled\"],\"inputTextAlign\":[1,\"input-text-align\"],\"hasFocus\":[32],\"hasTextPrefix\":[32],\"hasTextSuffix\":[32],\"setFocus\":[64],\"clearInput\":[64]}],[0,\"b2b-input-list-option\",{\"option\":[1]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"b2b-date-picker-days_5\",[[1,\"b2b-date-picker-header\",{\"selectedMonth\":[2,\"selected-month\"],\"selectedYear\":[2,\"selected-year\"],\"language\":[1]}],[1,\"b2b-date-picker-days\",{\"selectedMonth\":[2,\"selected-month\"],\"selectedYear\":[2,\"selected-year\"],\"selectedDay\":[2,\"selected-day\"],\"disablePastDates\":[4,\"disable-past-dates\"],\"disableFutureDates\":[4,\"disable-future-dates\"],\"disableWeekends\":[4,\"disable-weekends\"],\"disableDates\":[16],\"disableEvery\":[16],\"disableDatesUntil\":[16],\"disableDatesFrom\":[16],\"disabled\":[32]},[[0,\"keydown\",\"handleKeyDown\"]]],[1,\"b2b-date-picker-days-header\",{\"language\":[1]}],[1,\"b2b-date-picker-months\",{\"selectedMonth\":[2,\"selected-month\"],\"language\":[1]},[[0,\"keydown\",\"handleKeyDown\"]]],[1,\"b2b-date-picker-years\",{\"selectedYear\":[2,\"selected-year\"],\"yearsRange\":[32]},[[0,\"keydown\",\"handleKeyDown\"]]]]],[\"b2b-button_2\",[[1,\"b2b-button\",{\"variant\":[1],\"type\":[1],\"size\":[1],\"width\":[1],\"disabled\":[516],\"loading\":[4],\"active\":[516],\"href\":[1],\"target\":[1],\"download\":[1],\"groupDisabled\":[4,\"group-disabled\"],\"setFocus\":[64]},[[2,\"click\",\"handleHostClick\"]]],[1,\"b2b-spinner\",{\"size\":[1],\"color\":[1]}]]],[\"b2b-icon-100\",[[1,\"b2b-icon-100\",{\"icon\":[1],\"color\":[1],\"size\":[2],\"clickable\":[4],\"focusable\":[4],\"pathData\":[32]},null,{\"icon\":[\"loadIconPathData\"]}]]],[\"b2b-input-label\",[[1,\"b2b-input-label\",{\"required\":[4],\"disabled\":[4]}]]]]"), options);
20
20
  });
@@ -205,6 +205,23 @@ const B2bDatePicker = class {
205
205
  handleDisableDaysChanged(newVal) {
206
206
  this.normalizedDisableEvery = this.normalizeArrayInput(newVal);
207
207
  }
208
+ handleDisableDatesUntilChanged(newVal) {
209
+ this.normalizedDisableDatesUntil =
210
+ this.normalizeDisableDatesUntilAndFrom(newVal);
211
+ }
212
+ handleDisableDatesFromChanged(newVal) {
213
+ this.normalizedDisableDatesFrom =
214
+ this.normalizeDisableDatesUntilAndFrom(newVal);
215
+ }
216
+ handleDisablePastDatesChanged(newVal) {
217
+ this.disablePastDates = newVal;
218
+ }
219
+ handleDisableFutureDatesChanged(newVal) {
220
+ this.disableFutureDates = newVal;
221
+ }
222
+ handleDisableWeekendsChanged(newVal) {
223
+ this.disableWeekends = newVal;
224
+ }
208
225
  parseDateInput(dateString) {
209
226
  const regex = /^(0[1-9]|[12][0-9]|3[01])\.(0[1-9]|1[0-2])\.\d{4}$/;
210
227
  if (dateString == '' || dateString === undefined) {
@@ -398,7 +415,12 @@ const B2bDatePicker = class {
398
415
  get host() { return getElement(this); }
399
416
  static get watchers() { return {
400
417
  "disableDates": ["handleDisableDatesChanged"],
401
- "disableDays": ["handleDisableDaysChanged"]
418
+ "disableDays": ["handleDisableDaysChanged"],
419
+ "disableDatesUntil": ["handleDisableDatesUntilChanged"],
420
+ "disableDatesFrom": ["handleDisableDatesFromChanged"],
421
+ "disablePastDates": ["handleDisablePastDatesChanged"],
422
+ "disableFutureDates": ["handleDisableFutureDatesChanged"],
423
+ "disableWeekends": ["handleDisableWeekendsChanged"]
402
424
  }; }
403
425
  };
404
426
  B2bDatePicker.style = B2bDatePickerStyle0;
@@ -91,27 +91,14 @@ const DropdownComponent = class {
91
91
  this.selectedValue = this.placeholderValue || '';
92
92
  this.selectedText = '';
93
93
  }
94
- refreshOptions() {
95
- const optionElements = Array.from(this.hostElement.querySelectorAll('option'));
96
- this.options = optionElements.map(option => {
97
- var _a;
98
- return ({
99
- value: option.getAttribute('value') || '',
100
- label: ((_a = option.textContent) === null || _a === void 0 ? void 0 : _a.trim()) || '',
101
- selected: option.hasAttribute('selected'),
102
- disabled: option.hasAttribute('disabled'),
103
- });
104
- });
105
- }
106
94
  componentDidLoad() {
107
95
  this.initializeOptions();
108
96
  this.updateTruncatedText();
109
97
  document.addEventListener('click', this.onClickOutside);
110
98
  window.addEventListener('resize', this.updateTruncatedText);
111
- this.refreshOptions();
112
99
  if (typeof MutationObserver !== 'undefined') {
113
100
  this.mutationObserver = new MutationObserver(() => {
114
- this.refreshOptions();
101
+ this.initializeOptions();
115
102
  });
116
103
  this.mutationObserver.observe(this.hostElement, {
117
104
  childList: true,
@@ -137,8 +124,8 @@ const DropdownComponent = class {
137
124
  return ({
138
125
  value: opt.value,
139
126
  label: ((_a = opt.textContent) === null || _a === void 0 ? void 0 : _a.trim()) || '',
140
- selected: opt.hasAttribute('selected'),
141
- disabled: opt.hasAttribute('disabled'),
127
+ selected: opt.selected || opt.hasAttribute('selected'),
128
+ disabled: opt.disabled || opt.hasAttribute('disabled'),
142
129
  });
143
130
  });
144
131
  const selected = this.options.find(o => o.selected);
@@ -146,6 +133,7 @@ const DropdownComponent = class {
146
133
  this.selectedValue = selected.value;
147
134
  this.selectedText = selected.label;
148
135
  }
136
+ this.updateTruncatedText();
149
137
  }
150
138
  closeOtherDropdowns() {
151
139
  const others = document.querySelectorAll('b2b-dropdown');
@@ -158,11 +146,11 @@ const DropdownComponent = class {
158
146
  const hasError = this.invalid && !this.disabled;
159
147
  const showHint = this.hint && (!this.invalid || this.disabled);
160
148
  const showError = this.error && hasError;
161
- return (h(Host, { key: 'c637b01d1726e3986a086fda92e76baf3a4aebf3', class: {
149
+ return (h(Host, { key: 'a2b06d84969c61375e9768f7f6c268e33f3d3d3b', class: {
162
150
  'b2b-dropdown': true,
163
151
  'b2b-dropdown--error': hasError,
164
152
  'b2b-dropdown--disabled': this.disabled,
165
- } }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("div", { key: 'de226d45b1c2f01ab465c180c3adcd646d714a6d', class: "b2b-dropdown__wrapper", onFocus: this.onFocus, onBlur: this.onBlur }, h("div", { key: '4cbf77b6f513e0f00987ef7aa95b63377f8d2169', class: {
153
+ } }, this.label && (h("b2b-input-label", { id: this.name, required: this.required }, this.label)), h("div", { key: '22f461ff3cde097705ef0832fe24178678a5ac90', class: "b2b-dropdown__wrapper", onFocus: this.onFocus, onBlur: this.onBlur }, h("div", { key: '937e9b977f1259375cb86c8e7f96c62bad6dac2d', class: {
166
154
  'b2b-dropdown__select': true,
167
155
  'b2b-dropdown__select--open': this.isOpen,
168
156
  'b2b-dropdown__select--focused': this.focused,