@public-ui/hydrate 4.0.3-rc.1 → 4.0.3

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 (3) hide show
  1. package/dist/index.js +118 -183
  2. package/dist/index.mjs +118 -183
  3. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -146,7 +146,7 @@ function _mergeNamespaces(n, m) {
146
146
 
147
147
  const NAMESPACE = 'kolibri';
148
148
  const BUILD = /* kolibri */ { hydratedSelectorName: "hydrated", slotRelocation: true, state: true, updatable: true};
149
- const Env = /* kolibri */ {"kolibriVersion":"4.0.3-rc.1"};
149
+ const Env = /* kolibri */ {"kolibriVersion":"4.0.3"};
150
150
 
151
151
  function getDefaultExportFromCjs (x) {
152
152
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -2082,13 +2082,6 @@ const validateButtonType = (component, value) => {
2082
2082
  watchValidator(component, `_type`, (value) => typeof value === 'string' && buttonTypePropTypeOptions.includes(value), new Set([`KoliBriButtonType {${buttonTypePropTypeOptions.join(', ')}`]), value);
2083
2083
  };
2084
2084
 
2085
- const buttonVariantPropTypeOptions = ['primary', 'secondary', 'normal', 'tertiary', 'danger', 'ghost', 'custom'];
2086
- const validateButtonVariant = (component, value) => {
2087
- watchValidator(component, `_variant`, (value) => typeof value === 'string' && buttonVariantPropTypeOptions.includes(value), new Set([`KoliBriButtonVariant {${buttonVariantPropTypeOptions.join(', ')}`]), value, {
2088
- defaultValue: 'normal',
2089
- });
2090
- };
2091
-
2092
2085
  const validateChecked = (component, value) => {
2093
2086
  watchBoolean(component, '_checked', value);
2094
2087
  };
@@ -2735,6 +2728,14 @@ const validateAlertVariant = (component, value) => {
2735
2728
  watchValidator(component, '_variant', isAlertVariantPropType, new Set(alertVariantOptions), value);
2736
2729
  };
2737
2730
 
2731
+ const isSafeClassName = (value) => {
2732
+ var re = new RegExp('^[a-zA-Z][a-zA-Z0-9_-]{3,60}$');
2733
+ return typeof value === 'string' && re.test(value);
2734
+ };
2735
+ const validateVariantClassName = (component, value) => {
2736
+ watchValidator(component, '_variant', isSafeClassName, new Set(['^[a-zA-Z][a-zA-Z0-9_-]{3,60}$']), value);
2737
+ };
2738
+
2738
2739
  const inputCheckboxVariantOptions = ['button', 'default', 'switch'];
2739
2740
  const isInputCheckboxVariantPropType = (value) => {
2740
2741
  return typeof value === 'string' && inputCheckboxVariantOptions.includes(value);
@@ -6145,7 +6146,9 @@ const toVal = (mix) => {
6145
6146
  if (item) {
6146
6147
  const y = toVal(item);
6147
6148
  if (y) {
6148
- str && (str += ' ');
6149
+ if (str) {
6150
+ str += ' ';
6151
+ }
6149
6152
  str += y;
6150
6153
  }
6151
6154
  }
@@ -6154,7 +6157,9 @@ const toVal = (mix) => {
6154
6157
  else {
6155
6158
  for (const key in mix) {
6156
6159
  if (mix[key]) {
6157
- str && (str += ' ');
6160
+ if (str) {
6161
+ str += ' ';
6162
+ }
6158
6163
  str += key;
6159
6164
  }
6160
6165
  }
@@ -6168,7 +6173,9 @@ const clsx = (...args) => {
6168
6173
  if (arg) {
6169
6174
  const x = toVal(arg);
6170
6175
  if (x) {
6171
- str && (str += ' ');
6176
+ if (str) {
6177
+ str += ' ';
6178
+ }
6172
6179
  str += x;
6173
6180
  }
6174
6181
  }
@@ -18610,12 +18617,12 @@ class KolBadge {
18610
18617
  }
18611
18618
  render() {
18612
18619
  const hasSmartButton = typeof this.state._smartButton === 'object' && this.state._smartButton !== null;
18613
- return (hAsync("span", { key: '9cbe34bd551362c6f631d403b69387255d2725ee', class: clsx('kol-badge', {
18620
+ return (hAsync("span", { key: '52d5943769be151313c36cf4e733e287c17b2d1c', class: clsx('kol-badge', {
18614
18621
  'kol-badge--has-smart-button': typeof this.state._smartButton === 'object' && this.state._smartButton !== null,
18615
18622
  }), style: {
18616
18623
  backgroundColor: this.bgColorStr,
18617
18624
  color: this.colorStr,
18618
- } }, hAsync(KolSpanFc, { key: '93b443c1d823a5e440814f05a4b7c7da054caff2', class: "kol-badge__label", id: hasSmartButton ? this.id : undefined, allowMarkdown: true, icons: this.state._icons, label: this._label }), hasSmartButton && this.renderSmartButton(this.state._smartButton)));
18625
+ } }, hAsync(KolSpanFc, { key: '0d12965762f74d81a8ad94fa2e155a762960ec8d', class: "kol-badge__label", id: hasSmartButton ? this.id : undefined, allowMarkdown: true, icons: this.state._icons, label: this._label }), hasSmartButton && this.renderSmartButton(this.state._smartButton)));
18619
18626
  }
18620
18627
  validateIcons(value) {
18621
18628
  validateIcons(this, value);
@@ -18767,7 +18774,7 @@ class KolButton {
18767
18774
  return Promise.resolve((_a = this.buttonWcRef) === null || _a === void 0 ? void 0 : _a.focus());
18768
18775
  }
18769
18776
  render() {
18770
- return (hAsync(KolButtonWcTag, { key: 'da0026c93b776bb768294b66041779e638ee9d45', ref: this.catchRef, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _inline: this._inline, _label: this._label, _name: this._name, _on: this._on, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, hAsync("slot", { key: '53ac495c38ac5b4f799319cb4304662399b4eca6', name: "expert", slot: "expert" })));
18777
+ return (hAsync(KolButtonWcTag, { key: 'fe6afdaca4a57dc2e7a3e49944231c30cfafe1e4', ref: this.catchRef, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _inline: this._inline, _label: this._label, _name: this._name, _on: this._on, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, hAsync("slot", { key: '375996d22e09b3068d52eff2d3f833c08732b069', name: "expert", slot: "expert" })));
18771
18778
  }
18772
18779
  static get style() { return {
18773
18780
  default: defaultStyleCss$H
@@ -18785,7 +18792,6 @@ class KolButton {
18785
18792
  "_disabled": [4],
18786
18793
  "_hideLabel": [4, "_hide-label"],
18787
18794
  "_icons": [1],
18788
- "_id": [1],
18789
18795
  "_inline": [4],
18790
18796
  "_label": [1],
18791
18797
  "_name": [1],
@@ -18828,7 +18834,7 @@ class KolButtonLink {
18828
18834
  return Promise.resolve((_a = this.buttonWcRef) === null || _a === void 0 ? void 0 : _a.focus());
18829
18835
  }
18830
18836
  render() {
18831
- return (hAsync(KolButtonWcTag, { key: '4f24a85aab00b98b53b93aa18f9050cfd58d37c3', ref: this.catchRef, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _inline: this._inline, _label: this._label, _name: this._name, _on: this._on, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value }, hAsync("slot", { key: '4282c9c9226bc23d50f97a63477354872fa77f42', name: "expert", slot: "expert" })));
18837
+ return (hAsync(KolButtonWcTag, { key: 'a2c848b3dd301fc345b257e472025d598241fd3e', ref: this.catchRef, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _inline: this._inline, _label: this._label, _name: this._name, _on: this._on, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, hAsync("slot", { key: '35770be517dc2b461efec7c21b1811d6edf3ab91', name: "expert", slot: "expert" })));
18832
18838
  }
18833
18839
  static get style() { return {
18834
18840
  default: defaultStyleCss$G
@@ -18845,7 +18851,6 @@ class KolButtonLink {
18845
18851
  "_disabled": [4],
18846
18852
  "_hideLabel": [4, "_hide-label"],
18847
18853
  "_icons": [1],
18848
- "_id": [1],
18849
18854
  "_inline": [4],
18850
18855
  "_label": [1],
18851
18856
  "_name": [1],
@@ -18856,6 +18861,7 @@ class KolButtonLink {
18856
18861
  "_tooltipAlign": [1, "_tooltip-align"],
18857
18862
  "_type": [1],
18858
18863
  "_value": [8],
18864
+ "_variant": [1],
18859
18865
  "getValue": [64],
18860
18866
  "focus": [64]
18861
18867
  },
@@ -18913,7 +18919,7 @@ const propagateResetEventToForm = (options = {}) => {
18913
18919
  setEventTarget(event, KoliBriDevHelper.querySelector('form', form));
18914
18920
  const kolForm = form;
18915
18921
  if (typeof ((_a = kolForm._on) === null || _a === void 0 ? void 0 : _a.onReset) === 'function') {
18916
- typeof ((_b = kolForm._on) === null || _b === void 0 ? void 0 : _b.onReset(event));
18922
+ (_b = kolForm._on) === null || _b === void 0 ? void 0 : _b.onReset(event);
18917
18923
  }
18918
18924
  }
18919
18925
  }
@@ -19141,14 +19147,14 @@ class KolButtonWc {
19141
19147
  const badgeText = this.state._accessKey || this.state._shortKey;
19142
19148
  const isDisabled = this.state._disabled === true;
19143
19149
  const hideLabel = this.state._hideLabel === true;
19144
- return (hAsync(Host, { key: '4acaf70bc26886e46e360e49035823cf343d89ef' }, hAsync("button", { key: '9d26032100b9d0c7a8e62c59975db64f42874fd6', ref: (ref) => (this.buttonRef = ref), accessKey: this.state._accessKey, "aria-controls": this.state._ariaControls, "aria-description": ariaDescription || undefined, "aria-expanded": mapBoolean2String(this.state._ariaExpanded), "aria-haspopup": this._ariaHasPopup, "aria-keyshortcuts": this.state._shortKey, "aria-label": hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, "aria-selected": mapStringOrBoolean2String(this.state._ariaSelected), class: clsx('kol-button', {
19150
+ return (hAsync(Host, { key: '9c26b6174fedb3fcc1f1d3cd34e8bb95a78bab7f' }, hAsync("button", { key: 'c28349752715c55e6a340c44bd5cf845b0e28fc7', ref: (ref) => (this.buttonRef = ref), accessKey: this.state._accessKey, "aria-controls": this.state._ariaControls, "aria-description": ariaDescription || undefined, "aria-expanded": mapBoolean2String(this.state._ariaExpanded), "aria-haspopup": this._ariaHasPopup, "aria-keyshortcuts": this.state._shortKey, "aria-label": hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, "aria-selected": mapStringOrBoolean2String(this.state._ariaSelected), class: clsx('kol-button', {
19145
19151
  'kol-button--disabled': isDisabled,
19146
19152
  [`kol-button--${this.state._variant}`]: this.state._variant !== 'custom',
19147
19153
  'kol-button--inline': this.state._inline === true,
19148
19154
  'kol-button--standalone': this.state._inline === false,
19149
19155
  'kol-button--hide-label': hideLabel,
19150
19156
  [this.state._customClass]: this.state._variant === 'custom' && typeof this.state._customClass === 'string' && this.state._customClass.length > 0,
19151
- }), disabled: isDisabled, id: this.state._id, name: this.state._name, onClick: this.onClick, onMouseDown: this.onMouseDown, role: this.state._role, tabIndex: this.state._tabIndex, type: this.state._type }, hAsync(KolSpanFc, { key: 'ab3e331576541fc15d399bd08add5668dec7ac29', class: "kol-button__text", badgeText: badgeText, icons: this.state._icons, hideLabel: hideLabel, label: hasExpertSlot ? '' : this.state._label }, hAsync("slot", { key: 'd92826212d0564e2e1a4b8d123f2a83630ed67ec', name: "expert", slot: "expert" }))), hideLabel && (hAsync(KolTooltipWcTag, { key: 'af783d14e3f4014591177acc6fb00b6e0d69b74b', ref: (ref) => (this.tooltipRef = ref), "aria-hidden": "true", hidden: hasExpertSlot, class: "kol-button__tooltip", _badgeText: badgeText, _align: this.state._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' }))));
19157
+ }), disabled: isDisabled, id: this.state._id, name: this.state._name, onClick: this.onClick, onMouseDown: this.onMouseDown, role: this.state._role, tabIndex: this.state._tabIndex, type: this.state._type }, hAsync(KolSpanFc, { key: '451a17c0f75959c08c03da79c47bcdd40c5f78c5', class: "kol-button__text", badgeText: badgeText, icons: this.state._icons, hideLabel: hideLabel, label: hasExpertSlot ? '' : this.state._label }, hAsync("slot", { key: 'f3eeed29378d95c06789f00308321147e222a3e6', name: "expert", slot: "expert" }))), hideLabel && (hAsync(KolTooltipWcTag, { key: '7d799a434d077183dc75ffce496ee155301fc7e4', ref: (ref) => (this.tooltipRef = ref), "aria-hidden": "true", hidden: hasExpertSlot, class: "kol-button__tooltip", _badgeText: badgeText, _align: this.state._tooltipAlign, _label: typeof this.state._label === 'string' ? this.state._label : '' }))));
19152
19158
  }
19153
19159
  constructor(hostRef) {
19154
19160
  registerInstance(this, hostRef);
@@ -19192,7 +19198,6 @@ class KolButtonWc {
19192
19198
  this._inline = false;
19193
19199
  this._tooltipAlign = 'top';
19194
19200
  this._type = 'button';
19195
- this._variant = 'normal';
19196
19201
  this.state = {
19197
19202
  _icons: {},
19198
19203
  _label: '',
@@ -19272,8 +19277,8 @@ class KolButtonWc {
19272
19277
  setState(this, '_value', value);
19273
19278
  this.controller.setFormAssociatedValue(this.state._value);
19274
19279
  }
19275
- validateButtonVariant(value) {
19276
- validateButtonVariant(this, value);
19280
+ validateVariant(value) {
19281
+ validateVariantClassName(this, value);
19277
19282
  }
19278
19283
  componentWillLoad() {
19279
19284
  this.validateAccessKey(this._accessKey);
@@ -19297,7 +19302,7 @@ class KolButtonWc {
19297
19302
  this.validateTooltipAlign(this._tooltipAlign);
19298
19303
  this.validateType(this._type);
19299
19304
  this.validateValue(this._value);
19300
- this.validateButtonVariant(this._variant);
19305
+ this.validateVariant(this._variant);
19301
19306
  validateAccessAndShortKey(this._accessKey, this._shortKey);
19302
19307
  }
19303
19308
  get host() { return getElement(this); }
@@ -19323,7 +19328,7 @@ class KolButtonWc {
19323
19328
  "_tooltipAlign": ["validateTooltipAlign"],
19324
19329
  "_type": ["validateType"],
19325
19330
  "_value": ["validateValue"],
19326
- "_variant": ["validateButtonVariant"]
19331
+ "_variant": ["validateVariant"]
19327
19332
  }; }
19328
19333
  static get cmpMeta() { return {
19329
19334
  "$flags$": 260,
@@ -19678,8 +19683,7 @@ const CustomSuggestionsOptionFc = ({ disabled, index, ref, selected, onClick, on
19678
19683
  return text;
19679
19684
  const regex = new RegExp(`(${searchTerm.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')})`, 'gi');
19680
19685
  const parts = text.split(regex);
19681
- parts[1] = hAsync("mark", null, parts[1]);
19682
- return parts;
19686
+ return parts.map((part, partIndex) => (partIndex % 2 === 1 ? hAsync("mark", null, part) : part));
19683
19687
  };
19684
19688
  return (hAsync("li", { id: `option-${index}`, key: `-${index}`, ref: ref, "data-index": index, tabIndex: -1, role: "option", "aria-selected": selected ? 'true' : undefined, "aria-disabled": disabled ? 'true' : undefined, onClick: onClick, onMouseOver: onMouseOver, onFocus: onFocus, class: clsx('kol-custom-suggestions-option', { 'kol-custom-suggestions-option--disabled': disabled }), onKeyDown: onKeyDown }, hAsync("span", null, highlightSearchTerm(String(option), searchTerm || ''))));
19685
19689
  };
@@ -19760,12 +19764,6 @@ class InputController extends ControlledInputController {
19760
19764
  validateHint(value) {
19761
19765
  validateHint(this.component, value);
19762
19766
  }
19763
- validateId(value) {
19764
- watchString(this.component, '_id', value, { minLength: 1 });
19765
- if (value === '' || typeof value === 'undefined') {
19766
- devHint(`A unique ID on the input fields is not strictly required, but it might be relevant for E2E tests.`);
19767
- }
19768
- }
19769
19767
  validateLabel(value) {
19770
19768
  validateLabelWithExpertSlot(this.component, value, {
19771
19769
  required: true,
@@ -19805,7 +19803,6 @@ class InputController extends ControlledInputController {
19805
19803
  this.validateHideMsg(this.component._hideMsg);
19806
19804
  this.validateHideLabel(this.component._hideLabel);
19807
19805
  this.validateHint(this.component._hint);
19808
- this.validateId(this.component._id);
19809
19806
  this.validateLabel(this.component._label);
19810
19807
  this.validateShortKey(this.component._shortKey);
19811
19808
  this.validateSmartButton(this.component._smartButton);
@@ -20072,15 +20069,15 @@ class KolCombobox {
20072
20069
  }
20073
20070
  render() {
20074
20071
  const isDisabled = this.state._disabled === true;
20075
- return (hAsync(FormFieldStateWrapper, Object.assign({ key: '9f475f1063af21278d7bf528f48e452e381698b5' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: 'd95db4eaffa977c1215a3fb5bbf9c144cdecc41a', state: this.state }, hAsync("div", { key: 'ede069e1f41dbc5e1ca2fe4d788f6768b34fed29', class: "kol-combobox__group" }, hAsync(InputStateWrapper, Object.assign({ key: '91cd146fd875ed6241c54d6284d206b18348d904' }, this.getInputProps())), this.state._value && this.state._hasClearButton && (hAsync(KolButtonWcTag, { key: 'a8324c50d267ec3bc2f42d8408d86dbf30913ecf', _icons: "kolicon-cross", _label: this.translateDeleteSelection, _hideLabel: true, _variant: "ghost", _disabled: isDisabled, "data-testid": "combobox-delete", class: clsx('kol-combobox__delete', {
20072
+ return (hAsync(FormFieldStateWrapper, Object.assign({ key: 'c8bb3a42b48cf0fce6270aca0b957783faaad8fb' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: '3f205b2f94f3a3e54bf00ebb1b734bbc70b24343', state: this.state }, hAsync("div", { key: 'e2725023fb2affbddc40777e99968a829b64501f', class: "kol-combobox__group" }, hAsync(InputStateWrapper, Object.assign({ key: 'da9beffc01bc96c5dfe51c28540bfc55ad7d0b23' }, this.getInputProps())), this.state._value && this.state._hasClearButton && (hAsync(KolButtonWcTag, { key: '2c143034148a6c58a86e213f1f2e2849b09a90c1', _icons: "kolicon-cross", _label: this.translateDeleteSelection, _hideLabel: true, _variant: "ghost", _disabled: isDisabled, "data-testid": "combobox-delete", class: clsx('kol-combobox__delete', {
20076
20073
  'kol-combobox__delete--disabled': isDisabled,
20077
20074
  }), _on: {
20078
20075
  onClick: () => {
20079
20076
  this.clearSelection();
20080
20077
  },
20081
- } })), hAsync(KolIconTag, { key: '3cb2036a8ddee0289391c5a53ffa0b0c9f0641f1', _icons: "kolicon-chevron-down", _label: "", class: clsx('kol-custom-suggestions-toggle', {
20078
+ } })), hAsync(KolIconTag, { key: '5162eb09c62d31099e4159cdae84b5b0f47dfab6', _icons: "kolicon-chevron-down", _label: "", class: clsx('kol-custom-suggestions-toggle', {
20082
20079
  'kol-custom-suggestions-toggle--disabled': isDisabled,
20083
- }), onClick: this.toggleListbox.bind(this) })), hAsync(CustomSuggestionsOptionsGroupFc, { key: 'fcd7efbffefb3fe128b043e722b98a7e0871ff42', blockSuggestionMouseOver: this.blockSuggestionMouseOver, onKeyDown: this.handleKeyDownDropdown.bind(this), hidden: !this._isOpen || isDisabled }, Array.isArray(this._filteredSuggestions) &&
20080
+ }), onClick: this.toggleListbox.bind(this) })), hAsync(CustomSuggestionsOptionsGroupFc, { key: '073bc3a3eccb2e5fa42bade96396972ec299b95f', blockSuggestionMouseOver: this.blockSuggestionMouseOver, onKeyDown: this.handleKeyDownDropdown.bind(this), hidden: !this._isOpen || isDisabled }, Array.isArray(this._filteredSuggestions) &&
20084
20081
  this._filteredSuggestions.length > 0 &&
20085
20082
  this._filteredSuggestions.map((option, index) => (hAsync(CustomSuggestionsOptionFc, { disabled: false, index: index, option: option, searchTerm: this.state._value, ref: (el) => {
20086
20083
  if (el)
@@ -20265,9 +20262,6 @@ class KolCombobox {
20265
20262
  validateIcons(value) {
20266
20263
  this.controller.validateIcons(value);
20267
20264
  }
20268
- validateId(value) {
20269
- this.controller.validateId(value);
20270
- }
20271
20265
  validateLabel(value) {
20272
20266
  this.controller.validateLabel(value);
20273
20267
  }
@@ -20345,7 +20339,6 @@ class KolCombobox {
20345
20339
  "_hideLabel": ["validateHideLabel"],
20346
20340
  "_hint": ["validateHint"],
20347
20341
  "_icons": ["validateIcons"],
20348
- "_id": ["validateId"],
20349
20342
  "_label": ["validateLabel"],
20350
20343
  "_msg": ["validateMsg"],
20351
20344
  "_name": ["validateName"],
@@ -20372,7 +20365,6 @@ class KolCombobox {
20372
20365
  "_hideLabel": [4, "_hide-label"],
20373
20366
  "_hint": [1],
20374
20367
  "_icons": [1],
20375
- "_id": [1],
20376
20368
  "_label": [1],
20377
20369
  "_msg": [1],
20378
20370
  "_name": [1],
@@ -20712,7 +20704,7 @@ class KolDrawer {
20712
20704
  } }, hAsync("div", { class: "kol-drawer__content" }, hAsync("slot", null))));
20713
20705
  }
20714
20706
  render() {
20715
- return (hAsync(Host, { key: '1beca595204dc0017f31d21fd66f6f9094bbad1e', class: "kol-drawer" }, hAsync("dialog", { key: '5121d04ad8940c0a0eeab3da9deca52ef853a37b', "aria-label": this.state._label, class: "kol-drawer__dialog", onCancel: handleCancelOverlay, ref: this.getRef }, this.renderDialogContent())));
20707
+ return (hAsync(Host, { key: '55a5a4b9532c8a02329e9b0b67a2183655143fd4', class: "kol-drawer" }, hAsync("dialog", { key: 'fbc41355c0d2c16f0edfae36c8282a3caff5059b', "aria-label": this.state._label, class: "kol-drawer__dialog", onCancel: handleCancelOverlay, ref: this.getRef }, this.renderDialogContent())));
20716
20708
  }
20717
20709
  validateLabel(value) {
20718
20710
  validateLabel(this, value, {
@@ -21000,7 +20992,7 @@ const bem = c();
21000
20992
  const BEM_CLASS_ICON = bem('kol-icon');
21001
20993
  const BEM_CLASS_ICON__ICON = bem('kol-icon', 'icon');
21002
20994
 
21003
- const defaultStyleCss$y = "/* forward the rem function */\n@font-face {\n font-family: \"kolicons\";\n src: url(\"kolicons.eot?t=1769961101048\"); /* IE9*/\n src: url(\"kolicons.eot?t=1769961101048#iefix\") format(\"embedded-opentype\"), url(\"kolicons.woff2?t=1769961101048\") format(\"woff2\"), url(\"kolicons.woff?t=1769961101048\") format(\"woff\"), url(\"kolicons.ttf?t=1769961101048\") format(\"truetype\"), url(\"kolicons.svg?t=1769961101048#kolicons\") format(\"svg\"); /* iOS 4.1- */\n}\n[class^=kolicon-], [class*=\" kolicon-\"] {\n font-family: \"kolicons\";\n font-size: inherit;\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.kolicon-alert-error::before {\n content: \"\\ea01\";\n}\n\n.kolicon-alert-info::before {\n content: \"\\ea02\";\n}\n\n.kolicon-alert-success::before {\n content: \"\\ea03\";\n}\n\n.kolicon-alert-warning::before {\n content: \"\\ea04\";\n}\n\n.kolicon-check::before {\n content: \"\\ea05\";\n}\n\n.kolicon-chevron-double-left::before {\n content: \"\\ea06\";\n}\n\n.kolicon-chevron-double-right::before {\n content: \"\\ea07\";\n}\n\n.kolicon-chevron-down::before {\n content: \"\\ea08\";\n}\n\n.kolicon-chevron-left::before {\n content: \"\\ea09\";\n}\n\n.kolicon-chevron-right::before {\n content: \"\\ea0a\";\n}\n\n.kolicon-chevron-up::before {\n content: \"\\ea0b\";\n}\n\n.kolicon-cogwheel::before {\n content: \"\\ea0c\";\n}\n\n.kolicon-cross::before {\n content: \"\\ea0d\";\n}\n\n.kolicon-eye-closed::before {\n content: \"\\ea0e\";\n}\n\n.kolicon-eye::before {\n content: \"\\ea0f\";\n}\n\n.kolicon-house::before {\n content: \"\\ea10\";\n}\n\n.kolicon-kolibri::before {\n content: \"\\ea11\";\n}\n\n.kolicon-link-external::before {\n content: \"\\ea12\";\n}\n\n.kolicon-link::before {\n content: \"\\ea13\";\n}\n\n.kolicon-minus::before {\n content: \"\\ea14\";\n}\n\n.kolicon-plus::before {\n content: \"\\ea15\";\n}\n\n.kolicon-settings::before {\n content: \"\\ea16\";\n}\n\n.kolicon-sort-asc::before {\n content: \"\\ea17\";\n}\n\n.kolicon-sort-desc::before {\n content: \"\\ea18\";\n}\n\n.kolicon-sort-neutral::before {\n content: \"\\ea19\";\n}\n\n.kolicon-version::before {\n content: \"\\ea1a\";\n}\n\n@layer kol-component {\n /* :host implicitly inherits font-size, see below */\n :host {\n color: inherit;\n display: contents;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n}";
20995
+ const defaultStyleCss$y = "/* forward the rem function */\n@font-face {\n font-family: \"kolicons\";\n src: url(\"kolicons.eot?t=1770450415065\"); /* IE9*/\n src: url(\"kolicons.eot?t=1770450415065#iefix\") format(\"embedded-opentype\"), url(\"kolicons.woff2?t=1770450415065\") format(\"woff2\"), url(\"kolicons.woff?t=1770450415065\") format(\"woff\"), url(\"kolicons.ttf?t=1770450415065\") format(\"truetype\"), url(\"kolicons.svg?t=1770450415065#kolicons\") format(\"svg\"); /* iOS 4.1- */\n}\n[class^=kolicon-], [class*=\" kolicon-\"] {\n font-family: \"kolicons\";\n font-size: inherit;\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.kolicon-alert-error::before {\n content: \"\\ea01\";\n}\n\n.kolicon-alert-info::before {\n content: \"\\ea02\";\n}\n\n.kolicon-alert-success::before {\n content: \"\\ea03\";\n}\n\n.kolicon-alert-warning::before {\n content: \"\\ea04\";\n}\n\n.kolicon-check::before {\n content: \"\\ea05\";\n}\n\n.kolicon-chevron-double-left::before {\n content: \"\\ea06\";\n}\n\n.kolicon-chevron-double-right::before {\n content: \"\\ea07\";\n}\n\n.kolicon-chevron-down::before {\n content: \"\\ea08\";\n}\n\n.kolicon-chevron-left::before {\n content: \"\\ea09\";\n}\n\n.kolicon-chevron-right::before {\n content: \"\\ea0a\";\n}\n\n.kolicon-chevron-up::before {\n content: \"\\ea0b\";\n}\n\n.kolicon-cogwheel::before {\n content: \"\\ea0c\";\n}\n\n.kolicon-cross::before {\n content: \"\\ea0d\";\n}\n\n.kolicon-eye-closed::before {\n content: \"\\ea0e\";\n}\n\n.kolicon-eye::before {\n content: \"\\ea0f\";\n}\n\n.kolicon-house::before {\n content: \"\\ea10\";\n}\n\n.kolicon-kolibri::before {\n content: \"\\ea11\";\n}\n\n.kolicon-link-external::before {\n content: \"\\ea12\";\n}\n\n.kolicon-link::before {\n content: \"\\ea13\";\n}\n\n.kolicon-minus::before {\n content: \"\\ea14\";\n}\n\n.kolicon-plus::before {\n content: \"\\ea15\";\n}\n\n.kolicon-settings::before {\n content: \"\\ea16\";\n}\n\n.kolicon-sort-asc::before {\n content: \"\\ea17\";\n}\n\n.kolicon-sort-desc::before {\n content: \"\\ea18\";\n}\n\n.kolicon-sort-neutral::before {\n content: \"\\ea19\";\n}\n\n.kolicon-version::before {\n content: \"\\ea1a\";\n}\n\n@layer kol-component {\n /* :host implicitly inherits font-size, see below */\n :host {\n color: inherit;\n display: contents;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n}";
21004
20996
 
21005
20997
  class KolIcon {
21006
20998
  render() {
@@ -21367,7 +21359,7 @@ const FieldControlStateWrapper = (_a, children) => {
21367
21359
  return (hAsync(KolFieldControlFc, Object.assign({}, getFieldControlProps(state), other), children));
21368
21360
  };
21369
21361
 
21370
- const defaultStyleCss$w = "/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text:not(:has(> [name]))::after,\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\"/\"\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-field-control {\n display: grid;\n min-height: var(--a11y-min-size);\n align-items: center;\n justify-content: left;\n grid-template-areas: \"input label\";\n grid-template-columns: auto 1fr;\n grid-template-rows: auto;\n }\n .kol-field-control:has(.kol-field-control__hint) {\n grid-template-areas: \"input label\" \"hint hint\";\n grid-template-columns: auto 1fr;\n grid-template-rows: auto auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label) {\n grid-template-areas: \"label input\";\n grid-template-columns: 1fr auto;\n grid-template-rows: auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) {\n grid-template-areas: \"label input\" \"hint hint\";\n grid-template-columns: 1fr auto;\n grid-template-rows: auto auto;\n }\n .kol-field-control__input {\n display: flex;\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-area: input;\n }\n .kol-field-control__label {\n display: flex;\n min-height: var(--a11y-min-size);\n flex-grow: 1;\n align-items: center;\n cursor: pointer;\n grid-area: label;\n }\n .kol-field-control__label--visually-hidden {\n height: 0;\n margin: 0;\n padding: 0;\n visibility: hidden;\n }\n .kol-field-control__label-text::after {\n content: \"\";\n }\n .kol-field-control__tooltip .span-label::after {\n content: \"\";\n }\n .kol-field-control__hint {\n grid-area: hint;\n }\n .kol-field-control--disabled .kol-field-control__label {\n opacity: 0.5;\n cursor: not-allowed;\n }\n .kol-field-control--required .kol-field-control__label-text::after {\n content: \"*\";\n }\n .kol-field-control--required .kol-field-control__tooltip .span-label::after {\n content: \"*\";\n }\n .kol-form-field {\n display: grid;\n }\n .kol-checkbox {\n display: flex;\n position: relative;\n align-items: center;\n cursor: pointer;\n }\n .kol-checkbox--disabled {\n cursor: not-allowed;\n }\n .kol-checkbox .kol-input {\n background-color: #fff;\n border-style: solid;\n margin: 0;\n border-width: 2px;\n appearance: none;\n cursor: inherit;\n }\n .kol-checkbox .kol-input:before {\n content: \"\";\n }\n /**\n * Variant: Checkbox\n */\n .kol-checkbox--variant-default {\n position: relative;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n justify-content: center;\n }\n .kol-checkbox--variant-default .kol-icon {\n display: flex;\n position: absolute;\n inset: auto;\n z-index: 1;\n pointer-events: none;\n }\n .kol-checkbox--variant-default .kol-icon::part(icon) {\n display: none;\n }\n .kol-checkbox--variant-default .kol-input {\n width: calc(22 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(22 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-checkbox--variant-default.kol-checkbox--checked .kol-icon::part(icon), .kol-checkbox--variant-default.kol-checkbox--indeterminate .kol-icon::part(icon) {\n display: block;\n }\n /**\n * Variant: Switch\n */\n .kol-checkbox--variant-switch {\n position: relative;\n }\n .kol-checkbox--variant-switch .kol-input {\n display: inline-block;\n position: relative;\n width: 3.2em;\n min-width: 3.2em;\n height: 1.7em;\n }\n .kol-checkbox--variant-switch .kol-input::before {\n background-color: #000;\n position: absolute;\n top: calc(0.25em - 2 * 1rem / var(--kolibri-root-font-size, 16));\n left: calc(0.25em - 2 * 1rem / var(--kolibri-root-font-size, 16));\n width: 1.2em;\n height: 1.2em;\n transition: 0.5s;\n }\n .kol-checkbox--variant-switch .kol-input:checked::before {\n transform: translateX(1.5em);\n }\n .kol-checkbox--variant-switch .kol-input:indeterminate::before {\n transform: translateX(0.75em);\n }\n .kol-checkbox--variant-switch .kol-icon {\n transform: translate(0, -50%);\n color: #000;\n display: flex;\n position: absolute;\n top: 50%;\n left: calc(4 * 1rem / var(--kolibri-root-font-size, 16));\n z-index: 1;\n width: 1.2em;\n height: 1.2em;\n align-items: center;\n justify-content: center;\n transition: 0.5s;\n }\n .kol-checkbox--variant-switch.kol-checkbox--checked .kol-icon {\n transform: translate(1.5em, -50%);\n }\n .kol-checkbox--variant-switch.kol-checkbox--indeterminate .kol-icon {\n transform: translate(0.75em, -50%);\n }\n /**\n * Variant: Button\n */\n .kol-checkbox--variant-button {\n min-width: var(--a11y-min-size);\n }\n .kol-checkbox--variant-button .kol-icon {\n display: flex;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n justify-content: center;\n }\n}";
21362
+ const defaultStyleCss$w = "/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-form-field {\n display: grid;\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text:not(:has(> [name]))::after,\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\"/\"\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-field-control {\n display: grid;\n min-height: var(--a11y-min-size);\n align-items: center;\n justify-content: left;\n grid-template-areas: \"input label\";\n grid-template-columns: auto 1fr;\n grid-template-rows: auto;\n }\n .kol-field-control:has(.kol-field-control__hint) {\n grid-template-areas: \"input label\" \"hint hint\";\n grid-template-columns: auto 1fr;\n grid-template-rows: auto auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label) {\n grid-template-areas: \"label input\";\n grid-template-columns: 1fr auto;\n grid-template-rows: auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) {\n grid-template-areas: \"label input\" \"hint hint\";\n grid-template-columns: 1fr auto;\n grid-template-rows: auto auto;\n }\n .kol-field-control__input {\n display: flex;\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-area: input;\n }\n .kol-field-control__label {\n display: flex;\n min-height: var(--a11y-min-size);\n flex-grow: 1;\n align-items: center;\n cursor: pointer;\n grid-area: label;\n }\n .kol-field-control__label--visually-hidden {\n height: 0;\n margin: 0;\n padding: 0;\n visibility: hidden;\n }\n .kol-field-control__hint {\n grid-area: hint;\n }\n .kol-field-control--disabled .kol-field-control__label {\n opacity: 0.5;\n cursor: not-allowed;\n }\n .kol-field-control--required .kol-field-control__label-text::after {\n content: \"*\"/\"\";\n }\n .kol-field-control--required .kol-tooltip .kol-span__label::after {\n content: \"*\"/\"\";\n }\n .kol-form-field {\n display: grid;\n }\n .kol-checkbox {\n display: flex;\n position: relative;\n align-items: center;\n cursor: pointer;\n }\n .kol-checkbox--disabled {\n cursor: not-allowed;\n }\n .kol-checkbox .kol-input {\n background-color: #fff;\n border-style: solid;\n margin: 0;\n border-width: 2px;\n appearance: none;\n cursor: inherit;\n }\n .kol-checkbox .kol-input:before {\n content: \"\";\n }\n /**\n * Variant: Checkbox\n */\n .kol-checkbox--variant-default {\n position: relative;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n justify-content: center;\n }\n .kol-checkbox--variant-default .kol-icon {\n display: flex;\n position: absolute;\n inset: auto;\n z-index: 1;\n pointer-events: none;\n }\n .kol-checkbox--variant-default .kol-icon::part(icon) {\n display: none;\n }\n .kol-checkbox--variant-default .kol-input {\n width: calc(22 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(22 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-checkbox--variant-default.kol-checkbox--checked .kol-icon::part(icon), .kol-checkbox--variant-default.kol-checkbox--indeterminate .kol-icon::part(icon) {\n display: block;\n }\n /**\n * Variant: Switch\n */\n .kol-checkbox--variant-switch {\n position: relative;\n }\n .kol-checkbox--variant-switch .kol-input {\n display: inline-block;\n position: relative;\n width: 3.2em;\n min-width: 3.2em;\n height: 1.7em;\n }\n .kol-checkbox--variant-switch .kol-input::before {\n background-color: #000;\n position: absolute;\n top: calc(0.25em - 2 * 1rem / var(--kolibri-root-font-size, 16));\n left: calc(0.25em - 2 * 1rem / var(--kolibri-root-font-size, 16));\n width: 1.2em;\n height: 1.2em;\n transition: 0.5s;\n }\n .kol-checkbox--variant-switch .kol-input:checked::before {\n transform: translateX(1.5em);\n }\n .kol-checkbox--variant-switch .kol-input:indeterminate::before {\n transform: translateX(0.75em);\n }\n .kol-checkbox--variant-switch .kol-icon {\n transform: translate(0, -50%);\n color: #000;\n display: flex;\n position: absolute;\n top: 50%;\n left: calc(4 * 1rem / var(--kolibri-root-font-size, 16));\n z-index: 1;\n width: 1.2em;\n height: 1.2em;\n align-items: center;\n justify-content: center;\n transition: 0.5s;\n }\n .kol-checkbox--variant-switch.kol-checkbox--checked .kol-icon {\n transform: translate(1.5em, -50%);\n }\n .kol-checkbox--variant-switch.kol-checkbox--indeterminate .kol-icon {\n transform: translate(0.75em, -50%);\n }\n /**\n * Variant: Button\n */\n .kol-checkbox--variant-button {\n min-width: var(--a11y-min-size);\n }\n .kol-checkbox--variant-button .kol-icon {\n display: flex;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n justify-content: center;\n }\n}";
21371
21363
 
21372
21364
  class KolInputCheckbox {
21373
21365
  getModelValue() {
@@ -21427,7 +21419,7 @@ class KolInputCheckbox {
21427
21419
  return this.state._icons.unchecked;
21428
21420
  }
21429
21421
  render() {
21430
- return (hAsync(FormFieldStateWrapper, Object.assign({ key: 'b75b6be38c5a5f5ece60043a310897279324cb79' }, this.getFormFieldProps(), { renderNoLabel: true }), hAsync(FieldControlStateWrapper, Object.assign({ key: 'e955b86b5a036152b65ed91ee9b57646b295921f' }, this.getFieldControlProps(), { renderNoHint: true }), hAsync(CheckboxStateWrapper, Object.assign({ key: '45ff982187208dfc210d296b7d655661533bd4ba' }, this.getInputProps())))));
21422
+ return (hAsync(FormFieldStateWrapper, Object.assign({ key: '9cb4ea4595cbb7011a66123fc074ab279b14059c' }, this.getFormFieldProps(), { renderNoLabel: true }), hAsync(FieldControlStateWrapper, Object.assign({ key: '140717882ed72ed287a076e4bf19a498ffbf841a' }, this.getFieldControlProps(), { renderNoHint: true }), hAsync(CheckboxStateWrapper, Object.assign({ key: 'ef6729b2d9c01fe6ff427a810ef23e47e1317da4' }, this.getInputProps())))));
21431
21423
  }
21432
21424
  constructor(hostRef) {
21433
21425
  registerInstance(this, hostRef);
@@ -21504,9 +21496,6 @@ class KolInputCheckbox {
21504
21496
  validateIcons(value) {
21505
21497
  this.controller.validateIcons(value);
21506
21498
  }
21507
- validateId(value) {
21508
- this.controller.validateId(value);
21509
- }
21510
21499
  validateIndeterminate(value) {
21511
21500
  this.controller.validateIndeterminate(value);
21512
21501
  }
@@ -21556,7 +21545,6 @@ class KolInputCheckbox {
21556
21545
  "_hideLabel": ["validateHideLabel"],
21557
21546
  "_hint": ["validateHint"],
21558
21547
  "_icons": ["validateIcons"],
21559
- "_id": ["validateId"],
21560
21548
  "_indeterminate": ["validateIndeterminate"],
21561
21549
  "_label": ["validateLabel"],
21562
21550
  "_labelAlign": ["validateLabelAlign"],
@@ -21584,7 +21572,6 @@ class KolInputCheckbox {
21584
21572
  "_hideLabel": [4, "_hide-label"],
21585
21573
  "_hint": [1],
21586
21574
  "_icons": [1],
21587
- "_id": [1],
21588
21575
  "_indeterminate": [1540],
21589
21576
  "_label": [1],
21590
21577
  "_labelAlign": [1, "_label-align"],
@@ -21661,11 +21648,10 @@ class KolInputColor {
21661
21648
  return Object.assign(Object.assign({}, this.getGenericInputProps()), { ref: this.catchRef, type: 'text', name: this.state._name ? `${this.state._name}-text` : undefined, list: this.hasSuggestions ? `${this.state._id}-list` : undefined, onInput: this.onTextInput });
21662
21649
  }
21663
21650
  getGenericInputProps() {
21664
- const _a = this.state, other = __rest(_a, ["_suggestions"]);
21665
- return Object.assign(Object.assign({ state: Object.assign(Object.assign({}, other), { _suggestions: [] }) }, this.controller.onFacade), { onBlur: this.onBlur, onFocus: this.onFocus });
21651
+ return Object.assign(Object.assign({ state: Object.assign(Object.assign({}, this.state), { _suggestions: [] }) }, this.controller.onFacade), { onBlur: this.onBlur, onFocus: this.onFocus });
21666
21652
  }
21667
21653
  render() {
21668
- return (hAsync(FormFieldStateWrapper, Object.assign({ key: 'd7f090923ef2b8df82a290ee833f2df41827e0a5' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: 'fb34b66b8a3e2b738126404f243f3e8d8f60518d', state: this.state, class: "kol-input-color__inputs-wrapper" }, hAsync("div", { key: '411e03c780c12cb63d2a8a845d98246dc6e1d988', class: "kol-input-color__inputs-wrapper" }, hAsync(InputStateWrapper, Object.assign({ key: '36e1c82a36db19f6c9d099bfa59c9a700bc9e52a', class: "kol-input-color__input kol-input-color__input--color" }, this.getInputColorProps())), hAsync(InputStateWrapper, Object.assign({ key: 'f78dc8e52058280fd86bc860ce5e5d6156fd2dc2', class: "kol-input-color__input kol-input-color__input--text" }, this.getInputTextProps()))))));
21654
+ return (hAsync(FormFieldStateWrapper, Object.assign({ key: '3243bc02f1c0aea966b3db17645a5100498cb6f8' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: 'c96f156fd9edab34a4eafbea0c88c1ea60a7bffd', state: this.state, class: "kol-input-color__inputs-wrapper" }, hAsync("div", { key: 'daf3ec033d4065bc5645a59b4ba966e06c8358b8', class: "kol-input-color__inputs-wrapper" }, hAsync(InputStateWrapper, Object.assign({ key: 'a53ae6de8dbc7d87779cd64a6e741bdd9a6f885d', class: "kol-input-color__input kol-input-color__input--color" }, this.getInputColorProps())), hAsync(InputStateWrapper, Object.assign({ key: '7db1b342cc845b7a58cbe83dcd77d0aff752a033', class: "kol-input-color__input kol-input-color__input--text" }, this.getInputTextProps()))))));
21669
21655
  }
21670
21656
  constructor(hostRef) {
21671
21657
  registerInstance(this, hostRef);
@@ -21742,9 +21728,6 @@ class KolInputColor {
21742
21728
  validateIcons(value) {
21743
21729
  this.controller.validateIcons(value);
21744
21730
  }
21745
- validateId(value) {
21746
- this.controller.validateId(value);
21747
- }
21748
21731
  validateLabel(value) {
21749
21732
  this.controller.validateLabel(value);
21750
21733
  }
@@ -21793,7 +21776,6 @@ class KolInputColor {
21793
21776
  "_hideLabel": ["validateHideLabel"],
21794
21777
  "_hint": ["validateHint"],
21795
21778
  "_icons": ["validateIcons"],
21796
- "_id": ["validateId"],
21797
21779
  "_label": ["validateLabel"],
21798
21780
  "_msg": ["validateMsg"],
21799
21781
  "_name": ["validateName"],
@@ -21819,7 +21801,6 @@ class KolInputColor {
21819
21801
  "_hideLabel": [4, "_hide-label"],
21820
21802
  "_hint": [1],
21821
21803
  "_icons": [1],
21822
- "_id": [1],
21823
21804
  "_label": [1],
21824
21805
  "_msg": [1],
21825
21806
  "_name": [1],
@@ -22040,7 +22021,7 @@ class KolInputDate {
22040
22021
  return Object.assign(Object.assign({ ref: this.catchRef, state: this.state }, this.controller.onFacade), { onBlur: this.onBlur, onFocus: this.onFocus, onKeyDown: this.onKeyDown, onChange: this.onChange, onInput: this.onInput });
22041
22022
  }
22042
22023
  render() {
22043
- return (hAsync(FormFieldStateWrapper, Object.assign({ key: '4b4891803eb722dba4574b64911897710577a804' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: '7d0134d611937cb79f9364c0a89a54412cad0c37', state: this.state }, hAsync(InputStateWrapper, Object.assign({ key: '5c1f13a3065f575154b09bb13c1e37b63b8c6158' }, this.getInputProps())))));
22024
+ return (hAsync(FormFieldStateWrapper, Object.assign({ key: '0796ce3b22bda0f3416cb29d0a3170cca7c10fd1' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: '6702162055e1337792e61069d1eceff3e41ecfcd', state: this.state }, hAsync(InputStateWrapper, Object.assign({ key: 'f7e3fc1329d316eea6f07450236c2b06f5cbd5e0' }, this.getInputProps())))));
22044
22025
  }
22045
22026
  constructor(hostRef) {
22046
22027
  registerInstance(this, hostRef);
@@ -22129,9 +22110,6 @@ class KolInputDate {
22129
22110
  validateIcons(value) {
22130
22111
  this.controller.validateIcons(value);
22131
22112
  }
22132
- validateId(value) {
22133
- this.controller.validateId(value);
22134
- }
22135
22113
  validateLabel(value) {
22136
22114
  this.controller.validateLabel(value);
22137
22115
  }
@@ -22203,7 +22181,6 @@ class KolInputDate {
22203
22181
  "_hideLabel": ["validateHideLabel"],
22204
22182
  "_hint": ["validateHint"],
22205
22183
  "_icons": ["validateIcons"],
22206
- "_id": ["validateId"],
22207
22184
  "_label": ["validateLabel"],
22208
22185
  "_max": ["validateMax"],
22209
22186
  "_min": ["validateMin"],
@@ -22235,7 +22212,6 @@ class KolInputDate {
22235
22212
  "_hideLabel": [4, "_hide-label"],
22236
22213
  "_hint": [1],
22237
22214
  "_icons": [1],
22238
- "_id": [1],
22239
22215
  "_label": [1],
22240
22216
  "_max": [1],
22241
22217
  "_min": [1],
@@ -22417,7 +22393,7 @@ class KolInputEmail {
22417
22393
  } });
22418
22394
  }
22419
22395
  render() {
22420
- return (hAsync(FormFieldStateWrapper, Object.assign({ key: '62800e02fc368b668cb22fe844d11d529d91a02b' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: 'd6b8495cda66ccb5ee38dbbac28af5f97b671092', state: this.state }, hAsync(InputStateWrapper, Object.assign({ key: 'e65b54e8913250a1be9db36e6a074f8129b75e63' }, this.getInputProps())))));
22396
+ return (hAsync(FormFieldStateWrapper, Object.assign({ key: 'a74d93b511883ac584088468690f5fedbd031608' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: '34041ab24cb5e2e3b095e468df4bd8978909803e', state: this.state }, hAsync(InputStateWrapper, Object.assign({ key: 'f34730d39d2fe689e1f9d52576bd5954c538a461' }, this.getInputProps())))));
22421
22397
  }
22422
22398
  constructor(hostRef) {
22423
22399
  registerInstance(this, hostRef);
@@ -22486,9 +22462,6 @@ class KolInputEmail {
22486
22462
  validateIcons(value) {
22487
22463
  this.controller.validateIcons(value);
22488
22464
  }
22489
- validateId(value) {
22490
- this.controller.validateId(value);
22491
- }
22492
22465
  validateLabel(value) {
22493
22466
  this.controller.validateLabel(value);
22494
22467
  }
@@ -22556,7 +22529,6 @@ class KolInputEmail {
22556
22529
  "_hasCounter": ["validateHasCounter"],
22557
22530
  "_hint": ["validateHint"],
22558
22531
  "_icons": ["validateIcons"],
22559
- "_id": ["validateId"],
22560
22532
  "_label": ["validateLabel"],
22561
22533
  "_maxLength": ["validateMaxLength"],
22562
22534
  "_msg": ["validateMsg"],
@@ -22591,7 +22563,6 @@ class KolInputEmail {
22591
22563
  "_hideLabel": [4, "_hide-label"],
22592
22564
  "_hint": [1],
22593
22565
  "_icons": [1],
22594
- "_id": [1],
22595
22566
  "_label": [1],
22596
22567
  "_maxLength": [2, "_max-length"],
22597
22568
  "_msg": [1],
@@ -22679,7 +22650,7 @@ class KolInputFile {
22679
22650
  } });
22680
22651
  }
22681
22652
  render() {
22682
- return (hAsync(FormFieldStateWrapper, Object.assign({ key: 'cfbf75242e0e46066d0026803ab13f2b604a3643' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: 'b5117f2d31a17029aea0e6ed654399566e54f7fe', state: this.state }, hAsync("span", { key: '92a4956b1f0176bc33fa0d91842efd72692a5517', class: clsx('kol-input-container__filename', { 'kol-input-container__filename--has-file': this.hasFileSelected }) }, this.filename), hAsync(InputStateWrapper, Object.assign({ key: 'ae5d084b5b681215ab64aaa3db39ecc3f9294d3b' }, this.getInputProps())), hAsync(KolButtonWcTag, { key: '93046b2fa5632567376dfad3c133fb9888b7c52f', class: "kol-input-container__button", _label: this.translateDataBrowseText, _variant: "primary", _disabled: this._disabled }))));
22653
+ return (hAsync(FormFieldStateWrapper, Object.assign({ key: '63d343b402d7cfc146a811c39872e5fd587c7c64' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: '6e01023b3bce319f1a99ba446d17112a711bd190', state: this.state }, hAsync("span", { key: '1e9586a529e89fc73157c89e741330c27d1e5e1f', class: clsx('kol-input-container__filename', { 'kol-input-container__filename--has-file': this.hasFileSelected }) }, this.filename), hAsync(InputStateWrapper, Object.assign({ key: '6c35160f133bbdf31580d2a03201c093d1b2d3cf' }, this.getInputProps())), hAsync(KolButtonWcTag, { key: 'ab5eda8e72de28216d586879b6f6a4bf6480b32e', class: "kol-input-container__button", _label: this.translateDataBrowseText, _variant: "primary", _disabled: this._disabled }))));
22683
22654
  }
22684
22655
  constructor(hostRef) {
22685
22656
  registerInstance(this, hostRef);
@@ -22770,9 +22741,6 @@ class KolInputFile {
22770
22741
  validateIcons(value) {
22771
22742
  this.controller.validateIcons(value);
22772
22743
  }
22773
- validateId(value) {
22774
- this.controller.validateId(value);
22775
- }
22776
22744
  validateLabel(value) {
22777
22745
  this.controller.validateLabel(value);
22778
22746
  }
@@ -22823,7 +22791,6 @@ class KolInputFile {
22823
22791
  "_hideLabel": ["validateHideLabel"],
22824
22792
  "_hint": ["validateHint"],
22825
22793
  "_icons": ["validateIcons"],
22826
- "_id": ["validateId"],
22827
22794
  "_label": ["validateLabel"],
22828
22795
  "_msg": ["validateMsg"],
22829
22796
  "_multiple": ["validateMultiple"],
@@ -22849,7 +22816,6 @@ class KolInputFile {
22849
22816
  "_hideLabel": [4, "_hide-label"],
22850
22817
  "_hint": [1],
22851
22818
  "_icons": [1],
22852
- "_id": [1],
22853
22819
  "_label": [1],
22854
22820
  "_msg": [1],
22855
22821
  "_multiple": [4],
@@ -22998,7 +22964,7 @@ class KolInputNumber {
22998
22964
  }, disabled: this._disabled || this._readOnly }, hAsync(KolIconFc, { icons: "kolicon-minus", label: "" })));
22999
22965
  }
23000
22966
  render() {
23001
- return (hAsync(FormFieldStateWrapper, Object.assign({ key: 'd4d4d45365ef9d07b466eba86ca2a5a20fe60fde' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: '827646034f19aa8a350576b3e7baf83f8f96bd49', state: this.state, startAdornment: this.getStepDownButton(), endAdornment: this.getStepUpButton() }, hAsync(InputStateWrapper, Object.assign({ key: '59e265072509f0d824b2a690caee424d0f276f56' }, this.getInputProps())))));
22967
+ return (hAsync(FormFieldStateWrapper, Object.assign({ key: '4ebc0414d323e7d17763b5cd53d039458cabc19d' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: 'cba1c0f8a529eb7a38d423abb530fb5f9ffdad85', state: this.state, startAdornment: this.getStepDownButton(), endAdornment: this.getStepUpButton() }, hAsync(InputStateWrapper, Object.assign({ key: 'bc5b9f46f144e5094d891d4b1356b34f30471949' }, this.getInputProps())))));
23002
22968
  }
23003
22969
  constructor(hostRef) {
23004
22970
  registerInstance(this, hostRef);
@@ -23068,9 +23034,6 @@ class KolInputNumber {
23068
23034
  validateIcons(value) {
23069
23035
  this.controller.validateIcons(value);
23070
23036
  }
23071
- validateId(value) {
23072
- this.controller.validateId(value);
23073
- }
23074
23037
  validateLabel(value) {
23075
23038
  this.controller.validateLabel(value);
23076
23039
  }
@@ -23140,7 +23103,6 @@ class KolInputNumber {
23140
23103
  "_hideLabel": ["validateHideLabel"],
23141
23104
  "_hint": ["validateHint"],
23142
23105
  "_icons": ["validateIcons"],
23143
- "_id": ["validateId"],
23144
23106
  "_label": ["validateLabel"],
23145
23107
  "_max": ["validateMax"],
23146
23108
  "_min": ["validateMin"],
@@ -23172,7 +23134,6 @@ class KolInputNumber {
23172
23134
  "_hideLabel": [4, "_hide-label"],
23173
23135
  "_hint": [1],
23174
23136
  "_icons": [1],
23175
- "_id": [1],
23176
23137
  "_label": [1],
23177
23138
  "_max": [8],
23178
23139
  "_min": [8],
@@ -23245,7 +23206,7 @@ class KolInputPassword {
23245
23206
  }, icon: `${this._passwordVisible ? 'kolicon-eye-closed' : 'kolicon-eye'}`, disabled: this._disabled }));
23246
23207
  }
23247
23208
  render() {
23248
- return (hAsync(FormFieldStateWrapper, Object.assign({ key: '64186b80f89fdf9a213f6cf9fe72ba7a993c9a43' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: '217482a4c81124771e2d80b75f90b320f9dda2d7', state: this.state, endAdornment: this.getShowPasswordButton() }, hAsync(InputStateWrapper, Object.assign({ key: '581449cc01d0315077ff66172fd05809260a676d' }, this.getInputProps())))));
23209
+ return (hAsync(FormFieldStateWrapper, Object.assign({ key: '57849dd5482b375f12f620e5b0fdc6dcc1856d79' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: 'b24be6351a6e1efdee07100907a4d42a391e33e1', state: this.state, endAdornment: this.getShowPasswordButton() }, hAsync(InputStateWrapper, Object.assign({ key: 'e02adcf7654df72cf2a4ce3972829057b7cc306b' }, this.getInputProps())))));
23249
23210
  }
23250
23211
  constructor(hostRef) {
23251
23212
  registerInstance(this, hostRef);
@@ -23326,9 +23287,6 @@ class KolInputPassword {
23326
23287
  validateIcons(value) {
23327
23288
  this.controller.validateIcons(value);
23328
23289
  }
23329
- validateId(value) {
23330
- this.controller.validateId(value);
23331
- }
23332
23290
  validateLabel(value) {
23333
23291
  this.controller.validateLabel(value);
23334
23292
  }
@@ -23389,7 +23347,6 @@ class KolInputPassword {
23389
23347
  "_hasCounter": ["validateHasCounter"],
23390
23348
  "_hint": ["validateHint"],
23391
23349
  "_icons": ["validateIcons"],
23392
- "_id": ["validateId"],
23393
23350
  "_label": ["validateLabel"],
23394
23351
  "_maxLength": ["validateMaxLength"],
23395
23352
  "_msg": ["validateMsg"],
@@ -23421,7 +23378,6 @@ class KolInputPassword {
23421
23378
  "_hideLabel": [4, "_hide-label"],
23422
23379
  "_hint": [1],
23423
23380
  "_icons": [1],
23424
- "_id": [1],
23425
23381
  "_label": [1],
23426
23382
  "_maxLength": [2, "_max-length"],
23427
23383
  "_msg": [1],
@@ -23488,7 +23444,7 @@ const RadioStateWrapper = (_a) => {
23488
23444
  return hAsync(RadioFc, Object.assign({ inputProps: getRadioProps(state, inputProps) }, other));
23489
23445
  };
23490
23446
 
23491
- const defaultStyleCss$p = "@charset \"UTF-8\";\n/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert :host {\n display: inline-block;\n }\n .kol-alert .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-alert .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"​\";\n }\n .kol-alert .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n display: flex;\n place-items: center;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-field-control {\n display: grid;\n min-height: var(--a11y-min-size);\n align-items: center;\n justify-content: left;\n grid-template-areas: \"input label\";\n grid-template-columns: auto 1fr;\n grid-template-rows: auto;\n }\n .kol-field-control:has(.kol-field-control__hint) {\n grid-template-areas: \"input label\" \"hint hint\";\n grid-template-columns: auto 1fr;\n grid-template-rows: auto auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label) {\n grid-template-areas: \"label input\";\n grid-template-columns: 1fr auto;\n grid-template-rows: auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) {\n grid-template-areas: \"label input\" \"hint hint\";\n grid-template-columns: 1fr auto;\n grid-template-rows: auto auto;\n }\n .kol-field-control__input {\n display: flex;\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-area: input;\n }\n .kol-field-control__label {\n display: flex;\n min-height: var(--a11y-min-size);\n flex-grow: 1;\n align-items: center;\n cursor: pointer;\n grid-area: label;\n }\n .kol-field-control__label--visually-hidden {\n height: 0;\n margin: 0;\n padding: 0;\n visibility: hidden;\n }\n .kol-field-control__label-text::after {\n content: \"\";\n }\n .kol-field-control__tooltip .span-label::after {\n content: \"\";\n }\n .kol-field-control__hint {\n grid-area: hint;\n }\n .kol-field-control--disabled .kol-field-control__label {\n opacity: 0.5;\n cursor: not-allowed;\n }\n .kol-field-control--required .kol-field-control__label-text::after {\n content: \"*\";\n }\n .kol-field-control--required .kol-field-control__tooltip .span-label::after {\n content: \"*\";\n }\n .kol-form-field {\n display: grid;\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text:not(:has(> [name]))::after,\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\"/\"\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-input-container {\n background-color: transparent;\n display: grid;\n width: 100%;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-template-columns: 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start:not(:empty)) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end:not(:empty)) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start:not(:empty)):has(> .kol-input-container__adornment--end:not(:empty)) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n min-height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-form-field {\n --border-width: 2px;\n --input-size: 1.5em;\n }\n .kol-form-field__label {\n display: contents;\n }\n .kol-form-field__input {\n display: flex;\n flex-direction: column;\n }\n .kol-form-field__input--orientation-horizontal {\n flex-direction: row;\n flex-wrap: wrap;\n align-items: flex-start;\n }\n .kol-form-field--disabled {\n opacity: unset;\n }\n .kol-input-radio {\n display: flex;\n position: relative;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n justify-content: center;\n cursor: pointer;\n }\n .kol-input-radio__input {\n border-style: solid;\n border-radius: 100%;\n display: flex;\n width: var(--input-size);\n min-width: var(--input-size);\n height: var(--input-size);\n min-height: var(--input-size);\n margin: 0;\n padding: 0;\n border-width: var(--border-width);\n appearance: none;\n cursor: pointer;\n }\n .kol-input-radio__input:before {\n border-radius: 100%;\n width: calc(var(--input-size) / 2);\n height: calc(var(--input-size) / 2);\n margin: auto;\n content: \"\";\n }\n .kol-input-radio__input:checked:before {\n background-color: #000;\n }\n @media (forced-colors: active) {\n .kol-input-radio__input:checked:before {\n /* Give it a visible background in forced colors mode */\n background-color: selectedItem !important;\n }\n }\n .kol-input-radio__input:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n .kol-input-radio--disabled {\n cursor: not-allowed;\n }\n}";
23447
+ const defaultStyleCss$p = "@charset \"UTF-8\";\n/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: lightgray;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n opacity: 0.5;\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n :host {\n display: block;\n }\n}\n@layer kol-component {\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: #000;\n background-color: #fff;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: #000;\n background-color: #fff;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-alert :host {\n display: inline-block;\n }\n .kol-alert .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-alert .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"​\";\n }\n .kol-alert .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-alert {\n display: grid;\n }\n .kol-alert__container {\n display: flex;\n place-items: center;\n }\n .kol-alert__container-content {\n flex-grow: 1;\n }\n .kol-alert__closer {\n /* Visible with forced colors */\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-field-control {\n display: grid;\n min-height: var(--a11y-min-size);\n align-items: center;\n justify-content: left;\n grid-template-areas: \"input label\";\n grid-template-columns: auto 1fr;\n grid-template-rows: auto;\n }\n .kol-field-control:has(.kol-field-control__hint) {\n grid-template-areas: \"input label\" \"hint hint\";\n grid-template-columns: auto 1fr;\n grid-template-rows: auto auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label) {\n grid-template-areas: \"label input\";\n grid-template-columns: 1fr auto;\n grid-template-rows: auto;\n }\n .kol-field-control--label-align-left:not(.kol-field-control--hide-label):has(.kol-field-control__hint) {\n grid-template-areas: \"label input\" \"hint hint\";\n grid-template-columns: 1fr auto;\n grid-template-rows: auto auto;\n }\n .kol-field-control__input {\n display: flex;\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-area: input;\n }\n .kol-field-control__label {\n display: flex;\n min-height: var(--a11y-min-size);\n flex-grow: 1;\n align-items: center;\n cursor: pointer;\n grid-area: label;\n }\n .kol-field-control__label--visually-hidden {\n height: 0;\n margin: 0;\n padding: 0;\n visibility: hidden;\n }\n .kol-field-control__hint {\n grid-area: hint;\n }\n .kol-field-control--disabled .kol-field-control__label {\n opacity: 0.5;\n cursor: not-allowed;\n }\n .kol-field-control--required .kol-field-control__label-text::after {\n content: \"*\"/\"\";\n }\n .kol-field-control--required .kol-tooltip .kol-span__label::after {\n content: \"*\"/\"\";\n }\n .kol-form-field {\n display: grid;\n }\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\n cursor: pointer;\n }\n .kol-form-field--disabled .kol-form-field__label {\n opacity: 0.5;\n }\n .kol-form-field--required .kol-form-field__label-text:not(:has(> [name]))::after,\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\n content: \"*\"/\"\";\n }\n .kol-form-field--disabled .kol-form-field__hint {\n opacity: 0.5;\n }\n .kol-input-container {\n background-color: transparent;\n display: grid;\n width: 100%;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n grid-template-columns: 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start:not(:empty)) {\n grid-template-columns: auto 1fr;\n }\n .kol-input-container:has(> .kol-input-container__adornment--end:not(:empty)) {\n grid-template-columns: 1fr auto;\n }\n .kol-input-container:has(> .kol-input-container__adornment--start:not(:empty)):has(> .kol-input-container__adornment--end:not(:empty)) {\n grid-template-columns: auto 1fr auto;\n }\n .kol-input-container__container {\n position: relative;\n }\n .kol-input-container__adornment {\n display: flex;\n align-items: center;\n }\n .kol-input-container__adornment .kol-icon {\n display: grid;\n min-height: var(--a11y-min-size);\n place-items: center;\n }\n .kol-form-field {\n --border-width: 2px;\n --input-size: 1.5em;\n }\n .kol-form-field__label {\n display: contents;\n }\n .kol-form-field__input {\n display: flex;\n flex-direction: column;\n }\n .kol-form-field__input--orientation-horizontal {\n flex-direction: row;\n flex-wrap: wrap;\n align-items: flex-start;\n }\n .kol-form-field--disabled {\n opacity: unset;\n }\n .kol-input-radio {\n display: flex;\n position: relative;\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n align-items: center;\n justify-content: center;\n cursor: pointer;\n }\n .kol-input-radio__input {\n border-style: solid;\n border-radius: 100%;\n display: flex;\n width: var(--input-size);\n min-width: var(--input-size);\n height: var(--input-size);\n min-height: var(--input-size);\n margin: 0;\n padding: 0;\n border-width: var(--border-width);\n appearance: none;\n cursor: pointer;\n }\n .kol-input-radio__input:before {\n border-radius: 100%;\n width: calc(var(--input-size) / 2);\n height: calc(var(--input-size) / 2);\n margin: auto;\n content: \"\";\n }\n .kol-input-radio__input:checked:before {\n background-color: #000;\n }\n @media (forced-colors: active) {\n .kol-input-radio__input:checked:before {\n /* Give it a visible background in forced colors mode */\n background-color: selectedItem !important;\n }\n }\n .kol-input-radio__input:disabled {\n opacity: 0.5;\n cursor: not-allowed;\n }\n .kol-input-radio--disabled {\n cursor: not-allowed;\n }\n}";
23492
23448
 
23493
23449
  class KolInputRadio {
23494
23450
  async getValue() {
@@ -23533,7 +23489,7 @@ class KolInputRadio {
23533
23489
  };
23534
23490
  }
23535
23491
  render() {
23536
- return (hAsync(FormFieldStateWrapper, Object.assign({ key: '801c017d83686f88baea74405e43bf8b6538321e' }, this.getFormFieldProps()), this.state._options.map((option, index) => this.renderOption(option, index))));
23492
+ return (hAsync(FormFieldStateWrapper, Object.assign({ key: 'abaeb85e7c44c82c0c638cd8dae368454e9565e2' }, this.getFormFieldProps()), this.state._options.map((option, index) => this.renderOption(option, index))));
23537
23493
  }
23538
23494
  calculateDisabled(option) {
23539
23495
  return Boolean(this.state._disabled) || Boolean(option.disabled);
@@ -23648,9 +23604,6 @@ class KolInputRadio {
23648
23604
  validateHint(value) {
23649
23605
  this.controller.validateHint(value);
23650
23606
  }
23651
- validateId(value) {
23652
- this.controller.validateId(value);
23653
- }
23654
23607
  validateLabel(value) {
23655
23608
  this.controller.validateLabel(value);
23656
23609
  }
@@ -23692,7 +23645,6 @@ class KolInputRadio {
23692
23645
  "_hideLabel": ["validateHideLabel"],
23693
23646
  "_hideMsg": ["validateHideMsg"],
23694
23647
  "_hint": ["validateHint"],
23695
- "_id": ["validateId"],
23696
23648
  "_label": ["validateLabel"],
23697
23649
  "_msg": ["validateMsg"],
23698
23650
  "_name": ["validateName"],
@@ -23715,7 +23667,6 @@ class KolInputRadio {
23715
23667
  "_hideMsg": [4, "_hide-msg"],
23716
23668
  "_hideLabel": [4, "_hide-label"],
23717
23669
  "_hint": [1],
23718
- "_id": [1],
23719
23670
  "_label": [1],
23720
23671
  "_msg": [1],
23721
23672
  "_name": [1],
@@ -23819,8 +23770,7 @@ class KolInputRange {
23819
23770
  };
23820
23771
  }
23821
23772
  getGenericInputProps() {
23822
- const _a = this.state, other = __rest(_a, ["_suggestions"]);
23823
- return Object.assign(Object.assign({ state: Object.assign(Object.assign({}, other), { _suggestions: [] }) }, this.controller.onFacade), { onChange: this.onChange, onInput: this.onInput, onFocus: (event) => {
23773
+ return Object.assign(Object.assign({ state: Object.assign(Object.assign({}, this.state), { _suggestions: [] }) }, this.controller.onFacade), { onChange: this.onChange, onInput: this.onInput, onFocus: (event) => {
23824
23774
  this.controller.onFacade.onFocus(event);
23825
23775
  this.inputHasFocus = true;
23826
23776
  }, onBlur: (event) => {
@@ -23849,7 +23799,7 @@ class KolInputRange {
23849
23799
  const inputsWrapperStyle = {
23850
23800
  '--kolibri-input-range--input-number--width': `calc(${String(this.state._max).length}ch + 2em)`,
23851
23801
  };
23852
- return (hAsync(FormFieldStateWrapper, Object.assign({ key: 'cc7929159d533db7b190d5e65050fb48aac99ed9' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: 'f786cc8ee3eb115af7c22593c6d4ead1a48c09bd', state: this.state }, hAsync("div", { key: 'aa329e5285e0a9bb3b70453c5e49395b1ea669ca', class: "kol-input-range__inputs-wrapper", style: inputsWrapperStyle }, hAsync(InputStateWrapper, Object.assign({ key: '482690b02083ef04f56ad1608663d847f50e19ae', class: "kol-input-range__input kol-input-range__input--range" }, this.getInputRangeProps())), hAsync(InputStateWrapper, Object.assign({ key: 'cc0077e8b35451502d83e43021ad48b9fb6b2ca5', class: "kol-input-range__input kol-input-range__input--number" }, this.getInputNumberProps()))), this.hasSuggestions && hAsync(SuggestionsFc, { key: 'c86709bb700c524b536ec80b78813bf1f5b4650c', id: this.state._id, suggestions: this.state._suggestions }))));
23802
+ return (hAsync(FormFieldStateWrapper, Object.assign({ key: '59b4f4f600171e6496415ce3dad4400607101f03' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: '80aac0e1ac4dab7e88fe7df636c2ee19905d42de', state: this.state }, hAsync("div", { key: '31ff63b9171895a796deff2111fb740a5b6d47f3', class: "kol-input-range__inputs-wrapper", style: inputsWrapperStyle }, hAsync(InputStateWrapper, Object.assign({ key: 'b444084a05e3a905034a2f4da9b3c7ea48277792', class: "kol-input-range__input kol-input-range__input--range" }, this.getInputRangeProps())), hAsync(InputStateWrapper, Object.assign({ key: '80433f1e6d5b97cffed870e604df9fcefdb605f0', class: "kol-input-range__input kol-input-range__input--number" }, this.getInputNumberProps()))), this.hasSuggestions && hAsync(SuggestionsFc, { key: 'eadfc636106eb9aa438b5be71e072547a9054e78', id: this.state._id, suggestions: this.state._suggestions }))));
23853
23803
  }
23854
23804
  constructor(hostRef) {
23855
23805
  registerInstance(this, hostRef);
@@ -23931,9 +23881,6 @@ class KolInputRange {
23931
23881
  validateIcons(value) {
23932
23882
  this.controller.validateIcons(value);
23933
23883
  }
23934
- validateId(value) {
23935
- this.controller.validateId(value);
23936
- }
23937
23884
  validateLabel(value) {
23938
23885
  this.controller.validateLabel(value);
23939
23886
  }
@@ -23989,7 +23936,6 @@ class KolInputRange {
23989
23936
  "_hideLabel": ["validateHideLabel"],
23990
23937
  "_hint": ["validateHint"],
23991
23938
  "_icons": ["validateIcons"],
23992
- "_id": ["validateId"],
23993
23939
  "_label": ["validateLabel"],
23994
23940
  "_max": ["validateMax"],
23995
23941
  "_min": ["validateMin"],
@@ -24017,7 +23963,6 @@ class KolInputRange {
24017
23963
  "_hideLabel": [4, "_hide-label"],
24018
23964
  "_hint": [1],
24019
23965
  "_icons": [1],
24020
- "_id": [1],
24021
23966
  "_label": [1],
24022
23967
  "_max": [8],
24023
23968
  "_min": [8],
@@ -24095,7 +24040,7 @@ class KolInputText {
24095
24040
  return Object.assign(Object.assign({ ref: this.catchRef, state: this.state, ariaDescribedBy }, this.controller.onFacade), { onBlur: this.onBlur, onChange: this.onChange, onFocus: this.onFocus, onInput: this.onInput, onKeyDown: this.onKeyDown });
24096
24041
  }
24097
24042
  render() {
24098
- return (hAsync(FormFieldStateWrapper, Object.assign({ key: '2187d319e64d34d12f947f9eba1fc4fc7c48caa6' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: 'dc0de2b6f377f0260e7a84d5e45e829edef1d3a9', state: this.state }, hAsync(InputStateWrapper, Object.assign({ key: 'fd5102bfae721b3efefdc94764843ac806494a64' }, this.getInputProps())))));
24043
+ return (hAsync(FormFieldStateWrapper, Object.assign({ key: '83e4d9964aa560e3fbbaba462572fee6fa2eae87' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: 'b3a68ff02445b1dc07c08ff4ef14e366ee6785a9', state: this.state }, hAsync(InputStateWrapper, Object.assign({ key: 'd1f60fdb8c4b47a9ead3415cbbf38fee000e27f3' }, this.getInputProps())))));
24099
24044
  }
24100
24045
  constructor(hostRef) {
24101
24046
  registerInstance(this, hostRef);
@@ -24185,9 +24130,6 @@ class KolInputText {
24185
24130
  validateIcons(value) {
24186
24131
  this.controller.validateIcons(value);
24187
24132
  }
24188
- validateId(value) {
24189
- this.controller.validateId(value);
24190
- }
24191
24133
  validateLabel(value) {
24192
24134
  this.controller.validateLabel(value);
24193
24135
  }
@@ -24258,7 +24200,6 @@ class KolInputText {
24258
24200
  "_hasCounter": ["validateHasCounter"],
24259
24201
  "_hint": ["validateHint"],
24260
24202
  "_icons": ["validateIcons"],
24261
- "_id": ["validateId"],
24262
24203
  "_label": ["validateLabel"],
24263
24204
  "_maxLength": ["validateMaxLength"],
24264
24205
  "_msg": ["validateMsg"],
@@ -24293,7 +24234,6 @@ class KolInputText {
24293
24234
  "_hideLabel": [4, "_hide-label"],
24294
24235
  "_hint": [1],
24295
24236
  "_icons": [1],
24296
- "_id": [1],
24297
24237
  "_label": [1],
24298
24238
  "_maxLength": [2, "_max-length"],
24299
24239
  "_msg": [1],
@@ -24418,7 +24358,7 @@ class KolLink {
24418
24358
  return Promise.resolve((_a = this.linkWcRef) === null || _a === void 0 ? void 0 : _a.focus());
24419
24359
  }
24420
24360
  render() {
24421
- return (hAsync(KolLinkWcTag, { key: '5e0f4af8177fdafc0ba16a394edc95f5d6893700', ref: this.catchRef, _accessKey: this._accessKey, _ariaCurrentValue: this._ariaCurrentValue, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _disabled: this._disabled, _download: this._download, _hideLabel: this._hideLabel, _href: this._href, _icons: this._icons, _inline: this._inline, _label: this._label, _on: this._on, _shortKey: this._shortKey, _target: this._target, _tooltipAlign: this._tooltipAlign }, hAsync("slot", { key: 'c8d72e1786756ae591534397e749430e1c45d875', name: "expert", slot: "expert" })));
24361
+ return (hAsync(KolLinkWcTag, { key: 'be163223b4f8210a4fbd74fb31a31886d88fe6bf', ref: this.catchRef, _accessKey: this._accessKey, _ariaCurrentValue: this._ariaCurrentValue, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _disabled: this._disabled, _download: this._download, _hideLabel: this._hideLabel, _href: this._href, _icons: this._icons, _inline: this._inline, _label: this._label, _on: this._on, _shortKey: this._shortKey, _target: this._target, _tooltipAlign: this._tooltipAlign, _variant: this._variant }, hAsync("slot", { key: 'c5330b14554582d446c547ec8c92371723428175', name: "expert", slot: "expert" })));
24422
24362
  }
24423
24363
  static get style() { return {
24424
24364
  default: defaultStyleCss$l
@@ -24444,6 +24384,7 @@ class KolLink {
24444
24384
  "_shortKey": [1, "_short-key"],
24445
24385
  "_target": [1],
24446
24386
  "_tooltipAlign": [1, "_tooltip-align"],
24387
+ "_variant": [1],
24447
24388
  "focus": [64]
24448
24389
  },
24449
24390
  "$listeners$": undefined,
@@ -24556,7 +24497,6 @@ class KolLinkWc {
24556
24497
  this._hideLabel = false;
24557
24498
  this._inline = true;
24558
24499
  this._tooltipAlign = 'right';
24559
- this._variant = 'normal';
24560
24500
  this.state = {
24561
24501
  _ariaCurrentValue: 'page',
24562
24502
  _href: '',
@@ -24572,17 +24512,17 @@ class KolLinkWc {
24572
24512
  const { isExternal, tagAttrs } = this.getRenderValues();
24573
24513
  const hasExpertSlot = showExpertSlot(this.state._label);
24574
24514
  const ariaDescription = (_a = this.state._ariaDescription) === null || _a === void 0 ? void 0 : _a.trim();
24575
- return (hAsync(Host, { key: '298b41cd96f03c37f968b5a44a996e820986e1a4' }, hAsync("a", Object.assign({ key: '3b61582b6b27bc01e723d9305fad4a6e74b82c6b', ref: this.catchRef }, tagAttrs, { accessKey: this.state._accessKey, "aria-current": this.state._ariaCurrent, "aria-controls": this.state._ariaControls, "aria-description": ariaDescription || undefined, "aria-disabled": this.state._disabled ? 'true' : undefined, "aria-expanded": typeof this.state._ariaExpanded === 'boolean' ? String(this.state._ariaExpanded) : undefined, "aria-owns": this.state._ariaOwns, "aria-label": this.state._hideLabel && typeof this.state._label === 'string'
24515
+ return (hAsync(Host, { key: '5bc1c1aed27fafcc28b8f6b1a117a123197c239b' }, hAsync("a", Object.assign({ key: '88edf125ebff91ac26d6a0a4dfd4cc65abcc53ac', ref: this.catchRef }, tagAttrs, { accessKey: this.state._accessKey, "aria-current": this.state._ariaCurrent, "aria-controls": this.state._ariaControls, "aria-description": ariaDescription || undefined, "aria-disabled": this.state._disabled ? 'true' : undefined, "aria-expanded": typeof this.state._ariaExpanded === 'boolean' ? String(this.state._ariaExpanded) : undefined, "aria-owns": this.state._ariaOwns, "aria-label": this.state._hideLabel && typeof this.state._label === 'string'
24576
24516
  ? `${this.state._label}${isExternal ? ` (${this.translateOpenLinkInTab})` : ''}`
24577
24517
  : undefined, "aria-keyshortcuts": this.state._shortKey, class: clsx('kol-link', {
24578
24518
  'kol-link--disabled': this.state._disabled === true,
24579
24519
  'kol-link--external-link': isExternal,
24580
24520
  'kol-link--hide-label': this.state._hideLabel === true,
24581
- [`kol-link--${this.state._variant}`]: this.state._variant !== 'custom',
24521
+ [`kol-link--${this.state._variant}`]: this.state._variant !== undefined,
24582
24522
  'kol-link--inline': this.state._inline === true,
24583
24523
  'kol-link--standalone': this.state._inline === false,
24584
24524
  [this.state._customClass]: this.state._variant === 'custom' && typeof this.state._customClass === 'string' && this.state._customClass.length > 0,
24585
- }) }, this.state._on, { onClick: this.onClick, onKeyPress: this.onClick, role: this.state._role, tabIndex: this.state._disabled ? -1 : this.state._tabIndex }), hAsync(KolSpanFc, { key: '7bc4ceb150254062c925b9fb3ace49e62019e8cc', class: "kol-link__text", badgeText: this.state._accessKey || this.state._shortKey, icons: this.state._icons, hideLabel: this.state._hideLabel, label: hasExpertSlot ? '' : this.state._label || this.state._href }, hAsync("slot", { key: 'b2a5ef85b0e0efaf0b7009a356861fd36597b281', name: "expert", slot: "expert" })), isExternal && (hAsync(KolIconTag, { key: '48f4f73fc0843db70cbb9652b328932d60938d06', class: "kol-link__icon", _label: this.state._hideLabel ? '' : this.translateOpenLinkInTab, _icons: 'kolicon-link-external', "aria-hidden": this.state._hideLabel }))), this.state._hideLabel === true && (hAsync(KolTooltipWcTag, { key: '56496c310828d905c04418d8e7c725f0e18b2be5', "aria-hidden": "true", class: "kol-link__tooltip", ref: (ref) => (this.tooltipRef = ref), hidden: hasExpertSlot, _badgeText: this.state._accessKey || this.state._shortKey, _align: this.state._tooltipAlign, _label: this.state._label || this.state._href }))));
24525
+ }) }, this.state._on, { onClick: this.onClick, onKeyPress: this.onClick, role: this.state._role, tabIndex: this.state._disabled ? -1 : this.state._tabIndex }), hAsync(KolSpanFc, { key: 'a4605feb901b02c7d759047d6d3de3876f1e5eae', class: "kol-link__text", badgeText: this.state._accessKey || this.state._shortKey, icons: this.state._icons, hideLabel: this.state._hideLabel, label: hasExpertSlot ? '' : this.state._label || this.state._href }, hAsync("slot", { key: '5452f09a70b82be732f45f4b716b8737fb2885af', name: "expert", slot: "expert" })), isExternal && (hAsync(KolIconTag, { key: '5e6d38a786d76b1398263521db26aa2d71bfbeec', class: "kol-link__icon", _label: this.state._hideLabel ? '' : this.translateOpenLinkInTab, _icons: 'kolicon-link-external', "aria-hidden": this.state._hideLabel }))), this.state._hideLabel === true && (hAsync(KolTooltipWcTag, { key: '6294da5cf66e516298cc40a663963bf28f88bec2', "aria-hidden": "true", class: "kol-link__tooltip", ref: (ref) => (this.tooltipRef = ref), hidden: hasExpertSlot, _badgeText: this.state._accessKey || this.state._shortKey, _align: this.state._tooltipAlign, _label: this.state._label || this.state._href }))));
24586
24526
  }
24587
24527
  validateAccessKey(value) {
24588
24528
  validateAccessKey(this, value);
@@ -24650,8 +24590,8 @@ class KolLinkWc {
24650
24590
  validateTooltipAlign(value) {
24651
24591
  validateTooltipAlign(this, value);
24652
24592
  }
24653
- validateButtonVariant(value) {
24654
- validateButtonVariant(this, value);
24593
+ validateVariantClassName(value) {
24594
+ validateVariantClassName(this, value);
24655
24595
  }
24656
24596
  componentWillLoad() {
24657
24597
  this.validateAccessKey(this._accessKey);
@@ -24674,7 +24614,7 @@ class KolLinkWc {
24674
24614
  this.validateTabIndex(this._tabIndex);
24675
24615
  this.validateTarget(this._target);
24676
24616
  this.validateTooltipAlign(this._tooltipAlign);
24677
- this.validateButtonVariant(this._variant);
24617
+ this.validateVariantClassName(this._variant);
24678
24618
  this.unsubscribeOnLocationChange = onLocationChange();
24679
24619
  validateAccessAndShortKey(this._accessKey, this._shortKey);
24680
24620
  }
@@ -24705,7 +24645,7 @@ class KolLinkWc {
24705
24645
  "_tabIndex": ["validateTabIndex"],
24706
24646
  "_target": ["validateTarget"],
24707
24647
  "_tooltipAlign": ["validateTooltipAlign"],
24708
- "_variant": ["validateButtonVariant"]
24648
+ "_variant": ["validateVariantClassName"]
24709
24649
  }; }
24710
24650
  static get cmpMeta() { return {
24711
24651
  "$flags$": 260,
@@ -24863,7 +24803,8 @@ class KolNav {
24863
24803
  }
24864
24804
  entry(collapsible, hasChildren, entry, expanded, ariaID) {
24865
24805
  var _a;
24866
- const icons = this.buildIconObject(collapsible && hasChildren, expanded, (_a = entry._icons) === null || _a === void 0 ? void 0 : _a.toString());
24806
+ const leftIcon = typeof entry._icons === 'string' ? entry._icons : typeof ((_a = entry._icons) === null || _a === void 0 ? void 0 : _a.left) === 'string' ? entry._icons.left : undefined;
24807
+ const icons = this.buildIconObject(collapsible && hasChildren, expanded, leftIcon);
24867
24808
  return (hAsync("div", { class: "kol-nav__entry-wrapper" }, entryIsLink(entry) ? (hAsync(KolLinkWcTag, Object.assign({ class: clsx('kol-nav__entry kol-nav__entry--link', {
24868
24809
  'kol-nav__entry--collapsible': collapsible,
24869
24810
  }) }, entry, { _hideLabel: this.state._hideLabel, _icons: icons, _ariaControls: collapsible && hasChildren && expanded ? ariaID : undefined, _ariaExpanded: collapsible && hasChildren ? expanded : undefined }))) : (hAsync(KolButtonWcTag, { class: clsx('kol-nav__entry kol-nav__entry--button', {
@@ -24911,9 +24852,9 @@ class KolNav {
24911
24852
  }
24912
24853
  render() {
24913
24854
  const collapsible = this.state._collapsible === true;
24914
- return (hAsync("div", { key: '111be4e9864592328f5b08a46d913475f671b825', class: clsx('kol-nav', {
24855
+ return (hAsync("div", { key: 'c852575ff15108d3cd685ce03da6e0184c8eb22d', class: clsx('kol-nav', {
24915
24856
  'kol-nav--is-compact': this.state._hideLabel,
24916
- }) }, hAsync("nav", { key: '96316e664f32288b8182fdf02bc86471202cd88d', "aria-label": this.state._label, class: "kol-nav__navigation", id: this.navId }, hAsync(this.linkList, { key: '11c51057c5d8e4d0533552976bc275ce7dd41b60', collapsible: collapsible, deep: 0, links: this.state._links, id: this.listId })), this.state._hasCompactButton && (hAsync("div", { key: 'ffb0c7f8d2a619b9f8d5d689589ad09c70457a3a', class: "kol-nav__compact" }, hAsync(KolButtonWcTag, { key: '730786a202e2801eda69f56ec99a4d9a96d99242', class: "kol-nav__toggle-button", _ariaControls: this.navId, _ariaExpanded: !this.state._hideLabel, _icons: this.state._hideLabel ? 'kolicon-chevron-right' : 'kolicon-chevron-left', _hideLabel: true, _label: translate(this.state._hideLabel ? 'kol-nav-maximize' : 'kol-nav-minimize'), _on: {
24857
+ }) }, hAsync("nav", { key: '1666047385272e4d0059a615a4d6a2fbd5554936', "aria-label": this.state._label, class: "kol-nav__navigation", id: this.navId }, hAsync(this.linkList, { key: '48c577561e0853e45a16051586c4e61af0b0df40', collapsible: collapsible, deep: 0, links: this.state._links, id: this.listId })), this.state._hasCompactButton && (hAsync("div", { key: 'ca5d9cd6fe73540c3f340367c917e4a7b050c0d9', class: "kol-nav__compact" }, hAsync(KolButtonWcTag, { key: 'f071101090334418db846ad71069f4246ac294fb', class: "kol-nav__toggle-button", _ariaControls: this.navId, _ariaExpanded: !this.state._hideLabel, _icons: this.state._hideLabel ? 'kolicon-chevron-right' : 'kolicon-chevron-left', _hideLabel: true, _label: translate(this.state._hideLabel ? 'kol-nav-maximize' : 'kol-nav-minimize'), _on: {
24917
24858
  onClick: () => {
24918
24859
  this.state = Object.assign(Object.assign({}, this.state), { _hideLabel: !this.state._hideLabel });
24919
24860
  },
@@ -25053,7 +24994,6 @@ const NUMBER_FORMATTER = new Intl.NumberFormat(userLanguage, {
25053
24994
  class KolPaginationWc {
25054
24995
  constructor(hostRef) {
25055
24996
  registerInstance(this, hostRef);
25056
- this.nonce = nonce();
25057
24997
  this.translatePageFirst = translate('kol-page-first');
25058
24998
  this.translatePageBack = translate('kol-page-back');
25059
24999
  this.translatePageNext = translate('kol-page-next');
@@ -25228,7 +25168,7 @@ class KolPaginationWc {
25228
25168
  end: this.getPageEnd(),
25229
25169
  total: this.state._max.toString(),
25230
25170
  },
25231
- })), hAsync("nav", { class: "kol-pagination__navigation", "aria-label": this.state._label }, hAsync("ul", { class: "kol-pagination__navigation-list" }, this.state._hasButtons.first && (hAsync("li", null, hAsync(KolButtonWcTag, { class: "kol-pagination__button kol-pagination__button--first", exportparts: "icon", _customClass: this.state._customClass, _disabled: this.state._page <= 1, _icons: leftDoubleArrowIcon, _hideLabel: true, _label: this.translatePageFirst, _on: this.onGoToFirst, _tooltipAlign: this.state._tooltipAlign }))), this.state._hasButtons.previous && (hAsync("li", null, hAsync(KolButtonWcTag, { class: "kol-pagination__button kol-pagination__button--previous", exportparts: "icon", _customClass: this.state._customClass, _disabled: this.state._page <= 1, _icons: leftSingleArrow, _hideLabel: true, _label: this.translatePageBack, _on: this.onGoBackward, _tooltipAlign: this.state._tooltipAlign }))), pageButtons, this.state._hasButtons.next && (hAsync("li", null, hAsync(KolButtonWcTag, { class: "kol-pagination__button kol-pagination__button--next", exportparts: "icon", _customClass: this.state._customClass, _disabled: count <= this.state._page, _icons: rightSingleArrowIcon, _hideLabel: true, _label: this.translatePageNext, _on: this.onGoForward, _tooltipAlign: this.state._tooltipAlign }))), this.state._hasButtons.last && (hAsync("li", null, hAsync(KolButtonWcTag, { class: "kol-pagination__button kol-pagination__button--last", exportparts: "icon", _customClass: this.state._customClass, _disabled: count <= this.state._page, _icons: rightDoubleArrowIcon, _hideLabel: true, _label: this.translatePageLast, _on: this.onGoToEnd, _tooltipAlign: this.state._tooltipAlign }))))), ((_a = this.state._pageSizeOptions) === null || _a === void 0 ? void 0 : _a.length) > 0 && (hAsync("div", { class: "page-size" }, hAsync(KolSelectWcTag, { class: "kol-pagination__page-size-select", _id: `pagination-size-${this.nonce}`, _label: this.translateEntriesPerSite, _options: this.state._pageSizeOptions, _on: {
25171
+ })), hAsync("nav", { class: "kol-pagination__navigation", "aria-label": this.state._label }, hAsync("ul", { class: "kol-pagination__navigation-list" }, this.state._hasButtons.first && (hAsync("li", null, hAsync(KolButtonWcTag, { class: "kol-pagination__button kol-pagination__button--first", exportparts: "icon", _customClass: this.state._customClass, _disabled: this.state._page <= 1, _icons: leftDoubleArrowIcon, _hideLabel: true, _label: this.translatePageFirst, _on: this.onGoToFirst, _tooltipAlign: this.state._tooltipAlign }))), this.state._hasButtons.previous && (hAsync("li", null, hAsync(KolButtonWcTag, { class: "kol-pagination__button kol-pagination__button--previous", exportparts: "icon", _customClass: this.state._customClass, _disabled: this.state._page <= 1, _icons: leftSingleArrow, _hideLabel: true, _label: this.translatePageBack, _on: this.onGoBackward, _tooltipAlign: this.state._tooltipAlign }))), pageButtons, this.state._hasButtons.next && (hAsync("li", null, hAsync(KolButtonWcTag, { class: "kol-pagination__button kol-pagination__button--next", exportparts: "icon", _customClass: this.state._customClass, _disabled: count <= this.state._page, _icons: rightSingleArrowIcon, _hideLabel: true, _label: this.translatePageNext, _on: this.onGoForward, _tooltipAlign: this.state._tooltipAlign }))), this.state._hasButtons.last && (hAsync("li", null, hAsync(KolButtonWcTag, { class: "kol-pagination__button kol-pagination__button--last", exportparts: "icon", _customClass: this.state._customClass, _disabled: count <= this.state._page, _icons: rightDoubleArrowIcon, _hideLabel: true, _label: this.translatePageLast, _on: this.onGoToEnd, _tooltipAlign: this.state._tooltipAlign }))))), ((_a = this.state._pageSizeOptions) === null || _a === void 0 ? void 0 : _a.length) > 0 && (hAsync("div", { class: "page-size" }, hAsync(KolSelectWcTag, { class: "kol-pagination__page-size-select", _label: this.translateEntriesPerSite, _options: this.state._pageSizeOptions, _on: {
25232
25172
  onChange: this.onChangePageSize,
25233
25173
  }, _value: this.state._pageSize })))));
25234
25174
  }
@@ -27290,7 +27230,7 @@ let KolPopoverButton$1 = class KolPopoverButton {
27290
27230
  return Promise.resolve((_a = this.ref) === null || _a === void 0 ? void 0 : _a.focus());
27291
27231
  }
27292
27232
  render() {
27293
- return (hAsync(KolPopoverButtonWcTag, { key: '8f5494e308245dc5cf00f3c44e76954dc1ccb8ba', ref: this.catchRef, _accessKey: this._accessKey, _ariaDescription: this._ariaDescription, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _inline: this._inline, _label: this._label, _name: this._name, _popoverAlign: this._popoverAlign, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, hAsync("slot", { key: '945bd61cfb5ba388bf76a9aaa44c4640cac733c6', name: "expert", slot: "expert" }), hAsync("slot", { key: '349bf90ff34df330916d1aad0a40c79cce1c32bc' })));
27233
+ return (hAsync(KolPopoverButtonWcTag, { key: '0ac44ca7c1b6c320a470df009ae392ee8c7974ae', ref: this.catchRef, _accessKey: this._accessKey, _ariaDescription: this._ariaDescription, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _inline: this._inline, _label: this._label, _name: this._name, _popoverAlign: this._popoverAlign, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, hAsync("slot", { key: 'db53f74d9def93f7a4f065052e6da644f8761559', name: "expert", slot: "expert" }), hAsync("slot", { key: 'f2a2a0ee7fd8765b8b51fc3b3ce4904a0fe474ee' })));
27294
27234
  }
27295
27235
  static get style() { return {
27296
27236
  default: defaultStyleCss$g
@@ -27306,7 +27246,6 @@ let KolPopoverButton$1 = class KolPopoverButton {
27306
27246
  "_hideLabel": [4, "_hide-label"],
27307
27247
  "_icons": [1],
27308
27248
  "_inline": [4],
27309
- "_id": [1],
27310
27249
  "_label": [1],
27311
27250
  "_name": [1],
27312
27251
  "_popoverAlign": [1, "_popover-align"],
@@ -27413,11 +27352,11 @@ class KolPopoverButton {
27413
27352
  (_c = this.cleanupAutoPositioning) === null || _c === void 0 ? void 0 : _c.call(this);
27414
27353
  }
27415
27354
  render() {
27416
- return (hAsync("div", { key: '461c28d3b262ad11fbad960bfbad5f2ec01ac4df', class: clsx('kol-popover-button', {
27355
+ return (hAsync("div", { key: '20a956409478664ea60fe7d2ea494f6b8ccd5759', class: clsx('kol-popover-button', {
27417
27356
  'kol-popover-button--open': this.popoverOpen,
27418
27357
  'kol-popover-button--inline': this.state._inline === true,
27419
27358
  'kol-popover-button--standalone': this.state._inline === false,
27420
- }) }, hAsync(KolButtonWcTag, { key: '8668f8c9574df5ab1a4a56107dac77f6181a9f76', _accessKey: this._accessKey, "_aria-controls": "popover", _ariaDescription: this._ariaDescription, _ariaExpanded: this.popoverOpen, _ariaHasPopup: 'dialog', _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _inline: this._inline, _label: this._label, _name: this._name, _on: this.on, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant, "data-testid": "popover-button", class: "kol-popover-button__button", ref: (element) => (this.refButton = element) }, hAsync("slot", { key: 'd6d0dee6d42dfe63e377083b2b948478d5ab850f', name: "expert", slot: "expert" })), hAsync("div", { key: '44304c30e01e933fdcc68df49ac967eccba158d5', ref: (element) => (this.refPopover = element), "data-testid": "popover-content", popover: "auto", id: "popover", class: "kol-popover-button__popover" }, hAsync("slot", { key: '0b319401e4a2254a3aa8eb053d3c1904ce9fdc3b' }))));
27359
+ }) }, hAsync(KolButtonWcTag, { key: '9d5b8055b14385030279aa062065bfb3b9d74b5d', _accessKey: this._accessKey, "_aria-controls": "popover", _ariaDescription: this._ariaDescription, _ariaExpanded: this.popoverOpen, _ariaHasPopup: 'dialog', _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _inline: this._inline, _label: this._label, _name: this._name, _on: this.on, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant, "data-testid": "popover-button", class: "kol-popover-button__button", ref: (element) => (this.refButton = element) }, hAsync("slot", { key: '000363d7f06a71ffe5b3287fb90e44d6d51f7e81', name: "expert", slot: "expert" })), hAsync("div", { key: 'c809a2731b0815d126884d6dffa3732d7731b92c', ref: (element) => (this.refPopover = element), "data-testid": "popover-content", popover: "auto", id: "popover", class: "kol-popover-button__popover" }, hAsync("slot", { key: '7cd06d9b8d84b0703888f54c8492153a84d643b3' }))));
27421
27360
  }
27422
27361
  validateInline(value) {
27423
27362
  validateInline(this, value, {
@@ -27666,7 +27605,7 @@ class KolSelect {
27666
27605
  return Promise.resolve((_a = this.selectWcRef) === null || _a === void 0 ? void 0 : _a.focus());
27667
27606
  }
27668
27607
  render() {
27669
- return (hAsync(Host, { key: 'a926c7058a8e4d63d2eac02fa4cfb0cc72613117', class: "kol-select" }, hAsync(KolSelectWcTag, { key: 'ecd27ebee8519a944361c7a0184f413f99d3c3ad', ref: this.catchRef, _accessKey: this._accessKey, _disabled: this._disabled, _hideLabel: this._hideLabel, _hint: this._hint, _icons: this._icons, _id: this._id, _label: this._label, _msg: this._msg, _multiple: this._multiple, _name: this._name, _on: this._on, _options: this._options, _required: this._required, _rows: this._rows, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _touched: this._touched, _value: this._value }, hAsync("slot", { key: 'eb93d88c9ed9dc97d1d14caac719a4760d7a6571', name: "expert", slot: "expert" }))));
27608
+ return (hAsync(Host, { key: 'ea64045ea2c60e04aac8fe61dba0eba7746c93f0', class: "kol-select" }, hAsync(KolSelectWcTag, { key: '4f9581cd0c2210eebc8aa35484c51212732458c7', ref: this.catchRef, _accessKey: this._accessKey, _disabled: this._disabled, _hideLabel: this._hideLabel, _hint: this._hint, _icons: this._icons, _label: this._label, _msg: this._msg, _multiple: this._multiple, _name: this._name, _on: this._on, _options: this._options, _required: this._required, _rows: this._rows, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _touched: this._touched, _value: this._value }, hAsync("slot", { key: '6586192c0532339bfb126915db7ef694dff59e2b', name: "expert", slot: "expert" }))));
27670
27609
  }
27671
27610
  static get style() { return {
27672
27611
  default: defaultStyleCss$d
@@ -27681,7 +27620,6 @@ class KolSelect {
27681
27620
  "_hideLabel": [4, "_hide-label"],
27682
27621
  "_hint": [1],
27683
27622
  "_icons": [1],
27684
- "_id": [1],
27685
27623
  "_label": [1],
27686
27624
  "_msg": [1],
27687
27625
  "_multiple": [4],
@@ -27925,11 +27863,11 @@ class KolSelectWc {
27925
27863
  } });
27926
27864
  }
27927
27865
  render() {
27928
- return (hAsync(FormFieldStateWrapper, Object.assign({ key: '0c18fd5bdce033342bb1588f4b71e11751873208' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: 'fe275b9f6d50e23bcbb62dccd4f108c0a15ce6f6', state: this.state }, hAsync("form", { key: 'd3e1661c2d0076a33d5ee6ad5e49607c1c954f55', onSubmit: (event) => {
27866
+ return (hAsync(FormFieldStateWrapper, Object.assign({ key: '783ae8765a903cd7b733dd3b2f616b5a84ce7378' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: '9bf4d862876bbf18b40921bd715e025ff1323c3f', state: this.state }, hAsync("form", { key: '06750f56e586430344314031d3a8b25f8669c7ba', onSubmit: (event) => {
27929
27867
  event.preventDefault();
27930
27868
  propagateSubmitEventToForm({
27931
27869
  form: this.host});
27932
- } }, hAsync("input", { key: '9add565ab20beee1e8af829754fcb826718968ac', type: "submit", hidden: true }), hAsync(SelectStateWrapper, Object.assign({ key: '8bc60a60e63113b369ba1bc4c473f1b31ec0475f' }, this.getSelectProps()))))));
27870
+ } }, hAsync("input", { key: '761992a87c4638c2a4b7282154cac30c66492331', type: "submit", hidden: true }), hAsync(SelectStateWrapper, Object.assign({ key: '36cbcbbcaef6b39a0a36c42bba3270ad873a244d' }, this.getSelectProps()))))));
27933
27871
  }
27934
27872
  constructor(hostRef) {
27935
27873
  registerInstance(this, hostRef);
@@ -27977,9 +27915,6 @@ class KolSelectWc {
27977
27915
  validateIcons(value) {
27978
27916
  this.controller.validateIcons(value);
27979
27917
  }
27980
- validateId(value) {
27981
- this.controller.validateId(value);
27982
- }
27983
27918
  validateLabel(value) {
27984
27919
  this.controller.validateLabel(value);
27985
27920
  }
@@ -28056,7 +27991,6 @@ class KolSelectWc {
28056
27991
  "_hideLabel": ["validateHideLabel"],
28057
27992
  "_hint": ["validateHint"],
28058
27993
  "_icons": ["validateIcons"],
28059
- "_id": ["validateId"],
28060
27994
  "_label": ["validateLabel"],
28061
27995
  "_msg": ["validateMsg"],
28062
27996
  "_multiple": ["validateMultiple"],
@@ -28081,7 +28015,6 @@ class KolSelectWc {
28081
28015
  "_hideLabel": [4, "_hide-label"],
28082
28016
  "_hint": [1],
28083
28017
  "_icons": [1],
28084
- "_id": [1],
28085
28018
  "_label": [1],
28086
28019
  "_msg": [1],
28087
28020
  "_multiple": [4],
@@ -28175,11 +28108,11 @@ class KolSingleSelect {
28175
28108
  if (matchingOption) {
28176
28109
  this.selectOption(matchingOption);
28177
28110
  }
28178
- else if (!this._isOpen) {
28111
+ else if (!this._isOpen && this._value) {
28179
28112
  this._inputValue = (_c = (_b = this.state._options) === null || _b === void 0 ? void 0 : _b.find((option) => option.value === this._value)) === null || _c === void 0 ? void 0 : _c.label;
28180
28113
  this._filteredOptions = [...this.state._options];
28181
28114
  }
28182
- if (event instanceof FocusEvent && event.view === window) {
28115
+ if (event instanceof FocusEvent && event.view === window && !this.isClearing) {
28183
28116
  this._isOpen = false;
28184
28117
  }
28185
28118
  }
@@ -28199,27 +28132,26 @@ class KolSingleSelect {
28199
28132
  return event;
28200
28133
  }
28201
28134
  clearSelection() {
28202
- const isDisabled = this.state._disabled === true;
28203
- if (isDisabled) {
28135
+ this.isClearing = true;
28136
+ if (this.state._disabled) {
28204
28137
  return;
28205
28138
  }
28206
- else {
28207
- const emptyValue = null;
28208
- this._focusedOptionIndex = -1;
28209
- this._value = emptyValue;
28210
- this._inputValue = '';
28211
- this._filteredOptions = [...this.state._options];
28212
- const inputEvent = this.createEventWithTarget('input', {
28213
- name: this.state._name,
28214
- value: emptyValue,
28215
- });
28216
- const changeEvent = this.createEventWithTarget('change', {
28217
- name: this.state._name,
28218
- value: emptyValue,
28219
- });
28220
- this.controller.onFacade.onInput(inputEvent, true, { value: emptyValue });
28221
- this.controller.onFacade.onChange(changeEvent, { value: emptyValue });
28222
- }
28139
+ const emptyValue = null;
28140
+ this._focusedOptionIndex = -1;
28141
+ this._value = emptyValue;
28142
+ this._inputValue = '';
28143
+ this._filteredOptions = [...this.state._options];
28144
+ const inputEvent = this.createEventWithTarget('input', {
28145
+ name: this.state._name,
28146
+ value: emptyValue,
28147
+ });
28148
+ const changeEvent = this.createEventWithTarget('change', {
28149
+ name: this.state._name,
28150
+ value: emptyValue,
28151
+ });
28152
+ this.controller.onFacade.onInput(inputEvent, true, { value: emptyValue });
28153
+ this.controller.onFacade.onChange(changeEvent, { value: emptyValue });
28154
+ this.isClearing = false;
28223
28155
  }
28224
28156
  selectOption(option) {
28225
28157
  var _a, _b;
@@ -28340,7 +28272,7 @@ class KolSingleSelect {
28340
28272
  render() {
28341
28273
  var _a;
28342
28274
  const isDisabled = this.state._disabled === true;
28343
- return (hAsync(FormFieldStateWrapper, Object.assign({ key: '73ea1344c5d4b02140e5ab603e3e02b9ab6f4127' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: '1db8b71a813e584b3eba6fff6bef21019da4aad0', state: this.state }, hAsync("div", { key: 'fba09b0a58a5dbc9204eee8611161a605a7656c5', class: "kol-single-select__group" }, hAsync(InputStateWrapper, Object.assign({ key: 'df180cf73b7a4bf5514ba373c11257ac2106954b' }, this.getInputProps())), this._inputValue && this.state._hasClearButton && (hAsync(KolButtonWcTag, { key: 'a380a14ad068a60f5f3822d3182cd20cb8e21204', _icons: "kolicon-cross", _label: this.translateDeleteSelection, _hideLabel: true, _variant: "ghost", _disabled: isDisabled, "data-testid": "single-select-delete", class: clsx('kol-single-select__delete', {
28275
+ return (hAsync(FormFieldStateWrapper, Object.assign({ key: '010b2e3d283d023a03f02b87c21d4951f6eac70d' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: '50cbe61571cc331d748c6a9c5a9f91d0633e2b07', state: this.state }, hAsync("div", { key: 'c769c010215b569c4f33ec886ac822aafba13749', class: "kol-single-select__group" }, hAsync(InputStateWrapper, Object.assign({ key: '4a5a9e6221af7252ff307c3592c6e531223fd2b8' }, this.getInputProps())), this._inputValue && this.state._hasClearButton && (hAsync(KolButtonWcTag, { key: '395e01a4d1ea4355c0db7feeaa10e0421d513e54', _icons: "kolicon-cross", _label: this.translateDeleteSelection, _hideLabel: true, _variant: "ghost", _disabled: isDisabled, "data-testid": "single-select-delete", class: clsx('kol-single-select__delete', {
28344
28276
  'kol-single-select__delete--disabled': isDisabled,
28345
28277
  }), _on: {
28346
28278
  onClick: () => {
@@ -28348,9 +28280,9 @@ class KolSingleSelect {
28348
28280
  this.clearSelection();
28349
28281
  (_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();
28350
28282
  },
28351
- } })), hAsync(KolIconTag, { key: '3dc2a1f77fcc30dd41702921331cfd4296f69c71', _icons: "kolicon-chevron-down", _label: "", class: clsx('kol-custom-suggestions-toggle', {
28283
+ } })), hAsync(KolIconTag, { key: '25991f7a780b9e3a987606a8bed5c052f156fcdd', _icons: "kolicon-chevron-down", _label: "", class: clsx('kol-custom-suggestions-toggle', {
28352
28284
  'kol-custom-suggestions-toggle--disabled': isDisabled,
28353
- }), onClick: this.toggleListbox.bind(this) })), hAsync(CustomSuggestionsOptionsGroupFc, { key: '0c4db60bb72ed3325453b7b1626c0bde8b0e3cdc', blockSuggestionMouseOver: this.blockSuggestionMouseOver, onKeyDown: this.handleKeyDownDropdown.bind(this), style: { '--visible-options': `${(_a = this._rows) !== null && _a !== void 0 ? _a : 5}` }, hidden: !this._isOpen || isDisabled }, Array.isArray(this._filteredOptions) && this._filteredOptions.length > 0 ? (this._filteredOptions.map((option, index) => (hAsync(CustomSuggestionsOptionFc, { index: index, option: option.label, searchTerm: this._inputValue, ref: (el) => {
28285
+ }), onClick: this.toggleListbox.bind(this) })), hAsync(CustomSuggestionsOptionsGroupFc, { key: 'd3f0d07878c90554c452c1de165c9c441360d5e0', blockSuggestionMouseOver: this.blockSuggestionMouseOver, onKeyDown: this.handleKeyDownDropdown.bind(this), style: { '--visible-options': `${(_a = this._rows) !== null && _a !== void 0 ? _a : 5}` }, hidden: !this._isOpen || isDisabled }, Array.isArray(this._filteredOptions) && this._filteredOptions.length > 0 ? (this._filteredOptions.map((option, index) => (hAsync(CustomSuggestionsOptionFc, { index: index, option: option.label, searchTerm: this._inputValue, ref: (el) => {
28354
28286
  if (el)
28355
28287
  this.refOptions[index] = el;
28356
28288
  }, selected: this._value === option.value, disabled: option.disabled ? true : false, onClick: (event) => {
@@ -28485,6 +28417,7 @@ class KolSingleSelect {
28485
28417
  this.refOptions = [];
28486
28418
  this.translateDeleteSelection = translate('kol-delete-selection');
28487
28419
  this.translateNoResultsMessage = translate('kol-no-results-message');
28420
+ this.isClearing = false;
28488
28421
  this.catchRef = (ref) => {
28489
28422
  this.refInput = ref;
28490
28423
  };
@@ -28556,9 +28489,6 @@ class KolSingleSelect {
28556
28489
  validateIcons(value) {
28557
28490
  this.controller.validateIcons(value);
28558
28491
  }
28559
- validateId(value) {
28560
- this.controller.validateId(value);
28561
- }
28562
28492
  validateLabel(value) {
28563
28493
  this.controller.validateLabel(value);
28564
28494
  }
@@ -28640,7 +28570,6 @@ class KolSingleSelect {
28640
28570
  "_hideLabel": ["validateHideLabel"],
28641
28571
  "_hint": ["validateHint"],
28642
28572
  "_icons": ["validateIcons"],
28643
- "_id": ["validateId"],
28644
28573
  "_label": ["validateLabel"],
28645
28574
  "_msg": ["validateMsg"],
28646
28575
  "_name": ["validateName"],
@@ -28668,7 +28597,6 @@ class KolSingleSelect {
28668
28597
  "_hideLabel": [4, "_hide-label"],
28669
28598
  "_hint": [1],
28670
28599
  "_icons": [1],
28671
- "_id": [1],
28672
28600
  "_label": [1],
28673
28601
  "_msg": [1],
28674
28602
  "_name": [1],
@@ -28871,10 +28799,10 @@ class KolSplitButton {
28871
28799
  }
28872
28800
  render() {
28873
28801
  const i18nDropdownLabel = 'kol-split-button-dropdown-label';
28874
- return (hAsync("div", { key: '5a243be782c854c759a1e649624435137918b698', class: "kol-split-button" }, hAsync("div", { key: '98eae8fe12b95afa454c6b788020f7a56d592425', class: "kol-split-button__root" }, hAsync(KolButtonWcTag, { key: '95f25dfbd1205a7aed9a47871840627a9350bd0c', class: clsx('kol-split-button__button', {
28802
+ return (hAsync("div", { key: '5a243be782c854c759a1e649624435137918b698', class: "kol-split-button" }, hAsync("div", { key: '98eae8fe12b95afa454c6b788020f7a56d592425', class: "kol-split-button__root" }, hAsync(KolButtonWcTag, { key: 'af489d5bc7083cd84e4b03e2d04477af977ef083', class: clsx('kol-split-button__button', {
28875
28803
  [this._variant]: this._variant !== 'custom',
28876
28804
  [this._customClass]: this._variant === 'custom' && typeof this._customClass === 'string' && this._customClass.length > 0,
28877
- }), ref: this.catchPrimaryRef, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _icons: this._icons, _id: this._id, _hideLabel: this._hideLabel, _label: this._label, _name: this._name, _on: this.clickButtonHandler, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }), hAsync("div", { key: 'ca4441f753f5068f6dc766e7c4d4ae192a67e523', class: "kol-split-button__horizontal-line" }), hAsync(KolButtonWcTag, { key: 'e6607ad89e417102a9e9ad30ca678dc164b0b3d8', class: "kol-split-button__secondary-button", _disabled: this._disabled, _hideLabel: true, _icons: "kolicon-chevron-down", _label: this.state._show ? translate(`${i18nDropdownLabel}-close`) : translate(`${i18nDropdownLabel}-open`), _on: this.clickToggleHandler })), hAsync(KolPopoverWcTag, { key: '7641839a0d14c003f4f5134cd6b896d428ffb415', _show: this.state._show, _on: { onClose: this.handleOnClose }, _align: "bottom" }, hAsync("slot", { key: 'd5bca31e7c3ba5159565c9b59bd67efa0f136efd' }))));
28805
+ }), ref: this.catchPrimaryRef, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _icons: this._icons, _hideLabel: this._hideLabel, _label: this._label, _name: this._name, _on: this.clickButtonHandler, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }), hAsync("div", { key: '598eef5345a99a1dc51b9b33f609d6a12247eb3f', class: "kol-split-button__horizontal-line" }), hAsync(KolButtonWcTag, { key: '2ae8896dee5a8c4964c2212529b278eed1ff2b7b', class: "kol-split-button__secondary-button", _disabled: this._disabled, _hideLabel: true, _icons: "kolicon-chevron-down", _label: this.state._show ? translate(`${i18nDropdownLabel}-close`) : translate(`${i18nDropdownLabel}-open`), _on: this.clickToggleHandler })), hAsync(KolPopoverWcTag, { key: 'fdd23fba124a2206a6d481fe028348fce9f70967', _show: this.state._show, _on: { onClose: this.handleOnClose }, _align: "bottom" }, hAsync("slot", { key: '8aad3a849b3887bac58ed4f13d01d7563d23ef53' }))));
28878
28806
  }
28879
28807
  async closePopup() {
28880
28808
  this.handleOnClose();
@@ -28896,7 +28824,6 @@ class KolSplitButton {
28896
28824
  "_disabled": [4],
28897
28825
  "_hideLabel": [4, "_hide-label"],
28898
28826
  "_icons": [1],
28899
- "_id": [1],
28900
28827
  "_label": [1],
28901
28828
  "_name": [1],
28902
28829
  "_on": [16],
@@ -29405,7 +29332,7 @@ class KolTableStateful {
29405
29332
  horizontal: (_d = (_c = this.state._headers.horizontal) === null || _c === void 0 ? void 0 : _c.map((row) => row.map((cell) => (Object.assign(Object.assign({}, cell), { sortDirection: this.getHeaderCellSortState(cell), sortOrder: this.getHeaderCellSortOrder(cell) }))))) !== null && _d !== void 0 ? _d : [],
29406
29333
  vertical: (_f = (_e = this.state._headers.vertical) === null || _e === void 0 ? void 0 : _e.map((column) => column.map((cell) => (Object.assign(Object.assign({}, cell), { sortDirection: this.getHeaderCellSortState(cell), sortOrder: this.getHeaderCellSortOrder(cell) }))))) !== null && _f !== void 0 ? _f : [],
29407
29334
  };
29408
- return (hAsync(Host, { key: '9f97cfcace39cc6c8f925c456a022fbfe6ff6a4f', class: "kol-table-stateful" }, this.pageEndSlice > 0 && this.showPagination && paginationTop, hAsync(KolTableStatelessWcTag, { key: 'bdda6d78fc226f5061ee6a9a8e7766a1b8bdeefc', ref: this.catchRef, _data: displayedData, _headerCells: headerCells, _label: this.state._label, _dataFoot: this.state._dataFoot, _on: {
29335
+ return (hAsync(Host, { key: '596ff18dd22ae8a08e83dbaf36db142fe58d971e', class: "kol-table-stateful" }, this.pageEndSlice > 0 && this.showPagination && paginationTop, hAsync(KolTableStatelessWcTag, { key: 'de0e3900a63bb3c03bce10bb7df6c1cfad6e33cf', ref: this.catchRef, _data: displayedData, _headerCells: headerCells, _label: this.state._label, _dataFoot: this.state._dataFoot, _on: {
29409
29336
  onSort: (_, payload) => {
29410
29337
  this.handleSort(payload);
29411
29338
  },
@@ -29677,7 +29604,12 @@ class KolTableStateless {
29677
29604
  let max = 0;
29678
29605
  horizontalHeaders.forEach((row) => {
29679
29606
  let count = 0;
29680
- Array.isArray(row) && row.forEach((col) => { var _a; return (count += (_a = col.colSpan) !== null && _a !== void 0 ? _a : 1); });
29607
+ if (Array.isArray(row)) {
29608
+ row.forEach((col) => {
29609
+ var _a;
29610
+ count += (_a = col.colSpan) !== null && _a !== void 0 ? _a : 1;
29611
+ });
29612
+ }
29681
29613
  if (max < count) {
29682
29614
  max = count;
29683
29615
  }
@@ -29692,7 +29624,12 @@ class KolTableStateless {
29692
29624
  let max = 0;
29693
29625
  verticalHeaders.forEach((col) => {
29694
29626
  let count = 0;
29695
- Array.isArray(col) && col.forEach((row) => { var _a; return (count += (_a = row.rowSpan) !== null && _a !== void 0 ? _a : 1); });
29627
+ if (Array.isArray(col)) {
29628
+ col.forEach((row) => {
29629
+ var _a;
29630
+ count += (_a = row.rowSpan) !== null && _a !== void 0 ? _a : 1;
29631
+ });
29632
+ }
29696
29633
  if (max < count) {
29697
29634
  max = count;
29698
29635
  }
@@ -30085,12 +30022,12 @@ class KolTableStateless {
30085
30022
  const dataField = this.createDataField(this.state._data, this.state._headerCells);
30086
30023
  this.checkboxRefs = [];
30087
30024
  const horizontalHeaders = this.state._headerCells.horizontal;
30088
- return (hAsync("div", { key: 'cab30ac867bb4db9b327a55a32502e8015dab18e', class: "kol-table" }, this.state._hasSettingsMenu && hAsync(KolTableSettingsWcTag, { key: '251de21d5fd51742d5b5dad0079934c2b331a15a', _horizontalHeaderCells: horizontalHeaders !== null && horizontalHeaders !== void 0 ? horizontalHeaders : [] }), hAsync("div", { key: '564cb70c02254a73cbbc135a5028fe43c89cc010', ref: (element) => (this.tableDivElement = element), class: "kol-table__scroll-container", tabindex: this.tableDivElementHasScrollbar ? '-1' : undefined }, hAsync("table", { key: '09c37ff906628759bbee7435d00294af3aba2f49', class: "kol-table__table", style: {
30025
+ return (hAsync("div", { key: 'c0d880b5feeae9b29c7defba7304530deb1f1064', class: "kol-table" }, this.state._hasSettingsMenu && hAsync(KolTableSettingsWcTag, { key: 'b7fc12aeb7724aa55f956836f440dbeb44f98ca9', _horizontalHeaderCells: horizontalHeaders !== null && horizontalHeaders !== void 0 ? horizontalHeaders : [] }), hAsync("div", { key: 'a6ca943792cbc34770516274022f52c5fc06719f', ref: (element) => (this.tableDivElement = element), class: "kol-table__scroll-container", tabindex: this.tableDivElementHasScrollbar ? '-1' : undefined }, hAsync("table", { key: '657af42e176079dd1ab4c030f16cc08d534172a9', class: "kol-table__table", style: {
30089
30026
  minWidth: this.getTableMinWidth(),
30090
- } }, hAsync("caption", { key: '0b9bc17970b05bf4505662215356e3ef5e3585aa', class: "kol-table__focus-element kol-table__caption", id: "caption", tabindex: this.tableDivElementHasScrollbar ? '0' : undefined }, this.state._label), Array.isArray(horizontalHeaders) && (hAsync("thead", { key: '28b137cc33f935696ed984cd01cceab2b4fff3da', class: "kol-table__head" }, [
30027
+ } }, hAsync("caption", { key: 'd55d0041c7ed04e26ccf55203f0f2a42f1652014', class: "kol-table__focus-element kol-table__caption", id: "caption", tabindex: this.tableDivElementHasScrollbar ? '0' : undefined }, this.state._label), Array.isArray(horizontalHeaders) && (hAsync("thead", { key: '6c50df582996be2145568ea275007a3e87ba815e', class: "kol-table__head" }, [
30091
30028
  horizontalHeaders.map((cols, rowIndex) => (hAsync("tr", { class: "kol-table__head-row", key: `thead-${rowIndex}` }, this.state._selection && this.renderHeadingSelectionCell(), rowIndex === 0 && this.renderHeaderTdCell(), Array.isArray(cols) && cols.map((cell, colIndex) => this.renderHeadingCell(cell, rowIndex, colIndex, false))))),
30092
30029
  this.renderSpacer('head', horizontalHeaders),
30093
- ])), hAsync("tbody", { key: '338ffd0ad158f70d1bd1236c86222b8860c321e1', class: "kol-table__body" }, dataField.map((row, rowIndex) => this.renderTableRow(row, rowIndex, true))), this.renderFoot()))));
30030
+ ])), hAsync("tbody", { key: '482757151e3bdc7f026a2e924c0c9e1d6ea6714a', class: "kol-table__body" }, dataField.map((row, rowIndex) => this.renderTableRow(row, rowIndex, true))), this.renderFoot()))));
30094
30031
  }
30095
30032
  get host() { return getElement(this); }
30096
30033
  static get watchers() { return {
@@ -30556,7 +30493,7 @@ class KolTextarea {
30556
30493
  } });
30557
30494
  }
30558
30495
  render() {
30559
- return (hAsync(FormFieldStateWrapper, Object.assign({ key: 'ba389a3e0bd692d39ee646d750591f52c6d04868' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: '70769a4d59102818d1297b94bca7be878d756930', state: this.state }, hAsync(TextAreaStateWrapper, Object.assign({ key: 'de2e78d5dd2410b1e9244d879fc55e3c58030972' }, this.getTextAreaProps())))));
30496
+ return (hAsync(FormFieldStateWrapper, Object.assign({ key: '40cbd686b73f49706d5e6a56f21ca564cd945056' }, this.getFormFieldProps()), hAsync(InputContainerStateWrapperFc, { key: 'd8a3af9b6772dd62e16f30c3f818d45ccdd50d96', state: this.state }, hAsync(TextAreaStateWrapper, Object.assign({ key: '58e4c06295ec23090d1bc2201ba8c906e317ed0b' }, this.getTextAreaProps())))));
30560
30497
  }
30561
30498
  constructor(hostRef) {
30562
30499
  registerInstance(this, hostRef);
@@ -30624,9 +30561,6 @@ class KolTextarea {
30624
30561
  validateIcons(value) {
30625
30562
  this.controller.validateIcons(value);
30626
30563
  }
30627
- validateId(value) {
30628
- this.controller.validateId(value);
30629
- }
30630
30564
  validateLabel(value) {
30631
30565
  this.controller.validateLabel(value);
30632
30566
  }
@@ -30703,7 +30637,6 @@ class KolTextarea {
30703
30637
  "_hasCounter": ["validateHasCounter"],
30704
30638
  "_hint": ["validateHint"],
30705
30639
  "_icons": ["validateIcons"],
30706
- "_id": ["validateId"],
30707
30640
  "_label": ["validateLabel"],
30708
30641
  "_maxLength": ["validateMaxLength"],
30709
30642
  "_maxLengthBehavior": ["validateMaxLengthBehavior"],
@@ -30735,7 +30668,6 @@ class KolTextarea {
30735
30668
  "_hideLabel": [4, "_hide-label"],
30736
30669
  "_hint": [1],
30737
30670
  "_icons": [1],
30738
- "_id": [1],
30739
30671
  "_label": [1],
30740
30672
  "_maxLength": [2, "_max-length"],
30741
30673
  "_hasCounter": [4, "_has-counter"],
@@ -31054,6 +30986,7 @@ class KolTooltipWc {
31054
30986
  this._align = 'top';
31055
30987
  this.state = {
31056
30988
  _align: 'top',
30989
+ _id: `id-${nonce()}`,
31057
30990
  _label: '',
31058
30991
  };
31059
30992
  this.showOrHideTooltip = () => {
@@ -31124,7 +31057,7 @@ class KolTooltipWc {
31124
31057
  this.showOrHideTooltip();
31125
31058
  }
31126
31059
  render() {
31127
- return (hAsync(Host, { key: '3ab8a61452a2f1d20be4ecf83a9907e7bd151f6b', class: "kol-tooltip" }, hAsync("div", { key: 'fcb1857d1afd79b764a7d19820703905a3ef24b1', class: "kol-tooltip__floating", hidden: this.state._label.length === 0, ref: this.catchTooltipElement }, hAsync("div", { key: '43a21c5e5b13a0d2134699707d1c0960492343b4', class: "kol-tooltip__arrow", ref: this.catchArrowElement }), hAsync(KolSpanFc, { key: '9a49f246f58819e2fd1afd8db1d66b4c0dd434f9', class: "kol-tooltip__content", id: this.state._id, badgeText: this._badgeText, label: this.state._label }))));
31060
+ return (hAsync(Host, { key: '0a9833a1f8db6b94855d8edc6266523716d55da8', class: "kol-tooltip" }, hAsync("div", { key: '647b339c2ada2bcad8181c578f6795d884535b8c', class: "kol-tooltip__floating", hidden: this.state._label.length === 0, ref: this.catchTooltipElement }, hAsync("div", { key: '9d4bd4ae5bd2c90d227ebb0c76c585b4e28c4432', class: "kol-tooltip__arrow", ref: this.catchArrowElement }), hAsync(KolSpanFc, { key: '1e4917d5c85e607b6eda34978285582d2ea01f27', class: "kol-tooltip__content", id: this.state._id, badgeText: this._badgeText, label: this.state._label }))));
31128
31061
  }
31129
31062
  validateBadgeText(value) {
31130
31063
  validateBadgeText(this, value);
@@ -31493,7 +31426,9 @@ class KolTreeWc {
31493
31426
  }
31494
31427
  else {
31495
31428
  const parentIndex = openItems.findIndex((item) => item === currentTreeItem.parentElement);
31496
- parentIndex !== -1 && (await ((_e = openItems[parentIndex]) === null || _e === void 0 ? void 0 : _e.focus()));
31429
+ if (parentIndex !== -1) {
31430
+ await ((_e = openItems[parentIndex]) === null || _e === void 0 ? void 0 : _e.focus());
31431
+ }
31497
31432
  }
31498
31433
  break;
31499
31434
  }